/* スマホのロゴを大きく */
@media (max-width: 767px) {
    :root {
        --headerLogoHeightSp: 36px !important;
    }
}

/* === concept-buttondesign.css === */

/* コンセプトボタン：カンプデザイン（シンプルな黒枠ボタン） */

.home .main .concept .btn-arrow {
    margin-top: 12px !important;
}

.home .main .concept .btn-arrow a {
    display: inline-block !important;
    padding: 13px 78px !important;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #111 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.home .main .concept .btn-arrow a:hover {
    background-color: #111 !important;
    color: #fff !important;
}

/* デフォルトの矢印アイコンを非表示 */
.home .main .concept .btn-arrow a::before,
.home .main .concept .btn-arrow a::after {
    display: none !important;
    content: none !important;
}


/* === topics-section-v3.css === */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;600;900&display=swap');

/* TOPICSセクション：カンプデザイン（1段目2列、2段目4列） */

/* セクション全体 */
.topics-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 70px;
}

@media (max-width: 767px) {
    .topics-section {
        padding: 60px 20px;
    }
}

/* タイトル */
.topics-section .section-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 48px;
}

/* グリッドレイアウト */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 52px 24px;
}

@media (max-width: 767px) {
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

/* 記事カード */
.topic-card {
    display: block;
    text-decoration: none;
    color: #111;
    transition: opacity 0.3s ease;
}

.topic-card:hover {
    opacity: 0.8;
}

/* 1段目の記事（記事1と2）- 2列分の幅 */
.topic-card:nth-child(1),
.topic-card:nth-child(2) {
    grid-column: span 2;
}

/* 2段目の記事（記事3〜6）- 1列分の幅 */
.topic-card:nth-child(n+3) {
    grid-column: span 1;
}

@media (max-width: 767px) {
    .topic-card:nth-child(1),
    .topic-card:nth-child(2),
    .topic-card:nth-child(n+3) {
        grid-column: span 1;
    }
}

/* サムネイル画像エリア */
.topic-card .thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 15px;
}

.topic-card .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* カテゴリラベル */
.topic-card .category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
    background-color: #d9534f;
}

.topic-card .category.campaign {
    background-color: #d9534f;
}

.topic-card .category.festa {
    background-color: #f5a9c1;
}

.topic-card .category.present {
    background-color: #f5c1d0;
}

.topic-card .category.column {
    background-color: #f5c1d0;
}

/* タイトル */
.topic-card .title {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* 2段目のタイトルは少し小さく */
.topic-card:nth-child(n+3) .title {
    font-size: 17px;
}

/* スマホ: 全てのタイトルを15pxに統一 */
@media (max-width: 767px) {
    .topic-card .title,
    .topic-card:nth-child(n+3) .title {
        font-size: 17px !important;
    }
}

/* 説明文 */
.topic-card .description {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

/* 2段目の説明文は少し小さく */
.topic-card:nth-child(n+3) .description {
    font-size: 12px;
}

/* Noto Sans JP を記事カードのみに適用 */
.topic-card .title,
.topic-card .description {
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 600 !important;
}

/* NEW + 日付 */
.topic-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.topic-new {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #265E5D;
    font-family: "Noto Sans JP", sans-serif;
}

@media (max-width: 767px) {

    .topic-new {
    font-size: 10px;
}
}

.topic-date {
    font-size: 11px;
    color: #999;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
}

@media (max-width: 767px) {

    .topic-date {
    font-size: 11px;
}
}

/* === product-search-section-v8.css === */

/* 商品検索セクション（全体に薄いグレー背景） */
.product-search-section {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.product-search-section .search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

@media (max-width: 767px) {
    .product-search-section {
        padding: 60px 0;
    }
    .product-search-section .search-container {
        padding: 0 20px;
    }
}

/* 検索ヘッダー（タイトル + フォーム） */
.product-search-section .search-header {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .product-search-section .search-header {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-bottom: 32px;
    }
}

/* 検索タイトル */
.product-search-section .search-title {
    flex-shrink: 0;
    width: 200px;
}

.product-search-section .search-title .title-ja {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.product-search-section .search-title .title-en {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0;
    color: #666;
}

@media (max-width: 767px) {
    .product-search-section .search-title {
        width: auto;
    }
    .product-search-section .search-title .title-ja {
        font-size: 24px;
    }
    .product-search-section .search-title .title-en {
        font-size: 12px;
    }
}

/* 検索フォームラップ */
.product-search-section .search-form-wrap {
    flex: 1;
    max-width: 840px;
}

@media (max-width: 767px) {
    .product-search-section .search-form-wrap {
        width: 100%;
        max-width: none;
    }
}

/* 検索フォーム */
.product-search-section .product-search-form {
    position: relative;
    width: 100%;
}

.product-search-section .product-search-form input[type="text"] {
    width: 100%;
    height: 56px;
    padding: 0 60px 0 24px;
    border: 1px solid #ddd;
    border-radius: 28px;
    font-size: 15px;
    color: #111;
    background-color: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.product-search-section .product-search-form input[type="text"]:focus {
    outline: none;
    border-color: #111;
}

.product-search-section .product-search-form input[type="text"]::placeholder {
    color: #999;
}

/* 検索ボタン */
.product-search-section .product-search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.product-search-section .product-search-form button:hover {
    background-color: #f5f5f5;
}

.product-search-section .product-search-form button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .product-search-section .product-search-form input[type="text"] {
        height: 48px;
        font-size: 14px;
        padding: 0 52px 0 20px;
    }
}

/* キーワードタグエリア */
.product-search-section .keyword-tags {
    padding-left: 260px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .product-search-section .keyword-tags {
        padding-left: 0;
        margin-bottom: 48px;
    }
}

/* キーワードラベル */
.product-search-section .keyword-label {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    margin: 0 0 16px 0;
}

@media (max-width: 767px) {
    .product-search-section .keyword-label {
        font-size: 13px;
        margin: 0 0 12px 0;
    }
}

/* キーワードリスト */
.product-search-section .keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 767px) {
    .product-search-section .keyword-list {
        gap: 8px;
    }
}

/* キーワードタグ */
.product-search-section .keyword-tag {
    display: inline-block;
    padding: 2px 8px;
    background-color: #fff;
    border: 1px solid #11111121;
    border-radius: 4px;
    font-size: 12px;
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.product-search-section .keyword-tag:hover {
    background-color: #111;
    color: #fff;
}

@media (max-width: 767px) {
    .product-search-section .keyword-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* お悩み別セクション - 商品検索の左端に揃える */
.product-search-section .concern-category {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* お悩み別タイトル */
.product-search-section .concern-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 22px 0;
}

@media (max-width: 767px) {
    .product-search-section .concern-title {
        font-size: 20px;
        margin: 0 0 24px 0;
    }
}

/* お悩み別グリッド - PC: 6列、スマホ: 2列 */
.product-search-section .concern-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px 16px !important;
}

@media (max-width: 767px) {
    .product-search-section .concern-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 12px !important;
    }
}

/* お悩み別カード */
.product-search-section .concern-card {
    display: block;
    text-decoration: none;
    color: #111;
    transition: opacity 0.3s ease;
}

.product-search-section .concern-card:hover {
    opacity: 0.8;
}

/* 画像エリア */
.product-search-section .concern-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
}

.product-search-section .concern-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ラベル（画像の下） */
.product-search-section .concern-label {
    margin: 8px 0 0 0;
    text-align: left;

    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: #111;
}

@media (max-width: 767px) {
    .product-search-section .concern-label {
        font-size: 12px;
    }
}


/* === banner-section.css === */

/* 7つのバナーセクション */
.banner-section {
    background-color: #fff;
    padding: 100px 0;
}

.banner-section .banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

@media (max-width: 767px) {
    .banner-section {
        padding: 60px 0;
    }
    .banner-section .banner-container {
        padding: 0 20px;
    }
}

/* バナー行 */
.banner-section .banner-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.banner-section .banner-row:last-child {
    margin-bottom: 0;
}

/* 2列レイアウト */
.banner-section .banner-row.row-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3列レイアウト */
.banner-section .banner-row.row-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* スマホでも同じレイアウトを維持 */
@media (max-width: 767px) {
    .banner-section .banner-row {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    /* スマホでも2列・3列を維持 */
    .banner-section .banner-row.row-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-section .banner-row.row-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* もしスマホで1列にしたい場合は、以下のコメントを外してください
    .banner-section .banner-row.row-2,
    .banner-section .banner-row.row-3 {
        grid-template-columns: 1fr;
    }
    */
}

/* バナーカード */
.banner-section .banner-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.banner-section .banner-card:hover {
    opacity: 0.9;
}

.banner-section .banner-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* === allight-custom-v8-itemlist2.css === */

/* カスタムCSS統合ファイル */

/* NAVのカスタマイズ */
        .header .header-inner .header-menu{justify-content:flex-end!important}
        @media(min-width:981px){
        .header .header-inner .header-menu{gap:34px!important;transform:translateX(10px)!important}
        .header .header-inner .header-btn{width:200px!important}
        }
        .header .header-inner .header-menu>li>a{display:flex;flex-direction:column;align-items:center;line-height:1.2;text-decoration:none!important;transition:opacity .18s ease!important;opacity:1!important}
        .header .header-inner .header-menu>li>a:hover,
        .header .header-inner .header-menu>li>a:focus{opacity:.55!important}
        .header .header-inner .header-menu>li>a:before,
        .header .header-inner .header-menu>li>a:after{content:none!important;display:none!important}
        .header .header-inner .header-menu .nav-en{font-size:14px;letter-spacing:.08em}
        .header .header-inner .header-menu .nav-ja{font-size:11px;margin-top:6px;opacity:.75}

/* FVボタンのカスタマイズ */
.mv2 .swiper-slide {
    position: relative;
}

.mv2 .swiper-slide .text {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.mv2 .swiper-slide .text .left {
    display: none;
}

/* PC表示時のFVボタン */
.mv2 .swiper-slide .btn-image {
    position: absolute !important;
    left: 50% !important;
    bottom: 43% !important;
    top: auto !important;
    transform: translateX(-580px) !important;
    z-index: 4 !important;
    margin: 0 !important;
}

.mv2 .swiper-slide .btn-image a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    padding: 0 40px !important;
    border: 1px solid #111 !important;
    border-radius: 999px !important;
    background-color: rgba(255, 255, 255, .55) !important;
    background-image: none !important;
    color: #111 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    line-height: 1 !important;
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    backdrop-filter: blur(6px) saturate(120%);
}

.mv2 .swiper-slide .btn-image a:hover {
    background-color: rgba(255, 255, 255, .8) !important;
}

.mv2 .swiper-slide .btn-image a img {
    display: none !important;
}

.mv2 .swiper-slide .btn-image a::after,
.mv2 .swiper-slide .btn-image a::before {
    content: none !important;
    display: none !important;
}

/* スマホ表示時のFV調整 */
@media (max-width: 767px) {
    /* FVコンテナを100%幅に */
    .home .main .mv-wrap {
        margin-left: calc(-1 * var(--vw) * 50 + 50vw) !important;
        margin-right: calc(-1 * var(--vw) * 50 + 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .home .main .concept .text {
        max-width: none !important;
        width: 100% !important;
        margin-top: 110px;
    }
    
    /* FV画像を左右フルサイズに */
    .mv2,
    .mv2 .swiper,
    .mv2 .swiper-wrapper,
    .mv2 .swiper-slide,
    .mv2 .swiper-slide > div {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100vw !important;
        width: 100vw !important;
    }
    
    .mv2 .swiper-slide img {
        width: 100vw !important;
        max-width: 100vw !important;
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* スマホ表示時のFVボタン位置調整 */
    .home .main .mv-wrap .mv2 .swiper-slide .btn-image {
        position: absolute 
!important;
        left: 25% !important;
        bottom: 28px !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        z-index: 4 !important;
        margin: 0 !important;
    }
    
    .mv2 .swiper-slide .btn-image a {
        height: 42px !important;
        padding: 0 24px !important;
        font-size: 12px !important;
    }
}

/* Conceptセクションのカスタマイズ（PC） */
.home .main .concept {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 70px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
    align-items: start !important;
}

.home .main .concept .text {
    max-width: 480px;
}

.home .main .concept .image img {
    width: 100%;
    height: auto;
    display: block;
}

.home .main .concept .image {
    margin: 0 !important;
    align-self: start !important;
    position: relative;
    top: 20px;
}

.home .main .concept .image * {
    transform: translateY(0) !important;
}

/* スマホ表示時のConceptセクション調整 */
@media (max-width: 767px) {
    /* グリッドをブロックに変更 */
    .home .main .concept {
        display: block !important;  /* grid → block */
        padding: 0px 24px !important;
    }
    
    /* 画像を先に表示 */
    .home .main .concept .image {
        margin-bottom: 32px !important;
        width: 100% !important;
    }
    
    /* テキストエリアを100%幅に */
    .home .main .concept .text {
        max-width: none !important;
        width: 100% !important;
    }
    
    /* すべての子要素も100%幅に */
    .home .main .concept .text *,
    .home .main .concept .text h2,
    .home .main .concept .text h3,
    .home .main .concept .text p {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* FVとconceptの間の余白調整（PC） */
.home .main .mv-wrap {
    margin-bottom: -20px !important;
}

.concept inview viewed {
    position: relative;
    top: -20px;
}

/* 商品一覧: PCで3列 + 最大幅固定（ウィンドウ幅が広がっても余白が増えるだけ） */
.item-list-area {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 70px !important;
    padding-right: 70px !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .item-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .item-list-area {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* 商品画像ホバー: 拡大無効化 → opacity */
@media (hover: hover) {
    .item-list-item .image a:hover img,
    .item-list-item .image a:focus-visible img {
        scale: 1 !important;
        transform: none !important;
        opacity: 0.75 !important;
    }
}
.item-list-item .image a img {
    transition: opacity 0.3s ease !important;
}


/* LINEバナー */
.line-banner-wrap {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 90px;
}

.line-banner-wrap a {
    display: block;
    transition: opacity 0.3s ease;
}

.line-banner-wrap a:hover {
    opacity: 0.75;
}

.line-banner-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .line-banner-wrap {
        padding: 0 20px;
        margin: 60px auto;
    }
}


/* === ranking-section-v5.css === */

/* 人気ランキングセクション */
.ranking-section {
    margin-top: 80px !important;
    margin-bottom: 100px !important;
    padding-bottom: 0 !important;
}

/* カード全体 */
.ranking-item {
    position: relative;
}

/* バッジ（シンプルな正方形） */
.ranking-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: none !important;
}

.ranking-badge::after {
    display: none !important;
}

.ranking-badge span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* 1位: ゴールド */
.rank-1 { background-color: #C8A000; }
/* 2位: スレートブルー */
.rank-2 { background-color: #6B7F9E; }
/* 3位: ローズ */
.rank-3 { background-color: #A05060; }


/* === ranking-section-swiper-v2.css === */

/* 人気ランキングセクション */
.ranking-section {
    margin-bottom: 100px !important;
    padding-bottom: 0 !important;
}

/* カード全体 */
.ranking-item {
    position: relative;
}

/* バッジ（シンプルな正方形） */
.ranking-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: none !important;
}

.ranking-badge::after {
    display: none !important;
}

.ranking-badge span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.rank-1 { background-color: #C8A000; }
.rank-2 { background-color: #6B7F9E; }
.rank-3 { background-color: #A05060; }

/* ===== PC: Swiperを無効化して3列グリッドに ===== */
@media (min-width: 768px) {
    .ranking-swiper-wrap {
        overflow: visible !important;
    }
    .ranking-swiper {
        overflow: visible !important;
    }
    .ranking-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        transform: none !important;
        width: 100% !important;
    }
    .ranking-swiper .swiper-slide {
        width: auto !important;
        margin: 0 !important;
    }
}

/* ===== スマホ: スワイパー ===== */
@media (max-width: 767px) {
    .ranking-swiper-wrap {
        overflow: hidden;
        margin: 0 -20px;
        padding: 0 20px;
    }
    .ranking-swiper .swiper-slide {
        width: 72vw;
    }
    .ranking-swiper .item-list-item {
        width: 100%;
    }
}


/* === nav-dropdown-v6.css === */

/* ===== ドロップダウン内: 折り返し防止 ===== */
.header-category-dropdown ul li a {
    white-space: nowrap !important;
}

/* ===== スクロールバーを非表示 ===== */
.header-category-dropdown {
    overflow: hidden !important;
}

/* ===== 「お悩み別で選ぶ」行: +を横並びに ===== */
.header-category-dropdown ul li.has-children {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.header-category-dropdown ul li.has-children > a {
    flex-shrink: 0 !important;
}

/* +/−ボタン: 固定幅で常に同じサイズ */
.header-category-dropdown ul li.has-children > .toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    cursor: pointer;
    font-size: 16px;
    color: #999 !important;
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    line-height: 1;
    box-sizing: border-box !important;
}

/* 子カテゴリリスト: 幅100%で下に表示 */
.header-category-dropdown ul li.has-children > ul {
    display: none !important;
    width: 100% !important;
    flex-basis: 100% !important;
    padding-left: 12px;
    margin-top: 4px;
}

.header-category-dropdown ul li.has-children > ul.open {
    display: block !important;
}

/* 子カテゴリの文字色を親と同じに */
.header-category-dropdown ul li.has-children > ul li a {
    color: inherit !important;
    font-size: 0.9em;
}


/* === banner-section-responsive-v2.css === */

/* 7つのバナーセクション */
.banner-section {
    background-color: #fff;
    padding: 100px 0;
}

.banner-section .banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

/* バナー行 */
.banner-section .banner-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.banner-section .banner-row:last-child {
    margin-bottom: 0;
}

/* PC: 2列レイアウト */
.banner-section .banner-row.row-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* PC: 3列レイアウト */
.banner-section .banner-row.row-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* バナーカード */
.banner-section .banner-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.banner-section .banner-card:hover {
    opacity: 0.9;
}

.banner-section .banner-card img,
.banner-section .banner-card picture,
.banner-section .banner-card picture img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== スマホ: 1列レイアウト ===== */
@media (max-width: 767px) {
    .banner-section {
        padding: 60px 0 !important;
    }
    
    .banner-section .banner-container {
        padding: 0 20px !important;
    }
    
    /* すべての行を1列に */
    .banner-section .banner-row,
    .banner-section .banner-row.row-2,
    .banner-section .banner-row.row-3 {
        display: block !important;
        grid-template-columns: 1fr !important;
        margin-bottom: 0 !important;
        gap: 0 !important;
    }
    
    /* 各バナーカードのマージン */
    .banner-section .banner-card {
        display: block !important;
        margin-bottom: 16px !important;
        width: 100% !important;
    }
    
    /* 2つ目のバナー: 下マージン大きく */
    .banner-section .banner-row:nth-child(1) .banner-card:nth-child(2) {
        margin-bottom: 32px !important;
    }
    
    /* 5つ目のバナー: 下マージン大きく */
    .banner-section .banner-row:nth-child(2) .banner-card:nth-child(3) {
        margin-bottom: 32px !important;
    }
    
    /* 最後のバナーはマージンなし */
    .banner-section .banner-row:last-child .banner-card:last-child {
        margin-bottom: 0 !important;
    }
}


/* === fv-custom-v4-final.css === */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300&display=swap');

/* =============================================
   FV カスタム完全直書き版 CSS v4-final
   ファイル名: fv-custom-v4.css（上書き）

   【配置変更】
   .main内 → </header>直後・content-wrapの外に移動したため
   width:100vwで素直に全幅展開できるようになった
   ============================================= */

/* ---- ラッパー ---- */
.fv-custom-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0;
    margin-bottom: 60px; /* FVとConceptの間のマージン */
}

/* ---- 背景画像: 横幅100%で自然に伸縮 ---- */
.fv-custom-wrap .fv-bg {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ---- テキストコンテナ: 画像上に絶対配置 ---- */
.fv-custom-wrap .fv-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: max(70px, calc(50% - 530px));
    padding-right: 50%;
    padding-top: 0;
    padding-bottom: 0;
}

/* ---- メインタイトル ---- */
.fv-custom-wrap .fv-title {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 38px;
    font-weight: 100 !important;
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: #111;
    margin: 0 0 16px 0;
}

/* ---- サブテキスト ---- */
.fv-custom-wrap .fv-sub {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 15px;
    font-weight: 100 !important;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: #111;
    margin: 0 0 28px 0;
}

/* ---- ボタン ---- */
.fv-custom-wrap .fv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    height: 46px;
    padding: 0 36px;
    border: 1px solid #111;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    backdrop-filter: blur(6px) saturate(120%);
    color: #111;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 13px;
    font-weight: 300 !important;
    letter-spacing: .02em;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.fv-custom-wrap .fv-btn:hover {
    background-color: rgba(255, 255, 255, .8);
}

/* =============================================
   iPad Pro（768〜1024px）
   ============================================= */
@media (max-width: 1024px) and (min-width: 768px) {
    .fv-custom-wrap .fv-content {
        padding-left: 60px;
        padding-right: 45%;
    }
    .fv-custom-wrap .fv-title { font-size: 30px; }
    .fv-custom-wrap .fv-sub { font-size: 13px; margin-bottom: 22px; }
    .fv-custom-wrap .fv-btn { height: 42px; padding: 0 28px; font-size: 12px; }
}

/* =============================================
   SP（767px以下）
   ============================================= */
@media (max-width: 767px) {
    .fv-custom-wrap .fv-content {
        justify-content: flex-end;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 22px;
        padding-top: 0;
    }
    .fv-custom-wrap .fv-title { font-size: 24px; letter-spacing: 0.02em; margin-bottom: 10px; }
    .fv-custom-wrap .fv-sub { font-size: 13px; line-height: 1.55; margin-bottom: 18px; }
    .fv-custom-wrap .fv-btn { height: 40px; padding: 0 22px; font-size: 11px; }
}

/* =============================================
   コンテンツエリアの余白修正
   FVをcontent-wrap外に移動したことで生じる
   min-height起因の余白を解消
   ============================================= */
body.home #top.container,
body.home .content-wrap,
body.home .content,
body.home .main {
    min-height: 0 !important;
    height: auto !important;
}

/* conceptグリッドが親の高さに引き伸ばされるのを防ぐ */
body.home .main .concept.inview {
    align-self: start !important;
    height: auto !important;
}


/* === about-section3.css === */

/* =============================================
   ABOUTページ追加セクション
   ============================================= */

/* リンク付きバナー */
.about-banner-link {
    margin: 60px 0;
}

.about-banner-link a {
    display: block;
    transition: opacity 0.3s ease;
}

.about-banner-link a:hover {
    opacity: 0.6;
}

.about-banner-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* セクション3タイトル */

.about-section3 {
    margin-top: 100px;
}

.about-section3-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: 0.05em;
}

/* セクション3テキスト */
.about-section3-text p {
    margin: 0 0 16px 0;
    line-height: 1.9;
}

/* 小見出し（■〜） */
.about-section3-text .about-subheading {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 40px !important;
    margin-bottom: 8px !important;
}

@media (max-width: 767px) {
    .about-banner-link {
        margin: 40px 0;
    }
    .about-section3-title {
        font-size: 18px !important;
    }
    .about-section3-text .about-subheading {
        font-size: 15px !important;
    }
}


/* === topinfo-custom.css === */

/* =============================================
   topinfo カスタムセクション（アイコン5列）
   ============================================= */
.topinfo-custom {
    padding: 100px 0 50px 0;
}

.topinfo-custom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.topinfo-custom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.topinfo-custom-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    color: #111;
}

.topinfo-custom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.topinfo-custom-item h3 {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    border: none !important;
    color: #111 !important;
    font-family: "Bodoni Moda", "Noto Serif JP", serif !important;
}

.topinfo-custom-item p {
    font-size: 12px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

@media (max-width: 767px) {
    .topinfo-custom {
        overflow: hidden;
        padding-bottom: 32px;
    }

    .topinfo-custom-inner {
        padding: 0 20px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
    }

    .topinfo-custom-inner::-webkit-scrollbar {
        display: none;
    }

    .topinfo-custom-item {
        flex: 0 0 50%;
        min-width: 50%;
        padding: 0 3px;
        scroll-snap-align: start;
        box-sizing: border-box;
    }

    .topinfo-custom-item h3 {
        font-size: 11px !important;
    }

    .topinfo-custom-item p {
        font-size: 10px !important;
    }

    /* ラインインジケーター */
    .topinfo-line-track {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .topinfo-line-wrap {
        width: 200px;
        height: 2px;
        background: #e8e8e8;
        border-radius: 2px;
        position: relative;
        overflow: hidden;
    }

    .topinfo-line-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 2px;
        background: #111;
        border-radius: 2px;
        transition: left 0.2s ease;
    }
}

@media (min-width: 768px) {
    .topinfo-line-track { display: none; }
}



/* ChatPlusアイコン スマホサイズ調整 */
@media (max-width: 767px) {
    #chatplusview #eye_catcher img {
        width: 60px !important;
        height: 60px !important;
    }
}
