/* ========================================
   富山カワイ幼稚園 - トップページ
   ======================================== */

:root {
  --container-wide: 1200px;
  --container-standard: 1120px;
  --container-compact: 920px;
  /* ==========================================================
     文字色は【3種類】だけ。ここに無い色を書かないこと。
     ========================================================== */
  --color-ink: #1A1A1A;      /* 1. 見出し・カードタイトル・強調 */
  --color-text: #3F4852;     /* 2. 本文 */
  --color-muted: #888888;    /* 3. 補足・メタ・ラベル */
  --color-primary: #0874C7;
  --color-primary-deep: #075C9F;
  --color-cta: #D98345;
  --color-cta-hover: #B9652F;
  --color-border: #D5DEE7;
  --surface-white: #FFFFFF;
  --surface-pale: #EFF7FD;
  --surface-blue-soft: #D7EAF8;
  --surface-caution: #FFF8E7;
  /* ==========================================================
     テキストサイズは【12段階】だけ。ここに無いサイズを書かないこと。
     役割で選ぶ → ①見出し4段階 ②本文系3段階 ③UI系5段階
     ========================================================== */
  /* ① 見出し（4段階） */
  --font-page-title: clamp(36px, 4.2vw, 52px);   /* 1. ページタイトル（H1） */
  --font-section-title: clamp(28px, 3vw, 36px);  /* 2. セクション見出し（H2） */
  --font-subsection-title: 24px;                 /* 3. 小見出し（H3） */
  --font-card-title: 18px;                       /* 4. カード見出し */
  /* ② 本文系（3段階） */
  --font-lead: 16px;                             /* 5. リード文（本文と同じ16pxに統一） */
  --font-body: 16px;                             /* 6. 本文・テーブル・FAQ回答 */
  --font-note: 12px;                             /* 9. 注記・補足・キャプション */
  /* ③ UI系（4段階） */
  --font-label: 13px;                            /* 7. タグ・ラベル・バッジ・ステップ番号 */
  --font-meta: 13px;                             /* 8. 日付・カテゴリ・件数・カードの説明文 */
  --font-ui: 14px;                               /* 10. ボタン・ナビ・フッター */
  --font-form: 16px;                             /* 11. 入力欄 */
  /* 旧名の互換（既存CSSを壊さないため） */
  --font-minor-title: var(--font-card-title);
  --radius-image: 24px;
  --radius-card: 24px;
  --radius-inner: 16px;
  /* 影は「フラット寄り・ぼかし最小・控えめ」で統一（2026-09-26 の指示）。
     ぼかしは 2〜3px まで。強さは不透明度で調整する。 */
  --shadow-subtle: 0 1px 2px rgba(18, 36, 54, 0.06);
  --shadow-subtle-hover: 0 2px 3px rgba(18, 36, 54, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--color-text);
  background: #fff;
  font-size: var(--font-body);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* トップはフローティングヘッダーの背面からメインビジュアルを開始する */
.home-page main {
  padding-top: 0;
  background: #fff;
}

/* ========================================
   HEADER / NAV
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
}

.site-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}
.site-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* ハンバーガーボタン */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* 開いたとき × に変形 */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ドロワー背景オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ドロワーナビ */
.nav-drawer {
  position: fixed;
  top: 64px;
  right: 0;
  width: 280px;
  height: calc(100vh - 64px);
  background: #fff;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 32px 0;
}
.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-list {
  list-style: none;
}

.nav-drawer-list li a {
  display: block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s, background 0.2s;
}

.nav-drawer-list li a:hover {
  color: #0874C7;
  background: #f5f9ff;
}


.nav-current a {
  color: #0874C7 !important;
  background: #f0f6ff;
}

.nav-drawer-cta {
  margin-top: 8px;
  padding: 16px 32px;
}

.nav-drawer-cta a {
  display: block;
  text-align: center;
  background: #D98345;
  color: #fff !important;
  border-radius: 100px;
  border-bottom: none;
  padding: 12px 24px;
  font-weight: 700;
  font-size: var(--font-ui);
  transition: opacity 0.2s;
}

.nav-drawer-cta a:hover {
  opacity: 0.85;
  background: #D98345 !important;
}

/* 在園保護者の方ボタン（青枠） */
.nav-drawer-parents {
  padding: 8px 32px 24px;
}

.nav-drawer-list .nav-drawer-parents a {
  display: block;
  text-align: center;
  background: transparent;
  color: #0874C7 !important;
  border: 1.5px solid #0874C7;
  border-radius: 100px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: var(--font-ui);
  transition: background 0.2s, color 0.2s;
}

.nav-drawer-parents a:hover {
  background: #0874C7 !important;
  color: #fff !important;
}

/* トップページも下層ページと同じフローティングヘッダーに統一 */
.home-page .site-header {
  top: 18px;
  left: 50%;
  right: auto;
  width: min(calc(100% - 48px), 1320px);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-subtle);
  transform: translateX(-50%);
}

/* 白フローティングヘッダーではハンバーガーアイコンを青にする（白だと見えない） */
.home-page .hamburger span { background: #0874C7; }

.home-page .header-inner {
  max-width: none;
  height: 68px;
  padding: 0 28px;
}

.home-page .nav-drawer {
  top: 98px;
  right: max(24px, calc((100vw - 1320px) / 2));
  width: 320px;
  height: auto;
  max-height: calc(100dvh - 116px);
  padding: 16px 0;
  border-radius: 24px;
  box-shadow: var(--shadow-subtle-hover);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: transform 0.3s ease, opacity 0.24s ease;
}

.home-page .nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .home-page .site-header {
    top: 10px;
    width: calc(100% - 24px);
  }

  .home-page .header-inner {
    height: 60px;
    padding: 0 18px;
  }

  .home-page .nav-drawer {
    top: 80px;
    right: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 92px);
    padding: 10px 0;
    border-radius: 20px;
  }
}

/* ── サブメニュー（アコーディオン） ── */
.nav-sub-header {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #f0f0f0;
}

.nav-sub-header > a,
.nav-sub-label {
  flex: 1;
  display: block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.4;
  border-bottom: none;
}

.nav-sub-label {
  display: flex;
  align-items: center;
}

.nav-sub-header > a {
  transition: color 0.2s, background 0.2s;
}

.nav-sub-header > a:hover {
  color: #0874C7;
  background: #f5f9ff;
}

.nav-current .nav-sub-header > a {
  color: #0874C7 !important;
  background: #f0f6ff;
}

.nav-sub-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 16px;
  color: #0874C7;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-sub-toggle .material-symbols-outlined {
  font-size: 30px;
  transition: transform 0.25s;
}

.nav-has-sub.is-sub-open .nav-sub-toggle .material-symbols-outlined {
  transform: rotate(180deg);
}

.nav-sub-list {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  background: #f8fafc;
}

.nav-has-sub.is-sub-open .nav-sub-list {
  max-height: 500px;
}

.nav-sub-list li a {
  display: block;
  padding: 11px 32px 11px 48px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 1px solid #efefef;
  transition: color 0.2s, background 0.2s;
}

.nav-sub-list li:last-child a {
  border-bottom: none;
}

.nav-sub-list li a:hover {
  color: #0874C7;
  background: #f0f6ff;
}

/* 画面の高さが低い環境（ノートPC等）では項目を詰めて全メニューを収める。
   通常の余白だとメニュー全体が約850pxあり、下端の「在園保護者の方」が見切れる */
@media (max-height: 940px) {
  .nav-drawer { padding: 16px 0; }
  .nav-drawer-list li a { padding: 11px 32px; }
  .nav-sub-header > a,
  .nav-sub-label { padding: 11px 32px; }
  .nav-sub-list li a { padding: 8px 32px 8px 48px; }
  .nav-drawer-cta { padding: 12px 32px; }
  .nav-drawer-parents { padding: 8px 32px 16px; }
}

/* さらに低い画面（小型スマホの横向き等）ではもう一段詰める */
@media (max-height: 700px) {
  .nav-drawer { padding: 10px 0; }
  .nav-drawer-list li a { padding: 8px 32px; }
  .nav-sub-header > a,
  .nav-sub-label { padding: 8px 32px; }
  .nav-drawer-parents { padding: 6px 32px 12px; }
  .nav-drawer-parents a { padding: 10px 24px; }
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  height: 548px;
  overflow: hidden;
  margin-top: 0;
  border-radius: 0;
  background: #0874C7;
  box-shadow: none;
}

/* 画面幅に合わせて伸縮するSVGの滑らかな下端カーブ */
.hero-curve {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: -1px;
  left: 0;
  display: block;
  width: 100%;
  height: clamp(88px, 10vw, 140px);
  pointer-events: none;
}

.hero-curve path {
  fill: #fff;
}

/* ===== メインビジュアル スライドショー（Ken Burns ズーム＋クロスフェード） ===== */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform-origin: center top;
  /* 7枚 × 各7秒 = 49秒で1周 */
  animation: heroKenBurns 49s infinite ease-in-out;
  will-change: opacity, transform;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* 各スライドの表示タイミングを 7 秒ずつずらす */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }
.hero-slide:nth-child(4) { animation-delay: 21s; }
.hero-slide:nth-child(5) { animation-delay: 28s; }
.hero-slide:nth-child(6) { animation-delay: 35s; }
.hero-slide:nth-child(7) { animation-delay: 42s; }

/* 偶数枚目はズームアウト方向にして単調さを回避 */
.hero-slide:nth-child(even) { animation-name: heroKenBurnsOut; }

@keyframes heroKenBurns {
  0%   { opacity: 0; transform: scale(1.0); }
  2%   { opacity: 1; }
  14%  { opacity: 1; }
  16%  { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}

@keyframes heroKenBurnsOut {
  0%   { opacity: 0; transform: scale(1.12); }
  2%   { opacity: 1; }
  14%  { opacity: 1; }
  16%  { opacity: 0; transform: scale(1.0); }
  100% { opacity: 0; transform: scale(1.0); }
}

/* モーションを控えたいユーザーには最初の1枚を静止表示 */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; transform: none; }
  .hero-slide:nth-child(1) { opacity: 1; }
}

/* 旧・単一画像用（後方互換） */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* 画像がない場合のフォールバック */
.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #c8b4a0 0%, #a8b8c8 40%, #b4c8b0 70%, #d0c0b0 100%);
}

/* スクリーンリーダー・SEO向けの視覚的非表示ユーティリティ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  z-index: 3;
}

/* テキストリビール用マスク */
.hero-line-wrap {
  overflow: hidden;
  display: inline-flex;
  padding-bottom: 5px;
  margin-bottom: -5px;
}

/* タグライン - デザイン通り */
.hero-line {
  display: inline-flex;
  align-items: center;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  position: relative;
  white-space: nowrap;
}

/* 白背景のテキストブロック（強く、明るく、） */
.hero-line-white {
  background: #fff;
  color: var(--color-ink);
  padding: 6px 16px 18px;
}

/* 下線アクセント（マーカー） */
.hero-marker {
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 21px;
  background: rgba(224, 80, 32, 0.7);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-marker--blue {
  background: rgba(26, 95, 168, 0.7);
}

/* 「賢い子」は紺背景・白文字 */
.hero-line-dark {
  background: #1e2d4a;
  color: #fff;
  padding: 6px 16px 10px;
}

/* ========================================
   SECTION 共通
   ======================================== */

.section {
  padding: 64px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 64px 32px;
}

.section-label {
  font-size: var(--font-ui);
  font-weight: 700;
  letter-spacing: 3px;
  color: #e05020;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-label--blue {
  color: #1a5fa8;
}

.section-title {
  font-size: var(--font-section-title);
  font-weight: 900;
  color: var(--color-ink);
  line-height: 1.3;
}

/* ========================================
   3カラム カードセクション
   ======================================== */

.cards-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 64px;
}

.circle-section + .cards-section {
  max-width: none;
  padding-left: max(32px, calc((100% - 1136px) / 2));
  padding-right: max(32px, calc((100% - 1136px) / 2));
  background: var(--surface-pale);
}

/* トップページのセクション順と背景色を交互に固定 */
.home-page main {
  display: flex;
  flex-direction: column;
}

.home-page main > .hero { order: 1; }
.home-page main > .circle-section { order: 2; }
.home-page main > .cards-section { order: 3; }
.home-page main > .nurse-section { order: 4; }
.home-page main > .related-pages--recommend { order: 5; }
.home-page main > .home-faq-section { order: 7; }
.home-page main > .news-section { order: 8; background: var(--surface-pale); }
.home-page main > .insta-section { order: 9; background: #fff; }

/* 関連リンク＝ペールブルー／よくある質問＝白（交互ルール） */
.home-page .related-pages--recommend { background: var(--surface-pale); }
.home-page .home-faq-section { background: #fff; }

.home-page .related-pages--recommend .related-pages-inner {
  max-width: 1136px;
}

.home-page .home-faq-section { padding: 88px 32px; }
.home-faq-inner { width: min(100%, 1100px); margin: 0 auto; }
.home-faq-inner > .section-title { margin-bottom: 36px; text-align: center; }
.home-faq-inner .ip-faq-list { margin: 0; }
.home-page .home-faq-inner .home-faq-more {
  display: flex;
  width: fit-content;
  margin: 28px auto 0;
}

/* セクション下の中央ボタン（お知らせ・Instagram） */
.home-page .section-cta {
  display: flex;
  width: fit-content;
  margin: 28px auto 0;
}

.cards-intro {
  text-align: center;
  margin-bottom: 48px;
}

.cards-intro h2 {
  margin-bottom: 12px;
}

.cards-intro p {
  font-size: var(--font-body);
  color: var(--color-text);
  line-height: 1.8;
}

.cards-cta {
  text-align: center;
  margin-top: 40px;
}

.card {
  border: 1px solid #e0e4ec;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  box-shadow: var(--shadow-subtle-hover);
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #d4ccc4;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-img-placeholder {
  width: 100%;
  height: 160px;
  background: #d4ccc4;
}

.card-img-placeholder.b { background: #b8ccc0; }
.card-img-placeholder.c { background: #c8bcd0; }

.card-body {
  padding: 20px;
}

.card-title {
  font-size: var(--font-minor-title);
  font-weight: 700;
  color: var(--color-ink, #1A1A1A);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-title .material-symbols-outlined {
  font-size: 24px;
  color: #0874C7;
  flex-shrink: 0;
}

.card-text {
  font-size: var(--font-body);
  color: var(--color-text);
  line-height: 1.8;
}

/* ========================================
   賢い子 フィロソフィーセクション
   ======================================== */

.circle-section {
  background: #fff;
}

.home-circle-inner,
.circle-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 32px 32px 56px;
  column-gap: 48px;
}

.home-circle-inner {
  display: block;
}

.circle-inner {
  padding-top: 72px;
}

.circle-heading {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 20px;
}

.circle-heading .section-title {
  display: inline-block;
  position: relative;
}

.circle-content {
  padding: 0;
  display: flow-root;
}

.circle-content .section-title {
  margin-bottom: 20px;
}

.circle-content p {
  font-size: var(--font-body);
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 32px;
}

.circle-content .btn-ghost {
  margin-top: 0;
}

.circle-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
}

.circle-cutout {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.circle-img {
  float: right;
  width: min(48%, 560px);
  height: 380px;
  margin: 0 0 24px 48px;
  object-fit: cover;
  display: block;
  background: #b8c8d0;
  border-radius: 8px;
}

.circle-img-placeholder {
  width: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #c8b8a8, #a8b8c8);
  border-radius: 8px;
  margin: 40px 0;
}

/* ========================================
   ボタン
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D98345;
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  border: none;
  font-size: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: none;
  transition: background-color 0.2s;
  cursor: pointer;
}

.btn .material-symbols-outlined {
  font-size: 24px;
  flex-shrink: 0;
}

.btn:hover {
  background: #B9652F;
  opacity: 1;
  box-shadow: none;
}

.btn:active {
  background: #A95729;
  opacity: 1;
  box-shadow: none;
}

/* ゴーストボタン（青文字・白抜き） */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #0874C7;
  border: 1.5px solid #0874C7;
  padding: 11px 26px;
  border-radius: 100px;
  font-size: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-ghost .material-symbols-outlined {
  font-size: 24px;
  flex-shrink: 0;
}

.btn-ghost:hover {
  background: #0874C7;
  color: #fff;
}

.btn-ghost:active {
  background: #065aa0;
}

/* ========================================
   ダウンロードリスト（共通パーツ）
   ======================================== */

.download-list {
  list-style: none;
  border-top: 1px dotted #D1D1D1;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px dotted #D1D1D1;
  gap: 16px;
}

.download-item-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
}

.download-item-name .material-symbols-outlined {
  font-size: 22px;
  color: #0874C7;
  flex-shrink: 0;
}

/* ========================================
   お知らせ セクション
   ======================================== */

.news-section {
  background: #E6EDF5;
  padding: 64px 32px;
}
.news-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.news-more {
  font-size: var(--font-ui);
  color: #1a5fa8;
  white-space: nowrap;
}

.news-more:hover {
  text-decoration: underline;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted #D1D1D1;
  font-size: 14px;
}

.news-item:first-child {
  border-top: 1px dotted #D1D1D1;
}

.news-date {
  color: var(--color-muted);
  white-space: nowrap;
  font-size: 14px;
  min-width: 88px;
}

.tag {
  display: inline-block;
  font-size: var(--font-ui);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
}

.tag--news {
  background: #e8f0fb;
  color: #1a5fa8;
  border: 1px solid #b8d0f0;
}

.tag--event {
  background: #fdf0e8;
  color: #d04010;
  border: 1px solid #f0c8a0;
}

.tag--info {
  background: #e8f4ec;
  color: #1a7a40;
  border: 1px solid #a8dab8;
}

.tag--circle {
  background: #E6F4F0;
  color: #1a7a58;
  border: 1px solid #a8d8c8;
}

.tag--admission {
  background: #F0EBF8;
  color: #6a3fa8;
  border: 1px solid #c8aae8;
}

.tag--parents {
  background: #F0F0F0;
  color: var(--color-text);
  border: 1px solid #C8C8C8;
}

.news-link {
  color: #1a5fa8;
  font-size: 14px;
  transition: opacity 0.2s;
}

/* トップの「お知らせ」は、お知らせ一覧（news.css）と同じ文字サイズに揃える
   一覧側は 日付16px / タグ14px / タイトル16px（実測） */
.home-page .news-section .news-item,
.home-page .news-section .news-date,
.home-page .news-section .news-link {
  font-size: var(--font-body); /* 16px */
}

.home-page .news-section .tag {
  font-size: var(--font-ui); /* 14px */
}

.news-link:hover {
  text-decoration: underline;
}

/* 矢印つきテキストリンク（「一覧を見る」「Instagramを見る」など） */
.text-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0874C7;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.text-link-arrow .material-symbols-outlined {
  font-size: 20px;
}

.text-link-arrow:hover {
  opacity: 0.7;
}

/* ========================================
   Instagram セクション
   ======================================== */

.insta-section {
  background: #fff;
  padding: 64px 32px;
}

.insta-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.insta-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.insta-more {
  font-size: var(--font-ui);
  color: #1a5fa8;
}

.insta-more:hover {
  text-decoration: underline;
}

.insta-widget-wrap {
  width: 100%;
}

/* スマホでは投稿を3枚に絞る */
@media (max-width: 767px) {
  .insta-widget-wrap .crt-post:nth-child(n+4) {
    display: none;
  }
}

.insta-widget-wrap .lightwidget-widget {
  display: block;
  width: 100%;
  border: 0;
  overflow: hidden;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.insta-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
}

.insta-thumb img,
.insta-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.insta-thumb:hover img,
.insta-thumb:hover .insta-thumb-placeholder {
  transform: scale(1.04);
}

.insta-thumb-placeholder {
  background: #c0ccd8;
}
.insta-thumb-placeholder.t2 { background: #c8bca8; }
.insta-thumb-placeholder.t3 { background: #b4c8b0; }
.insta-thumb-placeholder.t4 { background: #c4b0b8; }
.insta-thumb-placeholder.t5 { background: #b8c4cc; }

/* ========================================
   看護師対応 セクション
   ======================================== */

.nurse-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px;
  gap: 48px;
}

.nurse-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nurse-img-frame {
  width: 100%;
  max-width: 520px;
  height: 340px;
  border-radius: 8px;
  overflow: hidden;
}

.nurse-img-frame img,
.nurse-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #c8b4a0, #b0bcc8);
}

.nurse-content .section-label {
  color: #1a5fa8;
}

.nurse-content .section-title {
  margin-top: 8px;
  margin-bottom: 16px;
}

.nurse-content p {
  font-size: var(--font-body);
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: #1a2535;
  color: #fff;
  padding: 56px 32px 24px;
}

.footer-logo-area {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  margin: 0 auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #2e3f55;
}

.footer-info-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-info-body {
  font-size: var(--font-ui);
  color: var(--color-muted);
  line-height: 2;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 16px;
}

.footer-links-grid a {
  font-size: var(--font-ui);
  color: var(--color-muted);
  line-height: 2.2;
  transition: color 0.2s;
}

.footer-links-grid a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  font-size: var(--font-ui);
  color: var(--color-text);
  padding-top: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* SP用フッターボタン（PC では非表示） */
.footer-sp-buttons {
  display: none;
}

/* ========================================
   トップページ — 保育コラム セクション
   ======================================== */

.top-column-section {
  background: var(--surface-pale);
  padding: 72px 32px 80px;
}

.top-column-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.top-column-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.top-column-lead {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 8px;
  line-height: 1.7;
}

.top-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.top-column-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #D1D1D1;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s;
}

.top-column-card:hover {
  border-color: #B8C8D8;
}

.top-column-card-img {
  overflow: hidden;
}

.top-column-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #D4E4F0, #E4D4C8);
  transition: transform 0.35s ease;
}

.top-column-card:hover .top-column-card-placeholder {
  transform: scale(1.03);
}

.top-column-card-placeholder.tp2 { background: linear-gradient(135deg, #E4D4C8, #D8E8D4); }
.top-column-card-placeholder.tp3 { background: linear-gradient(135deg, #D8E4D0, #C8D4E8); }

.top-column-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-column-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-column-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.5;
  margin: 0;
}

.top-column-card-excerpt {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .top-column-section {
    padding: 48px 20px 64px;
  }

  .top-column-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .top-column-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========================================
   共通部品 — 下層ページカード（4列・画像150px）
   ---------------------------------------------------------------
   ①こども と ③レコメンド で同じカードを使う（背景色だけ違う）。
   トップページでも使うため style.css に置く。
   ======================================== */
.parent-child-links {
  padding: clamp(56px, 7vw, 88px) 32px;
}

.parent-child-links--white {
  background: var(--surface-white, #fff);
}

.parent-child-links--pale {
  background: #DCEEF9;
}

.parent-child-links .ip-section-title {
  margin-bottom: 36px;
  text-align: left;
}

.parent-child-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}

.parent-child-card {
  display: flex;
  flex: 0 1 calc((100% - 48px) / 4);
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #E0E4EC;
  border-radius: 6px;
  background: var(--surface-white, #fff);
  color: var(--color-ink, #1A1A1A);
  transition: box-shadow 0.2s, transform 0.2s ease;
}

.parent-child-card:hover {
  box-shadow: var(--shadow-subtle-hover);
}

.parent-child-card-image {
  display: block;
  flex: none;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.parent-child-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parent-child-card-body {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 18px 18px 20px 20px;
}

.parent-child-card-title,
.parent-child-card-text,
.parent-child-card-link {
  display: block;
}

/* カード内の文字（全ページ共通の基準。親ページの上書きに依存しない） */
.parent-child-card-title {
  font-size: var(--font-card-title);
  font-weight: 700;
  line-height: 1.5;
}

.parent-child-card-text {
  font-size: var(--font-meta);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .parent-child-links { padding: 56px 20px; }
  .parent-child-card { flex-basis: 100%; flex-direction: column; }
  .parent-child-card-body { padding: 24px 20px; }
  .parent-child-card-image { flex-basis: auto; min-height: 0; height: 150px; }
}

.parent-child-card-title {
  grid-column: 1;
  margin-bottom: 4px;
}

.parent-child-card-text {
  grid-column: 1;
  color: var(--color-text, #3F4852);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.parent-child-card-link {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  align-self: center;
  margin: 0;
  color: var(--color-primary, #0874C7);
  font-size: var(--font-body);
  font-weight: 700;
  line-height: 1.5;
}

.parent-child-card-link .material-symbols-outlined {
  font-size: 24px;
  transition: transform 0.2s;
}

.parent-child-card:hover .parent-child-card-link .material-symbols-outlined {
  transform: translateX(3px);
}

/* ========================================
   内部ページ共通 — 関連リンク（3種類）
   ---------------------------------------------------------------
   名前で管理する。ページには必ず型の修飾クラスを付ける。

   ① こども    親ページが自分の子ページを見せる（4列・水色背景）
               css/lower-pages-blue.css の .parent-child-links ／ .parent-child-card
               使うページ：about / visit / school-life

   ② きょうだい 子ページが兄弟ページを見せ、下に「親に戻る」を置く（3列）
               .related-pages--sibling ／ .related-card（＋.related-card-thumb）／
               .related-parent-link
               使うページ：子ページ9枚

   ③ レコメンド その他のページがおすすめのページを大きめカードで見せる（4列・見出し付き）
               .related-pages--recommend ／ .related-pages-heading ／
               .related-grid--recommend（4列） ／ .related-card--recommend（画像150px）
               使うページ：index / admission / building / contact

   未確定：.related-pages--plain（faq のテキストカード。③へ統一するか検討中）
   ======================================== */

.related-pages {
  background: #FAF9F8;
  padding: 64px 32px;
  border-top: 1px dotted #D1D1D1;
}

.related-pages-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.related-pages-label {
  font-size: var(--font-note);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.related-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-grid--recommend {
  grid-template-columns: repeat(4, 1fr);
}

.related-pages-heading {
  text-align: center;
  margin-bottom: 36px;
}

.related-card.related-card--recommend {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 150px 1fr;
  padding: 0 0 20px;
  overflow: hidden;
  align-items: start;
  border-color: #e0e4ec;
  border-radius: 6px;
  transition: box-shadow 0.2s;
}

.related-card-img {
  grid-column: 1 / -1;
  width: 100%;
  height: 150px;
  margin-bottom: 0;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.related-card--recommend .related-card-text {
  align-self: start;
  padding-top: 18px;
  padding-left: 20px;
}

.related-card--recommend > .material-symbols-outlined {
  align-self: start;
  margin-top: 18px;
  margin-right: 18px;
}

.related-card.related-card--recommend:hover {
  border-color: #e0e4ec;
  box-shadow: var(--shadow-subtle-hover);
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 8px;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s ease;
}

.related-card:hover {
  border-color: #0874C7;
  box-shadow: var(--shadow-subtle-hover);
}

.related-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-card-title {
  font-size: var(--font-minor-title);
  font-weight: 700;
  color: var(--color-ink);
}

.related-card-sub {
  font-size: var(--font-ui);
  color: var(--color-muted);
  line-height: 1.5;
}

.related-card .material-symbols-outlined {
  font-size: 24px;
  color: #0874C7;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.related-card:hover .material-symbols-outlined {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .related-pages {
    padding: 48px 20px;
  }

  .related-pages-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ========================================
   内部ページ共通 — ページヒーロー
   ======================================== */

.page-hero {
  position: relative;
  max-width: 1200px;
  margin: 64px auto 0;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  min-height: 260px;
  display: flex;
  align-items: center;
  background: #1a3a5c;
}

/* 写真のないタイトルエリア */
.page-hero--solid {
  background: #0874C7;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 48px 32px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: var(--font-ui);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.2s;
}

.page-breadcrumb a:hover { opacity: 0.75; }

.page-breadcrumb .material-symbols-outlined {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero-title {
  font-size: var(--font-page-title);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.02em;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid #D98345;
}

.page-hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-top: 16px;
  max-width: 600px;
}

/* ========================================
   RESPONSIVE (簡易)
   ======================================== */

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  .news-item {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .news-link {
    flex-basis: 100%;
    width: 100%;
  }

  .hero {
    height: 420px;
  }

  .hero-content {
    top: 54%;
    padding: 0 20px;
    gap: 8px;
  }

  .hero-line {
    font-size: clamp(27px, 8vw, 32px);
  }

  .hero-line-white {
    padding: 4px 10px 11px;
  }

  .hero-marker {
    right: 10px;
    bottom: 5px;
    left: 10px;
    height: 10px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-faq-section { padding: 64px 20px; }

  .home-circle-inner,
  .circle-inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 36px;
  }

  .home-circle-inner {
    padding-top: 32px;
  }

  .circle-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .circle-content .circle-img {
    order: 2;
    float: none;
    width: 100%;
    height: 240px;
    min-height: 0;
    margin: 28px 0;
  }

  .circle-content .section-title {
    order: 1;
    font-size: var(--font-section-title);
    margin-bottom: 0;
  }

  .circle-content p { order: 3; }
  .circle-content .btn-ghost { order: 4; }

  .circle-section + .cards-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .circle-img-placeholder {
    min-height: 240px;
    margin: 0 20px 32px;
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nurse-section {
    grid-template-columns: 1fr;
  }

  .nurse-img-frame {
    width: 100%;
    height: 240px;
  }

  .footer-logo-area {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .footer-links-grid {
    display: none;
  }

  .footer-sp-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding: 0 4px;
  }

  .footer-sp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
    transition: opacity 0.2s;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
  }

  .footer-sp-btn:hover {
    opacity: 0.75;
  }

  .footer-sp-btn--cta {
    background: #D98345;
    border-color: #D98345;
    color: #fff;
  }
}

/* ========================================
   固定CTAボタン（でんわ・問い合わせ・未就園児サークル）
   ======================================== */

.fixed-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #D98345;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fixed-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fixed-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 12px;
  color: #fff;
  text-decoration: none;
  font-size: var(--font-ui);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border-bottom: 1px dotted rgba(255,255,255,0.4);
  transition: background 0.15s;
}

.fixed-cta-btn:last-child {
  border-bottom: none;
}

.fixed-cta-btn:hover {
  background: #c4733a;
}

.fixed-cta-btn .material-symbols-outlined {
  font-size: 22px;
  color: #fff;
}

.fixed-cta-label {
  display: block;
}

/* モバイル：下部横並び */
@media (max-width: 768px) {
  .fixed-cta {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    flex-direction: row;
    box-shadow: var(--shadow-subtle);
  }

  .fixed-cta-btn {
    flex: 1;
    padding: 10px 4px;
    border-bottom: none;
    border-right: 1px dotted rgba(255,255,255,0.4);
    font-size: var(--font-ui);
  }

  .fixed-cta-btn:last-child {
    border-right: none;
  }

  .fixed-cta-btn .material-symbols-outlined {
    font-size: 20px;
  }

  /* モバイルフッターボタンと被らないよう本文に余白 */
  body {
    padding-bottom: 64px;
  }
}

/* ==========================================================
   スマホ：表は「横スクロールして読む」形に統一
   （display:block + overflow-x で、DOMを変えずにスクロールさせる）
   ページ全体が横に揺れるのも防ぐ
   ========================================================== */
@media (max-width: 768px) {
  .ip-table,
  .adm-table,
  .adm-cost-table,
  .confirm-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  /* 表のセルが潰れないように最低限の幅を確保 */
  .ip-table th,
  .ip-table td {
    min-width: 96px;
  }

  .adm-table th,
  .adm-table td {
    min-width: 88px;
  }

  /* ページ全体の横揺れを止める（表の中だけ横スクロールさせる） */
  html,
  body {
    overflow-x: hidden;
  }
}


/* ========================================
   ホバー時の動き（統一ルール・2026-09-26）
   クリックできる「箱・リンク・カード」は、オンマウスで 2px 浮く。
   枠色／影の変化と合わせて、サイト全体で同じ動きにする。
   ======================================== */

.link-pill:hover,
.pdf-link:hover,
.parent-child-card:hover,
.related-card:hover,
.card:hover,
.visit-card:hover,
.visit-resource-link:hover,
.sg-resource-link:hover,
.column-card:hover,
.cal-event-item:hover,
.related-col-card:hover,
.news-item-link:hover,
.post-related-link:hover {
  transform: translateY(-2px);
}

/* ========================================
   リンクパーツ（アイコン＋見出し＋説明の丸リンク）
   ・入園案内「入園の流れ」のお知らせリンク
   ・お知らせ詳細の本文に埋め込まれたカードの変換先
   として共用する。アイコンは内部リンク=arrow_circle_right／外部=open_in_new
   ======================================== */

.link-pill {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: fit-content;
  min-height: 72px;
  padding: 14px 20px;
  box-sizing: border-box;
  border: 2px solid #D5DEE7;
  border-radius: 100px;
  background: #fff;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.link-pill:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-subtle-hover);
}

.link-pill-icon {
  color: var(--color-primary);
  font-size: 36px;
  font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 36;
}

.link-pill-copy {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  white-space: nowrap;
}

.link-pill-title {
  font-size: var(--font-body);
  font-weight: 700;
  line-height: 1.6;
}

.link-pill-type {
  color: var(--color-muted);
  font-size: var(--font-ui);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .link-pill {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 64px;
    padding: 12px 18px;
    border-radius: 44px;
    /* 1カラムでは全幅でよい */
    width: 100%;
    max-width: 100%;
  }
  .link-pill-copy { flex-wrap: wrap; }
  .link-pill-icon { font-size: 32px; }
  .link-pill-title,
  .link-pill-type { font-size: var(--font-ui); }
}
