:root {
  /* サイトのメインカラー（見出し・ナビ・CTA など） */
  --navy: #2b3251;
  /* メインカラーを一段暗くした色（申し込み帯など） */
  --navy-deep: #1a2038;
  --blue: #467da8;
  --text: #243342;
  --muted: #667686;
  --line: #dce5ec;
  --gold: #b89a4d;
  --white: #ffffff;
  --gray-bg: #f4f6f8;
  --content-width: 1100px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ========== Header ========== */
/* 左上ロゴ、右上ナビを明確に分ける */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(43, 50, 81, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  flex: 0 0 auto;
  width: 88px;
}

.brand img {
  width: 100%;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.global-nav a {
  position: relative;
  color: var(--navy);
}

.global-nav a:not(.corp-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.global-nav a:not(.corp-link):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.global-nav .corp-link {
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.menu-button {
  display: none;
}

/* 企業サイトへの共通リンク（ヘッダー／フッター） */
.corp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  transition: opacity 0.25s ease;
}

.corp-link:hover {
  opacity: 0.72;
}

.corp-link-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(43, 50, 81, 0.28);
  border-radius: 50%;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.corp-link-icon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--navy);
  border-right: 1px solid var(--navy);
  transform: rotate(45deg) translate(-1px, 1px);
}

.corp-link:hover .corp-link-icon {
  background: rgba(43, 50, 81, 0.04);
  border-color: var(--gold);
  transform: translateX(3px);
}

/* 固定ヘッダー分、アンカー位置をずらす */
#about,
#curriculum,
#records,
#voices,
#apply {
  scroll-margin-top: calc(var(--header-height) + 8px);
}

/* ========== Hero ========== */
/* メイン先頭（ヒーロー）に装飾背景画像を敷く */
.hero {
  position: relative;
  overflow: hidden;
  /* 白地の上に、下部の曲線・金ラインが効くよう背景画像を配置 */
  background-color: var(--white);
  background-image: url("../assets/body_bg_img.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.hero-inner {
  position: relative;
  width: min(var(--content-width), 100%);
  /* ヒーロー領域の高さを従来の約2倍にする */
  min-height: min(1120px, calc(1.25 * (100svh - var(--header-height))));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(360px, 1.15fr);
  /* タイトルを上側に寄せ、上部の空き領域を小さくする */
  align-items: start;
  padding: 120px 24px 64px;
}

.hero-copy {
  z-index: 2;
  max-width: 420px;
  padding-right: 16px;
}

/* タイトル直上の主催者表記（他セクションのラベルと同系統） */
.hero-organizer {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-lead {
  margin: 22px 0 0;
  color: var(--navy);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.85;
}

/* 見出し下の短いライン（デザイン準拠） */
.hero-rule {
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 28px;
  background: rgba(43, 50, 81, 0.35);
}

.class-info {
  margin-top: 28px;
}

.class-info-title {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.class-info-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.class-info-facts li {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.class-info-facts span {
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

/* 申込期限の行を縦並びにし、直下に注意書きを置く */
.class-info-deadline {
  flex: 1 1 100%;
}

.class-info-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.class-info--form {
  margin: 0 0 36px;
  padding: 20px 24px;
  background: var(--gray-bg);
  border-left: 3px solid var(--gold);
}

/* タイトル横に会社ロゴを配置する */
.hero-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 16px 8px;
}

.hero-visual img {
  display: block;
  width: min(100%, 440px);
  height: auto;
  object-fit: contain;
  /* タイトル横のロゴを少し透過させて、文字側を優先して見せる */
  opacity: 0.72;
}

/* ========== Sections ========== */
.section {
  padding: 88px clamp(24px, 5vw, 64px);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* ========== About（開講背景） ========== */
.about-section {
  background: var(--gray-bg);
}

.about-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.about-lead {
  max-width: 760px;
  margin: 0 0 48px;
  color: var(--navy);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.9;
}

.about-story {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.about-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 36px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(43, 50, 81, 0.05);
}

.about-num {
  color: var(--gold);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.about-block-body h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.about-block-body p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 2;
}

/* 開講背景の箇条書き（・で揃える） */
.about-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  position: relative;
  padding-left: 1.15em;
  color: var(--text);
  font-size: 15px;
  line-height: 2;
}

.about-points li + li {
  margin-top: 0.25em;
}

.about-points li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ========== Curriculum（講義カード） ========== */
.curriculum-section {
  background: var(--white);
}

/* カリキュラム見出し直下の注記（昼食・懇親会） */
.curriculum-notes {
  width: min(var(--content-width), 100%);
  margin: -20px auto 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
}

.curriculum-notes p {
  margin: 0;
}

.curriculum-notes p + p {
  margin-top: 4px;
}

.curriculum-grid {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.curriculum-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(43, 50, 81, 0.05);
}

/* 番号を左、開催場所・形式を右に並べる */
.curriculum-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* 開催場所と形式は右上に並べる */
.curriculum-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.curriculum-place,
.curriculum-format {
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}

/* 開催場所（Web開催・東京対面） */
.curriculum-place {
  color: var(--navy);
  background: var(--gray-bg);
  border: 1px solid var(--line);
}

/* 東京対面は集合研修のため、Web開催より目立たせる */
.curriculum-place--onsite {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

/* 形式（ワーク形式・グループワーク形式） */
.curriculum-format {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gold);
}

.curriculum-num {
  color: var(--gold);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

/* 「第N回」と講義タイトルを1行で横並びに表示する */
.curriculum-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 10px;
}

.curriculum-session {
  margin: 0;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.curriculum-title {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.curriculum-summary {
  flex: 1;
  margin: 12px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

/* 講義後の懇親会など、スケジュール上の補足 */
.curriculum-extra {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* ========== Records（受講実績の3グラフ） ========== */
.records-section {
  background: var(--gray-bg);
  max-width: none;
  margin: 0;
}

.records-section .section-heading,
.records-section .records-charts {
  max-width: var(--content-width);
  margin-right: auto;
  margin-left: auto;
}

/* 3つのグラフを縦に並べる */
.records-charts {
  display: grid;
  gap: 40px;
  width: 100%;
  margin: 0 auto;
}

.records-chart {
  width: 100%;
  margin: 0;
}

.records-chart-title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.records-chart-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(43, 50, 81, 0.06);
}

.records-chart-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* 棒グラフは書き出しサイズが大きいため、表示幅を抑えて中央寄せする */
.records-chart--bar {
  max-width: 720px;
  justify-self: center;
}

.records-chart--bar .records-chart-frame {
  padding: 12px 16px 8px;
}

/* 円グラフは元サイズが小さいため、横いっぱいに広げすぎない */
.records-chart--pie {
  max-width: 640px;
  justify-self: center;
}

/* ========== Voices ========== */
.voices-section {
  background: var(--gray-bg);
  max-width: none;
  margin: 0;
  /* 直前の受講実績と同じ背景色のため、区切り線でセクションを分ける */
  border-top: 1px solid var(--line);
}

.voices-section .section-heading,
.voices-section .voice-grid {
  max-width: var(--content-width);
  margin-right: auto;
  margin-left: auto;
}

.voice-grid {
  /* 長文の声が10件あるため、読みやすい2列で並べる */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.voice-card {
  /* 長文の声でもカード高さが揃うよう、内容に合わせて伸ばす */
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(43, 50, 81, 0.06);
}

.quote-mark {
  display: block;
  height: 32px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.voice-card p {
  flex: 1;
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
  text-align: left;
}

/* 声の下に属性（金融機関種別・年代・性別）を並べる枠 */
.voice-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.voice-attrs li {
  padding: 4px 10px;
  color: var(--muted);
  background: var(--gray-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.voice-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ========== Apply / Form ========== */
.form-section {
  background: var(--white);
}

.form-section-header {
  padding: 48px 24px;
  text-align: center;
  color: var(--white);
  background: var(--navy-deep);
}

.form-section-header h2 {
  margin: 0;
  color: var(--white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.form-section-body {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 40px) 80px;
}

.inquiry-form {
  color: var(--text);
}

.form-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.form-steps li {
  min-width: 88px;
  padding: 8px 16px;
  color: var(--muted);
  background: var(--gray-bg);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.form-steps li.is-current {
  color: var(--white);
  background: var(--navy);
}

.form-portal-note {
  max-width: 760px;
  margin: 0 auto 20px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-align: center;
}

.form-lead {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 18px;
  text-align: center;
}

.form-lead a {
  text-decoration: underline;
}

.form-lead a:hover {
  opacity: 0.75;
}

.form-note {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.form-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px 24px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.form-item dt {
  padding-top: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-item.is-required dt::after {
  content: "必須";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  color: var(--white);
  background: var(--gold);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.form-item dd {
  margin: 0;
}

.col-form {
  min-width: 0;
}

.col-form.col2 {
  display: inline-block;
  width: calc(50% - 6px);
  vertical-align: top;
}

.col-form.col2:first-child {
  margin-right: 12px;
}

.form-item input[type="text"],
.form-item input[type="tel"],
.form-item input[type="email"],
.form-item textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.6;
}

.form-item textarea {
  min-height: 160px;
  resize: vertical;
}

.form-item input:focus,
.form-item textarea:focus {
  outline: 2px solid rgba(70, 125, 168, 0.35);
  border-color: var(--blue);
}

.form-hint,
.form-agree-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.checkbox-group {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  cursor: pointer;
}

.radio-group {
  display: grid;
  gap: 10px;
}

.form-item .form-other-detail {
  margin-top: 12px;
}

.btn-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  margin-top: 40px;
}

/*
  入力画面では「戻る」用ラッパーだけが残り、空の金色ブロックになる。
  実ボタンが無い箱は表示しない。
*/
.btn-box > .btn-std:empty,
.btn-box > .btn-std:not(:has(button, input, a)) {
  display: none !important;
}

.form-section .btn-std,
.form-complete .btn-std {
  position: relative;
  min-width: 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  background: var(--gold);
  border: 0;
  border-radius: 4px;
  /* 余った「>」文字を消す（親テーマやフォームHTMLの名残） */
  font-size: 0;
  line-height: 0;
  box-shadow: 0 8px 18px rgba(184, 154, 77, 0.22);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* 親テーマの巨大な黒矢印・アイコンを打ち消す */
.form-section .btn-std::before,
.form-section .btn-std::after,
.form-complete .btn-std::before,
.form-complete .btn-std::after,
.form-section .btn-std button::before,
.form-section .btn-std button::after,
.form-section .btn-std a::before,
.form-section .btn-std a::after,
.form-complete .btn-std a::before,
.form-complete .btn-std a::after {
  content: none;
  display: none;
}

.form-section .btn-std .icon-box,
.form-section .btn-std .icon-arrow,
.form-complete .btn-std .icon-box,
.form-complete .btn-std .icon-arrow {
  display: none !important;
}

/* contact.html と同じく、見た目はラッパー、送信は内側の button / input が担う */
.form-section .btn-std button,
.form-section .btn-std a,
.form-section .btn-std input[type="submit"],
.form-complete .btn-std a,
.form-complete .btn-std button,
.inquiry-form input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 16px 52px 16px 28px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

/* ラッパー無しで出力された送信ボタンも同じ見た目にする */
.inquiry-form input[type="submit"] {
  min-width: 260px;
  width: auto;
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(184, 154, 77, 0.22);
}

/* 白い細いシェブロン。巨大な「>」の代わりに右端へ置く */
.form-section .btn-std::after,
.form-complete .btn-std::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease, right 0.2s ease;
}

.form-section .btn-std:hover,
.form-complete .btn-std:hover,
.inquiry-form input[type="submit"]:hover {
  background: #a6893f;
  box-shadow: 0 10px 22px rgba(166, 137, 63, 0.28);
}

.form-section .btn-std:hover::after,
.form-complete .btn-std:hover::after {
  right: 18px;
}

.form-section .btn-std:focus-visible,
.form-complete .btn-std:focus-visible,
.form-section .btn-std button:focus-visible,
.form-section .btn-std a:focus-visible,
.form-section .btn-std input[type="submit"]:focus-visible,
.inquiry-form input[type="submit"]:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* 確認画面の「戻る」は二次ボタン（白地）にする */
.form-section .btn-std.is-reverse,
.form-section .btn-std:has(input[name="submitBack"]),
.form-section .btn-std:has(input[value*="戻る"]) {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--navy);
  box-shadow: none;
}

.form-section .btn-std.is-reverse button,
.form-section .btn-std.is-reverse a,
.form-section .btn-std.is-reverse input[type="submit"],
.form-section .btn-std:has(input[name="submitBack"]) input[type="submit"],
.form-section .btn-std:has(input[value*="戻る"]) input[type="submit"] {
  padding: 16px 28px 16px 52px;
  color: var(--navy);
}

.form-section .btn-std.is-reverse::after,
.form-section .btn-std:has(input[name="submitBack"])::after,
.form-section .btn-std:has(input[value*="戻る"])::after {
  right: auto;
  left: 22px;
  border-color: var(--navy);
  transform: translateY(-50%) rotate(-135deg);
}

.form-section .btn-std.is-reverse:hover,
.form-section .btn-std:has(input[name="submitBack"]):hover,
.form-section .btn-std:has(input[value*="戻る"]):hover {
  background: var(--gray-bg);
  box-shadow: none;
}

.form-confirm-value {
  padding-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  word-break: break-word;
}

.form-complete {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 8px;
  color: var(--text);
  text-align: center;
}

.form-complete-title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.form-complete p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.9;
}

.form-complete a {
  text-decoration: underline;
}

/* ========== Footer ========== */
.site-footer {
  padding: 36px clamp(24px, 5vw, 64px) 28px;
  /* 企業ロゴは濃色のため、暗い背景だと文字が埋もれる */
  color: var(--muted);
  background: var(--gray-bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: block;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.footer-brand:hover {
  opacity: 0.72;
}

.site-footer img {
  /* 企業ロゴをフッター内で大きく見せる */
  width: 240px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.footer-copy {
  display: block;
  margin-top: 18px;
  /* コピーライトは補助情報なので小さめにする */
  font-size: 9px;
  letter-spacing: 0.04em;
}

/* ========== Responsive ========== */
/* ナビ項目が増えたため、中幅では余白を詰めて1行に収める */
@media (max-width: 1100px) and (min-width: 901px) {
  .global-nav {
    gap: 18px;
    font-size: 12px;
  }

  .global-nav .corp-link {
    margin-left: 4px;
    padding-left: 16px;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    min-height: 64px;
  }

  .menu-button {
    display: block;
    margin-left: auto;
    padding: 8px 10px;
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 12px 0;
  }

  .global-nav .corp-link {
    margin: 8px 0 0;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 48px 24px 40px;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero-visual {
    min-height: 0;
    order: -1;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 22px;
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-item dt {
    padding-top: 0;
  }

  .site-footer {
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
  }

  .site-footer img {
    object-position: center;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-visual img {
    width: min(100%, 280px);
  }

  .voice-card {
    min-height: auto;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-card {
    min-height: auto;
  }

  .col-form.col2 {
    width: 100%;
    display: block;
  }

  .col-form.col2:first-child {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .records-charts {
    gap: 28px;
  }

  .form-steps li {
    min-width: 0;
    flex: 1;
    padding: 8px 6px;
    font-size: 12px;
  }

  .form-section .btn-std,
  .form-complete .btn-std,
  .inquiry-form input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
