*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-feature-settings: "palt";
}
  body{
    font-family: "Gen Interface JP", sans-serif;  
    color: #1e1e1e;
    height: 100vh;
    overflow: hidden;
    overscroll-behavior: none; /* バウンス防止 */


}
img {
    width: 100%;
    height: auto;

}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
li{
    list-style: none;
}

header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0; /* 位置はお好みで調整してください */
    left: 0;
    pointer-events: none; /* 余白部分のスクロールを邪魔しない */
}

.header-in {
    max-width: 480px;
    margin: 0 auto;
    padding:0;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    justify-content: space-between;
    pointer-events: auto; /* ヘッダー内はクリック可能にする */
}
.header-logo {
    max-width: 70px;
    width: 100%;
    margin: 0px 0 0 40px;
}
footer {

}
#footer {

}
.try-target{

}
.line-target{

}
.wrapper {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
    /* 背景色＋グリッドパターン（網目）の重ね合わせ */
    background-color: #f0f0f0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 70px 70px; /* 網目の細かさ（お好みで調整可能） */
    overscroll-behavior: none; /* バウンス防止 */
}
.wrapper::after{
    content: "";
position: absolute;
display: block;
bottom: 0;
left: 0;
width: 100%;
height: 10vh;
background: #E43F24;
}

.main-content {
    max-width: 480px;
    margin: 0;
    width: 100%;
    display: flex;
    height: 100vh;
    align-items: center;
    position: relative;
    z-index: 1;
}

.main-content-inner{
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    vertical-align: middle;
    overflow: auto;
    border-radius: 0;
    position: relative;
    border: 4px solid #E43F24;
    border-top: 0;
    
}
.main-content-inner::-webkit-scrollbar{
  display: none;
}
.section{

}
.section-inner{
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sec-kv{
    background: #1e1e1e;
}
.sec-concept {
    background: #E43F24;
    
}
.sec-reason{
    background: #1e1e1e;
}
.sec-simulation{
    background: #E43F24;
}
.simulation-container{
    padding: 40px 20px;
    width: 100%;

}
.ttl-box{

}
.simulation-content{
    background: #fff;
    padding: 10px;
    box-shadow: 0px 0px 16px 0px rgb(0 0 0 / 0.25);
}
.simulation-content-in{
    padding: 40px 0px;
    border: 1px solid #E43F24;
}
.section-ttl{
    padding: 40px 0 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: 100%;
}
.section-ttl img{
    width: 90%;
    margin-bottom: -4px;
    max-height: 90px;

}
.section-ttl p{
    width: 100%;
    background: #E43F24;
    color: #fff;
    padding: 15px;
    line-height: 100%;
}

 /* =========================================================
   シミュレーターUIのスタイル（ビジュアル強化版）
========================================================= */
/* =========================================================
   シミュレーターUIのスタイル（Chart.jsバージョン）
========================================================= */
.simulator-ui {
    padding: 0 16px;
    margin-top: 24px;
}

/* 入力エリア */
.input-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: start;
    padding: 0 0 20px;
}
.input-group label {
    font-weight: 400;
    font-size: 15px;
    color: #1e1e1e;
}
.input-wrapper {
    display: flex;
    align-items: baseline;width: 100%;
}
.input-group input {
    width: 100%;
    padding: 12px 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    border: 1px solid #E43F24;
    border-radius: 6px;
    margin-right: 8px;
    background-color: #FFEDED;
    transition: border-color 0.3s;
}
.input-group input:focus {
    outline: none;
    border-color: #E43F24;
    background-color: #fff;
}
.input-wrapper span {
    font-weight: bold;
    color: #1e1e1e;
    font-size: 18px;
}

/* グラフエリア */
.chart-container {
    position: relative;
    height: 20px; /* グラフの高さを指定 */
    width: 100%;
    margin-bottom: 16px;
}

/* 矢印 */
.arrow {
    text-align: center;
    font-size: 2rem;
    color: #E43F24;
    margin: 8px 0 16px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 結果表示エリア */
.result-card {
    padding: 15px 0px;
    text-align: center;

}
.result-title {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1;
}
.result-value {
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    padding: 0 0 10px;
    letter-spacing: -0.08em;
    color: #E43F24;
    white-space: nowrap;
}
.result-value span {
    font-size: 92px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    font-family: "din-2014", sans-serif;
}
.result-sub {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1;
}
#saving-count{
    font-size: 49px;
    font-family: "din-2014", sans-serif
}
.result-badge {
    display: inline-block;
    background-color: #FFEDEC;
    color: #1e1e1e;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 42px;
}
.result-badge span{
    color: #E43F24;
}
.result-annual-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 6px;
    font-size: 15px;
    font-weight: bold;
}
.annual-before {
    color: #888;
    text-decoration: line-through; /* 通常額に取り消し線 */
}
.annual-before em {
    font-style: normal;
    font-family: "din-2014", sans-serif;
    font-size: 18px;
}
.annual-arrow {
    color: #E43F24;
}
.annual-after {
    color: #1e1e1e;
}
.annual-after em {
    font-style: normal;
    font-family: "din-2014", sans-serif;
    font-size: 20px;
    font-weight: 700;
}
/* =========================================================
   ビジュアルグラフ（画像再現デザイン）
========================================================= */
.visual-graph-wrapper {
    margin: 32px 0;
    font-family: "din-2014", sans-serif;
}

/* タイトル */
.vg-header {
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 20px;
}

/* 左右のカラム配置 */
.vg-columns {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 5px;
}

.vg-col {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 吹き出し共通 */
.vg-bubble {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 30px;
    position: relative;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}
/* 吹き出しのしっぽ（三角形） */
.vg-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
}

/* コーティング前（グレー） */
.bubble-grey { background-color: #999999; }
.bubble-grey::after { border-color: #999999 transparent transparent transparent; }

/* コーティング後（赤） */
.bubble-red { background-color: #E43F24; }
.bubble-red::after { border-color: #E43F24 transparent transparent transparent; }

/* グラフバーの共通トラック */
.vg-bar-track {
    width: 100%;
    height: 280px;
    position: relative; /* ★重要：絶対配置の基準とする */
    border-bottom: 2px solid #ccc; /* 底辺のラインを引くことで「下から伸びる」効果を強調 */
}

/* バー本体（グレーと赤の共通） */
.vg-bar {
    position: absolute;
    bottom: 0; /* ★重要：常に一番下に固定する */
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* 高さが低い時にテキストがはみ出さないように */
    border-radius: 4px 4px 0 0; /* 上部だけ角丸 */
}

/* グレーのバー */
.bar-grey {
    height: 0%; /* 初期値を0に設定 */
    background-color: #f1f1f1;
}

/* 赤のバー */
.bar-red {
    height: 0%; /* 初期値を0に設定 */
    background: linear-gradient(to bottom, #ff512f, #dd2476);
    background-color: #E43F24;
    justify-content: center; /* テキストを下寄りに配置 */
}

/* 削減された空白エリア */
.vg-gap {
    position: absolute;
    top: 0; /* 上半分に固定 */
    left: 0;
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2; /* バーより前面に表示 */
}

/* 上下矢印 */
.vg-arrow {
    position: absolute;
    left: -5px; /* バーの左側に配置 */
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 24px;
}
.vg-arrow svg {
    width: 100%;
    height: 100%;
}

/* テキストと数値データ */
.vg-data {
    line-height: 1;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vg-mt { margin-top: 20px; }

.vg-label {
    font-size: 1rem;
    font-weight: bold;
    color: #1e1e1e;
    margin: 0;
}

.vg-value {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-direction: column;
}
.vg-value .num {
    font-size: 72px; /* 画像のように数字を極端に大きく */
    font-weight: 600;
    color: #1e1e1e;
    letter-spacing: -1px;
}
.vg-value .unit {
    font-size: 14px;
    font-weight: bold;

}
.num-price{
font-size: 30px;
margin-bottom: 4px;
}

/* カラーチェンジユーティリティ */
.text-red .num, .text-red .unit, .text-red.vg-label { color: #E43F24; }
.text-white .num, .text-white .unit, .text-white.vg-label, .text-white .num-price { color: #ffffff; }

.sim-arrow{
    
}
/* グラフバー（アニメーション対応） */
.vg-bar {
    transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================================
   ボタンと表示切り替え用スタイル（追加分）
========================================================= */
.calc-btn-wrapper {
    text-align: center;
    margin: 20px 0 40px;
}

.calc-btn {
    background-color: #1e1e1e; 
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px;
}

.calc-btn:hover {
    background-color: #E43F24; 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(228, 63, 36, 0.3);
}

.calc-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 要素を隠すためのクラス */
.is-hidden {
    display: none !important;
}

/* 表示される際のアニメーション（ふわっと浮き出る） */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.sec-recommend, .sec-product{
    background: #f0f0f0;
}

/* =========================================================
   商品紹介セクション（.product-container）
========================================================= */
.product-container {
    width: 100%;
    padding:40px;
}

.product-card {
    background: #fff;
    padding: 10px 20px 40px;
    border-radius: 20px;
}

/* 画像エリア（グレーの背景） */
.product-img-wrapper {
    border-radius: 20px;
    margin: 0;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 180px;
}

/* テキストコンテンツエリア */
.product-info {
    padding: 0;
}

/* 商品名（英語） */
.product-title {
    font-size: 24px;
    font-weight: bold;
    color: #E43F24;
    font-family: "din-2014", sans-serif;
    line-height: 1;
}

/* 商品名（日本語） */
.product-name-jp {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* 価格・容量ライン */
.product-price-line {
    display: flex;
    align-items: baseline;
    color: #E43F24;
    font-family: "din-2014", sans-serif;
    margin-bottom: 24px;
    gap: 6px;
}

/* 14,800の部分が大きく見えるように調整（設定済みの値がそのまま出力される前提） */
.price-main {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.price-sub {
    font-size: 16px;
    font-weight: 600;
}

/* リッチエディター部分（リスト等） */
.product-desc {
    font-size: 14px;
    line-height: 1.25;
}
.product-desc p{
    font-size: 10px;
    line-height: 1.25;

}
.product-desc ul {
    padding-left: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.product-desc li {
    list-style: disc;
    margin-bottom: 2px;
}

/* ご注文ボタン */
.product-cta-wrap {
    text-align: center;
    padding: 20px 0 0;
}

.product-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #D32F2F; /* 画像に近い濃い赤 */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    padding: 16px;
    border-radius: 40px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.3);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.product-cta-btn span {
    position: absolute;
    right: 24px;
    font-size: 20px;
    font-weight: bold;
}

.product-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
    background-color: #E43F24;
}
/* 価格・容量ライン */
.product-price-line {
    display: flex;
    align-items: baseline;
    color: #E43F24;
    font-family: "din-2014", sans-serif;
    margin-bottom: 16px;
    padding-bottom: 10px;
    gap: 0;
    border-bottom: 1px solid #dadada;
}

/* ￥マーク */
.price-prefix {
    font-size: 20px;
    font-weight: 600;
}

/* メインの金額 */
.price-main {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1;
}

/* （税込）と / 100ml */
.price-suffix {
    font-size: 14px;
    font-weight: 600;
}

.movie-howtouse {
    width: 90%;
    padding: 37px 20px 40px;
    box-sizing: border-box;
    /* border: 3px solid #E43F24; */
    margin: 30px 0;
    border-radius: 12px;
    background: #FFFDE2;
}
.movie-ttl{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #E43F24;
    padding-bottom: 15px;
    letter-spacing: 0.08em;
}
.movie-howtouse iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* アスペクト比 16:9 を固定 */
    height: auto;
    display: block;
    border-radius: 12px; /* LP全体の丸みに合わせた角丸（不要なら削除可） */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 軽いシャドウ（不要なら削除可） */
}
/* =========================================================
   使い方フローリスト（.flow-list）
========================================================= */
.sec-flow {
    background: #fff;
    width: 100%;
}

.flow-list {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 10px 20px 60px;
    box-sizing: border-box;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-bottom: 36px;
}

/* 最後のステップ（3）は余白なし＆中央揃え */
.flow-item:last-child {
    padding-bottom: 0;
    align-items: center;
}

/* 左側の赤いタイムライン縦線 */
.flow-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 21px; /* flow-numの横幅44pxの中心（44px / 2 - 1px） */
    width: 2px;
    height: 100%;
    background-color: #E43F24;
    z-index: 0;
}

/* 赤い角丸番号バッジ */
.flow-num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: #E43F24;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    font-family: "din-2014", sans-serif;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.flow-content {
    flex: 1;
}

.flow-img {
    width: 100%;
    margin-bottom: 8px;
}

.flow-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.flow-text {
    font-size: 15px;
    font-weight: bold;
    color: #777777; /* 画像に合わせたトーンのグレー */
    line-height: 1.4;
    letter-spacing: 0.03em;
}

/* 「施工完了！」テキスト */
.flow-complete-text {
    font-size: 32px;
    font-weight: 900;
    color: #E43F24;
    letter-spacing: 0.08em;
    line-height: 1;
}

/* =========================================================
   お客様の声セクション（.sec-voice）
========================================================= */
.sec-voice {
    background: #f0f0f0;
    width: 100%;
}

.voice-container {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
    box-sizing: border-box;
}

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 36px; /* 各吹き出し間の余白 */
    width: 100%;
}

.voice-item {
    position: relative;
    width: 100%;
    padding: 0;
    display: flex;
    column-gap: 1rem;
}

/* 丸型アイコン */
.voice-icon {
    position: relative;
    top: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid #a2b8cc;
    background-color: #fff;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.voice-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-top: 0;
}

/* アイコンの左右配置切り替え */
.voice-item-left .voice-icon {
    left: 0;
}

.voice-item-right .voice-icon {
    left: 0;
}

/* 吹き出し枠 */
.voice-article {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.voice-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 2px;
}

.voice-position {
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 8px;
    line-height: 1.3;
}
.voice-box {
    position: relative;
    z-index: 1;
    background-color: #FFFDE2;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    text-align: justify;
    min-height: 100px;
}
.voice-box::before{
    content: "";
    position: absolute;
    background-image: url(../img/fukidashi.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    top: 20px;
    left: -20px;
    width: 2.5rem;
    height: 4rem;
}

/* アイコンとテキストが重ならないよう余白を調整 */
.voice-item-left .voice-box {
    padding-left: 20px;
}

.voice-item-right .voice-box {
    padding-right: 20px;
}

/* テキストスタイル */
.voice-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    word-break: break-all;
}

/* 赤字ハイライト */
.voice-text span {
    color: #E43F24;
    font-weight: 600;
}

/* 注記 */
.voice-note {
    font-size: 13px;
    font-weight: 500;
    color: #888888;
    line-height: 1.5;
    margin-top: 24px;
    letter-spacing: 0.02em;
}

.sec-faq{
background: #fff;
}

/* =========================================================
   FAQセクション（.sec-faq）
========================================================= */
.sec-faq {
    background: #fff;
    width: 100%;
}

.faq-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    box-sizing: border-box;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px; /* カード同士の間隔 */
    width: 100%;
}

/* 各FAQカード（グレーの角丸背景） */
.faq-item {
    background-color: #f2f4f7;
    border-radius: 16px;
    padding: 20px 16px;
    box-sizing: border-box;
}

/* 質問行（ボタン） */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: baseline;
    cursor: pointer;
    padding: 0;
    text-align: left;
    gap: 12px;
}

/* 白丸の Q バッジ */
.faq-q-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 700;
    font-family: "din-2014", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* 質問テキスト */
.faq-q-text {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* 開閉トグルアイコン（＋ / −） */
.faq-toggle-icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
    margin-right: 4px;
}

/* 横棒（常に表示） */
.faq-toggle-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1e1e1e;
    transform: translateY(-50%);
}

/* 縦棒（閉じている時に表示し「＋」にする） */
.faq-toggle-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #1e1e1e;
    transform: translateX(-50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 開いている状態（is-open）の時は縦棒を消して「−」にする */
.faq-item.is-open .faq-toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* 回答アコーディオンラッパー */
.faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* 薄黄色背景の回答ブロック */
.faq-answer-inner {
    margin-top: 16px;
    background-color: #fffde8;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
}

/* 赤丸の A バッジ */
.faq-a-icon {
    width: 28px;
    height: 28px;
    background-color: #E43F24;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    font-family: "din-2014", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}

/* 回答テキスト */
.faq-a-text {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
/* =========================================================
   ヘッダー内 CTAボタン群（初期は非表示）
========================================================= */
.header-cta {
    display: flex;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none; /* 非表示時はクリック無効 */
}

/* 表示時のクラス */
.header-cta.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    height: 100%;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0;
    color: #fff;
    font-weight: bold;
    padding: 8px 10px;
    text-decoration: none;
}

.header-btn .cta-icon img {
    width: 20px;
    display: block;
}
.btn-order img{
    width: 20px !important;
}
.header-btn .cta-main {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

/* 共通色指定 */
.btn-line { background-color: #06C755; padding: 8px 16px; border-radius: 0 0 0 20px;}
.btn-order { 
    background: #1e1e1e;
    aspect-ratio: 1 / 1;
    width: 50px;
    height: 50px;
}

/* =========================================================
   固定フッター CTA ＆ ハンバーガーメニュー
========================================================= */
.scroll-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    pointer-events: none; /* 外枠はタップ抜けさせる */
}

.scroll-cta-in {
    max-width: 410px;
    margin:0 auto;
    display: flex;
    justify-content: flex-end; /* サンプル非表示時もハンバーガーを右端に維持 */
    align-items: flex-end;
    gap: 40px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1001;
}

.scroll-cta-in a {
    width: 100%;
    text-align: center;
    display: block;
    align-content: center;
    padding: 8px 20px 0;
    margin-bottom: 20px;
}

/* フッター用ボタンスタイル */
.cta-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-sizing: border-box;
    text-align: center;
    padding: 6px 4px;
    line-height: 1.2;
}

/* 1. お試しサンプル（初期は非表示） */
.btn-sample {
    position: relative;
    background-color: #ffec82;
    box-shadow: 0 6px 0 0 #eacf39;
    color: #E43F24;
    flex: 1;
    
    /* アニメーション用設定 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
}

/* スクロール到達時の表示クラス */
.btn-sample.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    display: none;
}

.btn-sample::before {
    content: "まずは効果を知りたい方に！";
    position: absolute;
    background: #fdf6da;
    font-size: 13px;
    font-weight: 700;
    left: 50%;
    padding: 10px 1.5em;
    text-align: center;
    top: -18px;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
    border-radius: 1000px;
    letter-spacing: 0.08em;
    line-height: 1;
}

.btn-sample .cta-main {
    font-size: 18px;
    line-height: 3.5em;
}

/* 2. ハンバーガーボタン（常に表示・常時タップ可能） */
.cta-hamburger {
    background-color: #E43F24;
    border: none;
    border-radius: 8px 8px 0 0;
    width: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 20px;
    pointer-events: auto; /* 常にタップ可能 */
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* メニューオープン時の×印変化 */
.cta-hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
.cta-hamburger.is-active .hamburger-line:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

/* =========================================================
   ドロワーメニュー（ナビゲーション）
========================================================= */
.drawer-menu {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 20px 160px;
    box-sizing: border-box;
    z-index: 1000;
    
    /* アニメーション */
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 100%);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.drawer-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.drawer-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.drawer-list li {
    border-bottom: 1px solid #eee;
}
.drawer-list a {
    display: block;
    padding: 16px 8px;
    color: #1e1e1e;
    font-size: 15px;
    font-weight: bold;
    position: relative;
}
.drawer-list a::after {
    content: "＞";
    position: absolute;
    right: 8px;
    color: #E43F24;
}

/* =========================================================
   PC版 サイドバー（左側：ロゴ ＆ INDEX）
========================================================= */
.side-container {
    flex: 1;
    max-width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 0;
}

.side-container.side-content-left {
    justify-content: center;
    /* background-image: url("../img/side-bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center; */
}

.side-content-inner {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* サイドロゴ */
.side-logo {
    max-width: 250px;
}

.side-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* INDEX ナビゲーション */
.side-nav {
    display: flex;
    flex-direction: column;
}

.side-nav-ttl {
    font-family: "din-2014", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #E43F24;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #E43F24;
    display: inline-block;
}

.side-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-nav-list li {
    list-style: none;
}

.side-nav-list a {
    display: inline-block;
    color: #1e1e1e;
    font-size: 14px;
    font-weight: 600;
    line-height: 2;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
    padding-left: 12px;
}

/* 各項目の先頭ドット */
.side-nav-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.2s ease;
}

.side-nav-list a:hover {
    color: #E43F24;
    transform: translateX(4px);
}

.side-nav-list a:hover::before {
    background-color: #E43F24;
}
/* =========================================================
   初回ローディングアニメーション（網目背景 ＆ ロゴフェード）
========================================================= */

/* =========================================================
   シームレス幕開けローディング（赤ラインなし・シンプル版）
========================================================= */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    overflow: hidden;
    pointer-events: auto;
}

/* 上下のカーテン（網目背景のみ・境界線なし） */
.curtain {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%; /* 隙間のチラつき防止 */
    background-color: #f0f0f0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    transition: transform 1.4s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
}

.curtain-top {
    top: 0;
}

.curtain-bottom {
    bottom: 0;
}

/* ロゴ配置エリア */
.loading-logo-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

/* ロゴのフェードイン */
.loading-logo {
    max-width: 150px;
    width: 35%;
    opacity: 0;
    transform: translateY(15px) scale(0.96);
    animation: loadingLogoIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
    transition: opacity 0.35s ease, transform 0.4s ease;
    z-index: 100;
}

.loading-logo img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes loadingLogoIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   幕開けアニメーション発動時の状態 (.is-loaded)
========================================================= */
/* 1. 先にロゴが素早く自然にフェードアウト */
.loading-screen.is-loaded .loading-logo {
    opacity: 0;
    transform: scale(1.06);
}

/* 2. ロゴが完全に消えた後、0.4秒遅れて上下の幕が開き始める */
.loading-screen.is-loaded .curtain-top {
    transform: translateY(-100%);
    transition-delay: 0.4s;
}

.loading-screen.is-loaded .curtain-bottom {
    transform: translateY(100%);
    transition-delay: 0.4s;
}

/* アニメーション完了後に完全に非表示化 */
.loading-screen.is-hidden {
    display: none !important;
}
/* =========================================================
   PC版 右サイドバー（商品カード表示）
========================================================= */
.side-container.side-content-right {
    justify-content:center;
}

/* サイドバーのカード幅を固定（左のロゴ幅とバランスを取る） */
.side-container.side-content-right .side-content-inner {
    width: 300px; 
    display: flex;
    flex-direction: column;
}

/* サイドバー内における商品カードの微調整 */
.side-container.side-content-right .product-card {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* 浮き出ているように影を追加 */
    padding: 40px;
}

/* サイドバーは幅が狭いため、ボタンや文字サイズを少しコンパクトに */
.side-container.side-content-right .product-title {
    font-size: 20px;
}

.side-container.side-content-right .price-main {
    font-size: 24px;
}

.side-container.side-content-right .product-cta-btn {
    font-size: 15px;
    padding: 20px;
}