/* ===== 脳科学Q&A  見た目 ===== */
/* 色：あたたかい生成り色の地に、ターコイズと真紅 */
:root {
  --ink: #2F4B4E;
  --ink-soft: #6f7f78;
  --bg: #FFF8EF;
  --card: #ffffff;
  --line: #F0E3D0;
  --sun: #1FA996;        /* 主の色（ターコイズ） */
  --sun-deep: #15806F;
  --sun-soft: #FBEEDD;
  --red: #C8102E;        /* 差し色（真紅） */
  --line-green: #06c755;
  --radius: 18px;
  --head: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif; font-size: 17px; line-height: 1.85;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ヘッダー */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-in { position: relative; max-width: 1080px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-sun {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 40% 40%, #fff5da 0 30%, var(--red) 100%);
  box-shadow: 0 0 12px 3px #c8102e44; animation: glow 6s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { box-shadow: 0 0 10px 2px #c8102e33; } 50% { box-shadow: 0 0 16px 5px #c8102e55; } }
.logo-text b { display: block; font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: .03em; line-height: 1.2; }
.logo-text small { display: block; font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.tabs { margin-left: auto; order: 2; display: flex; gap: 6px; }
.tab {
  white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; text-decoration: none; color: var(--ink);
  font-family: var(--head); font-weight: 700; font-size: 15px; transition: border-color .2s, color .2s;
}
.tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tab:hover { border-color: var(--sun); color: var(--sun-deep); }
.tab.on { background: var(--sun); border-color: var(--sun); color: #fff; }
.about-link { order: 3; text-decoration: none; font-size: 14px; color: var(--ink-soft); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.about-link:hover, .about-link.on { color: var(--red); }
.about-link.on { font-weight: 700; }

/* 入口の写真（毎日ちがう写真。ゆっくり寄っていく） */
/* 色の流れ：淡いターコイズグリーン → 淡いオレンジ → 淡い真紅（写真がないときは、この色だけが出ます） */
.hero { position: relative; height: 260px; overflow: hidden; background: linear-gradient(90deg, #B2E6DA 0%, #B2E6DA 12%, #FFD6A5 50%, #E87080 90%, #E87080 100%); }
.hero .photo { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: kb 40s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1%); } }
/* 写真の上にかける、ごく薄いベール（同じ色の流れ）。下の端は地の色へ溶けこませる */
.hero .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0) 55%, rgba(255, 248, 239, .95) 100%),
    linear-gradient(90deg, rgba(178, 230, 218, .2) 0%, rgba(178, 230, 218, .18) 12%, rgba(255, 214, 165, .16) 50%, rgba(232, 112, 128, .18) 90%, rgba(232, 112, 128, .2) 100%);
}
.hero-text { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px 20px; }
.hero-title {
  margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(34px, 6vw, 46px); letter-spacing: .06em; line-height: 1.3;
  color: #1E3A3D; text-shadow: 2.5px 0.0px 0 #fff, 2.3px 1.0px 0 #fff, 1.8px 1.8px 0 #fff, 1.0px 2.3px 0 #fff, 0.0px 2.5px 0 #fff, -1.0px 2.3px 0 #fff, -1.8px 1.8px 0 #fff, -2.3px 1.0px 0 #fff, -2.5px 0.0px 0 #fff, -2.3px -1.0px 0 #fff, -1.8px -1.8px 0 #fff, -1.0px -2.3px 0 #fff, -0.0px -2.5px 0 #fff, 1.0px -2.3px 0 #fff, 1.8px -1.8px 0 #fff, 2.3px -1.0px 0 #fff, 0 0 12px rgba(255, 255, 255, .9); /* 文字に白いふち（写真はそのまま見せる） */
  animation: rise 1.4s cubic-bezier(.2, .8, .2, 1) both;
}
.hero-sub {
  margin: 6px 0 0; font-family: var(--head); font-weight: 700; font-size: 17px;
  color: #1E3A3D; text-shadow: 2.5px 0.0px 0 #fff, 2.3px 1.0px 0 #fff, 1.8px 1.8px 0 #fff, 1.0px 2.3px 0 #fff, 0.0px 2.5px 0 #fff, -1.0px 2.3px 0 #fff, -1.8px 1.8px 0 #fff, -2.3px 1.0px 0 #fff, -2.5px 0.0px 0 #fff, -2.3px -1.0px 0 #fff, -1.8px -1.8px 0 #fff, -1.0px -2.3px 0 #fff, -0.0px -2.5px 0 #fff, 1.0px -2.3px 0 #fff, 1.8px -1.8px 0 #fff, 2.3px -1.0px 0 #fff, 0 0 12px rgba(255, 255, 255, .9);
  animation: rise 1.4s .25s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.post .hero { height: 150px; }
.post .hero-title { font-size: clamp(26px, 4.6vw, 34px); }

/* ページの見出し */
.page-title { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 4.6vw, 30px); margin: 18px 0 16px; line-height: 1.4; }
.page-title small { display: block; margin-top: 4px; font-family: 'Noto Sans JP', sans-serif; font-weight: 400; font-size: 14px; color: var(--ink-soft); }

/* 中身の幅 */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px 24px; }
.wrap.narrow { max-width: 760px; }

/* 今日のひとこと */
.hitokoto {
  position: relative; margin: 0 auto 24px; max-width: 760px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 20px; text-align: center; z-index: 2;
  box-shadow: 0 14px 40px -18px rgba(23, 135, 122, .35);
}
.hk-label {
  display: inline-block; margin: 0 0 10px; padding: 2px 14px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.hk-quote {
  display: block; text-decoration: none; font-family: var(--head); font-weight: 700;
  font-size: clamp(19px, 3.6vw, 24px); line-height: 1.7; transition: opacity .35s, transform .35s;
}
.hk-quote:hover { color: var(--sun-deep); }
.hk-quote.fade { opacity: 0; transform: translateY(8px); }
.hk-from { margin: 8px 0 14px; font-size: 13px; color: var(--ink-soft); transition: opacity .35s; }
.hk-from.fade { opacity: 0; }
.hk-next {
  font: inherit; font-size: 14px; cursor: pointer; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--sun); background: transparent; color: var(--sun-deep);
  transition: background .2s, transform .15s;
}
.hk-next:hover { background: var(--sun-soft); }
.hk-next:active { transform: scale(.96); }

/* シリーズのボタン */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip {
  text-decoration: none; padding: 7px 16px; border-radius: 999px; font-size: 15px;
  border: 1px solid var(--line); background: var(--card); transition: all .2s;
}
.chip:hover { border-color: var(--sun); transform: translateY(-2px); }
.chip { font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.chip.on { background: var(--sun); border-color: var(--sun); color: #fff; }
.chip .n { font-size: 12px; opacity: .7; margin-left: 2px; }
.chip .star, .tag-leader .star { width: 15px; height: 15px; fill: var(--red); flex: none; }
.chip.on .star { fill: #fff; }
.chip-leader { border-color: #f1c7cd; }
.chip-leader.on { background: var(--red); border-color: var(--red); }
.chip-voices { margin-left: auto; border-color: var(--red); color: var(--red); font-weight: 700; }
.chip-voices:hover { background: #fdf0f2; border-color: var(--red); }

.sec-title {
  font-family: var(--head); font-weight: 700; font-size: 21px; margin: 8px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.sec-title::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px #c8102e1f; flex: none; }
.sec-title .star { width: 20px; height: 20px; fill: var(--red); }

/* もっと見る */
.more { text-align: center; margin: 28px 0 8px; }
.more-btn {
  display: inline-block; text-decoration: none; padding: 10px 28px; border-radius: 999px;
  border: 1px solid var(--sun); color: var(--sun-deep); transition: background .2s;
}
.more-btn:hover { background: var(--sun-soft); }
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* 記事のページ */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 30; background: linear-gradient(90deg, var(--sun), var(--red)); }
.article { padding-top: 20px; }
.eyecatch { border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; aspect-ratio: 1200 / 630; background: var(--sun-soft); }
.eyecatch img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.a-title { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 4.6vw, 32px); line-height: 1.5; margin: 8px 0 18px; }
.media { border-radius: 14px; overflow: hidden; margin: 0 0 6px; background: #000; }
.media-yt { aspect-ratio: 16 / 9; }
.media-yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.media-sp { background: transparent; }
.media-sp iframe { width: 100%; height: 161px; border: 0; display: block; }
.media-link { margin: 0 0 22px; font-size: 14px; }
.media-link a { color: var(--sun-deep); }
.transcript { margin-top: 18px; }
.t-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--sun-deep); letter-spacing: .1em; }
.transcript p { margin: 0 0 1.1em; font-size: 18px; line-height: 2; }
.transcript .t-note { font-size: 13px; color: var(--ink-soft); margin-top: 1.6em; }
.related { margin-top: 36px; }
.rel-list { display: grid; gap: 10px; }
.rel {
  display: flex; flex-direction: column; text-decoration: none; padding: 14px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: transform .25s, border-color .25s;
}
.rel:hover { transform: translateX(6px); border-color: var(--sun); }
.rel-date { font-size: 12px; color: var(--ink-soft); }
.rel-title { font-family: var(--head); font-weight: 700; font-size: 17px; }
.back { text-align: center; margin: 22px 0 0; }
.back a { color: var(--sun-deep); }

.soon { padding: 48px 0 24px; line-height: 1.9; }
.soon a { color: var(--sun-deep); }
.count { margin-left: 4px; font-size: 14px; font-weight: 500; color: var(--ink-soft); font-family: 'Noto Sans JP', sans-serif; }

/* ポッドキャストのプレーヤー */
.player {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 4px 0 28px;
  box-shadow: 0 18px 40px -28px rgba(23, 135, 122, .55);
}
.pl-art { border-radius: 14px; overflow: hidden; aspect-ratio: 1200 / 630; background: var(--sun-soft); align-self: center; }
.pl-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.playing .pl-art img { animation: drift 24s ease-in-out infinite alternate; }
.pl-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pl-title { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.5; margin: 6px 0 12px; }
.pl-bar input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 8px 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--red) var(--p, 0%), var(--line) var(--p, 0%));
}
.pl-bar input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.pl-bar input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.pl-time { display: flex; justify-content: space-between; margin: 2px 0 6px; font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pl-ctrl { display: flex; align-items: center; gap: 14px; }
.pl-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: all .2s;
}
.pl-btn svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-btn:hover { border-color: var(--sun); color: var(--sun-deep); }
.pl-main { width: 62px; height: 62px; background: var(--sun); border-color: var(--sun); color: #fff; box-shadow: 0 10px 22px -10px rgba(23, 135, 122, .8); }
.pl-main:hover { background: var(--sun-deep); color: #fff; }
.pl-main svg { width: 26px; height: 26px; }
.pl-main .i-pause, .playing .pl-main .i-play { display: none; }
.playing .pl-main .i-pause { display: block; }
.pl-speed {
  margin-left: auto; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: 13px; color: var(--ink-soft); cursor: pointer; font-variant-numeric: tabular-nums;
}
.pl-speed:hover { border-color: var(--sun); color: var(--sun-deep); }
.pl-note { margin: 10px 0 4px; font-size: 12px; color: var(--ink-soft); }
.pl-read { align-self: flex-start; color: var(--sun-deep); font-weight: 700; font-size: 15px; text-decoration: none; }
.pl-read:hover { text-decoration: underline; }

/* ポッドキャストの一覧 */
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pl-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.pl-item:has(.now) { border-color: var(--sun); }
.pl-row {
  display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 10px 10px 4px;
  transition: background .2s;
}
.pl-row:hover { background: #fffaf2; }
.pl-row.now { background: var(--sun-soft); }
.pl-thumb { position: relative; flex: none; width: 132px; aspect-ratio: 800 / 420; border-radius: 10px; overflow: hidden; background: var(--sun-soft); }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 22%; background: rgba(0, 0, 0, .28); }
.pl-eq i { width: 4px; height: 30%; background: #fff; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.pl-eq i:nth-child(2) { animation-delay: -.4s; } .pl-eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 60%; } }
.now .pl-eq { display: flex; }
.now .pl-eq i { animation-play-state: paused; }
body.podcast:has(.playing) .now .pl-eq i { animation-play-state: running; }
.pl-info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 calc(100% - 150px); }
.pl-rt { font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--ink); }
.pl-rm { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* ショート動画 */
.sh-lead { margin: -6px 0 16px; font-size: 14px; color: var(--ink-soft); }
.sh-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.sh-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.sh-img { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--sun-soft); border: 1px solid var(--line); }
.sh-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.sh-card:hover .sh-img img { transform: scale(1.06); }
.sh-play {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: rgba(31, 169, 150, .92); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: transform .25s;
}
.sh-play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.sh-card:hover .sh-play { transform: scale(1.12); }
.sh-title { margin-top: 8px; font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sh-date { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.sh-modal { position: fixed; inset: 0; z-index: 50; background: rgba(20, 38, 40, .9); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sh-modal[hidden] { display: none; }
.sh-open { overflow: hidden; }
.sh-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.sh-frame { height: min(76vh, 760px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 16px; overflow: hidden; background: #000; }
.sh-frame iframe, .sh-frame #sh-player { width: 100%; height: 100%; border: 0; display: block; }
.sh-now { margin: 0; max-width: 420px; color: #fff; font-family: var(--head); font-weight: 700; font-size: 16px; text-align: center; line-height: 1.5; }
.sh-ctrl { display: flex; gap: 16px; }
.sh-ctrl .pl-btn { background: rgba(255, 255, 255, .95); }
.sh-ctrl .pl-btn:disabled { opacity: .35; cursor: default; }
.sh-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); cursor: pointer; display: grid; place-items: center; }
.sh-close svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; fill: none; }

/* 公式LINE */
.line-cta { max-width: 760px; margin: 40px auto 24px; padding: 0 16px; text-align: center; }
.line-lead { margin: 0 0 12px; font-size: 16px; color: var(--ink-soft); }
.line-btn {
  display: block; text-decoration: none; padding: 16px; border-radius: 16px;
  background: var(--line-green); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: .06em;
  box-shadow: 0 10px 24px -12px rgba(6, 199, 85, .7); transition: transform .2s, box-shadow .2s;
}
.line-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(6, 199, 85, .8); }

.site-foot { text-align: center; font-size: 13px; color: var(--ink-soft); padding: 24px 16px 40px; border-top: 1px solid var(--line); }
.site-foot a { text-decoration: none; }
.site-foot span { margin: 0 6px; }

/* スクロールでふわっと出る */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hitokoto { padding: 20px 16px 16px; }
  .transcript p { font-size: 17px; }
  .player { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .pl-title { font-size: 18px; margin: 4px 0 8px; }
  .pl-note { display: none; }
  .pl-thumb { width: 104px; }
  .pl-rt { font-size: 15px; }
  .sh-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sh-frame { height: min(70vh, 640px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 一覧の中で開く書き起こし */
.tag-leader { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; padding: 0 8px 0 4px; border-radius: 999px; background: #fdf0f2; color: var(--red); font-size: 12px; font-weight: 700; vertical-align: 2px; font-family: 'Noto Sans JP', sans-serif; }
.tag-leader .star { width: 13px; height: 13px; }
.tr-toggle {
  display: block; margin: 0 0 0 auto; padding: 4px 14px 8px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--sun-deep);
}
.tr-toggle:hover { color: var(--red); }
.tr-toggle[aria-expanded="true"] { color: var(--red); }
.tr-box { border-top: 1px dashed var(--line); padding: 14px 18px 16px; background: #fffdf9; }
.tr-box p { margin: 0 0 1em; font-size: 16px; line-height: 1.95; }
.tr-box .tr-open { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--red); text-decoration: none; }
.tr-box .tr-open:hover { text-decoration: underline; }
.tr-box .tr-wait { color: var(--ink-soft); font-size: 14px; }

/* 仲間の投稿 */
.nk-grid { columns: 300px; column-gap: 18px; }
.nk-voice {
  break-inside: avoid; position: relative; margin: 0 0 18px; padding: 30px 18px 16px;
  background: #fffdf8; border: 1px solid var(--line); border-radius: 16px;
}
.nk-voice[hidden] { display: none; }
.nk-q { position: absolute; top: -6px; left: 14px; font-family: Georgia, serif; font-size: 70px; color: var(--red); line-height: 1; }
.nk-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nk-t { font-size: 11px; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 10px; }
.nk-tag { font-size: 11px; color: var(--ink); background: var(--sun-soft); border-radius: 999px; padding: 1px 10px; }
.nk-voice blockquote { margin: 10px 0 8px; font-size: 15px; line-height: 1.9; }
.nk-voice figcaption { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--ink-soft); }
.nk-who { font-weight: 700; color: var(--ink); }

/* 二人について */
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; scroll-margin-top: 90px; }
.ab-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--sun); padding-bottom: 6px; margin-bottom: 8px; }
.ab-name h3 { margin: 0; font-family: var(--head); font-size: 24px; }
.ab-name span { font-size: 14px; color: var(--ink-soft); }
.ab-role { font-weight: 700; color: var(--sun-deep); margin: 0 0 8px; }
.fold { position: relative; max-height: 9.3em; overflow: hidden; transition: max-height .5s ease; }
.fold::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); transition: opacity .3s; }
.fold.open { max-height: none; }
.fold.open::after { opacity: 0; }
.fold p { margin: 0 0 10px; }
.fold h4 { margin: 14px 0 4px; font-size: 16px; }
.fold ul { margin: 0 0 10px; padding-left: 1.3em; }
.fold ul.plain { list-style: none; padding-left: 0; }
.fold ul.plain li { padding: 2px 0; border-bottom: 1px dotted var(--line); }
.omoi .fold { max-height: 12em; }
.omoi h3 { font-family: var(--head); font-size: 18px; margin: 18px 0 4px; padding-left: 10px; border-left: 4px solid var(--sun); }
.omoi h3:first-child { margin-top: 0; }
.fold-btn {
  display: block; margin: 12px auto 0; padding: 9px 24px; border-radius: 999px; border: 1.5px solid var(--red);
  background: #fff; color: var(--red); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
}
.fold-btn:hover { background: #fdf0f2; }

@media (max-width: 640px) {
  .head-in { gap: 8px; }
  .logo-text b { font-size: 19px; }
  .about-link { position: absolute; right: 10px; top: 14px; border: 1px solid var(--line); font-size: 12px; padding: 3px 9px; }
  .tabs { margin-left: 0; width: 100%; gap: 5px; }
  .tab { flex: 1 1 0; min-width: 0; justify-content: center; font-size: 12.5px; padding: 7px 2px; gap: 3px; }
  .tab svg { width: 14px; height: 14px; }
  .hero { height: 200px; }
  .post .hero { height: 120px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .chip { font-size: 14px; padding: 6px 13px; }
  .chip-voices { margin-left: 0; }
  .tr-box { padding: 12px 14px 14px; }
  .about-card { padding: 16px 16px; }
}

/* 日付・シリーズの小さな札 */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--ink-soft); }
.pill { text-decoration: none; padding: 1px 10px; border-radius: 999px; background: #E3F5F1; color: var(--sun-deep); font-weight: 700; }
.badge-new { position: absolute; top: 8px; left: 8px; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--red); font-size: 12px; font-weight: 700; }

/* コピペ用の文（/share） */
.cp-places { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 12px; }
.cp-places .chip { justify-content: center; font-weight: 700; padding: 9px 4px; }
.cp-kinds { margin-bottom: 16px; }
.cp-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; margin-bottom: 14px; }
.cp-card[hidden] { display: none; }
.cp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--ink-soft); }
.cp-new { padding: 1px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.cp-title { margin: 6px 0 8px; font-family: var(--head); font-size: 17px; line-height: 1.5; }
.cp-text { width: 100%; font: inherit; font-size: 15px; line-height: 1.7; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf9; color: var(--ink); resize: vertical; overflow: hidden; word-break: break-all; }
.cp-count { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); min-height: 1em; }
.cp-copy { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 0; border-radius: 12px; background: var(--sun); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.cp-copy:hover { background: var(--sun-deep); }
.cp-copy.ok { background: var(--red); }
@media (max-width: 640px) { .cp-places .chip { font-size: 13px; } }

/* 仲間の投稿を受け付けるページ（/toukou） */
.tk-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; margin-bottom: 18px; }
.tk-f { margin-bottom: 20px; }
.tk-f label { display: block; font-weight: 700; margin-bottom: 4px; }
.tk-f .req { font-size: 12px; color: #fff; background: var(--red); border-radius: 6px; padding: 0 6px; margin-left: 8px; vertical-align: 2px; }
.tk-f .opt { font-size: 12px; color: var(--ink-soft); margin-left: 8px; font-weight: 400; }
.tk-f .hint { font-size: 13px; color: var(--ink-soft); margin: 0 0 6px; }
.tk-f[hidden] { display: none; }
.tk input[type=text], .tk input[type=url], .tk input[type=email], .tk input[type=password], .tk textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fffdf9; color: var(--ink);
}
.tk input:focus, .tk textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px #1fa99622; }
.tk textarea { min-height: 130px; resize: vertical; }
.tk-cnt { text-align: right; font-size: 12px; color: var(--ink-soft); margin: 2px 0 0; }
.tk-cnt.over { color: var(--red); font-weight: 700; }
.tk-det { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--sun-deep); }
.tk-det span { background: #E3F5F1; border-radius: 999px; padding: 1px 10px; }
.tk-agree { display: flex; gap: 10px; align-items: flex-start; background: var(--sun-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.7; cursor: pointer; }
.tk-agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sun); flex: none; }
.tk-btn { display: block; width: 100%; margin-top: 18px; padding: 15px; border: 0; border-radius: 14px; background: var(--sun); color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px -12px #1fa996; }
.tk-btn:hover { background: var(--sun-deep); }
.tk-btn:disabled { opacity: .6; cursor: default; }
.tk-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 10px 0 0; }
.tk-err { background: #fdf0f2; color: var(--red); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; margin: 0 0 16px; }
.tk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tk-kokoro { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 14px; padding: 14px 18px 8px; margin-bottom: 18px; }
.tk-kt { font-family: var(--head); font-weight: 700; color: var(--red); margin: 0 0 6px; font-size: 17px; }
.tk-kokoro ol { margin: 0; padding-left: 1.3em; }
.tk-kokoro li { margin-bottom: 10px; font-size: 14px; line-height: 1.75; }
.tk-kn { margin: 4px 0 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-soft); }
.tk-done { text-align: center; }
.tk-big { font-family: var(--head); font-size: 22px; font-weight: 700; margin: 6px 0; }
.tk-sun { width: 70px; height: 70px; margin: 6px auto 10px; border-radius: 50%; background: radial-gradient(circle, #fffbea 0 30%, #ffd9a8 60%, var(--red)); box-shadow: 0 0 40px 14px #c8102e2a; }
.tk-again { color: var(--sun-deep); font-weight: 700; }

/* 仲間の投稿：仲間の発信のカード */
.nk-post { break-inside: avoid; display: block; margin: 0 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.nk-post:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -22px rgba(23, 135, 122, .6); }
.nk-post[hidden] { display: none; }
.nk-th { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #B2E6DA, #FFD6A5 55%, #E87080); overflow: hidden; }
.nk-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nk-pf { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 10px; }
.nk-bd { padding: 12px 16px 16px; }
.nk-bd .nk-tags { margin-bottom: 6px; }
.nk-tp { font-size: 11px; font-weight: 700; color: #fff; background: var(--sun); border-radius: 999px; padding: 1px 10px; }
.nk-ttl { display: block; font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.5; margin: 0 0 4px; }
.nk-msg { margin: 0 0 6px; font-size: 14px; line-height: 1.85; }
.nk-by { font-size: 12px; color: var(--ink-soft); }
.nk-open { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--red); }

.nk-msg, .nk-by { display: block; }
.nk-post .nk-tags { display: flex; }
.nk-th, .nk-bd { display: block; }

/* 投稿の種類のタブ・感想の選択肢 */
.tk-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 18px 0 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.tk-tab { text-align: center; text-decoration: none; padding: 9px 6px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.tk-tab.on { background: var(--sun); color: #fff; }
.tk-checks { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.tk-checks legend { font-weight: 700; margin-bottom: 4px; padding: 0; }
.tk-checks legend .req { font-size: 12px; color: #fff; background: var(--red); border-radius: 6px; padding: 0 6px; margin-left: 8px; vertical-align: 2px; }
.tk-group { margin: 8px 0 4px; font-size: 13px; font-weight: 700; color: var(--sun-deep); }
.tk-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-opts label { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 15px; background: #fffdf9; margin: 0; font-weight: 500; }
.tk-opts label:has(input:checked) { border-color: var(--sun); background: #E3F5F1; }
.tk-opts input { width: 18px; height: 18px; accent-color: var(--sun); margin: 0; }
.tk-small { font-size: 13px; color: var(--ink-soft); }

/* SNSから来た人への案内（トップで数秒。大きく、目立つように） */
.sns-tip {
  position: fixed; left: 50%; bottom: 26px; z-index: 40; transform: translate(-50%, 24px); opacity: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px; width: min(92%, 620px);
  padding: 20px 24px; border: 3px solid #fff; border-radius: 28px; background: var(--red); color: #fff; text-decoration: none; text-align: center;
  font: inherit; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.4; cursor: pointer;
  box-shadow: 0 18px 40px -12px rgba(200, 16, 46, .75), 0 0 0 6px rgba(200, 16, 46, .18); transition: opacity .5s, transform .5s;
}
.sns-tip.show { opacity: 1; transform: translate(-50%, 0); animation: tipglow 1.6s ease-in-out infinite; }
@keyframes tipglow { 0%, 100% { box-shadow: 0 18px 40px -12px rgba(200, 16, 46, .75), 0 0 0 6px rgba(200, 16, 46, .18); } 50% { box-shadow: 0 18px 40px -12px rgba(200, 16, 46, .75), 0 0 0 14px rgba(200, 16, 46, .08); } }
.sns-tip.up { top: 132px; bottom: auto; transform: translate(-50%, -24px); }
.sns-tip.up.show { transform: translate(-50%, 0); }
.sns-tip .arr { display: inline-block; font-size: 44px; line-height: 1; animation: bob .9s ease-in-out infinite; }
.sns-tip.up .arr { animation-name: bobup; }
@keyframes bob { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(8px); } }
@keyframes bobup { 0%, 100% { transform: translateY(4px); } 50% { transform: translateY(-8px); } }
.tab.pulse { animation: tabpulse 1.2s ease-in-out 6; }
@keyframes tabpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); } 50% { box-shadow: 0 0 0 7px rgba(200, 16, 46, .4); border-color: var(--red); } }
.sns-tip .tx b { display: block; white-space: nowrap; font-weight: 700; }
@media (max-width: 640px) { .sns-tip { font-size: 20px; padding: 18px 14px; gap: 8px; } .sns-tip .arr { font-size: 38px; } .sns-tip.up { top: 122px; } }

.sns-tip .play { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; animation: playpulse 1.2s ease-in-out infinite; }
.sns-tip .play svg { width: 26px; height: 26px; fill: var(--red); margin-left: 3px; }
@keyframes playpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (max-width: 640px) { .sns-tip .play { width: 46px; height: 46px; } .sns-tip .play svg { width: 22px; height: 22px; } }

/* ===== 検索（v10） ===== */
.search { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; padding: 6px 6px 6px 14px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--sun); box-shadow: 0 0 0 4px rgba(31,169,150,.14); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--sun-deep); stroke-width: 2.2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { flex: none; border: none; cursor: pointer; font: inherit; font-family: var(--head); font-weight: 700; font-size: 15px;
  padding: 9px 18px; border-radius: 999px; background: var(--sun); color: #fff; transition: background .2s, transform .15s; }
.search button:hover { background: var(--sun-deep); }
.search button:active { transform: scale(.96); }
.search-clear { margin: -6px 0 14px; font-size: 14px; }
.search-clear a { color: var(--red); text-decoration: none; }
.pl-hit { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink); }
.pl-hit mark { background: #FDE9B4; color: inherit; padding: 0 2px; border-radius: 3px; font-weight: 700; }

/* ===== 浮かぶボタン（公式LINE・お悩みを送る）（v10） ===== */
.fab { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 14px); z-index: 40; display: flex; gap: 10px;
  transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), opacity .25s; pointer-events: none;
  width: min(calc(100% - 32px), 460px); }
.fab.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.fab-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 10px; border-radius: 999px;
  border: none; cursor: pointer; font: inherit; font-family: var(--head); font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(20, 60, 50, .55); transition: transform .15s; white-space: nowrap; }
.fab-btn:active { transform: scale(.96); }
.fab-btn svg { width: 22px; height: 22px; flex: none; }
.fab-line { background: var(--line-green); color: #fff; }
.fab-line svg { fill: #fff; }
.fab-ona { background: #fff; color: var(--red); border: 2px solid var(--red); }
.fab-ona svg { fill: none; stroke: var(--red); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
body.has-fab .site-foot { padding-bottom: 90px; }

/* ===== お悩みの窓口（v10） ===== */
.ona-veil { position: fixed; inset: 0; z-index: 50; background: rgba(20, 40, 36, .45); }
.ona { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-width: 560px; margin: 0 auto; background: var(--card);
  border-radius: 22px 22px 0 0; border-top: 4px solid var(--red); padding: 22px 20px calc(env(safe-area-inset-bottom) + 20px);
  max-height: 92vh; overflow-y: auto; box-shadow: 0 -12px 40px -16px rgba(0,0,0,.4); animation: onaUp .3s cubic-bezier(.2,.9,.3,1.1); }
@keyframes onaUp { from { transform: translateY(100%); } to { transform: none; } }
.ona[hidden], .ona-veil[hidden], .ona-done[hidden] { display: none; }
.ona-x { position: absolute; right: 12px; top: 12px; border: none; background: var(--sun-soft); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.ona h2 { margin: 4px 40px 8px 0; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.45; color: var(--ink); }
.ona-lead { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.ona-f { display: block; margin: 10px 0 6px; font-weight: 700; font-size: 15px; }
.ona-f small { font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.ona textarea, .ona input { width: 100%; box-sizing: border-box; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fffdf9; }
.ona textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.ona textarea:focus, .ona input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(31,169,150,.14); }
.ona-n { margin: 4px 2px 0; text-align: right; font-size: 12px; color: var(--ink-soft); }
.ona-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ona-msg { min-height: 20px; margin: 8px 0 0; font-size: 14px; color: var(--red); }
.ona-send { display: block; width: 100%; margin-top: 10px; padding: 14px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--red); color: #fff; font: inherit; font-family: var(--head); font-weight: 700; font-size: 17px; }
.ona-send:disabled { opacity: .55; }
.ona-thanks { margin: 26px 0 18px; text-align: center; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.7; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } .ona { animation: none; } }

/* 写真の上のひとこと「誰もが、誰かのリーダー。」（v10） */
.hero-motto { margin: 10px 0 0; padding: 4px 16px; border-radius: 999px; background: rgba(255, 255, 255, .82);
  font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--red);
  box-shadow: 0 4px 14px -8px rgba(200, 16, 46, .5); animation: rise 1.4s .5s cubic-bezier(.2, .8, .2, 1) both; }
.post .hero-motto { display: none; }
.ab-motto { margin: 0 0 22px; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border-left: 5px solid var(--red);
  font-family: var(--head); font-size: 17px; line-height: 1.9; color: var(--ink); box-shadow: 0 8px 24px -18px rgba(20, 60, 50, .5); }
.ab-motto b { color: var(--red); font-size: 19px; }


/* ===== 場面で選ぶ（v10） ===== */
.chips-scene { margin-top: -8px; align-items: center; }
.chips-label { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink-soft); margin-right: 2px; }
.chip-scene { border-style: dashed; border-color: #b9ddd6; }
.chip-scene.on { border-style: solid; }

/* ===== 悩みから探す（v10） ===== */
.toi-entry { margin: -4px 4px 14px; text-align: right; }
.toi-entry a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--red); }
.toi-entry svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toi-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; }
@media (min-width: 640px) { .toi-list { grid-template-columns: 1fr 1fr; } }
.toi-card { display: flex; align-items: center; gap: 10px; padding: 16px 16px 16px 18px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: 0 8px 22px -18px rgba(20, 60, 50, .5);
  transition: transform .15s, border-color .2s; position: relative; overflow: hidden; }
.toi-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--sun), var(--red)); }
.toi-card:hover { transform: translateY(-2px); border-color: var(--sun); }
.toi-q { flex: 1; font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.55; }
.toi-go { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.toi-more { margin: 6px 0 10px; font-size: 14px; color: var(--ink-soft); }
.toi-more a { color: var(--sun-deep); }
.sec-title.sec-long { font-size: 18px; line-height: 1.6; }
.sec-title .count { white-space: nowrap; }
