@charset "UTF-8";

/* ====================================================
   CSS変数の定義
==================================================== */
:root {
    --background-color: #F8F4E5;
    --text-color: #714F45;
    --accent-color: #80011F;
    --menu-bg-color: #CAB198;
}

/* ====================================================
   基本スタイル
==================================================== */
body {
    background-color: var(--background-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    touch-action: pan-y;
    padding-top: 70px;
}

/* PC版の背景レイアウト - スマホでは非表示 */
.pc-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}


/* スマホ版コンテナ - デフォルトは全幅 */
.mobile-container {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0 auto;
}

.mobile-content {
    background-color: var(--background-color);
    min-height: 100vh;
}


.logo h1,
.section-title,
.flavor-name1,
.flavor-name2 {
    font-family: "Libre Bodoni", serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ====================================================
   ヘッダー全体の設定
==================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 1002;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    padding-top: 30px
}

/* ====================================================
   ハンバーガーメニューアイコン
==================================================== */
.menu-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

/* 修正2: 各ラインの初期位置 */
.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 6.5px;
}

.hamburger-line:nth-child(3) {
    top: 14px;
}

/* 修正2: メニューが開いたとき、すべてのラインを中央に集めて×印に */
.menu-icon.active .hamburger-line:nth-child(1) {
    top: 6.5px;
    transform: rotate(45deg);
}

.menu-icon.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .hamburger-line:nth-child(3) {
    top: 6.5px;
    transform: rotate(-45deg);
}

/* ====================================================
   ロゴエリア
==================================================== */
.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    line-height: 1;
    z-index: 10;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-top: 30px;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo-icon {
    width: auto;
    height: 32px;
}

/* ====================================================
   ユーザーアイコン群
==================================================== */
.user-icon {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.user-icon .cart,
.user-icon .mypage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    gap: 5px;
}

.user-icon .cart:hover,
.user-icon .mypage:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.user-icon .cart img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.user-icon .mypage img {
    width: 110%;
    height: 110%;
    object-fit: contain;
}

/* ====================================================
   ハンバーガーメニューパネル
==================================================== */
#menu-panel {
    position: fixed;
    top: 70px;
    left: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--menu-bg-color);
    padding: 0;
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

#menu-panel.active {
    transform: translateX(0);
}

/* メニューリンク */
.menu-links {
    padding: 30px 0 20px;
}

.menu-links ul {
    display: flex;
    flex-direction: column;
}

.menu-links li {
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: none;
    color: #FAF8F6;
}

.menu-links li:last-child {
    border-bottom: none;
}

.menu-links li a {
    display: block;
    padding: 5px 0;
    font-weight: 400;
    font-family: "Libre Bodoni", serif;
    letter-spacing: 0.08em;
    color: #FAF8F6;
    transition: opacity 0.3s;
}

.menu-links li a:hover {
    opacity: 0.7;
}

/* 大カテゴリ項目（文字を大きくする） */
.menu-links li:nth-child(1),
/* ABOUT */
.menu-links li:nth-child(2),
/* NEWS */
.menu-links li:nth-child(3),
/* PRODUCT */
.menu-links li:nth-child(10),
/* SHOPPING GUIDE */
.menu-links li:nth-child(11)

/* CONTACT */
    {
    padding-top: 20px;
    font-size: 22px;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.menu-links li:nth-child(1),
/* ABOUT */
.menu-links li:nth-child(2),
/* NEWS */
.menu-links li:nth-child(10)

/* SHOPPING GUIDE */
    {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-links li:nth-child(4),
/* STRAWBERRY */
.menu-links li:nth-child(5),
/* ORANGE */
.menu-links li:nth-child(6),
/* BLUEBERRY */
.menu-links li:nth-child(7),
/* MATCHA */
.menu-links li:nth-child(8),
/* CLASSIC */
.menu-links li:nth-child(9)

/* SEASONAL */
    {
    border-bottom: none;
}

.menu-links li:nth-child(9) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


/* CLASSIC の特別スタイル */
.menu-links li:nth-child(8) a {
    font-size: 16px;
}

.menu-links li:nth-child(8) a span {
    display: block;
    font-size: 12px;
    font-weight: 300;
    margin-top: 5px;
    letter-spacing: 0.05em;
}

/* ====================================================
   メインビジュアル - 自動スライド対応
==================================================== */
.mainvisual {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    touch-action: pan-y;
    /* 縦スクロールのみ許可 */
}

.slide-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.mainvisual a {
    flex: 0 0 100%;
    width: 100%;
    display: block;
}

.mainvisual img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    /* 画像のドラッグを防止 */
    user-select: none;
}

/* ====================================================
   ABOUTセクション
==================================================== */
.about-section {
    padding: 30px 30px 80px;
    text-align: center;
    background-color: var(--background-color);
    position: relative;
}

/* コンセプトタイトル */
.concept-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 30px;
    font-family: "Zen Maru Gothic", sans-serif;
    letter-spacing: 0.05em;
}

/* コンセプトメッセージ */
.concept-message {
    font-size: 14px;
    line-height: 2;
    color: var(--text-color);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.05em;

}

/* ====================================================
   共通セクションタイトル
==================================================== */
.section-title {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    color: var(--accent-color);
    margin: 0 0 40px;
    letter-spacing: 0.15em;
    font-family: "Libre Bodoni", serif;
}

/* ====================================================
   NEWSセクション
==================================================== */
.news-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.news-section .section-title {
    margin-bottom: 35px;
    padding: 0 20px;
}

/* 横スクロールコンテナ */
.news-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

/* スクロールバーのカスタマイズ（Chrome, Safari, Edge） */
.news-wrapper::-webkit-scrollbar {
    height: 6px;
}

.news-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.news-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 3px;
}

.news-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #CAB198;
}

/* ニュース項目 */
.news-item {
    flex: 0 0 auto;
    width: 280px;
}

.news-item a {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-item a:hover {
    opacity: 0.8;
}

/* ニュース画像 */
.news-image {
    width: 100%;
    margin: 0 0 12px;
    overflow: hidden;
    border-radius: 12px;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

/* ニュース情報エリア */
.news-info {
    text-align: center;
}

.news-info time {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 2px;
    font-family: "Zen Maru Gothic", sans-serif;
    opacity: 0.8;
}

.news-title {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    font-weight: 400;
}



/* ----------------------------------------------------
   6. PRODUCTセクション
---------------------------------------------------- */

.product {
    padding-bottom: 50px;
    margin-top: 20px;
}

/* セクションタイトル (PRODUCT) */
.section-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 30px;
    color: #80011F;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.flavor-card {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
    margin: 0 auto;
    color: #FAF8F6;
    padding-top: 30px;
}

/* === フレーバーカード全体 (背景部分) === */
.flavor-1 {
    background-color: #E9B8B9;
}

.flavor-2 {
    background-color: #E9A242;
}

.flavor-3 {
    background-color: #3E4E67;
}

.flavor-4 {
    background-color: #94A95F;
}

.flavor-5 {
    background-color: #CAB198;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 50px 0 40px;
    color: #FAF8F6;
    text-align: center;
}

/* === 1. Flavor / 01 のブロック === */
.flavor-number-block {
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 10;
    font-family: 'Libre Bodoni', serif;
    display: flex;
    align-items: baseline;
    gap: 8px;

}

.flavor-title {
    font-size: 20px;
    margin: 0;
    line-height: 1;
    opacity: 0.9;
    z-index: 15;
}

.flavor-title-number {
    font-size: 32px;
    margin: 0;
    line-height: 1;
    position: relative;
    top: 2px;
    left: -20px;
    color: #714F45;
}

/* === 2. STRAW BERRY のタイトルブロック === */
.title-block {
    position: absolute;
    top: 70px;
    left: 20px;
    z-index: 10;
    font-family: 'Libre Bodoni', serif;
    line-height: 0.85;
    /* 行間を詰める */
}

.flavor-name1,
.flavor-name2 {
    font-size: 42px;
    font-weight: 400;
    margin: 0;
    color: #FAF8F6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.1em;
}

.flavor-name2 {
    margin-left: 30px;
    /* STRAWより右にずらす */
}

/* === 3. プロダクト画像 === */
.product-image-wrapper {
    margin-top: 30px;
    height: 300px;
    width: 65%;
    margin-left: 35%;
}

.product-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px 0 0 10px;
    /* 左側のみ角丸 */
}

/* === 4. 説明文とボタン === */
.description-footer {
    padding: 40px 30px 0;
    text-align: center;
    flex-direction: column;
    display: flex;
}

.catchphrase {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-align: left;
}

.description-text {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
    text-align: left;
    max-width: 300px;
    width: 100%;
    letter-spacing: 0.03em;
}

.flavor-5 .title-block {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: 10;
    margin-top: 0;
    padding: 0 20px;

    display: block;
    justify-content: initial;
    align-items: initial;
    font-family: 'Libre Bodoni', serif;
    line-height: 1;
    text-align: center;
}

/* CLASSIC のメインタイトル */
.flavor-5 .flavor-name1 {
    color: #FAF8F6;
    font-size: 42px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-self: initial;
    margin-bottom: 5px;
}

.flavor-5 .flavor-subtext-wrapper {
    margin-top: 0px;
    display: inline-block;
}

/* Milk / Bitter / White のサブテキスト */
.flavor-5 .flavor-text {
    display: inline;
    color: #FAF8F6;
    font-size: 16px;
    margin: 0;
    position: relative;
    padding-left: 10px;
    line-height: 1;
    letter-spacing: 0.05em;
}

/* タイトル下の細い線（CLASSICのデザイン要素）*/
.flavor-5 .title-block::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #FAF8F6;
    position: absolute;
    left: 50px;
    top: 103px;
    transform: translateY(-50%);
    opacity: 0.8;
}

.flavor-5 .product-image-wrapper {
    width: 85%;
    margin: 20px auto 0;
    height: auto;
    padding-left: 0;
}

.flavor-5 .product-image-wrapper img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.flavor-5 .description-footer {
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 60px;
}


/* CTAボタン (気になる) */
.cta-button {
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    /* 丸いボタン */
    padding: 10px 40px;
    transition: all 0.3s ease;
    position: relative;
    margin-left: 50%;
    transform: translateX(-50%);
}


/* ボタンの横線（右側の装飾） */
.cta-button::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: #FFFFFF;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ----------------------------------------------------
  7. CONTACTセクション
---------------------------------------------------- */
.contact {
    padding: 30px 20px;
    text-align: center;
}

/* セクションタイトル (CONTACT) */
.contact .section-title {
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

/* 案内文 */
.contact-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-wrapper {
    display: inline-flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 50px;
}

.contact-cta-button {
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 14px;
    text-decoration: none;
    background-color: transparent;
    transition: all 0.3s ease;

    color: #80011F;
    border: 1px solid #80011F;
    border-radius: 50px;
    padding: 10px 40px;
    position: static;
    margin-left: 0;
    transform: none;
}

/* ボタンの右側の線 */
.cta-wrapper .cta-line-right {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #80011F;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* ホバー時のスタイル */
.contact-cta-button:hover {
    background-color: transparent;
    color: #80011F;
    /* ホバーで少し淡い茶色に */
    border-color: #80011F;
    transform: translateY(-2px);
}

/* セクション区切り線 */
.section-separator {
    border: none;
    border-top: 1px solid #80011F;
    width: 80%;
    margin: 0 auto;
    opacity: 0.4;
}

/* ----------------------------------------------------
  8. SNSセクション
---------------------------------------------------- */
.sns {
    padding: 60px 20px;
    text-align: center;
}

/* セクションタイトル (SNS) */
.sns .section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

/* 説明文 */
.sns-description {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 30px;

    margin-bottom: 0;
    letter-spacing: 0.05em;
}

/* アイコンを囲むラッパー */
.sns-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
}

/* 各アイコンのコンテナ */
.sns-icon-wrapper a {
    display: block;
    width: 60px;
    height: 60px;
    margin: 10px;
    transition: transform 0.3s ease;
}

/* アイコン画像そのもの */
.sns-icon-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ホバーエフェクト（任意） */
.sns-icon-wrapper a:hover {
    transform: translateY(-5px);
    /* アイコンを少し浮き上がらせる */
}

/* ----------------------------------------------------
 SHOPING GUIDEセクション
---------------------------------------------------- */
.guide-section {
    border-radius: 8px;
    padding: 50px 30px;
    max-width: 400px;
    width: 100%;
}

.guide-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.guide-item {
    margin-bottom: 35px;
}

.guide-item:last-child {
    margin-bottom: 0;
}

.guide-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.guide-list li {
    font-size: 13px;
    line-height: 1.5;

    margin-bottom: 12px;
    padding-left: 1em;
    text-indent: -1em;
}

.guide-list li:last-child {
    margin-bottom: 0;
}

.guide-list li::before {
    content: '・';
    margin-right: 0.5em;
}

.guide-item-text {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* ----------------------------------------------------
お問い合わせフォーム
---------------------------------------------------- */
.contact-section {
    border-radius: 8px;
    padding: 50px 30px;
    max-width: 400px;
    width: 100%;
}

.contact-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
}

.contact-description {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 8px;
}

.required {
    color: #80011F;
    font-size: 12px;
    margin-left: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #CAB198;
    border-radius: 4px;
    background-color: #FAF8F6;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #714F45;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 13px;
    cursor: pointer;
}

.submit-btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 12px 40px;
    background-color: transparent;
    border: 1.5px solid #80011F;
    border-radius: 25px;
    color: #80011F;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #80011F;
    color: #f5f1e8;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ----------------------------------------------------
  9. FOOTER
---------------------------------------------------- */
footer {
    background-color: #CAB198;
    padding: 50px 20px 40px;
    text-align: center;
    color: #FAF8F6;
    font-family: "Zen Maru Gothic", sans-serif;
}

.footer-logo {
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;

    display: block;
    line-height: 1.2;
    text-align: center;

}

.footer-logo a {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo-icon {
    width: 250px;
    max-width: 80%;
    height: auto;
    margin: 0;
    display: inline;
}

.footer-nav {
    margin-top: 0;
    margin-bottom: 40px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

/* リンクテキスト */
.nav-link {
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #FAF8F6;
}

/* コピーライト情報ブロック全体 */
.copyright-info {
    margin-top: 0;
}

/* コピーライト本文 */
.copyright-main {
    font-size: 14px;
    color: #FAF8F6;
    margin-bottom: 0;
    font-family: 'Libre Bodoni', serif;
}

/* 注意書き */
.copyright-note {
    font-size: 12px;
    color: #FAF8F6;
    margin-bottom: 0;
    opacity: 0.7;
}



/* ====================================================
   PC版（768px以上）のスタイル
==================================================== */
@media (min-width: 768px) {
    body {
        background-color: #CAB198;
        padding-top: 0;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .pc-background {
        display: block;
        /* 背景を表示 */
        perspective: 1000px;
        pointer-events: auto;
    }

    .mobile-container {
        max-width: 390px;
        height: calc(100vh - 80px);
        margin: 0;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        border-radius: 30px;
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
        z-index: 10;
        padding-top: 0;
    }

    .mobile-container::-webkit-scrollbar {
        display: none;
    }

    .mobile-content {
        background-color: var(--background-color);
        /* 元の背景色 */
        border-radius: 30px;
    }

    /* ヘッダーもコンテナ幅に合わせる */
    header {
        position: sticky;
        left: auto;
        top: 0;
        width: 100%;
        max-width: 390px;
        z-index: 2000;
        height: 70px;
        padding-top: 30px;
        border-radius: 30px 30px 0 0;
    }

    .mobile-content main {
        padding-top: 0;
    }

    #menu-panel {
        z-index: 1500;
        position: fixed;
        top: 100px;
        left: calc(50% - 195px);
        height: calc(100vh - 40px - 100px) !important;
        border-radius: 0 0 30px 30px !important;
        opacity: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        width: 390px;
        overflow-y: auto;
    }

    #menu-panel.active {
        transform: translateX(0);
        opacity: 1;
    }

    /* 背景画像の配置 */
    .left-circle-block,
    .right-ribbon-block {
        position: absolute;
    }

    .left-circle-block {
        left: 225px;
        top: 50%;
        transform: translateY(-50%);
        width: 350px;
        height: auto;
    }

    .right-ribbon-block {
        right: 175px;
        top: 170px;
        width: 400px;
        height: auto;
    }

    /* チョコレートリンク全体の配置 */
    .chocolate-link-1,
    .chocolate-link-2,
    .chocolate-link-3,
    .chocolate-link-4 {
        cursor: pointer;
        display: inline-block;
        position: absolute;
    }

    .chocolate-link-1 {
        right: 400px;
        top: 320px;
    }

    .chocolate-link-2 {
        right: 200px;
        top: 330px;
    }

    .chocolate-link-3 {
        right: 400px;
        top: 500px;
    }

    .chocolate-link-4 {
        right: 195px;
        top: 480px;
    }

    /* チョコレート画像のスタイル */
    .chocolate-1,
    .chocolate-2,
    .chocolate-3,
    .chocolate-4 {
        width: 150px;
        height: auto;
        display: block;
        transition: transform 0.5s ease-out, opacity 0.5s ease-out;
        transform-style: preserve-3d;
    }

    .chocolate-2,
    .chocolate-3,
    .chocolate-4 {
        width: 160px;
    }

    /* クリック時のアニメーション */
    .chocolate-1.tilt-out,
    .chocolate-2.tilt-out,
    .chocolate-3.tilt-out,
    .chocolate-4.tilt-out {
        transform: rotateZ(20deg);
    }
}

/* ====================================================
   PC版の装飾非表示（ウィンドウ幅が狭い場合の重なり回避）
   ==================================================== */

@media (min-width: 768px) and (max-width: 1600px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .pc-background {
        display: none;
        /* ここでは確実に非表示 */
    }
}