/* 下層ページ(活動報告・お問い合わせ・取材・応援する・プライバシーポリシー)の共通スタイル。
   骨組みはトップ(index.html)と同じ3列: 左=固定の本人写真、中央=白い本文列、右=縦ロゴと丸いメニュー */
:root {
  --basecolor: #0F2F87;
  --linecolor: #333333;
  --textcolor: #333333;
  --soft: #55534E;
  --line: rgba(2, 17, 46, 0.15);
  --paper: #FBFAF7;
  --pale: #E9EEF5;
  --yellow: #FFD500;
  --error: #B3261E;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --cond: "Barlow Condensed", sans-serif;
}
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
* { font-family: "Noto Sans JP", sans-serif; box-sizing: border-box; line-height: 1.8; }
body { color: var(--textcolor); background: var(--paper); font-size: 16px; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; border: none; display: block; }
a { transition: 0.3s; color: var(--basecolor); }
:focus-visible { outline: 3px solid var(--basecolor); outline-offset: 2px; }
.out::after { content: " ↗"; content: " ↗" / "（外部サイト）"; font-size: 0.8em; }

#container { width: 100%; display: flex; flex-wrap: nowrap; }

/* ===== 左: 固定の本人写真とページ名(縦書き) ===== */
.bgbox {
  position: fixed;
  z-index: 0;
  width: 100%;
  height: 100dvh;
  top: 0;
  left: 0;
  background: var(--paper);
  overflow: hidden;
}
.bgbox::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30vw;
  background: var(--pale);
}
.portrait {
  position: absolute;
  left: 2vw;
  bottom: 0;
  height: min(92vh, 46vw);
  width: auto;
  max-width: none;
  filter: saturate(0.92);
}
.page-v {
  position: absolute;
  left: 36vw;
  top: 8vh;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 44px);
  letter-spacing: 0.22em;
  line-height: 2;
  color: #1F1E1C;
  margin: 0;
}
.hero-name {
  position: absolute;
  left: 36vw;
  width: calc(14vw - 16px);
  bottom: 5vh;
}
.hero-name p { margin: 0; }
.hero-name .role {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--soft);
}
.hero-name .role::before { content: ""; width: 9px; height: 9px; background: var(--yellow); flex: none; margin-top: 4px; }
.hero-name .nm {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: #1F1E1C;
  margin-top: 4px;
  white-space: nowrap;
}
.hero-name .romaji { font-family: var(--cond); font-weight: 500; font-size: 13px; letter-spacing: 0.42em; color: var(--soft); margin-top: 2px; }

#site-header { width: 50vw; order: 1; height: 100dvh; }

/* ===== 中央: 白い本文列 ===== */
#site-content {
  background: #fff;
  width: 37vw;
  max-width: 480px;
  min-width: 400px;
  order: 2;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.05), -5px 0 10px rgba(0, 0, 0, 0.05);
  min-height: calc(100vh + 20px);
  margin: -10px 0;
  position: relative;
  z-index: 1;
}
main { display: block; }
.page-head { padding: 2.2rem 2rem 0.6rem; }
.crumb { font-size: 0.75rem; color: #767676; margin: 0; letter-spacing: 0.04em; }
.crumb a { color: #767676; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.page-head h1 {
  border-bottom: 3px solid var(--basecolor);
  width: fit-content;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 1.6rem auto 1.6rem;
  padding: 0 0 0.5rem;
  text-align: center;
}
.lead { font-size: 0.95rem; line-height: 1.95; margin: 0 0 0.6rem; }
section { padding: 1.6rem 2rem; position: relative; }
section + section { border-top: 1px solid var(--line); }
.page-head + section, .page-head + .article > section { padding-top: 0.2rem; }
section p, section ul, section ol { margin: 0 0 1em; }
section li { margin-bottom: 0.3em; }
.eyebrow { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; color: var(--basecolor); margin: 0 0 0.2rem; }
section h2 { font-size: 1.12rem; font-weight: 900; color: var(--basecolor); line-height: 1.6; margin: 0 0 0.8rem; }
section h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.6; margin: 1.4rem 0 0.4rem; }
.small { font-size: 0.8rem; color: var(--soft); }
.fine { font-size: 0.78rem; line-height: 1.75; color: var(--soft); }

/* ご確認待ちの箇所 */
.tbd {
  background: rgba(255, 213, 0, 0.28);
  border-bottom: 1px dashed #8a6d00;
  padding: 0 2px;
}
.sample-note {
  font-size: 0.78rem;
  color: #6b5600;
  background: rgba(255, 213, 0, 0.18);
  border-left: 4px solid var(--yellow);
  padding: 0.6rem 0.9rem;
  margin: 0 0 1.2rem;
  line-height: 1.7;
}
.smp {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #6b5600;
  background: rgba(255, 213, 0, 0.35);
  padding: 0 6px;
  margin-left: 6px;
  vertical-align: 2px;
  line-height: 1.7;
}

/* ボタン */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 0;
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  background: rgba(15, 47, 135, 0.85);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.95rem 1rem;
  margin: 0.8rem auto;
  width: 100%;
  cursor: pointer;
}
.btn:hover { background: var(--basecolor); }
.btn.sub { background: #fff; color: var(--basecolor); border: 2px solid rgba(15, 47, 135, 0.6); }
.btn.sub:hover { background: rgba(15, 47, 135, 0.06); }
.btn[disabled] { background: #9aa3b8; cursor: default; }

/* 表と定義リスト */
.tbl { width: 100%; border-collapse: collapse; font-size: 0.86rem; margin: 0.4rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.tbl th, .tbl td { padding: 0.55rem 0.5rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-weight: 700; white-space: nowrap; background: rgba(15, 47, 135, 0.04); }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl.wrap th { white-space: normal; width: 34%; }
.tbl td { overflow-wrap: anywhere; }


/* 番号つきの箇条(決まりごと) */
.rules { list-style: none; counter-reset: r; padding: 0; margin: 0 0 1.2rem; border-top: 1px solid var(--line); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 2.2em 1fr; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; margin: 0; }
.rules li::before { content: counter(r, decimal-leading-zero); font-family: var(--cond); font-weight: 600; color: var(--basecolor); }
.rules b { display: block; }

/* 活動報告: 絞り込み・一覧 */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 0.6rem; }
.filters .lbl { font-size: 0.75rem; color: var(--soft); margin-right: 4px; }
.filters button {
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(15, 47, 135, 0.45);
  color: var(--basecolor);
  background: #fff;
  padding: 2px 11px;
  border-radius: 100px;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--basecolor); color: #fff; border-color: var(--basecolor); }
.count { font-size: 0.75rem; color: var(--soft); margin: 0.4rem 0 0; }
.year { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.3em; color: var(--basecolor); margin: 1.4rem 0 0.2rem; }
.alist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.alist li { margin: 0; }
.alist a { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 0.9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--textcolor); }
.alist a:hover { background: rgba(15, 47, 135, 0.03); }
.thumb { width: 88px; height: 66px; object-fit: cover; background: var(--pale); }
.thumb.ph { display: flex; align-items: center; justify-content: center; font-size: 10px; color: #7a8599; }
.meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; align-items: center; font-size: 0.75rem; }
.meta time { letter-spacing: 0.1em; color: #767676; }
.meta .cat { color: var(--basecolor); border: 1px solid currentColor; font-size: 0.68rem; letter-spacing: 0.1em; padding: 0 0.5em; line-height: 1.7; }
.meta .area { font-size: 0.7rem; color: var(--soft); }
.alist .t { display: block; font-size: 0.92rem; line-height: 1.6; margin-top: 0.2rem; }
[hidden] { display: none !important; }

/* 活動報告: 記事 */
.article h1 { font-size: 1.3rem; font-weight: 900; line-height: 1.6; color: #1F1E1C; margin: 0.6rem 0 1rem; text-align: left; border: 0; padding: 0; width: auto; }
.article figure { margin: 0 0 1.4rem; }
.article figure img, .article .ph-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.9); }
.article .ph-photo { display: flex; align-items: center; justify-content: center; background: var(--pale); color: #7a8599; font-size: 0.8rem; }
.article figcaption { font-size: 0.75rem; color: #767676; margin-top: 0.4rem; line-height: 1.6; }
.article .body p { font-size: 1rem; line-height: 1.95; margin: 0 0 1.1em; }
.article .body h2 { font-size: 1.05rem; margin: 1.8rem 0 0.6rem; }
.next-box { margin: 1.6rem 0 0.4rem; padding: 1.1rem 1.2rem 0.6rem; background: rgba(15, 47, 135, 0.05); }
.next-box p { font-size: 0.86rem; margin: 0 0 0.2rem; }
.next-box .row { display: flex; gap: 8px; }
.next-box .row .btn { font-size: 0.86rem; padding: 0.7rem 0.4rem; }
.pager { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; padding-top: 1rem; }
.pager a { text-decoration: none; max-width: 48%; }

/* フォーム */
.form fieldset { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
.form legend, .form .lab { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 0.4rem; padding: 0; }
.req, .opt { font-size: 0.68rem; font-weight: 500; margin-left: 0.5em; padding: 0 0.45em; border-radius: 2px; vertical-align: 1px; }
.req { color: #fff; background: var(--error); }
.opt { color: var(--soft); border: 1px solid #c9cdd6; }
.field { margin: 0 0 1.3rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #8a8f99;
  border-radius: 3px;
  background: #fff;
  color: var(--textcolor);
}
.form textarea { min-height: 11rem; resize: vertical; line-height: 1.7; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--basecolor); outline-offset: 0; border-color: var(--basecolor); }
.form [aria-invalid="true"] { border-color: var(--error); background: #fff8f7; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.choices label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.86rem;
  border: 1px solid #c9cdd6;
  padding: 0.55rem 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  line-height: 1.5;
}
.choices label:has(input:checked) { border-color: var(--basecolor); background: rgba(15, 47, 135, 0.05); }
.choices input { accent-color: var(--basecolor); margin: 0; flex: none; }
.hint { font-size: 0.75rem; color: var(--soft); margin: 0.3rem 0 0; line-height: 1.6; }
.err { font-size: 0.78rem; color: var(--error); margin: 0.3rem 0 0; }
.err:empty { display: none; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.86rem; }
.consent input { accent-color: var(--basecolor); margin-top: 0.4em; flex: none; width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0 0 0.6rem; min-height: 65px; }
.form-status { font-size: 0.9rem; padding: 0.8rem 1rem; margin: 0.6rem 0 0; border-left: 4px solid var(--basecolor); background: rgba(15, 47, 135, 0.05); }
.form-status.is-error { border-color: var(--error); background: #fff4f3; color: var(--error); }
.form-status:empty { display: none; }
.done h2 { margin-top: 0.4rem; }

/* 取材: プロフィールと実績 */

.record { list-style: none; padding: 0; margin: 0 0 1rem; border-top: 1px solid var(--line); }
.record li { padding: 0.6rem 0.1rem; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--soft); line-height: 1.7; margin: 0; }
.record b { display: block; font-size: 0.9rem; color: var(--textcolor); font-weight: 700; overflow-wrap: anywhere; }
.profile-text { font-size: 0.88rem; line-height: 1.9; background: rgba(15, 47, 135, 0.04); padding: 0.9rem 1rem; }
.more { margin: 0 0 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more summary { cursor: pointer; padding: 0.7rem 0.2rem; font-weight: 700; font-size: 0.88rem; color: var(--basecolor); }
.more[open] summary { padding-bottom: 0.4rem; }

/* プライバシーポリシーなど長い文書 */
.doc h2 { font-size: 1rem; margin: 2rem 0 0.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.doc h2:first-of-type { margin-top: 0.4rem; padding-top: 0; border-top: 0; }
.doc p, .doc li { font-size: 1rem; line-height: 1.9; }
.doc ol, .doc ul { padding-left: 1.4em; }

/* footer */
footer { padding: 2rem; border-top: 1px solid var(--line); }
footer p { margin: 0; }
footer .foot-name { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; letter-spacing: 0.14em; color: var(--basecolor); }
footer .official { font-size: 0.78rem; letter-spacing: 0.1em; margin: 0.2rem 0 1rem; }
#footmenu { display: flex; flex-wrap: wrap; gap: 6px 1.4rem; font-size: 0.78rem; }
#footmenu a { color: var(--textcolor); text-decoration: none; }
#footmenu a:hover { text-decoration: underline; }
.copyright { font-size: 0.72rem; color: #767676; margin-top: 1rem; }
#pagetop { z-index: 10; position: sticky; bottom: 2rem; padding: 0 2rem; margin: 0; text-align: right; pointer-events: none; }
#pagetop a {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 47, 135, 0.8);
  border-radius: 4rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  pointer-events: auto;
}
#pagetop a:hover { background: var(--basecolor); }

/* ===== 右: 縦ロゴと丸いメニュー ===== */
#menubox { width: 13vw; min-width: 120px; min-height: 640px; order: 3; position: relative; }
#mainmenu .v-logo {
  position: fixed;
  top: 4.5rem;
  right: calc(6.5vw - 0.7em);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  margin: 0;
  z-index: 5;
}
#mainmenu .v-logo a { color: var(--textcolor); text-decoration: none; font-family: inherit; }
#mainmenu .v-logo span { font-family: inherit; font-size: 0.7rem; color: #767676; margin-top: 1em; }
#mainmenu ul { list-style: none; margin: 0; padding: 0; position: fixed; bottom: 1.2rem; right: calc(6.5vw - 2.4em); z-index: 5; }
#mainmenu ul li { display: block; margin-top: 0.5rem; }
#mainmenu ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  background: rgba(15, 47, 135, 0.85);
  width: 4.8em;
  height: 4.8em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
#mainmenu ul li a:hover { background: var(--basecolor); }
#mainmenu ul li a[aria-current] { background: #fff; color: var(--basecolor); box-shadow: inset 0 0 0 2px var(--basecolor); }
body:has(.comp-note) #mainmenu ul { bottom: calc(1.2rem + 24px); }
@media (min-width: 861px) and (max-height: 620px) {
  #mainmenu .v-logo { display: none; }
  #mainmenu ul li { margin-top: 0.3rem; }
  #mainmenu ul li a { width: 4.2em; height: 4.2em; font-size: 11px; }
}

#spbar, #spmenu { display: none; }

.comp-note {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 999;
  background: rgba(42, 42, 40, 0.9);
  color: #CFCCC5;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}

/* ===== タブレット(〜860px): 写真はなし、メニューは右170px ===== */
@media all and (max-width: 860px) {
  #container { flex-wrap: wrap; }
  .bgbox, #site-header { display: none; }
  #site-content { width: calc(100vw - 170px); max-width: calc(100vw - 170px); min-width: 0; margin: 0 auto 0 0; }
  #menubox { width: 170px; margin-left: auto; min-height: 0; }
  #mainmenu .v-logo { display: none; }
  #mainmenu ul { right: 1rem; }
}

/* ===== スマホ(〜640px): 上部バー+メニュー ===== */
@media all and (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  #menubox { display: none; }
  #container { padding-top: 70px; }
  #spbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    z-index: 400;
    padding: 0 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }
  #spbar .brand { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.14em; color: var(--textcolor); text-decoration: none; }
  #spbar .brand span { font-family: var(--serif); font-size: 0.72rem; font-weight: 600; color: #767676; margin-left: 0.4em; letter-spacing: 0.1em; }
  #ocbt {
    flex-direction: column;
    width: 54px;
    height: 54px;
    background: var(--basecolor);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 4rem;
    cursor: pointer;
  }
  #ocbt span { display: block; background: #fff; width: 22px; height: 3px; border-radius: 3px; }
  #spmenu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    background: #fff;
    z-index: 390;
    padding: 1rem 1.5rem 2rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.08);
  }
  body:not(.menuopen) #spmenu { display: none; }
  .menuopen #spmenu { display: block; }
  #spmenu ul { list-style: none; margin: 0; padding: 0 1rem; background: rgba(15, 47, 135, 0.05); }
  #spmenu li a { border-top: 1px solid #ccc; padding: 0.9rem 0.5rem; color: var(--textcolor); text-decoration: none; display: block; font-weight: 500; }
  #spmenu li:first-child a { border-top: none; }
  #spmenu li a[aria-current] { color: var(--basecolor); font-weight: 700; }
  .sp-sns { display: flex; justify-content: center; gap: 1.6rem; padding: 1.2rem 0 0; }
  .sp-sns a { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.22em; color: var(--basecolor); text-decoration: none; }
  #site-content { width: 100%; max-width: 100%; min-width: 0; box-shadow: none; margin: 0; }
  .page-head { padding: 1.6rem 1.5rem 0.4rem; }
  section { padding: 1.4rem 1.5rem; }
  footer { padding: 1.5rem; }
  #footmenu { flex-direction: column; gap: 0.5rem; }
  .choices { grid-template-columns: 1fr; }
}
