@charset "UTF-8";
/* saisai v5 C案 下層（担当c）：いろどりぼっくす／記事詳細／お問い合わせ／送信完了／プライバシーポリシー／404
 * TOP の style.css を読み込んだうえで、足りない部品だけをここに書く（style.css は編集しない）
 */

:root {
  --c-error: #c72d56;
  --c-errorBg: #fff4f6;
  --c-white: #fff;
  --c-faint: rgba(24, 24, 27, .45);
}

/* ===== layout ===== */
/* いま開いているページのナビは、下線を出したままにする */
.l-nav__parentMenu a[aria-current="page"]::after { transform: scaleX(1); }
/* TOPはお問い合わせの舞台にフッターがかぶさる。下層はかぶせずに続ける */
.l-footer.--sub { margin-top: 0; }

/* ===== component ===== */
/* マークを描く画面固定のcanvas（TOPと同じ1枚） */
.c-stage {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.c-subMain { position: relative; z-index: 1; }

/* ページ見出し：左に見出し、右にマーク。マークはスクロールでそのページの形になる */
.c-pageTitle { position: relative; }
.c-pageTitle.--sticky { height: 140svh; }
.c-pageTitle.--sticky.--short { height: 125svh; }
.c-pageTitle__stage { position: relative; height: 100svh; min-height: 600px; }
.c-pageTitle.--sticky .c-pageTitle__stage { position: sticky; top: 0; }
.c-pageTitle__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 4.4vw;
  height: 100%;
  padding-top: var(--header-h);
}
.c-pageTitle__ttl { font-size: var(--fs-h2); line-height: 1.36; }
.c-pageTitle__lead {
  margin-top: 4svh;
  max-width: 32em;
  color: var(--c-ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
}
.c-pageTitle__slot { position: relative; width: min(56svh, 36vw); aspect-ratio: 1; }
.c-pageTitle__scroll {
  position: absolute;
  left: 3%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-sub);
}
.c-pageTitle__scroll span { font-family: var(--f-en); font-size: 14px; }
/* 読ませるページ用：短く静かな見出し */
.c-pageTitle.--quiet .c-pageTitle__stage { height: auto; min-height: 0; }
.c-pageTitle.--quiet .c-pageTitle__inner { padding: calc(var(--header-h) + 9svh) 0 6svh; }
.c-pageTitle.--quiet .c-pageTitle__slot { width: clamp(150px, 15vw, 210px); }

/* ラベルの色（style.css にない色） */
.c-label.--purple::before { background: var(--c-purple); }
.c-label.--lime::before { background: var(--c-lime); }
a.c-label { width: fit-content; }
a.c-label:hover { text-decoration: underline; text-underline-offset: 5px; }

/* 事業の色のタイル（2〜3枚） */
.c-pair { display: inline-flex; gap: 3px; flex-shrink: 0; }
.c-pair span {
  width: 16px;
  height: 8px;
  border-radius: 1.5px;
  transform: rotate(-45deg);
}
.c-pair.--web span:nth-child(1) { background: var(--c-blue); }
.c-pair.--web span:nth-child(2) { background: var(--c-cyan); }
.c-pair.--web span:nth-child(3) { background: var(--c-purple); }
.c-pair.--creative span:nth-child(1) { background: var(--c-red); }
.c-pair.--creative span:nth-child(2) { background: var(--c-pink); }
.c-pair.--creative span:nth-child(3) { background: var(--c-yellow); }
.c-pair.--advisor span:nth-child(1) { background: var(--c-green); }
.c-pair.--advisor span:nth-child(2) { background: var(--c-lime); }
.c-pair.--none span { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .5; }

/* 絞り込みのチップ（TOP つくったもの の絞り込みと同じ形） */
.c-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--c-line);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.c-chip:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.c-chip.is-active { background: var(--c-ink); color: #fff; box-shadow: none; }
.c-chip__num { font-family: var(--f-en); font-size: 12px; opacity: .55; }

/* 記事の行：タイルの模様の窓＋日付・分類＋タイトル（TOP いろどりぼっくす の行を大きくした形） */
.c-postList { border-top: 1px solid var(--c-line); }
.c-postList__item { border-bottom: 1px solid var(--c-line); }
.c-postList__item.is-hidden { display: none; }
.c-postList__link {
  display: grid;
  grid-template-columns: 220px 8.5em minmax(0, 1fr);
  align-items: center;
  column-gap: 40px;
  padding: 30px 0;
}
.c-postList__window { display: block; width: 220px; height: 136px; }
.c-postList__meta { display: flex; flex-direction: column; gap: 2px; }
.c-postList__date { color: var(--c-ink); font-family: var(--f-en); font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.c-postList__tag { font-size: 12px; font-weight: 500; color: var(--c-sub); letter-spacing: .08em; }
.c-postList__body { display: block; }
.c-postList__title {
  display: block;
  color: var(--c-ink);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.55;
  word-break: auto-phrase;
  text-wrap: balance;
  transition: opacity .3s;
}
.c-postList__excerpt {
  display: -webkit-box;
  margin-top: 10px;
  max-width: 40em;
  overflow: hidden;
  color: var(--c-sub);
  font-size: 14px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.c-postList__link:hover .c-postList__title { opacity: .6; }
/* いちばん新しい1本は、大きな窓で */
.c-postList__item.--feature .c-postList__link {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "win meta" "win body";
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  align-items: start;
  padding: 40px 0 44px;
}
.c-postList__item.--feature .c-postList__window { grid-area: win; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.c-postList__item.--feature .c-postList__meta { grid-area: meta; flex-direction: row; align-items: baseline; gap: 14px; padding-top: 12px; }
.c-postList__item.--feature .c-postList__body { grid-area: body; display: flex; flex-direction: column; }
.c-postList__item.--feature .c-postList__title { margin-top: 16px; font-size: clamp(26px, min(2.8vw, 5svh), 40px); line-height: 1.45; }
.c-postList__item.--feature .c-postList__excerpt { margin-top: 22px; font-size: 15px; -webkit-line-clamp: 4; }
.c-postList__more {
  align-self: flex-start;
  margin-top: 28px;
  padding-bottom: 6px;
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat;
  transition: background-size .4s cubic-bezier(.6, 0, .2, 1);
}
.c-postList__link:hover .c-postList__more { background-size: 30% 1.5px; }
/* 関連記事など：細い列に入れる小さい行 */
.c-postList.--compact .c-postList__link { grid-template-columns: 128px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 28px; row-gap: 4px; padding: 22px 0; }
.c-postList.--compact .c-postList__window { grid-row: 1 / span 2; width: 128px; height: 80px; }
.c-postList.--compact .c-postList__meta { flex-direction: row; gap: 12px; align-items: baseline; align-self: end; }
.c-postList.--compact .c-postList__date { font-size: 14px; }
.c-postList.--compact .c-postList__title { align-self: start; font-size: 18px; }

/* ページ送り：番号の下にタイル（TOP つくったもの のドットと同じ印） */
.c-pager { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 64px; }
.c-pager__list { display: flex; gap: 4px; }
.c-pager__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--c-sub);
  font-family: var(--f-en);
  font-size: 16px;
  font-weight: 500;
  transition: color .3s;
}
.c-pager__num::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 14px; height: 7px;
  margin-left: -7px;
  border-radius: 1.5px;
  background: var(--c-pink);
  transform: rotate(-45deg) scale(0);
  transition: transform .35s cubic-bezier(.3, .7, .3, 1);
}
.c-pager__num:hover { color: var(--c-ink); }
.c-pager__num.is-current { color: var(--c-ink); }
.c-pager__num.is-current::after { transform: rotate(-45deg) scale(1); }
.c-pager__step {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: inset 0 0 0 1px var(--c-line);
  transition: box-shadow .25s;
}
a.c-pager__step:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.c-pager__step.is-disabled { color: var(--c-faint); }

/* 本文の組版（記事・ポリシーで共通の読みやすさ） */
.c-editor { color: var(--c-text); font-size: 17px; line-height: 2.05; letter-spacing: .04em; }
.c-editor p + p { margin-top: 1.5em; }
.c-editor a { color: var(--c-ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.c-editor a:hover { text-decoration-thickness: 2px; }
.c-editor h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 2.6em 0 1em;
  font-size: 26px;
  line-height: 1.55;
}
.c-editor h2::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 10px;
  border-radius: 2px;
  background: var(--c-green);
  transform: translateY(-.3em) rotate(-45deg);
}
.c-editor h3 { margin: 2.2em 0 .8em; font-size: 20px; line-height: 1.6; }
.c-editor h2 + p, .c-editor h3 + p { margin-top: 0; }
.c-editor figure { margin: 2.4em 0; }
.c-editor figure img { width: 100%; border-radius: 12px; }
.c-editor figcaption { margin-top: 12px; color: var(--c-sub); font-size: 13px; line-height: 1.7; }
.c-editor ul, .c-editor ol { margin: 1.6em 0; display: grid; gap: .5em; }
.c-editor ul li { position: relative; padding-left: 1.6em; }
.c-editor ul li::before {
  content: "";
  position: absolute;
  left: .2em; top: .95em;
  width: 12px; height: 6px;
  border-radius: 1px;
  background: var(--c-lime);
  transform: rotate(-45deg);
}
.c-editor ol { counter-reset: num; }
.c-editor ol > li { position: relative; padding-left: 2em; counter-increment: num; }
.c-editor ol > li::before {
  content: counter(num, decimal-leading-zero);
  position: absolute;
  left: 0; top: .1em;
  color: var(--c-ink);
  font-family: var(--f-en);
  font-size: .88em;
  font-weight: 600;
}

/* 必須・任意の小さな札 */
.c-formTag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}
.c-formTag.--req { background: var(--c-ink); color: #fff; }
.c-formTag.--opt { color: var(--c-sub); box-shadow: inset 0 0 0 1px var(--c-line); }

.c-btn.--wide { min-width: 300px; }

/* 下層の終わりのお問い合わせ導線：小さなロゴに戻る */
.c-subCta { padding: 14svh 0 16svh; }
.c-subCta__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 56px;
  padding-top: 64px;
  border-top: 1px solid var(--c-line);
}
.c-subCta__slot { width: clamp(150px, 15vw, 220px); aspect-ratio: 1; }
.c-subCta__ttl { color: var(--c-ink); font-size: clamp(28px, 3.2vw, 46px); font-weight: 700; line-height: 1.4; word-break: auto-phrase; text-wrap: balance; }
.c-subCta__lead { margin-top: 16px; color: var(--c-ink); font-size: 16px; font-weight: 500; }
.c-subCta .c-label { margin-bottom: 18px; }
.c-subCta__actions { display: grid; justify-items: center; gap: 18px; }
.c-subCta__actions .c-btn { min-width: 300px; }
.c-subCta__tel { display: flex; align-items: baseline; gap: 12px; color: var(--c-ink); font-family: var(--f-en); font-size: 28px; font-weight: 500; letter-spacing: .02em; }
.c-subCta__telLabel { font-family: var(--f-jp); font-size: 13px; font-weight: 500; color: var(--c-sub); }

/* ===== project ===== */

/* --- いろどりぼっくす 一覧 --- */
.p-irodoriList { padding: 4svh 0 4svh; }
.p-irodoriList__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding-bottom: 32px; }
.p-irodoriList__filter { display: flex; flex-wrap: wrap; gap: 6px; }
.p-irodoriList__total { color: var(--c-sub); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.p-irodoriList__totalNum { margin-right: 6px; color: var(--c-ink); font-family: var(--f-en); font-size: 32px; font-weight: 500; line-height: 1; }
.p-irodoriList__empty { padding: 72px 0; border-bottom: 1px solid var(--c-line); }
.p-irodoriList__empty[hidden] { display: none; }
.p-irodoriList__emptyTtl { color: var(--c-ink); font-size: 24px; font-weight: 700; line-height: 1.6; }
.p-irodoriList__empty .c-textLink { margin-top: 24px; }

/* --- 記事詳細 --- */
.p-post { padding: calc(var(--header-h) + 9svh) 0 0; }
.p-post__head { max-width: 920px; }
.p-post__back { margin-bottom: 36px; }
.p-post__meta { display: flex; align-items: baseline; gap: 16px; }
.p-post__date { color: var(--c-ink); font-family: var(--f-en); font-size: 18px; font-weight: 500; letter-spacing: .04em; }
.p-post__tag { padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); font-size: 12px; line-height: 2; }
.p-post__ttl { margin-top: 20px; font-size: clamp(30px, min(4vw, 7svh), 58px); line-height: 1.4; }
.p-post__hero { height: clamp(240px, 46svh, 460px); margin-top: 7svh; }

.p-postBody { padding: 10svh 0 4svh; }
.p-postBody__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: 56px; }
.p-postBody__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.p-postBody__info { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--c-line); font-size: 14px; }
.p-postBody__info dt { margin-bottom: 2px; color: var(--c-sub); font-size: 12px; letter-spacing: .1em; }
.p-postBody__info dd { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--c-ink); font-weight: 500; }
.p-postBody__info time { font-family: var(--f-en); font-size: 15px; }
.p-postBody__kari { margin-left: -6px; color: var(--c-sub); font-size: 11px; }
.p-postBody__toList { margin-top: 36px; }
.p-postBody__main { max-width: 42em; }
.p-postBody__sample { margin-top: 88px; padding-top: 32px; border-top: 1px dashed rgba(24, 24, 27, .3); }
.p-postBody__sampleNote {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, .3);
  color: var(--c-sub);
  font-size: 12px;
  line-height: 1.7;
}
.p-postBody__sample .c-editor > :first-child { margin-top: 1.2em; }

/* 前後の記事 */
.p-postNav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 96px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.p-postNav__link { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 20px; row-gap: 12px; align-content: start; padding: 26px 24px 28px 0; }
.p-postNav__link.--next { padding: 26px 0 28px 24px; border-left: 1px solid var(--c-line); }
.p-postNav__label { grid-column: 1 / -1; color: var(--c-sub); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.p-postNav__window { display: block; width: 96px; height: 60px; }
.p-postNav__text { display: flex; flex-direction: column; }
.p-postNav__date { color: var(--c-sub); font-family: var(--f-en); font-size: 13px; }
.p-postNav__title { color: var(--c-ink); font-size: 16px; font-weight: 700; line-height: 1.55; word-break: auto-phrase; text-wrap: balance; transition: opacity .3s; }
a.p-postNav__link:hover .p-postNav__title { opacity: .6; }
.p-postNav__noneText { grid-column: 1 / -1; color: var(--c-faint); font-size: 14px; }

/* 関連記事 */
.p-postRelated { padding: 12svh 0 0; }
.p-postRelated__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: 56px; }
.p-postRelated__ttl { color: var(--c-ink); font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.45; word-break: auto-phrase; text-wrap: balance; }
.p-postRelated__action { margin-top: 40px; }

/* --- お問い合わせ --- */
.p-contactHead__tel { margin-top: 5svh; }
.p-contactHead__telNum { display: inline-flex; align-items: baseline; gap: 12px; color: var(--c-ink); font-family: var(--f-en); font-size: 32px; font-weight: 500; letter-spacing: .02em; }
.p-contactHead__telLabel { font-family: var(--f-jp); font-size: 13px; font-weight: 500; color: var(--c-sub); }
.p-contactHead__telNote { margin-top: 2px; color: var(--c-sub); font-size: 13px; }
.p-contactHead__steps {
  position: absolute;
  left: 0; right: 0; bottom: 4%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .08em;
  opacity: 0;
}
.p-contactHead__stepNo { display: block; color: var(--c-sub); font-family: var(--f-en); font-size: 13px; font-weight: 500; }
.p-contactHead__steps li:not(:first-child) { color: var(--c-faint); }

.p-contactForm { padding: 6svh 0 16svh; scroll-margin-top: var(--header-h); }
.p-contactForm__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: 56px; }
.p-contactForm__side { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.p-contactForm__steps { display: grid; border-top: 1px solid var(--c-line); }
.p-contactForm__step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-faint);
  font-size: 15px;
  font-weight: 700;
  transition: color .3s;
}
.p-contactForm__stepTile { width: 22px; height: 11px; border-radius: 2px; transform: rotate(-45deg); box-shadow: inset 0 0 0 1.5px currentColor; opacity: .5; transition: background-color .3s, box-shadow .3s, opacity .3s; }
.p-contactForm__stepNo { width: 1em; font-family: var(--f-en); font-size: 14px; font-weight: 500; }
.p-contactForm__step.is-current, .p-contactForm__step.is-done { color: var(--c-ink); }
.p-contactForm__step.is-current .p-contactForm__stepTile, .p-contactForm__step.is-done .p-contactForm__stepTile { box-shadow: none; opacity: 1; }
.p-contactForm__stepTile.--red { background: transparent; }
.p-contactForm__step.is-current .p-contactForm__stepTile.--red, .p-contactForm__step.is-done .p-contactForm__stepTile.--red { background: var(--c-red); }
.p-contactForm__step.is-current .p-contactForm__stepTile.--pink, .p-contactForm__step.is-done .p-contactForm__stepTile.--pink { background: var(--c-pink); }
.p-contactForm__step.is-current .p-contactForm__stepTile.--yellow { background: var(--c-yellow); }
.p-contactForm__sideText { margin-top: 28px; color: var(--c-sub); font-size: 14px; line-height: 1.9; }

.p-contactForm__view[hidden] { display: none; }
.p-contactForm__notice { padding-bottom: 28px; font-size: 14px; line-height: 2; }
.p-contactForm__notice .c-formTag { vertical-align: 1px; }
.p-contactForm__notice a { color: var(--c-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* エラーのまとめ */
.p-contactForm__errors { margin-bottom: 28px; padding: 22px 26px; border-radius: 14px; background: var(--c-errorBg); box-shadow: inset 0 0 0 1.5px var(--c-error); }
.p-contactForm__errors[hidden] { display: none; }
.p-contactForm__errors:focus { outline: none; }
.p-contactForm__errorsTtl { color: var(--c-error); font-size: 15px; font-weight: 700; }
.p-contactForm__errorsList { margin-top: 8px; display: grid; gap: 2px; font-size: 14px; }
.p-contactForm__errorsList a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; }

.p-contactForm__row {
  display: grid;
  grid-template-columns: 13em minmax(0, 1fr);
  column-gap: 32px;
  margin: 0;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--c-line);
  min-inline-size: 0;
}
fieldset.p-contactForm__row > legend { float: left; padding: 0; }
.p-contactForm__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 8px 12px;
  padding-top: 14px;
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.p-contactForm__in { min-width: 0; }
.p-contactForm__hint { margin: 14px 0 12px; color: var(--c-sub); font-size: 13px; }
.p-contactForm__input {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
  color: var(--c-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .04em;
  appearance: none;
  transition: box-shadow .2s, background-color .2s;
}
.p-contactForm__input::placeholder { color: rgba(24, 24, 27, .36); }
.p-contactForm__input:hover { box-shadow: inset 0 0 0 1.5px rgba(24, 24, 27, .4); }
.p-contactForm__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--c-ink); }
.p-contactForm__input.--textarea { min-height: 220px; resize: vertical; }
.p-contactForm__row.is-error .p-contactForm__input { background: var(--c-errorBg); box-shadow: inset 0 0 0 2px var(--c-error); }
.p-contactForm__row.is-ok .p-contactForm__input { box-shadow: inset 0 0 0 1.5px var(--c-green); }
.p-contactForm__err { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--c-error); font-size: 13px; font-weight: 700; }
.p-contactForm__err[hidden] { display: none; }
.p-contactForm__err::before { content: ""; flex-shrink: 0; width: 14px; height: 7px; border-radius: 1.5px; background: var(--c-error); transform: rotate(-45deg); }

/* ご相談の種類：事業の色のタイルつきのチップ */
.p-contactForm__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.p-contactForm__choice { position: relative; cursor: pointer; }
.p-contactForm__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-contactForm__choiceIn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.p-contactForm__choice:hover .p-contactForm__choiceIn { box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.p-contactForm__choice input:checked + .p-contactForm__choiceIn { background: var(--c-ink); color: #fff; box-shadow: none; font-weight: 700; }
.p-contactForm__choice input:focus-visible + .p-contactForm__choiceIn { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.p-contactForm__choice .c-pair span { width: 14px; height: 7px; }
.p-contactForm__row.is-error .p-contactForm__choiceIn { box-shadow: inset 0 0 0 1.5px var(--c-error); }

/* 個人情報の取り扱い：スクロールで読める枠＋同意 */
.p-contactForm__policy {
  height: 220px;
  margin-top: 6px;
  padding: 20px 24px;
  overflow: auto;
  border-radius: 12px;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
  font-size: 13px;
  line-height: 1.95;
  overscroll-behavior: contain;
}
.p-contactForm__policy:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.p-contactForm__policyH { margin: 1.6em 0 .4em; color: var(--c-ink); font-size: 14px; font-weight: 700; }
.p-contactForm__policy ol { padding-left: 1.6em; list-style: decimal; }
.p-contactForm__policy ol ol { list-style: lower-alpha; }
.p-contactForm__policy a { text-decoration: underline; }
.p-contactForm__check { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin-top: 18px; color: var(--c-ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.p-contactForm__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-contactForm__checkBox { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 7px; background: var(--c-white); box-shadow: inset 0 0 0 1.5px rgba(24, 24, 27, .4); transition: background-color .2s, box-shadow .2s; }
.p-contactForm__checkBox::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 8px;
  margin: -4px 0 0 -8px;
  border-radius: 1.5px;
  background: var(--c-lime);
  transform: rotate(-45deg) scale(0);
  transition: transform .3s cubic-bezier(.3, .7, .3, 1.4);
}
.p-contactForm__check input:checked + .p-contactForm__checkBox { background: var(--c-ink); box-shadow: none; }
.p-contactForm__check input:checked + .p-contactForm__checkBox::after { transform: rotate(-45deg) scale(1); }
.p-contactForm__check input:focus-visible + .p-contactForm__checkBox { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.p-contactForm__row.is-error .p-contactForm__checkBox { box-shadow: inset 0 0 0 2px var(--c-error); }
.p-contactForm__hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.p-contactForm__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 40px; border-top: 1px solid var(--c-line); }
.p-contactForm__actions.--confirm { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 16px; }
.p-contactForm__actionsNote { color: var(--c-sub); font-size: 14px; }
.p-contactForm__confirmLead { padding-bottom: 28px; color: var(--c-ink); font-size: 16px; font-weight: 500; }
.p-contactForm__confirmLead:focus { outline: none; }
.p-contactForm__confirmRow { display: grid; grid-template-columns: 13em minmax(0, 1fr); column-gap: 32px; padding: 24px 0; border-top: 1px solid var(--c-line); }
.p-contactForm__confirmRow dt { color: var(--c-sub); font-size: 14px; font-weight: 700; }
.p-contactForm__confirmRow dd { margin: 0; color: var(--c-ink); font-size: 16px; overflow-wrap: anywhere; }
.p-contactForm__confirmRow dd.--pre { white-space: pre-wrap; }
.p-contactForm__mockNote { margin-top: 24px; color: var(--c-error); font-size: 13px; text-align: center; }

/* --- 送信完了 --- */
.p-thanks__steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 30px; color: var(--c-ink); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.p-thanks__steps li { display: flex; align-items: center; gap: 10px; }
.p-thanks__steps li:not(.is-current) { color: var(--c-sub); }
.p-thanks__stepTile { width: 20px; height: 10px; border-radius: 2px; transform: rotate(-45deg); }
.p-thanks__stepTile.--red { background: var(--c-red); }
.p-thanks__stepTile.--pink { background: var(--c-pink); }
.p-thanks__stepTile.--yellow { background: var(--c-yellow); }
.p-thanks__note { margin-top: 20px; max-width: 34em; color: var(--c-sub); font-size: 14px; line-height: 1.9; }
.p-thanks__note a { color: var(--c-ink); font-family: var(--f-en); font-weight: 500; }
.p-thanks__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-top: 5svh; }
.p-thanks__actions .c-btn { min-width: 260px; }

/* --- プライバシーポリシー：静かに読ませる --- */
.p-privacy { padding: 2svh 0 2svh; }
.p-privacy__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: 56px; }
.p-privacy__toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.p-privacy__tocTtl { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 14px; font-weight: 700; letter-spacing: .1em; list-style: none; pointer-events: none; }
.p-privacy__tocTtl::-webkit-details-marker { display: none; }
.p-privacy__tocCount { color: var(--c-sub); font-size: 12px; font-weight: 500; }
.p-privacy__tocList { padding-top: 6px; }
.p-privacy__tocLink { display: grid; grid-template-columns: 22px 26px minmax(0, 1fr); align-items: center; min-height: 36px; color: var(--c-sub); font-size: 13px; line-height: 1.5; transition: color .25s; }
.p-privacy__tocLink::before { content: ""; width: 14px; height: 7px; border-radius: 1.5px; background: currentColor; opacity: .25; transform: rotate(-45deg); transition: opacity .25s, background-color .25s, transform .3s; }
.p-privacy__tocNo { font-family: var(--f-en); font-size: 12px; font-weight: 500; }
.p-privacy__tocLink:hover { color: var(--c-ink); }
.p-privacy__tocLink.is-current { color: var(--c-ink); font-weight: 700; }
.p-privacy__tocLink.is-current::before { background: var(--c-green); opacity: 1; transform: rotate(-45deg) translate(3px, 0); }
.p-privacy__body { max-width: 44em; color: var(--c-text); font-size: 16px; line-height: 2.05; }
.p-privacy__intro { padding-bottom: 8px; color: var(--c-ink); font-size: 17px; font-weight: 500; }
.p-privacy__article { margin-top: 52px; padding-top: 48px; border-top: 1px solid var(--c-line); scroll-margin-top: calc(var(--header-h) + 24px); }
.p-privacy__h { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; font-size: 22px; line-height: 1.5; }
.p-privacy__no { color: var(--c-sub); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.p-privacy__body p + p, .p-privacy__body p + ol { margin-top: 1em; }
.p-privacy__body ol { counter-reset: lv1; display: grid; gap: .7em; }
.p-privacy__body ol > li { position: relative; padding-left: 2.2em; counter-increment: lv1; }
.p-privacy__body ol > li::before { content: counter(lv1) "."; position: absolute; left: 0; top: 0; color: var(--c-ink); font-family: var(--f-en); font-weight: 600; }
.p-privacy__body ol ol { counter-reset: lv2; margin-top: .7em; gap: .4em; font-size: 15px; }
.p-privacy__body ol ol > li { counter-increment: lv2; padding-left: 2.4em; }
.p-privacy__body ol ol > li::before { content: "(" counter(lv2) ")"; font-weight: 500; }
.p-privacy__body ol ol ol { counter-reset: lv3; }
.p-privacy__body ol ol ol > li { counter-increment: lv3; }
.p-privacy__body ol ol ol > li::before { content: counter(lv3, lower-alpha) "."; }
.p-privacy__body a { color: var(--c-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.p-privacy__company { margin-top: 1.4em !important; padding: 20px 24px; border-radius: 12px; background: var(--c-white); font-size: 15px; }

/* --- 404 --- */
.p-notFound__en { color: var(--c-sub); font-family: var(--f-en); font-weight: 500; letter-spacing: .08em; }
.p-notFound__actions { margin-top: 5svh; }
.p-notFound__actions .c-btn { min-width: 260px; }
.p-notFound__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font-size: 14px; }
.p-notFound__links a { color: var(--c-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-line); text-underline-offset: 5px; transition: text-decoration-color .25s; }
.p-notFound__links a:hover { text-decoration-color: var(--c-ink); }

/* ===== utility ===== */
@supports not (word-break: auto-phrase) {
  .c-postList__title, .c-subCta__ttl, .p-postNav__title, .p-postRelated__ttl { word-break: keep-all; overflow-wrap: anywhere; }
}

/* ===== responsive ===== */
@media (max-width: 1000px) {
  .c-postList__link { grid-template-columns: 180px minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 6px; column-gap: 28px; }
  .c-postList__window { grid-row: 1 / span 2; width: 180px; height: 112px; }
  .c-postList__meta { flex-direction: row; gap: 12px; align-items: baseline; align-self: end; }
  .c-postList__body { align-self: start; }
  .c-postList__item.--feature .c-postList__link { column-gap: 36px; }
  .c-subCta__inner { grid-template-columns: auto minmax(0, 1fr); row-gap: 40px; }
  .c-subCta__actions { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 40px; }
  .p-contactForm__row, .p-contactForm__confirmRow { grid-template-columns: 11em minmax(0, 1fr); }
}

@media (max-height: 780px) and (min-width: 769px) {
  .c-pageTitle__scroll { display: none; }
}

@media (max-width: 768px) {
  .c-pageTitle.--sticky { height: 130svh; }
  .c-pageTitle.--sticky.--short { height: auto; }
  .c-pageTitle.--sticky.--short .c-pageTitle__stage { position: relative; height: auto; min-height: 0; }
  .c-pageTitle__stage { min-height: 560px; }
  .c-pageTitle__inner {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-start;
    padding-top: calc(var(--header-h) - 10px);
  }
  .c-pageTitle__slot { width: min(76vw, 40svh); align-self: center; margin-bottom: 4svh; }
  .c-pageTitle__lead { margin-top: 2.4svh; font-size: 14px; line-height: 1.9; }
  .c-pageTitle__scroll { left: 5%; bottom: 14px; }
  .c-pageTitle.--sticky.--short .c-pageTitle__inner { padding: calc(var(--header-h) + 3svh) 0 4svh; }
  .c-pageTitle.--quiet .c-pageTitle__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: calc(var(--header-h) + 6svh) 0 4svh; }
  .c-pageTitle.--quiet .c-pageTitle__slot { width: 96px; margin: 0; align-self: center; }
  .c-pageTitle.--quiet .c-pageTitle__ttl { font-size: 28px; }
  .c-pageTitle.--screen .c-pageTitle__stage { height: auto; min-height: 100svh; }
  .c-pageTitle.--screen .c-pageTitle__inner { padding: calc(var(--header-h) + 2svh) 0 8svh; min-height: 100svh; }
  .c-pageTitle.--screen .c-pageTitle__slot { width: min(62vw, 32svh); }

  .c-chip { min-height: 40px; padding: 0 14px; font-size: 12px; }

  .c-postList__link,
  .c-postList.--compact .c-postList__link { grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; padding: 20px 0; }
  .c-postList__window,
  .c-postList.--compact .c-postList__window { width: 96px; height: 68px; align-self: start; }
  .c-postList__meta { align-self: start; }
  .c-postList__date { font-size: 13px; }
  .c-postList__tag { font-size: 11px; }
  .c-postList__title, .c-postList.--compact .c-postList__title { font-size: 16px; }
  .c-postList__excerpt { display: none; }
  .c-postList__item.--feature .c-postList__link { display: flex; flex-direction: column; padding: 24px 0 32px; }
  .c-postList__item.--feature .c-postList__window { aspect-ratio: 16 / 11; }
  .c-postList__item.--feature .c-postList__meta { padding-top: 20px; }
  .c-postList__item.--feature .c-postList__title { margin-top: 8px; font-size: 22px; }
  .c-postList__item.--feature .c-postList__excerpt { display: -webkit-box; margin-top: 12px; font-size: 14px; -webkit-line-clamp: 3; }
  .c-postList__more { margin-top: 18px; font-size: 14px; }

  .c-pager { gap: 8px; margin-top: 40px; }
  .c-pager__step { padding: 0 14px; font-size: 12px; }
  .c-pager__num { width: 44px; height: 44px; }

  .c-editor { font-size: 16px; line-height: 2; }
  .c-editor h2 { gap: 12px; font-size: 21px; }
  .c-editor h2::before { width: 16px; height: 8px; }
  .c-editor h3 { font-size: 18px; }

  .c-btn.--wide { width: 100%; min-width: 0; }

  .c-subCta { padding: 10svh 0 12svh; }
  .c-subCta__inner { display: flex; flex-direction: column; align-items: stretch; padding-top: 48px; }
  .c-subCta__slot { width: 120px; align-self: center; margin-bottom: 32px; }
  .c-subCta__ttl { font-size: 26px; }
  .c-subCta__lead { font-size: 14px; }
  .c-subCta__actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: 32px; }
  .c-subCta__actions .c-btn { width: 100%; min-width: 0; }
  .c-subCta__tel { justify-content: center; font-size: 24px; }

  .p-irodoriList { padding: 2svh 0 2svh; }
  .p-irodoriList__bar { flex-direction: column-reverse; align-items: flex-start; gap: 14px; padding-bottom: 20px; }
  .p-irodoriList__filter { gap: 4px; }
  .p-irodoriList__totalNum { font-size: 26px; }
  .p-irodoriList__emptyTtl { font-size: 19px; }

  .p-post { padding-top: calc(var(--header-h) + 5svh); }
  .p-post__back { margin-bottom: 22px; }
  .p-post__date { font-size: 15px; }
  .p-post__ttl { margin-top: 12px; font-size: min(7.4vw, 30px); }
  .p-post__hero { height: 240px; margin-top: 4svh; }
  .p-postBody { padding: 6svh 0 2svh; }
  .p-postBody__inner { display: flex; flex-direction: column; }
  .p-postBody__aside { position: static; order: 2; margin-top: 48px; }
  .p-postBody__info { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 28px; font-size: 13px; }
  .p-postBody__sample { margin-top: 56px; }
  .p-postNav { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .p-postNav__link, .p-postNav__link.--next { grid-template-columns: 80px minmax(0, 1fr); padding: 20px 0; border-left: 0; }
  .p-postNav__link.--next { border-top: 1px solid var(--c-line); }
  .p-postNav__window { width: 80px; height: 52px; }
  .p-postNav__title { font-size: 15px; }
  .p-postRelated { padding-top: 8svh; }
  .p-postRelated__inner { display: block; }
  .p-postRelated__ttl { font-size: 22px; margin-bottom: 20px; }
  .p-postRelated__action .c-btn { width: 100%; }

  .p-contactHead__tel { margin-top: 3svh; }
  .p-contactHead__telNum { font-size: 26px; }
  .p-contactHead__slot { width: min(70vw, 30svh); }
  .p-contactHead__steps { display: none; }
  .p-contactForm { padding: 4svh 0 10svh; }
  .p-contactForm__inner { display: block; }
  .p-contactForm__side { position: static; margin-bottom: 28px; }
  .p-contactForm__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--c-line); }
  .p-contactForm__step { flex-direction: column; gap: 6px; padding: 14px 0 12px; border-bottom: 0; font-size: 12px; }
  .p-contactForm__stepTile { width: 18px; height: 9px; }
  .p-contactForm__stepNo { display: none; }
  .p-contactForm__sideText { margin-top: 18px; font-size: 13px; }
  .p-contactForm__notice { font-size: 13px; }
  .p-contactForm__row, .p-contactForm__confirmRow { display: block; padding: 24px 0; }
  .p-contactForm__label { padding: 0 0 12px; font-size: 14px; }
  fieldset.p-contactForm__row > legend { float: none; }
  .p-contactForm__hint { margin-top: 0; }
  .p-contactForm__input { font-size: 16px; }
  .p-contactForm__choices { gap: 6px; }
  .p-contactForm__choiceIn { min-height: 46px; padding: 0 16px 0 14px; font-size: 13px; }
  .p-contactForm__policy { height: 180px; padding: 16px 18px; font-size: 12.5px; }
  .p-contactForm__confirmRow dt { margin-bottom: 6px; font-size: 13px; }
  .p-contactForm__confirmRow dd { font-size: 15px; }
  .p-contactForm__actions.--confirm { flex-direction: column; align-items: stretch; }

  .p-thanks__steps { margin-bottom: 18px; font-size: 12px; gap: 6px 16px; }
  .p-thanks__note { font-size: 13px; }
  .p-thanks__actions { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 4svh; }
  .p-thanks__actions .c-btn { width: 100%; min-width: 0; }
  .p-thanks__actions .c-textLink { align-self: center; }

  .p-privacy__inner { display: block; }
  .p-privacy__toc { position: static; margin-bottom: 40px; }
  .p-privacy__tocBox { border-radius: 12px; background: var(--c-white); padding: 4px 18px; }
  .p-privacy__tocTtl { min-height: 48px; align-items: center; padding: 0; border-bottom: 0; pointer-events: auto; cursor: pointer; }
  .p-privacy__tocTtl::after { content: "+"; margin-left: 12px; font-family: var(--f-en); font-size: 18px; font-weight: 500; }
  .p-privacy__tocBox[open] .p-privacy__tocTtl::after { content: "−"; }
  .p-privacy__tocCount { margin-left: auto; }
  .p-privacy__tocList { padding: 4px 0 12px; border-top: 1px solid var(--c-line); }
  .p-privacy__tocLink { min-height: 40px; }
  .p-privacy__body { font-size: 15px; line-height: 2; }
  .p-privacy__intro { font-size: 15px; }
  .p-privacy__article { margin-top: 36px; padding-top: 32px; }
  .p-privacy__h { font-size: 19px; }
  .p-privacy__body ol ol { font-size: 14px; }
  .p-privacy__company { padding: 16px 18px; font-size: 14px; }

  .p-notFound__actions .c-btn { width: 100%; min-width: 0; }
  .p-notFound__links { gap: 4px 18px; margin-top: 24px; font-size: 13px; }
  .p-notFound__links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 短い説明文は文節で折る（Safari は utility の @supports で keep-all） */
.c-pageTitle__lead, .p-contactForm__sideText, .p-contactForm__actionsNote, .p-contactForm__confirmLead, .p-thanks__note, .p-irodoriList__emptyTtl { word-break: auto-phrase; }
/* fieldset の上線は legend で切れるので、影で引く */
fieldset.p-contactForm__row { border-top: 0; box-shadow: inset 0 1px 0 var(--c-line); }
.p-thanks__note a { white-space: nowrap; }
/* Safari（auto-phrase 非対応）：見出しは keep-all で語の途中で折らない／長文の本文は普通に折って行末をそろえる */
@supports not (word-break: auto-phrase) {
  .c-pageTitle__ttl, .p-post__ttl, .c-editor h2, .c-editor h3, .p-privacy__h { word-break: keep-all; overflow-wrap: anywhere; }
  .c-editor p, .c-editor li, .p-privacy__body p, .p-privacy__body li, .p-contactForm__policy p, .p-contactForm__policy li { word-break: normal; }
}
.p-contactForm__main { position: relative; }

/* 記事ごとの2色（ロゴの8色から） */
.c-pair span.--red { background: var(--c-red); }
.c-pair span.--yellow { background: var(--c-yellow); }
.c-pair span.--cyan { background: var(--c-cyan); }
.c-pair span.--green { background: var(--c-green); }
.c-pair span.--purple { background: var(--c-purple); }
.c-pair span.--blue { background: var(--c-blue); }
.c-pair span.--lime { background: var(--c-lime); }
.c-pair span.--pink { background: var(--c-pink); }
/* saisai-web.com のコラム（外部サイトへ） */
.c-postList__ext { display: block; margin-top: 4px; color: var(--c-sub); font-family: var(--f-en); font-size: 11px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }

/* 記事のサムネ：記事の写真（16:9）を入れる */
.c-postList__window,
.p-postNav__window { height: auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #e9e9e4; }
.c-postList__item.--feature .c-postList__window { aspect-ratio: 16 / 9; border-radius: 12px; }
.c-postList__window img,
.p-postNav__window img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.c-postList__link:hover .c-postList__window img,
.p-postNav__link:hover .p-postNav__window img { transform: scale(1.04); }

/* ===== お問い合わせ：Skeleton Form の出力をデザインに合わせる（.p-skForm の中だけ） ===== */
.p-skForm .wrapper { margin: 0; }
.p-skForm table, .p-skForm tbody { display: block; width: 100%; border-collapse: collapse; }
.p-skForm tr {
  display: grid;
  grid-template-columns: 13em minmax(0, 1fr);
  column-gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--c-line);
}
.p-skForm th {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 8px 12px;
  padding: 14px 0 0;
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}
.p-skForm th p { margin: 0; }
.p-skForm td { display: block; min-width: 0; padding: 0; }
.p-skForm .assist { margin: 14px 0 12px; color: var(--c-sub); font-size: 13px; }
.p-skForm .eqn5_input, .p-skForm .eqn5_mail {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
  color: var(--c-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .04em;
  appearance: none;
  transition: box-shadow .2s, background-color .2s;
}
.p-skForm textarea.eqn5_input { min-height: 220px; resize: vertical; }
.p-skForm .eqn5_input::placeholder, .p-skForm .eqn5_mail::placeholder { color: rgba(24, 24, 27, .36); }
.p-skForm .eqn5_input:hover, .p-skForm .eqn5_mail:hover { box-shadow: inset 0 0 0 1.5px rgba(24, 24, 27, .4); }
.p-skForm .eqn5_input:focus, .p-skForm .eqn5_mail:focus { outline: none; box-shadow: inset 0 0 0 2px var(--c-ink); }
/* 入力チェックのエラー（mailer.js が .err_area に文言を入れ、入力欄に .error を付ける） */
.p-skForm .err_area:empty { display: none; }
.p-skForm .err_area { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--c-error); font-size: 13px; font-weight: 700; }
.p-skForm .err_area:not(:empty)::before { content: ""; flex-shrink: 0; width: 14px; height: 7px; border-radius: 1.5px; background: var(--c-error); transform: rotate(-45deg); }
.p-skForm .error, .p-skForm .is-error, .p-skForm [aria-invalid="true"] { background: var(--c-errorBg); box-shadow: inset 0 0 0 2px var(--c-error); }

/* ご相談の種類：事業の色のタイルつきのチップ */
.p-skForm .check_list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-skForm .check_list li { position: relative; }
.p-skForm .check_list input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-skForm #eqn5_group_input_contact_0 label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.p-skForm #eqn5_group_input_contact_0 label:hover { box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.p-skForm #eqn5_group_input_contact_0 input:checked + label { background: var(--c-ink); color: #fff; box-shadow: none; font-weight: 700; }
.p-skForm #eqn5_group_input_contact_0 input:focus-visible + label { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.p-skForm .c-pair span { width: 14px; height: 7px; }

/* 個人情報の取り扱い：見出し｜スクロールで読める枠＋同意 */
.p-skForm .agree_box {
  display: grid;
  grid-template-columns: 13em minmax(0, 1fr);
  column-gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--c-line);
}
.p-skForm .agree_box > * { grid-column: 2; }
.p-skForm .agree_box > .p-skForm__agreeLabel { grid-column: 1; grid-row: 1 / span 3; display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 8px 12px; padding-top: 14px; color: var(--c-ink); font-size: 15px; font-weight: 700; line-height: 1.6; }
.p-skForm #eqn5_group_input_contact_5 label { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin-top: 18px; color: var(--c-ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.p-skForm #eqn5_group_input_contact_5 label::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1.5px rgba(24, 24, 27, .4);
  transition: background-color .2s, box-shadow .2s;
}
/* チェックの印：ライムのタイル（デザインの同意欄と同じ） */
.p-skForm #eqn5_group_input_contact_5 label::after {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 16px; height: 8px;
  margin: -4px 0 0 -8px;
  border-radius: 1.5px;
  background: var(--c-lime);
  transform: rotate(-45deg) scale(0);
  transition: transform .3s cubic-bezier(.3, .7, .3, 1.4);
}
.p-skForm #eqn5_group_input_contact_5 input:checked + label::before { background: var(--c-ink); box-shadow: none; }
.p-skForm #eqn5_group_input_contact_5 input:checked + label::after { transform: rotate(-45deg) scale(1); }
.p-skForm #eqn5_group_input_contact_5 input:focus-visible + label::before { outline: 2px solid var(--c-ink); outline-offset: 3px; }

/* ボタン */
.p-skForm .transmission, .p-skForm .transmission_confirm { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; padding: 40px 0 0; border-top: 1px solid var(--c-line); list-style: none; }
.p-skForm .transmission_confirm { flex-direction: row; justify-content: center; flex-wrap: wrap; }
.p-skForm .transmission_confirm form { margin: 0; }
.p-skForm .transmission button, .p-skForm .transmission_confirm button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 64px;
  padding: 0 40px;
  border: 0;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: opacity .3s, background-color .3s;
}
.p-skForm .transmission button:hover, .p-skForm .transmission_confirm button:hover { opacity: .85; }
.p-skForm .transmission .button_confirm { background: rgba(24, 24, 27, .12); color: var(--c-sub); }
.p-skForm .transmission_confirm li + li button { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-ink); }

/* 確認画面：項目名｜入力内容 */
.p-skForm.--confirm th { padding-top: 0; color: var(--c-sub); font-size: 14px; }
.p-skForm.--confirm th .c-formTag { display: none; }
.p-skForm.--confirm td p { margin: 0; color: var(--c-ink); font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
.p-skForm.--confirm tr { padding: 24px 0; }

@media (max-width: 1100px) {
  .p-skForm tr, .p-skForm .agree_box { grid-template-columns: 11em minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .p-skForm tr, .p-skForm .agree_box { display: block; padding: 24px 0; }
  .p-skForm th, .p-skForm .agree_box > .p-skForm__agreeLabel { padding: 0 0 12px; font-size: 14px; }
  .p-skForm .assist { margin-top: 0; }
  .p-skForm .transmission button, .p-skForm .transmission_confirm button { width: 100%; min-width: 0; }
  .p-skForm .transmission_confirm { flex-direction: column; align-items: stretch; }
  .p-skForm.--confirm th { padding-bottom: 6px; }
}
/* 確認画面を直接開いたときなど（Skeleton のエラー表示） */
.p-skForm .error_area { padding: 22px 26px; border-radius: 14px; background: var(--c-errorBg); box-shadow: inset 0 0 0 1.5px var(--c-error); }
.p-skForm .error_access { margin: 0; padding: 0; list-style: none; color: var(--c-error); font-size: 15px; font-weight: 700; }
.p-skForm .error_area .transmission { padding-top: 20px; border-top: 0; }
.p-skForm .btn_return a { color: var(--c-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
