/* ----------------------------------------
/ 運転代行料金シミュレーター スタイル
/ -------------------------------------- */

/* 基本設定 */
.simulator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ヘッダー */
.simulator-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    border-radius: 12px;
}

.simulator-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 12px 0;
}

.simulator-subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* セクション共通 */
.simulator-content > section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #083579;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #083579;
}

/* 入力セクション */
.input-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-group {
    margin-bottom: 24px;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-label {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.label-icon {
    margin-right: 8px;
    font-size: 20px;
}

.address-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.address-input:focus {
    outline: none;
    border-color: #083579;
    box-shadow: 0 0 0 3px rgba(8, 53, 121, 0.1);
}

/* ボタングループ */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.secondary-btn,
.clear-btn {
    flex: 1;
    height: 44px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #083579;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.secondary-btn {
    background: white;
    color: #083579;
}

.secondary-btn:hover {
    background: #083579;
    color: white;
}

.secondary-btn:active {
    transform: scale(0.98);
}

.clear-btn {
    background: white;
    color: #999;
    border-color: #ddd;
}

.clear-btn:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #666;
}

.clear-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 16px;
}

/* 入力ヒント */
.input-hint {
    font-size: 13px;
    color: #666;
    margin: 8px 0 0 0;
}

/* 地図セクション */
.map-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #ddd;
}

/* アクションセクション（計算ボタン） */
.action-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 料金計算ボタン */
.calculate-button {
    width: 100%;
    height: 56px;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: #083579;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculate-button:hover {
    background: #0a4a9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 53, 121, 0.3);
}

.calculate-button:active {
    transform: translateY(0);
}

.calculate-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* エラーメッセージ */
.error-message {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fee;
    border: 2px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-size: 14px;
    font-weight: bold;
}

/* ローディング */
.loading-message {
    margin-top: 16px;
    padding: 20px;
    text-align: center;
    color: #083579;
}

.loading-message p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #083579;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 結果セクション */
.result-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.result-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.result-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.total-row {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 2px solid #083579;
    border-bottom: none;
}

.total-value {
    font-size: 28px;
    color: #083579;
}

/* 注記 */
.result-note {
    padding: 16px;
    background: #fff9e6;
    border-left: 4px solid #ffcc00;
    border-radius: 4px;
    margin-bottom: 20px;
}

.result-note p {
    margin: 8px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.result-note p:first-child {
    margin-top: 0;
}

.result-note p:last-child {
    margin-bottom: 0;
}

/* 予約ボタン */
.reserve-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    padding: 16px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background: #731631;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 4px;
}

.reserve-button:hover {
    background: #8f1d3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(115, 22, 49, 0.3);
}

.reserve-button:active {
    transform: translateY(0);
}

.phone-number {
    font-size: 16px;
    opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .simulator-wrapper {
        padding: 20px 12px;
    }

    .simulator-header {
        padding: 24px 16px;
        margin-bottom: 24px;
    }

    .simulator-title {
        font-size: 22px;
    }

    .simulator-subtitle {
        font-size: 14px;
    }

    .simulator-content > section {
        margin-bottom: 24px;
    }

    .input-section,
    .map-section,
    .action-section,
    .result-section {
        padding: 20px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .button-group {
        flex-direction: column;
    }

    .secondary-btn,
    .clear-btn {
        width: 100%;
    }

    .map-container {
        height: 350px;
    }

    .calculate-button {
        font-size: 16px;
        height: 52px;
    }

    .result-value {
        font-size: 16px;
    }

    .total-value {
        font-size: 24px;
    }

    .reserve-button {
        font-size: 18px;
        height: 64px;
    }

    .phone-number {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .simulator-wrapper {
        padding: 16px 8px;
    }

    .simulator-header {
        padding: 20px 12px;
    }

    .simulator-title {
        font-size: 20px;
    }

    .simulator-subtitle {
        font-size: 13px;
    }

    .input-section,
    .map-section,
    .action-section,
    .result-section {
        padding: 16px;
    }

    .address-input {
        font-size: 14px;
        height: 44px;
    }

    .calculate-button {
        font-size: 15px;
        height: 48px;
    }

    .map-container {
        height: 300px;
    }

    .result-label {
        font-size: 14px;
    }

    .result-value {
        font-size: 15px;
    }

    .total-value {
        font-size: 22px;
    }

    .reserve-button {
        font-size: 16px;
        height: 60px;
    }
}
/* ----------------------------------------
/ 注意文言セクション
/ -------------------------------------- */

.notice-section {
    background: #fff9e6;
    border: 2px solid #ffcc00;
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notice-content p {
    margin: 12px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.notice-content p:first-child {
    margin-top: 0;
}

.notice-content p:last-child {
    margin-bottom: 0;
}

.notice-content p::before {
    content: "⚠";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff9800;
    font-size: 16px;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .notice-section {
        padding: 20px;
        margin-bottom: 24px;
    }

    .notice-content p {
        font-size: 13px;
        padding-left: 18px;
    }

    .notice-content p::before {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .notice-section {
        padding: 16px;
    }

    .notice-content p {
        font-size: 12px;
        line-height: 1.7;
    }
}


