	@media screen and (max-width: 768px) {
    .mypage-modern-banner {
        display: none !important;
    }


    .sp-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        /* 専有面積を抑えるため高さを48pxに（ヘッダー44pxに合わせたスリム設計） */
        height: 48px; 
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #ddd;
        z-index: 100000;
        /* iPhoneのホームバーエリアの余白を確保 */
        padding-bottom: env(safe-area-inset-bottom); 
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 11.5px;
        font-weight: 600;
        line-height: 1.2;
    }

    /* 各メニュー間の仕切り線（最後のアイテム以外に適用） */
    .nav-item:not(:last-child) {
        border-right: 1px solid #eee;
    }
    .nav-item i {
        /* 高さを抑えるためアイコンサイズを微調整 */
        font-size: 15px; 
        margin-bottom: 1px;
        color: var(--corporate-color);
    }

    /* タップ時のフィードバック */
    .nav-item:active {
        background-color: #f5f5f5;
    }
    /* 3. ログインボタンだけ色を変えて強調する場合 */
    .login-item {
        background-color: #f0f4f9; /* ログインだけ少し背景色を変えて見つけやすく */
    }
    
    .login-item i {
        color: #004098; /* ロイヤルブルー */
    }

    /* ページ最下部が隠れないようbodyに余白を追加 */
    body {
        padding-bottom: calc(48px + env(safe-area-inset-bottom)) !important;
    }
}

/* PCでは完全に非表示 */
@media screen and (min-width: 769px) {
    .sp-bottom-nav {
        display: none;
    }
}
/* 青系シミュレーターのデザイン */
.interest-simulator {
    background-color: #f0f4f9; /* 淡いブルーグレーの背景 */
    padding: 30px 15px;
    border-radius: 20px;
    margin: 20px 0;
    border: 1px solid #d1dbe5;
}

.simulator-container h3 {
    text-align: center;
    color: #004098; /* 誠実なロイヤルブルー */
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.select-label {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #445566;
}

.button-grid {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.sim-btn {
    flex: 1;
    padding: 10px 5px;
    background: #fff;
    border: 2px solid #bcd0e5;
    border-radius: 8px;
    font-weight: bold;
    color: #004098;
    cursor: pointer;
    transition: all 0.2s;
}

/* 選択中のボタン：青色で強調 */
.sim-btn.active {
    background: #0056cc;
    border-color: #0056cc;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 86, 204, 0.3);
}

.sim-result-card {
    background: #fff;
    border: 2px solid #0056cc;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.result-title {
    font-size: 0.95rem;
    color: #004098;
    margin-bottom: 5px;
}

/* 受取利息：ゴールド系で「増える」イメージを強調 */
.result-amount {
    color: #b38b00; 
    margin: 5px 0;
}

.amount-num {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.result-note {
    font-size: 0.8rem;
    color: #667788;
    border-top: 1px dashed #bcd0e5;
    padding-top: 10px;
    margin-top: 10px;
}

.sim-cta {
    margin-top: 20px;
    text-align: center;
}

/* ボタンも青系で統一 */
.btn-contact {
    display: inline-block;
    background: linear-gradient(135deg, #0056cc, #004098);
    color: #fff;
    padding: 14px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 64, 152, 0.3);
    transition: transform 0.2s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
.reason-high-rate-blue {
    padding: 60px 20px;
    background-color: #f8fafc;
}

.reason-container {
    max-width: 1100px;
    margin: 0 auto;
}

.reason-title {
    text-align: center;
    color: #004098;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

/* フロー（流れ）のレイアウト */
.reason-flow {
    display: flex;
    flex-direction: column; /* モバイルは縦並び */
    align-items: center;
    gap: 15px;
}

.reason-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid #d1dbe5;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.reason-card h4 {
    color: #004098;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
}

.reason-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #445566;
}

.reason-icon {
    font-size: 2.5rem;
    color: #0056cc;
}

/* 記号（＋、＝）の部分 */
.reason-arrow {
    font-size: 1.5rem;
    color: #004098;
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #d1dbe5;
}

/* 最後のカード（還元）の強調 */
.reason-card.highlight {
    border: 2px solid #b38b00;
    background-color: #fffdf5;
    max-width: 450px;
}

.reason-card.highlight .reason-icon,
.reason-card.highlight h4 {
    color: #b38b00;
}

.highlight-text {
    font-size: 1.1rem !important;
    color: #333 !important;
}

.highlight-text strong {
    font-size: 1.4rem;
    color: #b38b00;
}

.reason-summary {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #004098;
    line-height: 1.7;
    margin-top: 40px;
}

/* PCレイアウト：横並び */
@media screen and (min-width: 992px) {
    .reason-flow {
        flex-direction: row;
        justify-content: center;
    }
    
    .reason-arrow {
        transform: none;
    }
}
/* 店舗案内セクション全体 */
.branch-navigation {
    padding: 60px 20px;
    background-color: #f8fafc;
}

.area-group {
    margin-bottom: 40px;
}

/* 地域ラベル（大阪・兵庫） */
.area-label {
    font-size: 1.3rem;
    font-weight: bold;
    color: #004098; /* ロイヤルブルー */
    border-bottom: 2px solid #004098;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-hyogo {
    color: #0056cc;
    border-color: #0056cc;
}

/* カードグリッド */
.branch-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* 個別カード */
.branch-card {
    background: #fff;
    border: 1px solid #d1dbe5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 64, 152, 0.1);
    border-color: #004098;
}

.branch-info {
    padding: 20px;
}

.branch-name {
    font-size: 1.15rem;
    font-weight: bold;
    color: #004098;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.branch-address {
    font-size: 0.9rem;
    color: #445566;
    line-height: 1.5;
}

/* 昼休業バッジ */
.badge-lunch {
    font-size: 0.7rem;
    background-color: #ffedeb;
    color: #e8351d;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: normal;
}

/* アクションボタン（電話・詳細） */
.branch-actions {
    display: flex;
    border-top: 1px solid #d1dbe5;
}

.btn-action-tel, .btn-action-detail {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none !important;
}

.btn-action-tel {
    color: #004098;
    background: #fff;
}

.btn-action-detail {
    color: #fff;
    background: #004098;
}

.btn-action-tel:hover { background: #f0f4f9; }
.btn-action-detail:hover { background: #003380; }

/* モバイル対応：カードを1列に */
@media screen and (max-width: 600px) {
    .branch-card-grid {
        grid-template-columns: 1fr;
    }
}
/* タブ部分のデザイン */
.branch-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.tab-btn {
    flex: 1;
    max-width: 200px;
    padding: 12px 0;
    border: 2px solid #004098;
    background: #fff;
    color: #004098;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #004098;
    color: #fff;
}

/* 表示・非表示の制御 */
.branch-content {
    display: none; /* 初期は非表示 */
}

.branch-content.active {
    display: block; /* activeクラスがある時だけ表示 */
}

/* モバイル時のカード並び（縦並びに戻す） */
@media screen and (max-width: 768px) {
    .branch-card-grid {
        display: block !important; /* 横スクロールを解除 */
    }
    .branch-card-grid > div {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px;
    }
}
/* メール定期預金セクション */
.mail-deposit-section {
    padding: 60px 20px;
    background-color: #fff;
}

.mail-intro-card {
    background: #f0f7ff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #d1dbe5;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.mail-intro-text { flex: 1; min-width: 280px; }
.mail-intro-text h3 { color: #004098; font-weight: bold; font-size: 1.5rem; margin-bottom: 10px; }
.mail-check-list { list-style: none; padding: 0; margin: 0; }
.mail-check-list li { font-weight: bold; color: #445566; margin-bottom: 5px; font-size: 0.95rem; }
.mail-check-list i { color: #0056cc; margin-right: 8px; }

/* ステップフロー */
.step-flow-title { text-align: center; color: #004098; font-weight: bold; margin-bottom: 25px; font-size: 1.2rem; }
.step-flow { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.step-item {
    background: #fff;
    border: 1px solid #d1dbe5;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.step-num { font-size: 0.75rem; color: #0056cc; font-weight: bold; display: block; margin-bottom: 10px; }
.step-icon { font-size: 2rem; color: #004098; margin-bottom: 10px; }
.step-item h5 { font-weight: bold; margin-bottom: 10px; color: #333; }
.step-item p { font-size: 0.85rem; color: #666; margin: 0; }
.step-arrow { color: #cbd5e0; font-size: 1.2rem; }

.step-item.highlight { border: 2px solid #b38b00; background-color: #fffdf5; }
.step-item.highlight .step-icon, .step-item.highlight .step-num { color: #b38b00; }

/* CTAボタン */
.mail-cta-area { text-align: center; margin-top: 40px; }
.btn-mail-detail {
    display: inline-block;
    background: #004098;
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 35px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 64, 152, 0.2);
}

/* PC用横並び調整 */
@media screen and (min-width: 992px) {
    .step-flow { flex-direction: row; justify-content: center; align-items: stretch; }
    .step-arrow { align-self: center; transform: none; }
    .step-arrow i { transform: rotate(0deg); }
}
@media screen and (max-width: 991px) {
    .step-arrow i { transform: rotate(90deg); } /* モバイルでは下向き矢印 */
}
/* FAQセクション */
.faq-section {
    padding: 60px 20px;
    background-color: #f8fafc;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #d1dbe5;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: none;
    border: none;
    text-align: left;
    font-weight: bold;
    color: #004098;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
}

.faq-q-icon {
    background: #004098;
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.faq-question i {
    margin-left: auto;
    color: #cbd5e0;
    transition: transform 0.3s;
}

/* アコーディオンの開閉アニメーション */
.faq-answer {
    display: none; /* JSで制御 */
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.faq-answer-inner {
    padding: 20px;
    display: flex;
    gap: 15px;
}

.faq-a-icon {
    color: #b38b00; /* ゴールド */
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #445566;
}

/* 開いている時のスタイル */
.faq-item.active .faq-question i {
    transform: rotate(45deg); /* ＋を×に変える */
}

.faq-more-area {
    text-align: center;
    margin-top: 30px;
}

.btn-faq-more {
    color: #004098;
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.95rem;
}
/* モダン・マイページバナー */
.mypage-modern-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    margin: 20px 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mypage-modern-banner:hover {
    border-color: #004098;
    box-shadow: 0 4px 12px rgba(0, 64, 152, 0.05);
}

.mypage-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mypage-icon-wrap {
    font-size: 1.8rem;
    color: #004098;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 10px;
}

.mypage-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: bold;
    color: #004098;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.mypage-lead {
    font-size: 1.15rem !important;
    font-weight: bold;
    color: #1a202c;
    margin: 0 !important;
    border: none !important;
}

.mypage-sub {
    font-size: 0.85rem;
    color: #718096;
    margin: 2px 0 0 0;
}

/* 今っぽいフラットなボタン */
.btn-mypage-flat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #004098;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-mypage-flat:hover {
    background: #0056cc;
}

/* モバイル対応：縦に詰めすぎないレイアウト */
@media screen and (max-width: 768px) {
    .mypage-modern-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    .mypage-content {
        flex-direction: column;
        gap: 10px;
    }
    .mypage-icon-wrap {
        margin: 0 auto;
    }
    .mypage-action-wrap {
        width: 100%;
    }
    .btn-mypage-flat {
        width: 100%;
        justify-content: center;
    }
}
/* 商品・サービスセクション */
.services-section {
    padding: 60px 20px;
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #004098;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 64, 152, 0.05);
}

.service-icon {
    font-size: 2.5rem;
    color: #004098;
    margin-bottom: 20px;
}

.service-name {
    font-size: 1.2rem !important;
    font-weight: bold;
    color: #004098;
    margin-bottom: 10px !important;
    border: none !important;
}

.service-sub-name {
    font-size: 0.85rem;
    color: #667788;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-desc {
    font-size: 0.9rem;
    color: #445566;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* ボタンの位置を揃える */
}

.btn-service-detail {
    display: block;
    background: #fff;
    border: 1px solid #004098;
    color: #004098 !important;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.service-card:hover .btn-service-detail {
    background: #004098;
    color: #fff !important;
}
/* 各アイコンの個別アクセントカラー */
.is-depo .service-icon { background: #fff9e6; color: #b38b00; } /* ゴールド */
.is-loan .service-icon { background: #eef2ff; color: #1e3a8a; } /* ネイビーブルー */
.is-calc .service-icon { background: #f0fff4; color: #276749; } /* エメラルド */
.is-util .service-icon { background: #f0f4f9; color: #004098; } /* ロイヤルブルー */
.is-depo:hover .btn-service-detail { background: #b38b00; color: #fff !important; border-color: #b38b00; }
.is-loan:hover .btn-service-detail { background: #1e3a8a; color: #fff !important; border-color: #1e3a8a; }
.is-calc:hover .btn-service-detail { background: #276749; color: #fff !important; border-color: #276749; }
.is-util:hover .btn-service-detail { background: #004098; color: #fff !important; border-color: #004098; }
/* サービス案内：3枚構成用 */
.service-grid.is-3-cols {
    display: grid;
    /* 最大3列。1枚あたり最小300px〜最大1fr。3枚が中央に寄るように調整 */
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 各カードの高さも3枚だと揃いやすくなります */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* モバイル対応：3枚だと縦に並んだ時もスッキリします */
@media screen and (max-width: 991px) {
    .service-grid.is-3-cols {
        /* タブレットサイズでは2枚/1枚に自動調整 */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .service-grid.is-3-cols {
        grid-template-columns: 1fr; /* スマホは1列 */
    }
}
/* モバイル調整 */
@media screen and (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr; /* スマホは1列 */
    }
    .service-card {
        padding: 25px 20px;
    }
}
