/* ========= 外為トップ ========= */

    .main-visual-section {
    position: relative;
    width: 100%;
}

/* 画像は横幅100%で自動調整 */
.main-visual-section img,
.main-visual-section picture {
    width: 100%;
    display: block;
}

/* テキスト配置（中央に重ねる） */
.main-visual-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.main-visual-text h1 {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* スマホ調整 */
@media (max-width: 767px) {
    .main-visual-text h1 {
        font-size: 1.8rem;
    }
}

/* ボタンエリア */
.section-modern {
    background: #f7f9fc;
    padding: 3rem 0;
}

.modern-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.7rem 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.4rem;
    line-height: 1.5;

    word-break: break-word;
}

.btn-modern {
    display: inline-block;
    padding: 1rem 5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
    align-self: center;
}

.btn-login {
    background: #6eba44;
    color: #fff;
}
.btn-login:hover {
    background: #5da23a;
}

.btn-demo {
    background: #6eba44;
    color: #fff;
}
.btn-demo:hover {
    background: #5da23a;
}

/* card */
.modern-card-list {
    max-width: 1050px;
    margin: 3rem auto;
}

.bg-service-menu {
    background: #f7f9fc;
    padding: 2px;
}

/* サブテキスト */
.card-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    margin-top: 0.4rem;
}

/* ボタングループ */
.btn-group-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 新規申込ボタン */
.btn-entry {
    background: #004ea2;
    color: #fff;
}
.btn-entry:hover {
    background: #003d82;
}

/* ---------------------------------------------
   カード
--------------------------------------------- */
.highlight-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.2rem 1rem 2.5rem;
    border-top: 6px solid #6eba44;
    text-align: center;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    transition: all .28s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16);
}

/* ---------------------------------------------
   画像枠
--------------------------------------------- */
.highlight-img-wrap {
    width: 170px;
    height: 130px;
    border-radius: 16px;
    background: #f2f7f0;
    margin: 0 auto 1.4rem;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.highlight-img-wrap img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* ---------------------------------------------
   タイトル
--------------------------------------------- */
.modern-simple-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    line-height: 1.45;

    margin: 0 auto;
    max-width: 90%;
    text-align: center;

    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* リンク装飾そのまま */
.modern-card-link {
    text-decoration: none;
    color: inherit;
}



/* 下部リンク */
.cleanlink-card-wrapper {
    margin: 3rem auto;
    max-width: 1100px;
}

.modern-simple-card:hover {
    opacity: 0.7;
}
/* ------------------------------
   カード本体
------------------------------ */
.cleanlink-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cleanlink-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ------------------------------
   タイトル
------------------------------ */
.cleanlink-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ------------------------------
   アイコン
------------------------------ */
.cleanlink-card-icon {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cleanlink-card-icon img {
    max-height: 60px;
    max-width: 60px;
    object-fit: contain;
    display: block;
}

/* ------------------------------
   スマホは2列
------------------------------ */
@media (max-width: 767px) {
    .cleanlink-col {
        width: 50%;
    }
}
/* 全体 */
.contact-section.luxury-motion {
    text-align: center;
    padding: 40px 20px;
    /* background: #e9f3fa; */
    color: #333;
    position: relative;
    overflow: hidden;
}
.contact-section.luxury-motion::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.5),
        transparent 60%
    );
    animation: softGlow 12s infinite ease-in-out;
    top: -50%;
    left: -50%;
    z-index: 0;
}

@keyframes softGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
    50% { transform: scale(1.1) translate(5%, 5%); opacity: 1; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.7; }
}

/* 説明文 */
.lux-lead {
    color: #555;
    margin-bottom: 45px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* カード部分 */
.lux-card {
    background: linear-gradient(145deg, #fff, #f6f6f6);
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    padding: 45px 35px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;

    /* アニメーション */
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* カードタイトル */
.lux-card-title {
    font-size: 1.5rem;
    color: #004ea2;
    font-weight: 600;
    margin-bottom: 12px;
}

/* カード説明 */
.lux-card-desc {
    color: #444;
    margin-bottom: 28px;
}

/* 電話番号 */
.lux-phone {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff0000;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

@keyframes phoneGlow {
    0% { text-shadow: 0 0 4px rgba(212,169,70,0.3); }
    50% { text-shadow: 0 0 12px rgba(212,169,70,0.6); }
    100% { text-shadow: 0 0 4px rgba(212,169,70,0.3); }
}

/* 受付時間 */
.lux-time {
    color: #666;
    font-size: 0.9rem;
}
/* 出現アニメーション */
.fade-in-buttons {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(10px);
}
.fade-in-buttons.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ===========================
   PC 右サイド
=========================== */
.side-floating {
    position: fixed;
    right: 18px;
    top: 45%;
    transform: translateY(-45%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.side-btn {
    width: 140px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #004ea2;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
}

.side-btn .icon {
    font-size: 16px;
}

.side-btn:hover {
    transform: translateX(-4px);
    background: #e7f2ff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.side-btn.faq {
    color: #444;
}

/* ===========================
   SP 画面下部
=========================== */
.bottom-floating {
    display: none;
}

@media (max-width: 767px) {
    .side-floating {
        display: none;
    }

    .bottom-floating {
        position: fixed;
        bottom: 12px;
        left: 0;
        width: 100%;
        display: flex;
        gap: 10px;
        padding: 0 12px;
        z-index: 9999;
    }

    .bottom-btn {
        flex: 1;
        padding: 12px 0;
        background: #ffffffdd;
        backdrop-filter: blur(6px);
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        color: #005bac;
        border: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 5px 14px rgba(0,0,0,0.12);
        transition: background 0.2s ease;
    }

    .bottom-btn:hover {
        background: #e4f3ff;
    }

    .bottom-btn.faq {
        color: #444;
    }
}

/* ========= FAQ ========= */

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding-left:1rem;
}

/* ===== ヘッダー ===== */
.faq-header h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.faq-header p {
  text-align: center;
  color: #6b7280;
}

/* ===== 目次ナビ ===== */
.faq-nav-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.faq-nav {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
}

.faq-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: .25s;
}

.faq-nav-item:hover {
  background: #004ea2;
  color: #fff;
  transform: translateY(-2px);
}

.faq-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #004ea2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-nav-item:hover .faq-nav-icon {
  background: #fff;
  color: #0d6efd;
}

/* ===== カテゴリ ===== */
.faq-category {
  font-size: 1.6rem;
  font-weight: 700;
  border-left: 6px solid #004ea2;
  padding-left: 1rem;
  margin: 4rem 0 2rem;
}

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: box-shadow .3s;
}

.faq-item:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
}

.faq-q {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #004ea2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-title {
  font-weight: 600;
}

.faq-icon {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
  transition: transform .3s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(-135deg);
}

/* ===== 回答 ===== */
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-answer {
  background: #fafafa;
  padding: 1.5rem 2rem;
  line-height: 1.8;
}

/* ===== モバイル ===== */
@media (max-width: 576px) {
  .faq-nav { grid-template-columns: 1fr; }
}
/* ===== FAQ 回答 共通 ===== */
.faq-answer {
  background: #fafafa;
  padding: 1.75rem 2rem;
  line-height: 1.9;
  font-size: 0.95rem;
}

/* 段落感を出す */
.faq-answer > *:not(:last-child) {
  margin-bottom: 1rem;
}

/* リンク（規定PDFなど） */
.faq-answer a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer a:hover {
  text-decoration: none;
}

/* ===== 箇条書き（利用条件など） ===== */
.faq-answer ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1.25rem;
}

.faq-answer ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
}

/* チェック風アイコン */
.faq-answer ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #0d6efd;
  font-weight: bold;
}

/* 注記（※） */
.faq-answer span {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
}

.faq-answer table.gaitametable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1.75rem;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.faq-answer table.gaitametable th,
.faq-answer table.gaitametable td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.6;
}

.faq-answer table.gaitametable th {
  background: #f1f5f9;
  font-weight: 700;
  text-align: center;
  color: #334155;
}

.faq-answer table.gaitametable td.category {
  background: #f8fafc;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.faq-answer table.gaitametable .center {
  text-align: center;
  font-weight: 600;
}

.faq-answer table.gaitametable tr:last-child td {
  border-bottom: none;
}

/* =================================================
   モバイル対応
================================================= */
@media (max-width: 768px) {

  /* Qボタン崩れ防止 */
  .faq-question {
    align-items: flex-start;
  }

  .faq-q {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex-shrink: 0;
    line-height: 1;
    font-size: 0.9rem;
    margin-top: 0.1rem;
  }

  .faq-title {
    font-size: 0.95rem;
  }

  /* テーブルカード化 */
  .faq-answer table.gaitametable,
  .faq-answer table.gaitametable thead,
  .faq-answer table.gaitametable tbody,
  .faq-answer table.gaitametable tr,
  .faq-answer table.gaitametable th,
  .faq-answer table.gaitametable td {
    display: block;
    width: 100%;
  }

  .faq-answer table.gaitametable th {
    display: none;
  }

  .faq-answer table.gaitametable tr {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
  }

  .faq-answer table.gaitametable td {
    border: none;
    padding: 0.4rem 0;
  }

  .faq-answer table.gaitametable td.category {
    color: #004ea2;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
}
/* 通貨情報の見出し */
.currency-info {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.currency-info .underline {
  text-decoration: underline;
  color: #004ea2;
}

/* 注記 */
.note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-left: 1em;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* 通貨リスト */
.currency-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.currency-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* チェック風アイコン */
.currency-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #0d6efd;
  font-weight: bold;
}

/* 地域名（赤系） */
.currency-region {
  font-weight: 700;
  color: #dc2626;
  display: block;
}

/* 通貨名（黒） */
.currency-names {
  color: #000000;
  display: block;
  margin-top: 0.25rem;
}

/* モバイル対応 */
@media (max-width: 576px) {
  .currency-info {
    font-size: 0.95rem;
  }

  .note {
    font-size: 0.85rem;
    margin-left: 0.5em;
  }

  .currency-list li {
    padding-left: 1.5rem;
  }
}

/* ========= 重要なお知らせ ========= */

.ofac-alert {
    font-size: 14px;
    line-height: 1.6;
}

.ofac-title {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 15px;
}

.ofac-list {
    padding-left: 1rem;
    margin-bottom: 0;
}

.ofac-list > li {
    margin-bottom: 1rem;
}

.ofac-section-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ofac-sublist {
    padding-left: 1.2rem;
    margin-bottom: 0.75rem;
}

.ofac-sublist li {
    margin-bottom: 0.5rem;
}

.ofac-note {
    padding-left: 1.2rem;
    font-size: 13px;
    color: #5a5a5a;
}

.ofac-note li {
    margin-bottom: 0.4rem;
}

.ofac-non-usd {
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
}

/* ========= ご利用規定 ========= */

.tsukuba-gw {
  max-width: 960px;
}

/* セクション：白背景＋余白で区切る */
.tsukuba-gw-section {
  background: #ffffff;
  padding: 3rem 3.5rem;
  margin-bottom: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* 見出し：抑制された高級感 */
.tsukuba-gw-title {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  color: #004ea2;
}

/* 説明文 */
.tsukuba-gw-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 2rem;
}

/* リンクボックス */
.tsukuba-gw-link {
  display: block;
  padding: 1.4rem 1.8rem;
  border: 1px solid #e3e6ea;
  border-radius: 3px;
  background-color: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ホバーは控えめに */
.tsukuba-gw-link:hover {
  border-color: #b7c3d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

/* リンクタイトル */
.tsukuba-gw-link-title {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #002b5c;
  margin-bottom: 0.35rem;
}

/* メタ情報 */
.tsukuba-gw-link-meta {
  font-size: 0.78rem;
  color: #777;
}

/* ========= セキュリティ ========= */

    /* 全体トーン */
.tw-security-luxury {
    font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
    color: #2c2c2c;
}

/* リード */
.tw-lead-luxury {
    max-width: 960px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.9;
    color: #444;
}

/* パネル */
.tw-panel {
    background: #ffffff;
    padding: 2rem 2.2rem;
    height: 100%;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    transition: border-color 0.2s ease;
}

.tw-panel:hover {
    border-color: #004ea2;
}

/* 見出し */
.tw-panel-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #004ea2;
    margin-bottom: 1rem;
}

/* テキスト */
.tw-panel p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: #333;
}

/* 横幅フル */
.tw-panel-wide {
    padding-left: 3rem;
    padding-right: 3rem;
}

/* リンク */
.tw-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #1f3a5f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.tw-link:hover {
    border-color: #1f3a5f;
}

/* 注意喚起 */
.tw-notice-luxury {
    background: #faf7f6;
    border-left: 5px solid #7a1f2b;
    padding: 2.5rem;
}

.tw-notice-luxury h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #7a1f2b;
    letter-spacing: 0.05em;
}

.tw-notice-luxury li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}


/* ========= ご利用環境 ========= */

.tsukuba-gaitame-env-scope {
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    background-color: white;
    padding: 3rem;
}

/* Header */
.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #004ea2;
    margin-bottom: 1.5rem;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-title {
    margin: 0;
    font-weight: 600;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-date {
    font-size: 12px;
    color: #666;
}

/* Description */
.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-description {
    background: #f9f9f9;
    padding: 1rem 1.25rem;
    border-left: 4px solid #004ea2;
    margin-bottom: 1.5rem;
}

/* Table */
.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-tablewrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-table th {
    background: #f3f4f6;
    font-weight: 600;
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: center;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-os {
    font-weight: 600;
    background: #fafafa;
    text-align: center;
    width: 140px;
}

/* Notes */
.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-notes {
    list-style: none;
    padding: 1rem 1.25rem;
    margin: 0;
    background: #f8f8f8;
    border-radius: 6px;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-notes li {
    font-size: 12.5px;
    color: #555;
    margin-bottom: 0.4rem;
}

.tsukuba-gaitame-env-scope .tsukuba-gaitame-env-notes li:last-child {
    margin-bottom: 0;
}


/* ========= 承諾事項 ========= */

.fx-wrapper {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

/* リード文 */
.fx-lead {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* =========================
   セクションカード（白背景）
========================= */
.fx-card {
  background: #fff; /* ← 白固定 */
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid #e5e5e5;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* 注意系（赤アクセント） */
.fx-card-danger {
  border-left: 6px solid #b02a37;
}

/* =========================
   見出し
========================= */
.fx-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.fx-main-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ddd;
}

.fx-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #004ea2;
  margin-bottom: 0.75rem;
}

/* =========================
   リスト
========================= */
.fx-list > li {
  margin-bottom: 3rem;
}

.fx-arrow-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
}

.fx-arrow-list li {
  position: relative;
  padding-left: 1.25rem;
}

.fx-arrow-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #b02a37;
  font-size: 0.8rem;
  top: 0.2rem;
}

.fx-number-list {
  padding-left: 1.2rem;
}

/* =========================
   サブブロック（白背景）
========================= */
.fx-sub-block {
  background: #f8f9fa;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.25rem;
  border: 1px solid #e0e0e0;
}

.fx-sub-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* =========================
   テーブル
========================= */
.fx-table {
  margin-top: 0.75rem;
}

.fx-table th {
  width: 25%;
  white-space: nowrap;
  background: #fff;
  font-weight: 600;
}

/* =========================
   注意・警告文（白背景）
========================= */
.fx-alert {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #f8f9fa;
  border-left: 4px solid #004ea2;
  border-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* 補足 */
.fx-note {
  font-size: 0.85rem;
  color: #666;
}

/* お知らせブロック */
.notice-alert-wrapper {
  max-width: 1200px;
  margin: 16px auto;
  padding: 0 16px;
}

.notice-alert-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #e60000;
  padding: 10px 14px;
  background-color: #fff;
  color: #e60000;
  font-weight: 600;
}

.notice-alert-link:hover .notice-alert-box {
  background-color: #fff5f5;
  box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.15);
}

.notice-alert-link:hover {
  text-decoration: none !important;
}

.notice-alert-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-alert-icon {
  font-size: 18px;
  line-height: 1;
}

.notice-alert-label {
  font-weight: 700;
}

.notice-alert-text {
  font-weight: 600;
}

.notice-alert-arrow {
  font-size: 14px;
  cursor: pointer;
}

.notice-alert-box.is-opne .notice-alert-arrow {
  transform: rotate(180deg);
} 

/* ========= ご利用までの流れ ========= */
.sub001-flow-wrapper {
    border-radius: 8px;
}

/* 1ステップ */
.sub001-flow-step {
    position: relative;
    display: flex;
    align-items: center;
    padding: 24px 0 24px 80px;
    border-left: 2px solid #e6e6e6;
}

/* 最終ステップ */
.sub001-flow-step-last {
    border-left: none;
}

/* ステップ番号 */
.sub001-flow-num {
    position: absolute;
    left: -1px;
    top: 24px;
    width: 46px;
    height: 46px;
    background-color: #004ea2;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 画像エリア */
.sub001-flow-image {
    width: 90px;
    min-width: 90px;
    height: 90px;
    margin-right: 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub001-flow-image img {
    max-width: 70%;
    max-height: 70%;
}

/* テキスト */
.sub001-flow-content h5 {
    font-weight: 700;
    margin-bottom: 6px;
    color: #212529;
}

.sub001-flow-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .sub001-flow-step {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }

    .sub001-flow-num {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .sub001-flow-image {
        margin: 10px 0 12px 0;
    }
}

/* ========= サービス概要 ========= */

.fx-section {
  max-width: 1100px;
  margin-inline: auto;
}

.fx-section-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #2f3a44;
}

/* ===== タイトル ===== */
.fx-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2a37;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.fx-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #1f3a5f, #4b6b8a);
}

/* ===== Card ===== */
.fx-card {
  background: #ffffff;
  border-radius: 12px;
}

.fx-card-danger {
  border-left: 6px solid #b23a3a;
  background: linear-gradient(180deg, #fffafa, #ffffff);
}

/* ===== リスト ===== */
.fx-list li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* ===== Note ===== */
.fx-note {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ===== Link ===== */
.fx-link {
  color: #1f3a5f;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 58, 95, 0.4);
}

.fx-link:hover {
  color: #10253f;
  border-bottom-color: #10253f;
}

/* ===== Table ===== */
.fx-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.fx-table thead th {
  background: #f3f4f6;
  color: #1f2a37;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.fx-table th,
.fx-table td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
}

.fx-table tbody tr:last-child td {
  border-bottom: none;
}

.fx-table-title {
  font-weight: 600;
  color: #1f2a37;
}

.fx-table-region {
  font-weight: 600;
  color: #7c2d12;
  text-align: center;
  white-space: nowrap;
}

/* ===== Image ===== */
.fx-section img {
  background: #ffffff;
}

/* ===== Utility ===== */
.table-responsive {
  border-radius: 12px;
}
/* スマホ用テーブル最適化 */
@media screen and (max-width: 768px) {

  /* 横スクロールを明示 */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* テーブルが潰れないように最小幅を指定 */
  .fx-table {
    min-width: 650px;
  }

  /* 見出しを読みやすく */
  .fx-table th {
    white-space: nowrap;
    font-size: 14px;
  }

  /* セル内の可読性向上 */
  .fx-table td {
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
  }

  /* 備考列を広めに */
  .fx-table th:last-child,
  .fx-table td:last-child {
    min-width: 250px;
  }

  /* 手数料名称を太字 */
  .fx-table-title {
    font-weight: bold;
  }

  /* 外為Web受付を強調 */
  .fx-table td:nth-child(2),
  .fx-table th:nth-child(2) {
    font-weight: bold;
    color: #d00;
  }
}