/* =========================================================
   ケビィーくん イメージソング タイトル募集
   色はケビィーくんのイラストから：黄色・輪郭の黒・手袋の赤・羽の水色
   ========================================================= */
:root {
  --yellow: #FFF100;
  --ink: #231815;
  --red: #E60012;
  --red-dark: #B8000E;
  --sky: #A0D8EF;
  --sky-pale: #E3F4FB;
  --white: #FFFFFF;
  --line: 4px;
  --shadow: 6px 6px 0 var(--ink);
  --display: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Zen Maru Gothic", sans-serif;
  --body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: anywhere;
  word-break: auto-phrase; /* 日本語を文節で改行（対応ブラウザのみ） */
}
.nowrap { white-space: nowrap; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 4px solid var(--red); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
strong { font-weight: 900; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--yellow); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- ヘッダー ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 24px;
  background: var(--ink);
  color: var(--yellow);
}
.topbar__home { display: flex; align-items: center; gap: 10px; }
.topbar__brand { display: block; line-height: 0; }  /* Kビジョン トップページへ */
/* ロゴの文字が黒なので、白い台座に載せる */
.topbar__logo { width: auto; height: 28px; padding: 9px 14px; background: var(--white); box-sizing: content-box; }
.topbar__sub { font-size: 1.05rem; font-weight: 700; color: var(--yellow); text-decoration: none; }  /* 30周年記念サイトへ */
.topbar__sub:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* ページの先頭へ戻るボタン（スマホのみ。少しスクロールしたら右下に出る） */
.totop { display: none; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }

/* 共有ボタン */
.share { position: relative; }
.share__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-weight: 700; font-size: .9rem; line-height: 1.4;
  color: var(--yellow); background: transparent;
  border: 2px solid var(--yellow); border-radius: 999px;
  padding: 4px 14px; cursor: pointer;
}
.share__btn:hover, .share__btn[aria-expanded="true"] { background: var(--yellow); color: var(--ink); }
.share__icon { flex: none; }
.share__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
}
.share__menu a, .share__menu button {
  display: block; width: 100%; padding: 8px 12px; border-radius: 8px;
  font: inherit; font-weight: 700; font-size: .95rem; text-align: left;
  color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer;
}
.share__menu a:hover, .share__menu button:hover { background: var(--yellow); color: var(--ink); }
.topbar__cta {
  font-weight: 900; font-size: .95rem; text-decoration: none;
  color: var(--ink); background: var(--yellow);
  padding: 6px 18px; border-radius: 999px;
  white-space: nowrap;
}
.topbar__cta:hover { background: var(--white); color: var(--ink); }

/* ---------- ヒーロー ---------- */
.hero {
  background: var(--yellow);
  overflow: hidden;
}
.hero__inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px;
  padding: 48px 24px 40px;
}
.hero__lead { font-weight: 700; font-size: 1.05rem; margin-bottom: 18px; }
.hero__title { margin: 0 0 28px; font-weight: normal; }
.hero__logo { width: min(420px, 90%); margin-bottom: 10px; }
.hero__title-text {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: .02em;
}

/* 吹き出し：ケビィーくんの「伝える」声 */
.bubble {
  position: relative;
  display: inline-block;
  margin: 0 0 24px;
  padding: 18px 30px;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 36px;
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  line-height: 1.45;
}
.bubble::after {
  /* しっぽ（右向き） */
  content: "";
  position: absolute; right: -21px; top: 50%;
  width: 38px; height: 38px;
  margin-top: -19px;
  background: var(--white);
  border-top: var(--line) solid var(--ink);
  border-right: var(--line) solid var(--ink);
  border-radius: 0 6px 0 0;
  transform: rotate(45deg);
}

.hero__question { font-weight: 900; font-size: 1.15rem; margin-bottom: 26px; }
.hero__question span { display: inline-block; }  /* 折り返すなら「あなたなら、」の後ろだけ（「る？」だけが次の行に落ちないように） */
.hero__visual { position: relative; }
.hero__kbee {
  width: min(440px, 100%);
  margin: 0 auto;
  transform-origin: 50% 80%;
  animation: hover-fly 3.2s ease-in-out infinite;
}
@keyframes hover-fly {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}

/* ---------- 応募期間の帯 ---------- */
.stripe {
  background: repeating-linear-gradient(-45deg, var(--ink) 0 26px, var(--yellow) 26px 52px);
  padding: 22px 16px;
  border-block: var(--line) solid var(--ink);
  text-align: center;
}
.stripe__label {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px;
  margin: 0;
  padding: 10px 24px;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 14px;
}
.stripe__period { font-family: var(--display); font-size: clamp(1rem, 2.6vw, 1.35rem); }
.stripe__status {
  font-weight: 900; font-size: .95rem;
  padding: 2px 14px; border-radius: 999px;
  border: 3px solid var(--ink);
}
.stripe__status--open   { background: var(--red); color: var(--white); }
.stripe__status--before { background: var(--sky); }
.stripe__status--closed { background: #ddd; }

/* ---------- セクション共通 ---------- */
.section { padding: 80px 0; }

/* 見出し：テレビのテロップ風 */
.heading {
  display: inline-block;
  position: relative;
  margin: 0 0 36px;
  padding: 8px 26px 8px 22px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--display);
  font-weight: normal;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.4;
  border-left: 10px solid var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.heading--page { margin-top: 48px; }

/* ---------- 紹介・取材証 ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.about__text p { max-width: 36em; }

.pass {
  position: relative;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1.5deg);
  margin-top: 28px;
}
.pass::before {
  /* ストラップの穴 */
  content: "";
  position: absolute; left: 50%; top: -18px;
  width: 64px; height: 16px; margin-left: -32px;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
}
.pass__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px;
  background: var(--red); color: var(--white);
  font-weight: 900; letter-spacing: .08em;
  border-bottom: var(--line) solid var(--ink);
  border-radius: 15px 15px 0 0;
}
.pass__no { font-family: var(--display); letter-spacing: 0; }
.pass__body { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 20px; }
.pass__photo {
  aspect-ratio: 3 / 4;
  background: var(--sky);
  border: 3px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
}
.pass__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform: scale(1.35); transform-origin: 50% 0; }
.pass__role { font-size: .85rem; font-weight: 700; margin: 0; }
.pass__name { font-family: var(--display); font-weight: normal; font-size: 1.6rem; margin: 0 0 10px; line-height: 1.3; }
.pass__list { margin: 0; font-size: .92rem; line-height: 1.6; }
.pass__list div { padding: 6px 0; border-top: 2px dotted var(--ink); }
.pass__list dt { font-weight: 900; font-size: .8rem; }
.pass__list dd { margin: 0; }
.swatch { display: inline-block; width: .85em; height: .85em; margin-right: 4px; vertical-align: -1px; border: 2px solid var(--ink); border-radius: 3px; }
.swatch--black { background: var(--ink); }
.swatch--yellow { background: var(--yellow); }

/* ---------- 歌詞（黒背景＋ケビィーくん） ---------- */
.lyrics { background: var(--ink); color: var(--white); border-top: var(--line) solid var(--ink); overflow: hidden; }
.lyrics .heading { background: var(--yellow); color: var(--ink); }
.lyrics__lead { font-weight: 700; color: var(--yellow); margin-bottom: 36px; }
.lyrics__grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; }
.lyrics__sheet {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--white); color: var(--ink);
  border: var(--line) solid var(--yellow);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--red);
  text-align: center;
  font-size: 1.15rem; font-weight: 700; line-height: 2.1;
  word-break: keep-all;
}
.lyrics__sheet p { margin: 0 0 1.6em; }
.lyrics__sheet p:last-child { margin-bottom: 0; }
.lyrics__title {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  margin: 0 !important;
  padding: 0 16px;
  background: var(--red); color: var(--white);
  border: 3px solid var(--yellow); border-radius: 999px;
  white-space: nowrap;
  font-size: .9rem; font-weight: 900; line-height: 1.9; letter-spacing: .06em;
}
.lyrics__side { text-align: center; }
.lyrics__kbee { width: 100%; max-width: 300px; margin: 0 auto; transform: rotate(6deg); filter: drop-shadow(0 0 18px rgba(255,241,0,.35)); }
.lyrics__bubble {
  position: relative; margin: 0 0 18px; padding: 10px 16px;
  background: var(--white); color: var(--ink);
  border: 3px solid var(--yellow); border-radius: 16px;
  font-weight: 900; line-height: 1.5;
}
.lyrics__bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; margin-left: -10px;
  border: 10px solid transparent; border-top-color: var(--white); border-bottom: 0;
}

/* ---------- 募集要項 ---------- */
.guide { background: var(--sky-pale); border-top: var(--line) solid var(--ink); }
.guide__list {
  margin: 0;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.guide__row {
  display: grid; grid-template-columns: 9.5em 1fr; gap: 20px;
  padding: 22px 28px;
  border-top: 3px solid var(--ink);
}
.guide__row:first-child { border-top: 0; }
.guide__row dt { font-family: var(--display); font-size: 1.1rem; }
.guide__row dd { margin: 0; }
.guide__row dd p:last-child { margin-bottom: 0; }
.guide__row--gift { background: var(--yellow); }
.guide__sub { font-weight: 900; margin: 12px 0 4px; }
.guide__items { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.guide__items li { counter-increment: item; padding-left: 2.2em; position: relative; margin: 4px 0; }
.guide__items li::before {
  content: counter(item);
  position: absolute; left: 0; top: .2em;
  width: 1.55em; height: 1.55em;
  display: grid; place-items: center;
  background: var(--ink); color: var(--yellow);
  border-radius: 50%;
  font-weight: 900; font-size: .85em; line-height: 1;
}
.notes { margin: 24px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.notes li { padding-left: 1.3em; text-indent: -1.3em; }
.notes li::before { content: "※"; display: inline-block; width: 1.3em; text-indent: 0; }

/* ---------- 応募フォーム ---------- */
.entry { border-top: var(--line) solid var(--ink); }

.steps { display: flex; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.steps__item {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 6px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-weight: 900;
  background: var(--white);
  color: #6b625f;
}
.steps__num {
  display: grid; place-items: center;
  width: 1.7em; height: 1.7em; border-radius: 50%;
  border: 2px solid currentColor; font-size: .9em; line-height: 1;
}
.steps__item.is-current { background: var(--yellow); color: var(--ink); }
.steps__item.is-done { background: var(--ink); color: var(--yellow); }

.alert {
  margin: 0 0 32px; padding: 18px 22px;
  background: #FFF0F1;
  border: var(--line) solid var(--red);
  border-radius: 14px;
}
.alert:focus { outline: none; }
.alert__title { font-weight: 900; color: var(--red-dark); margin-bottom: 6px; }
.alert ul { margin: 0; padding-left: 1.2em; }
.alert a { color: var(--red-dark); }
.info { padding: 14px 20px; background: var(--sky-pale); border: 3px solid var(--ink); border-radius: 12px; }

.form__group { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.form__group legend {
  font-family: var(--display); font-size: 1.25rem;
  padding: 0 0 4px; margin-bottom: 18px;
  width: 100%;
  border-bottom: var(--line) solid var(--ink);
}
.form__note { font-size: .95rem; margin-top: -4px; }

.field { margin-bottom: 26px; }
.field__label { display: block; font-weight: 900; margin: 0 0 6px; }
.req {
  display: inline-block; margin-left: 6px; padding: 0 8px;
  font-size: .75rem; line-height: 1.7; vertical-align: 2px;
  background: var(--red); color: var(--white); border-radius: 6px;
}
.field__input {
  display: block; width: 100%;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  padding: 12px 14px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
  transition: box-shadow .15s, background-color .15s;
}
.field__input:focus { outline: none; background: #FFFDE0; box-shadow: 0 0 0 5px var(--yellow), 0 0 0 8px var(--ink); }
.field__input--title { font-family: var(--display); font-size: 1.3rem; padding: 14px 16px; }
textarea.field__input { resize: vertical; min-height: 9em; line-height: 1.7; }
.field--short .field__input { max-width: 16em; }
.field__hint { margin: 6px 0 0; font-size: .88rem; color: #4f4643; }
.field__count { margin: 4px 0 0; font-size: .88rem; text-align: right; font-variant-numeric: tabular-nums; }
.field__count.is-over { color: var(--red); font-weight: 900; }
.field__error { margin: 6px 0 0; color: var(--red-dark); font-weight: 900; font-size: .95rem; }
.field__error::before { content: "！ "; }
.has-error .field__input { border-color: var(--red); background: #FFF6F7; }

.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice, .check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.choice {
  padding: 10px 20px 10px 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
}
.choice:has(input:checked) { background: var(--yellow); }
.choice input, .check input { width: 1.4em; height: 1.4em; margin: 0; accent-color: var(--ink); flex: none; }
.check { font-weight: 700; }
.guardian { padding: 14px 18px; background: var(--sky-pale); border: 3px dashed var(--ink); border-radius: 12px; margin-top: -10px; }
.guardian .field__error { margin-top: 8px; }

.terms { margin: 8px 0 32px; }
.terms__title { font-family: var(--display); font-weight: normal; font-size: 1.25rem; margin: 0 0 12px; }
.terms__box {
  max-height: 260px; overflow-y: auto;
  padding: 18px 22px;
  background: var(--sky-pale);
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-size: .95rem; line-height: 1.75;
  margin-bottom: 20px;
}
.terms__box--open { max-height: none; }
.terms--standalone { margin-top: 48px; }
.terms__list { margin: 0; padding-left: 1.2em; }
.terms__list li { margin: 4px 0; }
.check--agree {
  padding: 14px 22px; border: var(--line) solid var(--ink); border-radius: 14px;
  background: var(--white); font-size: 1.1rem; font-weight: 900;
}
.check--agree:has(input:checked) { background: var(--yellow); }

.form__actions { text-align: center; }
.form__recaptcha { margin: 16px 0 0; font-size: .8rem; line-height: 1.6; text-align: center; }
/* フォームに reCAPTCHA の表記を載せているので、右下のバッジは隠す（Google の規定で認められた方法） */
.grecaptcha-badge { visibility: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.closed-box {
  padding: 32px 28px;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.closed-box__title { font-family: var(--display); font-size: 1.4rem; line-height: 1.5; }
.closed-box p:last-child { margin-bottom: 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 10px 32px;
  font: inherit; font-weight: 900; font-size: 1.1rem; text-decoration: none; line-height: 1.4;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, background-color .15s;
}
.btn--primary { background: var(--red); color: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.btn--primary:hover { color: var(--white); background: var(--red-dark); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn--primary:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn--ghost { background: var(--white); color: var(--ink); }
.btn--ghost:hover { background: var(--yellow); color: var(--ink); }
.btn--wide { min-width: min(100%, 360px); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- 確認・完了 ---------- */
/* 中身が短くてもフッターを画面の一番下に置く（フッターの下に白い余白を出さない） */
body.page-sub { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.page-sub > .sub { flex: 1 0 auto; }
.sub { padding-bottom: 80px; }
.sub__lead { margin-bottom: 28px; }
.ticket {
  margin: 0 0 28px; padding: 22px 26px;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.ticket__label { font-weight: 900; font-size: .9rem; margin: 0 0 4px; }
.ticket__title { font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.4; margin: 0; }
.ticket__id { margin: 12px 0 0; font-weight: 900; font-variant-numeric: tabular-nums; }
.review { margin: 0 0 36px; border-top: 3px solid var(--ink); }
.review div { display: grid; grid-template-columns: 13em 1fr; gap: 16px; padding: 16px 4px; border-bottom: 3px solid var(--ink); }
.review dt { font-weight: 900; }
.review dd { margin: 0; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }

.thanks { display: grid; grid-template-columns: 170px 1fr; gap: 32px; align-items: start; }
.thanks__kbee { width: 100%; animation: hover-fly 3.2s ease-in-out infinite; }
.bubble--small { font-size: 1.25rem; padding: 14px 24px; }
.bubble--small::after { right: auto; left: -21px; transform: rotate(-135deg); }
.thanks .confirm-actions { justify-content: flex-start; }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: var(--white); padding: 48px 24px; text-align: center; font-size: .95rem; }
.footer a { color: var(--yellow); }
.footer__links { margin: 0 0 10px; font-size: .9rem; }
.footer__logo { width: 200px; margin: 0 auto 18px; }
.footer__copy { margin: 0; font-size: .85rem; opacity: .8; }

/* ---------- 管理画面 ---------- */
.admin { background: #f6f6f6; }
.admin__main { max-width: 1280px; margin: 0 auto; padding: 32px 20px; }
.admin__title { font-family: var(--body); font-size: 1.5rem; }
.admin__login { max-width: 360px; display: grid; gap: 12px; }
.admin__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.admin__bar p { margin: 0 auto 0 0; }
.admin__bar .btn { min-height: 44px; font-size: .95rem; padding: 6px 18px; }
.admin__search { display: flex; gap: 8px; }
.admin__search .field__input { padding: 8px 12px; width: 16em; }
.admin__table-wrap { overflow-x: auto; background: var(--white); border: 3px solid var(--ink); border-radius: 12px; }
.admin__table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.6; }
.admin__table th, .admin__table td { padding: 10px 12px; border-bottom: 1px solid #ccc; text-align: left; vertical-align: top; }
.admin__table th { background: var(--ink); color: var(--yellow); white-space: nowrap; }
.admin__t { font-weight: 900; min-width: 10em; }
.admin__r { min-width: 18em; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 32px; text-align: center; }
  .hero__logo { margin-inline: auto; }
  .hero__visual { order: -1; }
  .hero__kbee { width: min(240px, 60vw); }
  .bubble::after { right: auto; left: 50%; top: -21px; margin: 0 0 0 -19px; transform: rotate(-45deg); }
  .hero__lead { font-size: .95rem; }
  /* 1行に収まるよう画面幅に合わせて少し小さく（最小16px。それより狭い画面は「、」の後ろで改行） */
  .hero__question { font-size: clamp(1rem, calc((100vw - 48px) / 20.2), 1.15rem); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .pass { max-width: 440px; margin-inline: auto; }
  .lyrics__grid { grid-template-columns: 1fr; gap: 0; }
  .lyrics__side { order: -1; display: flex; align-items: flex-end; justify-content: flex-end; gap: 6px; margin: -16px 0 -8px; position: relative; z-index: 1; pointer-events: none; }
  .lyrics__kbee { width: 120px; margin: 0; }
  .lyrics__bubble { margin: 0 0 36px; font-size: .9rem; padding: 6px 12px; }
  .lyrics__bubble::after { left: auto; right: -12px; bottom: 10px; margin: 0; border: 8px solid transparent; border-left-color: var(--white); border-right: 0; }
  .lyrics__title { left: 20px; transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .heading { font-size: 1.25rem; padding: 6px 22px 6px 16px; }
  .stripe__label { padding: 10px 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 56px 0; }
  .topbar { padding: 8px 16px; }
  /* 横に並べる幅がないので、ロゴの下に小さく置く */
  .topbar__home { flex-direction: column; align-items: flex-start; gap: 3px; }
  .topbar__sub { font-size: .7rem; line-height: 1.2; letter-spacing: .04em; }
  .topbar__logo { height: 20px; padding: 6px 10px; }
  .topbar__cta { padding: 6px 14px; }
  /* 375px幅でも歌詞の1行が折り返さない大きさ（最長行 約21.5文字） */
  .lyrics__sheet { padding: 36px 10px 24px; border-width: 3px; font-size: min(3.6vw, 1rem); line-height: 2; letter-spacing: 0; }
  .lyrics__sheet p:not(.lyrics__title) { white-space: nowrap; }
  .lyrics__title { font-size: .85rem; }
  .lyrics__kbee { width: 104px; }
  .share__btn { padding: 5px 9px; }
  .share__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .guide__row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .pass__body { grid-template-columns: 96px 1fr; gap: 14px; padding: 16px; }
  .review div { grid-template-columns: 1fr; gap: 2px; }
  .steps__item { flex-direction: column; gap: 2px; font-size: .9rem; }
  .thanks { grid-template-columns: 1fr; }
  .thanks__kbee { width: 160px; margin: 0 auto; }
  .bubble--small::after { left: 50%; top: -21px; margin: 0 0 0 -19px; transform: rotate(-45deg); }
  .confirm-actions { flex-direction: column-reverse; }
  .confirm-actions .btn { width: 100%; }
  .thanks .confirm-actions { justify-content: center; }
  .totop {
    position: fixed; right: 8px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; place-items: center;
    width: 40px; height: 40px; padding: 0;
    color: var(--yellow); background: var(--ink);
    border: 2px solid var(--yellow); border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .totop.is-show { opacity: 1; visibility: visible; transform: none; }
  .totop:active { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__kbee, .thanks__kbee { animation: none; }
  .btn, .field__input { transition: none; }
}
.admin__table td:nth-child(-n+2) { white-space: nowrap; }
