/*
Theme Name: 藍（あい）為替テーマ
Description: 外国為替証拠金取引・差金決済取引の事業者向け日本語テーマ。会社名・登録番号・連絡先などは「外観 ＞ カスタマイズ ＞ 会社情報」で設定します。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ai-fx
*/

:root {
  --navy: #121b5c;
  --navy-deep: #0c1244;
  --blue: #2a3bb0;
  --violet: #4b37b3;
  --red: #d7263d;
  --sun: #f2c230;
  --paper: #f4f5fa;
  --ink: #1c1f33;
  --muted: #5b6075;
  --line: #dadce8;
  --head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --sans:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-size: 16px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
}
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 860px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
}
.skip:focus {
  left: 8px;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand svg {
  width: 44px;
  height: 30px;
  flex: none;
}
.brand-name {
  display: block;
  font-family: var(--head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.3;
}
.brand-sub {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.gnav > ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gnav a {
  display: block;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.gnav a:hover::after,
.gnav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.gnav .has-sub {
  position: relative;
}
.gnav .has-sub > a {
  padding-right: 14px;
}
.gnav .has-sub > a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}
.gnav .sub {
  display: none;
  position: absolute;
  left: -18px;
  top: 100%;
  min-width: 230px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-top: 3px solid var(--blue);
  box-shadow: 0 12px 28px rgba(18, 27, 92, 0.14);
}
.gnav .sub a {
  padding: 10px 18px;
  font-size: 14px;
}
.gnav .sub a::after {
  display: none;
}
.gnav .sub a:hover {
  background: var(--paper);
  color: var(--blue);
}
.gnav .has-sub:hover .sub,
.gnav .has-sub:focus-within .sub {
  display: block;
}
.gnav .nav-cta a {
  background: var(--red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
}
.gnav .nav-cta a::after {
  display: none;
}
.gnav .nav-cta a:hover {
  background: #b81d31;
}
.menu-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 13px 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn:hover {
  background: #fff;
  color: var(--ink);
}
.btn-red {
  background: var(--red);
  border-color: var(--red);
}
.btn-red:hover {
  background: #fff;
  color: var(--red);
}
.btn-line {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-line:hover {
  background: #fff;
  color: var(--navy);
}
.btn-round {
  border-radius: 999px;
}

/* ヒーロー */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  background: linear-gradient(180deg, #070b2e 0%, #121b5c 52%, #3b2d93 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero:before {
  content: "";
  background: url(assets/img/banner1.jpg) center center no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.hero-rays {
  position: absolute;
  right: -140px;
  top: -160px;
  width: 620px;
  height: 620px;
  opacity: 0.5;
}
.hero-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 46%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 11, 46, 0.85) 0%,
    rgba(7, 11, 46, 0.55) 45%,
    rgba(7, 11, 46, 0) 75%
  );
  z-index: 1;
}
.hero-rays,
.hero-city {
  z-index: 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 140px;
  width: 100%;
}
.hero h1 {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(44px, 5vw, 120px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  margin: 0 0 30px;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero h1 span:last-child {
  padding-left: 0.9em;
}
.hero-tag {
  display: inline-block;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.14em;
  border-bottom: 3px solid var(--red);
  padding-bottom: 6px;
  margin: 0 0 18px;
}
.hero-lead {
  max-width: 34em;
  color: #d3d7f2;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero h1 span {
  animation: up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero h1 span:last-child {
  animation-delay: 0.15s;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* お知らせ帯 */
.news-band {
  padding: 56px 0;
}
.news-band .wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.news-band h2 {
  font-family: var(--head);
  font-weight: 900;
  color: var(--red);
  font-size: 30px;
  letter-spacing: 0.12em;
  margin: 0;
}
.news-band h2 a {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  display: block;
  letter-spacing: 0.06em;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list li {
  border-bottom: 1px solid #b9bdd0;
}
.news-list a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.news-list a:hover {
  color: var(--blue);
}
.news-list time {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
}

/* セクション共通 */
.section {
  padding: 96px 0;
  position: relative;
}
.section-paper {
  background: var(--paper);
}
.sec-head {
  text-align: center;
  position: relative;
  margin: 0 0 56px;
}
.sec-head .ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -62%);
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(64px, 11vw, 140px);
  color: rgba(18, 27, 92, 0.035);
  white-space: nowrap;
  letter-spacing: 0.1em;
  pointer-events: none;
  line-height: 1;
}
.section-paper .sec-head .ghost {
  color: rgba(18, 27, 92, 0.045);
}
.sec-head .for {
  position: relative;
  display: block;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.sec-head h2 {
  position: relative;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.5;
}
.sec-head p {
  position: relative;
  max-width: 42em;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 15px;
}

/* 架け橋帯 */
.bridge {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 84px 0;
  background: #101431;
}

.bridge:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(assets/img/banner2.jpg) center center no-repeat;
  background-size: cover;
  opacity: 0.2;
}

.bridge svg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: auto;
  opacity: 0.18;
}
.bridge .wrap {
  position: relative;
  max-width: 860px;
}
.bridge h2 {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: 0.14em;
  margin: 0 0 28px;
}
.bridge p {
  margin: 0 0 14px;
  color: #e4e6fa;
  font-size: 15px;
}
.bridge .btn {
  margin-top: 22px;
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}
.bridge .btn:hover {
  background: #fff;
  color: var(--navy);
}

/* 特徴 */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.reasons li {
  text-align: center;
}
.panel {
  display: block;
  aspect-ratio: 3/2;
  width: 100%;
  background: var(--paper);
}
.reasons .num {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin: 18px 0 2px;
}
.reasons h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 10px;
  letter-spacing: 0.08em;
}
.reasons p {
  text-align: left;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* 事業（交互） */
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  margin: 0 0 20px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(18, 27, 92, 0.04);
}
.svc .panel {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
}
.svc-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 36px;
  background: linear-gradient(120deg, #fff 0%, #eef0fa 100%);
}
.svc:nth-child(even) .panel {
  order: 2;
}
.svc .svc-no {
  font-family: var(--head);
  font-weight: 900;
  font-style: italic;
  color: var(--blue);
  font-size: 56px;
  line-height: 1;
  margin: 0 0 10px;
}
.svc h3 {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  margin: 0 0 16px;
  line-height: 1.5;
}
.svc p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 28em;
}
.svc a.more {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.cards2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.card-b {
  border: 2px solid var(--blue);
  padding: 16px 16px 28px;
  background: #fff;
}
.card-b .panel {
  aspect-ratio: 16/10;
}
.card-b h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--head);
  font-weight: 900;
  color: var(--blue);
  font-size: 22px;
  letter-spacing: 0.1em;
  margin: 20px 8px 10px;
}
.card-b h3 em {
  font-style: italic;
  font-size: 40px;
  line-height: 1;
}
.card-b p {
  margin: 0 8px;
  font-size: 14px;
  color: var(--muted);
}
.center {
  text-align: center;
  margin-top: 44px;
}

/* 流れ */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  counter-reset: f;
}
.flow li {
  counter-increment: f;
  position: relative;
  padding: 0 14px;
  text-align: center;
}
.flow li::before {
  content: counter(f);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sun);
  font-family: var(--head);
  font-weight: 900;
  font-size: 26px;
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  border-top: 2px dashed #aeb4d8;
}
.flow h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.flow p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  text-align: left;
}

/* 料金 */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.price-grid > div {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.price-grid > div:last-child {
  border-right: 0;
}
.price-grid h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.price-grid .yen {
  font-family: var(--head);
  font-weight: 900;
  color: var(--navy);
  font-size: 30px;
  margin: 6px 0 10px;
  letter-spacing: 0.02em;
}
.price-grid .yen small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.price-grid p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.note {
  font-size: 12.5px;
  color: var(--muted);
}

/* 表 */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 20px;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: #fff;
  font-size: 15px;
}
.tbl th,
.tbl td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}
.tbl thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  border: 0;
}
.tbl tbody th {
  width: 26%;
  color: var(--navy);
  font-weight: 700;
  background: var(--paper);
}

/* 質問 */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 60px;
  position: relative;
  font-weight: 700;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "問";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 28px;
}
.faq details p {
  margin: 0;
  padding: 0 24px 20px 60px;
  color: var(--muted);
  position: relative;
}
.faq details p::before {
  content: "答";
  position: absolute;
  left: 18px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* コラム */
.col-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.col-box {
  background: #fff;
  padding: 30px 30px 36px;
  box-shadow: 0 4px 20px rgba(18, 27, 92, 0.06);
}
.col-box h3 {
  text-align: center;
  font-family: var(--head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.1em;
  margin: 0 0 22px;
}
.posts {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.posts li {
  margin-bottom: 18px;
}
.posts a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  color: var(--ink);
  text-decoration: none;
}
.posts a:hover h4 {
  color: var(--blue);
}
.thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1d2c9e, #5b3bb8);
  position: relative;
  overflow: hidden;
}
.thumb::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0.85;
}
.thumb.t2 {
  background: linear-gradient(135deg, #0c1244, #2a3bb0);
}
.thumb.t2::after {
  background: var(--red);
  border-radius: 0;
  transform: rotate(45deg);
}
.thumb.t3 {
  background: linear-gradient(135deg, #3b2d93, #d7263d);
}
.posts time {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.posts h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}
.col-box .btn {
  display: block;
  width: max-content;
  margin: 0 auto;
}

/* 問い合わせ帯 */
.contact-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 80px 0;
  background: linear-gradient(110deg, #0c1244 0%, #1a2470 60%, #2d2a86 100%);
}
.contact-band .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.contact-band h2 {
  font-family: var(--head);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
}
.contact-band p {
  margin: 0 0 18px;
  color: #cdd1ee;
  font-size: 14px;
}
.tel {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tel svg {
  width: 40px;
  height: 40px;
  flex: none;
}
.tel b {
  display: block;
  font-family: var(--head);
  font-size: 32px;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.tel small {
  font-size: 12px;
  color: #cdd1ee;
}
.contact-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.pill:hover {
  background: var(--sun);
}
.pill.green {
  background: #21b259;
  color: #fff;
}
.pill.green:hover {
  background: #1a9a4c;
}

/* 下層ヒーロー */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 72px 0 64px;
  background: linear-gradient(110deg, #0c1244 0%, #1d2c9e 60%, #4b37b3 100%);
}
.page-hero .ghost {
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 180px);
  color: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  line-height: 1;
}
.page-hero .wrap {
  position: relative;
}
.crumbs {
  font-size: 12px;
  color: #b9bee6;
  margin: 0 0 18px;
}
.crumbs a {
  color: #b9bee6;
}
.page-hero h1 {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  line-height: 1.4;
}
.page-hero p {
  margin: 0;
  max-width: 40em;
  color: #d9dcf4;
}

.prose {
  max-width: 820px;
}
.prose p {
  margin: 0 0 1.2em;
}
.prose h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
  margin: 52px 0 16px;
  padding: 0 0 10px 0;
  border-bottom: 2px solid var(--navy);
  position: relative;
  letter-spacing: 0.06em;
}
.prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 80px;
  height: 2px;
  background: var(--red);
}
.prose h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 28px 0 8px;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}
.check {
  list-style: none;
  padding: 0 !important;
}
.check li {
  position: relative;
  padding-left: 28px;
}
.check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
}
.check li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.5em + 4px);
  width: 6px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.feature-row:nth-child(even) .panel {
  order: 2;
}
.feature-row .label {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
}
.feature-row h3 {
  font-family: var(--head);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.08em;
  margin: 4px 0 14px;
  line-height: 1.5;
}
.feature-row p {
  margin: 0 0 12px;
  color: var(--muted);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  background: #fff;
  border-top: 4px solid var(--blue);
  padding: 26px 26px 28px;
  box-shadow: 0 4px 20px rgba(18, 27, 92, 0.06);
}
.case .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 2px 10px;
  margin-bottom: 12px;
}
.case .tag.ind {
  background: var(--violet);
}
.case h3 {
  font-size: 17px;
  margin: 0 0 12px;
  line-height: 1.6;
}
.case dl {
  margin: 0;
  font-size: 13.5px;
}
.case dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 10px;
}
.case dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.box-note {
  border: 2px solid var(--sun);
  background: #fffbea;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 14px;
}
.box-note strong {
  color: #8a6a00;
}

.form {
  display: grid;
  gap: 22px;
  max-width: 760px;
}
.form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}
.form .req {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  padding: 1px 8px;
  margin-left: 8px;
  border-radius: 2px;
  font-weight: 500;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bfc3d6;
  font: inherit;
  background: #fff;
  border-radius: 2px;
}
.form textarea {
  min-height: 180px;
}
.form .radios {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 400;
}
.form .agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}

/* 取引条件・注意 */
.risk-box {
  border: 2px solid var(--red);
  background: #fff5f6;
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 14px;
}
.risk-box h3 {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 16px;
}
.risk-box p,
.risk-box ul {
  margin: 0;
}
.risk-box ul {
  padding-left: 1.2em;
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.prod-grid a {
  display: block;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(18, 27, 92, 0.07);
  border-bottom: 3px solid transparent;
}
.prod-grid a:hover {
  border-bottom-color: var(--red);
}
.prod-grid .panel {
  aspect-ratio: 4/3;
}
.prod-grid b {
  display: block;
  font-family: var(--head);
  font-size: 16px;
  padding: 14px 14px 2px;
  letter-spacing: 0.06em;
}
.prod-grid small {
  display: block;
  padding: 0 14px 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.hours {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  margin: 0;
}
.hours div {
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}
.hours div:last-child {
  border-right: 0;
}
.hours dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.hours dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.disclosure {
  margin-top: 40px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 1.9;
  color: #c3c8ea;
}
.disclosure strong {
  color: #fff;
  font-weight: 700;
}
.disclosure a {
  color: #fff;
}

/* クッキー案内 */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 80px;
  bottom: 16px;
  z-index: 80;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 32px rgba(12, 18, 68, 0.22);
  padding: 18px 22px;
  display: none;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.cookie-bar.show {
  display: flex;
}
.cookie-bar p {
  margin: 0;
  flex: 1;
  line-height: 1.7;
}
.cookie-bar .btn {
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cookie-bar .btn-ghost {
  background: #fff;
  color: var(--ink);
}

/* フッター */
.site-footer {
  background: var(--navy-deep);
  color: #d3d7f2;
  padding: 64px 0 0;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 48px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: #d3d7f2;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-co h3 {
  color: #fff;
  font-family: var(--head);
  font-size: 17px;
  margin: 0 0 10px;
  letter-spacing: 0.08em;
}
.footer-co address {
  font-style: normal;
  line-height: 1.95;
}
.footer-legal {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 28px;
  text-align: center;
}
.footer-legal ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}
.footer-legal a {
  color: #d3d7f2;
  font-size: 12px;
}
.footer-legal small {
  font-size: 11px;
  color: #8e94c2;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  z-index: 50;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: block;
  }
  .gnav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 0 24px 20px;
  }
  .gnav.open {
    display: block;
  }
  .gnav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .gnav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .gnav .sub {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .gnav .has-sub > a::before {
    display: none;
  }
  .gnav .nav-cta a {
    margin-top: 14px;
    text-align: center;
    border: 0;
  }
  .news-band .wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reasons,
  .case-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .svc {
    grid-template-columns: 1fr;
  }
  .svc:nth-child(even) .panel {
    order: 0;
  }
  .svc .panel {
    min-height: 200px;
    aspect-ratio: 16/8;
  }
  .cards2,
  .col-split,
  .contact-band .wrap,
  .footer-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row:nth-child(even) .panel {
    order: 0;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 520px;
    margin: 0 auto;
  }
  .flow li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 4px 18px;
    text-align: left;
    padding: 0;
  }
  .flow li::before {
    grid-row: span 2;
    margin: 0;
  }
  .flow li::after {
    display: none;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .prod-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hours {
    grid-template-columns: 1fr;
  }
  .hours div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .price-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 68px 0;
  }
  .news-list a {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .posts a {
    grid-template-columns: 96px 1fr;
  }
  .hero h1 span:last-child {
    padding-left: 0;
  }
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    right: 16px;
    bottom: 76px;
  }
  .hero-rays {
    width: 380px;
    height: 380px;
    right: -160px;
    top: -120px;
    opacity: 0.35;
  }
  .hero-copy {
    padding-top: 56px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero h1 span {
    white-space: nowrap;
  }
  .hero-tag {
    font-size: 15px;
    letter-spacing: 0.06em;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
