@font-face {
  font-family: Pretendard;
  src: url("/assets/fonts/PretendardVariable-full.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #292328;
  background: #fcfaf9;
  font-size: 100%;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; --accent: #882d40; --accent-strong: #692030; --line: #dfd6d8; }
body.sex-crime { --accent: #74455e; --accent-strong: #503348; }
a { color: inherit; text-underline-offset: .22em; }
input, textarea, button { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:is(a, button, input, textarea, summary):focus-visible { outline: 3px solid #ad6e12; outline-offset: 3px; }
.shell { width: min(72rem, calc(100% - clamp(2.2rem, 8vw, 7.5rem))); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 5; background: #fff; padding: .7rem 1rem; }
.skip:focus-visible { top: .5rem; }
.mast { border-bottom: 1px solid var(--line); background: #fff; }
.mast-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; }
.brand { text-decoration: none; display: inline-flex; align-items: baseline; gap: .45rem; }
.brand strong { font-size: 1.5rem; letter-spacing: -.06em; }
.brand span, .return, .footer { font-size: .94rem; }
.return { color: #594c52; }
.intake { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.25fr); align-items: start; gap: clamp(1.5rem, 4.6vw, 4.25rem); padding-block: clamp(2rem, 4.5vw, 4rem); }
.intro { padding: clamp(1.5rem, 3.15vw, 3rem); background: #30272c; color: #fffaf8; border-radius: 3px; }
.sex-crime .intro { background: #f1ebef; color: #382a35; }
.field-name { display: inline-block; margin: 0 0 1.15rem; padding-bottom: .38rem; border-bottom: 2px solid #c68c98; font-size: .95rem; font-weight: 660; }
.sex-crime .field-name { border-color: #987488; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.2; font-weight: 720; letter-spacing: -.06em; }
.guide { margin-top: 1.05rem; line-height: 1.68; color: #e9dfe2; }
.sex-crime .guide { color: #594957; }
.attorney { display: flex; align-items: center; gap: .85rem; margin: 1.7rem 0; }
.attorney img { width: 4.6rem; height: 5.6rem; display: block; object-fit: cover; object-position: center 18%; background: #e3dcdf; border-radius: 2px; }
.attorney strong { font-size: 1.16rem; }
.attorney p { margin-top: .05rem; font-size: .95rem; }
.phone { border-top: 1px solid #6e6068; padding-top: .85rem; display: flex; align-items: start; flex-direction: column; gap: .3rem; font-size: .95rem; }
.sex-crime .phone { border-color: #cdbfc8; }
.phone strong { display: inline-block; }
.panel { border-top: 3px solid var(--accent); padding-block: 1.3rem 0; }
h2 { font-size: clamp(1.45rem, 2.15vw, 1.95rem); line-height: 1.32; letter-spacing: -.04em; }
.confidential { margin: .4rem 0 1.65rem; color: #5d5358; }
.consultation-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.consultation-field { min-width: 0; }
.consultation-field > label { display: flex; align-items: baseline; gap: .45rem; font-weight: 650; }
.consultation-field label > span, .consultation-consent small { font-size: .81rem; color: #67545e; font-weight: 550; }
.consultation-field input, .consultation-field textarea { margin-top: .4rem; width: 100%; min-width: 0; padding: .7rem .78rem; border: 1px solid #a99a9f; border-radius: 3px; background: #fff; color: #272127; line-height: 1.5; font-size: 1rem; }
.consultation-field input::placeholder, .consultation-field textarea::placeholder { color: #70666b; opacity: 1; }
.consultation-field textarea { min-height: 6.3rem; resize: vertical; }
.consultation-message { margin-top: 1.15rem; }
.consultation-field-hint, .field-error, #consultation-status { font-size: .91rem; }
.consultation-field-hint { margin-top: .22rem; color: #5f545b; }
.field-error, #consultation-status[data-state="error"] { margin-top: .4rem; color: #9d213a; font-weight: 580; }
[hidden] { display: none !important; }
.consultation-honeypot { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consultation-consent { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: .85rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .1rem .6rem; }
.consultation-consent label { display: flex; align-items: center; gap: .55rem; min-height: 2.6rem; cursor: pointer; }
.consultation-consent input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); margin: 0; flex: none; }
.consultation-consent small { margin-left: .2rem; }
.consultation-consent button { min-height: 2.6rem; padding: .25rem; border: 0; background: none; color: var(--accent-strong); text-decoration: underline; text-underline-offset: .2em; }
.consultation-submit { margin-top: 1.15rem; }
.consultation-submit button { min-height: 3.05rem; border: 1px solid var(--accent); padding: .7rem 1.7rem; background: var(--accent); color: #fff; border-radius: 3px; font-weight: 660; }
.consultation-submit button:hover:enabled { background: var(--accent-strong); border-color: var(--accent-strong); }
.consultation-submit button:disabled { opacity: .68; }
#consultation-status:not(:empty), .no-script { margin-top: 1rem; }
#consultation-status { white-space: pre-line; }
#consultation-status[data-state="success"] { color: #23523c; }
.footer { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); color: #65595f; }
dialog { position: fixed; width: min(39rem, calc(100% - 2rem)); max-height: min(84vh, 52rem); max-height: min(84dvh, 52rem); overflow: auto; padding: clamp(1.1rem, 4vw, 2rem); border: 1px solid #a89ba2; border-radius: 5px; color: #30262d; }
dialog::backdrop { background: #21161cb0; }
dialog .dialog-close { float: right; width: 2.6rem; height: 2.6rem; border: 1px solid #c6b9c1; border-radius: 50%; background: #fff; color: inherit; font-size: 1.65rem; line-height: 1; }
dialog .eyebrow { color: var(--accent); font-size: .84rem; letter-spacing: .04em; font-weight: 650; }
dialog p { margin-block: .65rem; }
.privacy-details { margin: 1rem 0; }
.privacy-details dt { font-weight: 700; margin-top: .8rem; }
.privacy-details dd { margin: .12rem 0 0; color: #4a4047; }
.consultation-disclosure { margin-block: .8rem; padding: .65rem .8rem; background: #f4eff2; }
.consultation-disclosure summary { cursor: pointer; font-weight: 630; }
@media (max-width: 820px) {
  .intake { grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: 1.5rem; }
  .consultation-fields { grid-template-columns: 1fr; gap: .9rem; }
}
@media (max-width: 650px) {
  .mast-inner { min-height: 3.55rem; }
  .intake { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1rem 2rem; }
  .intro { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: .65rem; align-items: start; padding: 1.15rem; }
  .field-name { margin: 0 0 .5rem; justify-self: start; }
  .intro h1 { grid-column: 1; font-size: clamp(1.55rem, 5.6vw, 2.15rem); }
  .attorney { grid-area: 1/2/4/3; flex-direction: column; align-items: center; gap: .23rem; margin: 0; }
  .attorney img { width: 3.5rem; height: 4.2rem; }
  .attorney strong, .attorney p { font-size: .79rem; text-align: center; }
  .guide { grid-area: 4/1/5/-1; margin-top: .9rem; font-size: .96rem; }
  .phone { grid-column: 1/-1; flex-direction: row; flex-wrap: wrap; gap: .2rem .95rem; margin-top: .8rem; padding-top: .6rem; font-size: .87rem; }
  .panel { padding-top: 1.05rem; }
  .confidential { margin-bottom: 1.1rem; }
  .consultation-submit button { width: 100%; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 1.8rem); }
  .intro { column-gap: .4rem; }
  .attorney strong, .attorney p { font-size: .74rem; }
}
