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

:root {
  --cream:  #faf8f4;
  --light:  #f3eee6;
  --line:   #e6ddd2;
  --accent: #b8986a;
  --accent-soft: #e9dcc4;
  --brown:  #6f5a4e;
  --dark:   #2f2724;
  --muted:  #8d7f74;
  --white:  #ffffff;
  --line-green: #06c755;
}
.theme-rose {
  --accent: #c9a8a0;
  --accent-soft: #eddcd7;
  --light: #f5eeea;
  --line: #e8d5cc;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky; top: 0; z-index: 10;
}
.brand { text-decoration: none; line-height: 1.1; }
.brand b {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.32em;
  color: var(--brown);
}
.brand span {
  font-size: 0.66rem; letter-spacing: 0.16em; color: var(--muted);
}
.nav-links { display: flex; gap: 14px; font-size: 0.78rem; letter-spacing: 0.1em; }
.nav-links a { text-decoration: none; color: var(--brown); border-bottom: 1px solid transparent; }
.nav-links a:hover { border-color: var(--accent); }

/* hero */
.hero {
  background: var(--light);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.8;
}
.hero::after {
  content: ''; position: absolute; bottom: -120px; left: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.6;
}
.hero > * { position: relative; }
.eyebrow {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--accent); font-size: 1rem; letter-spacing: 0.2em; margin-bottom: 14px;
}
.eyebrow-ja { font-size: 0.8rem; letter-spacing: 0.22em; color: var(--brown); margin-bottom: 18px; }
.hero h1 {
  font-family: 'Noto Serif JP', serif; font-weight: 400;
  font-size: clamp(1.55rem, 5.2vw, 2.5rem); line-height: 1.65; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); border-bottom: 1px solid var(--accent); }
.hero p.sub { color: var(--brown); font-size: 0.95rem; max-width: 560px; margin: 0 auto 32px; line-height: 2; }
.hero-photo {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 70% 20%;
  margin: 0 auto 22px; border: 4px solid var(--white); box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

/* hero with generated banner image */
.hero-img {
  padding: 0;
  min-height: min(620px, 46vw);
  display: flex; align-items: center;
  text-align: left;
  background: var(--cream);
}
.hero-img::before { display: none; }
.hero-img::after {
  display: block; top: 0; left: 0; bottom: 0; right: 0; width: auto; height: auto;
  border-radius: 0; opacity: 1;
  background: linear-gradient(90deg, rgba(250,248,244,.95) 0%, rgba(250,248,244,.88) 40%, rgba(250,248,244,0) 62%);
}
.hero-img .hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.hero-img .hero-copy {
  position: relative; z-index: 1;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 72px 40px;
}
.hero-img .hero-copy > * { max-width: min(520px, 46%); }
.hero-img p.sub { margin-left: 0; margin-right: 0; }
.hero-img .btn-row { justify-content: flex-start; }
.hero-img .hero-copy > .btn-row { max-width: none; }
.hero-img .hero-photo { margin: 0 0 20px; width: 110px; height: 110px; }
@media (max-width: 900px) {
  .hero-img { display: block; min-height: 0; text-align: center; }
  .hero-img::after { display: none; }
  .hero-img .hero-art {
    position: relative; height: clamp(240px, 52vw, 420px); object-position: 78% center;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
            mask-image: linear-gradient(to bottom, #000 70%, transparent);
  }
  .hero-img .hero-copy { padding: 8px 22px 48px; }
  .hero-img .hero-copy > * { max-width: none; }
  .hero-img p.sub { margin-left: auto; margin-right: auto; }
  .hero-img .btn-row { justify-content: center; }
  .hero-img .hero-photo { margin: -64px auto 16px; position: relative; }
}

/* narrow screens: nothing may overflow */
.nav-links a { white-space: nowrap; }
.doors { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.stats { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.company td { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .nav { padding: 14px 16px; }
  .nav-links { gap: 10px; font-size: 0.72rem; }
  .brand b { font-size: 1.2rem; letter-spacing: 0.24em; }
  section { padding: 56px 18px; }
  .company th, .company td { padding: 12px 10px; display: block; width: 100%; }
  .company th { padding-bottom: 0; border-bottom: none; }
}

/* illustrations */
.door-art { width: 150px; height: 150px; object-fit: contain; margin: -6px auto 10px; display: block; }
.door { text-align: center; }
.sec-art { width: 130px; height: 130px; object-fit: contain; margin: 0 auto 8px; display: block; }
.h2-en {
  padding-bottom: 30px;
  background: url(/images/ornament.webp) center bottom / 210px auto no-repeat;
}

/* two ways: やります / 教えます */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.way {
  display: block; text-decoration: none; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 26px 28px; transition: transform .15s, box-shadow .15s;
}
.way:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.way-learn { background: #fdf6f4; border-color: #ecd6d0; }
.way-art { width: 140px; height: 140px; object-fit: contain; margin: -4px auto 12px; }
.way-label { font-size: .82rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
.way-label b { font-family: 'Noto Serif JP', serif; font-weight: 500; font-size: 1.05rem; color: var(--accent); margin-left: 2px; }
.way-learn .way-label b { color: #c48b8b; }
.way h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.25rem; margin-bottom: 6px; }
.way-for { font-size: .8rem; color: var(--accent); letter-spacing: .06em; margin-bottom: 12px; }
.way-learn .way-for { color: #c48b8b; }
.way p:not(.way-for) { font-size: .88rem; color: var(--brown); margin-bottom: 16px; text-align: left; }
.way-go { font-size: .84rem; letter-spacing: .08em; color: var(--dark); border-bottom: 1px solid var(--accent); }
.way-learn .way-go { border-color: #c48b8b; }

.for-badge {
  display: table; margin: 0 auto 14px; padding: 5px 16px; border-radius: 999px;
  font-size: .76rem; letter-spacing: .08em; color: var(--brown);
  background: var(--white); border: 1px solid var(--accent-soft);
}
.for-badge b { color: var(--accent); font-weight: 500; }
.for-badge.rose { border-color: #ecd6d0; }
.for-badge.rose b { color: #c48b8b; }

/* 教えます section: rose, softer, a little different on purpose */
.learn { background: linear-gradient(180deg, #fbf1ef 0%, #fdf8f6 100%); }
.learn .h2-en { color: #c48b8b; }
.learn-art { width: 170px; height: 170px; }
.learn-card {
  background: var(--white); border: 1px solid #ecd6d0; border-radius: 16px;
  padding: 30px 26px; margin: 8px 0 30px; text-align: center;
  box-shadow: 0 12px 34px rgba(196,139,139,.12);
}
.learn-card .gift {
  display: inline-block; font-family: 'Cormorant Garamond', serif; letter-spacing: .3em;
  color: #fff; background: #c48b8b; border-radius: 999px; padding: 2px 14px 2px 18px; font-size: .8rem;
}
.learn-card h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.25rem; margin: 12px 0 2px; }
.learn-meta { font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
.learn-types { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.learn-types li { background: #fdf6f4; border-radius: 8px; padding: 10px 8px; font-size: .84rem; color: var(--brown); }
.learn-types b { display: block; font-family: 'Cormorant Garamond', serif; color: #c48b8b; font-size: 1.1rem; font-weight: 400; }
.learn-note { font-size: .88rem; color: var(--brown); margin-bottom: 20px; }
.learn-note b { color: var(--dark); font-weight: 500; }
.learn-points { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.learn-points li {
  position: relative; padding: 12px 16px 12px 40px; background: var(--white);
  border-radius: 8px; font-size: .9rem; color: var(--brown);
}
.learn-points li::before { content: '✿'; position: absolute; left: 15px; top: 11px; color: #d7a3a3; }
.learn-band {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  margin-top: 22px; padding: 18px 24px; border-radius: 12px;
  background: linear-gradient(90deg, #fbf1ef, #fdf8f6); border: 1px solid #ecd6d0;
  transition: transform .15s, box-shadow .15s;
}
.learn-band:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(196,139,139,.14); }
.learn-band img { width: 92px; height: 92px; object-fit: contain; flex: none; }
.learn-band-for { font-size: .76rem; letter-spacing: .08em; color: #c48b8b; margin-bottom: 2px; }
.learn-band b { display: block; font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.02rem; line-height: 1.6; color: var(--dark); }
.learn-band span { display: block; font-size: .8rem; color: var(--brown); margin-top: 4px; }
@media (max-width: 520px) {
  .learn-band { flex-direction: column; text-align: center; padding: 20px 18px; }
}
.door p b { font-weight: 500; color: var(--dark); }
.btn.rose { background: #c48b8b; }
.btn.rose:hover { background: #b07575; }

/* Instagram feed tiles */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 760px; margin: 0 auto; }
.ig-tile {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 8px; background: var(--accent-soft);
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-tile:hover img { transform: scale(1.05); }
.ig-badge {
  position: absolute; top: 8px; right: 8px; color: #fff; font-size: .8rem; line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.ig-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 10px 9px; color: #fff;
  font-size: .72rem; line-height: 1.5; letter-spacing: .02em; text-align: left;
  background: linear-gradient(transparent, rgba(47,39,36,.72));
  opacity: 0; transition: opacity .25s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ig-tile:hover .ig-cap { opacity: 1; }
@media (max-width: 520px) { .ig-grid { gap: 5px; } .ig-tile { border-radius: 4px; } .ig-cap { display: none; } }
.lead a { color: var(--brown); }

/* voices */
.voices { display: grid; gap: 18px; }
.voices.cols { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.voice {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 34px 26px 24px; margin: 0;
}
.voice::before {
  content: '\201C'; position: absolute; top: 2px; left: 18px;
  font-family: 'Cormorant Garamond', serif; font-size: 3.6rem; line-height: 1; color: var(--accent-soft);
}
.voice blockquote {
  position: relative; font-family: 'Noto Serif JP', serif; font-size: 1.02rem; line-height: 1.9; color: var(--dark);
  margin: 0 0 16px;
}
.voice figcaption { border-top: 1px solid var(--line); padding-top: 14px; font-size: .82rem; color: var(--brown); line-height: 1.75; }
.voice figcaption b { display: block; font-weight: 500; color: var(--dark); font-size: .88rem; margin-bottom: 2px; }
.voice figcaption span { display: block; }
.voice figcaption a { display: inline-block; margin-top: 8px; font-size: .76rem; color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }

/* Q&A */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 48px 18px 54px; font-family: 'Noto Serif JP', serif; font-size: .98rem; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: 'Q'; position: absolute; left: 20px; top: 14px;
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--accent); line-height: 1.2;
}
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 15px; font-size: 1.2rem; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px 54px; font-size: .9rem; color: var(--brown); }

/* buttons */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--dark); color: #fff;
  padding: 16px 40px; border-radius: 3px;
  font-family: 'Noto Serif JP', serif; font-size: 0.98rem; letter-spacing: 0.14em;
  transition: background .25s, transform .15s;
}
.btn:hover { background: var(--brown); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn.ghost:hover { background: var(--dark); color: #fff; }
.btn.line { background: var(--line-green); }
.btn.line:hover { background: #05a847; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-note { font-size: 0.76rem; color: var(--muted); margin-top: 12px; letter-spacing: 0.06em; }

/* sections */
section { padding: 72px 24px; }
section.tint { background: var(--light); }
.inner { max-width: 880px; margin: 0 auto; }
.inner.narrow { max-width: 680px; }
h2 {
  font-family: 'Noto Serif JP', serif; font-weight: 400;
  font-size: clamp(1.3rem, 3.6vw, 1.7rem); line-height: 1.6;
  text-align: center; margin-bottom: 10px;
}
.h2-en {
  text-align: center; font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--accent); letter-spacing: 0.2em; font-size: 0.95rem; margin-bottom: 40px;
}
.lead { text-align: center; color: var(--brown); font-size: 0.95rem; max-width: 620px; margin: -16px auto 40px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 22px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.stat b { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 2.2rem; color: var(--accent); line-height: 1.1; }
.stat b small { font-size: 1rem; font-family: 'Noto Serif JP', serif; color: var(--brown); margin-left: 2px; }
.stat span { font-size: 0.8rem; color: var(--brown); letter-spacing: 0.08em; }

/* lists */
.pain { list-style: none; display: grid; gap: 12px; }
.pain li {
  background: var(--white); border-left: 3px solid var(--accent);
  padding: 16px 20px; border-radius: 0 4px 4px 0; font-size: 0.95rem;
}
.pain li::before { content: '「'; color: var(--accent); }
.pain li::after { content: '」'; color: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 26px 22px; }
.card .num { font-family: 'Cormorant Garamond', serif; color: var(--accent); font-size: 1.4rem; letter-spacing: 0.1em; margin-bottom: 6px; }
.card h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.08rem; margin-bottom: 10px; line-height: 1.5; }
.card p { font-size: 0.88rem; color: var(--brown); }
.card .tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--accent); border: 1px solid var(--accent-soft); padding: 2px 8px; border-radius: 20px; margin-top: 12px; }

.steps { counter-reset: s; list-style: none; display: grid; gap: 14px; }
.steps li { position: relative; padding: 18px 20px 18px 66px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; font-size: 0.92rem; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; left: 20px; top: 16px;
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--accent); line-height: 1;
}
.steps li b { display: block; font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1rem; margin-bottom: 4px; }

/* profile */
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.profile img { width: 200px; height: 240px; object-fit: cover; object-position: 70% 15%; border-radius: 6px; }
.profile h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.25rem; margin-bottom: 4px; }
.profile .role { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 16px; }
.profile p { font-size: 0.9rem; color: var(--brown); margin-bottom: 12px; }
@media (max-width: 640px) {
  .profile { grid-template-columns: 1fr; }
  .profile img { width: 160px; height: 190px; margin: 0 auto; }
  .profile h3, .profile .role { text-align: center; }
}

/* company table */
.company { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--white); }
.company th, .company td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company th { width: 32%; font-weight: 400; color: var(--muted); letter-spacing: 0.08em; font-size: 0.82rem; }
.company a { color: var(--brown); }

/* diagnosis */
.diag { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px 24px; }
.q { display: none; }
.q.active { display: block; }
.q-num { font-family: 'Cormorant Garamond', serif; color: var(--accent); letter-spacing: 0.2em; font-size: 0.95rem; margin-bottom: 8px; }
.q h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.12rem; line-height: 1.6; margin-bottom: 18px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--cream); border: 1px solid var(--line); border-radius: 6px;
  padding: 14px 16px; font-family: inherit; font-size: 0.92rem; color: var(--dark); line-height: 1.6;
  transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--accent); background: var(--white); }
.progress { height: 3px; background: var(--line); border-radius: 3px; margin-bottom: 22px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .3s; }
.result { display: none; }
.result.active { display: block; }
.result .type-en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); letter-spacing: 0.2em; text-align: center; }
.result h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.35rem; text-align: center; margin: 4px 0 18px; line-height: 1.5; }
.result p { font-size: 0.92rem; color: var(--brown); margin-bottom: 14px; }
.result .box { background: var(--cream); border-radius: 6px; padding: 18px 20px; margin: 16px 0; }
.result .box b { display: block; font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 0.95rem; color: var(--dark); margin-bottom: 8px; }
.result .box ul { padding-left: 1.2em; font-size: 0.9rem; color: var(--brown); }
.result .box ul li { margin-bottom: 4px; }
.retry { display: block; text-align: center; margin-top: 16px; font-size: 0.8rem; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; font-family: inherit; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 6px; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* doors (top page) */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.door {
  display: block; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-radius: 8px; padding: 34px 28px;
  transition: transform .15s, box-shadow .15s;
}
.door:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.door .en { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); letter-spacing: 0.18em; font-size: 0.95rem; }
.door h3 { font-family: 'Noto Serif JP', serif; font-weight: 400; font-size: 1.25rem; margin: 6px 0 12px; line-height: 1.5; }
.door p { font-size: 0.88rem; color: var(--brown); margin-bottom: 18px; }
.door .go { font-size: 0.82rem; letter-spacing: 0.12em; color: var(--dark); border-bottom: 1px solid var(--accent); display: inline-block; }

/* contact */
.contact { text-align: center; }
.contact p { color: var(--brown); font-size: 0.95rem; max-width: 560px; margin: 0 auto 26px; }

/* footer */
footer { padding: 40px 24px 48px; text-align: center; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; }
footer .brand { display: inline-block; margin-bottom: 14px; }
footer .flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 14px; }
footer .flinks a { text-decoration: none; color: var(--brown); }
