.headWrap {
    width: 100%;
    height: 40em;
    background: url(../images/header_back.webp) bottom center no-repeat;
    background-size: cover;
    position: relative;
    flex-shrink: 0;
}

.headWrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, transparent 0%, transparent 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.7) 50%, rgb(0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.headbox_a {
    background-color: inherit;
}

.mHead_a img {
    max-width: 35%;
    margin-top: 4%;
}

.mHead_title_a {
    width: 30%;
    margin: 0 auto 120px;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    z-index: 3;
}

.titleT {
    width: 70%;
    margin: 0 auto 3em;
    padding-bottom: 1em;
    font-family: source-han-serif-jp-variable, sans-serif;
    font-variation-settings: "wght" 400;
    font-size: 24px;
    text-align: center;
    color: white;
    border-bottom: 0.5px solid #ffffffb2;
}

.leadT {
    width: 70%;
    margin: 0 auto;
    text-align: left;
}

.leadT p {
    font-family: source-han-serif-jp-variable, sans-serif;
    font-variation-settings: "wght" 300;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1.47;
    margin-bottom: 2em;
}

.leadT span {
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #0086a6;
}

.leadT a {
    color: white;
}

p.caution {
    font-size: 14px;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.47;
    margin-bottom: 5px;
}

@media screen and (max-width:850px) {
    .headWrap {
        height: 24em;
    }

    .title {
        width: 85%;
    }

    .leadT {
        width: 85%;
    }


}

@media screen and (max-width:500px) {
    .headWrap {
        height: 180px;
        margin-bottom: 80px;
    }

    .mHead_title_a {
        width: 45%;
        margin: 0 auto;
        top: 65%;
    }

    .content {
        width: 90%;
    }

    .titleT {
        width: 100%;
        font-size: 22px;
    }

    .leadT {
        width: 100%;
    }

    .leadT p {
        font-size: 16px;
        margin-bottom: 1em;
    }

    .leadT p.caution {
        font-size: 13px;
    }

    .menuWrap_a {
        width: 55%;
    }
}

@media screen and (max-width:390px) {

    .titleT {
        width: 100%;
        font-size: 20px;
    }

    .leadT p {
        font-size: 15px;
        margin-bottom: 1em;
    }

    .leadT p.caution {
        font-size: 13px;
    }

}