/* こども法人ネバーランド コーポレートサイト */
:root {
  --navy: #172b85;
  --navy-deep: #0f1d5e;
  --yellow: #ffe949;
  --pink: #e62e59;
  --cream: #fdfbf7;
  --tint: #eef3ff;
  --ink: #1f2937;
  --sub: #4b5563;
  --line: #e3e6ef;
  --radius: 20px;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.9; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--round); font-weight: 700; color: var(--navy); line-height: 1.45; margin: 0; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sp { display: none; }

/* ヘッダー */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); transition: background .25s, box-shadow .25s; }
.site-header.is-solid { background: rgba(253, 251, 247, .95); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.logo img { width: 150px; height: auto; }
.gnav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 14px; font-weight: 500; }
.gnav a { text-decoration: none; color: var(--navy); }
.gnav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gnav-cta { background: var(--yellow); padding: 8px 18px; border-radius: 999px; font-weight: 700; }
.gnav-cta:hover { text-decoration: none !important; filter: brightness(.96); }
.menu-btn { display: none; }

/* 共通 */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section.tint { background: var(--tint); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.eyebrow { font-family: var(--round); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--pink); margin-bottom: 12px; }
.section.navy .eyebrow { color: var(--yellow); }
.h-big { font-size: clamp(30px, 5vw, 48px); margin-bottom: 24px; }
.h-mid { font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 20px; }
.lead { font-size: clamp(15px, 1.6vw, 17px); color: var(--sub); max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }
.note { font-size: 14px; color: var(--sub); }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); background: #fff; }

/* ヒーロー */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 5vw, 64px); max-width: 1200px; margin: 0 auto; padding: 120px clamp(16px, 4vw, 40px) 64px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.hero-lead { font-size: clamp(15px, 1.6vw, 17px); color: var(--sub); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { margin: 0; justify-self: center; }
.hero-photo img { border-radius: 200px 200px var(--radius) var(--radius); max-height: 560px; width: auto; object-fit: cover; box-shadow: 0 24px 48px -24px rgba(23, 43, 133, .45); }

/* ニュース帯 */
.news-strip { padding: 0 clamp(16px, 4vw, 40px); margin-bottom: 24px; }
.news-strip-inner { max-width: 1120px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 24px clamp(20px, 3vw, 36px); display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: center; box-shadow: 0 10px 30px -18px rgba(23, 43, 133, .35); }
.news-strip-h { font-size: 20px; letter-spacing: .08em; display: flex; flex-direction: column; line-height: 1.2; }
.news-strip-h span { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--sub); font-weight: 500; margin-top: 4px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 10px 0; text-decoration: none; color: var(--ink); }
.news-row:hover .news-title { text-decoration: underline; text-underline-offset: 3px; }
.news-row time { font-family: var(--round); font-weight: 700; color: var(--navy); font-size: 14px; white-space: nowrap; }
.news-cat { font-size: 12px; background: var(--tint); color: var(--navy); border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.news-title { flex: 1 1 280px; font-size: 15px; }
.news-empty { color: var(--sub); padding: 10px 0; }
.more { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ミッション */
.mission { margin-top: 56px; background: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }
.mission h3 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 16px; }
.mission > p { color: var(--sub); }
.three { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.three li { background: var(--cream); border-radius: 16px; padding: 20px; font-weight: 500; line-height: 1.7; }
.three span { display: block; font-family: var(--round); font-weight: 700; color: var(--pink); font-size: 14px; margin-bottom: 6px; }

/* 3本柱 */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 6px solid var(--navy); }
.pillar:nth-child(2) { border-color: var(--yellow); }
.pillar:nth-child(3) { border-color: var(--pink); }
.pillar h3 { font-size: 22px; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--sub); }

/* 事業 */
.wide-figure { max-width: 880px; margin: 40px auto 72px; background: #fff; border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); }
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.biz.reverse .biz-text { order: 2; }
.biz-no { font-family: var(--round); font-weight: 700; color: var(--pink); margin-bottom: 4px; }
.biz h3 { font-size: clamp(26px, 3.2vw, 32px); }
.biz h3 sup { font-size: .45em; }
.biz-catch { font-family: var(--round); font-weight: 700; font-size: 18px; color: var(--navy); margin: 6px 0 16px; }
.biz-photo { margin: 0; }
.biz-photo img { border-radius: var(--radius); width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--navy); }

/* 取り組み */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(23, 43, 133, .5); }
.card-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--sub); }
.card-date { font-weight: 700; color: var(--pink) !important; }
.card-link { margin-top: auto; font-weight: 700; color: var(--navy); }

/* 活動写真 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: 14px; color: var(--sub); margin-top: 10px; line-height: 1.6; }

/* 未来 */
.future { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.future > div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 28px; }
.future span { font-family: var(--round); font-weight: 700; color: var(--yellow); }
.future h3 { font-size: 19px; margin: 4px 0 8px; }
.future p { margin: 0; color: rgba(255, 255, 255, .85); }

/* メンバー */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.member img { border-radius: 50%; width: 160px; height: 160px; object-fit: cover; margin-bottom: 16px; }
.member .role { font-size: 13px; font-weight: 700; color: var(--pink); margin-bottom: 2px; }
.member h3 { font-size: 22px; margin-bottom: 10px; }
.member h3 small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--sub); }
.member p { font-size: 14px; color: var(--sub); line-height: 1.8; }
.origin { margin: 56px 0 0; background: #fff; border-left: 6px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; padding: clamp(24px, 4vw, 40px); }
.origin-h { font-family: var(--round); font-weight: 700; font-size: 20px; color: var(--navy); }
.origin p:last-child { margin: 0; }

/* 会社概要 */
.company { margin: 24px 0 0; background: #fff; border-radius: var(--radius); padding: 8px clamp(20px, 3vw, 36px); }
.company div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company div:last-child { border: 0; }
.company dt { font-weight: 700; color: var(--navy); }
.company dd { margin: 0; }

/* お問い合わせ */
.cta { background: var(--yellow); }
.cta .eyebrow { color: var(--navy); }
.cta .lead { color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
.cta-card { background: #fff; border-radius: 16px; padding: 20px 14px; text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 4px; transition: transform .15s; }
.cta-card:hover { transform: translateY(-2px); }
.cta-card b { font-family: var(--round); font-size: 16px; }
.cta-card span { font-size: 13px; color: var(--sub); }
.contact-line, .sns { font-weight: 500; }
.sns a { margin: 0 6px; }

/* フッター */
.site-footer { background: var(--navy-deep); color: #fff; padding: 40px clamp(16px, 4vw, 40px); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.footer-nav a { color: #fff; text-decoration: none; opacity: .85; }
.footer-copy { margin: 0; font-size: 12px; opacity: .7; }

/* ニュース一覧・記事 */
.sub-main { max-width: 860px; margin: 0 auto; padding: 120px clamp(16px, 4vw, 40px) 96px; min-height: 70vh; }
.sub-head { margin-bottom: 32px; }
.sub-head h1 { font-size: clamp(28px, 4vw, 40px); }
.news-list.wide { background: #fff; border-radius: var(--radius); padding: 8px clamp(20px, 3vw, 32px); }
.news-list.wide .news-row { padding: 18px 0; }
.article h1 { font-size: clamp(24px, 3.4vw, 34px); margin: 8px 0 28px; }
.article-meta { display: flex; gap: 12px; align-items: center; font-family: var(--round); font-weight: 700; color: var(--navy); }
.article-thumb { border-radius: var(--radius); margin-bottom: 32px; width: 100%; }
.article-body { font-size: 16px; }
.article-body h2 { font-size: 22px; margin: 2.2em 0 .8em; padding-left: 14px; border-left: 6px solid var(--yellow); }
.article-body h3 { font-size: 18px; margin: 1.8em 0 .6em; }
.article-body img { border-radius: 12px; margin: 1.2em 0; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-body th { background: var(--tint); white-space: nowrap; }
.article-ext { margin-top: 32px; font-weight: 700; }
.article-back { margin-top: 48px; }

/* スマホ */
@media (max-width: 860px) {
  .sp { display: inline; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: var(--navy); border-radius: 50%; padding: 0 12px; cursor: pointer; }
  .menu-btn span:not(.sr) { display: block; height: 2px; background: #fff; transition: transform .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .gnav { position: fixed; inset: 72px 12px auto; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-radius: var(--radius); padding: 8px 20px 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); font-size: 16px; display: none; }
  .gnav.open { display: flex; }
  .gnav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gnav-cta { margin-top: 12px; text-align: center; border: 0 !important; }
  .sub .gnav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; }
  .hero-photo { order: -1; }
  .hero-photo img { max-height: 340px; border-radius: 160px 160px var(--radius) var(--radius); }
  .news-strip-inner { grid-template-columns: 1fr; }
  .three, .pillars, .cards, .gallery, .members, .cta-grid { grid-template-columns: 1fr; }
  .future { grid-template-columns: 1fr; }
  .biz { grid-template-columns: 1fr; }
  .biz.reverse .biz-text { order: 0; }
  .biz-photo { order: -1; }
  .company div { grid-template-columns: 1fr; gap: 4px; }
  .member { text-align: center; }
  .member img { margin: 0 auto 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* 取り組みカードの画像・代表メッセージ */
.card-img { width: 100%; border-radius: 14px; margin-bottom: 18px; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--cream); }
.card-img[src*="marche"] { object-fit: contain; }
.origin-link { margin-top: 24px !important; }
.message-hero { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; margin-bottom: 48px; }
.message-hero img { border-radius: 50%; width: 200px; height: 200px; object-fit: cover; }
.message-hero .role { font-weight: 700; color: var(--pink); margin: 0 0 4px; font-size: 14px; }
.message-hero h1 { font-size: clamp(26px, 3.6vw, 34px); }
.message-hero small { display: block; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--sub); }
.message-body p { font-size: 17px; line-height: 2.05; }
.message-body h2 { font-size: clamp(20px, 2.8vw, 26px); margin: 2.4em 0 1em; }
.message-body blockquote { margin: 1.6em 0; padding: 20px 24px; background: #fff; border-left: 6px solid var(--yellow); border-radius: 0 16px 16px 0; font-family: var(--round); font-weight: 700; color: var(--navy); font-size: 18px; }
.message-sign { text-align: right; font-family: var(--round); font-weight: 700; color: var(--navy); margin-top: 40px; }
@media (max-width: 860px) {
  .message-hero { grid-template-columns: 1fr; text-align: center; }
  .message-hero img { margin: 0 auto; width: 160px; height: 160px; }
}

/* 活動：4枚の写真と2026年のあゆみ */
.gallery.four { grid-template-columns: repeat(2, 1fr); }
.timeline-h { font-size: 20px; margin: 48px 0 16px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--yellow); }
.timeline li { position: relative; padding: 8px 0 8px 22px; line-height: 1.7; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); }
.timeline time { display: inline-block; min-width: 5.5em; font-family: var(--round); font-weight: 700; color: var(--navy); }
@media (max-width: 860px) { .gallery.four { grid-template-columns: 1fr; } .timeline time { display: block; } }
