/* ══════════════════════════════════════════
   LITSLY 地域DX支援 — style.css
   lg.sly.gr.jp
══════════════════════════════════════════ */

:root {
  --sand:      #F5F5F0;
  --lava:      #1A1A1A;
  --lava-mid:  #4A4A4A;
  --lava-lt:   #8A8A8A;
  --rule:      #D8D4CC;
  --navy:      #001F3F;
  --navy-lt:   #E4EAF2;
  --moss:      #004433;
  --moss-mid:  #005544;
  --moss-lt:   #E8F0ED;
  --gold:      #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カラム → 2×2 → 1列） ── */
.trust-bg { background: var(--sand); }
.trust-sec { text-align: center; } /* 見出しのみ中央 */
.trust-en  { color: var(--lava-lt) !important; }
.trust-h   { color: var(--navy) !important; }
.trust-rule { background: var(--moss) !important; margin: 1.4rem auto !important; }

.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;
  text-align: left !important;
}
.trust-card:hover { background: #F2F8F4; }
.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.2rem;
  text-align: left !important;
}
.trust-tag {
  font-size: .6rem; letter-spacing: .18em; color: var(--moss);
  margin-bottom: .55rem;
  display: flex; align-items: center; gap: .4rem;
  text-align: left !important;
}
.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: .8rem;
  text-align: left !important;
}
.trust-body {
  font-size: .76rem; line-height: 2; color: var(--lava-mid); font-weight: 300;
  text-align: left !important;
}
/* SP用ラッパー */
.trust-body-wrap { display: contents; }

/* ── 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, var(--navy) 0%, #002E5A 50%, var(--moss) 100%);
  position: relative; overflow: hidden;
}
.cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(254,253,249,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254,253,249,.03) 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 { background: var(--navy); }
.ft-top {
  max-width: var(--max); margin: 0 auto;
  padding: 5rem var(--side) 4rem;
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem; border-bottom: 1px solid rgba(254,253,249,.06);
}
.ft-logo-main { font-family: var(--f-jp); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.ft-logo-main em { font-style: normal; color: #6ECFAA; }
.ft-logo-url  { font-family: var(--f-lat); font-style: italic; font-size: .65rem; color: rgba(254,253,249,.45); letter-spacing: .12em; }
.ft-tagline   { font-size: .74rem; color: rgba(254,253,249,.5); margin-top: .9rem; line-height: 1.9; max-width: 200px; font-weight: 300; }
.ft-address   { font-size: .72rem; color: rgba(254,253,249,.55); margin-top: .8rem; line-height: 1.8; font-weight: 300; }
.ft-col-h { font-size: .58rem; letter-spacing: .24em; color: rgba(254,253,249,.35); margin-bottom: 1.1rem; font-weight: 400; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.ft-col a  { font-size: .76rem; color: rgba(254,253,249,.55); transition: color .25s; font-weight: 300; }
.ft-col a:hover { color: #fff; }
.ft-bot {
  max-width: var(--max); margin: 0 auto;
  padding: 1.5rem var(--side);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.ft-pol a  { font-size: .65rem; color: rgba(254,253,249,.4); margin-right: 1.4rem; transition: color .25s; }
.ft-pol a:hover { color: rgba(254,253,249,.8); }
.ft-copy { font-size: .63rem; color: rgba(254,253,249,.3); }

/* ── 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
════════════════════════════════ */

/* タブレット横（〜1100px） */
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 1px; background: var(--rule); }
  .process-connector { display: none; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* スマートフォン（〜640px） */
@media (max-width: 640px) {
  /* Hero */
  .hero-h1 { font-size: 1.85rem; }
  .hero-kicker { font-size: .7rem; letter-spacing: .15em; }
  .hero-sub { font-size: .82rem; }

  /* Story */
  .story-quote { font-size: .92rem; padding-left: 1rem; }
  .story-name { flex-direction: column; align-items: flex-start; }

  /* ── Trust SP: cci.sly.gr.jp準拠 番号左・テキスト右 ── */
  .trust-grid {
    grid-template-columns: 1fr;
    border: 1px solid var(--rule);
    background: var(--rule);
    gap: 1px;
    margin-top: 2rem;
  }
  .trust-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.2rem;
    text-align: left;
  }
  .trust-num {
    font-size: 1.8rem;
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 2.2rem;
    line-height: 1.1;
  }
  .trust-body-wrap {
    display: block;
    flex: 1;
    text-align: left;
  }
  .trust-tag   { margin-bottom: .3rem; font-size: .6rem; text-align: left !important; }
  .trust-title { font-size: .88rem; margin-bottom: .4rem; text-align: left !important; }
  .trust-body  { font-size: .74rem; line-height: 1.85; text-align: left !important; }

  /* Plans */
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 2.2rem 1.4rem; }

  /* Cases */
  .cases-grid { grid-template-columns: 1fr; }
  .case-card { padding: 2rem 1.4rem; }

  /* Process */
  .process-step { padding: 1.8rem 1.2rem; }

  /* CTA form */
  .contact-form { padding: 1.8rem 1.2rem; }
  .form-btn { padding: .9rem 1.8rem; font-size: .82rem; width: 100%; }

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

  /* Footer */
  .ft-top { grid-template-columns: 1fr; gap: 2rem; }
  .ft-bot { flex-direction: column; align-items: flex-start; gap: .5rem; }

  /* FAQ */
  .faq-q-t { font-size: .85rem; }
}

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


/* 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; }
}
