/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { min-width: 320px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== TOKENS ===== */
:root {
  --primary:       #DDA4AC;
  --primary-light: #F0CED2;
  --primary-pale:  #F8ECEE;
  --accent:        #527962;
  --accent-deep:   #385744;
  --accent-light:  #82A18D;
  --dark:          #2E322F;
  --cream:         #F8F6F1;
  --paper:         #FFFDF9;
  --line:          rgba(46, 50, 47, .13);
  --text-dark:     #343936;
  --text-mid:      #626A65;
  --text-light:    #929892;
  --red:           #C5382A;

  --radius:      4px;
  --header-h:    88px;
  --transition:  .45s cubic-bezier(.22, 1, .36, 1);
  --font-en:     'Zen Maru Gothic', sans-serif;
  --font-ja:     'Zen Maru Gothic', 'Hiragino Sans', sans-serif;
  --section-pad: clamp(8rem, 10.5vw, 11rem) 0;
  --content-w:   1200px;
  --content-pad: 0 56px;
}

@media screen and (max-width: 1239px) and (min-width: 901px) {
  html { font-size: calc(16 / 1240 * 100vw); }
}
@media screen and (max-width: 900px) {
  html { font-size: calc(16 / 390 * 100vw); }
}

body {
  font-family: var(--font-ja);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.9;
  letter-spacing: .035em;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
body.drawer-open { overflow: hidden; }

/* ===== TYPOGRAPHY ===== */
.en-hero {
  font-family: var(--font-en);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.1;
}
.en-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.en-label::before {
  content: '';
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}
.en-heading {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: .08em;
}
.ja-heading {
  font-family: var(--font-ja);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.65;
}
.ja-body {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.25;
  letter-spacing: .045em;
  color: var(--text-mid);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--content-pad);
}
.container--narrow { max-width: 860px; }
.section { padding: var(--section-pad); }
.section__title { margin: 14px 0 clamp(2.8rem, 5vw, 4.5rem); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ja);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 16px 30px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn.btn--sm { font-size: .8rem; padding: 11px 20px; }
.btn.btn--lg { font-size: 1.1rem; padding: 20px 42px; }
.btn--tel {
  flex-direction: column;
  gap: 3px;
  min-width: 280px;
  background: var(--accent);
  color: #fff;
  padding: 22px 44px;
  box-shadow: 0 16px 38px rgba(56, 87, 68, .18);
}
.btn--tel:hover {
  background: var(--accent-deep);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(56, 87, 68, .24);
}
.btn--tel__small { font-size: .72rem; font-weight: 500; letter-spacing: .14em; }
.btn--tel__num {
  font-family: var(--font-en);
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: .05em;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 110;
  background: rgba(255, 253, 249, .9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: var(--transition);
}
.header.is-scrolled {
  background: rgba(255, 253, 249, .97);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.header__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: auto;
  line-height: 1.15;
}
.header__logo-en {
  margin-bottom: 5px;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--text-light);
}
.header__logo-mark {
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .09em;
  color: var(--accent);
}
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav-link {
  position: relative;
  padding: 10px 0;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-dark);
  transition: color .25s;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.header__nav-link:hover { color: var(--accent); }
.header__nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.header__tel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.header__tel:hover { background: var(--accent-deep); }
.header__tel-icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.header__tel-copy { display: flex; flex-direction: column; line-height: 1.15; }
.header__tel-label { font-size: .65rem; font-weight: 500; letter-spacing: .14em; opacity: .86; }
.header__tel-number { margin-top: 4px; font-family: var(--font-en); font-size: .92rem; letter-spacing: .04em; }
.header__tel-arrow { margin-left: 4px; font-size: 1.1rem; }
.header__burger {
  position: relative;
  z-index: 113;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-left: 1px solid var(--line);
}
.header__burger-lines { position: relative; width: 26px; height: 9px; }
.header__burger-lines i {
  position: absolute;
  left: 0;
  width: 26px;
  height: 1px;
  background: var(--accent-deep);
  transition: var(--transition);
}
.header__burger-lines i:first-child { top: 0; }
.header__burger-lines i:last-child { bottom: 0; }
.header__burger-label {
  font-family: var(--font-en);
  font-size: .52rem;
  letter-spacing: .18em;
  color: var(--text-mid);
}
.header__burger.is-open .header__burger-lines i:first-child { top: 4px; transform: rotate(45deg); }
.header__burger.is-open .header__burger-lines i:last-child { bottom: 4px; transform: rotate(-45deg); }
.header__burger.is-open .header__burger-label { opacity: 0; }

/* ===== DRAWER ===== */
.drawer-overlay {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 101;
  background: rgba(30, 35, 31, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: var(--header-h);
  right: 0;
  z-index: 102;
  width: min(680px, 92vw);
  height: calc(100dvh - var(--header-h));
  background: var(--paper);
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__inner { min-height: 100%; padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 6vw, 5rem); }
.drawer__eyebrow {
  margin-bottom: 34px;
  font-family: var(--font-en);
  font-size: .62rem;
  letter-spacing: .28em;
  color: var(--text-light);
}
.drawer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 46px;
  border-top: 1px solid var(--line);
}
.drawer__link {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
  transition: color .25s, padding var(--transition);
}
.drawer__link:hover { color: var(--accent); padding-left: 8px; }
.drawer__num { font-family: var(--font-en); font-size: .64rem; color: var(--text-light); }
.drawer__link-copy { display: flex; flex-direction: column; }
.drawer__link-copy strong { font-size: 1.05rem; font-weight: 500; letter-spacing: .07em; }
.drawer__link-copy small {
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: .58rem;
  letter-spacing: .18em;
  color: var(--text-light);
}
.drawer__arrow { font-size: 1rem; color: var(--accent); }
.drawer__contact {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: 28px 32px;
  background: var(--accent);
  color: #fff;
}
.drawer__contact-label { font-size: .78rem; letter-spacing: .1em; opacity: .86; }
.drawer__contact-tel {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.drawer__contact-tel svg { width: 21px; height: 21px; }
.drawer__contact-tel strong { font-family: var(--font-en); font-size: clamp(1.65rem, 4vw, 2.2rem); letter-spacing: .05em; }
.drawer__contact-hours { margin-top: 4px; padding-left: 38px; font-size: .7rem; letter-spacing: .08em; opacity: .8; }

/* ===== MOBILE PHONE CTA ===== */
.tel-bar { display: none; }

/* ===== FOOTER ===== */
.footer {
  background: var(--accent-deep);
  color: #fff;
  padding: clamp(5.5rem, 9vw, 8rem) 0 30px;
}
.footer__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--content-pad);
  display: grid;
  grid-template-columns: 1.4fr .7fr auto;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.footer__name { font-size: 1.3rem; font-weight: 500; letter-spacing: .1em; margin-bottom: 20px; }
.footer__addr { font-size: .78rem; line-height: 1.9; letter-spacing: .06em; opacity: .82; margin-bottom: 3px; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-size: .78rem; letter-spacing: .06em; opacity: .82; transition: opacity .25s; }
.footer__nav a:hover { opacity: 1; }
.footer__tel {
  min-width: 250px;
  background: var(--paper);
  color: var(--accent-deep);
  box-shadow: none;
  font-size: .9rem;
}
.footer__tel:hover { background: #fff; color: var(--accent-deep); }
.footer__copy {
  text-align: center;
  font-family: var(--font-en);
  font-size: .62rem;
  letter-spacing: .16em;
  opacity: .58;
  margin-top: clamp(4rem, 7vw, 6rem);
}

/* ===== REVEAL ===== */
.fi { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s var(--transition); }
.fi.visible { opacity: 1; transform: translateY(0); }
.fi-d1 { transition-delay: .1s; }
.fi-d2 { transition-delay: .2s; }
.fi-d3 { transition-delay: .3s; }
.fi-d4 { transition-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .header__nav { display: none; }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
    --section-pad: 7.5rem 0;
    --content-pad: 0 26px;
  }
  body { padding-bottom: 72px; }
  .container--narrow { max-width: 100%; }
  .section__title { margin-bottom: 3.2rem; }
  .ja-heading { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
  .ja-body { line-height: 2.15; }

  .header__inner { padding: 0 16px 0 24px; gap: 10px; }
  .header__logo-en { font-size: .5rem; margin-bottom: 4px; }
  .header__logo-mark { font-size: 1.3rem; }
  .header__tel { display: none; }
  .header__burger { width: 54px; height: 54px; flex-basis: 54px; border-left: none; }

  .drawer-overlay { inset: var(--header-h) 0 0; }
  .drawer { width: 100%; }
  .drawer__inner { padding: 38px 26px 120px; }
  .drawer__eyebrow { margin-bottom: 24px; }
  .drawer__nav { grid-template-columns: 1fr; }
  .drawer__link { min-height: 76px; grid-template-columns: 30px 1fr auto; }
  .drawer__link-copy strong { font-size: 1rem; }
  .drawer__contact { padding: 24px 22px; }
  .drawer__contact-tel strong { font-size: 1.75rem; }

  .tel-bar {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 13px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 109;
    background: var(--accent);
    color: #fff;
    padding: 0 22px;
    box-shadow: 0 -8px 24px rgba(46, 50, 47, .12);
  }
  .tel-bar__icon { width: 1.25rem; height: 1.25rem; }
  .tel-bar__text { display: flex; align-items: baseline; gap: 11px; }
  .tel-bar__text small { font-size: .7rem; letter-spacing: .09em; opacity: .86; }
  .tel-bar__text strong { font-family: var(--font-en); font-size: 1.16rem; letter-spacing: .04em; }
  .tel-bar__arrow { font-size: 1.1rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 38px; }
  .footer__tel { width: 100%; }
}

@media (max-width: 420px) {
  .tel-bar__text { flex-direction: column; gap: 0; line-height: 1.25; }
  .tel-bar__text strong { font-size: 1.08rem; }
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  opacity: 1;
  transition: opacity .65s ease;
  pointer-events: none;
}
.page-transition.is-hidden { opacity: 0; }
.page-transition.is-leaving { opacity: 1; transition: opacity .38s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
