/* =========================================================
   アメリア・テクノロジー コーポレートサイト
   デザイン：E案（アイコンと余白で見せる。高級感と親しみやすさ）
   決まり：日本語は BIZ UDPゴシック／文字は14px以上／濃い色のベタ塗りはしない／角丸
   ========================================================= */
:root {
  --ink: #16181D;
  --ink-2: #3E434C;
  --ink-3: #5A606B;
  --red: #FB3D28;          /* ロゴの赤にそろえています（2026-10-20） */
  --red-text: #C7290F;     /* 小さな文字の赤（白地で読みやすい濃さ） */
  --marker: #E4EC2D;
  --paper: #FAF8F5;
  --line: #E7E3DD;
  --line-2: #ECE8E2;
  --grid: #F1EFEB;
  --tint-red: #FFF1EE;
  --tint-yellow: #F8FAD9;
  --tint-blue: #EAF3F8;
  --tint-gray: #F6F4F0;
  --tint-pink: #FFF4F1;
  --radius: 20px;
  --shadow: 0 12px 32px rgba(22, 24, 29, .05);
  --jp: "BIZ UDPGothic", "BIZ UDPゴシック", sans-serif;
  --en: "Barlow", "Bahnschrift", var(--jp);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--jp); font-size: 16px; line-height: 1.85; font-feature-settings: "palt" 0; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--ink); }
a:hover { color: var(--red-text); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; }
p { margin: 0; }
.en { font-family: var(--en); letter-spacing: .04em; }
.skip { position: absolute; left: -9999px; top: 0; background: #FFFFFF; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 max(16px, 4vw); }
.marker { background: linear-gradient(transparent 64%, var(--marker) 64%); }
.red { color: var(--red); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---------- ヘッダー ---------- */
.topbar { height: 4px; background: var(--red); }
.site-head { background: #FFFFFF; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-head__in { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { display: block; width: 190px; }
.gnav { display: flex; align-items: center; gap: 8px 28px; font-size: 15px; }
.gnav a:not(.btn) { text-decoration: none; padding: 6px 0; }
.gnav a[aria-current="page"]:not(.btn) { color: var(--red-text); box-shadow: inset 0 -2px 0 var(--red); }
.navtoggle { display: none; font: inherit; font-size: 15px; font-weight: 700; background: #FFFFFF; border: 1px solid var(--ink); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer; }

/* ---------- ボタン・リンク ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; line-height: 1.4; transition: transform .15s ease, box-shadow .15s ease; }
.btn--primary { background: var(--red); color: #FFFFFF; }
.btn--primary:hover { color: #FFFFFF; box-shadow: 0 8px 20px rgba(251, 61, 40, .28); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--ink); background: #FFFFFF; }
.btn--ghost:hover { color: var(--ink); background: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red-text); font-size: 15px; }
.link-under { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* ---------- 見出し ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--en); font-weight: 500; font-size: 14px; letter-spacing: .24em; color: var(--red-text); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.4; }
.h3 { font-size: 22px; line-height: 1.5; }
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec--paper { background: var(--paper); }
.sec--pink { background: var(--tint-pink); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.sec-head--center { align-items: center; text-align: center; }
.sec-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.sec-head--split > div { display: flex; flex-direction: column; gap: 14px; }
.sec-lead { max-width: 40em; color: var(--ink-2); }

/* ---------- アイコンの丸 ---------- */
.icon-circle { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.icon-circle--md { width: 72px; height: 72px; }
.icon-circle--sm { width: 56px; height: 56px; }
.icon-circle--line { border: 1.5px solid var(--red); color: var(--red-text); background: #FFFFFF; }
.tint-red { background: var(--tint-red); }
.tint-yellow { background: var(--tint-yellow); }
.tint-blue { background: var(--tint-blue); }
.tint-gray { background: var(--tint-gray); }

/* ---------- ヒーロー ---------- */
.hero { background-color: #FFFFFF; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; }
.hero__in { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(56px, 7vw, 88px); display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; border-left: 4px solid var(--red); padding-left: 32px; }
.hero__label { font-family: var(--mono); font-size: 14px; letter-spacing: .14em; color: var(--red-text); }
.hero__title { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.25; letter-spacing: .01em; }
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 30em; }
.hero__lead b { color: var(--ink); }
.hero__fig { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__fig svg { width: 100%; max-width: 540px; height: auto; }

/* ---------- 要点の帯 ---------- */
.spec { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: #FFFFFF; }
.spec__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.spec__item { padding: 26px 20px 26px 0; display: flex; gap: 16px; align-items: center; color: var(--red-text); }
.spec__item div { display: flex; flex-direction: column; color: var(--ink); }
.spec__k { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--ink-3); }
.spec__v { font-size: 16px; font-weight: 700; line-height: 1.5; }

/* ---------- カード ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #FFFFFF; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 32px 34px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.card--center { align-items: center; text-align: center; }
a.card:hover { color: var(--ink); border-color: #D9D4CC; transform: translateY(-2px); transition: transform .15s ease; }
.card__who { font-size: 14px; color: var(--ink-3); }
.card__voice { font-size: 20px; font-weight: 700; line-height: 1.6; }
.card__title { font-size: 22px; line-height: 1.5; }
.card__text { font-size: 15px; color: var(--ink-2); }
.card__foot { margin-top: auto; width: 100%; padding-top: 18px; border-top: 1px solid var(--grid); font-size: 20px; font-weight: 700; }
.card--feature { border: 2px solid var(--red); position: relative; }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 700; padding: 2px 16px; border-radius: 999px; background: var(--red); color: #FFFFFF; white-space: nowrap; }
.mono-label { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; color: var(--red-text); }

/* サービスの段 */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--ink); }
.svc__item { padding: 40px 32px 44px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--ink); }
.svc__top { display: flex; align-items: center; justify-content: space-between; }
.svc__no { font-family: var(--en); font-weight: 300; font-size: 56px; line-height: 1; color: var(--red); }
.svc__en { font-family: var(--en); font-weight: 500; font-size: 14px; letter-spacing: .12em; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: #FFFFFF; }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; counter-reset: step; }
.flow__item { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: #FFFFFF; }
.flow__item div { display: flex; flex-direction: column; gap: 4px; }
.flow__no { font-family: var(--mono); font-size: 14px; color: var(--red-text); }
.flow__t { font-size: 20px; font-weight: 700; line-height: 1.5; }
.flow__d { font-size: 15px; color: var(--ink-2); }

/* 実績 */
.case { background: #FFFFFF; border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; }
.case__fig { height: 148px; display: flex; align-items: center; justify-content: center; position: relative; }
.case__tag { position: absolute; left: 20px; top: 18px; font-size: 14px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: #FFFFFF; }
.case__body { padding: 24px 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.case__t { font-size: 19px; font-weight: 700; line-height: 1.6; }

/* 採用の帯 */
.recruit-band { border-radius: 28px; background: #FCFDE8; border: 1px solid #E9ECB8; padding: 64px max(24px, 4vw); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.recruit-band__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.recruit-band__perks { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.perk { background: #FFFFFF; border-radius: 16px; padding: 22px; display: flex; gap: 14px; align-items: center; font-weight: 700; line-height: 1.5; }

/* 3段の導線 */
.cta3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.cta3__item { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius); background: #FFFFFF; border: 1px solid var(--line-2); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.cta3__item:hover { color: var(--ink); border-color: var(--red); }
.cta3__who { font-size: 18px; font-weight: 700; }
.cta3__text { font-size: 15px; color: var(--ink-2); }
.cta3__item .link-arrow { margin-top: auto; }

/* 相談と会社の2つの箱 */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.duo__box { border-radius: var(--radius); padding: 44px max(24px, 3vw); display: flex; flex-direction: column; gap: 16px; }
.duo__box--main { border: 1px solid var(--ink); border-top: 4px solid var(--red); }
.duo__box--sub { border: 1px solid var(--line); background: var(--paper); }
.iconline { display: flex; gap: 12px; align-items: center; color: var(--red-text); }
.iconline span { color: var(--ink); }

/* ---------- 下層ページ ---------- */
.crumbs { font-size: 14px; color: var(--ink-3); padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--ink-3); }
.page-head { background-color: #FFFFFF; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 72px); display: flex; flex-direction: column; gap: 18px; }
.page-head__title { font-size: clamp(32px, 4vw, 48px); line-height: 1.35; border-left: 4px solid var(--red); padding-left: 24px; }
.page-head__lead { font-size: 18px; color: var(--ink-2); max-width: 40em; }
.prose { max-width: 46em; display: flex; flex-direction: column; gap: 1.2em; }
.prose h2 { font-size: 28px; margin-top: 1.4em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 20px; margin-top: 1em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.split__side { display: flex; flex-direction: column; gap: 14px; }
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row__no { font-family: var(--en); font-weight: 300; font-size: 36px; line-height: 1; color: var(--red); }
.row h3 { font-size: 21px; margin-bottom: 6px; }
.row p { color: var(--ink-2); }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.table th { width: 28%; font-weight: 700; background: var(--paper); }
.table--plans th { width: auto; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.plan__name { font-size: 22px; font-weight: 700; }
.plan__price { font-family: var(--en); font-size: 44px; font-weight: 500; line-height: 1.1; }
.plan__price small { font-family: var(--jp); font-size: 16px; font-weight: 700; margin-left: 4px; }
.plan__hours { font-size: 18px; font-weight: 700; color: var(--red-text); }
.note { font-size: 14px; color: var(--ink-3); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "＋"; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--ink-2); }
.toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.toolgrid > div { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.toolgrid h3 { font-size: 18px; }
.callout { border-radius: var(--radius); background: var(--tint-pink); padding: 32px; display: flex; gap: 20px; align-items: flex-start; }
.callout > div { display: flex; flex-direction: column; gap: 8px; }

/* ---------- フォーム ---------- */
.form { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.form label, .form .label { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.req { font-size: 14px; font-weight: 700; color: #FFFFFF; background: var(--red-text); border-radius: 999px; padding: 0 10px; }
.opt { font-size: 14px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #CFCAC2; border-radius: 12px; background: #FFFFFF; color: var(--ink); }
.form textarea { min-height: 180px; resize: vertical; }
.form .field { display: flex; flex-direction: column; gap: 8px; }
.form .choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form .choices label { font-weight: 400; }
.form .hp { position: absolute; left: -9999px; }
.form .help { font-size: 14px; color: var(--ink-3); }
.form button { border: 0; cursor: pointer; font-family: inherit; align-self: flex-start; }
.alert { border-radius: 12px; padding: 16px 20px; background: var(--tint-red); }

/* ---------- フッター ---------- */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); }
.site-foot .wrap { padding-top: 72px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 44px; }
.foot-brand { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-brand__main { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.foot-brand .logo img { width: 220px; }
.foot-tag { display: flex; flex-direction: column; gap: 2px; }
.foot-tag .en { font-weight: 500; font-size: 20px; }
.foot-tag span:last-child { font-size: 15px; color: var(--ink-2); }
.foot-addr { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.foot-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 24px; }
.foot-head { list-style: none; cursor: pointer; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: 700; }
.foot-head::-webkit-details-marker { display: none; }
.foot-head a { text-decoration: none; }
.foot-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-col li { font-size: 14px; }
.foot-col li a { text-decoration: none; color: var(--ink-2); }
.foot-row { margin: 0; padding: 20px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.foot-row a { text-decoration: none; font-weight: 700; font-size: 15px; display: inline-flex; gap: 8px; }
.foot-row span { color: var(--red); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-3); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 0; }
.foot-legal a { text-decoration: none; color: var(--ink-3); padding-right: 16px; margin-right: 16px; border-right: 1px solid #D9D4CC; }
.foot-legal a:last-child { border-right: 0; }

/* ---------- スマートフォン ---------- */
@media (max-width: 960px) {
  .navtoggle { display: inline-flex; align-items: center; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px max(16px, 4vw) 20px; gap: 0; }
  .gnav.is-open { display: flex; }
  .gnav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--grid); }
  .gnav .btn { margin-top: 16px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .foot-head::after { content: "∨"; float: right; color: var(--red); }
  .foot-col[open] .foot-head::after { content: "∧"; }
}
@media (max-width: 600px) {
  .hero__copy { padding-left: 20px; }
  .logo img { width: 160px; }
  .row { grid-template-columns: 1fr; }
  .table th { width: 36%; }
  .btn { width: 100%; }
  .btns { flex-direction: column; align-items: stretch; }
  .duo { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .site-foot, .topbar { display: none; } }

/* ---------- 採用（recruit_pages.py） ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; }
.benefit h3 { font-size: 18px; margin-bottom: 4px; }
.benefit p { font-size: 15px; color: var(--ink-2); }
.job-card .icon-circle { margin-bottom: 4px; }
.job-links { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.job-links a { font-weight: 700; }
.mini-list { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mini-list li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.mini-list svg { color: var(--red-text); flex: 0 0 auto; }
.mini-steps { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: ms; display: flex; flex-direction: column; gap: 14px; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; font-size: 15px; }
.mini-steps li::before { content: counter(ms); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red-text); font-family: var(--en); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.mini-steps span { color: var(--ink-2); font-size: 14px; }
.table td ul { margin: 0; padding-left: 1.2em; }
.table td li + li { margin-top: 4px; }

/* ---------------------------------------------------------------- フォームの追加（2026-10-21）
   フロレンティナから移した、お問い合わせ・採用・日程調整・書類の提出などの画面の部品です。
   文字は14px以上（ビルドで検査します）。色はアメリアの色にそろえています */
.form input[type=date], .form input[type=number], .form input[type=url], .form input[type=password] { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #CFCAC2; border-radius: 12px; background: #FFFFFF; color: var(--ink); }
.form input[type=file] { font: inherit; font-size: 15px; }
.form .hint, .field .hint { font-size: 14px; color: var(--ink-3); margin: 0; font-weight: 400; }
.form-ok { background: var(--paper); border-left: 4px solid var(--red); padding: 20px 24px; border-radius: 12px; margin: 0 0 24px; font-size: 15px; max-width: 760px; }
.form-ok p { margin: 0 0 8px; }
.form-ok__next { margin: 14px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); }
.form-ok__next a { display: inline-block; margin-right: 1.4em; font-weight: 700; }
.form-error { background: var(--tint-red); border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 12px; margin: 0 0 24px; font-size: 15px; max-width: 760px; }
.form-error p { margin: 0 0 6px; }
.form-error ul { padding-left: 1.2em; }
.form .field label.inline, .form .field > label > input[type=checkbox] { font-weight: 400; }
.field .checks { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.field .checks label { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; cursor: pointer; background: #FFFFFF; }
.field .checks input { width: auto; margin: 0; }
.field .checks label:has(input:checked) { border-color: var(--ink); font-weight: 700; background: var(--paper); }
.field .radios { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.field .radios label { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; font-size: 15px; cursor: pointer; }
.field .selects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.field .selects label { flex-direction: column; align-items: stretch; font-weight: 400; font-size: 14px; gap: 4px; }
.field .field-error { color: var(--red-text); font-size: 14px; font-weight: 700; margin: 0; }
.hope { display: grid; gap: 10px; }
.hope-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.hope-row__no { flex: 0 0 5em; font-size: 15px; font-weight: 700; color: var(--ink); }
.form .hope-row input[type=date], .form .hope-row select { width: auto; min-width: 9.5em; }
.hope-btn { font: inherit; font-size: 15px; min-width: 11.5em; text-align: left; padding: 12px 14px; border: 1px solid #CFCAC2; border-radius: 12px; background: #FFFFFF; color: var(--ink); cursor: pointer; }
.hope-btn.is-empty { color: var(--ink-3); }
.hope-btn:hover, .hope-btn[aria-expanded=true] { border-color: var(--ink); }
.hope-clear { font: inherit; font-size: 14px; background: none; border: 0; color: var(--ink-3); text-decoration: underline; cursor: pointer; padding: 6px 4px; }
.cal { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: 292px; max-width: calc(100vw - 48px); background: #FFFFFF; border: 1px solid var(--ink); border-radius: 12px; padding: 12px; box-shadow: 0 8px 24px rgba(22, 24, 29, .14); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__title { font-weight: 700; color: var(--ink); font-size: 15px; }
.cal__nav { font: inherit; font-size: 20px; line-height: 1; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; color: var(--ink); cursor: pointer; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__w { text-align: center; font-size: 14px; color: var(--ink-3); padding: 4px 0; }
.cal__d { font: inherit; font-size: 15px; height: 36px; border: 1px solid transparent; border-radius: 10px; background: #FFFFFF; color: var(--ink); cursor: pointer; }
.cal__d:hover:not(:disabled) { border-color: var(--ink); background: var(--paper); }
.cal__d:disabled { color: #C9C5BE; cursor: default; }
.cal__d[aria-pressed=true] { background: var(--marker); font-weight: 700; border-color: var(--ink); }
.cal__note { font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.card--plain { background: #FFFFFF; border: 1px solid var(--line); }
.btn--accent { background: var(--red); color: #FFFFFF; }
.btn--accent:hover { color: #FFFFFF; box-shadow: 0 8px 20px rgba(251, 61, 40, .28); transform: translateY(-1px); }
.form-callout { border-radius: 12px; background: var(--paper); padding: 18px 22px; font-size: 15px; max-width: 760px; }
.form-callout p { margin: 0 0 6px; }
.token-page { max-width: 820px; }
.token-page h2, .token-page h3 { color: var(--ink); }
.token-page table { width: 100%; border-collapse: collapse; }
.token-page th, .token-page td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
@media (max-width: 640px) { .field .selects { grid-template-columns: 1fr; } .hope-row__no { flex-basis: 100%; } .tbl-scroll table { min-width: 620px; } }