/* ========================================
   整体院LP - からだ整体院 ナチュラル
   配色: グリーン、ホワイト、ベージュ
======================================== */

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

:root {
    --primary-green: #4a9d5f;
    --dark-green: #357a47;
    --light-green: #e8f5e9;
    --beige: #f5f1e8;
    --brown: #8b6f47;
    --white: #ffffff;
    --gray: #f8f8f8;
    --text-dark: #333333;
    --text-light: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', 'Hiragino Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ========================================
   ヘッダー
======================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-green);
}

.header-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon {
    font-size: 24px;
}

.reserve-btn-header {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
}

.reserve-btn-header:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 157, 95, 0.3);
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-offer {
    background-color: rgba(255, 215, 0, 0.95);
    color: var(--text-dark);
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: inline-block;
}

.offer-label {
    font-size: 14px;
    font-weight: bold;
    color: #c00;
}

.offer-price {
    font-size: 42px;
    font-weight: bold;
    margin: 10px 0;
}

.offer-price .old-price {
    font-size: 24px;
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 10px;
}

.offer-limit {
    font-size: 14px;
    color: #c00;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 157, 95, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-green);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* ========================================
   セクション共通
======================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-green);
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 20px;
}

/* ========================================
   症状セクション
======================================== */
.symptoms {
    background-color: var(--beige);
}

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

.symptom-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.symptom-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.symptom-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.symptom-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   選ばれる理由
======================================== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.reason-card {
    text-align: center;
}

.reason-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.reason-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.reason-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   施術内容
======================================== */
.treatments {
    background-color: var(--gray);
}

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

.treatment-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.treatment-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.treatment-content {
    padding: 25px;
}

.treatment-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.treatment-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.treatment-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: bold;
}

.price-label {
    font-size: 14px;
    color: var(--text-light);
}

.price-value {
    font-size: 24px;
    color: var(--primary-green);
}

/* ========================================
   施術の流れ
======================================== */
.flow {
    background-color: var(--light-green);
}

.flow-steps {
    max-width: 900px;
    margin: 40px auto 0;
}

.flow-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   院長紹介
======================================== */
.staff {
    background-color: var(--beige);
}

.staff-profile {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 40px auto 0;
    align-items: center;
}

.staff-image {
    flex-shrink: 0;
    width: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.staff-image img {
    width: 100%;
    height: auto;
}

.staff-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.staff-title {
    font-size: 16px;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: bold;
}

.credentials {
    background-color: var(--light-green);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.credentials h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.credentials ul {
    list-style: none;
    padding-left: 0;
}

.credentials li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--text-light);
}

.credentials li::before {
    content: '✓ ';
    color: var(--primary-green);
    font-weight: bold;
}

.staff-message {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ========================================
   お客様の声
======================================== */
.reviews {
    background-color: var(--white);
}

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

.review-card {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.reviewer-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.reviewer-details {
    font-size: 13px;
    color: var(--text-light);
}

.stars {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 15px;
}

.review-symptom {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--primary-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* ========================================
   院内紹介
======================================== */
.interior {
    background-color: var(--beige);
}

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

.interior-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.interior-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.interior-item:hover img {
    transform: scale(1.05);
}

.interior-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
}

/* ========================================
   よくある質問
======================================== */
.faq {
    background-color: var(--white);
}

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

.faq-item {
    background-color: var(--gray);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 16px;
}

.faq-question:hover {
    background-color: var(--light-green);
}

.faq-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.faq-toggle {
    margin-left: auto;
    color: var(--primary-green);
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px 25px 80px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========================================
   アクセス
======================================== */
.access {
    background-color: var(--beige);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.access-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--light-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-content h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-content p {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: bold;
}

.business-hours {
    background-color: var(--light-green);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.business-hours table {
    width: 100%;
    font-size: 14px;
}

.business-hours td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(74, 157, 95, 0.2);
}

.business-hours td:last-child {
    text-align: right;
    font-weight: bold;
}

.access-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* ========================================
   予約セクション
======================================== */
.reservation {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    text-align: center;
}

.reservation .section-title h2,
.reservation .section-title p {
    color: var(--white);
}

.reservation .section-title h2::after {
    background-color: var(--white);
}

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

.reservation-card {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.reservation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reservation-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.reservation-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.reservation-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.reservation-btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.reservation-btn:hover {
    background-color: var(--dark-green);
    transform: scale(1.05);
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: #2a2a2a;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #444;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ========================================
   固定予約ボタン（スマホ用）
======================================== */
.fixed-reserve-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-green);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(74, 157, 95, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s;
}

.fixed-reserve-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 157, 95, 0.5);
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 1024px) {
    .access-content {
        grid-template-columns: 1fr;
    }

    .staff-profile {
        flex-direction: column;
        text-align: center;
    }

    .staff-image {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .offer-price {
        font-size: 32px;
    }

    .header-contact {
        flex-direction: column;
        align-items: flex-end;
    }

    .phone-number {
        font-size: 20px;
    }

    .reserve-btn-header {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
    }

    .fixed-reserve-btn {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .treatment-grid,
    .reviews-grid,
    .interior-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero {
        height: 450px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .logo {
        font-size: 18px;
    }

    .symptoms-grid,
    .reasons-grid,
    .reservation-methods {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロール時のアニメーション用 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}
