@charset "UTF-8";
/* ============================================================
   Nekologi — デザインサンプル（架空ブランド）
   方向: クラフト/温もり × ミニマルテック
   シグネチャー: センサーの数値を「猫への言葉」に翻訳する対比表
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  --c-bg:     #f3ede3;   /* 淡ベージュ・地 */
  --c-white:  #fcfaf6;
  --c-tone:   #eae3d6;   /* 一段沈めた面 */
  --c-sage:   #a8b79e;   /* くすみグリーン・主張色 */
  --c-forest: #56694e;   /* 濃緑・文字にも使える */
  --c-brown:  #7c6a57;
  --c-ink:    #33302b;
  --c-muted:  #7b736a;
  --c-line:   #ded5c6;

  --font-display: "Kiwi Maru", "Hiragino Mincho ProN", serif;
  --font-en: "Quicksand", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --section-pad: clamp(76px, 11vw, 140px);
  --container: 1120px;
  --container-narrow: 720px;
  --gutter: clamp(20px, 4.5vw, 52px);

  --z-header: 100;
  --z-nav: 200;
  --z-fixed: 1000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.9s;
}

/* ---------- 2. リセット / ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--c-ink); background: var(--c-bg);
  font-size: 16px; line-height: 2; letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-forest); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-fixed);
  background: var(--c-forest); color: #fff; padding: 10px 18px; font-size: 13px;
  border-radius: 999px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.sp-br { display: none; }
@media (max-width: 560px) { .sp-br { display: inline; } }
.note { margin-top: 28px; font-size: 12.5px; color: var(--c-muted); line-height: 1.95; text-align: center; }

/* ---------- 3. レイアウト ---------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--tone { background: var(--c-tone); }

.sec-head { margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head--center { text-align: center; }
.sec-head__en {
  font-family: var(--font-en); font-weight: 600; font-size: 13px;
  letter-spacing: 0.2em; color: var(--c-sage); margin-bottom: 10px;
}
.sec-head__title { font-size: clamp(24px, 3.6vw, 38px); }
.sec-head__lead { margin-top: 18px; font-size: 14.5px; color: var(--c-muted); line-height: 2.05; }

/* ---------- 4. ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter); transition: background 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--c-bg) 92%, transparent);
  backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--c-line);
}
.site-header__logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-en); font-weight: 600; font-size: 19px; letter-spacing: 0.06em;
  color: var(--c-ink);
}
/* 猫の耳のような小さな印 */
.site-header__mark {
  width: 20px; height: 16px; background: var(--c-sage);
  clip-path: polygon(0 100%, 22% 0, 44% 100%, 56% 100%, 78% 0, 100% 100%);
}
.site-header:not(.is-scrolled) .site-header__logo { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.site-header:not(.is-scrolled) .site-header__mark { background: #fff; }

.global-nav { display: flex; align-items: center; gap: 24px; }
.global-nav ul { display: flex; gap: 22px; }
.global-nav a { font-size: 13.5px; }
.global-nav ul a { position: relative; padding-bottom: 3px; }
.global-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--c-sage); border-radius: 2px; transition: width 0.4s var(--ease-out);
}
.global-nav ul a:hover::after { width: 100%; }
.site-header:not(.is-scrolled) .global-nav ul a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: none;
  cursor: pointer; position: relative; z-index: calc(var(--z-nav) + 1);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto; border-radius: 2px;
  background: var(--c-ink); transition: transform 0.3s, opacity 0.3s;
}
.site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span { background: var(--c-ink) !important; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. ボタン ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; min-height: 52px; border-radius: 999px;
  background: var(--c-forest); color: var(--c-white); border: 1px solid var(--c-forest);
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px; letter-spacing: 0.05em;
  cursor: pointer; transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.button:hover { background: transparent; color: var(--c-forest); }
.button--sm { padding: 10px 20px; min-height: 44px; font-size: 13px; }
.button--lg { padding: 19px 44px; min-height: 60px; font-size: 15.5px; }
.button--ghost { background: rgba(255,255,255,0.9); color: var(--c-forest); border-color: transparent; }
.button--ghost:hover { background: var(--c-forest); color: var(--c-white); }

/* ---------- 6. ヒーロー（全画面写真オーバーレイ） ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(64px, 9vw, 104px);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(51,48,43,0.34) 0%, rgba(51,48,43,0) 34%),
    linear-gradient(0deg, rgba(51,48,43,0.72) 4%, rgba(51,48,43,0.14) 46%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; max-width: 40em; color: #fff; }
.hero__cap {
  display: inline-block; font-family: var(--font-en); font-weight: 600;
  font-size: 12.5px; letter-spacing: 0.16em;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  padding: 5px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(32px, 6vw, 62px); line-height: 1.42;
  text-shadow: 0 2px 24px rgba(30,28,24,0.42);
}
.hero__lead {
  margin-top: 22px; font-size: 15px; line-height: 2.1;
  color: rgba(255,255,255,0.9); text-shadow: 0 1px 12px rgba(30,28,24,0.5);
}
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .button { border-color: transparent; }

/* ---------- 7. シグネチャー: 翻訳表 ---------- */
.translate { display: grid; gap: clamp(16px, 2.4vw, 22px); }
.translate__row {
  display: grid; gap: 14px clamp(16px, 2.6vw, 28px); align-items: center;
  background: var(--c-white); border-radius: 20px;
  padding: clamp(20px, 2.8vw, 30px) clamp(20px, 3vw, 34px);
}
@media (min-width: 900px) { .translate__row { grid-template-columns: 0.82fr auto 1.18fr; } }

/* 左: 無機質な数値 */
.translate__sensor {
  border-left: 3px solid var(--c-line); padding-left: 18px;
}
.translate__label {
  display: block; font-family: var(--font-en); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; color: var(--c-muted); margin-bottom: 4px;
}
.translate__data {
  display: block; font-size: 15.5px; font-weight: 700; color: var(--c-brown); line-height: 1.7;
}
.translate__data em {
  display: block; font-style: normal; font-weight: 400;
  font-size: 12.5px; color: var(--c-muted); margin-top: 2px;
}
.translate__arrow { font-size: 20px; color: var(--c-sage); text-align: center; }
@media (max-width: 899px) { .translate__arrow { transform: rotate(90deg); } }

/* 右: 猫についての、やわらかい言葉 */
.translate__say { position: relative; }
.translate__bubble {
  position: relative;
  font-family: var(--font-display); font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.8; color: var(--c-forest);
  background: #eff3ea; border-radius: 16px; padding: 16px 20px;
}
@media (min-width: 900px) {
  /* 吹き出しのしっぽを左に出す */
  .translate__bubble::before {
    content: ""; position: absolute; left: -8px; top: 22px;
    width: 16px; height: 16px; background: #eff3ea; transform: rotate(45deg);
  }
}
.translate__hint { margin-top: 10px; font-size: 12.5px; color: var(--c-muted); line-height: 1.95; }

/* ---------- 8. 記録する4つ ---------- */
.four { display: grid; gap: clamp(22px, 3vw, 30px); grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.four__item { text-align: center; }
.four__badge {
  display: grid; place-content: center; width: 76px; height: 76px; margin: 0 auto 18px;
  border-radius: 50%; font-family: var(--font-display); font-size: 28px; color: var(--c-white);
}
.four__badge--a { background: var(--c-sage); }
.four__badge--b { background: #93a9b7; }
.four__badge--c { background: var(--c-brown); }
.four__badge--d { background: var(--c-forest); }
.four__title { font-size: 19px; margin-bottom: 10px; }
.four__text { font-size: 13.5px; color: var(--c-muted); line-height: 2; text-align: left; }

/* ---------- 9. 製品仕様 ---------- */
.product { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 880px) { .product { grid-template-columns: 0.82fr 1fr; } }
.product__photo { margin: 0; }
.product__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; }
.product__text { font-size: 14.5px; color: var(--c-muted); line-height: 2.1; margin-bottom: 26px; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 0 22px; border-top: 1px solid var(--c-line); }
.spec dt {
  font-size: 13px; color: var(--c-sage); font-weight: 700; letter-spacing: 0.06em;
  padding: 13px 0; border-bottom: 1px solid var(--c-line); white-space: nowrap;
}
.spec dd { font-size: 13.5px; color: var(--c-muted); padding: 13px 0; border-bottom: 1px solid var(--c-line); }

/* ---------- 10. 価格 ---------- */
.price { text-align: center; }
.price__cards { display: grid; gap: 14px; align-items: center; }
@media (min-width: 720px) { .price__cards { grid-template-columns: 1fr auto 1fr; } }
.price__card { background: var(--c-white); border-radius: 22px; padding: 32px 24px 28px; }
.price__label { font-size: 12.5px; color: var(--c-muted); letter-spacing: 0.08em; }
.price__num {
  font-family: var(--font-en); font-weight: 600; font-size: clamp(38px, 5.4vw, 52px);
  line-height: 1.2; margin-top: 6px; color: var(--c-forest);
}
.price__num span { font-family: var(--font-body); font-size: 16px; margin-left: 4px; }
.price__sub { margin-top: 8px; font-size: 12.5px; color: var(--c-muted); line-height: 1.85; }
.price__plus { font-family: var(--font-en); font-size: 24px; color: var(--c-sage); }
.price__free {
  margin-top: 28px; font-family: var(--font-display); font-size: 15px; color: var(--c-forest);
}
.price__actions { margin-top: 30px; }

/* ---------- 11. 最終CTA ---------- */
.cta {
  background: var(--c-forest); color: var(--c-white);
  padding-block: clamp(80px, 11vw, 136px); text-align: center;
}
.cta__title { font-size: clamp(23px, 3.8vw, 40px); line-height: 1.6; }
.cta__text { margin: 26px 0 40px; font-size: 14.5px; line-height: 2.1; color: rgba(252,250,246,0.78); }
.cta .button { background: var(--c-white); color: var(--c-forest); border-color: var(--c-white); }
.cta .button:hover { background: transparent; color: var(--c-white); }

/* ---------- 12. フッター ---------- */
.site-footer { padding: 42px 0 36px; border-top: 1px solid var(--c-line); }
.site-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--c-muted);
}
.site-footer__logo { font-family: var(--font-en); font-weight: 600; font-size: 17px; color: var(--c-ink); }

/* ---------- 13. サンプル明示バッジ（全サンプル共通仕様） ---------- */
.sample-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-fixed);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(51,48,43,0.88); backdrop-filter: blur(8px);
  color: #fff; font-size: 11.5px; letter-spacing: 0.02em; line-height: 1.5;
  box-shadow: 0 4px 18px rgba(0,0,0,0.16); transition: background 0.3s;
}
.sample-badge:hover { background: rgba(51,48,43,0.97); }
.sample-badge__tag {
  background: var(--c-sage); color: #2a2f26; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: 0.1em;
}
@media (max-width: 640px) {
  .sample-badge { left: 10px; bottom: 10px; padding: 6px 12px 6px 8px; font-size: 10.5px; }
  .sample-badge__text { max-width: 15em; }
}

/* ---------- 14. SPナビ ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 0; z-index: var(--z-nav); background: var(--c-bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 38px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; text-align: center; gap: 24px; }
  .global-nav ul a { font-family: var(--font-display); font-size: 19px; }
  /* ドロワー展開時は必ず地の色の上なので、白抜きを解除する */
  .site-header:not(.is-scrolled) .global-nav.is-open ul a { color: var(--c-ink); text-shadow: none; }
}

/* ---------- 15. モーション基盤 ---------- */
.js-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.1s; }
.js-reveal[data-delay="2"] { transition-delay: 0.2s; }
.js-reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- 16. モーション停止（reduced-motion環境のみボタン表示） ---------- */
.motion-stop {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-fixed);
  padding: 10px 16px; font: inherit; font-size: 12px;
  background: var(--c-white); color: var(--c-ink);
  border: 1px solid var(--c-line); border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .motion-stop { display: block; } }
html.is-motion-off *, html.is-motion-off *::before, html.is-motion-off *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
}
html.is-motion-off .js-reveal { opacity: 1; transform: none; }

/* ================================================================
   sample-notice:v1 — サンプル表記（14本共通・apply_sample_notice.py が生成）
   帯 / 商品CTAのモーダル / ラクシス導線 / フッター注記
   ================================================================ */
:root {
  --sample-bar-bg: #56694e;
  --sample-bar-fg: #ffffff;
  --sample-bar-h: 40px;
  --sample-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --laxis-band-bg: #eae3d6;
  --laxis-band-fg: #33302b;
  --laxis-band-line: rgba(0, 0, 0, 0.1);
  --z-sample-bar: 3000;
  --z-sample-modal: 4000;
}

/* ---- 1. 最上部の固定帯 ---- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sample-bar);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  min-height: 40px; padding: 8px 14px;
  background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-family: var(--sample-font); font-size: 12.5px; font-weight: 500;
  line-height: 1.6; letter-spacing: 0.02em; text-align: center;
}
.sample-bar__tag {
  flex: none; background: var(--sample-bar-fg); color: var(--sample-bar-bg);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 3px 9px; border-radius: 3px; white-space: nowrap;
}
.sample-bar__text b { font-weight: 700; }
.sample-bar__by { opacity: 0.72; }
body { padding-top: var(--sample-bar-h); }
.site-header { top: var(--sample-bar-h); }
.skip-link:focus { top: calc(var(--sample-bar-h) + 12px); }
@media (max-width: 640px) {
  :root { --sample-bar-h: 54px; }
  .sample-bar { font-size: 11px; gap: 6px; padding: 7px 12px; }
  .sample-bar__tag { font-size: 9.5px; padding: 2px 7px; }
  .sample-bar__by { display: block; width: 100%; }
}

/* ---- 2. 商品CTAのモーダル ---- */
.sample-modal {
  position: fixed; inset: 0; z-index: var(--z-sample-modal);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  font-family: var(--sample-font);
}
.sample-modal[hidden] { display: none; }
.sample-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 14, 0.66); backdrop-filter: blur(3px); }
.sample-modal__panel {
  position: relative; width: min(480px, 100%); background: #fff; color: #1f2933;
  border-radius: 16px; padding: 34px 30px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); border-top: 4px solid var(--sample-bar-bg);
}
.sample-modal__tag {
  display: inline-block; background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 18px;
}
.sample-modal__title { font-size: 20px; font-weight: 700; line-height: 1.6; margin-bottom: 14px; color: #1f2933; }
.sample-modal__text { font-size: 13.5px; line-height: 2; color: #56606b; margin-bottom: 26px; text-align: left; }
.sample-modal__actions { display: flex; flex-direction: column; gap: 10px; }
.sample-modal__button {
  display: block; background: var(--sample-bar-bg); color: var(--sample-bar-fg); text-decoration: none;
  font-size: 15px; font-weight: 700; padding: 16px 20px; border-radius: 11px;
}
.sample-modal__close {
  display: block; width: 100%; background: none; border: 1px solid #d5dbe1; color: #56606b;
  font-family: inherit; font-size: 13.5px; padding: 14px 20px; border-radius: 11px; cursor: pointer;
}
.sample-modal__close:hover { background: #f2f4f6; }

/* ---- 3. 最下部の案内帯（架空フッターの下） ---- */
/* 下の余白は、左下に固定されている SAMPLE バッジに文字が隠されないための逃げ */
.laxis-band {
  position: relative; z-index: 1;
  background: var(--laxis-band-bg); color: var(--laxis-band-fg);
  border-top: 1px solid var(--laxis-band-line);
  font-family: var(--sample-font); text-align: center;
  padding: 32px 6vw 58px;
}
.laxis-band__text { font-size: 12.5px; line-height: 1.95; opacity: 0.85; margin: 0 0 18px; }
.laxis-band__text b { font-weight: 700; }
.laxis-band__text .nb { display: inline-block; }
.laxis-band__actions { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; align-items: center; }
.laxis-band__button {
  display: inline-flex; align-items: center; background: var(--sample-bar-bg); color: var(--sample-bar-fg);
  font-size: 13.5px; font-weight: 700; text-decoration: none; padding: 13px 28px; border-radius: 10px;
}
.laxis-band__back {
  color: inherit; font-size: 12px; opacity: 0.68;
  text-decoration: underline; text-underline-offset: 3px;
}
.laxis-band__back:hover { opacity: 1; }
@media (max-width: 640px) {
  .laxis-band { padding: 28px 20px 82px; }
}

/* ---- 4. フッターの注記 ---- */
.sample-note {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(128, 128, 128, 0.3);
}
.sample-note p {
  font-family: var(--sample-font); font-size: 12px; line-height: 1.95;
  opacity: 0.9; margin: 0; text-align: left;
}
