:root {
  --bg: #F8F3F1;
  --bg-light: #FFFDFC;
  --bg-pink: #F3D7DA;
  --bg-sage: #A9B8A6;
  --text: #403A39;
  --text-sub: #6A5752;
  --btn: #6A5752;
  --btn-hover: #403A39;
  --line-pink: #E8BFC5;
  --line-rose: #C9969E;
  --line-greige: #A9B8A6; /* 名前は旧来のまま。色は Sage */
  --line-soft: #EBDAD6;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --header-h: 64px;
  --btn-bg: var(--btn);
  --btn-bg-hover: var(--btn-hover);
  --btn-rim: inset 0 2px 0 rgba(255, 255, 255, .3), inset 0 -4px 0 rgba(0, 0, 0, .14);
  --gutter: clamp(30px, 8vw, 140px);
  --section-y: clamp(72px, 10vw, 128px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  line-break: strict;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--btn);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: #fff;
}
.skip:focus { left: 16px; }

.container {
  width: 100%;
  max-width: calc(1080px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  scroll-margin-top: var(--header-h);
}

.label {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--text-sub);
  font-size: 12px;
  letter-spacing: .22em;
  line-height: 1.4;
}
.label__no { font-family: var(--font-serif); font-size: 20px; letter-spacing: .1em; }
.label__no::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin: 0 16px;
  background: var(--line-greige);
  vertical-align: middle;
}

.h2 {
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.6;
  letter-spacing: .05em;
}

p + p { margin-top: 1.2em; }

/* ---------- Header ---------- */
.site-header {
  position: static; /* メニューが動く状態（.js-ready）になってから、上に固定する */
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.js-ready .site-header { position: sticky; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  max-width: calc(1080px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.logo__img { width: 172px; height: auto; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  justify-content: center;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  letter-spacing: .1em;
  cursor: pointer;
}
/* 「メニュー」の文字は画面には出さず、読み上げ用に残す */
.menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.menu-btn__bars { position: relative; width: 22px; height: 10px; }
.menu-btn__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.menu-btn__bars i:first-child { top: 0; }
.menu-btn__bars i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { top: 4px; transform: rotate(20deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { top: 4px; transform: rotate(-20deg); }

.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  letter-spacing: .16em;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 899px) {
  /* JS なし・読み込み失敗時: メニューを畳まず、ヘッダーの下に折り返して並べる */
  .site-header__inner { flex-wrap: wrap; padding-block: 4px; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-wrap: wrap; gap: 0 20px; }

  /* JS が動く状態: 開閉式のメニュー */
  .js-ready .site-header__inner { flex-wrap: nowrap; padding-block: 0; }
  .js-ready .menu-btn { display: inline-flex; }
  .js-ready .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
  }
  .js-ready .site-nav.is-open { display: block; }
  .js-ready .site-nav ul { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .js-ready .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .js-ready .site-nav li:last-child { border-bottom: 0; }
  .js-ready .site-nav a { width: 100%; min-height: 52px; font-size: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 36px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font: inherit;
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--btn-rim);
  transition: background-color .2s ease;
}
.btn:hover { background: var(--btn-bg-hover); }
.btn__arrow { display: inline-block; margin-left: 2px; transition: transform .2s ease; }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: rotate(90deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 8vw, 96px) 32px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 5.3vw, 53px);
  line-height: 1.55;
  letter-spacing: .05em;
}
.hero__lead { margin-top: 28px; max-width: 30em; font-size: clamp(14px, 1.6vw, 16px); }
.hero__actions { margin-top: 40px; }
.hero__art { position: relative; width: min(100%, 420px); margin-inline: auto; }
.hero__art svg { display: block; width: 100%; }
.deco { pointer-events: none; user-select: none; }
.deco--hero-lavender { position: absolute; left: 1%; bottom: 0; width: 21%; }
.deco--hero-poppy { position: absolute; right: 0; bottom: 0; width: 13%; }
.has-deco { position: relative; }
.deco--service, .deco--approach, .deco--flow, .deco--contact { display: none; }
.hero__photo {
  position: absolute;
  left: 19.8%;
  top: 7.5%;
  width: 68.8%;
  height: 92.5%;
  object-fit: cover;
  object-position: 45% 20%;
  border-radius: 999px 999px 0 0;
}
.hero__scroll { margin-top: 40px; color: var(--text-sub); font-size: 11px; letter-spacing: .3em; }
.hero__scroll span { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero__scroll span::after { content: ""; width: 1px; height: 48px; background: var(--line-greige); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__art { width: 100%; max-width: 480px; margin-right: 0; }
}

/* ---------- Dividers ---------- */
.divider { display: block; position: relative; margin-bottom: -1px; line-height: 0; }
.divider svg { display: block; }

.divider--wave { background: var(--from); color: var(--to); }
.divider--wave svg { width: 100%; height: clamp(20px, 3.4vw, 44px); }
.divider--wave path { fill: currentColor; }

.divider--pointer { height: 72px; background: linear-gradient(var(--from) 50%, var(--to) 50%); }
.divider--pointer svg { position: absolute; left: 50%; top: 0; width: 240px; height: 72px; transform: translateX(-50%); }
.divider--pointer path { fill: var(--from); }

/* ---------- About ---------- */
.about { background: var(--bg-light); }
.about__grid { display: grid; gap: 48px; }
.profile { position: relative; max-width: 320px; }
.profile::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 160px 160px 0 0;
  background: #F3D7DA;
}
.profile__photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 160px 160px 0 0;
  background: var(--bg-pink);
  color: var(--text-sub);
  font-size: 12px;
  letter-spacing: .2em;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__body { max-width: 36em; }
.about__hello {
  margin-bottom: 1.6em;
  padding-left: 20px;
  border-left: 2px solid var(--line-pink);
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
}
.about__sign { margin-top: 2em; font-family: var(--font-serif); font-size: 18px; letter-spacing: .1em; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 320px 1fr; gap: 88px; align-items: start; }
}

/* ---------- Works ---------- */
.works { background: var(--bg-light); }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head .h2 { margin-bottom: 16px; }
.section-head__note { color: var(--text-sub); font-size: 14px; }

.works { padding-block: clamp(96px, 13vw, 176px); }
.works .section-head { margin-bottom: clamp(56px, 8vw, 96px); }
.works__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px 28px; }
.work figure { position: relative; }
.work figure::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 100%;
  aspect-ratio: 1;
  background: #F3D7DA;
}
.work:nth-child(even) figure::before { background: #A9B8A6; }
.work img { position: relative; width: 100%; aspect-ratio: 1; background: var(--bg-pink); }
.work figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.work__en { color: var(--text-sub); font-size: 11px; letter-spacing: .2em; }
.work__title { font-family: var(--font-serif); font-size: 18px; letter-spacing: .05em; }
.work__meta { color: var(--text-sub); font-size: 13px; letter-spacing: .08em; }
.work__points { margin-top: 28px; padding: 16px 20px 6px; background: #FAEEEF; border-top: 4px solid #F3D7DA; }
.work:nth-child(even) .work__points { background: #EEF2EC; border-top-color: #A9B8A6; }
.work__points dl { display: grid; gap: 8px; margin: 0; }
.work__points dt { color: var(--text-sub); font-size: 12px; letter-spacing: .14em; text-decoration: underline; text-underline-offset: 4px; }
.work__points dd { margin: 0; font-size: 14px; line-height: 1.75; }
.work__more { margin-top: 4px; }
.work__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  color: var(--btn);
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
  list-style: none;
}
.work__more summary::-webkit-details-marker { display: none; }
.work__more summary::after { content: "+"; font-size: 18px; line-height: 1; }
.work__more[open] summary { justify-content: flex-end; }
.work__more[open] summary span { display: none; }
.work__more[open] summary::after { content: "閉じる −"; font-size: 13px; letter-spacing: .06em; }
.work__more[open] dl { padding-bottom: 14px; }
.work--site a { display: block; color: inherit; text-decoration: none; }
.work--site figure::before, .work--site img { aspect-ratio: 8 / 5; }
.work--site img { object-fit: cover; }
.work__link { margin-top: 8px; color: var(--btn); font-size: 13px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; }
.work--site a:hover .work__link { color: var(--text); }

@media (min-width: 640px) { .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .works__grid { gap: 112px 120px; }
  .works__grid .work:nth-child(even) { margin-top: 80px; }
}

/* ---------- Service ---------- */
.service { background: var(--bg-pink); }
.service__row { display: grid; gap: 12px; padding-block: 32px; border-top: 1px solid var(--line-rose); }
.service__row:last-child { border-bottom: 1px solid var(--line-rose); }
.service dt { font-family: var(--font-serif); font-size: 26px; line-height: 1.6; letter-spacing: .06em; }
.service__en { display: block; margin-bottom: 4px; color: var(--text-sub); font-family: var(--font-sans); font-size: 11px; letter-spacing: .2em; }
.service dd { margin: 0; max-width: 36em; font-size: 15px; }
.service__price { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; font-family: var(--font-serif); font-size: 22px; letter-spacing: .06em; }
.service__price-label { color: var(--text-sub); font-family: var(--font-sans); font-size: 12px; letter-spacing: .2em; }
.service__note { margin-top: 24px; color: var(--text-sub); font-size: 14px; }

@media (min-width: 720px) {
  .service__row { grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
}

/* ---------- Approach ---------- */
.approach { background: var(--bg-light); }
.approach__grid { display: grid; gap: 40px; }
.approach__list li { padding-block: 28px; border-top: 1px solid var(--line-pink); }
.approach__list li:last-child { border-bottom: 1px solid var(--line-pink); }
.approach__list h3 { margin-bottom: 10px; font-family: var(--font-serif); font-weight: 500; font-size: 20px; line-height: 1.7; letter-spacing: .05em; }
.approach__list p { font-size: 15px; }

@media (min-width: 900px) {
  .approach__grid { grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: start; }
  .approach__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Flow ---------- */
.flow { background: var(--bg-light); }
.flow__list { display: grid; gap: 0; }
.flow__list li { position: relative; padding: 0 0 32px 64px; }
.flow__list li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  width: 1px;
  background: var(--line-pink);
}
.flow__list li:last-child { padding-bottom: 0; }
.flow__list li:last-child::before { display: none; }
.flow__no {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-pink);
  border-radius: 50%;
  color: var(--text-sub);
  font-family: var(--font-serif);
}
.flow__list h3 { margin-bottom: 6px; font-family: var(--font-serif); font-weight: 500; font-size: 19px; line-height: 40px; letter-spacing: .05em; }
.flow__list p { font-size: 15px; }

@media (min-width: 900px) {
  .flow__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
  .flow__list li { padding: 56px 0 0; }
  .flow__list li::before { left: 52px; right: -32px; top: 20px; bottom: auto; width: auto; height: 1px; }
  .flow__list li:nth-child(3n)::before { right: 0; }
  .flow__list li:last-child::before { display: none; }
  .flow__list h3 { line-height: 1.6; }
}

/* ---------- Contact ---------- */
.contact { background: var(--bg-sage); --text-sub: var(--text); --line-greige: var(--line-pink); } /* Sage の面では Brown の文字が 4.5:1 に届かないため */
.contact__grid { display: grid; gap: 48px; }
.contact__head { max-width: 30em; }

.form-embed {
  width: 100%;
  max-width: 640px;
  padding: 12px;
  background: var(--bg-light);
  box-shadow: 14px 14px 0 #E8BFC5;
}
.form-embed iframe { display: block; width: 100%; height: 1500px; border: 0; }
@media (min-width: 640px) { .form-embed iframe { height: 1275px; } }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: start; }
}
@media (min-width: 900px) {
  .deco--service, .deco--flow { display: block; position: absolute; z-index: 0; right: var(--gutter); }
  .deco--service { top: -24px; width: 220px; }
  .deco--flow { top: -28px; width: 230px; }
  .deco--approach { display: block; width: 240px; margin-top: 40px; }
  .deco--contact { display: block; width: 280px; margin-top: 48px; }
}
/* ---------- Footer ---------- */
.site-footer { padding-block: 40px; background: var(--bg-light); border-top: 1px solid var(--line-soft); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.deco--footer { width: 40px; flex: none; }
.site-footer__name { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; align-items: center; font-family: var(--font-serif); font-size: 16px; letter-spacing: .1em; text-decoration: none; }
.site-footer__name span { color: var(--text-sub); font-family: var(--font-sans); font-size: 11px; letter-spacing: .16em; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; letter-spacing: .16em; text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-footer__copy { width: 100%; color: var(--text-sub); font-size: 12px; letter-spacing: .1em; }

/* ---------- Floating CTA（About〜Contact の間だけ表示） ---------- */
.float-cta { display: none; }
.js .float-cta {
  display: inline-flex;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  padding: 0 28px;
  box-shadow: var(--btn-rim), 6px 6px 0 var(--line-pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s .3s, background-color .2s ease;
}
.js .float-cta.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* スマホ幅では小さくして、Cookie の同意バナーなど、画面下の表示を邪魔しにくくする */
@media (max-width: 639px) {
  .js .float-cta {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 40px;
    padding: 0 18px;
    font-size: 13px;
    box-shadow: var(--btn-rim), 4px 4px 0 var(--line-pink);
  }
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 12px));
  transition: opacity .8s ease, transform .8s ease;
}
.js .work.reveal { --reveal-y: 38px; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .menu-btn__bars i, .btn { transition: none; }
  .js .float-cta, .btn__arrow { transition: none; }
}
