@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    color: rgb(26, 26, 26);
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

header, h2 {
    font-family: "athelas", sans-serif;
}

a {
    color: rgb(26, 26, 26);
}

a:visited {
    color: rgb(26, 26, 26);
}

em {
    font-style: normal;
}

.gotop {
    position: fixed;
    right: 5px;
    bottom: 5px;
}

.gotop img{
    width: 80px;
    cursor: pointer;
}

.contactBox {
    position: fixed;
    top: 30%;
    right: 30px;
    text-align: center;
}

.contactBox a {
    background-color: rgb(252, 249, 249, 0.9);
    color: #a87f7e;
    writing-mode: vertical-rl;
    display: table-cell;
    vertical-align: middle;
    width: 40px;
    height: 200px;
    border-radius: 30px;
    border: solid 1px #a87f7e;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.contactBox a:hover {
    background-color: rgb(168, 127, 126, 0.9);
    color: #fff;
}

.contactIcon {
    display: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    cursor: pointer;
}

.contactIcon,
.contactIcon a {
    display: inline-block;
    transition: 0.3s;
}

.contactIcon img {
    display: none;
}

header {
    background-image: url(..//images/FAQ_main_visual_01.jpg);
    background-size: cover;
    width: 100%;
    height: 90vh;
    background-position: bottom;
}

h1 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 80px;
    font-style: italic;
    font-weight: lighter;
    text-align: center;
    display: block;
    padding-top: 300px;
}

main {
    padding: 0 9%;
}

h2 {
    color: #a87f7e;
    font-size: 56px;
    letter-spacing: -1px;
    font-weight: lighter;
    line-height: 40px;
}

span {
    color: #a87f7e;
    font-size: 18px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: bolder;
}

section {
    text-align: center;
    margin-top: 25vh;
}

.FAQexample {
    margin-top: 7%;
}

.question {
    font-size: 18px;
    margin-top: 3%;
    line-height: 1.8em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s;
    border: solid 1px #a87f7e;
    background-color: #fcf9f9;
    padding: 20px;
    border-radius: 3px;
    text-align: left;
}

.question:hover {
    color: #a87f7e;
}

.question img {
    width: 30px;
    height: 30px;
    margin-right: 20px;
    cursor: pointer;
}

.answer {
    font-size: 18px;
    padding: 20px;
    line-height: 1.8em;
    text-align: left;
}

.answer a {
    color: #a87f7e;
    text-decoration: none;
}

.contactBanner {
    text-align: center;
}

.contactBanner p {
    font-size: 18px;
    margin-top: 7%;
}

.contactBanner img {
    margin-top: 20px;
    width: 50%;
}

.contactDetail {
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

.contactLeft {
    width: 50%;
    box-sizing: border-box;
    font-size: 18px;
}

.contactLeftText {
    width: 250px;
    margin-left: auto;
}

.contactLeft li {
    list-style: none;
    line-height: 28px;
}

.contactLeftText .weekend {
    padding-left: 90px;
}

.snsIcon {
    width: 40px;
    padding: 20px;
}

.contactRight {
    width: 50%;
    font-size: 18px;
    padding-top: 3%;
    padding-left: 5%;
    box-sizing: border-box;
}

.contactRight p {
    align-items: center;
    margin-bottom: 20px;
}

.contactRight a {
    display: block;
    text-decoration: none;
    transition: 0.4s;
    box-sizing: border-box;
    color: #a87f7e;
    background-color: #fcf9f9;
    border: solid 1px #a87f7e;
    border-radius: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    width: 240px;
}

.contactRight a:hover {
    color: #fff;
    background-color: #a87f7e;
}

footer {
    margin-top: 15%;
    background-color: #8fa897;
    text-align: center;
    padding-top: 2%;
    padding-bottom: 2%;
    font-size: 14px;
}

@media screen and (max-width: 1000px) and (min-width:769px) {
    h1 {
        font-size: 56px;
    }
    
    h2 {
        font-size: 36px;
        line-height: 36px;
    }

    span {
        font-size: 16px;
    }

    .question {
        font-size: 16px;
    }

    .question img {
        width: 20px;
        height: 20px;
    }

    .answer {
        font-size: 16px;
    }

    .contactLeft {
        font-size: 16px;
    }

    .contactLeftText .weekend {
        padding-left: 80px;
    }

    .snsIcon {
        width: 32px;
        padding: 16px;
    }

    .contactRight {
        width: 50%;
        font-size: 16px;
        padding-left: 5%;
    }

    .contactRight a {
        width: 240px;
    }

}

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

    header {
        height: 70vh;
    }

    .contactBox {
        display: none;
    }

    .contactIcon {
        outline: none;
        position: fixed;
        width: 60px;
        height: 60px;
        top: 60%;
        right: 10px;
        background-color: rgb(168, 127, 126, 0.8);
        border-radius: 50%;
        z-index: 100;
    }

    .headerbar .contactIcon img {
        width: 26px;
        margin-top: 16px;
        display: block;
        margin-right: 2px;
    }

    h1 {
        font-size: 42px;
        padding-top: 240px;
    }

    h2 {
        font-size: 36px;
        line-height: 36px;
    }

    span {
        font-size: 14px;
    }

    section {
        margin-top: 15vh;
        width: 100%;
    }

    .FAQexample {
        margin: 7% 0 0 0;
    }
    
    .question {
        font-size: 14px;
    }

    .question img {
        width: 16px;
        height: 16px;
    }

    .answer {
        font-size: 14px;
    }

    .contactBanner p {
        font-size: 14px;
    }

    .contactBanner img {
        width: 80%;
    }

    .contactDetail {
        display: block;
    }

    .contactLeft {
        width: 100%;
        font-size: 14px;
    }

    .contactLeftText {
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 0;
    }

    .contactLeftText p,
    .contactLeftText li {
        text-align: center;
    }

    .contactLeftText .weekend {
        padding-left: 80px;
    }

    .snsIcon {
        width: 32px;
        padding: 16px;
    }

    .contactRight {
        width: 100%;
        align-items: center;
        text-align: center;
        font-size: 16px;
        margin-top: 3%;
    }

    .contactRight a {
        width: 240px;
        margin: 0 auto;
    }

    footer {
        text-align: center;
        font-size: 10px;
    }

    .gotop {
        position: fixed;
        right: 3px;
        bottom: 3px;
    }

    .gotop img {
        width: 70px;
    }

}