:root {
  --green-deep: #0b6f57;
  --green: #4f9f64;
  --green-soft: #eaf4ec;
  --green-pale: #f4faf5;
  --gold: #bfa64a;
  --gold-soft: #efe7bd;
  --cream: #fbf8f1;
  --mist: #eef7f6;
  --white: #ffffff;
  --text: #26352f;
  --muted: #68736e;
  --line: #dbe6de;
  --shadow: 0 18px 46px rgba(32, 58, 46, 0.12);
  --shadow-soft: 0 10px 28px rgba(32, 58, 46, 0.08);
  --inner: min(1120px, calc(100% - 40px));
  --header: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  background: var(--cream);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 230, 222, 0.82);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(32, 58, 46, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.site-header__inner {
  width: var(--inner);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
}

.site-logo img {
  width: min(260px, 52vw);
  height: auto;
}

.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 26px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.global-nav a {
  position: relative;
  white-space: nowrap;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.global-nav a:hover::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-tel {
  font-size: 15px;
  font-weight: 900;
  color: var(--green-deep);
  white-space: nowrap;
}

.header-line {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.menu-button {
  display: none;
  position: relative;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 17px;
  width: 24px;
  height: 2px;
  background: #fff;
}

.menu-button span:first-child { top: 21px; }
.menu-button span:nth-child(2) { top: 29px; }

.menu-button b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  opacity: 0;
  background: rgba(21, 37, 29, 0.38);
  transition: opacity 0.3s ease;
}

.drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.drawer__panel {
  width: min(420px, 86vw);
  height: 100%;
  margin-left: auto;
  padding: 28px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__close {
  display: block;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--green-deep);
  font-weight: 900;
  cursor: pointer;
}

.drawer__nav {
  display: grid;
  gap: 0;
  margin-top: 34px;
}

.drawer__nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: clamp(700px, 86vh, 860px);
  padding-top: var(--header);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251,248,241,0.98) 0%, rgba(251,248,241,0.88) 36%, rgba(251,248,241,0.42) 63%, rgba(251,248,241,0.06) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.2) 100%);
}

.hero__inner {
  width: var(--inner);
  min-height: calc(clamp(700px, 86vh, 860px) - var(--header));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.36fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding: clamp(64px, 9vw, 110px) 0 54px;
}

.hero__content {
  max-width: 620px;
}

.hero__since {
  margin: 0 0 12px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: var(--green-deep);
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 1.28;
  letter-spacing: 0.08em;
}

.hero__lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.9;
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 14px;
  margin-top: 34px;
}

.hero__cards a {
  min-height: 108px;
  padding: 16px 12px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(219, 230, 222, 0.9);
}

.hero__cards span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero__cards strong {
  display: block;
  color: var(--green-deep);
  font-size: 20px;
  line-height: 1.2;
}

.hero__cta {
  align-self: end;
  padding: 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(79,159,100,0.96), rgba(11,111,87,0.96));
  box-shadow: var(--shadow);
}

.hero__cta span {
  display: block;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero__cta strong {
  display: block;
  margin-top: 8px;
  line-height: 1.75;
}

.hero__cta a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-deep);
  font-weight: 900;
}

.hero__cta a::after {
  content: "→";
}

.intro-copy {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.intro-copy__inner {
  width: var(--inner);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--green-deep);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.intro-copy__inner span:not(:last-child)::after {
  content: "/";
  margin-left: 28px;
  color: var(--gold);
}

.section {
  padding: clamp(86px, 9vw, 130px) 0;
}

.section__inner {
  width: var(--inner);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.05em;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.about h2,
.price h2,
.office h2,
.contact h2 {
  margin: 0;
  color: var(--green-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.42;
  letter-spacing: 0.05em;
}

.section-heading p {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
  font-weight: 600;
}

.about {
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.about__text p:not(.section-label) {
  color: var(--muted);
  font-weight: 600;
}

.about__image {
  position: relative;
  margin: 0;
}

.about__image::before {
  content: "";
  position: absolute;
  left: -44px;
  bottom: -34px;
  z-index: -1;
  width: 220px;
  height: 160px;
  background: var(--mist);
}

.about__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.text-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.text-link {
  margin-top: 20px;
}

.text-link::after,
.button::after {
  content: "→";
}

.text-link:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service {
  background: linear-gradient(180deg, #fff 0%, #fff 40%, var(--green-deep) 40%, var(--green-deep) 100%);
}

.service__main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-card img {
  width: 100%;
  height: clamp(220px, 23vw, 270px);
  object-fit: cover;
}

.service-card div {
  padding: 26px;
}

.service-card span {
  color: var(--gold);
  font-weight: 900;
}

.service-card h3 {
  margin: 4px 0 8px;
  color: var(--green-deep);
  font-size: 24px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.service__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.service__list a {
  position: relative;
  min-height: 62px;
  padding: 17px 46px 17px 20px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--green-deep);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.service__list a::after {
  content: "→";
  position: absolute;
  right: 18px;
  color: var(--gold);
}

.center-button {
  margin-top: 34px;
  text-align: center;
}

.price {
  background: linear-gradient(90deg, var(--mist) 0%, var(--mist) 58%, #fff 58%);
}

.price__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  align-items: center;
}

.price__card {
  position: relative;
  z-index: 2;
  margin-right: -86px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
}

.price__card p:not(.section-label) {
  color: var(--muted);
  font-weight: 600;
}

.price__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.price__buttons a {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.price__buttons a:nth-child(2) {
  background: var(--gold);
}

.price__image {
  margin: 0;
}

.price__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.office {
  background: #fff;
}

.office__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.office__images {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 18px;
  align-items: start;
}

.office__images img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.office__images img:first-child {
  margin-top: 56px;
}

.office__card {
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
}

.office__card p {
  color: var(--muted);
  font-weight: 600;
}

.office__card dl {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.office__card dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
}

.office__card dt {
  color: var(--green-deep);
  font-weight: 900;
}

.office__card dd {
  margin: 0;
  color: var(--muted);
}

.strength {
  background: var(--cream);
}

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

.strength__grid article {
  padding: 28px;
  border-top: 4px solid var(--green);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.strength__grid span {
  color: var(--gold);
  font-weight: 900;
}

.strength__grid h3 {
  margin: 8px 0;
  color: var(--green-deep);
  line-height: 1.45;
}

.strength__grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.flow {
  position: relative;
  padding: clamp(78px, 8vw, 100px) 0;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
  isolation: isolate;
}

.flow__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
}

.flow__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11,111,87,0.94), rgba(11,111,87,0.72));
}

.flow__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.flow .section-label,
.flow h2 {
  color: #fff;
}

.flow h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.2;
}

.flow__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow__steps article {
  min-height: 178px;
  padding: 22px 16px;
  background: #fff;
  color: var(--text);
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 8% 50%);
}

.flow__steps span {
  color: var(--gold);
  font-weight: 900;
}

.flow__steps h3 {
  margin: 8px 0;
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.4;
}

.flow__steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.blog {
  background: #fff;
}

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

.blog__grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.blog__grid img {
  width: 100%;
  height: 188px;
  object-fit: cover;
}

.blog__grid time,
.blog__grid h3,
.blog__grid p {
  display: block;
  margin-left: 20px;
  margin-right: 20px;
}

.blog__grid time {
  margin-top: 18px;
  color: var(--gold);
  font-weight: 900;
}

.blog__grid h3 {
  margin-top: 8px;
  color: var(--green-deep);
  line-height: 1.55;
}

.blog__grid p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.contact {
  position: relative;
  padding: clamp(82px, 8vw, 110px) 20px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(47, 51, 44, 0.58);
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
}

.contact .section-label,
.contact h2 {
  color: #fff;
}

.contact h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.contact__inner > p:not(.section-label) {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.contact__box {
  margin-top: 30px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  align-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.contact__tel {
  text-align: left;
}

.contact__tel span,
.contact__tel small {
  display: block;
  color: var(--muted);
}

.contact__tel strong {
  display: block;
  color: var(--green-deep);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.25;
}

.contact__btn {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
}

.contact__btn--outline {
  background: #fff;
  color: var(--green-deep);
  border: 1px solid var(--green);
}

.site-footer {
  padding: 58px 0 28px;
  background: var(--green-deep);
  color: #fff;
}

.site-footer__inner {
  width: var(--inner);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.site-footer img {
  width: min(260px, 60vw);
  height: auto;
}

.site-footer p {
  color: rgba(255,255,255,0.75);
}

.site-footer ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255,255,255,0.88);
}

.site-footer small {
  display: block;
  width: var(--inner);
  margin: 36px auto 0;
  color: rgba(255,255,255,0.6);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .global-nav,
  .header-contact {
    display: none;
  }

  .site-header__inner {
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    padding: 78px 0 54px;
  }

  .hero__cta {
    max-width: 480px;
  }

  .about__grid,
  .price__grid,
  .office__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .price__card {
    margin-right: 0;
  }

  .flow__inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .flow__steps article {
    clip-path: none;
    border-radius: 14px;
  }

  .contact__box {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__tel {
    text-align: center;
  }
}

@media (max-width: 820px) {
  :root {
    --inner: min(100% - 28px, 1120px);
    --header: 72px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    min-height: 680px;
    padding: 54px 0 42px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero__cards,
  .service__main-grid,
  .service__list,
  .strength__grid,
  .blog__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__cards {
    max-width: 420px;
  }

  .intro-copy__inner {
    display: grid;
    text-align: center;
  }

  .intro-copy__inner span::after {
    display: none;
  }

  .about__image::before {
    left: -16px;
    bottom: -20px;
  }

  .office__images {
    grid-template-columns: minmax(0, 1fr);
  }

  .office__images img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .office__images img:first-child {
    margin-top: 0;
  }

  .flow__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__inner,
  .site-footer ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__bg img {
    object-position: 66% center;
  }

  .hero__bg::after {
    background: linear-gradient(180deg, rgba(251,248,241,0.98) 0%, rgba(251,248,241,0.86) 50%, rgba(251,248,241,0.58) 100%);
  }
}

@media (max-width: 520px) {
  .site-logo img {
    width: 220px;
  }

  .hero__cards a {
    min-height: 88px;
  }

  .section {
    padding: 72px 0;
  }

  .service-card div,
  .price__card,
  .office__card,
  .strength__grid article {
    padding: 26px;
  }

  .price__buttons {
    display: grid;
  }

  .contact {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* --------------------------------------------------
   Headline line-break control
   - 短い重要フレーズが途中で割れないように制御
   - 長い見出しは指定したフレーズ単位で自然に改行
-------------------------------------------------- */
.heading-line {
  display: block;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.heading-line--nowrap {
  white-space: nowrap;
}

.office h2 {
  font-size: clamp(30px, 3.35vw, 44px);
  line-height: 1.48;
}

.contact__inner {
  max-width: min(1120px, calc(100% - 40px));
}

.contact h2 {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(28px, 3.05vw, 40px);
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.contact h2 .heading-line {
  display: inline-block;
  vertical-align: top;
}

.contact h2 .heading-line + .heading-line {
  margin-left: 0.16em;
}

@media (max-width: 700px) {
  .office h2 {
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.5;
  }

  .contact h2 {
    font-size: clamp(26px, 8.2vw, 34px);
    line-height: 1.55;
  }

  .contact h2 .heading-line {
    display: block;
  }

  .contact h2 .heading-line + .heading-line {
    margin-left: 0;
    margin-top: 0.08em;
  }
}

@media (max-width: 390px) {
  .office h2,
  .contact h2 {
    letter-spacing: 0.02em;
  }
}


/* --------------------------------------------------
   Line-break polish v2
   - 「一切改行しない」ではなく、意味のある塊ごとに綺麗に折り返す
   - 枠からのはみ出し、1文字だけの孤立、見出しの窮屈さを抑える
-------------------------------------------------- */
.hero__cta,
.office__card,
.contact__inner,
.flow__title,
.about__text {
  min-width: 0;
}

.phrase-nowrap {
  display: inline-block;
  white-space: nowrap;
}

.hero__cta strong {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
  letter-spacing: 0.02em;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero__cta strong .phrase-nowrap + .phrase-nowrap {
  margin-left: 0.12em;
}

.hero__lead {
  max-width: min(100%, 640px);
  letter-spacing: 0.02em;
  word-break: normal;
  overflow-wrap: break-word;
}

.intro-copy__inner {
  line-height: 1.8;
}

.about h2,
.office h2,
.flow h2,
.contact h2 {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: auto;
}

.about h2 {
  font-size: clamp(30px, 3.35vw, 46px);
  line-height: 1.55;
  letter-spacing: 0.035em;
}

.about h2 .headline-phrase {
  display: block;
}

.office h2 {
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.56;
  letter-spacing: 0.03em;
}

.heading-line,
.heading-line--nowrap {
  display: block;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: auto;
}

.heading-line .phrase-nowrap + .phrase-nowrap {
  margin-left: 0.12em;
}

.office__card p {
  max-width: 38em;
}

.office__card dl div {
  grid-template-columns: 82px minmax(0, 1fr);
}

.office__card dd {
  min-width: 0;
  overflow-wrap: break-word;
}

.flow__inner {
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
}

.flow h2 {
  font-size: clamp(32px, 2.7vw, 40px);
  line-height: 1.22;
  letter-spacing: 0.035em;
}

.flow h2 .phrase-nowrap {
  white-space: nowrap;
}

.contact__inner {
  max-width: min(960px, calc(100% - 40px));
}

.contact h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(28px, 3.15vw, 42px);
  line-height: 1.58;
  letter-spacing: 0.035em;
}

.contact h2 .heading-line {
  display: block !important;
  margin-left: 0 !important;
}

.contact h2 .heading-line + .heading-line {
  margin-top: 0.04em;
}

@media (max-width: 1120px) {
  .hero__cta {
    max-width: 480px;
  }

  .hero__cta strong .phrase-nowrap {
    display: inline-block;
  }

  .flow__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .about h2 {
    font-size: clamp(29px, 7.6vw, 40px);
    line-height: 1.58;
  }

  .office h2 {
    font-size: clamp(28px, 6.7vw, 38px);
    line-height: 1.58;
  }

  .contact h2 {
    font-size: clamp(27px, 6.8vw, 38px);
    line-height: 1.58;
  }

  .flow h2 {
    font-size: clamp(32px, 8vw, 40px);
  }
}

@media (max-width: 520px) {
  .hero__cta {
    padding: 24px 22px;
  }

  .hero__cta strong {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero__cta strong .phrase-nowrap {
    display: block;
  }

  .hero__cta strong .phrase-nowrap + .phrase-nowrap {
    margin-left: 0;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.85;
  }

  .intro-copy__inner {
    gap: 8px 16px;
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .intro-copy__inner span:not(:last-child)::after {
    margin-left: 16px;
  }

  .about h2 {
    font-size: clamp(26px, 7.4vw, 33px);
    line-height: 1.62;
    letter-spacing: 0.018em;
  }

  .office__card {
    padding: 28px 24px;
  }

  .office h2 {
    font-size: clamp(25px, 6.8vw, 32px);
    line-height: 1.62;
    letter-spacing: 0.012em;
  }

  .office h2 .heading-line + .heading-line {
    margin-top: 0.04em;
  }

  .contact h2 {
    max-width: 18em;
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.62;
    letter-spacing: 0.012em;
  }

  .contact h2 .heading-line .phrase-nowrap + .phrase-nowrap {
    margin-left: 0;
  }

  .contact h2 .heading-line:nth-child(2) .phrase-nowrap {
    display: block;
  }

  .flow h2 {
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.24;
  }
}

@media (max-width: 390px) {
  .about h2,
  .office h2,
  .contact h2,
  .flow h2 {
    letter-spacing: 0;
  }

  .office h2 {
    font-size: clamp(24px, 6.8vw, 29px);
  }

  .contact h2 {
    font-size: clamp(24px, 6.9vw, 30px);
  }
}
