:root {
  --ink: #102238;
  --ink-soft: #405064;
  --navy: #0b1c33;
  --navy-2: #16314e;
  --orange: #ed6c2c;
  --orange-dark: #c94f17;
  --cream: #f8f4eb;
  --paper: #fffdf8;
  --line: #dce1e5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 28, 51, .12);
  --radius: 28px;
  --container: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  letter-spacing: .02em;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(11, 28, 51, .08);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: var(--container);
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--navy);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(-28deg);
}
.brand-mark::before { top: 10px; left: 9px; }
.brand-mark::after { right: 8px; bottom: 10px; opacity: .6; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}
.site-nav .nav-contact {
  padding: 11px 20px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  width: var(--container);
  min-height: 690px;
  margin: 34px auto 0;
  overflow: hidden;
  border-radius: 34px;
  position: relative;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero img {
  width: 100%;
  height: 690px;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,28,51,.92) 0%, rgba(11,28,51,.76) 34%, rgba(11,28,51,.08) 68%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(30px, 6vw, 76px);
  top: 50%;
  width: min(800px, 70%);
  transform: translateY(-50%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(38px, 4.35vw, 58px);
  line-height: 1.35;
  letter-spacing: .035em;
}

.page-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.35;
  letter-spacing: .035em;
}

.hero-title-row {
  display: flex;
  flex-wrap: wrap;
}

.hero-title-row > span { white-space: nowrap; }

.hero-lead {
  margin: 28px 0 0;
  max-width: 520px;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,.85);
}

.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: var(--orange-dark); }
.button-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.button-navy { background: var(--navy); color: var(--white); }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }

.section { padding: 120px 0; }
.section-cream { background: var(--cream); }
.container { width: var(--container); margin: auto; }

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) 1.3fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.35;
}
.section-head p:last-child { margin: 0; color: var(--ink-soft); font-size: 17px; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
  min-height: 470px;
  padding: 48px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(11, 28, 51, .08);
}
.service-card.dark { color: var(--white); background: var(--navy); }
.service-number {
  margin: 0 0 44px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}
.service-card h3 { margin: 0 0 24px; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.45; }
.service-card p { margin: 0; color: var(--ink-soft); }
.service-card.dark p { color: rgba(255,255,255,.72); }
.service-list { margin: 30px 0 0; padding: 0; list-style: none; }
.service-list li { padding: 14px 0; border-top: 1px solid rgba(16,34,56,.12); font-weight: 700; }
.service-card.dark .service-list li { border-color: rgba(255,255,255,.15); }

.editorial {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
}
.editorial-image { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.editorial-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.editorial-copy h2 { margin: 0 0 26px; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(34px,4vw,54px); line-height: 1.4; }
.editorial-copy p { color: var(--ink-soft); font-size: 17px; }
.accent-line { width: 72px; height: 5px; margin-bottom: 28px; border-radius: 99px; background: var(--orange); }

.contact-band {
  margin: 0 auto 100px;
  padding: 74px;
  width: var(--container);
  color: var(--white);
  background: var(--navy);
  border-radius: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.contact-band h2 { margin: 0 0 10px; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(28px,3.4vw,46px); }
.contact-band p { margin: 0; color: rgba(255,255,255,.75); }
.contact-band-email {
  display: inline-block;
  margin-top: 12px;
  color: var(--white);
  font-weight: 800;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.page-hero { padding: 112px 0 88px; background: var(--navy); color: var(--white); }
.page-hero .container { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; }
.page-hero p:last-child { margin: 0; color: rgba(255,255,255,.7); }

.company-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.company-table th,
.company-table td { padding: 28px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table th { width: 28%; color: var(--navy); font-weight: 800; }
.business-list { margin: 0; padding-left: 1.2em; }
.business-list li + li { margin-top: 8px; }

.company-message {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 64px;
  align-items: start;
}
.company-message h2 { margin: 0; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(34px,4vw,52px); }
.company-message p { margin: 0; color: var(--ink-soft); font-size: 17px; }

.contact-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 70px; align-items: start; }
.contact-aside { position: sticky; top: 120px; }
.contact-aside h2 { margin: 0 0 24px; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(32px, 3.8vw, 48px); }
.contact-aside p { color: var(--ink-soft); }
.mail-address { display: inline-block; margin-top: 12px; color: var(--orange-dark); font-weight: 800; word-break: break-all; }

.form-card { padding: 48px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-note { margin: 0 0 34px; padding: 18px 20px; border-radius: 14px; background: var(--cream); color: var(--ink-soft); font-size: 14px; }
.field { margin-top: 26px; }
.field label { display: block; margin-bottom: 9px; font-weight: 800; }
.required { margin-left: 8px; color: var(--orange-dark); font-size: 12px; }
.field input,
.field textarea {
  width: 100%;
  padding: 15px 17px;
  border: 1px solid #bcc5cc;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus { outline: 3px solid rgba(237,108,44,.22); border-color: var(--orange); }
.field textarea { min-height: 180px; resize: vertical; }
.error { min-height: 1.4em; margin: 6px 0 0; color: #b42318; font-size: 13px; }
.form-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.confirm-panel { display: none; }
.confirm-panel.is-active { display: block; }
.form-panel.is-hidden { display: none; }
.confirm-list { margin: 26px 0 0; }
.confirm-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.confirm-row dt { margin-bottom: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.confirm-row dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.privacy-box { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.privacy-box h3 { margin: 0 0 10px; font-size: 18px; }
.privacy-box p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.site-footer { padding: 64px 0 34px; color: var(--white); background: #071525; }
.footer-grid { width: var(--container); margin: auto; display: flex; justify-content: space-between; gap: 50px; }
.footer-brand { max-width: 440px; }
.footer-brand p { color: rgba(255,255,255,.62); }
.footer-nav { display: flex; gap: 28px; align-items: start; }
.footer-nav a { color: rgba(255,255,255,.78); text-decoration: none; }
.copyright { width: var(--container); margin: 54px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 12px; }

@media (max-width: 860px) {
  :root { --container: min(100% - 30px, 720px); }
  .header-inner { height: 70px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 24px 20px 30px;
    background: var(--paper);
    box-shadow: 0 16px 35px rgba(11,28,51,.12);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .nav-contact { text-align: center; }
  .hero { min-height: 760px; margin-top: 18px; }
  .hero img { height: 760px; object-position: 64% center; }
  .hero::after { background: linear-gradient(180deg, rgba(11,28,51,.2), rgba(11,28,51,.9) 70%); }
  .hero-copy { left: 28px; right: 28px; top: auto; bottom: 42px; width: auto; transform: none; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 44px); line-height: 1.32; }
  .section { padding: 84px 0; }
  .section-head, .service-grid, .editorial, .page-hero .container, .company-message, .contact-layout { grid-template-columns: 1fr; }
  .section-head { gap: 20px; margin-bottom: 40px; }
  .service-card { min-height: 0; padding: 34px 28px; }
  .editorial { gap: 38px; }
  .contact-band { margin-bottom: 70px; padding: 46px 30px; flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 76px 0 62px; }
  .page-hero .container { gap: 26px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 16px 8px; }
  .company-table th { padding-bottom: 3px; border-bottom: 0; }
  .company-table td { padding-top: 3px; }
  .contact-layout { gap: 38px; }
  .contact-aside { position: static; }
  .form-card { padding: 30px 22px; }
  .footer-grid { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
