:root {
  --blue: #123d78;
  --blue-dark: #0b2f63;
  --orange: #f36b12;
  --light-blue: #eef5fc;
  --border: #4d4d4d;
  --text: #123d78;
  --shadow: 0 3px 5px rgba(0, 0, 0, 0.28);
}

body {
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
}

header {
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: 33px;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
  white-space: nowrap;
}

.brand-logo-image {
  display: block;
  width: 96px;
  height: auto;
  max-height: 70px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 6px;
}

.logo {
  width: 96px;
  height: 70px;
  position: relative;
  flex: 0 0 auto;
}

.logo-screen {
  width: 76px;
  height: 50px;
  border: 7px solid var(--blue);
  border-radius: 6px 6px 4px 4px;
  position: absolute;
  top: 0;
  left: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-style: italic;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}

.logo-stand {
  display: none;
}

.logo-base {
  position: absolute;
  left: 0;
  top: 51px;
  width: 96px;
  height: 11px;
  background: var(--blue);
  border-radius: 0 0 8px 8px;
}

.logo-base::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0 0 4px 4px;
}

.cursor { display: none !important; }

nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-button {
  min-width: 140px;
  height: 58px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #f3f6fa;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.nav-button.primary {
  background: var(--orange);
  color: #fff;
}

.hero {
  min-height: 555px;
  background: var(--light-blue);
  position: relative;
  padding: 16px 0 0 73px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 44%;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    var(--light-blue) 0%,
    rgba(238, 245, 252, 0.9) 18%,
    rgba(238, 245, 252, 0.35) 38%,
    rgba(238, 245, 252, 0) 62%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-copy {
  position: relative;
  width: 66%;
  padding-top: 28px;
  z-index: 2;
}

.hero-title {
  margin: 0;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.02em;
  font-size: clamp(52px, 5vw, 80px);
  color: var(--blue-dark);
}

.hero-title .orange {
  color: var(--orange);
  font-size: 1.16em;
}

.impact-title {
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.impact-line {
  display: block;
  white-space: nowrap;
}

.impact-title span {
  display: inline-block;
  vertical-align: baseline;
}

.impact-big {
  font-size: clamp(64px, 6.5vw, 104px);
  font-weight: 500;
}

.impact-small {
  font-size: clamp(38px, 4.2vw, 66px);
  font-weight: 500;
}

.impact-title .orange {
  color: var(--orange);
}

.hero-lead {
  width: min(720px, 95%);
  margin: 22px 0 38px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(860px, 100%);
}

.feature-card {
  background: #fff;
  border-radius: 4px;
  min-height: 166px;
  padding: 20px 14px 12px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 12px;
  align-items: start;
}

.feature-card.hero-card {
  grid-template-columns: 62px 1fr;
}

.icon {
  width: 52px;
  height: 52px;
  color: var(--blue);
  display: grid;
  place-items: center;
}

.icon img,
.icon .fa-solid {
  width: 52px;
  height: 52px;
  display: block;
}

.icon .fa-solid {
  display: grid;
  place-items: center;
  font-size: 42px;
  line-height: 1;
}

.card-title {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--blue);
}

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

.card-title.purple {
  color: #3422a6;
}

.card-text {
  grid-column: 1 / -1;
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px solid #777;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.35;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  min-height: 555px;
  overflow: hidden;
  background: url("../img/hero-image1-1448x1086.jpg") center center / cover no-repeat;
  z-index: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 61, 120, 0.08);
  pointer-events: none;
}

main {
  padding: 52px 74px 0;
}

section {
  margin-bottom: 88px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--blue);
}

.section-lead {
  margin: 0 0 33px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--blue);
}

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

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

.info-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  min-height: 148px;
  padding: 19px 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
}

.info-card .icon {
  color: var(--orange);
}

.info-card.blue-icon .icon,
.info-card.purple-icon .icon {
  color: var(--orange);
}

.info-card.small {
  min-height: 144px;
  grid-template-columns: 62px 1fr;
  padding: 18px 18px;
}

.info-card .text-wrap {
  min-width: 0;
}

.info-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--orange);
}

.info-card h3.blue {
  color: var(--blue);
}

.info-card h3.purple {
  color: #3422a6;
}

.info-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
}

footer {
  background: #0b2f63;
  color: #fff;
  padding: 46px 74px 22px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-inner {
  max-width: 1292px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.footer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.footer-list a,
.footer-address a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 700;
}

.footer-list .fa-solid {
  width: 1.1em;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  line-height: 1;
}

.footer-list a:hover,
.footer-list a:focus-visible,
.footer-address a:hover,
.footer-address a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.footer-bottom {
  max-width: 1292px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  header {
    height: auto;
    padding: 18px 20px;
    flex-direction: column;
    gap: 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 0 28px 32px;
    display: flex;
    flex-direction: column;
  }

  .hero::after {
    display: none;
  }

  .hero-image {
    order: -1;
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 56px);
    height: 360px;
    min-height: 360px;
    margin: 0 -28px 28px;
    border-radius: 0;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-cards,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  main {
    padding: 46px 28px 0;
  }

}

@media (max-width: 640px) {
  .brand {
    font-size: 22px;
  }

  .nav-button {
    min-width: 130px;
    height: 48px;
    font-size: 15px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-lead,
  .section-lead {
    font-size: 16px;
  }

  .section-title {
    font-size: 29px;
  }

  .feature-card,
  .info-card,
  .info-card.small {
    grid-template-columns: 56px 1fr;
  }
}

/* ===== 追加修正：画像がちぎれず、スマホでも余白が出ないレイアウト ===== */
.hero {
  min-height: 0;
  padding: 38px clamp(18px, 5vw, 74px) 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: end;
  overflow: hidden;
}
.hero::after { display: none; }
.hero-copy {
  width: auto;
  padding-top: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-title {
  max-width: 100%;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.13;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-lead {
  width: 100%;
  margin: 22px 0 30px;
  font-size: clamp(15px, 1.3vw, 20px);
}
.hero-cards {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.hero-image {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1448 / 1086;
  align-self: end;
  z-index: 0;
  background-color: var(--light-blue);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 1180px) {
  header {
    height: auto;
    padding: 18px 20px;
    flex-direction: column;
    gap: 18px;
  }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 28px 36px;
  }
  .hero-copy { display: contents; }
  .hero-title {
    order: 1;
    font-size: clamp(36px, 8vw, 54px);
  }
  .hero-lead {
    order: 2;
    margin: 16px 0 20px;
  }
  .hero-lead br { display: none; }
  .hero-image {
    order: 3;
    width: min(100%, 560px);
    justify-self: center;
    margin: 0 0 20px;
    aspect-ratio: 1448 / 1086;
  }
  .hero-cards {
    order: 4;
    grid-template-columns: 1fr;
  }
  main { padding: 46px 28px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  header { padding: 14px 14px 18px; }
  .brand {
    gap: 10px;
    white-space: normal;
    line-height: 1.25;
    font-size: 21px;
  }
  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }
  .nav-button {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 6px;
    font-size: 13px;
  }
  .hero { padding: 24px 16px 30px; }
  .hero-title {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.16;
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero-image {
    width: min(100%, 390px);
    margin-bottom: 16px;
  }
  .feature-card, .feature-card.hero-card {
    min-height: 0;
    padding: 16px 14px 12px;
  }
  main { padding: 34px 16px 0; }
  section { margin-bottom: 52px; }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .info-card, .info-card.small { min-height: 0; }
}


/* ===== 追加修正：PCヘッダー間隔・リンクらしさ改善 ===== */
html {
  scroll-behavior: smooth;
}

.anchor-target {
  display: block;
  position: relative;
  top: -24px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

header {
  gap: clamp(44px, 4.4vw, 76px);
}

.brand {
  flex: 0 0 auto;
}

.brand-link,
.nav-button {
  text-decoration: none;
  cursor: pointer;
}

.brand-link {
  border-radius: 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-link:hover {
  opacity: 0.82;
}

.brand-link:focus-visible,
.nav-button:focus-visible {
  outline: 3px solid rgba(243, 107, 18, 0.55);
  outline-offset: 4px;
}

nav {
  flex: 0 1 auto;
  justify-content: flex-end;
}

.nav-button {
  min-width: 118px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-button:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

.nav-button::after {
  content: "";
  width: 0;
  height: 2px;
  margin-top: 2px;
  background: currentColor;
  transition: width 0.2s ease;
}

.nav-button:hover::after {
  width: 72%;
}

@media (max-width: 1320px) and (min-width: 1181px) {
  header {
    padding: 0 22px;
    gap: 36px;
  }
  .brand {
    gap: 14px;
    font-size: clamp(27px, 2.25vw, 31px);
  }
  .brand-logo-image {
    width: 84px;
    max-height: 62px;
    margin-right: -4px;
  }
  .logo {
    transform: scale(0.88);
    transform-origin: left center;
    margin-right: -10px;
  }
  nav {
    gap: 8px;
  }
  .nav-button {
    min-width: 106px;
    height: 54px;
    padding: 0 10px;
    font-size: 15px;
  }
}

@media (max-width: 1180px) {
  header {
    gap: 18px;
  }
  nav {
    justify-content: center;
  }
}
/* ===== 追加修正：リンクボタンの文字を完全に中央揃え ===== */
.nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  line-height: 1;
  vertical-align: middle;
}

.nav-button {
  min-height: 58px;
}

.nav-button .fa-solid {
  flex: 0 0 auto;
  font-size: 0.92em;
  line-height: 1;
}

.nav-button span {
  line-height: 1;
}

.nav-button::after {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  margin-top: 0;
}

.nav-button:hover::after {
  width: 72%;
}

@media (max-width: 640px) {
  .nav-button {
    gap: 5px;
    min-height: 44px;
    line-height: 1;
  }

  .nav-button .fa-solid {
    font-size: 0.88em;
  }
}



/* ===== 追加修正：トップナビをスクロールしても固定表示 ===== */
header {
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

html {
  scroll-padding-top: 160px;
}

.anchor-target {
  top: -160px;
}

@media (max-width: 1180px) {
  html {
    scroll-padding-top: 180px;
  }
  .anchor-target {
    top: -180px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 170px;
  }
  .anchor-target {
    top: -170px;
  }
}


@media (max-width: 1100px) {
  .impact-title {
    line-height: 1.02;
  }
  .impact-big {
    font-size: clamp(48px, 9vw, 72px);
  }
  .impact-small {
    font-size: clamp(30px, 6.5vw, 48px);
  }
}

@media (max-width: 640px) {
  .impact-line {
    white-space: normal;
  }
  .impact-title {
    line-height: 1.08;
    letter-spacing: 0;
  }
  .impact-big {
    font-size: clamp(42px, 12vw, 58px);
  }
  .impact-small {
    font-size: clamp(25px, 7.5vw, 36px);
  }
}
/* 3行インパクトタイトル修正：行は必ずブロック化し、小文字サイズを上書き */
.impact-title .impact-line {
  display: block;
  white-space: nowrap;
}

.impact-title .impact-small,
.impact-title .impact-small.orange {
  font-size: clamp(38px, 4.2vw, 66px) !important;
}

.impact-title .impact-big,
.impact-title .impact-big.orange {
  font-size: clamp(64px, 6.5vw, 104px) !important;
}

.impact-title .orange {
  color: var(--orange);
}

@media (max-width: 1100px) {
  .impact-title .impact-small,
  .impact-title .impact-small.orange {
    font-size: clamp(30px, 6.5vw, 48px) !important;
  }
  .impact-title .impact-big,
  .impact-title .impact-big.orange {
    font-size: clamp(48px, 9vw, 72px) !important;
  }
}

@media (max-width: 640px) {
  .impact-title .impact-line {
    display: block;
    white-space: nowrap;
  }
  .impact-title .impact-small,
  .impact-title .impact-small.orange {
    font-size: clamp(24px, 7.2vw, 35px) !important;
  }
  .impact-title .impact-big,
  .impact-title .impact-big.orange {
    font-size: clamp(40px, 11vw, 56px) !important;
  }
}


@media (max-width: 900px) {
  footer {
    padding: 38px 28px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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



/* ===== 体裁のみ調整：文言・HTML構成は変更なし ===== */
:root {
  --border: #d4dde8;
  --shadow: 0 4px 14px rgba(11, 47, 99, 0.12);
}

body {
  color: var(--blue-dark);
  background: #fff;
  letter-spacing: 0.01em;
}

header {
  border-bottom: 1px solid #e2eaf3;
  box-shadow: 0 2px 12px rgba(11, 47, 99, 0.06);
}

.nav-button {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f7f9fc;
  color: var(--blue-dark);
  box-shadow: 0 3px 8px rgba(11, 47, 99, 0.10);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.nav-button.primary {
  border-color: transparent;
  box-shadow: 0 5px 14px rgba(243, 107, 18, 0.24);
}

.nav-button:hover,
.nav-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 47, 99, 0.14);
}

.hero {
  background: linear-gradient(180deg, #f3f8fd 0%, #edf5fc 100%);
}

.hero-title,
.impact-title {
  font-weight: 600;
}

.hero-lead,
.section-lead,
.card-text,
.info-card p {
  color: var(--blue-dark);
}

.hero-image {
  filter: saturate(1.03) contrast(1.02);
}

.feature-card,
.info-card,
.info-card.small {
  border: 1px solid #d5deea;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(11, 47, 99, 0.11);
}

.feature-card {
  padding: 22px 18px 16px;
}

.card-title,
.info-card h3 {
  letter-spacing: 0.01em;
}

.card-text {
  border-top-color: #d9e2ec;
  line-height: 1.55;
}

main {
  background: #fff;
}

section {
  scroll-margin-top: 110px;
}

.section-title {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-lead {
  line-height: 1.7;
}

.info-card {
  align-items: center;
}

.info-card .icon,
.feature-card .icon {
  color: var(--orange);
}

.info-card p {
  line-height: 1.55;
}

footer {
  background: linear-gradient(180deg, #0b2f63 0%, #082753 100%);
}

@media (max-width: 640px) {
  body {
    line-height: 1.7;
  }

  .page {
    overflow-x: hidden;
  }

  header {
    gap: 12px;
    padding: 12px 14px 14px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    gap: 10px;
    white-space: nowrap;
  }

  .brand-logo-image {
    width: 52px;
    max-height: 39px;
    border-radius: 4px;
  }

  .logo {
    width: 52px;
    height: 39px;
  }

  .logo-screen {
    width: 42px;
    height: 29px;
    left: 5px;
    border-width: 3px;
    border-radius: 5px 5px 3px 3px;
    font-size: 17px;
  }

  .logo-base {
    width: 52px;
    height: 6px;
    top: 30px;
    border-radius: 0 0 5px 5px;
  }

  .logo-base::after {
    left: 19px;
    width: 14px;
    height: 2px;
  }

  nav {
    gap: 8px;
  }

  .nav-button {
    height: 42px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(11, 47, 99, 0.10);
  }

  .hero {
    padding: 24px 16px 28px;
  }

  .hero-title,
  .impact-title {
    line-height: 1.14;
    letter-spacing: 0.02em;
  }

  .impact-big {
    font-size: clamp(42px, 13vw, 56px);
  }

  .impact-small {
    font-size: clamp(27px, 8.4vw, 36px);
  }

  .impact-line {
    white-space: normal;
  }

  .hero-lead {
    margin: 14px 0 18px;
    font-size: 13px;
    line-height: 1.75;
  }

  .hero-image {
    width: min(100%, 344px);
    margin: 0 auto 18px;
  }

  .hero-cards {
    gap: 12px;
  }

  .feature-card,
  .feature-card.hero-card {
    grid-template-columns: 44px 1fr;
    column-gap: 10px;
    padding: 14px 14px 13px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(11, 47, 99, 0.10);
  }

  .icon,
  .icon img,
  .icon .fa-solid {
    width: 36px;
    height: 36px;
  }

  .icon .fa-solid {
    font-size: 30px;
  }

  .card-title {
    font-size: 20px;
    line-height: 1.25;
  }

  .card-text {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 12px;
    line-height: 1.65;
  }

  main {
    padding: 38px 16px 0;
  }

  section {
    margin-bottom: 48px;
  }

  .section-title {
    margin-bottom: 8px;
    font-size: 25px;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  .section-lead {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.75;
  }

  .grid-3,
  .grid-4 {
    gap: 12px;
  }

  .info-card,
  .info-card.small {
    grid-template-columns: 42px 1fr;
    gap: 11px;
    padding: 15px 14px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(11, 47, 99, 0.10);
  }

  .info-card h3 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.35;
  }

  .info-card p {
    font-size: 12px;
    line-height: 1.65;
  }

  footer {
    padding: 34px 18px 24px;
  }

  .footer-inner {
    gap: 26px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-text,
  .footer-list a,
  .footer-address,
  .footer-bottom {
    font-size: 12px;
    line-height: 1.75;
  }
}

    
@media (max-width: 767px) {
  .hero-image {
    background-position: center 35%;
  }
}

    
/* 上部余白の統一：本気になる理由・カリキュラム・実績 */
:root {
  --target-heading-gap-desktop: 72px;
  --first-heading-gap-desktop: 12px;
  --target-heading-gap-mobile: 48px;
  --first-heading-gap-mobile: 8px;
}

main {
  padding-top: var(--first-heading-gap-desktop);
}

.section-reason {
  margin-bottom: var(--target-heading-gap-desktop);
}

@media (max-width: 767px) {
  main {
    padding-top: var(--first-heading-gap-mobile);
  }

  .section-reason {
    margin-bottom: var(--target-heading-gap-mobile);
  }

}

    

.results-detail-grid {
  margin-top: 16px;
}

/* ===== 追加：安心して選べる理由の紹介セクション ===== */
.reason-showcase {
  display: grid;
  gap: 28px;
  margin: 0 auto 72px;
}

.reason-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid #dbe6ee;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13, 57, 112, 0.08);
  scroll-margin-top: 96px;
}

.reason-card.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.reason-image-wrap {
  position: relative;
  min-height: 300px;
  background: #eef5fb;
}

.reason-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reason-content {
  padding: 30px 30px 28px;
}

.reason-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef5fb;
  color: #174b86;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.reason-kicker .fa-solid {
  color: var(--orange);
  font-size: 0.95em;
  line-height: 1;
}

.reason-card h3 {
  margin: 0 0 12px;
  color: #0d3970;
  font-size: 27px;
  line-height: 1.45;
}

.reason-card p {
  margin: 0;
  color: #44576b;
  font-size: 15px;
  line-height: 1.95;
}

.reason-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.reason-points li {
  position: relative;
  padding-left: 22px;
  color: #34506f;
  font-size: 14px;
  line-height: 1.8;
}

.reason-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff7a1a;
  font-weight: 800;
}

.reason-quote {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid #d9e7f4;
}

.reason-quote-text {
  color: #22364d;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
}

.reason-quote-meta {
  margin-top: 10px;
  color: #5f7389;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .reason-card,
  .reason-card.reverse {
    grid-template-columns: 1fr;
  }

  .reason-image-wrap {
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .reason-showcase {
    gap: 22px;
    margin-bottom: 56px;
  }

  .reason-content {
    padding: 22px 18px 20px;
  }

  .reason-card h3 {
    font-size: 22px;
  }

  .reason-card p,
  .reason-quote-text {
    font-size: 14px;
  }

  .reason-points li {
    font-size: 13px;
  }
}

    
/* ===== 追加修正：安心して選べる理由をリンクではなくページ内紹介として表示 ===== */
.choice-reason-section {
  margin-bottom: 88px;
}

.choice-reason-section .reason-showcase {
  margin-top: 8px;
}

.choice-reason-section .section-lead {
  margin-bottom: 34px;
}

@media (max-width: 767px) {
  .choice-reason-section {
    margin-bottom: 64px;
  }

  .choice-reason-section .section-lead {
    margin-bottom: 24px;
  }
}

.results-detail-grid .info-card {
  align-items: start;
}

.achievement-mini {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #dbe6ee;
}

.achievement-image {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 14px auto 0;
  border: 1px solid #dbe6ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(11, 47, 99, 0.08);
}

.achievement-number {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.achievement-number span {
  color: var(--blue);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.achievement-bar {
  position: relative;
  height: 11px;
  border-radius: 999px;
  background: #edf3f9;
  overflow: hidden;
}

.achievement-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8d3f 0%, #ff6a00 100%);
}

.achievement-caption {
  margin-top: 8px;
  color: #5f7389;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

@media (max-width: 767px) {
  .achievement-number {
    font-size: 30px;
  }
}

    
/* ===== 追加修正：フッターを指定項目だけに簡略化 ===== */
footer .footer-inner {
  grid-template-columns: 1fr;
  gap: 0;
}

footer .footer-heading {
  margin-bottom: 16px;
}

footer .footer-list {
  gap: 10px;
}

    
/* ===== 追加修正：信頼できる実績の数値・グラフを小さくして頭出しを統一 ===== */
.section-results .results-detail-grid .info-card.small {
  align-items: start;
}

.section-results .achievement-mini {
  grid-column: 2 / -1;
  width: 100%;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #dbe6ee;
}

.section-results .achievement-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.section-results .achievement-number span {
  color: var(--blue);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.section-results .achievement-bar {
  height: 7px;
  border-radius: 999px;
  background: #edf3f9;
  overflow: hidden;
}

.section-results .achievement-caption {
  margin-top: 6px;
  color: #6b7e92;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
}

@media (max-width: 767px) {
  .section-results .achievement-mini {
    grid-column: 2 / -1;
    margin-top: 6px;
    padding-top: 8px;
  }

  .section-results .achievement-number {
    font-size: 22px;
  }

  .section-results .achievement-number span {
    font-size: 11px;
  }

  .section-results .achievement-bar {
    height: 6px;
  }
}

    
/* ===== 追加修正：安心して選べる理由を「文字 → 写真」の順に統一 ===== */
.choice-reason-section .reason-card {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.choice-reason-section .reason-content {
  order: 1;
}

.choice-reason-section .reason-image-wrap {
  order: 2;
}

@media (max-width: 900px) {
  .choice-reason-section .reason-card {
    grid-template-columns: 1fr;
  }

  .choice-reason-section .reason-content {
    order: 1;
  }

  .choice-reason-section .reason-image-wrap {
    order: 2;
  }
}

/* ===== 追加修正：ヒーローレイアウト復旧＋自然な画像オーバーレイ ===== */
.hero {
  min-height: 0;
  padding: 38px clamp(18px, 5vw, 74px) 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(180deg, #f3f8fd 0%, #edf5fc 100%);
}

.hero-copy {
  position: relative;
  width: auto;
  height: auto;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  min-width: 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbe6ee;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(13, 57, 112, 0.08);
  z-index: 2;
}

.hero-lead {
  margin: 0;
}

.hero-cards {
  grid-column: 1 / -1;
  margin-top: clamp(6px, 1.2vw, 16px);
  justify-self: center;
}

.hero-image {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: 1448 / 1086;
  align-self: end;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(13, 57, 112, 0.08);
  background: url("../img/hero-image1-1448x1086.jpg") center center / cover no-repeat;
  filter: saturate(1.03) contrast(1.02);
  isolation: isolate;
}

.hero-image::before {
  display: none;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.58) 31%,
      rgba(255, 255, 255, 0.10) 56%,
      rgba(255, 255, 255, 0) 74%
    ),
    linear-gradient(
      180deg,
      rgba(20, 96, 180, 0.02) 0%,
      rgba(20, 96, 180, 0.08) 100%
    );
  pointer-events: none;
}

.hero-title-overlay {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  left: clamp(16px, 2.8vw, 30px);
  z-index: 2;
  width: auto;
  height: auto;
  max-width: min(88%, 470px);
  margin: 0;
  padding: 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: #061d4d;
  font-weight: 900;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.78),
    0 9px 22px rgba(5, 36, 82, 0.16);
}

.hero-title-overlay .impact-line {
  display: block;
  white-space: nowrap;
}

.hero-title-overlay .impact-big,
.hero-title-overlay .impact-big.orange {
  font-size: clamp(38px, 3.6vw, 62px) !important;
  font-weight: 900 !important;
}

.hero-title-overlay .impact-small,
.hero-title-overlay .impact-small.orange {
  font-size: clamp(25px, 2.35vw, 40px) !important;
  font-weight: 900 !important;
}

.hero-title-overlay .orange {
  color: #f06a18;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 28px 36px;
  }

  .hero-copy {
    display: flex;
    order: 2;
    padding: 24px 22px;
  }

  .hero-lead {
    order: initial;
    margin: 0;
  }

  .hero-image {
    order: 1;
    width: min(100%, 560px);
    justify-self: center;
    margin: 0;
    aspect-ratio: 1448 / 1086;
  }

  .hero-cards {
    order: 3;
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 24px 16px 30px;
  }

  .hero-image {
    width: min(100%, 390px);
    margin-bottom: 16px;
  }

  .hero-title-overlay {
    top: 16px;
    left: 16px;
    max-width: 86%;
    line-height: 1.03;
  }

  .hero-title-overlay .impact-big,
  .hero-title-overlay .impact-big.orange {
    font-size: clamp(31px, 9.2vw, 42px) !important;
  }

  .hero-title-overlay .impact-small,
  .hero-title-overlay .impact-small.orange {
    font-size: clamp(20px, 6.2vw, 28px) !important;
  }
}
