@charset "UTF-8";

/* 10月のアプリまとめ（身内向け・スマホ / タブレットで見る前提）
   配色・様式は共通トークン（WEBSITE.md §2）: 白カード・2px 枠・角丸 20px・カプセルボタン・フラット・絵文字なし。
   ボタンは親指で押しやすい高さ 52px（大型）。 */
:root {
  --c-bg: #FBF8F3; --c-card: #FFFFFF; --c-line: #DCD2BE; --c-fill-soft: #F0EAE0;
  --c-text: #4A3A28; --c-text-strong: #5A4634; --c-accent: #EE9450;
  --c-new: #5CBC8B; --c-update: #5C97D8;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--font); font-size: 16px; line-height: 1.75; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 960px; margin-inline: auto; padding-inline: 20px; }

/* トップへ戻るリンク（冒頭の帯の上） */
.back { background: var(--c-fill-soft); }
.back__link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  color: var(--c-text-strong); font-size: 15px; font-weight: 800; text-decoration: none;
}
.back__arrow { width: 9px; height: 9px; border-left: 3px solid var(--c-accent); border-bottom: 3px solid var(--c-accent); transform: rotate(45deg); }
.back__link:focus-visible { outline: 3px solid var(--c-text); outline-offset: 2px; }

/* 冒頭 */
.top { padding-block: 16px 28px; text-align: center; background: var(--c-fill-soft); }
.top__eyebrow { margin: 0; color: var(--c-text-strong); font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.nw { white-space: nowrap; }
.top__title { text-wrap: balance; margin: 4px 0 12px; font-size: clamp(28px, 7vw, 40px); font-weight: 800; line-height: 1.4; letter-spacing: .04em; }
.top__lead { margin: 0 auto 24px; max-width: 28em; text-wrap: balance; color: var(--c-text-strong); font-size: 15px; }

.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--c-line); border-radius: 999px; background: var(--c-card);
  color: var(--c-text); font-size: 14px; font-weight: 800; text-decoration: none;
}

/* 区分 */
.group { padding-block: 40px 8px; scroll-margin-top: 8px; }
.group__title {
  margin: 0 0 20px; padding-left: 14px; border-left: 8px solid var(--c-new);
  font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: .04em;
}
#update .group__title { border-left-color: var(--c-update); }

.apps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }

/* アプリのカード */
.app { display: flex; flex-direction: column; padding: 20px; background: var(--c-card); border: 2px solid var(--c-line); border-radius: 20px; }
.app__head { display: flex; align-items: center; gap: 16px; }
.app__icon { flex: none; width: 72px; height: 72px; border-radius: 22%; }
.app__tag {
  display: inline-block; padding: 0 12px; border-radius: 999px; color: #fff;
  font-size: 13px; font-weight: 800; line-height: 24px; letter-spacing: .06em;
}
.app__tag--new { background: var(--c-new); }
.app__tag--update { background: var(--c-update); }
.app__name { margin: 4px 0 0; font-size: 20px; font-weight: 800; line-height: 1.35; letter-spacing: .03em; }
.app__text { margin: 14px 0 18px; color: var(--c-text-strong); font-size: 15px; }

/* ストアの公式バッジ（紹介ページと同じ素材）。実 ink の高さを揃える。
   App Store … 109 × 40 → 高さ 44 / Google Play … 646 × 250 のうち ink は 192 → 44 × 250 / 192 = 57 */
.app__btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin-top: auto; }
.store { display: inline-flex; align-items: center; text-decoration: none; }
.store__img--apple  { height: 44px; width: auto; }
.store__img--google { height: 57px; width: auto; }
.store:active { opacity: .7; }

/* 紹介ページへの小さな副リンク */
.app__more {
  align-self: center; display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0 12px;
  color: var(--c-text-strong); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}

.jump a:active { opacity: .7; }
.store:focus-visible, .app__more:focus-visible, .jump a:focus-visible { outline: 3px solid var(--c-text); outline-offset: 2px; }

.foot { margin-top: 48px; padding-block: 28px 36px; border-top: 2px solid var(--c-line); color: var(--c-text-strong); font-size: 14px; text-align: center; }
.foot p { margin: 0; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0 0 16px; padding: 0; list-style: none; }
.foot__nav a { display: inline-block; padding: 8px 0; color: var(--c-text-strong); }
.top__eyebrow a { color: inherit; text-decoration: none; }

/* タブレット以上は 2 列 */
@media (min-width: 720px) {
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .top { padding-block: 56px 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
