/*
Theme Name: 釜堀行政書士事務所
Theme URI: https://kamahori-office.com/
Author: 釜堀行政書士事務所
Description: 釜堀行政書士事務所専用のWordPressテーマ。トップ画像カルーセル、4つの業務詳細ページ、お問い合わせ、ユキマサくん紹介、レスポンシブ表示、スクロール演出に対応しています。
Version: 1.1.20
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kamahori-gyosei
*/

:root {
  --forest: #174f3d;
  --forest-deep: #0d3a2d;
  --forest-soft: #2d6855;
  --sage: #dfe9de;
  --sage-pale: #f0f4ed;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --rose: #d6a6ad;
  --rose-pale: #f2e4e3;
  --ink: #21312c;
  --muted: #6c7772;
  --line: rgba(23, 79, 61, 0.16);
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: 128px;
}

.topline {
  position: relative;
  z-index: 20;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.topline-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topline-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topline-info span {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(23, 79, 61, 0.1);
  backdrop-filter: blur(14px);
  transition: background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: min-height 260ms ease;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  line-height: 1.2;
}

.wordmark-emblem {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: width 260ms ease, height 260ms ease;
}

.wordmark-ja {
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.25vw, 34px);
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  width: 100%;
}

.header-contact {
  min-height: 88px;
  margin-left: 4px;
  padding-inline: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: min-height 260ms ease, background 180ms ease;
}

body.is-scrolled .site-header {
  background: rgba(255, 253, 248, 0.985);
  border-bottom-color: transparent;
  box-shadow: 0 10px 34px rgba(13, 58, 45, 0.1);
}

body.is-scrolled .header-inner,
body.is-scrolled .header-contact {
  min-height: 72px;
}

body.is-scrolled .wordmark-emblem {
  width: 42px;
  height: 42px;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--forest-deep);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--sage-pale);
}

.hero-carousel,
.hero-carousel-slide,
.hero-carousel-slide picture {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  z-index: 0;
  background: var(--sage-pale);
}

.hero-carousel-slide {
  opacity: 0;
  transition: opacity 1400ms ease;
}

.hero-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-carousel-slide picture {
  display: block;
}

.hero-carousel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 9s ease-out;
}

.hero-carousel-slide.is-active .hero-carousel-image {
  transform: scale(1.075);
}

.hero-carousel-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  min-height: 38px;
  padding: 6px 7px 6px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(23, 79, 61, 0.15);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 10px 28px rgba(13, 58, 45, 0.11);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-carousel-dot,
.hero-carousel-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
}

.hero-carousel-dot {
  width: 22px;
  height: 12px;
  position: relative;
}

.hero-carousel-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(23, 79, 61, 0.25);
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero-carousel-dot.is-active::before {
  background: var(--forest);
  transform: scaleY(1.8);
}

.hero-carousel-toggle {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(23, 79, 61, 0.14);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.hero-carousel-dot:focus-visible,
.hero-carousel-toggle:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(23, 79, 61, 0.08);
}

.hero-grid {
  min-height: 704px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding-block: 72px 82px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

/* Keep the photograph untouched and give the copy a high-contrast local panel. */
.hero.has-hero-carousel .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -36px -44px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 46px rgba(9, 42, 34, 0.16);
  pointer-events: none;
}

.eyebrow {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--rose);
}

.hero h1 {
  max-width: 710px;
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(48px, 4.3vw, 64px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

/* The stronger local panel makes outlines and text shadows unnecessary. */
.hero.has-hero-carousel h1,
.hero.has-hero-carousel h1 em {
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.hero.has-hero-carousel .eyebrow,
.hero.has-hero-carousel .hero-lead,
.hero.has-hero-carousel .phone-link,
.hero.has-hero-carousel .trust-list li {
  text-shadow: none;
}

.hero.has-hero-carousel .hero-lead,
.hero.has-hero-carousel .phone-link small,
.hero.has-hero-carousel .trust-list li {
  color: #29453a;
}

.hero.has-hero-carousel .trust-list {
  border-top-color: rgba(23, 79, 61, 0.28);
}

@media (max-width: 760px) {
  .hero.has-hero-carousel .hero-copy::before {
    inset: -24px -18px;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 14px 34px rgba(9, 42, 34, 0.15);
  }
}

.hero-title-line {
  display: inline-block;
  white-space: nowrap;
}

.hero h1 em,
.statement em {
  position: relative;
  color: var(--forest-soft);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after,
.statement em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.24em;
  background: var(--rose-pale);
}

.hero-lead {
  margin-top: 30px;
  color: #4a5d56;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  line-height: 2.05;
}

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

.button {
  min-width: 205px;
  min-height: 62px;
  padding-inline: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--forest);
  color: white;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--forest-deep);
}

.button span {
  color: var(--rose);
  font-size: 17px;
}

.phone-link {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.phone-link small {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.phone-link strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.06em;
}

.trust-list {
  margin: 34px 0 0;
  padding: 24px 0 0;
  display: flex;
  gap: 25px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 15px;
  color: #50625b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.hero-panel {
  position: relative;
  z-index: 2;
  min-height: 500px;
  padding: 55px 48px 42px;
  overflow: hidden;
  background: var(--forest);
  color: white;
  box-shadow: 32px 32px 0 var(--sage);
  transform: translate3d(var(--hero-panel-x, 0px), var(--hero-panel-y, 0px), 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -78px;
  top: -76px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 47% 53% 62% 38%;
  transform: rotate(28deg);
}

.hero-panel-kicker {
  color: var(--rose-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hero-panel-title {
  margin-top: 26px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.hero-panel-text {
  max-width: 320px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 2;
}

.focus-stack {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel-lower {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px;
  align-items: end;
  gap: 18px;
}

.hero-panel-lower .focus-stack {
  min-width: 0;
  margin-top: 0;
}

.hero-panel-mascot {
  margin: 0;
  align-self: end;
}

.hero-panel-mascot img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(5, 29, 23, 0.2));
}

.focus-stack span {
  padding-block: 10px;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.panel-script {
  position: absolute;
  right: 28px;
  bottom: 18px;
  color: rgba(242, 228, 227, 0.22);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 30px;
  transform: rotate(-7deg);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(23, 79, 61, 0.13);
  border-radius: 47% 53% 45% 55%;
  translate: var(--hero-orbit-x, 0px) var(--hero-orbit-y, 0px);
  transition: translate 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, translate;
}

.hero-orbit-one {
  width: 410px;
  height: 410px;
  left: -250px;
  bottom: -210px;
  transform: rotate(22deg);
}

.hero-orbit-two {
  width: 170px;
  height: 170px;
  left: 48%;
  top: 36px;
  border-color: rgba(214, 166, 173, 0.35);
  transform: rotate(-28deg);
}

.hero-side-label {
  position: absolute;
  right: 17px;
  top: 50%;
  color: rgba(23, 79, 61, 0.35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--rose);
}

.section-label span {
  color: var(--muted);
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.section-label.light {
  color: #fff;
}

.section-label.light span {
  color: rgba(255, 255, 255, 0.58);
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 70px;
}

.statement {
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.intro-text {
  max-width: 650px;
  margin-top: 36px;
  color: #59665f;
  font-size: 14px;
  line-height: 2.2;
}

.association-news {
  background: var(--cream);
  padding-block: 46px 52px;
  border-top: 1px solid var(--line);
}

.association-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4.5vw, 68px);
}

.news-column {
  min-width: 0;
}

.news-heading {
  margin-bottom: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.news-heading > div {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.news-heading h2 {
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.news-column .news-heading {
  align-items: flex-start;
}

.news-column .news-heading > div {
  display: block;
  min-width: 0;
}

.news-column .news-heading .section-label {
  margin-bottom: 8px;
}

.news-column .news-heading h2 {
  font-size: clamp(19px, 1.7vw, 25px);
}

.news-column .news-heading > a {
  padding-top: 30px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.news-column .news-list a {
  grid-template-columns: 90px minmax(0, 1fr) 28px;
  gap: 14px;
}

.news-column .news-list strong {
  font-size: 13px;
}

.news-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

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

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.news-list a {
  min-height: 61px;
  padding: 12px 4px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  transition: background-color 200ms ease, padding-left 200ms ease;
}

.news-list time {
  color: var(--forest-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-list strong {
  color: var(--ink);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.news-list a > span {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--rose);
  line-height: 1;
}

.news-list a > span svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-list a:hover,
.news-list a:focus-visible {
  padding-left: 12px;
  background: var(--sage-pale);
}

.news-fallback {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  color: #59665f;
  font-size: 13px;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: white;
}

.services::before {
  content: "主な業務内容";
  position: absolute;
  left: -20px;
  top: 20px;
  color: rgba(255, 255, 255, 0.028);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(96px, 14vw, 210px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 0.8fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 70px;
}

.section-heading h2,
.split-title h2,
.about-copy h2,
.fees-intro h2,
.voice-heading h2,
.faq h2,
.contact h2 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 2;
}

.service-list {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card {
  position: relative;
  min-height: 178px;
  padding: 34px 75px 34px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 200ms ease, padding 200ms ease;
}

.service-card:hover {
  padding-left: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.service-index {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-index span {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 33px;
}

.service-index small {
  color: rgba(255, 255, 255, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-content {
  display: grid;
  grid-template-columns: 175px minmax(230px, 0.8fr) 1fr;
  align-items: center;
  gap: 35px;
}

.service-tag {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.service-content h3 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.service-content > p:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 2;
}

.service-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose);
  transform: translateY(-50%);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

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

.split-title {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: start;
  gap: 60px;
}

.split-title h2 {
  color: var(--forest-deep);
}

.feature-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 345px;
  padding: 44px 42px;
  border-right: 1px solid var(--line);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.feature-grid article:first-child {
  border-left: 1px solid var(--line);
}

.feature-grid article > span {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.feature-grid h3 {
  margin-top: 38px;
  color: var(--forest);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.07em;
}

.feature-grid p {
  margin-top: 26px;
  color: #68746e;
  font-size: 12px;
  line-height: 2;
}

.about {
  background: var(--forest);
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) 1fr;
  align-items: center;
  gap: clamp(70px, 10vw, 140px);
}

.about-frame {
  position: relative;
  aspect-ratio: 0.9;
  overflow: hidden;
  background: var(--sage);
  color: var(--forest);
  box-shadow: -28px 28px 0 var(--rose-pale);
}

.about-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.about-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 38px;
  border: 1px solid rgba(23, 79, 61, 0.25);
  pointer-events: none;
}

.about-frame.has-representative-photo::after {
  display: none;
}

.about-frame.has-representative-photo .about-identity {
  position: absolute;
  z-index: 4;
  left: 28px;
  bottom: 28px;
  min-width: min(280px, calc(100% - 56px));
  padding: 14px 18px 15px;
  border: 1px solid rgba(23, 79, 61, 0.16);
  border-left: 3px solid var(--rose);
  background: rgba(255, 253, 248, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.about-frame.has-representative-photo .about-name-ja {
  position: static;
  color: var(--forest-deep);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
  text-shadow: none;
}

.about-frame.has-representative-photo .about-caption {
  position: static;
  margin-top: 5px;
  color: var(--forest);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  writing-mode: horizontal-tb;
  text-shadow: none;
}

.about-initial {
  position: absolute;
  left: 50%;
  top: 42%;
  color: rgba(23, 79, 61, 0.11);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(180px, 22vw, 310px);
  line-height: 0.8;
  transform: translate(-50%, -50%);
}

.about-name-ja {
  position: absolute;
  z-index: 2;
  left: 52px;
  bottom: 78px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(37px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.12em;
}

.about-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  top: 45%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}

.about-flower {
  position: absolute;
  z-index: 1;
  display: block;
  width: 92px;
  height: 128px;
  border: 1px solid rgba(23, 79, 61, 0.25);
  border-radius: 80% 10% 75% 15%;
}

.flower-one {
  right: 45px;
  top: 56px;
  transform: rotate(34deg);
}

.flower-two {
  right: 100px;
  top: 100px;
  transform: rotate(69deg) scale(0.72);
}

.about-copy h2 {
  margin-top: 33px;
  color: white;
}

.about-copy > p:not(.section-label):not(.emblem-note) {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 2.15;
}

.profile-list {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-list div {
  padding-block: 13px;
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.profile-list dt {
  color: rgba(255, 255, 255, 0.42);
}

.profile-list dd {
  color: rgba(255, 255, 255, 0.9);
}

.emblem-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.fees {
  background: var(--paper);
}

.fees-grid {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: clamp(60px, 9vw, 130px);
}

.fees-intro h2 {
  margin-top: 32px;
  color: var(--forest-deep);
}

.fees-intro > p:not(.section-label) {
  margin-top: 30px;
  color: #66736d;
  font-size: 13px;
  line-height: 2.05;
}

.fees-intro .fee-small {
  font-size: 10px !important;
  line-height: 1.8 !important;
}

.fee-table {
  align-self: start;
  border-top: 2px solid var(--forest);
}

.fee-row {
  min-height: 78px;
  padding: 19px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.fee-row span {
  font-size: 13px;
}

.fee-row strong {
  color: var(--forest);
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 18px;
  white-space: nowrap;
}

.fee-consult {
  margin-top: 20px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sage);
  color: var(--forest);
}

.fee-consult span {
  font-size: 12px;
  font-weight: 700;
}

.fee-consult strong {
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 24px;
}

.flow {
  position: relative;
  background: var(--forest-deep);
  color: white;
}

.flow-heading h2 {
  color: white;
}

.flow-list {
  margin: 70px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 290px;
  padding: 36px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 220ms ease;
}

.flow-list li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.flow-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  right: -13px;
  top: 48px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose);
  color: var(--forest-deep);
  font-size: 11px;
}

.flow-number {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.flow-list h3 {
  margin-top: 38px;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.flow-list p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 2;
}

.voice {
  background: var(--rose-pale);
}

.voice-heading {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  align-items: start;
  gap: 70px;
}

.voice-heading h2 {
  color: var(--forest-deep);
}

.voice-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.voice-grid figure {
  position: relative;
  min-height: 300px;
  padding: 52px 48px 42px;
  background: var(--paper);
  border-top: 3px solid var(--forest);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.voice-grid figure::before {
  content: "“";
  position: absolute;
  right: 30px;
  top: 8px;
  color: var(--sage);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 1;
}

.voice-grid blockquote {
  position: relative;
  z-index: 1;
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 18px;
  line-height: 2;
}

.voice-grid figcaption {
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.voice-grid figcaption strong {
  font-size: 12px;
}

.voice-grid figcaption span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(60px, 9vw, 130px);
}

.faq h2 {
  margin-top: 32px;
  color: var(--forest-deep);
}

.faq-list {
  border-top: 2px solid var(--forest);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 84px;
  padding: 22px 8px;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  transition: background 180ms ease, color 180ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.faq-list summary i {
  color: var(--forest);
  font-size: 18px;
  font-style: normal;
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details > p {
  padding: 0 35px 26px 54px;
  color: #66736d;
  font-size: 12px;
  line-height: 2;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: white;
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact h2 {
  margin-top: 28px;
  font-size: clamp(42px, 5.5vw, 72px);
}

.contact-inner > p:not(.section-label) {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 2.1;
}

.contact-actions {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 18px;
}

.contact-phone,
.contact-address {
  min-height: 170px;
  padding: 34px 40px;
}

.contact-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  color: var(--forest);
  transition: transform 180ms ease;
}

.contact-phone:hover,
.contact-phone:focus-visible {
  transform: translateY(-3px);
}

.contact-phone small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.contact-phone strong {
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.contact-phone span {
  position: absolute;
  right: 35px;
  bottom: 30px;
  color: var(--rose);
  font-size: 11px;
  font-weight: 700;
}

.contact-address {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-address > span {
  color: var(--rose-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.contact-address p {
  margin-top: 15px;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 18px;
  line-height: 1.7;
}

.contact-address small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.contact-map {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.office-map {
  display: block;
  width: 100%;
  height: clamp(320px, 35vw, 440px);
  background: var(--sage-pale);
}

.gyoseishoshi-map-pin {
  display: block;
  width: 72px;
  height: auto;
  filter: drop-shadow(0 7px 10px rgba(9, 42, 34, 0.32));
}

.office-map--embed {
  position: relative;
}

.office-map--embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.office-map-admin-notice {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: min(620px, calc(100% - 110px));
  padding: 9px 12px;
  background: rgba(255, 253, 248, 0.95);
  color: var(--forest-deep);
  box-shadow: 0 5px 18px rgba(9, 42, 34, 0.22);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  transform: translateX(-50%);
}

.office-map--fallback {
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at 70% 25%, rgba(213, 166, 170, 0.28), transparent 32%),
    linear-gradient(135deg, #f3f1e9 0%, #dbe5dc 100%);
  color: var(--forest-deep);
  text-align: center;
}

.office-map--fallback p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.office-map--fallback small {
  display: inline-block;
  margin-top: 10px;
  max-width: 44em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.office-map--fallback strong {
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 18px;
}

.office-map-popup {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
}

.office-map-popup strong {
  color: var(--forest-deep);
}

.contact-map .map-open-button {
  position: absolute;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--paper);
  color: var(--forest-deep);
  box-shadow: 0 8px 24px rgba(9, 42, 34, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-map .map-open-button:hover,
.contact-map .map-open-button:focus-visible {
  background: var(--forest-deep);
  color: white;
  transform: translateY(-2px);
}

.contact-orbit {
  position: absolute;
  right: -250px;
  top: -230px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 52% 48% 41% 59%;
  transform: rotate(18deg);
}

.contact-orbit::after {
  content: "";
  position: absolute;
  inset: 90px;
  border: 1px solid rgba(214, 166, 173, 0.24);
  border-radius: 43% 57% 55% 45%;
}

.site-footer {
  --footer-overlay-opacity: 0.56;
  position: relative;
  overflow: hidden;
  padding: 74px 0 28px;
  background: #092a22;
  color: white;
}

.footer-background,
.footer-background picture,
.footer-background-shade {
  position: absolute;
  inset: 0;
}

.footer-background {
  z-index: 0;
}

.footer-background picture {
  display: block;
}

.footer-background-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.02);
}

.footer-background-shade {
  z-index: 1;
  background:
    linear-gradient(rgba(4, 7, 6, var(--footer-overlay-opacity)), rgba(4, 7, 6, var(--footer-overlay-opacity))),
    linear-gradient(115deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.03));
  pointer-events: none;
}

.site-footer > .shell {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-mark .wordmark-en {
  color: white;
}

.footer-mark .wordmark-ja {
  color: white;
}

.footer-grid > div > p {
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
}

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

.footer-grid nav a {
  position: relative;
  width: fit-content;
  padding: 7px 2px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 600;
  transform: translateY(0);
  transition:
    color 220ms ease,
    text-shadow 220ms ease,
    transform 220ms ease;
}

.footer-grid nav a::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 1px;
  background: var(--rose-pale);
  box-shadow: 0 0 8px rgba(239, 193, 200, 0.42);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
  color: var(--rose-pale);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

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

.footer-grid nav a:active {
  transform: translateY(0);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.mobile-call {
  display: none;
}

/* 業務詳細ページ */
.detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--sage-pale);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 520px;
  padding-block: 54px 84px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.breadcrumbs {
  position: absolute;
  top: 36px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
}

.breadcrumbs a {
  border-bottom: 1px solid var(--line);
}

.detail-number {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.detail-audience {
  margin-top: 18px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.detail-hero h1 {
  margin-top: 18px;
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.detail-lead {
  margin-top: 25px;
  color: #4a5d56;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
}

.detail-orbit {
  position: absolute;
  right: -120px;
  top: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(23, 79, 61, 0.13);
  border-radius: 47% 53% 45% 55%;
  transform: rotate(24deg);
}

.detail-orbit::after {
  content: "";
  position: absolute;
  inset: 90px;
  border: 1px solid rgba(214, 166, 173, 0.35);
  border-radius: 55% 45% 52% 48%;
}

.detail-two-column,
.detail-fee-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.detail-two-column h2,
.detail-section-heading h2,
.detail-fee-grid h2,
.detail-related h2 {
  margin-top: 30px;
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.7vw, 52px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.detail-prose p {
  color: #59665f;
  font-size: 14px;
  line-height: 2.25;
}

.detail-prose p + p {
  margin-top: 25px;
}

.detail-work {
  background: var(--forest-deep);
  color: white;
}

.detail-section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  align-items: start;
  gap: 60px;
}

.detail-section-heading h2 {
  margin-top: 0;
  color: white;
}

.work-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.work-grid article {
  min-height: 270px;
  padding: 38px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 220ms ease;
}

.work-grid article > span {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.work-grid h3 {
  margin-top: 27px;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 24px;
  font-weight: 500;
}

.work-grid p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 2;
}

.detail-fees {
  background: var(--paper);
}

.detail-fee-copy {
  margin-top: 28px;
  color: #66736d;
  font-size: 13px;
  line-height: 2;
}

.detail-fee-row {
  min-height: 92px;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding-inline 180ms ease;
}

.detail-fee-row > div {
  display: flex;
  flex-direction: column;
}

.detail-fee-row span {
  font-size: 13px;
}

.detail-fee-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.detail-fee-row strong {
  color: var(--forest);
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 18px;
  white-space: nowrap;
}

.fee-notice {
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.detail-documents {
  background: var(--cream);
}

.document-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--forest);
  list-style: none;
}

.document-list li {
  position: relative;
  padding: 20px 10px 20px 38px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  transition: background 180ms ease, padding-left 180ms ease;
}

.document-list li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  color: var(--rose);
  font-weight: 700;
}

.document-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
}

.detail-related {
  background: var(--forest);
  color: white;
}

.detail-related h2 {
  color: white;
}

.related-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.related-grid a {
  min-height: 145px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 200ms ease, color 200ms ease;
}

.related-grid span {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
}

.related-grid strong {
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 16px;
  font-weight: 500;
}

.related-grid i {
  color: var(--rose-pale);
  font-style: normal;
}

.detail-contact {
  padding-block: 110px;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .header-contact {
    padding-inline: 20px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.78fr;
    gap: 50px;
  }

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

  .service-content {
    grid-template-columns: 140px minmax(220px, 0.9fr) 1fr;
    gap: 25px;
  }

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

  .flow-list li:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .flow-list li:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .flow-list li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 38px, 720px);
  }

  .section-pad {
    padding-block: 92px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .header-inner {
    min-height: 76px;
  }

  .mobile-menu {
    position: relative;
    margin-left: auto;
    display: block;
  }

  .mobile-menu summary {
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 7px;
    background: var(--forest);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 21px;
    height: 1px;
    display: block;
    background: white;
  }

  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 56px;
    width: min(80vw, 320px);
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(13, 58, 45, 0.16);
  }

  .mobile-menu nav a {
    padding: 10px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
    padding-block: 72px 100px;
  }

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

  .hero-panel {
    width: min(520px, calc(100% - 30px));
    min-height: 440px;
    margin-left: auto;
  }

  .hero-side-label {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .split-title,
  .voice-heading,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading {
    margin-bottom: 55px;
  }

  .section-heading > p:last-child {
    max-width: 500px;
  }

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

  .service-content {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-tag {
    order: 2;
  }

  .service-content > p:last-child {
    order: 3;
  }

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

  .feature-grid article,
  .feature-grid article:first-child {
    min-height: auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .about-grid {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
    gap: 90px;
  }

  .fees-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

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

  .detail-two-column,
  .detail-fee-grid,
  .detail-section-heading {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 74px;
  }

  body {
    padding-bottom: 72px;
  }

  .section-pad {
    padding-block: 74px;
  }

  .topline {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .wordmark {
    min-width: 0;
    gap: 8px;
  }

  .wordmark-emblem {
    width: 39px;
    height: 39px;
  }

  .wordmark-ja {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .hero-grid {
    min-height: 0;
    padding-block: 60px 96px;
    gap: 58px;
  }

  .hero-carousel-controls {
    bottom: 15px;
    min-height: 36px;
  }

  .hero-carousel-dot {
    width: 18px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .eyebrow::before {
    width: 26px;
  }

  .hero h1 {
    font-size: clamp(27px, 8.3vw, 34px);
    line-height: 1.46;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 14px;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    margin-top: 30px;
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .button {
    width: 100%;
  }

  .phone-link strong {
    font-size: 22px;
  }

  .trust-list {
    gap: 9px 18px;
    flex-wrap: wrap;
  }

  .trust-list li {
    font-size: 9px;
  }

  .hero-panel {
    width: calc(100% - 18px);
    min-height: 420px;
    padding: 45px 30px 38px;
    box-shadow: 18px 18px 0 var(--sage);
  }

  .hero-panel-title {
    font-size: 40px;
  }

  .hero-panel-text {
    font-size: 12px;
  }

  .hero-panel-lower {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
  }

  .hero-orbit-two {
    left: auto;
    right: -80px;
  }

  .section-label {
    gap: 10px;
    font-size: 9px;
  }

  .section-label::before {
    width: 24px;
  }

  .statement,
  .section-heading h2,
  .split-title h2,
  .about-copy h2,
  .fees-intro h2,
  .voice-heading h2,
  .faq h2 {
    font-size: 32px;
  }

  .intro-text {
    font-size: 13px;
  }

  .news-heading {
    margin-bottom: 16px;
    align-items: flex-start;
  }

  .news-heading > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .news-heading h2 {
    font-size: 21px;
    line-height: 1.55;
  }

  .news-heading > a {
    padding-top: 23px;
    flex: 0 0 auto;
    font-size: 11px;
  }

  .news-list a {
    min-height: 0;
    padding: 14px 2px;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 3px 12px;
  }

  .news-list a:hover,
  .news-list a:focus-visible {
    padding-left: 8px;
  }

  .news-list time,
  .news-list strong {
    grid-column: 1;
  }

  .news-list time {
    font-size: 11px;
  }

  .news-list strong {
    font-size: 13px;
  }

  .news-list a > span {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .service-card {
    min-height: 0;
    padding: 30px 48px 30px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card:hover {
    padding-left: 12px;
  }

  .service-index {
    gap: 13px;
  }

  .service-index span {
    font-size: 25px;
  }

  .service-content h3 {
    font-size: 22px;
  }

  .service-arrow {
    right: 1px;
    width: 34px;
    height: 34px;
  }

  .feature-grid {
    margin-top: 50px;
  }

  .feature-grid article {
    padding: 34px 28px;
  }

  .feature-grid h3 {
    margin-top: 22px;
    font-size: 23px;
  }

  .about-grid {
    gap: 75px;
  }

  .about-frame {
    box-shadow: -16px 16px 0 var(--rose-pale);
  }

  .about-frame::after {
    inset: 24px;
  }

  .about-name-ja {
    left: 34px;
    bottom: 52px;
    font-size: 34px;
  }

  .profile-list div {
    grid-template-columns: 83px 1fr;
    gap: 10px;
  }

  .fee-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .fee-consult {
    padding: 21px 20px;
  }

  .fee-consult strong {
    font-size: 20px;
  }

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

  .flow-list li,
  .flow-list li:first-child {
    min-height: 0;
    padding: 30px 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .flow-list li:nth-child(n + 4) {
    border-top: 0;
  }

  .flow-list li:not(:last-child)::after {
    right: 24px;
    top: auto;
    bottom: -13px;
    content: "↓";
    display: grid;
  }

  .flow-list li:last-child::after {
    content: none;
  }

  .flow-list h3 {
    margin-top: 20px;
  }

  .voice-grid figure {
    min-height: 0;
    padding: 40px 28px 32px;
  }

  .voice-grid blockquote {
    font-size: 16px;
  }

  .faq-list summary {
    grid-template-columns: 27px 1fr 18px;
    font-size: 12px;
  }

  .faq-list details > p {
    padding: 0 18px 24px 41px;
  }

  .contact h2 {
    font-size: 40px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-phone,
  .contact-address {
    min-height: 150px;
    padding: 28px 24px;
  }

  .contact-phone strong {
    font-size: 32px;
  }

  .contact-phone span {
    right: 24px;
    bottom: 22px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-call {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 72px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--forest-deep);
    color: white;
    box-shadow: 0 -8px 24px rgba(9, 42, 34, 0.2);
  }

  .mobile-call span {
    color: var(--rose-pale);
    font-size: 11px;
    font-weight: 700;
  }

  .mobile-call strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  .detail-hero-inner {
    min-height: 430px;
    padding-block: 75px 62px;
  }

  .breadcrumbs {
    top: 24px;
  }

  .detail-hero h1 {
    font-size: 39px;
  }

  .detail-lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .detail-two-column h2,
  .detail-section-heading h2,
  .detail-fee-grid h2,
  .detail-related h2 {
    font-size: 31px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .work-grid article {
    min-height: 0;
    padding: 32px 28px;
  }

  .detail-fee-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .related-grid a {
    min-height: 110px;
  }

  .detail-contact {
    padding-block: 78px;
  }
}

/* v1.1.3: contact form, Yukimasa-kun page and restored map placement */
.desktop-nav {
  gap: clamp(12px, 1.45vw, 24px);
}

.contact-form-link {
  position: relative;
  min-height: 170px;
  padding: 34px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-form-link:hover,
.contact-form-link:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
}

.contact-form-link small {
  color: var(--rose-pale);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-form-link strong {
  margin-top: 10px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.contact-form-link span {
  position: absolute;
  right: 35px;
  bottom: 30px;
  color: var(--rose-pale);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  padding-top: 0;
}

.footer-location {
  padding-block: 96px;
  background: var(--cream);
  color: var(--ink);
}

.footer-location-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 54px;
}

.footer-location-copy {
  padding-block: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-location-copy h2 {
  margin-top: 24px;
  color: var(--forest-deep);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.45;
}

.footer-location-address {
  margin-top: 28px;
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  line-height: 1.8;
}

.footer-location-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-location-phone {
  margin-top: auto;
  padding-top: 36px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-location-map.contact-map {
  min-width: 0;
  margin-top: 0;
  border-color: var(--line);
  box-shadow: 0 22px 56px rgba(13, 58, 45, 0.12);
}

.footer-location-map .office-map {
  height: 430px;
}

.footer-grid {
  padding-top: 74px;
}

.footer-grid > div > p.footer-office-address {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.footer-office-phone {
  width: fit-content;
  margin-top: 5px;
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.footer-grid > div > p.footer-tagline {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(214, 166, 173, 0.3), transparent 34%),
    var(--sage-pale);
}

.contact-page-hero-grid {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.55fr);
  align-items: center;
  gap: 72px;
  padding-block: 90px;
}

.contact-page-copy h1 {
  margin-top: 28px;
  color: var(--forest-deep);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.34;
}

.contact-page-copy > p:not(.section-label) {
  max-width: 640px;
  margin-top: 28px;
  color: #59665f;
  font-size: 17px;
  line-height: 2;
}

.contact-page-phone {
  margin-top: 34px;
  display: inline-flex;
  flex-direction: column;
  color: var(--forest);
}

.contact-page-phone span {
  color: var(--muted);
  font-size: 13px;
}

.contact-page-phone strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 0.05em;
}

.contact-page-mascot {
  position: relative;
  align-self: end;
  text-align: center;
}

.contact-page-mascot::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 40px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(23, 79, 61, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
}

.contact-page-mascot img {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  max-height: 500px;
  object-fit: contain;
  object-position: center bottom;
}

.contact-page-mascot figcaption {
  position: relative;
  z-index: 2;
  margin-top: -10px;
}

.contact-page-mascot figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.contact-form-section {
  padding-block: 112px 128px;
  background: var(--paper);
}

.contact-form-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 88px;
}

.contact-form-heading {
  position: sticky;
  top: 116px;
}

.contact-form-heading h2 {
  margin-top: 22px;
  color: var(--forest-deep);
  font-size: clamp(30px, 3vw, 42px);
}

.contact-form-heading > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.kamahori-contact-form {
  padding: 48px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.form-message {
  grid-column: 2;
  margin-bottom: -54px;
  padding: 22px 26px;
  border-left: 4px solid;
  font-size: 14px;
}

.form-message p {
  margin-top: 4px;
}

.form-message-success {
  background: var(--sage-pale);
  border-color: var(--forest-soft);
}

.form-message-error {
  background: #fff2f0;
  border-color: #b85046;
}

.contact-form-row + .contact-form-row {
  margin-top: 30px;
}

.contact-form-row label {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--forest-deep);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.required-mark {
  display: inline-block;
  margin-left: 0;
  flex: 0 0 auto;
  color: #9b3e4c;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: 0.1em;
}

.contact-form-heading .required-mark {
  margin-right: 3px;
}

.kamahori-contact-form input[type="text"],
.kamahori-contact-form input[type="email"],
.kamahori-contact-form input[type="tel"],
.kamahori-contact-form select,
.kamahori-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid rgba(23, 79, 61, 0.25);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.kamahori-contact-form input:focus,
.kamahori-contact-form select:focus,
.kamahori-contact-form textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 79, 61, 0.1);
  outline: none;
}

.contact-form-row-message small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  line-break: strict;
  word-break: auto-phrase;
}

.contact-form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form-consent {
  margin-top: 34px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.8;
}

.contact-form-consent > span {
  min-width: 0;
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

.contact-form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: var(--forest);
}

.contact-form-submit {
  width: 100%;
  min-height: 66px;
  margin-top: 24px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--forest);
  border: 0;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact-form-submit:hover,
.contact-form-submit:focus-visible {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.contact-form-security {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
  text-align: center;
}

.mascot-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--paper) 0%, var(--rose-pale) 100%);
}

.mascot-hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 84px;
  padding-block: 80px;
}

.mascot-hero-copy h1 {
  margin-top: 24px;
  color: var(--forest-deep);
  font-size: clamp(64px, 9vw, 126px);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.mascot-official {
  max-width: 740px;
  margin-top: 28px;
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.mascot-official strong {
  color: var(--forest);
  font-weight: 700;
}

.mascot-hero-lead {
  margin-top: 34px;
  color: #52625b;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.9;
}

.mascot-hero-copy .button {
  margin-top: 38px;
}

.mascot-hero-figure {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: end center;
}

.mascot-hero-figure img {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  max-height: 580px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 26px rgba(13, 58, 45, 0.12));
}

.mascot-orbit {
  position: absolute;
  border: 1px solid rgba(23, 79, 61, 0.15);
  border-radius: 50%;
}

.mascot-orbit-one {
  inset: 70px -20px 20px;
}

.mascot-orbit-two {
  inset: 130px 40px 80px;
  border-color: rgba(214, 166, 173, 0.4);
}

.mascot-role {
  background: var(--cream);
}

.mascot-role-heading {
  max-width: 780px;
}

.mascot-role-heading h2 {
  margin-top: 26px;
  color: var(--forest-deep);
  font-size: clamp(38px, 5vw, 62px);
}

.mascot-role-heading > p:last-child {
  max-width: 680px;
  margin-top: 28px;
  color: #59665f;
  font-size: 17px;
  line-height: 2;
}

.mascot-role-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mascot-role-grid article {
  position: relative;
  min-height: 430px;
  padding: 38px 34px 190px;
  overflow: hidden;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mascot-role-grid article > span {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.mascot-role-grid h3 {
  margin-top: 18px;
  color: var(--forest-deep);
  font-size: 24px;
}

.mascot-role-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.mascot-role-grid img {
  position: absolute;
  right: -10px;
  bottom: -18px;
  width: 190px;
  max-height: 190px;
  object-fit: contain;
  object-position: right bottom;
}

.mascot-cta {
  overflow: hidden;
  background: var(--forest);
  color: white;
}

.mascot-cta-inner {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.36fr);
  align-items: center;
  gap: 40px;
  padding-block: 70px;
}

.mascot-cta h2 {
  margin-top: 24px;
  font-size: clamp(30px, 3.1vw, 38px);
  white-space: nowrap;
}

.mascot-cta .button-light {
  margin-top: 34px;
  background: var(--paper);
  color: var(--forest-deep);
}

.mascot-cta img {
  width: min(100%, 340px);
  align-self: center;
  justify-self: end;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 12px;
  }

  .desktop-nav a {
    font-size: 10px;
  }

  .footer-location-grid {
    gap: 36px;
  }

  .contact-page-hero-grid,
  .mascot-hero-grid {
    gap: 44px;
  }

  .contact-form-link {
    padding-inline: 24px;
  }

  .contact-form-link strong {
    font-size: clamp(22px, 2.35vw, 26px);
  }
}

@media (max-width: 760px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .association-news {
    display: none;
  }

  .footer-location-grid,
  .contact-page-hero-grid,
  .contact-form-shell,
  .mascot-hero-grid,
  .mascot-cta-inner {
    grid-template-columns: 1fr;
  }

  .mascot-cta h2 {
    white-space: normal;
    text-wrap: balance;
  }

  .footer-location-copy {
    padding-block: 0;
  }

  .footer-location-phone {
    margin-top: 28px;
    padding-top: 0;
  }

  .footer-location-map .office-map {
    height: 380px;
  }

  .contact-page-hero-grid {
    padding-block: 76px 0;
  }

  .contact-page-mascot {
    justify-self: center;
  }

  .contact-page-mascot img {
    max-height: 390px;
  }

  .contact-form-shell {
    gap: 42px;
  }

  .contact-form-heading {
    position: static;
  }

  .form-message {
    grid-column: 1;
    margin-bottom: -10px;
  }

  .mascot-hero-grid {
    padding-block: 80px 0;
  }

  .mascot-hero-copy {
    position: relative;
    z-index: 3;
  }

  .mascot-hero-figure {
    min-height: 480px;
  }

  .mascot-role-grid {
    grid-template-columns: 1fr;
  }

  .mascot-role-grid article {
    min-height: 330px;
    padding-bottom: 130px;
  }

  .mascot-role-grid img {
    width: 165px;
    max-height: 165px;
  }

  .mascot-cta-inner {
    padding-bottom: 0;
  }

  .mascot-cta img {
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .contact-form-link {
    min-height: 150px;
    padding: 28px 24px;
  }

  .contact-form-link strong {
    font-size: clamp(22px, 7vw, 28px);
  }

  .contact-form-link span {
    right: 24px;
    bottom: 22px;
  }

  .footer-location {
    padding-block: 72px;
  }

  .footer-location-address {
    font-size: 18px;
  }

  .footer-location-map .office-map {
    height: 310px;
  }

  .footer-grid {
    padding-top: 62px;
  }

  .contact-page-hero-grid {
    min-height: auto;
  }

  .contact-page-copy h1 {
    font-size: 40px;
  }

  .contact-page-copy > p:not(.section-label) {
    font-size: 16px;
  }

  .contact-page-mascot::before {
    width: 290px;
    height: 290px;
  }

  .contact-form-section {
    padding-block: 78px 92px;
  }

  .kamahori-contact-form {
    padding: 28px 20px;
  }

  .contact-form-consent {
    padding: 15px;
  }

  .mascot-hero-copy h1 {
    font-size: 64px;
  }

  .mascot-hero-figure {
    min-height: 420px;
  }

  .mascot-hero-figure img {
    max-height: 430px;
  }

  .mascot-role-heading > p:last-child {
    font-size: 16px;
  }

  .mascot-role-grid article {
    padding: 30px 26px 130px;
  }

  .mascot-cta-inner {
    min-height: 620px;
  }
}

.motion-enabled .hero-panel-mascot img,
.motion-enabled .contact-page-mascot img,
.motion-enabled .mascot-hero-figure img {
  animation: gyosei-kun-float 5.2s ease-in-out infinite;
}

@keyframes gyosei-kun-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel-mascot img,
  .contact-page-mascot img,
  .mascot-hero-figure img {
    animation: none !important;
  }
}

.motion-enabled .reveal-item {
  --reveal-x: 0px;
  --reveal-y: 28px;
  opacity: 0;
  filter: blur(4px);
  translate: var(--reveal-x) var(--reveal-y);
}

.motion-enabled .reveal-item.is-visible {
  animation: reveal-up 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes reveal-up {
  to {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }
}

.motion-enabled .hero h1 em::after {
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-underline 880ms 540ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-enabled .hero-orbit-one {
  animation: hero-orbit-one 18s ease-in-out infinite alternate;
}

.motion-enabled .hero-orbit-two {
  animation: hero-orbit-two 14s ease-in-out infinite alternate;
}

.motion-enabled .hero-panel::before {
  animation: organic-outline 16s ease-in-out infinite alternate;
}

.motion-enabled .hero-panel.is-visible .focus-stack span {
  animation: focus-line-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-enabled .hero-panel.is-visible .focus-stack span:nth-child(1) { animation-delay: 360ms; }
.motion-enabled .hero-panel.is-visible .focus-stack span:nth-child(2) { animation-delay: 440ms; }
.motion-enabled .hero-panel.is-visible .focus-stack span:nth-child(3) { animation-delay: 520ms; }
.motion-enabled .hero-panel.is-visible .focus-stack span:nth-child(4) { animation-delay: 600ms; }

.motion-enabled .services::before {
  animation: services-watermark 18s ease-in-out infinite alternate;
}

.motion-enabled .flower-one {
  animation: flower-one-float 7s ease-in-out infinite alternate;
}

.motion-enabled .flower-two {
  animation: flower-two-float 8.5s ease-in-out infinite alternate;
}

.motion-enabled .flow-list li:not(:last-child)::after {
  animation: flow-arrow 2.8s ease-in-out infinite;
}

.motion-enabled .flow-list li:nth-child(2)::after {
  animation-delay: 350ms;
}

.motion-enabled .flow-list li:nth-child(3)::after {
  animation-delay: 700ms;
}

.motion-enabled .flow-list li:nth-child(4)::after {
  animation-delay: 1050ms;
}

.motion-enabled .faq-list details[open] > p {
  animation: faq-answer-in 360ms ease-out both;
}

.motion-enabled .mobile-menu[open] nav {
  animation: mobile-menu-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-enabled .section-label.reveal-item.is-visible::before {
  animation: label-line-in 620ms calc(var(--reveal-delay, 0ms) + 180ms) cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: left center;
}

@keyframes hero-underline {
  to { transform: scaleX(1); }
}

@keyframes hero-orbit-one {
  from { transform: rotate(22deg) scale(1); border-radius: 47% 53% 45% 55%; }
  to { transform: rotate(58deg) scale(1.06); border-radius: 58% 42% 55% 45%; }
}

@keyframes hero-orbit-two {
  from { transform: rotate(-28deg) scale(1); border-radius: 47% 53% 45% 55%; }
  to { transform: rotate(18deg) scale(1.1); border-radius: 38% 62% 58% 42%; }
}

@keyframes organic-outline {
  from { transform: rotate(28deg) scale(1); border-radius: 47% 53% 62% 38%; }
  to { transform: rotate(54deg) scale(1.08); border-radius: 60% 40% 45% 55%; }
}

@keyframes focus-line-in {
  from { opacity: 0; translate: 18px 0; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes services-watermark {
  from { translate: -12px 0; }
  to { translate: 32px 0; }
}

@keyframes flower-one-float {
  from { transform: rotate(34deg) translate3d(0, 0, 0); }
  to { transform: rotate(42deg) translate3d(7px, -11px, 0); }
}

@keyframes flower-two-float {
  from { transform: rotate(69deg) scale(0.72) translate3d(0, 0, 0); }
  to { transform: rotate(60deg) scale(0.78) translate3d(-8px, 10px, 0); }
}

@keyframes flow-arrow {
  0%, 70%, 100% { transform: translateX(0); box-shadow: 0 0 0 0 rgba(214, 166, 173, 0); }
  82% { transform: translateX(4px); box-shadow: 0 0 0 7px rgba(214, 166, 173, 0.08); }
}

@keyframes faq-answer-in {
  from { opacity: 0; translate: 0 -8px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes label-line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .service-card:focus-visible {
    background: rgba(214, 166, 173, 0.12);
  }

  .service-card:hover .service-arrow,
  .service-card:focus-visible .service-arrow {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--forest-deep);
    transform: translateY(-50%) scale(1.08);
  }

  .button:hover span,
  .button:focus-visible span,
  .news-heading > a:hover span,
  .news-heading > a:focus-visible span,
  .map-open-button:hover span:last-child,
  .map-open-button:focus-visible span:last-child {
    animation: arrow-nudge 680ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .feature-grid article:hover {
    background: var(--paper);
    box-shadow: 0 18px 42px rgba(13, 58, 45, 0.1);
    transform: translateY(-6px);
  }

  .flow-list li:hover,
  .work-grid article:hover {
    background: rgba(214, 166, 173, 0.1);
  }

  .voice-grid figure:hover {
    border-color: var(--rose);
    box-shadow: 0 18px 42px rgba(13, 58, 45, 0.1);
    transform: translateY(-6px);
  }

  .faq-list summary:hover,
  .faq-list summary:focus-visible {
    background: var(--sage-pale);
    color: var(--forest);
  }

  .detail-fee-row:hover {
    padding-inline: 14px;
    background: var(--sage-pale);
  }

  .document-list li:hover {
    padding-left: 46px;
    background: rgba(255, 253, 248, 0.78);
  }

  .related-grid a:hover,
  .related-grid a:focus-visible {
    background: rgba(214, 166, 173, 0.16);
  }

  .contact-phone:hover,
  .contact-phone:focus-visible {
    background: var(--rose-pale);
  }
}

@keyframes arrow-nudge {
  0%, 100% { translate: 0 0; }
  45% { translate: 5px -5px; }
  46% { opacity: 0; translate: -4px 4px; }
  60% { opacity: 1; translate: 0 0; }
}

:where(a, summary):focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-enabled .reveal-item,
  .motion-enabled .reveal-item.is-visible {
    opacity: 1;
    filter: none;
    translate: none;
    animation: none;
  }

  .motion-enabled .hero h1 em::after,
  .motion-enabled .hero-orbit-one,
  .motion-enabled .hero-orbit-two,
  .motion-enabled .hero-panel::before,
  .motion-enabled .hero-panel.is-visible .focus-stack span,
  .motion-enabled .services::before,
  .motion-enabled .flower-one,
  .motion-enabled .flower-two,
  .motion-enabled .flow-list li:not(:last-child)::after,
  .motion-enabled .faq-list details[open] > p,
  .motion-enabled .mobile-menu[open] nav,
  .motion-enabled .section-label.reveal-item.is-visible::before {
    animation: none;
  }
}

/* WordPress integration */
body.admin-bar .site-header {
  top: 32px;
}

.detail-page-content,
.detail-page-content > section {
  margin: 0;
}

.content-page {
  min-height: 60vh;
  background: var(--paper);
}

.content-narrow {
  max-width: 840px;
}

.content-page h1 {
  margin-top: 28px;
  color: var(--forest-deep);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.5;
}

.entry-content,
.content-page > .shell > p,
.post-list {
  margin-top: 36px;
  color: #59665f;
}

.entry-content > * + *,
.post-list article + article {
  margin-top: 24px;
}

.post-list article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.post-list h2 {
  margin-top: 6px;
  color: var(--forest);
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 24px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Readability update: larger body copy, labels, navigation and detail text. */
body {
  font-size: 18px;
  line-height: 1.9;
}

.topline { font-size: 13px; }
.wordmark-ja { font-size: 25px; }
.desktop-nav a,
.header-contact { font-size: 14px; }
.eyebrow,
.hero-panel-kicker,
.section-label { font-size: 14px; }
.hero-lead { font-size: 19px; line-height: 2; }
.button { font-size: 16px; }
.phone-link small,
.trust-list li { font-size: 14px; }
.hero-panel-text { font-size: 17px; line-height: 2; }
.focus-stack span { padding-block: 13px; font-size: 15px; line-height: 1.7; }
.section-label span { font-size: 13px; }
.intro-text,
.detail-prose p { font-size: 18px; line-height: 2.05; }
.section-heading > p:last-child,
.service-content > p:last-child,
.feature-grid p,
.flow-list p,
.work-grid p,
.faq-list details > p { font-size: 16px; line-height: 1.95; }
.service-tag { font-size: 14px; }
.feature-grid article { min-height: 380px; }
.about-copy > p:not(.section-label):not(.emblem-note),
.fees-intro > p:not(.section-label),
.detail-fee-copy,
.contact-inner > p:not(.section-label) { font-size: 17px; line-height: 2; }
.profile-list div { padding-block: 16px; font-size: 15px; }
.emblem-note,
.fees-intro .fee-small,
.fee-notice { font-size: 14px !important; }
.fee-row span,
.detail-fee-row span,
.document-list li { font-size: 16px; }
.fee-row strong,
.detail-fee-row strong { font-size: 20px; }
.fee-consult span { font-size: 15px; }
.flow-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow-list li { min-height: 330px; padding-inline: 22px; }
.flow-list h3 { font-size: 21px; }
.voice-grid figcaption strong { font-size: 15px; }
.voice-grid figcaption span { font-size: 14px; }
.faq-list summary { min-height: 92px; font-size: 16px; line-height: 1.7; }
.contact-phone small,
.contact-address > span,
.contact-address small { font-size: 14px; }
.contact-address p { font-size: 20px; }
.footer-grid > div > p,
.footer-grid nav a { font-size: 14px; line-height: 1.8; }
.footer-bottom { font-size: 12px; }
.breadcrumbs { font-size: 13px; }
.detail-audience { font-size: 15px; }
.detail-lead { font-size: 20px; line-height: 1.9; }
.detail-fee-row small,
.document-note { font-size: 14px; line-height: 1.8; }
.related-grid strong { font-size: 18px; }
.entry-content,
.content-page > .shell > p,
.post-list { font-size: 18px; line-height: 2; }

@media (max-width: 1100px) {
  .wordmark-ja { font-size: 21px; }
  .desktop-nav a { font-size: 13px; }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .mobile-menu nav a { padding-block: 14px; font-size: 16px; }
  .feature-grid article { min-height: auto; }
}

@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.9; }
  .wordmark-ja { font-size: 18px; letter-spacing: 0.02em; }
  .eyebrow { font-size: 12px; }
  .hero-lead { font-size: 17px; line-height: 1.95; }
  .button { font-size: 16px; }
  .phone-link small,
  .trust-list li { font-size: 13px; }
  .hero-panel-kicker,
  .section-label { font-size: 13px; }
  .hero-panel-text { font-size: 16px; }
  .focus-stack span { font-size: 15px; }
  .intro-text,
  .about-copy > p:not(.section-label):not(.emblem-note),
  .detail-prose p,
  .contact-inner > p:not(.section-label) { font-size: 17px; line-height: 2; }
  .service-tag { font-size: 13px; }
  .section-heading > p:last-child,
  .service-content > p:last-child,
  .feature-grid p,
  .flow-list p,
  .work-grid p,
  .faq-list details > p { font-size: 16px; }
  .profile-list div { grid-template-columns: 92px 1fr; font-size: 15px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li { min-height: 0; }
  .flow-list h3 { font-size: 21px; }
  .voice-grid blockquote { font-size: 18px; }
  .faq-list summary { min-height: 92px; font-size: 16px; }
  .faq-list details > p { padding-left: 41px; }
  .mobile-call span { font-size: 14px; }
  .breadcrumbs { font-size: 13px; }
  .detail-audience { font-size: 15px; }
  .detail-lead { font-size: 18px; }
  .office-map { height: 300px; }
  .contact-map .map-open-button { right: 12px; bottom: 12px; }
}

/* Keep the expanded desktop menu compact after the readability overrides. */
@media (min-width: 901px) and (max-width: 1100px) {
  .desktop-nav a { font-size: 10px; }
}

.back-to-top {
  position: fixed;
  z-index: 39;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: white;
  box-shadow: 0 12px 30px rgba(9, 42, 34, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.back-to-top.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--forest-deep);
}

.back-to-top span {
  color: var(--rose-pale);
  font-size: 21px;
  line-height: 1;
}

.back-to-top small {
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .back-to-top {
    right: 14px;
    bottom: 86px;
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top { transition: none; }
  .hero-carousel-slide,
  .hero-carousel-image { transition: none; }
  .hero-carousel-slide.is-active .hero-carousel-image { transform: scale(1.025); }
}

/* Keep every displayed phone number level and easy to scan. */
.phone-link strong,
.contact-phone strong,
.footer-location-phone,
.footer-office-phone,
.contact-page-phone strong,
.mobile-call strong {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-synthesis: none;
  letter-spacing: 0.025em;
}

/* Keep short Japanese headings together instead of splitting a phrase mid-word. */
.faq h2,
.hero h1,
.statement,
.section-heading h2,
.split-title h2,
.feature-grid h3,
.about-copy h2,
.voice-heading h2,
.contact h2,
.contact-page-copy h1,
.detail-hero h1,
.detail-two-column h2,
.detail-section-heading h2,
.detail-fees h2,
#mascot-role-title,
.content-page h1,
#contact-form-title {
  word-break: keep-all;
  overflow-wrap: normal;
}

.faq-grid {
  grid-template-columns: 0.75fr 1fr;
}

.faq h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.detail-two-column,
.detail-fee-grid {
  grid-template-columns: 0.9fr 1fr;
}

.detail-intro h2,
.detail-fees h2 {
  font-size: clamp(31px, 3vw, 42px);
}

.about-copy h2 {
  font-size: clamp(34px, 3.2vw, 43px);
}

.contact-page-copy h1 {
  font-size: clamp(42px, 4.6vw, 64px);
}

#contact-form-title {
  font-size: clamp(27px, 2.6vw, 38px);
}

/* A consistent receiver mark for every public phone number. */
.phone-link strong,
.contact-phone strong,
.footer-location-phone,
.footer-office-phone,
.contact-page-phone strong,
.mobile-call strong {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.phone-link strong::before,
.contact-phone strong::before,
.footer-location-phone::before,
.footer-office-phone::before,
.contact-page-phone strong::before,
.mobile-call strong::before {
  content: "";
  width: 0.76em;
  height: 0.76em;
  flex: 0 0 auto;
  margin-right: 0.32em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.69 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.85.56 2.81.69A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.69 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.85.56 2.81.69A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 980px) {
  .faq-grid,
  .detail-two-column,
  .detail-fee-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .statement {
    font-size: min(32px, 7vw);
  }

  .split-title h2 {
    font-size: min(32px, 7.4vw);
  }

  .about-copy h2 {
    font-size: min(32px, 7vw);
  }

  .voice-heading h2 {
    font-size: min(32px, 8vw);
  }

  .faq h2 {
    font-size: min(32px, 7.6vw);
  }

  .contact h2 {
    font-size: min(40px, 9vw);
  }

  .contact-page-copy h1 {
    font-size: min(40px, 7.8vw);
  }

  .detail-hero h1 {
    font-size: min(39px, 8.2vw);
  }

  .detail-two-column h2,
  .detail-section-heading h2,
  .detail-fees h2 {
    font-size: min(31px, 7.4vw);
  }

  .content-page h1 {
    font-size: min(38px, 7.5vw);
  }

  #contact-form-title {
    font-size: min(30px, 7.5vw);
  }
}
