/* =========================================
   リセット & 基本設定
   ========================================= */
:root {
    --primary-color: #4B21B3;
    --accent-color: #6200EE;
    --accent-dark: #4b00b3;
    --text-color: #333;
    --light-bg: #F9F9F9;
    --gray-bg: #f3f3f3;
    --white: #fff;
    --gradient-btn: linear-gradient(90deg, #5300d6, #3a0096);
    --font-base: 'Noto Sans JP', sans-serif;
    --header-height: 80px;
    --green-color: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* 横スクロールを強制的に禁止 */
    overflow-x: hidden; 
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    /* ヘッダー追従用の余白 */
    padding-top: var(--header-height);
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* レイアウトユーティリティ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-center { text-align: center; }
.text-purple { color: var(--accent-color); font-weight: bold; }
.bg-light { background-color: var(--light-bg); }
.full-width { width: 100%; display: block; text-align: center; }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }

/* 見出し */
.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
}

.section-title--small {
    font-size: 18px;
    font-weight: bold;
}

/* =========================================
   ボタン
   ========================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
}

.btn--outline {
    border: 1px solid #333;
    color: #333;
    background: #fff;
}
.btn--outline:hover { background: #f0f0f0; }

.btn--primary {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
}
.btn--primary:hover { background-color: var(--accent-dark); }

.btn--gradient {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(98, 0, 238, 0.3);
}
.btn--gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 0, 238, 0.4);
}

.btn--small-outline {
    border: 1px solid #333;
    padding: 6px 12px;
    font-size: 12px;
    background: #fff;
}

.btn--green {
    background-color: var(--green-color);
    color: #fff;
    border-radius: 4px;
    padding: 12px;
    margin-top: auto; /* カード下部に配置用 */
    font-size: 14px;
    transition: 0.3s;
}
.btn--green:hover {
    background-color: #43a047;
}

.btn--purple-block {
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 0;
    padding: 10px;
    width: 100%;
    text-align: center;
}

.btn--white {
    background-color: #fff;
    color: #333;
    font-weight: bold;
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.btn--grey {
    background-color: #888;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 4px;
}

/* =========================================
   ヘッダー
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: #fff;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    height: 22px;
    width: auto;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
}
.search-btn img {
    width: 20px;
    height: 20px;
}

.menu-toggle { display: none; }

/* =========================================
   ドロップダウン & メガメニュー スタイル
   ========================================= */

/* ナビゲーション共通 */
.header__nav ul {
    display: flex;
    gap: 0; /* 余白はpaddingで調整 */
}

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

.nav-link {
    padding: 25px 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-arrow {
    stroke: #333;
    transition: stroke 0.2s;
}

/* .nav-item:hover .nav-link {
    color: #441cc4;
}
.nav-item:hover .nav-arrow path {
    stroke: #441cc4;
}
.nav-item:hover .nav-arrow {
    transform: none !important;
} */

/* --- 通常ドロップダウン --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1100;
    display: block !important;
    border-top: none; /* 青ライン削除 */
    flex-direction: column !important;
    gap: 0 !important;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background-color: #f9f9f9;
    color: #441cc4;
}

/* --- メガメニュー (優れた取引条件) --- */
.nav-item.has-megamenu {
    position: static;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
    padding: 50px 0;
    transform: translateY(10px);
}

.nav-item:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu__inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左サイドバー (大見出し) */
.megamenu__sidebar {
    width: 180px;
    flex-shrink: 0;
}

.megamenu__main-title {
    font-size: 26px;
    line-height: 1.4;
    font-weight: bold;
    color: #333;
    margin-top: 0;
}

/* 右コンテンツエリア */
.megamenu__content {
    flex-grow: 1;
    width: 100%;
}

/* リストセクション (左右のグループ分け) */
.megamenu__lists-row {
    display: grid;
    /* 左グループ(2列分) : 右グループ(1列分) の比率 */
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    width: 100%;
}

.megamenu__list-group {
    width: 100%;
}

/* 見出しスタイル */
.megamenu__group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.megamenu__group-header h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}
.header-arrow {
    font-size: 18px;
    font-weight: bold;
    color: #999;
}

/* リストスタイルの修正 */
/* 親のflex指定を打ち消すために詳細度を上げ、!importantを使用 */
.header__nav .megamenu__list {
    display: grid !important;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 12px 20px;
}

/* Funded7取引条件: 確実に2列にする */
.header__nav .list-2col {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* ルール一覧: 確実に1列にする */
.header__nav .list-1col {
    grid-template-columns: 1fr !important;
}

/* リストアイテムのスタイル */
.megamenu__list li {
    width: 100%;
    list-style: none;
}

.megamenu__list a {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    white-space: nowrap;
    text-decoration: none;
}
.megamenu__list a::before {
    content: "›";
    color: #999;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    flex-shrink: 0;
}
.megamenu__list a:hover {
    color: #441cc4;
}
.megamenu__list a:hover::before {
    color: #441cc4;
}

/* バナーエリア */
.megamenu__banner-area {
    background: #fff;
    padding: 0;
    margin-top: 30px;
    width: 100%;
    display: flex;
}
.megamenu__banner-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 20px;
    width: 100%;
}
/* バナーエリア共通 */
.banner-box {
    position: relative;
    overflow: hidden;
    background: #333;
    border-radius: 4px;
    display: block; /* 追記 */
}
.banner-img,
.gray-box {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* 追記 */
    top: 0;             /* 追記 */
    left: 0;            /* 追記 */
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: 1;
}

/* テキスト＆バッジの基本スタイル */
.partner-badge {
    border: 1px solid #fff;
    padding: 2px 6px;
    display: inline-block;
    letter-spacing: 1px;
    white-space: nowrap; /* 追記: バッジ内の改行を防ぐ */
}
.banner-text {
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap; /* 追記: テキストの改行を防ぐ */
    margin: 0;
}

/* バナー1 (左側・大) */
.partner-banner {
    height: 140px;
}
.partner-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
}
.partner-banner .partner-badge {
    font-size: 12px;
    padding: 3px 8px;
    margin-bottom: 8px;
}
.partner-banner .banner-text {
    /* ▼ カスタマイザーから渡されたPC用変数を使う ▼ */
    font-size: var(--text-size-pc, 18px); 
}

/* バナー2・3 (右側・小) */
.banner-side-group {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 140px; /* 追記 */
}
.banner-small {
    height: 100%;
}
/* ▼ 追加: 左右に振り分けるスタイル ▼ */
.banner-content-small {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    padding: 0 15px; /* 左右の余白 */
    box-sizing: border-box;
    z-index: 2;
    color: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center; /* 縦の中央に揃える */
    gap: 10px;
}
.banner-small .partner-badge {
    font-size: 10px;
    margin-bottom: 0;
}
.banner-small .banner-text {
    /* ▼ カスタマイザーから渡されたPC用変数を使う ▼ */
    font-size: var(--text-size-pc, 14px); 
}

/* =========================================
   ヒーローセクション (FV)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    flex-direction: column;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* コンテンツ配置修正: 画面左側に配置 */
.hero__content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直中央 */
    align-items: flex-start; /* 水平左寄せ */
    
    /* 左端から画面幅の8%の位置に配置 */
    width: 100%;
    padding-left: 8vw; 
    padding-right: 20px;
    padding-bottom: 60px;
}

.hero__content {
    color: #fff;
    max-width: 1000px; /* テキスト折返し防止 */
}

.hero__title {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* =========================================
   新ヒーローセクション (画像キャンペーン用)
   ========================================= */
.hero-campaign {
    position: relative;
    width: 100%;
}

.hero-campaign__wrapper {
    position: relative;
    width: 100%;
    /* 画像の下に隙間ができないように */
    line-height: 0;
}

.hero-campaign__image {
    width: 100%;
    height: auto;
    display: block;
    /* 画質維持のためカバーなどは指定せず、そのまま表示 */
}

/* =========================================
   スライド内ボタンの配置調整
   ========================================= */
.hero-slide__btn-wrap {
    position: absolute;
    top: 80%; /* 画像の上から80%の位置 */
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
}

/* PC時の配置オプション (左・中央・右) */
.hero-slide__btn-wrap.pos-center {
    text-align: center;
}
.hero-slide__btn-wrap.pos-left {
    text-align: left;
    padding-left: 10%; /* 左寄せの場合の画面端からの余白 */
}
.hero-slide__btn-wrap.pos-right {
    text-align: right;
    padding-right: 10%; /* 右寄せの場合の画面端からの余白 */
}

/* 通知バーの位置調整 (通常配置に戻す) */
.hero-campaign .hero__notification {
    position: relative; /* ▼ staticからrelativeに変更 */
    z-index: 20;        /* ▼ 追加: スライダー画像よりも前面に配置 */
    background: linear-gradient(90deg, #4422b8 0%, #351a96 100%);
    padding: 15px 0;
}

/* レスポンシブ調整 */
@media (max-width: 900px) {
    /* モバイルではボタンが画像に対して大きくなりすぎたり、位置がずれるのを防ぐ */
    .hero-campaign__btn {
        top: 65%; /* 少し下げる */
        transform: translate(-50%, 0); /* 上下のセンタリングを微調整 */
    }
    .hero-campaign__btn .btn {
        font-size: 14px;
        padding: 12px 30px;
    }
}

/* 通知バー (絶対配置) */
.hero__notification {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    background: linear-gradient(90deg, #4422b8 0%, #351a96 100%);
    color: #fff;
    padding: 15px 0;
    width: 100%;
    font-weight: bold;
    font-size: 14px;
}
.notification-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.notification-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* コピーボタン & ツールチップ */
.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: 0.2s;
    position: relative;
}
.copy-btn:hover {
    color: #ccc;
}

.copy-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.copy-btn::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.2s;
}
.copy-btn:hover::after,
.copy-btn:hover::before {
    opacity: 1;
}

/* =========================================
   ニュース & ルール
   ========================================= */
.section-gray {
    background-color: var(--gray-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.info-column {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    height: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}
.news-date { font-size: 12px; color: #666; font-weight: bold; }
.badge-new { color: red; font-weight: bold; margin-left: 5px; font-style: italic; }
.news-title { font-size: 15px; margin: 8px 0; font-weight: bold; }
.news-desc { font-size: 13px; color: #666; line-height: 1.5; }

.rule-list li { border-bottom: 1px solid #eee; }
.rule-list a {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}
.rule-list .arrow { color: #ccc; }

/* =========================================
   選ばれる理由
   ========================================= */
.reasons__description {
    max-width: 1000px;
    margin: 30px auto;
    text-align: left;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.reasons__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.card {
    background: #fff;
    padding: 30px 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

/* アイコンボックス */
.card__icon-box {
    width: auto;
    height: auto;
    background: none;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card__icon-box svg {
    width: 60px;
    height: 60px;
}

.card h3 {
    color: #441cc4; /* 青紫 */
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: bold;
}

.card p {
    font-size: 13px;
    text-align: left;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #333;
}

/* セクション下部（テキスト＋ボタン） */
.reasons__footer {
    margin-top: 60px;
    text-align: center;
}

.reasons__footer-text {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.8;
}

/* 中央配置の紫ボタン */
.btn--purple-center {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #441cc4;
    color: #fff;
    padding: 15px 60px;
    min-width: 400px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 4px;
}
.btn--purple-center:hover {
    opacity: 0.9;
}
.arrow-right {
    font-size: 18px;
}

/* =========================================
   その他セクション
   ========================================= */
/* CTA Bar */
.cta-bar { background: var(--accent-color); padding: 15px 0; text-align: center; }
.cta-bar__link { color: #fff; font-weight: bold; display: block; width: 100%; font-size: 14px; }

/* =========================================
   初めての方へ (Intro) セクション修正
   ========================================= */

.intro {
    position: relative;
    width: 100%;
    /* 背景画像設定 */
    background-image: url('../img/first-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 上下の余白をさらに抑える */
    padding: 40px 0;
    /* はみ出した女性画像を切り取る */
    overflow: hidden;
}

.intro__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    min-height: 500px; 
}

/* 白いコンテンツボックス */
.intro__content-box {
    /* 白背景を少し透過 (0.9) */
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    /* コンテンツ幅いっぱいに広げる */
    width: 100%;
    /* テキスト幅 (女性画像との被りを防ぐ余白) */
    padding-right: 32%; 
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

/* ヘッダー周り */
.intro__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.intro__icon {
    width: 40px;
    height: auto;
}

.intro__title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* 本文 */
.intro__body p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

/* アカウント開設ボタン */
.intro__btn-wrapper {
    margin-top: 35px;
    width: 100%;
    display: flex;
    justify-content: center; 
}

.btn--account-white {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    border: 1px solid #333;
    padding: 15px 0;
    width: 100%;
    max-width: 400px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 4px;
}

.btn--account-white:hover {
    background: #333;
    color: #fff;
}
.arrow-right {
    font-size: 18px;
    font-weight: bold;
}

/* 女性の画像 */
.intro__person {
    position: absolute;
    bottom: -180px;
    right: -300px;
    width: 92%;
    max-width: 1500px;
    z-index: 2;
    pointer-events: none;
}

.intro__person img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(-10px 10px 30px rgba(0,0,0,0.3));
}

/* レスポンシブ対応 */
@media (max-width: 1100px) {
    .intro__content-box {
        padding-right: 40%;
    }
    .intro__person {
        right: -200px;
        width: 90%;
        bottom: -150px;
    }
}

@media (max-width: 900px) {
    .intro {
        padding: 40px 0;
    }
    
    .intro__container {
        flex-direction: column;
        min-height: auto;
    }

    .intro__content-box {
        width: 100%;
        padding: 30px 20px;
        margin-bottom: 250px; 
    }
    
    .intro__btn-wrapper {
        display: block;
    }

    .intro__person {
        width: 100%;
        max-width: 500px;
        bottom: -80px;
        right: -50px;
    }
    
    .intro__title {
        font-size: 18px;
    }
    
    .intro__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =========================================
   Plans (チャレンジプラン)
   ========================================= */
.plans__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: flex-start;
}

/* プランカード共通 */
.plan-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
}

.plan-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(98, 0, 238, 0.15);
    transform: translateY(-10px);
    z-index: 10;
}

/* ヘッダー */
.plan-card__header {
    padding: 25px 20px;
    text-align: center;
    background: #fff; 
}
.plan-card__header h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.plan-card__header .desc {
    font-size: 11px;
    text-align: left;
    margin-bottom: 20px;
    height: 50px;
    overflow: hidden;
    color: #666;
}

/* ボディ */
.plan-card__body {
    padding: 20px;
}

/* 行のデザイン */
.plan-row {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #E5E5E5;
}

.plan-row:first-child {
    border-top: 1px solid #E5E5E5;
}

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

.plan-row .label {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 5px;
}
.plan-row .dots {
    color: #ddd;
    letter-spacing: 2px;
}

/* 左寄せテキスト用 */
.text-left { text-align: left; }
.max-w-1000 { max-width: 1000px; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- 注意事項ボックス (Footnotes) --- */
.plan-notes-box {
    background: #fff;
    padding: 40px;
    margin-top: 50px;
    font-size: 12px;
    line-height: 1.8;
    color: #333;
    text-align: left;
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #eee;
}

.note-item {
    margin-bottom: 15px;
}

.note-footer-text {
    margin-top: 30px;
    color: #333;
}

.plan-notes-box::-webkit-scrollbar {
    width: 8px;
}
.plan-notes-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.plan-notes-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.plan-notes-box::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .plans__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .plan-card:hover {
        transform: translateY(-5px);
    }
    .plan-notes-box {
        padding: 20px;
    }
}

/* =========================================
   Platform (プラットフォーム)
   ========================================= */
.platform-image {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
}
.platform-image img {
    max-width: 100%;
    height: auto;
}

.label-grey-rect {
    display: inline-block;
    background-color: #999; 
    color: #fff;
    padding: 15px 60px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 0; 
}

.platform-box {
    background-color: #f5f5f5; 
    padding: 50px;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.dual-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mt-100 {
    margin-top: 100px;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .platform-image {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .platform-box {
        padding: 30px 20px;
    }
    .dual-buttons {
        grid-template-columns: 1fr;
    }
    .label-grey-rect {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
    .mt-100 {
        margin-top: 60px;
    }
}

/* =========================================
   Steps (アカウント購入方法)
   ========================================= */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.step-label {
    color: #441cc4;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.arrow-group {
    margin-left: 8px;
    font-family: monospace, sans-serif;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: -2px;
}
.ar-1 { color: #441cc4; }
.ar-2 { color: #9f8be1; }
.ar-3 { color: #c2b5ec; }

.step-box {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-box__header {
    padding: 20px 20px 0 20px;
    background: #fff;
    margin-bottom: 20px;
}

.step-box__header h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.step-line {
    width: 40px;
    height: 2px;
    background-color: #441cc4;
    margin-top: -2px;
    position: relative;
    z-index: 1;
}

.step-box__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.step-box__desc {
    background: #333;
    color: #fff;
    padding: 20px;
    font-size: 12px;
    line-height: 1.6;
    height: auto;
}

/* --- 購入手段エリア --- */
.purchase-methods-area {
    margin-top: 120px;
    text-align: center;
}

.purchase-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.purchase-line {
    width: 50px;
    height: 3px;
    background-color: #441cc4;
    margin: 0 auto 40px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.payment-methods img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .steps__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .payment-methods {
        gap: 20px;
    }
    .payment-methods img {
        height: 30px;
    }
    .purchase-methods-area {
        margin-top: 80px;
    }
}

/* =========================================
   Payout (ペイアウト方法)
   ========================================= */
.payout {
    background-color: #eaeaea;
}

.payout-desc-box {
    background: #fff;
    padding: 40px;
    text-align: left;
    margin-bottom: 60px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

@media (max-width: 900px) {
    .payout-desc-box {
        padding: 20px;
        margin-bottom: 40px;
    }
}

/* =========================================
   Owner (オーナー/メッセージ)
   ========================================= */
.owner {
    position: relative;
    width: 100%;
    background-image: url('../img/owner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0 0 0; 
    overflow: hidden;
}

.owner__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 350px; 
}

.owner__text {
    width: 60%; 
    padding-bottom: 40px; 
    color: #333;
    font-size: 14px;
    line-height: 2;
    font-weight: 500;
}

.owner__text p {
    margin-bottom: 20px;
}

.owner__image {
    width: 30%; 
    position: relative;
    align-self: flex-end;
    margin-bottom: -5px;
}

.owner__image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

@media (max-width: 900px) {
    .owner {
        padding: 40px 0 0 0;
    }
    
    .owner__container {
        flex-direction: column;
    }

    .owner__text {
        width: 100%;
        padding-bottom: 30px;
    }

    .owner__image {
        width: 60%; 
        max-width: 300px;
        margin: 0 auto;
    }
}

/* =========================================
   Legal Info (法的情報)
   ========================================= */
.legal-info {
    background-color: #fff;
    padding: 60px 0;
}

.legal-box {
    border: 1px solid #ddd; 
    padding: 40px;
    font-size: 11px; 
    color: #555;
    line-height: 1.8;
}

.legal-text p {
    margin-bottom: 20px;
    text-align: left;
}

.company-links {
    margin-top: 30px;
    text-align: center;
}

.company-name {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.link-rows {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.link-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px; 
}

.link-row a {
    color: #a52a2a; 
    text-decoration: none;
    transition: 0.3s;
}

.link-row a:hover {
    text-decoration: underline;
}

.sep {
    color: #999;
}

@media (max-width: 900px) {
    .legal-box {
        padding: 20px;
    }
    .link-row {
        flex-direction: column;
        gap: 5px;
    }
    .sep {
        display: none; 
    }
}

/* =========================================
   Site Info (運営情報)
   ========================================= */
.site-info {
    background-color: #eaeaea; 
    padding: 40px 0;
    font-size: 12px;
    line-height: 2;
    color: #333;
    text-align: left;
}

.mt-20 {
    margin-top: 20px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #441cc4; 
    color: #fff;
    padding: 25px 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.footer-inner {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.footer-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    position: relative;
    padding: 0 15px;
}

.footer-nav li:first-child {
    padding-left: 0;
}

.footer-nav li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); 
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.copyright {
    margin: 0;
    color: #fff;
    opacity: 1;
}

@media (max-width: 900px) {
    .footer {
        padding: 40px 0;
    }
    
    .footer-inner {
        flex-direction: column; 
        gap: 20px;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 0;
    }
    
    .footer-nav li {
        padding: 0 10px;
    }
}

/* =========================================
   スマホメニュー内のボタン調整 (PC時は非表示)
   ========================================= */
.nav-mobile-actions {
    display: none;
}
.search-btn-mobile {
    display: none; 
}


/* =========================================
   スマホ用改行クラス (PC時は非表示)
   ========================================= */
.br-sp { display: none; }




/* =========================================
   検索オーバーレイ
   ========================================= */
.search-overlay {
    position: absolute;
    top: 100%; /* ヘッダーのすぐ下に配置 */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    border-top: 1px solid #eee;
    
    /* 初期状態は非表示（上に隠しておく） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 990;
}

/* 表示時のクラス */
.search-overlay.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-overlay__inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form {
    flex-grow: 1;
    display: flex;
    align-items: stretch;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
}

.search-field {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
    -webkit-appearance: none; /* iOSデフォルトの装飾を無効化 */
}

.search-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.search-submit:hover {
    background-color: var(--accent-dark);
}

.search-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}
.search-close:hover {
    color: #333;
}



/* =========================================
   スクロール フェードイン アニメーション
   ========================================= */
/* 基本の動き（下から30px上にスライドしながらフワッと出る） */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JavaScriptで画面内に入った時に付与されるクラス */
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ▼ オプション：要素を順番に時間差で出したい時に併用するクラス */
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }
.fade-in.delay-6 { transition-delay: 0.6s; }



/* =========================================
   プランカードのホバーアニメーション復活用設定
   ========================================= */
/* フェードイン表示が完了した後は、ホバー時の速度(0.3s)に戻す */
.plan-card.fade-in.is-visible {
    transition: all 0.3s ease;
}

/* フェードインのtransformを上書きして、上に10px移動させる */
.plan-card.fade-in.is-visible:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(98, 0, 238, 0.15);
    transform: translateY(-10px);
    z-index: 10;
}



/* =========================================
   ファーストビュースライダー (Swiper)
   ========================================= */
.fv-swiper {
    width: 100%;
    position: relative;
}
.fv-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}
/* ナビゲーション矢印のカスタマイズ */
.fv-swiper .swiper-button-next,
.fv-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: 0.3s;
}
.fv-swiper .swiper-button-next:hover,
.fv-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
}
.fv-swiper .swiper-button-next::after,
.fv-swiper .swiper-button-prev::after {
    font-size: 18px;
}
/* ページネーション（ドット）のカスタマイズ */
.fv-swiper .swiper-pagination {
    bottom: 25px !important; /* デフォルトより少し上に持ち上げる */
}
.fv-swiper .swiper-pagination-bullet {
    background: transparent;
    border: 1px solid #ffffff;
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: 0.3s;
}
.fv-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
}

/* スマホ表示の時は矢印を消し、スワイプで操作させる */
@media (max-width: 900px) {
    .fv-swiper .swiper-button-next,
    .fv-swiper .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
    .fv-swiper .swiper-button-next::after,
    .fv-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    
    .fv-swiper .swiper-pagination {
        bottom: 20px !important; 
    }
    
    .fv-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}


/* =========================================
   レスポンシブ対応 (900px以下統合版)
   ========================================= */
@media (max-width: 900px) {
    :root { --header-height: 60px; }
    
    .pc-only { display: none !important; }

    /* ハンバーガーアイコンのアニメーション */
    .menu-toggle {
        display: block;
        width: 30px; 
        height: 30px; 
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001; 
        margin-right: 5px; 
    }
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        position: absolute;
        left: 3px;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }
    .menu-toggle span:nth-child(1) { top: 7px; }
    .menu-toggle span:nth-child(2) { top: 14px; }
    .menu-toggle span:nth-child(3) { bottom: 7px; }
    .menu-toggle.active span:nth-child(1) { top: 14px; transform: rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { bottom: 14px; transform: rotate(-45deg); }
    .header__actions { gap: 10px; }

    /* スマホ用メニューのスライドアニメーション設定 */
    .header__nav { 
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #fff;
        /* ▼ 修正: -1を削除し、ヘッダーの裏側に潜り込ませないようにする */
        z-index: 990;
        padding: 20px 20px 80px;
        overflow-y: auto;
        
        /* ▼ 修正: 上から滑り降りてくるのではなく、20px上からフワッとその場で現れる自然なアニメーションに変更 */
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .header__nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* ボタン群と検索窓 */
    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        order: -1;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        margin-bottom: 25px;
    }
    .nav-mobile-actions .btn { 
        width: 100%; 
        padding: 16px 20px !important; 
        font-size: 16px !important; 
        border-radius: 4px; 
    }
    .nav-mobile-actions .btn--primary { order: 1; }
    .nav-mobile-actions .btn--outline { order: 2; }
    .nav-mobile-actions .search-form-mobile { order: 3; margin-top: 10px; }

    .search-form-mobile {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 5px 0;
        background: transparent;
        border-bottom: 1px solid #ccc; /* 下線スタイル */
    }
    .search-field-mobile {
        flex-grow: 1;
        background: transparent;
        border: none;
        outline: none;
        font-size: 15px;
        color: #333;
        padding: 5px;
        -webkit-appearance: none;
    }
    .search-field-mobile::placeholder {
        color: #999;
    }
    .search-btn-mobile-submit {
        background: transparent;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-btn-mobile-submit img {
        width: 18px;
        height: 18px;
        opacity: 0.6;
    }

    /* メニューリスト（アコーディオン） */
    .header__nav .nav-list {
        order: 1; 
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        border-bottom: 1px solid #eee;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-item:first-child { border-top: 1px solid #eee; }

    .nav-link {
        padding: 18px 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 15px;
        font-weight: bold;
    }

    .nav-link .nav-arrow { display: none; }
    .nav-item.has-dropdown .nav-link::after,
    .nav-item.has-megamenu .nav-link::after {
        content: '+';
        font-size: 24px;
        font-weight: 300;
        color: #333;
        line-height: 1;
    }
    .nav-item.is-open .nav-link::after { content: '−'; }

    .dropdown-menu,
    .megamenu {
        display: flex !important; 
        flex-direction: column;
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        transform: none !important; 
        background: #fafafa;
        border: none;
        max-height: 0 !important;
        overflow: hidden;
        opacity: 0 !important;
        visibility: hidden !important; /* 確実に見えなくする */
        padding: 0; 
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    /* スマホではPCのホバー効果を強制的に無効化（ダブルタップ問題の根絶） */
    .nav-item:hover .dropdown-menu,
    .nav-item:hover .megamenu {
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* アコーディオン展開時（タップで.is-openが付いた時のみ開く） */
    .nav-item.is-open .dropdown-menu,
    .nav-item.is-open .megamenu {
        max-height: 1500px !important; 
        opacity: 1 !important;
        visibility: visible !important; 
        transform: none !important; 
    }

    .dropdown-menu a {
        padding: 15px 20px 15px 35px; 
        font-size: 14px;
        border-bottom: 1px solid #e0e0e0; 
        white-space: normal;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .dropdown-menu a::before { content: '›'; color: #999; font-size: 18px; line-height: 1; }
    .dropdown-menu a:last-child { border-bottom: none; }

    .megamenu .container {
        padding: 0 !important; 
        width: 100% !important;
        max-width: 100% !important;
    }
    .megamenu__inner { flex-direction: column; gap: 0; padding: 0; }
    .megamenu__sidebar { display: none; } 
    .megamenu__lists-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
    
    .megamenu__group-header {
        border-bottom: 1px solid #e0e0e0;
        margin: 0;
        padding: 15px 20px;
        background: #f0f0f0; 
    }
    .megamenu__group-header h3 { font-size: 14px; color: #333; }
    
    .header__nav .megamenu__list.list-2col,
    .header__nav .megamenu__list.list-1col { grid-template-columns: 1fr !important; gap: 0; }
    
    .megamenu__list li { border-bottom: 1px solid #e0e0e0; width: 100%; }
    .megamenu__list li:last-child { border-bottom: none; }
    
    .megamenu__list a { 
        padding: 15px 20px 15px 35px; 
        font-size: 14px; 
    }
    
    .megamenu__banner-area:not(.mobile-banner) { display: none !important; }

    /* ▼ スマホ用メニュー最下部に配置したバナーのスタイル */
    .mobile-banner {
        display: block !important;
        order: 10; 
        margin-top: 30px;
        padding: 0;
        width: 100%;
    }
    .mobile-banner .megamenu__banner-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    /* ▼ 追加: スマホ時は「スマホ用の文字サイズ」に切り替える */
    .partner-banner .banner-text {
        font-size: var(--text-size-sp, 15px) !important;
    }
    .banner-small .banner-text {
        font-size: var(--text-size-sp, 13px) !important;
    }

    /* ▼ 追加: スマホ用バナーの高さ調整 */
    .mobile-banner .partner-banner {
        height: 120px;
    }
    .mobile-banner .banner-side-group {
        height: auto;
        gap: 15px;
    }
    .mobile-banner .banner-small {
        height: 65px; /* 推奨サイズ通りの高さに */
    }
    
    /* 新ヒーローセクション (スマホ用スライド内ボタン位置調整) */
    .hero-slide__btn-wrap {
        top: 78%; 
        transform: translateY(-50%); 
        padding: 0 20px !important; 
        text-align: center !important; /* スマホ時は常に中央寄せ */
    }
    
    .hero-slide__btn-wrap .btn {
        font-size: 15px;
        padding: 16px 20px;
        width: 100%; 
        max-width: 320px; 
        margin: 0 auto;
        display: inline-block;
    }

    /* 通知バーのスライダー化 (スマホ時のみ) */
    .hero__notification,
    .hero-campaign .hero__notification {
        padding: 15px 0 25px 0; 
    }
    .notification-divider {
        display: none; 
    }
    .notification-container {
        position: relative;
        height: 38px; 
        display: flex;
        align-items: flex-start; 
        justify-content: center;
        padding-top: 0;
    }
    .notification-item {
        position: absolute;
        top: 0; 
        left: 0;
        width: 100%;
        padding: 0 10px;
        display: flex;
        justify-content: center;
        align-content: flex-start; 
        flex-wrap: wrap; 
        font-size: 13.5px; 
        line-height: 1.2; 
        gap: 3px; 
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease, visibility 0.8s ease;
    }
    .notification-item.is-visible {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }
    .notif-title {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0; 
    }
    .notif-code-area {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .notification-dots {
        position: absolute;
        bottom: -14px; 
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 8px;
        z-index: 2;
    }
    .notif-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .notif-dot.active {
        background-color: #fff;
    }

    /* -------------------------------------
       その他のレスポンシブ調整
       ------------------------------------- */
    /* スマホ時は改行をブロック要素として表示 */
    .br-sp { display: block; }

    .btn--outline, .btn--primary { padding: 8px 12px; font-size: 12px; }

    .section-padding { padding: 40px 0; }

    .section-title {
        font-size: 24px; 
        margin-bottom: 25px; 
    }

    .section-header {
        gap: 10px; 
        padding-bottom: 8px; 
        margin-bottom: 15px; 
    }
    .section-title--small { font-size: 16px; }
    .btn--small-outline {
        padding: 5px 10px;
        font-size: 11px; 
        white-space: nowrap; 
    }

    /* 「初めての方へ」セクション */
    .intro { padding: 40px 0; }
    .intro__container { flex-direction: column; min-height: auto; }
    .intro__content-box { 
        width: 100%; 
        padding: 30px 20px; 
        margin-bottom: 0; 
    }
    .intro__header { 
        display: flex;
        flex-direction: row; 
        align-items: center; 
        gap: 10px; 
        padding-bottom: 15px;
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }
    .intro__icon { 
        width: 30px; 
        height: auto; 
        flex-shrink: 0; 
    }
    .intro__title { 
        font-size: 19px; 
        letter-spacing: -0.02em; 
        margin: 0; 
        line-height: 1.4;
    }
    .intro__btn-wrapper { display: block; margin-top: 25px; }
    .intro__person { display: none !important; } 

    .hero { min-height: 500px; }
    .hero__content-wrapper { padding-left: 20px; padding-right: 20px; justify-content: center; }
    .hero__content { padding: 40px 20px; max-width: 100%; }
    .hero__title { font-size: 36px; }
    
    .info-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .reasons__cards { grid-template-columns: 1fr; gap: 20px; }
    .card { padding: 25px 20px 20px; }
    .card__icon-box { margin-bottom: 15px; }
    .card__icon-box svg { width: 45px; height: 45px; }

    .btn--purple-center { min-width: auto; width: 100%; padding: 15px 20px; }
    .dual-buttons { grid-template-columns: 1fr; }

    /* 購入手段・ペイアウト手段のロゴ整列 */
    .purchase-methods-area {
        margin-top: 60px; 
    }
    .payment-methods {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px 25px; 
    }
    .payment-methods img {
        height: 24px; 
        max-width: 105px; 
        object-fit: contain;
    }

    /* フッターのスマホ向け調整 */
    .footer {
        padding: 40px 0;
    }
    .footer-inner {
        flex-direction: column; 
        gap: 30px;
    }
    .footer-nav ul {
        flex-direction: column; 
        gap: 15px;
    }
    .footer-nav li {
        padding: 0;
    }
    .footer-nav li::after {
        display: none; 
    }
    .copyright {
        text-align: center; 
        font-size: 10px; 
    }


    /* =========================================
       チャレンジプランの横スクロール化 (スマホ時)
       ========================================= */
    /* ▼ 追加: 親セクションにはみ出し防止をかけ、画面全体の横揺れ（びよーん）をガードする */
    .plans {
        overflow-x: hidden;
    }

    .plans__grid {
        display: flex !important; /* グリッド縦並びを解除 */
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden; /* ▼ 追加: エリア内の縦揺れ（ナナメのびよーん）を完全に禁止する */
        -webkit-overflow-scrolling: touch; /* iOSでの滑らかなスクロール */
        gap: 15px;
        padding-bottom: 20px; 
        
        /* 画面の左右端いっぱいまでスクロールできるようにするテクニック */
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        
        /* スワイプ時にカードが画面中央でピタッと止まる設定 */
        scroll-snap-type: x mandatory;
        
        /* スクロールバーを隠してスッキリさせる */
        scrollbar-width: none;
    }
    .plans__grid::-webkit-scrollbar {
        display: none;
    }
    
    .plans__grid .plan-card {
        flex: 0 0 85%; /* 幅を85%にして「次のカード」を右端にチラ見せする */
        scroll-snap-align: center; /* スワイプ時に中央でピタッと止まる */
    }

    /* スマホ時はホバーの浮き上がりを無効化して操作性を上げる */
    .plans__grid .plan-card:hover {
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
        border-color: #eee !important;
    }
}

/* ▼ PC画面のときは不要な要素を隠し、ホバーを有効化 */
@media (min-width: 901px) {
    .mobile-banner { display: none !important; }
    .notification-dots { display: none !important; }

    /* 移動してきたホバー効果（PC限定にするためココで適用） */
    .nav-item:hover .nav-link { color: #441cc4; }
    .nav-item:hover .nav-arrow path { stroke: #441cc4; }
    .nav-item:hover .nav-arrow { transform: none !important; }
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    .nav-item:hover .megamenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}



/* =========================================
   WordPress アドミンバー（ログイン時）表示の調整
   ========================================= */

/* PC・タブレット共通（アドミンバー高さ32px） */
.admin-bar .header {
    top: 32px;
}

/* ハンバーガーメニュー展開時の背景調整（900px以下スマホ表示時のみ） */
@media screen and (max-width: 900px) {
    .admin-bar .header__nav {
        top: calc(var(--header-height) + 32px);
        height: calc(100vh - var(--header-height) - 32px);
    }
}

/* スマホサイズ（782px以下）でアドミンバーが太くなる（高さ46px）場合の対応 */
@media screen and (max-width: 782px) {
/*     html {
        margin-top: 46px !important;
    } */
    .admin-bar .header {
        top: 46px;
    }
    .admin-bar .header__nav {
        top: calc(var(--header-height) + 46px);
        height: calc(100vh - var(--header-height) - 46px);
    }
}