/* Lily & Sons Inc. — サイトの共通の見た目（L&S デザインシステム v1.33 の値）
   外からの読み込みなし。色と間隔は 90_System/design/tokens.json の brands.ls から写した。 */
:root {
  --paper: #F5F5F7; --white: #FFFFFF; --ink: #1D1D1F; --graphite: #48484A;
  --stone: #636366; --silver: #8E8E93; --mist: #E3E3E6; --fog: #F2F2F5; --volt: #E2F25C;
  --sans: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --latin: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.85; }
.ph { display: inline-block; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--silver); }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ヘッダー: 印 → 細い縦線 → 社名（デザインシステム §6.1 の組み方） */
.site-header { border-bottom: 1px solid var(--mist); }
.header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.lockup { display: inline-flex; align-items: center; text-decoration: none; }
.lockup .mark { width: 34px; height: 34px; display: block; }
.lockup .rule { width: 1px; height: 26px; background: var(--silver); margin: 0 16px; }
.lockup .name { font-family: var(--latin); font-weight: 300; font-size: 21px; letter-spacing: 0.08em; white-space: nowrap; line-height: 1; }
.nav, .footer-nav, .rows, .links { list-style: none; margin: 0; padding: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--graphite); padding: 8px 0; display: inline-block; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* 見出し */
.kicker { margin: 0 0 16px; font-size: 13px; font-weight: 500; color: var(--graphite); letter-spacing: 0.08em; }
h1 { margin: 0; font-size: 34px; line-height: 1.5; font-weight: 600; letter-spacing: 0.01em; }
h2 { margin: 0 0 24px; font-size: 14px; font-weight: 500; color: var(--graphite); letter-spacing: 0.08em; }
h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.6; }
p { margin: 0 0 16px; }
.lead { margin: 24px 0 0; font-size: 17px; color: var(--graphite); }
.hero { padding-top: 96px; padding-bottom: 96px; }
.pagehead { padding-top: 72px; padding-bottom: 56px; }
.block { padding-top: 40px; padding-bottom: 56px; border-top: 1px solid var(--mist); }
.note { font-size: 14px; color: var(--stone); margin-top: 16px; }
.more { margin: 24px 0 0; font-size: 15px; }

/* 差し色は 1 ページに 1 組（ボタンか「準備中」の札）。上の文字は墨だけ */
.btn { display: inline-block; margin-top: 16px; padding: 12px 28px; background: var(--volt); color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 8px; }
.btn:hover { background: #D8E84F; }
.state { display: inline-block; padding: 2px 10px; background: var(--fog); color: var(--graphite); font-size: 13px; font-weight: 500; border-radius: 6px; white-space: nowrap; }
.tbd { display: inline-block; padding: 2px 10px; background: var(--fog); color: var(--graphite); font-size: 13px; font-weight: 500; border-radius: 6px; white-space: nowrap; }

/* 並び */
.rows > li { padding: 24px 0; border-top: 1px solid var(--mist); }
.rows > li:first-child { border-top: 0; padding-top: 0; }
.rows > li:last-child { padding-bottom: 0; }
.rows p { margin: 0; color: var(--graphite); }
.links > li { border-top: 1px solid var(--mist); }
.links > li:first-child { border-top: 0; }
.links a { display: block; padding: 16px 0; text-decoration: none; font-weight: 500; }
.links a::after { content: "→"; float: right; color: var(--silver); }
.links a:hover::after { color: var(--ink); }
.plain, .steps { margin: 0; padding-left: 1.4em; }
.plain li, .steps li { margin-bottom: 8px; }
.person { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.person span { margin-left: 16px; font-size: 13px; font-weight: 400; color: var(--stone); }
.mail { font-size: 20px; font-weight: 500; }

/* 項目と値 */
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 8px 24px; padding: 16px 0; border-top: 1px solid var(--mist); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-weight: 500; color: var(--graphite); font-size: 14px; padding-top: 2px; }
.facts dd { margin: 0; }
.facts.compact > div { padding: 12px 0; }
.facts.compact > div:first-child { padding-top: 0; }

/* 表（公告） */
.tablewrap { overflow-x: auto; margin-top: 24px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
caption { text-align: left; font-weight: 600; padding-bottom: 12px; }
caption span { float: right; font-weight: 400; font-size: 13px; color: var(--stone); }
th, td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--mist); text-align: left; vertical-align: top; font-weight: 400; }
thead th { font-size: 13px; font-weight: 500; color: var(--graphite); border-bottom: 1px solid var(--silver); white-space: nowrap; }
table.list tbody th { white-space: nowrap; font-weight: 600; }
table.bs td, table.bs thead th:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
table.bs tr.sec th { font-weight: 600; background: var(--paper); padding-left: 12px; }
table.bs tr.sub th { padding-left: 1.5em; }
table.bs tr.sub2 th { padding-left: 3em; }
table.bs tr.sub3 th { padding-left: 4.5em; }
ol.notes { padding-left: 1.5em; list-style: decimal; }
ol.notes ol { margin-top: 4px; list-style: none; padding-left: 0; }
table.bs tr.total th, table.bs tr.total td { font-weight: 600; border-bottom-color: var(--silver); }
.period { scroll-margin-top: 24px; }

/* フッター */
.site-footer { background: var(--paper); border-top: 1px solid var(--mist); margin-top: 40px; }
.footer-row { padding-top: 40px; padding-bottom: 40px; font-size: 13px; color: var(--stone); }
.footer-name { font-family: var(--latin); font-weight: 300; letter-spacing: 0.08em; font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px; }
.footer-nav a { color: var(--graphite); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.copy { margin: 0; }

/* スマホの幅 */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .lockup .mark { width: 28px; height: 28px; }
  .lockup .rule { height: 21px; margin: 0 13px; }
  .lockup .name { font-size: 17px; }
  .nav { gap: 0 20px; font-size: 14px; }
  h1 { font-size: 24px; line-height: 1.6; }
  .lead { font-size: 16px; }
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .pagehead { padding-top: 40px; padding-bottom: 40px; }
  .block { padding-top: 32px; padding-bottom: 40px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  table { font-size: 14px; }
  table.list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.list tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--mist); }
  table.list th, table.list td { display: flex; gap: 16px; border: 0; padding: 4px 0; }
  table.list td::before { content: attr(data-label); flex: 0 0 6em; color: var(--graphite); font-size: 13px; padding-top: 2px; }
}
@media print { .site-header nav, .site-footer, .btn { display: none; } }
