:root {
  color-scheme: light;
  --paper: #f9faf4;
  --white: #fff;
  --ink: #44423f;
  --brown: #59493f;
  --button: #745843;
  --pine: #334d3c;
  --leaf: #7f9b69;
  --mist: #e9f0de;
  --yellow: #fff6d0;
  --line: #d8deca;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.95;
}

h1, h2, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #28694c; outline-offset: 5px; }
img { display: block; max-width: 100%; }

h1, h2, .home-location, .section-lead, .site-nav, .button {
  font-family: var(--font-heading);
}

h2, .section-lead { color: var(--brown); }

h2 {
  font-size: clamp(1.625rem, 3.05vw, 2.25rem);
  line-height: 1.5;
  letter-spacing: .025em;
  text-wrap: balance;
}

.layout {
  width: min(72.5rem, calc(100% - clamp(2.5rem, 7vw, 6rem)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  padding: .5rem 1rem;
  color: var(--pine);
  background: var(--white);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(80rem, calc(100% - clamp(2.5rem, 6vw, 6rem)));
  min-height: 5.5rem;
  margin-inline: auto;
  padding-block: .65rem;
  gap: 1.5rem;
}

.wordmark {
  display: block;
  flex: 0 0 clamp(5.7rem, 11vw, 9.625rem);
}

.wordmark img { width: 100%; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .3rem clamp(.8rem, 1.5vw, 1.5rem);
  color: var(--brown);
  font-size: .9375rem;
  font-weight: 700;
}

.site-nav > a:not(.button) {
  padding-block: .65rem;
  text-decoration: none;
  text-underline-offset: .35em;
}

.site-nav > a:not(.button):hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .55rem 1.45rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--button);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.button:hover { background: var(--brown); }
.nav-contact { min-height: 2.75rem; font-size: .9375rem; }

/* TOPの写真、コピー、波のアクセントを同じ構成で表示する。 */
.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(620px, 48vw, 800px);
  overflow: hidden;
  background: var(--brown);
}

.home-hero-copy {
  display: grid;
  grid-template-columns: 54% minmax(0, 46%);
  width: min(80rem, calc(100% - 6rem));
  margin-inline: auto;
  padding-block: 4.375rem 5.3125rem;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .36);
}

.home-hero-copy > * { grid-column: 2; }

.home-location {
  font-size: clamp(1.125rem, 1.6vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .05em;
}

.home-hero h1 {
  margin-block: 1.5rem 2rem;
  font-size: clamp(2.5rem, 3.7vw, 3.875rem);
  line-height: 1.6;
  letter-spacing: .015em;
}

.home-hero h1 > span {
  background: url("assets/hero-wave-green.svg") center bottom / 100% .28em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.home-mobile-break { display: none; }
.home-hero-lead { font-size: 1.125rem; line-height: 2; }

.home-hero-photo, .home-hero-photo::after {
  position: absolute;
  inset: 0;
}

.home-hero-photo { z-index: -1; }

.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-photo::after {
  background: linear-gradient(90deg, rgba(52, 43, 33, .02) 20%, rgba(52, 43, 33, .2) 45%, rgba(52, 43, 33, .7) 100%);
  content: "";
}

.section { padding-block: clamp(3.75rem, 7vw, 6rem); }

.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: -23rem;
  width: 66rem;
  height: 42rem;
  border-radius: 49% 51% 47% 53% / 52% 46% 54% 48%;
  background: var(--yellow);
  transform: rotate(-12deg);
  content: "";
}

.about-inner, .day-inner, .visit-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 4.5rem);
}

.about-image {
  overflow: hidden;
  border-radius: 45% 55% 49% 51% / 48% 40% 60% 52%;
}

.about-image img, .space-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-image img { aspect-ratio: 1.3; }

.section h2::after {
  display: block;
  width: 3.25rem;
  height: .25rem;
  margin-block: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--leaf);
  content: "";
}

.section-lead {
  font-size: clamp(1.15rem, 1.85vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.7;
}

.about-copy p + p, .section-intro p + p, .visit-copy p + p { margin-top: .95rem; }

.spaces { background: var(--white); }

.section-intro { max-width: 46rem; }

.space-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: clamp(1.7rem, 4vw, 3rem);
}

.space-gallery img {
  aspect-ratio: 3 / 2;
  border-radius: 1rem;
  background: var(--mist);
}

.space-gallery-zoom {
  overflow: hidden;
  border-radius: 1rem;
}

.space-gallery-zoom img {
  border-radius: 0;
  transform: scale(1.2);
}

.space-gallery-zoom--exterior img {
  transform: scale(1.44);
  transform-origin: center 60%;
}

.space-gallery figcaption {
  margin-top: .5rem;
  color: var(--brown);
  font-size: .9375rem;
  font-weight: 700;
}

.day-inner, .visit-inner {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
}

.day-flow > div {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}

.day-flow > div:last-child { border-bottom: 1px solid var(--line); }
.day-flow dt { color: var(--pine); font-weight: 700; }
.day-flow dd strong { color: var(--brown); }
.day-flow dd p { font-size: 1rem; }

.visit { background: var(--mist); }

.visit-inner { row-gap: clamp(1.25rem, 3vw, 2.5rem); }

.visit-details {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 1rem;
  background: var(--white);
  font-style: normal;
}

.visit-phone {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--pine);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.visit-phone:hover { text-decoration: underline; }
.visit-details p { margin-top: .6rem; }

.map-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .375rem;
  color: var(--pine);
  font-weight: 700;
  text-underline-offset: .3em;
}

.visit-map {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(16rem, 32vw, 23rem);
  border: 0;
  border-radius: 1rem;
  background: var(--white);
}

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

.disclosure-inner {
  display: grid;
  gap: 1.5rem;
}

.disclosure-inner .button {
  justify-self: center;
  max-width: 100%;
  text-align: center;
}

.company-layout, .privacy-layout { max-width: 54rem; }

.company-heading, .privacy-heading {
  padding-block: clamp(2.75rem, 6vw, 5rem);
  background: var(--mist);
}

.company-heading h1, .privacy-heading h1 {
  color: var(--brown);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.5;
}

.company-rows > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}

.company-rows > div:first-child { border-top: 1px solid var(--line); }
.company-rows dt { color: var(--brown); font-weight: 700; }
.company-rows a { text-underline-offset: .25em; }

.privacy-layout section + section { margin-top: 2.5rem; }
.privacy-layout section > * + * { margin-top: .75rem; }
.privacy-layout a { text-underline-offset: .25em; }

.privacy-toggle {
  border: 0;
  cursor: pointer;
}

.privacy-toggle[hidden] { display: none; }
.privacy-toggle:focus-visible { outline: 3px solid #28694c; outline-offset: 5px; }

.site-footer { background: var(--white); }

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-block: 1.5rem;
  color: var(--brown);
  font-size: .875rem;
}

.footer-name { font-size: 1rem; font-weight: 700; }
.footer-inner small { font-size: inherit; }

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem 1.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
  text-underline-offset: .25em;
}

@media (max-width: 62.5rem) {
  .home-hero-copy { width: calc(100% - 4rem); grid-template-columns: 51% minmax(0, 49%); }
  .home-hero-lead { font-size: 1.0625rem; }
}

@media (max-width: 47.9375rem) {
  .header-inner { min-height: 5.5rem; }
  .site-nav > a:not(.nav-contact) { display: none; }
  .nav-contact { padding-inline: 1rem; font-size: .875rem; }

  .home-hero { min-height: 690px; align-items: end; }
  .home-hero-copy { display: block; width: 100%; padding: 310px 24px 70px; }
  .home-location { font-size: 1.0625rem; }
  .home-hero h1 { margin-block: 1.125rem; font-size: clamp(1.875rem, 7.5vw, 2.5rem); }
  .home-mobile-break { display: revert; }
  .home-hero-lead { font-size: 1.0625rem; }
  .home-hero-photo img { object-position: 49% center; }
  .home-hero-photo::after {
    background: linear-gradient(180deg, rgba(52, 43, 33, .02) 22%, rgba(52, 43, 33, .36) 43%, rgba(52, 43, 33, .85) 100%);
  }

  .about::before { left: -27rem; width: 52rem; height: 42rem; }
  .about-inner, .day-inner, .visit-inner { grid-template-columns: minmax(0, 1fr); }

  .footer-inner {
    flex-flow: column nowrap;
    align-items: center;
    gap: .5rem;
    padding-block: 1.75rem;
    text-align: center;
  }

  .footer-links { justify-content: center; }
}

@media (max-width: 31.25rem) {
  .space-gallery { gap: 1.25rem .75rem; }
  .space-gallery figcaption { font-size: .875rem; }
  .day-flow > div { grid-template-columns: 4.5rem minmax(0, 1fr); gap: .75rem; }
  .company-rows > div { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
}
