@charset "UTF-8";
/* =========================================================
   株式会社テテ  共通スタイル
   画像差し替え：images/ に下記ファイル名で置くと自動で表示されます
   hero.jpg / about.jpg / service-referral.jpg / service-corporate.jpg / service-support.jpg / page-header.jpg
   ========================================================= */

:root {
  --navy: #13213c;
  --navy-deep: #0b1528;
  --navy-soft: #24365a;
  --accent: #b8955a;
  --accent-soft: #e9dfcc;
  --bg: #ffffff;
  --bg-sub: #f5f6f8;
  --line: #dfe3ea;
  --text: #1d2433;
  --text-sub: #5b6475;
  --white: #ffffff;
  --radius: 4px;
  --max: 1120px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.22em;
  color: var(--navy);
}
.logo-ja { font-size: 11px; color: var(--text-sub); letter-spacing: 0.18em; margin-top: 2px; }

.global-nav ul { display: flex; align-items: center; gap: 34px; }
.global-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.global-nav a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s;
}
.global-nav a:not(.btn-nav):hover::after,
.global-nav a.is-current::after { width: 100%; }
.global-nav a.is-current { color: var(--navy); }
.btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius);
  transition: background .2s;
}
.btn-nav:hover { background: var(--navy-soft); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  position: relative; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 10px;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform .3s, opacity .3s, top .3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 240px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  letter-spacing: 0.08em;
}
.btn::after { content: "→"; font-family: var(--font-en); transition: transform .2s; }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #a6824a; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(100deg, rgba(11,21,40,.94) 0%, rgba(11,21,40,.78) 45%, rgba(11,21,40,.35) 100%),
    url("../images/hero.jpg"),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #0b1528 0%, #1b2d50 100%);
  background-size: cover, cover, auto, cover;
  background-position: center, center right, center, center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 480px; height: 480px;
  border: 1px solid rgba(184,149,90,.35);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.hero-label::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.hero p.lead {
  font-size: 16px;
  color: rgba(255,255,255,.86);
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Section ---------- */
.section { padding: 110px 0; }
.section-sub { background: var(--bg-sub); }
.section-navy { background: var(--navy); color: var(--white); }

.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head .en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}
.section-navy .section-head h2 { color: var(--white); }
.section-head p { margin-top: 20px; color: var(--text-sub); }
.section-head.center p { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Page header (下層) ---------- */
.page-header {
  padding: 96px 0 84px;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(90deg, rgba(11,21,40,.93), rgba(11,21,40,.7)),
    url("../images/page-header.jpg"),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #0b1528 0%, #1b2d50 100%);
  background-size: cover, cover, auto, cover;
  background-position: center;
}
.page-header .en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.page-header h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.breadcrumb {
  font-size: 12px;
  color: var(--text-sub);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ---------- About (top) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 26px;
}
.about-text p + p { margin-top: 16px; }
.about-text p { color: var(--text-sub); }
.about-text .btn { margin-top: 36px; }

.img-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background-color: var(--navy-soft);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #1b2d50, #0b1528);
  background-size: cover;
  background-position: center;
}
.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}
.img-frame::after {
  content: "";
  position: absolute;
  left: -18px; bottom: -18px;
  width: 42%; height: 42%;
  border-left: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  pointer-events: none;
}
.img-about::before { background-image: url("../images/about.jpg"); }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover { box-shadow: 0 16px 40px rgba(19,33,60,.10); transform: translateY(-4px); }
.service-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  background-color: var(--navy-soft);
  background-image: linear-gradient(135deg, #24365a, #0b1528);
}
.service-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.thumb-referral::before { background-image: url("../images/service-referral.jpg"); }
.thumb-corporate::before { background-image: url("../images/service-corporate.jpg"); }
.thumb-support::before { background-image: url("../images/service-support.jpg"); }
.service-thumb .num {
  position: absolute;
  left: 24px; bottom: 16px;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 300;
  color: rgba(255,255,255,.9);
  letter-spacing: 0.05em;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.service-body { padding: 30px 28px 34px; flex: 1; }
.service-body .en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.service-body h3 { font-size: 20px; color: var(--navy); margin-bottom: 14px; }
.service-body p { font-size: 14px; color: var(--text-sub); line-height: 1.9; }

/* ---------- Strength ---------- */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.strength-item {
  padding: 44px 34px 10px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.strength-item:last-child { border-right: 0; }
.strength-item .num {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.strength-item h3 { font-size: 19px; margin-bottom: 16px; line-height: 1.6; }
.strength-item p { font-size: 14px; color: rgba(255,255,255,.78); }

/* ---------- Works ---------- */
.works-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 44px;
}
.works-card + .works-card { margin-top: 24px; }
.works-meta dt {
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.12em;
}
.works-meta dd { margin: 2px 0 16px; font-weight: 500; color: var(--navy); }
.works-meta dd:last-child { margin-bottom: 0; }
.works-content h3 { font-size: 20px; color: var(--navy); margin-bottom: 14px; line-height: 1.6; }
.works-content p { color: var(--text-sub); font-size: 15px; }
.works-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.works-tags li {
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-sub);
  background: var(--bg-sub);
}
.note { font-size: 13px; color: var(--text-sub); margin-top: 28px; }

/* ---------- Table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.info-table th,
.info-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.info-table td { background: var(--white); }
.info-table th {
  width: 220px;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg-sub);
  white-space: nowrap;
}
.info-table td ul li { position: relative; padding-left: 16px; }
.info-table td ul li::before {
  content: "";
  position: absolute; left: 0; top: .9em;
  width: 6px; height: 1px; background: var(--accent);
}

/* ---------- Message ---------- */
.message-box {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  padding: 64px 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.message-box::before {
  content: "“";
  position: absolute;
  top: 18px; left: 34px;
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  color: var(--accent-soft);
}
.message-box h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 30px;
  position: relative;
}
.message-box p { color: var(--text); }
.message-box p + p { margin-top: 18px; }
.signature {
  margin-top: 44px;
  text-align: right;
  font-size: 14px;
  color: var(--text-sub);
}
.signature strong {
  display: block;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.2em;
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- History ---------- */
.history-list { border-left: 1px solid var(--line); margin-left: 8px; }
.history-list li {
  position: relative;
  padding: 0 0 30px 36px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
}
.history-list li::before {
  content: "";
  position: absolute;
  left: -6px; top: 9px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
}
.history-list time { font-family: var(--font-en); color: var(--navy); font-weight: 600; letter-spacing: .08em; }

/* ---------- Service detail ---------- */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.detail-block + .detail-block { margin-top: 100px; }
.detail-block.reverse .detail-img { order: 2; }
.detail-img { aspect-ratio: 4 / 3; }
.detail-text .num {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.detail-text .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--text-sub);
}
.detail-text h3 { font-size: clamp(22px, 2.6vw, 28px); color: var(--navy); margin: 6px 0 22px; }
.detail-text p { color: var(--text-sub); }
.check-list { margin-top: 26px; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 20px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.img-referral::before { background-image: url("../images/service-referral.jpg"); }
.img-corporate::before { background-image: url("../images/service-corporate.jpg"); }
.img-support::before { background-image: url("../images/service-support.jpg"); }

/* ---------- Flow ---------- */
.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: flow;
}
.flow-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px 26px;
  text-align: center;
  position: relative;
}
.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 50%;
  width: 8px; height: 8px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.flow-list .step {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.flow-list h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.flow-list p { font-size: 13px; color: var(--text-sub); line-height: 1.8; text-align: left; }

/* ---------- CTA ---------- */
.cta {
  padding: 96px 0;
  text-align: center;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #13213c 0%, #24365a 100%);
}
.cta .en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.cta h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 18px; line-height: 1.6; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 40px; }

/* ---------- Form ---------- */
.form-wrap { max-width: 820px; margin: 0 auto; }
.form-intro { margin-bottom: 48px; color: var(--text-sub); }
.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.form-row:first-of-type { border-top: 1px solid var(--line); }
.form-row label.head,
.form-row .head {
  font-weight: 500;
  color: var(--navy);
  padding-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.req, .opt {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  line-height: 1.6;
  margin-top: 3px;
  flex-shrink: 0;
}
.req { background: var(--accent); color: var(--white); }
.opt { background: var(--line); color: var(--text-sub); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #c9cfd9;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19,33,60,.12);
}
textarea.form-control { min-height: 220px; resize: vertical; line-height: 1.8; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form-agree { text-align: center; margin: 44px 0 36px; font-size: 14px; }
.form-agree a { color: var(--navy); text-decoration: underline; }
.form-agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.form-agree input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 300px; border: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  background: #fbeeee;
  border: 1px solid #e3b4b4;
  color: #8a2a2a;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 14px;
}

/* ---------- Policy ---------- */
.policy { max-width: 880px; margin: 0 auto; }
.policy h2 {
  font-size: 24px;
  color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 30px;
}
.policy h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 38px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.policy p, .policy li { font-size: 15px; color: var(--text); }
.policy ol { padding-left: 1.4em; margin: 10px 0 0; }
.policy ol li + li { margin-top: 6px; }
.policy .date { text-align: right; margin-top: 40px; color: var(--text-sub); font-size: 14px; }
.policy-sep { height: 110px; }

/* ---------- Thanks ---------- */
.thanks { text-align: center; max-width: 680px; margin: 0 auto; }
.thanks h2 { font-size: 26px; color: var(--navy); margin-bottom: 24px; }
.thanks p { color: var(--text-sub); }
.thanks .btn { margin-top: 44px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  padding: 72px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-info .logo-en { color: var(--white); }
.footer-info .logo-ja { color: rgba(255,255,255,.6); }
.footer-info address { font-style: normal; margin-top: 22px; line-height: 2; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.footer-nav a { transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  text-align: center;
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.1em;
}

/* ---------- Fade in ---------- */
.js .js-fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .js-fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .js-fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .global-nav ul { gap: 22px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .flow-list { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .flow-list li:nth-child(3)::after { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .site-header .container { height: 64px; }
  .logo-en { font-size: 20px; }
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-open .global-nav { transform: translateX(0); }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 40px; }
  .global-nav li { border-bottom: 1px solid var(--line); }
  .global-nav li:last-child { border-bottom: 0; margin-top: 24px; }
  .global-nav a { display: block; padding: 18px 4px; font-size: 16px; }
  .global-nav a::after { display: none; }
  .btn-nav { text-align: center; padding: 16px !important; }

  .hero { min-height: 540px; padding: 80px 0; background-position: center, 70% center, center, center; }
  .hero::after { width: 280px; height: 280px; right: -100px; bottom: -100px; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .about-grid,
  .detail-block { grid-template-columns: 1fr; gap: 40px; }
  .detail-block.reverse .detail-img { order: 0; }
  .detail-block + .detail-block { margin-top: 72px; }
  .img-frame::after { left: -10px; bottom: -10px; }

  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 32px 4px; }
  .strength-item:last-child { border-bottom: 0; }

  .works-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }

  .info-table th,
  .info-table td { display: block; width: 100%; padding: 14px 16px; }
  .info-table th { border-bottom: 0; background: #e8ecf2; padding: 10px 16px; font-size: 14px; }

  .message-box { padding: 48px 24px 40px; }
  .message-box::before { left: 16px; top: 8px; font-size: 72px; }

  .history-list li { grid-template-columns: 1fr; gap: 2px; padding-left: 26px; }

  .flow-list { grid-template-columns: 1fr; gap: 20px; }
  .flow-list li { text-align: left; padding: 22px 20px; }
  .flow-list li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%) rotate(135deg); display: block; }

  .form-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .form-row .head { padding-top: 0; }
  .form-submit .btn { min-width: 0; width: 100%; }

  .footer-grid { flex-direction: column; }
  .page-header { padding: 64px 0 56px; }
  .btn { min-width: 0; }
}

/* ---------- Utility ---------- */
.sp-only { display: none; }
@media (max-width: 860px) { .sp-only { display: inline; } }
