/* ============================================================
   CREDO AUTO — Landing Page
   White-based, quiet luxury. Green (trust) × Blue (action).
   Heading: 明朝 (Shippori Mincho) / Body: ゴシック (Zen Kaku Gothic New)
   ============================================================ */

:root {
  /* base / surfaces */
  --white:   #FFFFFF;
  --offwhite:#FAF9F6;
  --greige:  #F0EEE9;
  --greige-deep:#E7E3DA;

  /* ink */
  --ink:     #2B2B2B;
  --ink-soft:#54524E;

  /* accents */
  --green:   #1F3A36;   /* trust / settle */
  --green-deep:#16302C;
  --blue:    #1E6FD0;   /* action / forward */
  --blue-deep:#175CB0;
  --line:    #06C755;   /* LINE brand */
  --line-deep:#05A847;
  --slate:   #8A9A9A;   /* supporting text / hairlines */
  --slate-soft:#B7C0BF;

  /* type */
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* fluid type scale */
  --t-hero:    clamp(2.5rem, 7.4vw, 5.6rem);
  --t-display: clamp(2.0rem, 5.0vw, 3.6rem);
  --t-title:   clamp(1.65rem, 3.6vw, 2.7rem);
  --t-sub:     clamp(1.15rem, 2.0vw, 1.6rem);
  --t-lead:    clamp(1.05rem, 1.55vw, 1.32rem);
  --t-body:    clamp(1.0rem, 1.25vw, 1.16rem);
  --t-small:   clamp(0.85rem, 1.0vw, 0.95rem);
  --t-num:     clamp(4.2rem, 13vw, 9.5rem);

  /* rhythm */
  --section-pad: clamp(5.5rem, 12vh, 11rem);
  --gutter: clamp(1.4rem, 5vw, 6rem);
  --maxw: 1240px;
  --maxw-narrow: 880px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: var(--t-body);
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--mincho); font-weight: 600; line-height: 1.4; margin: 0; letter-spacing: 0.04em; }

p { margin: 0; text-wrap: pretty; }

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

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-pad); position: relative; }
.section--greige { background: var(--offwhite); }
.section--greige2 { background: var(--greige); }

.eyebrow {
  font-family: var(--gothic);
  font-weight: 700;
  font-size: var(--t-small);
  letter-spacing: 0.32em;
  color: var(--slate);
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  display: flex; align-items: center; gap: 0.85rem;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--slate-soft); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 2.4rem; height: 1px; background: var(--slate-soft); }

.lede { color: var(--ink-soft); font-size: var(--t-lead); line-height: 2.05; }

/* ---------- buttons / CTA ---------- */
.cta-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.cta-row.center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  font-family: var(--gothic); font-weight: 700; font-size: clamp(1rem, 1.2vw, 1.12rem);
  letter-spacing: 0.04em;
  padding: 1.15rem 2.1rem; border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn .ico { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-3px); }

/* primary = LINE green (LINE / 行動) */
.btn--line {
  background: var(--line); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(6,199,85,0.55);
}
.btn--line:hover { background: var(--line-deep); box-shadow: 0 18px 38px -12px rgba(6,199,85,0.6); }

/* secondary = green outline (tel / 信頼) */
.btn--tel {
  background: rgba(255,255,255,0.6); color: var(--green); border-color: var(--green);
}
.btn--tel:hover { background: var(--green); color: #fff; }

/* on-dark variants */
.on-dark .btn--tel { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.on-dark .btn--tel:hover { background: #fff; color: var(--green); border-color:#fff; }

.cta-note { font-size: var(--t-small); color: var(--slate); margin-top: 1.1rem; letter-spacing: 0.04em; }
.on-dark .cta-note { color: rgba(255,255,255,0.8); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(0.7rem,2vw,1.1rem) var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(43,43,43,0.06);
}
.site-header .logo-img { height: clamp(34px, 4.4vw, 46px); width: auto; transition: opacity .4s var(--ease); }
.site-header .logo-light { position: absolute; }
.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-dark { opacity: 1; }
.site-header .logo-dark { opacity: 0; transition: opacity .4s var(--ease); }
.header-logo { position: relative; display: inline-flex; }
.header-cta {
  display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap;
  background: var(--line); color: #fff; font-weight: 700; font-size: var(--t-small);
  padding: 0.7rem 1.3rem; border-radius: 100px; letter-spacing: 0.04em;
  box-shadow: 0 10px 24px -12px rgba(6,199,85,0.65);
  transition: transform .3s var(--ease), background .3s;
}
.header-cta:hover { transform: translateY(-2px); background: var(--line-deep); }
.header-cta .ico { width: 1.1em; height: 1.1em; }
@media (max-width: 560px){ .header-cta .label { display:none; } .header-cta{ padding:0.7rem; } .header-cta .ico{width:1.3em;height:1.3em;} }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: #25302e center/cover no-repeat; }
.hero-media.has-bg { background-image: var(--hero-bg, none); }
.hero-media image-slot, .full-slot {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.kenburns { animation: kenburns 22s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.14); }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(15,28,26,0.62) 0%, rgba(15,28,26,0.30) 34%, rgba(15,28,26,0) 62%),
    linear-gradient(to top, rgba(15,28,26,0.74) 0%, rgba(15,28,26,0.34) 30%, rgba(15,28,26,0.06) 55%, rgba(15,28,26,0.20) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(5rem, 12vh, 9rem); padding-top: 8rem; }
.hero h1 {
  color: #fff; font-size: var(--t-hero); line-height: 1.28; font-weight: 600;
  max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero .hero-sub {
  color: rgba(255,255,255,0.92); font-size: var(--t-lead); line-height: 2.0;
  max-width: 40ch; margin-top: 1.6rem; text-shadow: 0 1px 16px rgba(0,0,0,0.3);
}
.hero .cta-row { margin-top: 2.4rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,0.85);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.7rem; letter-spacing: 0.4em; font-weight: 600;
}
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0)); overflow: hidden; position: relative; }
.scroll-cue .line::after { content:""; position:absolute; top:-50%; left:0; width:100%; height:50%; background: rgba(255,255,255,0.95); animation: scrollDrop 2.2s var(--ease) infinite; }
@keyframes scrollDrop { 0%{ top:-50%; } 60%,100%{ top:100%; } }

/* ============================================================
   WORRY (共感) — split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px){ .split { grid-template-columns: 0.92fr 1.08fr; } .split.rev { grid-template-columns: 1.08fr 0.92fr; } }
.split-media image-slot { width: 100%; height: clamp(320px, 52vw, 600px); }
.worry-media { display: flex; }
.worry-img {
  width: 100%; height: auto; max-height: 760px;
  object-fit: contain; border-radius: 20px; margin-inline: auto;
}
@media (min-width: 900px){
  .worry-media { align-self: center; justify-content: center; }
  .worry-img { width: auto; max-width: 100%; max-height: 720px; }
}

.check-list { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.check-list li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.35rem 0; border-bottom: 1px solid var(--greige-deep);
  font-size: var(--t-lead); line-height: 1.8; color: var(--ink);
}
.check-list li .tick {
  flex: none; width: 1.7rem; height: 1.7rem; margin-top: 0.15rem;
  border-radius: 50%; background: var(--offwhite); border: 1.5px solid var(--slate-soft);
  display: grid; place-items: center; color: var(--green);
}
.check-list li .tick svg { width: 0.95rem; height: 0.95rem; }

/* ============================================================
   FIXED PARALLAX SECTIONS (正直 / 由来)
   ============================================================ */
.fixed-scene { position: relative; background: var(--green-deep); }
.fixed-bg { position: absolute; inset: 0; z-index: 0; }
.fixed-bg image-slot, .fixed-bg .fixed-img { position: sticky; top: 0; display: block; width: 100%; height: 100svh; }
.fixed-bg .fixed-img { object-fit: cover; object-position: center; }
.fixed-bg .scrim { position: sticky; top: 0; margin-top: -100svh; height: 100svh; z-index: 2; }
.scene-overlay-dark .scrim { background: linear-gradient(to bottom, rgba(15,28,26,0.42) 0%, rgba(15,28,26,0.66) 50%, rgba(15,28,26,0.50) 100%); }
.scene-overlay-soft .scrim { background: linear-gradient(to bottom, rgba(15,28,26,0.30) 0%, rgba(15,28,26,0.55) 60%, rgba(15,28,26,0.62) 100%); }
.fixed-content { position: relative; z-index: 3; padding-block: clamp(7rem, 24vh, 17rem); }

.honest-text p {
  color: #fff; font-family: var(--mincho); font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 2.05rem); line-height: 2.0; letter-spacing: 0.05em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.honest-lead {
  color:#fff; font-family: var(--mincho); font-size: var(--t-display); line-height: 1.55;
  margin-bottom: 2.2rem; text-shadow: 0 2px 30px rgba(0,0,0,0.4); word-break: auto-phrase; line-break: strict;
}
.honest-kicker {
  display:inline-block; color:#fff; font-weight:700; font-family: var(--gothic);
  font-size: var(--t-small); letter-spacing:0.3em; border:1px solid rgba(255,255,255,0.5);
  padding:0.5rem 1.1rem; border-radius:100px; margin-bottom:2rem;
}

/* ============================================================
   RESTART LOAN (④)
   ============================================================ */
.block-intro { text-align: center; max-width: 760px; margin-inline: auto; }
.block-intro .pre { color: var(--ink-soft); font-size: var(--t-lead); }
.stop-line {
  font-family: var(--mincho); font-size: clamp(1.7rem, 6.2vw, 3.6rem); color: var(--green);
  font-weight: 600; line-height: 1.4; margin: 1.6rem 0;
  white-space: nowrap;
}
.intro-quote { color: var(--slate); font-family: var(--mincho); font-size: var(--t-sub); font-style: italic; }
.highlight-blue { color: var(--blue); font-weight: 700; }

/* number ladder 01/02/03 */
.ladder { display: flex; flex-direction: column; gap: 1.1rem; max-width: 920px; margin: 0 auto; }
.rung {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem,3vw,2.2rem); align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.4rem,3vw,2.6rem);
  border: 1px solid var(--greige-deep); border-radius: 18px; background: var(--white);
  transition: transform .3s var(--ease);
}
.rung .rnum { font-family: var(--mincho); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; color: var(--slate-soft); }
.rung .rbody h4 { font-family: var(--mincho); font-size: var(--t-sub); margin: 0 0 0.3rem; color: var(--ink); font-weight: 600; }
.rung .rbody p { font-size: var(--t-body); color: var(--ink-soft); }
.rung.is-hero {
  border-color: var(--blue); background: linear-gradient(180deg, #fff, #f5f9ff);
  box-shadow: 0 30px 60px -34px rgba(30,111,208,0.45); transform: scale(1.0);
  padding-block: clamp(2rem, 4.5vw, 3.4rem);
}
.rung.is-hero .rnum { color: var(--blue); }
.rung.is-hero .rbody h4 { font-size: var(--t-title); color: var(--blue-deep); }
.rung.is-hero .badge {
  display:inline-block; font-family: var(--gothic); font-size: 0.72rem; font-weight:700; letter-spacing:0.14em;
  color:#fff; background: var(--blue); padding:0.25rem 0.7rem; border-radius:100px; margin-bottom:0.7rem;
}
.rung.muted { opacity: 0.82; }

/* compare cards (block3) */
.compare { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (min-width: 820px){ .compare { grid-template-columns: 1fr 1fr; } }
.cmp {
  border-radius: 20px; padding: clamp(1.8rem,3.5vw,2.8rem); border: 1px solid var(--greige-deep);
  background: var(--white);
  display: flex; flex-direction: column;
}
.cmp ul { flex: 1; }
.cmp.cmp--jisha { background: var(--offwhite); }
.cmp .cmp-figure { margin: 1.8rem 0 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--greige-deep); }
.cmp .cmp-figure img { display: block; width: 100%; height: auto; }
.cmp.cmp--restart { background: linear-gradient(180deg,#fff,#f5f9ff); border-color: var(--blue); box-shadow: 0 30px 60px -38px rgba(30,111,208,0.4); }
.cmp .cmp-tag { font-size: var(--t-small); font-weight: 700; letter-spacing: 0.16em; color: var(--slate); }
.cmp.cmp--restart .cmp-tag { color: var(--blue); }
.cmp h4 { font-family: var(--mincho); font-size: clamp(1.5rem, 5.2vw, 2.4rem); margin: 0.5rem 0 1.4rem; color: var(--ink); white-space: nowrap; }
.cmp.cmp--restart h4 { color: var(--blue-deep); }
.cmp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.cmp ul li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: var(--t-body); line-height: 1.75; color: var(--ink-soft); }
.cmp ul li .dot { flex:none; width: 0.55rem; height: 0.55rem; border-radius: 50%; margin-top: 0.7rem; background: var(--slate); }
.cmp.cmp--restart ul li .dot { background: var(--blue); }
.cmp-note { font-size: var(--t-small); color: var(--slate); margin-top: 1.6rem; line-height: 1.7; }
.cmp-note--accent { font-family: var(--mincho); color: var(--blue); font-size: var(--t-body); font-weight: 500; line-height: 1.9; letter-spacing: 0.03em; margin-top: 2rem; }

/* reason (block4) */
.reason-media image-slot { width: 100%; height: clamp(320px, 50vw, 580px); }
.reason-media .reason-img { width: 100%; height: clamp(320px, 50vw, 580px); object-fit: cover; border-radius: 20px; display: block; }
.reason-text p + p { margin-top: 1.4rem; }
.reason-text .closer { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.45rem); color: var(--green); line-height: 1.7; text-wrap: balance; }
.reason-text .closer .ph { display: inline-block; }

/* ============================================================
   FLOW (⑤)
   ============================================================ */
.flow { display: flex; flex-direction: column; gap: 0; max-width: 980px; margin-inline: auto; }
.fstep {
  display: grid; grid-template-columns: auto auto 1fr; gap: clamp(1.2rem,3.5vw,2.6rem);
  align-items: center; padding: clamp(1.6rem,3.2vw,2.4rem) 0;
  border-top: 1px solid var(--greige-deep); position: relative;
}
.fstep:last-child { border-bottom: 1px solid var(--greige-deep); }
.fstep .fnum { font-family: var(--mincho); font-weight: 700; color: var(--blue); font-size: clamp(2.6rem,7vw,4.4rem); line-height: 1; min-width: 2.4ch; }
.fstep .fmedia image-slot { width: clamp(96px, 18vw, 150px); height: clamp(96px, 18vw, 150px); }
.fstep .fmedia .fstep-img { width: clamp(110px, 20vw, 168px); height: auto; object-fit: contain; display: block; }
.fstep .fbody { }
.fstep .fbody h4 { font-family: var(--mincho); font-size: var(--t-sub); margin: 0 0 0.35rem; color: var(--ink); }
.fstep .fbody p { font-size: var(--t-body); color: var(--ink-soft); }
@media (max-width: 640px){
  .fstep { grid-template-columns: auto 1fr; grid-template-areas: "num media" "body body"; gap: 1rem 1.2rem; }
  .fstep .fnum { grid-area: num; }
  .fstep .fmedia { grid-area: media; justify-self: start; }
  .fstep .fbody { grid-area: body; }
}
.flow-note { text-align: center; color: var(--slate); font-size: var(--t-small); margin-top: 2.4rem; }
.flow-note--strong { font-family: var(--mincho); color: var(--blue); font-size: var(--t-lead); font-weight: 600; line-height: 2; letter-spacing: 0.04em; margin-top: 3rem; }

/* ============================================================
   FAQ (⑥)
   ============================================================ */
.faq { max-width: 880px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--greige-deep); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.6rem 0.2rem; font-family: var(--gothic); color: var(--ink);
  font-size: var(--t-lead); font-weight: 600; line-height: 1.6;
}
.faq-q .qmark { font-family: var(--mincho); color: var(--blue); font-weight: 700; font-size: 1.4em; line-height: 1; flex: none; }
.faq-q .qtext { flex: 1; }
.faq-q .chev { flex: none; width: 1.4rem; height: 1.4rem; margin-top: 0.25rem; color: var(--slate); transition: transform .4s var(--ease); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--blue); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq-a-inner { display: flex; gap: 1.1rem; padding: 0 0.2rem 1.7rem; color: var(--ink-soft); font-size: var(--t-body); line-height: 1.9; }
.faq-a-inner .amark { font-family: var(--mincho); color: var(--green); font-weight: 700; font-size: 1.4em; line-height: 1; flex: none; }

/* ============================================================
   ORIGIN (⑦) handled by fixed-scene
   ============================================================ */
.origin-text .word { font-family: var(--mincho); color:#fff; }
.origin-text h2 { color: #fff; font-size: var(--t-display); line-height: 1.55; text-shadow: 0 2px 30px rgba(0,0,0,0.4); word-break: auto-phrase; line-break: strict; }
.origin-text p { color: rgba(255,255,255,0.94); font-size: var(--t-lead); line-height: 2.1; margin-top: 1.6rem; text-shadow: 0 1px 16px rgba(0,0,0,0.35); }
.origin-logo { height: clamp(48px,8vw,76px); width:auto; margin-bottom: 2.2rem; }

/* ============================================================
   AREA / STORE (⑧)
   ============================================================ */
.area-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3.4rem); }
@media (min-width: 920px){ .area-grid { grid-template-columns: 1.05fr 0.95fr; } }
.map-frame {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--greige-deep); background: var(--greige);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-table { display: flex; flex-direction: column; }
.info-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--greige-deep); }
.info-row dt { color: var(--slate); font-size: var(--t-small); font-weight: 700; letter-spacing: 0.1em; padding-top: 0.15rem; }
.info-row dd { margin: 0; font-size: var(--t-body); color: var(--ink); line-height: 1.7; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.area-tags span { white-space: nowrap; font-size: var(--t-small); color: var(--green); background: var(--offwhite); border: 1px solid var(--greige-deep); padding: 0.4rem 0.95rem; border-radius: 100px; }
.area-intro { max-width: 760px; }

/* ============================================================
   CLOSING (⑨)
   ============================================================ */
.closing { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.closing-media { position: absolute; inset: 0; z-index: 0; }
.closing-media image-slot { position:absolute; inset:0; width:100%; height:100%; }
.closing-media .closing-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.closing-media::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom, rgba(15,28,26,0.5), rgba(15,28,26,0.74)); }
.closing-inner { position: relative; z-index: 2; width: 100%; text-align: center; padding-block: clamp(6rem,14vh,10rem); }
.poetic { font-family: var(--mincho); color:#fff; font-size: clamp(1.5rem, 6.6vw, 5.6rem); line-height: 1.35; letter-spacing: 0.06em; text-shadow: 0 2px 40px rgba(0,0,0,0.4); white-space: nowrap; }
.closing h2 { color:#fff; font-size: var(--t-title); margin-top: 2.4rem; font-weight: 600; }
.closing .re { color: rgba(255,255,255,0.9); font-size: var(--t-lead); margin: 1.2rem auto 0; max-width: 36ch; line-height: 2.0; }
.closing .cta-row { margin-top: 2.6rem; }

/* ---------- footer ---------- */
.footer { background: var(--green); color: rgba(255,255,255,0.82); padding-block: clamp(3.5rem,7vh,5.5rem); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-start; justify-content: space-between; }
.footer-logo { height: clamp(52px, 8vw, 72px); width: auto; margin-bottom: 1.4rem; }
.footer .f-store { font-family: var(--mincho); color: #fff; font-size: var(--t-sub); margin-bottom: 0.6rem; }
.footer address { font-style: normal; font-size: var(--t-small); line-height: 1.9; color: rgba(255,255,255,0.8); }
.footer .f-meta { font-size: var(--t-small); line-height: 1.9; }
.footer .f-meta strong { color:#fff; font-weight: 600; }
.footer-bottom { margin-top: clamp(2.4rem,5vh,3.6rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.16); font-size: var(--t-small); color: rgba(255,255,255,0.6); display:flex; flex-wrap:wrap; gap:0.5rem 1.4rem; justify-content: space-between; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 0.7rem; padding: 0.7rem clamp(0.8rem,3vw,1.2rem);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgba(43,43,43,0.08), 0 -10px 30px -20px rgba(0,0,0,0.3);
  transform: translateY(120%); transition: transform .5s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: 0.95rem 1rem; font-size: 0.98rem; }
@media (max-width: 760px){ .sticky-cta { display: flex; } }

/* ============================================================
   SCROLL REVEAL
   Hidden state is gated behind html.anim-ready, which is only added when
   the document is actually visible (so animations will run). If the page
   is rendered in a paused/offscreen context, content stays fully visible.
   ============================================================ */
.reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease); will-change: opacity, transform; }
.anim-ready .reveal { opacity: 0; transform: translateY(34px); }
.anim-ready .reveal.in { opacity: 1; transform: none; }
.reveal-slow { transition-duration: 1.4s; }
[data-delay="1"] { transition-delay: .12s; }
[data-delay="2"] { transition-delay: .24s; }
[data-delay="3"] { transition-delay: .36s; }
[data-delay="4"] { transition-delay: .48s; }
[data-delay="5"] { transition-delay: .60s; }

/* image reveal w/ ken burns on enter */
.img-reveal { overflow: hidden; }
.img-reveal image-slot { transition: transform 1.6s var(--ease), opacity 1.3s var(--ease); }
.anim-ready .img-reveal image-slot { transform: scale(1.12); opacity: 0; }
.anim-ready .img-reveal.in image-slot { transform: scale(1); opacity: 1; }

/* big number fade */
.num-fade { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.anim-ready .num-fade { opacity: 0; transform: translateY(20px); }
.anim-ready .num-fade.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .num-fade { opacity: 1 !important; transform: none !important; }
  .img-reveal image-slot { opacity:1 !important; transform:none !important; }
  html { scroll-behavior: auto; }
}

/* image-slot base look (luxury empty state) */
image-slot {
  background: var(--greige);
  color: var(--slate);
  font-family: var(--gothic);
}
.on-dark image-slot, .hero-media image-slot, .closing-media image-slot, .fixed-bg image-slot {
  background: #25302e; color: rgba(255,255,255,0.65);
}

/* ============================================================
   Mobile line-breaking: let Japanese headings wrap naturally
   instead of orphaning characters at hardcoded <br> points
   ============================================================ */
@media (max-width: 600px){
  .pc-br { display: none; }
  .origin-text h2,
  .honest-lead {
    font-size: clamp(1.55rem, 6.6vw, 2.0rem);
    line-height: 1.6;
  }
  .origin-text p,
  .honest-text p { text-wrap: pretty; }
}

/* ============================================================
   在庫紹介（トップページ ④.5 STOCK）
   ============================================================ */
.stock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.2vw, 1.6rem); }
@media (max-width: 860px){ .stock-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .stock-grid { grid-template-columns: 1fr; } }
.stock-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid rgba(43,43,43,0.10); border-radius: 14px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: var(--ink);
}
a.stock-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -30px rgba(43,43,43,0.42); color: var(--ink); }
.stock-card .sc-photo { position: relative; aspect-ratio: 4/3; background: #e9e6df; }
.stock-card .sc-photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.stock-card .sc-flag {
  position: absolute; top: 0; left: 0; z-index: 2; font-family: var(--gothic);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.06em; padding: 0.4rem 0.9rem;
  color: #fff; background: var(--green); border-bottom-right-radius: 10px;
}
.stock-card .sc-flag.sold { background: #9a3b3b; }
.stock-card .sc-flag.talk { background: var(--blue); }
.stock-card .sc-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.stock-card .sc-maker { font-family: var(--gothic); font-size: 0.76rem; color: var(--slate); font-weight: 700; letter-spacing: 0.1em; }
.stock-card .sc-name { font-size: 1.35rem; margin: 0.2rem 0 0.4rem; }
.stock-card .sc-meta { font-family: var(--gothic); font-size: 0.85rem; color: var(--ink-soft); }
.stock-card .sc-price {
  margin-top: auto; padding-top: 0.9rem; border-top: 1px solid rgba(43,43,43,0.10);
  display: flex; align-items: baseline; justify-content: space-between;
}
.stock-card .sc-price .l { font-family: var(--gothic); font-size: 0.76rem; color: var(--slate); font-weight: 700; }
.stock-card .sc-price .a { font-family: var(--mincho); color: var(--green); font-weight: 700; font-size: 0.95rem; }
.stock-card .sc-price .a b { font-size: 1.85rem; line-height: 1; }
.stock-card .sc-photo .photo-prep {
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0.4rem;
  background:repeating-linear-gradient(135deg, #ece9e2, #ece9e2 14px, #e6e2d9 14px, #e6e2d9 28px);
  color:var(--slate); font-family:var(--gothic); font-weight:700; font-size:0.9rem; letter-spacing:0.08em;
}
.stock-card .sc-photo .photo-prep .pp-ico { font-size:1.6rem; opacity:0.55; }

/* ---- hero 右下 在庫一覧ボタン ---- */
.hero-stock-btn {
  position: absolute; right: var(--gutter); bottom: clamp(1.6rem, 4vh, 2.8rem); z-index: 5;
  display: inline-flex; align-items: center; gap: 0.95rem;
  padding: 1.2rem 1.7rem; border-radius: 100px;
  background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff; font-family: var(--gothic); backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 14px 34px -18px rgba(0,0,0,0.55);
  transition: transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.hero-stock-btn:hover { transform: translateY(-3px); background: rgba(255,255,255,0.24); border-color: #fff; color: #fff; }
.hero-stock-btn .ico { width: 1.85em; height: 1.85em; flex: none; }
.hero-stock-btn .arrow { width: 1.3em; height: 1.3em; flex: none; opacity: 0.85; transition: transform .3s var(--ease); }
.hero-stock-btn:hover .arrow { transform: translateX(3px); }
.hero-stock-btn .hsb-text { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; letter-spacing: 0.04em; font-size: 1.15rem; }
.hero-stock-btn .hsb-text b { font-family: var(--mincho); font-weight: 700; font-size: 0.95rem; opacity: 0.92; letter-spacing: 0.06em; }
.hero-stock-btn .hsb-text b span { font-size: 1.45rem; }
@media (max-width: 720px){
  /* モバイルは縦積みにして、在庫ボタンをCTAの下に通常フロー配置（重なり回避） */
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero-inner { padding-bottom: 1.4rem; }
  .hero-stock-btn {
    position: static; transform: none; align-self: center;
    margin: 0 auto clamp(1.8rem, 5vh, 2.8rem); padding: 0.95rem 1.4rem; width: fit-content;
  }
  .hero-stock-btn:hover { transform: translateY(-3px); }
  .hero .scroll-cue { display: none; }
}
