:root {
  --yamabuki: #f8b500;
  --yamabuki-dark: #e6a100;
  --yamabuki-soft: #fffcf2;
  --text: #1a1a1a;
  --subtext: #666666;
  --border: #e5e5e5;
  --white: #ffffff;
  --gray: #f7f7f5;
  --shadow: 0 18px 48px rgba(26, 26, 26, 0.08);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 22px;
  align-items: center;
  min-height: 112px;
  padding: 12px 48px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 229, 229, 0.85);
  backdrop-filter: blur(16px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled {
  min-height: 96px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 340px;
  height: 84px;
  object-fit: contain;
  object-position: left center;
}

.header-panel {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--yamabuki);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--yamabuki-dark);
}

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

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  min-width: 392px;
}

.member-card {
  display: grid;
  gap: 4px;
  min-width: 202px;
  padding: 10px 14px;
  color: var(--text);
  background: var(--yamabuki-soft);
  border: 1px solid var(--yamabuki);
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(248, 181, 0, 0.16);
}

.member-card span {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.member-card strong,
.member-card em {
  display: block;
  padding: 3px 8px;
  color: #fff;
  background: var(--yamabuki);
  border-radius: 4px;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.member-card em {
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(248, 181, 0, 0.38);
}

.header-tel {
  display: grid;
  justify-items: center;
  color: var(--subtext);
  text-align: center;
  line-height: 1.35;
  min-width: 156px;
}

.header-tel a {
  color: var(--text);
  border-bottom: 2px solid var(--yamabuki);
  font-family: "Inter", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
}

.header-tel span {
  font-size: 0.76rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  background: var(--yamabuki);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.main-offset {
  padding-top: 112px;
}

.section {
  padding: 110px 0;
}

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

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

.section__head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.label {
  margin: 0 0 14px;
  color: var(--yamabuki-dark);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.section__head h2,
.cta-band h2,
.form-card h2,
.message-content h2,
.story-content h2 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.section__head {
  margin-bottom: 56px;
}

.section__head--center {
  text-align: center;
}

.section__head--center .label {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.section__head--center .label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 1px;
  background: var(--yamabuki);
  transform: translateX(-50%);
}

.section__head:not(.section__head--center) > .label {
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}

.section__head:not(.section__head--center) > .label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 1px;
  background: var(--yamabuki);
}

.section__head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.section__lead {
  margin-top: 22px;
  max-width: 760px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: var(--subtext);
}

h1,
h2,
h3 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
  word-break: keep-all;
}

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

.section__head h2,
.page-hero h1,
.cta-band h2,
.form-card h2,
.message-content h2,
.story-content h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.section__lead,
.lead {
  color: var(--subtext);
  font-size: 1.08rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.button::after {
  content: ">";
  font-family: "Inter", sans-serif;
  transform: translateX(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yamabuki-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.83, 0, 0.17, 1);
  z-index: -1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(248, 181, 0, 0.22);
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(6px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: scaleX(1);
}

.button--primary {
  color: #fff;
  background: var(--yamabuki);
}

.button--secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--text);
}

.button--secondary::before {
  background: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: #fff;
  border-color: var(--text);
}

.hero {
  position: relative;
  min-height: min(82vh, 740px);
  overflow: hidden;
  background: #f5f2eb;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, calc(var(--scroll-y, 0px) * -0.08), 0);
  will-change: transform;
}

.hero__zoom {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 3.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  will-change: transform;
}

body.is-ready .hero__image {
  transform: scale(1);
  animation: hero-breath 26s ease-in-out 5s infinite alternate;
}

@keyframes hero-breath {
  0% { transform: scale(1); }
  100% { transform: scale(1.05) translateX(-1%); }
}

.hero__curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ec 100%);
  z-index: 3;
  will-change: transform;
  transition: transform 2.2s cubic-bezier(0.83, 0, 0.17, 1) 0.35s;
}

.hero__curtain--top {
  top: 0;
}

.hero__curtain--bottom {
  bottom: 0;
  background: linear-gradient(0deg, #ffffff 0%, #fbf7ec 100%);
}

body.is-ready .hero__curtain--top {
  transform: translateY(-100%);
}

body.is-ready .hero__curtain--bottom {
  transform: translateY(100%);
}

.hero__horizon {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 4%,
    rgba(248, 181, 0, 0.55) 30%,
    var(--yamabuki) 50%,
    rgba(248, 181, 0, 0.55) 70%,
    transparent 96%);
  z-index: 4;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(248, 181, 0, 0.35);
}

body.is-ready .hero__horizon {
  animation: hero-horizon-line 3s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes hero-horizon-line {
  0% { opacity: 0; transform: translateY(-50%) scaleX(0); }
  20% { opacity: 1; transform: translateY(-50%) scaleX(1); }
  68% { opacity: 1; transform: translateY(-50%) scaleX(1); }
  100% { opacity: 0; transform: translateY(-50%) scaleX(1.05); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.22) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease 1.4s;
}

body.is-ready .hero::after {
  opacity: 1;
}

.hero__accent {
  position: absolute;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 1.2s ease 2.6s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 2.6s;
}

.hero__accent--top {
  top: 28px;
  left: clamp(28px, 4vw, 80px);
  width: clamp(80px, 12vw, 160px);
  height: 1px;
  background: linear-gradient(90deg, var(--yamabuki) 0%, rgba(248, 181, 0, 0) 100%);
  transform: translateX(-20px);
}

.hero__accent--side {
  bottom: 32px;
  left: clamp(28px, 4vw, 80px);
  width: 1px;
  height: clamp(60px, 10vh, 110px);
  background: linear-gradient(180deg, rgba(248, 181, 0, 0) 0%, var(--yamabuki) 100%);
  transform: translateY(20px);
}

body.is-ready .hero__accent {
  opacity: 1;
  transform: translate(0, 0);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: min(80vh, 720px);
  align-items: center;
  justify-items: end;
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}

.vertical-title {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  margin: 0 clamp(8px, 2vw, 28px) 0 0;
  color: #fff;
  font-size: clamp(2.7rem, 4.45vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.vertical-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 48vh, 520px);
  padding: 28px 16px;
  background: linear-gradient(180deg, rgba(248, 181, 0, 0.94), rgba(230, 161, 0, 0.9));
  box-shadow: 0 20px 46px rgba(26, 26, 26, 0.14);
  text-orientation: upright;
  writing-mode: vertical-rl;
}

.vertical-title span:nth-child(2) {
  min-height: clamp(300px, 38vh, 430px);
  margin-top: clamp(58px, 8vh, 96px);
}

.quick-lead {
  position: relative;
  display: grid;
  width: min(1040px, calc(100% - 96px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 64px auto 0;
}

.quick-lead::after {
  position: absolute;
  right: 12%;
  bottom: -18px;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 181, 0, 0.42), transparent);
  content: "";
}

.card,
.quick-lead article,
.service-card,
.reason-card,
.link-card,
.overview-card,
.flow-card,
.info-card,
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.04);
}

.quick-lead article,
.reason-card,
.overview-card,
.flow-card,
.info-card {
  padding: 28px;
}

.quick-lead article {
  position: relative;
  z-index: 1;
  min-height: 228px;
  overflow: hidden;
  padding: 34px 92px 34px 34px;
  border-top: 3px solid var(--yamabuki);
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.08);
}

.quick-lead article::before {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background:
    linear-gradient(90deg, transparent 42%, var(--yamabuki-dark) 42% 58%, transparent 58%),
    linear-gradient(transparent 42%, var(--yamabuki-dark) 42% 58%, transparent 58%),
    var(--yamabuki-soft);
  border: 1px solid rgba(248, 181, 0, 0.25);
  border-radius: 50%;
  content: "";
}

.quick-lead span,
.card-number {
  color: var(--yamabuki-dark);
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.quick-lead span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.quick-lead h2,
.reason-card h3,
.overview-card h3,
.flow-card h3,
.info-card h3 {
  margin: 8px 0 12px;
  font-size: 1.25rem;
}

.quick-lead p,
.reason-card p,
.overview-card p,
.flow-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--subtext);
}

.news {
  background: var(--gray);
  padding: 110px 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.news-list {
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  transition: background-color 0.4s ease;
}

.news-item:hover {
  background-color: rgba(248, 181, 0, 0.04);
}

.news-item time {
  color: var(--subtext);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
}

.news-item p {
  margin: 0;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  line-height: 1.85;
}

.news-item--empty {
  grid-template-columns: 1fr;
  padding: 48px 0;
}

.news-item--empty p {
  color: var(--subtext);
  letter-spacing: 0.08em;
  text-align: center;
}

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

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

#reason {
  background: linear-gradient(135deg, #fff, var(--yamabuki-soft));
}

#reason.reason-section {
  position: relative;
  padding: 140px 0 120px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(248, 181, 0, 0.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fbf7ec 100%);
  overflow: hidden;
}

#reason.reason-section::before {
  content: "REASON";
  position: absolute;
  top: 80px;
  right: -20px;
  font-family: "Inter", sans-serif;
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 800;
  color: rgba(248, 181, 0, 0.05);
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

#reason .section__head {
  position: relative;
  z-index: 1;
  margin-bottom: 70px;
}

#reason .section__head .label {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 22px;
  letter-spacing: 0.42em;
}

#reason .section__head .label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38px;
  height: 1px;
  background: var(--yamabuki);
  transform: translateX(-50%);
}

#reason .section__head h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.reason-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 60px 56px 52px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(248, 181, 0, 0.4) inset,
    0 28px 60px rgba(26, 26, 26, 0.06);
  z-index: 1;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 56px;
  background: var(--yamabuki);
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reason-card:hover::before {
  height: 100%;
}

.reason-card:nth-child(1)::after,
.reason-card:nth-child(2)::after {
  content: counter(reason-counter, decimal-leading-zero);
  position: absolute;
  top: 32px;
  right: 40px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--yamabuki-dark);
}

.reason-grid {
  counter-reset: reason-counter;
}

.reason-card {
  counter-increment: reason-counter;
}

.reason-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--yamabuki-dark);
  background: transparent;
  border: 1px solid rgba(248, 181, 0, 0.45);
  border-radius: 50%;
  box-shadow: none;
  transition: background-color 0.6s ease, border-color 0.6s ease;
}

.reason-card:hover .reason-icon {
  background: var(--yamabuki-soft);
  border-color: var(--yamabuki);
}

.reason-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reason-icon--network svg {
  width: 40px;
  height: 40px;
}

.reason-card .card-number {
  display: none;
}

.reason-card h3 {
  margin-top: 0;
  margin-bottom: 22px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.reason-card h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 18px;
  background: var(--yamabuki);
}

.reason-card p {
  margin-bottom: 0;
  line-height: 2.05;
  color: var(--subtext);
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.overview-intro {
  position: relative;
  max-width: none;
  margin-inline: auto;
  margin-bottom: 70px;
  padding: 0;
  background: none;
  border: none;
  border-left: none;
  border-radius: 0;
  box-shadow: none;
}

.overview-intro .label {
  position: relative;
  padding-left: 52px;
  margin-bottom: 24px;
}

.overview-intro .label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 1px;
  background: var(--yamabuki);
}

.overview-intro .label::after {
  display: none;
}

.overview-intro h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  letter-spacing: 0.08em;
  line-height: 1.55;
  white-space: normal;
  margin-bottom: 26px;
}

.overview-intro .section__lead {
  max-width: 880px;
  margin: 0;
  font-size: 1rem;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: var(--subtext);
}

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

.overview-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 2px;
  box-shadow: 0 28px 60px rgba(26, 26, 26, 0.06);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s ease;
}

.overview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 84px rgba(248, 181, 0, 0.14);
}

.overview-card--media {
  padding: 0;
}

.overview-card__image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.overview-card:hover .overview-card__image {
  transform: scale(1.06);
}

.overview-card__body {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 48px 44px 40px;
}

.overview-card__body .card-number {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--yamabuki-dark);
  margin-bottom: 14px;
}

.overview-card__body h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.overview-card__body h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 16px;
  background: var(--yamabuki);
}

.overview-card__body p {
  margin: 0;
  color: var(--subtext);
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  line-height: 2;
}

.overview-card__body .text-link {
  margin-top: auto;
  padding-top: 28px;
}

.page-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-banner,
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 64px 72px;
  background:
    linear-gradient(135deg, #fff 0%, var(--yamabuki-soft) 100%);
  border: 1px solid rgba(248, 181, 0, 0.35);
  border-radius: 2px;
  box-shadow: 0 30px 70px rgba(26, 26, 26, 0.05);
  overflow: hidden;
}

.member-banner::before,
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--yamabuki);
}

.member-banner .label,
.cta-band .label {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 18px;
  letter-spacing: 0.45em;
  font-size: 0.74rem;
}

.member-banner .label::after,
.cta-band .label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--yamabuki);
}

.member-banner h2,
.cta-band h2 {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.member-banner p,
.cta-band p {
  margin-bottom: 0;
  color: var(--subtext);
  line-height: 2;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
}

.section--soft {
  padding: 100px 0;
}

.link-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.link-card__image {
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(248, 181, 0, 0.32), rgba(255, 255, 255, 0.1)),
    var(--gray);
  background-size: cover;
  background-position: center;
}

.link-card__image--service {
  background-image: linear-gradient(135deg, rgba(248, 181, 0, 0.22), rgba(255, 255, 255, 0.08)), url("assets/card-service.jpg");
}

.link-card__image--company {
  background-image: linear-gradient(135deg, rgba(248, 181, 0, 0.22), rgba(255, 255, 255, 0.08)), url("assets/card-company.jpg");
}

.link-card__image--access {
  background-image: linear-gradient(135deg, rgba(248, 181, 0, 0.22), rgba(255, 255, 255, 0.08)), url("assets/card-access.jpg");
}

.link-card__image--contact {
  background-image: linear-gradient(135deg, rgba(248, 181, 0, 0.22), rgba(255, 255, 255, 0.08)), url("assets/card-contact.jpg");
}

.link-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.link-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.link-card p {
  margin-bottom: 18px;
  color: var(--subtext);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.4s ease, gap 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--yamabuki-dark);
  gap: 20px;
}

.text-link:hover::after {
  width: 44px;
}

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  padding: 120px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 252, 242, 0.92) 0%, rgba(255, 252, 242, 0.78) 100%),
    var(--gray);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, transparent, var(--yamabuki));
  opacity: 0.7;
  transform: translateX(-50%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(248, 181, 0, 0.45) 50%, transparent 90%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero--service {
  background-image: linear-gradient(135deg, rgba(255, 252, 242, 0.9) 0%, rgba(255, 252, 242, 0.7) 100%), url("assets/page-hero/service.jpg");
}

.page-hero--property {
  background-image: linear-gradient(135deg, rgba(255, 252, 242, 0.9) 0%, rgba(255, 252, 242, 0.7) 100%), url("assets/page-hero/property.jpg");
}

.page-hero--company {
  background-image: linear-gradient(135deg, rgba(255, 252, 242, 0.9) 0%, rgba(255, 252, 242, 0.7) 100%), url("assets/page-hero/company.jpg");
}

.page-hero--access {
  background-image: linear-gradient(135deg, rgba(255, 252, 242, 0.9) 0%, rgba(255, 252, 242, 0.7) 100%), url("assets/page-hero/access.jpg");
}

.page-hero--contact {
  background-image: linear-gradient(135deg, rgba(255, 252, 242, 0.9) 0%, rgba(255, 252, 242, 0.7) 100%), url("assets/page-hero/contact.jpg");
}

.breadcrumb {
  margin-bottom: 32px;
  color: var(--subtext);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.breadcrumb a {
  color: var(--subtext);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--yamabuki-dark);
}

.page-hero .label {
  position: relative;
  display: inline-block;
  padding-left: 52px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.5em;
  color: var(--yamabuki-dark);
}

.page-hero .label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 1px;
  background: var(--yamabuki);
}

.page-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.1em;
  line-height: 1.25;
  margin-bottom: 0;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 26px;
  background: var(--text);
  opacity: 0.4;
}

.service-card {
  padding: 30px;
}

.service-card h3 {
  margin: 10px 0 12px;
  font-size: 1.28rem;
}

.service-card p {
  color: var(--subtext);
}

.brokerage-diagram-image {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: 0 40px 90px rgba(26, 26, 26, 0.08);
  padding: 60px 64px;
}

.brokerage-diagram-image::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-top: 1px solid var(--yamabuki);
  border-left: 1px solid var(--yamabuki);
}

.brokerage-diagram-image::after {
  content: "";
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-bottom: 1px solid var(--yamabuki);
  border-right: 1px solid var(--yamabuki);
}

.brokerage-diagram-image img {
  width: 100%;
  height: auto;
}

.brokerage-diagram {
  overflow: hidden;
  padding: 50px 42px;
  background:
    radial-gradient(circle at 50% 45%, rgba(248, 181, 0, 0.12), transparent 42%),
    linear-gradient(135deg, #fffdf6, #fff);
  border: 1px solid rgba(248, 181, 0, 0.22);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.brokerage-diagram__head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.brokerage-diagram__head h3 {
  margin-bottom: 12px;
  color: #1f2f4f;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.brokerage-diagram__head p {
  margin-bottom: 0;
  color: var(--subtext);
}

.brokerage-diagram__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(260px, 1fr) minmax(170px, 0.75fr);
  grid-template-areas:
    "seller center buyer"
    ". contract .";
  gap: 22px 38px;
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
}

.diagram-person,
.diagram-center,
.diagram-contract {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(248, 181, 0, 0.35);
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.08);
}

.diagram-person {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 18px;
  text-align: center;
}

.diagram-person--seller {
  grid-area: seller;
  border-color: rgba(0, 128, 96, 0.25);
  background: linear-gradient(180deg, rgba(235, 255, 249, 0.76), rgba(255, 255, 255, 0.94));
}

.diagram-person--buyer {
  grid-area: buyer;
  border-color: rgba(39, 93, 171, 0.22);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.78), rgba(255, 255, 255, 0.94));
}

.diagram-person__icon {
  position: relative;
  width: 86px;
  height: 86px;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: var(--yamabuki-dark);
}

.diagram-person__icon::before,
.diagram-person__icon::after {
  position: absolute;
  content: "";
}

.diagram-person__icon::before {
  top: 18px;
  left: 22px;
  width: 36px;
  height: 24px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

.diagram-person__icon::after {
  right: 18px;
  bottom: -28px;
  left: 18px;
  height: 44px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
}

.diagram-person--seller .diagram-person__icon {
  color: #0b8f70;
}

.diagram-person--buyer .diagram-person__icon {
  color: #255fab;
}

.diagram-person h4 {
  margin: 12px 0 4px;
  font-size: 1.8rem;
}

.diagram-person p {
  width: min(100%, 210px);
  margin: 0;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.06);
  font-weight: 700;
}

.diagram-center {
  grid-area: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  min-height: 292px;
  padding: 30px;
  border-color: var(--yamabuki);
  text-align: center;
}

.diagram-center img {
  width: min(300px, 100%);
  max-height: 88px;
  object-fit: contain;
}

.diagram-center p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(248, 181, 0, 0.42);
  font-weight: 700;
}

.diagram-building {
  position: relative;
  width: 82px;
  height: 92px;
  background: linear-gradient(90deg, #b98a18 0 24%, #f2c14c 24% 100%);
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.24);
}

.diagram-building::before {
  position: absolute;
  inset: 16px 18px 16px 34px;
  background:
    linear-gradient(#fff 0 0) 0 0 / 12px 12px,
    linear-gradient(#fff 0 0) 22px 0 / 12px 12px,
    linear-gradient(#fff 0 0) 0 22px / 12px 12px,
    linear-gradient(#fff 0 0) 22px 22px / 12px 12px,
    linear-gradient(#fff 0 0) 0 44px / 12px 12px,
    linear-gradient(#fff 0 0) 22px 44px / 12px 12px;
  background-repeat: no-repeat;
  content: "";
}

.diagram-arrow {
  align-self: center;
  color: var(--yamabuki-dark);
  font-weight: 700;
  text-align: center;
}

.diagram-arrow--seller {
  grid-column: 1 / 3;
  grid-row: 1;
  justify-self: center;
  margin-left: 154px;
  transform: translateY(-74px);
}

.diagram-arrow--buyer {
  grid-column: 2 / 4;
  grid-row: 1;
  justify-self: center;
  margin-right: 154px;
  transform: translateY(-74px);
}

.diagram-contract {
  grid-area: contract;
  justify-self: center;
  min-width: min(360px, 100%);
  padding: 18px 30px;
  border-color: var(--yamabuki-dark);
  text-align: center;
}

.diagram-contract strong,
.diagram-contract span {
  display: block;
}

.diagram-contract strong {
  color: var(--yamabuki-dark);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.9rem;
}

.diagram-contract span {
  color: var(--subtext);
  font-weight: 700;
}

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

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

.flow-card {
  position: relative;
  padding: 56px 36px 44px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 2px;
  box-shadow: 0 24px 56px rgba(26, 26, 26, 0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.flow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  width: 28px;
  height: 1px;
  background: var(--yamabuki);
}

.flow-card__badge {
  display: inline-block;
  width: auto;
  height: auto;
  margin-bottom: 18px;
  padding: 0;
  color: var(--yamabuki-dark);
  background: transparent;
  border-radius: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.flow-card h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.badge-copy {
  display: inline-flex;
  margin-top: 28px;
  padding: 8px 14px;
  color: var(--text);
  background: var(--yamabuki-soft);
  border: 1px solid var(--yamabuki);
  border-radius: 999px;
  font-weight: 700;
}

.hm-title {
  position: relative;
  margin: 64px 0 28px;
  padding-left: 28px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

.hm-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--yamabuki);
}

.hm-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

.hm-logo {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 14px 10px;
  background: #fff;
  border: 1px solid rgba(248, 181, 0, 0.5);
  border-radius: 0;
  text-align: center;
  transition: background-color 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}

.hm-logo:hover {
  background: var(--yamabuki-soft);
  border-color: var(--yamabuki);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(248, 181, 0, 0.18);
}

.hm-logo__text {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--text);
}

.note {
  color: var(--subtext);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  margin-top: 24px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 16px;
  color: var(--text);
  background: var(--yamabuki-soft);
  border: 1px solid var(--yamabuki);
  border-radius: 999px;
  font-weight: 500;
}

.property-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.property-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 60px 48px 48px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 2px;
  box-shadow: 0 28px 60px rgba(26, 26, 26, 0.06);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s ease, border-color 0.5s ease;
}

.property-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(248, 181, 0, 0.14);
  border-color: rgba(248, 181, 0, 0.5);
}

.property-feature-card::before {
  position: absolute;
  top: 0;
  left: 48px;
  width: 32px;
  height: 1px;
  background: var(--yamabuki);
  content: "";
}

.property-feature-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--yamabuki-dark);
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.property-feature-card h3 {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.property-feature-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 16px;
  background: var(--yamabuki);
}

.property-feature-card p {
  margin: 0;
  color: var(--subtext);
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  line-height: 2;
}

.form-card {
  position: relative;
  padding: 64px 64px 56px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 2px;
  box-shadow: 0 32px 70px rgba(26, 26, 26, 0.06);
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--yamabuki);
}

.form-card + .form-card {
  margin-top: 48px;
}

.form-card h2 {
  margin-bottom: 14px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.form-card__lead {
  margin-bottom: 36px;
  color: var(--subtext);
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  line-height: 2;
}

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

.form-grid .is-full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  padding: 16px 18px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 2px;
  line-height: 1.5;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(26, 26, 26, 0.35);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--yamabuki);
  box-shadow: 0 0 0 4px rgba(248, 181, 0, 0.12);
  background: #fffdf6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 36px;
}

.form-actions .button {
  min-width: 220px;
}

.form-message {
  min-height: 1.8em;
  margin: 0;
  color: var(--yamabuki-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.message-section {
  background: linear-gradient(135deg, var(--yamabuki-soft), #fff);
}

.message-card {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding: 48px 58px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(248, 181, 0, 0.2);
  border-left: 6px solid var(--yamabuki);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.message-card::after {
  position: absolute;
  right: 34px;
  bottom: 28px;
  color: rgba(248, 181, 0, 0.12);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 7rem;
  line-height: 1;
  content: "山吹";
  writing-mode: vertical-rl;
}

.message-card .label,
.story-content .label {
  margin-bottom: 6px;
}

.message-card h2,
.story-content h2 {
  margin-bottom: 32px;
}

.message-card p,
.story-content p {
  max-width: 780px;
  line-height: 2.05;
  text-wrap: pretty;
}

.prose {
  color: var(--text);
  font-size: 1rem;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.prose p {
  margin-bottom: 1.5em;
}

.signature {
  margin-top: 32px;
  text-align: right;
  font-weight: 700;
}

.story-content {
  max-width: 900px;
  margin-inline: auto;
  padding: 0 24px;
}

.story-logo {
  width: min(520px, 88vw);
  max-height: 130px;
  margin: 0 auto 32px;
  object-fit: contain;
}

.company-list {
  overflow: hidden;
  background: transparent;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.company-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 70px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  transition: background-color 0.4s ease;
}

.company-list div:hover {
  background-color: rgba(248, 181, 0, 0.04);
}

.company-list div:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.company-list dt,
.company-list dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 22px 28px;
}

.company-list dt {
  background: transparent;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yamabuki-dark);
  position: relative;
}

.company-list dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--yamabuki);
}

.company-list dt {
  padding-left: 50px;
}

.company-list dd {
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  line-height: 1.85;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: 0 36px 80px rgba(26, 26, 26, 0.12);
}

.map-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--yamabuki);
  border-left: 2px solid var(--yamabuki);
  z-index: 2;
  pointer-events: none;
}

.map-frame::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--yamabuki);
  border-right: 2px solid var(--yamabuki);
  z-index: 2;
  pointer-events: none;
}

.office-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: #fff;
}

.office-section::before {
  content: "OFFICE";
  position: absolute;
  top: 60px;
  left: -20px;
  font-family: "Inter", sans-serif;
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 800;
  color: rgba(248, 181, 0, 0.05);
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.office-section::after {
  display: none;
}

.office-section .section__head {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-bottom: 56px;
}

.office-section .label {
  position: relative;
  padding-left: 52px;
  letter-spacing: 0.5em;
}

.office-section .label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 1px;
  background: var(--yamabuki);
}

.office-grid {
  position: relative;
  z-index: 1;
  gap: 32px;
}

.office-grid .info-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 32px;
  align-items: center;
  min-height: 220px;
  padding: 48px 52px;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.office-grid .info-card h3 {
  position: relative;
  margin-top: 0;
  margin-bottom: 22px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.office-grid .info-card h3::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--yamabuki);
  content: "";
}

.office-grid .info-card p {
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  line-height: 2;
  color: var(--subtext);
}

.office-icon {
  position: relative;
  display: inline-grid;
  width: 80px;
  height: 80px;
  place-items: center;
  color: var(--yamabuki-dark);
  background: transparent;
  border: 1px solid rgba(248, 181, 0, 0.5);
  border-radius: 50%;
  box-shadow: none;
}

.office-icon::before {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.office-icon--pin::before {
  content: "〒";
}

.office-icon--train::before {
  width: 38px;
  height: 42px;
  background:
    linear-gradient(currentColor 0 0) 10px 11px / 6px 6px,
    linear-gradient(currentColor 0 0) 23px 11px / 6px 6px,
    linear-gradient(currentColor 0 0) 10px 25px / 19px 4px,
    radial-gradient(circle at 11px 37px, currentColor 0 5px, transparent 5.5px),
    radial-gradient(circle at 27px 37px, currentColor 0 5px, transparent 5.5px);
  background-repeat: no-repeat;
  border: 4px solid currentColor;
  border-radius: 12px;
  content: "";
}

.hours-box,
.tel-box {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 64px 48px;
  background: #fff;
  border: 1px solid rgba(248, 181, 0, 0.3);
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(26, 26, 26, 0.06);
  overflow: hidden;
}

.hours-box::before,
.tel-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 60px;
  height: 3px;
  background: var(--yamabuki);
  transform: translateX(-50%);
}

.hours-box .label,
.tel-box .label {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 8px;
}

.hours-box .label::after,
.tel-box .label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--yamabuki);
  transform: translateX(-50%);
}

.hours-box h2,
.tel-box h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hours-box p,
.tel-box > p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--subtext);
  line-height: 2;
}

.tel-box a {
  color: var(--text);
  border-bottom: 1px solid var(--yamabuki);
  padding-bottom: 6px;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.tel-box a:hover {
  color: var(--yamabuki-dark);
  border-color: var(--yamabuki-dark);
}

.site-footer {
  padding: 56px 0 34px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.footer-logo {
  width: min(460px, 86vw);
  max-height: 118px;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--yamabuki-dark);
}

.privacy-note {
  max-width: 680px;
  margin: 6px auto 0;
  color: var(--subtext);
  font-size: 0.84rem;
  line-height: 1.9;
  text-align: center;
  text-wrap: balance;
}

.copyright {
  margin: 0;
  color: var(--subtext);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
}

.footer-legal {
  margin: 8px 0 0;
  font-size: 0.72rem;
  text-align: center;
  color: var(--subtext);
  opacity: 0.85;
}

.footer-legal a {
  color: var(--subtext);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--yamabuki-dark);
  border-bottom-color: var(--yamabuki-dark);
}

.privacy-content {
  max-width: 820px;
  margin-inline: auto;
}

.privacy-content h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--yamabuki);
  font-size: 1.1rem;
}

.privacy-content ul {
  padding-left: 1.4em;
  margin: 8px 0 16px;
}

.privacy-content ul li {
  margin: 4px 0;
  color: var(--subtext);
}

.privacy-content .company-list {
  margin-top: 16px;
}

.privacy-date {
  margin-top: 36px;
  text-align: right;
  color: var(--subtext);
  font-size: 0.9rem;
}

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

.mobile-br {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.fade-in.fade-in--left {
  transform: translateX(-40px);
}
.fade-in.fade-in--left.is-visible {
  transform: translateX(0);
}
.fade-in.fade-in--right {
  transform: translateX(40px);
}
.fade-in.fade-in--right.is-visible {
  transform: translateX(0);
}

.reason-card,
.link-card,
.member-banner {
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s ease;
  will-change: transform;
}

.reason-card:hover,
.link-card:hover,
.member-banner:hover {
  transform: translateY(-12px);
  box-shadow:
    0 36px 72px rgba(248, 181, 0, 0.18),
    0 20px 40px rgba(26, 26, 26, 0.08);
  border-color: rgba(248, 181, 0, 0.5);
}

.fade-in.is-visible.reason-card:hover,
.fade-in.is-visible.link-card:hover,
.fade-in.is-visible.member-banner:hover {
  transform: translateY(-12px);
}

.link-card {
  position: relative;
}

.link-card__image {
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.link-card:hover .link-card__image {
  transform: scale(1.08);
}

.link-card .text-link,
.reason-card .text-link {
  transition: gap 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.link-card:hover .text-link,
.reason-card:hover .text-link {
  gap: 14px;
  color: var(--yamabuki-dark);
}

.reason-card::after,
.link-card::after,
.member-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(248, 181, 0, 0.18) 0%,
    rgba(248, 181, 0, 0) 50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.reason-card:hover::after,
.link-card:hover::after,
.member-banner:hover::after {
  opacity: 1;
}

.reason-card > *,
.link-card > *,
.member-banner > * {
  position: relative;
  z-index: 1;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: 280px 1fr;
    gap: 16px;
    padding-inline: 28px;
  }

  .brand img {
    width: 270px;
    height: 74px;
  }

  .header-panel {
    gap: 14px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  .header-actions {
    min-width: 342px;
  }

  .member-card {
    padding: 8px 10px;
  }

  .member-card span {
    font-size: 0.76rem;
  }

  .member-card strong,
  .member-card em {
    font-size: 0.66rem;
  }

  .header-tel a {
    font-size: 0.98rem;
  }

  .header-tel span {
    font-size: 0.66rem;
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 88px;
    padding: 12px 24px;
  }

  .brand img {
    width: 284px;
    height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-panel {
    position: fixed;
    top: 88px;
    right: 24px;
    left: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .header-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav {
    display: grid;
    gap: 6px;
    justify-content: stretch;
  }

  .site-nav a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .header-actions {
    min-width: 0;
    justify-content: flex-start;
  }

  .main-offset {
    padding-top: 88px;
  }

  .quick-lead,
  .reason-grid,
  .service-grid,
  .overview-grid,
  .flow-grid,
  .page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-intro h2 {
    white-space: normal;
  }

  .brokerage-diagram__body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "seller"
      "center"
      "buyer"
      "contract";
  }

  .diagram-arrow {
    display: none;
  }

  .news-layout,
  .member-banner,
  .cta-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .container,
  .quick-lead,
  .hero__inner {
    width: calc(100% - 48px);
  }

  .site-header {
    min-height: 78px;
    padding-inline: 18px;
  }

  .brand img {
    width: 230px;
    height: 58px;
  }

  .header-panel {
    top: 78px;
    right: 18px;
    left: 18px;
  }

  .main-offset {
    padding-top: 78px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: min(70vh, 560px);
  }

  .hero__inner {
    min-height: min(70vh, 560px);
  }

  .vertical-title {
    gap: 14px;
    font-size: 3rem;
    margin: 0 clamp(4px, 1.5vw, 12px) 0 0;
  }

  .vertical-title span,
  .vertical-title span:nth-child(2) {
    min-height: 0;
    padding: 22px 13px;
  }

  .vertical-title span:nth-child(2) {
    margin-top: 32px;
  }

  /* スマホ用 br：通常は非表示、モバイル時のみ改行を有効化 */
  .mobile-br {
    display: inline;
  }

  /* ヒーロー画像：建物が右に寄りすぎないよう左寄せに */
  .hero__image {
    background-position: 28% center;
  }

  .hero,
  .hero__inner {
    min-height: min(76vh, 600px);
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .member-card,
  .header-tel {
    width: 100%;
  }

  .page-hero {
    min-height: 220px;
  }

  .page-hero h1,
  .section__head h2,
  .cta-band h2,
  .form-card h2,
  .message-content h2,
  .story-content h2 {
    font-size: 1.65rem;
  }

  .quick-lead,
  .reason-grid,
  .service-grid,
  .overview-grid,
  .flow-grid,
  .page-card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .member-banner,
  .cta-band,
  .form-card,
  .quick-lead article,
  .reason-card,
  .overview-card,
  .flow-card,
  .info-card,
  .brokerage-diagram,
  .property-feature-card,
  .message-card {
    padding: 24px;
  }

  .diagram-person,
  .diagram-center {
    min-height: 0;
    padding: 24px;
  }

  .diagram-center img {
    width: min(230px, 100%);
  }

  .overview-card--media {
    padding: 0;
  }

  .overview-card__image {
    height: 220px;
  }

  .overview-card__body {
    padding: 24px;
  }

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

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

  .message-card::after {
    display: none;
  }

  .story-logo {
    width: min(400px, 88vw);
    margin-bottom: 28px;
  }

  .office-grid .info-card {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .office-icon {
    width: 62px;
    height: 62px;
  }

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

  .company-list dt {
    padding-bottom: 8px;
  }

  .company-list dd {
    padding-top: 8px;
  }

  .button,
  .form-actions .button {
    width: 100%;
  }

  .tel-box a {
    font-size: 1.55rem;
  }

  /* === スマホ追加調整：高級デザイン要素のスケーリング === */

  .section {
    padding: 70px 0;
  }

  .section--soft {
    padding: 70px 0;
  }

  .news {
    padding: 70px 0;
  }

  /* ページヒーロー */
  .page-hero {
    min-height: 240px;
    padding: 90px 0 50px;
    align-items: end;
  }

  .page-hero::before {
    height: 48px;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7vw, 2rem);
    letter-spacing: 0.06em;
  }

  .page-hero h1::after {
    margin-top: 18px;
    width: 32px;
  }

  .page-hero .label {
    padding-left: 36px;
    margin-bottom: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.36em;
  }

  .page-hero .label::before {
    width: 24px;
  }

  .breadcrumb {
    margin-bottom: 20px;
    font-size: 0.72rem;
  }

  /* セクション見出し */
  .section__head {
    margin-bottom: 36px;
  }

  .section__head h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
    letter-spacing: 0.04em;
    line-height: 1.55;
  }

  .section__head--center .label {
    padding-bottom: 10px;
    margin-bottom: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.36em;
  }

  .section__head:not(.section__head--center) > .label {
    padding-left: 36px;
    margin-bottom: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.36em;
  }

  .section__head:not(.section__head--center) > .label::before {
    width: 24px;
  }

  .section__lead {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.95;
  }

  /* 強み（Reason） */
  #reason.reason-section {
    padding: 80px 0 70px;
  }

  #reason.reason-section::before {
    font-size: clamp(72px, 22vw, 120px);
    top: 50px;
    right: -8px;
  }

  #reason .section__head {
    margin-bottom: 40px;
  }

  .reason-grid {
    gap: 20px;
  }

  .reason-card {
    padding: 40px 28px 36px;
    min-height: 0;
  }

  .reason-card:nth-child(1)::after,
  .reason-card:nth-child(2)::after {
    top: 24px;
    right: 24px;
    font-size: 0.72rem;
  }

  .reason-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
  }

  .reason-icon svg {
    width: 28px;
    height: 28px;
  }

  .reason-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .reason-card h3::after {
    width: 26px;
    margin-top: 14px;
  }

  .reason-card p {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  /* Member banner / CTA band */
  .member-banner,
  .cta-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 26px 36px;
  }

  .member-banner::before,
  .cta-band::before {
    width: 44px;
    height: 2px;
  }

  .member-banner .label,
  .cta-band .label {
    margin-bottom: 12px;
    padding-bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.36em;
  }

  .member-banner h2,
  .cta-band h2 {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    line-height: 1.55;
  }

  .member-banner p,
  .cta-band p {
    font-size: 0.9rem;
    line-height: 1.95;
  }

  /* 物件特徴カード */
  .property-feature-grid {
    margin-top: 32px;
    gap: 20px;
  }

  .property-feature-card {
    padding: 40px 28px 32px;
    min-height: 0;
  }

  .property-feature-card::before {
    left: 28px;
    width: 26px;
  }

  .property-feature-card span {
    font-size: 0.92rem;
    margin-bottom: 14px;
    letter-spacing: 0.2em;
  }

  .property-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .property-feature-card h3::after {
    width: 26px;
    margin-top: 12px;
  }

  .property-feature-card p {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  /* Overview グリッド */
  .overview-intro {
    margin-bottom: 32px;
  }

  .overview-intro .label {
    padding-left: 36px;
    margin-bottom: 16px;
    font-size: 0.7rem;
    letter-spacing: 0.36em;
  }

  .overview-intro .label::before {
    width: 24px;
  }

  .overview-intro h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.6rem);
    letter-spacing: 0.04em;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .overview-intro .section__lead {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  .overview-grid {
    gap: 24px;
  }

  .overview-card__image {
    height: 210px;
  }

  .overview-card__body {
    padding: 32px 26px 28px;
    min-height: 0;
  }

  .overview-card__body .card-number {
    font-size: 0.78rem;
    letter-spacing: 0.26em;
    margin-bottom: 10px;
  }

  .overview-card__body h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .overview-card__body h3::after {
    width: 24px;
    margin-top: 12px;
  }

  .overview-card__body p {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  .overview-card__body .text-link {
    padding-top: 22px;
  }

  /* フロー（事業内容のステップ） */
  .flow-grid--three {
    grid-template-columns: 1fr;
  }

  .flow-card {
    padding: 40px 28px 32px;
  }

  .flow-card::before {
    left: 28px;
    width: 24px;
  }

  .flow-card__badge {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .flow-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  /* 関係図 */
  .brokerage-diagram-image {
    padding: 36px 22px;
  }

  .brokerage-diagram-image::before,
  .brokerage-diagram-image::after {
    width: 28px;
    height: 28px;
  }

  /* ハウスメーカー一覧 */
  .hm-title {
    margin: 40px 0 20px;
    padding-left: 22px;
    font-size: 1.1rem;
  }

  .hm-title::before {
    width: 14px;
  }

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

  .hm-logo {
    min-height: 56px;
    padding: 10px 6px;
  }

  .hm-logo__text {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  /* アクセスページ（オフィス） */
  .office-section {
    padding: 80px 0 70px;
  }

  .office-section::before {
    font-size: clamp(72px, 22vw, 120px);
    top: 50px;
    left: -8px;
  }

  .office-section .section__head {
    margin-bottom: 40px;
  }

  .office-section .label {
    padding-left: 36px;
    font-size: 0.7rem;
    letter-spacing: 0.36em;
  }

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

  .office-grid {
    gap: 18px;
  }

  .office-grid .info-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 28px 32px;
    min-height: 0;
    text-align: left;
  }

  .office-grid .info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }

  .office-grid .info-card h3::after {
    width: 24px;
    bottom: -8px;
  }

  .office-grid .info-card p {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .office-icon {
    width: 62px;
    height: 62px;
  }

  /* Map frame */
  .map-frame::before,
  .map-frame::after {
    width: 36px;
    height: 36px;
  }

  /* 営業時間・電話ボックス */
  .hours-box,
  .tel-box {
    padding: 44px 26px 38px;
  }

  .hours-box::before,
  .tel-box::before {
    width: 48px;
  }

  .hours-box h2,
  .tel-box h2 {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
  }

  .hours-box p,
  .tel-box > p {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  .tel-box a {
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    padding-bottom: 5px;
    margin-top: 6px;
  }

  /* フォーム */
  .form-card {
    padding: 44px 26px 36px;
  }

  .form-card::before {
    width: 50px;
  }

  .form-card h2 {
    font-size: 1.2rem;
    padding-bottom: 14px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
  }

  .form-card__lead {
    font-size: 0.9rem;
    line-height: 1.95;
    margin-bottom: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  input,
  textarea,
  select {
    padding: 14px 14px;
    font-size: 0.95rem;
  }

  .form-actions {
    gap: 16px;
    margin-top: 28px;
  }

  .form-actions .button {
    min-width: 0;
    width: 100%;
  }

  /* お知らせ（News） */
  .news-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .news-item time {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .news-item p {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .news-item--empty {
    padding: 32px 0;
  }

  /* 会社概要リスト */
  .company-list {
    border-top: 1px solid rgba(26, 26, 26, 0.12);
  }

  .company-list div {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 0;
  }

  .company-list dt {
    padding: 0 0 6px 32px;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .company-list dt::before {
    width: 12px;
  }

  .company-list dd {
    padding: 0 0 0 0;
    font-size: 0.92rem;
    line-height: 1.85;
  }

  /* メッセージカード（代表挨拶等） */
  .message-content,
  .story-content {
    padding: 0 4px;
  }

  .message-content h2,
  .story-content h2 {
    font-size: 1.3rem;
    letter-spacing: 0.04em;
  }

  .story-logo {
    width: min(280px, 70vw);
    margin-bottom: 22px;
  }

  /* プライバシーポリシー */
  .privacy-content h3 {
    font-size: 1rem;
    margin-top: 30px;
    padding-left: 10px;
  }

  .privacy-content ul {
    padding-left: 1.2em;
  }

  .privacy-content p,
  .privacy-content li {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  /* ヒーロー（横アクセント・スクロールキュー） */
  .hero__accent--top {
    top: 22px;
    left: 22px;
    width: clamp(60px, 22vw, 100px);
  }

  .hero__accent--side {
    display: none;
  }

  .hero__scroll-cue {
    bottom: 26px;
    height: 48px;
  }

  /* ボタン */
  .button {
    padding: 14px 26px;
    font-size: 0.95rem;
  }

  /* フッター */
  .site-footer {
    padding: 50px 0 32px;
  }

  .footer-logo {
    width: min(320px, 78vw);
    max-height: 88px;
  }

  .footer-nav {
    gap: 10px 16px;
    font-size: 0.84rem;
  }

  .privacy-note {
    font-size: 0.76rem;
    line-height: 1.85;
    padding: 0 4px;
  }

  .copyright {
    font-size: 0.76rem;
  }

  .footer-legal {
    font-size: 0.68rem;
  }

  /* テキストリンク */
  .text-link {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    gap: 10px;
  }

  .text-link::after {
    width: 26px;
  }

  /* HM ハウスメーカー一覧 */
  .hm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vertical-title {
    gap: 12px;
    font-size: 2.65rem;
  }

  .vertical-title span,
  .vertical-title span:nth-child(2) {
    padding: 18px 11px;
  }

  .vertical-title span:nth-child(2) {
    margin-top: 24px;
  }

  .container,
  .quick-lead,
  .hero__inner {
    width: calc(100% - 36px);
  }
}

/* 日本語見出しの折返しをスマホで自然に許可（keep-all を解除） */
@media (max-width: 767px) {
  h1, h2, h3 {
    word-break: normal;
    word-break: auto-phrase;
    overflow-wrap: break-word;
    line-break: strict;
    text-wrap: balance;
    hanging-punctuation: allow-end;
  }

  /* 段落・リード文は pretty で末尾孤立行を避ける */
  p,
  .section__lead,
  .lead,
  .prose p,
  .form-card__lead,
  .member-banner p,
  .cta-band p,
  .reason-card p,
  .property-feature-card p,
  .overview-card__body p,
  .office-grid .info-card p,
  .flow-card p,
  .hours-box p,
  .tel-box > p {
    line-break: strict;
    text-wrap: pretty;
    word-break: normal;
    word-break: auto-phrase;
  }

  /* 行頭に「、。」が来ないよう（行末禁則）。auto-phrase 非対応ブラウザ用の保険 */
  .vertical-title span,
  .section__head h2,
  .page-hero h1,
  .member-banner h2,
  .cta-band h2,
  .overview-intro h2,
  .form-card h2 {
    line-break: strict;
  }

  /* Members / CTA バナー：見出しの追加圧縮 */
  .member-banner h2,
  .cta-band h2 {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    line-height: 1.6;
  }

  .member-banner .label,
  .cta-band .label {
    letter-spacing: 0.3em;
  }

  /* オーバービュー（事業内容ページの大見出し）の折返し改善 */
  .overview-intro h2 {
    font-size: clamp(1.2rem, 5.2vw, 1.5rem);
    letter-spacing: 0.02em;
    line-height: 1.7;
    word-break: normal;
    word-break: auto-phrase;
  }

  /* ページヒーロー見出しの圧縮 */
  .page-hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 1.9rem);
    letter-spacing: 0.04em;
  }

  /* セクション見出しも折返しを許容 */
  .section__head h2,
  .form-card h2,
  .message-content h2,
  .story-content h2,
  .hours-box h2,
  .tel-box h2,
  .property-feature-card h3,
  .reason-card h3,
  .overview-card__body h3,
  .office-grid .info-card h3,
  .flow-card h3 {
    word-break: normal;
    word-break: auto-phrase;
    overflow-wrap: break-word;
  }

  /* ページヒーロー：左右にゆとり */
  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero .container {
    padding-left: 4px;
  }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: visible;
  pointer-events: auto;
  background:
    radial-gradient(ellipse at center, rgba(255, 252, 242, 1) 0%, rgba(255, 255, 255, 1) 70%);
}

.loader.is-hidden {
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 2s;
}

.loader__curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 252, 242, 1) 100%);
  transition: transform 1.8s cubic-bezier(0.83, 0, 0.17, 1) 0.3s,
              opacity 1.3s ease 0.5s;
  will-change: transform, opacity;
}

.loader__curtain--top {
  top: 0;
}
.loader__curtain--bottom {
  bottom: 0;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 252, 242, 1) 100%);
}

.loader__curtain--top::after,
.loader__curtain--bottom::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yamabuki) 50%, transparent);
  opacity: 0;
  animation: loader-line 1.6s ease-out 0.9s forwards;
}
.loader__curtain--top::after { bottom: 0; }
.loader__curtain--bottom::before { top: 0; }

.loader.is-hidden .loader__curtain--top {
  transform: translateY(-100%);
  opacity: 0;
}
.loader.is-hidden .loader__curtain--bottom {
  transform: translateY(100%);
  opacity: 0;
}

.loader.is-hidden .loader__rays,
.loader.is-hidden .loader__ring,
.loader.is-hidden .loader__glow,
.loader.is-hidden .loader__burst,
.loader.is-hidden .loader__sparkle {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader.is-hidden .loader__brand {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader.is-hidden .loader__bar {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.loader__logo {
  --logo-dx: 0px;
  --logo-dy: 0px;
  --logo-scale: 1;
}

.loader.is-morphing .loader__logo {
  animation: none;
  opacity: 1;
  transform: translate(var(--logo-dx), var(--logo-dy)) scale(var(--logo-scale));
  transition: transform 1.6s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.6s ease 1.2s;
}

.loader.is-hidden .loader__logo {
  opacity: 0;
}

.brand img {
  opacity: 0;
  transition: opacity 0.6s ease 1.1s;
}

body.is-ready .brand img {
  opacity: 1;
}

.main-offset,
.site-footer {
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

body.is-ready .main-offset,
body.is-ready .site-footer {
  opacity: 1;
}

.vertical-title span {
  display: block;
  opacity: 0;
  transform: translateY(70px);
  letter-spacing: 0.5em;
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 2s cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-ready .vertical-title span {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: 0;
}

body.is-ready .vertical-title span:nth-child(1) {
  transition-delay: 2s;
}

body.is-ready .vertical-title span:nth-child(2) {
  transition-delay: 2.35s;
}

.hero__inner {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

body.is-ready .hero__inner {
  opacity: 1;
}

.loader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: loader-fade-in 0.6s ease both;
}

.loader__stage {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform-origin: center;
}

.loader__ring--outer {
  width: 360px;
  height: 360px;
  border: 1px solid rgba(248, 181, 0, 0.22);
  border-top-color: var(--yamabuki);
  border-right-color: var(--yamabuki);
  animation:
    loader-ring-spin 4s linear infinite,
    loader-ring-in 0.7s ease 0.2s forwards;
}

.loader__ring--mid {
  width: 290px;
  height: 290px;
  border: 1px dashed rgba(248, 181, 0, 0.4);
  animation:
    loader-ring-spin 9s linear infinite reverse,
    loader-ring-in 0.7s ease 0.4s forwards;
}

.loader__ring--inner {
  width: 240px;
  height: 240px;
  border: 2px solid transparent;
  border-top-color: var(--yamabuki-dark);
  border-bottom-color: var(--yamabuki-dark);
  animation:
    loader-ring-spin 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite,
    loader-ring-in 0.7s ease 0.5s forwards;
}

.loader__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(248, 181, 0, 0.55) 0%,
    rgba(248, 181, 0, 0.25) 25%,
    rgba(248, 181, 0, 0.05) 55%,
    rgba(248, 181, 0, 0) 75%);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  filter: blur(6px);
  animation: loader-glow 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.loader__sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yamabuki);
  box-shadow: 0 0 12px var(--yamabuki), 0 0 24px rgba(248, 181, 0, 0.6);
  opacity: 0;
  pointer-events: none;
}

.loader__sparkle--1 {
  top: 12%; left: 16%;
  width: 8px; height: 8px;
  animation: loader-sparkle 2.2s ease-in-out 0.6s infinite;
}
.loader__sparkle--2 {
  top: 16%; right: 14%;
  width: 5px; height: 5px;
  animation: loader-sparkle 2.2s ease-in-out 1.0s infinite;
}
.loader__sparkle--3 {
  bottom: 18%; left: 10%;
  width: 6px; height: 6px;
  animation: loader-sparkle 2.2s ease-in-out 1.4s infinite;
}
.loader__sparkle--4 {
  bottom: 12%; right: 16%;
  width: 7px; height: 7px;
  animation: loader-sparkle 2.2s ease-in-out 0.8s infinite;
}
.loader__sparkle--5 {
  top: 50%; left: 4%;
  width: 5px; height: 5px;
  animation: loader-sparkle 2.2s ease-in-out 1.2s infinite;
}
.loader__sparkle--6 {
  top: 50%; right: 4%;
  width: 4px; height: 4px;
  animation: loader-sparkle 2.2s ease-in-out 1.6s infinite;
}
.loader__sparkle--7 {
  top: 8%; left: 50%;
  width: 4px; height: 4px;
  animation: loader-sparkle 2.2s ease-in-out 1.8s infinite;
}
.loader__sparkle--8 {
  bottom: 6%; left: 50%;
  width: 5px; height: 5px;
  animation: loader-sparkle 2.2s ease-in-out 0.4s infinite;
}

.loader__rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%) rotate(0deg);
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from 0deg,
    rgba(248, 181, 0, 0) 0deg,
    rgba(248, 181, 0, 0.28) 8deg,
    rgba(248, 181, 0, 0) 25deg,
    rgba(248, 181, 0, 0) 38deg,
    rgba(248, 181, 0, 0.22) 46deg,
    rgba(248, 181, 0, 0) 63deg,
    rgba(248, 181, 0, 0) 80deg,
    rgba(248, 181, 0, 0.28) 90deg,
    rgba(248, 181, 0, 0) 110deg,
    rgba(248, 181, 0, 0) 130deg,
    rgba(248, 181, 0, 0.22) 138deg,
    rgba(248, 181, 0, 0) 158deg,
    rgba(248, 181, 0, 0) 175deg,
    rgba(248, 181, 0, 0.28) 185deg,
    rgba(248, 181, 0, 0) 205deg,
    rgba(248, 181, 0, 0) 225deg,
    rgba(248, 181, 0, 0.22) 233deg,
    rgba(248, 181, 0, 0) 253deg,
    rgba(248, 181, 0, 0) 270deg,
    rgba(248, 181, 0, 0.28) 280deg,
    rgba(248, 181, 0, 0) 300deg,
    rgba(248, 181, 0, 0) 320deg,
    rgba(248, 181, 0, 0.22) 328deg,
    rgba(248, 181, 0, 0) 348deg,
    rgba(248, 181, 0, 0) 360deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 18%, black 30%, black 75%, transparent 100%);
  mask-image: radial-gradient(circle, transparent 18%, black 30%, black 75%, transparent 100%);
  filter: blur(1px);
  animation:
    loader-rays-spin 16s linear infinite,
    loader-rays-in 1.2s ease 0.3s forwards;
  z-index: 0;
}

.loader__burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(248, 181, 0, 0.6) 40%, rgba(248, 181, 0, 0) 100%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 1;
  animation: loader-burst 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.loader__flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(248, 181, 0, 0.85) 0%, rgba(248, 181, 0, 0) 70%);
  pointer-events: none;
  opacity: 0;
  z-index: 5;
}

.loader__flash {
  display: none;
}

.loader__logo {
  position: relative;
  z-index: 2;
  width: 280px;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 14px 36px rgba(248, 181, 0, 0.4))
          drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  animation: loader-logo-in 1.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.loader__brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.loader__brand span {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.7em;
  padding-left: 0.7em;
  color: var(--text);
  opacity: 0;
  animation: loader-text-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
  background: linear-gradient(90deg, var(--text) 0%, var(--yamabuki-dark) 50%, var(--text) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    loader-text-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both,
    loader-text-shine 3s ease-in-out 1.5s infinite;
}

.loader__brand em {
  display: inline-block;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.48em;
  padding-left: 0.48em;
  color: var(--yamabuki-dark);
  opacity: 0;
  animation: loader-text-in 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.loader__bar {
  position: relative;
  width: 280px;
  height: 3px;
  background: rgba(248, 181, 0, 0.18);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
  opacity: 0;
  animation: loader-fade-in 0.6s ease 0.6s forwards;
  box-shadow: 0 0 12px rgba(248, 181, 0, 0.15);
}

.loader__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--yamabuki) 0%, var(--yamabuki-dark) 50%, var(--yamabuki) 100%);
  border-radius: 3px;
  animation: loader-bar-fill 2.5s cubic-bezier(0.65, 0, 0.35, 1) 0.7s forwards;
  box-shadow: 0 0 12px var(--yamabuki);
}

.loader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: loader-bar-shine 1.4s ease-in-out 0.7s infinite;
}

@keyframes loader-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes loader-ring-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes loader-ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes loader-logo-in {
  0% { opacity: 0; transform: translateY(24px) scale(0.3) rotate(-6deg); }
  40% { opacity: 1; }
  70% { transform: translateY(0) scale(1.1) rotate(2deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes loader-text-in {
  0% { opacity: 0; letter-spacing: 1.2em; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes loader-text-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes loader-bar-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes loader-bar-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes loader-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.5); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes loader-line {
  0% { opacity: 0; transform: scaleX(0); }
  50% { opacity: 1; }
  100% { opacity: 0.5; transform: scaleX(1); }
}

@keyframes loader-sparkle {
  0%, 100% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.5); }
}

@keyframes loader-rays-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes loader-rays-in {
  0% { opacity: 0; }
  100% { opacity: 0.85; }
}

@keyframes loader-burst {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0); }
  60% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(10); }
}

@keyframes loader-flash {
  0% { opacity: 0; transform: scale(0.4); }
  35% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(2.5); }
}

body.is-loading {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .loader__inner,
  .loader__logo,
  .loader__brand span,
  .loader__brand em,
  .loader__bar,
  .loader__bar i,
  .loader__bar::after,
  .loader__glow,
  .loader__ring,
  .loader__sparkle,
  .loader__curtain {
    animation: none;
    transition: none;
  }
  .loader__logo,
  .loader__brand span,
  .loader__brand em,
  .loader__bar,
  .loader__ring {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  .loader__bar i {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .loader__stage { width: 260px; height: 260px; }
  .loader__logo { width: 200px; }
  .loader__glow { width: 300px; height: 300px; }
  .loader__ring--outer { width: 260px; height: 260px; }
  .loader__ring--mid { width: 210px; height: 210px; }
  .loader__ring--inner { width: 170px; height: 170px; }
  .loader__brand span { font-size: 1.05rem; letter-spacing: 0.55em; padding-left: 0.55em; }
  .loader__brand em { font-size: 0.7rem; }
  .loader__bar { width: 220px; }
}
