* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #20272a;
  background: #f1f0ec;
  overflow-x: hidden;
}

@keyframes asobi-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Phone icon used next to every phone number */
.phone-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* Fixed call button */
.call-fab {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8a6d4a;
  color: #f1f0ec;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s ease;
}
.call-fab:hover { background: #75592f; }

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 3px;
  background: #20272a;
  padding: 3px;
}

/* Tile flip: perspective wrapper > flip card > front/back faces */
.tile-cell { perspective: 500px; }
.tile-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.tile-cell.is-flipped .tile-flip {
  transform: rotateY(180deg);
}
.tile-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  /* ceramic glaze: soft sheen top-left, deeper shade bottom-right, beveled edge */
  background-image: linear-gradient(135deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 26%, rgba(0,0,0,0.16) 78%, rgba(0,0,0,0.32) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.35),
    inset 0 1px 1px rgba(255,255,255,0.35),
    inset 0 -2px 3px rgba(0,0,0,0.35);
}
.tile-back {
  transform: rotateY(180deg);
  /* ponytail: photo goes here later — flex-center kept for a future <img> */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(32,39,42,0.72) 0%, rgba(32,39,42,0.55) 45%, rgba(32,39,42,0.68) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}
.hero-title {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  color: #f1f0ec;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero-subtitle {
  margin-top: 18px;
  font-size: clamp(13px, 2vw, 20px);
  color: #f1f0ec;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.hero-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  background: #8a6d4a;
  color: #f1f0ec;
  text-decoration: none;
  padding: 18px 44px;
  font-size: 20px;
  letter-spacing: 0.06em;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: background 0.2s ease;
}
.hero-cta:hover { background: #75592f; }
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #f1f0ec;
  font-size: 13px;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  width: 1px;
  height: 28px;
  background: #f1f0ec;
  animation: asobi-bounce 1.8s ease-in-out infinite;
}

/* Section reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section { padding: clamp(80px, 12vw, 140px) 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow { font-size: 13px; letter-spacing: 0.2em; color: #8a6d4a; font-weight: 500; }
.eyebrow-dark { color: #a08a5f; }
.heading {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  margin-top: 14px;
  line-height: 1.5;
}
.heading-light { color: #f1f0ec; }

/* ABOUT */
.section-about { max-width: 900px; margin: 0 auto; padding-bottom: 100px; }
.body-text { margin-top: 28px; font-size: 16px; line-height: 2.1; color: #3a3530; }

/* SERVICES */
.section-services { background: #20272a; }
.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-cell { perspective: 1200px; height: 240px; }
.service-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.service-cell.is-flipped .service-flip {
  transform: rotateY(180deg);
}
.service-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
.service-front {
  background-color: #294451;
  background-size: cover;
  background-position: center;
  border: 1px solid #3b5b6b;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,39,42,0.1) 0%, rgba(32,39,42,0.82) 100%);
}
.service-back {
  transform: rotateY(180deg);
  background: #eae3d4;
  border: 1px solid #d8d2c5;
  padding: 28px;
  display: flex;
  align-items: center;
}
.service-title {
  margin: 0;
  position: relative;
  z-index: 1;
  font-family: 'Zen Old Mincho', serif;
  font-size: 19px;
  font-weight: 600;
  color: #f1f0ec;
  line-height: 1.5;
}
.service-hover-hint {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 12px;
  color: #d8d2c5;
  letter-spacing: 0.1em;
}
.service-desc { font-size: 14px; line-height: 1.9; color: #20272a; }

/* ACCESS */
.section-access { max-width: 1000px; margin: 0 auto; padding-bottom: 100px; }
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 40px;
  margin-top: 40px;
}
.access-info { font-size: 15px; line-height: 2.2; color: #3a3530; }
.access-name { font-weight: 500; }
.access-phone { margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.access-map { width: 100%; height: 340px; border: 1px solid #d8d2c5; }
.access-map iframe { width: 100%; height: 100%; border: 0; }

/* CONTACT */
.section-contact { background: #eae3d4; text-align: center; }
.contact-heading {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 600;
  line-height: 1.6;
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  background: #20272a;
  color: #f1f0ec;
  text-decoration: none;
  padding: 22px 56px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.contact-cta:hover { background: #3b5b6b; }
.contact-note { margin-top: 20px; font-size: 13px; color: #6b6459; letter-spacing: 0.05em; }

/* FOOTER */
.footer {
  background: #20272a;
  color: #a89e8c;
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 2;
}
.footer-name {
  color: #f1f0ec;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  margin-bottom: 8px;
}
.footer-phone { display: flex; align-items: center; justify-content: center; gap: 6px; }
.footer-copyright { margin-top: 12px; color: #6f6a5f; }

@media (prefers-reduced-motion: reduce) {
  .tile-flip,
  .service-flip {
    transition: none;
  }
  .scroll-line {
    animation: none;
  }
}
