:root {
  --ivory: #F8F8F5;
  --paper: #fffdf8;
  --paper-soft: #fbf6ed;
  --navy: #203b5e;
  --grey: #545454;
  --navy-soft: #243a56;
  --muted: #5f6470;
  --line: rgba(18, 36, 59, 0.14);
  --line-soft: rgba(18, 36, 59, 0.08);
  --red: #a8463d;
  --shadow: 0 12px 30px rgba(58, 43, 25, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 70, 61, 0.06), transparent 26rem),
    linear-gradient(180deg, var(--ivory), var(--paper-soft));
  font-family: "Noto Serif JP", system-ui, sans-serif;
  font-size: 15px;
  line-height: 2;
}

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

img[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  color: inherit;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--grey);
}

.sp-only {
  display: none;
}

.service-card,
.pricing-note,
.guide-box,
.notes-card,
.document {
  border-radius: 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 84px;
  padding: 19px clamp(28px, 5.8vw, 86px);
  background: rgba(248, 244, 236, 0.84);
  border-bottom: 1px solid rgba(18, 36, 59, 0.07);
  backdrop-filter: blur(16px);
}

.logo-slot {
  display: grid;
  place-items: center;
  width: 188px;
  min-width: 132px;
  height: 42px;
}

.logo-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 28px;
  font-size: 13px;
}

.site-nav a,
.footer-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after,
.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
  content: "";
}

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

.nav-toggle {
  display: none;
}

/* Shared layout */
.section {
  padding: clamp(96px, 11vw, 164px) 0;
}

.container {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--red);
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-head h2,
.narrow h2,
.profile h2,
.contact h2,
.document h1 {
  margin-bottom: 24px;
  font-size: clamp(23px, 3.4vw, 40px);
}

.prose {
  display: grid;
  gap: 5px;
}

.compact {
  gap: 17px;
}

.red-line {
  display: block;
  width: 56px;
  height: 2px;
  margin: 24px 0 22px;
  background: var(--red);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 84px));
  overflow: hidden;
  background: linear-gradient(90deg, #f4efe6, #e9ece8 62%, #dae1e3);
}

.hero picture,
.hero picture img {
  width: 100%;
  height: min(720px, calc(100svh - 84px));
  min-height: 560px;
}

.hero picture img {
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 244, 236, 0.9) 0%, rgba(248, 244, 236, 0.72) 36%, rgba(248, 244, 236, 0.23) 67%, rgba(248, 244, 236, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.22), rgba(255, 253, 248, 0));
  content: "";
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: 48%;
  left: clamp(36px, calc((100vw - 1120px) / 2 + 54px), 300px);
  width: min(690px, calc(100% - 72px));
  transform: translateY(-50%);
}

.hero-copy h1 {
  font-size: clamp(36px, 4.5vw, 50px);
}

.hero-copy span {
  color: var(--grey);
}

.hero-copy > p:last-child {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 2.1;
}

/* Concept */
.concept {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.concept-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(30px, 3vw, 110px);
  align-items: center;
}

.concept-copy {
  max-width: 670px;
  padding-left: clamp(0px, 4vw, 54px);
}

.concept-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(23px, 3.2vw, 40px);
}

.concept-message {
  margin-bottom: 28px;
}

.concept-visual {
  position: relative;
  margin: 0;
}

.concept-visual::before {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 84%;
  height: 84%;
  border: 1px solid rgba(168, 70, 61, 0.16);
  content: "";
}

.concept-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3.25;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Theme */
.theme {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(251, 246, 237, 0.72) 0%,
      rgba(245, 239, 228, 0.82) 100%
    ),
    url("../images/port.png") left bottom / 1500px auto no-repeat;
}

.theme-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(36px, 5vw, 112px);
  align-items: start;
}

.theme-intro {
  position: sticky;
  top: 130px;
  padding-top: 18px;
}

.theme-intro::before {
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--red);
  content: "";
}

.theme-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(23px, 3.6vw, 40px);
}

.theme-intro p:last-child {
  max-width: 430px;
}

.theme-reading {
  display: grid;
  gap: 0;
  padding-top: 18px;
}

.theme-reading article {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 26px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--line-soft);
}

.theme-reading article + article {
  padding-top: 36px;
}

.theme-reading span {
  color: var(--red);
  font-family: "Cormorant Garamond", serif;
  font-size: 35px;
  font-style: italic;
}

.theme-reading p {
  max-width: 610px;
  font-family: "Noto Serif JP", serif;
  font-size: 19px;
  line-height: 2.05;
}

.theme-note {
  color: var(--navy);
}

/* Approach */
.approach {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
  text-align: center;
}

.approach::before {
  position: absolute;
  top: 54px;
  left: clamp(18px, 6vw, 84px);
  width: 180px;
  height: 180px;
  border: 1px solid rgba(18, 36, 59, 0.1);
  border-radius: 50%;
  opacity: 0.58;
  content: "";
}

.approach-head {
  max-width: 740px;
  margin: 0 auto 64px;
}

.approach-head h2 {
  margin-bottom: 20px;
  font-size: clamp(23px, 3.2vw, 40px);
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.approach-list article {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.approach-list img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.approach-list h3 {
  font-size: 18px;
}

.approach-list p {
  max-width: 290px;
  color: var(--grey);
  font-size: 14px;
}

.approach-note {
  max-width: 780px;
  margin: 58px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--grey);
}

/* Service */
.service {
  background: var(--paper);
}

.service .section-head {
  margin-bottom: 70px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: stretch;
}

.service-card,
.pricing-note,
.guide-box,
.notes-card,
.document {
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.service-card {
  padding: clamp(34px, 4vw, 50px);
  height: 100%
}

.service-card-large {
  margin-top: 0px;
}

.service-name {
  margin-bottom: 12px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  color: var(--navy);
}

.price {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--red);
  font-weight: 700;
}

.pricing-note {
  width: 100%;
  max-width: none;
  margin: 42px 0 0;
  padding: clamp(34px, 4vw, 50px);
  text-align: center;
  border-top: 5px solid rgba(168, 70, 61, 0.62);
}

.pricing-note h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.ticket-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 24px;
}

.ticket-list p {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid var(--line-soft);
  background: rgba(248, 244, 236, 0.62);
}

.ticket-list span {
  margin-right: 18px;
  color: var(--muted);
}

.pricing-note ul {
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
  width: fit-content;
  color: var(--grey);
}

.pricing-note li {
  position: relative;
  padding-left: 18px;
  text-align: left;
}

.pricing-note li::before {
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(168, 70, 61, 0.72);
  transform: translateY(-50%);
  content: "";
}

/* CTA */
.cta {
  position: relative;
  padding: clamp(82px, 10vw, 124px) 20px;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy) url("../images/cta-bg.jpg") center / cover no-repeat;
}

.cta::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 62%, rgba(168, 70, 61, 0.22), transparent 18rem),
    linear-gradient(90deg, rgba(18, 36, 59, 0.94), rgba(18, 36, 59, 0.76), rgba(18, 36, 59, 0.56));
  content: "";
}

.cta-inner {
  position: relative;
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 24px;
  font-size: clamp(25px, 3.6vw, 40px);
}

.cta-inner p {
  color: #ffffff;
}

.cta-inner p + p {
  padding-top: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 232px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

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

.button.secondary {
  border-color: rgba(255, 253, 248, 0.62);
  color: var(--paper);
}

.button.primary:hover {
  background: #8d3731;
}

.button.secondary:hover {
  border-color: var(--paper);
  background: rgba(255, 253, 248, 0.08);
}

/* Profile */
.profile {
  position: relative;
  background: var(--paper);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.profile-image {
  position: static;
  top: 118px;
}

.profile-image img {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.profile-meta {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.profile-meta .name {
  margin-bottom: 14px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
}

.thinking-note {
  color: var(--navy);
}

.notes-card {
  position: relative;
  margin-top: 58px;
  padding: 42px 30px 36px;
}

.notes-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 86px;
  height: 86px;
  background: url("../images/icon-anchor.png") center / contain no-repeat;
  opacity: 0.1;
  content: "";
}

.notes-card .section-kicker {
  margin-bottom: 2px;
  font-size: 27px;
}

.notes-sub {
  margin-bottom: 20px;
  color: var(--muted);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
}

.notes-card a {
  display: inline-block;
  margin-top: 28px;
  color: var(--red);
  border-bottom: 1px solid rgba(168, 70, 61, 0.42);
  font-size: 14px;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      var(--ivory) 0%,
      rgba(248, 244, 236, 0.96) 18%,
      rgba(255, 253, 248, 0.72) 58%,
      rgba(248, 244, 236, 0.78) 100%
    ),
    url("../images/bottle.png") right 82% / 1500px auto no-repeat;
}

.contact .narrow {
  text-align: center;
}

.contact-lead + .contact-lead {
  margin-top: 6px;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--navy);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: center;
  border: 0;
  cursor: pointer;
}

/* Guide */
.guide {
  background: var(--ivory);
}

.guide-box {
  padding: clamp(25px, 5vw, 50px);
}

.guide-box h2 {
  font-size: clamp(15px, 3.2vw, 25px);
}

.prose {
  color: var(--grey);
}

/* Footer */
.site-footer {
  padding: 40px clamp(28px, 5vw, 72px);
  color: var(--paper);
  background: var(--navy);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 auto;
}

.footer-nav {
  justify-content: center;
  gap: 12px 24px;
  color: rgba(255, 253, 248, 0.88);
}

.footer-legal {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

/* Document pages */
.page-main {
  min-height: 62vh;
}

.document {
  padding: clamp(34px, 5vw, 58px);
}

.document h2 {
  margin: 40px 0 12px;
  font-size: 22px;
}

.legal-list {
  display: grid;
  grid-template-columns: 210px 1fr;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.legal-list dt,
.legal-list dd {
  margin: 0;
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
}

.legal-list dt {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .sp-only {
    display: inline;
  }

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--navy);
  }

  .nav-toggle span + span {
    margin-top: 6px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(248, 244, 236, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(18, 36, 59, 0.08);
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero,
  .hero picture,
  .hero picture img {
    min-height: 590px;
    height: calc(100svh - 72px);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(248, 244, 236, 0.9) 0%, rgba(248, 244, 236, 0.58) 38%, rgba(248, 244, 236, 0.12) 76%);
  }

  .hero-copy {
    top: 35%;
  }

  .concept-layout,
  .theme-layout,
  .service-grid,
  .profile-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .concept-copy {
    padding-left: 0;
  }

  .concept-visual {
    max-width: 520px;
  }

  .theme-intro,
  .profile-image {
    position: static;
  }

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

  .service-card-large,
  .notes-card {
    margin-top: 0;
  }

  .profile-copy {
    order: 1;
  }

  .profile-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    order: 2;
  }

  .profile-image {
    max-width: none;
  }

  .profile-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .notes-card {
    margin-top: 0;
    height: 100%;
  }

  .container {
    width: min(100% - 150px, 1120px);
  }

  .narrow {
    width: min(100% - 80px, 760px);
  }

  .concept-visual {
    margin: 0 auto;
    width: min(100%, 520px);
  }

  .theme-reading article {
    align-items: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.9;
  }

  p br {
    display: none;
  }

  .site-header {
    padding-inline: 16px;
  }

  .logo-slot {
    width: 142px;
    height: 34px;
  }

  .section {
    padding: 72px 0;
  }

  .container,
  .narrow {
    width: min(100% - 32px, 780px);
  }

  .hero,
  .hero picture,
  .hero picture img {
    height: 550px;
    min-height: 550px;
  }

  .hero picture img {
    object-position: center bottom;
    transform: translateY(100px);
  }

  .hero-copy {
    left: 20px;
    width: calc(100% - 40px);
    top: 23%;
  }

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

  .theme-reading article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 0 28px;
  }

  .theme-reading article + article {
    padding-top: 28px;
  }

  .theme-reading p {
    font-size: 17px;
  }

  .button-row,
  .ticket-list {
    display: grid;
  }

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

  .profile-copy h2 {
    font-size: 19px;
  }

  .profile-image {
    max-width: none;
  }

  .notes-card {
  padding: 15px;
  }

  .footer-nav {
    display: grid;
  }

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

  .legal-list dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .legal-list dd {
    padding-top: 0;
  }
}
