@charset "utf-8";

.header {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ----------------
メインビジュアル
------------------- */
.mv .mv_img_wrap {
    /* max-height: 777px; */
    overflow: hidden;
    position: relative;
}
.mv .mv_img_wrap .mv_img {
    object-fit: cover;
    width: 100%;
    height: 777px;
}
.mv .mv_ttl {
    max-width: 693px;
    position: absolute;
    bottom: 20%;
    left: 9%;
    padding: 60px 30px 32px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 26px 0 0 0;
    text-align: center;
}
.mv .mv_ttl img {
    width: 76%;
    margin-bottom: 28px;
}
.mv .mv_ttl span {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    line-height: 58px;
    border-radius: 58px;
    padding: 5px 15px;
}
@media screen and (max-width: 1024px) {
    .mv .mv_ttl {
        width: 80%;
    }
}
@media screen and (max-width: 767px) {
    .mv .mv_img_wrap .mv_img {
        height: 60vh;
        min-height: 400px;
    }
    .mv .mv_ttl {
        left: 5%;
        top: 130px;
        bottom: unset;
        width: 75%;
        /* bottom: calc((55vh - 83px) / 2);
        transform: translateY(50%); */
        padding: 30px 10px 15px;
    }
    .mv .mv_ttl img {
        margin-bottom: 15px;
    }
    .mv .mv_ttl span {
        font-size: 12px;
        line-height: unset;
    }
}

/* ----------------
コンテンツ
------------------- */
h2 {
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.greeting .inner {
    padding: 60px 20px 85px;
}

h2.greeting_title {
    font-size: 4.8rem;
    margin-bottom: 40px;
}

.greeting p {
    font-size: 2.2rem;
}
.greeting .slogan {
    margin: 40px auto 60px;
}
.greeting .slogan p {
    font-size: 2rem;
    line-height: 2;
}

.link_btn_wrap,
.link_btn_wrap > div {
    gap: 25px;
}

@media screen and (max-width: 767px) {
    .greeting .inner {
        padding: 40px 10px 65px;
    }

    h2.greeting_title {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    .greeting p {
        font-size: 1.8rem;
    }
    .greeting .slogan {
        margin: 20px auto 30px;
        padding: 0;
        /* text-align: center; */
    }
    .greeting .slogan p {
        font-size: 1.6rem;
        margin-bottom: 10px;
        padding-left: 4.5em;
        position: relative;
    }
    .greeting .slogan p span.slogan_title {
        position: absolute;
        left: 0;
    }
    .link_btn_wrap,
    .link_btn_wrap > div {
        gap: 15px;
    }
}

.search .inner {
    padding: 100px 20px 140px;
}

h2.search_title {
    font-size: 4.2rem;
    margin-bottom: 50px;
}

.tab {
    margin-bottom: 70px;
    max-width: 1000px;
}
div[role="tablist"] {
    margin-bottom: 80px;
}

div[role="tabpanel"] {
    width: 100%;
}

.book_title_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 15px;
    row-gap: 40px;
}
.book_title {
    width: 100%;
    background-color: #fff;
    border-radius: 20px 0 0 0;
    border: 1px solid var(--deco-green);
    position: relative;
}
.book_title::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--deco-green);
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    position: absolute;
    right: 0;
    bottom: 0;
}
.book_title a {
    width: inherit;
    height: 100%;
    padding: 10px 10px 15px 21px;
}


@media screen and (max-width: 767px) {
    .search .inner {
        padding: 50px 10px 70px;
    }

    h2.search_title {
        font-size: 3.6rem;
        margin-bottom: 25px;
    }

    .tab {
        margin-bottom: 50px;
    }

    div[role="tablist"] {
        margin-bottom: 40px;
    }
    div[role="tabpanel"] {
        min-width: unset;
    }
    .book_title_wrap {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .book_title {
        align-items: center;
    }

}