/* ================================================================
   takuhai.css  –  宅配受付裁断代行 サービス説明ページ専用スタイル
   配置先: ./assets/css/takuhai.css
   top.cssを継承し差分のみ定義
   アクセントカラー: #1a73e8（サイト共通ブルー）
   ================================================================ */

:root {
    --th-accent:       #2e7d32;
    --th-accent-dark:  #1b5e20;
    --th-accent-light: #e8f5e9;
    --th-green:        #2e7d32;
    --th-green-light:  #e8f5e9;
    --th-red:          #c62828;
    --th-text:         #1a1a1a;
    --th-text-sub:     #555;
    --th-text-muted:   #888;
    --th-border:       #e0e0e0;
    --th-bg-tint:      #f8f9fa;
    --th-radius:       10px;
    --th-shadow:       0 2px 16px rgba(0,0,0,.07);
}

/* ── ヒーロー ────────────────────────────────── */
.th-hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #43a047 100%);
    color: #fff;
/*    padding: 72px 0 64px; */
    padding: 52px 0 34px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.th-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.th-hero__inner {
    position: relative;
}

.th-hero__label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.th-hero__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.th-hero__sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.8;
    opacity: 0.92;
    margin: 0 0 30px;
}

.th-hero__sub strong {
    font-size: 1.2em;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ── CTAボタン共通 ──────────────────────────── */
.th-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #fff;
    color: var(--th-accent);
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0,0,0,.2);
    transition: transform 0.18s, box-shadow 0.18s;
    letter-spacing: 0.02em;
}

.th-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,.25);
}

.th-cta-btn--hero {
    font-size: 1.1rem;
}

.th-cta-btn__arrow {
    font-size: 1.2rem;
    transition: transform 0.18s;
}

.th-cta-btn:hover .th-cta-btn__arrow {
    transform: translateX(4px);
}

/* ── セクション共通 ──────────────────────────── */
.th-section {
    padding: 64px 0;
}

.th-section--tinted {
    background: var(--th-bg-tint);
}

.th-section__title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 900;
    color: var(--th-text);
    text-align: center;
    margin: 0 0 40px;
    position: relative;
    padding-bottom: 16px;
}

.th-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: var(--th-accent);
    border-radius: 2px;
}

.th-section__lead {
    text-align: center;
    font-size: 1rem;
    color: var(--th-text-sub);
    line-height: 1.9;
    margin: -20px 0 40px;
}

/* ── サービスカード ──────────────────────────── */
.th-service-cards {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.th-service-card {
    background: #fff;
    border-radius: var(--th-radius);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--th-shadow);
    border-top: 4px solid var(--th-accent);
    max-width: 280px;
    flex: 1 1 240px;
}

.th-service-card__icon {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 16px;
}

.th-service-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--th-text);
    margin: 0 0 12px;
}

.th-service-card__desc {
    font-size: 0.88rem;
    color: var(--th-text-sub);
    line-height: 1.8;
    margin: 0;
}

.th-service-card--scan {
/*    border-top-color: #1a1a1a; */
}

.th-service-card--scan .th-service-card__title {
    color: #1a1a1a;
}

.th-service-card__divider {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--th-text-muted);
    flex-shrink: 0;
}

/* ── 料金表 ─────────────────────────────────── */
.th-table-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--th-text);
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 4px solid var(--th-accent);
}

.th-table-heading__note {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--th-text-muted);
}

.th-price-table-wrap {
    overflow-x: auto;
    margin-bottom: 16px;
}

.th-price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--th-radius);
    overflow: hidden;
    box-shadow: var(--th-shadow);
    font-size: 0.95rem;
}

.th-price-table thead th {
    background: var(--th-accent);
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 0.88rem;
}

.th-price-table thead th:first-child {
    text-align: left;
}

.th-price-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--th-border);
    vertical-align: middle;
    color: var(--th-text);
}

.th-price-table__price {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--th-accent);
    white-space: nowrap;
}

.th-price-table__price span {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 2px;
}

.th-price-table__free {
    text-align: center;
    vertical-align: middle;
}

.th-free-badge {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--th-green);
    line-height: 1;
    margin-bottom: 6px;
}

.th-price-table__free small {
    display: block;
    font-size: 0.78rem;
    color: var(--th-text-muted);
    line-height: 1.5;
}

/* 注記 */
.th-notes {
    font-size: 0.82rem;
    color: var(--th-text-muted);
    line-height: 1.8;
    padding-left: 20px;
    margin: 0;
}

.th-notes li {
    margin-bottom: 4px;
}

/* 返送料金表 */
.th-shipping-note {
    font-size: 1.2rem;
    color: var(--th-text-sub);
    margin: 0 0 16px;
    line-height: 1.7;
}

.th-shipping-table-wrap {
    overflow-x: auto;
}

.th-shipping-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: var(--th-shadow);
    border-radius: var(--th-radius);
    overflow: hidden;
    font-size: 0.9rem;
}

.th-shipping-table tbody tr {
    border-bottom: 1px solid var(--th-border);
}

.th-shipping-table tbody tr:last-child {
    border-bottom: none;
}

.th-shipping-table td {
    padding: 14px 16px;
    vertical-align: middle;
    color: var(--th-text-sub);
    line-height: 1.7;
}

.th-shipping-table__price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--th-accent);
    white-space: nowrap;
    width: 110px;
    text-align: right;
    padding-right: 20px !important;
}

/* ── ご利用の流れ ────────────────────────────── */
.th-flow-subtitle {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--th-text);
    margin: 0 0 24px;
    padding: 10px 16px;
    background: var(--th-accent-light);
    border-radius: 6px;
}

.th-flow {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.th-flow__step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--th-radius);
    padding: 24px 24px 20px;
    box-shadow: var(--th-shadow);
    border-left: 4px solid var(--th-accent);
}

.th-flow__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--th-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    margin-top: 2px;
}

.th-flow__body h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--th-text);
    margin: 0 0 8px;
}

.th-flow__body p {
    font-size: 0.9rem;
    color: var(--th-text-sub);
    line-height: 1.8;
    margin: 0;
}

.th-flow__body small {
    font-size: 0.82rem;
    color: var(--th-text-muted);
}

.th-flow__connector {
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, var(--th-accent), var(--th-accent-light));
    margin-left: 38px;
    flex-shrink: 0;
}

/* 住所ボックス */
.th-address-box {
    background: var(--th-bg-tint);
    border: 1px solid var(--th-border);
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--th-text-sub);
}

.th-address-box p {
    margin: 0;
}

.th-red {
    color: var(--th-red);
    font-weight: 700;
}

/* 注意事項ボックス */
.th-caution-box {
    background: #fffde7;
    border: 1px solid #ffe082;
    border-left: 4px solid #fbc02d;
    border-radius: var(--th-radius);
    padding: 20px 24px;
    margin-top: 32px;
    font-size: 0.88rem;
    color: var(--th-text-sub);
    line-height: 1.8;
}

.th-caution-box__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--th-text);
    margin: 0 0 12px;
}

.th-caution-box ul {
    margin: 0;
    padding-left: 18px;
}

.th-caution-box li {
    margin-bottom: 4px;
}

/* ── CTAセクション ──────────────────────────── */
.th-cta-section {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}

.th-cta-section__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    margin: 0 0 16px;
}

.th-cta-section__desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.8;
    margin: 0 0 36px;
}

.th-cta-section .th-cta-btn {
    font-size: 1.1rem;
    padding: 18px 48px;
}

.th-cta-section__contact {
    margin: 20px 0 0;
    font-size: 0.88rem;
    opacity: 0.8;
}

.th-cta-section__contact a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* ── レスポンシブ ────────────────────────────── */
@media (max-width: 768px) {
    .th-hero {
        padding: 52px 0 48px;
    }

    .th-section {
        padding: 48px 0;
    }

    .th-flow__step {
        padding: 18px 16px;
        gap: 14px;
    }

    .th-price-table thead th,
    .th-price-table tbody td {
        padding: 10px 10px;
        font-size: 0.85rem;
    }

    .th-price-table__price {
        font-size: 1.5rem;
    }

    .th-shipping-table__price {
        font-size: 1.1rem;
        width: 80px;
    }

    .th-service-cards {
        flex-direction: column;
        align-items: stretch;
    }

    .th-service-card {
        max-width: 100%;
    }

    .th-service-card__divider {
        text-align: center;
    }

    .th-cta-section .th-cta-btn {
        width: 80%;
        justify-content: center;
        padding: 16px 24px;
    }
}
