/* 株式会社PHY 公式サイト（2026-11-25 内容刷新版）
   配色・書体は Squarespace 版（海の写真・Bodoni・ピンクのアクセント）を引き継ぐ */
:root {
  --ink: #1a1a1a;
  --muted: #5b5b5b;
  --accent: #ec6ada;
  --accent-dark: #c9459f;
  --paper: #fff;
  --gray: #f3f4f6;
  --line: #e2e3e7;
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Figtree", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --content: 1080px;
  --gutter: clamp(20px, 4vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  line-break: strict;
  word-break: auto-phrase; /* 日本語を文節で折り返す（「と／して」のような切れ方を防ぐ。対応ブラウザのみ） */
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; line-height: 1.4; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 6px 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
}
.site-header .logo img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; padding-bottom: 2px;
  border-bottom: 1px solid transparent; white-space: nowrap;
}
.site-nav a[aria-current="page"], .site-nav a:hover { border-bottom-color: currentColor; }
.site-nav a[href="/contact"] { color: var(--accent-dark); }

.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.menu-btn span { display: block; width: 30px; height: 1.5px; background: currentColor; margin: 7px 0; transition: transform .25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header { height: 60px; padding: 0 12px 0 20px; }
  .site-header .logo img { height: 30px; }
  .menu-btn { display: block; }
  .site-nav {
    position: fixed; inset: 60px 0 0 0; z-index: 49;
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 22px;
    padding-top: 44px;
    background: #fff;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .site-nav a { font-size: 20px; border: 0; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  html { scroll-padding-top: 68px; }
}

/* ---------- common ---------- */
.section { padding: 72px var(--gutter); }
.section.gray { background: var(--gray); }
.section.first { padding-top: 48px; }
.wrap { max-width: var(--content); margin: 0 auto; }
.wrap.narrow { max-width: 720px; }
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px 64px; align-items: start; }

.eyebrow { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; color: var(--accent-dark); margin: 0 0 6px; }
.sec-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 0 0 28px; letter-spacing: .04em; }
.sec-lead { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; margin: -12px 0 32px; }
.sec-lead.small { font-size: 16px; font-weight: 400; color: var(--muted); }
.statement { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.6; margin: 0; }
.note { font-size: 14px; color: var(--muted); margin-top: 24px; }
.pc { display: inline; }
.nb { display: inline-block; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; border: 1.5px solid var(--accent);
  text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .04em;
  padding: 13px 28px; line-height: 1.4; border-radius: 2px; text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--accent-dark); }
.btn.ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.sm { font-size: 14px; padding: 9px 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.actions.center { justify-content: center; }
.link { color: var(--accent-dark); }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.person { font-size: 26px; font-weight: 700; letter-spacing: .1em; margin: 0; }
.person span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: .04em; }

.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { display: flex; gap: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news time { color: var(--muted); font-size: 14px; flex: none; padding-top: 2px; }
.news a { text-decoration: none; }
.news a:hover { text-decoration: underline; }
.more { margin-top: 18px; text-align: right; }

.cta { background: linear-gradient(180deg, #fff 0%, #fbeef8 100%); text-align: center; }
.cta .sec-title { margin-bottom: 18px; }

/* ---------- sub pages ---------- */
.page-head { padding: 52px var(--gutter) 8px; }
.page-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.page-kind { font-size: 15px; color: var(--muted); font-weight: 500; margin: 10px 0 0; }
.lead-text p { font-size: 16.5px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.checks.one { grid-template-columns: 1fr; margin: 20px 0 8px; }
.checks li { position: relative; padding: 14px 18px 14px 46px; background: #fff; font-size: 15.5px; line-height: 1.7; }
.checks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.timeline, .table { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0; }
.timeline dt, .timeline dd, .table dt, .table dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.timeline dt, .table dt { font-weight: 700; padding-right: 32px; white-space: nowrap; }
.table a { color: inherit; }
.table a.link { color: var(--accent-dark); }

.routes .route { background: var(--gray); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.route h3 { font-size: 18px; font-weight: 700; }
.route p { color: var(--muted); font-size: 14.5px; margin: 2px 0 16px; }
.route .btn { margin-top: auto; }

/* press room */
.post-list { max-width: 720px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-list .cat { font-size: 14px; color: var(--muted); }
.post-list .cat a { text-decoration: none; }
.post-list h2 { font-size: 22px; font-weight: 700; line-height: 1.6; margin: 10px 0 14px; }
.post-list h2 a { text-decoration: none; }
.post-list p { font-size: 15px; }

.article { max-width: 720px; margin: 0 auto; }
.past-note { background: var(--gray); border-left: 3px solid var(--accent); padding: 12px 16px; font-size: 14.5px; margin-bottom: 32px; }
.past-note a { color: var(--accent-dark); display: inline-block; }
.article h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.6; }
.article .meta { font-size: 14px; color: var(--muted); margin: 18px 0 32px; }
.article .meta a { text-decoration: none; }
.article .body { font-size: 15.5px; }
.article .body h3 { font-weight: 700; font-size: 17px; margin: 44px 0 16px; }
.article .body ul { padding-left: 1.4em; margin: 0 0 16px; }
.article .body a { color: var(--accent-dark); }
.article .byline { margin-top: 48px; font-size: 14px; color: var(--muted); }

.policy { max-width: 720px; margin: 0 auto; font-size: 15.5px; }
.policy h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin-bottom: 28px; }
.policy h2 { font-weight: 700; font-size: 19px; margin: 36px 0 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--gray); padding: 52px var(--gutter) 36px; font-size: 15px; border-top: 1px solid var(--line); }
.footer-grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 36px; }
.site-footer .brand { font-family: var(--serif); color: var(--accent); font-size: 26px; font-weight: 500; margin: 0 0 18px; }
.site-footer p { margin: 0; }
.site-footer h4 { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { margin: 0; padding-left: 1.2em; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--accent-dark); }
.footer-links { list-style: none; padding: 0 !important; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .copyright { max-width: var(--content); margin: 32px auto 0; font-size: 13px; color: var(--muted); }

/* ---------- home（2026-11-26 統一レイアウト：ai-hub CORPORATE_COHESIVE_LAYOUT.png） ---------- */
.hero {
  height: clamp(240px, 42vh, 400px);
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) 30px;
  background: #6f8796 url("/images/hero-sea.jpg") center 66% / cover no-repeat;
}
.hero-in { max-width: var(--content); width: 100%; margin: 0 auto; color: #fff; text-shadow: 0 1px 14px rgba(10,30,50,.45); }
.hero-tag { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.15; letter-spacing: .01em; margin: 0; }
.hero-tag span { white-space: nowrap; }
.hero-name { font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; letter-spacing: .12em; margin-top: 8px; }

.jp-serif, .row-sec .sec-title, .business .sec-title, .statement, .person-line, .catch, .band-title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.row-sec .sec-title, .business .sec-title { font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); }

/* 見出し列＋本文列の共通グリッド（私たちについて・会社情報・お知らせ） */
.row { display: grid; grid-template-columns: 260px 1fr; gap: 24px 48px; }
.row-head { border-right: 1px solid var(--line); padding-right: 24px; }
.row-body > p { font-size: 15.5px; }
.row-body > .statement { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.6; margin: 0 0 16px; }
.row-body > .person-line { font-size: 22px; font-weight: 600; letter-spacing: .08em; margin: 0 0 10px; }
.table.compact { max-width: 560px; margin: 10px 0 18px; border-top: 1px solid var(--line); }
.table.compact dt, .table.compact dd { padding: 10px 0; font-size: 14.5px; }
.table.compact dt { padding-right: 32px; }
.news-sec { padding-top: 8px; }
.news li { gap: 24px; }

/* 事業紹介：ひとつの背景に、3事業を同じ枠・同じ行幅で並べる */
.business { background: #f4f2ef; }
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: center; padding: 32px 0; border-top: 1px solid #dcd8d2; }
.business .sec-title + .biz { border-top: 0; padding-top: 4px; }
.biz-media { aspect-ratio: 4 / 3; }
.biz-media > .clip, .biz-media img { height: 100%; }
.biz-media img { width: 100%; object-fit: cover; }
.biz-media.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.biz-kind { font-size: 13.5px; font-weight: 500; color: var(--muted); margin: 0 0 6px; letter-spacing: .06em; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.25; letter-spacing: .01em; margin-bottom: 14px; }
.biz-text p { font-size: 15px; }
.catch { font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.6; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.chips span { font-size: 12.5px; line-height: 1.5; padding: 3px 10px; border: 1px solid #cfc9c1; border-radius: 99px; background: #fff; }
.chips .ai { border-color: var(--accent); color: var(--accent-dark); font-weight: 500; }
.biz-text .small { font-size: 13.5px; color: var(--muted); }

.links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; }
.arrow { display: inline-block; text-decoration: none; font-size: 15px; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.arrow::after { content: "→"; margin-left: 14px; transition: margin .2s; }
.arrow:hover::after { margin-left: 20px; }
.arrow.accent { color: var(--accent-dark); }

.contact-band { background: var(--gray); padding: 30px var(--gutter); border-top: 1px solid var(--line); }
.band { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.band-title { font-size: 20px; font-weight: 600; margin: 0; }

/* PHY solutions の画面イメージ（HTMLで描画。ほかの2事業と同じ 4:3 の枠に収める） */
.sol-demo { margin: 0; height: 100%; display: flex; flex-direction: column; container-type: inline-size; }
.sd-app { flex: 1; display: grid; grid-template-columns: 22% 1fr; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 28px rgba(40,30,20,.12); font-size: clamp(9px, 2.1cqw, 12px); line-height: 1.45; letter-spacing: .02em; }
.sd-app p { margin: 0; }
.sd-side { background: #2f3238; color: #d8d9dc; padding: 1.2em .9em; }
.sd-logo { font-family: var(--serif); color: #fff; font-size: 1.5em; margin-bottom: 1em !important; }
.sd-side p:not(.sd-logo) { padding: .55em .6em; border-radius: 3px; }
.sd-side .on { background: rgba(236,106,218,.22); color: #fff; }
.sd-side b { display: inline-block; margin-left: .5em; background: #d63b6f; color: #fff; border-radius: 99px; padding: 0 .5em; font-weight: 500; }
.sd-main { padding: 1em; background: #f6f6f8; display: flex; flex-direction: column; gap: .8em; }
.sd-title { font-weight: 700; font-size: 1.15em; }
.sd-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .7em; }
.sd-card { background: #fff; border: 1px solid #e6e6ea; border-radius: 5px; padding: .8em; display: flex; flex-direction: column; gap: .45em; }
.sd-h { font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: .4em; }
.tag-h { font-weight: 500; font-size: .85em; color: #8a2f6c; background: #fbe9f6; padding: .1em .5em; border-radius: 3px; white-space: nowrap; }
.sd-item { padding: .35em .4em; border-radius: 3px; }
.sd-item.hl { background: #fdeef8; }
.ch { display: inline-block; font-size: .8em; padding: 0 .45em; border-radius: 3px; margin-right: .5em; color: #fff; }
.ch.line { background: #06c755; }
.ch.mail { background: #4a78c2; }
.sd-draft { background: #f7f7f9; border-radius: 3px; padding: .5em; color: #444; }
.sd-btn { align-self: flex-end; background: #a8326f; color: #fff; border-radius: 3px; padding: .3em .9em; font-weight: 500; }
.sd-steps { display: flex; gap: .3em; }
.sd-steps span { flex: 1; text-align: center; padding: .2em 0; border-radius: 99px; background: #eee; color: #888; font-size: .9em; }
.sd-steps .done { background: #a8326f; color: #fff; }
.sd-row { display: flex; justify-content: space-between; align-items: center; gap: .4em; padding: .3em 0; border-bottom: 1px solid #f0f0f3; }
.st { font-size: .88em; padding: .05em .6em; border-radius: 99px; background: #eef1f6; color: #3c5a8a; white-space: nowrap; }
.st.ok { background: #e6f5ec; color: #2c7a4b; }
.st.auto { background: #fdf3e2; color: #8a5a12; }
.sol-demo figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

@media (max-width: 860px) {
  .hero { height: 220px; padding: 0 20px 22px; }
  .row { grid-template-columns: 1fr; gap: 12px; }
  .row-head { border-right: 0; padding-right: 0; }
  .biz { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .biz-media { aspect-ratio: auto; }
  .biz-media img { aspect-ratio: 4 / 3; }
  .biz-media.pair img { aspect-ratio: 3 / 4; }
  .sd-app { grid-template-columns: 1fr; font-size: 11px; }
  .sd-side { display: none; }
  .band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .sd-grid { grid-template-columns: 1fr; }
}

/* ---------- 画像が縦に開くスクロール演出（Squarespace 版の vertical clip を再現） ----------
   JavaScript が動き、動きを減らす設定でないときだけ html に clip-ready が付く。
   付かないときは画像を最初から表示する。 */
.clip-ready .clip img, .clip-ready .clip .demo {
  clip-path: polygon(50% 0, 100% 0, 100% 0, 50% 0, 50% 100%, 0 100%, 0 100%, 50% 100%, 50% 100%, 50% 100%);
  transition: clip-path .8s cubic-bezier(.4, 0, .2, 1);
  will-change: clip-path;
}
.clip-ready .clip.in img, .clip-ready .clip.in .demo {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%, 50% 100%, 0 100%, 0 0, 50% 0, 50% 100%, 50% 100%);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .section { padding: 52px 20px; }
  .section.first { padding-top: 32px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .cols3 { grid-template-columns: 1fr; gap: 36px; }
  .cols3.routes { gap: 14px; }
  .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 20px 40px; }
  .pc { display: none; }
  .page-head { padding: 36px 20px 0; }
}
@media (max-width: 520px) {
  .timeline, .table { grid-template-columns: 1fr; }
  .timeline dt, .table dt { border-bottom: 0; padding: 14px 0 0; }
  .timeline dd, .table dd { padding: 0 0 14px; }
  .actions .btn { flex: 1 1 100%; }
  .news li { flex-direction: column; gap: 2px; }
}
@media (max-width: 520px) {
  .table.compact { grid-template-columns: max-content 1fr; }
  .table.compact dt { border-bottom: 1px solid var(--line); padding: 10px 20px 10px 0; }
  .table.compact dd { padding: 10px 0; }
}

/* ---------- News（日付／カテゴリ／タイトル／矢印の罫線一覧。行全体がリンク） ---------- */
.news li { display: block; padding: 0; gap: 0; }
.news li > a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px 24px; padding: 16px 4px; text-decoration: none; color: inherit; }
.news li > a::after { content: "→"; color: var(--muted); transition: transform .2s; }
.news li > a:hover, .news li > a:focus-visible { background: rgba(0, 0, 0, .03); }
.news li > a:hover .n-title, .news li > a:focus-visible .n-title { text-decoration: underline; text-underline-offset: 3px; }
.news li > a:hover::after, .news li > a:focus-visible::after { transform: translateX(4px); }
.news li > a:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.n-meta { display: inline-flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.news time { padding-top: 0; }
.n-cat { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 1px 8px; line-height: 1.6; }
.n-title { font-size: 15.5px; line-height: 1.7; }
.n-sum { grid-column: 2 / 3; font-size: 14px; color: var(--muted); line-height: 1.7; }
.news-list .n-title { font-weight: 600; }
.page-lead { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.article .meta { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.article h1 + .body { margin-top: 28px; }
.article .related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article .back { margin-top: 32px; font-size: 14.5px; }

/* ---------- 代表写真（着物・斜め向き。原寸比 1044×1067 のまま） ---------- */
.rep { display: grid; grid-template-columns: 280px 1fr; gap: 24px 48px; align-items: start; margin-top: 28px; }
.rep-photo { width: 100%; height: auto; aspect-ratio: 1044 / 1067; object-fit: cover; }
.rep .person { margin-bottom: 18px; }
.rep-mini { display: grid; grid-template-columns: 200px 1fr; gap: 16px 32px; align-items: start; margin-bottom: 8px; }
.rep-mini img { width: 100%; height: auto; aspect-ratio: 1044 / 1067; object-fit: cover; }
.rep-mini > div > p { font-size: 15.5px; }
.rep-mini .person-line { font-size: 22px; font-weight: 600; letter-spacing: .08em; margin: 0 0 10px; }

@media (max-width: 860px) {
  .rep { grid-template-columns: 1fr; }
  .rep-photo { width: 220px; }
}
@media (max-width: 520px) {
  .news li { flex-direction: row; }
  .news li > a { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 2px; }
  .n-meta { grid-column: 1 / 2; }
  .news li > a::after { grid-column: 2 / 3; grid-row: 1 / 3; align-self: center; }
  .n-title { grid-column: 1 / 2; }
  .n-sum { grid-column: 1 / 2; }
  .rep-mini { grid-template-columns: 1fr; }
  .rep-mini img { width: 180px; }
}
/* ---------- お問い合わせフォーム（サイト内。送信先は Supabase の phy-contact） ---------- */
.cform { margin-top: 28px; background: #fff; padding: 28px clamp(18px, 4vw, 36px) 20px; }
.cform .f { margin-bottom: 18px; }
.cform label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.cform .req { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 500; color: #fff; background: var(--accent-dark); padding: 0 6px; border-radius: 2px; vertical-align: 1px; }
.cform input, .cform select, .cform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c9cbd1; border-radius: 3px; padding: 10px 12px; }
.cform textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--accent-dark); outline-offset: 1px; border-color: var(--accent-dark); }
.cform [aria-invalid="true"] { border-color: #c62828; }
.cform .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 6px 0 4px; }
.cform .consent input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-error { color: #c62828; font-size: 14.5px; margin: 12px 0 0; }
.f-error.is-refused { white-space: pre-line; color: #8a1c1c; background: #fff4f4; border: 1px solid #e6b4b4; border-left: 4px solid #c62828; padding: 14px 16px; line-height: 1.8; font-size: 15px; overflow-wrap: anywhere; }
.cform button[disabled] { opacity: .6; cursor: wait; }
.cform-done { margin-top: 28px; background: #fff; padding: 28px clamp(18px, 4vw, 36px); border-left: 3px solid var(--accent); }
.cform-done h3 { font-size: 19px; font-weight: 700; margin: 0 0 12px; }
.cform-done:focus { outline: none; }

/* 折り返させたくない語句（文節で折り返す auto-phrase でも切れてしまう所だけに使う） */
.nw { display: inline-block; }
