

:root {
    --white  : #FFFFFF;
    --orange : #F58F04;
    --red    : #ee0009;
    --gray   : #f1f1f1;
    --gray2  : #b1b1b1;
    --black  : #000000;

    --font-family : 'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;

    --font-weight__regular: 400;
    --font-weight__medium : 500;
    --font-weight__bold   : 700; 
    --font-weight__black  : 900; 

    --width : calc(100% - 50px);

}


html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family:  var(--font-family);
    font-weight: var(--font-weight__regular);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.2;
    text-size-adjust: 100%;
}

* {
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--black);
    cursor: pointer;
}
a:hover {
    opacity: 0.5;
}

b {
    font-weight: var(--font-weight__bold);
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

input[type="submit"] {
    cursor: pointer;
}
input[type="submit"]:hover {
    opacity: 0.5;
}

.fw-bold {
    font-weight: var(--font-weight__bold);
}


@media all {
    .main-inner {
        width: var(--width);
        margin: 0 auto;
        padding: 30px 0;
    }

    .h1-type1 {
        font-size: 22px;
        padding-bottom: 17px;
        font-weight: var(--font-weight__bold);
    }

    .p-type1 {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 20px;
    }

    .p-type1.p1 {
        padding-bottom: 10px;
    }

    .box-type1 {
        background-color: var(--gray);
        padding: 18px 15px 15px;
        margin-bottom: 30px;
    }

    .box-type1__label {
        font-size: 14px;
        font-weight: var(--font-weight__bold);
        line-height: 16px;
        padding-left: 35px;
        position: relative;
        display: block;
        cursor: pointer;
    }

    .box-type1__input {
        display: none;
    }

    .box-type1__label::before {
        content: "";
        display: block;
        width: 25px;
        height: 25px;
        border: solid 1px var(--gray2);
        background-color: var(--white);
        position: absolute;
        left: 0;
        box-sizing: border-box;
        top: 3px;
        border-radius: 2px;
    }

    .box-type1__label::after {
        content: "";
        display: block;
        left: 8px;
        top: 2px;
        width: 7px;
        height: 18px;
        border: solid var(--black);
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
        position: absolute;
        opacity: 0;
    }

    .box-type1__input:checked + .box-type1__label::after {
        opacity: 1;
    }

    .p-type2.p5 {
        font-size: 18px;
        line-height: 20px;
        padding-bottom: 9px;
        font-weight: var(--font-weight__bold);
    }

    .fc-red {
        color: var(--red);
    }

    .p-type1.p6 {
        padding-bottom: 14px;
    }

    .box-type2 {
        border: solid 3px var(--gray2);
        border-radius: 3px;
        height: 540px;
        overflow-y: scroll;
        margin-bottom: 37px;
    }

    .box-type2__inner {
        padding: 15px;
    }

    .p-type1.p7 {
        padding-bottom: 10px;
    }

    .hr-type1 {
        border-top-color: var(--gra2);
        margin-bottom: 20px;
    }

    .list-type1__list {
        counter-reset: cnt 0;
    }

    .list-type1__item {
        position: relative;
        padding-left: 26px;
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 20px;
        counter-increment: cnt 1;
    }

    .list-type1__item::before {
        content: counter(cnt)".";
        position: absolute;
        left: 0;
    }

    .btn-type1 {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 166px;
        height: 46px;
        border: none;
        width: 100%;
        background-color: var(--red);
        color: var(--white);
        font-size: 16px;
        margin: 0 auto;
        cursor: pointer;
    }
    .btn-type1:disabled {
        background-color: var(--gray2);
    }

    .btn-type2 {
        background-color: unset;
        border: unset;
        border-bottom: solid 1px;
        color: var(--red);
        font-size: 16px;
        line-height: 17px;
        margin: 0 auto;
        display: block;
        cursor: pointer;
        margin-bottom: 29px;
    }
}


@media all {
    .table-type1 {
        padding-bottom: 39px;
    }

    .table-type1__dl {
        border: solid 1px var(--gray2);
        border-bottom: none;
    }
    
    .table-type1__dt {
        padding: 9px 12px;
        display: flex;
        justify-content: flex-start;
        font-size: 16px;
        line-height: 21px;
        background-color: var(--gray);
        border-bottom: solid 1px var(--gray2);
        flex-wrap: wrap;
    }
    
    .table-type1__dt .required {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 43px;
        height: 21px;
        background-color: var(--black);
        color: var(--white);
        font-size: 14px;
        margin-left: 11px;
    }

    .table-type1__dt .comment {
        font-size: 14px;
        padding-left: 5px;
    }
    
    .table-type1__dd {
        padding: 18px 17px;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .table-type1__dd.col1 {
        display: block;
    }
    .table-type1__dd.input3 {
        padding-bottom: 7px;
    }
    
    .table-type1__error {
        font-size: 12px;
        line-height: 14px;
        color: var(--red);
        position: absolute;
        top: -14px;
    }
    
    .table-type1__input1 {
        width: calc((100% - 14px) / 2);
        height: 43px;
        margin-right: 14px;
        position: relative;
    }
    
    .table-type1__input1:last-child {
        margin-right: 0;
    }
    
    .table-type1__input1 input {
        width: 100%;
        height: 100%;
        font-size: 16px;
        padding: 0 10px;
        border: solid 1px var(--gray2);
    }
    
    .table-type1__input2 {
        width: calc((100% - 24px) / 3);
        max-width: 97px;
        height: 43px;
        margin-right: 12px;
        position: relative;
    }

    .table-type1__input2:last-child {
        margin-right: 0;
    }

    .table-type1__input2 select {
        display: block;
        width: 100%;
        height: 100%;
        font-size: 16px;
        padding: 0px 6px;
        text-align: left;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: solid 1px var(--gray2);
    }
    
    .table-type1__input2::after {
        content: "";
        display: block;
        border-top: solid 8px var(--black);
        border-left: solid 6px transparent;
        border-right: solid  6px transparent;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 10px;
        width: 0;
        height: 0;
        margin: auto;
        pointer-events: none;
    }
    .table-type1__input3.p {
        width: 100%;
        padding-bottom: 10px;
        font-size: 14px;
        line-height: 20px;
    }
    .table-type1__input3 {
        padding-bottom: 10px;
    }
    
    .table-type1__dl:last-child {
        border-bottom: solid 1px var(--gray2);
    }

    .table-type1__radio {
        display: none;
    }
    
    .table-type1__radio-label {
        font-size: 16px;
        line-height: 24px;
        position: relative;
        padding-left: 31px;
        margin-right: 30px;
        cursor: pointer;
    }
    
    .table-type1__radio-label::before {
        content: "";
        display: block;
        width: 22px;
        height: 22px;
        position: absolute;
        border: solid 1px var(--gray2);
        border-radius: 50%;
        left: 0;
        top: 0;
    }
    
    .table-type1__radio:checked + .table-type1__radio-label::after {
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        background-color: var(--gray2);
        border-radius: 50%;
        top: 2px;
        left: 2px;
    }
    
    .table-type1__input4 input {
        width: 97px;
        height: 43px;
        border: solid 1px var(--gray2);
        padding: 0 10px;
        font-size: 16px;
    }
    
    .table-type1__input4 {
        padding-right: 12px;
    }

    .table-type1__input5 {
        width: 100%;
    }
    
    .table-type1__input5 input {
        width: 100%;
        height: 43px;
        padding: 0 10px;
        font-size: 16px;
        border: solid 1px var(--gray2);
    }

    .table-type1__input6 {
        width: 100%;
        display: flex;
    }
    
    .table-type1__input6 p {
        width: 47px;
        line-height: 47px;
        font-size: 16px;
    }
    
    .table-type1__input6 input {
        max-width: 97px;
        height: 43px;
        border: solid 1px var(--gray2);
        margin-right: 12px;
        width: calc((100% - 28px) / 3);
        font-size: 16px;
        padding: 0 10px;
    }
    
    .table-type1__input6:first-child {
        padding-bottom: 14px;
    }
    
    .table-type1__input6 input:last-child {
        margin-right: 0;
    }

    .table-type1__input7 {
        width: 100%;
        position: relative;
    }
    .table-type1__input7 select {
        width: 100%;
        height: 43px;
        border: solid 1px var(--gray2);
        font-size: 16px;
        padding: 0px 6px;
        text-align: left;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    .table-type1__input7::after {
        content: "";
        display: block;
        border-top: solid 8px var(--black);
        border-left: solid 6px transparent;
        border-right: solid  6px transparent;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 10px;
        width: 0;
        height: 0;
        margin: auto;
        pointer-events: none;
    }
}