@charset "UTF-8";

/* =========================================================
   みなと観光バス  共通スタイルシート
   Color: #281C59 / #4E8D9C / #85C79A / #EDF7BD
   Font : Noto Sans JP
   ========================================================= */

:root {
  /* ブラウザのダーク強制で文字が消えるのを防ぐ（全ページ ライト固定） */
  color-scheme: light;

  --navy: #281C59;
  --navy-deep: #1d1444;
  --navy-line: #3d2b80;
  --navy-soft: #3a2878;
  --navy-grad-a: #221650;
  --navy-grad-b: #2f1e6e;
  --orange: #4E8D9C;
  --orange-dark: #3a7285;
  --orange-soft: #edf7bd;
  --gray: #f6f8f5;
  --gray-2: #eef2ec;
  --line: #dde3e8;
  --text: #2a2d3a;
  --text-soft: #5b6270;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(40, 28, 89, 0.07);
  --shadow-md: 0 12px 36px rgba(40, 28, 89, 0.13);
  --maxw: 1120px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* セカンダリアクセント（ミントグリーン） */
  --mint: #85C79A;
  --mint-soft: #e8f7ed;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* 見出し・本文の不自然な改行（行末に1〜2文字残り）を防ぐ */
h1, h2, h3, h4,
.sec-head__ja,
.hero__copy,
.phero__title,
.philo__title,
.scard__title,
.fcard__title,
.ctastrip__title {
  text-wrap: balance;
}
p, .hero__lead, .lead-text { text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: var(--white); }

/* ---------- section heading ---------- */
.sec-head { margin-bottom: 44px; }
.sec-head__en {
  display: block; font-size: 0.78rem; letter-spacing: 0.28em;
  color: var(--orange); font-weight: 700; text-transform: uppercase; margin-bottom: 10px;
}
.sec-head__ja {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--navy);
  line-height: 1.4;
}
.sec-head__ja::after {
  content: ""; display: block; width: 48px; height: 3px; background: var(--orange);
  margin-top: 18px; border-radius: 2px;
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__ja::after { margin-inline: auto; }
.sec-head--light .sec-head__ja { color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px; font-weight: 700; font-size: 0.95rem;
  border-radius: var(--radius); border: 1.5px solid transparent;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn .arw { transition: transform 0.25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(240, 120, 0, 0.28); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn--ghost:hover { background: var(--orange); color: var(--white); }
.btn--navy { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn--navy:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--lg { padding: 17px 38px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h); background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: 24px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 42px; height: 42px; }
.brand__name { font-size: 1.18rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; white-space: nowrap; }

.gnav { display: flex; align-items: center; gap: 4px; }
.gnav__list { display: flex; align-items: center; gap: 4px; }
.gnav__link {
  position: relative; display: block; padding: 10px 14px;
  font-size: 0.92rem; font-weight: 500; color: var(--text); white-space: nowrap;
  transition: color 0.2s;
}
.gnav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.gnav__link:hover { color: var(--navy); }
.gnav__link:hover::after,
.gnav__link.is-active::after { transform: scaleX(1); }
.gnav__link.is-active { color: var(--navy); font-weight: 700; }
.gnav__cta { margin-left: 14px; }

/* hamburger */
.hamburger {
  display: none; width: 46px; height: 46px; border: none; background: transparent;
  position: relative; z-index: 120;
}
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy);
  transition: all 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 23px; }
.hamburger span:nth-child(3) { top: 30px; }
.is-open .hamburger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.is-open .hamburger span:nth-child(2) { opacity: 0; }
.is-open .hamburger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 18%, rgba(255, 196, 120, 0.55) 0%, rgba(255, 150, 60, 0.12) 28%, rgba(31, 58, 99, 0) 52%),
    linear-gradient(118deg, var(--navy-grad-a) 0%, var(--navy-grad-b) 55%, #25457a 100%);
  color: var(--white);
}
.hero__glow {
  position: absolute; inset: 0 0 auto auto; width: 62%; height: 100%;
  object-fit: cover; opacity: 0.85; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto;
  padding: 132px 24px 230px;
}
.hero__copy {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; line-height: 1.28;
  letter-spacing: 0.04em; text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero__lead {
  margin-top: 30px; font-size: clamp(1rem, 1.7vw, 1.18rem); font-weight: 400;
  line-height: 2; color: rgba(255,255,255,0.92);
}
.hero__actions { margin-top: 40px; }
.hero__btn {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 16px 30px; border: 1.5px solid rgba(255,255,255,0.6); border-radius: var(--radius);
  font-weight: 700; transition: all 0.25s var(--ease);
}
.hero__btn .arw { transition: transform 0.25s var(--ease); }
.hero__btn:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.hero__btn:hover .arw { transform: translateX(4px); }

/* page hero (sub pages) */
.phero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(120% 120% at 88% 10%, rgba(255, 178, 96, 0.4) 0%, rgba(31, 58, 99, 0) 50%),
    linear-gradient(118deg, var(--navy-grad-a) 0%, var(--navy-grad-b) 70%, #25457a 100%);
}
.phero__inner { max-width: var(--maxw); margin-inline: auto; padding: 76px 24px 64px; position: relative; z-index: 2; }
.phero__en { display: block; font-size: 0.78rem; letter-spacing: 0.3em; color: var(--orange); font-weight: 700; margin-bottom: 12px; }
.phero__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: 0.04em; }
.phero__lead { margin-top: 16px; color: rgba(255,255,255,0.88); font-size: 1.02rem; }

/* breadcrumb */
.crumb { background: var(--gray); border-bottom: 1px solid var(--line); }
.crumb__list { max-width: var(--maxw); margin-inline: auto; padding: 12px 24px; display: flex; gap: 8px; font-size: 0.82rem; color: var(--text-soft); flex-wrap: wrap; }
.crumb__list a:hover { color: var(--orange); }
.crumb__sep { color: var(--line); }

/* =========================================================
   SERVICE CARDS (index)
   ========================================================= */
.services {
  position: relative; margin-top: -150px; z-index: 5;
  padding-bottom: 96px;
}
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.scard {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.scard:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(20, 35, 57, 0.2); }
.scard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.05); }
.scard__icon {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  width: 68px; height: 68px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.scard__icon svg { width: 32px; height: 32px; color: var(--navy); }
.scard__body { padding: 50px 28px 34px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.scard__title { font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.scard__desc { margin-top: 16px; color: var(--text-soft); font-size: 0.95rem; line-height: 1.9; flex: 1; }
.scard__btn { margin-top: 26px; align-self: center; }

/* =========================================================
   NEWS (index)
   ========================================================= */
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.news__head .sec-head { flex-shrink: 0; }
.news__head .sec-head__ja { white-space: nowrap; }
.news__list { border-top: 1px solid var(--line); }
.news__item {
  display: grid; grid-template-columns: 130px 132px 1fr 24px; align-items: center;
  gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.2s; position: relative;
}
.news__item:hover { background: var(--gray); }
.news__date { color: var(--text-soft); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.news__cat {
  justify-self: start; font-size: 0.76rem; font-weight: 700; padding: 5px 14px;
  border: 1px solid var(--navy); border-radius: 4px; color: var(--navy); white-space: nowrap;
}
.news__cat--press { border-color: var(--orange); color: var(--orange); }
.news__title { font-size: 0.98rem; color: var(--text); }
.news__arw { color: var(--line); justify-self: end; }
.news__item:hover .news__arw { color: var(--orange); }

/* =========================================================
   STATS BAR (navy)
   ========================================================= */
.stats { background: var(--navy); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw); margin-inline: auto;
}
.stat {
  padding: 64px 24px; text-align: center; color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
.stat__icon { width: 40px; height: 40px; margin: 0 auto 18px; color: rgba(255,255,255,0.85); }
.stat__icon svg { width: 100%; height: 100%; }
.stat__label { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.stat__value { font-size: 1.05rem; line-height: 1.5; font-weight: 500; }
.stat__num { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.stat__unit { font-size: 1rem; font-weight: 500; margin-left: 4px; }
.stat__sub { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.82); }
.footer__main {
  max-width: var(--maxw); margin-inline: auto; padding: 70px 24px 50px;
  display: grid; grid-template-columns: 1.1fr 1.2fr auto; gap: 48px; align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.footer__logo { width: 46px; height: 46px; }
.footer__name { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer__info { display: grid; gap: 12px; }
.finfo { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; }
.finfo svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.footer__cta { display: flex; justify-content: flex-end; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer__copy {
  max-width: var(--maxw); margin-inline: auto; padding: 22px 24px;
  text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em;
}

/* back to top */
.totop {
  position: fixed; right: 26px; bottom: 26px; width: 52px; height: 52px;
  border-radius: 50%; background: var(--navy); color: var(--white); border: none;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: all 0.3s var(--ease); z-index: 90;
}
.totop.is-show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.totop:hover { background: var(--orange); }
.totop svg { width: 20px; height: 20px; }

/* =========================================================
   GENERIC CONTENT BLOCKS (sub pages)
   ========================================================= */
.lead-text { font-size: 1.05rem; line-height: 2.1; color: var(--text-soft); max-width: 760px; }

/* info table */
.itable { width: 100%; border-collapse: collapse; }
.itable th, .itable td { text-align: left; padding: 20px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.itable th { width: 220px; color: var(--navy); font-weight: 700; font-size: 0.96rem; }
.itable td { color: var(--text); }

/* philosophy */
.philo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px; text-align: center; box-shadow: var(--shadow-sm); }
.philo__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; color: var(--navy); line-height: 1.6; }
.philo__title .o { color: var(--orange); }
.philo__text { margin-top: 24px; color: var(--text-soft); line-height: 2.1; max-width: 640px; margin-inline: auto; }

/* timeline (history) */
.timeline { position: relative; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 14px 0; }
.tl-item__year { text-align: right; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.tl-item__body { position: relative; padding-left: 4px; color: var(--text-soft); }
.tl-item__body::before {
  content: ""; position: absolute; left: -34px; top: 12px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--gray);
}
.section--gray .tl-item__body::before { box-shadow: 0 0 0 4px var(--gray); }
.tl-item__body strong { color: var(--text); font-weight: 700; }

/* feature grid */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px; transition: all 0.3s var(--ease); }
.fcard:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.fcard__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; margin-bottom: 22px; }
.fcard__icon svg { width: 28px; height: 28px; color: var(--orange); }
.fcard__title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.fcard__text { color: var(--text-soft); font-size: 0.94rem; line-height: 1.9; }

/* course cards */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.course {
  display: grid; grid-template-columns: 200px 1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s var(--ease);
}
.course:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.course__media { position: relative; }
.course__media img { width: 100%; height: 100%; object-fit: cover; }
.course__media .tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 4px; }
.course__body { padding: 26px 24px; }
.course__title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.course__meta { font-size: 0.84rem; color: var(--orange); font-weight: 700; margin-bottom: 12px; }
.course__text { font-size: 0.92rem; color: var(--text-soft); line-height: 1.85; }

/* price table */
.ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }
.ptable { width: 100%; min-width: 480px; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ptable thead th { background: var(--navy); color: #fff; font-weight: 700; padding: 18px 20px; font-size: 0.95rem; text-align: left; }
.ptable tbody td { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable tbody tr:nth-child(even) { background: var(--gray); }
.ptable .price { font-weight: 700; color: var(--navy); }
.ptable__note { font-size: 0.82rem; color: var(--text-soft); margin-top: 14px; }

/* agent / partner block */
.partner { background: linear-gradient(118deg, var(--navy-grad-a), #234a7a); border-radius: var(--radius-lg); }

/* faq */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq__q { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 22px 24px; background: none; border: none; font-size: 1rem; font-weight: 700; color: var(--navy); }
.faq__q::before { content: "Q"; flex-shrink: 0; width: 30px; height: 30px; background: var(--navy); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 0.9rem; }
.faq__q .ico { margin-left: auto; width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; }
.faq__q .ico::before { top: 8px; left: 0; right: 0; height: 2px; }
.faq__q .ico::after { left: 8px; top: 0; bottom: 0; width: 2px; transition: transform 0.25s var(--ease); }
.faq__item.is-open .faq__q .ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a-inner { padding: 0 24px 24px 70px; color: var(--text-soft); line-height: 1.95; font-size: 0.95rem; }

/* recruit list */
.jobs { display: grid; gap: 20px; }
.job { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 28px 32px; transition: all 0.3s var(--ease); }
.job:hover { box-shadow: var(--shadow-md); }
.job__tag { background: var(--orange-soft); color: var(--orange); font-weight: 700; font-size: 0.78rem; padding: 6px 14px; border-radius: 4px; white-space: nowrap; }
.job__title { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.job__desc { font-size: 0.9rem; color: var(--text-soft); margin-top: 4px; }
.job__pay { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.job__pay small { display: block; font-weight: 500; color: var(--text-soft); font-size: 0.74rem; }

/* steps / flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow__item { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 24px 28px; text-align: center; }
.flow__num { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(240,120,0,0.3); }
.flow__title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.flow__text { font-size: 0.88rem; color: var(--text-soft); line-height: 1.8; }
.flow__arrow { display: none; }

/* day schedule */
.schedule { max-width: 720px; }
.sch-item { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 8px 0; position: relative; }
.sch-item__time { font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; }
.sch-item__body { border-left: 2px solid var(--line); padding: 0 0 26px 28px; position: relative; }
.sch-item:last-child .sch-item__body { border-color: transparent; }
.sch-item__body::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.sch-item__title { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.sch-item__text { font-size: 0.9rem; color: var(--text-soft); }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.form-wrap { max-width: 760px; margin-inline: auto; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 26px; }
.field__label { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-size: 0.95rem; }
.req { background: var(--orange); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 2px 9px; border-radius: 3px; }
.opt { background: var(--gray-2); color: var(--text-soft); font-size: 0.68rem; font-weight: 700; padding: 2px 9px; border-radius: 3px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; color: var(--text); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,120,0,0.12);
}
.field textarea { resize: vertical; min-height: 150px; }
.field__hint { font-size: 0.8rem; color: var(--text-soft); margin-top: 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; }
.radio-chip label { display: block; padding: 11px 22px; border: 1.5px solid var(--line); border-radius: 30px; font-size: 0.92rem; transition: all 0.2s; cursor: pointer; }
.radio-chip input:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); }
.radio-chip input:focus-visible + label { box-shadow: 0 0 0 3px rgba(240,120,0,0.2); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-privacy { display: flex; gap: 12px; align-items: flex-start; background: var(--gray); padding: 18px 20px; border-radius: var(--radius); font-size: 0.88rem; color: var(--text-soft); margin-bottom: 26px; }
.form-privacy input { margin-top: 5px; }
.form-privacy a { color: var(--orange); font-weight: 700; }
.form-submit { text-align: center; }
.recaptcha-box { display: flex; justify-content: center; margin-bottom: 26px; }

/* contact aside info */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-aside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.cinfo { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.cinfo svg { width: 28px; height: 28px; color: var(--orange); margin: 0 auto 12px; }
.cinfo__label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.cinfo__value { font-size: 1.15rem; font-weight: 700; }
.cinfo__value small { display: block; font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* =========================================================
   挿絵バンド（セクション内の写真）
   ========================================================= */
.photo-band { max-width: 860px; margin: 44px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 21 / 9; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) {
  .photo-band { aspect-ratio: 16 / 10; margin-top: 30px; }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { transform: translateY(22px); transition: transform 0.7s var(--ease); will-change: transform; }
.reveal.is-in { transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   CTA strip
   ========================================================= */
.ctastrip { background: linear-gradient(118deg, var(--navy-grad-a), #25457a); color: #fff; text-align: center; }
.ctastrip__inner { max-width: var(--maxw); margin-inline: auto; padding: 72px 24px; }
.ctastrip__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 14px; }
.ctastrip__text { color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.ctastrip__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ctastrip__phone { font-size: 1.8rem; font-weight: 700; }
.ctastrip__phone small { font-size: 0.8rem; font-weight: 500; display: block; color: rgba(255,255,255,0.7); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; justify-content: flex-start; }
  .course { grid-template-columns: 160px 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .gnav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); flex-direction: column; gap: 0;
    padding: 12px 0 24px; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform 0.35s var(--ease);
    border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .is-open .gnav { transform: translateY(0); }
  .gnav__list { flex-direction: column; width: 100%; gap: 0; }
  .gnav__link { padding: 16px 28px; width: 100%; border-bottom: 1px solid var(--gray); }
  .gnav__link::after { display: none; }
  .gnav__cta { margin: 16px 28px 0; width: calc(100% - 56px); }
  .gnav__cta .btn { width: 100%; justify-content: center; }
  .hamburger { display: block; }

  .hero__inner { padding: 84px 24px 200px; }
  .services { margin-top: -150px; }
  .services__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }

  .fgrid { grid-template-columns: 1fr; }
  .courses { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .contact-aside { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .news__item { grid-template-columns: 1fr auto; row-gap: 6px; padding: 18px 6px; }
  .news__date { order: 1; }
  .news__cat { order: 2; }
  .news__title { order: 3; grid-column: 1 / -1; }
  .news__arw { display: none; }
  .itable th, .itable td { display: block; width: 100%; }
  .itable th { border-bottom: none; padding-bottom: 0; }
  .itable td { padding-top: 6px; }
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .tl-item__year { text-align: left; }
  .tl-item__body::before { left: -32px; }
  .job { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .job__pay { text-align: left; }
  .flow { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .philo { padding: 36px 24px; }
  .stat { padding: 40px 16px; }
  .hero__btn { gap: 16px; }
  /* フッター：1列に切り替えて会社名の過剰な折り返しを防ぐ */
  .footer__main { grid-template-columns: 1fr; gap: 24px; padding: 48px 18px 36px; }
  .footer__cta { justify-content: flex-start; }
}
