/* =========================================================
   こんま 公式サイト 共通スタイル
   色を変えるときは :root の値だけ変更してください
   ========================================================= */
:root {
  --white: #FFFFFF;
  --ink: #262626;
  --ink-soft: #5A5A5A;
  --mint: #75B99F;
  --mint-deep: #3F8468;   /* 文字・リンク用（白背景で読みやすい濃さ） */
  --mint-pale: #EDF5F0;
  --pink: #F9E4E7;
  --pink-deep: #C9707F;
  --cream: #FFF8EA;
  --lavender: #EFEBF7;
  --line: #E4ECE7;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(38, 38, 38, 0.06);
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-round); font-weight: 700; line-height: 1.45; margin: 0; }
p { margin: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-text { font-family: var(--font-round); font-weight: 700; font-size: 1.55rem; letter-spacing: 0.06em; line-height: 1; }
.logo-sub { font-size: 0.62rem; letter-spacing: 0.3em; color: var(--ink-soft); display: block; margin-top: 3px; font-family: var(--font-body); }
.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.global-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-size: 0.92rem; font-weight: 500;
}
.global-nav a:hover, .global-nav a[aria-current="page"] { background: var(--mint-pale); color: var(--mint-deep); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 0.85rem; color: var(--ink); cursor: pointer;
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .global-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .global-nav a { padding: 12px 14px; }
}

/* ---------- ボタン・共通パーツ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--mint); color: var(--white); border: 2px solid var(--mint);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--mint-deep); border-color: var(--mint-deep); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--mint-deep); }
.btn-ghost:hover { background: var(--mint-pale); color: var(--mint-deep); }
.eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; color: var(--mint-deep); font-weight: 700; margin-bottom: 10px; }
.section { padding: 80px 0; }
.section-alt { background: var(--mint-pale); }
.section-cream { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); }
.section-head p { color: var(--ink-soft); margin-top: 6px; }
.more-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.more-link::after { content: " →"; }
.chip {
  display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 3px 11px; border-radius: 999px;
  background: var(--mint-pale); color: var(--mint-deep); line-height: 1.6;
}
.chip[data-tone="くすっと"] { background: var(--cream); color: #946A12; }
.chip[data-tone="ほっこり"] { background: var(--pink); color: #A24E5D; }
.chip[data-tone="くらし"] { background: var(--mint-pale); color: var(--mint-deep); }
.chip[data-tone="じんわり"], .chip[data-tone="感動・最終回"] { background: var(--lavender); color: #5E4F8A; }
.pr-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid var(--ink-soft); color: var(--ink-soft); border-radius: 4px; padding: 0 6px; line-height: 1.7;
}

/* ---------- ヒーロー ---------- */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--white) 0%, var(--mint-pale) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); letter-spacing: 0.04em; }
.hero-copy h1 span { display: inline-block; }
.hero-lead { margin-top: 20px; font-size: 1.05rem; color: var(--ink-soft); }
.hero-status { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; background: var(--white); border-radius: 999px; padding: 8px 18px 8px 10px; box-shadow: var(--shadow); font-size: 0.92rem; }
.hero-status .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); display: inline-grid; place-items: center; color: #fff; font-size: 0.8rem; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 時間帯で変わるこんま */
.pose-stage { justify-self: end; width: min(100%, 380px); position: relative; }
.pose-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream); box-shadow: 0 18px 40px rgba(63, 132, 104, 0.15);
  aspect-ratio: 1 / 1;
  transition: background .6s;
}
.pose-card[data-pose="break"] { background: #E9F5EA; }
.pose-card[data-pose="snack"] { background: #FCE8EA; }
.pose-card[data-pose="tidy"]  { background: #FFF1E4; }
.pose-card[data-pose="night"] { background: #ECEBFA; }
.pose-card img {
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .6s;
}
.pose-card img.is-ready { opacity: 1; }
.pose-stage::before, .pose-stage::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
}
.pose-stage::before { width: 120px; height: 120px; background: var(--pink); right: -30px; top: -24px; }
.pose-stage::after { width: 80px; height: 80px; background: var(--white); left: -20px; bottom: -18px; }
@media (prefers-reduced-motion: no-preference) {
  .pose-card { animation: float 6s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}
@media (max-width: 760px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .pose-stage { justify-self: center; width: min(78%, 300px); order: -1; }
  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
}

/* ---------- 物語カード ---------- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.story-card {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mint); color: var(--ink); }
.story-card .meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.story-card .no { font-family: var(--font-round); font-weight: 700; color: var(--mint-deep); font-size: 0.9rem; }
.story-card h3 { font-size: 1.08rem; }
.story-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.8; }
.story-card.is-new { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-pale); }
.story-card.is-new .no::after { content: "NEW"; margin-left: 8px; font-size: 0.68rem; background: var(--pink-deep); color: #fff; padding: 1px 7px; border-radius: 999px; vertical-align: 2px; letter-spacing: 0.08em; }
.story-card.is-locked { background: #FAFAF8; border-style: dashed; cursor: default; }
.story-card.is-locked h3, .story-card.is-locked .no { color: #6E6E6E; }
.story-card.is-locked .chip { opacity: 0.7; }
.story-card .soon { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.story-card .lock-icon { width: 14px; height: 14px; opacity: 0.6; }
.chapter-block + .chapter-block { margin-top: 56px; }
.chapter-head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px dotted var(--line); }
.chapter-head .ch { font-family: var(--font-round); color: var(--mint-deep); font-weight: 700; }
.chapter-head h2 { font-size: 1.3rem; }
.chapter-head p { width: 100%; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- ヒント・グッズ・紹介 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.info-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.info-card p { font-size: 0.93rem; color: var(--ink-soft); }
.info-card .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--mint-pale); display: grid; place-items: center; margin-bottom: 14px; font-size: 1.4rem; }
.info-card .from { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 700; text-decoration: none; }

.about-teaser { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.about-teaser .portrait { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); aspect-ratio: 1/1; }
.about-teaser .portrait img { width: 100%; height: 100%; object-fit: contain; }
.about-teaser h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 14px; }
.about-teaser .quote { font-family: var(--font-round); font-size: 1.1rem; color: var(--mint-deep); margin: 16px 0 22px; }
@media (max-width: 760px) {
  .about-teaser { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .about-teaser .portrait { width: 220px; margin-inline: auto; }
}

/* ---------- 下層ページ ---------- */
.page-hero { background: var(--mint-pale); padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.page-hero p { margin-top: 12px; color: var(--ink-soft); max-width: 640px; }
.breadcrumb { font-size: 0.82rem; margin-bottom: 14px; color: var(--ink-soft); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-soft); }

.release-note { background: var(--white); border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--line); margin-bottom: 40px; font-size: 0.93rem; display: flex; gap: 14px; align-items: center; }
.release-note strong { color: var(--mint-deep); }
.release-note .calendar { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--mint); color: #fff; display: grid; place-items: center; font-family: var(--font-round); font-weight: 700; line-height: 1.1; text-align: center; font-size: 0.7rem; }
.release-note .calendar b { font-size: 1.25rem; display: block; }

.tip-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.tip-item { background: var(--white); border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.tip-item .num { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-pale); color: var(--mint-deep); display: grid; place-items: center; font-family: var(--font-round); font-weight: 700; }
.tip-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tip-item p { font-size: 0.94rem; color: var(--ink-soft); }
.tip-item .from { font-size: 0.84rem; font-weight: 700; display: inline-block; margin-top: 8px; text-decoration: none; }
.tip-cat + .tip-cat { margin-top: 56px; }
.tip-cat > h2 { font-size: 1.3rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }

.notice { background: var(--cream); border-radius: var(--radius); padding: 18px 22px; font-size: 0.9rem; color: var(--ink-soft); }
.goods-cat + .goods-cat { margin-top: 56px; }
.goods-cat > h2 { font-size: 1.3rem; margin-bottom: 6px; }
.goods-cat > p { color: var(--ink-soft); margin-bottom: 18px; font-size: 0.94rem; }
.goods-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.goods-card.is-empty { border-style: dashed; background: #FAFAF8; color: var(--ink-soft); align-items: center; justify-content: center; text-align: center; min-height: 170px; font-size: 0.9rem; }
.goods-card .goods-img { aspect-ratio: 1/1; background: var(--mint-pale); border-radius: 14px; overflow: hidden; }
.goods-card .goods-img img { width: 100%; height: 100%; object-fit: contain; }
.goods-card h3 { font-size: 1rem; }
.goods-card .btn { padding: 10px 18px; font-size: 0.9rem; margin-top: auto; }

.profile-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.profile-table th, .profile-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: none; }
.profile-table th { width: 32%; background: var(--mint-pale); color: var(--mint-deep); font-weight: 700; white-space: nowrap; }
.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.family-grid .info-card { text-align: center; }
.two-col { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.two-col .portrait { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); aspect-ratio: 1/1; position: sticky; top: 96px; }
.two-col .portrait img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col .portrait { position: static; width: 220px; margin-inline: auto; }
  .profile-table th { width: 38%; white-space: normal; }
  .profile-table th, .profile-table td { padding: 14px; }
}

/* ---------- 物語ページ ---------- */
.story-page { padding: 40px 0 80px; }
.story-page .wrap { max-width: 720px; }
.story-header { text-align: center; margin-bottom: 32px; }
.story-header .meta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.story-header .no { font-family: var(--font-round); font-weight: 700; color: var(--mint-deep); }
.story-header h1 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
.story-header .chapter { margin-top: 8px; font-size: 0.86rem; color: var(--ink-soft); }
.story-illust { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; background: var(--mint-pale); }
.story-illust img { width: 100%; height: auto; }
.illust-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; color: var(--mint-deep); padding: 24px; background: radial-gradient(circle at 30% 30%, var(--white) 0, var(--mint-pale) 60%); }
.illust-placeholder svg { display: block; width: 56px; height: 56px; margin: 0 auto 10px; opacity: 0.7; }
.illust-placeholder span { font-family: var(--font-round); font-weight: 700; font-size: 0.95rem; }
.story-text { font-size: 1.08rem; line-height: 2.15; }
.story-text p + p { margin-top: 1.3em; }
.story-text p.line { font-family: var(--font-round); font-weight: 500; color: #2F2F2F; }
.hitokoto {
  margin: 48px 0 0; padding: 26px 28px; border-radius: var(--radius-lg);
  background: var(--pink); display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center;
}
.hitokoto .face { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--white); }
.hitokoto .face img { width: 100%; height: 100%; object-fit: cover; }
.hitokoto .label { font-size: 0.78rem; font-weight: 700; color: #A24E5D; letter-spacing: 0.1em; }
.hitokoto p { font-family: var(--font-round); font-weight: 700; font-size: 1.1rem; line-height: 1.7; margin-top: 2px; }
.story-pager { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-pager a { display: block; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.story-pager a:hover { border-color: var(--mint); background: var(--mint-pale); }
.story-pager small { display: block; font-size: 0.78rem; color: var(--mint-deep); font-weight: 700; }
.story-pager .next { text-align: right; grid-column: 2; }
.story-pager [hidden] { display: none; }
.story-back { margin-top: 24px; text-align: center; }
@media (max-width: 560px) {
  .story-text { font-size: 1.02rem; }
  .hitokoto { grid-template-columns: 52px 1fr; padding: 20px; gap: 14px; }
  .hitokoto .face { width: 52px; height: 52px; }
  .story-pager { grid-template-columns: 1fr; }
  .story-pager .next { grid-column: 1; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #E8E8E8; padding: 56px 0 32px; font-size: 0.9rem; }
.site-footer a { color: #E8E8E8; text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-top .logo { color: #fff; }
.footer-top .logo-sub { color: #BDBDBD; }
.footer-top p { margin-top: 12px; color: #BDBDBD; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A3A3A; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #9A9A9A; font-size: 0.8rem; }

/* ---------- 追加：SNS・お問い合わせ・プロフィール画像 ---------- */
.footer-sns { min-width: 220px; }
.sns-title { margin: 0 0 10px !important; font-size: 0.8rem; letter-spacing: 0.12em; color: #BDBDBD; }
.sns-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sns-list a { display: inline-block; padding: 6px 14px; border: 1px solid #555; border-radius: 999px; font-size: 0.82rem; }
.sns-list a:hover { border-color: var(--mint); }
.sns-list a[href="#"] { opacity: 0.45; pointer-events: none; }
.contact-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--mint-pale); border-radius: var(--radius-lg); padding: 40px 44px; }
.contact-band h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.contact-band p { color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 560px) { .contact-band { padding: 30px 24px; } }
.contact-wrap { max-width: 760px; }
.contact-wrap iframe { width: 100%; border: 0; border-radius: var(--radius); background: var(--white); }
.form-placeholder { border: 2px dashed var(--line); border-radius: var(--radius); padding: 64px 24px; text-align: center; color: var(--ink-soft); background: #FAFAF8; }
.two-col .portrait.portrait-white { background: var(--white); aspect-ratio: auto; border: 1px solid var(--line); padding: 16px; }
.two-col .portrait.portrait-white img { height: auto; }

/* ---------- 一覧カードのサムネイル ---------- */
.story-card { overflow: hidden; }
.story-card .thumb { margin: -22px -22px 6px; width: calc(100% + 44px); max-width: none; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mint-pale); }
.story-card.is-locked .thumb { opacity: 0.55; filter: saturate(0.6); }

/* ---------- 時間帯ポーズ：雲の形の画像をそのまま見せる ---------- */
.pose-card, .pose-card[data-pose] { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.pose-card img { filter: drop-shadow(0 14px 24px rgba(63, 132, 104, 0.18)); }
.pose-stage::before, .pose-stage::after { display: none; }
.pose-stage { width: min(100%, 420px); }
@media (max-width: 760px) { .pose-stage { width: min(86%, 340px); } }
.about-teaser .portrait.is-clear { background: transparent; border-radius: 0; }
