/* =====================================================================
   自治体PR動画コンテスト 公募LP v3 — style_v3.css（warm & gentle）
   Design language: "やさしい共創"
     base   : Cream (#fdfcf8) × Sage Green (#4f9e83)
     accent : Apricot (#e89a64) / Soft Sun (#f5d489)
     texture: 淡いドットグリッド、ヘアライン、丸み、長くやわらかい影
   ===================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --green-deep:  #2f6b57;
  --green:       #367a64;
  --green-soft:  #7cbda7;
  --green-light: #e9f4ef;
  --green-mist:  #f3f8f5;
  --cream:       #fdfcf8;
  --apricot:     #b85a27;
  --apricot-2:   #a94f24;
  --apricot-lt:  #fdf1e7;
  --sun:         #f5d489;
  --white:       #ffffff;
  --text:        #33433c;
  --text-mid:    #5b6b63;
  --text-light:  #68786f;
  --border:      #e0eae4;
  --border-soft: #ecf3ee;
  --grad-apricot: linear-gradient(135deg, #b85a27 0%, var(--apricot) 45%, var(--apricot-2) 100%);
  --grad-green:   linear-gradient(135deg, #43806d 0%, var(--green) 55%, #285f4f 100%);
  --shadow:      0 6px 24px rgba(79, 158, 131, 0.1);
  --shadow-lg:   0 24px 56px -16px rgba(47, 107, 87, 0.22);
  --radius:      16px;
  --radius-lg:   24px;
  --transition:  0.28s cubic-bezier(0.25, 0.6, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.95;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--apricot-2); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(245, 212, 137, 0.55); }
:focus-visible { outline: 3px solid rgba(79, 158, 131, 0.5); outline-offset: 2px; border-radius: 4px; }

/* ---------- Utility ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } }
.nw { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
}
.btn--primary {
  background: var(--grad-apricot);
  color: var(--white);
  box-shadow: 0 10px 26px -8px rgba(217, 127, 69, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary::after { content: '→'; font-weight: 900; transition: transform var(--transition); }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(217, 127, 69, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn--primary:hover::after { transform: translateX(4px); }
.btn--ghost,
.btn--ghost-light {
  background: var(--white);
  color: var(--green-deep);
  border: 1.5px solid var(--green-soft);
}
.btn--ghost:hover,
.btn--ghost-light:hover { background: var(--green-light); color: var(--green-deep); border-color: var(--green); transform: translateY(-1px); }
.btn--ghost-light { font-size: 0.9rem; padding: 12px 26px; }
.btn--ghost-light::after { content: '↗'; font-size: 0.85em; opacity: 0.65; }
.btn--large { padding: 21px 52px; font-size: 1.08rem; }

/* =====================================================================
   Nav
   ===================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1.3; }
.nav__logo-pre { font-size: 0.66rem; color: var(--text-light); letter-spacing: 0.12em; }
.nav__logo-main { font-weight: 900; font-size: 1rem; color: var(--green-deep); letter-spacing: 0.01em; }
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__link { font-size: 0.88rem; font-weight: 500; color: var(--text-mid); position: relative; padding: 4px 0; }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--apricot);
  transition: right var(--transition);
}
.nav__link:hover { color: var(--green-deep); }
.nav__link:hover::after { right: 0; }
.nav__cta {
  background: var(--green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(79, 158, 131, 0.3);
}
.nav__cta:hover { background: var(--green-deep); color: var(--white); transform: translateY(-1px); }
@media (max-width: 860px) { .nav__link { display: none; } }

/* =====================================================================
   Section base
   ===================================================================== */
.section { padding: 110px 0; position: relative; }
.section--white { background: var(--white); }
.section--mist  { background: linear-gradient(180deg, var(--green-mist) 0%, #f6faf7 100%); }
/* もとの濃紺セクションも、やわらかな淡グリーンに */
.section--ink {
  background:
    radial-gradient(ellipse 55% 42% at 92% 0%, rgba(245, 212, 137, 0.25), transparent 62%),
    radial-gradient(ellipse 48% 40% at 4% 100%, rgba(232, 154, 100, 0.12), transparent 58%),
    linear-gradient(170deg, #eef7f2 0%, var(--green-light) 55%, #e2f0e9 100%);
  color: var(--text);
}

.section__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section__eyebrow::before, .section__eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.section__eyebrow--light { color: var(--green); }

.section__title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.65rem, 3.3vw, 2.35rem);
  text-align: center;
  line-height: 1.55;
  letter-spacing: 0.025em;
  margin-bottom: 26px;
  color: var(--green-deep);
}
.section__title--light { color: var(--green-deep); }
.section__lead {
  text-align: center;
  color: var(--text-mid);
  max-width: 720px;
  margin: 0 auto 44px;
}
.section__lead--light { color: var(--text-mid); }

/* =====================================================================
   ① Hero
   ===================================================================== */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--cream) 0%, #f3faf6 55%, #eaf5ef 100%);
  color: var(--text);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(79, 158, 131, 0.13) 1px, transparent 0),
    radial-gradient(ellipse 52% 46% at 88% 6%, rgba(245, 212, 137, 0.32), transparent 62%),
    radial-gradient(ellipse 46% 42% at 6% 96%, rgba(124, 189, 167, 0.25), transparent 58%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-soft) 0%, transparent 35%, transparent 65%, var(--sun) 100%);
  opacity: 0.8;
}
.hero__inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 24px 84px;
  text-align: center;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 34px;
  box-shadow: var(--shadow);
}
.hero__chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 0 0 0 rgba(232, 154, 100, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 154, 100, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(232, 154, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 154, 100, 0); }
}
.hero__chip-strong { font-weight: 700; font-size: 0.88rem; letter-spacing: 0.06em; color: var(--green-deep); }
.hero__chip-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--text-light);
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.hero__title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.72rem, 4.4vw, 3rem);
  line-height: 1.5;
  letter-spacing: 0.025em;
  margin-bottom: 30px;
  color: var(--green-deep);
  text-wrap: balance;
}
.hero__title-line { display: block; }
.hero__em {
  font-style: normal;
  white-space: nowrap;
  color: var(--green-deep);
  background: linear-gradient(transparent 64%, rgba(245, 212, 137, 0.65) 64%);
  padding: 0 2px 2px;
}
.hero__accent { color: var(--apricot-2); }
.hero__lead {
  font-size: clamp(0.98rem, 1.6vw, 1.13rem);
  color: var(--text-mid);
  max-width: 760px;
  margin: 0 auto 48px;
}
.hero__lead strong { color: var(--green-deep); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 880px;
  margin: 0 auto 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__stats li {
  padding: 28px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.hero__stats li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--border);
}
.hero__stats li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--green-soft), var(--sun));
}
.hero__stat-num {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--green-deep);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.hero__stat-num .unit { font-size: 0.8rem; font-weight: 700; margin-left: 3px; color: var(--apricot-2); letter-spacing: 0.04em; }
.hero__stat-label { font-size: 0.78rem; color: var(--text-mid); line-height: 1.6; }

.hero__cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__note { font-size: 0.82rem; color: var(--text-light); line-height: 2; }

@media (max-width: 767px) {
  .hero__inner { padding: 60px 20px 56px; }
  .hero__chip { padding: 7px 16px; margin-bottom: 26px; }
  .hero__chip-sub { display: none; }
  .hero__chip-strong { white-space: nowrap; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li:nth-child(odd)::before { display: none; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
  .hero__cta .btn { width: 100%; }
}

/* =====================================================================
   ② Case / Facts
   ===================================================================== */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 52px 0 60px;
}
.facts__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 16px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(79, 158, 131, 0.07);
}
.facts__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-soft), var(--sun));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.facts__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.facts__item:hover::before { transform: scaleX(1); }
.facts__num {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--green);
}
.facts__num span { font-size: 0.82rem; font-weight: 700; margin-left: 2px; color: var(--apricot-2); }
.facts__label { font-size: 0.8rem; color: var(--text-mid); line-height: 1.7; margin-top: 8px; }
@media (max-width: 767px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* 4つの物語 */
.stories { margin-bottom: 60px; }
.stories__head {
  text-align: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--green-deep);
  margin-bottom: 30px;
}
.stories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.story {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 3px 14px rgba(79, 158, 131, 0.07);
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.story__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.story:nth-child(even) .story__emoji { background: var(--apricot-lt); }
.story__name {
  font-weight: 900;
  font-size: 1.02rem;
  color: var(--green-deep);
  margin-bottom: 6px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.story__desc { font-size: 0.83rem; color: var(--text-mid); line-height: 1.75; }
.stories__note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-mid);
  max-width: 720px;
  margin: 28px auto 0;
  background: var(--white);
  border: 1px dashed var(--green-soft);
  border-radius: var(--radius);
  padding: 18px 26px;
}
.stories__note strong { color: var(--green-deep); }
@media (max-width: 860px) { .stories__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stories__grid { grid-template-columns: 1fr; } }

/* Voices */
.voices { margin-bottom: 56px; }
.voices__head {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}
.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.voice {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 22px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 3px 14px rgba(79, 158, 131, 0.07);
}
.voice::before {
  content: '“';
  position: absolute;
  top: 4px;
  left: 16px;
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--green-soft);
  opacity: 0.6;
}
.voice:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.voice p { font-size: 0.95rem; line-height: 1.9; color: var(--text); position: relative; }
.voice strong { color: var(--green-deep); background: linear-gradient(transparent 68%, rgba(245, 212, 137, 0.55) 68%); }
.voice cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.voices__note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-mid);
  max-width: 720px;
  margin: 30px auto 0;
}
@media (max-width: 767px) { .voices__grid { grid-template-columns: 1fr; } }

.case__links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =====================================================================
   ③ Compare
   ===================================================================== */
.compare__wrap {
  overflow-x: auto;
  margin: 48px 0 0;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.compare__table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.92rem;
}
.compare__table th, .compare__table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  line-height: 1.8;
}
.compare__table thead th {
  background: var(--green-light);
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.compare__table tbody th[scope="row"] { font-weight: 700; color: var(--text); white-space: nowrap; }
.compare__small { font-size: 0.76rem; font-weight: 500; color: var(--text-light); letter-spacing: 0.02em; }
.compare__table tbody tr { transition: background 0.2s ease; }
.compare__table tbody tr:nth-child(even):not(.is-hero-row) { background: #fbfdfb; }
.compare__table tbody tr:hover:not(.is-hero-row) { background: var(--green-mist); }
.compare__table tr.is-hero-row {
  background: linear-gradient(90deg, #fdf6e8 0%, #fbf9ef 100%);
  box-shadow: inset 0 0 0 1.5px rgba(232, 154, 100, 0.4);
}
.compare__table tr.is-hero-row th[scope="row"] {
  color: var(--apricot-2);
  border-left: 5px solid var(--apricot);
}
.compare__table tr.is-hero-row td { font-size: 0.94rem; }
.compare__table tr.is-hero-row strong { color: var(--green-deep); }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: none; }

/* 稟議サポート帯 */
.ringi {
  margin-top: 56px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ringi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-soft) 0%, var(--sun) 100%);
}
.ringi__head {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: var(--green-deep);
  margin-bottom: 20px;
}
.ringi__chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.ringi__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-deep);
  border: 1px solid rgba(79, 158, 131, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.ringi__chip::before { content: '✓'; font-weight: 900; font-size: 0.8em; color: var(--green); }
.ringi__body { color: var(--text-mid); max-width: 780px; margin: 0 auto 30px; font-size: 0.95rem; }
@media (max-width: 767px) { .ringi { padding: 36px 22px; } }

/* =====================================================================
   ④ Flow
   ===================================================================== */
.flow__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 56px 0 40px;
  counter-reset: flowstep;
  position: relative;
}
.flow__steps::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-soft) 0%, rgba(245, 212, 137, 0.6) 100%);
}
.flow__step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: flowstep;
  transition: var(--transition);
}
.flow__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.flow__step::before {
  content: counter(flowstep);
  position: absolute;
  top: -17px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-green);
  color: var(--white);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(79, 158, 131, 0.35), 0 0 0 5px var(--green-mist);
}
.flow__month {
  display: block;
  font-weight: 900;
  color: var(--green-deep);
  font-size: 1.08rem;
  margin-bottom: 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.02em;
}
.flow__step p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.9; }
@media (max-width: 767px) {
  .flow__steps { grid-template-columns: 1fr; gap: 30px; }
  .flow__steps::before { display: none; }
}

.flow__roles {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sun);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow);
  max-width: 880px;
  margin: 0 auto;
}
.flow__roles-head { font-size: 1.04rem; font-weight: 700; color: var(--green-deep); margin-bottom: 10px; }
.flow__roles-head strong { color: var(--apricot-2); }
.flow__roles-body { font-size: 0.9rem; color: var(--text-mid); }

/* =====================================================================
   ⑤ Plans
   ===================================================================== */
.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 56px 0 44px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan.is-recommended {
  border: 2px solid var(--green-soft);
  box-shadow: 0 24px 50px -16px rgba(79, 158, 131, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}
@media (min-width: 981px) {
  .plan.is-recommended { transform: translateY(-10px); }
  .plan.is-recommended:hover { transform: translateY(-15px); }
}
.plan__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-green);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 5px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(79, 158, 131, 0.35);
}
.plan__tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.plan__price {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 1.85rem;
  color: var(--green-deep);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.plan.is-recommended .plan__price { color: var(--green); }
.plan__list { flex: 1; margin-bottom: 18px; }
.plan__list li {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.8;
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dashed var(--border-soft);
}
.plan__list li:last-child { border-bottom: none; }
.plan__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--green);
  font-weight: 900;
}
.plan__usebody {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.75;
  background: var(--green-mist);
  border-radius: 10px;
  padding: 12px 14px;
}
.plan.is-recommended .plan__usebody { background: var(--green-light); color: var(--green-deep); }
@media (max-width: 980px) { .plans__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }
@media (max-width: 600px) { .plans__grid { grid-template-columns: 1fr; } }

.plans__cta { text-align: center; }
.plans__note { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 24px; }

/* =====================================================================
   ⑥ FAQ
   ===================================================================== */
.faq__list { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq__item[open] { box-shadow: var(--shadow); border-color: var(--green-soft); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 64px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  transition: var(--transition);
  line-height: 1.65;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: 'Q';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green-deep);
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.3s ease;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item summary:hover { background: var(--green-mist); }
.faq__item p {
  padding: 2px 24px 24px 64px;
  color: var(--text-mid);
  font-size: 0.93rem;
}
@media (max-width: 600px) {
  .faq__item summary { padding-left: 56px; }
  .faq__item p { padding-left: 24px; }
}

/* =====================================================================
   ⑦ Form
   ===================================================================== */
.form { margin-top: 48px; }
.form__set {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px rgba(79, 158, 131, 0.06);
}
.form__legend {
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-deep);
  padding: 0 10px;
  margin-left: -10px;
  letter-spacing: 0.03em;
}
.form__hint { font-size: 0.8rem; color: var(--text-light); font-weight: 400; }
.form__hint--block { margin: 8px 0 16px; }
.form__row { margin-bottom: 18px; }
.form__row:last-child { margin-bottom: 0; }
.form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row--two { grid-template-columns: 1fr; } }
.form__label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.form__req {
  display: inline-block;
  background: var(--grad-apricot);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: 2px;
  letter-spacing: 0.06em;
}
.form__input, .form__textarea, .form__select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
}
.form__input::placeholder, .form__textarea::placeholder { color: #aebbb2; }
.form__input:focus, .form__textarea:focus, .form__select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(79, 158, 131, 0.18);
}
.form__textarea { resize: vertical; }

.form__check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
@media (max-width: 600px) { .form__check-grid { grid-template-columns: repeat(2, 1fr); } }
.form__check {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.form__check:hover { border-color: var(--green-soft); background: var(--green-mist); }
.form__check:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: 0 0 0 1px var(--green);
}
.form__check input { accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
.form__check input:checked + span { color: var(--green-deep); font-weight: 700; }

.form__radio-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.form__radio {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
}
.form__radio:hover { border-color: var(--green-soft); background: var(--green-mist); }
.form__radio:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: 0 0 0 1px var(--green);
}
.form__radio input { margin-top: 6px; accent-color: var(--green); width: 17px; height: 17px; flex-shrink: 0; }
.form__radio-body { display: flex; flex-direction: column; gap: 3px; }
.form__radio-head { color: var(--text); font-size: 0.96rem; }
.form__radio-desc { font-size: 0.8rem; color: var(--text-mid); line-height: 1.7; }

.form__set--agree { background: transparent; border: none; padding: 8px 0; box-shadow: none; }
.form__agree {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.85rem;
  color: var(--text-mid);
  cursor: pointer;
  justify-content: center;
}
.form__agree input { margin-top: 5px; accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }

.form__submit { text-align: center; margin-top: 30px; }
.form__after { margin-top: 16px; font-size: 0.82rem; color: var(--text-light); }
.form__msg { margin-top: 18px; text-align: center; font-weight: 700; }
.form__msg.is-success { color: var(--green); }
.form__msg.is-error { color: #d9624f; }
@media (max-width: 600px) { .form__submit .btn { width: 100%; } }

.closing__line {
  text-align: center;
  margin-top: 64px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--green-deep);
  letter-spacing: 0.05em;
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer { background: #33524a; color: rgba(255, 255, 255, 0.78); padding: 64px 0 36px; position: relative; }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-soft), var(--sun));
  opacity: 0.7;
}
.footer__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
@media (max-width: 767px) { .footer__cols { grid-template-columns: 1fr; gap: 30px; } }
.footer__brand { font-weight: 900; font-size: 1.15rem; color: var(--white); letter-spacing: 0.02em; }
.footer__brand-sub { font-size: 0.85rem; margin-top: 2px; color: rgba(255, 255, 255, 0.65); }
.footer__addr { font-size: 0.8rem; margin-top: 12px; line-height: 1.9; color: rgba(255, 255, 255, 0.78); }
.footer__head {
  font-weight: 700;
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer__list li { margin-bottom: 9px; }
.footer__list a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.footer__list a:hover { color: var(--sun); }
.footer__copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  letter-spacing: 0.06em;
}

/* =====================================================================
   Fade-in animation（script.js 連携）
   ===================================================================== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (min-width: 981px) {
  .plan.is-recommended.fade-up.is-visible { transform: translateY(-10px); }
  .plan.is-recommended.fade-up.is-visible:hover { transform: translateY(-15px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
