@charset "utf-8";
/* ======================
common
====================== */
:root {
    --primary-white: #FFFFFF;
    --primary-black: #2F2F2F;
    --primary-darkGray:#777171;
    --primary-lightGray: #EEEEEE;
    --primary-purple: #866899;
    --primary-darkYellow: #C2A178;
    --primary-lightYellow: #F8ECA4;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Zen Maru Gothic",
    "Hachi Maru Pop",
    serif;
    font-style: normal;
    color: var(--primary-black);
    line-height: 1.5;
}

h1 {
    font-family: "Tangerine", serif;
    font-style: normal;
    color: var(--primary-white);
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================
header
============================= */
/* .nav初期表示 */
.header__background {
    background-color: var(--primary-lightYellow);
}

.header__topic {
    text-align: center;
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-purple);
    font-family: "Hachi Maru Pop";
    line-height: normal;
    padding-top: 65px;
}

.header__txt {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-purple);
    font-family: "Hachi Maru Pop";
    line-height: normal;
    padding:10px 0 20px;
}

.nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 32vh;
    height: 80vh;
    border-radius: 100% 0% 64% 36% / 30% 90% 10% 70% ;
    box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
    z-index: 100;
    transform: translate(100%,-100%);
    transition:transform 0.4s ease-in-out;
}

.nav__btn {
    display: block;
    width: 30px;
    height: auto;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 40px;
}

.nav__btn:hover {
    opacity: 0.5;
}

.nav__list {
    margin-top: 100px;
    margin-left: 40%;
}

.nav__item {
    color: var(--primary-darkGray,#777171);
    font-family: "Hachi Maru Pop";
    font-size: 2rem;
    line-height: normal;
    margin-top: 30px;
    padding-bottom: 5px;
    position: relative;
}

.nav__item::before {
    background: yellow;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

.nav__item:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.nav__item:hover {
    opacity: 0.5;
}

.nav__item img {
    display: inline-block;
    margin-right: 30px;
    vertical-align: -11px;
}

.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 35px;
    height: auto;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 40px;
}

.header__btn:hover {
    opacity: 0.5;
}

/* header pc */
@media screen and (min-width: 769px) {
    .header__topic {
        font-size: 4rem;
    }

    .header__txt {
        font-size: 2rem;
        padding-bottom: 50px;
    }

    .nav {
        width: 60vh;
        height: 100vh;
    }

    .nav__btn {
        width: 40px;
        height: auto;
    }

    .nav__list {
        margin-top: 100px;
        margin-left: 15%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav__item {
        font-size: 3.6rem;
        margin-top: 30px;
    }

    .nav__item img {
        width: 50px;
        height: auto;
        vertical-align: -15px;
    }

    .header__btn {
        width: 45px;
        height: auto;
    }
}/* pc 769px */

/* =============================
main
============================= */
.main {
    background-image: url(../images/voice-backimage.jpg);
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh; 
}

.main::after {
    content: '';
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}  

.question,
.answer {
    position: relative;
    z-index: 2;
}


.question {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.question__txt {
    background-color: #c9bddd;
    border: 2px solid #c9bddd;
    border-radius: 10px;
    color: #ffffff;
    display: inline-block;
    font-size: 1.6rem;
    font-family: "Zen Maru Gothic";
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 5%;
    max-width: 70%;
    padding: 16px;
    position: relative;
    text-align: left;
    align-items: flex-end;
}

.question__txt::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #c9bddd;
    translate: 100% -50%;
}

.answer {
    display: flex;
    margin-left: 5%;
}

.answer__icon {
    width: 70px;
    height: 70px;
}

.answer__txt {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    margin-left: 20px;
    padding: 16px;
    border: 2px solid #c9bddd;
    border-radius: 10px;
    background-color: #ffffff;
    text-align: left;
    font-size: 1.6rem;
    font-family: "Zen Maru Gothic";
    line-height: 1.5;
    color: var(--primary-black);
    max-width: 60%;
}

.answer__txt::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    border-style: solid;
    border-width: 10px 20px 10px 0;
    border-color: transparent #c9bddd transparent transparent;
    translate: -100% -50%;
}

.answer__txt::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    border-style: solid;
    border-width: 9px 16px 8px 0px;
    border-color: transparent white transparent transparent;
    translate: -100% -50%;
}

/* main pc */
@media screen and (min-width: 769px) {
    .question__txt {
        font-size: 1.8rem;
        margin-right: 7%;
    }

    .answer {
        margin-left: 10%;
    }

    .answer__icon {
        width: 80px;
        height: 80px;
    }

    .answer__txt {
        font-size: 1.8rem;
    }
}/* pc 769px */

/* =============================
footer
============================= */
.footer {
    background-color: #E9E9E9;
    padding: 30px 20px;
}

.footer__topic {
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.6rem;
}

.menu__list {
    margin-top: 10px;
}

.menu__item {
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.6rem;
    cursor: pointer;
}

.copy {
    margin-top: 30px;
    color: #777171;
    font-family: "Zen Maru Gothic";
    font-size: 1.2rem;
}

/* footer pc */
@media screen and (min-width: 769px) {
    .footer {
        padding: 40px 9.7% 60px;
    }

    .footer__group {
        display: flex;
        justify-content: space-between;
    }

    .footer__topic {
        font-size: 2rem;
    }

    .menu__list {
        display: flex;
        justify-content: space-between;
        margin-top: 0;
        gap: 18px;
    }

    .copy {
        margin-top: 60px;
        font-size: 1.4rem;
    }

}/* pc 769px */

/* sclollTop */
.topBtn {
    display: inline-block;
    padding: 18px;
    border-radius: 50%;
    background-color: var(--primary-purple);
    color: var(--primary-white);
    font-size: 1.5rem;
    box-shadow: 2px 2px 4px 2px rgba(159, 146, 220, 0.2);

    position: fixed;
    bottom: 1.4%;
    right: 1.4%;
    z-index: 100;
}

.topBtn::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 1px #FFFFFF;
    border-right: solid 1px #FFFFFF;
    transform: rotate(-45deg);
    position: absolute;
    top: -25px;
    left: 25px;
    bottom: 0;
    margin: auto;
}