@charset "UTF-8";
/* ============================================================
   高橋太郎事務所 / Taro Takahashi Home Page — 共通スタイル v5
   設計方針
   ・色は「紺」＋「錆朱」の2色（地は白）。装飾より余白で設計
   ・フォント2種のみ: しっぽり明朝（見出し）/ BIZ UDPゴシック（本文）
   ・本文は1サイズに統一（19px・大きめ）。階層は太さと色で表現
   ・話題の変わり目（旧・空行2つ）は短い区切り線で明示
   ・ヘッダー/フッターはセンター揃えの落ち着いた構成
   ============================================================ */

:root {
  --navy:       #0e3a5f;
  --navy-deep:  #082741;
  --accent:     #b64430;
  --link:       #0e5e8d;
  --ink:        #24292f;
  --muted:      #6b7580;
  --bg:         #ffffff;
  --card:       #f7f9fb;
  --line:       #e3e8ed;
  --sep:        #ccd6df;
  --highlight:  #fdf0c2;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo",
           system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 19px;                 /* 高齢の読者を想定してさらに大きく */
  line-height: 2.05;
  letter-spacing: .02em;
  color: var(--ink);
  background-color: var(--bg);
}

::selection { background: #d3e5f2; }

/* ------------------------------------------------------------
   ヘッダー（センター揃え）
   ------------------------------------------------------------ */
.site-head {
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.brand-row {
  max-width: 880px;
  margin: 0 auto;
  padding: 42px 24px 26px;
  text-align: center;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.brand-ja {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .22em;
  text-indent: .22em;              /* 字間ぶんのセンター補正 */
  color: #fff;
}

.brand-en {
  font-size: 11px;
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  color: #8fafc9;
}

.sitenav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-deep);
}

.navinner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 14px;
}
.navinner::-webkit-scrollbar { display: none; }

.sitenav a {
  flex: 0 0 auto;
  color: #d5e2ee;
  text-decoration: none;
  padding: 16px 18px 13px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.sitenav a:hover   { color: #fff; background: rgba(255,255,255,.07); }
.sitenav a.current { color: #fff; border-bottom-color: var(--accent); }

@media (max-width: 700px) {
  .navinner { justify-content: flex-start; }
  .sitenav { position: relative; }
  .sitenav::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 36px;
    background: linear-gradient(90deg, rgba(8,39,65,0), var(--navy-deep));
    pointer-events: none;
  }
}

/* 波の区切り */
.wave-sep {
  height: 28px;
  margin-top: -1px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0h240v6c-30 14-60 20-90 14S90 2 60 8 15 26 0 18z' fill='%23082741'/%3E%3C/svg%3E")
    repeat-x top / 240px 28px;
}

/* ------------------------------------------------------------
   本文 — 記事レイアウト
   ------------------------------------------------------------ */
.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  overflow-wrap: break-word;
  animation: rise .5s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .content { animation: none; }
}

.block { margin: 0 0 2.4em; }
.block:last-child { margin-bottom: 0; }

/* 話題の変わり目（旧・空行2つ）→ 余白 + 短い区切り線 */
.pgap {
  display: block;
  width: 46px;
  height: 0;
  border-top: 1px solid var(--sep);
  margin: 2.7em auto;
}
/* ブロックの先頭・末尾に来た場合は線を出さない */
.block > .pgap:first-child,
.block > .pgap:last-child { border-top: 0; margin: .8em 0; }

/* ------------------------------------------------------------
   見出し
   ------------------------------------------------------------ */
.kicker {
  margin: 0 0 1em;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--accent);
}

h1.c-heading, h2.c-heading {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.2em;
}

h1.c-heading {
  font-size: 2.15rem;
  letter-spacing: .06em;
  line-height: 1.6;
  padding-bottom: .55em;
  border-bottom: 1px solid var(--line);
  position: relative;
}
h1.c-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 76px; height: 3px;
  background: var(--accent);
}

h2.c-heading {
  font-size: 1.5rem;
  letter-spacing: .05em;
  line-height: 1.7;
  margin-top: 2.8em;
  padding-left: .6em;
  border-left: 4px solid var(--navy);
}

h1.c-heading font, h2.c-heading font {
  font-size: 100% !important;
  color: inherit !important;
}

/* ------------------------------------------------------------
   旧FONTタグ → 統一体系（本文は全て同サイズ。テキスト不変）
   ------------------------------------------------------------ */
font       { font-size: 1em; color: inherit; }
font[size] { font-size: 1em; }

font[size="+2"], font[size="5"],
font[size="+3"], font[size="6"],
font[size="+4"], font[size="7"] { font-weight: 700; color: var(--navy); }

font[color="#ff0000"], font[color="#ff0080"], font[color="#ff00ff"] { color: var(--accent); }
font[color="#ffff00"] { background: var(--highlight); padding: 0 .18em; border-radius: 3px; }

sub { vertical-align: baseline; font-size: inherit; }

u { text-decoration: none; font-weight: 700; }
a u { text-decoration: underline; }

/* ------------------------------------------------------------
   リンク
   ------------------------------------------------------------ */
a {
  color: var(--link);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
a:hover { color: var(--accent); }
a font { color: inherit !important; font-size: inherit !important; }
a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ------------------------------------------------------------
   カード型リンクリスト
   ------------------------------------------------------------ */
.list-lead {
  margin: 0 0 1em;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--muted);
}

.linklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}
@media (min-width: 640px) {
  .linklist { grid-template-columns: 1fr 1fr; }
}

.linklist a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 21px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.linklist a::after {
  content: "→";
  margin-left: auto;
  color: var(--accent);
  font-weight: 400;
  transition: transform .15s;
}
.linklist a:hover { border-color: var(--navy); background: #f2f6fa; }
.linklist a:hover::after { transform: translateX(4px); }
.linklist a font { color: inherit !important; font-size: inherit !important; }
.linklist .badge { flex: 0 0 auto; }

/* ------------------------------------------------------------
   画像
   ------------------------------------------------------------ */
img { max-width: 100%; height: auto; }

img.photo {
  display: block;
  margin: 1.2em auto 2.2em;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(14, 58, 95, .14);
}

/* ------------------------------------------------------------
   表
   ------------------------------------------------------------ */
.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.8em;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.tablewrap > table { max-width: none; width: 100%; }

table {
  max-width: 100%;
  border-collapse: collapse;
  font-size: 1em;
  line-height: 1.9;
}
table[border] td, table[border] th {
  border: 1px solid var(--line);
  padding: 13px 17px;
  vertical-align: top;
}
table[border] tr:nth-child(even) td { background: var(--card); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.8em 0; }

/* ------------------------------------------------------------
   フッター（センター揃え）
   ------------------------------------------------------------ */
.site-foot {
  background: var(--navy-deep);
  padding: 46px 24px 52px;
}
.foot-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 26px;
  margin-bottom: 26px;
}
.foot-nav a {
  color: #c2d3e2;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 0;
}
.foot-nav a:hover { color: #fff; }

.foot-brand {
  color: #e6eef5;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .18em;
  text-indent: .18em;
}
.foot-en {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-indent: .26em;
  text-transform: uppercase;
  color: #7d99b0;
}

.toplink {
  display: inline-block;
  margin-top: 28px;
  padding: 11px 26px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #dce8f2;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.toplink:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ------------------------------------------------------------
   スマホ
   ------------------------------------------------------------ */
@media (max-width: 640px) {
  body { font-size: 18px; line-height: 2.0; }

  .brand-row { padding: 28px 18px 17px; }
  .brand-ja { font-size: 24px; }
  .brand-en { font-size: 10px; }

  .sitenav a { padding: 14px 15px 12px; font-size: 14.5px; }

  .wave-sep { height: 20px; background-size: 180px 20px; }

  .content { padding: 40px 20px 76px; }

  h1.c-heading { font-size: 1.65rem; }
  h2.c-heading { font-size: 1.35rem; }

  .pgap { margin: 2.3em auto; }

  .linklist a { padding: 15px 17px; }
  img.photo { margin: 1em auto 1.8em; border-radius: 8px; }
}
