@charset "UTF-8";
/* INARIbi — base tokens / layout / header / footer
   デザイン規約は デザインシステム.md を参照。色・フォントを増やさないこと。 */

:root {
  --ink: #221815;          /* 本文・見出し（ロゴの墨色） */
  --ink-strong: #0E0000;   /* ロゴマークの黒 */
  --muted: #6B6560;        /* 補助テキスト */
  --accent: #D80C18;       /* 朱赤（ロゴ準拠・アクセントはこの1色のみ） */
  --accent-dark: #A80912;
  --bg: #FFFFFF;
  --bg-subtle: #F7F6F4;    /* 和紙色の淡面 */
  --line: #E3E0DC;
  --line-strong: #C9C4BE;
  --maxw: 1160px;
  --gut: 24px;
  --radius: 4px;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.9;
  font-feature-settings: "palt"; letter-spacing: .02em;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .04em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
table { border-collapse: collapse; width: 100%; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: 96px; }
.section--subtle { background: var(--bg-subtle); }
.section--tight { padding-block: 64px; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 12px;
}
.section-title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 16px; word-break: auto-phrase; }
.section-lead { color: var(--muted); max-width: 46em; margin-bottom: 40px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.note { font-size: 13px; color: var(--muted); }
.br-sp { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 700; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn::after { content: "→"; font-size: 13px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(6px);
}
.site-header.is-scrolled { box-shadow: 0 1px 12px rgba(34,24,21,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo img { height: 34px; width: auto; }
.header-right { display: flex; align-items: center; gap: 32px; }
.gnav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.gnav a { font-size: 14px; font-weight: 500; padding-block: 6px; position: relative; }
.gnav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s;
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { right: 0; }
.gnav-sp-cta { display: none; } /* PCではヘッダーCTAボタンがあるため隠す */
.header-cta { padding: 11px 22px; font-size: 14px; }

/* 言語切替：現在の言語だけを控えめに出し、押すと展開する。
   朱赤は使わない（アクセントはCTAボタンに集中させるため）。 */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: none; border: 0; padding: 6px 2px; font: inherit;
  font-size: 12px; color: var(--muted); letter-spacing: .02em; transition: color .2s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn .ico { width: 15px; height: 15px; flex: none; }
.lang-btn .chev { width: 10px; height: 10px; flex: none; transition: transform .25s; }
.lang.is-open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; display: none;
  min-width: 150px; margin: 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.lang.is-open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 9px 16px; font-size: 13px; color: var(--muted); }
.lang-menu a::after { display: none; }
.lang-menu a:hover { background: var(--bg-subtle); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span { position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--ink); transition: .25s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-strong); color: #EDEAE7; padding-block: 64px 32px; }
.site-footer a { color: #EDEAE7; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer-logo img { height: 76px; width: auto; }
.footer-addr { font-size: 13px; line-height: 2; color: #B7B0AB; margin-top: 20px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-nav h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; color: #8E8781; margin-bottom: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #322A27; margin-top: 48px; padding-top: 24px; font-size: 12px; color: #8E8781;
}
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .gnav {
    position: fixed; inset: 76px 0 auto; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 24px; display: none;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--line); }
  .gnav a { display: block; padding: 16px 0; font-size: 15px; }
  .gnav a::after { display: none; }
  .gnav-sp-cta { display: block; }
  .gnav-sp-cta a { color: var(--accent); font-weight: 700; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  /* SPでは地球アイコンだけにして、ハンバーガーの隣に置く */
  .lang-btn .lang-label, .lang-btn .chev { display: none; }
  .lang-btn { padding: 10px 6px; }
  .lang-btn .ico { width: 18px; height: 18px; }
}
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.85; }
  .section { padding-block: 64px; }
  .grid--2 { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .br-pc { display: none; }
  .br-sp { display: inline; }
}
