
/* Self-check form keeps the parent /kokoro/attachment/ visual system. */
.att-check-info,.att-check-section{max-width:940px;margin-inline:auto}
.att-check-copy{max-width:840px;margin:16px auto 0;color:#4a5f58;font:400 15px/2.1 "Noto Sans JP",sans-serif}
.att-selfcheck-form{max-width:900px;margin:24px auto 0}
.att-check-group{margin:28px 0 40px;padding:25px 28px 20px;background:linear-gradient(145deg,#fffefa,#f7faf7);border:1px solid #dfe9de;border-radius:18px;box-shadow:0 10px 32px rgba(48,72,55,.04)}
.att-check-group>h3{margin:0 0 5px;color:#385b4a;font:500 clamp(20px,2.7vw,25px)/1.55 "Shippori Mincho",serif}
.att-check-group__intro{margin:5px 0 22px;color:#698075;font-size:13px;line-height:1.8}
.att-check-question{min-width:0;margin:0;padding:20px 0;border:0;border-top:1px solid #e3ebe3}
.att-check-question legend{display:block;width:100%;font:500 15px/1.95 "Noto Sans JP",sans-serif;color:#2f5141}
.att-check-qnum{display:inline-block;color:#8a9f8b;min-width:36px;font-size:12px;font-weight:700}
.att-check-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px}
.att-check-choice{display:block;position:relative;cursor:pointer}
.att-check-choice input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.att-check-choice span{display:flex;min-height:55px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px 5px;border:1px solid #d8e3d9;border-radius:10px;background:#fff;transition:border-color .15s,background .15s;color:#526b5b}
.att-check-choice b{font-size:17px;font-weight:700}
.att-check-choice small{font-size:11px;line-height:1.5;text-align:center}
.att-check-choice input:checked+span{border-color:#5b8a68;background:#eaf4eb;color:#27543a;box-shadow:0 0 0 1px #5b8a68}
.att-check-choice input:focus-visible+span{outline:3px solid #699d78;outline-offset:2px}
.att-check-choice:hover span{border-color:#7ea889}
.att-check-actions{max-width:850px;margin:4px auto 25px;padding:20px;background:#f7faf7;border-radius:16px;text-align:center}
.att-check-progress{margin:0 0 13px;font-size:14px;color:#456d55;font-weight:600}
.att-check-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.att-check-submit,.att-check-reset{border-radius:999px;min-height:47px;padding:12px 24px;font:600 14px/1.4 "Noto Sans JP",sans-serif;cursor:pointer}
.att-check-submit{background:#3f7658;border:1px solid #3f7658;color:#fff}
.att-check-reset{background:transparent;border:1px solid #8bab94;color:#456b56}
.att-check-submit:hover{background:#305d45}.att-check-reset:hover{background:#e7f1e9}
.att-check-submit:focus-visible,.att-check-reset:focus-visible{outline:3px solid #699d78;outline-offset:3px}
.att-check-message{font-size:13px;color:#aa543d;line-height:1.7;min-height:1em;margin:9px 0 0}
.att-check-result{max-width:850px;margin:25px auto 0;padding:26px 30px;background:#f0f7f1;border:1px solid #a7c4ae;border-radius:18px;outline-offset:4px}
.att-check-result[hidden]{display:none}
.att-check-result h3{margin:5px 0 20px;color:#315a45;font:500 24px/1.6 "Shippori Mincho",serif}
.att-check-result p{font-size:14px;line-height:2;color:#3d5848}
.att-check-result a{color:#2b6844;text-decoration:underline;text-underline-offset:4px}
.att-check-scores{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 18px}
.att-check-score{padding:20px 10px;text-align:center;background:#fff;border-radius:12px;border:1px solid #d9e8dc}
.att-check-score span{display:block;font-size:13px;line-height:1.6;color:#4f705b}
.att-check-score strong{display:block;color:#2f714a;font:500 40px/1.4 "Shippori Mincho",serif}
.att-check-score small{font-size:12px;color:#748d7b}
.att-check-style-grid{max-width:920px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:25px auto 0}
.att-check-style-grid a{display:flex;flex-direction:column;gap:7px;padding:21px 23px;border:1px solid #dfe9de;border-radius:15px;background:#fffdfa;color:#385948;text-decoration:none;transition:transform .15s,border-color .15s}
.att-check-style-grid a:hover{transform:translateY(-2px);border-color:#9dbda5}
.att-check-style-grid strong{font:500 22px/1.4 "Shippori Mincho",serif}
.att-check-style-grid span{font-size:13px;line-height:1.8}
.att-check-style-grid small{font-size:12px;color:#538065;margin-top:auto}
@media(max-width:780px){.att-check-info,.att-check-section{max-width:100%}.att-check-copy{font-size:14px}.att-check-group{padding:18px 16px 14px;margin:20px 0 30px;border-radius:14px}.att-check-question{padding:18px 0}.att-check-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.att-check-choice span{min-height:61px}.att-check-actions{padding:18px 12px}.att-check-submit,.att-check-reset{width:100%}.att-check-result{padding:22px 16px}.att-check-result h3{font-size:21px}.att-check-scores{gap:8px}.att-check-score{padding:14px 7px}.att-check-score strong{font-size:34px}.att-check-style-grid{grid-template-columns:1fr;gap:11px}.att-check-style-grid a{padding:18px}}
@media(prefers-reduced-motion:reduce){.att-check-style-grid a,.att-check-choice span{transition:none}}
