@charset "UTF-8";

html {
    font-size: 100%;
    /*共通追加*/
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

:root {
    /*CSSカスタムプロパティ*/
    --main: #EAC329;
    --main2: #618A67;
    --bg: #F5F2E6;
    --font: #1F1D18;
    --white: #FAF9F5;
    --box-shadow: rgb(70 70 70/25%);
    --header-height: 90px;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    color: var(--font);
    line-height: 1.5;
    background-color: var(--bg);
}

img {
    max-width: 100%;
    /*親要素以上はみ出ないように*/
    vertical-align: bottom;
    /*下にわずかな余白ができるのを防ぐ*/
}

ul {
    list-style: none;
}

a {
    color: inherit;
    /*継承*/
    text-decoration: none;
}

.container {
    max-width: calc(1440px + 16px*2);
    /*左右余白（padding分）含めた最大幅*/
    margin: 0 auto;
    padding: 0 16px;
}

/***ローディング***/
.loading {
    position: fixed;
    background-color: var(--main2);
    width: 100%;
    height: 100vh;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.loading-gif {
    width: 350px;
}

.loading-text {
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
}


/***header***/
#header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--bg);
    box-shadow: 0 4px 7px var(--box-shadow);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.logo {
    height: 50px;
}

.logo a {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

#header .logo a:hover {
    scale: 107%;
}

.logo img {
    height: 100%;
}

.logo span {
    font-size: 16px;
    line-height: 1.25;
}

.g-nav ul {
    display: flex;
    align-items: center;
    gap: min(80px, 5vw);
}

.g-nav li {
    font-weight: 500;
}

.g-nav li a {
    font-size: 1.125rem;
    transition: all 0.2s;
    display: block;
    transform-origin: center;
    position: relative;
}

.g-nav li a:hover {
    scale: 107%;
}


.g-nav li a::before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: -2px;
    width: calc(100% + 2px * 2);
    height: 3px;
    border-radius: 3px;
    background: var(--main);
    scale: 0;
    transform-origin: center left;
    transition: all 0.3s;
}


.g-nav li a:hover::before {
    scale: 100%;
}

#hb {
    display: none;
}

.drawer {
    display: none;
}

/* body {
    --bg-map-width: 30px;
    background-image: url(../img/bg_map.png);
    background-size: var(--bg-map-width) auto;
    background-repeat: repeat-y;
    position: relative;
}

body::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_map.png);
    background-size: var(--bg-map-width) auto;
    background-repeat: repeat-y;
    z-index: -1;
    rotate:180deg;
} */

/*main*/
main {
    padding-top: var(--header-height);
    
}


/**hero**/
.hero {
    width: 100%;
    height: calc(100vh - var(--header-height));
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-bush1,
.hero-bush2 {
    position: absolute;
    width: 30%;
    bottom: 0;
}

.hero-bush1 {
    left: 0;
}

.hero-bush2 {
    right: 0;
}

.hero-content {

    width: 33%;
    /* background-color: pink; */
    text-align: center;
    position: relative;
    min-width: 350px;
}

.hero-content .circle {
    position: absolute;
    content: "";
    width: 150%;
    aspect-ratio: 1/1;
    background-color: #FAEAC8;
    top: -10%;
    left: 50%;
    translate: -50% 0;
    z-index: -1;
    border-radius: 100%;
}

.hero-catch {
    width: 60%;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-title {
    width: 100%;
    display: inline-block;
    margin-bottom: 40px;
}

.hero-chara {
    max-width: 100%;
    width: 280px;
    display: inline-block;
    margin-bottom: 12px;
}


.chara-name {
    font-weight: 700;
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px 5px;
    border-radius: 40px;
    background-color: var(--main);
    font-size: 1.375rem;
}

.chara-name rt {
    font-size: 0.6em;
}

.hero-deco1,
.hero-deco2 {
    position: absolute;
    width: 25%;
    z-index: 10;
    border-radius: 15px;
    padding: 10px;
    background-color: var(--white);
    border: 2px solid var(--main2);
    aspect-ratio: 16/9;
}

.hero-deco1 {
    left: 4%;
    top: 8%;
}

.hero-deco2 {
    right: 4.5%;
    top: 35%;
}

.hero-deco-img-wrapper {
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hero-deco1 a,
.hero-deco2 a {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0/45%);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    translate: 100% 0;
    transition: translate 0.3s ease-in-out;
    font-size: 1.75rem;
    color: var(--white);
    font-weight: 700;
}

.hero-deco1.clicked a,
.hero-deco2.clicked a {
    translate: 0 0;
}

.hero-deco-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* aspect-ratio: 16/9; */
}

.hero-bubble {
    position: absolute;
    bottom: 0;
    translate: 0 100%;
    z-index: -1;
    width: 15%;
}

.hero-deco1 .hero-bubble {
    right: 10%;
}

.hero-deco2 .hero-bubble {
    left: 10%;
    scale: -1 1;
}

.hero-rect {
    position: absolute;
    border-radius: 15px;
    aspect-ratio: 16/9;
    z-index: -10;
}

.hero-rect.rect1 {
    background-color: #EBD2BF;
    width: 18%;
    top: 40%;
    left: 2.5%;
}

.hero-rect.rect2 {
    background-color: #D0D9DD;
    width: 15%;
    top: 2%;
    left: 26%;
}

.hero-rect.rect3 {
    background-color: #C7E0BC;
    width: 16%;
    top: 5%;
    right: 26%;
}

.hero-rect.rect4 {
    background-color: #E6DE9C;
    width: 18%;
    top: 27%;
    right: 2%;
}





/*hero-arrow*/
.hero-arrow {
    margin-bottom: 50px;
}

.hero-arrow-text {

    --border-arrow: 12px solid var(--main2);

    /*高さ80pxで固定*/
    /* height:82px; */
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    padding: 5px 20px;
    border-top: var(--border-arrow);
    border-bottom: var(--border-arrow);
    background-image: url(../img/bg_hero_arrow.png);
    background-size: auto 100%;
    background-repeat: repeat-x;
    /* background-position: -10px 0; */
    animation: roop 3.5s linear infinite;
}

@keyframes roop {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 150px 0;
    }
}

.hero-arrow-bottom {
    width: 30%;
    height: 50px;
    max-width: 300px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    background-color: var(--main2);
    margin: 0 auto;
    translate: 0 -1px;
}




/**test**/
.test-sect-title {
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
    font-size: 3rem;
}

.test-sect-title span {
    display: inline-block;
    position: relative;
}

.test-sect-title span::before {
    position: absolute;
    content: "";
    width: calc(100% + 12px *2);
    height: 0.25em;
    background-color: var(--main);
    left: -12px;
    bottom: 2px;
    border-radius: 10px;
    z-index: -1;
}

.test-sect-title span:first-of-type {
    margin-right: 150px;
    /* translate: -70px 0; */
}

.test-sect-title span:last-of-type {
    margin-left: 150px;
    /* translate:70px 0; */
}

.test-wrapper {
    background-color: var(--main2);
    border-radius: 30px;
    padding: 45px 30px 100px;
    position: relative;
}

.test-bubble {
    display: block;
    margin: 0 0 0 auto;
    translate: -220px -1px;
    width: 90px;
}

.test-chara {
    position: absolute;
    right: 30px;
    bottom: 40px;
    width: 220px;
}

.huwahuwa {
    animation: huwahuwa 2.5s ease-in-out infinite;
}

@keyframes huwahuwa {
    0% {
        translate: 0 0;
    }

    50% {
        translate: 0 10px;
    }

    100% {
        translate: 0 0;
    }
}

.test-frame {
    background-color: var(--white);
    border-radius: 60px;
    padding: 40px 64px;
    letter-spacing: 0.1em;
}

.test-frame .btn {
    font-size: 2rem;
}

/*test-home*/
.test-home-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.test-catch {
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.test-catch p:nth-child(2) {
    font-size: 3rem;
}

.test-catch p:not(:last-child) {
    margin-bottom: 5px;
}

.test-note {
    display: flex;
    letter-spacing: normal;
}

.test-content-home-text {
    width: 60%
}

.test-content-home-img {
    width: 38%;
}

/*test-content-1*/
.steps {
    display: flex;
    gap: 35px;
    justify-content: center;
    margin-bottom: 15px;
}

.steps span {
    display: block;
    width: 16px;
    aspect-ratio: 1/1;
    background-color: #C7E8CC;
    border-radius: 20px;
}

.test-content-title {
    margin-bottom: 40px;
    text-align: center;
}

.test-content-title h3 {
    font-size: 2.75rem;
    margin-bottom: 5px;
}

.test-content-title p {
    font-size: 1.5rem;
}

.test-options {
    display: flex;
    justify-content: center;
    gap: 2.5%;
}

.test-options li {
    width: 31%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;

    background-color: var(--bg);
    border: 2px solid var(--main);
    border-radius: 15px;
    padding: 20px;
    transition: scale 0.3s;
    cursor: pointer;
}

.test-options li:hover {
    scale: 107%;
}

.test-options li img {
    margin-bottom: 20px;
    height: 160px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/*test-content-result*/
.test-content-result {
    text-align: center;
}

.test-result {
    display: block;
    background-color: var(--bg);
    border: 2px solid var(--main);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
    max-width: 900px;
    margin: 0 auto 50px;
}

.test-result:hover {
    scale: 107%;
}

.test-result h4 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.test-result h4 span {
    font-weight: normal;
    font-size: 1.375rem;
    display: block;
}

.test-result-detail {
    display: flex;
    align-items: center;
    gap: 5%;
}

.test-result img {
    width: 400px;
    margin-bottom: 20px;
}

.test-result-comment {
    padding: 10px 25px;
    background-color: var(--white);
    border: 1px solid #F6F0D6;
    border-radius: 40px;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.675rem;
    font-weight: bold;
    margin-bottom: 10px;

}

.test-content-result .btn {
    margin: 0;
}

.btn-list {
    display: flex;
    gap: 60px;
    justify-content: center;
}


.test-result-readmore {
    font-size: 1.25rem;
}


/**about**/

section {
    margin-bottom: 140px;
}

#about {
    position: relative;
    font-size: 1.1875rem;
}

.about-chara {
    position: absolute;
    bottom: -60px;
    right: 20px;
    width: 180px;
    z-index: -1;
}

#about .container {
    max-width: 1000px;
}

.sect-title {
    font-weight: 500;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: 0 auto 40px;
    font-size: 2.25rem;
    z-index: 1;
}

.sect-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 12px *2);
    height: 0.25em;
    background-color: var(--main);
    left: -12px;
    bottom: 2px;
    border-radius: 10px;
    z-index: -1;
}

.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.flex-re {
    flex-direction: row-reverse;
}

.about-flex img {
    width: 47%;
}

.about-flex p {
    width: 47%;
}

.about-flex img {
    border-radius: 0 0 50px 0;
}

.about-flex.flex-re img {
    border-radius: 50px 0 0 0;
}

.about-text {
    text-align: center;
}

.about-bg-left,
.about-bg-right {
    position: absolute;
    z-index: -10;
    width: 22%;
}

.about-bg-left {
    top: -40px;
    left: 16px;
}

.about-bg-right {
    bottom: -40px;
    right: 16px;
}




/**list**/
#list {
    background-image: url(../img/bg_list_pickup.png);
    background-size: auto 100%;
    background-repeat: repeat-x;
    padding: 40px 0;
    background-position-x: center;
    position: relative;
}

.list-chara {
    position: absolute;
    width: 200px;
    bottom: -40px;
    left: 20px;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5%;

}

.list-grid>li {
    background-color: var(--white);
    border-radius: 15px;
    border: 2px solid var(--main2);
    padding: 40px 30px 25px;
    box-shadow: 0 3px 6px var(--box-shadow);
    margin-bottom: 75px;
    transition: scale 0.2s;
}

.list-grid li:hover {
    scale: 105% !important;
}

.list-grid li>a {
    display: block;
}


.list-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.list-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 25px;
}

.comment {
    display: flex;
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

.comment-chara {
    width: 50px;
}

.comment-text {
    background-color: #F6F0D6;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1.125rem;
    font-weight: 500;
    position: relative;
}

.comment-text::before {
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    background-color: inherit;
    clip-path: polygon(100% 0%, 0% 50%, 100% 100%);
    left: -14px;
    top: 20px;
}

.tag-list {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.tag-list img {
    height: 35px;
}

.readmore {
    display: block;
    text-align: center;
    text-decoration: underline;
    font-size: 1.25rem;
}

.btn {
    display: block;
    width: fit-content;
    background-color: var(--main);
    padding: 20px 80px;
    margin: 0 auto;
    border-radius: 78px;
    font-weight: 900;
    font-size: 1.5rem;
    -webkit-text-stroke-width: 0.4px;
    -webkit-text-stroke-color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 2;
    color: var(--font);
}

.btn::before {
    position: absolute;
    content: "";
    clip-path: circle();
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #FBE386;
    top: 50%;
    left: 0;
    translate: 0% -50%;
    z-index: -1;
    scale: 0.1;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.btn:hover::before {
    opacity: 1;
    scale: 1;
}

/***footer***/
#footer {
    background-color: var(--main2);
    padding: 20px 0 20px;
    color: var(--white);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.footer-chara {
    width: 150px;
}

.copy {
    text-align: right;
}



@media screen and (max-width:834px) {
    :root {
        --header-height: 85px;
    }

    /***ローディング画面***/
    .loading {
        gap: 40px;
    }

    .loading-gif {
        width: 220px;
    }

    .loading-text {
        font-size: 1.5rem;
    }

    /*header*/
    #header {
        padding: 15px 0;
    }

    .g-nav {
        display: none;
    }

    #hb {
        display: block;
        width: 50px;
        height: 27px;
        position: absolute;
        right: 16px;
        top: 50%;
        translate: 0 -50%;
        cursor: pointer;
        z-index: 100;
    }

    #hb span,
    #hb::before,
    #hb::after {
        position: absolute;
        content: "";
        height: 3px;
        width: 100%;
        background-color: var(--font);
        left: 0;
        border-radius: 3px;
        transition: all 0.3s;
        transform-origin: center;
    }

    #hb span {
        top: 0;
    }

    #hb::before {
        top: 50%;
        translate: 0 -50%;
    }

    #hb::after {
        bottom: 0;
    }

    .open #hb span {
        top: 50%;
        translate: 0 -50%;
        rotate: 40deg;
    }

    .open #hb::before {
        opacity: 0;
    }

    .open #hb::after {
        bottom: 50%;
        translate: 0 50%;
        rotate: -40deg;
    }

    .open .drawer {
        translate: 0 0;
    }

    .drawer {
        display: block;
        position: absolute;
        width: 100%;
        height: 100vh;
        z-index: 90;
        top: 0;
        background-color: var(--bg);
        padding: 16px 0 16px;
        transition: all 0.3s;
        translate: 100% 0;
    }

    .drawer .logo {
        margin: 0 0 30px 16px;
        width: fit-content;
    }

    .drawer nav li:first-child a {
        border-top: 1px solid var(--font);
    }

    .drawer nav a {
        display: block;
        font-size: 1.25rem;
        padding: 20px 36px 20px 16px;
        border-bottom: 1px solid var(--font);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 500;
    }

    .drawer nav a img {
        height: 20px;
        transition: translate 0.2s;
    }

    .drawer nav a:hover img {
        translate: 15px 0;
    }

    /*main*/
    /*hero*/
    .hero-content {
        min-width: auto;
        max-width: 350px;
        width: 95%;
        padding: 0 16px;
        z-index: 30;
    }

    .hero-content .circle {
        width: 140%;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }

    .hero-catch {
        width: 72%;
    }

    .hero-chara {
        width: 70%;
    }

    .chara-name {
        font-size: 1.25rem;
    }

    .hero-rect.rect1 {
        width: auto;
        height: 20%;
        top: 25%;
        left: auto;
        right: 5%;
    }

    .hero-rect.rect2 {
        width: auto;
        height: 22%;
        top: 1%;
        left: auto;
        right: 15%;
    }

    .hero-rect.rect3 {
        width: auto;
        height: 20%;
        top: auto;
        bottom: 30%;
        right: auto;
        left: 3%;
    }

    .hero-rect.rect4 {
        width: auto;
        height: 22%;
        left: 15%;
        top: auto;
        bottom: 3%;
    }

    .hero-deco1,
    .hero-deco2 {
        max-width: 95%;
        width: auto;
        height: 25%;
        padding: 5px;
    }

    .hero-deco1 {
        top: 3%;
    }

    .hero-deco2 {
        top: auto;
        bottom: 4%;
    }

    .hero-deco-img-wrapper {
        border-radius: 10px;
    }

    .hero-bubble {
        display: none;
    }

    .hero-bush1,
    .hero-bush2 {
        display: none;
    }

    @keyframes roop-sp {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: 150px 0;
        }
    }

    .hero-arrow-text {
        --border-arrow: 8px solid var(--main2);
        /*height:46px*/
        font-size: 24px;
        background-image: url(../img/bg_hero_arrow_sp.png);
        animation: roop-sp 2.5s linear infinite;

    }

    @keyframes roop-sp {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: 100px 0;
        }
    }

    .hero-arrow-bottom {
        height: 30px;

    }


    section {
        margin-bottom: 100px;
    }

    .test-sect-title {
        font-size: 1.875rem;
        margin-bottom: 40px;
    }

    .test-sect-title span:first-of-type {
        margin-right: 50px;
        /* translate: -70px 0; */
    }

    .test-sect-title span:last-of-type {
        margin-left: 50px;
        /* translate:70px 0; */
    }

    .sect-title {
        font-size: 1.875rem;
        margin-bottom: 40px;
    }

    /*test*/
    .test-wrapper {
        padding: 15px 15px 40px;
        border-radius: 15px;
    }

    .test-frame {
        padding: 30px 15px;
        border-radius: 40px;
    }

    .test-bubble {
        translate: -170px -1px;
        width: 60px;
    }

    .test-home-flex {
        flex-direction: column;
    }

    .test-content-home-text {
        width: 100%;
        margin-bottom: 20px;
    }

    .test-catch {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .test-catch p:nth-child(2) {
        font-size: 2rem;
    }

    .test-note {
        font-size: 0.9375rem;
    }

    .test-content-home-img {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .test-content-title {
        margin-bottom: 25px;
    }

    .test-content-title h3 {
        font-size: 1.75rem;
    }

    .test-content-title p {
        font-size: 1.25rem;
    }

    .test-options {
        flex-direction: column;
        gap: 10px;
    }

    .test-options li {
        width: 100%;
        font-size: 1.25rem;
        padding: 12px;
        display: flex;
        text-align: left;
        align-items: center;
        gap: 10px;
    }

    .test-options li img {
        height: 100px;
        width: auto;
        margin-bottom: 0;
    }

    .test-frame .btn {
        font-size: 1.5rem;
    }

    .steps {
        gap: 20px;
    }

    .steps span {
        width: 12px;
    }

    .test-result h4 {
        font-size: 1.375rem;
    }

    .test-result h4 span {
        font-size: 1.125rem;
    }

    .test-result-detail {
        flex-direction: column;
    }

    .test-result-comment {
        font-size: 1.25rem;
        padding: 8px 15px;
    }

    .test-result-readmore {
        font-size: 1.125rem;
    }

    .test-chara {
        width: 150px;
        bottom: 0px;
    }

    .btn-list {
        flex-direction: column;
        gap: 30px;
    }

    /*about*/
    #about {
        font-size: 1rem;
    }

    .about-flex {
        flex-direction: column-reverse;
        gap: 10px;
        margin-bottom: 30px;
    }

    .about-flex p,
    .about-flex img {
        width: 100%;
    }

    .about-flex img,
    .about-flex.flex-re img {
        border-radius: 0;
    }

    .about-chara {
        width: 130px;
        bottom: -90px;
    }

    .about-bg-left,
    .about-bg-right {
        width: 40%;
    }

    /*list*/
    .list-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 55px;
        row-gap: 30px;
        column-gap: 20px;
    }

    .list-grid>li {
        padding: 30px 25px 15px;
        margin: 0;
        min-height: 0;
        height: 100%;
    }

    .list-chara {
        width: 130px;
        bottom: -70px;
    }



    .btn {
        font-size: 1.25rem;
        -webkit-text-stroke-width: 0.2 px;
        padding: 15px 60px;
    }

    /*footer*/
    #footer {
        padding: 30px 0;
    }

    .footer-chara {
        display: none;
    }
}


@media screen and (max-width:600px) {

    .hero-deco1,
    .hero-deco2 {
        height: 20%;
    }

    .hero-rect.rect2,
    .hero-rect.rect4 {
        height: 18%;
    }

    .rect1,
    .rect3 {
        display: none;
    }

    .list-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
}