/* ==========================================================================
   macaroni-baby&kids apparel shop- | neumorphism × peach
   ========================================================================== */

:root {
  --cp-primary: #A4551F; /* WCAG AA: 4.87:1 on #FFF1E6 / 5.39:1 under #FFF (同系色相のまま濃度のみ調整) */
  --cp-accent: #FFCBA4;
  --cp-text: #4D2914;
  --cp-muted: #85604A; /* WCAG AA: 5.03:1 on #FFF1E6 */
  --cp-bg: #FFF1E6;
  --cp-white: #FFFFFF;
  --cp-line: #E2E8F0;
  --cp-radius: 20px;

  /* neumorphism double shadow (dark + light の対) */
  --nm-dark: rgba(77, 41, 20, 0.10);
  --nm-light: rgba(255, 255, 255, 0.85);
  --nm-out: 8px 8px 16px var(--nm-dark), -8px -8px 16px var(--nm-light);
  --nm-out-lg: 12px 12px 24px var(--nm-dark), -12px -12px 24px var(--nm-light);
  --nm-out-sm: 5px 5px 10px rgba(77, 41, 20, 0.10), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --nm-in: inset 4px 4px 8px rgba(77, 41, 20, 0.10), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  --nm-in-deep: inset 6px 6px 12px rgba(77, 41, 20, 0.12), inset -6px -6px 12px rgba(255, 255, 255, 0.85);

  --font-body: 'Zen Maru Gothic', 'Noto Sans JP', system-ui, sans-serif;
  --font-display: 'Quicksand', 'Zen Maru Gothic', sans-serif;

  /* 追従ヘッダーの実高さ (logo 48px + padding 0.7rem×2) */
  --header-h: 72px;
}

/* --- reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-feature-settings: 'palt';
  color: var(--cp-text);
  background: var(--cp-bg);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  /* fixed ヘッダーの高さぶんを本文側で確保 (ヒーローとの重なり防止) */
  padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cp-primary); text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* 本文中のインラインリンクは色だけに頼らず下線でも判別できるようにする
   (axe-core: link-in-text-block) */
main p a:not(.btn),
.news-item__body a,
.access-cta__info dd a,
.overview__table dd a,
.site-footer__address a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

.container { max-width: 1200px; margin: 0 auto; padding-inline: clamp(1rem, 3vw, 3rem); }
section { position: relative; padding-block: clamp(4rem, 8vw, 8rem); }
section > .container { position: relative; z-index: 1; }

/* --- skip link --- */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 2000;
  background: var(--cp-primary); color: #fff; padding: 0.6rem 1.2rem;
  border-radius: 12px; transition: top 200ms ease-out;
}
.skip-link:focus { top: 8px; }

/* --- eyebrow --- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cp-muted); display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem; font-weight: 600;
}
.eyebrow--center { justify-content: center; }
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cp-accent); box-shadow: var(--nm-out-sm); flex: none;
}

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-lead {
  max-width: 720px; margin: 1.25rem auto 0; color: var(--cp-text);
}

/* --- buttons (凸 → hover/active で凹) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.8rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border: 0; cursor: pointer; background: var(--cp-bg); color: var(--cp-primary);
  box-shadow: var(--nm-out-sm);
  transition: box-shadow 300ms ease-out, transform 300ms ease-out, background 300ms ease-out;
}
.btn:hover { box-shadow: var(--nm-in); transform: translateY(1px); }
.btn:active { box-shadow: var(--nm-in-deep); }
.btn--primary { background: var(--cp-primary); color: #fff; }
.btn--primary:hover {
  background: color-mix(in oklab, var(--cp-primary) 88%, #4D2914);
  box-shadow: inset 4px 4px 8px rgba(77, 41, 20, 0.28), inset -4px -4px 8px rgba(255, 255, 255, 0.22);
}
.btn--outline { border: 2px solid var(--cp-primary); }

/* --- card (凹凸 shadow が必須・flat 禁止) --- */
.card {
  background: var(--cp-bg);
  border-radius: var(--cp-radius);
  box-shadow: var(--nm-out);
  padding: 1.5rem;
  transition: box-shadow 400ms ease-out, transform 400ms ease-out;
}
a.card:hover, .card:hover { box-shadow: var(--nm-out-lg); }
article.card:hover, figure.card:hover { transform: scale(1.01); }

/* --- photo frame --- */
.photo { border-radius: 16px; object-fit: cover; width: 100%; }

/* ==========================================================================
   header
   ========================================================================== */
.site-header {
  /* sticky はスクロール連動で描画位置が不安定になるため fixed で常に viewport 最上部へ固定 */
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: color-mix(in oklab, var(--cp-bg) 92%, #fff);
  box-shadow: 0 4px 16px rgba(77, 41, 20, 0.06);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0.7rem clamp(1rem, 3vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--cp-text); }
.brand__logo {
  width: 48px; height: 48px; border-radius: 14px;
  box-shadow: var(--nm-out-sm); padding: 4px; background: var(--cp-bg);
}
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  line-height: 1.2; display: flex; flex-direction: column;
}
.brand__sub {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cp-muted); font-weight: 600;
}
.site-nav ul { display: flex; gap: clamp(0.8rem, 2vw, 1.8rem); }
.site-nav a {
  color: var(--cp-text); font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 0.9rem; border-radius: 12px;
  transition: box-shadow 300ms ease-out, color 300ms ease-out;
}
.site-nav a:hover { color: var(--cp-primary); box-shadow: var(--nm-out-sm); }
.site-nav a[aria-current="page"] { color: var(--cp-primary); box-shadow: var(--nm-in); }
.header-cta {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cp-bg); color: var(--cp-primary); box-shadow: var(--nm-out-sm);
  transition: box-shadow 300ms ease-out;
}
.header-cta:hover { box-shadow: var(--nm-in); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px; border: 0;
  background: var(--cp-bg); box-shadow: var(--nm-out-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: box-shadow 300ms ease-out;
}
.nav-toggle:active { box-shadow: var(--nm-in); }
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--cp-text);
}

/* ==========================================================================
   drawer (body 直下・overlay より前面)
   ========================================================================== */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(77, 41, 20, 0.35);
  opacity: 0; transition: opacity 300ms ease-out;
}
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
  width: min(320px, 85vw);
  background: var(--cp-bg);
  box-shadow: -8px 0 24px rgba(77, 41, 20, 0.12);
  padding: 4.5rem 1.5rem 2rem;
  transform: translateX(105%);
  transition: transform 350ms ease-out;
  display: flex; flex-direction: column; gap: 1.5rem;
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 14px; border: 0;
  background: var(--cp-bg); color: var(--cp-text); box-shadow: var(--nm-out-sm);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: box-shadow 300ms ease-out;
}
.drawer__close:active { box-shadow: var(--nm-in); }
.drawer__list { display: flex; flex-direction: column; gap: 0.6rem; }
.drawer__list a {
  display: block; padding: 0.8rem 1.1rem; border-radius: 14px;
  color: var(--cp-text); font-weight: 500; box-shadow: var(--nm-out-sm);
  transition: box-shadow 300ms ease-out, color 300ms ease-out;
}
.drawer__list a:active { box-shadow: var(--nm-in); color: var(--cp-primary); }
.drawer__cta { margin-top: auto; }

/* ==========================================================================
   hero (サムネ構図: 左テキスト + 右丸カード写真 + 両脇 orb)
   ========================================================================== */
.hero { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title { margin-bottom: 1.4rem; }
.hero__lead { color: var(--cp-muted); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero__chips-label {
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cp-muted); font-weight: 600; margin-bottom: 0.9rem;
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: var(--cp-muted); padding: 0.5rem 1.1rem; border-radius: 999px;
  background: var(--cp-bg); box-shadow: var(--nm-out-sm);
}
.hero__visual {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem; align-items: center;
}
.hero__side { display: flex; flex-direction: column; gap: 1.1rem; }
.hero__orb {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cp-bg); box-shadow: var(--nm-out-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cp-primary);
}
.hero__frame {
  position: relative; border-radius: 28px; background: var(--cp-bg);
  box-shadow: var(--nm-out-lg); padding: 14px;
}
.hero__tag {
  position: absolute; top: 1.6rem; left: 1.6rem; z-index: 2;
  font-size: 0.8rem; font-weight: 600; color: var(--cp-muted);
  background: var(--cp-bg); padding: 0.45rem 1rem; border-radius: 999px;
  box-shadow: var(--nm-out-sm);
}
.hero__img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center;
  border-radius: 18px; display: block;
}

/* ==========================================================================
   quicknav (「みたいページをえらぶ」)
   ========================================================================== */
.quicknav { padding-block: clamp(2.5rem, 5vw, 4rem); }
.quicknav__label {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em;
  color: var(--cp-muted); margin-bottom: 1.6rem; font-size: 0.9rem;
}
.quicknav__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
}
.quicknav__card {
  background: var(--cp-bg); border-radius: var(--cp-radius);
  box-shadow: var(--nm-out); padding: 2rem 1.2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  color: var(--cp-text); text-align: center;
  transition: box-shadow 350ms ease-out, transform 350ms ease-out;
}
.quicknav__card:hover { box-shadow: var(--nm-out-lg); transform: scale(1.01); }
.quicknav__card:active { box-shadow: var(--nm-in); transform: none; }
.quicknav__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cp-bg); box-shadow: var(--nm-in);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cp-primary);
}
.quicknav__name { font-weight: 600; font-size: 0.95rem; }

/* ==========================================================================
   features / promise
   ========================================================================== */
.features__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.feature { padding: 2rem 1.6rem; }
.feature__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--cp-bg); box-shadow: var(--nm-out-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cp-primary); margin-bottom: 1.2rem;
}
.feature h3 { margin-bottom: 0.8rem; }
.feature p { font-size: 0.95rem; }

.promise {
  display: flex; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(3rem, 6vw, 4.5rem); flex-wrap: wrap;
}
.promise__circle {
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--cp-bg); box-shadow: var(--nm-out);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 600; color: var(--cp-primary);
  font-size: 1.02rem; line-height: 1.5;
  transition: box-shadow 400ms ease-out;
}
.promise__circle:hover { box-shadow: var(--nm-in); }

/* ==========================================================================
   styles section
   ========================================================================== */
.styles { isolation: isolate; overflow: hidden; }
.styles__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.styles__card { padding: 1.2rem; }
.styles__card img { aspect-ratio: 4 / 3; }
.styles__card figcaption { padding: 1.3rem 0.5rem 0.5rem; }
.styles__card h3 { margin-bottom: 0.6rem; color: var(--cp-primary); }
.styles__card p { font-size: 0.95rem; }

/* ==========================================================================
   shop section (photo + text 2 col)
   ========================================================================== */
.shop__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.shop__photos { position: relative; }
.shop__photo { box-shadow: var(--nm-out); }
.shop__photo--main { aspect-ratio: 4 / 3; border-radius: 24px; }
.shop__photo--sub {
  position: absolute; right: -1rem; bottom: -2rem; width: 45%;
  border-radius: 18px; border: 6px solid var(--cp-bg);
}
.shop__text h2 { margin-bottom: 1.2rem; }
.shop__text p { margin-bottom: 1.2rem; }
.shop__text .btn { margin-top: 0.4rem; }

/* ==========================================================================
   gift
   ========================================================================== */
.gift { isolation: isolate; overflow: hidden; }
.gift__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.gift__text h2 { margin-bottom: 1.2rem; }
.gift__text p { margin-bottom: 1.2rem; }
.gift__photo { padding: 1rem; }
.gift__photo img { aspect-ratio: 4 / 3; }

/* ==========================================================================
   message
   ========================================================================== */
.message__grid {
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.message__photo img {
  aspect-ratio: 4 / 5; border-radius: 24px; box-shadow: var(--nm-out);
}
.message__card { padding: clamp(1.8rem, 4vw, 2.8rem); }
.message__card h2 { margin-bottom: 1.2rem; }
.message__card p { margin-bottom: 1.2rem; }
.message__kana { font-size: 0.7em; color: var(--cp-muted); margin-left: 0.4em; }
.message__sign {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem;
  margin-top: 1.6rem; margin-bottom: 0 !important;
}
.message__role { font-size: 0.8rem; color: var(--cp-muted); }
.message__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }

/* ==========================================================================
   news / faq (details トグル)
   ========================================================================== */
.news--page { isolation: isolate; overflow: hidden; }
.news__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.1rem; }
.news-item {
  background: var(--cp-bg); border-radius: 18px; box-shadow: var(--nm-out-sm);
  transition: box-shadow 300ms ease-out;
}
.news-item[open] { box-shadow: var(--nm-in); }
.news-item summary {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 1.4rem; cursor: pointer; font-weight: 500;
  list-style: none; border-radius: 18px;
}
.news-item summary::-webkit-details-marker { display: none; }
.news-item summary::after {
  content: ""; margin-left: auto; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--cp-primary); border-bottom: 2px solid var(--cp-primary);
  transform: rotate(45deg); transition: transform 300ms ease-out;
}
.news-item[open] summary::after { transform: rotate(225deg); }
.news-item time { font-size: 0.85rem; color: var(--cp-muted); font-family: var(--font-display); }
.news-item__cat {
  font-size: 0.72rem; font-weight: 600; color: var(--cp-primary);
  padding: 0.25rem 0.8rem; border-radius: 999px; box-shadow: var(--nm-in);
}
.news-item__title { font-weight: 600; }
.news-item__body { padding: 0.2rem 1.6rem 1.4rem; }
.news-item__body p { margin-bottom: 0.8rem; font-size: 0.95rem; }
.news__more { text-align: center; margin-top: 2.2rem; }

/* ==========================================================================
   access / cta / overview
   ========================================================================== */
.access-cta { isolation: isolate; overflow: hidden; }
.access-cta__card, .page-cta__card {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: clamp(2.2rem, 5vw, 3.5rem);
}
.access-cta__card h2, .page-cta__card h2 { margin-bottom: 1.4rem; }
.page-cta__card > p { margin-bottom: 1.6rem; color: var(--cp-muted); }
.access-cta__info {
  display: flex; flex-direction: column; gap: 0.7rem;
  max-width: 560px; margin: 0 auto 2rem; text-align: left;
}
.access-cta__info--left { margin-inline: 0; margin-bottom: 1.4rem; }
.access-cta__info > div { display: flex; gap: 1rem; }
.access-cta__info dt {
  flex: none; width: 6.2em; font-weight: 600; color: var(--cp-muted); font-size: 0.92rem;
  padding-top: 0.05em;
}
.access-cta__info dd { flex: 1; }
.access-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

.overview__card { max-width: 820px; margin: 0 auto; padding: clamp(1.8rem, 4vw, 2.8rem); }
.overview__table { display: flex; flex-direction: column; }
.overview__table > div {
  display: flex; gap: 1.2rem; padding: 0.95rem 0.2rem;
}
.overview__table > div + div { border-top: 1px solid color-mix(in oklab, var(--cp-primary) 14%, var(--cp-bg)); }
.overview__table dt { flex: none; width: 7em; font-weight: 600; color: var(--cp-muted); font-size: 0.92rem; padding-top: 0.05em; }
.overview__table dd { flex: 1; }
.hours-info__note { margin-top: 1.4rem; font-size: 0.92rem; color: var(--cp-muted); }

/* ==========================================================================
   page hero (中ページ・背景画像は generator が CSS 変数で自動配置)
   ========================================================================== */
.cp-page-hero {
  /* 追従ヘッダーと見出しカードが重ならないよう、ヘッダー高さぶんを上に確保 */
  padding-top: calc(var(--header-h) + clamp(3.5rem, 7vw, 6rem));
  padding-bottom: clamp(5rem, 10vw, 8rem);
  background-color: var(--cp-bg);
  background-size: cover; background-position: center;
}
.page-hero__card {
  max-width: 640px; padding: clamp(1.8rem, 4vw, 2.6rem);
  background: color-mix(in oklab, var(--cp-bg) 94%, #fff);
}
.page-hero__card h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 0.8rem; }
.page-hero__card p { color: var(--cp-muted); }

/* ==========================================================================
   map / contact form
   ========================================================================== */
.cp-map {
  border-radius: var(--cp-radius); overflow: hidden;
  box-shadow: var(--nm-out); background: var(--cp-bg); padding: 12px;
}
.cp-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 12px; }
/* iframe が描画されない環境でも枠内が空にならないよう、住所とマップリンクを常時表示 */
.cp-map__address {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.3rem 1.2rem; padding: 0.9rem 1rem 0.4rem; text-align: center;
  font-size: 0.92rem; color: var(--cp-text);
}
.cp-map__address a {
  font-weight: 600;
  text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px;
}
.access-map__note { text-align: center; margin-top: 1.6rem; font-size: 0.92rem; color: var(--cp-muted); }

.contact__card { max-width: 760px; margin: 0 auto; padding: clamp(1.8rem, 4vw, 2.8rem); }
.form-row { margin-bottom: 1.4rem; }
.form-row label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; }
.form-req {
  font-size: 0.7rem; font-weight: 600; color: #fff; background: var(--cp-primary);
  border-radius: 999px; padding: 0.1rem 0.6rem; margin-left: 0.4rem; vertical-align: 0.1em;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%; border: 0; border-radius: 12px; padding: 0.85rem 1rem;
  background: var(--cp-bg); box-shadow: var(--nm-in);
  font-family: var(--font-body); font-size: 1rem; color: var(--cp-text);
  transition: box-shadow 300ms ease-out;
}
.form-row select { appearance: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--cp-accent); outline-offset: 2px;
  box-shadow: var(--nm-in-deep);
}
.form-row textarea { resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--cp-muted); margin-top: 0.5rem; }
.form-row--agree { margin-top: 1.8rem; }
.form-agree { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; font-weight: 500; }
.form-agree input { width: 20px; height: 20px; margin-top: 0.2rem; accent-color: var(--cp-primary); }
.cf-turnstile { margin: 1.4rem 0; }
.contact__submit { width: 100%; padding: 1.05rem 1.8rem; font-size: 1.05rem; }
#contact-status { margin-top: 1.2rem; font-weight: 600; text-align: center; }

/* ==========================================================================
   footer
   ========================================================================== */
.site-footer {
  position: relative; isolation: isolate;
  background: color-mix(in oklab, var(--cp-bg) 90%, var(--cp-accent));
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  box-shadow: inset 0 8px 16px rgba(77, 41, 20, 0.05);
}
.site-footer__particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.site-footer__inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.site-footer__brand img {
  margin: 0 auto 0.8rem; border-radius: 24px; padding: 10px;
  background: var(--cp-bg); box-shadow: var(--nm-out);
}
.site-footer__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.site-footer__tagline { font-size: 0.88rem; color: var(--cp-muted); margin-top: 0.3rem; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem; }
.site-footer__nav a { color: var(--cp-text); font-size: 0.92rem; font-weight: 500; }
.site-footer__nav a:hover { color: var(--cp-primary); }
.site-footer__address { font-size: 0.88rem; color: var(--cp-muted); line-height: 1.9; }
.site-footer__copy { margin-top: 0.6rem; color: var(--cp-muted); }

/* --- back to top (凸 rounded square) --- */
.back-to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 950;
  width: 48px; height: 48px; border-radius: 16px; border: 0;
  background: var(--cp-bg); color: var(--cp-primary);
  box-shadow: var(--nm-out-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 300ms ease-out, box-shadow 300ms ease-out;
}
.back-to-top.is-visible { opacity: 1; }
.back-to-top:active { box-shadow: var(--nm-in); }

/* ==========================================================================
   fade-in (initial opacity 1 維持・微細 translateY のみ)
   ========================================================================== */
.fade-in {
  opacity: 1;
  transform: none;
  transition: transform 600ms ease-out;
}
html.js-enabled .fade-in:not(.is-in) { transform: translateY(8px); }

/* 画像 lazy-in (ふんわり展開) */
html.js-enabled .photo { transition: transform 700ms ease-out; }
html.js-enabled .fade-in:not(.is-in) .photo { transform: scale(0.98); }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .quicknav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 640px; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .shop__grid, .gift__grid, .message__grid { grid-template-columns: minmax(0, 1fr); }
  .shop__grid--reverse .shop__text { order: 1; }
  .shop__grid--reverse .shop__photos { order: 2; }
  .styles__grid { grid-template-columns: minmax(0, 1fr); }
  .shop__photo--sub { right: 0.5rem; bottom: -1.4rem; }
  .message__photo { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 560px) {
  :root { --header-h: 58px; } /* logo 38px + padding 0.55rem×2 */
  .site-header__inner {
    display: flex; justify-content: space-between; align-items: center;
    padding-block: 0.55rem;
  }
  .brand__logo { width: 38px; height: 38px; }
  .brand__name { font-size: 0.78rem; letter-spacing: 0.02em; }
  .header-cta { display: none; }
  .hero { padding-block: 3rem; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__side { flex-direction: column; gap: 0.8rem; }
  .hero__orb { width: 38px; height: 38px; }
  section { padding-block: 4rem; }
  .container { padding-inline: 1.25rem; }
  .quicknav__grid { grid-template-columns: minmax(0, 1fr); }
  .promise__circle { width: 118px; height: 118px; font-size: 0.92rem; }
  .cp-map iframe { height: 280px; }
  .access-cta__info > div, .overview__table > div { flex-direction: column; gap: 0.1rem; }
  .access-cta__info dt, .overview__table dt { width: auto; }
  .back-to-top { right: 1rem; bottom: 1rem; }
}

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

/* ai-hp enforced subpage hero backgrounds */
.aihp-subpage-hero--with-image {
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(72, 49, 36, 0.9), rgba(72, 49, 36, 0.72)),
    var(--aihp-subpage-hero-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
  isolation: isolate;
}
.aihp-subpage-hero--with-image > * {
  position: relative;
  z-index: 1;
}

