/* ==========================================================================
   共通変数・リセット
   ========================================================================== */

/* カラー変数（サイト全体で使う色をここにまとめて管理） */
:root {
    --color-main: #027EC1;
    /* メインカラー（青） */
    --color-sub: #7CC7FF;
    /* サブカラー（薄い青・ホバー時など） */
    --color-accent: #A9E3FF;
    /* アクセントカラー（背景の淡い青） */
    --color-base: #FFFFFF;
    /* ベース色（白） */
    --color-bg: #F5FBFF;
    /* セクション背景色（うっすら青みがかった白） */
    --color-text: #222222;
    /* 基本文字色 */
    --color-text-sub: #666666;
    /* 補足文字色（グレー） */
    --color-border: #E6F2FA;
    /* 罫線・枠線の色 */
    --color-green: #1FA85C;
    /* カード用アクセント：緑 */
    --color-green-bg: #E3F7EA;
    /* 緑カードの背景色 */
    --color-purple: #7C5CFC;
    /* カード用アクセント：紫 */
    --color-purple-bg: #ECE8FF;
    /* 紫カードの背景色 */
    --color-blue-bg: #E3F2FF;
    /* 青カード（card--blue）系の薄い背景色。color-accentよりもさらに薄くしたもの（メガメニュー背景などに使用） */
}

/* 全要素のデフォルト余白をリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* WordPressが絵文字を自動的にimg.emojiに変換するため、サイト全体で少し大きめ（1.4倍）に表示 */
img.emoji {
    height: 1.4em !important;
    width: 1.4em !important;
}

/* ==========================================================================
   表示切り替えユーティリティ（PC/SP切り替え）
   ・pc-only：PC（768px以上、タブレットもPC扱い）のみ表示、SPでは非表示
   ・sp-only：SP（768px未満）のみ表示、PCでは非表示
   ：対象要素の元々のdiplay値を変えずにdisplay:noneだけで制御するので、brやspanなど任意の要素に使える
   ========================================================================== */

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .sp-only {
        display: none !important;
    }
}

/* ページ全体の基本スタイル */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
        "Hiragino Kaku Gothic ProN", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-base);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus,
a:active,
a:visited {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================================
   HEADER（ヘッダー・グローバルナビ）
   ========================================================================== */

/* ヘッダー本体：画面上部に固定表示、半透明の白背景 */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 40px;
    background: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 300;
    transition: background .3s, box-shadow .3s, transform .3s;
    transform: translateY(0);
}

/* 下スクロール時：ヘッダーを画面上に隠す（JSでheader--hiddenクラスを付与） */
.header.header--hidden {
    transform: translateY(-100%);
}

/* スクロール後のヘッダー：白背景＋下線＋影に切り替え（JSでscrolledクラスを付与） */
.header.scrolled {
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(2, 126, 193, .1);
}

.header.scrolled .nav-link {
    color: var(--color-text);
    text-shadow: none;
}

.header.scrolled .nav-link:hover {
    color: var(--color-main);
}

.header.scrolled .menu-button span {
    background: var(--color-text);
}

/* ロゴエリア（ロゴ画像＋キャッチコピーを並べてトップページへのリンクに） */
.logo-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity .2s;
}

.logo-link:hover {
    opacity: .8;
}

.catchcopy {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: .04em;
    line-height: 1.5;
    white-space: nowrap;
}

.logo-img {
    display: block;
    height: 32px;
    width: auto;
}


/* ===== NAV（グローバルナビゲーション） ===== */

.nav {
    display: flex;
    align-items: center;
    height: 80px;
    margin-left: 100px;
}

.nav-item {
    position: static;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    padding: 0 12px;
    white-space: nowrap;
    transition: opacity .2s;
    text-shadow: none;
}

.nav-link:hover {
    opacity: .8;
}

/* メガメニューを持つ項目の右側に「▽」の矢印アイコンをCSSで作成 */
.has-mega .nav-link::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 5px;
    transition: transform .2s;
}

/* ホバー時に矢印を反転させて「▲」に見せる */
.has-mega:hover .nav-link::after {
    transform: rotate(225deg) translateY(2px);
}

/* 画面幅が十分に広い大画面ではナビ文字を少し大きく表示（狭い画面では下のタブレット/スマホ用メディアクエリが優先されるため影響なし） */
@media (min-width: 1400px) {
    .nav-link {
        font-size: 15px;
        padding: 0 14px;
    }
}


/* ===== MEGA MENU（ナビにマウスを乗せた時に出る大きいドロップダウン） ===== */

.mega-menu {
    display: none;
    /* 通常時は非表示 */
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-top: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    z-index: 299;
}

/* ナビ項目にホバーしている間だけメガメニューを表示 */
.nav-item.has-mega:hover .mega-menu {
    display: block;
}

/* メガメニューの背景色を対応するcard--blue/green/purpleと揃える */
.mega-menu--blue {
    background: var(--color-blue-bg);
}

.mega-menu--green {
    background: var(--color-green-bg);
}

.mega-menu--purple {
    background: var(--color-purple-bg);
}

.mega-inner {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px 32px;
}

/* メガメニュー上部の見出し（例：「旅行（10日以内）」） */
.mega-title {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 40px 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: .03em;
    border-bottom: 1px solid var(--color-border);
}

.mega-col {
    flex: 1;
    padding: 0 20px;
    border-right: 1px solid var(--color-border);
}

.mega-col:first-child {
    padding-left: 0;
}

.mega-col:last-child {
    padding-right: 0;
    border-right: none;
}

.mega-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: .08em;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

/* h3.card-titleの色に揃える（デフォルト＝青はmega-headingの基本値と同じなので上記をそのまま使用） */
.mega-menu--green .mega-heading {
    color: var(--color-green);
}

.mega-menu--purple .mega-heading {
    color: var(--color-purple);
}

.mega-col ul {
    list-style: none;
}

.mega-col ul li a {
    display: block;
    padding: 7px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-sub);
    text-decoration: none;
    border-radius: 4px;
    transition: background .15s, color .15s;
}

.mega-col ul li a:hover {
    background: var(--color-bg);
    color: var(--color-main);
}


/* ハンバーガーメニュー（スマホ表示時のみ表示） */
.menu-button {
    display: none;
    width: 36px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    /* headerがflex-startになったものの、ハンバーガーは引き続き右端に寄せる */
}

.menu-button span {
    display: block;
    height: 2px;
    background: var(--color-text);
    margin: 7px 0;
    border-radius: 2px;
    transition: background .3s;
}


/* ==========================================================================
   HERO（トップのメインビジュアル）
   ========================================================================== */

.hero {
    height: 100vh;
    min-height: 600px;
    background: url('../img/hero.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
    position: relative;
}

/* 背景写真の上に薄いグラデーションを重ねて、文字を見やすくする */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0, 45, 70, 0.12) 0%,
        rgba(30, 90, 125, 0.18) 100%
    );
    pointer-events: none;
}

.hero-body {
    max-width: 600px;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .95);
    letter-spacing: .05em;
    margin-bottom: 16px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 28px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}

.hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-list li {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}

/* リストの丸いチェックマークアイコン */
.hero-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--color-main);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.hero-badge {
    height: 150px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .25));
}


/* ==========================================================================
   FIXED SEARCH WIDGET（画面右下に固定表示される検索ボックス）
   ========================================================================== */

.fixed-search {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 250;
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 18px 20px 20px;
    box-shadow: 0 8px 32px rgba(2, 126, 193, .18), 0 2px 8px rgba(0, 0, 0, .08);
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity .25s, transform .25s, visibility .25s;
}

/* フッターに重なる位置までスクロールしたら非表示（JSでis-hiddenクラスを付与） */
.fixed-search.is-hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    visibility: hidden;
}

.fixed-search-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: .04em;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.fixed-search-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* プルダウン：ブラウザ標準の矢印を消して、SVGで自作した矢印アイコンを表示 */
.fixed-search-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: var(--color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23027EC1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 36px 10px 12px;
    font-size: 13px;
    color: var(--color-text-sub);
    cursor: pointer;
    transition: border-color .2s;
}

.fixed-search-select:focus {
    outline: none;
    border-color: var(--color-main);
    color: var(--color-text);
}

.fixed-search-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-sub) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .2s, transform .1s;
    margin-top: 2px;
}

.fixed-search-btn:hover {
    filter: brightness(1.08);
}

.fixed-search-btn:active {
    transform: scale(.98);
}

/* クリック時に少し縮む演出 */


/* ==========================================================================
   COUNTRY SELECT MODAL（「国を選択する」ボタンから開く渡航先選択モーダル）
   ========================================================================== */

.country-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 400;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.country-modal.is-open {
    display: flex;
}

.country-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 60, .55);
}

.country-modal-panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 80vh;
    background: var(--color-base);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.country-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.country-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

.country-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--color-bg);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: var(--color-text-sub);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.country-modal-close:hover {
    background: var(--color-accent);
    color: var(--color-main);
}

.country-modal-body {
    padding: 20px 24px 28px;
    overflow-y: auto;
}

.country-modal-group+.country-modal-group {
    margin-top: 20px;
}

.country-modal-group-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: .08em;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.country-modal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.country-modal-item {
    padding: 8px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.country-modal-item:hover {
    background: var(--color-main);
    border-color: var(--color-main);
    color: #fff;
}


/* ==========================================================================
   SECTION TITLE（各セクション共通の見出しスタイル）
   ========================================================================== */

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    display: inline-block;
    position: relative;
    margin-bottom: 60px;
}

/* 見出し下の短いアンダーラインを疑似要素で作成 */
.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-main);
    margin: 14px auto 0;
    border-radius: 2px;
}


/* ==========================================================================
   CARDS（料金・特徴などを紹介するカード群）
   ========================================================================== */

.cards {
    background: var(--color-bg);
    padding: 100px 20px;
    text-align: center;
}

.cards-inner {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-base);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(2, 126, 193, .1);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 126, 193, .18);
}

/* ホバーで少し浮き上がる */

.card-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--color-accent);
    color: var(--color-main);
    font-size: 44px;
    line-height: 1;
}

.card-title {
    font-size: 72px;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 24px;
    line-height: 1;
}

.card-title-unit {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-left: 6px;
}

/* 「円」「GB」など単位部分 */
.card-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0 0 20px;
}

.card-text {
    font-size: 16px;
    color: var(--color-text-sub);
    margin-bottom: 28px;
}

.card-btn {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: none;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-main);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.card-btn:hover {
    background: var(--color-sub);
    color: var(--color-base);
}

.card-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-main);
    color: var(--color-base);
    font-size: 14px;
    flex-shrink: 0;
}

/* カラーバリエーション：緑タイプのカード */
.card--green .card-icon {
    background: var(--color-green-bg);
    color: var(--color-green);
}

.card--green .card-title {
    color: var(--color-green);
}

.card--green .card-btn {
    background: var(--color-green-bg);
    color: var(--color-green);
}

.card--green .card-btn:hover {
    background: var(--color-green);
    color: var(--color-base);
}

.card--green .card-btn-arrow {
    background: var(--color-green);
}

/* カラーバリエーション：紫タイプのカード */
.card--purple .card-icon {
    background: var(--color-purple-bg);
    color: var(--color-purple);
}

.card--purple .card-title {
    color: var(--color-purple);
}

.card--purple .card-btn {
    background: var(--color-purple-bg);
    color: var(--color-purple);
}

.card--purple .card-btn:hover {
    background: var(--color-purple);
    color: var(--color-base);
}

.card--purple .card-btn-arrow {
    background: var(--color-purple);
}


/* ==========================================================================
   COUNTRY（対応国一覧セクション）
   ========================================================================== */

.country {
    background: var(--color-base);
    padding: 100px 20px;
    text-align: center;
}

.country-inner {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

.country-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.country-item {
    padding: 20px 10px;
    text-align: center;
    border-radius: 10px;
    transition: background .2s;
    cursor: pointer;
}

.country-item:hover {
    background: var(--color-accent);
}

.country-icon {
    font-size: 70px;
    line-height: 1;
    margin-bottom: 12px;
}

.country-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

/* 「もっと見る」で開閉する追加リスト部分：高さと不透明度をアニメーションさせて開閉演出 */
.country-more {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: max-height .45s ease, opacity .35s ease, margin-top .35s ease;
}

.country-more.is-open {
    max-height: 800px;
    opacity: 1;
    margin-top: 28px;
}

/* JSでis-openを付与すると展開 */
.country-more .country-list {
    border-top: 1px dashed var(--color-border);
    padding-top: 24px;
}

.country-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 12px 32px;
    background: var(--color-base);
    color: var(--color-main);
    border: 2px solid var(--color-main);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.country-toggle-btn:hover {
    background: var(--color-main);
    color: #fff;
}

.country-toggle-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .3s;
    flex-shrink: 0;
}

.country-toggle-btn.is-open .country-toggle-arrow {
    transform: rotate(225deg) translateY(2px);
}

/* 開いている時は矢印を上向きに */


/* ==========================================================================
   NEWS（お知らせセクション／パララックス背景）
   ========================================================================== */

.news {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    /* パララックス背景（スクロールしても背景画像が固定される） */
    background-image: url('../img/top-news.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 背景写真の上に重ねる暗いオーバーレイ（文字を読みやすくする） */
.news::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 60, .72);
    pointer-events: none;
}

.news-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* ニュースセクションの見出しだけは背景が暗いので白文字にする */
.news-title {
    color: #fff;
}

.news-title::after {
    background: #fff;
}

.news-list {
    list-style: none;
    text-align: left;
}

.news-item {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.news-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.news-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 8px;
    text-decoration: none;
    transition: background .2s;
    border-radius: 4px;
}

.news-link:hover {
    background: rgba(255, 255, 255, .08);
}

.news-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-sub);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .04em;
}

.news-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
}

.news-arrow {
    font-size: 22px;
    color: var(--color-sub);
    flex-shrink: 0;
    transition: transform .2s;
}

.news-link:hover .news-arrow {
    transform: translateX(4px);
}

/* ホバーで矢印が右へ動く */

.news-empty {
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    padding: 20px 8px;
}


/* ==========================================================================
   REASONS（選ばれる理由セクション）
   ========================================================================== */

.reasons {
    background: var(--color-bg);
    padding: 100px 20px;
    text-align: center;
}

.reasons-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.reasons-card {
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 48px 24px 40px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(2, 126, 193, .08);
    transition: transform .2s, box-shadow .2s;
}

.reasons-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 126, 193, .18);
}

.reasons-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 20px;
}

.reasons-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
}


/* ==========================================================================
   PARTNERS（提携先ロゴの横スクロール／マーキー演出）
   ========================================================================== */

.partners {
    background: var(--color-base);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

/* 左右の端をぼかして自然に消えるように見せるマスク */
.partners-track-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

/* ロゴを横一列に並べ、アニメーションで無限ループ横スクロールさせる */
.partners-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

/* ホバー中は一時停止 */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    flex-shrink: 0;
}

.partner-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}


/* ==========================================================================
   FOOTER（フッター）
   ========================================================================== */

.footer {
    background: linear-gradient(160deg, #1592D3 0%, #027EC1 50%, #049B9E 100%);
    color: rgba(255, 255, 255, .9);
    padding: 80px 20px 0;
}

.footer-inner {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

/* 左側：会社情報・連絡先ブロック */
.footer-brand {
    flex: 0 0 300px;
}

/* ロゴエリア（ロゴ画像＋キャッチコピーを並べてトップページへのリンクに） */
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    transition: opacity .2s;
}

.footer-logo-link:hover {
    opacity: .85;
}

.footer-logo-img {
    display: block;
    height: 40px;
    width: auto;
}

.footer-catchcopy {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    line-height: 1.5;
}

.footer-address {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .9);
    font-style: normal;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.footer-contact-item:hover {
    color: var(--color-base);
    text-decoration: underline;
}

.footer-tel {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-base);
}

.footer-hours {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    margin-top: 2px;
}

/* 右側：フッターナビ（リンク列） */
.footer-nav {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-base);
    margin-bottom: 20px;
    white-space: nowrap;
}

.footer-link-list {
    list-style: none;
}

.footer-link-list li {
    margin-bottom: 14px;
}

.footer-link-list a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}

.footer-link-list a:hover {
    color: var(--color-base);
}

/* コピーライト部分 */
.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
}


/* ==========================================================================
   レスポンシブ対応：タブレット（画面幅1100px以下）
   ========================================================================== */

@media (max-width: 1100px) {
    .header {
        padding: 0 24px;
    }

    .nav {
        margin-left: 16px;
    }

    .nav-link {
        padding: 0 8px;
        font-size: 12px;
    }

    .mega-inner {
        padding: 24px;
    }

    .mega-col {
        padding: 0 14px;
    }

    .cards-inner {
        flex-wrap: wrap;
    }

    .card {
        flex: calc(50% - 16px);
    }

    /* カードを2列表示に */
    .country-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .reasons-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 48px;
    }

    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 24px;
    }

    .fixed-search {
        right: 20px;
        bottom: 20px;
        width: 240px;
    }
}


/* ==========================================================================
   レスポンシブ対応：モバイル（画面幅768px以下）
   ========================================================================== */

@media (max-width: 768px) {

    /* --- ヘッダー・ナビ --- */
    .header {
        height: 60px;
        padding: 0 16px;
    }

    .logo-img {
        height: 26px;
    }

    .catchcopy {
        font-size: 10px;
    }

    /* スマホ用のナビ：ハンバーガーメニューをタップした時にドロップダウン表示 */
    .nav {
        display: none;
        /* 通常は非表示。JSでactiveクラス付与時に表示 */
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        background: rgba(20, 60, 140, .97);
        padding: 8px 0 24px;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        z-index: 200;
    }

    .nav.active {
        display: flex;
    }

    .nav-item {
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        height: auto;
        padding: 13px 20px;
        font-size: 15px;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        text-shadow: none;
    }

    .has-mega .nav-link::after {
        margin-left: auto;
    }

    /* スマホではメガメニューはドロップダウン内にそのまま縦積みで表示 */
    .mega-menu {
        display: block;
        position: static;
        background: rgba(0, 0, 0, .2);
        backdrop-filter: none;
        box-shadow: none;
    }

    .mega-inner {
        flex-direction: column;
        padding: 8px 20px 16px 32px;
        gap: 12px;
    }

    .mega-title {
        max-width: none;
        margin: 0;
        padding: 10px 20px 8px 32px;
        font-size: 13px;
        color: rgba(255, 255, 255, .85);
        border-bottom-color: rgba(255, 255, 255, .12);
    }

    .mega-col {
        border-right: none;
        padding: 0;
    }

    .mega-heading {
        font-size: 12px;
        margin-bottom: 6px;
        padding-bottom: 6px;
    }

    .mega-col ul li a {
        padding: 5px 4px;
        font-size: 13px;
        color: rgba(255, 255, 255, .75);
    }

    .menu-button {
        display: block;
    }

    /* ハンバーガーアイコンを表示 */

    /* --- ヒーロー --- */
    .hero {
        min-height: 560px;
        padding: 0 20px;
        align-items: flex-end;
        padding-bottom: 160px;
    }

    .hero-body {
        padding-top: 0;
        width: 100%;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .hero-sub {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .hero-list li {
        font-size: 15px;
    }

    .hero-badges {
        gap: 10px;
        margin-top: 16px;
    }

    .hero-badge {
        height: 56px;
    }

    /* --- 固定検索ウィジェット：画面下部にフルワイドで表示（コンパクトに1行で収める） --- */
    .fixed-search {
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        border-bottom: none;
        padding: 10px 12px 14px;
        box-shadow: 0 -4px 20px rgba(2, 126, 193, .15);
        gap: 6px;
    }

    .fixed-search-label {
        font-size: 11px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .fixed-search-row {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        align-items: center;
    }

    .fixed-search-select {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 22px 8px 8px;
        font-size: 12px;
        background-position: right 8px center;
    }

    .fixed-search-btn {
        flex: 0 0 auto;
        width: auto;
        padding: 8px 16px;
        margin-top: 0;
        font-size: 12px;
        white-space: nowrap;
    }

    /* --- 国選択モーダル --- */
    .country-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .country-modal-panel {
        max-height: 75vh;
        border-radius: 16px 16px 0 0;
    }

    .country-modal-header {
        padding: 16px 20px;
    }

    .country-modal-body {
        padding: 16px 20px 24px;
    }

    /* --- セクション見出し --- */
    .section-title {
        font-size: 22px;
        margin-bottom: 36px;
    }

    /* --- カード：1列積み --- */
    .cards {
        padding: 60px 16px;
    }

    .cards-inner {
        width: 100%;
        max-width: none;
        flex-direction: column;
        gap: 16px;
    }

    .card {
        width: 100%;
        flex: none;
        padding: 32px 20px;
    }

    .card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
        font-size: 28px;
    }

    .card-title {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .card-title-unit {
        font-size: 18px;
    }

    .card-divider {
        margin-bottom: 16px;
    }

    .card-text {
        margin-bottom: 20px;
    }

    /* --- 対応国一覧 --- */
    .country {
        padding: 60px 16px;
    }

    .country-inner {
        width: 100%;
        max-width: none;
    }

    .country-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .country-icon {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .country-item p {
        font-size: 12px;
    }

    .country-item {
        padding: 12px 4px;
    }

    .country-more.is-open {
        max-height: 1200px;
    }

    /* スマホは項目が縦積みで高くなるため上限を拡大 */

    /* モバイルは background-attachment:fixed が効かない端末があるため無効化 */
    .news {
        background-attachment: scroll;
        padding: 60px 16px;
    }

    .news-link {
        gap: 12px;
        padding: 16px 4px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-text {
        font-size: 14px;
    }

    /* --- 選ばれる理由 --- */
    .reasons {
        padding: 60px 16px;
    }

    .reasons-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .reasons-card {
        padding: 32px 16px 28px;
    }

    .reasons-icon {
        font-size: 40px;
        margin-bottom: 14px;
    }

    .reasons-text {
        font-size: 14px;
    }

    /* --- 提携先ロゴ --- */
    .partners {
        padding: 60px 0;
    }

    .partners-track {
        gap: 40px;
        animation-duration: 20s;
    }

    .partner-logo img {
        height: 36px;
    }

    /* --- フッター --- */
    .footer {
        padding: 48px 16px 0;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }

    .footer-tel {
        font-size: 20px;
    }

    .footer-bottom {
        padding: 24px 0;
    }
}


/* ==========================================================================
   ■■■■■■■■■■■■■■■■■■■■■■■■ 下層ページ（プラン詳細ページなど） ■■■■■■■■■■■■■■■■■■■■■■■■
   以下は「.page」配下限定のスタイル（トップページとは別レイアウト）
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO（ページタイトル・アイキャッチ画像を表示する下層ページ共通の見出しエリア）
   固定ヘッダー（80px・透過）の下に潜り込む形で表示するため、
   padding-topでヘッダー高さ分の余白を確保している
   -------------------------------------------------------------------------- */

.page .page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    margin-top: 60px;
    /* 固定ヘッダー（スマホ時は60px）分を確保。内側はpaddingを左右上下対称にして見出しを上下中央に配置 */
    padding: 40px 16px;
    background-image: linear-gradient(135deg, var(--color-main) 0%, var(--color-sub) 100%);
    /* アイキャッチ未設定時のフォールバック背景（明るく爽やかな青系グラデーション） */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.page .page-hero-inner {
    position: relative;
    z-index: 1;
}

.page .page-hero-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

/* --------------------------------------------------------------------------
   Layout（共通コンテナ・セクション見出し）
   -------------------------------------------------------------------------- */

.page .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.page .plan-section {
    padding: 36px 16px 40px;
}

.page .section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.page .section-subtitle {
    color: #1b92d1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.page .section-heading h2 {
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
    color: #333;
}

.page .futoji {
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   PLAN CARD（料金プランのカード：スマホはリスト、タブレット以上はグリッド）
   -------------------------------------------------------------------------- */

.page .plan-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.page .plan-list > li + li {
    margin-top: 14px;
}

/* スマホ表示時：カード同士の縦の間隔 */

/* カード本体（スマホでは横並びの帯レイアウト） */
.page .plan-card {
    display: flex;
    align-items: center;
    min-height: 96px;
    background: #fff;
    border: 1px solid #47afe2;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(2, 126, 193, .08);
    transition: transform .2s, box-shadow .2s;
    /* 他のカード（.card, .reasons-cardなど）と揃えたホバーアニメーション用 */
}

.page .plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 126, 193, .18);
}

/* プラン名部分（左端の色付きブロック） */
.page .plan-name {
    width: 66px;
    min-height: 96px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, #1989d2 0%, #56c8df 100%);
}

.page .plan-name p {
    margin: 0;
    font-size: 31px;
    font-weight: 700;
    line-height: 1;
}

.page .plan-name span {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

/* プラン本文部分（料金・データ量・期間などをまとめて表示）
   スマホ：グリッドにし、1列目にprice-area（縦方向に中央・2行分の高さで結合）、
   2列目1行目にright-area、2列目2行目にother-areaを配置。
   これによりother-areaの左端がright-area（data-area）の左端と自然に揃う */
.page .plan-body {
    flex: 1;
    display: grid;
    grid-template-columns: 78px 1fr;
    column-gap: 16px;
    row-gap: 8px;
    align-items: center;
    padding: 0 10px;
}

.page .plan-body .price-area {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.page .plan-body .right-area {
    grid-column: 2;
    grid-row: 1;
}

.page .plan-body .other-area {
    grid-column: 2;
    grid-row: 2;
}

.page .label {
    display: block;
    width: auto;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #333;
    text-align: center;
}

.page .price {
    display: block;
    margin: 4px 0 0;
    font-size: 40px;
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.03em;
    color: var(--color-main);
    text-align: center;
}

/* 価格の「$」：数字より小さくし、数字の下端に揃える
   ・em指定にすることで、PC/SPで.priceのfont-sizeが変わっても比率を保って自動追従する */
.page .price-currency {
    font-size: .8em;
    font-weight: 700;
    vertical-align: bottom;
}

.page .price-area {
    width: 78px;
    /* 幅を固定して数字の桁が変わってもズレないようにする */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 子要素を中央揃え */
    justify-content: center;
    text-align: center;
    /* テキストも中央揃え */
    flex-shrink: 0;
}

.page .value {
    margin-left: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #333;
}

/* データ量の単位「GB」：数字より小さくし、数字の下端に揃える
   ・em指定にすることで、PC/SPで.valueのfont-sizeが変わっても比率を保って自動追従する */
.page .value-unit {
    font-size: .7em;
    font-weight: 700;
    vertical-align: bottom;
}

/* カード右端の「＞」矢印アイコン（枠線で作成） */
.page .arrow {
    width: 18px;
    flex-shrink: 0;
    margin-right: 6px;
}

.page .arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
    /* 右向き「＞」になるよう回転方向・辺を修正 */
}

/* ダーク背景のカード上で使う白い矢印バリエーション */
.page .arrow.white {
    border-color: #fff;
}

/* 料金プランカードの矢印「＞」は非表示にする */
.page .plan-card .arrow {
    display: none;
}

.page .right-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.page .data-area,
.page .term-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

/* タブレット以上：ラベル幅を揃えて数値の位置を綺麗に揃える */
@media (min-width: 768px) {

    .page .data-area .label,
    .page .term-area .label {
        width: auto;
        min-width: 34px;
    }
}

/* other-area（プランカード内の補足テキスト。例：「現地の電話番号が付与されます」）
   スマホ：data-area/term-areaと同じ列（グリッド2列目）に配置され、左端が自然に揃う */
.page .other-area {
    font-weight: bold;
}

.page .other-area p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

/* eSIM／SIMカード対応タグ（device-model-listの青系アレンジ） */
.page .sim-type-list {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}

.page .sim-type-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 12px;
    background: var(--color-blue-bg);
    border: 1px solid var(--color-sub);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-main);
    white-space: nowrap;
}


/* --------------------------------------------------------------------------
   プラン特徴リスト・注意書き・関連リンク
   -------------------------------------------------------------------------- */

.page .plan-feature-list {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
}

.page .plan-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #d8d8d8;
}

.page .plan-feature-list .icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #efefef;
    flex-shrink: 0;

    /* ここから絵文字表示用に追加 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.page .plan-feature-list p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.page .plan-feature-list strong {
    font-weight: 700;
}

/* 補足事項 */
.page .plan-note {
    margin-top: 28px;
}

.page .plan-note h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #333;
}

.page .plan-note p,
.page .notice-list {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-top: 10px;
}

.page .notice-list {
    margin: 0;
    padding-left: 1.2em;
}

.page .notice-list li+li {
    margin-top: 6px;
}

/* 関連リンクカード（お問い合わせ・資料請求など） */
.page .plan-links {
    margin-top: 34px;
}

.page .plan-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page .plan-links li+li {
    margin-top: 18px;
}

@media (min-width: 768px) {
    .page .plan-links ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .page .plan-links li+li {
        margin-top: 0;
    }
}

.page .plan-links a {
    text-decoration: none;
    display: block;
    height: 100%;
}

.page .link-card {
    background-color: #555;
    background-image:
        linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
        url('../img/_dummy_plan.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    border-radius: 8px;
    padding: 20px 28px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease;
}

.page .link-card.card-10 {
    background-image:
        url('../img/card-10.jpg');
}

.page .link-card.card-30 {
    background-image:
        url('../img/card-30.jpg');
}

.page .link-card.card-31 {
    background-image:
        url('../img/card-31.jpg');
}

.page .link-card.card-wifi {
    background-image:
        url('../img/card-wifi.jpg');
}


/* ホバー時：カード全体を少し浮かせて影を強調 */
.page .link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

/* 矢印：カード右端ぴったりに寄せ、ホバー時は右にスライド */
.page .link-card .arrow {
    margin-right: 0;
    transition: transform .25s ease;
}

.page .link-card:hover .arrow {
    transform: translateX(4px);
}

.page .link-label {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
}

.page .link-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #ffd800;
}

.page .link-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #fff;
}

/* --------------------------------------------------------------------------
   DEVICE SECTION（対応機種セクション：eSIM / SIMカードの条件一覧）
   モバイル：eSIM・SIMカードのブロックを縦積み（間は横線で区切る）
   PC：2カラムで横並び（間は縦線で区切る）
   -------------------------------------------------------------------------- */

.page .device-section {
    padding: 60px 16px;
}

/* コンテンツ量が左右で大きく異なるため、PCでも常に縦積み・中央寄せの1カラム構成にする */
.page .device-grid {
    display: flex;
    flex-direction: column;
}

.page .device-block {
    padding: 28px 0;
}

/* 2つ目以降のブロックの上に区切り線を入れる */
.page .device-block+.device-block {
    border-top: 1px solid var(--color-border);
}

.page .device-block:first-child {
    padding-top: 0;
}

.page .device-block:last-child {
    padding-bottom: 0;
}

.page .device-heading {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 18px;
}

.page .device-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* リストとロゴを包む行：モバイルは縦積み、PCは左右に並べる */
.page .device-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page .device-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.page .device-logo {
    display: block;
    height: 28px;
    width: auto;
}

.page .device-list>li {
    position: relative;
}

.page .device-list>li+li {
    margin-top: 18px;
}

/* ・を離した位置に付ける（ロゴ画像が先頭にあってもレイアウトが崩れないように、liではなくテキスト自体に付ける） */
.page .device-list-text {
    position: relative;
    padding-left: 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
}

.page .device-list-text::before {
    content: '・';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #333;
}

/* スマホでのみ表示する、各項目の上に並ぶロゴ */
.page .device-logo-inline {
    display: block;
    margin-bottom: 8px;
}

.page .device-note {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text-sub);
}

/* 周波数スペック表（4G LTE / 5G）をカード状のボックスに分離して見やすくする */
.page .device-freq {
    margin: 14px 0 0;
    padding: 14px 16px;
    background: var(--color-bg);
    border-radius: 8px;
}

.page .device-freq-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.page .device-freq-row+.device-freq-row {
    margin-top: 8px;
}

.page .device-freq dt {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-main);
    min-width: 56px;
}

.page .device-freq dd {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
}

.page .device-freq-annotation {
    color: var(--color-text-sub);
}

/* 重要な注意事項（3G終了・非推奨・返金不可）を目立つ警告ボックスに */
.page .device-warning {
    margin: 14px 0 0;
    padding: 14px 16px;
    background: #fdf3f3;
    border: 1px solid #f0cccc;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: #b23c3c;
}

/* 動作確認済み機種をタグ形式のリストでコンパクトに並べる */
.page .device-model-check {
    margin-top: 16px;
}

.page .device-model-check-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
}

.page .device-model-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page .device-model-list li {
    padding: 6px 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .page .device-section {
        padding: 80px 20px;
    }

    /* PCでも上のplan-section・why-sectionと同じコンテナ幅（1200px）に合わせる（以前は820pxに制限していた）
       ・・以下のブロック内の文字並びは引き続き.containerのパディングに従う */

    .page .device-heading {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .page .device-list-text {
        font-size: 17px;
    }

    .page .device-note {
        font-size: 14px;
    }

    .page .device-freq dt,
    .page .device-freq dd {
        font-size: 14px;
    }

    .page .device-warning {
        font-size: 14px;
    }

    .page .device-model-check-label {
        font-size: 14px;
    }

    .page .device-model-list li {
        font-size: 13px;
    }
}


/* --------------------------------------------------------------------------
   FAQ SECTION（よくある質問：Qは常時表示、クリックでAを開閉するアコーディオン）
   -------------------------------------------------------------------------- */

.page .faq-section {
    padding: 60px 0;
}

.page .faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page .faq-item {
    border-bottom: 1px solid var(--color-border);
}

.page .faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

/* 質問部分：ボタンとして実装し、クリックで回答を開閉する */
.page .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 4px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.page .faq-q-mark,
.page .faq-a-mark {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.page .faq-q-mark {
    background: linear-gradient(135deg, #2f7fd0 0%, #6fc3dd 100%);
    color: #fff;
}

.page .faq-q-text {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
}

/* 右端の矢印アイコン：開いている間は上向きに回転 */
.page .faq-toggle-arrow {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--color-main);
    border-bottom: 2px solid var(--color-main);
    transform: rotate(45deg);
    transition: transform .3s;
}

.page .faq-item.is-open .faq-toggle-arrow {
    transform: rotate(225deg);
}

/* 回答部分：普段は高さ・透明度を0にして非表示、is-openで展開 */
.page .faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 4px;
    transition: max-height .4s ease, opacity .3s ease, padding .3s ease;
}

.page .faq-item.is-open .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding: 0 4px 20px;
}

.page .faq-answer p {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #333;
}

.page .faq-a-mark {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-main);
}

/* 一覧の下に配置する「その他のよくある質問」ボタン（アウトライン形式） */
.page .faq-more {
    margin-top: 32px;
    text-align: center;
}

.page .faq-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--color-base);
    color: var(--color-main);
    border: 2px solid var(--color-main);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.page .faq-more-btn:hover {
    background: var(--color-main);
    color: #fff;
}

.page .faq-more-btn::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .page .faq-section {
        padding: 80px 0;
    }

    .page .faq-q-text {
        font-size: 16px;
    }

    .page .faq-answer p {
        font-size: 15px;
    }
}


/* --------------------------------------------------------------------------
   RELATED SECTION（関連情報セクション：グラデーションボタンのリンク一覧）
   モバイル・PCともに2カラムグリッドで並べ、最後の項目は左列のみに配置（自然に余白）
   -------------------------------------------------------------------------- */

.page .related-section {
    padding: 60px 0;
}

.page .related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.page .related-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 16px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2f7fd0 0%, #6fc3dd 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(47, 127, 208, .25);
    transition: transform .2s, box-shadow .2s;
}

.page .related-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 127, 208, .35);
    color: #fff;
}

@media (min-width: 768px) {
    .page .related-section {
        padding: 80px 0;
    }

    .page .related-list {
        gap: 24px;
    }

    .page .related-btn {
        min-height: 100px;
        font-size: 22px;
        font-weight: 400;
    }
}


/* --------------------------------------------------------------------------
   WHY SECTION（「選ばれる理由」セクション：アイコン+タイトル+本文のリスト）
   モバイル：アイコンとテキストが横並びで、項目は縦に積む
   PC：3カラムで横並び
   -------------------------------------------------------------------------- */

.page .why-section {
    padding: 60px 0;
}

.page .why-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 各項目：アイコン＋テキストを横並びにし、下に区切り線を入れる */
.page .why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
}

.page .why-item:last-child {
    border-bottom: none;
}

/* アイコンの丸背景（※写真を丸くトリミングする容器として使用。150pxの正方形フレームでoverflow:hiddenにし、
   中のimgはobject-fit:coverで切り抜く。元画像は正方形を想定 */
.page .why-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-accent);
    flex-shrink: 0;
}

.page .why-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page .why-body {
    flex: 1;
}

.page .why-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.page .why-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-sub);
}

/* --------------------------------------------------------------------------
   下層ページ：PC・タブレット（768px〜）でのレイアウト変更
   スマホでは縦積みの帯レイアウトだったプランカードを、
   ここから3列グリッドの縦長カードに切り替える
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {

    /* ----- HERO：タブレット以上は高さ・文字サイズを大きく ----- */
    .page .page-hero {
        min-height: 320px;
        padding: 100px 20px 50px;
    }

    .page .page-hero-title {
        font-size: 36px;
    }

    /* ----- プラン一覧：auto-fitで枚数に応じて自動カラム化 ----- */
    /* カードの最小幅を260pxとし、コンテナ幅（最大1200px）に収まる分だけ
       自動でカラム数が決まる。3枚なら3カラム、4枚なら4カラムに自動対応。
       画面が狭くなった場合は自動的にカラム数が減る（レスポンシブ対応）。 */
    .page .plan-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }

    .page .plan-list li {
        margin: 0;
    }

    .page .plan-list > li + li {
        margin-top: 0;
    }

    /* グリッドになるのでgapで間隔を取り、marginは無効化 */

    /* ----- カード：横並び→縦積みレイアウトに変更 ----- */
    .page .plan-card {
        flex-direction: column;
        align-items: stretch;
        min-height: 320px;
        height: 100%;
        position: relative;
        /* 内部の矢印アイコンを絶対配置するための基準 */
    }

    /* ----- プラン名：上部に横長で配置 ----- */
    .page .plan-name {
        width: 100%;
        min-height: 100px;
        padding: 20px 0;
    }

    .page .plan-name p {
        font-size: 42px;
    }

    .page .plan-name span {
        font-size: 18px;
    }

    /* ----- 本文：縦積みに変更 ----- */
    .page .plan-body {
        flex: 1;
        display: block;
        padding: 28px 24px;
    }

    /* ----- 料金表示 ----- */
    .page .price-area {
        width: 100%;
        margin-bottom: 28px;
    }

    .page .price {
        font-size: 58px;
        margin-top: 8px;
    }

    /* ----- データ量・期間表示 ----- */
    .page .right-area {
        gap: 18px;
    }

    .page .data-area,
    .page .term-area {
        justify-content: center;
        align-items: center;
    }

    /* ----- other-area：PCではボックスの左右中央に文字を配置 ----- */
    .page .other-area {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }

    .page .other-area p {
        font-size: 14px;
    }

    .page .sim-type-list {
        justify-content: center;
    }

    .page .label {
        font-size: 15px;
    }

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

    /* ----- 矢印アイコン：カード右端中央に絶対配置 ----- */
    .page .arrow {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        /* 形は::beforeのrotateで作るので、ここでは縦位置調整のみ行う */
        margin: 0;
    }

    .page .why-section {
        padding: 80px 0;
    }

    .page .why-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    /* グリッド化するのでitem自体の区切り線・余白はリセット */
    .page .why-item {
        flex-direction: column;
        align-items: flex-start;
        /* 横方向：左揃え */
        justify-content: center;
        /* 縦方向：中央揃え */
        padding: 0;
        border-bottom: none;
    }

    .page .why-icon {
        width: 150px;
        height: 150px;
        margin: 0 auto 20px;
    }
    .page .why-title {
        text-align: center;
    }

    /* ----- プラン特徴リスト：PCは横幅いっぱい1行だと右側が間延びするため2カラムグリッド化 ----- */
    .page .plan-feature-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 40px;
    }

    .page .plan-feature-list li {
        padding: 16px 0;
    }

    /* ----- 対応機種：リストを固定幅にし、ロゴは左寄せでその右に並べる
       これによりeSIM・SIMカードでテキスト量が違っても、ロゴの開始位置（X座標）が常に揃う ----- */
    .page .device-top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 40px;
    }

    .page .device-top .device-list {
        flex: 0 0 420px;
        max-width: 420px;
    }

    .page .device-logos {
        flex-shrink: 0;
        padding-top: 6px;
    }

    .page .device-logo {
        height: 36px;
    }

}

/* --------------------------------------------------------------------------
   ページ共通セクションの上下余白（Tips系ページなどで使用。左右は.container側で確保するため。0に）
   -------------------------------------------------------------------------- */

.page .page-section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .page .page-section {
        padding: 80px 0;
    }
}


/* ==========================================================================
   TIPS PAGE COMPONENTS（Tips系ページ共通パーツ）

   【目的】
   「SIMカードとeSIMの違い」「SIMロックとは」のような解説系固定ページ（Tipsページ）は今後も増える。
   ページごとに固有のクラス（.esim-intro, .simlock-intro …）を作らず、
   以下の汎用クラスだけで何を作っても同じ見た目になるようにする。
   新しいTipsページを作る際はCSSを触らず、下記のクラスをHTML側で組み合わせるだけでよい。

   【使えるクラス一覧】
   ・.tips-hero-image / .tips-hero-img
       → ページ先頭のコンテンツ幅いっぱい画像
   ・.page-section（既存）
       → 各セクション共通の上下余白。sectionタグに必ず付与する
   ・.tips-alt-bg
       → 背景を薄い青（var(--color-bg)）にする修飾子。セクションを交互に付けてリズムをつける
         （例：<section class="page-section">と<section class="page-section tips-alt-bg">を交互に）
   ・.tips-text
       → 概要文章ブロック（<p>を並べるだけ）
   ・.tips-box（必要に応じて h3 ＋ ul>li を中に入れる）
       → 注意事項・該当項目などを囲むボックス。通常は薄い青背景
       → .tips-box--warning を併記すると赤系の警告ボックスになる
       → .tips-box--grid を併記すると、中のul>liの箇条書きがPCで2カラムになる
   ・.tips-list
       → boxなしで使える箇条書きリスト（見た目は.tips-box内のulと同じ）。普通の文章中に箇条書きだけ入れたい場合に
   ・.tips-compare-grid > .tips-compare-card（×複数）
       → 比較カード。強調したいカードには .tips-compare-card--highlight を併記
   ・.tips-icon-list > li > .tips-icon + h3 + p（×複数）
       → 絵文字アイコン＋見出し＋本文の3点セットリスト（PCでは横並び）
   ・.tips-columns（.container に付与）
       → PC時のみ、.container直下を左右2カラムgrid化。
         直下の .section-heading は自動で2カラムぶち抜きで上部に全幅表示される
         （セクション名をCSSに追記する必要はない）
   ・.tips-image > img
       → 2カラムの右側などに使う画像。.tips-columnsと併用し、HTMLで .tips-text の次に置くと
         PCでは右列、スマホでは自然にテキストの下に回り込む

   【サンプルHTML】
   <section class="page-section tips-alt-bg">
     <div class="container tips-columns">
       <header class="section-heading">
         <p class="section-subtitle">- CHECK -</p>
         <h2>見出し</h2>
       </header>
       <div class="tips-text">
         <p>概要文章...</p>
       </div>
       <div class="tips-box">
         <h3>ご注意</h3>
         <ul><li>項目1</li></ul>
       </div>
     </div>
   </section>
   -------------------------------------------------------------------------- */

/* コンテンツ幅いっぱいの先頭画像 */
.page .tips-hero-image {
    padding: 30px 0 0;
}

.page .tips-hero-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(2, 126, 193, .1);
}

@media (min-width: 768px) {
    .page .tips-hero-image {
        padding: 40px 0 0;
    }
}

/* セクション背景を薄い青にする修飾子（交互に付与してリズムをつける想定） */
.page .tips-alt-bg {
    background: var(--color-bg);
}

/* 概要文章ブロック */
.page .tips-text {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page .tips-text p {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

@media (min-width: 768px) {
    .page .tips-text p {
        font-size: 16px;
    }
}

/* 注意事項・該当項目などを囲むボックス（h3・ul>liは任意） */
.page .tips-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg);
    border-radius: 12px;
    padding: 28px 24px;
}

.page .tips-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 14px;
}

.page .tips-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page .tips-box li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
}

.page .tips-box li::before {
    content: '・';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-main);
    font-weight: 700;
}

/* boxなしで使える汎用の箇条書きリスト（見た目は.tips-box内のulと同じ。普通の本文中で箇条書きだけ使いたい場合に） */
.page .tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page .tips-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
}

.page .tips-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-main);
    font-weight: 700;
}

/* 修飾子：警告・注意を強めたい場合にtips-boxと併記（例：class="tips-box tips-box--warning"） */
.page .tips-box--warning {
    background: #fdf3f3;
    border: 1px solid #f0cccc;
}

.page .tips-box--warning li {
    color: #b23c3c;
}

.page .tips-box--warning li::before {
    color: #b23c3c;
}

/* 比較カード */
.page .tips-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page .tips-compare-card {
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px 24px;
}

.page .tips-compare-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.page .tips-compare-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page .tips-compare-card li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-sub);
}

.page .tips-compare-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text-sub);
}

/* 修飾子：強調したいカード（例：比較先のeSIM側）に併記 */
.page .tips-compare-card--highlight {
    background: var(--color-blue-bg);
    border-color: var(--color-main);
    box-shadow: 0 4px 16px rgba(2, 126, 193, .12);
}

.page .tips-compare-card--highlight h3 {
    color: var(--color-main);
    border-bottom-color: var(--color-sub);
}

.page .tips-compare-card--highlight li {
    color: var(--color-text);
}

.page .tips-compare-card--highlight li::before {
    background: var(--color-main);
}

@media (min-width: 768px) {
    .page .tips-compare-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .page .tips-compare-card {
        padding: 36px 32px;
    }
}

/* 絵文字アイコン＋見出し＋本文のセットリスト（例：メリット紹介など） */
.page .tips-icon-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.page .tips-icon-list li {
    text-align: center;
}

.page .tips-icon-list .tips-icon {
    display: block;
    font-size: 44px;
    line-height: 1;
    margin: 0 auto 16px;
}

.page .tips-icon-list h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.page .tips-icon-list p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-sub);
}

@media (min-width: 768px) {
    .page .tips-icon-list {
        flex-direction: row;
    }

    .page .tips-icon-list li {
        flex: 1;
    }

    .page .tips-icon-list .tips-icon {
        font-size: 52px;
    }
}

/* PC時のみ、.container直下を2カラムgrid化する汎用ユーティリティクラス。
   セクション名に依存しないので、新しいTipsページでもCSS追記不要で使い回せる */
@media (min-width: 768px) {
    .page .tips-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        align-items: start;
    }

    .page .tips-columns > .section-heading {
        grid-column: 1 / -1;
    }
}

/* 2カラムの右側などに使う画像。スマホではテキストの下に自然に回り込む（HTMLの記載順で制御） */
.page .tips-image {
    margin-top: 24px;
}

.page .tips-image img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(2, 126, 193, .1);
}

@media (min-width: 768px) {
    .page .tips-image {
        margin-top: 0;
    }
}


/* ==========================================================================
   FLOATING CTA（フローティングCTAボタン）
   ・目的：全ページ共通でコンバージョン率向上のため常時表示するCTA
   ・構造：HTML側は <div class="jc-float-cta"><a href="#">お申し込みはコチラ</a></div> のみ
   ・リンク先変更：a要素のhref属性を書き換えるだけでOK（CSSの変更は不要）
   ・命名：既存クラスと競合しないよう「jc-」プレフィックスを付与
   ========================================================================== */

/* ラッパー：PC/SP共通のfixed設定 */
.jc-float-cta {
    position: fixed;
    z-index: 350;
    /* ヘッダー(300)より前面、モーダル等(400)より背面 */
}

/* PC（768px以上）：画面右下に固定表示 */
@media (min-width: 768px) {
    .jc-float-cta {
        right: 32px;
        bottom: 32px;
    }
}

/* SP（768px未満）：画面下部中央に固定表示 */
@media (max-width: 768px) {
    .jc-float-cta {
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
    }
}

/* ボタン本体
   ・背景はフッター等で使用しているグラデーション（青→エメラルドグリーン系）に合わせて統一感を出す */
.jc-float-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: linear-gradient(135deg, #1592D3 0%, #027EC1 50%, #049B9E 100%);
    color: var(--color-base);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: .02em;
    padding: 14px 28px;
    border-radius: 999px;
    /* 控えめな影で浮遊感を出す */
    box-shadow: 0 4px 14px rgba(2, 126, 193, .35);
    transition: box-shadow .2s, transform .2s, filter .2s;
}

/* ホバー時：控えめな明るさ変化と若干の浮き上がりのみ（派手な演出はしない） */
.jc-float-cta__btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(2, 126, 193, .3);
    transform: translateY(-2px);
}

/* SPではボタンサイズをやや控えめに（横幅いっぱいにはしない） */
@media (max-width: 768px) {
    .jc-float-cta__btn {
        font-size: 14px;
        padding: 12px 24px;
    }
}
