:root {
  --color-ink: #14223b;
  --color-navy: #0b2846;
  --color-green: #0f5f48;
  --color-green-soft: #e8f2ec;
  --color-ivory: #f7f5ed;
  --color-paper: #fffdf8;
  --color-muted: #647086;
  --color-line: #d9ded7;
  --color-gold: #b79556;
  --color-white: #fff;
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --side-width: clamp(270px, 19.5vw, 290px);
  --content-pad: clamp(28px, 4.8vw, 72px);
  --focus-ring: 3px solid #1d8b77;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  line-height: 1.85;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 var(--side-width);
  width: 1px;
  background: var(--color-line);
  z-index: 40;
  pointer-events: none;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 4px;
}

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

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

[id] {
  scroll-margin-top: 28px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
}

.side-column {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  width: var(--side-width);
  height: 100vh;
  height: 100dvh;
  border-right: 1px solid var(--color-line);
  background-color: #f1f6f3;
  overflow: hidden;
}

.side-column-inner {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(18px, 2.4vh, 28px);
  overflow-y: auto;
  background-color: #f1f6f3;
  padding: clamp(24px, 3.2vh, 34px) clamp(20px, 2.2vw, 30px) clamp(24px, 3vh, 32px);
  scrollbar-width: thin;
}

.side-nav {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: repeat(8, minmax(56px, 1fr));
  border-top: 1px solid var(--color-line);
}

.side-nav a {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  font-size: .9rem;
  font-weight: 700;
}

.side-nav a:hover,
.side-nav a:focus-visible,
.side-nav a[aria-current="page"] {
  color: var(--color-green);
}

.side-nav span {
  color: var(--color-green);
  font-size: .92rem;
  text-align: center;
}

.side-office-panel {
  flex: 0 0 auto;
  display: grid;
  gap: 16px;
  padding-top: clamp(18px, 2.6vh, 26px);
  border-top: 1px solid var(--color-line);
}

.side-office-brand {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--color-navy);
}

.side-office-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.side-office-brand-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.side-office-name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .03em;
}

.side-office-tagline {
  color: var(--color-muted);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.55;
}

.side-office-contact {
  display: grid;
  gap: 7px;
}

.side-office-phone {
  color: var(--color-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
}

.side-office-hours {
  color: var(--color-muted);
  font-size: .76rem;
  font-weight: 700;
}

.side-office-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 16px;
  border: 1px solid var(--color-green);
  border-radius: 2px;
  background: var(--color-green);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.2;
}

.side-office-contact-cta:hover {
  background: #0a4c39;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button-primary:hover {
  background: #0a4c39;
}

.main-column {
  margin-left: var(--side-width);
  min-width: 0;
}

.mobile-header {
  display: none;
}

.hero-section {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0 58% 0 0;
  background: linear-gradient(90deg, var(--color-paper), rgba(255, 253, 248, .84));
  z-index: 1;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 3;
  width: min(680px, calc(100% + 300px));
  padding: 58px 0 54px var(--content-pad);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--color-green);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.hero-title {
  margin: 0 0 26px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 4.25vw, 4.45rem);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: .08em;
  text-wrap: balance;
}

.hero-title span {
  display: table;
  width: max-content;
  max-width: calc(100vw - var(--side-width) - 54px);
  margin-bottom: 14px;
  padding: .03em .22em .08em;
  background: rgba(255, 253, 248, .9);
  box-shadow: 14px 0 0 rgba(255, 253, 248, .78);
}

.hero-title span:nth-child(2) {
  margin-left: 26px;
}

.hero-lead {
  width: min(520px, 100%);
  margin-bottom: 24px;
  color: #2c3447;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  min-width: 168px;
  padding: 0 26px;
}

.button::after {
  content: "\2192";
  margin-left: 18px;
}

.button-primary {
  background: var(--color-green);
  color: var(--color-white);
}

.button-outline {
  border-color: var(--color-green);
  background: rgba(255, 253, 248, .86);
  color: var(--color-green);
}

.button-outline:hover {
  background: var(--color-green-soft);
}

.hero-visual {
  position: relative;
  z-index: 0;
  height: min(560px, 68vh);
  min-height: 480px;
  margin: 28px var(--content-pad) 28px -132px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--color-ivory);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,253,248,.58), rgba(255,253,248,0));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(.95) contrast(1.04) saturate(1.04);
}

.content-section {
  padding: clamp(58px, 6vw, 92px) var(--content-pad);
  border-bottom: 1px solid var(--color-line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 36px;
}

.section-label {
  grid-column: 1;
  margin: 0 0 8px;
  color: var(--color-green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-head h2,
.office-message h2,
.bottom-cta h2 {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.7vw, 2.75rem);
  line-height: 1.55;
  letter-spacing: .05em;
}

.section-head h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: start;
}

.section-link {
  grid-column: 1;
  color: var(--color-green);
  font-size: .86rem;
  font-weight: 700;
}

.section-link::after {
  content: "\2192";
  margin-left: 12px;
}

.pending-link {
  color: var(--color-muted);
}

.pending-link::after {
  content: "";
}

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

.service-item {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 310px;
  padding: 34px clamp(22px, 2.4vw, 38px);
  border-right: 1px solid var(--color-line);
}

.service-item:last-child {
  border-right: 0;
}

.item-number,
.reason-grid span {
  color: #6f987b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  line-height: 1;
}

.service-item h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  line-height: 1.55;
}

.service-item p {
  color: var(--color-muted);
  font-size: .93rem;
}

.service-item a {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--color-green);
  font-weight: 700;
}

.service-item a::after {
  content: "\2192";
  margin-left: 14px;
}

.reasons-section {
  background: #fffef9;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-line);
}

.reason-grid article {
  min-height: 248px;
  padding: 30px 24px;
  border-right: 1px solid var(--color-line);
}

.reason-grid article:last-child {
  border-right: 0;
}

.reason-grid h3 {
  margin: 18px 0 10px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.reason-grid p,
.office-message p,
.office-facts dd,
.news-list a,
.faq-list p,
.bottom-cta p,
.site-footer p {
  color: var(--color-muted);
  font-size: .92rem;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-line);
}

.flow-list li {
  position: relative;
  min-height: 190px;
  padding: 30px 24px;
  border-right: 1px solid var(--color-line);
  background: rgba(255,255,255,.52);
}

.flow-list li:last-child {
  border-right: 0;
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-family: Georgia, "Times New Roman", serif;
}

.flow-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.flow-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: .86rem;
}

.office-section {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  background: linear-gradient(90deg, #fffdf8 0%, #fffdf8 45%, #fbfaf5 45%, #fbfaf5 100%);
}

.office-message h2 {
  margin-bottom: 28px;
}

.office-message p {
  margin-bottom: 0;
}

.office-facts {
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.office-facts div {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line);
}

.office-facts dt {
  color: var(--color-navy);
  font-weight: 700;
}

.office-facts dd {
  margin: 0;
}

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

.news-list article {
  display: grid;
  grid-template-columns: 120px 100px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--color-line);
}

.news-list time {
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
}

.news-list span {
  justify-self: start;
  min-width: 78px;
  padding: 3px 10px;
  background: var(--color-green-soft);
  color: var(--color-green);
  font-size: .74rem;
  font-weight: 700;
  text-align: center;
}

.news-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
}

.news-list a::after {
  content: "\2192";
  color: var(--color-green);
}

.faq-section {
  background: #fffef9;
}

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

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

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--color-navy);
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::before {
  content: "Q";
  margin-right: 16px;
  color: var(--color-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.faq-list p {
  margin: 0;
  padding: 0 0 22px 38px;
}

.bottom-cta {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) auto;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  margin: clamp(48px, 6vw, 82px) var(--content-pad);
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--color-line);
  background: linear-gradient(110deg, #fffdf8, #eef5ed);
}

.bottom-cta h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.bottom-cta p {
  margin-bottom: 0;
}

.bottom-cta-actions {
  display: grid;
  gap: 18px;
  min-width: 280px;
}

.cta-phone {
  display: grid;
  color: var(--color-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.7vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.cta-phone span {
  margin-top: 8px;
  color: var(--color-muted);
  font-family: var(--font-sans);
  font-size: .78rem;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 38px var(--content-pad) 26px;
  border-top: 1px solid var(--color-line);
  background: var(--color-navy);
  color: var(--color-white);
}

.site-footer strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  font-size: .82rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #d9c28d;
}

.site-footer p {
  margin: 0;
  color: #d6dde5;
}

.copyright {
  font-size: .72rem;
}

@media (max-width: 1180px) {
  :root {
    --side-width: 300px;
    --content-pad: 38px;
  }

  .hero-section {
    grid-template-columns: minmax(320px, .75fr) minmax(450px, 1.25fr);
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-visual {
    margin-left: -112px;
  }

  .editorial-list,
  .reason-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-item:nth-child(2),
  .reason-grid article:nth-child(2) {
    border-right: 0;
  }

  .service-item:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 250px;
    border-top: 1px solid var(--color-line);
    border-right: 0;
  }

  .reason-grid article {
    border-bottom: 1px solid var(--color-line);
  }
}

@media (max-width: 1180px) {
  :root {
    --content-pad: 28px;
  }

  body::before {
    display: none;
  }

  [id] {
    scroll-margin-top: 94px;
  }

  .side-column {
    display: none;
  }

  .main-column {
    margin-left: 0;
    padding-top: 70px;
  }

  .mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--color-line);
    background: rgba(255,253,248,.98);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--color-navy);
    font-family: var(--font-serif);
    font-weight: 700;
  }

  .mobile-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
  }

  .mobile-brand span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-menu-button {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-green);
    border-radius: 2px;
    background: var(--color-paper);
    color: var(--color-green);
  }

  .mobile-menu-button span {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 8px 20px 22px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-paper);
    box-shadow: 0 12px 24px rgba(11,40,70,.08);
  }

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

  body.menu-open {
    overflow: hidden;
  }

  .mobile-nav a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--color-line);
    font-weight: 700;
  }

  .mobile-tel {
    display: grid;
    color: var(--color-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
  }

  .mobile-tel span {
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: .74rem;
  }

  .hero-section {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-section::before {
    display: none;
  }

  .hero-text {
    width: auto;
    min-width: 0;
    padding: 44px var(--content-pad) 28px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 3.6rem);
  }

  .hero-title span,
  .hero-title span:nth-child(2) {
    max-width: 100%;
    margin-left: 0;
  }

  .hero-visual {
    height: 42vw;
    min-height: 280px;
    margin: 0 var(--content-pad) 36px;
  }

  .office-section,
  .bottom-cta {
    grid-template-columns: 1fr;
  }

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

  .flow-list li:nth-child(2) {
    border-right: 0;
  }

  .flow-list li:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-line);
  }
}

@media (max-width: 768px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .section-label,
  .section-head h2,
  .section-link {
    grid-column: 1;
    grid-row: auto;
  }

  .section-head h2 {
    order: 2;
  }

  .section-label {
    order: 1;
  }

  .section-link {
    order: 3;
  }
}

@media (max-width: 640px) {
  :root {
    --content-pad: 18px;
  }

  body {
    line-height: 1.78;
  }

  .mobile-brand span {
    font-size: .92rem;
  }

  .mobile-brand {
    max-width: calc(100% - 58px);
  }

  .hero-kicker {
    font-size: .75rem;
    letter-spacing: .08em;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8.5vw, 2rem);
    margin-bottom: 22px;
    line-height: 1.45;
    letter-spacing: .03em;
  }

  .hero-title span {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-inline: .12em;
    box-shadow: none;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .hero-lead {
    font-size: .94rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    height: 300px;
    margin-inline: 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
  }

  .content-section {
    padding-block: 48px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 26px;
  }

  .section-head h2,
  .office-message h2,
  .bottom-cta h2 {
    font-size: 1.55rem;
  }

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

  .service-item,
  .reason-grid article,
  .flow-list li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .service-item:nth-child(3) {
    grid-column: auto;
  }

  .flow-list li:nth-child(2) {
    border-right: 0;
  }

  .office-section {
    background: var(--color-paper);
  }

  .office-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    padding: 16px 0;
  }

  .news-list a {
    display: inline-flex;
    justify-content: flex-start;
  }

  .bottom-cta {
    margin-inline: 0;
    border-left: 0;
    border-right: 0;
  }

  .bottom-cta-actions {
    min-width: 0;
  }

  .site-footer nav {
    display: grid;
    gap: 10px;
  }
}

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

  .button,
  .mobile-menu-button span {
    transition: none;
  }
}
