*, ::before, ::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

.col {
    width: calc(100% - 6.6666666667vw);
    margin: 0 3.2vw 13.3333333333vw 3.4666666667vw;
    padding: 8vw 0 13.3333333333vw;
    background-color: #ffffff;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}

#info {
    padding: 8vw 0 13.3333333333vw;
}

.sec_col {
    margin-bottom: 24px;
}

.question_col {
    width: 100%;
    padding: 0 5.3333333333vw 5.3333333333vw 5.3333333333vw;
    margin-bottom: 5.3333333333vw;
    line-height: 130%;
    border-bottom: 1px solid #CCCCCC;
    box-sizing: border-box;
    position: relative;
}

.label {
	padding: 0;
	font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    margin: 0 0 2.6666666667vw;
    color: #333333;
    text-align: left;
}

.txt {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 5.3333333333vw;
    line-height: 130%;
    font-weight: 700;
}

.size_s {
    font-weight: 400;
    font-size: 14px;
    margin: 2.6666666667vw 0 2.1333333333vw 0;
    padding: 0;
}

.err {
    font-size: 13px;
    margin-bottom: 1em;
    color: rgb(244, 67, 54);
}

.red {
	color: rgb(255, 255, 255);
    background-color: rgb(244, 67, 54);
    font-size: 12px;
    width: 13.3333333333vw;
    height: 6.4vw;
    display: inline-block;
    padding: 0 0.5em;
    margin-right: 4px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 3px;
    position: relative;
    top: -0.5333333333vw;
}

.gray {
	color: #ffffff;
    background-color: #888888;
    font-size: 12px;
    width: 13.3333333333vw;
    height: 6.4vw;
    display: inline-block;
    padding: 0 0.5em;
    margin-right: 4px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 3px;
    position: relative;
    top: -0.5333333333vw;
}

.input_col, .textarea_col {
	margin: 0 auto;
	box-sizing: border-box;
}

input, textarea {
	display: block;
    width: 100%;
    height: auto;
    padding: 2.6666666667vw 4vw;
    margin-bottom: 1em;
    line-height: 170%;
    color: #333333;
    caret-color: #333333;
    background-color: #F5F5F5;
    background-image: none;
    border: 1px solid #E8E8E8;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    box-sizing: inherit;
    -webkit-appearance: none;
}

textarea {
	overflow: scroll;
}

.year_col input, .month_col input, .day_col input {
    width: 25%;
	display: inline-block;
	margin-right: 5px;
}

.check_label {
  width: fit-content;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 8px;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
}

input.checkbox {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    appearance: none;
    background: #FFFFFF;
    border: solid 2px #808080;
    border-radius: 4px;
    box-shadow: 0 0 0 0 transparent;

  /* チェックマーク */
  &::before {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0;
    mask-image: url(../../src/img/icon/form_check.svg);
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #FFFFFF;
  }
}

.checkbox {
    &:checked {
        background: #3223B3;
        border-color: #3223B3;
    }
    &:checked::before {
        opacity: 1;
    }
}

input.radio {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: solid 2px #808080;
    border-radius: 24px;
    box-shadow: 0 0 0 0 transparent;
    margin-bottom: 0;
    top: 2px;

    &:checked {
        background: #3223B3;
    }
}

form button {
    width: calc(100% - 10.6666666667vw);
    margin: 0 5.3333333333vw;
	padding: 0.25em 0.25em;
    border-width: 2px;
    border-style: solid;
    font-size: 19px;
    text-align: center;
	box-sizing: border-box;
	cursor: pointer;
    line-height: 13.3333333333vw;
    border-radius: 6px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    position: relative;
}

form button:disabled {
	color: #fff;
	cursor: not-allowed;
    background-color: #d6dde2 !important;
    border-color: #d6dde2 !important;
}

form button:not(:disabled) {
    background-color: #5574B5;
    border-color: #5574B5;
	color: #fff;
}

form button::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 4.2666666667vw;
    width: 7.4666666667vw;
    height: 7.4666666667vw;
    transform: translateY(-50%);
    background: url(../../src/img/icon/arrow_w_r.svg) center center no-repeat;
    background-size: cover;
    transition: 0.3s all;
}

.p-contact_step ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5.3333333333vw 0;
}

.p-contact_step ul li {
    background-color: #CCCCCC;
    color: #ffffff;
    position: relative;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: 700;
    display: block;
    font-size: 14px;
    line-height: 1.2;
    width: 18.6666666667vw;
    height: 18.6666666667vw;
    border-radius: 18.6666666667vw;
    padding: 4.2666666667vw 0 0;
    margin-right: 13.3333333333vw;
}

.p-contact_step ul li span {
    font-size: 15px;
    font-weight: 600;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0;
}

.p-contact_step ul li::after {
    position: absolute;
    content: "";
    display: block;
    width: 13.3333333333vw;
    height: 0.5333333333vw;
    background-color: #CCCCCC;
    top: 50%;
    right: -13.3333333333vw;
    transform: translateY(-50%);
}

.p-contact_step ul li:last-child {
    margin-right: 0;
}

.p-contact_step ul li:last-child::after {
    display: none;
}

.p-contact_step ul li.current {
    background-color: #0E8475;
}

@media screen and (min-width : 900px) {

.p-contact_step ul li {
    font-size: 16px;
    width: 90px;
    height: 90px;
    border-radius: 90px;
    margin-right: 88px;
    padding: 23px 0 0;
}

.p-contact_step ul li span {
    font-size: 18px;
}

.p-contact_step ul li::after {
    width: 88px;
    height: 3px;
    right: -88px;
}

.txt {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 40px;
}

.col {
	width: 100%;
    max-width: 1000px;
    position: relative;
    padding: 70px 120px 100px;
    margin: 0 auto;
}

#info {
    margin-bottom: 0;
}

.question_col {
    width: 100%;
    padding: 0;
    margin-bottom: 50px;
    line-height: 160%;
    border-bottom: none;
}

.label {
    font-size: 18px;
    margin: 0 0 10px;
}

.size_s {
    font-size: 16px;
    margin: 10px 0 8px 0;
    padding: 0;
    line-height: 170%;
    text-align: left;
    font-weight: 500;
}

.input_col, .textarea_col {
	width: 100%;
}

.input_col, .textarea_col {
	margin: 0 auto;
	box-sizing: border-box;
}

input, textarea {
    padding: 14px 25px;
    margin-bottom: 1em;
    font-size: 16px;
}

textarea {
    width: 100%;
    resize: vertical;
}

.red {
    font-size: 14px;
    width: 50px;
    height: 26px;
    padding: 0 0.5em;
    top: -2px;
}

.gray {
    font-size: 14px;
    width: 50px;
    height: 26px;
    padding: 0 0.5em;
    top: -2px;
}

form button {
	width: 100%;
	height: 80px;
	max-width: 400px;
	margin: 10px auto;
	display: block;
	padding: 0;
    font-size: 24px;
    line-height: 160%;
    border-radius: 10px;
}

form button::after {
    right: 30px;
    width: 36px;
    height: 36px;
}

}