/* キタノドロップ公式サイト
   色：Brainのサムネイル（クリーム・黄・紺・こげ茶・赤）と北海道の空の青から */
:root {
  --cream: #fff8e7;
  --cream-deep: #fdf0c9;
  --paper: #fffdf7;
  --yellow: #f2b705;
  --yellow-soft: #ffd95a;
  --navy: #1d3461;
  --brown: #4a3222;
  --text: #3a2b20;
  --muted: #7a6656;
  --sky: #2f7fd1;
  --red: #e2352c;
  --line: #ecdcb4;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(74, 50, 34, .08);
  --max: 1080px;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.45; margin: 0; }
p { margin: 0 0 1em; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; text-decoration: none;
  border-radius: 999px; padding: .85em 1.8em; line-height: 1.3;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--brown); box-shadow: 0 4px 0 #c99400; }
.btn-primary:hover { box-shadow: 0 6px 0 #c99400; }
.btn-ghost { background: rgba(255,255,255,.9); color: var(--navy); }
.btn-small { padding: .55em 1.2em; font-size: 14px; }
.btn-large { font-size: 18px; padding: 1em 2.4em; }
.text-link { color: var(--sky); font-weight: 700; text-underline-offset: 4px; }
.text-link::after { content: " →"; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 231, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-drop { width: 26px; height: 26px; fill: var(--yellow); }
.logo-text { font-family: var(--font-head); font-weight: 900; color: var(--navy); font-size: 18px; line-height: 1.1; }
.logo-text small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .1em; }
.global-nav { display: flex; gap: 18px; margin-left: auto; font-size: 14px; }
.global-nav a { text-decoration: none; color: var(--brown); font-weight: 700; }
.global-nav a:hover { color: var(--sky); }
.global-nav .nav-cta { display: none; }

/* ハンバーガーメニュー（タブレット・スマホだけ） */
.menu-btn {
  display: none; width: 44px; height: 44px; margin-left: 8px; padding: 0; border: 0; border-radius: 12px;
  background: var(--navy); cursor: pointer; position: relative; flex: none;
}
.menu-btn span {
  position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.is-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-open .menu-btn span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ヒーロー */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0;
  background: url("images/hokkaido-mountain.jpg") center 60% / cover no-repeat;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,52,97,0) 25%, rgba(29,52,97,.55) 70%, rgba(29,52,97,.8) 100%);
}
.hero-body { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 20px 56px; color: #fff; }
.hero-box {
  display: inline-block; max-width: 760px;
  background: rgba(29, 52, 97, .5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border-radius: 24px; padding: 28px 32px;
}
.hero-label { font-size: 13px; letter-spacing: .08em; font-weight: 700; margin-bottom: .6em; opacity: .95; }
.hero-title { color: #fff; font-size: clamp(30px, 5.4vw, 52px); font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-lead { margin: 1em 0 1.6em; font-size: 16px; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 数字 */
.numbers { background: var(--navy); color: #fff; }
.numbers-list {
  list-style: none; margin: 0 auto; padding: 28px 20px; max-width: var(--max);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; text-align: center;
}
.num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 30px; color: var(--yellow-soft); line-height: 1.2; }
.num small { font-size: 13px; margin-left: 2px; color: #fff; font-weight: 700; }
.num-label { display: block; font-size: 12px; line-height: 1.5; margin-top: 4px; opacity: .9; }

/* セクション共通 */
.section { max-width: var(--max); margin: 0 auto; padding: 88px 20px 0; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.drop-no {
  position: relative; isolation: isolate; flex: none; width: 60px; height: 72px; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 12px;
  font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--brown); line-height: 1;
}
.drop-no::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--yellow);
  clip-path: path("M30 0C20 18 4 30 4 46a26 26 0 0 0 52 0C56 30 40 18 30 0z");
}
.drop-no span { font-size: 10px; letter-spacing: .1em; font-weight: 700; margin-bottom: 2px; }
.section-head h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; }
.section-lead { color: var(--muted); margin-top: -12px; }
.more { margin-top: 20px; }

/* プロフィール */
.profile { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.motto {
  margin: 1.4em 0 0; padding: 18px 22px; background: var(--paper);
  border-left: 6px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 18px; line-height: 1.7;
}
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; gap: 16px; padding-bottom: 18px; }
.tl-year {
  flex: none; width: 56px; height: 30px; border-radius: 999px; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; position: relative;
}
.timeline b { font-family: var(--font-head); color: var(--navy); }
.timeline p { margin: 2px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ニュースレター */
.section-feature { padding-top: 96px; }
.nl-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
  background: var(--paper); border: 2px solid var(--yellow); border-radius: 28px;
  padding: 40px; box-shadow: var(--shadow);
}
.nl-kicker { display: inline-block; background: var(--cream-deep); color: var(--brown); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 2px 14px; }
.nl-title { font-size: clamp(22px, 3vw, 28px); font-weight: 900; margin: 10px 0 16px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 6px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='%234a3222' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.nl-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.nl-visual { display: flex; justify-content: center; }
.mail {
  position: relative; width: 220px; height: 160px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: 46px 22px 0; transform: rotate(-4deg);
  border-top: 10px solid var(--navy);
}
.mail-day { position: absolute; top: 12px; left: 22px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 14px; }
.mail-line { display: block; height: 8px; border-radius: 4px; background: var(--cream-deep); margin-bottom: 12px; }
.mail-line.short { width: 60%; }
.mail-stamp {
  position: absolute; right: -18px; bottom: -18px; width: 80px; height: 80px; border-radius: 50%;
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transform: rotate(8deg);
}
.mail-stamp small { font-size: 11px; margin-top: 2px; }

/* カード */
.cards { display: grid; gap: 18px; }
.cards-books { grid-template-columns: repeat(5, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--yellow); }
.card b { font-family: var(--font-head); color: var(--navy); font-size: 17px; line-height: 1.55; }
.card p { font-size: 14px; color: var(--muted); margin: 8px 0 14px; line-height: 1.75; }
.card-tag { font-size: 12px; font-weight: 700; color: var(--sky); margin-bottom: 6px; }
.arrow { margin-top: auto; font-weight: 700; color: var(--brown); font-size: 14px; }
.arrow::after { content: " →"; color: var(--yellow); }

.book { padding: 0 0 18px; overflow: hidden; }
.book .card-tag, .book b { padding: 0 16px; }
.book b { font-size: 15px; }
.book-spine { display: block; height: 96px; margin-bottom: 14px; position: relative; }
.book-spine::after {
  content: ""; position: absolute; left: 16px; bottom: -14px; width: 28px; height: 34px; background: var(--paper);
  clip-path: path("M14 0C9 9 2 15 2 23a12 12 0 0 0 24 0C26 15 19 9 14 0z");
}
.s1 { background: linear-gradient(135deg, var(--navy), #345a9c); }
.s2 { background: linear-gradient(135deg, var(--red), #f0715f); }
.s3 { background: linear-gradient(135deg, var(--yellow), #ffd95a); }
.s4 { background: linear-gradient(135deg, var(--sky), #7fb8ef); }
.s5 { background: linear-gradient(135deg, var(--brown), #8a6347); }

.support { margin-top: 36px; background: var(--cream-deep); border-radius: var(--radius); padding: 24px 28px; }
.support h3 { font-size: 18px; margin-bottom: 10px; }
.support-list { list-style: none; margin: 0; padding: 0; }
.support-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.support-list li:last-child { border-bottom: 0; }
.support-list a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.support-list .no-link { color: var(--navy); font-weight: 700; }
.support-list li > span:last-child { flex: none; color: var(--muted); font-size: 13px; }

/* Brain */
.brain-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  background: var(--paper); border-radius: 28px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.brain-card img { border-radius: 16px; }
.badge { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px; margin-bottom: 10px; }
.brain-body h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.brain-body h3 small { display: block; font-size: 15px; font-weight: 700; color: var(--brown); margin-top: 4px; }
.note-small { font-size: 13px; color: var(--muted); }

/* 音声 */
.media-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.media-icon svg { width: 22px; height: 22px; fill: var(--yellow-soft); }

/* 最後のCTA */
.closing { padding: 96px 20px; }
.closing-inner {
  max-width: 760px; margin: 0 auto; text-align: center; background: var(--navy); color: #fff;
  border-radius: 32px; padding: 56px 28px; position: relative; overflow: hidden;
}
.closing-drop { width: 56px; height: 56px; fill: var(--yellow); margin: 0 auto 12px; display: block; }
.closing h2 { color: #fff; font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; margin-bottom: 12px; }
.closing p { opacity: .92; margin-bottom: 28px; }

/* フッター */
.site-footer { background: var(--brown); color: #f6ead2; padding: 48px 20px 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-name { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: #fff; margin-bottom: 4px; }
.footer-cols { display: flex; gap: 48px; }
.footer-h { font-weight: 700; color: var(--yellow-soft); margin-bottom: 6px; font-size: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.copyright { text-align: center; font-size: 12px; opacity: .7; margin: 32px 0 0; }

/* タブレット */
@media (max-width: 960px) {
  .header-cta { margin-left: auto; }
  .menu-btn { display: block; }
  .global-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 20px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(74, 50, 34, .12);
  }
  .is-open .global-nav { display: flex; }
  .global-nav a { padding: 14px 4px; border-bottom: 1px dashed var(--line); font-size: 16px; }
  .global-nav .nav-cta { display: flex; margin-top: 16px; border-bottom: 0; color: var(--brown); padding: 14px; }
  .numbers-list { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .cards-books { grid-template-columns: repeat(3, 1fr); }
  .profile, .nl-card, .brain-card { grid-template-columns: 1fr; }
  .nl-visual { display: none; }
}

/* スマホ */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .header-inner { padding: 10px 16px; }
  .header-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .hero-box { padding: 20px 18px; border-radius: 18px; }
  .hero { min-height: 520px; }
  .hero-body { padding: 0 16px 40px; }
  .hero-title { font-size: clamp(21px, 6.2vw, 28px); }
  .hero-label { font-size: 12px; }
  .hero-lead br { display: none; }
  .hero-actions .btn { width: 100%; }
  .numbers-list { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; }
  .section { padding: 64px 16px 0; }
  .cards-books, .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .book { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; padding: 14px 16px 14px 0; }
  .book-spine { grid-row: 1 / 3; height: auto; margin: -14px 0; }
  .book-spine::after { display: none; }
  .book .card-tag, .book b { padding: 0; }
  .nl-card { padding: 28px 20px; }
  .nl-actions .btn { width: 100%; }
  .support { padding: 20px 18px; }
  .support-list li { flex-direction: column; gap: 0; }
  .brain-card { padding: 16px; }
  .brain-body h3 { font-size: 24px; }
  .closing { padding: 64px 16px; }
  .closing p br { display: none; }
  .footer-cols { gap: 32px; }
}
