/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ===== Tokens ===== */
:root {
  --navy: #04162D;
  --navy-soft: #14294a;
  --blue: #1E88E5;
  --teal: #00C6A7;
  --grad: linear-gradient(135deg, #1E88E5 0%, #00C6A7 100%);
  --ink: #1B2A3D;
  --muted: #5B6B7F;
  --line: #DCE5EE;
  --tint: #F3F7FB;
  --white: #FFFFFF;
  --radius: 14px;
  --maxw: 1080px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 24px;
}
.header__logo img { width: 118px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }

.header__cta {
  flex: 0 0 auto; white-space: nowrap;
  padding: 11px 24px; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(30,136,229,.24);
  transition: transform .2s, box-shadow .2s;
}
.header__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(30,136,229,.32); }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.4;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(30,136,229,.26); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,136,229,.34); }
.btn--ghost { border: 2px solid var(--navy); color: var(--navy); background: #fff; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn__ext { font-size: 13px; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, #F3F9FF 0%, #EAF7F5 100%);
  padding: 96px 24px 104px;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: #0f7f9c; background: #fff; border: 1px solid #CFE7EA;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(30px, 5vw, 50px); font-weight: 700;
  line-height: 1.42; letter-spacing: .01em; color: var(--navy); margin-bottom: 26px;
}
.hero__lead { font-size: 16px; color: #3C4E63; max-width: 640px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__mark {
  position: absolute; right: -80px; bottom: -70px; width: 460px; opacity: .1;
  pointer-events: none; z-index: 1;
}

/* ===== Section base ===== */
.section { padding: 90px 0; }
.section--tint { background: var(--tint); }
.section__label {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.section__title {
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; color: var(--navy);
  letter-spacing: .02em; margin-bottom: 28px; line-height: 1.5;
}
.section__lead { color: var(--muted); max-width: 760px; margin-bottom: 44px; }
.sub-title {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin: 52px 0 22px; padding-left: 14px; border-left: 4px solid var(--teal); line-height: 1.6;
}

/* ===== Mission / Vision ===== */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
}
.mv__card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); }
.mv__label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: 12px;
}
.mv__text { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.75; }

/* ===== Values ===== */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.values__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 18px 26px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.values__item:hover {
  box-shadow: 0 10px 26px rgba(4,22,45,.08);
  border-color: #C6DDF2;
}
.values__icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--blue);
  background: linear-gradient(135deg, #E9F4FE 0%, #E2F7F2 100%);
  transition: background .25s ease, color .25s ease;
}
.values__item:hover .values__icon { background: var(--grad); color: #fff; }
.values__icon svg { width: 27px; height: 27px; }
.values__text {
  display: block; font-size: 14.5px; font-weight: 700;
  color: var(--navy); line-height: 1.6; margin-bottom: 9px;
}
.values__desc {
  display: block; font-size: 12.5px; color: var(--muted); line-height: 1.8;
  word-break: auto-phrase; /* 日本語を文節で折り返す（非対応ブラウザでは通常の折り返し） */
}

/* ===== Message ===== */
.message {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 46px; max-width: 860px;
}
.message p { color: #37485C; margin-bottom: 20px; }
.message p:last-child { margin-bottom: 0; }
.message__sign {
  text-align: right; font-weight: 700; color: var(--navy) !important; margin-top: 32px !important;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.message__sign span { display: inline-block; white-space: nowrap; }
.message__sign span + span { margin-left: 16px; }

/* ===== Business ===== */
.biz { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; align-items: start; }
.biz__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
}
.biz__card--main { position: relative; overflow: hidden; padding-top: 38px; }
.biz__card--main::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.biz__side { display: grid; gap: 22px; }
.biz__tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: #fff; background: var(--navy); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.biz__title { font-size: 23px; font-weight: 700; color: var(--navy); line-height: 1.55; margin-bottom: 18px; }
.biz__title--sm { font-size: 18px; margin-bottom: 12px; }
.biz__badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--blue); background: #EAF4FE; border-radius: 999px; padding: 3px 11px; margin-left: 10px;
  vertical-align: middle;
}
.biz__text { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.biz__meta { margin-bottom: 26px; border-top: 1px solid var(--line); }
.biz__meta > div { display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.biz__meta dt { flex: 0 0 68px; font-weight: 700; color: var(--navy); }
.biz__meta dd { color: var(--muted); }

/* ===== Family ===== */
.family { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px 44px; max-width: 860px; }
.family__lead { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 24px; line-height: 1.75; }
.family__list { margin-bottom: 24px; }
.family__list li {
  position: relative; padding: 11px 0 11px 32px; color: #37485C;
  border-bottom: 1px dashed var(--line); font-size: 15px;
}
.family__list li::before {
  content: ""; position: absolute; left: 8px; top: 21px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
}
.family__note { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.family__tel { margin-top: 18px; font-size: 14px; color: var(--muted); }
.family__tel a { color: var(--navy); font-weight: 700; }
.family__tel a:hover { color: var(--blue); }

/* ===== Recruit ===== */
.recruit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px 44px; max-width: 860px; }
.recruit__lead { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.recruit__text { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.recruit__text:last-of-type { margin-bottom: 28px; }
.recruit__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.recruit__meta { margin-bottom: 24px; border-top: 1px solid var(--line); }
.recruit__meta > div { display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recruit__meta dt { flex: 0 0 78px; font-weight: 700; color: var(--navy); }
.recruit__meta dd { color: var(--muted); }

/* ===== Company table ===== */
.company { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.company th, .company td { text-align: left; padding: 20px 26px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.company tr:last-child th, .company tr:last-child td { border-bottom: 0; }
.company th { width: 190px; background: #FAFCFE; font-weight: 700; color: var(--navy); }
.company td { color: #37485C; }
.company td a { color: var(--blue); font-weight: 700; }

/* ===== Contact ===== */
.contact { background: var(--navy); color: #fff; padding: 74px 0; text-align: center; }
.contact__title { font-size: 26px; font-weight: 700; margin-bottom: 14px; letter-spacing: .02em; }
.contact__lead { color: #B9C7D8; font-size: 15px; margin-bottom: 30px; }
.contact__mail {
  display: block; font-size: clamp(24px, 4.6vw, 38px); font-weight: 700;
  letter-spacing: .02em; line-height: 1.25; margin-bottom: 24px; word-break: break-all;
  background: linear-gradient(135deg, #7FC4FF 0%, #5FE6CE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn--onnavy { background: #fff; color: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.btn--onnavy:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.36); }

.contact__phone {
  margin: 46px auto 0; padding-top: 30px; max-width: 460px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.contact__phone-label { color: #9FB0C4; font-size: 13px; margin-bottom: 8px; }
.contact__phone-num {
  display: inline-block; font-size: 27px; font-weight: 700; color: #fff; letter-spacing: .03em;
}
.contact__phone-num:hover { color: #7FC4FF; }
.contact__hours { color: #9FB0C4; font-size: 13px; margin-top: 6px; }

/* ===== Footer ===== */
.footer { background: #030F1F; color: #C3D0DE; padding: 56px 0 26px; }
.footer__inner { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.footer__logo { width: 128px; height: auto; }
.footer__info { flex: 1 1 300px; }
.footer__name { font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer__addr { font-size: 13px; line-height: 1.9; }
.footer__addr a { color: #C3D0DE; }
.footer__addr a:hover { color: #5FE6CE; }
.footer__nav { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer__nav a { transition: color .2s; }
.footer__nav a:hover { color: #5FE6CE; }
.footer__copy {
  text-align: center; font-size: 12px; color: #7C8DA0;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .biz { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; order: 3; margin-left: auto; }
  .header__inner { gap: 12px; padding: 10px 18px; }
  .header__logo img { width: 92px; }
  .header__cta { margin-left: auto; padding: 9px 16px; font-size: 13px; }
  .nav-toggle { width: 40px; }
  .recruit__actions .btn { width: 100%; }
  .recruit__meta > div { flex-direction: column; gap: 4px; }
  .nav {
    order: 4; width: 100%; margin-left: 0; flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 340px; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:hover { border-bottom-color: var(--line); }

  .hero { padding: 62px 20px 72px; }
  .hero__mark { width: 300px; right: -70px; bottom: -50px; }
  .hero__actions .btn { width: 100%; }

  .section { padding: 62px 0; }
  .container { padding: 0 20px; }
  .values { grid-template-columns: 1fr 1fr; }
  .message, .family, .recruit { padding: 30px 22px; }
  .message__sign span { display: block; }
  .message__sign span + span { margin-left: 0; margin-top: 4px; }
  .mv__card { padding: 28px 24px; }
  .mv__text { font-size: 17px; }
  .biz__card { padding: 28px 22px; }
  .biz__title { font-size: 20px; }

  .company th, .company td { display: block; width: auto; }
  .company th { border-bottom: 0; padding: 16px 20px 6px; }
  .company td { padding: 0 20px 18px; }

  .footer__inner { gap: 26px; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}

@media (max-width: 420px) {
  .values { grid-template-columns: 1fr; }
  .contact__mail { font-size: 21px; }
}
