/* ==========================================================
   iino corporate site
   1. Tokens      2. Base        3. Header / Footer
   4. Layout      5. Components  6. Top page
   7. Detail      8. Recruit     9. Contact   10. Utilities
   ========================================================== */

/* 1. Tokens ------------------------------------------------ */
:root {
  --bg: #e7e6e7;
  --ink: #211816;
  --sub: #6b6663;
  --line: #d3d1d1;
  --soft: #dcdadb;
  --card: #f2f1f0;
  --accent: #f2d749;
  --error: #b8322a;

  --font-latin: "Poppins", "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
  --font-ja: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
  --font-head: "reross-quadratic", "Poppins", "Noto Sans JP", sans-serif;  /* 欧文見出し（Adobe Fonts）。縦長版は "reross-rectangular" */
  --font-mob: "reross-quadratic", "Poppins", sans-serif;   /* モビリティ名「iino type-S○○○」専用 */

  /* 角丸（トップと同じ値） */
  --r-hero: clamp(96px, 22vw, 380px);     /* ページ上部の大きな写真・Contact */
  --r-hero-sp: clamp(80px, 30vw, 160px);
  --r-card: clamp(48px, 7vw, 120px);      /* 一覧・本文の写真 */
  --r-card-sp: 40px;

  --max: 1440px;
  --gut: clamp(20px, 4.4vw, 72px);
  --hd: 76px;
  --sec: clamp(88px, 11vw, 170px);
}
@media (max-width: 760px) { :root { --hd: 64px; } }

/* 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-latin); font-size: 15px; line-height: 1.95; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, picture, video { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, .big { word-break: auto-phrase; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[id] { scroll-margin-top: var(--hd); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 3. Header / Footer --------------------------------------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut);
  background: rgba(231, 230, 231, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav a { font-family: var(--font-head); font-weight: 400; font-synthesis: none; font-size: 16px; letter-spacing: .02em; }
.nav a:hover { opacity: .55; }
.nav .nav-cta { background: var(--accent); padding: 8px 18px; border-radius: 999px; font-weight: 500; transition: background .25s, color .25s; }
.nav .nav-cta:hover { opacity: 1; background: var(--ink); color: var(--accent); }
.lang { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; padding-left: 8px; border-left: 1px solid var(--line); }
.lang a { font-size: 14px; opacity: .4; }
.lang a.on { opacity: 1; }
.lang a:hover { opacity: .8; }
.lang span { opacity: .4; }

.menu-btn { display: none; }
/* スマホのヘッダー右側：トップと同じく JP/EN と「Menu」を並べる */
.hd-r { display: flex; align-items: center; gap: 16px; }
.lang--sp { display: none; }
@media (max-width: 760px) {
  .logo img { height: 40px; }
  .menu-btn {
    display: flex; align-items: center; gap: 10px; height: 44px;
    font-family: var(--font-head); font-weight: 400; font-synthesis: none; font-size: 15px; letter-spacing: .04em;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .lang--sp { display: flex; border: 0; padding: 0; font-family: var(--font-head); font-weight: 400; font-synthesis: none; }
  .nav .lang { display: none; }
  .menu-btn i, .menu-btn i::before, .menu-btn i::after {
    display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .3s, background .3s;
  }
  .menu-btn i { position: relative; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
  .menu-btn i::before { top: -7px; }
  .menu-btn i::after { top: 7px; }
  .menu-btn[aria-expanded="true"] i { background: transparent; }
  .menu-btn[aria-expanded="true"] i::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--hd) 0 auto; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--gut) 32px; background: var(--bg); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav > a { width: 100%; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .lang { border: 0; padding: 18px 0 0; }
  .nav .nav-cta { width: auto; margin-top: 20px; padding: 10px 24px; border: 0; }
}

/* フッター：トップと同じ墨の背景 */
.ft {
  margin-top: var(--sec); padding: 28px var(--gut) 36px; background: var(--ink);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #a8a29e;
}
.ft-l { display: flex; align-items: center; gap: 18px; }
.ft-l img { height: 28px; width: auto; filter: invert(1); opacity: .85; }
.ft-nav { display: flex; gap: 28px; }
.ft-nav a:hover { color: var(--bg); }

/* 4. Layout ------------------------------------------------ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding-top: var(--sec); }
.sec-h {
  display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 24px; align-items: baseline;
  border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: clamp(40px, 5vw, 72px);
}
/* セクション名：1文字目だけ大文字（Open positions など）。::first-letter を効かせるため四角は絶対配置 */
.sec-h .label {
  display: block; position: relative; padding-left: 26px;
  font-family: var(--font-latin); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: lowercase;
}
.sec-h .label::first-letter { text-transform: uppercase; }
.sec-h .label::before { content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 14px; height: 14px; background: var(--accent); }
.sec-h .label a:hover { opacity: .55; }
.sec-h .more { justify-self: end; font-size: 14px; }
.sec-h .more:hover { opacity: .5; }
@media (max-width: 760px) { .sec-h { grid-template-columns: 1fr auto; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.split + .split, .split--gap { margin-top: clamp(72px, 9vw, 140px); }
.split .ph { aspect-ratio: 4 / 5; }
.split .wide .ph { aspect-ratio: 3 / 2; }
@media (min-width: 861px) { .split--rev > :first-child { order: 2; } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.statement { max-width: var(--max); margin: 0 auto; padding: calc(var(--hd) + clamp(48px, 8vw, 120px)) var(--gut) clamp(40px, 6vw, 80px); }
.statement h1 { font-family: var(--font-head); font-weight: 400; font-synthesis: none; letter-spacing: .01em; font-size: clamp(28px, 5.4vw, 76px); line-height: 1.38; }
.statement p { margin-top: 28px; font-size: clamp(13px, 1.2vw, 15px); color: var(--sub); }
.statement .btn-fill { margin-top: 40px; }

/* 5. Components -------------------------------------------- */
.big { font-family: var(--font-ja); font-weight: 500; letter-spacing: .03em; font-size: clamp(24px, 3vw, 40px); line-height: 1.55; }
.lead { margin-top: 32px; max-width: 600px; }
.lead p + p { margin-top: 1.1em; }
.lang-ja .lead p { font-size: clamp(15px, 1.25vw, 17px); line-height: 2.3; }
/* スマホで行が収まらないときは「、」「。」の位置で折り返す（main.js が句読点ごとに区切る） */
.pn { display: inline-block; }
.subhead { font-family: var(--font-latin); font-weight: 600; font-size: 13px; color: var(--sub); margin: 0 0 22px; }
.subhead--gap { margin-top: 56px; }
.subhead--top { margin-top: 16px; }

/* 写真枠：写真が無いときはロゴだけの空枠 */
.ph { position: relative; background: var(--soft); overflow: hidden; }
.ph img, .ph picture { width: 100%; height: 100%; object-fit: cover; }
.ph picture img { width: 100%; height: 100%; object-fit: cover; }
.ph--empty::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 22%; aspect-ratio: 400 / 350;
  background: url("../images/brand/logo_iino.png") center / contain no-repeat; opacity: .12;
}

.btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.btn::after { content: "→"; }
.btn:hover { opacity: .5; }
.btn-fill {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 16px 30px;
  background: var(--accent); color: var(--ink); border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-latin); font-weight: 600; font-size: 15px; transition: background .25s, color .25s;
}
.btn-fill::after { content: "→"; }
.btn-fill:hover { background: var(--ink); color: var(--accent); }
.btn-fill[disabled] { opacity: .6; cursor: wait; }

/* カード（一覧） */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 28px); }
.grid.small { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid, .grid.small { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card .ph { aspect-ratio: 4 / 3; }
/* 写真の切り抜き：左下の角だけ丸める（トップと同じルール） */
.card .vd, .card .ph, .mcard .ph, .split .ph, .strip .ph, .duo .ph { border-bottom-left-radius: var(--r-card); }
.d-hero .ph { border-bottom-left-radius: var(--r-hero); }
@media (max-width: 760px) {
  .card .vd, .card .ph, .mcard .ph, .split .ph, .strip .ph, .duo .ph { border-bottom-left-radius: var(--r-card-sp); }
  .d-hero .ph { border-bottom-left-radius: var(--r-hero-sp); }
}
.card h3 { margin-top: 14px; font-family: var(--font-ja); font-weight: 500; letter-spacing: .04em; font-size: 18px; line-height: 1.5; }
.grid.small .card h3 { font-size: 15px; }
.card .meta { margin-top: 4px; font-size: 13px; color: var(--sub); line-height: 1.6; }

/* ホバーで「View details」 */
.vd { position: relative; display: block; overflow: hidden; }
.vd .ph img { transition: filter .4s ease; }
.vd::after { content: ""; position: absolute; inset: 0; background: rgba(33, 24, 22, .35); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.vd-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -40%); opacity: 0; pointer-events: none; white-space: nowrap;
  border: 1px solid #fff; color: #fff; padding: 8px 16px; font-weight: 500; font-size: 15px; letter-spacing: .02em;
  transition: opacity .4s ease, transform .4s ease;
}
:is(.card, .mcard):is(:hover, :focus-visible) .vd .ph img { filter: grayscale(1); }
:is(.card, .mcard):is(:hover, :focus-visible) .vd::after { opacity: 1; }
:is(.card, .mcard):is(:hover, :focus-visible) .vd-btn { opacity: 1; transform: translate(-50%, -50%); }

/* 仕様表 */
.spec { margin-top: 72px; border-top: 1px solid var(--ink); }
.spec h2, .spec h4 { font-family: var(--font-latin); font-size: 14px; font-weight: 600; padding: 16px 0; letter-spacing: .03em; }
.spec dl { display: grid; grid-template-columns: 10em 1fr; font-size: 14px; }
.spec dt, .spec dd { padding: 12px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--sub); }

/* ふわっと表示 */
.js .fi { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js .fi.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fi { opacity: 1; transform: none; transition: none; } }

/* 6. Top page ---------------------------------------------- */
.hero { position: relative; height: 100svh; min-height: 600px; background: #333 url("../media/top-poster.jpg") center / cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .hero { height: 86svh; min-height: 520px; } }

/* Mobility */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .mgrid { grid-template-columns: 1fr; } }
.mcard { all: unset; cursor: pointer; display: block; position: relative; }
.mcard:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.mcard .ph { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .mcard .ph { aspect-ratio: 4 / 3; } }
@media (hover: none) {
  .mcard::after {
    content: "＋"; position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink);
  }
}
.mname { display: block; margin-top: 18px; font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: -.01em; }
.mseat { display: block; margin-top: 10px; font-size: 13px; color: var(--sub); }
.mcon { display: block; margin-top: 6px; font-family: var(--font-ja); font-size: 16px; font-weight: 500; letter-spacing: .04em; }

/* Mobility ダイアログ */
.modal {
  position: fixed; inset: 0; margin: auto; height: fit-content; max-height: 90vh; width: min(1100px, 94vw);
  border: 0; padding: 0; overflow: auto; background: var(--card); color: var(--ink);
}
.modal::backdrop { background: rgba(33, 24, 22, .55); }
.modal[open] { display: grid; grid-template-columns: 1fr 1fr; }
.mimg { position: relative; }
.mimg .ph { height: 100%; min-height: 320px; }
@media (min-width: 821px) { .mimg .ph { position: sticky; top: 0; height: min(90vh, 760px); } }
@media (max-width: 820px) { .modal[open] { grid-template-columns: 1fr; } }
.mbody { padding: clamp(28px, 4vw, 56px); }
.mbody .kicker { font-weight: 600; font-size: 14px; color: var(--sub); }
.modal h3 { font-family: var(--font-ja); font-weight: 500; letter-spacing: .03em; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; margin-top: 8px; }
.msum { font-weight: 500; margin: 14px 0 18px; }
.mbody p { font-size: 14px; line-height: 1.95; }
.mbody p + p { margin-top: .9em; }
.mbody .spec { margin-top: 28px; }
.mclose { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); font-size: 24px; cursor: pointer; }

/* About：写真の切り替え */
.rot { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.rot picture, .rot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rot img { opacity: 0; transition: opacity 1.6s ease; }
.rot img.is-on { opacity: 1; }

/* Recruit（トップ） */
.pos { margin-top: 28px; border-top: 1px solid var(--line); }
.pos li { border-bottom: 1px solid var(--line); font-size: 15px; }
.pos a { display: flex; justify-content: space-between; padding: 14px 0; }
.pos a:hover { opacity: .55; }

/* お知らせ */
.news li > * { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news li:first-child > * { border-top: 1px solid var(--line); }
.news time { font-size: 13px; color: var(--sub); }
.news .t { font-size: 16px; }
.news .ext { font-size: 12px; color: var(--sub); }
.news a:hover .t { opacity: .5; }
@media (max-width: 620px) { .news li > * { grid-template-columns: 1fr auto; gap: 2px 12px; } .news time { grid-column: 1 / -1; } }

.empty { color: var(--sub); }
.card .meta + h3 { margin-top: 2px; }
.card > .meta:first-of-type { margin-top: 12px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; font-size: 14px; }
.pager a { border-bottom: 1px solid var(--ink); }
.pager a:hover { opacity: .5; }
.pager-n { color: var(--sub); }

/* 会社概要 */
.contact .big a { border-bottom: 3px solid var(--accent); }
.company { display: grid; grid-template-columns: 8em 1fr; row-gap: 16px; align-content: start; font-size: 14px; margin-top: 8px; }
.company dt { color: var(--sub); }
.company dd { line-height: 1.8; }
.ofc { display: block; }
.ofc + .ofc { margin-top: 10px; }
.ofc b { display: block; font-weight: 500; }

/* 7. Detail pages ------------------------------------------ */
.d-title { max-width: var(--max); margin: 0 auto; padding: calc(var(--hd) + clamp(40px, 6vw, 96px)) var(--gut) clamp(32px, 4vw, 56px); }
.d-title .kicker { font-size: 13px; color: var(--sub); margin-bottom: 14px; }
.d-title h1 { font-family: var(--font-ja); font-weight: 500; letter-spacing: .03em; font-size: clamp(30px, 5vw, 68px); line-height: 1.3; }
.d-title .sub { margin-top: 16px; font-size: clamp(15px, 1.5vw, 19px); }
.d-hero { margin: 0 var(--gut); }
.d-hero .ph { aspect-ratio: 16 / 8; }
@media (max-width: 760px) { .d-hero .ph { aspect-ratio: 4 / 3; } }
.d-body { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: clamp(32px, 5vw, 80px); padding-top: clamp(56px, 7vw, 110px); }
@media (max-width: 860px) { .d-body { grid-template-columns: 1fr; } }
.d-side { font-size: 13px; line-height: 1.75; align-self: start; position: sticky; top: calc(var(--hd) + 20px); }
.d-side dt { color: var(--sub); margin-top: 16px; }
.d-side dt:first-child { margin-top: 0; }
@media (max-width: 860px) { .d-side { position: static; } }
.d-text { max-width: 760px; }
.related { margin-top: var(--sec); }

/* 本文（実績・お知らせ・規約）。noteのように書いた Markdown がこの見た目になる */
.prose h2 { font-family: var(--font-ja); font-weight: 500; letter-spacing: .04em; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.6; margin: 72px 0 18px; }
.prose > :first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 500; margin: 40px 0 12px; }
.prose p { font-size: 16px; line-height: 2; }
.prose p + p { margin-top: 1.1em; }
.prose a { border-bottom: 1px solid currentColor; }
.prose ul, .prose ol { margin: 1em 0 1em 1.4em; font-size: 16px; line-height: 2; }
.prose ul { list-style: disc; }
.prose blockquote { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; margin: 40px 0; }
.prose blockquote p { font-size: inherit; line-height: inherit; }
/* 写真：1枚なら横長、2枚並べると左右に並ぶ */
.prose p:has(> picture, > img) { display: grid; gap: 16px; margin: 48px 0; }
.prose p:has(> picture:only-child, > img:only-child) picture,
.prose p:has(> picture:only-child, > img:only-child) img { aspect-ratio: 3 / 2; }
.prose p:has(> :is(picture, img) + :is(picture, img)) { grid-template-columns: 1fr 1fr; }
.prose p:has(> :is(picture, img) + :is(picture, img)) :is(picture, img) { aspect-ratio: 4 / 5; }
.prose p > picture, .prose p > img { background: var(--soft); overflow: hidden; border-bottom-left-radius: var(--r-card); }
@media (max-width: 760px) { .prose p > picture, .prose p > img { border-bottom-left-radius: var(--r-card-sp); } }
.prose p > picture img, .prose p > img { width: 100%; height: 100%; object-fit: cover; }
.prose--doc { max-width: 820px; }
.prose--doc h2 { margin-top: 48px; font-size: 18px; }
.prose--doc p, .prose--doc li { font-size: 15px; }

/* 8. Recruit ----------------------------------------------- */
/* ページ下の Contact：トップのお問い合わせと同じ明るい背景＋右上の大きな角丸 */
.sec.contact { margin-top: var(--sec); padding-block: clamp(96px, 11vw, 170px) clamp(64px, 8vw, 110px); background: var(--card); border-top-right-radius: var(--r-hero); }
.sec.contact .sec-h { border-top: 0; padding-top: 0; }
main:has(> .sec.contact:last-child) + .ft { margin-top: 0; }
.wide-hero { aspect-ratio: 16 / 8; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.strip .ph { aspect-ratio: 2 / 3; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.duo .ph { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .strip, .duo { grid-template-columns: 1fr; } }

.poslist { border-top: 1px solid var(--line); }
.job summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 60px 140px 1fr auto 40px; gap: 20px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.job summary::-webkit-details-marker { display: none; }
.pnum { font-weight: 600; font-size: 20px; }
.ptag { font-size: 13px; color: var(--sub); }
.pja { font-family: var(--font-ja); font-weight: 500; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: .06em; }
.pen { font-size: 13px; color: var(--sub); }
.ptog { justify-self: end; align-self: center; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }
.ptog::before, .ptog::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.ptog::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.job[open] .ptog::after { transform: translate(-50%, -50%) rotate(0); }
.job summary:hover .pja { opacity: .6; }
.pbody { padding: 28px 0 48px 220px; max-width: 980px; border-bottom: 1px solid var(--line); }
.pbody h3 { font-size: 13px; color: var(--sub); margin: 24px 0 8px; font-weight: 500; }
.pbody ul { padding-left: 1.2em; list-style: disc; }
.pbody dl { display: grid; grid-template-columns: 7em 1fr; row-gap: 8px; font-size: 14px; }
.pbody dt { color: var(--sub); }
@media (max-width: 860px) {
  .job summary { grid-template-columns: 44px 1fr 40px; }
  .ptag, .pen { display: none; }
  .pbody { padding-left: 0; }
}

/* 9. Contact ----------------------------------------------- */
.c-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: calc(var(--hd) + clamp(48px, 7vw, 110px)); }
.c-title { font-family: var(--font-latin); font-weight: 600; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; padding-right: clamp(32px, 6vw, 96px); border-right: 1px solid var(--line); }
.c-sub { font-size: 16px; letter-spacing: .1em; }
@media (max-width: 700px) { .c-head { grid-template-columns: 1fr; gap: 16px; } .c-title { border: 0; } }
.c-lead { margin-top: clamp(40px, 5vw, 72px); margin-bottom: clamp(40px, 5vw, 64px); }
.c-lead p { font-size: clamp(15px, 1.3vw, 18px); line-height: 2; }
.c-lead b { font-weight: 500; }

.cform { max-width: 1100px; padding-bottom: clamp(40px, 6vw, 80px); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.f { display: block; border: 0; margin: 0 0 28px; }
.fl { display: block; font-weight: 500; font-size: 15px; margin-bottom: 12px; }
.req { color: var(--error); font-weight: 500; margin-left: 8px; font-size: 12px; }
.req::before { content: "［"; } .req::after { content: "］"; }
.lang-en .req::before { content: "("; } .lang-en .req::after { content: ")"; }
.cform input:is([type=text], [type=email], [type=tel]), .cform textarea {
  width: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  font: inherit; font-size: 16px; color: var(--ink);
}
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.cform ::placeholder { color: #a9a5a3; }
.cform .bad { border-color: var(--error) !important; }
.radios { display: grid; gap: 16px; margin-top: 4px; }
.r { display: flex; align-items: center; gap: 14px; font-size: 16px; cursor: pointer; }
.r input, .agree input {
  appearance: none; width: 22px; height: 22px; border: 1.5px solid var(--ink); margin: 0; flex: none;
  display: grid; place-content: center; background: transparent; cursor: pointer;
}
.r input { border-radius: 50%; }
.r input:checked::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.agree { display: flex; align-items: center; gap: 12px; margin: 8px 0 24px; font-size: 15px; cursor: pointer; }
.agree input { border-radius: 4px; }
.agree input:checked::before { content: ""; width: 12px; height: 7px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.agree a { border-bottom: 1px solid currentColor; }
.agree.bad input { border-color: var(--error); }
.count { display: block; text-align: right; font-size: 13px; color: var(--sub); margin-top: 8px; }
.cerr { color: var(--error); margin-bottom: 8px; }
.cmsg p { margin-top: 20px; font-weight: 500; }
.cmsg a { border-bottom: 1px solid currentColor; font-weight: 500; }
.cf-turnstile { margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 10. Utilities -------------------------------------------- */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip:focus { top: 8px; }

/* 英語ページ */
.lang-en :is(.big, .d-title h1, .modal h3, .card h3, .mcon, .pja) { font-family: var(--font-latin); letter-spacing: 0; font-weight: 500; }
.lang-en :is(.lead p, .prose p) { line-height: 1.8; }

/* 11. Reross（Adobe Fonts）--------------------------------- */
/* 欧文見出し：セクション名・Contact・番号。Reross は 400 のみなので偽ボールドを防ぐ */
.sec-h .label, .c-title, .pnum { font-family: var(--font-head); font-weight: 400; font-synthesis: none; }
/* モビリティ名：ロゴタイプと同じ組み方（小文字の iino type- ＋ S と数字、字間0）。
   本文中の「type-S○○○」は公開時に自動でこの形になる（eleventy.config.js の mob 変換） */
.mob { font-family: var(--font-mob); font-weight: 400; font-style: normal; letter-spacing: 0; text-transform: none; font-synthesis: none; white-space: nowrap; }
.mname { font-weight: 400; }
