*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

p{
    font-family: "Noto Sans JP", sans-serif;
}

a{
    text-decoration: none;
    font-family: "Noto Sans JP", sans-serif;
    color: #007bff;
    background-color: transparent;
}

img{
    max-width: 430px;
    width: 100%;
}

body{
    max-width: 430px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}

main{
    max-width: 430px;
}

.llw {
    width: 430px;
    max-width: 430px;
    color: #231815;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    position: relative;
    z-index: 2;
    justify-content: center;
    align-items: center;
    left: 50%;                 /* 中心に基準を寄せて */
    margin-left: -215px;       /* 幅の半分だけ左に戻す（= translateX(-50%) と同じ） */
    /* transform: translateX(-50%); は使わない！！ */
}


.kv{
    position: relative;       
    overflow: hidden;
    isolation: isolate;
    margin-top: 2px;          
}


.site-header {
    position: fixed;       /* 常に固定 */
    top: 0;                /* 画面の上に配置 */
    width: 430px;           /* 横幅いっぱい */
    background: rgba(255, 255, 255, 0.9); /* 半透明の白 */
    padding: 17px 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;         /* コンテンツより前に出す */
}

.header-container {
    display: flex;
    justify-content: space-between; /* ロゴ左 / CTA右 */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo img {
    display: block;
    width: 41%;
}

.header-cta {
    display: flex;
    gap: 8px;
}

.header-cta img {
    display: block;
    margin: 0;
}

.header-logo{
    margin-right: -92px;
}


.header-text p {
    position: relative;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    width: 300px;
    margin: 0 auto;
    display: block;
    color: #7baba9;
}

.btn_box {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -216%);
    width: 77%;
    margin: 0;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 20;
}

/* 鼓動アニメ */
.pulse{
    animation: dokundokun 1300ms ease infinite;
}

@keyframes dokundokun {
    0%   { transform: scale(1); }
    15%  { transform: scale(1.08); }
    30%  { transform: scale(1); }
    45%  { transform: scale(1.08); }
    70%  { transform: scale(1); }
    100% { transform: scale(1); }
}

/* ホバー時は少しだけ浮かせる */
.ctaimg:hover{
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.22));
}

/* 片方ずらして鼓動のタイミングに変化をつけたい場合 */
.cta:nth-of-type(2) .ctaimg.pulse{
    animation-delay: .3s;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    margin-top: -118px;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn_box.sec{
    transform: translate(-50%, -1000%);
}

.btn_box.thi{
    transform: translate(-50%, -307%);
}

.nayami-contents{
    margin-top: -185px;
}

.btn_box.fo{
    transform: translate(-50%, -497%);
    position: relative;
    z-index: 10;
}

.trycampaign-contents{
    margin-top: 6px;
}

.flow-contents{
    margin-top: -96px;
}

.btn_box.fif{
    transform: translate(-50%, -33%);
}

/* 全体の幅：LPに合わせて最大430px */
.lesson-slider {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* タブ部分（そのままでOK。枠線を見せたいので背景は白） */
.lesson-tabs {
    display: flex;
    border-radius: 10px 10px 0 0;
    overflow: visible; /* 下の三角を見せるために visible に */
    background: #ffffff;
}

/* タブ本体 */
.lesson-tab {
    position: relative;
    flex: 1;
    padding: 32px 8px; /* 下に余白→下三角が出ても文字が窮屈にならないように */
    font-size: 18px;
    border: 1px solid #bfbfbf;
    border-bottom: none;
    background: #ffffff;
    color: #555;
    cursor: pointer;
    outline: none;
}

/* 一番左のタブだけ左側の角をきれいに見せる */
.lesson-tab:first-child {
    border-top-left-radius: 6px;
}

/* 一番右のタブだけ右上を丸める（好みで） */
.lesson-tab:last-child {
    border-top-right-radius: 6px;
}

/* 選択中タブ：背景を濃いグレー＋文字白 */
.lesson-tab.is-active {
    background: #555555;
    color: #ffffff;
}

/* ▼ 選択中タブの下にちょこっと三角の矢印を出す */
.lesson-tab.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;  /* タブの下にはみ出させる */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #555555; /* タブと同じ色 */
}


.point1-back{
    margin-top: -167px;
    position: relative;
    z-index: 4;
}

.tab-matome{
    margin-top: -1169px;
    margin-bottom: 333px;
    position: relative;
    z-index: 4;
}

.lesson-panels {
    width: 83%;
    background: #ffffff;
    margin: 0 auto;
    margin-top: 34px;
}

/* 各タブの中身（初期は非表示） */
.lesson-panel {
    display: none;
}

/* アクティブなパネルだけ表示 */
.lesson-panel.is-active {
    display: block;
}

/* 中の画像は幅いっぱいに表示 */
.lesson-panel img {
    display: block;
    width: 100%;
    height: auto;
}

.btn_box.six{
    transform: translate(-50%, -249%);
}

.point2 {
    margin-top: -137px;
    z-index: 3;
    position: relative;
}

.point3 {
    margin-top: -49px;
    z-index: 2;
    position: relative;
}

.point4 {
    margin-top: -49px;
    z-index: 1;
    position: relative;
}

.try-campaign{
    margin-top: -24px;
}

.try-campaign {
    margin-top: -108px;
    position: relative;
}

/* 全体の幅調整（LPと同じ 〜430px 想定） */
.faq-section {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    margin-top: -94px;
}

/* 背景テクスチャ画像がある想定 */
.faq-inner {
    padding: 68px 16px 60px;
    background-image: url("../img/faq-bg.png"); /* ←背景素材に差し替え */
    background-size: cover;
    background-position: center;
}

/* タイトル画像 */
.faq-title-wrap {
    text-align: center;
    margin-bottom: 24px;
    width: 56%;
    margin: 0 auto;
}

.faq-title-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

/* FAQカード全体 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fdfaf5;
    border: 1px solid #d8c9b5;
    border-radius: 16px;
    padding: 14px 16px;
}

/* 質問部分（ボタン） */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    color: #444;
}

/* 質問テキスト */
.faq-question-text {
    flex: 1;
    line-height: 1.7;
}

/* 右側の丸いアイコン */
.faq-toggle-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f4e4cf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 中の▲アイコン（デフォルトは「閉じている」ので下向き） */
.faq-toggle-icon::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #8c6c45; /* 矢印の色 */
    transition: transform 0.2s ease;
}

/* 回答部分（最初は閉じる） */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding-top 0.25s ease;
    padding-top: 0;
}

.faq-answer p {
    margin: 0;
    padding: 12px 10px;
    background: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
}

/* 開いた状態 */
.faq-item.is-open .faq-answer {
    max-height: 500px; /* 文章量に合わせて十分大きめに */
    padding-top: 12px;
}

/* 開いたときは矢印を「上向き」に回転 */
.faq-item.is-open .faq-toggle-icon::before {
    transform: rotate(180deg);
}

.shop-section {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.shop-inner {
    padding: 0 0 40px;
}

/* -------- 都道府県アコーディオン -------- */

.shop-pref-head {
    width: 100%;
    background: #e6e1dd;
    padding: 18px 16px;
    border: none;
    border-bottom: 1px solid #d6d2ce;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    cursor: pointer;
}

.shop-pref-toggle::after {
    content: "+";
    font-size: 22px;
    color: #555;
}

.shop-pref-item.is-open .shop-pref-toggle::after {
    content: "-";
}

.shop-pref-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #faf8f6;
}

.shop-pref-item.is-open .shop-pref-body {
    max-height: 600px; /* 十分大きく */
    text-align: left;
}

/* -------- 店舗ボックス（クリック可能） -------- */

.shop-store {
    display: block;
    padding: 0px 8px;
    border-bottom: 1px solid #ece7e2;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.shop-store:hover {
    background: #f4f0ed;
}

.shop-store-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.shop-store-addr {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* 矢印ボタン */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffffdd;
    border: 1px solid #ddd;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 左矢印位置 */
.left-arrow {
    left: -17px;
}

/* 右矢印位置 */
.right-arrow {
    right: 64px;
}

/* =========================
   口コミ横スクロール
   ========================= */

.review-section {
    position: relative;
    margin-top: -39px;
    margin-bottom: 24px;
    z-index: 1;
}

/* 背景画像（review-back.png）はそのままでOK */
/* .review-section > img { } は共通の img ルールでOK */

.review-wrapper {
    position: relative;
    width: 86%;
    margin-top: -561px;
    margin-left: 32px;
    z-index: 2;
}

/* 横スクロール部分 */
.review-scroll {
    display: flex;
    gap: 16px;                    /* ← 隙間なしにする */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 20px 0;           /* 上下だけ余白 */
}

/* 口コミカード：1画面に1枚ぴったり */
.review-card {
    flex: 0 0 100%;            /* ← 幅100%で固定 */
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

/* ▼ スクロールバーの見た目（白背景に灰色バー） */
/* WebKit系（Chrome / Safari） */
.review-scroll::-webkit-scrollbar {
    height: 8px;                    /* バーの太さ */
}

.review-scroll::-webkit-scrollbar-track {
    background: #ffffff;            /* 背景：白 */
    border-radius: 999px;
}

.review-scroll::-webkit-scrollbar-thumb {
    background: #b5b5b5;            /* グレーの横棒 */
    border-radius: 999px;
}

/* Firefox用 */
.review-scroll {
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #ffffff;
}

/* 矢印ボタン */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffffdd;
    border: 1px solid #ddd;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 左矢印（LLW全体に overflow: hidden があるので、マイナス値にしない） */
.left-arrow {
    left: 0;   /* ここをマイナスにすると左側で切れるので 0 に */
}

/* 右矢印 */
.right-arrow {
    right: 0;
}

.ctaimg{
    position: relative;
    z-index: 10;
}