@charset "utf-8";
/*------------------------------ common ----------------------------------*/
html,
body {
    scroll-behavior: smooth;
    text-align: justify;
    word-break: break-all;
    color: #464646;
}
.common-lineout{
    text-align: center;
    padding: 100px 16px;
}
.content-width{
    margin-right: auto;
    margin-left: auto;
    max-width: 1000px;
}
ul li{
    list-style: none;
}
.scroll-repair{
    padding-top: 100px;
    margin-top: -100px;
}
.picture{
    display: block;
}
img{
    width: 100%;
    height: auto;
}
.fit-img{
    width: fit-content;
    margin: auto;
}
/* ============ ヘッダー start ============ */
header {
    background: #fff;
    padding: 0 16px;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    box-shadow: 0 0 5px 0 #d8dbe1;
    z-index: 99;
}
header .content-width{
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 1000px;
    height: 64px;
}
.header-contact {
    display: flex;
    flex-direction: row-reverse;
}
.header-contact a {
    display: inline-block;
    margin-left: 25px;
}
.header-call{
    margin-left: 10px;
}
/* ============ ヘッダー end ============ */

/* ============ メイン start ============ */
main{
    margin-top: 64px;
}
.first-view{
    background-color: #2CA3E0;
    background-image: url(../img/pc/FV_bg.webp);
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: center;
    position: relative;
    margin-bottom: 200px;
}
div#service {
    width: 100%;
    display: flex;
    position: absolute;
    bottom: -10%;
    padding: 0 16px;
    box-sizing: border-box;
}
.contact{
    background: #FAFAE1;
    margin-top: 100px;
    text-align: center;
    padding: 50px 16px;
    position: relative;
}
.cc-girl {
    position: absolute;
    top: -78px;
    display: flex;
    width: calc(100% - 32px);
    justify-content: center;
}
.contact .contact-button{
    display: flex;
}
.contact .contact-button a{
    display: block;
    max-width: calc(50% - 16px);
}
.area{
    background: linear-gradient(180deg, #2CA3E0 0%, rgba(44, 163, 224, 0.81) 19.96%, #2CA3E0 100%), url(../img/pc/area_bg.webp) no-repeat;
    margin-top: 50px;
    text-align: center;
    background-size: contain;
    background-blend-mode: lighten;
    background-position-x: center;
}
.QA {
    background: #FAFAE1;
}
.QA-contents{
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
    margin-top: 50px;
}
.QA-contents ul li:first-of-type {
    border-top: 1px solid #aaa;
}
.QA-contents ul li {
    border-bottom: 1px solid #aaa;
    padding: 24px 0;
}
p.Q {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
p.Q .Q-text{
    width: calc(100% - 82px);
}
p.A {
    padding: 24px 16px;
    background: #fff;
    margin-top: 24px;
}
p.Q.open .Q-arrow img{
    transform: rotateX(180deg);
}
p.Q.open + p.A{
    display: block !important;
}

.company table{
    margin-top: 50px;
    font-size: 14px;
    line-height: 1.5;
}
.company tr{
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
.company th{
    background: #F2FAFD;
    padding: 15px;
    width: 12em;
}
.company td{
    padding: 15px;
}
/* ============ メイン end ============ */

/* ============ メールフォーム フォーム　start ============ */
form {
    margin: 50px 0 40px;
    text-align: left;
}
form .item-title {
    font-weight: bold;
    display: inline-block;
    position: relative;
}
form .required .item-title:after {
    content: "必須";
    display: inline-flex;
    height: 18px;
    width: 40px;
    background: #D45D38;
    color: #fff;
    position: absolute;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    top: 0.3em;
    padding-top: 2px;
    margin-left: 1em;
}
form .unrequired .item-title:after {
    content: "任意";
    display: inline-flex;
    height: 1.5em;
    width: 3.5em;
    background: #aaa;
    color: #fff;
    position: absolute;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    top: 0.3em;
    padding-top: 2px;
    margin-left: 1em;
}
form ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
form ul:after {
    content: "※複数選択できます";
    font-size: 14px;
    position: absolute;
    color: #464646;
    right: 0;
    top: -2em;
}
form ul li {
    width: calc(25% - 8px);
    margin-bottom: 16px;
}
form ul li:last-of-type {
    margin-bottom: 0;
}
form ul li input {
    display: none;
}
form ul li label {
    font-weight: bold;
    border: 1px solid #aaa;
    height: 60px;
    border-radius: 5px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
form ul li input:checked + label{
    color: #fff;
    background: #2CA3E0;
    border-color: #2CA3E0;
}
form input#sys_zyusho {
    background-color: #ececec !important;
    border-color: #9e9e9e !important;
}

form div.input, .radio {
    margin-bottom: 20px;
}
form .other-address {
    margin-top: 15px;
}
form .input input, form .textarea textarea {
    outline: none;
    width: 100%;
    height: 48px;
    padding: 10px;
    box-sizing: border-box;
    background: #F2FAFD;
}
form input.must-fill, .must-fill label, .term-check.must-fill{
    background-color: #F3DFD9;
}
form textarea#memo {
    height: 100px;
}
button#submitbtn {
    width: 300px;
    height: 72px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(180deg, #2CA3E0 1.6%, rgba(44, 163, 224, 0.94) 1.61%, rgba(44, 163, 224, 0.661443) 51.51%, #2CA3E0 51.52%, #2CA3E0 98.4%);
    border-radius: 5px;
    border: none;
    cursor: pointer;
}
button#submitbtn[disabled="disabled"]{
    background:#ececec;
    color: #aaa;
}

p.error {
    color: #D45D38;
    font-size: 12px;
    font-weight: bold;
}
p.error:before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin-right: 5px;
    background: url(../img/error_mark.webp);
    background-size: cover;
    position: relative;
    top: 2px;
}
/* ============ メールフォーム フォーム　end ============ */

/* ============ フォーム用「個人情報取り扱いについて」　start ============ */
.form div#term-article {
    overflow: scroll;
    height: 100px;
    border: 1px solid #aaa;
    padding: 10px;
}
.form h1 {
    font-weight: bold;
    margin-bottom: 10px;
}
.form article {
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
}
.form article p {
    margin-bottom: 10px;
}
.form div#termCheck {
    margin: 30px 0;
}
/* ============ フォーム用「個人情報取り扱いについて」　end ============ */

/* ============ フォームthanks　start ============ */
div#mailFormThanks {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: fixed;
    width: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
}
div#thanks {
    font-size: 25px;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    font-weight: bold;
    padding: 50px 0;
    background: #fafae1;
    background-image: url(../img/cracker.webp);
    background-repeat: no-repeat;
    background-position: right bottom;
}

div#thanks .title {
    font-weight: bold;
    font-size: 35px;
    background: #2ca3e0;
    color: #fff;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    margin-bottom: 50px;
}

div#mailFormThanks p {
    padding: 0 30px;
}

span#thanksClose {
    font-size: 20px;
    border: 1px solid #a1a1a1;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    background: #fff;
    border-radius: 5px;
    margin: 70px auto 0;
    cursor: pointer;
}
/* ============ フォームthanks　end ============ */

/* ============ フッター　start  ============ */
footer {
    background: #2CA3E0;
    text-align: center;
    font-size: 10px;
    color: #fff;
    padding: 30px 16px;
    box-sizing: border-box;
}
footer p{
    margin-top: 20px;
}
.footer-logo{
    height: 26px;
    width: auto;
}
/* ============ フッター　end  ============ */
@media screen and (min-width: 751px) {
    .customer-contact {
        display: none;
    }
}

@media screen and (max-width: 1320px) {
    .area{
        background-size: cover;
    }
}

@media screen and (max-width: 1040px) {
    .common-lineout{
        padding: 70px 16px;
    }
    header .content-width{
        width: 100%;
    }
    .area{
        margin-top: 70px;
    }
}

@media screen and (max-width: 750px) {
    .fit-img{
        max-width: 80%;
    }
    .logo img,
    .header-contact a img{
        height: 40px;
        width: auto;
    }
    .common-lineout{
        padding: 70px 24px;
    }
    .header-contact {
        display: flex;
        flex-direction: row;
    }
    .header-contact a {
        margin-left: 15px;
    }
    .first-view{
        margin-bottom: 0;
        background-image: none;
        background-color: #fff;
    }
    #service{
        display: none !important;
    }
    .contact{
        padding: 70px 24px;
        margin-top: 0;
    }
    .cc-girl {
        position: unset;
        margin: auto;
        width: calc(100% - 32px);
    }
    .contact .contact-button {
        display: flex;
        flex-direction: column;
    }
    .contact .contact-button a {
        display: block;
        max-width: 100%;
        margin-top: 30px;
    }
    .customer-contact {
        display: block;
    }
    .customer-contact a {
        display: flex;
        height: 45px;
        width: 100%;
        justify-content: center;
        align-items: center;
        border: 2px solid #4AA45E;
        margin-top: 30px;
        border-radius: 40px;
        font-size: 21px;
        font-weight: bold;
        color: #4AA45E;
        line-height: 1;
        letter-spacing: 1px;
        max-width: 370px;
        margin-left: auto;
        margin-right: auto;
    }
    .customer-contact a span {
        font-size: 16px;
    }
    
    form ul li {
        width: calc(50% - 8px);
        margin-bottom: 16px;
    }
    
    form .required .item-title:after,
    form .unrequired .item-title:after {
        padding-top: 0;
        top: 0.4em;
    }
    div#mailFormThanks .title {
        font-size: 30px;
    }
}

@media screen and (max-width: 414px) {
    .fit-img{
        max-width: 100%;
    }
    .common-lineout{
        padding: 50px 16px;
    }
    .contact{
        padding: 50px 16px;
    }
    .area{
        margin-top: 50px;
        background: linear-gradient(180deg, #2CA3E0 0%, rgba(44, 163, 224, 0.81) 19.96%, #2CA3E0 100%);
    }
    .company th{
        width: 6em;
    }
    div#mailFormThanks .title {
        font-size: 7vw;
    }
}