/* 堀越陶房 — 参考: 別注家具製作所風 ミニマル・クラフト */
:root {
  --ink: #1a1a1a;
  --ink-soft: #2d2d2d;
  --stone: #6b6560;
  --sand: #e8e4dc;
  --clay: #c4a882;
  --white: #faf8f5;
  --line: rgba(26, 26, 26, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --font-en: "DM Sans", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.7;
}

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

/* —— Layout —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .site-logo {
  margin-right: auto;
}

.site-logo {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-logo span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 0.2rem;
  color: var(--stone);
}

.nav-desktop {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-desktop a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.nav-desktop a.is-active {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--white);
  opacity: 1;
}

.nav-desktop a.nav-cta[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
}

.lang-switch__btn {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.65rem;
  border: none;
  background: transparent;
  color: var(--stone);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch__btn.is-active {
  background: var(--ink);
  color: var(--white);
}

.lang-switch__btn:not(.is-active):hover {
  color: var(--ink);
}

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

  .menu-toggle {
    display: block;
  }

  .site-header.nav-open .nav-desktop {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem;
    gap: 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
}

main {
  padding-top: 5rem;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}

.section--tight {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

/* —— Hero —— */
.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
}

.hero__visual {
  position: relative;
  min-height: 42vh;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.5) 0%, transparent 55%);
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.hero__tag {
  font-family: var(--font-en);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin: 0 0 1.25rem;
}

.hero__lead {
  font-size: 0.95rem;
  color: rgba(250, 248, 245, 0.75);
  max-width: 28em;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  border: 1px solid currentColor;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn--primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn--primary:hover {
  background: transparent;
  color: var(--white);
  opacity: 1;
}

.btn--ghost {
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__visual {
    min-height: 38vh;
    order: -1;
  }

  .hero__visual::after {
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, 0.65));
  }
}

/* —— Statement strip —— */
.statement {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-bottom: 1px solid var(--line);
}

.statement__en {
  font-family: var(--font-en);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 0.75rem;
}

.statement__jp {
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: 0.08em;
  margin: 0;
  font-weight: 500;
}

/* —— Index cards —— */
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.index-card {
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transition: background 0.3s var(--ease);
}

.index-card:hover {
  background: var(--sand);
}

.index-card__num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--clay);
  margin-bottom: 0.75rem;
}

.index-card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.index-card__text {
  font-size: 0.85rem;
  color: var(--stone);
  margin: 0 0 1rem;
  line-height: 1.65;
}

.link-more {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  display: inline-block;
}

@media (max-width: 768px) {
  .index-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Page header —— */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: clamp(4rem, 12vw, 7rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vw, 5rem);
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1rem;
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.page-hero__lead {
  max-width: 36em;
  margin: 0;
  color: rgba(250, 248, 245, 0.72);
  font-size: 0.95rem;
}

/* —— Split section —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.split__img {
  overflow: hidden;
}

.split__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.split__body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.split__body p {
  color: var(--stone);
  margin: 0 0 1rem;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* —— List blocks —— */
.list-blocks {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.list-block {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
}

.list-block__num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--clay);
}

.list-block h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.list-block p {
  margin: 0;
  color: var(--stone);
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .list-block {
    grid-template-columns: 1fr;
  }
}

/* —— Experience pricing —— */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  border: 1px solid var(--line);
  padding: 1.75rem;
  background: var(--white);
}

.card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
}

.card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--stone);
}

.card .note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--clay);
  letter-spacing: 0.05em;
}

/* —— Access —— */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.access-dl {
  margin: 0;
}

.access-dl dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin-top: 1.25rem;
}

.access-dl dt:first-child {
  margin-top: 0;
}

.access-dl dd {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.map-wrap {
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 900px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Contact —— */
.form {
  max-width: 520px;
  margin-top: 2rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--stone);
  margin-bottom: 0.45rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
}

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

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--clay);
}

.form-actions {
  margin-top: 1.75rem;
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  cursor: pointer;
}

.btn--dark:hover {
  background: var(--ink-soft);
  opacity: 1;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* —— Footer —— */
.site-footer {
  padding: 3rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--sand);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin: 0;
}

/* —— Language (EN body) —— */
html[lang="en"] body {
  font-family: var(--font-en), var(--font-sans);
}

/* —— Demo booking calendar —— */
.booking-cal-section {
  margin-top: 2rem;
}

.booking-cal-section__head {
  margin-bottom: 1.25rem;
}

.booking-cal-section__head h2 {
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.booking-cal-section__head p {
  margin: 0;
  color: var(--stone);
  font-size: 0.88rem;
  max-width: 42em;
}

.booking-cal {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.booking-cal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.booking-cal__month {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.booking-cal__nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s var(--ease);
}

.booking-cal__nav:hover {
  background: var(--sand);
}

.booking-cal__gridhead,
.booking-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.booking-cal__gridhead {
  margin-bottom: 0.35rem;
}

.booking-cal__weekday {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--stone);
  padding: 0.25rem 0;
}

.booking-cal__cell--empty {
  min-height: 2.5rem;
}

.booking-cal__day {
  min-height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.25rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.booking-cal__daynum {
  font-size: 0.85rem;
  font-weight: 600;
}

.booking-cal__day:hover:not(:disabled) {
  background: var(--sand);
}

.booking-cal__day.is-selected {
  border-color: var(--ink);
  background: var(--sand);
}

.booking-cal__day--past,
.booking-cal__day--full {
  opacity: 0.38;
  cursor: not-allowed;
}

.booking-cal__badge {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.booking-cal__slots {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.booking-cal__slots-title {
  width: 100%;
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.booking-cal__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--stone);
}

.booking-cal__slot {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.booking-cal__slot:hover {
  background: var(--sand);
}

.booking-cal__slot.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.booking-cal__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.booking-cal__btn-main {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.booking-cal__btn-sub {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
}

.booking-cal__btn-sub:hover {
  background: var(--sand);
}
