/* contact.css — CONTACT・利用規約・説明事項・ご依頼フォームの専用部分。base.css / ui.css の次に読む */

/* ---------- 説明事項の見出し（英字なし） ---------- */
.ja-h1 { margin: 0; font-family: var(--f-ja); font-weight: 700; font-size: 28px; line-height: 1.5; letter-spacing: .04em; color: var(--brown); }
@media (max-width: 767px) { .ja-h1 { font-size: 22px; } }

/* ---------- 規約・説明事項の章 ---------- */
.c-chapters { gap: 30px; max-width: 800px; }
.c-chap .h2, .c-chap .h3 { margin-bottom: 10px; }
.c-chap .h2 { padding-bottom: 8px; border-bottom: 2px dotted var(--sky); }

/* ---------- CONTACT: 受付状況 ---------- */
.c-status { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.c-status .st { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.c-status .st-lead { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 18px; border-radius: 999px; background: var(--sky-soft); font-size: 16px; line-height: 1.5; color: var(--ink); } /* TOP の「▲ 相談可」の札と同じ形：水色の地に、ふつうの文字色 */
.c-msg { margin: 4px 0 0; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--sky-deep); }
.c-msg[hidden], .c-corp[hidden] { display: none; }
/* 法人・事務所向けの一言は、見出しの札＋本文の小さな囲みにまとめる */
.c-corp { max-width: 640px; padding: 14px 18px; border-radius: 18px; background: var(--sky-mist); box-shadow: inset 0 0 0 1.5px var(--line-soft); }
.c-corp-t { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--brown); }
.c-corp-t .mo-i { --s: 13px; --c: var(--sky-deep); }
.c-corp-d > summary { list-style: none; cursor: pointer; margin: 0; }
.c-corp-d > summary::-webkit-details-marker { display: none; }
.c-corp-d > summary:hover { color: var(--sky-deep); }
.c-corp-ar { width: 7px; height: 7px; margin-left: 4px; border-right: 2px solid var(--sky-deep); border-bottom: 2px solid var(--sky-deep); transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.c-corp-d[open] > summary .c-corp-ar { transform: translateY(1px) rotate(-135deg); }
.c-corp-d[open] > .c-corp-b { margin-top: 6px; animation: corpOpen .3s ease; }
@keyframes corpOpen { from { opacity: 0; transform: translateY(-4px); } }
.c-corp:has(.c-corp-d:not([open])) { padding-top: 10px; padding-bottom: 10px; }
.c-corp-b { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-soft); white-space: pre-line; }
.c-upd { margin-left: 10px; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink-soft); } /* 見出しの横に小さく（目立たせない） */
.c-upd:has(> [hidden]) { display: none; }
.c-sec-status .h2 { flex-wrap: wrap; row-gap: 0; }
/* 受付状況とご依頼フォームの間を詰める（どちらも白地なので、上下の余白だけ減らす） */
.c-sec-status { padding-bottom: 8px; }
.c-sec-form { padding-top: 20px; }
.c-sec-form.sep::before { display: none; }
@media (max-width: 767px) { .c-status .st-lead { font-size: 15px; padding: 4px 14px; } .c-corp { padding: 12px 14px; } }
.c-status .months { max-width: 100%; }
.c-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 13px; color: var(--ink-soft); }
.c-lg { display: inline-flex; align-items: center; gap: 6px; }
.c-legend dt { font-family: var(--f-en); font-weight: 600; font-size: 15px; color: var(--lg-mark); }
.c-legend dt svg { width: 1em; height: 1em; }
/* 記号の見かたは色を付けず、薄いグレーで控えめに（記号・文字とも） */
.c-legend { --lg-mark: #c6bfb5; color: #aaa298; }
.c-legend dd { margin: 0; }

/* ---------- CONTACT: 料金のめやす ---------- */
.c-acc .tbl td { font-family: var(--f-en); font-weight: 600; color: var(--brown); white-space: nowrap; }
.c-acc .tbl th[scope="row"] { color: var(--ink); white-space: normal; }
.c-acc .note { margin: 10px 0 0; }
/* 表の上の小さなラベル（商用利用料別・税別） */
.c-est-tag { display: inline-block; margin: 0 0 10px; padding: 1px 12px; border-radius: 999px; background: var(--sky-pale); color: var(--sky-ink, #2c7aa8); font-size: 12px; font-weight: 700; line-height: 1.9; }
.c-est-tag[hidden] { display: none; }
/* 表: 見出しの行は水色、1 行おきにうすい色、金額は右にそろえる */
.c-acc .tbl.c-est-tbl { border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--line-soft); font-size: 14.5px; max-width: 760px; }
.c-est-tbl th, .c-est-tbl td { padding: 12px 16px; border-bottom: 1px solid var(--sky-pale); }
.c-est-tbl thead th { background: var(--sky-pale); color: var(--sky-ink, #2c7aa8); font-size: 12.5px; }
.c-est-tbl thead th:last-child, .c-acc .c-est-tbl td { text-align: right; }
.c-acc .c-est-tbl td { font-size: 17px; }
.c-est-tbl tbody tr:nth-child(even) { background: var(--sky-mist); }
.c-est-tbl tbody tr:last-child > * { border-bottom: 0; }
/* 表の下の一文（たまご色のメモ。改行はそのまま） */
.c-est-msg { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--egg-soft); box-shadow: inset 0 0 0 1.5px #f6e2a8; font-size: 14px; line-height: 1.9; color: var(--ink); }
.c-est-msg[hidden] { display: none; }
.c-est-msg .mo { position: relative; left: auto; top: auto; flex: none; width: 16px; height: 16px; margin-top: .45em; background: #e9b93f; }
.c-est-msg-t { white-space: pre-line; min-width: 0; }
.c-actions { margin-top: 18px; }

/* ---------- CONTACT: 開閉式の 5 項目（見た目は ui.css の .acc） ---------- */
.c-accs-in { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.c-acc { background: var(--white); }
.c-acc[hidden] { display: none; }
.c-acc .acc-b { padding-top: 4px; }
.c-acc .acc-t .mo-i { flex: none; }
.c-acc .tbl { max-width: 640px; }
.c-acc .c-actions { margin-top: 14px; }
.c-acc .list { margin: 0; }
.c-vt-body { display: flex; flex-direction: column; gap: 12px; }
.c-vt-body .txt { margin: 0; }
.c-vt-body strong { color: var(--brown); }
.c-acc .acc-b > .txt { margin: 0 0 12px; }

/* ---------- CONTACT: ご依頼の流れ ---------- */
.c-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.c-step { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-radius: 20px; background: var(--white); border: 1.5px solid var(--line-soft); box-shadow: var(--sh-card); }
.c-no { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sky); color: var(--brown); font-family: var(--f-en); font-weight: 600; font-size: 18px; }
.c-step-b .h3 { margin-bottom: 6px; }
.c-step-b .txt { margin: 0 0 6px; font-size: 14px; line-height: 1.8; }
.c-step-b .txt.c-who { display: grid; gap: 4px; justify-items: start; margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: var(--sky-mist); font-size: 13.5px; }
.c-who-chip { padding: 0 10px; border-radius: 999px; background: var(--sky-pale); color: #2c7aa8; font-size: 12px; font-weight: 700; }
.c-who.is-corp { background: #fffbec; }
.c-who.is-corp .c-who-chip { background: var(--egg); color: var(--brown); }
@media (max-width: 1023px) { .c-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .c-flow { grid-template-columns: 1fr; gap: 12px; }
  .c-step { flex-direction: row; align-items: flex-start; gap: 14px; }
}

/* ---------- CONTACT: ご依頼フォームのカード ---------- */
.c-form-card {
  position: relative; max-width: 720px; margin: 0 auto; padding: 40px 28px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  border-radius: 24px; background: linear-gradient(180deg, var(--white), var(--sky-mist));
  border: 2px dotted var(--sky-soft); box-shadow: var(--sh-card);
}
.c-form-card .mo { z-index: 0; }
.c-form-card > :not(.mo) { position: relative; z-index: 1; }
.c-fc-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--brown); }
.c-fc-mail { margin: 0; font-family: var(--f-en); font-weight: 600; font-size: 26px; line-height: 1.4; letter-spacing: .02em; word-break: break-all; }
.c-fc-mail a { color: var(--brown); }
.c-fc-small { margin: 0; font-size: 12px; line-height: 1.8; color: var(--ink-soft); word-break: auto-phrase; } /* 日本語を文節の切れ目で折り返す（対応ブラウザのみ） */
.c-fc-who { color: var(--sky-deep); font-weight: 500; } /* 下の「ご依頼いただいた場合…」のグレーと分けるため水色 */
.c-fc-who span { display: inline-block; }
.c-fc-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.c-fc-terms { margin: 0; }
@media (max-width: 767px) {
  .c-form-card { padding: 36px 18px 28px; border-radius: 20px; }
  .c-fc-mail { font-size: 19px; }
  .c-fc-btns { flex-direction: column; align-self: stretch; }
  .c-fc-btns .btn { width: 100%; justify-content: center; }
}

/* ---------- ご依頼フォーム ---------- */
.r-wrap { max-width: 760px; }
.r-steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; font-weight: 700; }
.r-steps li { flex: 1; padding: 8px 6px; text-align: center; border-radius: 999px; background: var(--gray); color: var(--ink-soft); }
.r-steps li.is-on { background: var(--sky); color: var(--brown); }
.r-pre { display: grid; gap: 14px; margin-bottom: 24px; padding: 22px 22px 20px; border-radius: 28px; background: linear-gradient(180deg, #fff, var(--sky-mist)); box-shadow: 0 14px 30px -22px rgba(44, 122, 168, .6), inset 0 0 0 2px var(--sky-soft); }
.r-pre-h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; color: var(--brown); }
.r-pre-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; line-height: 1.75; }
.r-pre-list li { display: flex; gap: 8px; align-items: flex-start; }
.r-pre-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .72em; border-radius: 50%; background: var(--sky); }
.r-pre-list a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.r-pre-term { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sky-soft); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.r-pre-term:hover { box-shadow: inset 0 0 0 2px var(--sky); transform: translateY(-1px); }
.r-pre-term:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.r-pre-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--sky-pale); color: var(--sky-deep); flex: none; }
.r-pre-tt { display: grid; min-width: 0; }
.r-pre-tt b { color: #2c7aa8; font-size: 14.5px; }
.r-pre-tt span { font-size: 12px; color: var(--ink-soft); }
.r-pre-ar { margin-left: auto; color: #2c7aa8; font-weight: 700; transition: transform .2s; }
.r-pre-term:hover .r-pre-ar { transform: translateX(3px); }
/* いちばん下の同意（agree）はカードに */
.fld[data-name="agree"] .opts { display: block; }
.fld[data-name="agree"] .opt { display: flex; width: 100%; min-height: 60px; padding: 14px 18px; border-radius: 20px; background: #fff; border: 0; box-shadow: 0 10px 24px -18px rgba(44, 122, 168, .55), inset 0 0 0 1.5px var(--sky-soft); font-weight: 700; color: var(--brown); }
.fld[data-name="agree"] .opt:has(input:checked) { box-shadow: 0 10px 24px -18px rgba(44, 122, 168, .55), inset 0 0 0 2px var(--sky-deep); background: var(--sky-mist); }
.fld[data-name="agree"] .opt input { width: 22px; height: 22px; accent-color: var(--sky-deep); }
@media (max-width: 767px) { .r-pre { padding: 18px 16px; border-radius: 22px; } }

.fld { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.fld-l { display: block; padding: 0; margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.req, .opt-tag { display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.req { background: var(--egg); color: var(--brown); }
.opt-tag { background: var(--gray); color: var(--ink-soft); }
.hint { margin: 0 0 8px; font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.hint a { color: var(--sky-deep); text-decoration: underline; text-underline-offset: 3px; }
.inp {
  display: block; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.6;
}
textarea.inp { resize: vertical; min-height: 7em; }
.inp:hover { border-color: var(--sky-deep); }
.inp[type="date"] { cursor: pointer; }   /* 欄のどこを押してもカレンダーが開く（request.js の openPicker） */
.inp[aria-invalid="true"], .opts:has(input[aria-invalid="true"]) .opt { border-color: #c0392b; }
.opts { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--sky-mist); border: 1.5px solid var(--line-soft); font-size: 14px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--brown); }
.opt.is-off { cursor: default; color: var(--ink-soft); background: var(--gray); border-color: transparent; }
.r-type-sub { margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: var(--egg); color: var(--brown); font-size: 12px; font-weight: 700; }
.opt.is-off .r-type-sub { background: #fff; color: var(--ink-soft); }
.opt:has(input:checked) { background: var(--sky-soft); border-color: var(--sky); }
.opt:has(input:focus-visible) { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.err { margin: 8px 0 0; font-size: 13px; font-weight: 700; line-height: 1.6; color: #c0392b; }
.err[hidden] { display: none; }
.r-fail { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: #fdf0ee; }
.r-fail a { color: #c0392b; text-decoration: underline; word-break: break-all; }
.r-act { margin-top: 28px; }
.r-act .btn[disabled] { opacity: .55; cursor: default; transform: none; }
/* 蜜の項目: 画面外に置く（display:none にしない） */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.r-kv { grid-template-columns: 11em 1fr; gap: 10px 16px; }
.r-kv dt { font-size: 13px; }
.r-kv dd { overflow-wrap: anywhere; }
.r-done { text-align: center; padding: 34px 20px; }
.r-done .h2 { justify-content: center; color: var(--sky-deep); font-size: 22px; margin-bottom: 20px; } /* 見出しは水色で本文と分ける */
.r-check { position: relative; width: 140px; height: 84px; margin: 0 auto 10px; }
.r-check-c { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--sky-deep); box-shadow: 0 0 0 6px var(--sky-pale); animation: r-pop .5s var(--ease-pop, ease-out) both; }
@keyframes r-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .r-check-c { animation: none; } }
#r-lead { word-break: auto-phrase; } /* 文節の切れ目で折り返す（対応ブラウザのみ） */
.r-done .r-ln { display: block; } /* 1 文ずつ改行 */
.r-done .r-ln > span { display: inline-block; } /* 句の途中では折り返さない */
.r-done-note { margin: 14px auto 0; max-width: 560px; font-size: 12px; line-height: 1.8; color: var(--sky-deep); } /* ※の注意は小さめの水色 */
.r-done .actions { justify-content: center; margin-top: 16px; }
@media (max-width: 767px) {
  .r-kv { grid-template-columns: 1fr; gap: 2px; }
  .r-kv dd { margin-bottom: 10px; }
  .opt { width: 100%; border-radius: 18px; }
  .r-act .btn { width: 100%; }
}

/* 注意事項の点（リセットで消えるため） */
#c-notes { list-style: disc; }
#c-notes li::marker { color: var(--sky-deep); }
/* 注意事項の中のリンク（「こちら」など）は、文字の色のまま少し太く＋下線 */
#c-notes a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
#c-notes a:hover { text-decoration-thickness: 2.5px; }
.c-status .month { min-width: 96px; }

/* ---------- 利用規約（js/contact.js の termsChapters）。上に目次、章は番号つき、本文の「・」は箇条書き ---------- */
.t-a { max-width: 860px; gap: 28px; }
.t-toc { padding: 18px 22px; border-radius: 20px; background: var(--sky-mist); border: 1.5px solid var(--line-soft); }
.t-toc-h { margin: 0 0 8px; font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--sky-deep); }
.t-toc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.t-toc-list a { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.6; }
.t-toc-list a:hover { color: var(--sky-deep); }
.t-no { flex: none; font-family: var(--f-en); font-weight: 600; color: var(--sky-deep); letter-spacing: .04em; }
.t-chaps { display: flex; flex-direction: column; gap: 22px; }
.t-chap, .c-acc, .c-before { scroll-margin-top: calc(var(--hd-h, 64px) + 16px); }
.t-h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--brown); }
.t-h .t-no { font-size: 22px; }
.t-body { display: flex; flex-direction: column; gap: 12px; }
.t-lead { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink); }
.t-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.t-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.85; color: var(--ink); }
.t-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 14px; height: 14px; background: var(--sky); -webkit-mask: var(--mo-flower) center / contain no-repeat; mask: var(--mo-flower) center / contain no-repeat; }
.t-li-main { display: block; }
.t-li-sub { display: block; margin-top: 6px; padding: 10px 14px; border-radius: 12px; background: var(--sky-mist); font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
/* 流れの図（本文の「A → B → C」だけの行） */
.t-flow { margin: 4px 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.t-flow-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--sky-mist); border: 1.5px solid var(--sky-soft); font-size: 15px; font-weight: 700; color: var(--brown); white-space: nowrap; }
.t-flow-step + .t-flow-step { margin-left: 30px; position: relative; }
.t-flow-step + .t-flow-step::before { content: ''; position: absolute; left: -22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--sky); clip-path: polygon(0 15%, 100% 50%, 0 85%); }
.t-flow-no { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--white); font-family: var(--f-en); font-size: 13px; font-weight: 600; }
.t-flow-step:last-child { background: var(--sky-soft); }
@media (max-width: 767px) {
  .t-flow { flex-direction: column; align-items: stretch; gap: 0; }
  .t-flow-step { font-size: 14px; }
  .t-flow-step + .t-flow-step { margin: 22px 0 0; }
  .t-flow-step + .t-flow-step::before { left: 22px; top: -18px; margin-top: 0; clip-path: polygon(15% 0, 85% 0, 50% 100%); }
}
/* 章ごとに白いカード */
.t-a .t-chap { padding: 26px 28px; border-radius: 22px; background: var(--white); border: 1.5px solid var(--line-soft); box-shadow: var(--sh-card); }
.t-a .t-h { padding-bottom: 12px; border-bottom: 2px dotted var(--sky-soft); }
@media (max-width: 767px) {
  .t-a .t-chap { padding: 20px 18px; border-radius: 18px; }
  .t-h { font-size: 17px; } .t-h .t-no { font-size: 19px; }
  .t-list li, .t-lead { font-size: 14px; }
}

/* 2026-11: 受付状況もカードにして、見出し・カードを真ん中の 880px の列にそろえる（下の開閉と同じ幅） */
.c-col > .h2, .c-col > .c-status, .c-col > .c-form-card { width: 100%; max-width: 880px; margin-left: auto; margin-right: auto; }
.c-col > .c-status {
  padding: 28px 32px; border-radius: 28px; background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line-soft), var(--sh-card);
}
.c-col > .c-status .c-legend { align-self: stretch; padding-top: 14px; border-top: 2px dotted var(--sky-soft); }
.c-col > .c-status .c-corp { max-width: none; align-self: stretch; }
@media (max-width: 767px) { .c-col > .c-status { padding: 22px 18px; border-radius: 22px; } }
.e-lead { max-width: none; }
.e-lead span { display: inline-block; }

/* 個人 VTuber 様の案内: 見出しはほかの開閉と同じ。本文は CH.prettyText で読みやすく（ほかと同じく閉じておく。注意事項は最初から開いておく） */
#c-vt .acc-b { padding: 6px 22px 20px; }

/* 開閉の見出し: 開いたら、料金表の補足と同じうすい水色に */
.c-acc { overflow: hidden; }
.c-acc[open] > .acc-t { background: var(--sky-mist); }
.c-acc[open] > .acc-b { padding-top: 14px; }

/* ごあいさつ（2026-11 C2）: 水色のテープで留めた白いメモ。**〜** の所に黄色のマーカー、角に黄色のキラキラ */
.c-head-c { justify-content: center; }
.c-hello { position: relative; max-width: 760px; margin: 12px auto 0; padding: 26px 40px 24px; border-radius: 14px; background: var(--white); box-shadow: 0 18px 30px -18px rgba(74, 68, 61, .45); transform: rotate(-1deg); text-align: center; }
.c-hello[hidden] { display: none; }
.c-hello-tape { position: absolute; left: 50%; top: -11px; width: 90px; height: 22px; margin-left: -45px; border-radius: 3px; background: rgba(162, 216, 242, .75); transform: rotate(-3deg); }
.c-hello .mo { position: absolute; --c: #f5cf5e; }
.c-hello-k1 { --x: 18px; --y: 16px; --s: 20px; }
.c-hello-k2 { --x: calc(100% - 34px); --y: calc(100% - 32px); --s: 14px; }
.c-hello-t { margin: 0; color: var(--brown); font-size: 15.5px; font-weight: 700; line-height: 2.05; white-space: pre-line; text-wrap: pretty; }
.c-hello-t mark { background: linear-gradient(transparent 62%, var(--egg) 62%); color: inherit; }
/* スマホ: 文字はまんなかにそろえ、きらきらは文字にかからないよう角に小さく寄せる */
@media (max-width: 767px) {
  .c-hello { padding: 32px 22px 30px; }
  .c-hello-t { font-size: 14px; text-wrap: balance; }
  .c-hello-seg { display: inline-block; max-width: 100%; }
  .c-hello-k1 { --x: 10px; --y: 9px; --s: 15px; }
  .c-hello-k2 { --x: calc(100% - 24px); --y: calc(100% - 23px); --s: 12px; }
}
/* メールアドレス（押すとコピー） */
.c-mail { padding: 2px 10px; border: 0; border-radius: 12px; background: transparent; font: inherit; color: var(--brown); cursor: copy; }
.c-mail:hover { background: var(--sky-mist); }
.c-mail:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.c-fc-mail { position: relative; }
.c-copied { position: absolute; left: 50%; bottom: calc(100% + 4px); z-index: 2; margin: 0; padding: 3px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 6px 14px -8px rgba(74,68,61,.45), inset 0 0 0 1.5px var(--sky-soft); white-space: nowrap; pointer-events: none; translate: -50% 0; font-size: 12.5px; font-weight: 700; color: var(--sky-deep); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.c-copied.is-on { opacity: 1; transform: none; }
/* ご依頼の前に（フォームのカードの中、アドレスとボタンの間） */
.c-before { align-self: stretch; margin: 10px 0 6px; padding: 16px 22px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--sky-soft); text-align: left; }
.c-before-t { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; color: var(--brown); }
.c-before .list { margin: 0; font-size: 14px; }
.c-fc-go { gap: 10px; padding-left: 28px; padding-right: 24px; font-size: 16px; }
.c-fc-arrow { display: inline-block; transition: transform .2s; }
.c-fc-go:hover .c-fc-arrow { transform: translateX(4px); }
@media (max-width: 767px) { .c-before { padding: 14px 16px; } }

/* メールでご依頼の方へ（アドレスを押すと開く。2026-11 M1） */
.c-mailinfo { align-self: stretch; margin: 6px 0 2px; padding: 16px 22px; border-radius: 16px; background: #fffbe6; box-shadow: inset 0 0 0 2px var(--egg); text-align: left; animation: miIn .3s ease; }
.c-mailinfo[hidden] { display: none; }
.c-mailinfo-t { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #8a6a14; }
.c-mailinfo ul { list-style: disc; margin: 0; padding-left: 1.2em; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; font-size: 13.5px; line-height: 1.8; }
.c-mailinfo li::marker { color: #f5cf5e; }
@keyframes miIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .c-mailinfo { padding: 14px 16px; } .c-mailinfo ul { grid-template-columns: 1fr; } }
#c-mailnote a { color: var(--sky-deep); text-decoration: underline; }

/* ---- 利用規約の PDF（ボタンと、印刷のときの見た目） ---- */
.t-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.t-dl .note { margin: 0; }
.t-dl-b { gap: 8px; }
.t-print-head { display: none; }
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  body[data-page="terms"] > *:not(main), body[data-page="terms"] .skip-link, body[data-page="terms"] main > section:not(.page-top):not(.frill),
  body[data-page="terms"] .deco, body[data-page="terms"] .page-head, body[data-page="terms"] #t-lead, body[data-page="terms"] .t-dl,
  body[data-page="terms"] .t-toc, body[data-page="terms"] .sec-cta, body[data-page="terms"] #t-updated { display: none !important; }
  body[data-page="terms"], body[data-page="terms"] main, body[data-page="terms"] .sec { background: #fff !important; }
  body[data-page="terms"] .sec { padding: 0 !important; margin: 0 !important; }
  body[data-page="terms"] .sec::before, body[data-page="terms"] .sec::after { display: none !important; }
  body[data-page="terms"] .wrap { max-width: none; padding: 0; }
  body[data-page="terms"] * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .t-print-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10mm; padding-bottom: 3mm; margin-bottom: 6mm; border-bottom: 2px solid #a2d8f2; color: #4a443d; }
  .t-print-head b { font-size: 20pt; letter-spacing: .2em; color: #69625a; }
  .t-print-head > span { font-size: 8.5pt; color: #7a7268; text-align: right; }
  body[data-page="terms"] .t-a { max-width: none; gap: 0; }
  body[data-page="terms"] .t-chaps { display: grid; gap: 5mm; }
  body[data-page="terms"] .t-a .t-chap { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; break-inside: auto; }
  body[data-page="terms"] .t-h { font-size: 12.5pt; margin-bottom: 2mm; padding-bottom: 1.5mm; break-after: avoid; }
  body[data-page="terms"] .t-body { font-size: 9.5pt; line-height: 1.8; }
  body[data-page="terms"] .t-list li { break-inside: avoid; }
}

/* ---- イメージに近い制作実績（ref_work。js/request.js の workPicker） ---- */
.r-work-open { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 20px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--sky); color: var(--sky-ink, #2c7aa8); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.r-work-open:focus-visible, .r-work-it:focus-visible, .r-work-chip:focus-visible, .r-work-x:focus-visible, .r-work-close:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.r-work-sel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px; border-radius: 16px; background: var(--sky-mist); }
.r-work-sel img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
.r-work-t { flex: 1 1 140px; min-width: 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.r-work-x, .r-work-close { border: 0; background: none; padding: 4px 10px; border-radius: 999px; font: inherit; font-size: 13px; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.r-work-pk { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 16px 34px -18px rgba(74, 68, 61, .4), inset 0 0 0 1.5px var(--line-soft); }
.r-work-pk-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.r-work-pk-h b { color: var(--brown); }
.r-work-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.r-work-chip { padding: 3px 12px; border-radius: 999px; border: 1.5px solid var(--sky-soft); background: #fff; font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.r-work-chip[aria-pressed="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.r-work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
.r-work-it { border: 0; padding: 0; background: var(--sky-mist); border-radius: 10px; overflow: hidden; cursor: pointer; }
.r-work-it img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.r-work-it:hover img { transform: scale(1.04); }
.fld[data-name="agree"] .opt span { font-weight: 700; }

/* 書きかけを戻したお知らせ（js/request.js の restoreDraft） */
.r-restore { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--sky); font-size: 14px; }
.r-restore b { color: var(--brown); }
.r-restore-at { font-size: 12.5px; color: var(--ink-soft); }
.r-restore-x { margin-left: auto; border: 0; background: none; padding: 4px 6px; font: inherit; font-size: 13px; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.r-restore-x:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 2px; border-radius: 6px; }

/* よくある質問（contact.json の faq。空なら出さない） */
.c-faq { margin: 0; display: grid; gap: 4px; }
.c-faq dt { display: flex; gap: 10px; margin-top: 12px; font-weight: 700; color: var(--brown); }
.c-faq dt:first-child { margin-top: 0; }
.c-faq dd { display: flex; gap: 10px; margin: 0; padding-bottom: 12px; border-bottom: 1.5px dashed var(--sky-soft); font-size: 14px; line-height: 1.85; }
.c-faq dd:last-child { border-bottom: 0; padding-bottom: 0; }
.c-faq-m { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sky-pale); color: #2c7aa8; font-family: var(--f-en); font-weight: 600; font-size: 13px; }
.c-faq-m.is-a { background: var(--egg); color: var(--brown); }
