@charset "UTF-8";
/* =========================================================
   sankoshoheikcard.css  /  三省堂国語辞典かるた まとめスタイル
   UIkit 読み込み「後」に本ファイルを 1 枚だけ読み込む
   セクション：Hero / Features / Supervision / Buy / Play / News
   ========================================================= */
/* ========== 0) 基本トークン（色・角丸・タイポ） ========== */
:root {
  --radius: 8px;
  --paper: #f5efe6;
  --ink: #7f4822;
  --accent: #e2b04a;
  --cta: #c86a2a;
  --buy-bg: #D6A94B;
  --nav-h: 60px;
}

html,
body {
  height: 100%;
}

body {
  color: var(--ink) !important;
  background: var(--paper);
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  font-family: "Noto Sans JP", sans-serif !important;
}

/* 見出し（活字風） */
h1,
h2,
h3 {
  font-family: "Kaisei Opti", serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
}

/* トーン調整 */
h1,
h2,
h3 {
  letter-spacing: 0.02em !important;
  margin-top: 0 !important;
}

/* UIkit 共通 */
.uk-navbar-sticky {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(6px);
}

.uk-card {
  border-radius: var(--radius) !important;
}

.retro-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ========== 1) Header ========== */
header .uk-navbar-container {
  padding: 0 16px;
}

.uk-logo {
  font-family: "Kaisei Opti", serif !important;
  color: var(--ink) !important;
}

.uk-navbar-item,
.uk-navbar-nav > li > a,
.uk-navbar-toggle {
  font-family: "Kaisei Opti", serif !important;
  color: var(--ink) !important;
}

/* ナビ「ご購入」を長丸のミニCTAに（失敗版を上書き） */
.uk-navbar-nav > li > a.nav-buy {
  display: inline-flex; /* 中身を中央寄せ */
  align-items: center;
  justify-content: center;
  /* UIkit のデフォを打ち消す（これが重要） */
  min-height: 0 !important; /* 既定のmin-height撤廃 */
  line-height: 1 !important; /* 行高をリセット */
  padding: 0 14px !important; /* 縦は高さで管理、横だけ余白 */
  height: 36px !important; /* 高さを明示（38〜40でもOK） */
  /* 見た目 */
  background: var(--cta) !important;
  color: #fff !important;
  border-radius: 9999px !important; /* 丸めはそのまま */
  font-family: "Kaisei Opti", serif;
  font-weight: 600;
  font-size: 15px; /* 14–16で微調整可 */
  letter-spacing: 0.04em;
  /* ナビ内で少し離す */
  margin-left: 12px;
  transition: filter 0.12s ease;
}

/* UIkitの下線インジケータを消す（ボタンに下線が出るの防止） */
.uk-navbar-nav > li > a.nav-buy::before {
  display: none !important;
}

/* li 自体の縦揃え（環境によって必要） */
.uk-navbar-nav > li {
  display: flex;
  align-items: center;
}

/* ホバーは明度だけ変える（持ち上げ演出はしない） */
.uk-navbar-nav > li > a.nav-buy:hover {
  filter: brightness(0.95);
}

/* モバイル（オフキャンバス）でも崩れないよう少しだけ大きめに */
/* ホバー時（持ち上げはしない） */
.uk-navbar-nav > li > a.nav-buy:hover {
  filter: brightness(0.95);
  background: var(--cta); /* 明度変化だけ、色ぶれ防止 */
}

/* モバイルのOffcanvas/ドロワーでも違和感が出ないよう幅の保険 */
/* オフキャンバス：背景&フォント */
.uk-offcanvas-bar {
  background: #4C4338 !important;
  color: #fff;
  font-family: "Kaisei Opti", serif !important;
  padding: 24px;
  font-size: clamp(48px, 5.2vw, 70px);
}

.uk-nav-default > li > a.nav-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  line-height: 1 !important;
  border-radius: 9999px !important;
  background: var(--cta) !important; /* = #c86a2a */
  color: #fff !important;
  font-family: "Kaisei Opti", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(40px, 5.2vw, 60px);
  height: 36px !important; /* ヘッダー用高さ */
  padding: 0 14px !important;
  transition: filter 0.12s ease;
}

.uk-nav-default > li > a {
  font-size: 1.2rem !important;
  line-hight: 2rem !important;
  margin-bottom: 1rem !important;
}

/* ヘッダー内の微調整 */
/* オフキャンバス内は指で押しやすく少し大きめ */
.uk-nav-default > li > a.nav-buy {
  height: 44px !important;
  padding: 0 18px !important;
  font-size: 16px;
  margin-top: 6px;
}

/* ========== 2) HERO（KV00） ========== */
/* 背景ぼかし＆土台 */
.kv-block {
  position: relative;
  margin: 0;
  padding: 0 !important;
}

.kv-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.92);
  transform: scale(1.08);
  z-index: 0;
}

.kv-body {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h) !important;
}

.uk-navbar-container + #hero.kv-block,
.uk-navbar-sticky + #hero.kv-block {
  margin-top: 0 !important;
}

#hero.kv-block {
  padding-top: 0 !important;
}

/* メイン画像 */
.kv-media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* Heroのみ角丸オフ＆左右影（PC） */
.kv-block--hero .kv-media,
#hero .kv-media {
  border-radius: 0 !important;
  box-shadow: -24px 0 28px -24px rgba(0, 0, 0, 0.28), 24px 0 28px -24px rgba(0, 0, 0, 0.28) !important;
}

/* -------- コピー領域（共通） -------- */
.kv-copy,
.kv-copy h1,
.kv-copy h3,
.kv-copy p {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  font-family: "Kaisei Opti", serif;
}

.kv-copy {
  display: flex;
  /* ← ここが余白の原因だったので上下だけ圧縮、左右は維持 */
  padding-inline: clamp(12px, 2vw, 24px) !important; /* 左右 */
  padding-block: clamp(3px, 0.8vw, 8px) !important; /* 上下を詰める */
}

/* 位置バリエーション */
.kv-copy--top-right {
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: clamp(2px, 0.8vw, 10px) !important; /* さらに上を詰める */
}

.kv-copy--top-left {
  align-items: flex-start;
  justify-content: flex-start;
}

/* -------- 紙カード（inner） -------- */
.kv-copy-inner {
  max-width: min(44rem, 56%) !important;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vw, 10px) !important;
  padding: clamp(10px, 1.8vw, 16px) !important;
  background: rgba(245, 239, 230, 0.75) !important; /* 紙色・透け */
  border: 1px solid rgba(127, 72, 34, 0.2) !important; /* こげ茶の薄枠 */
  border-radius: 12px !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 紙カード内は茶文字＆影オフ */
#hero .kv-copy-inner,
#hero .kv-copy-inner h1,
#hero .kv-copy-inner h3,
#hero .kv-copy-inner p {
  color: var(--ink) !important;
  text-shadow: none !important;
}

/* -------- タイポ（PC基準） -------- */
/* h1の上マージンを確実にゼロ & h3→h1間隔を詰める */
#hero .kv-copy h1,
#hero .kv-copy h1.uk-margin-small {
  margin-top: 0 !important;
}

#hero .kv-copy h3 {
  margin-bottom: 2px !important;
}

.kv-copy h3 {
  font-size: clamp(14px, 1.6vw, 18px);
  /* 上で2pxに詰めているのでここは重要度低 */
}

.kv-copy h1 {
  font-size: clamp(36px, 4.8vw, 64px) !important;
  line-height: 1.12 !important;
  margin: 0 0 clamp(6px, 1vw, 10px) !important;
}

/* small（ルビ風）※復元 */
.kv-copy h1 small {
  font-size: 0.6em !important;
  font-weight: 600 !important;
}

#hero .kv-copy p.uk-text-lead {
  font-size: clamp(13px, 2.6vw, 17px) !important;
  line-height: 1.5 !important;
  margin: 2px 0 0 !important;
}

/* ===== スマホ最適化：横幅ほぼいっぱい＆透け感強め ===== */
@media (max-width: 640px) {
  #hero .uk-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #hero .kv-media {
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    height: auto !important;
  }
  .kv-copy--top-right {
    justify-content: center !important;
    text-align: center !important;
    padding-top: 8px !important; /* 上さらに詰める */
  }
  .kv-copy-inner {
    max-width: 96% !important; /* ほぼいっぱい */
    padding: 8px 12px !important; /* 面積を小さく */
    background: rgba(245, 239, 230, 0.75) !important; /* 透け感アップ */
    gap: 4px !important;
  }
  .kv-copy h3 {
    font-size: 13px !important;
    margin-bottom: 4px !important;
  }
  .kv-copy h1 {
    font-size: clamp(24px, 6.2vw, 32px) !important; /* 見出し縮小 */
    line-height: 1.18 !important;
    margin-top: 0 !important;
  }
  #hero .kv-copy p.uk-text-lead {
    font-size: 13px !important; /* 見坊さんの文章を小さく */
    line-height: 1.4 !important;
    margin-top: 2px !important;
  }
}
/* タブレット（641–959px）：中央寄せ＆幅だけ少し広め */
@media (min-width: 641px) and (max-width: 959px) {
  .kv-copy--top-right {
    justify-content: center;
    text-align: center;
  }
  .kv-copy-inner {
    max-width: 92% !important;
  }
}
/* ========== CARD ========== */
/* カード全体リンク */
.card-link {
  display: block;
  text-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important; /* 下線は消す */
  color: inherit;
  position: relative;
}

.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 画像 */
.card-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* キャプション（矢印付き） */
.card-caption {
  padding: 12px 16px;
  font-family: "Kaisei Opti", serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  position: relative;
}

/* 矢印を疑似要素で追加 */
.card-caption::after {
  content: "→";
  margin-left: 8px;
  font-size: 1.2em;
  display: inline-block;
  transition: transform 0.2s ease;
}

/* hover時に矢印を少し動かす */
.card-link:hover .card-caption::after {
  transform: translateX(4px);
}

.kv001 {
  background: #C5BB9C;
  padding: 40px 0;
}

.kv01 {
  background: #836B4F;
  padding: 40px 0;
}

.page-child-shohei {
  background-image: url("../images/bg_shohei.png");
  background-repeat: repeat;
}

.sh01 {
  background-image: url("../images/bg_shohei.png");
  background-repeat: repeat;
  padding: 40px 0;
  color: #ffffff;
}
.sh01 h2 {
  color: #ffffff;
}
.sh01 p {
  font-size: clamp(18px, 4.5vw, 28px) !important;
  font-family: "Kaisei Opti", serif !important;
}

.page-child-reiwa {
  background: #f5e82b;
}

.reiwa01 {
  background: #f5e82b;
  padding: 40px 0;
  color: #3d68a8;
}
.reiwa01 h2 {
  color: #3d68a8;
}
.reiwa01 p {
  font-size: clamp(18px, 4.5vw, 28px) !important;
  font-family: "M PLUS 1p", sans-serif　 !important;
  font-weight: 400; /* 通常 */
}

footer {
  background: var(--cta) !important;
}
footer .uk-subnav > * > :first-child, footer .uk-icon-link {
  color: #f1f1f1 !important;
}
footer .uk-subnav > * > :first-child .uk-link, footer .uk-subnav > * > :first-child a, footer .uk-icon-link .uk-link, footer .uk-icon-link a {
  color: #f1f1f1 !important;
}

.uk-link, a {
  color: #f1f1f1 !important;
}

.kv02 {
  background: #F6DD48;
  padding: 40px 0;
}

/* ========== 3) CTA ボタン ========== */
/* Heroと次セクションの間に配置するCTA */
.cta-between {
  text-align: center;
  padding: clamp(24px, 5vw, 48px) 0;
}

/* 大きめの長丸ボタン */
.cta-btn-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Kaisei Opti", serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  font-size: clamp(18px, 4.5vw, 28px) !important;
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(2rem, 5vw, 3rem) !important;
  border-radius: 9999px !important;
  background: var(--cta) !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cta-btn-big:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

/* ========== 4) Feature（共通） ========== */
/* PC時に左に回す（order: -1） */
@media (min-width: 960px) {
  .feat-first-m {
    order: -1 !important;
  }
}
#features {
  background: var(--buy-bg);
  padding: 60px 0;
}

#features.uk-section {
  padding-top: 70px !important;
}

/* グリッド間隔：上下ゼロ、左右はUIkitデフォルトに任せる */
#features .uk-grid {
  row-gap: 0 !important; /* ← ここを20px→0に */
}

.feat-figure {
  margin: 0;
  background: #bdbdbd;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

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

/* YouTube埋め込み用 */
.feat-media {
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
}

@media (max-width: 959px) {
  .iframe-wrap {
    aspect-ratio: 16/9;
  }
}
.iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feat-cap {
  margin: 0;
  padding: 12px 16px;
  font-weight: 600;
  background: #fff;
  color: #222;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.feat-card {
  min-height: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.feat-kicker {
  margin: 0 0 8px;
  color: #666;
  font-size: 14px;
}

.feat-lines {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.6;
  font-family: "Kaisei Opti", serif;
  color: var(--ink) !important;
}

.set-shohei {
  background: var(--paper);
  padding: 40px 0;
}

.set-reiwa {
  background: var(--paper);
  padding: 40px 0;
}

/* ========== 5) 「大人も楽しめる知的なかるた」 ========== */
.supervision-block {
  background: var(--paper);
  padding: 40px 0;
}

.sup-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 960px) {
  .sup-grid {
    grid-template-columns: 420px 1fr;
    align-items: start;
  }
}
.sup-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.sup-subcatch {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1em 0 !important;
  line-height: 1.6;
  font-family: "Kaisei Opti", serif;
}

.sup-profile {
  background: #dddddd;
  border-radius: var(--radius);
  padding: 28px;
  line-height: 1.8;
  font-weight: 400;
}
.sup-profile p {
  margin: 0 !important;
}

.sup-bookcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}

.sup-book-img {
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.sup-book-text h3 {
  font-size: 1.3rem;
  margin: 0 0 2rem;
  font-family: "Kaisei Opti", serif;
}

.sup-book-text p {
  margin: 0 0 0.6rem;
  line-height: 1.7;
}

@media (min-width: 960px) {
  .sup-bookcard {
    flex-direction: row;
    align-items: flex-start;
  }
  .sup-book-img {
    margin: 0 20px 0 0;
  }
}
/* ===== 推薦コメント 吹き出し（スクエア45°法） ===== */
.sup-quote {
  --bubble-bg: #D6A94B; /* ご指定の背景色 */
  --bubble-fg: var(--ink) !important; /* ご指定の文字色 */
  --bubble-radius: 14px;
  --pad-x: 22px;
  --pad-y: 18px;
  position: relative;
  background: var(--bubble-bg);
  color: var(--ink);
  border-radius: var(--bubble-radius);
  padding: calc(var(--pad-y) + 2px) var(--pad-x) var(--pad-y);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  margin: 14px 0 22px;
  overflow: visible; /* 尻尾を出すために必須 */
  transform: none; /* 傾きを明示的にゼロに */
}

.sup-quote blockquote {
  margin: 0;
}

.sup-quote p {
  margin: 0;
  line-height: 1.9;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem); /* 以前より一回り大きく */
  letter-spacing: 0.01em;
}

/* --- スマホ（デフォルト）：上向き中央 --- */
.sup-quote::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: -9px; /* 上に出す */
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  background: var(--bubble-bg);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06);
}

/* デスクトップ：左（写真方向）に向ける */
@media (min-width: 960px) {
  .sup-quote {
    margin-top: 8px;
    padding-left: calc(var(--pad-x) + 6px);
  }
  .sup-quote::after {
    left: -9px; /* 左に半分はみ出す */
    bottom: auto;
    top: 28px; /* 顔の高さに合わせて微調整 */
    transform: rotate(45deg); /* 中心固定でOK */
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.06);
  }
}
/* 念のため：親でクリップされないように */
.sup-grid, .sup-quote {
  overflow: visible;
}

/* ========== 6) 購入ブロック（11ボタン） ========== */
.buy-block {
  background: var(--buy-bg);
  padding: 48px 0;
}
.buy-block h3 {
  color: var(--ink) !important;
}

.shop-grid {
  margin-top: 24px;
}

.shop-grid li {
  list-style: none;
}

.shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
}

.shop-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.shop-btn img {
  height: 42px;
  width: auto;
  display: block;
  border: none;
  object-fit: cover;
  object-position: center;
  clip-path: inset(2px);
}

/* ========== 7) ユーザーさまの声 ========== */
#voice {
  background: var(--paper);
  padding: 40px 0;
}

#voice h2 {
  font-size: clamp(26px, 3.2vw, 34px) !important;
}

#voice .uk-card-title {
  font-size: clamp(20px, 2.3vw, 24px) !important;
}

#voice .uk-card-body {
  font-size: clamp(18px, 2.1vw, 22px) !important;
  line-height: 1.6;
  font-family: "Kaisei Opti", serif !important;
}

.uk-label-danger {
  background-color: var(--cta) !important;
}

/* ========== 8) 遊び方（YouTube） ========== */
#play h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.video-wrap {
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* ========== 9) NEWS ========== */
#news h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

#news .uk-list {
  margin-top: 1.5rem;
}

#news .uk-list li {
  line-height: 1.9;
}

#news a {
  color: var(--cta) !important;
  text-decoration: underline;
}

#news a:hover {
  color: var(--accent) !important;
}

/* ========== 10) 細かな演出・ユーティリティ ========== */
.uk-button img {
  max-height: 36px;
}

.uk-button:hover {
  background-color: #f4e1c1;
  transform: translateY(-3px);
  transition: 0.2s ease;
}

.rounded {
  border-radius: var(--radius);
}

/* 見出し色の保険（Hero除く） */
h1,
h2,
h3 .uk-section h1,
.uk-section h2 {
  color: var(--ink) !important;
}

.kv-copy h1,
.kv-copy h2 {
  color: #fff !important;
}

/* ===== 遊べるバージョン BOX ===== */
.version-box {
  text-align: center;
  margin: 1rem auto;
  max-width: 360px;
  border: 1px solid #ddd; /* 囲み罫線 */
  border-radius: 8px;
}

.version-box .uk-card-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: "Kaisei Opti", serif;
  color: var(--ink) !important;
  margin-top: 1.5rem;
}

.version-logos {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.version-logos .logo {
  width: 120px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 影を強調 */
  background: #fff;
  padding: 4px;
}

/*# sourceMappingURL=sankokcard.css.map */
