/* ==========================================================================
   TubeInvestigation AI - Premium Dark Theme LP Styles
   ========================================================================== */

:root {
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --accent-primary: #da0000;
    --accent-secondary: #df113a;
    --accent-gradient: linear-gradient(135deg, #ad0000 0%, #ff1744 100%);
    --warning-red: #d51f1f;
    --container-width: 1100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}



/* --- Typography --- */
h1,
h2,
h3 {
    line-height: 1.3;
    font-weight: 700;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.keyword-highlight {
    color: #da0000;
    font-weight: 700;
    font-size: 1.15em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* --- Navigation --- */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent-primary);
}

.nav-cta {
    background: var(--accent-gradient);
    padding: 8px 20px;
    border-radius: 99px;
    color: white !important;
}

/* --- Hamburger Button (PCでは非表示) --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Image Wrapper --- */
.image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 calc(100px + 5vw);
    background: #ffffff radial-gradient(circle at 70% 30%, rgba(213, 0, 0, 0.03), transparent 50%);
}

/* --- Hero Decorative Background Animations --- */
.hero-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* コンテンツ(--z-index: 3)の後ろ */
    pointer-events: none;
    /* クリックへの干渉を防ぐ */
}

/* ■ 要素1：3重のサイバー風アニメーション円（左側テキストエリアの背景） */
.large-cyber-circle {
    position: absolute;
    top: -2%;
    left: -5%;
    width: 400px;
    height: 400px;
    opacity: 0.25;
    /* 視認性を上げつつ邪魔にならない程度に */
    transform: translate(0, 0);
}

.large-cyber-circle div[class^="circle-"] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border-style: solid;
}

/* レイヤー1（最も外側）：太い線(10px)で1箇所欠けたHUD風アーチ */
.large-cyber-circle .circle-outer-layer1 {
    width: 100%;
    height: 100%;
    border-width: 10px;
    border-color: #da0000 transparent #da0000 #da0000;
    animation: rotateClockwise 30s linear infinite;
    mix-blend-mode: multiply;
}

/* レイヤー2（中間）：太さ6px、透明部分をランダムに2箇所入れる（border-colorで表現） */
.large-cyber-circle .circle-outer-layer2 {
    width: 85%;
    height: 85%;
    border-width: 6px;
    /* 上と右を透明にして、2箇所の大きな隙間を作る */
    border-color: transparent rgba(218, 0, 0, 0.8) transparent rgba(218, 0, 0, 0.6);
    /* 破線スタイルを適用 */
    border-style: solid;
    /* 破線と隙間を組み合わせるためここはsolid、透明色で隙間を作る */
    animation: rotateCounterClockwise 20s linear infinite;
}

/* レイヤー3（最も内側）：太さ2px、破線（dashed）にする */
.large-cyber-circle .circle-inner-layer3 {
    width: 65%;
    height: 65%;
    border-width: 2px;
    border-color: #da0000;
    border-style: dashed !important;
    animation: rotateClockwise 15s linear infinite;
}

/* 中心の再生ボタン（三角形） */
.large-cyber-circle .play-triangle {
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 35px solid rgba(218, 0, 0, 0.8);
    animation: pulseOpacity 3s ease-in-out infinite alternate;
}

@keyframes rotateClockwise {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes pulseOpacity {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}


/* ■ 要素2：大きく動く棒グラフ（右側テキスト・画像エリア下部） */
.large-chart {
    position: absolute;
    bottom: 20%;
    right: 5%;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 250px;
    opacity: 0.15;
    /* 分析中の雰囲気を出すため薄めに。邪魔なら下げる */
    z-index: 2;
    /* 画像と重なるよう手前に設定（必要に応じz-index:-1で後ろへ） */
}

.large-chart .bar {
    width: 28px;
    background-color: #da0000;
    border-radius: 4px 4px 0 0;
    animation: bounceBar ease-in-out infinite alternate;
}

.large-chart .bar-1 {
    height: 40%;
    animation-duration: 1.2s;
    animation-delay: 0.1s;
}

.large-chart .bar-2 {
    height: 80%;
    animation-duration: 1.5s;
    animation-delay: 0.4s;
}

.large-chart .bar-3 {
    height: 50%;
    animation-duration: 1.1s;
    animation-delay: 0.2s;
}

.large-chart .bar-4 {
    height: 100%;
    animation-duration: 1.4s;
    animation-delay: 0.5s;
}

.large-chart .bar-5 {
    height: 60%;
    animation-duration: 1.3s;
    animation-delay: 0.3s;
}

@keyframes bounceBar {
    0% {
        transform: scaleY(0.4);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(1.3);
        transform-origin: bottom;
    }
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.image-placeholder {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    background: var(--accent-gradient);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(213, 0, 0, 0.2);
}

.cta-button.primary {
    background: var(--accent-gradient);
}

.cta-button.final {
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(213, 0, 0, 0.15);
}

.cta-subnote-text {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Alternating Rows Layout --- */
.alternating-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.alt-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.alt-row:nth-child(even) {
    flex-direction: row-reverse;
}

.alt-row-content {
    flex: 6;
    position: relative;
    z-index: 1;
}

.alt-row-image {
    flex: 4;
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(213, 0, 0, 0.05);
    color: var(--accent-primary);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(213, 0, 0, 0.1);
}

.alt-row p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.alt-row h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.alt-row h4 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* --- Strong text emphasis --- */
strong {
    color: var(--text-main);
    font-weight: 700;
}

/* --- Features Section --- */
.features-section {
    padding: calc(120px + 5vw) 0;
    margin-top: -5vw;
    background: #f3f4f6;
    clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%);
}

/* --- Story Section --- */
.story-section {
    padding: calc(120px + 5vw) 0;
    margin-top: -5vw;
    background: #ffffff;
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.story-outer-box {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 80px 60px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.story-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.story-intro h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.story-highlight {
    margin-top: 25px;
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.step-num {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 8rem;
    font-weight: 800;
    font-style: italic;
    color: var(--accent-primary);
    opacity: 0.2;
    line-height: 1;
    z-index: -1;
    pointer-events: none;
}

.alt-row h4 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

@media (max-width: 968px) {

    .alt-row,
    .alt-row:nth-child(even) {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .alt-row-image {
        width: 100%;
    }
}

/* --- CTA Area --- */
.cta-area {
    padding: calc(80px + 5vw) 0;
    margin-top: -5vw;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%), var(--accent-gradient);
    clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%);
    color: #ffffff;
}

.cta-area.secondary {
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.cta-area .cta-text {
    color: #ffffff;
}

.cta-area .cta-subnote-text {
    color: rgba(255, 255, 255, 0.9);
}

.cta-area .cta-button.primary {
    background: #ffffff;
    color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-area .cta-button.primary:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* --- Details Section --- */
.details-section {
    padding: calc(100px + 5vw) 0;
    margin-top: -5vw;
    background: #f3f4f6;
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
}

.details-intro {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-muted);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.detail-group {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.detail-group h3 {
    color: var(--accent-primary);
    margin: 0 auto 25px;
    border-left: 4px solid var(--accent-primary);
    padding-left: 15px;
    width: 100%;
    max-width: 900px;
}

.detail-group ul {
    list-style: none;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.detail-group li {
    padding: 12px 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.detail-group li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.detail-group li.note {
    margin-top: 15px;
    padding: 15px;
    background: rgba(213, 0, 0, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.detail-group li.note::before {
    content: none;
}

/* --- CTA Price & Note Styles --- */
.cta-price-container {
    margin-bottom: 30px;
}

.tool-name {
    font-size: 2.5rem;
    font-weight: 600;
}

.price-display {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #da0000;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.price-notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 730px;
    margin: 0 auto;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
    display: block;
}

.cta-area .price-display {
    color: #ffffff;
}

.cta-area .price-note {
    color: rgba(255, 255, 255, 0.9);
}

.cta-area .date-highlight {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.cta-area .price-note {
    text-align: center;
}

.date-highlight {
    color: #da0000;
    font-weight: 700;
}

.update-suggest {
    margin-top: 5px;
    font-weight: 400;
}

/* ヒーローセクション専用調整 */
.hero-cta .cta-price-container {
    margin-top: 20px;
    margin-bottom: 25px;
}

.hero-cta .price-display {
    font-size: 1.8rem;
}

/* 購入ボックス専用調整 */
.purchase-box .cta-price-container {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .price-display {
        font-size: 1.8rem;
    }
    .price-note {
        text-align: center;
    }
}

/* --- FAQ Section (Accordion) --- */
:root {
    --faq-line-color: #ad0000;
    --faq-line-width: 2px;
    --faq-anim-speed: 0.6s;
    --faq-hover-bg: #fff6f6;
    /* 指定の色に修正 */
    --faq-border-radius: 0px;
    /* 角丸を削除 */
}

.faq-section {
    padding: calc(100px + 5vw) 0;
    margin-top: -5vw;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%);
}

.faq-category-title {
    max-width: 800px;
    margin: 40px auto 20px;
    font-size: 1.25rem;
    color: var(--accent-secondary);
}

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

.faq-item {
    margin-bottom: 15px;
    background: var(--card-bg);
    border-radius: var(--faq-border-radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

details {
    width: 100%;
}

summary {
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--faq-anim-speed) ease;
    position: relative;
    z-index: 1;
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    background-color: var(--faq-hover-bg);
}

/* SVG Border Animation */
.faq-border-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    fill: none;
}

.faq-border-svg rect {
    stroke: var(--faq-line-color);
    stroke-width: var(--faq-line-width);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset var(--faq-anim-speed) ease;
}

summary:hover .faq-border-svg rect {
    stroke-dashoffset: 0;
}

/* ホバー解除時は逆方向に消える */
summary:not(:hover) .faq-border-svg rect {
    stroke-dashoffset: 100;
}

/* Button position adjust - Remove redundant relative/z-index if not needed for text */
.cta-button {
    /* 以前のボタン自体のアニメーション設定を削除し、元の定義を活かします */
    overflow: hidden;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

details[open] summary::after {
    transform: rotate(45deg);
}

/* FAQ Smooth Animation with JavaScript control */
.faq-answer {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.4s ease, opacity 0.4s ease;
    display: block; /* gridから戻す */
}

details[open] .faq-answer {
    height: auto; /* JSで上書きされる前のデフォルト */
    opacity: 1;
}

.faq-answer-content {
    padding: 20px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* --- Purchase Box --- */
.closing-section {
    padding: calc(100px + 5vw) 0 150px;
    margin-top: -5vw;
    background: #f3f4f6;
    clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%);
}

.closing-content {
    text-align: center;
    margin-bottom: 60px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.closing-content h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.closing-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.purchase-box {
    background: #ffffff;
    border: 2px solid var(--accent-primary);
    padding: 60px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(213, 0, 0, 0.1);
}

.purchase-box h3 {
    color: var(--warning-red);
    text-align: center;
    margin-bottom: 20px;
}

.warning-intro {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.warning-list {
    margin-bottom: 30px;
    padding-left: 20px;
}

.warning-list li {
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- Footer --- */
footer {
    padding: 60px 0 40px;
    /* 余白を調整 */
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    /* スマホで折り返すため */
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* ==========================================================================
   Legal & Static Pages Styles (terms, privacy, law)
   ========================================================================== */
.page-wrapper {
    padding: 120px 20px 60px;
    min-height: calc(100vh - 200px);
    background: #fafafa;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.page-title {
    font-size: 2rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(218, 0, 0, 0.1);
}

.page-content h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-primary);
}

.page-content p,
.page-content ul,
.page-content ol {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 10px;
}

.law-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.law-table th,
.law-table td {
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
    font-size: 0.95rem;
}

.law-table th {
    background: #f8f9fa;
    color: var(--text-main);
    width: 30%;
    font-weight: 700;
}

.law-table td {
    color: var(--text-muted);
}

.page-back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.page-back-link:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .story-outer-box {
        padding: 40px 20px;
    }

    .purchase-box {
        padding: 30px;
    }

    .alt-row h3,
    .alt-row h4 {
        font-size: 1.3rem;
    }

    /* --- ハンバーガーメニュー表示 --- */
    .logo {
        font-size: 1.15rem;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    nav.open {
        display: flex;
    }

    nav a {
        margin-left: 0;
        padding: 14px 30px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav a:last-child {
        border-bottom: none;
    }

    nav .nav-cta {
        margin: 15px 30px;
        text-align: center;
        display: block;
        border-radius: 12px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Success Page Styles (checkout completion)
   ========================================================================== */
.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: #ffffff radial-gradient(circle at 50% 50%, rgba(213, 0, 0, 0.03), transparent 70%);
}

.success-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* LPに合わせた柔らかい影 */
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideUpFadeIn 0.6s ease-out forwards;
}

.success-icon {
    display: inline-block;
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounceIcon 2s infinite alternate;
}

.success-title {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.success-link {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(218, 0, 0, 0.05);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(218, 0, 0, 0.1);
}

.success-link:hover {
    background: rgba(218, 0, 0, 0.1);
    transform: translateY(-2px);
}

@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIcon {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* --- Bonus Section --- */
.bonus-section {
    padding: calc(100px + 5vw) 0;
    margin-top: -5vw;
    background: #ececec;
    clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%);
}

.bonus-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(218, 0, 0, 0.1);
}

.bonus-content {
    flex: 6;
}

.bonus-image-area {
    flex: 4;
}

.bonus-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(218, 0, 0, 0.3);
}

.bonus-title {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.4;
}

.bonus-lead {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
}

.bonus-desc {
    color: var(--text-muted);
    line-height: 1.8;
}

.bonus-image {
    width: 100%;
}

.bonus-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Bonus Remind Box */
.bonus-remind-box {
    background: #fffafa;
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(218, 0, 0, 0.08);
}

.bonus-remind-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    justify-content: center;
}

.bonus-remind-icon {
    font-size: 1.8rem;
}

.bonus-remind-header h4 {
    color: var(--accent-primary);
    font-size: 1.4rem;
    margin: 0;
}

.bonus-remind-list {
    list-style: none;
    text-align: center;
}

.bonus-remind-list li {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.bonus-remind-list li.sub-list {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.bonus-remind-list strong {
    color: var(--accent-primary);
}

/* CTA Bonus Text */
.cta-bonus-text {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 15px;
}

.cta-area .cta-bonus-text {
    color: #ffffff;
}

@media (max-width: 968px) {
    .bonus-wrapper {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .bonus-title {
        font-size: 1.6rem;
    }
    
    .bonus-remind-header h4 {
        font-size: 1.2rem;
    }
}