/* ══════════════════════════════════════════
   LITSLY 会員DX支援 — style.css
   cci.sly.gr.jp
   カラー: ロイヤルブルー #002366 × ゴールド #D4AF37
══════════════════════════════════════════ */

:root {
  --sand:      #F5F5F0;
  --lava:      #1A1A1A;
  --lava-mid:  #4A4A4A;
  --lava-lt:   #8A8A8A;
  --rule:      #D8D4CC;
  --navy:      #002366;   /* ロイヤルブルー */
  --navy-lt:   #E8EDF5;
  --moss:      #B8963E;   /* ゴールド（サブ）*/
  --moss-mid:  #D4AF37;   /* ゴールド（メイン）*/
  --moss-lt:   #FDF8E7;
  --gold:      #D4AF37;
  --gold-dk:   #B8963E;
  --white:     #FEFDF9;
  --f-jp:      'Shippori Mincho B1', serif;
  --f-sans:    'Noto Sans JP', sans-serif;
  --f-lat:     'Cormorant Garamond', serif;
  --side:      clamp(1.2rem, 5vw, 5rem);
  --max:       1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-sans);
  background: var(--sand);
  color: var(--lava);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── HEADER ── */
#hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--side);
  transition: background .45s, border-color .45s, box-shadow .45s;
  border-bottom: 1px solid transparent;
}
#hd.scrolled {
  background: rgba(245,245,240,.96);
  backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--rule);
  box-shadow: 0 1px 24px rgba(0,31,63,.08);
}
.hd-logo { display: flex; flex-direction: column; line-height: 1.25; }
.hd-logo-main { font-family: var(--f-jp); font-size: 1rem; font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.hd-logo-main em { font-style: normal; color: var(--moss); }
.hd-logo-sub  { font-family: var(--f-lat); font-style: italic; font-size: .65rem; color: var(--lava-lt); letter-spacing: .16em; }
.hd-right { display: flex; align-items: center; gap: 2rem; }
.hd-nav { display: flex; gap: 2rem; }
.hd-nav a {
  font-size: .72rem; letter-spacing: .12em; color: var(--lava-mid);
  position: relative; padding-bottom: 3px; transition: color .25s;
}
.hd-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--moss);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.hd-nav a:hover { color: var(--moss); }
.hd-nav a:hover::after { transform: scaleX(1); }
.hd-cta {
  font-family: var(--f-jp); font-size: .72rem; letter-spacing: .1em;
  padding: .52rem 1.4rem;
  background: var(--navy); color: var(--white);
  transition: background .25s, transform .2s;
  white-space: nowrap;
}
.hd-cta:hover { background: var(--moss); transform: translateY(-1px); }
.hd-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hd-burger span { display: block; width: 22px; height: 1.5px; background: var(--lava); transition: .3s; }

/* ── DRAWER ── */
.drawer {
  position: fixed; inset: 0; z-index: 800;
  background: var(--sand);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.drawer.open { opacity: 1; pointer-events: all; }
.drawer-close {
  position: absolute; top: 1.4rem; right: var(--side);
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: var(--lava-lt); line-height: 1;
}
.drawer a {
  font-family: var(--f-jp); font-size: 1.3rem; color: var(--lava);
  letter-spacing: .08em; text-align: center;
  position: relative; padding-bottom: 4px;
}
.drawer a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--moss);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.drawer a:hover::after { transform: scaleX(1); }
.drawer a small {
  display: block; font-family: var(--f-lat); font-style: italic;
  font-size: .65rem; color: var(--lava-lt); letter-spacing: .2em; margin-top: .2rem; text-align: center;
}

/* ── HERO ── */
.hero {
  height: 100svh; min-height: 640px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
  background-color: #0A1E35;
  animation: heroZoom 16s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,31,63,.45) 0%,
    rgba(0,31,63,.25) 40%,
    rgba(245,245,240,.55) 85%,
    var(--sand) 100%
  );
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 0 var(--side);
  opacity: 0; animation: fadeUp 1.1s .6s forwards;
  width: 100%;
}
.hero-kicker {
  font-family: var(--f-lat); font-style: italic; font-size: .82rem;
  color: rgba(254,253,249,.65); letter-spacing: .25em;
  display: block; margin-bottom: 1.6rem;
}
.hero-h1 {
  font-family: var(--f-jp); font-weight: 800;
  font-size: clamp(1.9rem, 5.5vw, 4.2rem);
  line-height: 1.5; color: var(--white);
  text-shadow: 0 2px 28px rgba(0,31,63,.5);
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: clamp(.82rem, 1.8vw, 1rem);
  color: rgba(254,253,249,.82); line-height: 1.9;
  max-width: 560px; margin: 0 auto; font-weight: 300;
}

/* ── SHARED ── */
.sec {
  padding: clamp(4rem, 9vw, 9rem) var(--side);
  max-width: var(--max); margin: 0 auto;
}
.sec-center { text-align: center; }
.sec-en {
  font-family: var(--f-lat); font-style: italic; font-size: .8rem;
  letter-spacing: .28em; color: var(--lava-lt);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-bottom: 1rem;
}
.sec-en::before, .sec-en::after { content: ''; flex: 1; max-width: 56px; height: 1px; background: var(--rule); }
.sec-en.left { justify-content: flex-start; }
.sec-en.left::before { display: none; }
.sec-en.left::after  { max-width: 80px; }
.sec-h { font-family: var(--f-jp); font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.6; color: var(--lava); }
.sec-rule { width: 36px; height: 1.5px; background: var(--moss); margin: 1.4rem auto; }
.sec-rule.left { margin-left: 0; }
.sec-body { font-size: .88rem; line-height: 2.4; color: var(--lava-mid); font-weight: 300; max-width: 580px; }
.sec-body.center { margin: 0 auto; }

/* ── STORY / IDENTITY（白背景） ── */
.story-bg { background: var(--white); }
.story-single { max-width: 760px; margin: 0 auto; }
.story-quote {
  font-family: var(--f-jp);
  font-size: clamp(.95rem, 2vw, 1.3rem);
  line-height: 2; color: var(--navy);
  border-left: 2px solid var(--moss);
  padding-left: 1.4rem;
  margin: 2rem 0 2.2rem;
}
.story-prose { font-size: .86rem; line-height: 2.5; color: var(--lava-mid); font-weight: 300; }
.story-prose p { margin-bottom: 1.2rem; }
.story-prose p:last-child { margin-bottom: 0; }
.story-name {
  margin-top: 2.8rem; padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: 1rem;
}
.story-name-title { font-family: var(--f-jp); font-size: .9rem; font-weight: 700; color: var(--navy); }
.story-name-role  { font-size: .67rem; letter-spacing: .1em; color: var(--lava-lt); margin-top: .2rem; }

/* ── TRUST CARDS（4カラムグリッド） ── */
.trust-bg { background: var(--sand); }
.trust-en  { color: var(--lava-lt) !important; }
.trust-h   { color: var(--navy) !important; }
.trust-rule { background: var(--moss) !important; margin: 1.4rem auto !important; }

/* PC: trust-body-wrap は透過（flex-direction: column の中で自然に積む）*/
.trust-body-wrap { display: contents; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 3.5rem;
  background: var(--rule);
}
.trust-card {
  background: var(--white);
  padding: 2.8rem 1.8rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background .35s;
}
.trust-card:hover { background: #F5F8F5; }
.trust-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--moss);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.trust-card:hover::after { transform: scaleX(1); }

.trust-num {
  font-family: var(--f-lat); font-style: italic; font-weight: 300;
  font-size: 2.8rem; color: rgba(0,68,51,.12);
  line-height: 1; margin-bottom: 1.4rem;
}
.trust-tag {
  font-size: .6rem; letter-spacing: .18em; color: var(--moss);
  margin-bottom: .6rem;
  display: flex; align-items: center; gap: .45rem;
}
.trust-tag::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--moss); flex-shrink: 0;
}
.trust-title {
  font-family: var(--f-jp); font-size: .98rem; font-weight: 700;
  color: var(--navy); line-height: 1.7; margin-bottom: .9rem;
}
.trust-body {
  font-size: .76rem; line-height: 2; color: var(--lava-mid); font-weight: 300;
}

/* ── CASES（navy背景） ── */
.cases-bg { background: var(--navy); }
.cases-h   { color: var(--white) !important; }
.cases-en  { color: rgba(254,253,249,.35) !important; }
.cases-en::before, .cases-en::after { background: rgba(254,253,249,.12) !important; }
.cases-rule { background: rgba(0,68,51,.8) !important; }
.cases-sub  { color: rgba(254,253,249,.65) !important; }
.cases-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(254,253,249,.07); margin-top: 3.5rem;
}
.case-card {
  background: var(--navy); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background .35s;
}
.case-card:hover { background: #002855; }
.case-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--moss), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s;
}
.case-card:hover::before { transform: scaleX(1); }
.case-num   { font-family: var(--f-lat); font-weight: 300; font-size: 3.5rem; color: rgba(254,253,249,.1); line-height: 1; margin-bottom: 1.2rem; }
.case-tag   { font-size: .62rem; letter-spacing: .2em; color: rgba(0,200,120,.8); margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.case-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #00AA66; flex-shrink: 0; }
.case-title { font-family: var(--f-jp); font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.65; margin-bottom: 1rem; }
.case-body  { font-size: .8rem; line-height: 2; color: rgba(254,253,249,.75); font-weight: 300; }

/* ── PLANS（3プラン） ── */
.plans-bg { background: var(--sand); }
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule); margin-top: 3.5rem;
}
.plan-card {
  background: var(--white); padding: 3rem 2rem 3rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,31,63,.1); z-index: 1; }
.plan-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .45s;
}
.plan-card.p1::after { background: var(--moss); }
.plan-card.p2::after { background: var(--navy); }
.plan-card.p3::after { background: var(--gold); }
.plan-card:hover::after { transform: scaleX(1); }
.plan-icon   { font-size: 2.5rem; margin-bottom: 1.2rem; line-height: 1; }
.plan-bignum {
  font-family: var(--f-lat); font-weight: 300; font-size: 4rem;
  color: var(--rule); line-height: 1;
  position: absolute; top: 1.5rem; right: 1.5rem;
}
.plan-cat   { font-size: .63rem; letter-spacing: .2em; color: var(--lava-lt); margin-bottom: .6rem; font-weight: 400; }
.plan-title { font-family: var(--f-jp); font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.7; margin-bottom: 1rem; }
.plan-desc  { font-size: .82rem; line-height: 2.1; color: var(--lava-mid); font-weight: 300; margin-bottom: 1.6rem; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.8rem; }
.plan-feats li {
  font-size: .76rem; color: var(--lava-mid);
  display: flex; align-items: baseline; gap: .6rem; line-height: 1.65; font-weight: 300;
}
.plan-feats li::before { content: '—'; color: var(--moss); font-size: .65rem; flex-shrink: 0; }
.plan-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.plan-tag  { font-size: .63rem; border: 1px solid var(--rule); color: var(--lava-lt); padding: .18rem .65rem; letter-spacing: .05em; }

/* ── PROCESS ── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
  margin-top: 4rem;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 2.4rem 1.8rem;
  text-align: center;
  transition: box-shadow .35s, transform .35s;
}
.process-step:hover { box-shadow: 0 8px 32px rgba(0,31,63,.08); transform: translateY(-4px); }
.process-num {
  font-family: var(--f-lat); font-style: italic;
  font-size: 2.5rem; font-weight: 300;
  color: var(--moss); line-height: 1;
  margin-bottom: 1rem;
}
.process-title { font-family: var(--f-jp); font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.6; margin-bottom: .8rem; }
.process-body  { font-size: .76rem; line-height: 2.1; color: var(--lava-mid); font-weight: 300; }
.process-connector {
  align-self: center;
  font-family: var(--f-lat); font-size: 1.4rem;
  color: var(--rule); padding: 0 .8rem;
  margin-top: -2rem;
}

/* ── CTA ── */
.cta-bg {
  background: linear-gradient(135deg, #001844 0%, var(--navy) 50%, #001844 100%);
  position: relative; overflow: hidden;
}
.cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-inner {
  position: relative; z-index: 1;
  padding: clamp(4rem, 9vw, 8rem) var(--side);
  max-width: 760px; margin: 0 auto; text-align: center;
}
.cta-kicker {
  font-family: var(--f-lat); font-style: italic; font-size: .78rem;
  color: rgba(254,253,249,.5); letter-spacing: .28em;
  display: block; margin-bottom: 1.8rem;
}
.cta-h {
  font-family: var(--f-jp); font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: #fff; line-height: 1.6; margin-bottom: 1.5rem;
}
.cta-p {
  font-size: .88rem; line-height: 2.1;
  color: rgba(254,253,249,.75); font-weight: 300;
  max-width: 460px; margin: 0 auto 3rem;
}

/* ── フォーム ── */
.contact-form {
  background: rgba(254,253,249,.06);
  border: 1px solid rgba(254,253,249,.15);
  padding: 2.8rem;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
.form-row { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.4rem; }
.form-label { font-size: .72rem; letter-spacing: .1em; color: rgba(254,253,249,.75); font-weight: 400; }
.form-label .req {
  background: var(--moss); color: #fff;
  font-size: .58rem; padding: .1rem .4rem;
  margin-left: .4rem; letter-spacing: .05em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(254,253,249,.08);
  border: 1px solid rgba(254,253,249,.2);
  color: #fff;
  font-family: var(--f-sans); font-size: .85rem;
  padding: .75rem 1rem;
  transition: border-color .25s, background .25s;
  appearance: none; -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(254,253,249,.4); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: rgba(254,253,249,.5);
  background: rgba(254,253,249,.12);
}
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(254,253,249,.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.form-select option { background: var(--navy); color: #fff; }
.form-textarea { height: 140px; resize: vertical; line-height: 1.7; }
.form-honey { display: none !important; }
.form-submit-row { margin-top: 2rem; text-align: center; }
.form-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  background: transparent;
  border: 1.5px solid rgba(254,253,249,.5);
  color: #fff;
  font-family: var(--f-jp); font-size: .88rem; letter-spacing: .14em; font-weight: 500;
  padding: 1rem 2.8rem;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color .3s, color .3s;
}
.form-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  z-index: 0;
}
.form-btn:hover { border-color: var(--white); color: var(--moss); }
.form-btn:hover::before { transform: scaleX(1); }
.form-btn span { position: relative; z-index: 1; }
.form-btn .btn-arrow { position: relative; z-index: 1; display: inline-block; font-size: 1rem; line-height: 1; transition: transform .3s; }
.form-btn:hover .btn-arrow { transform: translateX(4px); }
.form-btn:disabled { opacity: .45; cursor: not-allowed; }
.form-btn:disabled::before { display: none; }
.form-msg { margin-top: 1.2rem; font-size: .8rem; min-height: 1.4rem; }
.form-msg.ok  { color: #7EC98A; }
.form-msg.err { color: #F4A4A4; }
.cta-note { font-size: .7rem; color: rgba(254,253,249,.5); margin-top: 1.6rem; line-height: 1.9; }

/* ── INFO ── */
.info-bg { background: var(--sand); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.info-block { max-width: 680px; margin: 2.8rem auto 0; border: 1px solid var(--rule); background: var(--white); overflow: hidden; }
.info-cell-full { background: var(--white); padding: 1.6rem 2rem; border-bottom: 1px solid var(--rule); text-align: left; }
.info-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); }
.info-row2 .info-cell { background: var(--white); padding: 1.6rem 2rem; text-align: center; }
.info-label { font-family: var(--f-lat); font-style: italic; font-size: .65rem; letter-spacing: .2em; color: var(--lava-lt); display: block; margin-bottom: .5rem; }
.info-val   { font-family: var(--f-jp); font-size: .85rem; color: var(--navy); line-height: 1.8; }
.info-val a { color: var(--moss); }
.info-badge-wrap { text-align: center; margin-top: 2.5rem; }
.info-badge {
  display: inline-block;
  background: var(--navy); color: #fff;
  font-family: var(--f-jp); font-size: .82rem; letter-spacing: .1em;
  padding: .85rem 2.8rem;
  cursor: pointer; border: none;
  transition: background .25s, transform .2s;
}
.info-badge:hover { background: var(--moss); transform: translateY(-1px); }

/* ── FAQ ── */
.faq-bg { background: var(--white); }
.faq-wrap { max-width: 680px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; cursor: pointer; gap: 1rem; }
.faq-q-t { font-family: var(--f-jp); font-size: .9rem; font-weight: 700; color: var(--navy); line-height: 1.6; }
.faq-q-t::before { content: 'Q. '; color: var(--moss); }
.faq-tog { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--lava-lt); font-size: 1.2rem; transition: transform .3s, color .3s; }
.faq-item.on .faq-tog { transform: rotate(45deg); color: var(--moss); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.faq-a-in { padding: .8rem 1rem 1.8rem 1.6rem; font-size: .83rem; line-height: 2.4; color: var(--lava-mid); font-weight: 300; border-left: 1.5px solid var(--moss-lt); margin-left: .3rem; }
.faq-a-in br { display: block; content: ''; margin-top: .3rem; }
.faq-item.on .faq-a { max-height: 360px; }

/* ── FOOTER ── */
/* FOOTER OVERRIDDEN BY global-footer.js
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 4rem var(--side) 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  border-bottom: 1px solid rgba(212,175,55,.12);
}
.footer-left { display: flex; flex-direction: column; gap: .6rem; max-width: 280px; }
.footer-logo {
  font-family: var(--f-lat); font-size: 1.6rem; font-weight: 300;
  color: #fff; letter-spacing: .12em;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: .74rem; color: rgba(254,253,249,.5); line-height: 1.9; font-weight: 300; margin-top: .3rem; }
.footer-address { font-size: .7rem; color: rgba(254,253,249,.4); line-height: 1.8; font-weight: 300; }
.footer-sub { margin-top: .6rem; }
.footer-sub a {
  font-size: .65rem; color: rgba(254,253,249,.4);
  transition: color .25s; margin-right: 1rem;
}
.footer-sub a:hover { color: rgba(254,253,249,.8); }
.footer-copy { font-size: .62rem; color: rgba(254,253,249,.28); margin-top: .4rem; }

.footer-links {
  display: flex; flex-direction: column;
  gap: .7rem; padding-top: .3rem;
}
.footer-links a {
  font-size: .76rem; color: rgba(254,253,249,.5);
  transition: color .25s; font-weight: 300;
  position: relative; padding-left: .9rem;
}
.footer-links a::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(212,175,55,.4);
  transition: background .25s;
}
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::before { background: var(--gold); }

/* ── 事務局向け誘導セクション ── */
.secretariat-bg {
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.secretariat-btn {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--navy); color: var(--white);
  font-family: var(--f-jp); font-size: .88rem; font-weight: 500;
  letter-spacing: .1em;
  padding: 1rem 2.4rem;
  margin-top: 2.4rem;
  border: 1.5px solid transparent;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
}
.secretariat-btn:hover {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}
.secretariat-btn .btn-arrow {
  display: inline-block; transition: transform .3s;
}
.secretariat-btn:hover .btn-arrow { transform: translateX(4px); }

/* レスポンシブ */
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 2.4rem; padding: 3rem var(--side) 2rem; }
  .footer-left { max-width: 100%; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: .5rem 1.4rem; }
  .footer-links a { font-size: .72rem; }
*/
}
@media (max-width: 640px) {
  .footer-links { flex-direction: column; gap: .6rem; }
  .secretariat-btn { width: 100%; justify-content: center; font-size: .82rem; padding: .9rem 1.4rem; }
}

/* ── REVEAL ── */
.rv  { opacity:0; transform:translateY(22px);  transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1); }
.rvl { opacity:0; transform:translateX(-20px); transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1); }
.rvr { opacity:0; transform:translateX(20px);  transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1); }
.rv.vis,.rvl.vis,.rvr.vis { opacity:1; transform:none; }

@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

/* ── タブレット（〜980px） ── */
@media (max-width: 980px) {
  /* Header */
  .hd-nav, .hd-cta { display: none; }
  .hd-burger { display: flex; }

  /* Hero */
  .hero-h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }

  /* Trust: 2×2 */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  /* Plans: 1列 */
  .plans-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .plan-card { flex-direction: row; flex-wrap: wrap; gap: 0; align-items: flex-start; }
  .plan-card .plan-bignum { position: static; font-size: 2.5rem; margin-right: auto; margin-bottom: 0; }
  .plan-member-badge { order: -1; }

  /* Cases: 1列 */
  .cases-grid { grid-template-columns: 1fr; }

  /* Process: 縦積み */
  .process-grid { grid-template-columns: 1fr; gap: 1px; background: var(--rule); }
  .process-connector { display: none; }

  /* CTA form */
  .contact-form { max-width: 100%; }

  /* Footer */
  .ft-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  /* Ribbon */
  .ribbon-divider { display: none; }
  .ribbon-inner { gap: 2rem; }
}

/* ── スマートフォン（〜640px） ── */
@media (max-width: 640px) {
  /* Hero */
  .hero { min-height: 100svh; }
  .hero-h1 { font-size: 1.75rem; line-height: 1.55; }
  .hero-kicker { font-size: .68rem; letter-spacing: .14em; margin-bottom: 1.2rem; }
  .hero-sub { font-size: .8rem; line-height: 1.85; }
  .hero-badge { font-size: .7rem; padding: .55rem 1.1rem; margin-top: 1.6rem; text-align: center; }

  /* Ribbon */
  .ribbon-inner { flex-direction: column; gap: 1.4rem; padding: 1.8rem var(--side); }
  .ribbon-icon { font-size: 1.5rem; }
  .ribbon-label { font-size: .74rem; }

  /* Section共通 */
  .sec { padding: clamp(2.8rem, 7vw, 5rem) var(--side); }
  .sec-h { font-size: clamp(1.4rem, 5vw, 2rem); }
  .sec-body { font-size: .84rem; }

  /* Story */
  .story-quote { font-size: .9rem; padding-left: 1rem; line-height: 1.9; }
  .story-prose { font-size: .84rem; line-height: 2.3; }
  .story-name { flex-direction: column; align-items: flex-start; }
  .story-name-title { font-size: .85rem; }

  /* Trust: 1列・左数字＋右テキスト横並び */
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card {
    padding: 0;
    flex-direction: row;
    align-items: stretch;
    min-height: 100px;
  }
  .trust-card::after {
    /* 下線 → 左縦線に変更 */
    top: 0; bottom: 0; left: 0; right: auto;
    width: 3px; height: auto;
    transform: scaleY(0); transform-origin: top;
  }
  .trust-card:hover::after { transform: scaleY(1); }
  .trust-num {
    flex: 0 0 60px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 0;
    background: var(--royal-lt);
    border-right: 1px solid var(--rule);
    color: rgba(0,35,102,.3);
    padding: 1.4rem 0;
    line-height: 1;
  }
  .trust-body-wrap {
    display: flex; /* contents → 実 flex コンテナに */
    flex: 1; min-width: 0;
    padding: 1.4rem 1.2rem;
    flex-direction: column; justify-content: center;
    text-align: left;
  }
  .trust-tag  { margin-bottom: .4rem; }
  .trust-title { font-size: .92rem; margin-bottom: .5rem; }
  .trust-body  { font-size: .74rem; line-height: 1.9; }

  /* Plans: 1列・フラット */
  .plans-grid { grid-template-columns: 1fr; max-width: 100%; background: transparent; gap: 1rem; }
  .plan-card { padding: 2rem 1.4rem; flex-direction: column; border: 1px solid var(--rule); }
  .plan-card.p3 { border-color: var(--gold); }
  .plan-card:hover { transform: none; box-shadow: none; }
  .plan-bignum { position: static; font-size: 2rem; margin-bottom: .5rem; }
  .plan-title { font-size: 1.05rem; }
  .plan-desc { font-size: .8rem; }
  .plan-feats li { font-size: .74rem; }

  /* Cases */
  .cases-grid { grid-template-columns: 1fr; gap: 1px; }
  .case-card { padding: 2rem 1.4rem; }
  .case-num { font-size: 2.5rem; }
  .case-title { font-size: 1rem; }
  .case-body { font-size: .78rem; line-height: 1.95; }

  /* Process */
  .process-step { padding: 1.6rem 1.2rem; }
  .process-num { font-size: 2rem; }
  .process-title { font-size: .9rem; }
  .process-body { font-size: .74rem; }

  /* CTA */
  .cta-inner { padding: clamp(3rem, 7vw, 5rem) var(--side); }
  .cta-h { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-p { font-size: .82rem; }
  .cta-badge { font-size: .68rem; padding: .4rem 1rem; }

  /* Form */
  .contact-form { padding: 1.6rem 1.2rem; }
  .form-label { font-size: .7rem; }
  .form-input, .form-select, .form-textarea { font-size: .83rem; padding: .68rem .9rem; }
  .form-btn { padding: .9rem 1.6rem; font-size: .82rem; width: 100%; justify-content: center; }
  .form-textarea { height: 120px; }

  /* Info */
  .info-block { margin-top: 2rem; }
  .info-row2 { grid-template-columns: 1fr; }
  .info-row2 .info-cell { border-bottom: 1px solid var(--rule); }
  .info-badge { padding: .85rem 1.6rem; width: 100%; text-align: center; display: block; }
  .info-cell-full, .info-row2 .info-cell { padding: 1.2rem 1.4rem; }

  /* FAQ */
  .faq-wrap { margin-top: 2rem; }
  .faq-q { padding: 1.2rem 0; }
  .faq-q-t { font-size: .84rem; }
  .faq-a-in { font-size: .8rem; padding: .6rem .8rem 1.4rem 1.2rem; }
}

/* ── 極小（〜375px） ── */
@media (max-width: 375px) {
  .hero-h1 { font-size: 1.55rem; }
  .sec-h { font-size: 1.35rem; }
  .plan-title, .trust-title { font-size: .95rem; }
  .hero-badge { font-size: .65rem; padding: .5rem .9rem; }
  .ribbon-label { font-size: .7rem; }
  .cta-h { font-size: 1.4rem; }
}

/* ────────────────────────────────────────
   cci.sly.gr.jp 追加スタイル
   会員限定バッジ・リボン・CTAバッジ
──────────────────────────────────────── */

/* ── ヘッダーCTA（ゴールド）── */
.hd-cta {
  background: var(--gold) !important;
  color: #001844 !important;
  font-weight: 700 !important;
}
.hd-cta:hover { background: var(--gold-dk) !important; }

/* ── Hero バッジ ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: #001844;
  font-family: var(--f-jp); font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  padding: .65rem 1.8rem;
  margin-top: 2.2rem;
  transition: background .25s, transform .2s;
}
.hero-badge:hover { background: var(--gold-dk); transform: translateY(-2px); }

/* ── 会員特典リボン（lg デザイン言語: 白背景＋左ボーダー＋カードグリッド）── */
.ribbon-bg {
  background: var(--sand);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ribbon-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4rem) var(--side);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
/* divider は grid では不要 */
.ribbon-divider { display: none; }

.ribbon-item {
  background: var(--white);
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 2rem 1.6rem;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.ribbon-item:hover { background: var(--royal-lt); }
.ribbon-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.ribbon-item:hover::after { transform: scaleX(1); }

/* 番号（lg の trust-num スタイル）*/
.ribbon-item::before {
  content: attr(data-num);
  font-family: var(--f-lat); font-style: italic; font-weight: 300;
  font-size: 2.4rem; color: rgba(0,35,102,.1);
  line-height: 1; margin-bottom: .8rem;
  display: block;
}

.ribbon-icon {
  font-size: 1.5rem; line-height: 1;
  margin-bottom: .7rem;
}
.ribbon-label {
  font-family: var(--f-jp); font-size: .88rem; font-weight: 700;
  color: var(--navy); letter-spacing: .04em;
  line-height: 1.5; margin-bottom: .35rem;
}
.ribbon-note {
  font-size: .65rem; letter-spacing: .14em;
  color: var(--gold-dk);
  display: flex; align-items: center; gap: .4rem;
}
.ribbon-note::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* tablet */
@media (max-width: 980px) {
  .ribbon-inner { grid-template-columns: repeat(2, 1fr); }
}
/* SP */
@media (max-width: 640px) {
  .ribbon-inner { grid-template-columns: 1fr 1fr; gap: 1px; }
  .ribbon-item { padding: 1.4rem 1.2rem; }
  .ribbon-item::before { font-size: 1.8rem; margin-bottom: .5rem; }
  .ribbon-icon { font-size: 1.2rem; margin-bottom: .5rem; }
  .ribbon-label { font-size: .78rem; }
  .ribbon-note { font-size: .6rem; }
}
@media (max-width: 375px) {
  .ribbon-inner { grid-template-columns: 1fr; }
}

/* ── plan-card 会員限定バッジ ── */
.plan-member-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--gold); color: #001844;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  padding: .22rem .7rem;
  margin-bottom: .9rem; align-self: flex-start;
}

/* p3（特別優待）を金色背景で強調 */
.plan-card.p3 { background: var(--moss-lt); border: 1.5px solid var(--gold); }
.plan-card.p3 .plan-title { color: #001844; }
.plan-card.p3 .plan-feats li::before { content: '★'; color: var(--gold-dk); }
.plan-card.p3::after { background: linear-gradient(to right, var(--gold), var(--navy)) !important; }

/* ── CTA バッジ ── */
.cta-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--gold); color: var(--gold);
  font-family: var(--f-jp); font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  padding: .45rem 1.4rem;
  margin-bottom: 2rem;
}

/* ── フォームの送信ボタンをゴールドに ── */
.form-btn {
  background: var(--gold) !important;
  border: none !important;
  color: #001844 !important;
  font-weight: 700 !important;
}
.form-btn::before { display: none !important; }
.form-btn:hover { background: var(--gold-dk) !important; transform: translateY(-2px); }
.form-btn:hover { color: #001844 !important; }

/* ── 必須バッジをゴールドに ── */
.form-label .req { background: var(--gold); color: #001844; font-weight: 700; }

/* ── info-badge をゴールドに ── */
.info-badge {
  background: var(--gold) !important; color: #001844 !important; font-weight: 700 !important;
}
.info-badge:hover { background: var(--gold-dk) !important; }

/* ── FAQ Q. をゴールドに ── */
.faq-q-t::before { color: var(--gold-dk); }
.faq-item.on .faq-tog { color: var(--gold-dk); }

/* 極小（〜375px） */
@media (max-width: 375px) {
  .hero-h1 { font-size: 1.6rem; }
  .sec-h { font-size: 1.4rem; }
  .plan-title, .trust-title { font-size: 1rem; }
}


/* Footer */
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 40px;
}
.footer-brand-name { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: .12em; }
.footer-brand-tagline { font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .08em; margin-top: 4px; }
.footer-nav-group { }
.footer-nav-label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,.5);
  padding: 4px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 2px;
  transition: color .2s, border-color .2s;
}
.footer-links a:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,.25); }
.footer-policy a { font-size: 11px; color: rgba(255,255,255,.25); margin-left: 16px; transition: color .2s; }
.footer-policy a:hover { color: rgba(255,255,255,.6); }
@media (max-width: 767px) {
  .footer-top { flex-direction: column; gap: 28px; }
}
