* {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Kiwi Maru', serif;
}

img {
    vertical-align: top;
}

.chart-wrap {
    max-width: 850px;
    margin: 0 auto;
}

.yesno-sp img {
    width: 100%;
    height: auto;
}

.chart-title img {
    width: 260px;
}

.yesno-pc img {
    width: 100%;
}

.yesno-pc {
    text-align: center;
    padding: 65px 0 205px;
}

.chart-title {
    text-align: center;
    padding: 165px 0 0;
}

img[usemap] {
    border: none;
    height: auto;
    max-width: 100%;
    width: auto;
}

.wrap {
    background-color: #fffbe9;
    background-image: url(../img/bk-top.png), url(../img/bk-bottom.png);
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center bottom;
    padding: 0 0 400px;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.btn,
a.btn,
button.btn {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #2f2f2f;
    border-radius: 0.5rem;
}

a.btn-border-shadow {
    padding: calc(1.5rem - 12px) 3rem 1.5rem;
    background: #ffed75;
}

a.btn-border-shadow:before {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 100%;
    height: 100%;
    content: "";
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 3px solid #000;
    border-radius: 0.5rem;
}

.a-type-wrap h2 img {
    width: 380px;
}

div#a-type,
div#b-type,
div#c-type,
div#d-type,
div#e-type,
div#f-type {
    background-repeat: no-repeat;
    text-align: center;
    padding: 98px 0 65px;
    background-position: center top;
    background-size: contain;
    position: relative;
    height: 607px;
}

div#a-type {
    background-image: url(../img/a-type-bk.png);
}

div#b-type {
    background-image: url(../img/b-type-bk.png);
}

div#c-type {
    background-image: url(../img/c-type-bk.png);
}

div#d-type {
    background-image: url(../img/d-type-bk.png);
}

div#e-type {
    background-image: url(../img/e-type-bk.png);
}

div#f-type {
    background-image: url(../img/f-type-bk.png);
}


.type h3 {
    color: #ffc412;
    padding: 30px 0;
    line-height: 2;
    font-size: 18px;
}

.type p {
    font-size: 16px;
    color: #2f2f2f;
    line-height: 2;
    padding: 0 0 40px;
}


.a-type-wrap:before {
    content: '';
    background-image: url(../img/a-type.png);
    display: inline-block;
    background-size: contain;
    width: 330px;
    height: 70px;
    position: absolute;
    top: -16px;
    background-repeat: no-repeat;
    left: 157px;
}

.a-type-wrap:after {
    content: '';
    background-image: url(../img/a-type-img.png);
    display: inline-block;
    background-size: contain;
    width: 150px;
    height: 130px;
    position: absolute;
    background-repeat: no-repeat;
    bottom: 67px;
    right: 27px;
}

.b-type-wrap:before {
    content: '';
    background-image: url(../img/b-type.png);
    display: inline-block;
    background-size: contain;
    width: 330px;
    height: 70px;
    position: absolute;
    top: -16px;
    background-repeat: no-repeat;
    left: 157px;
}

.b-type-wrap:after {
    content: '';
    background-image: url(../img/b-type-img.png);
    display: inline-block;
    background-size: contain;
    width: 150px;
    height: 130px;
    position: absolute;
    background-repeat: no-repeat;
    bottom: 67px;
    right: 27px;
}

.c-type-wrap:before {
    content: '';
    background-image: url(../img/c-type.png);
    display: inline-block;
    background-size: contain;
    width: 330px;
    height: 70px;
    position: absolute;
    top: -16px;
    background-repeat: no-repeat;
    left: 157px;
}

.c-type-wrap:after {
    content: '';
    background-image: url(../img/c-type-img.png);
    display: inline-block;
    background-size: contain;
    width: 150px;
    height: 130px;
    position: absolute;
    background-repeat: no-repeat;
    bottom: 67px;
    right: 27px;
}

.d-type-wrap:before {
    content: '';
    background-image: url(../img/d-type.png);
    display: inline-block;
    background-size: contain;
    width: 330px;
    height: 70px;
    position: absolute;
    top: -16px;
    background-repeat: no-repeat;
    left: 157px;
}

.d-type-wrap:after {
    content: '';
    background-image: url(../img/d-type-img.png);
    display: inline-block;
    background-size: contain;
    width: 150px;
    height: 130px;
    position: absolute;
    background-repeat: no-repeat;
    bottom: 67px;
    right: 27px;
}

.e-type-wrap:before {
    content: '';
    background-image: url(../img/e-type.png);
    display: inline-block;
    background-size: contain;
    width: 330px;
    height: 70px;
    position: absolute;
    top: -16px;
    background-repeat: no-repeat;
    left: 157px;
}

.e-type-wrap:after {
    content: '';
    background-image: url(../img/e-type-img.png);
    display: inline-block;
    background-size: contain;
    width: 150px;
    height: 130px;
    position: absolute;
    background-repeat: no-repeat;
    bottom: 67px;
    right: 27px;
}

.f-type-wrap:before {
    content: '';
    background-image: url(../img/f-type.png);
    display: inline-block;
    background-size: contain;
    width: 330px;
    height: 70px;
    position: absolute;
    top: -16px;
    background-repeat: no-repeat;
    left: 157px;
}

.f-type-wrap:after {
    content: '';
    background-image: url(../img/f-type-img.png);
    display: inline-block;
    background-size: contain;
    width: 150px;
    height: 130px;
    position: absolute;
    background-repeat: no-repeat;
    bottom: 67px;
    right: 27px;
}

.a-type-wrap,
.b-type-wrap,
.c-type-wrap,
.d-type-wrap,
.e-type-wrap {
    margin: 0 0 120px;
}

.b-type-wrap h2 img {
    width: 380px;
}

.c-type-wrap h2 img {
    width: 320px;
}

.d-type-wrap h2 img {
    width: 320px;
}

.e-type-wrap h2 img {
    width: 320px;
}

.f-type-wrap h2 img {
    width: 320px;
}


/* ボタンのスタイル */
#page-top {
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    position: fixed;
    right: 28px;
    bottom: 30px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* background: #d8e267; */
    padding: 12px 0 0;
    border: 3px solid #d8e267;
}

/* ホバー時のスタイル */
#page-top:hover {
    transform: scale(1.1);
}

p#page-top a {
    color: #d8e267;
    font-weight: bold;
    text-align: center;
    font-size: 9px;
    line-height: 1.4;
}


/* 矢印のスタイル */
#page-top::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-bottom: -4px;
    border-top: solid 3px #d8e267;
    border-right: solid 3px #d8e267;
    transform: rotate(-45deg);
    position: absolute;
    top: 8px;
}

/*スマホ*/

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

    .yesno-pc,
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .wrap {
        padding: 0 0 220px;
        background-size: contain;
    }

    .chart-title img {
        width: 150px;
    }

    .chart-title {
        text-align: center;
        padding: 80px 0 30px;
    }

    .yesno-sp {
        padding: 0 0 150px;
    }

    .a-type-wrap:before,
    .b-type-wrap:before,
    .c-type-wrap:before,
    .d-type-wrap:before,
    .e-type-wrap:before,
    .f-type-wrap:before {
        width: 150px;
        top: 16px;
        left: 0;
        right: 0;
        margin: 0 auto;
        height: 70px;
    }

    .a-type-wrap h2 img,
    .b-type-wrap h2 img,
    .c-type-wrap h2 img,
    .d-type-wrap h2 img,
    .e-type-wrap h2 img,
    .f-type-wrap h2 img {
        width: 200px;
    }

    .type h3 {
        padding: 20px 0;
        font-size: 12px;
    }

    .type p {
        font-size: 10px;
        padding: 0 15px 30px;
        line-height: 2;
    }

    .btn,
    a.btn,
    button.btn {
        font-size: 10px;
    }

    a.btn-border-shadow {
        padding: calc(0.8rem - 10px) 1.2rem 1rem;
        background: #ffed75;
    }

    .a-type-wrap:after {
        width: 60px;
        height: 52px;
        bottom: -9px;
        right: 27px;
    }

    .b-type-wrap:after {
        width: 100px;
        height: 32px;
        bottom: -16px;
        right: 27px;
    }

    .c-type-wrap:after {
        width: 55px;
        height: 66px;
        bottom: -10px;
        right: 27px;
    }

    .d-type-wrap:after {
        width: 70px;
        height: 87px;
        bottom: -32px;
        right: 27px;
    }

    .e-type-wrap:after {
        width: 55px;
        height: 80px;
        bottom: -13px;
        right: 27px;
    }

    .f-type-wrap:after {
        width: 60px;
        height: 80px;
        bottom: -15px;
        right: 27px;
    }


    div#a-type,
    div#b-type,
    div#c-type,
    div#d-type,
    div#e-type,
    div#f-type {
        padding: 59px 0 25px;
        background-size: cover;
        height: auto;
    }

    div#a-type {
        background-image: url(../img/a-type-bk-sp.png);
    }

    div#b-type {
        background-image: url(../img/b-type-bk-sp.png);
    }

    div#c-type {
        background-image: url(../img/c-type-bk-sp.png);
    }

    div#d-type {
        background-image: url(../img/d-type-bk-sp.png);
    }

    div#e-type {
        background-image: url(../img/e-type-bk-sp.png);
    }

    div#f-type {
        background-image: url(../img/f-type-bk-sp.png);
    }

    a.btn-border-shadow:before {
        border: 2px solid #000;
    }

    #page-top {
        background: #fff;
        opacity: 0.8;
    }

    .yesno-sp {
        padding: 0 0 120px;
    }

    .a-type-wrap,
    .b-type-wrap,
    .c-type-wrap,
    .d-type-wrap,
    .e-type-wrap {
        margin: 0 0 90px;
    }
}


/*PC*/

@media only screen and (min-width:810px) {

    .yesno-sp,
    .sp {
        display: none;
    }

    a.btn-border-shadow:hover {
        padding: calc(1.5rem - 6px) 3rem;
    }

    a.btn-border-shadow:hover:before {
        top: 0;
        left: 0;
    }
}