/* --- 2026 Modern Theme Setup --- */
:root {
    --primary: #FF6E76;
    --primary-dark: #cd4c52;
    --secondary: #f39800;
    --text-main: #1a2b3c;
    --text-sub: #5a6b7d;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --font-stack: "M PLUS Rounded 1c", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Noto Sans", "Noto Sans CJK JP", sans-serif;
    --shadow-soft: 0 20px 40px rgba(217, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: #fff;
}

/* ウェブフォントのシャギー消し */
p,
ul li,
li a,
ol li {
    transform: rotate(0.04deg);
}


.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

.container {
    max-width: 1140px;
    margin: 50px auto;
    padding: 0 24px;
}

/* 背景の動く円 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: floatCircle 10s infinite alternate;
}

.circle-1 {
    width: 40vw;
    height: 40vw;
    background: linear-gradient(90deg, #FF6E76, #fa333d);
    top: -10%;
    right: -10%;
}

.circle-2 {
    width: 30vw;
    height: 30vw;
    background: linear-gradient(90deg, #FF6E76, #ffd16e);
    bottom: 10%;
    left: -5%;
    animation-delay: -5s;
}

@keyframes floatCircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* タイポグラフィ */
.text-gradient {
    background: linear-gradient(90deg, var(--primary), #fc7f85);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-modern {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 8px 15px rgba(255, 110, 118, 0.4);
}

/* --- Hero --- */
.hero {
    padding: 50px 0 50px;
    position: relative;
}

/* --- Hero Layout の Grid設定 --- */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "text image"
        "btns image";
    gap: 10px;
    align-items: center;
}

.hero-text {
    grid-area: text;
    align-self: end;
}

.hero-btns {
    grid-area: btns;
    align-self: start;
    margin-top: 20px;
}

.hero-btns a:nth-child(1) img {
    width: 200px;
}

.hero-btns a:nth-child(2) img {
    width: 250px;
}

.hero-image {
    grid-area: image;
}


@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "image"
            "btns";
        gap: 30px 0;
    }

    .hero-text {
        text-align: center;
        align-self: center;
    }

    .hero-btns {
        text-align: center;
        align-self: center;
        margin-top: 0;
    }

    .hero-btns a:nth-child(1) img {
        width: 150px;
    }

    .hero-btns a:nth-child(2) img {
        width: 185px;
    }
}

.badge-modern {
    display: inline-block;
    padding: 6px 1em;
    background: rgba(217, 0, 0, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-sub);
    margin-bottom: 40px;
}

.hero-subtext {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-top: 15px;
}

/* Image Animation */
.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
}

.floating-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 4s infinite ease-in-out;
}

.card-1 {
    top: 10%;
    left: -10%;
    color: #20aadf;
    font-size: 1.5em;
}

.card-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 1s;
    font-size: 2em;
    color: #20aadf;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- Bento Grid (Section 3) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-item {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(217, 0, 0, 0.12);
}

.item-large {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.item-large .icon-l {
    font-size: 4rem;
    margin-bottom: 10px;
}

.item-large h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.item-small h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.item-small .icon-s {
    font-size: 2rem;
    color: var(--primary-dark);
}

/* アプリの特徴 画像用スタイル */
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: white;
    color: var(--text-main);
}

.feature-img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 20px;
}

.feature-img-group {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}

.feature-img-group .half {
    width: calc(50% - 7.5px);
    margin-bottom: 0;
}

.feature-card h3 {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--primary-dark);
}

/* --- Features Pop Vertical Layout --- */
.features-pop {
    padding: 80px 0;
    background-color: transparent;
}

.feature-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* カード同士の間隔 */
    max-width: 900px;
    margin: 0 auto;
}

.feature-card-pop {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    /* 丸みをつけてポップに */
    padding: 40px 50px;
    box-shadow: 0 15px 40px rgba(217, 0, 0, 0.08);
    /* 柔らかい影 */
    position: relative;
    gap: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-pop:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(217, 0, 0, 0.12);
}

/* 偶数番目のカードを左右反転 */
.feature-card-pop.reverse {
    flex-direction: row-reverse;
}

/* ポップな番号バッジ */
.feature-num {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 65px;
    height: 65px;
    background: var(--primary);
    color: white;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 2;
    border: 4px solid #fff;
    /* 白いフチをつけて立体感 */
}


.num-blue {
    background: #009dd9;
}

.num-yellow {
    background: #f39800;
}

.num-green {
    background: #4caf50;
}

.num-purple {
    background: #a44caf;
}

/* 画像エリア */
.feature-img-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img-wrap img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* 2枚並べる画像用 */
.feature-img-wrap.multi-img {
    gap: 15px;
}

.feature-img-wrap.multi-img img {
    width: calc(50% - 7.5px);
}

/* テキストエリア */
.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
}

/* 本文用のスタイル */
.feature-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-sub);
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .feature-card-pop,
    .feature-card-pop.reverse {
        display: flex;
        flex-direction: column;
        padding: 50px 20px 30px;
        gap: 15px;
    }

    .feature-num {
        top: -20px;
        left: 20px !important;
        transform: none;
        right: auto !important;
    }

    .feature-text {
        display: contents;
    }

    .feature-text h3 {
        order: 1;
        font-size: 1.4rem;
        margin-bottom: 5px;
        text-align: center;
    }

    .feature-img-wrap {
        order: 2;
        width: 100%;
        margin-bottom: 5px;
    }

    .feature-img-wrap img {
        max-width: 100%;
    }

    .feature-text p {
        order: 3;
        font-size: 0.95rem;
        text-align: left;
    }
}

/* --- Curriculum Section (学習カリキュラム) --- */
.curriculum-section {
    padding: 80px 0;
    background: #fff8fa;
    /* 前後の白背景セクションとメリハリをつける柔らかい背景色 */
}

.curriculum-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-top: -40px;
    margin-bottom: 50px;
    font-weight: bold;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    /* 解説部分を少し広めにとる */
    gap: 30px;
    margin-bottom: 50px;
}

.curriculum-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 110, 118, 0.1);
}

.curriculum-card .card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
    width: 15%;
}

.curriculum-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px dashed rgba(255, 110, 118, 0.3);
    padding-bottom: 10px;
    display: inline-block;
    width: 80%;
}

.curriculum-card p {
    color: var(--text-sub);
    line-height: 1.8;
}

/* 学習目標リスト */
.goal-list {
    list-style: none;
    padding: 0;
}

.goal-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: bold;
}

.goal-list li::before {
    content: '\f00c';
    /* FontAwesomeのチェックマーク */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* 学習内容ステップ (タイムライン風) */
.curriculum-steps-container {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 110, 118, 0.1);
}

.steps-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.curriculum-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    background: #fff8fa;
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(217, 0, 0, 0.08);
}

.step-icon {
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 25px;
    box-shadow: 0 5px 15px rgba(255, 110, 118, 0.4);
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .curriculum-card {
        padding: 30px 20px;
    }

    .curriculum-steps-container {
        padding: 40px 20px;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
        border: 1px solid var(--primary);
    }

    .step-item:hover {
        transform: translateY(-5px);
    }

    .step-icon {
        margin-bottom: 15px;
    }
}

/* --- Supervision (Section 5) --- */
.supervision-card {
    background: white;
    border-radius: 40px;
    padding: 60px;
    box-shadow: var(--shadow-soft);
}

.sup-header {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.sup-message {
    flex: 2;
    position: relative;
}

.sup-message h3 {
    font-size: 1.8em;
    color: var(--primary);
}

.quote-mark {
    position: absolute;
    top: -30px;
    left: -20px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.sup-photo {
    flex: 1;
    text-align: center;
}

.sup-photo img {
    width: 100%;
    border-radius: 30px;
    margin-bottom: 15px;
}

.sup-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
}

.sup-profile {
    background: #fff8f9;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--primary);
    margin-bottom: 50px;
}

.profile-tag {
    color: var(--primary);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.books-section h4 {
    font-size: 1.5em;
    color: var(--primary);
}

.books-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.book {
    min-width: 145px;
    height: 200px;
    background: linear-gradient(135deg, #eee, #ddd);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: flex-end;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    position: relative;
    cursor: pointer;
}

.book span.tooltip-text {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    display: inline-block;
    padding: 5px;
    font-size: 0.7rem;
    line-height: 1.3;
    /* 行間 */
    background: var(--primary-dark);
    color: #fff;
    border-radius: 3px;
    transition: 0.3s ease-in;
    width: 140px;
    max-height: 8em;
    text-align: center;
}

.book:hover span.tooltip-text {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .supervision-card {
        padding: 1em;
    }
}

/* --- Video Section --- */
.video-section {
    padding: 60px 0;
    background: #fff8fa;
}

.video-responsive-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 56.25%;
    /* 16:9 のアスペクト比を維持 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #000;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Info Section (説明会のご案内) --- */
.info-section {
    padding: 60px 0 40px;
    background: #ffffff;
    /* 前後のセクションとメリハリをつけるため背景を白に */
}

.info-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff8f8;
    border: 2px solid rgba(255, 110, 118, 0.15);
    /* メインカラーを薄くしたボーダー */
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(217, 0, 0, 0.05);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-card p {
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .info-card {
        padding: 40px 20px 30px;
        text-align: left;
        /* スマホでは文章を左揃えにして読みやすく */
    }

    .info-icon {
        text-align: center;
    }

    .info-card p {
        font-size: 1rem;
    }
}

/* --- Pricing (Section 6) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(217, 0, 0, 0.15);
}

.p-badge,
.p-badge-main {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: bold;
}

.p-badge {
    background: var(--secondary);
    color: white;
}

.p-badge-main {
    background: var(--primary);
    color: white;
}

.amount {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--primary);
    margin: 20px 0;
}

.amount span {
    font-size: 1rem;
    color: #888;
}

.p-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.p-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

.p-features li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- Sticky Footer --- */
.sticky-footer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 600px;
    background: rgba(26, 43, 60, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 30px;
    border-radius: 100px;
    z-index: 1000;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-footer.active {
    transform: translateX(-50%) translateY(0);
}

.sticky-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.sticky-info strong {
    display: block;
    font-size: 1rem;
}

.sticky-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-sticky {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 100px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 900px) {

    .hero-layout,
    .bento-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .item-large {
        grid-column: span 1;
    }

    .sup-header {
        flex-direction: column-reverse;
        text-align: center;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .hero {
        padding-top: 60px;
    }
}

/* --- Intro Modern Section --- */
.intro-modern {
    padding: 50px 0;
    overflow: hidden;
}

.intro-visual-box {
    background: #fff;
    border-radius: 50px;
    padding: 80px 60px;
    position: relative;
    box-shadow:
        20px 20px 60px #ffe6e7,
        -20px -20px 60px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.sub-label {
    display: block;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.dramatic-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-main);
}

.dramatic-title .highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.dramatic-title .highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(217, 0, 0, 0.15);
    z-index: -1;
}

.divider-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.intro-description {
    font-size: 1.2rem;
    color: var(--text-sub);
    max-width: 800px;
    margin: 0 auto;
    padding-top: 1em;
}

/* --- Insights Visual Section --- */
.insights-visual {
    padding: 50px 0;
    background: #fff;
}

.insight-title-main {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.insight-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 60px;
    align-items: center;
}

/* グラフアニメーション */
.graph-area {
    background: #fff8fa;
    padding: 40px;
    border-radius: 30px;
    position: relative;
}

.graph-container {
    height: 300px;
    position: relative;
}

.graph-container .graph-label {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-dark);
}

.curve-svg {
    width: 100%;
    height: 100%;
}

.path-animate {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s ease-in-out forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.pulse-point {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        r: 8;
        opacity: 1;
    }

    100% {
        r: 20;
        opacity: 0;
    }
}

.age-marker {
    position: absolute;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-sub);
}

.marker-0 {
    bottom: -20px;
    left: 0;
}

.marker-golden {
    bottom: 155px;
    left: 25%;
    color: var(--secondary);
    font-size: 1rem;
    text-align: center;
}

.marker-adult {
    bottom: -20px;
    right: 0;
}

/* 解説カード */
.glass-detail-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 0, 0, 0.1);
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.glass-detail-card:hover {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(217, 0, 0, 0.1);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.glass-detail-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* --- Mobile Fix --- */
@media (max-width: 900px) {
    .insight-layout {
        grid-template-columns: 1fr;
    }

    .intro-visual-box {
        padding: 2em 1em;
    }
}

/* --- Footer Modern Styles --- */
.footer-modern {
    background-color: #fff;
    padding: 80px 0 0;
    border-top: 1px solid #edf2f7;
    color: var(--text-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 45px;
    margin-bottom: 25px;
}

.company-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.address,
.tel {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.8;
}

/* ナビゲーション */
.footer-nav {
    display: flex;
    justify-content: flex-end;
}

.footer-link-list {
    list-style: none;
}

.footer-link-list li {
    margin-bottom: 15px;
    text-align: right;
}

.footer-link-list a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link-list a:hover {
    color: var(--primary);
}

/* フッター下部 */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-link-list li {
        text-align: center;
    }
}

/* --- High-Conversion CTA Advanced --- */
.cta-advanced {
    padding: 120px 0;
    background: #fff8fa;
    position: relative;
    overflow: hidden;
}

.cta-glass-card {
    background: linear-gradient(135deg, #FF6E76 0%, #f1676e 100%);
    border-radius: 60px;
    padding: 80px 40px;
    position: relative;
    color: white;
    text-align: center;
    box-shadow: 0 40px 100px rgba(217, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glow-element {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: rotateGlow 15s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-upper-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.cta-main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-white-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.cta-sub-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-item {
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
}

.cta-store-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    height: 70px;
    position: relative;
    top: 0;
    text-decoration: none;
}

.store-btn:hover {
    top: 2px;
    transform: translateY(2px);
}

.store-btn:active {
    top: 5px;
    box-shadow: 0 0px 0px #cbd5e0;
}

.store-btn img {
    height: 100%;
}

.store-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.store-text {
    text-align: left;
}

.store-text small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    line-height: 1;
}

.store-text strong {
    font-size: 1.2rem;
    line-height: 1.2;
}

.cta-note {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile */
@media (max-width: 600px) {
    .cta-glass-card {
        padding: 50px 20px;
        border-radius: 40px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 10px;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }
}

/* プライバシーポリシー */
.container_inner {
    background: var(--bg-white);
    padding: 2em;
    border-radius: 10px;
}

.container_inner h2 {
    font-size: 2em;
    text-align: center;
    color: var(--primary);
    margin-bottom: 1em;
}

.container_inner .policy_box {
    padding: 0 1em;
}

.container_inner .policy_box h3 {
    font-size: 1.5em;
    color: var(--primary);
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.container_inner .policy_box ul,
.container_inner .policy_box ol {
    padding-left: 1.5em;
    padding-top: 0.5em;
}

.container_inner .policy_box ul li,
.container_inner .policy_box ol li {
    line-height: 1.8em;
}

.container_inner .policy_box ol ol {
    padding-left: 2.5em;
}

.container_inner .policy_box p.border_t {
    border-top: 1px solid var(--primary);
    margin-top: 2%;
}

/* 特定商取引法に基づく表記 */
table {
    background: #fff;
    border: solid 1px #ccc;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 20px;
    table-layout: fixed;
}

table tr {
    border-bottom: dotted 1px #ccc;
    text-align: -webkit-match-parent;
}

table tr th {
    padding: 20px 10px;
    background: #f8f8f8;
}

table tr td {
    padding: 20px 10px;
}

/* --- Hero Animation (Smartphone & Character) --- */
.animation-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* スマホの枠をCSSで描画 */
.smartphone-frame {
    position: relative;
    width: 260px;
    height: 520px;
    background: #fff;
    border: 12px solid #1a2b3c;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(217, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* スマホの画面 */
.smartphone-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #AEDDF0;
    border-radius: 28px;
    overflow: hidden;
}

.smartphone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: screenShine 3s infinite 2s;
}

@keyframes screenShine {
    0% {
        left: -150%;
    }

    20%,
    100% {
        left: 200%;
    }
}

/* スマホのカメラ部分 */
.smartphone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a2b3c;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

/* --- キャラクターの飛び出しアニメーション --- */
.pop-out-character {
    position: absolute;
    bottom: -2px;
    width: 170%;
    max-width: 450px;
    z-index: 3;
    transform-origin: bottom center;
    opacity: 0;
    animation: popOut 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.5s;
}

@keyframes popOut {
    0% {
        transform: translateY(150px) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* --- タイトルロゴの飛び出し --- */
.pop-out-title {
    position: absolute;
    top: 15%;
    width: 180%;
    max-width: 450px;
    z-index: 5;
    opacity: 0;
    animation: popOutTitle 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 1.2s;
    filter: drop-shadow(2px 2px 0px rgb(0, 0, 0, 0.2));
}

@keyframes popOutTitle {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .pop-out-title {
        top: 17%;
        width: 160%;
        max-width: 400px;
    }

}

/* --- 星のエフェクトアニメーション --- */
.star {
    position: absolute;
    color: var(--secondary);
    z-index: 4;
    opacity: 0;
}

.star-1 {
    top: 20%;
    left: -15%;
    font-size: 24px;
    --start-x: 60px;
    --start-y: 150px;
    --end-x: -30px;
    --end-y: -40px;
    animation:
        starAppear 0.8s ease-out forwards 0.7s,
        starTwinkle 3s ease-in-out infinite 1.5s;
}

.star-2 {
    top: 10%;
    right: -10%;
    font-size: 32px;
    --start-x: -60px;
    --start-y: 150px;
    --end-x: 50px;
    --end-y: -60px;
    animation:
        starAppear 0.8s ease-out forwards 0.8s,
        starTwinkle 4s ease-in-out infinite 1.6s;
}

.star-3 {
    top: 0%;
    left: 30%;
    font-size: 20px;
    --start-x: 0px;
    --start-y: 200px;
    --end-x: -10px;
    --end-y: -80px;
    animation:
        starAppear 0.8s ease-out forwards 0.75s,
        starTwinkle 3.5s ease-in-out infinite 1.55s;
}

.star-4 {
    top: 40%;
    right: -10%;
    font-size: 28px;
    --start-x: -100px;
    --start-y: 80px;
    --end-x: 60px;
    --end-y: -20px;
    animation:
        starAppear 0.8s ease-out forwards 0.85s,
        starTwinkle 4.5s ease-in-out infinite 1.65s;
}

.star-5 {
    top: 50%;
    left: -10%;
    font-size: 36px;
    --start-x: 100px;
    --start-y: 80px;
    --end-x: -80px;
    --end-y: -10px;
    animation:
        starAppear 0.8s ease-out forwards 0.9s,
        starTwinkle 3.2s ease-in-out infinite 1.7s;
}

@keyframes starAppear {
    0% {
        transform: translate(var(--start-x), var(--start-y)) scale(0);
        opacity: 1;
    }

    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(1);
        opacity: 1;
    }
}

@keyframes starTwinkle {

    0%,
    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(1) rotate(10deg);
    }

    50% {
        transform: translate(var(--end-x), calc(var(--end-y) - 6px)) scale(1.1) rotate(-10deg);
    }
}


/* --- FAQ & Contact Page Styles --- */
.page-main {
    padding-top: 80px;
    padding-bottom: 100px;
    min-height: 80vh;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 110, 118, 0.15);
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(217, 0, 0, 0.12);
}

.faq-q {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-q i {
    font-size: 1.4rem;
    margin-top: 2px;
}

.faq-a {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.faq-a i {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-top: 2px;
}

/* お問い合わせ CTA カード */
.contact-cta-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    box-shadow:
        20px 20px 60px #ecc3c5,
        -20px -20px 60px #ffffff;
    position: relative;
    z-index: 1;
}

.contact-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-cta-card h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--text-main);
    margin-bottom: 20px;
}

.contact-cta-card p {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* モバイル対応調整 */
@media (max-width: 768px) {
    .faq-item {
        padding: 25px 20px;
    }

    .faq-q,
    .faq-a {
        gap: 10px;
    }

    .contact-cta-card {
        padding: 40px 20px;
        border-radius: 30px;
    }
}

/* --- Fixed Header --- */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 10px 0;
}

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.btn-header-dl {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 100px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(255, 110, 118, 0.3);
}

.btn-header-dl:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* スマホ表示時のヘッダー調整 */
@media (max-width: 600px) {
    .header-logo img {
        height: 30px;
    }

    .btn-header-dl {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}