/* ========================================
   Chronote 料金ページ専用スタイル
   ======================================== */

/* --- セクション共通 --- */
.pricing-section__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 24px;
}

.pricing-section__title {
    font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.05em;
}

/* --- ボタン共通 --- */
.pricing-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.pricing-btn--primary {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pricing-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #ffffff;
    text-decoration: none;
}

.pricing-btn--primary:active {
    transform: translateY(0);
}

button.pricing-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* SP用改行 */
.pricing-sp-br {
    display: none;
}


/* ========================================
   1. ヘッダーセクション
   ======================================== */
.pricing-header {
    background: #f9f6f2;
}

.pricing-header .pricing-section__inner {
    padding-top: 0;
}

.pricing-header__lead {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    color: #333;
}

.pricing-header__em {
    color: #764ba2;
    font-size: 22px;
    font-weight: 700;
}


/* ========================================
   2. ステップフロー
   ======================================== */
.pricing-flow {
    position: relative;
    padding-left: 100px;
}

/* --- 左の縦ライン --- */
.pricing-flow::before {
    content: '';
    position: absolute;
    left: 46px;
    top: 14px;
    bottom: -32px;
    width: 2px;
    background: #e0dbd5;
}

/* --- 各ステップ --- */
.pricing-flow__step {
    position: relative;
    padding-bottom: 8rem;
}

.pricing-flow__step:last-child {
    padding-bottom: 0;
}

/* --- ステップヘッダー --- */
.pricing-flow__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pricing-flow__badge {
    position: absolute;
    left: -90px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: #764ba2;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    z-index: 1;
}

.pricing-flow__title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.pricing-flow__label {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 20px;
}

.pricing-flow__label--free {
    background: #d4edda;
    color: #155724;
}

.pricing-flow__label--paid {
    background: #f0ebf5;
    color: #764ba2;
}

/* --- ステップ説明 --- */
.pricing-flow__desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- 容量ボックス（STEP 2） --- */
.pricing-flow__capacity {
    background: linear-gradient(135deg, #f0ebf5 0%, #e8eaf6 100%);
    border-radius: 12px;
    padding: 2px;
    margin-bottom: 20px;
}

.pricing-flow__capacity-inner {
    background: #ffffff;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
}

.pricing-flow__capacity-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pricing-flow__capacity-number {
    font-size: 42px;
    font-weight: 700;
    color: #764ba2;
    font-family: "Noto Sans JP", sans-serif;
}

.pricing-flow__capacity-unit {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.pricing-flow__capacity-note {
    font-size: 15px;
    color: #555;
    text-align: center;
}

/* --- 補足リスト --- */
.pricing-flow__notes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-flow__notes li {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    padding: 4px 0 4px 20px;
    position: relative;
}

.pricing-flow__notes li::before {
    content: '・';
    position: absolute;
    left: 4px;
    color: #999;
}

/* --- サンプルセクション（STEP2-3間） --- */
.pricing-flow__sample {
    background: #f9f6f2;
    border-radius: 16px;
    padding: 40px 32px 170px;
    text-align: center;
}

.pricing-flow__sample-title {
    font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.pricing-flow__sample-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 32px;
    text-align: center;
}

.pricing-flow__sample-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
}

.pricing-flow__sample-card {
    max-width: 200px;
}

.pricing-flow__sample-image {
    aspect-ratio: 127 / 188;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
}

.pricing-flow__sample-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.pricing-flow__sample-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.pricing-flow__sample-spec {
    font-size: 12px;
    color: #888;
}

/* --- メイン料金カード（STEP 3） --- */
.pricing-flow__card {
    background: #ffffff;
    border: 2px solid #764ba2;
    border-radius: 16px;
    padding: 40px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(118, 75, 162, 0.08);
}

.pricing-flow__card-price-label {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 8px;
}

.pricing-flow__card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-flow__card-price-note {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-bottom: 32px;
}

.pricing-flow__card-price-number {
    font-size: 56px;
    font-weight: 700;
    color: #764ba2;
    font-family: "Noto Sans JP", sans-serif;
}

.pricing-flow__card-price-unit {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

/* 料金の目安テーブル */
.pricing-flow__card-example {
    padding: 0 8px;
    margin-bottom: 24px;
}

.pricing-flow__card-example-label {
    font-size: 15px;
    font-weight: 700;
    color: #764ba2;
    margin-bottom: 16px;
}

.pricing-flow__card-example-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-flow__card-example-table tr {
    border-bottom: 1px solid #e8e4df;
}

.pricing-flow__card-example-table tr:last-child {
    border-bottom: none;
}

.pricing-flow__card-example-table td {
    padding: 12px 0 12px 20px;
    font-size: 16px;
    color: #333;
}

.pricing-flow__card-example-table .price-cell {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    white-space: nowrap;
    padding-left: 0;
}

/* 含まれるもの */
.pricing-flow__card-includes {
    border-top: 1px solid #e5e0e8;
    padding: 24px 0 0 8px;
}

.pricing-flow__card-includes-title {
    font-size: 15px;
    font-weight: 700;
    color: #764ba2;
    margin-bottom: 16px;
}

.pricing-flow__card-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.pricing-flow__card-includes-list li {
    font-size: 15px;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.pricing-flow__card-includes-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #764ba2;
    font-weight: 700;
}

/* --- サブカード（画像補正・表紙デザイン） --- */
.pricing-flow__sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pricing-flow__sub-card {
    background: #ffffff;
    border: 1px solid #e5e0e8;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pricing-flow__sub-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: #764ba2;
}

.pricing-flow__sub-icon svg {
    width: 100%;
    height: 100%;
    transform: translateY(18px);
}

.pricing-flow__sub-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.pricing-flow__sub-card h3 {
    margin: 3em 0 0.3em !important;
}

.pricing-flow__sub-price {
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.pricing-flow__sub-amount {
    font-size: 24px;
    font-weight: 700;
    color: #764ba2;
}

.pricing-flow__sub-desc {
    font-size: 14px;
    color: #555;
    text-align: center;
}

/* サブカード内 特徴リスト */
.pricing-flow__sub-features {
    list-style: none;
    padding: 10px 30px;
    margin: 8px 0 0;
    display: inline-block;
    text-align: left;
}

.pricing-flow__sub-features li {
    font-size: 13px;
    color: #555;
    padding: 2px 0 2px 18px;
    position: relative;
}

.pricing-flow__sub-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #764ba2;
    font-weight: 700;
}

/* サブカード内 注記 */
.pricing-flow__sub-note {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

/* --- 印刷・製本代行カード（STEP 4） --- */
.pricing-flow__option-card {
    background: #ffffff;
    border: 1px solid #e5e0e8;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.pricing-flow__option-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: #764ba2;
}

.pricing-flow__option-icon svg {
    width: 100%;
    height: 100%;
    transform: translateY(18px);
}

.pricing-flow__option-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 3em 0 0.3em !important;
}

.pricing-flow__option-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.pricing-flow__option-price-label {
    font-size: 13px;
    color: #888;
}

.pricing-flow__option-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #764ba2;
    font-family: "Noto Sans JP", sans-serif;
}

.pricing-flow__option-price-unit {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.pricing-flow__option-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

/* 印刷カード内テーブル調整 */
.pricing-flow__option-card .pricing-flow__card-example-table td {
    font-size: 15px;
}

.pricing-flow__option-card .pricing-flow__card-example-table .price-cell {
    font-size: 15px;
    min-width: 120px;
}

/* 税別注記 */
.pricing-flow__tax-note {
    text-align: right;
    font-size: 13px;
    color: #888;
    margin-top: 16px;
}


/* ========================================
   3. CTA（原稿用紙背景 — フロントページヒーローと同じ）
   ======================================== */
.pricing-cta {
    background: #f9f6f2;
    color: #1a1a1a;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 原稿用紙パターン */
.pricing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            to right,
            transparent 0px,
            transparent 37px,
            #f9f6f2 37px,
            #f9f6f2 46px
        ),
        repeating-linear-gradient(
            to right,
            #cdc4b7 0px,
            #cdc4b7 1px,
            transparent 1px,
            transparent 36px,
            #cdc4b7 36px,
            #cdc4b7 37px,
            transparent 37px,
            transparent 46px
        ),
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 31px,
            #d8d0c5 31px,
            #d8d0c5 32px
        );
    background-size: 46px 32px, 46px 32px, 46px 32px;
    pointer-events: none;
    z-index: 0;
}

/* 天地グラデーション */
.pricing-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, #f9f6f2 0%, transparent 12%),
        linear-gradient(to top, #f9f6f2 0%, transparent 12%);
    pointer-events: none;
    z-index: 0;
}

.pricing-cta .pricing-section__inner {
    padding: 100px 24px 80px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-cta__message {
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.pricing-cta__sub {
    font-size: 17px;
    font-weight: 400;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.pricing-cta__buttons {
    margin-bottom: 0;
}


/* ========================================
   レスポンシブ
   ======================================== */

/* タブレット */
@media (max-width: 768px) {
    .pricing-section__inner {
        padding: 60px 20px;
    }

    .pricing-section__title {
        font-size: 24px;
        margin-bottom: 36px;
    }

    .pricing-sp-br {
        display: inline;
    }

    /* ヘッダー */
    .pricing-header__lead {
        font-size: 16px;
    }

    /* フロー */
    .pricing-flow {
        padding-left: 75px;
    }

    .pricing-flow::before {
        left: 36px;
    }

    .pricing-flow__badge {
        left: -67px;
        font-size: 10px;
        padding: 5px 12px;
    }

    .pricing-flow__title {
        font-size: 20px;
    }

    .pricing-flow__step {
        padding-bottom: 36px;
    }

    /* 料金カード */
    .pricing-flow__card {
        padding: 28px 20px;
    }

    .pricing-flow__card-price-number {
        font-size: 42px;
    }

    .pricing-flow__card-includes-list {
        grid-template-columns: 1fr;
    }

    /* サンプルセクション */
    .pricing-flow__sample {
        padding: 32px 20px;
    }

    .pricing-flow__sample-grid {
        gap: 16px;
    }

    /* サブカード */
    .pricing-flow__sub-grid {
        grid-template-columns: 1fr;
    }

    /* 容量ボックス */
    .pricing-flow__capacity-number {
        font-size: 36px;
    }

    /* CTA */
    .pricing-cta__message {
        font-size: 1.7rem;
    }

    .pricing-cta__sub {
        font-size: 15px;
    }
}

/* モバイル */
@media (max-width: 480px) {
    .pricing-section__inner {
        padding: 48px 24px;
    }

    .pricing-section__title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .pricing-btn {
        padding: 14px 32px;
        font-size: 15px;
    }

    /* ヘッダー */
    .pricing-header__lead {
        font-size: 15px;
        text-align: justify;
    }

    .pricing-header__lead br.pricing-sp-br {
        display: none;
    }

    .pricing-header__em {
        font-size: 19px;
    }

    /* フロー */
    .pricing-flow {
        padding-left: 0;
    }

    .pricing-flow::before {
        display: none;
    }

    .pricing-flow__header {
        flex-wrap: wrap;
        align-items: center;
    }

    .pricing-flow__badge {
        position: static;
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10px;
        padding: 6px 16px;
        margin-bottom: 8px;
        font-size: 18px;
        border-radius: 20px;
        background: #764ba2;
    }

    .pricing-flow__title {
        font-size: 18px;
    }

    .pricing-flow__desc {
        font-size: 15px;
    }

    .pricing-flow__step {
        padding-bottom: 56px;
    }

    /* サンプルセクション */
    .pricing-flow__sample {
        padding: 28px 24px;
        margin-bottom: 56px;
    }

    .pricing-flow__sample-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .pricing-flow__sample-title {
        font-size: 18px;
    }

    .pricing-flow__sample-desc {
        text-align: justify;
    }

    /* 容量ボックス説明文 */
    .pricing-flow__capacity-note {
        text-align: justify;
    }

    /* 補足リスト */
    .pricing-flow__notes li {
        padding-left: 1em;
        text-indent: -1em;
    }

    .pricing-flow__notes li::before {
        position: static;
        display: inline;
    }

    /* STEP4カード説明文 */
    .pricing-flow__option-desc,
    .pricing-flow__sub-desc {
        text-align: justify;
    }

    /* 料金カード */
    .pricing-flow__card {
        padding: 24px 24px;
    }

    .pricing-flow__card-price-number {
        font-size: 36px;
    }

    .pricing-flow__card-example {
        padding: 16px;
    }

    .pricing-flow__card-example-table td {
        font-size: 15px;
        padding: 10px 14px;
    }

    .pricing-flow__card-example-table .price-cell {
        padding: 10px 14px 10px 8px;
    }


    /* 容量ボックス */
    .pricing-flow__capacity-number {
        font-size: 32px;
    }

    .pricing-flow__capacity-unit {
        font-size: 16px;
    }

    /* CTA */
    .pricing-cta .pricing-section__inner {
        padding: 64px 24px;
    }

    .pricing-cta__message {
        font-size: 1.4rem;
    }

    .pricing-cta__sub {
        font-size: 14px;
    }
}
