:root {
  --ink: #151515;
  --muted: #6f6a62;
  --line: #e7e1d8;
  --paper: #f8f5ef;
  --white: #ffffff;
  --accent: #9d7a43;
  --accent-dark: #6f542d;
  --soft: #eee8de;
  --shadow: 0 24px 70px rgba(36, 31, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(248, 245, 239, 0.94);
  box-shadow: 0 8px 28px rgba(30, 25, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand small {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.78;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
}

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

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 76px;
  left: 0;
  right: 0;
  display: none;
  padding: 20px;
  background: rgba(248, 245, 239, 0.98);
  box-shadow: 0 18px 40px rgba(30, 25, 18, 0.1);
}

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

.mobile-nav a {
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: #171513;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("./assets/hero-japan-desktop.jpg");
  background-position: center;
  background-size: cover;
  content: "";
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.16) 56%, rgba(0, 0, 0, 0.06)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 46%);
}

.hero-content {
  position: absolute;
  left: clamp(22px, 8vw, 116px);
  top: clamp(118px, 24vh, 240px);
  bottom: auto;
  width: min(780px, calc(100% - 44px));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero .eyebrow {
  color: #e8d6b2;
}

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

h1 {
  margin-bottom: 24px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 400;
  line-height: 1.18;
}

h2 {
  margin-bottom: 22px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.35;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.35;
}

h3 small {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.en-copy {
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin-bottom: 26px;
  font-size: clamp(15px, 1.5vw, 18px);
}

.hero .en-copy {
  max-width: 600px;
  margin-top: -18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  color: var(--white);
}

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

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.ghost {
  color: var(--white);
  background: transparent;
}

.button.ghost.dark {
  color: var(--ink);
}

.intro,
.company {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 110px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(76px, 12vw, 150px) 0;
}

.section-label {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.section-label span,
.section-label strong {
  display: block;
}

.section-label span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.section-label strong {
  margin-top: 8px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.intro-copy {
  max-width: 760px;
}

.intro-copy p,
.service-text p,
.message p,
.contact-copy p,
.company-list dd,
.strength-grid p {
  color: var(--muted);
}

.intro-copy .en-copy,
.section-heading .en-copy,
.service-text .en-copy,
.contact-copy .en-copy {
  color: var(--accent-dark);
}

.services {
  padding: clamp(72px, 10vw, 126px) 0;
  background: var(--white);
}

.section-heading {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto clamp(48px, 8vw, 86px);
}

.section-heading h2 {
  max-width: 760px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto clamp(58px, 9vw, 110px);
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row.reverse .service-media {
  order: 2;
}

.service-media {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 1px 0 rgba(36, 31, 25, 0.12);
}

.service-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(35, 31, 25, 0.08), rgba(35, 31, 25, 0.02)),
    rgba(236, 226, 211, 0.14);
  content: "";
}

.service-media img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  filter: grayscale(12%) saturate(0.78) brightness(0.94) contrast(0.96);
}

.service-text {
  padding: 10px 0;
}

.service-number {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 16px;
}

.service-text ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-stack {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-stack div {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  background: #fffdf9;
}

.service-stack strong {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.service-stack span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.reservation-callout {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(166, 126, 62, 0.42);
  background: rgba(255, 253, 249, 0.78);
}

.reservation-callout span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.reservation-callout strong {
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

.reservation-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.reservation-callout .button {
  justify-self: start;
  margin-top: 4px;
}

.reservation-callout.wide {
  margin-top: 32px;
}

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

.service-text li {
  position: relative;
  padding-left: 22px;
  color: #3d3933;
  font-size: 14px;
}

.service-text li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.strength {
  padding: clamp(58px, 7vw, 92px) 0 clamp(64px, 7.5vw, 98px);
  background:
    linear-gradient(180deg, rgba(230, 222, 211, 0.45), rgba(230, 222, 211, 0) 160px),
    var(--paper);
}

.strength .section-heading {
  margin-bottom: clamp(30px, 4.5vw, 48px);
  padding-top: 0;
  border-top: 0;
}

.strength .section-heading h2 {
  max-width: 760px;
  margin-bottom: 22px;
}

.strength .section-heading .en-copy {
  margin: 0;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  background: var(--line);
}

.strength-grid article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
}

.strength-grid span {
  display: block;
  margin-bottom: clamp(24px, 3.5vw, 34px);
  color: var(--accent);
  font-family: Georgia, serif;
}

.strength-grid h3 {
  font-size: 23px;
}

.strength-grid .en-copy {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
}

.message {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: center;
  min-height: clamp(460px, 42vw, 540px);
  color: var(--ink);
  background: #e9e1d7;
  border-top: 1px solid rgba(36, 31, 25, 0.12);
  border-bottom: 1px solid rgba(36, 31, 25, 0.12);
}

.message img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.message::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.08), rgba(248, 245, 239, 0.86) 58%, rgba(248, 245, 239, 0.94)),
    linear-gradient(0deg, rgba(248, 245, 239, 0.64), rgba(248, 245, 239, 0.1) 48%);
  content: "";
}

.message div {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: min(560px, calc(100% - 44px));
  padding: clamp(58px, 7vw, 78px) 0;
}

.message p {
  color: var(--muted);
}

.message .en-copy {
  color: var(--accent-dark);
}

.company {
  align-items: start;
}

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

.company-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.company-list dd {
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  padding: clamp(56px, 8vw, 104px) clamp(22px, 6vw, 80px);
  background: var(--white);
}

.contact-copy {
  max-width: 380px;
}

.note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: 0 1px 0 rgba(36, 31, 25, 0.12);
}

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

label {
  display: grid;
  gap: 6px;
}

label span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

em {
  margin-left: 6px;
  color: var(--accent);
  font-style: normal;
  font-size: 11px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d0c5;
  border-radius: 0;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(157, 122, 67, 0.14);
}

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

.privacy input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.privacy span {
  font-weight: 400;
  color: var(--muted);
}

.submit {
  width: min(230px, 100%);
  min-height: 44px;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
}

.success-toast {
  position: fixed;
  left: 50%;
  bottom: clamp(22px, 5vw, 42px);
  z-index: 1000;
  width: min(420px, calc(100vw - 36px));
  padding: 16px 20px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  background: rgba(31, 28, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 48px rgba(20, 16, 12, 0.22);
  transform: translateX(-50%);
  animation: toast-in 0.22s ease-out both;
}

.success-toast.is-hiding {
  animation: toast-out 0.28s ease-in both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  to {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(22px, 6vw, 80px);
  color: var(--white);
  background: #171513;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.subpage .site-header {
  color: var(--ink);
  background: rgba(248, 245, 239, 0.94);
  box-shadow: 0 8px 28px rgba(30, 25, 18, 0.08);
  backdrop-filter: blur(16px);
}

.subpage h1 {
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.24;
}

.subpage h2 {
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.38;
}

.subpage h3 {
  font-size: clamp(20px, 2vw, 28px);
}

.subpage p {
  line-height: 1.9;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0 clamp(54px, 8vw, 92px);
}

.page-hero.compact {
  padding-bottom: clamp(38px, 6vw, 70px);
}

.page-hero h1 {
  max-width: 980px;
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.service-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto clamp(58px, 8vw, 96px);
  background: var(--line);
}

.service-index a {
  display: grid;
  gap: 14px;
  min-height: 118px;
  padding: 24px 26px;
  background: #fffdf9;
}

.service-index span,
.flow-grid span {
  color: var(--accent);
  font-family: Georgia, serif;
}

.service-index strong {
  font-size: 18px;
  font-weight: 500;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 86px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 94px) 0;
  border-top: 1px solid var(--line);
}

.service-detail.reverse .service-detail-media {
  order: 2;
}

.service-detail-media {
  position: sticky;
  top: 104px;
  overflow: hidden;
  background: var(--soft);
}

.service-detail-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(35, 31, 25, 0.08), rgba(35, 31, 25, 0.02)),
    rgba(236, 226, 211, 0.14);
  content: "";
}

.service-detail-media img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  filter: grayscale(12%) saturate(0.78) brightness(0.94) contrast(0.96);
}

.service-detail-copy > p:not(.eyebrow),
.service-flow p,
.page-cta p {
  color: var(--muted);
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
}

.detail-columns div {
  padding: clamp(20px, 3vw, 28px);
  background: #fffdf9;
}

.detail-columns h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.detail-columns ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-columns li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.detail-columns li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.service-flow {
  padding: clamp(62px, 9vw, 110px) 0;
  background: var(--white);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  background: var(--line);
}

.flow-grid article {
  min-height: 210px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
}

.flow-grid h3 {
  margin-top: 30px;
  font-size: 20px;
}

.page-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 108px) 0;
  border-top: 1px solid var(--ink);
}

.page-cta p {
  max-width: 680px;
}

.page-cta .button {
  margin-top: 18px;
}

.reason-list {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.reason-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  padding: clamp(42px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.reason-list span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 22px;
}

.reason-list h2 {
  max-width: 760px;
}

.reason-list p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  width: min(1180px, calc(100% - 44px));
  margin: clamp(58px, 8vw, 96px) auto 0;
  padding: clamp(34px, 5vw, 54px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.proof-band h2 {
  margin-bottom: 0;
}

.proof-band p {
  color: var(--muted);
}

.company-page-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 110px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 0 clamp(64px, 8vw, 100px);
}

.company-message {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 82px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.company-message p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 94px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 0 0 clamp(72px, 10vw, 120px);
}

.contact-aside {
  display: grid;
  align-content: start;
  gap: 32px;
}

.contact-aside p:not(.eyebrow),
.contact-aside dd {
  color: var(--muted);
}

.contact-aside dl {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.contact-aside dl div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-aside dt {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-aside dd {
  margin: 0;
}

.contact-form.refined {
  padding: clamp(26px, 4vw, 44px);
}

.reservation-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 82px);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 0 0 clamp(72px, 10vw, 120px);
}

.calendar-panel {
  align-self: start;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  background: #fffdf9;
}

.calendar-head h2 {
  margin: 0;
}

.calendar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.calendar-nav {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  font: inherit;
  font-size: 34px;
  line-height: 1;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.calendar-nav:not(:disabled):hover {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.calendar-nav:disabled {
  color: rgba(28, 27, 25, 0.22);
  cursor: default;
  background: #f4efe7;
}

.calendar-head p:not(.eyebrow),
.calendar-note {
  color: var(--muted);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.calendar-grid span,
.calendar-grid button {
  min-height: 54px;
  border: 0;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

.calendar-grid span {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.calendar-grid button {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.calendar-grid button:not(:disabled):hover,
.calendar-grid button.is-selected {
  color: var(--white);
  background: var(--accent);
}

.calendar-grid button.muted,
.calendar-grid button:disabled {
  color: rgba(28, 27, 25, 0.26);
  cursor: default;
  background: #f4efe7;
}

.calendar-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.reservation-form {
  align-self: start;
}

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

  .menu-button {
    display: block;
  }

  .intro,
  .company,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .service-row.reverse .service-media {
    order: 0;
  }

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

  .strength-grid article {
    min-height: auto;
  }

  .strength-grid span {
    margin-bottom: 24px;
  }

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

  .message::after {
    background:
      linear-gradient(0deg, rgba(248, 245, 239, 0.92), rgba(248, 245, 239, 0.68)),
      linear-gradient(90deg, rgba(248, 245, 239, 0.86), rgba(248, 245, 239, 0.56));
  }

  .message div {
    grid-column: 1;
    margin: 0 auto;
  }

  .service-index,
  .service-detail,
  .detail-columns,
  .flow-grid,
  .reason-list article,
  .proof-band,
  .company-page-grid,
  .contact-page,
  .reservation-page {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse .service-detail-media {
    order: 0;
  }

  .service-detail-media {
    position: relative;
    top: auto;
  }

  .company-page-grid {
    padding-top: 0;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .hero,
  .hero::before {
    min-height: 640px;
  }

  .hero-content {
    top: 112px;
    width: min(680px, calc(100% - 44px));
  }

  h1 {
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .hero p {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .hero .en-copy {
    margin-top: -8px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    height: 66px;
    padding: 0 16px;
    color: var(--ink);
    background: rgba(248, 245, 239, 0.96);
    box-shadow: 0 8px 24px rgba(30, 25, 18, 0.08);
    backdrop-filter: blur(14px);
  }

  .brand {
    min-width: 0;
  }

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

  .brand small {
    font-size: 9px;
  }

  .mobile-nav {
    top: 66px;
  }

  .hero,
  .hero::before {
    min-height: 680px;
    height: min(760px, 76svh);
  }

  .hero::before {
    background-image: url("./assets/hero-japan-mobile.jpg");
    background-position: center top;
  }

  .hero-content {
    top: 44px;
    bottom: auto;
    width: calc(100% - 32px);
    left: 16px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.22;
    margin-bottom: 18px;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .hero p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.85;
  }

  .hero .en-copy {
    margin-top: -6px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 10px;
  }

  .strength {
    padding: 44px 0 52px;
  }

  .strength .section-heading {
    margin-bottom: 18px;
  }

  .strength-grid {
    width: calc(100% - 44px);
  }

  .strength-grid article {
    padding: 28px 0;
    background: transparent;
  }

  .strength-grid span {
    margin-bottom: 18px;
  }

  .strength-grid h3 {
    font-size: 25px;
  }

  .strength-grid .en-copy {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .message {
    min-height: auto;
    color: var(--ink);
  }

  .message img {
    opacity: 0.58;
  }

  .message::after {
    background:
      linear-gradient(0deg, rgba(248, 245, 239, 0.94), rgba(248, 245, 239, 0.72)),
      linear-gradient(90deg, rgba(248, 245, 239, 0.88), rgba(248, 245, 239, 0.62));
  }

  .message div {
    width: calc(100% - 44px);
    padding: 52px 0 58px;
  }

  .message p {
    color: var(--muted);
  }

  .message .en-copy {
    color: var(--accent-dark);
  }

  .button {
    width: 100%;
  }

  .form-grid,
  .company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    display: block;
  }

  .page-main {
    padding-top: 0;
  }

  .page-hero {
    padding: 58px 0 42px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .subpage h2 {
    font-size: 26px;
  }

  .subpage h3 {
    font-size: 21px;
  }

  .service-index {
    margin-bottom: 34px;
  }

  .service-index a {
    min-height: auto;
    padding: 20px 0;
    background: transparent;
  }

  .service-detail {
    padding: 42px 0;
  }

  .detail-columns div,
  .flow-grid article {
    padding: 22px 0;
    background: transparent;
  }

  .flow-grid {
    background: transparent;
  }

  .flow-grid article {
    border-top: 1px solid var(--line);
  }

  .reason-list article {
    padding: 32px 0;
  }

  .proof-band,
  .company-message {
    padding: 34px 0;
  }

  .contact-form.refined {
    padding: 22px;
  }

  .calendar-panel {
    padding: 22px;
  }

  .calendar-grid span,
  .calendar-grid button {
    min-height: 44px;
  }
}
