/* トップページ「検索アクション型LP」用スタイル */

.pt-home {
    margin: 0;
    padding: 0;
}

.pt-home-sections {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================
   共通: セクション
   ============================== */

.pt-section {
    margin: 76px 0;
}

.pt-section-title {
    font-family: var(--pt-font-display);
    text-align: center;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--pt-primary-deep);
    line-height: 1.5;
    margin: 0 0 10px;
}

.pt-section-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--pt-primary), var(--pt-accent));
    margin: 14px auto 0;
}

.pt-section-lead {
    text-align: center;
    color: var(--pt-ink-light);
    font-size: .95em;
    margin: 0 0 32px;
}

.pt-section-more {
    text-align: center;
    margin-top: 24px;
}

.pt-section-more a,
.pt-text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--pt-primary-dark);
    font-weight: 700;
    font-size: .92em;
    text-decoration: none;
}

.pt-section-more a:hover,
.pt-text-link:hover {
    color: var(--pt-accent-dark);
}

/* 共通ボタン（大型） */
.btn-cta,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98em;
    text-decoration: none;
    transition: all .25s ease;
}

.btn-cta {
    background: var(--pt-cta);
    color: #fff;
    box-shadow: 0 4px 14px rgba(193, 87, 30, .3);
}

.btn-cta:hover {
    background: var(--pt-cta-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: #fff;
    color: var(--pt-primary-dark);
    border: 2px solid var(--pt-primary);
}

.btn-ghost:hover {
    background: var(--pt-primary-pale);
    color: var(--pt-primary-deep);
}

/* ==============================
   1. ヒーロー（コピー＋検索カード）
   ============================== */

.pt-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 90% -10%, rgba(47, 143, 126, .12), transparent 55%),
        radial-gradient(ellipse at 5% 110%, rgba(232, 133, 77, .12), transparent 50%),
        linear-gradient(165deg, #EFF7F4 0%, #FBF4E8 100%);
    border-bottom: 1px solid var(--pt-line);
    padding: 56px 20px 60px;
}

.pt-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: center;
}

.pt-hero-copy h1 {
    font-family: var(--pt-font-display);
    font-size: 2.5em;
    line-height: 1.45;
    color: var(--pt-primary-deep);
    font-weight: 700;
    margin: 0 0 16px;
}

.pt-hero-copy h1 em {
    font-style: normal;
    color: var(--pt-accent-dark);
}

.pt-hero-lead {
    color: var(--pt-ink-light);
    line-height: 1.9;
    font-size: .95em;
    margin: 0 0 20px;
    max-width: 34em;
}

.pt-trust-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pt-tbadge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--pt-line);
    border-radius: 999px;
    font-size: .8em;
    font-weight: 700;
    color: var(--pt-primary-dark);
    padding: 7px 14px;
}

.pt-tbadge .pt-icon {
    color: var(--pt-accent-dark);
}

.pt-hero-guide {
    margin-top: 16px;
    font-size: .85em;
    color: var(--pt-ink-light);
}

.pt-hero-guide a {
    color: var(--pt-primary-dark);
    font-weight: 700;
}

/* 検索カード */
.pt-search-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(38, 70, 60, .14);
    padding: 26px;
    border-top: 5px solid var(--pt-primary);
    overflow: hidden;
}

/* カード上部のカバー写真 */
.pt-search-cover {
    margin: -26px -26px 18px;
    height: 130px;
    overflow: hidden;
}

.pt-search-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 38%;
    display: block;
}

.pt-search-card h2 {
    font-family: var(--pt-font-display);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15em;
    color: var(--pt-primary-deep);
    margin: 0 0 4px;
}

.pt-search-card h2 .pt-icon {
    color: var(--pt-primary);
}

.pt-search-live {
    font-size: .78em;
    color: var(--pt-ink-light);
    margin: 0 0 16px;
}

.pt-search-live b {
    color: #2E7D32;
}

.pt-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2E7D32;
    margin-right: 5px;
    animation: pt-pulse 2s infinite;
}

@keyframes pt-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.pt-search-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.pt-stab {
    flex: 1;
    text-align: center;
    font-size: .82em;
    font-weight: 700;
    padding: 9px 0;
    border-radius: 9px;
    background: var(--pt-bg);
    color: var(--pt-ink-light);
    border: 1px solid var(--pt-line);
    text-decoration: none;
    transition: all .2s ease;
}

a.pt-stab:hover {
    background: var(--pt-primary-pale);
    color: var(--pt-primary-deep);
    border-color: rgba(47, 143, 126, .4);
}

.pt-stab--on {
    background: var(--pt-primary-pale);
    color: var(--pt-primary-deep);
    border-color: rgba(47, 143, 126, .4);
}

.pt-search-regions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.pt-srg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--pt-line);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: .85em;
    font-weight: 700;
    color: var(--pt-ink);
    background: #fff;
    text-decoration: none;
    transition: all .2s ease;
}

.pt-srg:hover {
    border-color: var(--pt-primary);
    background: var(--pt-primary-pale);
    color: var(--pt-primary-deep);
}

.pt-srg small {
    font-weight: 700;
    color: #fff;
    background: var(--pt-primary-dark);
    border-radius: 999px;
    padding: 1px 8px;
    font-size: .8em;
}

.pt-srg--empty small {
    background: #9aa49f;
}

.pt-search-btn {
    display: block;
    width: 100%;
    background: var(--pt-cta);
    color: #fff;
    text-align: center;
    font-family: var(--pt-font-display);
    font-weight: 700;
    font-size: 1.02em;
    padding: 15px 0;
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s ease;
}

.pt-search-btn:hover {
    background: var(--pt-cta-hover);
    color: #fff;
}

.pt-search-hint {
    margin: 10px 0 0;
    text-align: center;
    font-size: .78em;
    color: var(--pt-ink-light);
}

.pt-search-hint a {
    color: var(--pt-accent-dark);
    text-decoration: none;
}

/* ==============================
   2. 3ステップ帯
   ============================== */

.pt-strip {
    background: #fff;
    border-bottom: 1px solid var(--pt-line);
    padding: 16px 12px;
}

.pt-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.pt-strip-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9em;
    font-weight: 700;
    color: var(--pt-primary-deep);
    text-decoration: none;
}

.pt-strip-step:hover {
    color: var(--pt-accent-dark);
}

.pt-strip-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pt-primary-pale);
    color: var(--pt-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pt-font-display);
    font-size: .9em;
}

.pt-strip-sep {
    color: var(--pt-line);
    display: flex;
}

/* ==============================
   3. お悩みカード
   ============================== */

.pt-worry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.pt-worry-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--pt-line);
    border-radius: 14px;
    padding: 16px 16px;
    text-decoration: none;
    color: var(--pt-ink);
    font-weight: 700;
    font-size: .92em;
    box-shadow: var(--pt-card-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pt-worry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pt-card-shadow-hover);
    border-color: rgba(47, 143, 126, .45);
    color: var(--pt-primary-deep);
}

.pt-worry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--pt-accent-pale);
    color: var(--pt-accent-dark);
    flex-shrink: 0;
}

.pt-worry-label {
    flex: 1;
    line-height: 1.4;
}

.pt-worry-arrow {
    color: var(--pt-primary);
    flex-shrink: 0;
}

/* ==============================
   4. ペアトレとは（図解）
   ============================== */

.pt-about-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
}

.pt-about-figure {
    margin: 0;
}

.pt-about-figure img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--pt-line);
    box-shadow: var(--pt-card-shadow);
}

.pt-about-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pt-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pt-point > .pt-icon {
    color: var(--pt-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.pt-point b {
    display: block;
    color: var(--pt-ink);
    margin-bottom: 2px;
}

.pt-point span {
    font-size: .88em;
    color: var(--pt-ink-light);
    line-height: 1.7;
}

.pt-about-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* ==============================
   5. 講座カード
   ============================== */

.pt-event-title {
    margin: 0 0 4px 0;
    font-size: 1.02em;
    line-height: 1.5;
    font-weight: 700;
}

.pt-event-title a {
    color: var(--pt-ink);
    text-decoration: none;
}

.pt-event-title a:hover {
    color: var(--pt-primary-dark);
}

.pt-events-cta {
    text-align: center;
    margin-top: 28px;
}

/* ==============================
   5.5 講座のようす（写真バンド）
   ============================== */

.pt-photo-band {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 76px 0;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.pt-photo-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pt-photo-band-overlay {
    position: relative;
    width: 100%;
    padding: 64px 32px 26px;
    background: linear-gradient(transparent, rgba(28, 90, 78, .88));
    color: #fff;
}

.pt-photo-band-title {
    font-family: var(--pt-font-display);
    font-size: 1.25em;
    font-weight: 700;
    margin: 0 0 4px;
}

.pt-photo-band-sub {
    font-size: .88em;
    color: rgba(255, 255, 255, .85);
    margin: 0;
}

/* ==============================
   6. 比較表
   ============================== */

.pt-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pt-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--pt-line);
    border-radius: 14px;
    overflow: hidden;
    font-size: .9em;
}

.pt-compare-table th,
.pt-compare-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--pt-line);
}

.pt-compare-table tbody tr:last-child th,
.pt-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.pt-compare-table thead th {
    font-family: var(--pt-font-display);
    color: var(--pt-primary-deep);
    font-size: 1.02em;
    background: var(--pt-primary-pale);
}

.pt-compare-table thead th:first-child {
    background: #fff;
}

.pt-compare-table tbody th {
    text-align: left;
    color: var(--pt-ink-light);
    font-weight: 700;
    font-size: .9em;
    width: 120px;
    background: #fff;
}

.pt-td-hl {
    background: #FFF9F2;
}

.pt-price {
    font-family: var(--pt-font-display);
    color: var(--pt-accent-dark);
    font-size: 1.25em;
}

.pt-ok {
    color: #2E7D32;
    font-weight: 900;
}

.pt-table-note {
    font-size: .8em;
    color: var(--pt-ink-light);
    margin-top: 12px;
    text-align: center;
}

.pt-table-note a {
    color: var(--pt-primary-dark);
}

/* ==============================
   7. FAQ（ネイティブ details）
   ============================== */

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

.pt-q {
    background: #fff;
    border: 1px solid var(--pt-line);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}

.pt-q[open] {
    border-color: rgba(47, 143, 126, .45);
}

.pt-q summary {
    list-style: none;
    cursor: pointer;
    padding: 17px 48px 17px 22px;
    font-weight: 700;
    font-size: .95em;
    color: var(--pt-ink);
    position: relative;
}

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

.pt-q summary::after {
    content: "＋";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pt-primary);
    font-family: var(--pt-font-display);
    font-weight: 700;
}

.pt-q[open] summary::after {
    content: "−";
}

.pt-a {
    padding: 0 22px 18px;
    font-size: .9em;
    color: var(--pt-ink-light);
    line-height: 1.8;
}

/* ==============================
   8. 安心材料
   ============================== */

.pt-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pt-trust-card {
    background: #fff;
    border: 1px solid var(--pt-line);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: var(--pt-card-shadow);
}

.pt-trust-card > .pt-icon {
    color: var(--pt-primary);
    margin-bottom: 10px;
}

.pt-trust-card b {
    display: block;
    color: var(--pt-ink);
    margin-bottom: 6px;
}

.pt-trust-card span {
    font-size: .86em;
    color: var(--pt-ink-light);
    line-height: 1.7;
}

.pt-trust-card a {
    color: var(--pt-primary-dark);
}

/* 書籍カードはホームでは表紙画像を出さない（自動生成画像のため） */
.pt-home .resource-thumbnail {
    display: none;
}

/* ==============================
   10. 新着記事（テキストリスト）
   ============================== */

.pt-news-list {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--pt-line);
    border-radius: 14px;
    overflow: hidden;
}

.pt-news-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    text-decoration: none;
    border-bottom: 1px solid var(--pt-line);
    transition: background .2s ease;
}

.pt-news-item:last-child {
    border-bottom: none;
}

.pt-news-item:hover {
    background: var(--pt-primary-pale);
}

.pt-news-item time {
    font-size: .82em;
    color: var(--pt-ink-light);
    flex-shrink: 0;
}

.pt-news-cat {
    flex-shrink: 0;
    font-size: .75em;
    font-weight: 700;
    background: var(--pt-primary-pale);
    color: var(--pt-primary-dark);
    padding: 3px 10px;
    border-radius: 999px;
}

.pt-news-title {
    color: var(--pt-ink);
    font-size: .92em;
    line-height: 1.5;
}

.pt-news-item:hover .pt-news-title {
    color: var(--pt-primary-deep);
}

/* ==============================
   11. クロージングCTA
   ============================== */

.pt-closing {
    position: relative;
    background:
        linear-gradient(rgba(31, 99, 84, .82), rgba(28, 90, 78, .92)),
        url("../img/closing-park.webp") center 40% / cover no-repeat,
        linear-gradient(135deg, var(--pt-primary-dark), var(--pt-primary-deep));
    padding: 64px 20px;
    text-align: center;
}

.pt-closing-title {
    font-family: var(--pt-font-display);
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 8px;
}

.pt-closing-sub {
    color: rgba(255, 255, 255, .85);
    font-size: .95em;
    margin: 0 0 26px;
}

.pt-closing-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-closing-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98em;
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
    transition: background .25s ease;
}

.btn-closing-ghost:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* ==============================
   レスポンシブ
   ============================== */

@media (max-width: 980px) {
    .pt-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pt-about-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pt-worry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pt-section {
        margin: 56px 0;
    }

    .pt-section-title {
        font-size: 1.35em;
    }

    .pt-hero {
        padding: 36px 20px 40px;
    }

    .pt-hero-copy h1 {
        font-size: 1.75em;
    }

    .pt-hero-lead {
        font-size: .92em;
    }

    .pt-search-card {
        padding: 20px;
    }

    .pt-search-regions {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-strip-inner {
        gap: 10px;
    }

    .pt-strip-step {
        font-size: .82em;
        gap: 6px;
    }

    .pt-strip-num {
        width: 24px;
        height: 24px;
    }

    .pt-trust-grid {
        grid-template-columns: 1fr;
    }

    .pt-news-item {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .pt-news-title {
        width: 100%;
    }

    .pt-closing-title {
        font-size: 1.25em;
    }
}

@media (max-width: 480px) {
    .pt-worry-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pt-worry-card {
        padding: 14px 16px;
    }
}
