/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 20px 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #ffd700;
    border-bottom: 3px solid #ffd700;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.price-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px 30px;
    margin: 0 auto 40px;
    max-width: 500px;
}

.price-label {
    font-size: 0.95rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
}

.price .tax {
    font-size: 1.2rem;
    font-weight: normal;
    color: #fff;
}

/* CTAボタン */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.hero .cta-buttons {
    justify-content: flex-start;
}

.cta-mid .cta-buttons,
.reservation .cta-buttons {
    justify-content: center;
}

.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    min-width: 220px;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-main {
    display: block;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.2;
}

.btn-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 2px;
    opacity: 0.9;
    line-height: 1.2;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    border: none;
}

.btn-secondary {
    background: #06c755;
    color: #fff;
    border: none;
}

.btn-tertiary {
    background: #4285f4;
    color: #fff;
    border: none;
}

/* 動画セクション */
.video-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* 特徴セクション */
.features {
    padding: 60px 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* LINEサポートセクション */
.line-support {
    padding: 60px 20px;
    background: linear-gradient(135deg, #06c755 0%, #05b84d 100%);
}

.support-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.support-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #06c755;
}

.support-lead {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
}

.support-list {
    list-style: none;
    margin-bottom: 25px;
}

.support-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-left: 4px solid #06c755;
    border-radius: 8px;
    font-size: 1rem;
}

.support-list strong {
    color: #06c755;
}

.support-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* 症例セクション */
.cases {
    padding: 60px 20px;
    background: #f8f9fa;
}

.section-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #667eea;
    text-align: center;
}

.case-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

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

.case-results {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.result-item {
    font-size: 1rem;
    margin-bottom: 10px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.change {
    color: #ff6b6b;
    font-weight: bold;
}

/* ステルスダイエット10日間プログラム */
.stealth-program {
    padding: 60px 20px;
    background: #f8f9fa;
}

.program-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.program-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

.program-content {
    text-align: left;
}

.program-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.program-subtitle {
    font-size: 1.5rem;
    color: #667eea;
}

.program-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 8px;
}

.tax-note {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
}

.program-required {
    font-size: 0.95rem;
    color: #666;
    margin-top: 5px;
}

.program-description {
    background: #fff;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.program-sec-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.program-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

.program-why,
.program-details,
.program-target,
.program-continue {
    margin-bottom: 35px;
}

.program-why h4,
.program-details h4,
.program-target h4,
.program-continue p:first-child {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.program-why p {
    line-height: 1.8;
    color: #555;
}

.program-support-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.program-support-list li {
    padding: 12px 15px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 6px;
    font-size: 0.95rem;
}

.program-note {
    font-size: 0.9rem;
    color: #666;
}

.drug-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.drug-item {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
}

.program-continue {
    background: #fffbf0;
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 20px 25px;
}

.program-continue p {
    margin-bottom: 8px;
    line-height: 1.7;
}

.program-continue p:last-child {
    margin-bottom: 0;
}

/* CTA中盤 */
.cta-mid {
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.cta-mid h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* 内服薬セクション */
.medication {
    padding: 60px 20px;
}

.medication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.med-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px 20px;
    transition: all 0.3s ease;
}

.med-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.med-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.med-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 5px;
}

.med-quantity {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.med-details {
    cursor: pointer;
}

.med-details summary {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 500;
    color: #667eea;
    list-style: none;
    user-select: none;
    transition: background 0.3s ease;
}

.med-details summary:hover {
    background: #e9ecef;
}

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

.med-details[open] summary {
    background: #667eea;
    color: #fff;
    margin-bottom: 15px;
}

.med-content {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.med-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.med-content p:last-child {
    margin-bottom: 0;
}

/* ご予約セクション */
.reservation {
    padding: 60px 20px;
    background: #f8f9fa;
}

.reservation-lead {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.reservation-points {
    list-style: none;
    text-align: center;
    margin-bottom: 40px;
}

.reservation-points li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

/* クリニック情報 */
.clinic-info {
    padding: 60px 20px;
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.clinic-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 25px;
}

.clinic-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #667eea;
}

.clinic-card p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* フッター */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* スマホ固定CTAバー */
.fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    gap: 8px;
}

.fixed-btn {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 8px;
    color: #fff;
    transition: all 0.3s ease;
}

.fixed-btn-web {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.fixed-btn-line {
    background: #06c755;
}

.fixed-btn-phone {
    background: #667eea;
}

.fixed-btn:active {
    transform: scale(0.95);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero .cta-buttons {
        justify-content: center;
    }

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

    .price {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        min-width: 180px;
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .btn-main {
        font-size: 0.95rem;
    }

    .btn-sub {
        font-size: 0.7rem;
        margin-top: 2px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .support-title {
        font-size: 1.6rem;
    }

    .support-box {
        padding: 30px 20px;
    }

    .sp-only {
        display: inline;
    }

    /* ステルスプログラムのレスポンシブ */
    .program-header {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .program-title {
        font-size: 1.6rem;
    }

    .program-subtitle {
        font-size: 1.2rem;
    }

    .program-price {
        font-size: 2rem;
    }

    .program-description {
        padding: 30px 20px;
    }

    .program-sec-title {
        font-size: 1.3rem;
    }

    .program-support-list {
        grid-template-columns: 1fr;
    }

    /* スマホで固定CTAバー表示 */
    .fixed-cta {
        display: flex;
    }

    /* 固定CTAバー分の余白 */
    body {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
}

/* ===== 固定ヘッダー ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.btn-header {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: bold;
    white-space: nowrap;
    min-width: auto;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(238, 90, 111, 0.3);
    transition: all 0.3s ease;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 111, 0.4);
}

/* ヘッダー分の余白 */
body {
    padding-top: 60px;
}

/* アンカーリンクのずれ防止 */
section[id] {
    scroll-margin-top: 70px;
}

/* PC/SP 改行制御ユーティリティ */
.br-sp {
    display: none;
}

@media screen and (max-width: 1080px) {
    .br-pc {
        display: none;
    }
    .br-sp {
        display: inline-block;
    }
}

/* SP時ヘッダーCTA短縮 */
@media screen and (max-width: 768px) {
    .hide-sp {
        display: none;
    }
    .header-logo img {
        height: 32px;
    }
    .btn-header {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* ===== スライドショー ===== */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
}

.slideshow-track {
    position: relative;
    width: 100%;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slideshow-slide.active {
    position: relative;
    opacity: 1;
}

.slideshow-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slideshow-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0 4px;
}

.slideshow-btn {
    background: none;
    border: 2px solid #667eea;
    color: #667eea;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.slideshow-btn:hover {
    background: #667eea;
    color: #fff;
}

.slideshow-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slideshow-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dots .dot.active {
    background: #667eea;
    transform: scale(1.2);
}