@charset "utf-8";

html{
scroll-behavior: smooth;
}

body{
margin: 0 auto;
font-family: Roboto, sans-serif;
color: #020D38;
font-size: 1rem;
line-height: 1.5;
letter-spacing: 1px;
}

.innerBox{
max-width: 980px;
width: 100%;
margin: 0 auto;
}

/* section Mailform*/
.mailform{
font-family: Roboto, sans-serif;
.indexArea{
margin: 0 auto;
padding: 40px 0;
background: url(../images/Mailform/coyash_shokki_bg_mailform.webp?1);
background-position: 0 0;
background-repeat: repeat;
background-size: contain;
position: relative;
text-align: center;
color: #020D38;
.info{
display: grid;
grid-template-columns: auto auto;
column-gap: 10px;
justify-content: center;
align-items: center;
text-align: left;
.cmnt{
font-weight: bold;
p{
margin-bottom: 5px;
}
em{
font-size: 1.2rem;
}
.caution{
color: #E83517;
}
}
}
    @media screen and (min-width: 768px) and (max-width: 1023px) {
        .info{
        padding: 0 16px;
        img{
        width: 160px;
        }
        .cmnt{
        width: 100%;
        }
        }
        .cmnt{
        width: 80%;
        margin: 8px auto;
        padding: 0 16px;
        font-weight: bold;
        .caution{
        color: #E83517;
        em{
        font-size: 1rem;
        }
        }
        }
    }
    @media screen and (max-width: 767px) {
        .info{
        display: grid;
        grid-template-areas: "areaA areaB";
        gap: 0;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: 0 auto;
        img{
        width: 120px;
        grid-area: areaB;
        }
        .cmnt{
        grid-area: areaA;
        margin: 0 auto;
        font-size: 0.8rem;
        font-weight: bold;
        p{
        em{
        font-size: 1rem;
        }
        }
        }
        }
        .info.--second{
        display: block;
        width: 90%;
        margin: 0 auto 24px;
        padding: 24px 0 0 0;
        .cmnt{
        margin: 0 auto;
        padding: 0;
        .caution{
        color: #E83517;
        em{
        font-size: 0.8rem;
        }
        }
        }
    }
    }
.tel{
display: grid;
grid-template-columns: auto auto auto;
column-gap: 30px;
justify-content: center;
align-items: center;
width: 900px;
@media screen and (min-width: 768px) and (max-width: 1024px) {
width: 90%;
}
@media screen and (max-width: 767px) {
    grid-template-columns: none;
    grid-template-rows: auto auto auto;
    width: 90%;
    text-align: center;
}
margin: 0 auto;
padding: 15px 10px;
background: #fff;
border-radius: 10px;
box-shadow: 0px 0px 15px -5px #124167;
color: #020D38;
h3{
display: grid;
grid-template-columns: auto auto;
column-gap: 3px;
justify-content: center;
align-items: center;
&::before{
content: "";
display: block;
width: 36px;
height: 36px;
@media screen and (min-width: 768px) and (max-width: 1024px) {
width: 30px;
height: 30px;
}
@media screen and (max-width: 767px) {
width: 26px;
height: 26px;
}
background: url(../images/Mailform/MailformArea_icon_tel.svg);
background-position: 0 0;
background-repeat: no-repeat;
background-size: contain;
}
}
em{
font-size: 40px;
@media screen and (min-width: 768px) and (max-width: 1024px) {
font-size: 32px;
}
@media screen and (max-width: 767px) {
font-size: 24px;
}
font-weight: bold;
}
dl{
font-size: 14px;
@media screen and (min-width: 768px) and (max-width: 1024px) {
font-size: 13px;
}
@media screen and (max-width: 767px) {
display: grid;
grid-template-columns: auto auto;
justify-content: center;
align-items: center;
font-size: 0.8rem;
}
font-weight: bold;
}
}
}
.formBox{
width: 900px;
@media screen and (max-width: 1024px) {
width: 90%;
}
margin: 0 auto;
padding: 40px 0;
h2{
margin: 0 auto 60px;
@media screen and (max-width: 767px) {
margin: 0 auto 40px;
}
img{
margin: 0 auto;
}
}
.contBox{
display: grid;
grid-template-columns: 240px 600px;
column-gap: 20px;
justify-content: center;
align-items: center;
margin-bottom: 24px;
font-weight: bold;
@media screen and (min-width: 768px) and (max-width: 1024px) {
    grid-template-columns: 140px 500px;
}
@media screen and (max-width: 767px) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .ttl{
    width: 100%;
    margin-bottom: 8px;
    font-size: 1.1rem;
    }
    .cont{
    width: 100%;
    margin-bottom: 24px;
    }
}
.cont.--tablewaretype,
.cont.--otherassessments{
display: grid;
grid-template-columns: repeat(3,auto);
gap: 8px;
justify-content: start;
align-items: center;
label{
display: grid;
grid-template-columns: auto auto;
column-gap: 8px;
justify-content: start;
align-items: center;
}
@media screen and (min-width: 431px) and (max-width: 767px) {
display: grid;
grid-template-columns: repeat(3,auto);
gap: 16px 32px;
justify-content: start;
align-items: center;
label{
display: grid;
grid-template-columns: auto auto;
column-gap: 8px;
justify-content: start;
align-items: center;
}
}
@media screen and (max-width: 430px) {
display: grid;
grid-template-columns: repeat(2,auto);
gap: 16px;
justify-content: start;
align-items: center;
label{
display: grid;
grid-template-columns: auto auto;
column-gap: 8px;
justify-content: start;
align-items: center;
}
}
}
}

.label__caution{
margin-left:8px;
padding: 2px 5px;
border: 2px solid;
border-radius: 5px;
font-size: 13px;
&.required{
color: #C9171E;
}
&.any{
color: #020D38;
}
}
input,
input[type="text"],
input[type="tel"],
input[type="email"],
textarea{
width: 100%;
padding: 20px;
background: #EFF4F8;
border: none;
border-radius: 10px;
&::placeholder{
color: #9CBDDB;
font-weight: 400;
}
&::-ms-input-placeholder,
&:-ms-input-placeholder{
color: #9CBDDB;
font-weight: 400;
}
}
label{
display: inline-block;
input[type="checkbox"] {
position: relative;
width: 24px;
height: 24px;
@media screen and (min-width: 768px) and (max-width: 1024px) {
    width: 20px;
    height: 20px;
}
@media screen and (max-width: 767px) {
    width: 32px;
    height: 32px;
}
padding: 0;
border: 2px solid #020D38;
border-radius: 3px;
vertical-align: -5px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
input[type="checkbox"]:checked:before {
position: absolute;
top: 0px;
left: 6px;
content: '';
transform: rotate(50deg);
width: 8px;
height: 16px;
border-right: 4px solid #020D38;
border-bottom: 4px solid #020D38;
@media screen and (min-width: 768px) and (max-width: 1024px) {
    top: 0px;
    left: 6px;
    width: 8px;
    height: 16px;
}
@media screen and (max-width: 767px) {
    top: -2px;
    left: 7px;
    width: 14px;
    height: 26px;
    border-right: 6px solid #020D38;
    border-bottom: 6px solid #020D38;
}
}
}
}
.submitBox{
margin: 0 auto;
text-align: center;
.btn__submit{
width: 420px;
height: 104px;
@media screen and (max-width: 767px) {
    max-width: 300px;
    width: 100%;
    height: 80px;
}
background: url(../images/Mailform/MailformArea_button_confirm.webp);
background-position: 0 0;
background-repeat: no-repeat;
background-size: contain;
border: none;
&:hover{
opacity: 0.6;
cursor: pointer;
}
}
}
}
#tel-link{
&.tel-disabled{
pointer-events: none;
color: #020D38;
@media screen and (min-width:768px) and (max-width:1023px){
    pointer-events: all;
    color: #020D38;
}
@media screen and (max-width:767px){
    pointer-events: all;
    color: #020D38;
}
}
}