@charset "utf-8";

/* --------------- section-top --------------- */

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

.section-top h3 {
    font-size: 1.4rem;
    font-family: "EB Garamond", serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-top h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.section-top__image {
    margin-bottom: 80px;
    width: 100%;
    height: 300px;
}

.section-top__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.section-top__h2-SP h2 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 60px;
}

.section-top__h2-PC {
    display: none;
}

@media(min-width:560px) {
    .section-top__image {
        margin-top: 60px;
        background: linear-gradient(to right, transparent 65%, #eceff0 85%), url("../images/linenap@2x.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        width: 100%;
    }

    .section-top__image img {
        visibility: hidden;
    }
}

@media(min-width:1040px) {
    .section-top {
        margin-top: 180px;
    }

    .section-top h3 {
        font-size: 2.0rem;
        margin-bottom: 30px;
    }

    .section-top h1 {
        font-size: 4.8rem;
        margin-bottom: 80px;
    }

    .section-top__image {
        height: 600px;
        margin-bottom: 100px;
        background: linear-gradient(to left, transparent 75%, #eceff0 85%),
            linear-gradient(to right, transparent 75%, #eceff0 85%), url("../images/PC_linenap2x.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        width: 100%;
    }

    .section-top__h2-SP {
        display: none;
    }

    .section-top__h2-PC {
        display: inline-block;
        writing-mode: vertical-rl;
        margin-top: -25vh;
        margin-left: 70vw;
        font-size: 2.4rem;
    }

    .section-top__h2-PC__p2 {
        margin-top: 335px;
        margin-right: 3.6rem;
    }
}

@media(min-width:1370px) {
    .section-top h1 {
        margin-bottom: 100px;
    }

    .section-top__h2-PC {
        margin-left: 108vh;
    }
}

/* --------------- section-chart --------------- */

.section-chart__egasumi1.SP {
    text-align: right;
    margin-right: 20px;
}

.section-chart__egasumi1.PC {
    display: none;
}

.section-chart__egasumi1 img {
    width: 40%;
}

.section-chart__start {
    text-align: left;
    margin-left: 5px;
    margin-bottom: 20px;
    position: relative;
}

.section-chart__start img {
    position: absolute;
    bottom: 18px;
    left: -12px;
    width: 90px;
    z-index: 1;
}

.section-chart__start.PC {
    display: none;
}

.section-chart__start .start {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 75px;
    height: 30px;
    border-radius: 20px;
    border: 1px solid #191b28;
    background-color: #fefdf1;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "EB Garamond", serif;
    font-weight: 700;
    z-index: 2;
}

.section-chart__question-container {
    display: grid;
    max-width: 355px;
    grid-template-columns: 110px 110px 110px 30px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.text {
    width: 100%;
}

.text img {
    width: 100%;
}

.text.PC {
    display: none;
}

.button_tate {
    height: 100%;
}

.button_yoko {
    width: 100%;
    text-align: left;
    padding-left: 2.5px;
}

.section-chart__egasumi2.SP {
    text-align: left;
    margin-top: 15%;
    margin-left: 20px;
}

.section-chart__egasumi2.SP img {
    width: 40%;
}

.section-chart__egasumi2.PC {
    display: none;
}

@media(min-width:600px) {
    .section-chart__question-container {
        max-width: 500px;
        grid-template-columns: 2fr 2fr 2fr 30px;
    }
}

@media(min-width:768px) {
    .section-chart__egasumi1.SP {
        margin-right: 50px;
    }

    .section-chart__egasumi1.SP img {
        width: 30%
    }

    .section-chart__egasumi2.SP {
        margin-left: 50px;
    }

    .section-chart__egasumi2.SP img {
        width: 30%;
    }

    .section-chart__start {
        margin-left: 15px;
    }

    .section-chart__start.SP {
        display: none;
    }

    .section-chart__start.PC {
        display: inline-block;
    }

    .section-chart__start img {
        bottom: -5px;
        left: -30px;
        width: 130px;
        z-index: 1;
    }

    .section-chart__start .start {
        width: 100px;
        height: 40px;
        font-size: 1.6rem;
    }

    .section-chart__question-container {
        max-width: 600px;
        grid-template-columns: 2fr 2fr 2fr 30px;
    }

    .text.SP {
        display: none;
    }

    .text.PC {
        display: inline-block;
    }
}

@media(min-width:1040px) {

    .section-chart__start {
        margin-left: 40px;
        margin-bottom: 40px;
    }

    .section-chart__start img {
        bottom: -20px;
        left: -55px;
        width: 150px;
    }

    .section-chart__start .start {
        width: 120px;
    }

    .section-chart__question-container {
        max-width: 900px;
        grid-template-columns: 2fr 2fr 2fr 30px;
    }

    .text.SP {
        display: none;
    }

    .text.PC {
        display: inline-block;
    }
}

@media(min-width:1600px) {
    .section-chart__egasumi1.SP {
        display: none;
    }

    .section-chart__egasumi2.SP {
        display: none;
    }

    .section-chart__egasumi1.PC {
        display: inline-block;
    }

    .section-chart__egasumi1.PC {
        display: inline-block;
    }

    .section-chart__egasumi1.PC .egasumi-01 {
        width: 100%;
        text-align: right;
        position: relative;
    }

    .section-chart__egasumi1.PC .egasumi-01 img {
        width: 280px;
        position: absolute;
        top: -7vh;
        right: -94vh;
    }

    .section-chart__egasumi1.PC .egasumi-02 {
        width: 100%;
        text-align: left;
        position: relative;
    }

    .section-chart__egasumi1.PC .egasumi-02 img {
        width: 250px;
        position: absolute;
        top: 30vh;
        left: -85vh;
    }

    .section-chart__egasumi2.PC {
        display: inline-block;
    }

    .section-chart__egasumi2.PC .egasumi-01 {
        width: 100%;
        text-align: right;
        position: relative;
    }

    .section-chart__egasumi2.PC .egasumi-01 img {
        width: 280px;
        position: absolute;
        top: -30vh;
        right: -94vh;
    }

    .section-chart__egasumi2.PC .egasumi-02 {
        width: 100%;
        text-align: left;
        position: relative;
    }

    .section-chart__egasumi2.PC .egasumi-02 img {
        width: 300px;
        position: absolute;
        top: -8vh;
        left: -90vh;
    }
}

/* --------------- section-answer --------------- */

.section-answer {
    background: linear-gradient(transparent 1%, #fefdf1 5%);
    padding-top: 80px;
    padding-bottom: 100px;
}

.section-answer_A {
    /* padding-top: 80px; */
    margin-bottom: 60px;
}

.section-answer__title {
    background-image: url("../images/suggest_frame2x.png");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 305px;
    margin: 0 auto 40px auto;
}

.section-answer__title h1 {
    font-size: 2.4rem;
    font-family: "EB Garamond", serif;
    padding: 20px;
}

.section-answer__title .section-answer__type {
    font-size: 1.4rem;
}

.section-answer h2 {
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
}

.section-answer__h2.PC {
    display: none;
}

.h2_slanting-border::before,
.h2_slanting-border::after {
    position: relative;
    display: inline-block;
    content: "";
    /* 斜め線の色 */
    background: #c2a475;
    /* 斜め線の太さ */
    width: 2px;
    /* 斜め線の長さ */
    height: 1em;
    /* テキストとの間に左右余白を作る */
    margin: 0 1em;
    /* 斜め線の位置調整 */
    margin-top: -.2em;
    vertical-align: middle;
}

.h2_slanting-border::before {
    /* 角度調整 */
    transform: rotate(-35deg);
}

.h2_slanting-border::after {
    /* 角度調整 */
    transform: rotate(35deg);
}

.section-answer__description {
    max-width: 315px;
    margin: 0 auto 60px auto;
}

.section-answer__description p {
    font-size: 1.4rem;
    max-width: 315px;
    text-align: left;
}

.recommend__title {
    text-align: center;
    margin-bottom: 30px;
}

.section-answer .recommend p {
    font-size: 1.6rem;
}

.recommend__img {
    max-width: 315px;
    margin: 0 auto 60px auto;
}

.recommend__img img {
    width: 100%;
}

.button-content {
    width: 228px;
    position: relative;
    display: inline-block;
    padding: 20px;
    transition: 0.3s;
    color: #ffffff;
    /* 文字色 */
    font-family: "FOT-筑紫Aオールド明朝 Pr6 R", serif;
    font-size: 1.6rem;
    border-radius: 50px;
    background: #e2c798;
    /* 背景色 */
    /* box-shadow: 0 6px 0 #3a2517; */
    margin: 0 auto;
    letter-spacing: 0.1rem;
}

.button-content span {
    margin-left: -10px;
}

.button-content span::before {
    content: '';
    width: 5px;
    height: 5px;
    border: 0;
    border-top: 2px solid #fff;
    /* 矢印の色 */
    border-right: 2px solid #fff;
    /* 矢印の色 */
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 30px;
    margin-top: -5px;
}

.section-answer_B {
    margin-bottom: 60px;
}

.section-answer_C {
    margin-bottom: 60px;
}

@media(min-width:1040px) {
    .section-answer {
        padding-top: 160px;
        padding-bottom: 200px;
    }

    .section-answer_A {
        /* padding-top: 160px; */
        margin-bottom: 100px;
    }

    .section-answer__title {
        background-size: cover;
        max-width: 410px;
        margin: 0 auto 60px auto;
    }

    .section-answer__title h1 {
        font-size: 3.2rem;
        padding: 29px;
    }

    .section-answer__title .section-answer__type {
        font-size: 2.0rem;
    }

    .section-answer__h2.SP {
        display: none;
    }

    .section-answer__h2.PC {
        display: inline-block;
    }

    .section-answer h2 {
        margin-bottom: 30px;
    }

    .h2_slanting-border {
        font-size: 1.6rem;
        letter-spacing: 0.1em;
    }

    .section-answer__description {
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-answer__description p {
        font-size: 1.6rem;
        max-width: 100%;
    }

    .recommend__img {
        max-width: 400px;
        margin: 0 auto 60px auto;
    }

    .section-answer_B {
        margin-bottom: 100px;
    }

    .section-answer_C {
        margin-bottom: 100px;
    }
}

/* --------------- footer --------------- */
.footer {
    background-color: #fefdf1;
    /* min-height: 100vh; */
}

.footer__top {
    border-color: #191b28;
}

.top_arrow {
    border-top: 3px solid #191b28;
    border-right: 3px solid #191b28;
}

.footer__container {
    color: #191b28;
}

.footer small {
    color: #191b28;
}

@media(min-width:960px) {
    .footer small {
        margin-bottom: 0;
    }
}