/* top.css — トップページ（サービス紹介） */

.top-hero {
    background: linear-gradient(160deg, #1a1510 0%, #241e14 100%);
    padding: 56px 24px 64px;
    position: relative;
    overflow: hidden;
}
.top-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}
.top-hero-text {
    flex: 1 1 420px;
    min-width: 0;
    text-align: left;
}
.top-hero-eyebrow {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: #b8965a;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.top-hero-title {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #faf8f2;
    letter-spacing: 0.01em;
    line-height: 1.55;
    margin-bottom: 20px;
}
.top-hero-title em {
    font-style: normal;
    color: #d4b478;
}
.top-hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 600;
    color: #d4b478;
    line-height: 1.7;
    margin-bottom: 18px;
}
.top-hero-sub {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.92rem;
    color: #a09070;
    line-height: 1.95;
    margin-bottom: 32px;
}
.top-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.top-hero-visual {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.top-hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(184,150,90,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
@media (max-width: 860px) {
    .top-hero-inner { flex-direction: column; text-align: center; }
    .top-hero-text { text-align: center; }
    .top-hero-btns { justify-content: center; }
    .top-hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}
.top-btn-primary, .top-btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    transition: opacity 0.2s, transform 0.15s;
}
.top-btn-primary {
    background: linear-gradient(135deg, #c8a060, #8a6530);
    color: #faf8f2;
    box-shadow: 0 4px 14px rgba(184,150,90,0.3);
}
.top-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.top-btn-secondary {
    background: transparent;
    color: #d4c5a0;
    border: 1px solid rgba(184,150,90,0.45);
}
.top-btn-secondary:hover { border-color: #b8965a; color: #faf8f2; }

.top-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 24px;
}
.top-section-title {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1510;
    text-align: center;
    margin-bottom: 8px;
}
.top-section-title-num {
    /* Cormorant Garamondの数字グリフは日本語部分（Noto Serif JPへフォールバック）より
       小さく見えるため、見出し中の数字は明示的に日本語と同じフォントに揃える */
    font-family: 'Noto Serif JP', serif;
}
.top-section-sub {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    color: #7a6a58;
    margin-bottom: 40px;
}

.top-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.top-feature-card {
    background: #fff;
    border: 1px solid #e8e0d0;
    border-top: 3px solid #b8965a;
    border-radius: 0 0 10px 10px;
    padding: 26px 22px;
    text-align: center;
}
.top-feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}
.top-feature-title {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1510;
    margin-bottom: 10px;
}
.top-feature-desc {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.82rem;
    color: #5a4a38;
    line-height: 1.85;
}

.top-section-cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* ===== 演奏診断の詳細説明 ===== */
.top-diag-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.top-diag-point {
    background: #faf8f2;
    border: 1px solid #e8dcc8;
    border-radius: 10px;
    padding: 24px 22px;
}
.top-diag-point-icon {
    font-size: 1.7rem;
    margin-bottom: 12px;
}
.top-diag-point-title {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: #1a1510;
    margin-bottom: 8px;
}
.top-diag-point-desc {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.82rem;
    color: #5a4a38;
    line-height: 1.85;
}
.top-diag-point-clickable {
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    box-sizing: border-box;
    transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.top-diag-point-clickable:hover,
.top-diag-point-clickable:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,21,16,0.1);
    border-color: #c8a060;
}
.top-diag-point-hint {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: #8a6530;
}

/* ===== 演奏診断サンプル用モーダル ===== */
.top-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,21,16,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}
.top-modal-overlay[hidden] { display: none; }
.top-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 28px 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.top-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f5f0e8;
    color: #5a4a38;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}
.top-modal-close:hover { background: #ede4d3; }
.top-modal-eyebrow {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: #b8965a;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.top-modal-title {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1510;
    margin-bottom: 16px;
    padding-right: 24px;
}
.top-modal-body {
    background: #faf8f2;
    border: 1px solid #e8dcc8;
    border-radius: 8px;
    padding: 18px 20px;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    line-height: 1.9;
    color: #3a3028;
    white-space: pre-wrap;
}
.top-modal-note {
    margin-top: 14px;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.72rem;
    color: #9a8a70;
}

/* ===== その他機能（簡潔リスト） ===== */
.top-section-sub-note {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.82rem;
    color: #9a8a70;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.top-features-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4px 28px;
}
.top-feature-compact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #ede4d3;
}
.top-feature-compact-icon {
    flex-shrink: 0;
    font-size: 1.3rem;
    line-height: 1.4;
}
.top-feature-compact-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1510;
    margin-bottom: 3px;
}
.top-feature-compact-desc {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.78rem;
    color: #7a6a58;
    line-height: 1.7;
}

.top-column-cta {
    background: #faf8f2;
    border: 1px solid #e8dcc8;
    border-radius: 10px;
    padding: 36px 24px;
    text-align: center;
    margin-top: 8px;
}
.top-column-cta p {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.9rem;
    color: #3a3028;
    margin-bottom: 18px;
}
.top-column-cta a {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8a6530;
    text-decoration: none;
    border-bottom: 1px solid #c8a060;
    padding-bottom: 2px;
}
.top-column-cta a:hover { color: #1a1510; }

.top-final-cta {
    background: linear-gradient(160deg, #1a1510 0%, #241e14 100%);
    text-align: center;
    padding: 56px 24px;
}
.top-final-cta p {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #faf8f2;
    margin-bottom: 26px;
}
