@charset "UTF-8";
/* ============================================================
   ぺそぎん公式サイト  /  style.css
   ------------------------------------------------------------
   構成:  1. リセット  2. デザイントークン  3. 土台
          4. ヘッダー / ナビ  5. ヒーロー  6. 部品
          7. セクション別  8. フッター  9. 動き
   ============================================================ */

/* --- 1. リセット ------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, blockquote {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }


/* --- 2. デザイントークン ---------------------------------- */
:root {
  /* 色：壁紙の空色とほっぺのピンクから起こしています */
  --ink:        #333a40;
  --ink-soft:   #6d7883;
  --ink-faint:  #9aa5af;

  --paper:      #ffffff;
  --bg:         #f2f8fc;
  --bg-warm:    #fdfaf6;

  --sky:        #4fb3e8;
  --sky-deep:   #2589c2;
  --sky-pale:   #e4f2fb;
  --sky-mist:   #f3f9fd;

  --blush:      #ff96ae;
  --blush-pale: #ffeef2;

  --line:       #06c755;

  --rule:       #e6eef4;

  /* 角丸 */
  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  36px;
  --r-pill: 999px;

  /* 影：やわらかく、下に落とす */
  --shadow-sm: 0 1px 2px rgba(51, 58, 64, .05),
               0 4px 12px -6px rgba(37, 137, 194, .18);
  --shadow-md: 0 2px 4px rgba(51, 58, 64, .05),
               0 16px 32px -18px rgba(37, 137, 194, .35);
  --shadow-lg: 0 4px 8px rgba(51, 58, 64, .05),
               0 28px 56px -28px rgba(37, 137, 194, .45);

  /* 余白リズム
     下限をスマホ実機で詰めてある。clamp の下限を大きくすると
     狭い画面でずっと下限に張り付いてスカスカになるので注意。 */
  --gap:     clamp(0.75rem, 2.5vw, 1.75rem);
  --section: clamp(2.25rem, 7vw, 5.5rem);

  --wrap: 1080px;

  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4",
          "Yu Gothic Medium", "游ゴシック Medium", "Meiryo", sans-serif;
}


/* --- 3. 土台 ---------------------------------------------- */
body {
  font-family: var(--font);
  font-size: clamp(0.975rem, 0.93rem + 0.22vw, 1.0625rem);
  line-height: 1.78;
  color: var(--ink);
  background: var(--bg);
  /* 雪のようなドットをうっすら敷く */
  background-image:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, .9) 0 1.5px, transparent 1.6px),
    radial-gradient(circle at 68% 44%, rgba(255, 255, 255, .7) 0 1.5px, transparent 1.6px);
  background-size: 88px 88px, 132px 132px;
  overflow-wrap: break-word;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow { width: min(100% - 2.5rem, 760px); }

/* スクリーンリーダー専用 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* キーボード操作時のフォーカス表示 */
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ヘッダーに隠れないようアンカー位置を下げる */
[id] { scroll-margin-top: 88px; }

html { scroll-behavior: smooth; }


/* --- 4. ヘッダー / ナビ ------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header__inner {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  margin-right: auto;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky-pale);
  padding: 2px;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.brand__name { font-size: 1.0625rem; line-height: 1.2; }
.brand__sub {
  display: block;
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-faint);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__list a {
  display: block;
  padding: .45rem .85rem;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}

.nav__list a:hover { color: var(--sky-deep); background: var(--sky-pale); }

.nav__list a[aria-current="page"] {
  color: var(--sky-deep);
  background: var(--sky-pale);
  font-weight: 700;
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle span + span { margin-top: 5px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: 68px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }

  .nav[data-open="true"] { display: block; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list a {
    padding: .85rem .75rem;
    border-radius: var(--r-md);
    font-size: 1rem;
  }

  .nav__list li + li { border-top: 1px solid var(--rule); }
}


/* ナビの中で 1 つだけ目立たせるリンク（ゲームス） */
.nav__list .nav__cta {
  background: var(--blush);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px -6px rgba(255, 150, 174, .9);
}

.nav__list .nav__cta:hover { background: #f97e99; color: #fff; }

@media (max-width: 940px) {
  .nav__list .nav__cta { box-shadow: none; }
}


/* --- 4b. ゲームスの帯 -------------------------------------- */
.promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem .75rem;
  flex-wrap: wrap;
  padding: .65rem 1.25rem;
  background: linear-gradient(100deg, #ffb0c2, #ff96ae 55%, #ffa8bd);
  color: #fff;
  font-size: .875rem;
  text-decoration: none;
  text-align: center;
  transition: filter .2s;
}

.promo:hover { filter: brightness(1.05); }

.promo b { font-weight: 700; }

.promo em {
  font-style: normal;
  font-size: .75rem;
  padding: .1rem .55rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .28);
  font-weight: 700;
}

.promo .promo__go { font-weight: 700; }
.promo .promo__go::after { content: " →"; }


/* --- 5. ヒーロー ------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #5cbcee 0%, #3fa5de 45%, #6cc6ef 100%);
  color: #fff;
  padding-block: clamp(2.25rem, 8vw, 5rem) 0;
}

/* ふわふわの雲を背景に散らす */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  pointer-events: none;
}
.hero::before { width: 380px; height: 380px; top: -140px;  left: -110px; }
.hero::after  { width: 300px; height: 300px; bottom: 40px; right: -100px; }

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: .3rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .22);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: 1.1rem;
}

.hero__title {
  font-size: clamp(2rem, 1.35rem + 3.2vw, 3.5rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(20, 90, 130, .25);
}

.hero__lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: rgba(255, 255, 255, .93);
}

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* 並んだぺそぎん。透過画像を 1 体ずつ並べて、下端にそろえて乗せる。
   1 枚の横長画像だと背景が抜けず、青地に白い箱が浮いてしまう。 */
.hero__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(.1rem, 1vw, .6rem);
  margin: clamp(1.25rem, 3.5vw, 2rem) auto -2px;
  width: min(100% - 1.25rem, 880px);
}

/* 元画像が 360px 角なので、最大 132px でも拡大にならず輪郭が保たれる */
.hero__row img {
  width: clamp(46px, 13.5vw, 132px);
  height: auto;
}

/* ヒーローの下端を波形に */
.hero__wave {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: clamp(28px, 5vw, 56px);
  margin-top: -1px;
  fill: var(--bg);
}


/* --- 6. 部品 ---------------------------------------------- */

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .2s, background-color .2s, color .2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--paper);
  color: var(--sky-deep);
  box-shadow: 0 6px 18px -6px rgba(20, 90, 130, .5);
}
.btn--primary:hover { box-shadow: 0 12px 26px -8px rgba(20, 90, 130, .55); }

.btn--ghost {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .28); }

.btn--sky {
  background: var(--sky);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--sky:hover { background: var(--sky-deep); box-shadow: var(--shadow-md); }

.btn--line {
  background: var(--line);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(6, 199, 85, .8);
}
.btn--line:hover { background: #05b04b; }

.btn--outline {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule), var(--shadow-sm);
}
.btn--outline:hover { color: var(--sky-deep); box-shadow: inset 0 0 0 1.5px var(--sky), var(--shadow-sm); }

.btn--sm { padding: .5rem 1.1rem; font-size: .875rem; }

/* セクション */
.section { padding-block: var(--section); }
.section--tint { background: var(--paper); }
.section--warm { background: var(--bg-warm); }

.section__head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 4vw, 2.5rem);
}

.section__eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.section__title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.4;
}

/* タイトル下の小さな丸 3 つ */
.section__title::after {
  content: "";
  display: block;
  width: 46px;
  height: 6px;
  margin: .85rem auto 0;
  border-radius: var(--r-pill);
  background:
    radial-gradient(circle at 6px 3px,  var(--blush) 0 3px, transparent 3.5px),
    radial-gradient(circle at 23px 3px, var(--sky)   0 3px, transparent 3.5px),
    radial-gradient(circle at 40px 3px, var(--blush) 0 3px, transparent 3.5px);
}

.section__lead {
  margin-top: .9rem;
  color: var(--ink-soft);
  font-size: .9375rem;
}

/* カード */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}

a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.card__text {
  font-size: .9063rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .9rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--sky-deep);
}

.card__more::after {
  content: "→";
  transition: transform .2s;
}

a.card:hover .card__more::after { transform: translateX(4px); }

/* グリッド */
.grid {
  display: grid;
  gap: var(--gap);
}

/* minmax の下限は min(◯px, 100%) にすること。
   素の minmax(280px, 1fr) だと、画面がその幅より狭いときに
   トラックが縮まず横スクロールが発生する（320px未満の端末で顕在化）。 */
.grid--2 { grid-template-columns: repeat(auto-fit,  minmax(min(280px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit,  minmax(min(240px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); }

/* パンくず */
.crumbs {
  padding-block: 1rem;
  font-size: .8125rem;
  color: var(--ink-faint);
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--sky-deep); text-decoration: underline; }
.crumbs li { display: inline; }
.crumbs li + li::before { content: "／"; margin: 0 .4rem; color: var(--rule); }

/* 下層ページの見出し */
.page-head {
  background: linear-gradient(170deg, #5cbcee, #3fa5de);
  color: #fff;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.page-head__title {
  font-size: clamp(1.625rem, 1.3rem + 1.6vw, 2.375rem);
  font-weight: 700;
}

.page-head__lead {
  margin-top: .75rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .92);
}

/* 注意書き */
.note {
  background: var(--blush-pale);
  border-radius: var(--r-md);
  padding: 1.15rem 1.35rem;
  font-size: .875rem;
  line-height: 1.85;
  color: #7a4b56;
}

.note__title {
  font-weight: 700;
  margin-bottom: .35rem;
  color: #c2566f;
}

.note ul { list-style: disc; padding-left: 1.2em; }

/* 帯 */
.tag {
  display: inline-block;
  padding: .1rem .6rem;
  border-radius: var(--r-pill);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--sky-pale);
  color: var(--sky-deep);
}

.tag--free { background: #e6f8ee; color: #14894a; }
.tag--paid { background: var(--blush-pale); color: #c2566f; }


/* --- 7. セクション別 -------------------------------------- */

/* 7-1. ぺそぎんとは */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 760px) {
  .about { grid-template-columns: 220px minmax(0, 1fr); }
}

.about__figure {
  justify-self: center;
  width: 170px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0%, var(--sky-pale) 100%);
  box-shadow: var(--shadow-md);
}

.about__figure img { width: 132px; }

.about__list { display: grid; gap: .85rem; }

.about__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .9688rem;
}

/* 行頭にぺそぎんのほっぺ色の丸 */
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blush);
  box-shadow: 0 0 0 4px var(--blush-pale);
}

/* 7-2. LINE スタンプ */
.sticker {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}

.sticker:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.sticker__thumb {
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: linear-gradient(160deg, var(--sky-mist), var(--sky-pale));
}

.sticker__thumb img {
  width: 100%;
  max-width: 130px;
  border-radius: var(--r-sm);
}

/* 着せかえは縦長サムネなので枠を変える */
.sticker--theme .sticker__thumb img { max-width: 112px; }

.sticker__body {
  padding: .85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}

.sticker__name {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.sticker__go {
  margin-top: auto;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--line);
}

/* 7-3. ゲームスの大きなカード（トップページ） */
.feature {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(1.75rem, 5vw, 3rem);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #fff2f5 0%, #ffe6ec 55%, #fff7f9 100%);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

@media (min-width: 760px) {
  /* 右の列幅は .feature__art の幅と揃えること。
     ズレるとイラストだけ小さく縮んで見える。 */
  .feature { grid-template-columns: minmax(0, 1fr) 230px; }
}

.feature::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  top: -110px; right: -60px;
  pointer-events: none;
}

.feature__body { position: relative; z-index: 1; }

.feature__label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .8rem;
  border-radius: var(--r-pill);
  background: var(--blush);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: .85rem;
}

.feature__title {
  font-size: clamp(1.375rem, 1.1rem + 1.3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

/* タイトルを「ぺそぎんゲームス」のロゴ画像に差し替えるとき。
   ロゴ自体が白フチ付きなので、背景に沈まないよう影は付けない。 */
.feature__title--logo {
  line-height: 0;
  margin-bottom: .25rem;
}

.feature__logo {
  width: min(100%, 340px);
  height: auto;
}

/* 見出しの下に添える小さめのロゴ（アプリ・英語ページ用） */
.feature__logo--sm { width: min(100%, 230px); margin-bottom: .6rem; }

.feature__text {
  margin-top: .7rem;
  font-size: .9375rem;
  color: #7a5a62;
}

/* 「日本語のみ」など、飛ぶ前に伝えておきたい注意書き。
   カードの中に置くので、押す前に必ず目に入る。 */
.feature__note {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .45rem .5rem;
  margin-top: 1rem;
  padding: .65rem .9rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .82);
  font-size: .8125rem;
  line-height: 1.7;
  color: #8a5f6a;
}

.feature__note b {
  flex: none;
  padding: .05rem .5rem;
  border-radius: var(--r-pill);
  background: var(--blush);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* 本文は 12rem 確保できなければ、バッジの下へ丸ごと折り返す。
   これが無いと狭い画面で本文が1〜2文字幅まで潰れる。 */
.feature__note span { flex: 1 1 12rem; min-width: 0; }

.feature__games {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.1rem;
}

.feature__games li {
  padding: .25rem .75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .8);
  font-size: .8125rem;
  font-weight: 500;
  color: #8a5f6a;
}

.feature__go {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.4rem;
  padding: .7rem 1.6rem;
  border-radius: var(--r-pill);
  background: var(--blush);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(255, 150, 174, 1);
  transition: transform .2s, background-color .2s;
}

.feature:hover .feature__go { background: #f97e99; transform: translateX(3px); }

.feature__art {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(230px, 72%);
}

/* 2 カラムになったら、右列（230px）をいっぱいに使う。
   このルールは .feature__art の後ろに置くこと（順序が逆だと負ける）。 */
@media (min-width: 760px) {
  .feature__art { width: 100%; }
}

.feature__art img { width: 100%; }

/* 7-4. アプリ一覧 */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--gap);
}

.app {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}

.app:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.app__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sky-pale);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.app__icon img { width: 100%; height: 100%; object-fit: cover; }

.app__name {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.app__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-top: .4rem;
  font-size: .75rem;
  color: var(--ink-faint);
}

.app__store {
  font-weight: 700;
  color: var(--sky-deep);
}

.app__store::after { content: " ↗"; }

/* 7-5. お知らせ */
.news { display: grid; gap: .25rem; }

.news li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .15rem .9rem;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 620px) {
  .news li { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: baseline; }
}

.news time {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: .02em;
}

.news p { font-size: .9375rem; }
.news a { color: var(--sky-deep); text-decoration: underline; text-underline-offset: 2px; }

/* 7-6. リンク集 */
.linklist { display: grid; gap: .75rem; }

.linklist a {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.linklist a:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.linklist strong {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 1rem;
}

.linklist strong::after {
  content: "↗";
  font-size: .8125rem;
  color: var(--ink-faint);
}

.linklist span {
  display: block;
  margin-top: .15rem;
  font-size: .8438rem;
  color: var(--ink-soft);
}

/* 7-7. 表情のならび（飾り） */
.faces {
  display: flex;
  justify-content: center;
  gap: clamp(.5rem, 2vw, 1.25rem);
  flex-wrap: wrap;
}

.faces img {
  width: clamp(48px, 9vw, 68px);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.faces img:hover { transform: translateY(-6px) rotate(-6deg); }


/* --- 8. フッター ------------------------------------------ */
.footer {
  background: #2f3b44;
  color: #cfd9e1;
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.5rem;
  font-size: .875rem;
}

.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer__brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.footer__brand img { width: 40px; border-radius: 50%; background: #fff; padding: 2px; }
.footer__brand b { color: #fff; font-size: 1rem; }

.footer__heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #8fa2b1;
  margin-bottom: .75rem;
  text-transform: uppercase;
}

.footer__list { display: grid; gap: .5rem; }

.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .8125rem;
  color: #93a3b1;
}


/* --- 9. 動き ---------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].is-in { opacity: 1; transform: none; }

/* 動きを減らす設定を尊重する */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
}

/* 印刷 */
@media print {
  .header, .footer, .hero__actions, .nav-toggle { display: none; }
  body { background: #fff; }
}
