:root {
  --ink: #08253d;
  --ink-soft: #2f4658;
  --blue: #2f6f9f;
  --blue-deep: #0a3557;
  --mist: #f5f8fa;
  --line: #dbe4ea;
  --taupe: #8a8276;
  --wood: #b99065;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 37, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  background: var(--white);
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 228, 234, 0.7);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  box-shadow: 0 12px 30px rgba(8, 37, 61, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 392px;
  flex: 0 0 auto;
}

.brand img {
  width: 140px;
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  gap: 3px;
  line-height: 1.15;
}

.brand strong {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.brand em {
  color: var(--taupe);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13.5px;
  font-style: normal;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.25vw, 18px);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.desktop-nav .nav-wide {
  max-width: 17em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 18;
  top: 78px;
  left: 0;
  right: 0;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 122px 0 52px;
  background: #eef4f7;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(255, 255, 255, 0.22) 62%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(40px, 6.2vw, 66px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
}

.hero h1 span {
  white-space: nowrap;
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.7vw, 18px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(10, 53, 87, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button::after {
  content: "→";
  margin-left: 12px;
  font-size: 18px;
  line-height: 1;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 16px 32px rgba(47, 111, 159, 0.24);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue-deep);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.text-link::after {
  content: "→";
  margin-left: 10px;
}

.intro-band {
  background: var(--ink);
  color: var(--white);
  padding: clamp(34px, 5vw, 58px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.strength-copy h2,
.company-info h2,
.contact h2 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.35;
  font-weight: 500;
}

.intro-grid p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.section {
  padding: clamp(74px, 10vw, 120px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading.compact {
  display: block;
  margin: 0;
}

.section-lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(8, 37, 61, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--wood));
}

.service-mark {
  display: block;
  margin-bottom: 38px;
  color: var(--taupe);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.service-card h3,
.strength-item h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
}

.service-card p,
.strength-copy p,
.strength-item p,
.contact p {
  margin: 0;
  color: var(--ink-soft);
}

.strength {
  background: linear-gradient(180deg, var(--mist), #ffffff);
}

.strength-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.strength-copy {
  position: sticky;
  top: 110px;
}

.strength-copy p {
  margin-top: 24px;
}

.strength-list {
  display: grid;
  gap: 18px;
}

.strength-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 6px 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.strength-item:first-child {
  border-top: 1px solid var(--line);
}

.strength-item span {
  grid-row: span 2;
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  background: var(--white);
}

.fd-policy {
  background: var(--white);
}

.fd-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.fd-list {
  display: grid;
  gap: 18px;
}

.fd-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 4px 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.fd-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.fd-list span {
  grid-row: span 2;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.25;
}

.fd-list h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
}

.fd-list p {
  margin: 0;
  color: var(--ink-soft);
}

.fd-closing {
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: var(--paper);
  line-height: 1.9;
}

.voices {
  background: linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
}

.voices-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.voice-list {
  display: grid;
  gap: 18px;
}

.voice-card {
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(8, 37, 61, 0.06);
}

.voice-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.voice-card h3,
.blog-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
}

.voice-card p,
.blog-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
}

.blog-card time {
  margin-bottom: 14px;
  color: var(--taupe);
  font-family: Georgia, "Times New Roman", serif;
}

.blog-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue-deep);
  font-weight: 700;
}

.blog-card a::after {
  content: "→";
}

.news {
  background: var(--white);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color 160ms ease;
}

.news-row:hover,
.news-row:focus-visible {
  color: var(--blue);
}

.news-row time {
  color: var(--taupe);
  font-family: Georgia, "Times New Roman", serif;
}

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

.company-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.company-logo {
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.company-info dl {
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.company-info dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-info dt {
  color: var(--taupe);
  font-weight: 700;
}

.company-info dd {
  margin: 0;
  color: var(--ink-soft);
}

.company-info dd a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  padding: clamp(78px, 10vw, 122px) 0;
  background: var(--ink);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.contact p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.phone-contact {
  display: grid;
  gap: 18px;
  padding: 8px 0 0;
}

.phone-contact p {
  margin: 0;
}

.phone-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.phone-number {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  text-decoration: none;
}

.phone-note {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.phone-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px;
  background: var(--white);
  border: 1px solid var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.phone-button:hover,
.phone-button:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.site-footer {
  padding: 30px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner img {
  width: 210px;
}

.footer-inner p {
  margin: 0;
  color: var(--taupe);
}

@media (max-width: 1240px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    min-height: 78vh;
    padding-top: 118px;
    align-items: end;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.96) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.28) 100%);
  }

  .intro-grid,
  .strength-layout,
  .fd-layout,
  .voices-layout,
  .news-layout,
  .company-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .strength-copy {
    position: static;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 620px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    height: 68px;
    gap: 10px;
    justify-content: flex-start;
    padding: 0 14px 0 8px;
  }

  .site-header.is-scrolled {
    height: 62px;
  }

  .brand {
    min-width: 0;
    justify-content: flex-start;
    gap: 7px;
    margin-right: auto;
    max-width: calc(100% - 62px);
  }

  .brand img {
    width: 112px;
    margin-left: -22px;
    margin-right: -16px;
  }

  .brand span {
    min-width: 0;
    gap: 2px;
  }

  .brand strong {
    font-size: 14.5px;
    white-space: nowrap;
  }

  .brand em {
    display: block;
    font-size: 10px;
  }

  .menu-button {
    flex: 0 0 44px;
    margin-left: auto;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: 76vh;
    padding: 104px 0 44px;
  }

  .hero h1 {
    font-size: 41px;
    line-height: 1.2;
    max-width: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.86) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.18) 100%);
  }

  .hero-copy {
    margin-top: 20px;
  }

  .hero-actions {
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
  }

  .primary-button {
    width: 100%;
  }

  .text-link {
    width: fit-content;
  }

  .intro-grid h2,
  .section-heading h2,
  .strength-copy h2,
  .company-info h2,
  .contact h2 {
    font-size: 30px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .strength-item {
    grid-template-columns: 1fr;
  }

  .fd-list article {
    grid-template-columns: 1fr;
  }

  .fd-list span {
    grid-row: auto;
  }

  .strength-item span {
    grid-row: auto;
    width: 58px;
    height: 58px;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .company-info dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 374px) {
  .brand {
    gap: 7px;
  }

  .brand img {
    width: 100px;
    margin-left: -20px;
    margin-right: -15px;
  }

  .brand strong {
    font-size: 13.8px;
  }

  .brand em {
    font-size: 9.4px;
  }

  .hero h1 {
    font-size: 34px;
  }
}
