/* =============================================================
  CocodePit LP — CSS Clean Version (split)
  順序: 変数 → リセット/ベース → レイアウト/ナビ → コンポーネント → セクション → ユーティリティ → レスポンシブ → アニメ
============================================================= */

/* ------------------------------
  CSS Variables
------------------------------ */
:root {
  --brand: #ffb84d;
  --brand-dark: #f3a52c;
  --accent: #ffd166;
  --ink: #333;
  --muted: #666;
  --line: #e9e9e9;

  --peach: #f7dcc6;
  --lemon: #fff6cc;
  --campaign: #ffdab6;
  --panel: #fafafa;
  --white: #fff;

  --radius: 16px;
  --shadow: 0 10px 24px rgba(0, 0, 0, .08);
  --max: 1120px;
  --header-h: 64px;
  --gap: 20px;
  --pad: 56px;
  --ps-thumb: 180px;

  --reveal-dur: .7s;
  --reveal-ease: cubic-bezier(.22, 1, .36, 1);
  --reveal-shift: 16px;

  --title-accent: #ffb84d;
  --title-ink: #111;
  --title-sub: #888;
  --title-deco-h: 8px;
}

/* ------------------------------
  Reset / Base
------------------------------ */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: 'M PLUS Rounded 1c', sans-serif;
  line-height: 1.7;
  background: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

main section.container,
main section:not(.hero) .container {
  padding-left: clamp(24px, 5vw, 56px);
  padding-right: clamp(24px, 5vw, 56px);
}

/* ------------------------------
  Layout: Header / Nav
------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 8px;
  align-items: center;
}

.menu a {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.menu a:hover,
.menu a:focus-visible {
  background: #f4f4f4;
  color: #000;
  outline: none;
}

.menu a.active {
  color: #000;
  background: rgba(255, 184, 77, .20);
  box-shadow: inset 0 0 0 1px rgba(243, 165, 44, .35);
  font-weight: 700;
}

.cta-mini {
  display: none;
}

.btn.primary.cta-mini {
  padding: 8px 14px;
  font-size: 18px;
  border-radius: 999px;
  font-weight: 700;
}

/* ------------------------------
  Components: Buttons / Helpers
------------------------------ */
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: .2s;
  font-size: 16px;
}

.btn.primary {
  background: var(--brand);
  color: #000;
    font-size: 18px;
  padding: 18px 28px;
  border-radius: 999px;
}

.btn.primary:hover {
  background: var(--brand-dark);
  color: #000;
}

.btn.ghost {
  background: var(--white);
  border-color: #ddd;
  color: #333;
}

.btn.ghost:hover {
  border-color: #bbb;
  background: #f8f8f8;
}

.btn.sm {
  padding: 10px 14px;
  font-size: 14px;
}

.kicker {
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .08em;
}

/* ------------------------------
  Section: Hero
------------------------------ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: #000;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../../img/title.jpg') center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06); /* 白を少し薄めに */
  backdrop-filter: blur(6px) saturate(140%);  /* ← ぼかしを弱めて6px */
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  background-image: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.2));
  background-blend-mode: overlay;
  pointer-events: none;
}


.hero .center {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  width: 100%;
}

.hero .center h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.25;
  background: linear-gradient(180deg, #fff 0%, #fff 70%, rgba(255, 255, 255, .75) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .25);
}

.hero .center .lead {
  font-size: 18px;
  color: #fff;
  opacity: .95;
}

.hero .btns {
  justify-content: center;
  margin-top: 22px;
}

/* ------------------------------
  Generic Section Wrapper
------------------------------ */
.section {
  padding: var(--pad) 0;
  background: #fcd6b5;
}

.band-orange {
  background: linear-gradient(to bottom, #ffffff 0%, #fcd6b5 100%);
}

.band-yellow {
  background: linear-gradient(to bottom, #ffffff 0%, var(--lemon) 100%);
}

.white {
  background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

/* ------------------------------
  Features
------------------------------ */
#features .features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px clamp(20px, 4vw, 40px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .04);
}

.feature-row img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.feature-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.note {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.6;
}

.note+.note {
  margin-top: 2px;
}

@media (min-width: 768px) {
  .feature-row.reverse {
    grid-template-columns: 1fr 220px;
  }

  .feature-row.reverse img {
    order: 2;
  }

  .feature-row.reverse div {
    order: 1;
  }
}

/* ------------------------------
  Problems
------------------------------ */
.ps-panel {
  background: #dadada;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .04);
}

.ps-panel+.ps-panel {
  margin-top: 18px;
}

.ps-panel h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.ps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ps {
  display: grid;
  grid-template-columns: var(--ps-thumb) 1fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
}

.ps img {
  width: var(--ps-thumb);
  height: var(--ps-thumb);
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

.ps .badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
  display: inline-block;
}

.ps h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.ps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

#problems .container {
  padding-left: clamp(24px, 5vw, 56px);
  padding-right: clamp(24px, 5vw, 56px);
}

/* ------------------------------
  Kicker Band
------------------------------ */
.kicker-band {
  background: #ffffff;
  padding: 12px 0;
}

.kicker-band .container {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .05em;
  text-align: center;
  color: var(--ink);
}

/* ------------------------------
  Campaign
------------------------------ */
.section.band-campaign {
  background: transparent;
  padding: var(--pad) 0;
}

.section.band-campaign .container {
  padding-left: clamp(24px, 5vw, 56px);
  padding-right: clamp(24px, 5vw, 56px);
}

.campaign-panel {
  background: var(--campaign);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 28px);
  max-width: 1040px;
  margin: 0 auto;
}

.campaign-title {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  margin: 6px 0 16px;
}

.campaign-cards {
  display: grid;
  gap: 22px;
}

.campaign-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

.campaign-card .media {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.campaign-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.campaign-card p {
  margin: 0;
  color: var(--muted);
}

.campaign-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.campaign-actions .btn.primary {
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 12px; /* 丸みを少し控えめに */
}


/* ------------------------------
  Scenes
------------------------------ */
.scenes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.scene {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 32px);
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .04);
}

.scene h4 {
  margin: 0 0 12px;
  font-size: 20px;
}

.scene-img {
  display: block;
  margin: 0 auto 18px;
  width: 100%;
  max-width: 400px;
  height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.scene p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

/* 既存の .emph を置き換え */
.emph {
  display: inline;                 /* 行内でOK */
  font-weight: 700;
  padding: 0 .06em .08em;          /* 少しだけ下側に余白を足す */
  background:
    linear-gradient(90deg, var(--brand), var(--brand-dark)) 
    bottom / 100% .42em no-repeat; /* 横100%、高さ0.42emの帯を下に配置 */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;     /* ← これが複数行対応のキモ */
}

/* ------------------------------
  Lineup
------------------------------ */
#lineup {
  background: #ffffff;
}

#lineup .sub {
  color: #666;
  font-size: 14px;
  margin-top: -6px;
  margin-bottom: 16px;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.product-card .media {
  aspect-ratio: 4/3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .head {
  padding: 16px 18px 0;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 2px;
}

.chip {
  font-size: 12px;
  font-weight: 700;
  color: #444;
  background: #f6f6f6;
  border: 1px solid #eee;
  padding: 4px 8px;
  border-radius: 999px;
}

.product-card .features {
  padding: 10px 18px 0;
}

.product-card .features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.product-card .features li {
  font-size: 14px;
  color: #444;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.product-card .features li::before {
  content: "✔";
  font-weight: 900;
  line-height: 1;
  transform: translateY(1px);
}

.specs {
  padding: 14px 18px;
  margin-top: 10px;
  background: #fafafa;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 8px;
  column-gap: 12px;
  font-size: 13px;
  color: #555;
}

.specs dt {
  font-weight: 700;
  color: #333;
}

.specs dd {
  margin: 0;
}


/* ------------------------------
  FAQ
------------------------------ */
/* 置き換え: FAQ 基本スタイル */
#faq { background: #ffffff; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px; /* 質問の間隔 */
}

/* カードUI：太い緑枠をやめて薄枠＋影へ */
#faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.6;
}

/* 既存の “+details” の間隔は .faq-list の gap に任せるので削除可 */

/* サマリー行：ホバー/フォーカスの微インタラクション */
#faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #222;
  font-size: 16px; /* 17→16で本文との階調を合わせる */
  padding-right: 28px; /* 既存の矢印余白を維持 */
  list-style: none;
}
#faq summary:hover {
  background: #fafafa;
  border-radius: 10px;
}
#faq summary:focus-visible {
  outline: 2px solid rgba(0,0,0,.18);
  outline-offset: 2px;
  border-radius: 10px;
}

/* 既存の矢印（回転アニメ）はそのまま利用 */
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .24s var(--reveal-ease);
  opacity: .9;
}
#faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* 回答の開閉アニメ：既存JSが max-height を制御してくれます */
#faq .faq-a {
  max-height: 0;
   overflow: hidden;
   transition: max-height .32s var(--reveal-ease);
   will-change: max-height;
}
#faq .btns {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#faq .btn {
  width: 100%;
  max-width: 420px;
  font-size: 17px;
  padding: 16px;
  border-radius: 12px;
}


/* ------------------------------
  Footer
------------------------------ */
footer {
  background: #50545b;
  color: #fff;
  padding: 28px 0;
  margin-top: var(--pad);
}

footer .cols {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  row-gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
}

.copyright {
  font-size: 12px;
  color: #e7e7e7;
}

@media (min-width: 768px) {
  footer .cols {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 24px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand img {
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .footer-brand {
    justify-content: flex-start;
  }
}

/* ------------------------------
  Utilities / A11y
------------------------------ */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

:target {
  outline: 0;
}

.scroll-target-focus {
  outline: 2px solid rgba(0, 0, 0, .12);
  outline-offset: 4px;
  transition: outline-color .4s ease;
}

.partner {
  display: block;
  background: #f8f8f8;
  padding: 20px 0;
  font-size: 13px;
  color: #555;
  text-align: center;
  border-top: 1px solid #e2e2e2;
  text-decoration: none;
  transition: background .25s;
}

.partner:hover {
  background: #f0f0f0;
}

.partner .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.partner .label {
  font-weight: 600;
  color: #666;
}

.partner-logo {
  height: 22px;
  width: auto;
  opacity: .8;
}

.partner .name {
  font-size: 13px;
  color: #666;
}

.section h2 {
  position: relative;
  margin: 0 auto 28px;
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
  padding-bottom: 18px;
}

.section h2 .accent {
  display: block;
  width: 72px;
  height: 8px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

@media (max-width: 480px) {
  .section h2 {
    padding: 8px 10px 12px;
    font-size: clamp(22px, 6vw, 26px);
  }

  .section h2 .accent {
    width: 56px;
    height: 6px;
    margin-top: 10px;
  }
}

/* ------------------------------
  Reveal Animations
------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
  filter: blur(2px);
  transition: opacity var(--reveal-dur) var(--reveal-ease),
    transform var(--reveal-dur) var(--reveal-ease),
    filter var(--reveal-dur) var(--reveal-ease);
  will-change: opacity, transform, filter;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

[data-anim="up"] {
  transform: translateY(var(--reveal-shift));
}

[data-anim="down"] {
  transform: translateY(calc(var(--reveal-shift) * -1));
}

[data-anim="left"] {
  transform: translateX(var(--reveal-shift));
}

[data-anim="right"] {
  transform: translateX(calc(var(--reveal-shift) * -1));
}

[data-anim="scale"] {
  transform: scale(.98);
}

[data-anim="scale"].in-view {
  transform: scale(1);
}

.section h2.reveal {
  opacity: 0;
  transform: translateX(-100px);
  filter: blur(2px);
}

.section h2.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none;
  transition: transform var(--reveal-dur) var(--reveal-ease),
    opacity var(--reveal-dur) var(--reveal-ease),
    filter var(--reveal-dur) var(--reveal-ease);
}

.stagger>* {
  transition-delay: calc(var(--stagger-base, 0s) + (var(--i, 0) * 0.08s));
}

.stagger.reveal.in-view>* {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .stagger>* {
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ------------------------------
  Hero Logo Motion / Misc
------------------------------ */
.hero-logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}

.hero-logo img {
  width: clamp(240px, 40vw, 420px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25));
  will-change: transform, filter;
  transform-origin: center;
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

/* ------------------------------
  Responsive
------------------------------ */
@media (max-width: 1024px) {
  .menu {
    display: none;
  }

  .cta-mini {
    display: inline-flex;
  }

  .lineup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .campaign-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .campaign-card .media {
    height: clamp(160px, 50vw, 220px);
    margin-bottom: 8px;
  }

  .campaign-panel {
    border-radius: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 520px;
    padding: 60px 0;
  }

  .hero .center h1 {
    font-size: 28px;
  }

  .hero .lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-logo img {
    width: clamp(200px, 60vw, 320px);
  }

  .ps {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ps img {
    width: clamp(160px, 60vw, 260px);
    height: clamp(160px, 60vw, 260px);
    margin: 0 auto 12px;
  }

  .ps div {
    text-align: left;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row img {
    height: auto;
    max-height: 200px;
    margin-bottom: 12px;
  }

  .scenes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lineup-grid {
    grid-template-columns: 1fr;
  }
}

.marquee.subtle {
  position: relative;
  overflow: hidden;
  font-size: clamp(36px, 12vw, 120px);
  font-weight: 800;
  color: rgba(255, 183, 14, 0.1); /* ← 超薄いグレーで背景になじませる */
  line-height: 1;
  white-space: nowrap;
  pointer-events: none; /* クリックの邪魔をしない */
}

.marquee-inner {
  display: inline-block;
  padding-left: 100%;
  padding-top:10%;
  animation: marquee 30s linear infinite; /* ゆっくり動かす */
}

.marquee-inner span {
  margin-right: 4rem;
  letter-spacing: .05em;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* FAQ: Arrow & Slide/Fade microinteractions */
#faq details {
  position: relative;
}

/* 既定の▼マーカー非表示 + 右側に矢印 */
#faq summary {
  position: relative;
  padding-right: 28px;
  list-style: none;
}
#faq summary::-webkit-details-marker {
  display: none;
}
#faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .24s var(--reveal-ease);
  opacity: .9;
}
#faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* 回答のスライド＆フェード（JSでmax-heightを制御） */
#faq .faq-a {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  transition:
    max-height .32s var(--reveal-ease),
    opacity .24s var(--reveal-ease),
    transform .24s var(--reveal-ease);
}
#faq details[open] .faq-a {
  opacity: 1;
  transform: none;
}

/* intro */

.intro-screen {
  position: fixed;
  inset: 0;
  background: #fff; /* 白背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #111;
}

.intro-copy {
  text-align: center;
}

.intro-copy h1 {
  font-size: clamp(22px, 5vw, 32px); /* ← 少し小さめに調整 */
  font-weight: 700;
  line-height: 0.8;
  margin: 0;
}

.intro-copy h1 span {
  display: block;
  opacity: 0;
  transform: translateY(20px);
}

.intro-copy .line1 {
  animation: fadeUp 0.6s forwards;
}
.intro-copy .line2 {
  animation: fadeUp 0.6s 0.6s forwards;
}

.intro-logo {
  margin-top: 32px;
  opacity: 0;
  /* 中心よりやや左へオフセット */
  transform: translateX(-16px) scale(0.9);
  animation: logoIn 0.5s 1.8s forwards; /* コピーが揃ったあとに表示 */
}

.intro-logo img {
  height: clamp(48px, 12vw, 90px); /* 大きめ中央 */
  width: auto;
}

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

@keyframes logoIn {
  to { opacity: 1; transform: translateX(-16px) scale(1); }
}

.intro-screen.fade-out {
  animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* ===== about ===== */
.intro-brief {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}

.intro-main p {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--ink);
}

.list-check {
  margin: 0;
  padding: 0 0 0 0; /* リセット */
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-check li {
  position: relative;
  padding-left: 26px;
  line-height: 1.7;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: .15em;
  font-weight: 900;
  opacity: .9;
}

@media (max-width: 900px) {
  .intro-brief { grid-template-columns: 1fr; }
}

/* ===== About: Points Card ===== */
.intro-points {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(14px, 2.4vw, 20px);
  box-shadow: var(--shadow);
  position: relative;
}



/* リストを“ミニカード”化 */
.list-check--cards {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check--cards li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.04);
  padding: 12px 12px 12px 40px;
  line-height: 1.7;
}

/* チェックアイコン */
.list-check--cards li::before {
  content: "✔";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  opacity: .9;
}

/* 余白とレスポンシブ */
@media (max-width: 900px) {
  .intro-points { padding: 14px; }
  .list-check--cards li { padding-left: 36px; }
}

/* === About: チェック3カードをPCで狭める & 中央揃え === */
@media (min-width: 1024px) {
  /* 1カラム化済みの about グリッドで要素を中央に置く */
  .intro-brief { justify-items: center; }  /* grid内の子を中央へ */

  /* チェックカード本体の最大幅を制限して中央寄せ */
  .intro-points {
    width: min(720px, 92%);  /* 例: 最大720px、画面に応じて92% */
    margin: 0 auto;          /* 中央寄せ */
  }
}

/* ===== Header density tweaks ===== */
.nav { gap: 8px; }
.menu { gap: 6px; }
.menu a { padding: 8px 10px; } /* 詰め気味に */

.hamburger{
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
  position: relative;            /* ← 中で絶対配置を使う */
}
.hamburger span{
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2px;
  background: #333; border-radius: 2px;
  transform-origin: center;      /* ← 回転の基準を確実に中央へ */
  transition: transform .25s, opacity .25s;
}

/* 3本線の初期位置（上下±8px） */
.hamburger span:nth-child(1){ transform: translate(-50%, -8px); }
.hamburger span:nth-child(2){ transform: translate(-50%, 0); }
.hamburger span:nth-child(3){ transform: translate(-50%, 8px); }

/* X 変形：中央で交差させる */
.hamburger.active span:nth-child(1){ transform: translate(-50%, 0) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translate(-50%, 0) rotate(-45deg); }

/* 既存の gap / margin-top 指定は競合するので無効化してOK */
.hamburger span + span { margin-top: 0 !important; }

/* ===== Mobile menu sheet ===== */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  /* 既存では .menu を非表示にしているため、open時のみ表示する */
  .menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0; /* ヘッダー下に展開 */
    display: none; flex-direction: column;
    background: rgba(255,255,255,.98);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    gap: 6px; z-index: 49;
  }
  .menu.open { display: flex; }

  .menu a {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 10px;
  }
  .menu a:hover,
  .menu a:focus-visible {
    background: #f4f4f4;
    color: #000;
  }

  /* ハンバーガー採用に伴い小CTAは非表示（ヘッダー圧迫回避） */
  .cta-mini { display: none !important; }
}

.intro-visual {
  text-align: center;
}
.intro-visual img {
  
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
  border-radius: 16px;
  background: rgba(255,255,255,0.5);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  backdrop-filter: blur(8px);
  padding: 6px; /* 白フチっぽく見せる */
}


/* PC時に文章もセンタリング */
@media (min-width: 1024px) {
  .intro-main {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
}

.intro-note {
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 10px 14px;
  background: #fafafa;
  margin-top: 18px;
  margin: 0 auto;
  max-width: 640px;
  margin-left: auto;
  line-height: 1.6;
}

.marker {
  background: linear-gradient(transparent 60%, var(--accent) 60%);
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

/* ===== Dev Bar (Koto) ===== */
.dev-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #777;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease;
}
.dev-link:hover { opacity: 1; }

.dev-bar img {
  height: 18px;
  width: auto;
  object-fit: contain;
  opacity: .85;
}


.dev-bar.is-top {
  margin-bottom: 8px;
}

.dev-bar.is-bottom {
  margin-top: 24px;
}

.hero + .dev-bar.is-bottom { margin-top: 28px; }

.dev-bar.is-bottom { border-bottom-color: #e0e0e0; }


.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contact-btn img {
  height: 16px;
  width: auto;
  opacity: .85;
  vertical-align: middle;
}


.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* 文字とロゴの間隔 */
}

.contact-btn img {
  height: 16px;   /* 小さめで控えめに */
  width: auto;
  opacity: 0.8;   /* 少しトーンを落とす */
}

/* ===== Buttons: PCでも縦並びにする ===== */
.btns {
  display: flex;
  flex-direction: column;     /* 常に縦並び */
  align-items: center;        /* 中央寄せ */
  gap: 12px;                  /* 資料DLと問い合わせの間隔 */
}

/* ボタンの横幅を整える（任意） */
.btns .btn {
  width: min(320px, 100%);    /* PCでもスマホでも見栄えよく */
}

/* 問い合わせボタンの下に次コンテンツまでの余白を付与 */
.btns .contact-btn {
  margin-bottom: 60px;
  margin-bottom: 60px;        /* ご指定の「60pxぐらい」 */
}

/* ボタン塊の余白調整 */
.btns.block {
  display: flex;
  flex-direction: column;  /* 常に縦並び */
  align-items: center;
  gap: 14px;
  margin: 60px 0;          /* 上下60pxの余白 */
}

/* 幅を揃える（任意） */
.btns.block .btn {
  width: min(320px, 100%);
}

/* 開いているときは必ず見える（他のスタイルに勝つ） */
#faq details[open] .faq-a {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
