/* =================================================================
   about.css
   - /about/ 専用スタイル（<body class="about"> スコープ）
   - PaperMod 既定の header/footer/main コンテナを無効化し、
     about.html 側で定義した独自レイアウトのみ表示する
   ================================================================= */

.about {
  --bg:           #ffffff;
  --bg-soft:      #f7f8f7;
  --ink:          #1a1f1a;
  --ink-2:        #4a4f4a;
  --ink-3:        #6a706a;
  --ink-mute:     #b3b8b3;
  --line:         #e3e5e3;
  --accent-700:   #2a7a3a;
  --accent-600:   #318a45;
  --maxw:         1080px;

  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

.about *  { box-sizing: border-box; }
.about a  { color: inherit; text-decoration: none; }
.about img { max-width: 100%; display: block; }

.about .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* PaperMod 既定の Header / Footer / Main 余白を打ち消す */
.about > header.header,
.about > footer.footer,
.about #site-banner { display: none !important; }
.about .main { padding: 0; max-width: none; margin: 0; }

/* ===== TOP BAR (home/term と共通の見た目) ===== */
.about .topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.about .topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.about .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.about .brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink);
  position: relative; overflow: hidden; flex-shrink: 0;
}
.about .brand-mark::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--accent-600) 55%, var(--accent-600) 62%, transparent 62%),
    linear-gradient(180deg, transparent 68%, var(--accent-600) 68%, var(--accent-600) 72%, transparent 72%);
}
.about .brand-name { font-size: 14px; letter-spacing: .02em; white-space: nowrap; }
.about .brand-sub  { font-size: 11px; color: var(--ink-3); font-weight: 400; margin-top: 1px; }
.about .nav { display: flex; align-items: center; gap: 22px; font-size: 13.5px; color: var(--ink-2); }
.about .nav a:hover, .about .nav a.is-current { color: var(--accent-700); }
.about .nav a.is-current { font-weight: 600; }
.about .nav .search-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-soft); white-space: nowrap;
}
.about .ic { width: 14px; height: 14px; stroke-width: 2; }

/* ===== BANNER (above hero) ===== */
.about-banner {
  position: relative;
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.about-banner img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-banner-tagline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 max(24px, calc((100% - 1100px) / 2));
  pointer-events: none;
}
.about-banner-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(20, 50, 60, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-banner-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: #0e2a36;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
@media (max-width: 720px) {
  .about-banner { max-height: 160px; }
  .about-banner img { max-height: 160px; }
  .about-banner-tagline { padding: 0 16px; }
}

/* ===== HERO ===== */
.about-hero {
  padding: 40px 0 40px;
  background:
    radial-gradient(ellipse at top right, rgba(42,122,58,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 65%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
}
.about-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  display: flex; align-items: center; justify-content: center;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-avatar-fallback {
  color: #fff; font-weight: 700; font-size: 36px; letter-spacing: .04em;
  font-family: "Inter", sans-serif;
}

.about .eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-700); font-weight: 600;
  margin-bottom: 8px;
}
.about-title {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 4px 0 14px;
  color: var(--ink);
}
.about-lede {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 18px;
}
.about-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.about-chip {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; color: var(--ink-3);
  background: var(--bg);
}

@media (max-width: 720px) {
  .about-hero { padding: 40px 0 32px; }
  .about-hero-grid { grid-template-columns: 100px 1fr; gap: 20px; }
  .about-avatar { width: 100px; height: 100px; }
  .about-avatar-fallback { font-size: 28px; }
  .about .topbar-inner { height: 56px; }
  .about .brand-name { font-size: 13px; }
  .about .nav { gap: 14px; font-size: 12.5px; }
  .about .nav .lk { display: none; }
  .about .nav .search-btn { padding: 5px 10px; }
}

/* ===== SECTION ===== */
.about-section {
  padding: 56px 0;
}
.about-section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--ink);
  position: relative;
  padding-left: 14px;
}
.about-h2::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 4px; height: 22px;
  border-radius: 2px;
  background: var(--accent-700);
}
.about-sub {
  color: var(--ink-3);
  font-size: 13.5px;
  margin: 0 0 24px;
}

/* ===== PROSE ===== */
.about-prose p {
  margin: 0 0 16px;
  color: var(--ink-2);
  line-height: 1.95;
}
.about-prose p:last-child { margin-bottom: 0; }

/* ===== PILLAR GRID ===== */
.about-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.about-pillar {
  display: flex; flex-direction: column;
  padding: 20px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.18s ease;
}
.about-pillar:hover {
  border-color: var(--accent-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.about-pillar-eyebrow {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-700); font-weight: 600;
  margin-bottom: 6px;
}
.about-pillar-name {
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.about-pillar-desc {
  font-size: 13px; color: var(--ink-3); line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
}
.about-pillar-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.about-pillar-arrow { font-size: 16px; color: var(--accent-700); }

/* ===== POLICY LIST ===== */
.about-policy {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.about-policy li {
  padding: 16px 18px;
  background: var(--bg);
  border-left: 3px solid var(--accent-700);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.about-policy strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* ===== CONTACT ===== */
.about-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.about-contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.15s ease;
}
.about-contact-card:hover {
  border-color: var(--accent-700);
  transform: translateY(-1px);
}
.about-contact-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent-700);
  flex-shrink: 0;
}
.about-contact-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.about-contact-handle { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* 単一カード（X一本化）レイアウト */
.about-contact-single { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
.about-contact-card-lg { padding: 20px 24px; }
.about-contact-card-lg .about-contact-icon { width: 46px; height: 46px; }
.about-contact-card-lg .about-contact-name { font-size: 15px; }
.about-contact-card-lg .about-contact-handle { font-size: 13px; }
.about-contact-note { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }

/* ===== DISCLAIMER ===== */
.about-disclaimer p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.85;
  margin: 0 0 12px;
}
.about-disclaimer p:last-child { margin-bottom: 0; }

/* ===== AD SLOT ===== */
.about .ad-wrap { padding: 24px 0 48px; }
.about .ad-slot {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--ink-mute);
  font-size: 11px;
  margin: 0 auto;
}
.about .ad-banner { max-width: 728px; height: 90px; }

/* ===== FOOTER ===== */
.about-footer {
  background: #0e1410;
  color: #c8cfc8;
  padding: 32px 0;
  margin-top: 24px;
}
.about-footer .foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px;
}
.about-footer .foot-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600;
}
.about-footer .foot-links { display: flex; gap: 18px; color: #c8cfc8; }
.about-footer .foot-links a:hover { color: #fff; }
.about-footer .foot-copy { color: #828982; font-size: 12px; }
