@charset "UTF-8";
/* =========================================================
   タッチ決済で運賃半額 LP
   基準：PCデザイン幅 1200px / SP ≦ 767px
   ========================================================= */

:root {
  --c-navy: #2c3f8f;
  --c-yellow: #f7e400;
  --c-red: #e60012;
  --c-coral: #f26e6e;
  --c-pink: #f3a9b9;
  --c-blue-bg: #c6eaf8;
  --c-blue: #7fd1f1;
  --c-blue-stripe: #9edcf4;
  --c-faq-q: #4bb3e6;
  --c-cream: #f6f1d9;
  --c-text: #222;
  --c-line: #333;

  /* 見出し：ADSルンバ（Adobe Fonts / kitId: fkn4arq）
     ※Webプロジェクト画面に表示されるCSS名と異なる場合はここを修正 */
  --ff-pop: "ads-rumba", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --fw-pop: 400;
  --ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  --w-content: 684px;
  --w-wide: 750px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: normal; }
mark { background: none; color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }

/* ---------- Webフォント読み込み中のチラつき防止 ---------- */
.wf-loading .c-ttl,
.wf-loading .howto__catch { visibility: hidden; }

/* ---------- 共通パーツ ---------- */
.c-ttl {
  font-family: var(--ff-pop);
  font-weight: var(--fw-pop);
  font-synthesis: none;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: .12em;
  color: var(--c-navy);
  text-align: center;
}
.c-ttl > span {
  display: inline;
  padding: 0 .3em 0 .45em;
  background: linear-gradient(transparent 55%, var(--c-yellow) 55%, var(--c-yellow) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.c-ttl--red { color: var(--c-red); }

.c-lead {
  margin-top: 30px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .06em;
  text-align: center;
}
.c-text {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: .04em;
  text-align: center;
}
.c-note {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: #333;
}
.is-coral { color: var(--c-coral); }
.u-sp { display: none; }
@media (max-width: 767px) {
  .u-sp { display: inline; }
  .u-pc { display: none; }
}

.c-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 1.4em;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.c-pill--black { background: #111; }
.c-pill--coral { background: var(--c-coral); }

.c-divider {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}
.c-divider::before,
.c-divider::after {
  content: "";
  flex: 1;
  border-top: 3px dotted var(--c-navy);
}
.c-divider > span {
  padding: 4px 20px;
  border-radius: 999px;
  background: var(--c-navy);
  color: #fff;
}

.sec-blue { background: var(--c-blue-bg); }

/* 上辺の弧 */
.arc-top { position: relative; --arc-bg: var(--c-blue-bg); }
.arc-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -44px;
  width: 170%;
  height: 120px;
  transform: translateX(-50%);
  background: var(--arc-bg);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.arc-top > * { position: relative; z-index: 1; }

.c-cloud {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 58;
  object-fit: cover;
}

/* ---------- 装飾（ドット・ストライプ・リング） ---------- */
.deco {
  position: absolute;
  top: var(--y, 0);
  left: var(--x, 0);
  width: var(--s, 100px);
  height: var(--s, 100px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.deco--l { left: var(--x); right: auto; }
.deco--r { left: auto; right: var(--x); }
.arc-top > .deco { position: absolute; z-index: 0; }

.deco--dot-red      { background: radial-gradient(circle, var(--c-red) 5.5px, transparent 6.5px) 0 0 / 25px 25px; }
.deco--dot-red-sm   { background: radial-gradient(circle, var(--c-red) 1.6px, transparent 2.2px) 0 0 / 7px 7px; }
.deco--dot-yellow   { background: radial-gradient(circle, var(--c-yellow) 2.6px, transparent 3.2px) 0 0 / 10px 10px; }
.deco--stripe-blue  { background: repeating-linear-gradient(-45deg, var(--c-blue-stripe) 0 7px, transparent 7px 14px); }
.deco--stripe-red   { background: repeating-linear-gradient(-45deg, var(--c-red) 0 8px, #fff 8px 16px); }
.deco--stripe-yellow{ background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 8px, #fff 8px 16px); }
.deco--ring-dots    { border: 7px dotted var(--c-blue); }
.deco--dots-line    { border: 9px dotted var(--c-blue); border-color: var(--c-blue) transparent transparent var(--c-blue); transform: rotate(-20deg); }
.deco--ring-yellow  { border: 5px solid var(--c-yellow); }
.deco--ring-blue    { border: 7px solid var(--c-blue); }
.deco--ring-red     { border: 9px solid var(--c-red); }
.deco--fill-yellow  { background: var(--c-yellow); }
.deco--fill-blue    { background: var(--c-blue); }
/* FAQ は開閉で高さが変わるため、装飾の位置をセクション高さに対する％で指定 */
.faq > .deco { top: var(--yp); }

/* =========================================================
   MV
   ========================================================= */
.mv {
  position: relative;
  z-index: 2;
  background: #fdf2e4;
}
.mv__bg img { width: 100%; height: auto; }
/* タイトル：背景（1200×660）上の位置を％で指定 */
.mv__title {
  position: absolute;
  top: 7.58%;
  left: 26.67%;
  width: 46.75%;
  transform-origin: 50% 55%;
}
.mv__title img { width: 100%; height: auto; }

/* 表示演出：きゅっと拡大しながら表示（JS有効時のみ初期非表示） */
.js .mv__title { opacity: 0; }
.js .mv.is-show .mv__title { animation: mvTitleIn .7s cubic-bezier(.2, .9, .3, 1) .15s both; }
@keyframes mvTitleIn {
  0%   { opacity: 0; transform: scale(.55); }
  45%  { opacity: 1; transform: scale(1.07); }
  70%  { transform: scale(.97); }
  85%  { transform: scale(1.015); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js .mv__title, .js .mv.is-show .mv__title { opacity: 1; animation: none; }
}

/* =========================================================
   イントロ
   ========================================================= */
.intro {
  position: relative;
  padding: 70px 20px 110px;
}
.intro > *:not(.deco) { position: relative; z-index: 1; }
.intro__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 744px;
  margin: 0 auto;
}
.intro__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.intro__feature img { width: auto; height: 100px; object-fit: contain; }
.intro__box {
  max-width: var(--w-content);
  margin: 46px auto 0;
  padding: 14px 20px 16px;
  border-radius: 12px;
  background:
    radial-gradient(circle, #9aa7d6 1.5px, transparent 2px) 0 0 / 7px 7px no-repeat,
    var(--c-navy);
  background-size: 52px 46px, auto;
  position: relative;
  overflow: hidden;
}
.intro__box::before,
.intro__box::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.intro__box::before {
  top: -6px; left: -2px;
  background: radial-gradient(circle, #aab6e4 1.5px, transparent 2px) 0 0 / 6px 6px;
}
.intro__box::after {
  right: -4px; bottom: 26px;
  width: 58px; height: 58px;
  background: radial-gradient(circle, var(--c-yellow) 1.8px, transparent 2.3px) 0 0 / 7px 7px;
}
.intro__lead {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 2.3;
  letter-spacing: .06em;
  text-align: center;
}
.intro__lead em {
  font-size: 24px;
  line-height: 1;
  color: var(--c-yellow);
}
.intro__off { letter-spacing: .1em; }
.intro__note {
  max-width: var(--w-content);
  margin: 16px auto 0;
  padding: 12px 20px;
  border: 2px solid var(--c-coral);
  border-radius: 8px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .02em;
  text-align: center;
  color: var(--c-text);
}
.intro__note strong { color: var(--c-red); font-weight: 700; white-space: nowrap; }

/* =========================================================
   熊本を応援
   ========================================================= */
.support { padding-top: 0; }
.support__inner {
  position: relative;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 0 70px;
}
.support .c-lead { margin-top: 28px; }
.support__walk {
  position: absolute;
  top: 70px;
  right: -94px;
  width: 84px;
}
.support__foot-r {
  position: absolute;
  top: 140px;
  right: -258px;
  width: 282px;
  max-width: none;
}
.support__panel {
  display: grid;
  grid-template-columns: 322px 1fr;
  align-items: center;
  margin-top: 23px;
  min-height: 173px;
  border-radius: 10px;
  background: #fff;
}
.support__vehicles {
  position: relative;
  align-self: stretch;
}
.support__bus {
  position: absolute;
  top: -19px;
  left: -46px;
  width: 216px;
}
.support__tram {
  position: absolute;
  top: 98px;
  left: 82px;
  width: 208px;
}
.support__student {
  position: absolute;
  top: 103px;
  left: -103px;
  width: 81px;
}
.support__foot-l {
  position: absolute;
  top: 173px;
  left: -206px;
  width: 110px;
}
.support__text {
  padding: 24px 20px 24px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: .04em;
}
.support__text mark {
  color: var(--c-navy);
  font-weight: 700;
  background: linear-gradient(transparent 60%, var(--c-yellow) 60%);
}
.support .c-cloud { display: block; margin-top: 0; background: #fff; }

/* =========================================================
   こんな移動も
   ========================================================= */
.routes {
  background: linear-gradient(#fff 0%, #fff 30%, var(--c-cream) 100%);
  padding: 38px 20px 50px;
}
.commute[hidden] { display: none; }
/* 「通勤・通学」非表示時：ベージュ → 白へなだらかにつなぐ */
.routes:has(+ .commute[hidden]) {
  background: linear-gradient(#fff 0%, #fff 22%, var(--c-cream) 62%, #fff 100%);
  padding-bottom: 90px;
}
.routes__inner {
  display: grid;
  grid-template-columns: 517px 412px;
  justify-content: center;
  gap: 36px;
  max-width: 1010px;
  margin: 0 auto;
  transform: translateX(-30px);
}
.routes__map { margin-top: -27px; }
.routes__body { padding-top: 22px; }
.routes__body .c-ttl { text-align: left; }
.routes__body .c-lead { margin-top: 32px; text-align: center; padding-right: 20px; }
.routes__list {
  display: grid;
  gap: 6px;
  margin-top: 54px;
}
.route {
  display: grid;
  grid-template-columns: 32px 84px 1fr;
  align-items: center;
  column-gap: 0;
}
.route__num {
  display: grid;
  place-items: center;
  height: 40px;
  background: var(--c-navy);
  color: var(--c-yellow);
  font-size: 17px;
  letter-spacing: .02em;
}
.route__area {
  padding-left: 30px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  margin-right: -30px;
}
.route__detail {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  line-height: 1.5;
}
.route__path { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.route__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.route__price s {
  font-size: 12px;
  color: #444;
  min-width: 48px;
}
.route__arrow { color: var(--c-red); font-size: 13px; }
.route__price strong {
  font-size: 17px;
  font-weight: 500;
  color: var(--c-red);
  letter-spacing: .04em;
}
.routes__body .c-note { margin-top: 18px; }

/* =========================================================
   通勤・通学
   ========================================================= */
.commute { padding-top: 32px; }
.commute__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.commute .c-lead { margin-top: 30px; }
.commute__compare {
  position: relative;
  display: grid;
  grid-template-columns: 233px auto;
  justify-content: center;
  align-items: start;
  gap: 0 32px;
  margin: 24px 0 0 -44px;
}
.commute__case img { width: 233px; height: auto; }
.commute__table { padding-top: 38px; }
.commute__rows { display: grid; gap: 9px; }
.commute__row {
  display: grid;
  grid-template-columns: 128px auto;
  align-items: center;
}
.commute__row dt { min-height: 34px; padding: 0; }
.commute__row dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 14px;
}
.commute__tri {
  color: var(--c-red);
  font-size: 13px;
  letter-spacing: -.12em;
}
.commute__yen {
  min-width: 112px;
  font-size: 19px;
  font-weight: 500;
  text-align: right;
  letter-spacing: .04em;
}
.commute__cond {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}
.commute__more {
  position: absolute;
  top: 63px;
  left: calc(50% + 260px);
  width: 220px;
}
.commute__more img { width: 100%; height: auto; }
.commute__result {
  margin-top: 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
}
.commute__result {
  width: fit-content;
  margin-inline: auto;
  padding: 0 .4em;
  background: linear-gradient(transparent 62%, var(--c-yellow) 62%);
  line-height: 1.3;
  transform: translateX(-20px);
}
.commute__result strong {
  font-size: 42px;
  font-weight: 500;
  color: var(--c-red);
  margin: 0 .2em;
  letter-spacing: .02em;
}
.commute__foot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  margin-top: 14px;
}
.commute__foot .c-note {
  /* 右側の女性イラスト（.commute__more）に重ならない幅に制限し、左端は従来位置のまま */
  max-width: 520px;
  margin-bottom: 4px;
  transform: translateX(-30px);
}
.commute .c-cloud { display: block; margin-top: 27px; background: #fff; }

/* =========================================================
   使い方
   ========================================================= */
.howto { padding: 62px 20px 0; }
.howto__inner { max-width: var(--w-content); margin: 0 auto; }
.howto__head { position: relative; }
.howto__walk {
  position: absolute;
  right: 4px;
  top: -40px;
  width: 89px;
}
.steps { margin-top: 43px; }
.step {
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: center;
  position: relative;
}
.step__fig {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 0 16px 0 0;
  border-right: 2px solid #888;
  min-height: 128px;
  align-items: center;
}
.step__badge {
  position: absolute;
  top: -22px;
  left: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-yellow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}
.step__badge b { font-size: 30px; line-height: .95; }
.step__fig img { width: 185px; height: 128px; object-fit: contain; object-position: left center; }
.step__body { padding-left: 24px; }
.step__ttl { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.step__text { margin-top: 22px; font-size: 12.5px; line-height: 1.6; letter-spacing: .02em; }
.step-brands { margin: 66px 0 74px; }
.brands {
  position: relative;
  padding: 44px 20px 28px;
  border: 3px solid var(--c-coral);
  border-radius: 16px;
  text-align: center;
}
.brands__ttl {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 24px;
  border-radius: 999px;
  background: var(--c-coral);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .04em;
}
.brands__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
}
.brands__logos img { width: calc(var(--w) * .57); height: auto; }
.brands__text { margin-top: 18px; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.step + .step--last { margin-top: 87px; }
.step__student {
  position: absolute;
  left: -126px;
  top: 86px;
  width: 84px;
}
.howto__catch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  font-family: var(--ff-pop);
  font-weight: var(--fw-pop);
  font-synthesis: none;
  color: var(--c-navy);
  letter-spacing: .1em;
  line-height: 1.2;
}
.howto__catch-1 {
  position: relative;
  font-size: 20px;
  padding: 0 60px;
}
.howto__catch-1 .is-coral { font-size: 25px; }
.howto__catch-1::before,
.howto__catch-1::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 3px;
  height: 36px;
  background: var(--c-coral);
  border-radius: 2px;
}
.howto__catch-1::before { left: 12px; transform: rotate(-38deg); }
.howto__catch-1::after { right: 12px; transform: rotate(38deg); }
.howto__catch-2 { margin-top: 10px; font-size: 52px; letter-spacing: .04em; }
.howto__catch-mark {
  padding: 0 .1em;
  background: linear-gradient(transparent 62%, var(--c-yellow) 62%, var(--c-yellow) 92%, transparent 92%);
}
.howto__catch-3 { margin-top: 12px; font-size: 20px; }
.howto__note {
  max-width: 560px;
  margin: 22px auto 0;
  text-align: center;
}
.howto__note a,
.qmove .c-lead a,
.faq__a a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.outline__sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: #444;
}
.howto__caution {
  display: grid;
  grid-template-columns: 172px 1fr;
  align-items: center;
  margin: 34px -38px 0;
  padding-top: 32px;
  position: relative;
}
.howto__caution::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  border-top: 2px dotted var(--c-navy);
}
.howto__caution-label { width: 102px; margin-left: 22px; }
.howto__caution-text { font-size: 12.5px; line-height: 1.65; letter-spacing: .02em; }

/* =========================================================
   対象となる公共交通
   ========================================================= */
.target {
  background: linear-gradient(#fff 0, #fff 120px, var(--c-blue-bg) 120px);
  padding-bottom: 120px;
}
.target__city { width: 100%; margin-top: 14px; }
.target__inner {
  background: var(--c-blue-bg);
  padding: 0 20px;
}
.target .c-text { margin-top: 26px; }
.target__panel {
  max-width: var(--w-content);
  margin: 30px auto 0;
  padding: 40px 48px 36px;
  border-radius: 12px;
  background: #fff;
}
.target__logos { margin: 0 auto; width: 570px; }
.target__panel .c-divider { margin-top: 54px; }
.target__list {
  width: fit-content;
  margin: 24px auto 0;
  padding-right: 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
}
.target__balloon {
  position: relative;
  width: 288px;
  margin: 34px auto 0;
  padding: 10px;
  border-radius: 6px;
  background: var(--c-yellow);
  color: var(--c-red);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}
.target__balloon::after {
  content: "";
  position: absolute;
  right: 36px;
  bottom: -20px;
  border-style: solid;
  border-width: 22px 8px 0 4px;
  border-color: var(--c-yellow) transparent transparent;
}
.target__hino {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
  text-align: center;
}
.u-line {
  background: linear-gradient(transparent 88%, var(--c-red) 88%);
  padding-bottom: 2px;
}
.target__before {
  max-width: 596px;
  margin: 72px auto 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
}
.target__before .c-divider { margin: 0 0 30px; }
.target__before p { padding: 0 18px; }
.target__before + .target__before { margin-top: 48px; }

/* =========================================================
   タッチ決済って？ / Q-move
   ========================================================= */
.cream {
  --arc-bg: #fdfcf7;
  background: linear-gradient(#fdfcf7, var(--c-cream) 100%);
  padding-bottom: 110px;
}
.about { padding: 58px 20px 0; text-align: center; }
.about .c-lead { margin-top: 30px; }
.about .c-text { margin-top: 32px; }
.about__devices { margin: 26px auto 0; width: 519px; }
.about__mark { margin: 42px auto 0; width: 264px; background: #fff; }
.about__desc {
  max-width: 534px;
  margin: 34px auto 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
  text-align: left;
}
.qmove { padding: 42px 20px 0; text-align: center; }
.qmove .c-lead { margin-top: 36px; }
.qmove__note {
  max-width: 456px;
  margin: 40px auto 0;
  text-align: left;
}
.qmove__btn {
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: 350px;
  height: 56px;
  margin-top: 40px;
  padding: 0 20px 0 24px;
  border: 2px solid var(--c-pink);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
  transition: background-color .2s;
}
.qmove__btn img { width: 88px; }
.qmove__btn span { text-align: left; white-space: nowrap; }
.qmove__arrow { transition: transform .2s; }
.qmove__btn:hover { background: #fff6f8; }
.qmove__btn:hover .qmove__arrow { transform: translateX(4px); }

/* =========================================================
   熊本を元気に
   ========================================================= */
.town {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  text-align: center;
}
/* ベージュ → 水色の境目（ベージュが下にふくらむ曲線） */
.town::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -44px;
  width: 140%;
  height: 88px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--c-cream);
}
.town > * { position: relative; }
.town .c-lead { margin-top: 32px; }
.town .c-text { margin-top: 24px; }
.town__img { width: 100%; margin-top: 30px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  position: relative;
  padding: 58px 20px 115px;
  background: linear-gradient(#fff 0%, #fff 30%, var(--c-cream) 100%);
}
.faq__inner { position: relative; z-index: 1; max-width: var(--w-wide); margin: 0 auto; }
.faq__list { margin-top: 42px; }
.faq__q button {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 40px 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  background: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .02em;
  text-align: left;
  cursor: pointer;
}
.faq__q button::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid #333;
  border-left: 1.5px solid #333;
  transform: translateY(-15%) rotate(45deg);
  transition: transform .25s;
}
.faq__q button[aria-expanded="false"]::after { transform: translateY(-70%) rotate(225deg); }
.faq__a {
  overflow: hidden;
  transition: height .3s ease;
}
.faq__a[hidden] { display: block; height: 0; visibility: hidden; }
.faq__mark { font-weight: 700; }
.faq__mark--q { color: var(--c-faq-q); }
.faq__mark--a { color: var(--c-red); }
.faq__a p {
  padding: 12px 2px 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
}
.faq__item:not(:first-child) .faq__q button { padding-top: 14px; }

/* =========================================================
   施策概要
   ========================================================= */
.outline { padding: 60px 20px 80px; }
.outline__box {
  max-width: var(--w-wide);
  margin: 44px auto 0;
  padding: 42px 20px 42px 78px;
  border: 1px solid var(--c-line);
  font-size: 13px;
  line-height: 1.6;
}
.outline__row {
  display: grid;
  grid-template-columns: 158px 1fr;
  padding: 9.5px 0;
}
.outline__row dt, .outline__row dd { letter-spacing: .02em; }

.sponsors {
  display: grid;
  grid-template-columns: repeat(4, 181px);
  justify-content: center;
  gap: 11px 16px;
  margin-top: 112px;
}
.sponsors li {
  display: grid;
  place-items: center;
  height: 61px;
  border: 1px solid #888;
  background: #fff;
}
.sponsors img { width: 177px; height: 57px; object-fit: contain; }

/* =========================================================
   フッター
   ========================================================= */
.footer {
  padding: 0 20px 106px;
  text-align: center;
  border-bottom: 35px solid var(--c-yellow);
}
.footer__logo { margin: 0 auto; width: 156px; }
.footer__tel { margin-top: 12px; font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.footer__tel a { text-decoration: none; }

/* デザインで詰め組（プロポーショナル）になっている本文 */
.step__text,
.howto__caution-text,
.target__list,
.target__hino,
.target__before,
.about__desc,
.outline__box,
.qmove__note { font-feature-settings: "palt" 1; letter-spacing: .02em; }
.target__list,
.target__hino,
.target__before p,
.c-text,
.about__desc { font-weight: 700; }

/* =========================================================
   中間幅（768–1199px）
   ========================================================= */
@media (max-width: 1199px) {
  .commute > .deco--stripe-red { left: 40px; }
  .routes__inner { grid-template-columns: minmax(0, 517px) 412px; gap: 28px; transform: none; }
  .support__foot-r { display: none; }
}
@media (max-width: 1023px) {
  .support__walk, .support__foot-l, .support__student { display: none; }
  /* 見出し → リード → 地図 → 運賃表 の順に並べ替え */
  .routes__inner { display: flex; flex-direction: column; align-items: center; gap: 0; transform: none; }
  .routes__body { display: contents; }
  .routes__body .c-ttl { order: 1; text-align: center; }
  .routes__body .c-lead { order: 2; padding-right: 0; margin-top: 24px; }
  .routes__map { order: 3; margin-top: 24px; max-width: 517px; width: 100%; }
  .routes__list { order: 4; width: 100%; max-width: 460px; }
  .routes__body .c-note { order: 5; width: 100%; max-width: 460px; }
  .commute__compare { margin-left: 0; row-gap: 24px; }
  .commute__more { position: static; grid-column: 1 / -1; justify-self: center; width: 220px; }
  .commute__foot .c-note { max-width: none; transform: none; }
  .step__student { display: none; }
  .howto__caution { margin-inline: 0; grid-template-columns: 124px 1fr; }
  .howto__caution-label { margin-left: 0; }
  .support__inner { padding-inline: 20px; }
  .support__bus { left: -10px; }
  .support__panel { grid-template-columns: 250px 1fr; }
  .support__tram { left: 30px; }
  /* 中間幅以下では装飾を画面端に寄せ、本文と重ならないようにする */
  .deco { --scale: .7; width: calc(var(--s) * var(--scale)); height: calc(var(--s) * var(--scale)); top: var(--yp-sp); }
  .deco, .deco--l { left: calc(var(--s) * var(--scale) * -.5); }
  .deco--r { left: auto; right: calc(var(--s) * var(--scale) * -.5); }
}

/* =========================================================
   SP（≦767px）SPデザイン（750px カンプ）の 1/2 で指定
   ========================================================= */
@media (max-width: 767px) {
  body { font-size: 13px; }
  /* MVタイトル：SP背景（750×804）上の位置 */
  .mv__title { top: 20.27%; left: 11.07%; width: 78%; }
  .c-ttl { font-size: 20px; line-height: 1.6; letter-spacing: .1em; }
  .c-lead { margin-top: 18px; font-size: 14.5px; line-height: 1.75; letter-spacing: .04em; }
  .c-text { margin-top: 16px; font-size: 13.5px; line-height: 1.85; letter-spacing: .02em; }
  .c-note { font-size: 11.5px; line-height: 1.7; }
  .c-pill { min-height: 24px; font-size: 13px; }
  .c-divider { font-size: 13px; }
  .c-divider::before, .c-divider::after { border-top-width: 2px; }
  .c-divider > span { padding: 3px 18px; }
  .arc-top::before { top: -22px; height: 60px; width: 200%; }
  .c-cloud { aspect-ratio: 375 / 26; }

  .deco { --scale: .42; }
  .commute > .deco--stripe-red { left: calc(var(--s) * var(--scale) * -.5); }
  .faq .deco { display: none; }

  /* ---- イントロ ---- */
  .intro { padding: 34px 18px 42px; }
  .intro__features { max-width: 330px; }
  .intro__feature { gap: 10px; font-size: 13px; }
  .intro__feature img { height: 64px; }
  .intro__box { margin-top: 20px; padding: 12px 8px 12px; border-radius: 8px; }
  .intro__box::before { width: 34px; height: 34px; }
  .intro__box::after { width: 34px; height: 34px; bottom: 8px; }
  .intro__lead { font-size: 13px; line-height: 2.1; letter-spacing: .02em; }
  .intro__lead em { font-size: 17px; }
  .intro__note { margin-top: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.7; text-align: left; }

  /* ---- 熊本を応援 ---- */
  .support { padding-top: 10px; }
  .support__inner { padding: 0 18px 50px; }
  .support .c-lead { margin-top: 12px; font-size: 14px; }
  .support__walk { display: block; top: 6px; right: 14px; width: 62px; }
  .support__foot-r { display: block; top: 66px; right: -60px; width: 120px; }
  .support__panel {
    position: relative;
    display: block;
    margin-top: 16px;
    min-height: 0;
    padding: 32px 10px 36px;
    border-radius: 8px;
  }
  .support__vehicles { position: absolute; inset: 0; pointer-events: none; }
  .support__bus { top: -16px; left: -10px; width: 118px; }
  .support__tram { top: auto; left: auto; bottom: -28px; right: -16px; width: 124px; }
  .support__student { display: block; top: auto; bottom: -50px; left: 30px; width: 46px; }
  .support__foot-l { display: block; top: auto; bottom: -70px; left: -30px; width: 64px; }
  .support__text { position: relative; padding: 0; font-size: 13px; line-height: 1.85; text-align: center; letter-spacing: .02em; }

  /* ---- こんな移動も ---- */
  .routes { padding: 30px 15px 26px; }
  .routes:has(+ .commute[hidden]) { padding-bottom: 56px; }
  .routes__body .c-lead { margin-top: 16px; }
  .routes__map { margin: 14px -15px 0; width: calc(100% + 30px); max-width: none; }
  .routes__map img { width: 100%; }
  .routes__list { margin-top: 14px; gap: 7px; max-width: none; }
  .routes__body .c-note { margin-top: 18px; max-width: none; }
  .route { grid-template-columns: 29px 80px 1fr; }
  .route__num { height: 36px; font-size: 15px; }
  .route__area { padding-left: 10px; margin-right: 0; font-size: 12px; font-weight: 700; letter-spacing: 0; }
  .route__detail { padding-left: 0; line-height: 1.3; }
  .route__path { font-size: min(2.95vw, 12.5px); font-weight: 700; letter-spacing: 0; white-space: nowrap; font-feature-settings: "palt" 1; }
  .route__price { gap: 12px; }
  .route__price s { min-width: 50px; font-size: 12.5px; }
  .route__price strong { font-size: 17px; font-weight: 700; }

  /* ---- 通勤・通学 ---- */
  .commute { padding-top: 12px; }
  .commute__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "ttl" "lead" "case" "table" "result" "more" "note";
    padding: 0 18px;
  }
  .commute__compare, .commute__foot { display: contents; }
  .commute .c-ttl { grid-area: ttl; }
  .commute .c-lead { grid-area: lead; margin-top: 14px; font-size: 14px; }
  .commute__case { grid-area: case; justify-self: center; margin-top: 14px; }
  .commute__case img { width: 210px; }
  .commute__table { grid-area: table; justify-self: center; width: 250px; padding-top: 16px; }
  .commute__rows { gap: 7px; }
  .commute__row { grid-template-columns: 104px 1fr; }
  .commute__row dt { min-height: 28px; padding: 0 .6em; font-size: 12.5px; }
  .commute__row dd { padding-left: 8px; gap: 6px; }
  .commute__tri { font-size: 10px; }
  .commute__yen { min-width: 0; font-size: 16px; }
  .commute__cond { margin-top: 8px; width: 290px; margin-left: -20px; font-size: 11.5px; text-align: center; }
  .commute__result { grid-area: result; margin-top: 16px; font-size: 15px; transform: none; }
  .commute__result strong { font-size: 30px; }
  .commute__more { grid-area: more; position: static; justify-self: center; width: 100%; max-width: 360px; margin-top: 16px; }
  .commute .c-note { grid-area: note; margin: 14px 0 0; font-feature-settings: "palt" 1; letter-spacing: 0; }
  .commute .c-cloud { margin-top: 8px; }

  /* ---- 使い方 ---- */
  .howto { padding: 36px 18px 0; }
  .howto__walk { top: 60px; right: -18px; width: 80px; }
  .steps { margin-top: 26px; }
  .step { grid-template-columns: 1fr; justify-items: center; }
  .step__fig { justify-content: center; border-right: 0; padding: 0; min-height: 0; }
  .step__badge { top: -14px; left: calc(50% - 28vw - 26px); width: 54px; height: 54px; font-size: 12px; }
  .step__badge b { font-size: 23px; }
  .step__fig img { width: 56vw; max-width: 260px; height: auto; object-fit: contain; }
  .step:first-child .step__fig img { width: 50vw; max-width: 232px; }
  .step__body { margin-top: 16px; padding: 0; border: 0; text-align: center; }
  .step__ttl { font-size: 15px; }
  .step__text { max-width: 310px; margin: 8px auto 0; font-size: 13px; line-height: 1.75; letter-spacing: 0; }
  .step-brands { width: 100%; margin: 30px 0 44px; }
  .brands { padding: 34px 10px 18px; border-width: 1.5px; border-radius: 8px; }
  .brands__ttl { top: -16px; padding: 4px 20px; font-size: 13.5px; }
  /* カードブランド：左にタッチ決済マーク（2段ぶち抜き）、右に 3個＋4個 */
  .brands__logos {
    display: grid;
    grid-template-columns: 13% repeat(12, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    gap: 16px 0;
    max-width: 330px;
    margin: 0 auto;
  }
  .brands__logos li { width: 100%; display: flex; justify-content: center; }
  .brands__logos li:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
  .brands__logos li:nth-child(2) { grid-column: 2 / 6;   grid-row: 1; }
  .brands__logos li:nth-child(3) { grid-column: 6 / 10;  grid-row: 1; }
  .brands__logos li:nth-child(4) { grid-column: 10 / 14; grid-row: 1; }
  .brands__logos li:nth-child(5) { grid-column: 2 / 5;   grid-row: 2; }
  .brands__logos li:nth-child(6) { grid-column: 5 / 8;   grid-row: 2; }
  .brands__logos li:nth-child(7) { grid-column: 8 / 11;  grid-row: 2; }
  .brands__logos li:nth-child(8) { grid-column: 11 / 14; grid-row: 2; }
  .brands__logos img { width: auto; max-width: 90%; height: 36px; object-fit: contain; }
  .brands__logos li:nth-child(1) img { height: 52px; max-width: 100%; }
  .brands__logos li:nth-child(2) img { height: 28px; }
  .brands__text { margin-top: 16px; font-size: 13px; line-height: 1.6; }
  .step + .step--last { margin-top: 50px; }
  .step__student { display: block; left: -18px; top: 96px; width: 66px; }
  .howto__catch { margin-top: 30px; }
  .howto__catch-1 { padding: 0 36px; font-size: 15px; }
  .howto__catch-1 .is-coral { font-size: 19px; }
  .howto__catch-1::before, .howto__catch-1::after { top: -4px; height: 26px; width: 2px; }
  .howto__catch-1::before { left: 8px; }
  .howto__catch-1::after { right: 8px; }
  .howto__catch-2 { margin-top: 6px; font-size: 37px; }
  .howto__catch-3 { margin-top: 8px; font-size: 15px; }
  .howto__caution { grid-template-columns: 1fr; justify-items: center; gap: 18px; margin: 30px 0 0; padding-top: 20px; }
  .howto__caution-label { width: 116px; margin-left: 0; min-height: 31px; font-size: 13.5px; }
  .howto__caution-text { width: 100%; padding: 0 4px; font-size: 13px; line-height: 1.8; letter-spacing: 0; }

  /* ---- 対象となる公共交通 ---- */
  .target { padding-bottom: 42px; background: linear-gradient(#fff 0, #fff 70px, var(--c-blue-bg) 70px); }
  .target__city { margin-top: 64px; }
  .target__inner { padding: 4px 18px 0; }
  .target .c-lead { margin-top: 16px; }
  .target .c-text { margin-top: 14px; line-height: 1.85; }
  .target__panel { margin-top: 24px; padding: 26px 16px 26px; border-radius: 8px; }
  .target__logos { width: min(290px, 100%); }
  .target__panel .c-divider { margin: 20px -6px 0; }
  .target__list { margin-top: 14px; padding: 0; font-size: 13px; line-height: 1.75; }
  .target__balloon { width: 250px; margin-top: 16px; padding: 7px; border-radius: 6px; font-size: 15px; }
  .target__balloon::after { right: 30px; bottom: -14px; border-width: 16px 6px 0 3px; }
  .target__hino { margin-top: 18px; font-size: 13px; line-height: 1.8; text-align: left; letter-spacing: 0; }
  .target__before { margin-top: 28px; font-size: 13px; line-height: 1.8; letter-spacing: 0; }
  .target__before .c-divider { margin-bottom: 20px; }
  .target__before p { padding: 0 4px; }
  .target__before + .target__before { margin-top: 32px; }
  .howto__note { margin-top: 18px; text-align: left; }
  .outline__sub { font-size: 12px; }

  /* ---- タッチ決済って？ / Q-move ---- */
  .cream { padding-bottom: 64px; }
  .cream.arc-top::before { display: none; }
  .about { padding: 52px 18px 0; }
  .about .c-text { margin-top: 16px; }
  .about__devices { width: 100%; max-width: 340px; margin-top: 24px; }
  .about__mark { width: 164px; margin-top: 18px; }
  .about__desc { margin-top: 22px; padding: 0 4px; font-size: 13px; line-height: 1.8; letter-spacing: 0; }
  .qmove { padding: 30px 18px 0; }
  .qmove .c-ttl { font-size: 20px; letter-spacing: .1em; }
  .qmove .c-lead { margin-top: 18px; font-size: 14px; line-height: 1.7; }
  .qmove__note { margin-top: 22px; max-width: none; }
  .qmove__btn { width: calc(100% - 24px); max-width: 340px; height: 58px; gap: 16px; margin-top: 24px; padding: 0 20px 0 24px; font-size: 14.5px; }
  .qmove__btn img { width: 76px; }

  /* ---- 熊本を元気に ---- */
  .town { padding-top: 70px; }
  .town .c-lead { margin-top: 18px; }
  .town::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -36px;
    width: 112%;
    height: 72px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--c-cream);
  }
  .town > * { position: relative; }
  .town .c-text { margin-top: 14px; padding: 0 18px; }
  .town__img { margin-top: 26px; aspect-ratio: 750 / 286; object-fit: cover; object-position: 100% 100%; }

  /* ---- FAQ ---- */
  .faq { padding: 28px 18px 50px; }
  .faq__list { margin-top: 22px; }
  .faq__q button { padding: 10px 26px 9px 0; font-size: 14px; font-weight: 700; line-height: 1.55; letter-spacing: 0; }
  .faq__item:not(:first-child) .faq__q button { padding-top: 14px; }
  .faq__q button::after { right: 6px; width: 8px; height: 8px; border-width: 1px; }
  .faq__a p { padding: 10px 0 16px; font-size: 13.5px; font-weight: 500; line-height: 1.75; letter-spacing: 0; }

  /* ---- 施策概要 ---- */
  .outline { padding: 40px 18px 40px; }
  .outline__box { margin-top: 22px; padding: 10px 16px 12px; font-size: 13.5px; }
  .outline__row { grid-template-columns: 1fr; padding: 6px 0 5px; border-bottom: 1px dotted #bbb; }
  .outline__row:last-child { border-bottom: 0; }
  .outline__row dt { font-weight: 500; }
  .sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 11px; margin-top: 22px; }
  .sponsors li { height: auto; aspect-ratio: 3 / 1; }
  .sponsors img { width: 100%; height: 100%; }

  /* ---- フッター ---- */
  .footer { padding: 4px 18px 34px; border-bottom-width: 18px; }
  .footer__logo { width: 128px; }
  .footer__tel { margin-top: 10px; font-size: 16px; }
}


/* =========================================================
   モーション（スクロール表示・ライン描画・パララックス）
   ※ JS 有効時（html.js）のみ初期状態を隠す
   ========================================================= */
/* 1. フェードアップ表示 */
.js .js-reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
    translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
.js .js-reveal.is-inview { opacity: 1; translate: 0 0; }
.js .route.js-reveal { translate: 40px 0; }
.js .route.js-reveal.is-inview { translate: 0 0; }

/* 2. 見出し・マーカーのライン描画（左→右に引かれる） */
.js .c-ttl > span,
.js .support__text mark,
.js .howto__catch-mark,
.js .commute__result {
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  transition: background-size 1s cubic-bezier(.65, 0, .25, 1) calc(var(--d, 0s) + .35s);
}
.js .is-inview.c-ttl > span,
.js .support__panel.is-inview .support__text mark,
.js .is-inview .howto__catch-mark,
.js .commute__result.is-inview { background-size: 100% 100%; }

/* 赤い下線 */
.js .u-line {
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size .9s cubic-bezier(.65, 0, .25, 1) .5s;
}
.js .is-inview .u-line { background-size: 100% 100%; }

/* 3. 点線の描画（中央のラベルから外側へ伸びる） */
.js .c-divider::before,
.js .c-divider::after {
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.65, 0, .25, 1) .2s;
}
.js .c-divider::before { transform-origin: 100% 50%; }
.js .c-divider::after { transform-origin: 0 50%; }
.js .c-divider.is-inview::before,
.js .c-divider.is-inview::after { transform: scaleX(1); }

/* 区切りの点線（左→右） */
.js .howto__caution::before {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.2s cubic-bezier(.65, 0, .25, 1) .1s;
}
.js .howto__caution.is-inview::before { transform: scaleX(1); }

/* 「たったこれだけ！」の斜線がシュッと入る */
.js .howto__catch-1::before,
.js .howto__catch-1::after {
  clip-path: inset(0 0 100% 0);
  transition: clip-path .5s cubic-bezier(.65, 0, .25, 1) .5s;
}
.js .howto__catch.is-inview .howto__catch-1::before,
.js .howto__catch.is-inview .howto__catch-1::after { clip-path: inset(0 0 0 0); }

/* 足あとが歩くように左→右に現れる */
.js .support__foot-r,
.js .support__foot-l {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s steps(8, end) .6s;
}
.js .support__foot-r.is-inview,
.js .support__foot-l.is-inview { clip-path: inset(0 0 0 0); }

/* 4. 点のリングをゆっくり回転 */
.js .deco--ring-dots { animation: decoSpin 40s linear infinite; }
@keyframes decoSpin { to { rotate: 360deg; } }

/* パララックス対象は JS で translate を更新 */
.js [data-parallax] { will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  .js .js-reveal,
  .js .c-ttl > span, .js .support__text mark, .js .howto__catch-mark, .js .commute__result, .js .u-line,
  .js .c-divider::before, .js .c-divider::after, .js .howto__caution::before,
  .js .howto__catch-1::before, .js .howto__catch-1::after,
  .js .support__foot-r, .js .support__foot-l {
    opacity: 1 !important; translate: none !important; transform: none !important;
    clip-path: none !important; background-size: 100% 100% !important; transition: none !important;
  }
  .js .deco--ring-dots { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
