/* ==========================================================
   株式会社KIKK  コーポレートサイト
   色・書体・余白は :root のトークンで一括管理しています
   ========================================================== */

:root {
  /* Color */
  --paper: #FFFFFF;        /* 背景 */
  --paper-2: #F4F4F2;      /* 面を分けたい箇所 */
  --ink: #161616;          /* 本文・見出し */
  --ink-2: #585858;        /* 補足文 */
  --line: #DCDCDC;         /* 罫線 */
  --accent: #161616;       /* 線・装飾 */
  --accent-text: #6A6A6A;  /* 英字の小見出し */
  --on-dark: #FFFFFF;      /* 濃い背景の上の差し色 */

  /* Type */
  --f-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-latin: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 12vw, 152px);
  --header-h: 76px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 16px; } }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; word-break: auto-phrase; }
.lead, .page-head__lead, .cta__text { word-break: auto-phrase; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 8px 16px; z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- 縦線（装飾の共通パーツ） ---------- */
.ring {
  display: inline-block; flex: none;
  width: 2px; height: 13px; background: var(--ink);
}

/* ---------- 見出しまわり ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-latin);
  font-size: 13px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent-text);
  line-height: 1;
}
.sec-title {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.65;
  letter-spacing: .08em;
  margin-top: 20px;
}
.lead {
  font-family: var(--f-head); font-weight: 500;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 2.1;
  letter-spacing: .08em;
}
.muted { color: var(--ink-2); }
.small { font-size: 13px; line-height: 1.9; }

/* ---------- ボタン・リンク ---------- */
.link-more {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 14px; letter-spacing: .12em;
  text-decoration: none;
  padding-block: 6px;
}
.link-more::after {
  content: ""; width: 40px; height: 1px; background: var(--ink);
  transition: width .4s ease, background-color .4s ease;
}
.link-more:hover::after { width: 64px; background: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 36px;
  border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font: inherit; font-size: 14px; letter-spacing: .16em;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--ink); }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; color: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__en {
  font-family: var(--f-latin); font-size: 21px; font-weight: 400; letter-spacing: .3em;
}
.brand__ja { font-size: 11px; letter-spacing: .2em; color: var(--ink-2); }

.gnav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.gnav a {
  font-size: 14px; letter-spacing: .14em; text-decoration: none;
  position: relative; padding-block: 6px;
}
.gnav a:not(.gnav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.gnav a:not(.gnav__cta):hover::after,
.gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav__cta {
  border: 1px solid var(--ink); padding: 10px 22px !important;
  transition: background-color .3s ease, color .3s ease;
}
.gnav__cta:hover, .gnav__cta[aria-current="page"] { background: var(--ink); color: var(--paper); }

.menu-btn {
  display: none;
  width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor;
  transition: transform .35s ease, top .35s ease, opacity .2s ease;
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 28px; right: 18px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 24px; transform: rotate(35deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 24px; right: 12px; transform: rotate(-35deg); }

.menu-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

/* スマホ用メニュー */
.drawer {
  position: fixed; inset: 0; z-index: 40;
  background: var(--paper);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--f-head); font-weight: 500; font-size: 20px; letter-spacing: .12em;
}
.drawer__nav a small {
  font-family: var(--f-latin); font-size: 13px; letter-spacing: .2em; color: var(--accent-text);
  text-transform: uppercase;
}
.drawer__foot { display: flex; flex-direction: column; gap: 12px; font-size: 12px; color: var(--ink-2); line-height: 1.8; }
.drawer__foot img { height: 22px; width: auto; align-self: flex-start; }

body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .gnav { display: none; }
  .menu-btn { display: block; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__en { font-size: 20px; }
}
@media (min-width: 901px) { .drawer { display: none; } }

/* ==========================================================
   Hero（トップ）
   ========================================================== */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(64px, 10vw, 136px) clamp(72px, 10vw, 144px);
  min-height: min(720px, 84vh);
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; z-index: 1; }
.hero__en {
  font-family: var(--f-latin); font-weight: 300;
  font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--accent-text);
}
.hero__title {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.6;
  letter-spacing: .08em;
}
.hero__sub { font-size: 15px; letter-spacing: .1em; color: var(--ink-2); line-height: 2; word-break: auto-phrase; }
.hero__visual {
  justify-self: end;
  width: min(480px, 100%);
  color: var(--accent);
}
.hero__visual path { fill: none; stroke: currentColor; }
.hero__visual .draw {
  stroke-dasharray: var(--len); stroke-dashoffset: 0;
  animation: draw 2.2s cubic-bezier(.6,.05,.2,1) both;
}
.hero__visual .draw--2 { animation-delay: .3s; }
.hero__visual .fill { fill: var(--accent); stroke: none; opacity: .9; animation: pop 1s 1.6s ease both; transform-origin: center bottom; transform-box: fill-box; }
@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } to { opacity: .9; transform: none; } }

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr; min-height: 0;
    padding-block: 56px 80px;
  }
  .hero__title { font-size: clamp(26px, 7.2vw, 36px); letter-spacing: .06em; }
  .hero__visual {
    position: absolute; right: -30%; top: 12px; width: 80%;
    opacity: .28; z-index: 0;
  }
}

/* ==========================================================
   ページ見出し（下層ページ）
   ========================================================== */
.page-head {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-head__title {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: .14em; line-height: 1.5;
  margin-top: 24px;
}
.page-head__lead { margin-top: 28px; max-width: 36em; color: var(--ink-2); }
.page-head__ring {
  position: absolute; right: calc(var(--gutter) * -1); top: 50%;
  width: clamp(220px, 34vw, 420px); aspect-ratio: 1; max-width: 100%;
  transform: translate(22%, -50%);
  color: var(--accent); opacity: .55; pointer-events: none;
}
.page-head__ring path { fill: none; stroke: currentColor; }
.page-head .wrap { position: relative; }

/* ==========================================================
   セクション共通
   ========================================================== */
.section { padding-block: var(--section); }
.section--flush { padding-top: 0; }   /* 同じ背景色のセクションが続くとき、上の余白を詰める */
.section--tint { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.split {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.prose { display: flex; flex-direction: column; gap: 1.6em; max-width: 38em; }

/* ---------- トップ：Introduction ---------- */
.intro__body { display: flex; flex-direction: column; gap: 40px; }

/* ---------- 事業一覧（トップ） ---------- */
.biz-list { border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.biz-list a {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) 40px;
  align-items: center; gap: 32px;
  padding: clamp(28px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color .3s ease;
}
.biz-list a:hover { background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.biz-list__name { display: flex; flex-direction: column; gap: 10px; }
.biz-list__en {
  font-family: var(--f-latin); font-size: 14px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-text); line-height: 1.2;
}
.biz-list__ja { font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 2vw, 22px); letter-spacing: .1em; line-height: 1.6; }
.biz-list__desc { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.biz-list__arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; justify-self: end;
  transition: border-color .3s ease, transform .3s ease;
}
.biz-list__arrow::before {
  content: ""; width: 7px; height: 7px;
  border-top: 1px solid var(--ink); border-right: 1px solid var(--ink);
  transform: translateX(-2px) rotate(45deg);
}
.biz-list a:hover .biz-list__arrow { border-color: var(--accent); transform: translateX(4px); }
@media (max-width: 720px) {
  .biz-list a { grid-template-columns: 1fr 40px; gap: 12px 16px; }
  .biz-list__name { grid-column: 1; }
  .biz-list__desc { grid-column: 1 / -1; grid-row: 2; }
  .biz-list__arrow { grid-column: 2; grid-row: 1; }
}

/* ---------- 法令遵守（トップの要約） ---------- */
.trust {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink); margin-top: clamp(40px, 5vw, 64px);
}
.trust li {
  padding: 32px clamp(20px, 2.4vw, 32px) 8px 0;
  display: flex; flex-direction: column; gap: 14px;
}
.trust li + li { padding-left: clamp(20px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.trust h3 { font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: .08em; line-height: 1.6; }
.trust p { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.trust .num { font-family: var(--f-latin); font-size: 16px; letter-spacing: .06em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 820px) {
  .trust { grid-template-columns: 1fr; }
  .trust li, .trust li + li { padding: 28px 0; border-left: 0; }
  .trust li + li { border-top: 1px solid var(--line); }
}

/* ---------- 会社情報のサマリー ---------- */
.facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.facts > div {
  display: grid; grid-template-columns: 8em 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.facts dt { color: var(--ink-2); font-size: 13px; letter-spacing: .14em; padding-top: 2px; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
}
.cta .wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px;
  padding-block: clamp(72px, 10vw, 128px);
}
.cta .eyebrow { color: var(--on-dark); }
.cta .ring { border-color: var(--on-dark); }
.cta .ring::after { background: var(--on-dark); }
.cta__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 3vw, 32px); letter-spacing: .1em; line-height: 1.7; margin-top: 20px; }
.cta__text { margin-top: 20px; color: color-mix(in srgb, var(--paper) 72%, var(--ink)); font-size: 14px; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta__tel { display: flex; flex-direction: column; gap: 8px; }
.cta__tel span { font-size: 12px; letter-spacing: .2em; color: color-mix(in srgb, var(--paper) 65%, var(--ink)); }
.cta__tel img { height: 30px; width: auto; align-self: flex-start; }
.cta .btn { border-color: var(--paper); color: var(--paper); }
.cta .btn:hover { background: var(--paper); color: var(--ink); }
.cta__ring {
  position: absolute; right: -6%; bottom: -8%; width: 30%; max-width: 380px; aspect-ratio: 1;
  color: var(--on-dark); opacity: .22; pointer-events: none;
}
.cta__ring path { fill: none; stroke: currentColor; }
@media (max-width: 820px) {
  .cta .wrap { grid-template-columns: 1fr; gap: 40px; }
  .cta__ring { width: 70%; right: -22%; bottom: -6%; }
}

/* ==========================================================
   企業情報
   ========================================================== */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.values li { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid var(--ink); }
.values__en { font-family: var(--f-latin); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); line-height: 1.2; }
.values h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .1em; line-height: 1.6; }
.values p { font-size: 14px; color: var(--ink-2); line-height: 2; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; gap: 40px; } }

.comply { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.comply > li {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 80px);
  padding: clamp(28px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line);
}
.comply h3 { font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: .08em; line-height: 1.7; display: flex; gap: 14px; align-items: baseline; }
.comply h3 .ring { transform: translateY(1px); }
.comply__law { display: block; font-family: var(--f-sans); font-size: 12px; color: var(--accent-text); letter-spacing: .1em; margin-top: 6px; }
.comply__body { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.comply__body ul { display: flex; flex-direction: column; gap: 6px; }
.comply__body li { position: relative; padding-left: 1.4em; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.comply__body li::before { content: ""; position: absolute; left: 0; top: .95em; width: .7em; height: 1px; background: var(--accent); }
@media (max-width: 820px) { .comply > li { grid-template-columns: 1fr; gap: 12px; } }

.notice {
  margin-top: 40px; padding: 24px 28px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: 14px; color: var(--ink-2); line-height: 1.95;
}
.notice strong { color: var(--ink); font-weight: 500; }

/* ==========================================================
   事業内容
   ========================================================== */
.biz-index { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; }
.biz-index a { font-size: 13px; letter-spacing: .1em; text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.biz-index a:hover { color: var(--ink); }

.biz {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px);
  padding-block: clamp(56px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}
.biz:last-child { border-bottom: 0; }
.biz__head { display: flex; flex-direction: column; gap: 18px; }
.biz__en { font-family: var(--f-latin); font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); line-height: 1.2; }
.biz__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .1em; line-height: 1.6; }
.biz__mark { width: 72px; color: var(--accent); margin-top: 12px; }
.biz__mark path { fill: none; stroke: currentColor; }
.biz__body { display: flex; flex-direction: column; gap: 32px; }
.biz__spec { border-top: 1px solid var(--line); }
.biz__spec > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.biz__spec dt { font-size: 13px; letter-spacing: .12em; color: var(--ink-2); padding-top: 1px; }
.biz__spec dd { font-size: 14px; line-height: 1.95; }
.biz__spec ul { display: flex; flex-direction: column; gap: 4px; }
.biz__spec li { position: relative; padding-left: 1.4em; }
.biz__spec li::before { content: ""; position: absolute; left: 0; top: .95em; width: .7em; height: 1px; background: var(--accent); }
.biz__note { font-size: 12px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 820px) {
  .biz { grid-template-columns: 1fr; }
  .biz__mark { display: none; }
}
@media (max-width: 560px) { .biz__spec > div { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================
   会社概要
   ========================================================== */
.profile { border-top: 1px solid var(--ink); }
.profile > div {
  display: grid; grid-template-columns: 11em 1fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.profile dt { font-size: 14px; letter-spacing: .14em; color: var(--ink-2); }
.profile dd { font-size: 15px; line-height: 1.95; }
.profile dd ol { display: flex; flex-direction: column; gap: 2px; counter-reset: biz; }
.profile dd ol li { counter-increment: biz; display: flex; gap: 12px; }
.profile dd ol li::before { content: counter(biz) "."; font-family: var(--f-latin); font-size: 15px; color: var(--accent-text); min-width: 1em; }
.profile .img-text { height: 22px; width: auto; margin-top: 4px; }
.profile .map-link { display: inline-block; margin-top: 8px; font-size: 13px; }
@media (max-width: 640px) {
  .profile > div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .profile dt { font-size: 12px; }
}

/* ==========================================================
   お問い合わせ
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: flex; flex-direction: column; gap: 36px; }
.contact-way { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--ink); }
.contact-way h2 { font-size: 13px; letter-spacing: .18em; color: var(--ink-2); font-family: var(--f-sans); }
.contact-way img { height: 30px; width: auto; align-self: flex-start; }
.contact-way p { font-size: 13px; color: var(--ink-2); line-height: 1.9; }

.form { display: flex; flex-direction: column; gap: 32px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label, .field legend { font-size: 14px; letter-spacing: .1em; display: flex; align-items: center; gap: 10px; padding: 0; }
.req, .opt {
  font-size: 11px; letter-spacing: .1em; line-height: 1; padding: 4px 7px;
  border: 1px solid var(--accent); color: var(--accent-text);
}
.opt { border-color: var(--line); color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--ink); letter-spacing: .04em;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 10px 2px 12px;
  transition: border-color .3s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 180px; resize: vertical; border: 1px solid var(--line); padding: 14px 16px; line-height: 1.9; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 32px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 640px) { .field--row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.choices label {
  cursor: pointer; font-size: 14px; letter-spacing: .06em;
  border: 1px solid var(--line); padding: 10px 16px; gap: 10px;
  transition: border-color .3s ease;
}
.choices input { accent-color: var(--ink); margin: 0; }
.choices label:has(input:checked) { border-color: var(--ink); }
.agree { font-size: 14px; display: flex; align-items: flex-start; gap: 12px; line-height: 1.8; }
.agree input { margin-top: 6px; accent-color: var(--ink); }
.form__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form__msg { font-size: 14px; line-height: 1.9; padding: 16px 20px; border: 1px solid var(--accent); color: var(--ink); }

/* ==========================================================
   プライバシーポリシー
   ========================================================== */
.policy { display: flex; flex-direction: column; gap: 48px; max-width: 46em; }
.policy section { display: flex; flex-direction: column; gap: 14px; }
.policy h2 { font-family: var(--f-head); font-weight: 700; font-size: 19px; letter-spacing: .08em; line-height: 1.6; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.policy p, .policy li { font-size: 14px; line-height: 2; color: var(--ink-2); }
.policy ul { display: flex; flex-direction: column; gap: 4px; }
.policy li { position: relative; padding-left: 1.4em; }
.policy li::before { content: ""; position: absolute; left: 0; top: 1em; width: .7em; height: 1px; background: var(--accent); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
.footer__info { display: flex; flex-direction: column; gap: 24px; }
.footer__addr { font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.footer__license { font-size: 12px; letter-spacing: .06em; color: var(--ink-2); line-height: 1.8; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; align-content: start; }
.footer__nav a { font-size: 13px; letter-spacing: .12em; text-decoration: none; color: var(--ink-2); }
.footer__nav a:hover { color: var(--ink); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-latin); font-size: 13px; letter-spacing: .12em; color: var(--ink-2);
}
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr; } }

/* ==========================================================
   動き：読み込み演出・ページ切り替え・スクロール表示
   ========================================================== */

/* ---------- 最初の読み込み（1回の訪問で1度だけ） ---------- */
.loader { display: none; }
html.is-first .loader {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink);
  animation: loader-out .8s 1.4s cubic-bezier(.7, 0, .2, 1) forwards;
  pointer-events: none;
}
.loader__word { display: flex; gap: .18em; font-family: var(--f-latin); font-weight: 500; font-size: clamp(40px, 7vw, 72px); letter-spacing: .06em; }
.loader__word span { display: inline-block; opacity: 0; transform: translateY(24px); animation: loader-in .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.loader__word span:nth-child(2) { animation-delay: .1s; }
.loader__word span:nth-child(3) { animation-delay: .2s; }
.loader__word span:nth-child(4) { animation-delay: .3s; }
.loader__bar {
  position: absolute; left: 50%; bottom: calc(50% - 64px); width: 120px; height: 2px; margin-left: -60px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  animation: loader-bar .7s .6s cubic-bezier(.6, 0, .2, 1) forwards;
}
@keyframes loader-in { to { opacity: 1; transform: none; } }
@keyframes loader-bar { to { transform: scaleX(1); } }
@keyframes loader-out {
  from { clip-path: inset(0 0 0 0); }
  to   { clip-path: inset(0 0 0 100%); visibility: hidden; }
}
html.is-first .hero__visual .draw { animation-delay: 1.9s; }
html.is-first .hero__visual .draw--2 { animation-delay: 2.1s; }
html.is-first .hero__visual .fill { animation-delay: 2.6s; }

/* ---------- ページ切り替え：黒い帯が横切る ----------
   押すと黒い帯が左から画面を覆い、次のページでは右へ抜けていきます。 */
.sweep {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  animation: kk-cover .5s cubic-bezier(.7, 0, .3, 1) forwards;
}
.sweep--full { animation: kk-sweep 1.1s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes kk-cover { to { transform: scaleX(1); } }
@keyframes kk-sweep {
  0%   { transform: scaleX(0); transform-origin: left; }
  45%  { transform: scaleX(1); transform-origin: left; }
  55%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
html.is-wiping body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--ink); transform-origin: right;
  animation: kk-uncover .6s .05s cubic-bezier(.7, 0, .3, 1) forwards;
}
@keyframes kk-uncover { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- スクロールで順に表示 ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .6, .2, 1), transform .9s cubic-bezier(.2, .6, .2, 1);
  transition-delay: var(--d, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .sec-title.reveal, html.js .page-head__title.reveal { transform: translateY(18px); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 未確定の情報（【】） ---------- */
.tbd { color: #A2452A; }
.cta .tbd { color: #F0B9A6; }

/* ---------- 買取マンへのリンク ---------- */
.ext-link {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  padding: 16px 24px; border: 1px solid var(--ink); text-decoration: none;
  font-size: 14px; letter-spacing: .12em;
  transition: background-color .3s ease, color .3s ease;
}
.ext-link::after { content: "↗"; font-family: var(--f-latin); }
.ext-link:hover { background: var(--ink); color: var(--paper); }
.contact-way .tel-line img { height: 30px; width: auto; }
.contact-way .ext-link { margin-top: 6px; }

/* ---------- ご依頼の流れ ---------- */
.steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink);
}
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px clamp(14px, 1.6vw, 24px) 8px 0; }
.steps li + li { padding-left: clamp(14px, 1.6vw, 24px); border-left: 1px solid var(--line); }
.steps__no { font-family: var(--f-latin); font-weight: 300; font-size: 28px; line-height: 1; color: var(--accent-text); letter-spacing: .04em; }
.steps h3 { font-size: 17px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.steps p { font-size: 13px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .steps__no { grid-row: span 2; font-size: 24px; }
}

/* ---------- 縦書きの見出し（PC） ---------- */
@media (min-width: 901px) {
  .split > div:first-child { display: flex; gap: 28px; align-items: flex-start; }
  .split > div:first-child .eyebrow { writing-mode: vertical-rl; gap: 12px; padding-top: 6px; }
  .split > div:first-child .eyebrow .ring { width: 13px; height: 2px; }
  .split > div:first-child .sec-title {
    writing-mode: vertical-rl; margin-top: 0;
    padding-left: 22px; border-left: 2px solid var(--ink);
    line-height: 1.5; letter-spacing: .14em;
  }
}

/* ---------- 会社概要：2列の表（PC） ---------- */
@media (min-width: 1000px) {
  .profile--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .profile--2col > div { grid-template-columns: 7em 1fr; border-bottom: 0; padding: 18px 0; }
  .profile--2col > div.is-wide { grid-column: 1 / -1; }
}
.profile--2col dt { border-bottom: 2px solid var(--ink); padding-bottom: 10px; align-self: start; color: var(--ink); }
.profile--2col dd { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.map-link.pill {
  display: inline-flex; margin-top: 14px; padding: 6px 26px; border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--f-latin); font-style: italic; font-size: 14px; letter-spacing: .08em; text-decoration: none;
}
.map-link.pill::after { display: none; }
.map-link.pill:hover { background: var(--ink); color: var(--paper); }

/* ---------- ロゴ（文字） ---------- */
.brand__en { font-weight: 500; letter-spacing: .22em; font-size: 24px; }

/* ---------- トップ：3つの英単語 ---------- */
.hero__words {
  justify-self: end; align-self: center;
  display: flex; flex-direction: column; align-items: flex-end; gap: clamp(4px, 1vw, 12px);
  font-family: var(--f-latin); font-weight: 300; line-height: 1.05;
  font-size: clamp(36px, 5.4vw, 76px); letter-spacing: .01em;
}
.hero__words li { overflow: hidden; padding-block: .06em; }
.hero__words span { display: block; transform: translateY(110%); animation: kk-word 1s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero__words li:nth-child(2) span { animation-delay: .12s; }
.hero__words li:nth-child(3) span { animation-delay: .24s; color: transparent; -webkit-text-stroke: 1px var(--ink); }
@keyframes kk-word { to { transform: none; } }
html.is-first .hero__words span { animation-delay: 1.9s; }
html.is-first .hero__words li:nth-child(2) span { animation-delay: 2.02s; }
html.is-first .hero__words li:nth-child(3) span { animation-delay: 2.14s; }
@media (max-width: 900px) {
  .hero__words { justify-self: start; align-items: flex-start; font-size: clamp(30px, 9vw, 44px); margin-top: 8px; }
}
.page-head { border-bottom-color: var(--ink); }
.biz__en { letter-spacing: .16em; }
.hero__words li { white-space: nowrap; text-align: right; }
@media (max-width: 900px) { .hero__words li { text-align: left; } }
@media (min-width: 901px) { .hero__words { font-size: clamp(34px, 4.6vw, 64px); } }
@media (min-width: 1000px) { .profile--2col { grid-template-columns: 1.5fr 1fr; } }
.profile--2col .img-text { height: 19px; }
.cta .ring { background: var(--on-dark); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
