/* ナチュラルフレンチ・ポップなカラー定義 */
:root {
    --main-color: #FF9E8F;   /* コーラルピンク */
    --sub-color: #4DB6AC; /* ミントグリーン */
    --bg-color: #FDFCFB;        /* 優しい白 */
	 --accent-apricot: #FFDAC1; /* アプリコット */
	 --gradient-warm: linear-gradient(135deg, var(--main-color) 0%, var(--accent-apricot) 100%);
    --text-color: #4A4A4A;
    --gold-accent: #D4AF37;
}

header{
	margin-bottom		:0!important;
}

body{
	background			:var(--bg-color);
}

p{
	color					:var(--text-color);
}

/*■レスポンシブル*/ @media screen and (max-width: 1025px) 
{
	.pc-only { display: none !important; }
   .sp-only { display: block !important; }
}


/* ==========================================================================
		header要素
	========================================================================== */
.cube-header{
	width					:100vw;
	background			:var(--bg-color);
	box-sizing			:border-box;
	padding				:1rem;
}
.cube-header:after{
	content				:"";
	display				:block;
	clear					:both;
}

.logArea{
	float					:left;
	position				:relative;
}
.logArea h1{
	display				:flex;
	font-size			:2rem;
	color					:var(--main-color);
	line-height			:3rem;
}
.logArea img{
	display				:block;
	width					:2.5rem;
	height				:2.5rem;
	margin				:auto;
}

.logArea a{
	position				:absolute;
	inset					:0;
}

.headerBtnArea{
	float					:right;
	display				:flex;
}

.headerBtnArea ul{
	list-style			:none;
	display				:flex;
}
.headerBtnArea li{
	position				:relative;
	list-style			:none;
	font-size			:1.6rem;
	font-weight			:900;
	color					:var(--text-color);
	margin-left			:2rem;
	line-height			:3rem;
	transition			:.3s;
}
.headerBtnArea a{
	position				:absolute;
	inset					:0;
}

.headerBtnArea li:hover{
	color					:var(--main-color);
	transition			:.3s;
}

.buy-btn, .headerBtnArea button{
	psition				:relative;
	border-radius		:5px;
	border				:1px solid transparent;
	background			:var(--main-color);
	margin-left			:2rem;
	padding				:0 1rem;
	box-sizing			:border-box;
	height				:3rem;
	transition			:.3s;
}

.buy-btn p, .headerBtnArea button{
	font-size			:1.6rem;
	font-weight			:900;
	color					:var(--bg-color);
	line-height			:3rem;
}
.buy-btn a{
	position				:absolute;
	inset					:0;
}

.buy-btn:hover, .headerBtnArea button:hover{
	background			:none;
	border				:1px solid var(--main-color);
	transition			:.3s;
	cursor				:pointer;
}
.buy-btn:hover p, .headerBtnArea button:hover{
	color					:var(--main-color);
}

/* PCナビをデフォルトで表示、ハンバーガーを隠す */
.hamburger-menu, .mobile-nav {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc-nav {
        display: none; /* スマホではPC用ナビを隠す */
    }

    .hamburger-menu {
        display: block;
        position: relative;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 10001; /* 最前面に */
        float: right;
        margin-top: 5px;
    }

    /* 三本線 */
    .hamburger-menu span {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--main-color);
        border-radius: 3px;
        transition: all 0.4s;
    }

    .hamburger-menu span:nth-child(1) { top: 0; }
    .hamburger-menu span:nth-child(2) { top: 11px; }
    .hamburger-menu span:nth-child(3) { bottom: 0; }

    /* 開いた時の三本線アニメーション */
    .hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

    /* モバイルドロワーメニュー */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%; /* 最初は隠しておく */
        width: 80%;
        height: 100vh;
        background: rgba(255, 252, 251, 0.98);
        z-index: 10000;
        padding: 8rem 2rem;
        transition: right 0.5s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }

    .mobile-nav.active {
        right: 0;
    }

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

    .mobile-nav li {
        border-bottom: 1px solid var(--accent-apricot);
        margin-bottom: 2rem;
    }

    .mobile-nav li a {
        display: block;
        padding: 1.5rem 0;
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--text-color);
        text-decoration: none;
    }

    .mobile-buy-btn, .mobile-nav button{
		 position:relative;
        width: 100%;
        padding: 1.5rem;
        background: var(--gradient-warm);
        border: none;
        border-radius: 50px;
        margin-top: 2rem;
    }
	.mobile-buy-btn p, .mobile-nav button{
		font-size: 1.8rem;
      font-weight: 900;
		color: #fff;
	}
	.mobile-buy-btn a{
		position:absolute;
		inset:0;
	}
}

/* ==========================================================================
		フッター（全体のデザインを踏襲）
	========================================================================== */
.cube-footer {
    background: var(--bg-color); /* 優しい白背景 */
    padding: 6rem 2rem 4rem;
    border-top: 1px solid var(--accent-apricot); /* アプリコットの境界線 */
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--main-color); /* コーラルピンク */
}

.logo-text-group {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    line-height: 1.2;
}

.main-logo-name {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--main-color); /* コーラルピンク */
    letter-spacing: 0.05em;
}

.sub-logo-phrase {
    font-family: 'Dancing Script', 'Georgia', serif; /* 筆記体。Google Fontsなどがない場合はGeorgiaが適用されます */
    font-size: 1.2rem;
    font-style: italic;
    color: #888;
    margin-top: 2px;
}

.f-icon { 
	width: 80px;
	height: 80px;
}

.footer-sns {
    display: flex;
    gap: 2rem;
}

.sns-link {
    font-size: 1.4rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.sns-link:hover { color: var(--main-color); }

.footer-nav-row {
    border-top: 1px solid #eee;
    padding-top: 3rem;
    margin-bottom: 3rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-links a {
    text-decoration: none;
    font-size: 1.4rem;
    color: #888;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--main-color); }

.copyright {
    font-size: 1.2rem;
    color: #bbb;
    text-align: center;
    margin-top: 2rem;
}

/* --- フッター レスポンシブ (1025px以下) --- */
@media screen and (max-width: 1025px) {

    .footer-top-row {
        flex-direction: column; 
        align-items: center; /* 左右中央に揃える */
        justify-content: center; /* 間隔を詰め、中央に集める */
        gap: 3rem;
        text-align: center;
    }

    /* ロゴエリアの右寄り（floatやmargin）を解除 */
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto; /* 中央配置を確定させる */
        float: none; /* floatが残っている場合を考慮 */
    }

    /* SNSエリアの右寄り（floatやmargin）を解除 */
    .footer-sns {
        justify-content: center;
        margin: 0 auto;
        float: none;
    }

    .f-icon {
        width: 80px; /* ロゴアイコンのサイズ維持 */
        height: 80px;
        margin: 0 auto 10px; /* アイコン単体も中央へ */
    }
}

/* ==========================================================================
		ファーストビュー要素
	========================================================================== */
.hero-section{
	width					:100vw;
	height				:calc(100vh - 5rem);
}
.hero-img-wrap{
	position				:relative;
}
.hero-img-wrap img{
	width					:100%;
	height				:100%;
	object-fit			:cover;
}

.hero-text{
	position				:absolute;
	top					:30%;
	left					:10%;
}
.hero-text h2{
	font-size			:5rem;
	font-weight			:900;
	color					:#fff;
}
.hero-text h3{
	font-size			:3rem;
	color					:#fff;
	font-weight			:400;
}

.hero-text button{
	margin-top			:2rem;
	background			:linear-gradient(135deg, #FF9E8F 0%, #FFDAC1 100%);
	border				:none;
	color					:#f8f6f1;
	font-weight			:900;
	padding				:0.75rem 10rem;
	font-size			:3rem;
	border-radius		:5px;
	transition			:.3s;
}

.hero-text button:hover{
	cursor				:pointer;
	background			:var(--sub-color);
	transition			:.3s;
}

/*■レスポンシブル*/
@media screen and (max-width: 1025px) 
{
	/* === ヒーローセクション (FV) === */
   .hero-section { height: 70vh; }
   .hero-text {
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        text-align: center;
        padding: 0 5%;
    }

	.hero-text {
        /* 文字の周りだけ、うっすら白い曇りガラスを敷く */
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px); /* 背景をぼかして文字を際立たせる */
        -webkit-backdrop-filter: blur(8px);
        padding: 3rem 1.5rem;
        border-radius: 20px;
        margin: 0 5%;
    }
	
  .hero-text h2 {
        font-size: 3.2rem;
        line-height: 1.4;
        color: #fff;
        /* 1. 複数のシャドウを重ねて「文字の周りだけ」視認性を確保 */
        text-shadow: 
            0 2px 4px rgba(0,0,0,0.3),
            0 4px 20px rgba(0,0,0,0.2);
        font-weight: 900;
    }

    .hero-text h3 {
        font-size: 2rem;
        margin-top: 1.5rem;
        color: #fff;
        /* 少し控えめなシャドウ */
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .hero-text button { width: 90%; font-size: 2.2rem; padding: 1.8rem 0; }
}


/* ==========================================================================
		各アイテムのコンテナ
	========================================================================== */
.itemListArea_outer{
	width					:100%;
   overflow				:hidden;
   margin-top			:5rem;
   mask-image			:linear-gradient(to right, transparent, black 10%, black 90%, transparent);
   -webkit-mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.itemListArea{
   display				:flex;
   flex-wrap			:nowrap;
   width					:max-content;
   padding				:3rem 0;
   animation			:infinite-scroll 60s linear infinite;
}

.itemListKard{
   width					:320px;
   flex-shrink			:0;
   background			:#fff;
   border-radius		:25px;
   padding				:1.5rem;
   margin-right		:3rem;
   box-shadow			:0 10px 30px rgba(0,0,0,0.05);
   border				:1px solid rgba(255, 158, 143, 0.1);
   box-sizing			:border-box;
   display				:flex;
   flex-direction		:column;
}

.card-image-wrap{
   width					:100%;
   height				:180px;
   border-radius		:18px;
   overflow				:hidden;
   position				:relative;
}
.card-image-wrap img{
   width					:100%;
   height				:100%;
   object-fit			:cover;
}

.price-info-row{
	padding-top			:0.5rem;
	border-top			:1px solid #ddd;
}

.itemListKard h3{
   font-size			:2rem;
   font-weight			:900;
   margin-top			:1.5rem;
   color					:var(--text-color);
   line-height			:1.4;
   height				:3em;
}

.price-info-row, .cube-base, .cube-minus, .cube-current{
	font-size			:1.6rem;
}

.cube-base .val:after, .cube-minus .val:after{
	content				:'cube';
	font-size			:0.7em;
}
.cube-current .unit{
	font-size			:0.7em;
}

.cube-logic-area .summary{
	font-size			:1.6rem;
}
	
/* === ゲージとテキストの配置修正 === */
.next-discount-gauge{
   position				:relative;
   margin				:3.5rem 0;
}

.gauge-bar{
   width					:100%;
   height				:8px;
   background			:#eee;
   border-radius		:4px;
   overflow				:hidden;
}

.gauge-fill{
   height				:100%;
   background			:linear-gradient(90deg, var(--sub-color), #80CBC4);
   transition			:width 0.5s ease;
}

.item-gauge-text{
   font-size			:1.4rem;
   color					:#888;
   text-align			:right;
   margin-top			:0.8rem;
   font-weight			:bold;
}
	
.item-gauge-text span{
	color					:var(--main-color); font-size: 1.4rem; 
}

.card-action-btn{
	border				:none;
	width					:100%;
	padding				:0.75rem 0;
	text-align			:center;
	font-size			:1.6rem;
	font-weight			:900;
	background			:var(--gradient-warm);
	color					:var(--bg-color);
	border-radius		:18px;
}
.card-action-btn:hover{
	transform			:scale(1.05);
	cursor				:pointer;
}
	
.itemListArea:hover {
   animation-play-state: paused;
}
.itemListArea::-webkit-scrollbar {
    display				:none; /* Chrome, Safari */
}

.itemListKard:hover {
   transform			:scale(1.05);
   border-color		:var(--main-color); /* SYOKUTSUカラーで発光 */
}
/* 無限ループのアニメーション定義 */
@keyframes infinite-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 半分まで行ったら最初に戻る */
}

/* --- 「2つの約束」&「商品リスト」 レスポンシブ (1025px以下) --- */
@media screen and (max-width: 1025px) {

	#social h2{
		font-size:2.8rem;
	}
    /* --- 2つの約束 (FeaturesArea) --- */
    .FeaturesArea {
        flex-direction: column; /* 縦に並べる */
        align-items: center;
        gap: 4rem; /* カード間の余白 */
        padding: 0 2rem;
    }

    .FeaturesBox {
        width: 100%;
        max-width: 500px;
        padding: 3.5rem 2rem; /* 余白をモバイル用に調整 */
		 box-sizing:border-box;
    }

    .FeaturesBox h3 {
        font-size: 2.2rem !important; /* 文字を少し強調 */
        line-height: 1.4;
    }

    .FeaturesBox p {
        font-size: 1.6rem !important; /* */
    }

    /* --- 商品スライダー (itemListArea) --- */
    .itemListArea_outer {
        margin-top: 4rem;
        /* マスクを少し弱めて視認性を上げる */
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .itemListKard {
        width: 280px; /* 320pxから少しスリムにして、隣のカードが見えやすくする */
        padding: 1.2rem;
        margin-right: 2rem;
    }

    .card-image-wrap {
        height: 150px; /* 高さを抑えてコンパクトに */
    }

    .itemListKard h3 {
        font-size: 1.8rem !important; /* */
        height: 2.8em; /* 2行で収まるように調整 */
        margin-top: 1rem;
    }

    /* 価格・Cubeロジックエリアの調整 */
    .cube-logic-area {
        padding: 1rem;
        gap: 0.5rem;
    }

    .cube-base, .cube-minus, .price-info-row {
        font-size: 1.3rem !important; /* 情報を凝縮 */
    }

    .cube-current .val {
        font-size: 2.6rem !important; /* 目立たせつつ調整 */
    }

    .cube-logic-area .summary {
        font-size: 1.4rem !important;
        margin-top: 0.5rem;
    }

    .cube-logic-area .summary span {
        font-size: 2rem;
    }

    /* ゲージの調整 */
    .next-discount-gauge {
        margin: 2.5rem 0;
    }

    .item-gauge-text {
        font-size: 1.2rem !important; /* */
    }

    /* ボタンの調整 */
    .card-action-btn {
        padding: 1.2rem 0;
        font-size: 1.5rem;
    }
}


/* ==========================================================================
		メインボディ基本要素
	========================================================================== */
.lpMainBody{
	position:relative;
	width:100%;
	z-index:1;
	overflow: visible;
	padding:10rem 0;
}
.lpMainBody:before{
	content:'';
	position:absolute;
	top:0;
	left:0;
	z-index: -1;
	width: 100%;
   height: 100%;
	background-color: #f8f6f1; /* ベースカラー */
   background-image: 
       linear-gradient(rgba(100,100,100,0.1) 1px, transparent 1px),
       linear-gradient(90deg, rgba(100,100,100,0.1) 1px, transparent 1px);
   background-size: 30px 30px; /* 方眼のサイズ */
}
.lpMainBody_outline{
	box-sizing:border-box;
	border:10px solid var(--main-color);
	border-radius:10px;
	position:relative;
	margin:auto;
	max-width:50%;
	z-index:10;
	background:#fff;
	padding:5rem 0;
}
.lpMainBody section{
	width:100%;
	margin-bottom:15rem;
}

.lpMainBody section h2{
	color:var(--text-color);
	font-size:4rem;
	font-weight:900;
}

.lpMainBody section h3 {
   text-align: center;
   font-size: 2.2rem;
   color: var(--main-color); /* */
   font-weight: 900;
	position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 10px;
}

.lpMainBody section h4{
	text-align:center;
	font-weight:900;
	font-size:1.8rem;
}

/* cube */
.hero-cube-visual{
   perspective			:1000px;
   display				:flex;
   justify-content	:center;
   align-items			:center;
   padding				:50px 0;
}
.cube-3d{
   width					:120px;
   height				:120px;
   position				:relative;
   transform-style	:preserve-3d;
   animation			:rotate-y-axis 12s linear infinite; /* Y軸を基準に回転 */
}

.cube-face{
   position				:absolute;
   width					:120px;
   height				:120px;
   border				:5px solid rgba(255, 158, 143, 0.6);
   background			:rgba(255, 255, 255, 0.1);
   backdrop-filter	:blur(4px);
   display				:flex;
   align-items			:center;
   justify-content	:center;
   font-size			:1rem;
   letter-spacing		:0.2em;
   color					:var(--main-color);
   box-sizing			:border-box;
}

.front  { transform: rotateY(  0deg) translateZ(60px); background: rgba(255, 158, 143, 0.15); }
.back   { transform: rotateY(180deg) translateZ(60px); }
.right  { transform: rotateY( 90deg) translateZ(60px); }
.left   { transform: rotateY(-90deg) translateZ(60px); }
.top    { transform: rotateX( 90deg) translateZ(60px); }
.bottom { transform: rotateX(-90deg) translateZ(60px); }

@keyframes rotate-y-axis {
	0% 
	{
		transform: rotateX(-15deg) rotateY(0deg);
	}

	100%
	{
		transform: rotateX(-15deg) rotateY(360deg);
   }
}

.cube-face::before {
   content				:"";
   position				:absolute;
   inset					:0;
   border				:0.5px solid rgba(255, 255, 255, 0.8);
}

/*■レスポンシブル*/ @media screen and (max-width: 1025px) 
{
	/* 3D Cubeのサイズダウンと位置調整 */
    .hero-cube-visual {
        padding: 30px 0; /* 余白を少し詰める */
    }

    .cube-3d {
        width: 80px;  /* 120pxから80pxへ */
        height: 80px;
    }

    .cube-face {
        width: 80px;
        height: 80px;
        font-size: 0.8rem; /* 文字も少し小さく */
    }

    /* 80pxのCubeに合わせて奥行き(translateZ)を再計算（半分の40px） */
    .front  { transform: rotateY(  0deg) translateZ(40px); }
    .back   { transform: rotateY(180deg) translateZ(40px); }
    .right  { transform: rotateY( 90deg) translateZ(40px); }
    .left   { transform: rotateY(-90deg) translateZ(40px); }
    .top    { transform: rotateX( 90deg) translateZ(40px); }
    .bottom { transform: rotateX(-90deg) translateZ(40px); }	
}

/*■レスポンシブル*/ @media screen and (max-width: 1025px) 
{
	.lpMainBody_outline
	{
		max-width:95%;
		padding:5rem 1rem;
	}
}

/* ==========================================================================
		スクロール誘導演出（モダン＆ポップ）
	========================================================================= */
.scrollEffect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* テキストと矢印の距離 */
    margin-bottom: 60px; /* 枠（outline）との隙間を確保 */
}

/* テキストの調整 */
.scrollEffect p {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--main-color); /* コーラルピンク */
    letter-spacing: 0.1em;
}

/* 矢印コンテナ（ぷるんとした質感を作る） */
.pop-scroll-arrow-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
}

/* 矢印本体（丸） */
.pop-arrow-ikon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景をミントグリーン（var(--sub-color)）に */
    background: var(--sub-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 修正いただいた黄色の丸を継承した、柔らかい影 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    /* ぷるんと浮かび上がるアニメーション */
    animation: bouncePop 1.5s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

/* SVG矢印アイコンの色とサイズ */
.pop-arrow-ikon svg {
    width: 30px;
    height: 30px;
    color: #f8f6f1;
}

/* 矢印の残像（下へ落ちる演出用） */
.pop-arrow-after-ikon {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: rgba(var(--main-color_rgb), 0.3); /* 薄いピンク */
    border-radius: 10px;
    
    /* 下へ流れるアニメーション */
    animation: arrowFlow 1.5s infinite linear;
    z-index: 1;
}

/* ★アニメーション定義★ */

/* ぷるんと跳ねる（ポップ感） */
@keyframes bouncePop {
    0%, 10% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.1, 0.9) translateY(0); } /* 押し潰される */
    50% { transform: scale(1) translateY(-10px); } /* 跳ねる */
    70% { transform: scale(1) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}

/* 下へ流れる残像（モダンな誘導感） */
@keyframes arrowFlow {
    0% { transform: translateX(-50%) translateY(0) scaleX(1); opacity: 1; }
    50% { transform: translateX(-50%) translateY(30px) scaleX(0.5); opacity: 0; }
    100% { transform: translateX(-50%) translateY(0) scaleX(1); opacity: 0; }
}

/* 特徴セクションの親見出し */
.lpMainBody_outline > h2 {
    font-size: 2.8rem !important;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 0.1em;
    margin-bottom: 6rem !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 背後に薄く「FEATURES」と添えてモダンに */
.lpMainBody_outline > h2::before {
    content: "FEATURES";
    position: absolute;
    top: -2.5rem;
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    color: var(--main-color);
    letter-spacing: 0.4em;
    opacity: 0.6;
}

/* 特徴のh3要素 */
.lpMainBody section .reason-title {
    font-size: 2.4rem !important;
    color: var(--text-color) !important;
    margin-bottom: 1.5rem !important;
    position: relative;
}

/* インデックス（01 / 02）を左側に配置 */
.lpMainBody section .reason-title::before {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--sub-color); /* ミントグリーン */
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* 1つ目のセクション：早割 */
.cube-benefit-section .reason-title::before {
    content: "Feature 01 —";
}

/* 2つ目のセクション：いいね割 */
.cube-good-section .reason-title::before {
    content: "Feature 02 —";
}

/* 下の装飾線を短く太くしてポップさを出す */
.lpMainBody section .reason-title::after {
    content: "";
    width: 30px;
    height: 4px;
    background: var(--main-color); /* コーラルピンク */
    border-radius: 10px;
    margin-top: 1rem;
}


/* ==========================================================================
		早割ゲージ
	========================================================================== */
.simulator-wrapper {
   position: relative;
   width: 100%;
   height: 350px;
	margin: 50px 0;
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   box-sizing: border-box;
}

.simulator-svg {
    width: 100%;
    height: 100%;
}

/* 黄色の丸（インジケーター） */
.moving-indicator {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%); /* 中心をパスに合わせる */
    z-index: 100;
}

.indicator-circle {
    /* 1. Cubeをイメージした正方形 */
    width: 100px;
    height: 100px;
    border-radius: 6px; /* 少し角を丸めた四角 */
    
    /* 2. グラス気質の半透明デザイン */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* 3. コーラルピンクをメインにした配色 */
    border: 1px solid rgba(235, 28, 36, 0.3); /* コーラルピンクの枠線 */
    
    /* 内側からの発光感（hero-cube-visual踏襲） */
    box-shadow: 
        0 8px 32px rgba(235, 28, 36, 0.15),
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}
/* テキストカラーの調整 */
#js-display-discount {
    font-size: 1.4rem;
    font-weight: 900;
    color: #eb1c24; /* コーラルピンク */
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

#js-display-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--main-color); /* コーラルピンク */
    opacity: 0.9;
}
	
.indicator-date {
    margin-top: 15px;
    /* 背景をミントグリーン（var(--sub-color)）の薄い色に */
    background: rgba(167, 255, 235, 0.8);
    color: var(--sub-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sim-slider {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* 余白をなくして全幅に */
    height: 14px; /* 溝の深さ */
    background: #fff; /* 溝のベース色 */
    outline: none;
    margin: 0;
    /* ２、ゲージ自体を凹んだ感じにする */
    box-shadow: 
        inset 2px 2px 5px rgba(0, 0, 0, 0.1), 
        inset -2px -2px 5px rgba(255, 255, 255, 0.8);
}

/* スライダーのつまみ（ボタン） */
.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    /* ３、凹んだ中に入れる（高さ14pxより小さく設定） */
    height: 10px;
    width: 40px; /* 横長のカプセル型でモダンに */
    border-radius: 20px;
    background: var(--main-color); /* コーラルピンク */
    cursor: pointer;
    margin-top: 2px; /* (溝14px - つまみ10px) / 2 で中央配置 */
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.sim-slider::-webkit-slider-thumb:hover {
    background: #eb1c24; /* ホバーで少し色を強調 */
}

/* Firefox用 */
.sim-slider::-moz-range-track {
    background: transparent;
    border: none;
}
.sim-slider::-moz-range-thumb {
    height: 10px;
    width: 40px;
    background: var(--main-color);
    border-radius: 20px;
    border: none;
}

/* cube_style.css */
.cube-benefit-section-text {
    width: 100%;
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
	box-sizing:border-box;
}

.cube-benefit-section-text .en-sub {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--sub-color); /* ミントグリーン */
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cube-benefit-section-text .main-copy {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-color); /* */
    line-height: 1.6;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.cube-benefit-section-text .highlight {
    /* マーカー風ではなく、あえて「細い下線」でモダンに */
    border-bottom: 2px solid var(--accent-apricot); /* アプリコット */
    padding-bottom: 2px;
}

.cube-benefit-section-text .sub-description {
    position: relative;
    padding-top: 2rem;
    display: inline-block;
}

/* 上部に繊細な区切り線を配置 */
.cube-benefit-section-text .sub-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: #DDD;
}

.cube-benefit-section-text .sub-description p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #888;
    margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .cube-benefit-section-text .main-copy {
        font-size: 1.6rem;
    }
    .cube-benefit-section-text .sub-description p {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
		いいね割セクション（STEP 02）：モダン・インフォグラフィック
	========================================================================== */
.cube-good-section {
    margin: 100px 0;
    padding: 0 5%;
	box-sizing:border-box;
}

.good-benefit-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8%; /* ゲージとカードの距離感を最適化 */
    margin: 60px auto 0;
    height: 400px; /* ゲージが伸びるための高さを確保 */
    max-width: 1000px;
	margin-bottom:10rem;
}

/* --- 左側：洗練されたバーティカル・ゲージ --- */
.good-pile-area {
    position: relative;
    width: 80px;
    height: 100%;
    display: flex;
    justify-content: center;
}

.good-gauge-container {
    position: relative;
    width: 8px; /* 繊細な極細ライン */
    height: 100%;
    background: rgba(0, 0, 0, 0.05); /* 控えめなガイドライン */
    border-radius: 10px;
    overflow: visible; /* マイルストーンのはみ出しを許可 */
}

/* スクロールに連動して伸びる赤いバー */
.good-gauge-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%; /* JSで制御 */
    background: var(--main-color); /* コーラルピンク */
    border-radius: 10px;
    /* 発光感（チープにならない程度に薄く） */
    box-shadow: 0 0 12px rgba(255, 158, 143, 0.4);
    transition: none !important; /* スクロール同期のためアニメーションを無効化 */
}

/* マイルストーン（10, 50, 100いいね）のラベル */
.gauge-milestone {
    position: absolute;
    right: 25px;
    transform: translateY(50%);
    font-size: 1.1rem;
    font-weight: bold;
    color: #DDD; /* 通常時は薄いグレー */
    white-space: nowrap;
    transition: all 0.4s ease; /* 点灯時は滑らかに */
}

/* アクティブ（到達）時のスタイル */
.gauge-milestone.active {
    color: var(--main-color); /* コーラルピンクに点灯 */
    transform: translateY(50%) scale(1.1);
}

/* ==========================================================================
		いいねアイコン：洗練されたフローティング演出
	========================================================================== */
.good-ikon-piles {
    position: absolute;
    bottom: -10px; /* ゲージの基点に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.good-flying-ikon {
    position: absolute;
    width: 38px;
    height: 38px;
    opacity: 0; /* 最初は隠しておく */
    filter: drop-shadow(0 4px 8px rgba(255, 158, 143, 0.3)); /* 柔らかい影 */
    animation: gentleFloat 4s infinite ease-in-out;
}

/* 3本のアイコンをランダムな位置とタイミングに配置 */
.good-flying-ikon:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    transform: scale(0.9);
}

.good-flying-ikon:nth-child(2) {
    left: 50%;
    bottom: 20px;
    animation-delay: 1.5s;
    transform: translateX(-50%) scale(1.1);
}

.good-flying-ikon:nth-child(3) {
    right: 10%;
    animation-delay: 0.8s;
    transform: scale(0.8);
}

/* ★モダンな浮遊アニメーション★ */
@keyframes gentleFloat {
    0% {
        transform: translateY(20px) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    50% {
        /* 左右にわずかに揺らしながら上昇 */
        transform: translateY(-40px) translateX(10px) rotate(10deg) scale(1);
        opacity: 0.6;
    }
    80% {
        opacity: 0;
    }
    100% {
        transform: translateY(-80px) translateX(-5px) rotate(-10deg) scale(0.8);
        opacity: 0;
    }
}

/* --- 右側：商品シミュレーションカード（洗練された白・ソリッド） --- */
.price-simulation-card {
    width: 360px;
    background: #FFF;
    border-radius: 12px;
    padding: 2.5rem;
    /* 高級感を出すための「広く・薄い」影 */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    box-sizing: border-box;
}

.sim-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sim-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* カード内のいいね数バッジ */
.sim-iine-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 900;
    color: var(--main-color);
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* タイポグラフィ：価格の変化を際立たせる */
.sim-item-name {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.sim-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F8F8F8;
}

.sim-label, .sim-discount-label {
    font-size: 1.1rem;
    color: #AAA;
}

.sim-old-price {
    font-size: 1.4rem;
    color: #EEE; /* 以前の価格は極限まで薄く */
    text-decoration: line-through;
}

.sim-new-price {
    text-align: right;
    color: #eb1c24; /* 現在の価格はSYOKUTSUレッドで強調 */
}

#js-current-price {
    font-size: 3.8rem; /* 圧倒的な視認性 */
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.sim-unit {
    font-size: 1.4rem;
    margin-left: 4px;
    font-weight: bold;
}

.sim-caption {
    font-size: 1rem;
    color: var(--sub-color); /* ミントグリーン */
    margin-top: 2rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* ==========================================================================
		いいね割：スマホ横並び・エフェクト同期
	========================================================================== */
@media screen and (max-width: 768px) {
    /* 1. 横並びを強制し、高さを固定してエフェクトを安定させる */
    .good-benefit-wrapper {
        flex-direction: row !important; /* 縦並びを解除 */
        justify-content: space-between;
        align-items: center;
        gap: 15px; /* 隙間を最小限に */
        height: 350px !important; /* スクロール検知用の高さを確保 */
        padding: 0;
    }

    /* 2. ゲージエリアのスリム化 */
    .good-pile-area {
        width: 50px !important; /* 幅を極限まで絞る */
        height: 100% !important;
    }

    .good-gauge-container {
        width: 6px !important; /* ゲージの線を細く */
    }

    /* マイルストーンの文字サイズと位置調整 */
    .gauge-milestone {
        right: 15px !important;
        font-size: 0.9rem !important;
    }

    /* 3. シミュレーションカードの軽量化 */
    .price-simulation-card {
        flex: 1; /* 残りの幅をすべて使う */
        width: auto !important;
        padding: 1.2rem !important; /* 余白を削ってコンテンツを中央に */
    }

    .sim-card-image {
        height: 120px !important; /* 画像の高さを抑える */
    }

    #js-current-price {
        font-size: 2.4rem !important; /* 価格の文字サイズをスマホに最適化 */
    }

    .sim-item-name {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }

    /* ハートの浮遊エフェクトをスマホでも見えるように調整 */
    .good-ikon-piles {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ==========================================================================
		ナラティブ・タイムライン：最終完成版デザイン
	========================================================================== */
.cube-timeline-experience {
    position: relative;
    width: 100%;
    height: 700vh; /* ステップ数に合わせて調整（8ステップ想定） */
    background: #fff;
    padding-bottom: 20vh;
    overflow: visible;
}

.timeline-line-center {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    /* 背景色を再定義して確実に表示 */
    background: linear-gradient(to bottom, #FF9E8F, #4DB6AC);
    z-index: 2 !important; /* 他の背景要素より前面に */
}

/* 中央を貫く一本の道 */
.sticky-icon-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

/* 画面中央に固定されるアイコンコンテナ */
.sticky-icon-container {
    position: absolute; /* 親要素のタイムライン全体を基準にする */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* タイムラインの端から端まで「アイコンの可動域」にする */
    z-index: 100;
    pointer-events: none;
}

/* 中央のCubeロゴ本体 */
.moving-cube-icon {
    position: sticky; /* ここで「ピン留め」を行う */
    top: 40vh; /* 画面の上端から40%の位置でアイコンを静止させる */
    margin: 0 auto; /* PC版では中央 */
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.moving-cube-icon img#js-cube-img {
    width: 65%;
    height: auto;
    transition: opacity 0.5s ease;
}

/* 8: 収穫祭での商品入れ替え（初期は非表示） */
.final-product-hide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.final-product-show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* --- アイコン上の価格・メッセージバブル --- */
.icon-status-overlay {
    position: absolute;
    bottom: 60px; /* アイコンの中心から上に60pxの位置 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 110;
}

.sim-price-bubble .old {
    display: block;
    font-size: 1.2rem;
    color: #bbb;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.sim-price-bubble .new {
    font-size: 2.8rem;
    font-weight: 900;
    color: #eb1c24;
    letter-spacing: -0.05em;
    line-height: 1;
}

.sim-message-tag {
    margin-top: 10px;
    background: var(--main-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 158, 143, 0.3);
}

/* --- ハート演出 --- */
.heart-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.heart-particle {
    position: absolute;
    font-size: 2rem;
    color: #ff9e8f;
    user-select: none;
    animation: flyHeart 1.2s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes flyHeart {
    0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(1.5) rotate(20deg); opacity: 0; }
}

/* --- 各ステップのコンテンツ --- */
.time-step {
    height: 80vh; /* 適度な距離感 */
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 5;
}

.time-step:nth-child(odd) { justify-content: flex-start; padding-left: 8%; }
.time-step:nth-child(even) { justify-content: flex-end; padding-right: 8%; }

.step-content {
    max-width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    
    /* 下から上へのフェードイン初期状態 */
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.time-step.is-active .step-content {
    opacity: 1;
    transform: translateY(0);
}

.step-label {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: var(--main-color);
    letter-spacing: 0.2em;
    font-weight: bold;
    margin-bottom: 12px;
    display: block;
}

.step-content h3 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #777;
}

/* --- 1: 商品画像の扇状展開 --- */
.fan-images {
    position: relative;
    height: 140px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.fan-img {
    position: absolute;
    width: 120px;
    height: 85px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    /* スクロールに合わせて開くための基点 */
    transform-origin: bottom center;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    background: #eee;
}

.epilogue-step {
    height: 120vh; /* 少し長めに余韻を確保 */
    justify-content: center !important;
    padding: 0 !important;
	z-index:101;
}

.epilogue-visual {
   position: relative;
    width: 90%;
    max-width: 1000px;
    height: 70vh;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

/* 背景画像（FV.png） */
.epilogue-bg-img {
   position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bg-after {
    opacity: 0;
    transition: opacity 2.5s ease-in-out; /* ゆっくりフェードイン */
}

/* 曇りガラス風のオーバーレイ */
.epilogue-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.epilogue-text {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
}
.epilogue-overlay, .epilogue-text {
    z-index: 10;
}

.epilogue-text h3 {
    font-size: 3rem;
    color: #fff !important;
    font-weight: 900 !important;
    margin-bottom: 2rem !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.epilogue-text p {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.epilogue-sub {
    font-family: 'Dancing Script', serif;
    font-size: 1.8rem !important;
    color: var(--main-color) !important;
    margin-bottom: 1rem;
}

/* アクティブ時の表示 */
.epilogue-step.is-active .epilogue-visual {
    opacity: 1;
    transform: scale(1);
}

.epilogue-step.is-active .epilogue-text {
    transform: translateY(0);
}

/* 数字が変化している時のライブ感 */
#js-timeline-price {
    font-variant-numeric: tabular-nums; /* 数字の幅を固定してガタつきを抑える */
    display: inline-block;
    transition: color 0.2s ease;
}

/* 価格バブル自体の浮遊感 */
.icon-status-overlay {
    /* 常にわずかに上下に揺らす */
    animation: floatBubble 3s infinite ease-in-out;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==========================================================================
		ナラティブ・タイムライン：スマホ版リデザイン（アイコン常駐）
	========================================================================== */
@media screen and (max-width: 768px) {
    /* 1. 全体レイアウト：左側にマージンを作り、アイコンの通り道を確保 */
   .cube-timeline-experience {
        padding-top: 50px;
        overflow-x: hidden !important; /* 横揺れ防止 */
    }

    /* 2. 中央線を左側に寄せる */
    .timeline-line-center {
        left: 30px !important; /* 左から45pxの位置に線を配置 */
        transform: none;
    }

   .moving-cube-icon {
		position: sticky !important;
        top: 40vh !important; /* スマホでも同じ高さで固定 */
        margin-left: 5px !important; /* 左端のライン上に固定 */
        width: 50px !important;
        height: 50px !important;
		z-index: 101;
    }

	.sticky-icon-container {
        top: 0 !important;
			height: 100% !important; /* スマホでも高さを維持 */
        width: 100% !important;
		display:block;
        justify-content: flex-start !important;
        padding-left: 5px; /* 線に合わせる */
       
    }

    /* 4. アイコン上の価格バブルをスマホ向けに配置 */
   .icon-status-overlay {
        /*position: absolute;*/
        bottom: 60px; /* アイコンのすぐ上 */
        left: 0;
       width: 110px;
		transform: none !important;
    }

    .sim-price-bubble .new {
        font-size: 1.8rem !important;
    }

    .sim-message-tag {
        font-size: 0.9rem;
        padding: 3px 10px;
    }

    /* 5. ステップコンテンツを右側に寄せて、アイコンとの重なりを防ぐ */
    .time-step {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .step-content {
        max-width: 100% !important;
        margin: 0 !important;
        opacity: 1 !important; /* スマホでは常に表示 */
        transform: none !important;
		 padding:20px;
    }

    .step-content h3 {
        font-size: 1.6rem !important;
        text-align: left
	}
	.fan-images {
        width: 100%;
        overflow: hidden; /* コンテンツ内ではみ出さないように */
        height: 120px;
    }
    
    .fan-img {
        width: 100px; /* 少しサイズダウン */
        height: 70px;
    }

	/* 最後の食卓ステップの長さを調整 */
    .epilogue-step {
        height: auto !important;
        min-height: 80vh !important; 
        padding-top: 50px !important;
        margin-bottom: 0 !important;
    }

    .epilogue-visual {
        height: 60vh !important; /* 縦長画面で収まる高さに固定 */
    }

	.epilogue-text h3 {
    font-size: 1.8rem;
	}
	.epilogue-text p{
		display:none;
	}
}

/* ==========================================================================
		ナラティブ・タイムライン：画面中央・完全固定版
	========================================================================== */
.cube-timeline-experience {
    position: relative;
    width: 100%;
    height: 700vh; /* 全体の長さ */
    background: #fff;
    overflow: visible;
}

/* 中央のガイドライン */
.timeline-line-center {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #FF9E8F, #4DB6AC) !important;
    z-index: 1 !important;
}

/* 【修正】アイコンのコンテナを画面に対して「完全に」固定する */
.sticky-icon-container {
    position: fixed; /* stickyではなくfixedで画面の指定位置に居座らせる */
    top: 50%; /* 画面のど真ん中 */
    left: 50%;
    transform: translate(-50%, -50%); /* 画面の真ん中に配置 */
    width: 100px;
    height: 100px;
    z-index: 100;
    pointer-events: none; /* 下の文字を触れるようにする */
    
    /* タイムラインセクション外では隠すための制御（JSと連動） */
    display: none; 
}

/* セクション内にいる時だけ表示するクラス */
.is-timeline-active .sticky-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.moving-cube-icon {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* スマホ版（768px以下）：左側に固定 */
@media screen and (max-width: 768px) {
    .timeline-line-center {
        left: 30px !important;
        transform: none !important;
    }

    .sticky-icon-container {
        left: 30px !important; /* ラインの位置に固定 */
        transform: translateY(-50%) !important;
        width: 60px !important;
        justify-content: flex-start !important;
        padding-left: 5px;
    }

    .moving-cube-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .time-step {
        padding-left: 20px !important; /* アイコンとの重なりを防止 */
    }
}

	
/* ==========================================================================
		SECTION 04：最終CTA（販売開始前・メール通知予約）
	========================================================================== */
.final-cta-section {
    padding: 0 5%;
    text-align: center;
	box-sizing:border-box;
}

/* スクロールで浮かび上がるコンテナ */
.cta-container {
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

/* JSでクラスが付与された時の状態 */
.cta-container.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* 告知バッジ（ミントグリーンをアクセントに） */
.launch-badge {
    display: inline-flex;
    flex-direction: column;
    background: var(--sub-color); 
    color: #fff;
    padding: 15px 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(77, 182, 172, 0.2);
}

.badge-sub {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    opacity: 0.9;
    text-transform: uppercase;
}

.badge-main {
    font-size: 2.2rem;
    font-weight: 900;
}

.cta-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* 予定価格を表示するボックス */
.cta-status-box {
    background: #FDFCFB;
    padding: 35px;
    border-radius: 24px;
    margin-bottom: 30px; /* バナーとの間隔 */
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

.status-row-top {
    margin-bottom: 15px;
    align-items: center;
    color: #888;
}

.status-base-price {
    text-decoration: line-through;
    font-weight: bold;
	font-size:1.4rem;
}

.status-label {
    font-size: 1.8rem;
    color: #888;
    margin-bottom: 10px;
	display:block;
}

.status-price-main {
    border-top: 1px dashed #DDD;
    padding-top: 20px;
}

.status-price {
    color: #eb1c24; /* 強調のコーラルレッド */
    margin-bottom: 10px;
}

.price-val {
    font-size: 6.4rem; /* 150円を強調 */
    font-weight: 900;
    color: #eb1c24;
    letter-spacing: -0.05em;
}

.price-unit {
    font-size: 2rem;
    font-weight: bold;
    margin-left: 5px;
}

.status-note {
    font-size: 1.4rem;
    color: var(--main-color);
    font-weight: 900;
    margin-bottom: 5px;
}

.social-proof-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    background: rgba(77, 182, 172, 0.05); /* 控えめなミント */
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
}

.proof-text {
    font-size: 1.4rem;
    color: #666;
    font-weight: bold;
}

#js-regist-count {
    color: var(--sub-color); /* ミントグリーン */
    font-size: 1.8rem;
    margin: 0 4px;
}

.user-avatars {
    display: flex;
    margin-right: 5px;
}

.avatar {
    margin-left: -8px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 1.2rem;
}
.avatar:first-child { margin-left: 0; }
	
/* メールフォーム・グループ（カプセル状デザイン） */
.email-form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto 20px;
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #EEE;
}

.cta-email-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 25px;
    font-size: 1.6rem;
    outline: none;
    color: var(--text-color);
}

.btn-email-notify {
    background: var(--main-color); /* コーラルピンク */
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 1.6rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-email-notify:hover {
    background: #eb1c24;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(235, 28, 36, 0.2);
}

.action-caption {
    font-size: 1.3rem;
    color: #AAA;
    margin-bottom: 60px;
}

/* カウントダウンタイマー */
.launch-countdown {
    border-top: 1px solid #F0F0F0;
    padding-top: 40px;
}

.countdown-label {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
}

.timer-display {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.timer-item {
    background: #F9F9F9;
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 85px;
    box-sizing: border-box;
}

.timer-item .num {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-color);
    display: block;
    line-height: 1;
}

.timer-item .unit {
    font-size: 1.2rem;
    color: #aaa;
    margin-top: 5px;
    display: block;
}

/* スマホ対応（フォームの縦並び化） */
@media screen and (max-width: 768px) {
    .cta-title { 
		 font-size: 2.4rem!important;
	 }
    
    .email-form-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        gap: 15px;
    }
    
    .cta-email-input {
        background: #fff;
        height: 60px;
        border-radius: 30px;
        border: 1px solid #EEE;
        text-align: center;
    }
    
    .btn-email-notify {
        height: 60px;
        width: 100%;
    }

    .timer-item {
        min-width: 70px;
        padding: 10px;
    }
}

/* ==========================================================================
		FAQ：アコーディオン形式 完全版
	========================================================================== */
.cube-faq-section {
    padding: 0 5%;
	box-sizing:border-box;
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-main-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 60px;
    position: relative;
}

/* タイトル下のミントグリーンのアクセント */
.faq-main-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: var(--sub-color);
    margin: 15px auto 0;
    border-radius: 10px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 項目間の余白 */
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.faq-item h3{
	text-align:left!important;
	align-items:start!important;
}

/* 1. チェックボックスは完全に隠す */
.faq-accordion-input {
    display: none;
}

/* 2. 質問エリア（クリック可能なラベル） */
.faq-question {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fafafa;
}

.q-icon {
    font-family: 'Georgia', serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--main-color); /* コーラルピンク */
    margin-right: 20px;
    line-height: 1;
}

.faq-question h3 {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--text-color);
    flex: 1;
    line-height: 1.4;
    margin: 0;
}

/* 3. 矢印アイコンの装飾と回転アニメーション */
.arrow-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 15px;
    margin-right: 5px;
}

/* 4. 回答エリアの初期状態（高さ0で隠す） */
.faq-answer {
    max-height: 0; /* height: autoではアニメーションしないためmax-heightを利用 */
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fcfcfc;
}

.answer-inner {
    padding: 0 30px 30px 70px; /* Qアイコンの幅に合わせて左余白を調整 */
    display: flex;
    flex-direction: column;
    position: relative;
}

.a-icon {
    position: absolute;
    left: 30px;
    top: 0;
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--sub-color); /* ミントグリーン */
    line-height: 1;
}

.faq-answer p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* 5. 開閉ロジック：チェック時にスタイルを変更 */
/* 回答エリアを展開 */
.faq-accordion-input:checked ~ .faq-answer {
    max-height: 500px; /* コンテンツが収まる十分な高さ */
    padding-top: 10px;
    padding-bottom: 10px;
}

/* 矢印を回転させる */
.faq-accordion-input:checked ~ .faq-question .arrow-icon {
    transform: rotate(-135deg);
    border-color: var(--main-color);
}

/* 質問文の色を少し強調 */
.faq-accordion-input:checked ~ .faq-question h3 {
    color: var(--main-color);
}

/* スマホ対応の調整 */
@media screen and (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }
    .q-icon {
        font-size: 2rem;
        margin-right: 15px;
    }
    .faq-question h3 {
        font-size: 1.5rem!important;
    }
    .answer-inner {
        padding: 0 20px 20px 55px;
    }
    .a-icon {
        left: 20px;
    }
}

/* ==========================================================================
		FAQ：最終誘導アンカーボタン
	========================================================================== */
.faq-final-anchor {
    margin-top: 60px;
    text-align: center;
    padding-bottom: 40px;
}

.btn-scroll-to-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--gradient-warm); /* ヒーローボタンと同じ暖色グラデーション */
    color: #fff;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(255, 158, 143, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-scroll-to-cta:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 158, 143, 0.4);
}

.btn-scroll-to-cta .arrow {
    font-size: 1.8rem;
    /* ぴょこぴょこと上下に動かしてクリックを誘導 */
    animation: anchorBounce 1.5s infinite;
}

.anchor-caption {
    margin-top: 15px;
    font-size: 1.3rem;
    color: #AAA;
    font-weight: bold;
}

@keyframes anchorBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .btn-scroll-to-cta {
        width: 100%;
        padding: 18px 0;
        font-size: 1.8rem;
        box-sizing: border-box;
    }
}

/* ==========================================================================
		クロージング：生産者の想い
	========================================================================== */
.producer-message-section {
    padding: 0 5%;
    background: #fff;
    position: relative;
    overflow: hidden;
	box-sizing:border-box;
}

.producer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.producer-visual {
    flex: 1;
    text-align: right;
    position: relative;
}

/* 生産者の画像を優しく浮かび上がらせる */
.producer-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.05));
    animation: producerFadeIn 1.5s ease-out;
}

.message-content {
    flex: 1.2;
    text-align: left;
}

.message-title {
    font-size: 3.6rem !important;
    font-weight: 900 !important;
    color: var(--text-color) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.message-text {
    font-size: 1.8rem;
    line-height: 2;
    color: #666;
    margin-bottom: 4rem;
}

/* 最終アンカーボタンの調整 */
.final-anchor-wrap {
    margin-top: 50px;
}

.last-btn {
    padding: 22px 70px !important;
    font-size: 2.2rem !important;
    background: var(--gradient-warm) !important;
    box-shadow: 0 15px 40px rgba(255, 158, 143, 0.4) !important;
}

/* スマホ対応：画像を中央に、テキストを下に */
@media screen and (max-width: 768px) {
    .producer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .producer-visual { text-align: center; }
    .producer-img { width: 80%; }
    .message-content { text-align: center; }
    .message-title { font-size: 2.6rem !important; text-align: center !important; }
    .message-text { font-size: 1.5rem; }
    .last-btn { width: 100%; padding: 20px 0 !important; font-size: 1.8rem !important; }
}

@keyframes producerFadeIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
		ページ追従型フロートCTA
	========================================================================== */
.float-cta-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 8px 10px 8px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 158, 143, 0.2);
    display: flex;
    align-items: center;
    transform: translateY(120%); /* 初期状態は隠す */
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* スクロールしたら表示されるクラス */
.float-cta-widget.is-visible {
    transform: translateY(0);
}

.float-cta-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.float-timer-area {
    text-align: left;
}

.float-timer-label {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 2px;
}

.float-timer-display {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.float-timer-display small {
    font-size: 0.9rem;
    color: #AAA;
    margin-right: 4px;
}

.secs-unit {
    color: #eb1c24; /* 秒数だけ赤くして動いている感を強調 */
}

/* ページ内リンクボタン */
.float-cta-btn {
    background: var(--gradient-warm);
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 900;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.float-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 158, 143, 0.3);
}

/* スマホ対応：画面下部に全幅またはコンパクトに配置 */
@media screen and (max-width: 768px) {
    .float-cta-widget {
        bottom: 15px;
        right: 15px;
        padding: 6px 8px 6px 15px;
    }
    .float-timer-label { font-size: 0.9rem; }
    .float-timer-display { font-size: 1.3rem; }
    .float-cta-btn { padding: 10px 18px; font-size: 1.2rem; }
}

/* ==========================================================================
		運営者挨拶：レター形式のデザイン
	========================================================================== */
.founder-message-area {
    margin-top: 80px;
    padding: 60px;
    background: #FFF;
    border: 1px solid var(--accent-apricot); /* 優しいアプリコットの縁取り */
    border-radius: 4px; /* あえて少しカッチリさせて信頼感を出す */
    position: relative;
}

/* 引用符のような装飾 */
.founder-message-area::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 8rem;
    color: var(--accent-apricot);
    font-family: serif;
    opacity: 0.5;
}

.founder-label {
    font-size: 1.2rem;
    color: var(--sub-color); /* ミントグリーン */
    font-weight: bold;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

.founder-name {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: var(--text-color) !important;
    text-align: left !important;
    margin-bottom: 30px !important;
    font-family: 'Hiragino Mincho ProN', serif; /* 誠実な明朝体 */
}

.founder-text {
    font-size: 1.6rem;
    line-height: 2.2;
    color: #555;
    text-align: justify;
}

/* 署名画像の調整 */
.founder-signature {
    margin: 0 0 30px 0 !important;
    text-align: left;
}

.founder-signature img {
   width:100%;
    height: auto;
    display: block;
}


.founder-photo-wrap {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* PCでは文章の終わりに合わせて右寄せ */
    gap: 15px;
}

/* 運営者写真 */
.founder-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 署名エリアのコンテナ */
.founder-signature-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.founder-title {
    font-size: 1.2rem;
    color: #888;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

/* 直筆サインのトリミングと配置 */
.js-trim-sign {
    display: block;
    width: 180px;  /* 適切な横幅に調整 */
    object-fit: cover;
    object-position: center top; /* 画像の上部（文字がある方）を優先表示 */
    transform: rotate(-1deg); /* わずかな傾きで本物感を演出 */
	margin-right:-5rem;
}



.founder-profile-label {
    font-size: 1.2rem;
    color: #888;
    margin-top: 10px;
    font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
	 .founder-photo-wrap {
        align-items: center;
        margin-top: 40px;
    }
    
    .founder-signature-box {
        align-items: center;
        text-align: center;
    }

    .js-trim-sign {
        width: 180px;
        height: 65px;
    }
    .founder-photo-wrap {
        text-align: center;
    }
    .founder-signature img {
        margin: 0 auto;
        max-width: 150px;
    }
	
    .founder-message-area {
        padding: 40px 20px;
        margin-top: 50px;
    }
    .founder-text {
        font-size: 1.4rem;
        line-height: 2;
    }

	.js-trim-sign {
		margin-right:0;
	}
}

/* 通知モーダル用スタイル */
.notify-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
}

.notify-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notify-modal-content h3 {
    font-size: 2.2rem;
    color: var(--main-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.notify-modal-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.notify-modal-content button {
    background: var(--main-color);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* 会員登録モーダル専用 */
.register-modal-content {
    max-width: 450px !important;
    text-align: left !important;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

.modal-title {
    margin-bottom: 5px !important;
    color: var(--main-color);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
}

.modal-form .form-group {
    margin-bottom: 15px;
}

.modal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.modal-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.modal-footer-text {
    margin-top: 20px;
    font-size: 0.85rem;
    text-align: center;
    color: #888;
}

.modal-footer-text a {
    color: var(--sub-color);
    text-decoration: underline;
}