@charset "utf-8";
/* 初期設定 */
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}
:root {
 --color-txtlink: #2817e7;
 --color-white1: hsl(0, 0%, 100%);
 --color-black: hsl(0, 0%, 0%);
 --color-gray1: hsl(0, 0%, 95%);
 --color-gray1_2: hsl(0deg 0% 90%);
 --color-gray2: hsl(0, 0%, 80%);
 --color-gray3: hsl(0, 0%, 60%);
 --color-gray4: hsl(0, 0%, 30%);
 --color-blue1: hsl(200, 85%, 60%);
 --color-blue2: hsl(214, 79%, 60%);
 --color-blue3: hsl(214, 79%, 40%);
 --color-orange1: hsl(35, 100%, 50%);
 --color-orange2: hsl(35, 100%, 60%);
 --color-red1: hsl(0, 100%, 50%);
 --color-lblue1: hsl(201, 100%, 96%);
 --color-lblue1_2: hsl(201, 100%, 90%);
 --color-lblue2: hsl(201, 100%, 80%);
 --color-lblue3: hsl(202, 100%, 41%);
 --color-liberty1: hsl(169, 100%, 97%);
 --color-liberty2: hsl(169, 47%, 65%);
 --color-liberty3: hsl(169, 65%, 37%);
 --color-event0: hsl(205, 100%, 33%);
 --color-event1: hsl(212, 47%, 49%);
 --color-event2: hsl(228, 56%, 98%);
 --color-event3: hsl(358, 67%, 41%);
 --color-event4: hsl(55, 100%, 95%);
 --bs-ab: #00AF4A;
 --bs-ac: #0084FF;
 --bs-k2: #69ac15;
 --bs-cl: #7C6035;
 --bs-list-hover: hsla(199, 100%, 89%, 0.5);
}
body {
 font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
 line-height: 1.6;
 letter-spacing: 0.8px;
 margin: 0px;
 padding: 0px;
 text-align: left;
 font-size: 62.5%;
 font-weight: 400;
 font-feature-settings: "palt";
 min-height: 100dvh;
 color: var(--color-black);
 background: #f0f0f0;
}
h2, h3, h4, h5 {
 font-weight: 400;
}
h2 {
 font-size: 1.3em;
 font-size: clamp(1.1em, 2.0vw, 1.3em);
 text-indent: -1em;
 padding-left: 1em;
}
html {
 scroll-behavior: auto;
}
a {
 text-decoration: none;
 color: var(--color-gray4);
}
a:hover {
 opacity: .8;
 transition: all 0.5s ease;
}
input {
 border: 1px solid var(--color-gray2) !important;
 padding: .5em !important;
 border-radius: 5px;
 font-size: 1.1em;
 width: 100%;
}
input[type="text"], textarea {
 border: 1px solid var(--color-gray2);
 padding: .5em;
 border-radius: 5px;
 font-size: 1.1em;
 width: 100%;
 background: var(--color-white1);
}
input:is([type="radio"], [type="checkbox"]) {
 cursor: pointer;
 position: relative;
 top: 1px;
 display: none;
}
select {
 border: none;
 padding: .5em;
 border-radius: 5px;
 font-size: 1.1em;
 width: 100%;
 background: var(--color-white1);
 border: 1px solid var(--color-gray2);
 height: 100%;
}
button {
 width: 100%;
 background: var(--color-orange1);
 border: none;
 color: var(--color-white1);
 border-radius: 5px;
 line-height: 3.5;
}
.error {
 color: red;
}
#wrap {
 display: grid;
 font-size: 1.0rem;
 max-width: 900px;
 margin: 1em auto;
 gap: 1em;
}
.head {
 background: var(--color-white1);
 border-radius: 5px;
 padding: 1em;
 display: grid;
 gap: 1em;
}
header {
/*
 background: var(--color-blue3);
 border-radius: 5px;
*/
}
header h1 {
 color: var(--color-white1);
 text-align: center;
 line-height: 1.2;
 padding: .8em;
 font-size: clamp(1.2em, 2.0vw, 2.0em);
}
header .test-box {
 background: var(--color-white1);
 opacity: .8;
 text-align: center;
}
main {
 display: grid;
 gap: 1em;
 margin-bottom: 1em;
}
main > article {
 background: var(--color-white1);
 padding: 1em;
 border-radius: 5px;
 display: grid;
 gap: 1em;
}
main > article > section {
 display: grid;
 gap: 1em;
}
footer {
 padding-bottom: 1em;
 text-align: center;
 font-size: .8em;
}
footer a {
 text-decoration: underline;
}
section.top {
 gap: 0;
}
section.top h3 {
 background: var(--color-lblue1_2);
 padding: .5em;
 border-radius: 5px;
 margin-bottom: .5em;
}
ul.answer li {
 display: grid;
 grid-template-columns: auto 1fr;
 gap: .3em;
 margin: 0.3em 0;
}
ul.answer li > label {
 display: flex;
 gap: 5px;
 align-items: baseline;
 position: relative;
 cursor: pointer;
}
ul.answer.radio li > label {
 align-items: baseline;
 text-align: left;
}
ul.answer.radio li > label::before {
 width: 18px;
 height: 18px;
 border-radius: 50px;
 border: 2px solid var(--color-gray3);
 content: '';
 aspect-ratio: 1;
 position: relative;
 top: 3px;
}
ul.answer.radio li > label:has(:checked)::after {
 position: absolute;
 translate: 0 -50%;
 top: 15px;
 left: 4px;
 width: 10px;
 aspect-ratio: 1;
 content: '';
 background: var(--color-blue2);
 border-radius: 50px;
}
ul.answer.check li > label {
 align-items: baseline;
 text-align: left;
}
ul.answer.check li > label::before {
 width: 18px;
 height: 18px;
 aspect-ratio: 1;
 border-radius: 3px;
 border: 2px solid var(--color-gray3);
 content: '';
 position: relative;
 top: 2px;
}
ul.answer.check li > label:has(:checked)::after {
 position: absolute;
 top: 7px;
 left: 7px;
 transform: rotate(45deg);
 width: 5px;
 height: 10px;
 border: solid var(--color-blue2);
 border-width: 0 3px 3px 0;
 content: '';
 aspect-ratio: 1;
}
ul.userinfo_box {
 display: grid;
 gap: 1em;
}
section:has(.submit-box) {
 display: grid;
 grid-template-columns: repeat;
 grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
 gap: 1em;
}
.submit-box {
 width: 100%;
 max-width: 600px;
 margin-inline: auto;
}
.submit-box input {
 background: var(--color-lblue3);
 color: var(--color-white1);
 cursor: pointer;
}
section:has(dl.confirm) {
 background: var(--color-gray1);
 border: 1px solid var(--color-gray1_2);
 gap: 0;
}
.confirm {
 display: grid;
 gap: .5em;
}
.confirm dt {
 background: var(--color-gray1_2);
}
.confirm :is(dt, dd) {
 padding: .5em;
}
/*.confirm dd:empty::after {
 content: "-";
}*/
.choice_disp {
 display: none;
}
dl.confirm > div:has(dd:empty) {
 /* opacity: .5; */
 /* background: #aaa; */
 display: none;
 /* color: red; */
}
div:has(input.q1_a:checked) ~ .choice_disp.q1_a_box, div:has(input.q1_b:checked) ~ .choice_disp.q1_b_box, div:has(input.q1_a_1:checked) ~ .choice_disp.q1_a_1_box, div:has(input.q1_a_2:checked) ~ .choice_disp.q1_a_2_box, div:has(input.select-q2_a:checked) ~ .choice_disp.q2_a_box, div:has(input.select-q2_b:checked) ~ .choice_disp.q2_b_box, div:has(input.select-q3_a:checked) ~ .choice_disp.q3_a_box, div:has(input.select-q3_b:checked) ~ .choice_disp.q3_b_box {
 display: grid;
 gap: .5em;
}
div:has(input.q1_b:checked) ~ :is(.choice_disp.q1_a_1_box, .choice_disp.q1_a_2_box) {
 display: none;
}
main section > div {
 display: grid;
 gap: .3em;
}
.select-other {
 display: none;
}
.select-other2 {
 /*
  display: none;
*/
}
label:has(input[type="checkbox"]:checked) + span.select-other {
 display: block;
}
label:has(input[type="radio"]:checked) + span.select-other {
 display: block;
}
label:has(input#swk[type="checkbox"]:checked) ~ span.select-other2 {
 display: block;
}
section:has(input#parent-checkbox:checked) + section #childElement {
 display: block !important;
}
.txt > h2 {
 border-bottom: 2px solid var(--color-blue2);
 padding-bottom: .3em;
 font-size: 1.5em;
}
h2 > sup {
 color: red;
}
.notes {
 text-indent: -1em;
 padding-left: 1em;
}
/*メディアクエリ*/
@media print, screen and (min-width:480px) {}
@media print, screen and (min-width:640px) {}
@media print, screen and (min-width:768px) {}
@media print, screen and (min-width:1024px) {}
@media print, screen and (min-width:1200px) {}
@media print {}