@charset 'UTF-8';

html {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background: #F8F8F8;
}

p {}

body {
    position: relative;
}

.header {
    text-align: center;
    padding: 10px 0;
    background: #fff;
}

header a {}

header a img {
    width: 140px;
}

.kv {
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 325px;
    text-align: center;
    position: relative;
}

.kv img {
    max-width: 1180px;
    width: 100%;
    height: 325px;
    object-fit: cover;
}

.kv .txt {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.kv .txt h2 {
    font-size: 36px;
    font-weight: bold;
    max-width: 464px;
    width: 90%;
    background: #FFDB64;
    border-radius: 50px;
    margin: 0 auto;
    padding: 10px 0;
}

.kv .txt p {
    font-size: 22px;
    font-weight: bold;
    color: #101A69;
    margin-top: 40px;
    line-height: 1.5;
    letter-spacing: 4px;
}

/* 共通 */
/*********************************/
section {
    margin: 70px auto 0;
    max-width: 800px;
    width: 90%;
    text-align: center
}

.content {
    padding-bottom: 80px;
}

.click {
    display: none;
}

.active {
    color: #0052A5 !important;
    border: 2px solid #0052A5 !important;
    background: #F2F7FF !important;
    font-weight: bold;
}

.active .default {
    display: none;
}

.active .click {
    display: block;
}

.pattern {
    position: relative;
}

.pattern-title {
    font-size: 24px;
    font-weight: bold;
}

.pattern-btn {
    font-size: 14px;
    margin-top: 10px;
    color: #0052A5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pattern-btn:hover {
    text-decoration: underline;
}

.pattern-btn::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: relative;
    left: 5px
}

/*********************************/
.section-top {
    text-align: center;
    margin-top: 80px;
}

.section-top h2 {
    font-size: 24px;
    font-weight: bold;
}

.section-top-flex {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.section-top-item {
    border: 2px solid #D1D1D1;
    border-radius: 16px;
    background: #fff;
    padding: 25px 10px;
    box-shadow: 3px 3px 0 rgb(0, 0, 0, .1);
    width: 31%;
    font-size: 16px;
}

.section-top-item:hover {
    border: 2px solid #F2F7FF;
    cursor: pointer;
}

.section-top-item:nth-of-type(2) {
    margin: 0 3.5%;
}

.section-top-item:nth-of-type(4) {
    margin-right: 3.5%;
    margin-top: 25px;
}

.section-top-item:nth-of-type(5) {
    margin-top: 25px;
}

.section-top-item img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.pattern {
    display: none;
}

.open {
    display: block !important;
}

.pattern1-flex {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pattern1-item {
    min-height: 120px;
    border: 2px solid #D1D1D1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px 0 rgb(0, 0, 0, .1);
    width: 31%;
    position: relative;
    line-height: 1.5;
}

.pattern1-item:nth-of-type(2) {
    margin: 0 3.5%;
}

.pattern1-item:hover {
    border: 2px solid #F2F7FF;
    cursor: pointer;
}

.pattern1-item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 16px;
    text-align: center;
}

.pattern2-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.pattern2-item {
    min-height: 100px;
    border: 2px solid #D1D1D1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px 0 rgb(0, 0, 0, .1);
    width: 48%;
    position: relative;
    line-height: 1.5;

}

.pattern2-item:hover {
    border: 2px solid #F2F7FF;
    cursor: pointer;
}

.pattern2-item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 16px;
    text-align: center;
}

.pattern3-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pattern3-item {
    width: 48%;
}

.pattern3-item:nth-of-type(2n) {
    margin-left: 4%;
}

.pattern3-item a {
    margin-top: 10px;
    padding-left: 15px;
    font-size: 14px;
    color: #0052A5;
    position: relative;
    text-align: left;
}

.pattern3-item a::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    left: 0;
    top: 2px;
}

.pattern3-item a:hover {
    text-decoration: underline;
}

.pattern3-box {
    min-height: 125px;
    border: 2px solid #D1D1D1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 3px 3px 0 rgb(0, 0, 0, .1);
    position: relative;
}

.pattern3-box:hover {
    border: 2px solid #F2F7FF;
    cursor: pointer;
}

.pattern3-item p {
    font-size: 16px;
    line-height: 1.5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 15px;
    text-align: center;
}

.pattern3-item:nth-of-type(n + 3) {
    margin-top: 30px;
}

.pattern4-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.pattern4-item {
    min-height: 100px;
    border: 2px solid #D1D1D1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 3px 3px 0 rgb(0, 0, 0, .1);
    width: 48%;
    position: relative;
    line-height: 1.5;

}

.pattern4-item:hover {
    border: 2px solid #F2F7FF;
    cursor: pointer;
}

.pattern4-item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 16px;
    text-align: center;
}

.result {
    text-align: center;
    padding-bottom: 50px;
    display: none;
    padding-top: 80px;
}

.result1 {
    margin: 0 auto;
}

.result-title span {
    font-size: 25px;
    font-weight: bold;
    position: relative;
}

.result-title span::before {
    content: "";
    display: inline-block;
    width: 110px;
    height: 160px;
    background-image: url(../img/img01.png);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    top: 20%;
    left: -185px;
    transform: translate(-50%, -50%);
}

.result-title span::after {
    content: "";
    display: inline-block;
    width: 315px;
    height: 65px;
    background-image: url(../img/fukidashi.png);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.result-box {
    margin-top: 55px;
    padding: 50px 0;
    border: 3px solid #0052A5;
    background: #F2F7FF;
    border-radius: 16px;
}

.result-sub-title {
    font-size: 30px;
    color: #0052A5;
    font-weight: bold;
}

.result-sub-title span {
    color: #FF752C;
}

.result-txt {
    font-size: 18px;
    font-weight: 500;
    color: #0052A5;
    margin-top: 30px;
    line-height: 1.5;
}

.result-txt:nth-of-type(2) {
    margin-top: 55px;
}

.result-toggle a {
    max-width: 315px;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    padding: 20px 0;
    background: #0052A5;
    border-radius: 50px;
    margin-top: 35px;
    position: relative;
}

.result-toggle a:hover {
    background: #5C98FF;
}

.result-toggle a::after {
    content: "";
    display: inline-block;
    width: 37px;
    height: 37px;
    background-image: url(../img/arrow2.png);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

.result-btn {
    color: #0052A5;
    font-size: 14px;
    margin-top: 35px;
}

.result-btn:hover {
    text-decoration: underline;
}

.result-btn::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url(../img/arrow3.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    margin-right: 5px;
    position: relative;
    top: 2px;
}

footer {
    text-align: center;
    background: #fff;
    padding: 25px 0;
}

footer p {
    font-size: 14px;
}

.sp {
    display: none;
}

@media screen and (max-width: 820px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .kv {
        height: 260px;
    }

    .kv img {
        height: 260px;
        object-fit: contain;
        object-position: bottom;
    }

    .kv .txt h2 {
        font-size: 23px;
        max-width: 210px;
    }

    .kv .txt p {
        font-size: 16px;
        margin-top: 10px;
    }

    .section-top {
        margin-top: 60px;
    }

    section {
        margin: 40px auto 0;
    }

    .section-top h2 {
        font-size: 16px;
    }

    .pattern-btn {
        font-size: 12px;
    }

    .section-top-flex {
        margin-top: 20px;
    }

    .section-top-item {
        width: 48%;
        font-size: 13px;
        padding: 20px 5px;
    }

    .section-top-item:nth-of-type(1),
    .section-top-item:nth-of-type(3) {
        margin-right: 4%;
    }

    .section-top-item:nth-of-type(2) {
        margin: 0;
    }

    .section-top-item:nth-of-type(4) {
        margin: 0;
    }

    .section-top-item:nth-of-type(5) {
        margin: 0;
    }

    .section-top-item:nth-of-type(n + 3) {
        margin-top: 15px;
    }

    .section-top-item img {
        height: 40px;
    }

    .pattern-title {
        font-size: 16px;
    }

    .pattern1-flex {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .pattern1-item {
        width: 48%;
        margin-bottom: 15px;
    }

    .pattern1-item:nth-of-type(2n) {
        margin: 0 0 15px 4%
    }

    .pattern1-item p {
        font-size: 13px;
    }

    .pattern2-flex {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .pattern2-item {
        width: 48%;
        margin-bottom: 15px;
    }

    .pattern2-item:nth-of-type(2n) {
        margin: 0 0 15px 4%
    }

    .pattern2-item p {
        font-size: 13px;
    }

    .pattern3-flex {
        margin-top: 20px;
    }

    .pattern3-item {
        width: 48%;
        min-height: 100px;
    }

    .pattern3-item:nth-of-type(n + 3) {
        margin-top: 15px;
    }

    .pattern3-item p {
        font-size: 13px;
        padding: 0 10px;
    }

    .pattern3-item a {
        font-size: 12px;
    }

    .pattern4-item p {
        font-size: 13px;
    }

    .result {
        padding: 50px 0 30px;
    }

    .result-title span {
        font-size: 23px;
    }

    .result-title span::before {
        width: 70px;
        height: 100px;
        left: -80px;
    }

    .result-title span::after {
        background: url(../img/fukidashi-sp.png);
        width: 165px;
        height: 55px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .result-box {
        margin-top: 29px;
        padding: 32px 17px;
    }

    .result-sub-title {
        font-size: 28px;
    }

    .result-txt {
        font-size: 16px;
    }

    .result-toggle a {
        margin-top: 20px;
    }
}