/* おたすけライオン LP（まとさん・デザイン案1）
   色・書体は見本の画像に合わせる。スマホから作り、900px 以上で PC のレイアウトにする */
:root {
  --orange: #FF7A1A;
  --orange-deep: #E8620A;
  --orange-pale: #FFF1E3;
  --orange-line: #FFD9BF;
  --navy: #1F2A44;
  --gray: #3A3A3A;
  --gray-light: #6B6B6B;
  --white: #FFFFFF;
  --radius: 16px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font-family: var(--font); font-weight: 300; font-size: 15px; line-height: 1.85;
  overflow-x: hidden;
  word-break: auto-phrase;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, .h2 { word-break: auto-phrase; text-wrap: balance; line-break: strict; }
.pc { display: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }
:where(a, summary):focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

/* ---------- ヘッダー ---------- */
.header { background: var(--white); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 14px 20px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; text-decoration: none; color: var(--navy); white-space: nowrap; }
.logo__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); flex: none; display: inline-block; }
.header__nav { display: none; }
.pill { flex: none; padding: 6px 18px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 14px; font-weight: 400; text-decoration: none; }

/* ---------- ボタン ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 56px; padding: 12px 20px; border-radius: 10px;
  font-size: 18px; font-weight: 400; text-decoration: none; letter-spacing: .03em; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--line { border: 2px solid var(--orange); color: var(--orange); background: var(--white); }
.btn--line:hover { background: var(--orange-pale); }
.btn--fill { background: var(--orange); color: var(--white); box-shadow: 0 6px 16px rgba(255,122,26,.3); }
.btn--white { background: var(--white); color: var(--orange); font-size: 22px; min-height: 64px; }
.btn--small { min-height: 50px; font-size: 17px; }
.btn__arrow { font-size: 1.1em; line-height: 1; }

/* ---------- 共通の見出し ---------- */
.section { padding: 64px 0; }
.section--pale { background: var(--orange-pale); }
.section--orange { background: var(--orange); color: var(--white); }
.label { margin: 0 0 6px; color: var(--orange); font-size: 15px; text-align: center; letter-spacing: .08em; }
.label--left { display: flex; align-items: center; gap: 10px; text-align: left; }
.label--left::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.h2 { margin: 0 0 32px; font-size: 30px; font-weight: 300; line-height: 1.4; text-align: center; color: var(--navy); word-break: keep-all; }
.lead { margin: -12px 0 28px; color: var(--gray); text-align: center; }
.note { margin-top: 16px; font-size: 13px; color: var(--gray); text-align: center; }

/* ---------- 円（たてがみの形）と写真 ---------- */
.ring { position: relative; aspect-ratio: 1; background: url("images/scallop-orange.svg") center / contain no-repeat; }
.ring__photo { position: absolute; inset: 8.5%; width: 83%; height: 83%; border-radius: 50%; object-fit: cover; }

/* ---------- 1 最初の画面 ---------- */
.fv { padding: 8px 0 48px; }
.fv__grid { display: flex; flex-direction: column; }
.fv__title { margin: 0; font-weight: 900; line-height: 1.12; letter-spacing: -.01em; font-size: clamp(44px, 13.4vw, 92px); }
.fv__title span { display: block; white-space: nowrap; }
.fv__line1 { color: var(--navy); }
.fv__line2 { color: var(--orange); }
.fv__art { position: relative; order: 2; margin: 18px 0 0; }
.fv__text { display: contents; }
.fv__title { order: 1; }
.tags { order: 3; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li { padding: 4px 14px; border: 2px solid var(--orange); border-radius: 10px; background: var(--white); color: var(--orange); font-size: 16px; font-weight: 400; }
.fv__lead { order: 4; margin-top: 14px; font-size: 17px; line-height: 1.75; color: var(--navy); font-weight: 400; }
.fv__art .ring { width: 92%; }
.fv__lion { position: absolute; right: -2%; bottom: -6%; width: 36%; }

/* ---------- 2 団体の紹介 ---------- */
.about { padding-top: 56px; }
.about__hero { display: flex; flex-direction: column; align-items: center; }
/* ライオンと仲間たち: 仲間は左右に分けて少しだけ薄く、ライオンを手前の真ん中に */
.team { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; max-width: 560px; padding-top: 4%; }
.team::before { content: ""; position: absolute; left: 50%; bottom: 6%; width: 50%; aspect-ratio: 1; transform: translateX(-50%); background: url("images/scallop-pale.svg") center / contain no-repeat; }
.team img { position: relative; height: auto; }
.team__side { width: 31%; opacity: .8; }
.team__side--r { width: 35%; }
.team__lion { width: 42%; margin: 0 -4%; z-index: 1; }
.bubble {
  position: relative; width: 100%; margin-top: 20px; padding: 22px 18px;
  border: 2px solid var(--orange); border-radius: 22px; background: var(--white);
  text-align: center; font-size: 15.5px; line-height: 1.9; font-weight: 400;
}
.bubble::before, .bubble::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border-style: solid; }
.bubble::before { top: -18px; border-width: 0 15px 18px; border-color: transparent transparent var(--orange); }
.bubble::after { top: -14px; border-width: 0 12px 15px; border-color: transparent transparent var(--white); }
.qa3 { margin: 32px 0 0; }
.qa3__item { position: relative; padding: 20px 0 20px 68px; border-bottom: 1px solid var(--orange-line); }
.qa3__item:last-child { border-bottom: 0; }
.qa3__item::before { content: ""; position: absolute; left: 0; top: 22px; width: 52px; height: 52px; background: url("images/scallop-line.svg") center / contain no-repeat; }
.qa3 dt { color: var(--orange); font-size: 21px; font-weight: 400; line-height: 1.5; }
.qa3 dd { margin: 6px 0 0; color: var(--gray); font-size: 14.5px; }

/* ---------- 3 活動 ---------- */
.acts { margin: 0; padding: 0; list-style: none; display: grid; gap: 40px; }
.act { display: grid; grid-template-columns: .82fr 1.18fr; gap: 16px; align-items: center; }
.act:nth-child(even) { grid-template-columns: 1.18fr .82fr; }
.act:nth-child(even) .act__photo { order: 2; }
.act__photo { position: relative; }
.act__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; }
.badge {
  position: absolute; top: -14px; left: -10px; width: 58px; height: 58px;
  display: grid; place-items: center; color: var(--white); font-size: 19px; font-weight: 300;
  background: url("images/scallop-badge.svg") center / contain no-repeat;
}
.act:nth-child(even) .badge { left: auto; right: -10px; }
.act__title { margin: 0 0 8px; padding-top: 14px; position: relative; font-size: 19px; word-break: keep-all; font-weight: 300; line-height: 1.4; }
.act__title::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--orange); }
.act__text p { color: var(--gray); font-size: 13.5px; line-height: 1.85; }

/* ---------- 4 寄付 ---------- */
.donate__title { margin: 0; font-size: clamp(32px, 9.6vw, 50px); font-weight: 300; line-height: 1.3; color: var(--white); }
.donate__lead { margin-top: 16px; font-size: 14.5px; line-height: 1.9; }
.plans { position: relative; margin-top: 64px; padding: 64px 18px 10px; background: var(--white); border-radius: 22px; color: var(--navy); }
.plans__photo { position: absolute; right: 14px; top: -56px; width: 116px; height: 116px; border-radius: 50%; object-fit: cover; border: 6px solid var(--white); }
.plans__list { margin: 0; padding: 0; list-style: none; }
.plans__list li { display: grid; grid-template-columns: 7.2em 1fr; grid-template-areas: "tag text" "tag price"; column-gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--orange-line); }
.plans__list li:last-child { border-bottom: 0; }
.plans__tag { grid-area: tag; display: grid; place-items: center; min-height: 52px; border-radius: 10px; background: var(--orange); color: var(--white); font-size: 17px; font-weight: 400; }
.plans__text { grid-area: text; font-size: 15.5px; line-height: 1.6; font-weight: 400; }
.plans__price { grid-area: price; margin-top: 2px; font-size: 14px; color: var(--orange-deep); font-weight: 400; }
.donate__cta { position: relative; margin-top: 64px; }
.donate__lion { position: absolute; right: 6%; bottom: calc(100% - 14px); width: 104px; z-index: 0; }
.donate__cta .btn { position: relative; z-index: 1; }
.donate__note { margin-top: 14px; font-size: 13px; line-height: 1.8; }

/* ---------- 5 応援してくださっている皆さま ---------- */
.tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tiles li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 6px; border-radius: 12px; background: var(--orange-pale); font-size: 13px; text-align: center; }

/* ---------- 6 よくある質問 ---------- */
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: 16px; }
.faq__item summary { display: flex; align-items: flex-start; gap: 14px; padding: 18px 48px 18px 18px; position: relative; cursor: pointer; list-style: none; font-size: 16px; font-weight: 400; line-height: 1.6; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "＋"; position: absolute; right: 18px; top: 18px; color: var(--orange); font-size: 18px; }
.faq__item[open] summary::after { content: "－"; }
.faq__q, .faq__amark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; font-weight: 400; line-height: 1; }
.faq__q { background: var(--orange); color: var(--white); }
.faq__a { display: flex; gap: 14px; padding: 0 18px 20px; }
.faq__amark { border: 1.5px solid var(--orange); color: var(--orange); }
.faq__a p { padding-top: 3px; color: var(--gray); font-size: 14.5px; }

/* ---------- 7 むすび ---------- */
/* ---------- 7 むすび（仲間募集・最新の活動・お問い合わせ） ---------- */
.join__grid { display: flex; flex-direction: column; }
.join__text { display: contents; }
.join__label { order: 1; }
.join__title { order: 2; margin: 0; font-size: clamp(30px, 8.6vw, 56px); font-weight: 400; line-height: 1.32; text-align: center; }
.join__title .em { color: var(--orange); }
.join__lead { order: 3; margin-top: 16px; color: var(--gray); text-align: center; }
.join__art { order: 4; position: relative; width: 88%; margin: 28px auto 0; }
.join__lion { position: absolute; left: -10%; bottom: -8%; width: 40%; }
.sns-box { order: 5; margin-top: 52px; padding: 26px 20px 22px; border-radius: 22px; background: var(--orange-pale); }
.sns-box__title { margin: 0 0 10px; font-size: 19px; font-weight: 400; line-height: 1.5; text-align: center; color: var(--navy); }
.sns-box__text { margin: 0; color: var(--gray); font-size: 14.5px; line-height: 1.85; text-align: center; }
.sns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.sns__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 92px; padding: 14px 4px 12px; border: 2px solid var(--orange); border-radius: 12px;
  background: var(--white); color: var(--navy); font-size: 14px; font-weight: 400; text-decoration: none; letter-spacing: .02em;
  transition: transform .15s ease, background-color .15s ease;
}
.sns__btn:hover { transform: translateY(-1px); background: #FFE4CC; }
.sns__icon { width: 34px; height: 34px; flex: none; }

/* ---------- フッター ---------- */
.footer { padding: 48px 0 120px; background: var(--navy); color: var(--white); font-size: 13.5px; }
.footer__grid { display: grid; gap: 28px; }
.footer__name { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 15px; font-weight: 400; }
.footer__info { margin: 0; }
.footer__info div { display: flex; gap: 16px; padding: 4px 0; }
.footer__info dt { flex: 0 0 4.5em; color: rgba(255,255,255,.7); }
.footer__info dd { margin: 0; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; align-content: start; }
.footer__nav a { text-decoration: none; }
.footer__nav a::before { content: "›"; margin-right: 6px; color: var(--orange); }
.footer__copy { margin-top: 32px; font-size: 12px; color: rgba(255,255,255,.7); text-align: center; }

/* ---------- 画面下の固定の寄付ボタン ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: 14px; z-index: 20;
  width: calc(100% - 32px); max-width: 420px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--orange); color: var(--white);
  font-size: 17px; font-weight: 400; text-decoration: none; letter-spacing: .04em;
  box-shadow: 0 6px 18px rgba(255,122,26,.35);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.float-cta.is-shown { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
/* 寄付の受付が準備中のあいだ（main.js が is-soon を付ける） */
.btn.is-soon, .float-cta.is-soon { cursor: default; box-shadow: none; }
.btn.is-soon { background: rgba(255,255,255,.75); color: var(--gray); font-size: 18px; }
.btn.is-soon:hover { transform: none; }
.float-cta.is-soon { background: #9a9a9a; }

/* ================= タブレット・PC ================= */
@media (min-width: 900px) {
  body { font-size: 16px; }
  .sp { display: none; }
  .pc { display: inline; }
  .wrap { padding: 0 40px; }
  .section { padding: 96px 0; }
  .h2 { font-size: 40px; margin-bottom: 48px; }

  .header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); box-shadow: 0 1px 0 rgba(31,42,68,.06); }
  .header__inner { padding: 16px 40px; }
  .logo { font-size: 16px; }
  .header__nav { display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; font-weight: 400; }
  .header__nav a { text-decoration: none; }
  .header__nav a:hover { color: var(--orange); }
  .pill { padding: 8px 24px; font-size: 15px; }

  .fv { padding: 40px 0 96px; }
  .fv__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .fv__text { display: flex; flex-direction: column; }
  .fv__title { font-size: clamp(56px, 6.4vw, 84px); }
  .fv__lead { font-size: 19px; margin-top: 24px; }
  .tags { margin-top: 28px; }
  .tags li { font-size: 17px; padding: 5px 18px; }
  .fv__art { margin: 0; }
  .fv__art .ring { width: 100%; }
  .fv__lion { right: -4%; bottom: -8%; width: 34%; }

  .about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
  .qa3 { margin: 0; }
  .qa3 dd { font-size: 15.5px; }

  .acts { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .act { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .act:nth-child(even) { grid-template-columns: 1fr; }
  .act:nth-child(even) .act__photo { order: 0; }
  .act:nth-child(even) .badge { left: -10px; right: auto; }
  .act__photo img { aspect-ratio: 4 / 3; }
  .badge { width: 68px; height: 68px; font-size: 22px; top: -18px; }
  .act__title { font-size: 26px; }
  .act__text p { font-size: 15px; }

  .donate .wrap--narrow { max-width: 900px; }
  .donate__head { display: grid; grid-template-columns: 1fr; }
  .donate__title { font-size: 52px; }
  .donate__lead { font-size: 16px; }
  .plans { margin-top: 56px; padding: 40px 40px 16px; }
  .plans__photo { width: 168px; height: 168px; top: -96px; right: 32px; }
  .plans__list li { grid-template-columns: 9em 1fr auto; grid-template-areas: "tag text price"; column-gap: 28px; padding: 22px 0; }
  .plans__text { font-size: 18px; }
  .plans__price { font-size: 16px; margin: 0; }
  .donate__cta { max-width: 560px; margin: 80px auto 0; }
  .donate__lion { width: 120px; }
  .donate__note { text-align: center; }

  .tiles { grid-template-columns: repeat(6, 1fr); }

  .faq__item summary { font-size: 17px; padding: 22px 56px 22px 24px; }
  .faq__a { padding: 0 24px 22px; }
  .faq__a p { font-size: 15.5px; }

  .join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .join__text { display: block; order: 2; }
  .join__label { text-align: left; }
  .join__title, .join__lead { text-align: left; }
  .join__title { font-size: 52px; }
  .join__art { order: 1; width: 100%; margin: 0; }
  .join__lion { left: -8%; width: 36%; }
  .sns-box { margin-top: 36px; padding: 28px 28px 24px; }
  .sns-box__title, .sns-box__text { text-align: left; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }

  .float-cta { left: auto; right: 28px; bottom: 28px; width: auto; transform: translateY(140%); padding: 14px 28px; }
  .float-cta.is-shown { transform: translateY(0); }
}

@media (min-width: 1200px) {
  .fv__title { font-size: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-cta, .btn { transition: none; }
}
