/* ===================================================================
   張戸伸子 公式サイト — NOBUKO HARITO Official Website
   Tone: 和モダン・上質・静謐 / white-based, noble, refined
   Brand color: #2F4F3F (deep forest green) / gold #B89968
   =================================================================== */

:root {
  --brand: #2f4f3f;
  --brand-deep: #22382d;
  --brand-soft: #6c8475;
  --brand-tint: #f1f4f0;
  --bg: #ffffff;
  --bg-cream: #faf8f4;
  --bg-mist: #f6f5f0;
  --bg-dark: #1d2b23;
  --ink: #2c2c2c;
  --ink-soft: #5f5f5c;
  --ink-faint: #8d8d88;
  --line: #e5e2da;
  --line-gold: #d5c4a6;
  --gold: #b89968;
  --gold-deep: #9c7f4e;

  --font-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-en: "Cormorant Garamond", "Shippori Mincho", serif;

  --maxw: 1180px;
  --maxw-narrow: 860px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 2;
  font-weight: 400;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}

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

a { color: var(--brand); text-decoration: none; transition: opacity .3s ease, color .3s ease; }
a:hover { opacity: .65; }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0.1em; line-height: 1.6; margin: 0; }
p { margin: 0 0 1.2em; }

::selection { background: var(--brand-tint); color: var(--brand-deep); }

/* =========================
   Utility
   ========================= */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 32px; }

.en { font-family: var(--font-en); }

.eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 18px;
}

.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-title {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--brand-deep);
  font-weight: 500;
}
.sec-lead {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.3;
}

.gold-rule {
  width: 56px; height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(184,153,104,0));
  border: 0; margin: 28px 0;
}
.center .gold-rule { margin-left: auto; margin-right: auto;
  background: linear-gradient(to right, rgba(184,153,104,0), var(--gold), rgba(184,153,104,0)); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================
   Header
   ========================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 32px; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; }
.brand-en {
  font-family: var(--font-en); font-size: 19px; font-weight: 500;
  letter-spacing: .3em; color: var(--brand);
}
.brand-jp { font-size: 10.5px; letter-spacing: .34em; color: var(--ink-faint); }

.gnav { display: flex; align-items: center; gap: 26px; }
.gnav a { font-size: 13px; letter-spacing: .16em; color: var(--ink); white-space: nowrap; }
.gnav a.is-current { color: var(--brand); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

.nav-cta {
  border: 1px solid var(--brand); padding: 9px 22px; border-radius: 999px;
  color: var(--brand) !important; transition: all .3s ease;
}
.nav-cta:hover { background: var(--brand); color: #fff !important; opacity: 1; }

/* dropdown */
.nav-drop { position: relative; }
.nav-drop > a::after { content: " ›"; display: inline-block; transform: rotate(90deg) translateX(1px); font-size: 11px; color: var(--gold-deep); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); min-width: 240px;
  padding: 10px 0; opacity: 0; visibility: hidden; transition: all .3s ease;
  box-shadow: 0 18px 44px rgba(34,56,45,.10);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-menu a { display: block; padding: 10px 24px; font-size: 12.5px; }
.nav-drop-menu a:hover { background: var(--bg-cream); opacity: 1; }
.nav-drop-menu .en-sub { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .28em; color: var(--gold-deep); text-transform: uppercase; }

/* hamburger */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 210; padding: 0;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 24px; height: 1px; background: var(--brand);
  transition: all .35s ease;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .gnav {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(250,248,244,.98);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; visibility: hidden; transition: all .4s ease;
  }
  body.nav-open .gnav { opacity: 1; visibility: visible; }
  .gnav a { font-size: 16px; letter-spacing: .22em; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; background: transparent; text-align: center;
  }
  .nav-drop > a { display: none; }
  body.nav-open { overflow: hidden; }
}

/* =========================
   Page hero (subpages)
   ========================= */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(29,43,35,.35), rgba(29,43,35,.72));
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: 120px 32px 110px; text-align: center;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 500; letter-spacing: .14em; }
.page-hero-lead { margin: 26px auto 0; max-width: 640px; font-size: 14.5px; line-height: 2.4; color: rgba(255,255,255,.85); }

/* breadcrumb */
.breadcrumb {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.breadcrumb ol {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 32px;
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 11.5px; letter-spacing: .1em; color: var(--ink-faint);
}
.breadcrumb li + li::before { content: "—"; margin-right: 6px; color: var(--line-gold); }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--brand); opacity: 1; }

/* =========================
   Sections
   ========================= */
.section { padding: 110px 0; }
.section-cream { background: var(--bg-cream); }
.section-mist { background: var(--bg-mist); }
.section-dark { background: var(--bg-dark); color: rgba(255,255,255,.88); }
.section-dark .sec-title { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 40px; font-family: var(--font-jp);
  font-size: 13.5px; letter-spacing: .2em;
  border-radius: 2px; border: 1px solid var(--brand);
  min-width: 250px; cursor: pointer; transition: all .35s ease;
  background: transparent; color: var(--brand);
}
.btn::after { content: "→"; font-family: var(--font-en); font-size: 15px; transition: transform .3s ease; }
.btn:hover::after { transform: translateX(5px); }
.btn:hover { opacity: 1; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-gold { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-light:hover { background: #fff; color: var(--brand-deep); }
.btn-ext::after { content: "↗"; }

/* =========================
   Cards / grids
   ========================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.grid-3 > *, .grid-2 > *, .feature-row > * { min-width: 0; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.img-frame { overflow: hidden; position: relative; }
.img-frame img { transition: transform 1.4s cubic-bezier(.19,1,.22,1); width: 100%; height: 100%; object-fit: cover; }
a:hover .img-frame img, .img-frame:hover img { transform: scale(1.045); }

/* service card */
.svc-card { display: block; color: var(--ink); background: #fff; border: 1px solid var(--line); }
.svc-card:hover { opacity: 1; box-shadow: 0 24px 60px rgba(34,56,45,.10); }
.svc-card .img-frame { aspect-ratio: 4 / 3; }
.svc-card-body { padding: 34px 32px 38px; }
.svc-card-no {
  font-family: var(--font-en); font-size: 12px; letter-spacing: .34em;
  color: var(--gold-deep); text-transform: uppercase;
}
.svc-card-title { font-size: 21px; color: var(--brand-deep); margin: 12px 0 6px; }
.svc-card-sub { font-size: 12px; color: var(--ink-faint); letter-spacing: .14em; }
.svc-card-text { font-size: 13.5px; color: var(--ink-soft); line-height: 2.1; margin: 18px 0 22px; }
.svc-card-more {
  font-family: var(--font-en); font-size: 12px; letter-spacing: .3em;
  color: var(--brand); text-transform: uppercase;
}
.svc-card-more::after { content: " →"; }

/* =========================
   Tables (概要・料金)
   ========================= */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 20px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 30%; font-weight: 500; color: var(--brand-deep); letter-spacing: .12em; white-space: nowrap; }
.spec-table td { color: var(--ink-soft); }
.spec-table .price { font-family: var(--font-en); font-size: 17px; color: var(--ink); letter-spacing: .06em; }

.price-note { font-size: 12px; color: var(--ink-faint); margin-top: 14px; }

/* menu card (energy) */
.menu-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.menu-card .img-frame { aspect-ratio: 1 / 1; }
.menu-card-body { padding: 30px 28px 34px; flex: 1; display: flex; flex-direction: column; }
.menu-card-title { font-size: 19px; color: var(--brand-deep); }
.menu-card-en { font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: var(--gold-deep); text-transform: uppercase; margin-top: 6px; display: block; }
.menu-card-text { font-size: 13.5px; color: var(--ink-soft); line-height: 2.1; margin: 16px 0 20px; flex: 1; }
.menu-card-price {
  border-top: 1px solid var(--line); padding-top: 16px;
  font-size: 13px; color: var(--ink-soft); letter-spacing: .1em;
}
.menu-card-price strong { font-family: var(--font-en); font-size: 19px; font-weight: 500; color: var(--brand-deep); letter-spacing: .04em; }

/* =========================
   Gallery
   ========================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery .img-frame { aspect-ratio: 1 / 1; }
.gallery figcaption {
  font-size: 12px; letter-spacing: .14em; color: var(--ink-soft);
  margin-top: 12px; text-align: center;
}
.gallery figure { margin: 0; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* =========================
   Feature rows (image + text)
   ========================= */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.feature-row + .feature-row { margin-top: 100px; }
.feature-row .img-frame { aspect-ratio: 4 / 3; }
.feature-row.rev .feature-media { order: 2; }
.feature-title { font-size: 23px; color: var(--brand-deep); margin-bottom: 20px; }
.feature-text { font-size: 14.5px; color: var(--ink-soft); line-height: 2.3; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.rev .feature-media { order: 0; }
  .feature-row + .feature-row { margin-top: 64px; }
}

/* =========================
   CTA band
   ========================= */
.cta-band { position: relative; overflow: hidden; background: var(--bg-dark); color: #fff; text-align: center; }
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(29,43,35,.55), rgba(29,43,35,.78)); }
.cta-band-inner { position: relative; z-index: 1; padding: 110px 32px; max-width: 760px; margin: 0 auto; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band-title { font-size: clamp(24px, 3vw, 34px); letter-spacing: .16em; font-weight: 500; }
.cta-band-text { margin: 26px 0 44px; font-size: 14.5px; line-height: 2.4; color: rgba(255,255,255,.85); }
.cta-band-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* =========================
   News / event list
   ========================= */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 130px 92px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); color: var(--ink);
}
.news-item:hover { opacity: 1; background: var(--bg-cream); }
.news-date { font-family: var(--font-en); font-size: 14px; letter-spacing: .14em; color: var(--ink-faint); }
.news-badge {
  font-size: 10.5px; letter-spacing: .18em; text-align: center;
  border: 1px solid var(--gold-deep); color: var(--gold-deep); padding: 4px 0; border-radius: 999px;
}
.news-badge.closed { border-color: var(--ink-faint); color: var(--ink-faint); }
.news-title { font-size: 14.5px; letter-spacing: .08em; }
.news-arrow { font-family: var(--font-en); color: var(--gold-deep); }
@media (max-width: 720px) {
  .news-item { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 6px 16px; }
  .news-title { grid-column: 1 / -1; }
}

/* event / blog cards */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.post-card:hover { opacity: 1; box-shadow: 0 20px 50px rgba(34,56,45,.09); }
.post-card .img-frame { aspect-ratio: 16 / 10; background: var(--bg-mist); }
.feed-noimg {
  height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-mist), var(--brand-tint));
  font-family: var(--font-en); font-size: 13px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold-deep);
}
.post-card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.post-card-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-faint); }
.post-card-meta .news-badge { padding: 3px 14px; }
.post-card-title { font-size: 16px; line-height: 1.9; color: var(--ink); flex: 1; }
.post-card-excerpt { font-size: 13px; color: var(--ink-soft); line-height: 2; }

/* =========================
   Forms
   ========================= */
.form { display: grid; gap: 30px; }
.form-field label { display: block; font-size: 14px; letter-spacing: .12em; color: var(--brand-deep); margin-bottom: 10px; }
.req, .opt {
  font-size: 10px; letter-spacing: .16em; padding: 2px 10px; border-radius: 999px;
  margin-left: 10px; vertical-align: 2px;
}
.req { background: var(--brand); color: #fff; }
.opt { border: 1px solid var(--line); color: var(--ink-faint); }
.form input[type=text], .form input[type=email], .form input[type=tel],
.form select, .form textarea {
  width: 100%; padding: 15px 16px; font-family: var(--font-jp); font-size: 15px;
  border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink);
  transition: border-color .3s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--brand-soft);
}
.form textarea { min-height: 200px; resize: vertical; }
.form-agree { font-size: 13.5px; }
.form-agree input { margin-right: 10px; accent-color: var(--brand); }
.form-error { color: #a4442e; font-size: 12px; margin-top: 6px; display: none; }
.form-field.has-error .form-error { display: block; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #c07a63; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* =========================
   Footer
   ========================= */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.78); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 80px 32px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand-en { font-family: var(--font-en); font-size: 22px; letter-spacing: .3em; color: #fff; }
.footer-brand-jp { font-size: 11px; letter-spacing: .3em; margin-top: 6px; color: rgba(255,255,255,.6); }
.footer-tag { margin-top: 24px; font-size: 13px; letter-spacing: .2em; color: var(--gold); }
.footer-col h4 {
  font-family: var(--font-en); font-size: 12px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: 13px; letter-spacing: .12em; }
.footer-col a:hover { color: #fff; opacity: 1; }
.footer-sns { display: flex; gap: 18px; margin-top: 28px; }
.footer-sns a { font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; color: rgba(255,255,255,.7); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 32px; font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: rgba(255,255,255,.5); font-size: 11px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }

/* to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-gold); background: rgba(255,255,255,.92);
  color: var(--gold-deep); font-family: var(--font-en); font-size: 18px;
  cursor: pointer; opacity: 0; visibility: hidden; transition: all .4s ease;
  display: flex; align-items: center; justify-content: center;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); }

/* note / disclaimer */
.note-box {
  border: 1px solid var(--line-gold); background: #fff;
  padding: 28px 32px; font-size: 12.5px; color: var(--ink-soft); line-height: 2.1;
}
.note-box strong { color: var(--brand-deep); font-weight: 500; }

/* legal pages */
.legal-body h2 { font-size: 19px; color: var(--brand-deep); margin: 56px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 14px; color: var(--ink-soft); line-height: 2.2; }
.legal-body ul { padding-left: 22px; }
.legal-body th { font-size: 13.5px; }

/* responsive base */
@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  .section { padding: 72px 0; }
  .page-hero-inner { padding: 84px 22px 76px; }
  .btn { min-width: 220px; padding: 15px 30px; }
  .spec-table th { width: 34%; white-space: normal; }
}
