/* ====================================
   制作料金ページスタイル (price.css)
==================================== */
/* 共通設定 */
.price-page .inner-container {
    max-width: 1100px;
    /* 少し広めに */
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* ヘッダー */
.price-header {
    text-align: center;
    margin-bottom: 60px;
}

.price-header .page-title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 0.1em;
    font-family: 'Outfit', sans-serif;
    color: #333;
}

.price-header .page-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

.price-header .page-description {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* プラン比較セクション */
.price-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    align-items: flex-start;
    /* 高さ揃えをやめて、個別に伸ばす */
    flex-wrap: wrap;
    /* スマホ対策 */
}

/* プランカード共通 */
.plan-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 31%;
    /* PCで3列 */
    min-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ヘッダー部分 */
.plan-header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

/* 価格 */
.plan-price {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    /* 価格エリアの高さ確保 */
}

.plan-price .tax-note {
    font-size: 12px;
    font-weight: normal;
    color: #999;
}

/* 割引価格 */
.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.current-price {
    color: #d32f2f;
    /* 赤色で強調 */
    font-size: 32px;
}

/* 特徴サマリー */
.plan-features-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.plan-features-summary li {
    font-size: 13px;
    margin-bottom: 8px;
    padding-left: 1.2em;
    position: relative;
    color: #555;
}

.plan-features-summary li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

/* ボディ部分 */
.plan-body {
    padding: 20px;
    flex: 1;
}

.plan-concept {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

/* 詳細トグル (アコーディオン) */
.toggle-input {
    display: none;
}

.toggle-label {
    display: block;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    color: #333;
    padding: 10px 0;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 4px;
    transition: background 0.3s;
}

.toggle-label:hover {
    background: #f0f0f0;
}

.toggle-label::after {
    content: "詳細を見る ▼";
}

.toggle-input:checked+.toggle-label::after {
    content: "詳細を閉じる ▲";
}

.plan-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    opacity: 0;
}

.toggle-input:checked~.plan-details-content {
    max-height: 1000px;
    /* 十分な高さ */
    opacity: 1;
    margin-top: 20px;
    transition: max-height 0.6s ease-in, opacity 0.4s ease-in;
}

/* 詳細スペックリスト */
.plan-specs {
    margin: 0;
    text-align: left;
}

.plan-specs dt {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    margin-bottom: 4px;
    margin-top: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2px;
}

.plan-specs dt:first-child {
    margin-top: 0;
}

.plan-specs dd {
    margin: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

.plan-specs ul {
    padding-left: 1.2em;
    margin: 5px 0 0 0;
}

.plan-specs li {
    margin-bottom: 4px;
}

.spec-note {
    font-size: 11px;
    color: #888;
}

/* フッター（ボタン） */
.plan-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.btn-select-plan {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #fff;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.btn-select-plan:hover {
    background: #f0f0f0;
}

/* スタンダードプラン（推奨）のデザイン */
.plan-standard {
    border-color: #333;
    transform: scale(1.02);
    /* 少し大きく */
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.plan-standard:hover {
    transform: scale(1.02) translateY(-5px);
}

.recommend-badge {
    background: #d32f2f;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 6px 6px 0 0;
}

/* バッジがある分ヘッダーをずらす */
.plan-standard .plan-header {
    margin-top: 25px;
}

.btn-primary {
    background: #333;
    color: #fff;
}

.btn-primary:hover {
    background: #000;
    color: #fff;
}

/* オプションセクション */
.additional-options-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.advanced-plan-section,
.option-service-section {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.option-title {
    font-size: 20px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-weight: 700;
}

.option-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.text-link-arrow {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    transition: opacity 0.3s;
}

.text-link-arrow:hover {
    opacity: 0.7;
}

/* サーバー・ドメインオプション */
.server-domain-option {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.sd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.sd-header h4 {
    margin: 0;
    font-size: 16px;
}

.sd-price {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.sd-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.sd-list {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13px;
    color: #333;
}

.sd-list li {
    margin-bottom: 5px;
}

.sd-list .note {
    font-size: 11px;
    color: #888;
}

/* その他オプション */
.other-options h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.oo-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.oo-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oo-tags li {
    font-size: 12px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 20px;
    color: #555;
}

/* 戻るボタン */
.btn-simple {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-simple:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .price-plans {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        width: 100%;
        max-width: 500px;
    }

    .plan-standard {
        transform: none;
        order: -1;
        /* 重要なので一番上に */
        margin-bottom: 20px;
    }

    .plan-standard:hover {
        transform: none;
    }

    .additional-options-wrapper {
        flex-direction: column;
        gap: 20px;
    }
}