/* ===== FAQ サイト 共通スタイル ===== */
:root {
  --bg: #FAFAF7;
  --bg-elev: #FFFFFF;
  --bg-soft: #F3F1EA;
  --text: #1A1A1F;
  --text-sub: #6B6B72;
  --text-mute: #9A9AA0;
  --border: #E8E6DF;
  --border-strong: #D6D3C9;
  --accent: #1F3A8A;
  --accent-hover: #2749A8;
  --accent-soft: #EEF1FA;
  --highlight: #FFF6D6;
  --success: #2F855A;
  --danger: #B4423A;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20,20,25,.04);
  --shadow: 0 4px 16px rgba(20,20,25,.06);
  --shadow-lg: 0 12px 40px rgba(20,20,25,.10);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a.link { color: var(--accent); }
a.link:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 16px; letter-spacing: .02em;
  color: var(--text);
}
.brand .brand-logo {
  height: 56px; width: auto; display: block;
  object-fit: contain;
}
.brand .brand-divider {
  width: 1px; height: 26px; background: var(--border);
  display: inline-block;
}
.brand .brand-title {
  font-size: 15px; font-weight: 600; color: var(--text-sub);
  letter-spacing: .02em;
}
@media (max-width: 560px) {
  .brand { gap: 10px; }
  .brand .brand-logo { height: 44px; }
  .brand .brand-divider { display: none; }
  .brand .brand-title { display: none; }
}
/* Taller header to accommodate stacked logo */
.site-header .inner { height: 84px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text-sub); font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-soft); color: var(--text); }
.nav a.active { color: var(--accent); background: var(--accent-soft); }
.header-cta {
  padding: 8px 16px; border-radius: 8px;
  background: var(--accent); color: #fff !important;
  font-size: 13.5px; font-weight: 600;
}
.header-cta:hover { background: var(--accent-hover); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 8px;
    background: #fff; border-bottom: 1px solid var(--border);
  }
  .nav.open a { padding: 12px 16px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-soft); }

/* ===== Icons ===== */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

/* ===== Footer ===== */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: #F3F1EA;
  color: var(--text-sub);
  font-size: 13px;
}
.site-footer .footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
.site-footer h5 { color: var(--text); font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a:hover { color: var(--text); }
.site-footer .bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--text-mute);
}
@media (max-width: 720px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-company { grid-column: 1 / -1; }
}

/* Footer company block */
.footer-company .footer-brand {
  display: inline-block; margin-bottom: 16px;
}
.footer-company .footer-logo {
  height: 72px; width: auto; display: block;
  opacity: .95;
}
.footer-company .company-name {
  margin: 0 0 8px; color: var(--text);
  font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
}
.footer-company .company-addr {
  margin: 0 0 14px; font-style: normal;
  color: var(--text-sub); font-size: 12.5px; line-height: 1.75;
}
.footer-company .company-hours {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 10px; font-size: 12px; color: var(--text-sub); line-height: 1.6;
}
.footer-company .company-hours .hours-label {
  display: inline-block; padding: 2px 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; font-size: 11px; font-weight: 600;
  color: var(--text-sub); letter-spacing: .04em;
}
.footer-company .company-hours .hours-value {
  color: var(--text); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.footer-company .company-hours .hours-note {
  color: var(--text-mute); font-size: 11.5px;
}

/* ===== 下層ページ共通レイアウト ===== */
.subpage-hero {
  padding: 56px 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.subpage-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-mute); margin-bottom: 14px;
}
.subpage-hero .breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.subpage-hero .breadcrumb .sep { color: var(--border-strong); }
.subpage-hero .eyebrow {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11.5px; font-weight: 500; letter-spacing: .08em;
  margin-bottom: 12px;
}
.subpage-hero h1 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 8px; letter-spacing: -.01em; font-weight: 700; line-height: 1.35;
}
.subpage-hero .lead {
  color: var(--text-sub); font-size: 14.5px; margin: 0; max-width: 720px; line-height: 1.75;
}

.subpage-body { padding: 48px 0 40px; }

/* Article layout: sticky TOC + prose */
.article-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
}
.article-toc {
  position: sticky; top: 88px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
@media (max-width: 900px) {
  .article-toc {
    position: static; border-left: 0; padding-left: 0;
    background: var(--bg-soft); border-radius: var(--radius);
    padding: 16px 20px;
  }
}
.article-toc h4 {
  font-size: 11.5px; letter-spacing: .1em; color: var(--text-mute);
  text-transform: uppercase; margin: 0 0 12px; font-weight: 600;
}
.article-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc li a {
  display: block; padding: 6px 0; font-size: 13px; color: var(--text-sub);
  line-height: 1.5; transition: color .15s;
  border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px;
}
.article-toc li a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--text-mute); font-size: 11px; margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
.article-toc li a:hover { color: var(--text); }
.article-toc li a.active {
  color: var(--accent); font-weight: 500;
  border-left-color: var(--accent);
}

.prose { max-width: 780px; font-size: 15px; line-height: 1.9; color: var(--text); }
.prose h2 {
  font-size: 20px; font-weight: 700; letter-spacing: -.005em;
  margin: 48px 0 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
  scroll-margin-top: 88px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 16px; font-weight: 700; margin: 28px 0 12px; color: var(--text);
}
.prose p { margin: 0 0 16px; color: var(--text-sub); text-wrap: pretty; }
.prose ol, .prose ul { margin: 0 0 16px; padding-left: 24px; color: var(--text-sub); }
.prose ol > li, .prose ul > li { margin-bottom: 8px; line-height: 1.85; }
.prose ol ol, .prose ol ul, .prose ul ol, .prose ul ul { margin: 8px 0; }
.prose ol { list-style: decimal; }
.prose ol ol { list-style: lower-roman; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose .lead-block {
  padding: 20px 24px; background: var(--bg-soft);
  border-radius: var(--radius); margin: 0 0 32px;
  color: var(--text); font-size: 14.5px; line-height: 1.85;
  border-left: 3px solid var(--accent);
}
.prose .meta-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 12px 0 24px; margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-mute);
}
.prose .meta-row .label { color: var(--text-mute); margin-right: 4px; }
.prose .meta-row .value { color: var(--text); font-weight: 500; }

/* Company profile card */
.profile-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin: 32px 0;
}
.profile-card dl {
  display: grid; grid-template-columns: 200px 1fr;
  margin: 0;
}
@media (max-width: 640px) { .profile-card dl { grid-template-columns: 1fr; } }
.profile-card dt, .profile-card dd {
  padding: 14px 20px; margin: 0;
  border-top: 1px solid var(--border); font-size: 14px;
}
.profile-card dl > dt:first-of-type, .profile-card dl > dt:first-of-type + dd { border-top: 0; }
@media (max-width: 640px) {
  .profile-card dl > dt:first-of-type + dd { border-top: 1px solid var(--border); }
}
.profile-card dt {
  background: var(--bg-soft); color: var(--text-sub);
  font-weight: 500; font-size: 13px;
}
.profile-card dd { color: var(--text); line-height: 1.7; }

/* Story block for CEO message */
.story {
  padding: 32px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 32px;
}
.story .story-title {
  font-size: 13px; letter-spacing: .08em; color: var(--accent);
  text-transform: uppercase; font-weight: 600; margin: 0 0 8px;
}
.story h2 {
  border: 0; padding: 0; margin: 0 0 24px; font-size: 22px; line-height: 1.5;
}
.story .signature {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  text-align: right; font-size: 14px; color: var(--text-sub);
}
.story .signature strong { display: block; color: var(--text); font-size: 16px; margin-top: 2px; }

/* Section article base */
article.policy-section { margin-bottom: 32px; }
.policy-section h3 {
  font-size: 15px; font-weight: 700; margin: 24px 0 10px; color: var(--text);
}

