:root {
  --navy: #003864;
  --navy-dark: #06263c;
  --blue: #459dc6;
  --blue-soft: #e8f4fa;
  --orange: #ff5e00;
  --orange-soft: #fff0e7;
  --ink: #1c2730;
  --muted: #627181;
  --line: #d8e3ea;
  --paper: #ffffff;
  --mist: #f5f8fa;
  --shadow: 0 22px 55px rgba(0, 56, 100, 0.12);
  --radius: 8px;
  --font-ja: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.sample-strip {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 18px;
  background: linear-gradient(90deg, var(--navy), #0d5275);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 56, 100, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1220px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 226px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  display: block;
  transform: skewY(-24deg);
}

.brand-mark::before {
  left: 2px;
  top: 13px;
  width: 13px;
  height: 29px;
  background: var(--blue);
}

.brand-mark::after {
  left: 15px;
  top: 3px;
  width: 16px;
  height: 42px;
  background: linear-gradient(180deg, var(--orange), var(--navy));
}

.brand-name {
  display: block;
  color: var(--navy);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 28px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 3px;
  background: var(--orange);
  transition: right 0.25s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tel-chip {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 142px;
  min-height: 48px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 56, 100, 0.16);
  color: var(--navy);
  line-height: 1.2;
}

.tel-chip strong {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.03em;
}

.tel-chip span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.page {
  padding-top: 112px;
  overflow: hidden;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section.mist {
  background: var(--mist);
}

.section.blue-soft {
  background: var(--blue-soft);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.wide-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 44px;
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--orange);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.section-title {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: stretch;
  background: var(--navy-dark);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0, 28, 48, 0.94), rgba(0, 56, 100, 0.72) 45%, rgba(0, 56, 100, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: end;
  width: min(1220px, calc(100% - 56px));
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 84px 0 70px;
}

.hero-copy {
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #bde5f8;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--orange);
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.hero-copy p {
  max-width: 670px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 2.05;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.11);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  align-self: end;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.rating {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.rating span {
  color: var(--navy);
  font-family: var(--font-ja);
  font-size: 13px;
}

.panel-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 13px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 56, 100, 0.18);
}

.btn.orange {
  background: var(--orange);
}

.btn.light {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.btn.outline {
  border-color: var(--navy);
  background: #fff;
  color: var(--navy);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, transparent 50%, var(--orange) 51%);
}

.image-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
}

.stat-card {
  min-height: 130px;
  padding: 24px;
  background: #fff;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-en);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.info-card,
.news-card,
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 38px rgba(0, 56, 100, 0.08);
  overflow: hidden;
}

.service-card:hover,
.work-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card,
.work-card,
.news-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  flex: 1;
  padding: 28px;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.service-card h3,
.info-card h3,
.work-card h3,
.news-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.45;
}

.card-body p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--navy);
  color: #fff;
}

.split-band .split-image img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.split-content {
  padding: 72px min(7vw, 86px);
}

.split-content .section-kicker,
.split-content .section-title {
  color: #fff;
}

.split-content .section-kicker::before {
  background: var(--orange);
}

.split-content p {
  color: rgba(255, 255, 255, 0.84);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.88);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 14px;
  height: 14px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.flow-step {
  padding: 30px;
  background: #fff;
}

.flow-step span {
  display: block;
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.flow-step h3 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: 19px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-table,
.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.price-table th,
.price-table td,
.profile-table th,
.profile-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th,
.profile-table th {
  width: 230px;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 800;
}

.price {
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 800;
}

.sub-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  background: var(--navy-dark);
  color: #fff;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 38, 62, 0.96), rgba(0, 56, 100, 0.76), rgba(0, 56, 100, 0.1));
  z-index: 1;
}

.sub-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.sub-hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 94px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.14;
}

.sub-hero p {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.filter-list button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.filter-list button.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.notice {
  padding: 18px 20px;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 28px;
  line-height: 1;
}

.faq-item.is-open .faq-q::after {
  content: "-";
}

.faq-a {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-item.is-open .faq-a {
  display: block;
}

.cta {
  position: relative;
  background:
    linear-gradient(120deg, rgba(0, 56, 100, 0.96), rgba(0, 56, 100, 0.82)),
    url("../images/consultation.webp") center / cover;
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.cta h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.4vw, 54px);
  line-height: 1.18;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.form {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 13px 14px;
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.demo-form-note {
  padding: 12px 14px;
  background: var(--orange-soft);
  color: #8a3906;
  font-size: 13px;
  font-weight: 800;
}

.footer {
  background: var(--navy-dark);
  color: #fff;
}

.footer-sample {
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 54px;
  padding: 70px 0;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.68);
}

.footer-copy {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.footer-nav h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
}

.footer-nav ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  list-style: none;
}

.footer-bottom {
  padding: 18px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.map {
  width: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.92);
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .nav,
  .tel-chip {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 112px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 28px 32px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .hero-inner,
  .intro-grid,
  .split-band,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: min(420px, 100%);
  }

  .card-grid,
  .card-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.78;
  }

  .sample-strip {
    min-height: 44px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .site-header {
    top: 44px;
  }

  .header-inner {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 28px;
    height: 40px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .page {
    padding-top: 112px;
  }

  .nav {
    inset: 112px 0 auto;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 32px, 540px);
    padding: 58px 0 48px;
  }

  .hero h1 {
    font-size: clamp(31px, 10vw, 42px);
    line-height: 1.18;
  }

  .hero-copy p,
  .sub-hero p {
    font-size: 15px;
  }

  .hero-panel {
    padding: 22px;
  }

  .rating {
    font-size: 42px;
  }

  .section {
    padding: 68px 0;
  }

  .container,
  .wide-container,
  .sub-hero-content {
    width: calc(100% - 32px);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 30px;
  }

  .section-title {
    font-size: clamp(30px, 10vw, 46px);
  }

  .stats-grid,
  .card-grid,
  .card-grid.two,
  .flow,
  .form-grid,
  .footer-main,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .split-content {
    padding: 46px 24px;
  }

  .split-band .split-image img {
    min-height: 270px;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td,
  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }

  .price-table th,
  .profile-table th {
    padding-bottom: 8px;
    border-bottom: 0;
  }

  .price-table td,
  .profile-table td {
    padding-top: 0;
  }

  .cta-inner {
    gap: 24px;
  }

  .btn-row,
  .btn {
    width: 100%;
  }

  .sub-hero {
    min-height: 350px;
  }

  .sub-hero-content {
    padding: 70px 0 54px;
  }

  .form {
    padding: 22px;
  }
}
