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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa;
}

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

a {
    color: #5b4a8f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8b7ab8;
}

/* ========================================
   レイアウト
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-gray {
    background-color: #f5f5f5;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #5b4a8f;
}

.logo a {
    color: #5b4a8f;
}

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

.nav a {
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav a:hover {
    background-color: #f0f0f0;
}

/* ========================================
   ヒーロー（ファーストビュー）
   ======================================== */
.hero {
    background: linear-gradient(135deg, #5b4a8f 0%, #8b7ab8 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   ボタン
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    min-width: 280px;
}

.btn-primary {
    background-color: #5b4a8f;
    color: #fff;
    border-color: #5b4a8f;
}

.btn-primary:hover {
    background-color: #4a3a75;
    border-color: #4a3a75;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 74, 143, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: #5b4a8f;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    color: #5b4a8f;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #5b4a8f;
    border-color: #5b4a8f;
}

.btn-outline:hover {
    background-color: #5b4a8f;
    color: #fff;
}

/* ========================================
   セクション共通
   ======================================== */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #5b4a8f;
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========================================
   お悩みセクション
   ======================================== */
.concerns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.concern-item {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concern-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.concern-item h3 {
    font-size: 1.2rem;
    color: #5b4a8f;
    margin-bottom: 12px;
}

.concern-item p {
    font-size: 0.95rem;
    color: #666;
}

.concerns-note {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 16px;
    font-size: 0.9rem;
    color: #856404;
}

.concerns-note strong {
    color: #d39e00;
}

/* ========================================
   鑑定メニュー
   ======================================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.menu-item {
    background-color: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.menu-item.featured {
    border: 3px solid #5b4a8f;
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #e91e63;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.menu-name {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.menu-price {
    font-size: 1.8rem;
    color: #5b4a8f;
    font-weight: 700;
    margin-bottom: 20px;
}

.menu-detail {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.menu-detail li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #666;
}

.menu-detail li:last-child {
    border-bottom: none;
}

.menu-note {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 20px;
    font-size: 0.95rem;
}

.menu-note h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #1976d2;
}

.menu-note ul {
    margin: 12px 0;
    padding-left: 20px;
}

.menu-note li {
    margin: 6px 0;
}

/* ========================================
   鑑定の流れ
   ======================================== */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.flow-step {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.flow-number {
    background-color: #5b4a8f;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
}

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

/* ========================================
   プロフィール
   ======================================== */
.profile-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.profile-text h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #333;
}

.profile-title {
    font-size: 1.1rem;
    color: #5b4a8f;
    margin-bottom: 24px;
    font-weight: 600;
}

.profile-text p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.profile-qualification {
    background-color: #f5f5f5;
    padding: 16px;
    border-radius: 6px;
    margin-top: 24px;
}

/* ========================================
   お客様の声
   ======================================== */
.testimonials-note {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-item {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #5b4a8f;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #555;
}

.testimonial-author {
    font-size: 0.85rem;
    color: #999;
    text-align: right;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5b4a8f;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

.faq-answer a {
    text-decoration: underline;
}

/* ========================================
   CTA（中間）
   ======================================== */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.cta-text {
    font-size: 1rem;
    margin-bottom: 32px;
    color: #666;
}

/* ========================================
   運営情報
   ======================================== */
.info-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-table tr {
    border-bottom: 1px solid #eee;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th,
.info-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: top;
}

.info-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
    width: 140px;
}

.info-table td {
    color: #666;
}

.info-table a {
    text-decoration: underline;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 24px;
    margin-top: 60px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: underline;
}

.footer-note {
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

/* ========================================
   固定CTAボタン（スマホ用）
   ======================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    padding: 12px 20px;
    z-index: 99;
    display: none;
}

.btn-fixed {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* ========================================
   法的ページ（特商法・プライバシー・利用規約）
   ======================================== */
.legal-page {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #333;
    text-align: center;
    border-bottom: 3px solid #5b4a8f;
    padding-bottom: 16px;
}

.legal-section {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #5b4a8f;
    margin-bottom: 16px;
    border-left: 4px solid #5b4a8f;
    padding-left: 12px;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0 12px;
}

.legal-section p {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #666;
}

.legal-section ul,
.legal-section ol {
    margin: 12px 0 12px 24px;
    line-height: 1.8;
    color: #666;
}

.legal-section li {
    margin: 8px 0;
}

.legal-section .note {
    font-size: 0.9rem;
    color: #999;
    margin-top: 8px;
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    font-size: 1rem;
    text-decoration: underline;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
    /* ヘッダー */
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        justify-content: center;
        gap: 12px;
    }

    .nav a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    /* ヒーロー */
    .hero {
        padding: 60px 0;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        min-width: 100%;
        padding: 14px 24px;
    }

    /* セクション */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    /* グリッド */
    .concerns-grid,
    .menu-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* 鑑定の流れ */
    .flow-step {
        flex-direction: column;
        text-align: center;
    }

    .flow-number {
        margin: 0 auto;
    }

    /* プロフィール */
    .profile-content {
        flex-direction: column;
    }

    .profile-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* テーブル */
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        background-color: #5b4a8f;
        color: #fff;
        padding: 12px 16px;
    }

    .info-table td {
        padding: 16px;
        border-bottom: 2px solid #eee;
    }

    /* 固定CTAボタン表示 */
    .fixed-cta {
        display: block;
    }

    /* フッター余白調整（固定CTAボタン分） */
    .footer {
        padding-bottom: 80px;
    }

    /* 法的ページ */
    .legal-page h1 {
        font-size: 1.6rem;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

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

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

    .menu-price {
        font-size: 1.5rem;
    }

    .profile-text h3 {
        font-size: 1.5rem;
    }
}
