@charset "UTF-8";
/* =========================================================
   もりおかハンテンボクの会  共通スタイルシート
   hantenboku.yama-mori.co.jp

   意匠：明治期の植物図譜（ボタニカル・プレート）＋レトロな罫飾り
   配色：ユリノキの実物から採取
   文字：大小の落差を抑え、小さい文字も読める寸法に
   ========================================================= */

/* ---------- 1. デザイントークン ---------- */
:root {
  /* 葉 */
  --leaf-deep:   #2C3E2A;
  --leaf:        #4C6539;
  --leaf-mid:    #6F8B4F;
  --leaf-young:  #A9C98C;

  /* 花 */
  --petal:       #E6E3BE;
  --petal-pale:  #F3F0DC;
  --nectar:      #C4862C;
  --nectar-deep: #9C6716;
  --blossom:     #BC8674;

  /* 幹 */
  --bark:        #5C4A38;
  --bark-deep:   #3A2E24;

  /* 紙と墨 */
  --paper:       #FAF7EE;
  --paper-2:     #F2EDDE;
  --paper-3:     #EAE3D0;
  --rule:        #D6CDB6;
  --rule-soft:   #E6DFCC;
  --ink:         #2E2A24;
  --ink-soft:    #5D5647;

  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho",
                "Noto Serif JP", serif;
  --font-latin: "Cormorant Garamond", "Times New Roman", serif;

  /* 葉の小飾り（罫の中央などに置く） */
  --orn-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='22 24 156 162'%3E%3Cg fill='%236F8B4F' stroke='%236F8B4F' stroke-width='7' stroke-linejoin='round'%3E%3Cpath d='M100 46 L 108 32 L 132 30 L 140 45 L 126 70 L 172 88 L 128 118 L 112 138 L 100 142 Z'/%3E%3Cpath d='M100 46 L 108 32 L 132 30 L 140 45 L 126 70 L 172 88 L 128 118 L 112 138 L 100 142 Z' transform='translate(200,0) scale(-1,1)'/%3E%3Crect x='97.6' y='140' width='4.8' height='42' rx='2.4' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --orn-leaf-pale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='22 24 156 162'%3E%3Cg fill='%23A9C98C' stroke='%23A9C98C' stroke-width='7' stroke-linejoin='round'%3E%3Cpath d='M100 46 L 108 32 L 132 30 L 140 45 L 126 70 L 172 88 L 128 118 L 112 138 L 100 142 Z'/%3E%3Cpath d='M100 46 L 108 32 L 132 30 L 140 45 L 126 70 L 172 88 L 128 118 L 112 138 L 100 142 Z' transform='translate(200,0) scale(-1,1)'/%3E%3Crect x='97.6' y='140' width='4.8' height='42' rx='2.4' stroke='none'/%3E%3C/g%3E%3C/svg%3E");

  --wrap: 1100px;
  --wrap-narrow: 740px;
  --header-h: 78px;
}

/* ---------- 2. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  font-feature-settings: "palt" 1;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--nectar-deep); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.6; margin: 0; letter-spacing: .04em; }
p { margin: 0 0 1.25em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.4em; }
li { margin-bottom: .45em; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
i, em { font-style: italic; }
sub, sup { font-size: .7em; }

/* ---------- 3. レイアウト ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--tight { padding: 58px 0; }
.section--paper2 { background: var(--paper-2); }
.section--green { background: var(--leaf-deep); color: #DCE3D3; }
.section--green h2, .section--green h3 { color: var(--petal-pale); }
.section--green a { color: var(--petal); }

/* ---------- 4. レトロな飾り ---------- */
/* 角飾り付きの枠 */
.orn-frame { position: relative; }
.orn-frame::before, .orn-frame::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 1px solid var(--rule); pointer-events: none;
}
.orn-frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.orn-frame::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* 葉の飾りを挟んだ区切り罫 */
.orn-rule {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0; color: var(--rule);
}
.orn-rule::before, .orn-rule::after {
  content: ""; height: 1px; background: currentColor; flex: 1; max-width: 170px;
  box-shadow: 0 3px 0 currentColor;   /* 二重罫 */
}
.orn-rule i {
  display: block; width: 15px; height: 16px; flex: none;
  background: var(--orn-leaf) center/contain no-repeat;
}

/* 二重罫の下線 */
.rule-double { border-bottom: 1px solid var(--rule); box-shadow: 0 3px 0 -1px var(--rule-soft); }

/* ---------- 5. ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 238, .96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 2px 0 -1px var(--rule-soft);
}
.header__inner {
  width: min(100% - 40px, 1200px); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo:hover { opacity: .78; }
.logo__mark { width: 50px; height: auto; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.3; }
.logo__ja { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--leaf-deep); letter-spacing: .08em; white-space: nowrap; }
.logo__en { font-family: var(--font-latin); font-size: 12px; font-style: italic; letter-spacing: .14em; color: var(--leaf-mid); white-space: nowrap; }

.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { font-size: 15px; color: var(--ink); letter-spacing: .05em; padding: 7px 0; position: relative; display: block; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--nectar); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--leaf-deep); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; color: var(--leaf-deep); }
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. 扉（ページ最上部の大きな写真） ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 70%;
  filter: saturate(.94) contrast(.99);
}
/* 幹の質感を残したまま、文字が読めるだけの陰をかける */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 78% at 50% 48%, rgba(20,32,20,.14) 0%, rgba(20,32,20,.38) 60%, rgba(20,32,20,.58) 100%),
    linear-gradient(180deg, rgba(20,32,20,.34) 0%, rgba(20,32,20,.08) 36%, rgba(20,32,20,.44) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  min-height: clamp(620px, 90vh, 920px);
  display: grid; place-items: center;
  padding: 64px 0 92px;
}
/* ラベルとボタンをまとめる。ボタンはラベルの外に出して、
   すりガラス部分の面積を小さくし、背景の並木を見せる */
.hero__box { display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* 写真の上に貼った標本ラベルのような枠 */
.hero__plate {
  width: min(100% - 40px, 540px); text-align: center;
  padding: 34px 30px 36px; position: relative;
  background: rgba(24, 36, 23, .32);
  backdrop-filter: blur(4px) saturate(120%);
  border: 1px solid rgba(243, 240, 220, .55);
}
.hero__plate::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid rgba(243, 240, 220, .28); pointer-events: none;
}
.hero__plate > * { position: relative; }
.hero__logo { width: min(46vw, 186px); margin: 0 auto 18px; }
.hero__latin {
  font-family: var(--font-latin); font-style: italic; font-size: 16px;
  letter-spacing: .1em; color: var(--leaf-young); margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(22px, 2.9vw, 31px); line-height: 1.7; color: #fff;
  letter-spacing: .07em; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero__lead {
  max-width: 29em; margin: 0 auto;
  font-family: var(--font-serif); font-size: clamp(14.5px, 1.4vw, 15.5px);
  line-height: 2.05; color: #E9EDE2; text-shadow: 0 1px 14px rgba(0,0,0,.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* 写真の上に直接置くので、輪郭を少し立たせる */
.hero__actions .btn { box-shadow: 0 3px 20px rgba(16,26,16,.45); }
/* 撮影場所の控えめな注記 */
.hero__cap {
  position: absolute; right: 24px; bottom: 18px; z-index: 1; margin: 0;
  font-size: 12.5px; letter-spacing: .05em; color: rgba(243, 240, 220, .88);
  text-shadow: 0 1px 12px rgba(0,0,0,.75);
}
.hero__cap i {
  display: inline-block; width: 11px; height: 12px; margin-right: .55em;
  vertical-align: -1px; background: var(--orn-leaf-pale) center/contain no-repeat;
}

/* ---------- 7. 全幅の写真帯（白抜き文字を重ねる） ---------- */
.band { position: relative; color: #fff; overflow: hidden; }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,42,27,.72) 0%, rgba(28,42,27,.56) 50%, rgba(28,42,27,.76) 100%);
}
.band__inner { position: relative; z-index: 1; padding: 104px 0; }
.band__inner--tall { padding: 150px 0; }
.band h2 { color: #fff; font-size: clamp(23px, 3vw, 31px); letter-spacing: .06em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.band p { color: #E6EADF; }
.band .sec-head__en { color: var(--leaf-young); }
.band .sec-head__ja { color: #fff; border-bottom: 0; padding-bottom: 0; }
.band__lead {
  max-width: 40em; font-family: var(--font-serif); font-size: 16.5px; line-height: 2.1;
  color: #E6EADF; text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.band--center { text-align: center; }
.band--center .band__lead { margin-inline: auto; }

/* ---------- 8. ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 14px 32px; font-size: 15px; letter-spacing: .08em; font-weight: 500;
  border: 1px solid var(--leaf-deep); color: var(--leaf-deep); background: transparent; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn::after { content: "—"; font-size: .9em; opacity: .6; }
.btn:hover { background: var(--leaf-deep); color: var(--petal-pale); }
.btn--primary { background: var(--leaf-deep); color: var(--petal-pale); }
.btn--primary:hover { background: var(--nectar-deep); border-color: var(--nectar-deep); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--light:hover { background: #fff; color: var(--leaf-deep); border-color: #fff; }
/* 写真の上に置く、生成りのボタン */
.btn--cream { background: var(--petal-pale); border-color: var(--petal-pale); color: var(--leaf-deep); }
.btn--cream:hover { background: var(--nectar); border-color: var(--nectar); color: #fff; }

/* ---------- 9. 見出し ---------- */
.sec-head { margin-bottom: 48px; }
.sec-head__en {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-latin); font-style: italic; font-size: 17px;
  letter-spacing: .08em; color: var(--leaf-mid); margin-bottom: 12px;
}
.sec-head__en::before {
  content: ""; width: 13px; height: 14px; flex: none;
  background: var(--orn-leaf) center/contain no-repeat;
}
.band .sec-head__en::before { background-image: var(--orn-leaf-pale); }
.sec-head__ja {
  font-size: clamp(22px, 2.8vw, 28px); color: var(--leaf-deep);
  padding-bottom: 16px; border-bottom: 1px solid var(--rule); box-shadow: 0 3px 0 -1px var(--rule-soft);
}
.sec-head__lead { margin-top: 24px; max-width: 44em; color: var(--ink-soft); font-size: 16px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__ja { border-bottom: 0; box-shadow: none; padding-bottom: 0; }
.sec-head--center .sec-head__en { justify-content: center; }
.sec-head--center .sec-head__lead { margin-inline: auto; }
.sec-head--plain .sec-head__ja { border-bottom: 0; box-shadow: none; padding-bottom: 0; }

h3.h3 {
  font-size: clamp(19px, 2vw, 21px); color: var(--leaf-deep);
  margin: 52px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-soft);
}
h4.h4 { font-size: 17.5px; color: var(--bark); margin: 30px 0 10px; }

/* ---------- 10. 下層ページの扉（写真の帯にタイトルを重ねる） ---------- */
.page-head {
  background: var(--leaf-deep); color: var(--petal-pale);
  padding: 76px 0 74px; text-align: center; position: relative; overflow: hidden;
}
.page-head__media { position: absolute; inset: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.page-head__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 50% 50%, rgba(24,36,23,.52) 0%, rgba(24,36,23,.70) 65%, rgba(24,36,23,.82) 100%);
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2;
  border-top: 1px solid rgba(243,240,220,.42); border-bottom: 1px solid rgba(243,240,220,.42);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head__inner { position: relative; padding: 28px 24px; }
.page-head__ja, .page-head__lead { text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.page-head__inner::before, .page-head__inner::after {
  content: ""; position: absolute; width: 26px; height: 26px; border: 1px solid rgba(243,240,220,.45);
}
.page-head__inner::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.page-head__inner::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.page-head__en {
  font-family: var(--font-latin); font-style: italic; font-size: 17px;
  letter-spacing: .1em; color: var(--leaf-young); display: block; margin-bottom: 14px;
}
.page-head__ja { font-size: clamp(23px, 3.2vw, 32px); color: var(--petal-pale); letter-spacing: .07em; }
.page-head__lead { margin: 20px auto 0; max-width: 38em; color: #CFDAC5; font-size: 15.5px; font-family: var(--font-serif); line-height: 2.05; }

.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 20px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li::after { content: "／"; margin-left: 8px; color: var(--rule); }
.breadcrumb li:last-child::after { content: none; }

/* ---------- 11. 図版カード ---------- */
.grid { display: grid; gap: 40px 34px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { background: transparent; display: flex; flex-direction: column; transition: opacity .3s; }
a.card:hover { opacity: .84; }
.card__img { aspect-ratio: 7 / 5; overflow: hidden; background: var(--paper-3); border: 1px solid var(--rule); padding: 6px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
/* ロゴなど、切り抜かずに全体を見せたい図版 */
.card__img--contain { display: grid; place-items: center; background: var(--paper-2); }
.card__img--contain img {
  width: auto; height: auto;
  max-width: 62%; max-height: 88%;
  object-fit: contain;
}
a.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 20px 2px 0; flex: 1; }
.card__num { font-family: var(--font-latin); font-style: italic; font-size: 16px; color: var(--nectar); letter-spacing: .1em; }
.card__title { font-size: 20px; color: var(--leaf-deep); margin: 4px 0 10px; }
.card__text { font-size: 15px; color: var(--ink-soft); line-height: 1.9; margin: 0; }

.panel { border: 1px solid var(--rule); padding: 32px 34px; background: rgba(255,255,255,.42); position: relative; }
.panel::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule-soft); pointer-events: none; }
.panel > * { position: relative; }
.panel h3 { font-size: 20px; color: var(--leaf-deep); margin-bottom: 18px; }

/* ---------- 12. 数値（小さな図案を添えてシンプルに） ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fact { padding: 10px 26px; text-align: center; border-left: 1px solid var(--rule); }
.fact:first-child { border-left: 0; }
.fact__icon { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--leaf-mid); }
.fact__icon svg { width: 100%; height: 100%; display: block; }
.fact__num { font-family: var(--font-serif); font-size: clamp(30px, 3.4vw, 38px); color: var(--leaf-deep); line-height: 1.3; }
.fact__num small { font-size: .52em; margin-left: .25em; color: var(--bark); }
.fact__label { font-size: 15px; color: var(--ink-soft); margin-top: 8px; line-height: 1.8; }

/* ---------- 13. 図版と本文 ---------- */
.media { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.media--reverse .media__img { order: 2; }
.media--textfirst { grid-template-columns: 1fr 1.15fr; }
.media__img img { border: 1px solid var(--rule); padding: 7px; background: var(--paper); width: 100%; }

/* ---------- 14. 表 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.4em; }
.tbl { font-size: 15px; background: rgba(255,255,255,.45); min-width: 560px; }
.tbl th, .tbl td { border: 1px solid var(--rule); padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.9; }
.tbl thead th { background: var(--leaf-deep); color: var(--petal-pale); font-weight: 500; font-size: 14.5px; letter-spacing: .06em; }
.tbl tbody th { background: var(--paper-2); color: var(--leaf-deep); font-weight: 500; white-space: nowrap; width: 30%; }
.tbl--vert { min-width: 0; }
.tbl--fixed { table-layout: fixed; min-width: 920px; }
.tbl--fixed tbody th { white-space: normal; width: auto; }
.tbl tbody tr:hover td { background: rgba(233,227,211,.4); }
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }


/* 「出典」だけを小さく置き、押すと吹き出しで開く */
.src { position: relative; display: inline-block; }
.src > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45em;
  font-size: 13px; letter-spacing: .08em; color: var(--ink-soft);
  border-bottom: 1px dotted var(--rule); padding-bottom: 2px;
}
.src > summary::-webkit-details-marker { display: none; }
.src > summary::before {
  content: ""; width: 11px; height: 12px; flex: none;
  background: var(--orn-leaf) center/contain no-repeat; opacity: .7;
}
.src > summary:hover { color: var(--leaf); }
.src[open] > summary { color: var(--leaf-deep); }
.src__body {
  position: absolute; z-index: 20; left: 50%; transform: translateX(-50%);
  top: calc(100% + 12px); width: min(88vw, 560px);
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 12px 32px rgba(46,42,36,.16);
  padding: 22px 24px; text-align: left;
  font-size: 13.5px; line-height: 1.9; color: var(--ink-soft);
}
.src__body::before {   /* 吹き出しの内側の細罫 */
  content: ""; position: absolute; inset: 5px; border: 1px solid var(--rule-soft); pointer-events: none;
}
.src__body p { margin: 0 0 .9em; position: relative; }
.src__body p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .src__body { position: fixed; left: 20px; right: 20px; top: auto; bottom: 20px; width: auto; transform: none; }
}

/* ---------- フォーム ---------- */
.form { margin: 0; }
.field { margin-bottom: 34px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field__title {
  display: block; margin-bottom: 10px;
  font-family: var(--font-serif); font-size: 16px; color: var(--leaf-deep); letter-spacing: .06em;
}
.req, .opt {
  display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 2px;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .1em; vertical-align: 2px;
}
.req { background: var(--nectar-deep); color: #fff; }
.opt { border: 1px solid var(--rule); color: var(--ink-soft); }
.field__help { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-soft); }

.input, .textarea, .select {
  width: 100%; padding: 13px 15px;
  font-family: var(--font-sans); font-size: 16px; line-height: 1.7; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus, .file:focus {
  outline: 0; border-color: var(--leaf-mid); box-shadow: 0 0 0 3px rgba(169, 201, 140, .35);
}
.textarea { min-height: 190px; resize: vertical; }
.input--short { max-width: 360px; }

/* チェックボックス */
.checks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.check {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 15px; background: #fff;
  border: 1px solid var(--rule); border-radius: 2px;
  font-size: 15px; line-height: 1.7; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.check:hover { border-color: var(--leaf-mid); }
.check input { flex: none; width: 18px; height: 18px; margin: .35em 0 0; accent-color: var(--leaf); }
.check input:checked ~ span { color: var(--leaf-deep); }
.check:has(input:checked) { border-color: var(--leaf-mid); background: rgba(169, 201, 140, .16); }

/* 添付ファイル */
.file {
  width: 100%; padding: 13px 15px; font-family: var(--font-sans); font-size: 15px;
  background: #fff; border: 1px dashed var(--rule); border-radius: 2px; cursor: pointer;
}
.file::file-selector-button {
  margin-right: 14px; padding: 7px 16px; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; color: var(--leaf-deep);
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 2px;
}
.file::file-selector-button:hover { background: var(--paper-3); }

/* 同意 */
.agree {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px 22px; background: var(--paper-2);
  border: 1px solid var(--rule); border-radius: 2px;
  font-size: 15px; line-height: 1.85; cursor: pointer;
}
.agree input { flex: none; width: 19px; height: 19px; margin: .3em 0 0; accent-color: var(--leaf); }

.form__submit { text-align: center; margin-top: 48px; }
.form__submit .btn { min-width: 260px; }
.form__note { margin: 16px 0 0; font-size: 13px; color: var(--ink-soft); }

/* 人には見えない、機械よけの欄 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 位置を指す地図まわり */
.report-map-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.btn--tiny {
  padding: 8px 18px; font-size: 13.5px; letter-spacing: .06em;
  background: var(--paper-2); border: 1px solid var(--rule); color: var(--leaf-deep);
  border-radius: 2px; cursor: pointer; font-family: var(--font-sans);
}
.btn--tiny:hover { background: var(--paper-3); }
.btn--tiny:disabled { opacity: .55; cursor: default; }
#report-latlng { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
#report-latlng b { font-family: var(--font-latin); font-style: italic; font-size: 15px; color: var(--leaf-deep); }

/* ---------- 地図（樹のMAP） ---------- */
.map-box { position: relative; margin: 0 0 22px; }
.map {
  height: clamp(380px, 58vh, 560px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--rule-soft);
  z-index: 1;   /* ヘッダー（z-index:100）より必ず下に */
}
.map--compact { height: clamp(360px, 52vh, 480px); }
.map--fallback {
  display: grid; place-items: center; padding: 30px; text-align: center;
  color: var(--ink-soft); font-size: 15px;
}
.map-note { margin: 0; font-size: 13.5px; color: var(--ink-soft); letter-spacing: .03em; }

/* 葉のかたちのピン */
.pin { background: none; border: 0; }
.pin svg { filter: drop-shadow(0 2px 3px rgba(46, 42, 36, .35)); }
.pin__no {
  position: absolute; left: 50%; top: -9px; transform: translateX(-50%);
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--nectar-deep); color: #fff;
  border: 1px solid var(--paper); border-radius: 10px;
  font-family: var(--font-latin); font-style: italic; font-size: 12px; line-height: 1;
}

/* ふきだし */
.pop .leaflet-popup-content-wrapper {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 2px;
  box-shadow: 0 8px 24px rgba(46, 42, 36, .22);
}
.pop .leaflet-popup-content { margin: 16px 18px; font-family: var(--font-sans); line-height: 1.85; }
.pop .leaflet-popup-tip { background: var(--paper); border: 1px solid var(--rule); }
.pop__tag {
  display: inline-block; margin-bottom: 8px; padding: 2px 9px;
  border: 1px solid var(--leaf-young); border-radius: 2px;
  font-size: 11px; letter-spacing: .12em; color: var(--leaf);
}
.pop__name {
  display: block; font-family: var(--font-serif); font-size: 16px;
  color: var(--leaf-deep); line-height: 1.6; margin-bottom: 6px;
}
.pop__note { display: block; font-size: 13.5px; color: var(--ink-soft); }

.leaflet-container .leaflet-control-attribution {
  background: rgba(250, 247, 238, .9); color: var(--ink-soft);
  font-family: var(--font-sans); font-size: 11px;
}
.leaflet-container .leaflet-control-attribution a { color: var(--leaf); }

/* 地点リスト */
.spots { list-style: none; padding: 0; margin: 0; }
.spots li { margin: 0; border-bottom: 1px solid var(--rule-soft); }
.spots li:first-child { border-top: 1px solid var(--rule-soft); }
.spot {
  width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: left;
  padding: 20px 4px; background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; transition: background .25s;
}
.spot:hover, .spot:focus-visible { background: rgba(169, 201, 140, .14); }
.spot__no {
  flex: none; width: 1.9em; height: 1.9em; margin-top: .15em;
  display: grid; place-items: center;
  border: 1px solid var(--leaf-mid); border-radius: 50%;
  font-family: var(--font-latin); font-style: italic; font-size: .95em; color: var(--leaf);
}
.spot__name { display: block; font-family: var(--font-serif); color: var(--leaf-deep); font-size: 16.5px; }
.spot__note { display: block; font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.spot__meta { display: block; font-size: 13px; color: var(--leaf-mid); letter-spacing: .06em; margin-top: 3px; }
.spot__wip {
  display: inline-block; margin-left: 10px; padding: 1px 8px; vertical-align: 2px;
  border: 1px dashed var(--rule); border-radius: 2px;
  font-family: var(--font-sans); font-style: normal; font-size: 11px;
  letter-spacing: .08em; color: var(--ink-soft);
}
.pop__meta { display: block; font-size: 12.5px; color: var(--leaf-mid); letter-spacing: .06em; margin-bottom: 6px; }
.pop__tag--wip { border-style: dashed; border-color: var(--rule); color: var(--ink-soft); }
.spot--area { padding: 20px 4px; display: flex; gap: 16px; }
.spot--area .spot__no {
  border-style: dashed; color: var(--leaf-mid);
  font-family: var(--font-sans); font-style: normal; font-size: .74em; letter-spacing: .04em;
}

/* 準備中の札 */
.soon {
  display: inline-block; margin: 0; padding: 20px 44px 18px;
  border: 1px solid var(--rule); border-radius: 2px;
  background: var(--paper-2);
  font-family: var(--font-latin); font-style: italic;
  font-size: clamp(24px, 3.4vw, 32px); letter-spacing: .06em;
  color: var(--nectar-deep); line-height: 1.2;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--rule);
}
.soon > i {
  display: block; width: 26px; height: 15px; margin: 0 auto 12px;
  background: var(--orn-leaf) center/contain no-repeat; opacity: .8;
}
.soon > span {
  display: block; margin-top: 10px;
  font-family: var(--font-sans); font-style: normal;
  font-size: 14px; letter-spacing: .16em; color: var(--leaf);
}

/* 想定問答 */
.qa { margin: 0; }
.qa__q {
  position: relative; padding: 0 0 0 2.2em; margin: 42px 0 0;
  font-size: clamp(17px, 2vw, 19px); color: var(--leaf-deep); line-height: 1.75;
}
.qa__q:first-child { margin-top: 0; }
.qa__q::before {
  content: "Q"; position: absolute; left: 0; top: .05em;
  width: 1.6em; height: 1.6em; display: grid; place-items: center;
  border: 1px solid var(--leaf-mid); border-radius: 50%;
  font-family: var(--font-latin); font-style: italic; font-size: .92em;
  color: var(--leaf); line-height: 1;
}
.qa__a { position: relative; padding: 0 0 0 2.2em; margin: 14px 0 0; }
.qa__a::before {
  content: "A"; position: absolute; left: 0; top: .05em;
  width: 1.6em; height: 1.6em; display: grid; place-items: center;
  border: 1px solid var(--nectar); border-radius: 50%;
  font-family: var(--font-latin); font-style: italic; font-size: 1.05em;
  color: var(--nectar-deep); line-height: 1;
}
.qa__a p { color: var(--ink-soft); }
.qa__a p:last-child { margin-bottom: 0; }
.qa__q + .qa__a { border-bottom: 1px solid var(--rule-soft); padding-bottom: 32px; }
.qa__a:last-child { border-bottom: 0; padding-bottom: 0; }

@media (max-width: 560px) {
  .qa__q, .qa__a { padding-left: 1.9em; }
}

/* 目的などの番号つきリスト */
.purpose { list-style: none; counter-reset: none; padding: 0; margin: 0 0 1.2em; }
.purpose li { position: relative; padding-left: 2.5em; margin-bottom: 1em; line-height: 1.95; }
.purpose li:last-child { margin-bottom: 0; }
.purpose li > span {
  position: absolute; left: 0; top: .12em;
  width: 1.75em; height: 1.75em; display: grid; place-items: center;
  border: 1px solid var(--leaf-mid); border-radius: 50%;
  font-family: var(--font-latin); font-style: italic; font-size: .95em;
  color: var(--leaf); line-height: 1;
}
.purpose--compact li { padding-left: 2.2em; margin-bottom: .7em; font-size: .96em; }

/* ---------- 15. 箇条書き・注記 ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.7em; margin-bottom: .8em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 13px; background: var(--orn-leaf) center/contain no-repeat; opacity: .75;
}

.note {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  box-shadow: 0 3px 0 -1px var(--rule-soft), 0 -3px 0 -1px var(--rule-soft) inset;
  padding: 28px 4px; font-size: 15px; color: var(--ink-soft); margin: 40px 0;
}
.note p:last-child { margin-bottom: 0; }

.tag { display: inline-block; font-size: 12.5px; letter-spacing: .08em; padding: 3px 11px; border: 1px solid var(--nectar); color: var(--nectar-deep); margin-right: 6px; }
.tag--green { border-color: var(--leaf-mid); color: var(--leaf); }

/* ---------- 16. 年譜 ---------- */
.roadmap { list-style: none; padding: 0; margin: 0; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1px; background: var(--rule); }
.roadmap li { position: relative; padding: 0 0 38px 34px; }
.roadmap li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--leaf-mid);
}
.roadmap li:first-child::before { background: var(--nectar); border-color: var(--nectar); }
.roadmap__year { font-family: var(--font-serif); font-size: 18px; color: var(--leaf-deep); margin-bottom: 6px; letter-spacing: .05em; }
.roadmap__body { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.95; }

/* ---------- 17. お知らせ ---------- */
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.news-list li { border-bottom: 1px solid var(--rule); }
.news-item { display: grid; grid-template-columns: 128px 100px 1fr; gap: 18px; align-items: baseline; padding: 24px 4px; color: var(--ink); }
a.news-item:hover { color: var(--leaf); }
.news-item__date { font-family: var(--font-latin); font-size: 17px; color: var(--ink-soft); letter-spacing: .05em; }
.news-item__title { font-size: 16px; line-height: 1.85; }
.news-body { font-size: 15px; color: var(--ink-soft); margin: 10px 0 0; grid-column: 3; line-height: 1.95; }

/* ---------- 18. 結び ---------- */
.cta { background: var(--leaf-deep); color: #D6DECB; text-align: center; padding: 88px 0; }
.cta__logo { width: 84px; margin: 0 auto 26px; opacity: .92; }
.cta h2 { color: var(--petal-pale); font-size: clamp(22px, 2.9vw, 29px); margin-bottom: 18px; letter-spacing: .06em; }
.cta p { max-width: 32em; margin: 0 auto 30px; font-size: 15.5px; color: #C6D2B9; font-family: var(--font-serif); line-height: 2.05; }

/* ---------- 19. フッター ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--rule); box-shadow: 0 -3px 0 -1px var(--rule-soft) inset; padding: 64px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer__desc { color: var(--ink-soft); font-size: 14px; margin: 18px 0 0; max-width: 26em; line-height: 1.95; }
.footer h3 { font-size: 14.5px; color: var(--leaf-deep); margin-bottom: 16px; font-family: var(--font-sans); font-weight: 700; letter-spacing: .1em; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14.5px; line-height: 1.85; }
.footer a { color: var(--ink); }
.footer a:hover { color: var(--nectar-deep); }
.footer__bottom { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }

/* SNSリンク（控えめに） */
.sns { display: inline-flex; align-items: center; gap: .5em; }
.sns svg { width: 17px; height: 17px; flex: none; }
.sns span { font-family: var(--font-latin); font-size: 15px; letter-spacing: .03em; }

/* ---------- 20. ユーティリティ ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 44px; }
.lead { font-family: var(--font-serif); font-size: 17.5px; line-height: 2.15; }
.small { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--leaf-deep); color: #fff; padding: 10px 18px; }
.skip-link:focus { left: 0; }

/* ---------- 21. レスポンシブ ---------- */

/* タブレット幅では、6項目のナビが1行に収まらない。引き出しメニューに切り替える */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav[data-open="true"] { max-height: 74vh; overflow-y: auto; box-shadow: 0 12px 24px rgba(46,42,36,.09); }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .nav li { border-bottom: 1px solid var(--rule-soft); }
  .nav a { padding: 16px 4px; font-size: 16px; }
  .nav a::after { content: none; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .media, .media--textfirst { grid-template-columns: 1fr; gap: 30px; }
  .media--reverse .media__img { order: 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; line-height: 1.95; }
  .section { padding: 62px 0; }

  .logo__mark { width: 42px; }
  .logo__ja { font-size: 16px; }
  .logo__en { display: none; }

  /* スマホでは写真を上下に見せたいので、枠を少し小さく・下寄りに */
  .hero__inner { min-height: clamp(600px, 88vh, 820px); align-items: end; padding: 120px 0 70px; }
  .hero__box { gap: 20px; width: 100%; }
  .hero__plate { padding: 26px 18px 28px; background: rgba(24,36,23,.40); }
  .hero__logo { width: 132px; margin-bottom: 14px; }
  .hero__latin { font-size: 14px; margin-bottom: 10px; }
  .hero__title { margin-bottom: 14px; }
  .hero__lead { font-size: 14px; line-height: 1.95; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; width: min(100% - 40px, 340px); }
  .hero__actions .btn { justify-content: center; padding: 13px 20px; }
  .hero__cap { right: 0; left: 0; text-align: center; bottom: 12px; font-size: 11.5px; }
  .band__inner { padding: 76px 0; }
  .band__inner--tall { padding: 100px 0; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--rule); padding: 26px; }
  .fact:first-child { border-top: 0; }
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .news-body { grid-column: 1; }
  .panel { padding: 26px 24px; }
  .orn-rule::before, .orn-rule::after { max-width: 90px; }
}

@media (max-width: 560px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 22. 印刷 ---------- */
@media print {
  .header, .nav, .cta, .btn, .hero__cap { display: none !important; }
  .hero__media { position: static; }
  .hero__inner { min-height: 0; padding: 12pt 0; }
  .hero__plate { background: none; border-color: #999; }
  .hero__title, .hero__lead { color: #000; text-shadow: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 12pt 0; }
  .band__media { position: static; }
  .band { color: #000; }
  .band h2, .band__lead { color: #000; text-shadow: none; }
}
