@charset "UTF-8";
/* INARIbi — components（ヒーロー / カード / 表 / ニュース / フォーム など） */

/* ---------- hero (top) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
/* .wrap と併用するため max-width は上書きせず、中身に幅制限をかける */
.hero-inner { position: relative; z-index: 1; padding-block: clamp(72px, 11vw, 140px); }
.hero-inner > * { max-width: 42em; }
.hero h1 { font-size: clamp(30px, 5.4vw, 56px); line-height: 1.45; word-break: auto-phrase; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { margin-top: 28px; font-size: clamp(15px, 1.7vw, 17px); color: var(--muted); word-break: auto-phrase; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mark {
  position: absolute; right: 2%; bottom: -6%; width: min(34%, 400px); opacity: .05;
  pointer-events: none; user-select: none;
}
.hero-rule { position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--accent); }

/* ---------- page hero (下層) ---------- */
.page-hero { background: var(--bg-subtle); border-bottom: 1px solid var(--line); padding-block: 64px 56px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero p { margin-top: 20px; color: var(--muted); max-width: 44em; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "／"; margin-left: 8px; color: var(--line-strong); }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--ink); }
a.card:hover { transform: translateY(-2px); }
.card-num { font-family: var(--serif); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.card h3 { font-size: 20px; margin: 12px 0 14px; }
.card p { font-size: 15px; color: var(--muted); }
.card .btn, .card .card-link { margin-top: auto; padding-top: 20px; }
.card-link { font-size: 14px; font-weight: 700; color: var(--accent); }
.card-link::after { content: " →"; }

/* 数字（実績） */
.stat { text-align: center; padding: 24px 16px; }
.stat dt { font-size: 13px; color: var(--muted); }
.stat dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(32px, 5vw, 46px); line-height: 1.2; }
.stat dd span { font-size: .5em; margin-left: 4px; }

/* 価値・特徴リスト */
.feature { border-top: 2px solid var(--ink); padding-top: 20px; }
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }

/* 引用・注記（塗り箱にしない＝左罫のみ） */
.callout { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; color: var(--muted); font-size: 15px; }

/* ---------- 定義表（会社概要など） ---------- */
.deftable th, .deftable td { border-bottom: 1px solid var(--line); padding: 18px 8px; text-align: left; vertical-align: top; font-size: 15px; }
.deftable th { width: 200px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.deftable td { color: var(--muted); }

/* ---------- 手順（ステップ） ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 32px 56px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-size: 14px; color: var(--accent); width: 36px; height: 36px;
  border: 1px solid var(--accent); border-radius: 50%; display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }

/* 沿革などのタイムライン（連番を出さない版） */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 28px 32px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 24px; bottom: 0; width: 1px; background: var(--line-strong); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 16px; margin-bottom: 4px; }
.timeline p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- ニュース ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px 110px 1fr; gap: 16px; align-items: baseline; padding: 22px 4px; transition: background .2s; }
.news-list a:hover { background: var(--bg-subtle); }
.news-list time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-cat { font-size: 11px; letter-spacing: .08em; border: 1px solid var(--line-strong); color: var(--muted); padding: 3px 10px; border-radius: 999px; text-align: center; }
.news-list p { margin: 0; font-size: 15px; font-weight: 500; }

/* 記事本文 */
.article { max-width: 46em; }
.article h2 { font-size: 22px; margin: 48px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.article h3 { font-size: 18px; margin: 32px 0 12px; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }

/* ---------- 代表メッセージ ---------- */
.message-body { max-width: 44em; }
.message-body p { margin-bottom: 28px; color: var(--muted); }
.message-body strong { color: var(--ink); font-weight: 700; }
.message-lead {
  font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); line-height: 1.7;
  color: var(--ink) !important; margin-bottom: 40px !important; word-break: auto-phrase;
}
.message-sign { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.message-sign span { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.message-layout {
  display: grid; grid-template-columns: minmax(0, 38em) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.message-aside { display: flex; justify-content: center; }
.message-portrait { position: relative; margin: 0; width: 100%; max-width: 340px; }
.message-portrait::before {
  content: ""; position: absolute; z-index: 0; inset: 16% -10% -4% -10%;
  background: radial-gradient(60% 60% at 46% 68%, rgba(216,12,24,.12), rgba(216,12,24,0) 70%);
  pointer-events: none;
}
.message-portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .message-layout { grid-template-columns: 1fr; gap: 0; }
  .message-aside { order: -1; margin-bottom: 24px; }
  .message-portrait { max-width: 240px; }
}

/* ---------- CTA 帯 ---------- */
.cta { background: var(--ink-strong); color: #fff; text-align: center; padding-block: 80px; }
.cta h2 { font-size: clamp(22px, 3.2vw, 32px); color: #fff; }
.cta p { margin: 20px auto 32px; color: #B7B0AB; max-width: 40em; }
.cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- フォーム ---------- */
.form { max-width: 40em; }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field .req { color: var(--accent); font-size: 12px; margin-left: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.field textarea { min-height: 180px; resize: vertical; }
.form-status { margin-top: 16px; font-size: 14px; }
.form-status.is-error { color: var(--accent); }
.hp-field { position: absolute; left: -9999px; }

/* ---------- 法務ページ ---------- */
.legal { max-width: 46em; }
.legal h2 { font-size: 19px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 15px; color: var(--muted); }

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .card { padding: 24px; }
  .news-list a { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .news-cat { justify-self: start; }
  .deftable th, .deftable td { display: block; width: auto; padding: 12px 4px; }
  .deftable th { border-bottom: none; padding-bottom: 0; }
  .hero-mark { width: 70%; opacity: .04; }
}
