@charset "UTF-8";

:root {
/*
カラー
----------------------------------------------------------- */
    --color-text: #66432A;
    --width-content: 1200px;
    --space-unit: 15px;
    --space-section:45px;
/*
その他
----------------------------------------------------------- */
    --flex-gap: 30px;
    --duration: 0.7s;
    --center-width: 500px;  /* 中央エリアの幅（スマホサイズ） */
}

/*
共通設定
----------------------------------------------------------- */
html {
    font-size: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, #D4F6FF, #FFB6B6, #FFF8CD);
    background-attachment: fixed;
    font-family: "Kosugi Maru", "Milonga", sans-serif;
    min-height: 100vh;
    position: relative;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.wrapper {
    padding: 0 15px;
    box-sizing: border-box;
    margin: 0 auto;
}

.font-style {
    font-size: 1.3rem;
    font-family: "Kosugi Maru", sans-serif;
}

.font-english {
    font-family: "Milonga",sans-serif;
}

h2 {
    color: var(--color-text);
    font-size: 2.5rem;
    font-family: "Milonga",sans-serif;
    font-weight: bolder;
    text-align: center;
}

/* h2 スプリットテキストアニメーション用 */
/* h2.sec-ttlにf-upがついている場合、f-upのアニメーションを無効化 */
h2.sec-ttl.f-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

h2.sec-ttl .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(-5deg);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

h2.sec-ttl.split-active .char {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

h3 {
    color: #284b99;
    font-size: 2rem;
    padding-bottom: 45px;
}

h3.sub-ttl {
    padding-bottom: 0; /* h3の基本padding-bottomを上書き */
    font-size: 1.6rem; /* 繊細なサイズに */
}

/* h3 ブラー→クリア アニメーション用 */
/* h3.sub-ttlにf-upがついている場合、f-upのアニメーションを無効化 */
h3.sub-ttl.f-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

h3.sub-ttl {
    /* アニメーション */
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: opacity 0.8s ease-out,
                filter 0.8s ease-out,
                transform 0.8s ease-out;
    
    /* デザイン */
    text-align: center;
    position: relative;
    padding: 1.2rem 2rem;
    display: block;
    width: fit-content;
    margin: 0 auto 45px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 230, 240, 0.5) 15%,
        rgba(255, 210, 220, 0.6) 50%,
        rgba(255, 230, 240, 0.5) 85%,
        transparent 100%
    );
    border-radius: 8px;
}

/* 上の線（中央が濃く、両端に向かって消える） */
h3.sub-ttl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(40, 75, 153, 0.3) 20%, 
        rgba(40, 75, 153, 0.6) 50%, 
        rgba(40, 75, 153, 0.3) 80%, 
        transparent 100%
    );
}

/* 下の線（同じく中央が濃く、両端に向かって消える） */
h3.sub-ttl::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(40, 75, 153, 0.3) 20%, 
        rgba(40, 75, 153, 0.6) 50%, 
        rgba(40, 75, 153, 0.3) 80%, 
        transparent 100%
    );
}

h3.sub-ttl.blur-clear {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

h4 {
    font-size: 1.3rem;
    color: var(--color-text);
}

/* h4 フェード+スケール アニメーション用 */
/* h4.item-ttlにf-upがついている場合、f-upのアニメーションを無効化 */
h4.item-ttl.f-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

h4.item-ttl {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

h4.item-ttl.scale-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.sec-ttl {
    margin-bottom: 2rem;
    font-family: "Milonga", sans-serif;
    font-size: 1.8rem;
}

.sub-ttl {
    /* h3の共通スタイルを継承 */
}

.item-ttl {
    /* h4の共通スタイルを継承 */
}

/* 
オシャレなボタンデザイン 
----------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    background-color: #f1a3b3;
    color: #ffffff; /* 白抜き文字でスッキリと */
    border: 2px solid transparent;
    border-radius: 50px; /* 完全な丸み */
    padding: 1rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(241, 163, 179, 0.3); /* 柔らかい影 */
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn:hover {
    background-color: #ffffff;
    color: #f1a3b3;
    border-color: #f1a3b3;
    transform: translateY(-3px); /* 少し浮き上がる */
    box-shadow: 0 8px 25px rgba(241, 163, 179, 0.4);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(241, 163, 179, 0.3);
}

/* 特別なボタン（元の絶対配置を維持） */
.btn.special {
    color: #ffffff;
    position: absolute;
    left: 0;
    padding: 20px 40px;
    bottom: -40px;
    font-size: 20px;
    text-decoration: none;
}

/* ニュース用ボタンの微調整 */
.news-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.align-center {
    text-align: center;
    margin-top: 1rem;
}

.pc {
    display: inline-block;
}

.ph {
    display: none;
}

/*
共通レイアウトシステム
----------------------------------------------------------- */
.col-grid {
    display: grid;
    gap: 30px 15px; /* 上下30px 左右15px */
}

.col-grid.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.col-grid.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.col-grid.col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.col-flex {
    display: flex;
    gap: 30px 15px; /* 上下30px 左右15px */
    flex-wrap: wrap;
}

.col-flex.col-2 > * {
    flex: 0 0 calc((100% - 15px) / 2);
}

.col-flex.col-3 > * {
    flex: 0 0 calc((100% - 30px) / 3);
}

.col-flex.col-4 > * {
    flex: 0 0 calc((100% - 45px) / 4);
}

section {
    padding: var(--space-section) 0; /* 45px 0 */
}

/*
オシャレな写真アニメーション用
----------------------------------------------------------- */
/* スクロールフェードアップ */
.f-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.f-up.fadeup {
    opacity: 1;
    transform: translateY(0);
}

/*
ローディングアニメーション
----------------------------------------------------------- */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #D4F6FF, #FFB6B6, #FFF8CD);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* 最上位 */
    transition: opacity 0.8s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo {
    width: 150px;
    height: auto;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/*
ヘッダー（スマホ・タブレット用）
----------------------------------------------------------- */
.site-header {
    display: none; /* PC時は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* 透明に */
    z-index: 102; /* scroll-mv(101)より上に */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 100%;
}

.header-logo {
    flex: 1;
}

.header-logo img {
    height: 40px;
    width: auto;
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* 円形 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
    margin: 0 auto; /* 中央揃え */
}

/* ハンバーガーメニューがアクティブ時（真ん中で重なってからバツに） */
.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

/* メニューオーバーレイ（背景暗幕） */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 100; /* メニューより下、ヘッダーより下 */
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* モバイルメニューパネル */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 230, 240, 0.98), rgba(255, 182, 182, 0.98));
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    padding-top: 80px; /* ヘッダー分の余白 */
    z-index: 101; /* オーバーレイより上、ヘッダーより下 */
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-inner {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

/* モバイルナビゲーション */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
}

.mobile-nav li {
    text-align: center;
}

.mobile-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: "Milonga", sans-serif;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem;
    position: relative;
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-text);
    transition: width 0.3s ease;
}

.mobile-nav a:hover::after {
    width: 60%;
}

/* モバイルSNS */
.mobile-sns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 2rem;
}

.mobile-sns a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.mobile-sns a:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
}

/*
3カラムレイアウト
----------------------------------------------------------- */
.three-column-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

/* 左サイドバー */
.left-sidebar {
    width: calc((100vw - var(--center-width)) / 2);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    padding: 2rem 1.5rem;
    z-index: 1; /* MVより下に配置 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向中央揃え */
    align-items: center; /* 横方向中央揃え */
    box-sizing: border-box;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center; /* 子要素も中央揃え */
    width: 70%; /* 100% → 70% */
}

.left-sidebar .logo {
    margin: 0;
}

.left-sidebar .logo a {
    display: block;
    transition: all 0.3s ease;
}

.left-sidebar .logo a:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.left-sidebar .logo img {
    max-width: 350px; /* 250px → 350px */
    width: 100%;
}

.sidebar-info {
    width: 100%;
}

.sidebar-title {
    font-size: 1.3rem; /* 1rem → 1.3rem */
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-align: center;
    letter-spacing: 0.1em;
    font-weight: 400;
    font-family: "Milonga", sans-serif;
}

.sidebar-news-list li {
    padding-bottom: 16px;
}

.sidebar-news-list li + li {
    border-top: 1px solid rgba(102, 67, 42, 0.15);
    padding-top: 19px;
}

.news-date {
    display: block;
    font-size: 0.7rem;
    color: rgba(102, 67, 42, 0.5);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.sidebar-news-list a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.sidebar-news-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width 0.3s ease;
}

.sidebar-news-list a:hover {
    opacity: 0.7;
    padding-left: 8px;
}

.sidebar-news-list a:hover::after {
    width: 30px;
}

.sidebar-sns {
    display: flex;
    gap: 1rem;
}

.sidebar-sns a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.sidebar-sns a:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* 中央メインエリア */
.center-main {
    width: var(--center-width);
    max-width: var(--center-width);
    flex: 0 0 var(--center-width);
    position: relative;
    background: #fff; /* 白背景 */
    box-sizing: border-box;
    z-index: 10; /* サイドバーより上に */
}

.center-main .about,
.center-main .area,
.center-main .menu,
.center-main .news,
.center-main .shop {
    margin-left: 0;
    margin-right: 0;
}

/* 右サイドバー */
.right-sidebar {
    width: calc((100vw - var(--center-width)) / 2);
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* MVより下に配置 */
    box-sizing: border-box;
}

.sidebar-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-sidebar .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* 窓型背景 */
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 200px 200px 0 0; /* 上部を丸く、下部を四角に */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 40%; /* 50% → 40% */
}

.right-sidebar .main-nav li {
    margin: 0;
}

.right-sidebar .main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.3s;
    position: relative;
    font-family: "Milonga", sans-serif;
}

.right-sidebar .main-nav a:hover {
    color: #f46f8c;
}

.right-sidebar .main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f46f8c;
    transition: width 0.3s;
}

.right-sidebar .main-nav a:hover::after {
    width: 100%;
}

/*
メインビジュアル（着火して消えるローディング：全画面固定）
----------------------------------------------------------- */
.mv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100; /* サイドバーより上 */
    pointer-events: none; /* クリックを下に通す */
}

.scroll-mv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity, transform;
    z-index: 101; /* MVの中でさらに上 */
    pointer-events: auto;
    /* 初期状態はJSで制御されるまで非表示 */
    opacity: 0;
}

.scroll-mv img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面いっぱいに表示 */
}

/*
トップページセクション（スクロールアニメーション用）
----------------------------------------------------------- */
.top-item {
    width: 100%;
    position: relative;
}

.top-page-section {
    width: 100%;
    min-height: 200vh; /* スクロール範囲を確保してアニメーション */
    position: relative;
    padding: 0; /* 例外: paddingなし */
}

.top-page {
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5; /* サイドバーより上、MVより下 */
    background: linear-gradient(135deg, #FFB6B6, #FFC9E5, #FFE4F0); /* ピンクグラデーション */
}

.top-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px; /* 上下左右15px余白 */
    box-sizing: border-box;
}

/* 動画スタイル */
.image-video {
    width: 30%; /* 初期サイズは小さく */
    height: 20%; /* 初期高さをパーセントに */
    object-fit: cover;
    border-radius: 0; /* 初期は四角 */
    transition: none; /* JSでアニメーション制御 */
}

.main-mv {
    width: fit-content;
    position: relative;
}

/*
aboutセクション
----------------------------------------------------------- */
.about p {
    color: var(--color-text);
    text-align: center;
    font-size: 0.8rem;
    padding: 0; /* 左右paddingを0に */
    line-height: 1.8;
    margin: 1.2rem;
}

/*
areaセクション
----------------------------------------------------------- */
.area .product img {
    padding-bottom: 1rem; 
    height: 250px;
    object-fit: cover;
}

.product {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/*
menuセクション
----------------------------------------------------------- */
.menu .col-grid {
    align-items: center;
    padding-bottom: 30px;
}

.menu .align-center {
    padding-bottom: 30px;
}

.menu-img img {
    height: 300px;
}

.menu-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    padding-bottom: 1rem;
    text-align: center;
}

.menu-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    background: #e6dcdc;
    text-decoration: none;
    font-size: 0.8rem;
    color: var(--color-text);
}

.menu-tp {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    display: flex;
    justify-content: center;
    height: auto;
}

.menu-text {
    color: var(--color-text);
    text-align: center;
    font-size: 0.7rem;
}

.menu-text h3 {
    font-size: 1.5rem;
    padding-bottom: 30px;
}

.menu-text h4 {
    font-size: 1.3rem;
    padding-bottom: 20px;
} 
.menu-text .pr {
    font-size: .8rem;
}
.price {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1rem;
}

/*
newsセクション
----------------------------------------------------------- */
.news-boxs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.news-box {
    width: 80%;
    background-color: #FAF8F2;
    color: var(--color-text);
    border-radius: 8px;
    padding: 15px;
}

.news-about {
    font-size: 13px;
    padding: 15px;
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

/*
shopセクション（店舗情報/アクセス情報）
----------------------------------------------------------- */
.access {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0; /* 左右paddingを0に */
}

.location-map iframe {
    width: 100%;
    max-width: 400px;
    height: 300px;
}

.info-about {
    color: var(--color-text);
    padding-bottom: 30px;
}

.info-about li {
    padding-bottom: 15px;
}

.info {
    background: #bfeee4;
    padding: 15px;
    font-family: "Kosugi Maru", "Milonga", sans-serif;
    color: var(--color-text);
}

.info-title {
    font-size: 18px;
    padding-bottom: 15px;
    font-family: "Milonga", sans-serif;
}

.info-title span {
    font-size: 14px;
}

.list li {
    display: flex;
    align-items: flex-start;
    padding-bottom: 6px;
    font-size: 13px;
    padding: 0.3rem;
}

.label {
    white-space: nowrap;
    font-size: 12px;
}

.value {
    flex: 1;
    font-size: 12px;
}

/*
フッター
----------------------------------------------------------- */
.site-footer {
    position: relative;
    background: #FFF8CD;
    padding: 0px 0 40px;
    text-align: center;
    color: var(--color-text);
    margin-top: 120px;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #FFF8CD;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.footer-logo {
    width: 120px;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 30px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 15px 40px;
    justify-content: center;
    padding-bottom: 30px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.2rem;
    font-family: "Milonga", sans-serif;
}

.footer-zip,
.footer-address,
.footer-tel {
    font-size: 0.8rem;
    padding-bottom: 8px;
}

.footer-sns {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0.5rem 0;
    padding-bottom: 50px; /* 20px + 30px（元のfooter-copyのmargin-top） */
}

.footer-sns a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #bfeee4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-text);
    font-weight: bold;
    transition: all 0.3s;
}
.footer-sns a:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}
.footer-copy {
    font-size: 0.7rem;
    color: var(--color-text);
}
/* ------------------------------------------------ 2枚目メニュー ------------------------------------------------ */
.col-grid.col-3 {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 10px;
    margin: 2rem 0 0;
}
.menu-item {
    display: flex;
    align-items: end;
    height: 100%;
}
.menu-item img {
    display: flex;
    align-items: flex-end;
}
.menu-tp {
    width: 80%;
    height: auto;
    justify-self: start; /* ← 左 */
    align-self: flex-end;
    justify-self: end;
    max-width: 120px;
}
.col-grid.center {
    grid-column: 2;      /* 真ん中列 */
    grid-row: span 2;    /* 縦に2マス分使う */
}
.menu-btn {
    margin: 1rem;
    align-items: center;
}
/* checkbox 非表示 */
#cup-cone-toggle {
    display: none;
}
.menu-item__images {
    display: flex;
    width: 180px;     /* ← ここ */
    height: 230px;    /* ← ここ */
    position: relative;
    align-items: flex-end;
}

.menu-item__images img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 320px;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s;
    margin-bottom: 0;
}

  /* 初期：カップ */
.menu-item__images img:nth-child(1) {
    opacity: 1;
}

  /* チェック時：コーン */
#cup-cone-toggle:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-2:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-2:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-3:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-3:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-4:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-4:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-5:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-5:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-6:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-6:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-7:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-7:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-8:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-8:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-9:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-9:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-10:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-10:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-11:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-11:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-12:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-12:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-13:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-13:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-14:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-14:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-15:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-15:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-16:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-16:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-17:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-17:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-18:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-18:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
#cup-cone-toggle-19:checked ~ .menu-item__images img:nth-child(1) {
    opacity: 0;
}
#cup-cone-toggle-19:checked ~ .menu-item__images img:nth-child(2) {
    opacity: 1;
}
  /* ボタン */
.menu-item__button {
    display: flex;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 20px;
    color: #284b99;
    white-space: nowrap;
    flex-direction: column;
}

.chapter__item-list-link {
    position: relative;
    text-decoration: underline;
    font-size: 0.875rem;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    color: #284b99;
}
.c-chapter__item-list-link:after {
    position: absolute;
    top: 50%;
    right: -25px;
    display: inline-block;
    width: 13px;
    height: 13px;
    background: url(../img/common/icon_open-br.svg) 0 0 no-repeat;
    background-size: 100% auto;
    content: "";
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.menu-info {
    text-align: center;
}
.line-order-wrap {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line-order-box {
    width: 90%;
    max-width: 420px;
    background: #ffffff;
    padding: 40px 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.line-order-title {
    font-size: 42px;
    font-weight: 700;
    color: #284b99;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.line-order-lead {
    font-size: 15px;
    color: #333;
    margin-bottom: 30px;
}

.line-order-qr {
    margin: 0 auto 30px;
}

.line-order-qr img {
    width: 220px;
    height: 220px;
}

.line-order-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

/*
レスポンシブ
----------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    :root {
        --center-width: 450px;
    }
    
    .right-sidebar .main-nav a {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .left-sidebar,
    .right-sidebar {
        /* 幅は自動計算されるので変更なし */
        padding: 1.5rem 1rem;
    }
}

@media screen and (max-width: 1199px) {
    /* 共通レイアウト: スマホは1列 */
    .col-grid.col-2 {
        grid-template-columns: 1fr;
    }
    
    .col-flex > * {
        flex: 0 0 100%;
    }
    
    /* ヘッダーを表示 */
    .site-header {
        display: block;
    }
    
    .three-column-layout {
        flex-direction: column;
    }
    
    .left-sidebar,
    .right-sidebar {
        display: none;
    }
    
    .center-main {
        width: 100%;
        max-width: 100%;
        margin: 0;
        flex: 1;
        padding-top: 70px; /* ヘッダー分の余白 */
    }
    
    /* MVとtop-pageは常に全画面フルスクリーン */
    .mv {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
    }
    
    .scroll-mv {
        left: 0;
        width: 100%;
    }
    
    .top-page-section {
        min-height: 150vh; /* スマホでは少し短く */
    }
    
    .top-page {
        width: 100%;
    }
    
    .pc {
        display: none;
    }
    
    .ph {
        display: inline-block;
    }
    
    .logo {
        width: 40%;
        margin: 0 auto;
        padding-bottom: 1.5rem;
        display: flex;
        justify-content: center;
    }
    
    .main-mv {
        width: 90%;
        margin: 0 auto;
    }
    
    .btn.special {
        display: block;
        margin: 0 auto;
        text-align: center;
        font-size: 1rem;
        bottom: -30px;
        position: relative;
        left: auto;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
        padding-bottom: 2rem;
        text-align: center;
    }
    
    .menu-img img {
        width: 50%; /* ph時は70%から100%へ修正して枠に合わせる */
        height: auto; /* PC版の固定高さをリセット */
    }
    
    .product img {
        height: auto; /* PC版の固定高さをリセット */
    }
    
    .align-center {
        padding: 1rem;
    }
    
    .pagetop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/*
タブレット専用（768px〜1199px）
----------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .mobile-menu {
        width: 30%; /* タブレットでは30%幅 */
    }
    
    .menu-overlay {
        display: block; /* タブレットでオーバーレイを表示 */
    }
}

/*
スマホ専用（〜767px）
----------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .mobile-menu {
        width: 50%; /* スマホでは60%幅 */
    }
    .col-flex {
      flex-direction: column; /* スマホ */
    }
    
    .menu-overlay {
        display: block; /* スマホでもオーバーレイ表示 */
    }
    /* ------------------------ 2枚目メニュー -------------------------------- */
    .menu-sec-ttl {
        margin: 6rem 0 2rem 0;
    }
    h3 .sub-ttl {
        font-size: 1rem;
    }
    
    .col-grid.col-3 {
        display: grid;   /* or flex */
        grid-template-columns: 1fr;
        margin: 2rem 0 0;
        gap: 20px;

        position: relative;
    }
    .col-grid.center {
        grid-column: unset;
        grid-row: unset;
    }
    .menu-item {
        justify-content: center;
        position: relative;
    }
    .menu-item__button {
        position: absolute;
        right: 80px;
    }
    .menu-text {
        text-align: center;
    }
    .menu-item__images {
        position: relative;
    }
    .menu-tp {
        position: absolute;
        right: 10px;
        bottom: 140px;   /* ← 高さ調整 */
        width: 60px;
        height: auto;
    }
    .section {
        padding: 0;
    }
    .menu .col-grid {
        padding-bottom: 0;
    }
    h3.sub-ttl {
        font-size: 1.1rem;
    }
    .line-order-box {
        padding: 30px 20px;
    }
    .line-order-title {
        font-size: 36px;
    }
    .line-order-qr img {
        width: 200px;
        height: 200px;
    }
}

