@charset "UTF-8";
/* CSS Document */

/*---------------------------------
reset（リセット）
---------------------------------*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a,
a::before,
a::after {
    transition: .3s all;
    color: inherit;
}

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

#spMain{
    width: 100%;
    font-size: initial;
    line-height: initial;
}

.paragraph_5{
    margin: 0;
}

.bdr_default{
    display: none;
}


/*---------------------------------
settings（設定）
---------------------------------*/
:root {
    --color-primary: #2c896a;
    --color-sub: #ef7c00;
}


/*---------------------------------
structure（全体の構造）
---------------------------------*/
::selection {
    background: #ef7c00;
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #eee7d9;
    color: #231815;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'MS Pゴシック', 'MS PGothic', sans-serif;
    font-feature-settings: "palt";
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.book_container{
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.inr {
    margin-inline: auto;
    width: calc(100% - (4% * 2));
    max-width: 1200px;
}

/*hover*/
/* @media (hover: hover) and (pointer: fine) {
} */

/*responsive*/
/* @media screen and (min-width: 560px) {
} */


/*---------------------------------
element（要素）
---------------------------------*/

/*margin*/
.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mt80 {
    margin-top: 80px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

/*font-size*/
h1{
    font-size: 160%;
}
h2{
    font-size: 140%;
}
.fz160 {
    font-size: 160%;
    line-height: 1.4;
}

.fz120 {
    font-size: 120%;
    line-height: 1.4;
}

.fz100 {
    font-size: 100%;
}

.fz80 {
    font-size: 80%;
}

/*list*/
ul.list_custom li {
    text-indent: -1em;
    padding-left: 1em;
}

ul.list_disc {
    padding-left: 1.5em;
}

ul.list_disc li {
    list-style-type: disc;
    line-height: 1.4;
}

ul.list_custom_disc li {
    display: grid;
    grid-template-columns: 22px 1fr;
    line-height: 1.4;
}

ul.list_custom_disc li::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--color-sub);
    border-radius: 50%;
    display: block;
    margin-top: calc(1em - 12px);
    margin-inline: auto;
}


/*btn*/
.btn_wrap{
    margin-inline: auto;
    max-width: 480px;
}
.btn {
    background-color: var(--color-primary);
    color: #fff;
    display: block;
    padding: 30px 30px;
    text-align: center;
    text-decoration: none;
    line-height: 1.0;
}
.btn_end{
    background-color: #a5adb5;
}

.btn.next {
    align-items: center;
    padding-inline: 50px;
    position: relative;
}

.btn.next::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin-block: auto;
}
.btn.next::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: solid 2px var(--color-primary);
    border-right: solid 2px var(--color-primary);
    transform: rotate(45deg);
    position: absolute;
    right: 28px;
    top: 0;
    bottom: 0;
    margin-block: auto;
}

.link_back{
    display: inline-block;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5em;
    text-decoration: none;
}
.link_back::before{
    content: '';
    background-color: #231815;
    border-radius: 50%;
    display: block;
    width: 1.2em;
    height: 1.2em;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin-block: auto;
}
.link_back::after{
    content: '';
    width: .4em;
    height: .4em;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    position: absolute;
    left: .5em;
    top: 0;
    bottom: 0;
    margin-block: auto;
    transform: rotate(-135deg);
}


/*other*/
.f_bold {
    font-weight: bold;
}

.t_center {
    text-align: center;
}

.fc_primary{
    color: var(--color-primary);
}

.indent {
    text-indent: -1em;
    padding-left: 1em;
}

.underline {
    text-decoration: underline;
}

.flex_box {
    display: flex;
}

.grid_box {
    display: grid;
}

.secondary {
    color: var(--color-sub);
}

.inline_block {
    display: inline-block;
}


.fadein {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s, transform 0.7s;
}

.fadein.is_visible {
    opacity: 1;
    transform: translateY(0);
}

/*hover*/
@media (hover: hover) and (pointer: fine) {
    .btn:hover:not(.btn_end) {
        background-color: var(--color-sub);
    }
    .btn:hover::after {
        border-color: var(--color-sub);
    }
    .link_back:hover{
        color: #2c896a;
        text-decoration: underline;
    }
    .link_back:hover::before{
        background-color: #2c896a;
    }
}

/*responsive*/
@media screen and (max-width: 499px) {
    .book_list_sub .book_img figure{
        aspect-ratio: 2 / 3;
    }
    .btn.next {
        padding-inline: 14px 30px;
    }
    .btn.next::before {
        right: 8px;
    }
    .btn.next::after {
        right: 16px;
    }
}



/*---------------------------------
header
---------------------------------*/
header{
    width: 100%;
}
.book_top .header_inr{
    padding-block: 20px 10px;
}

.book_page .header_inr{
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.book_page .page_logo{
    background-color: #fff;
    border-radius: 0 0 40px 40px;
    filter: drop-shadow(0 0 5px rgba(137, 128, 110, .15));
    margin-inline: auto;
    padding: 10px 10px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    align-self: start;
}
.book_page .page_logo img{
    width: 100%;
    max-width: 260px;
}
/*responsive*/
@media screen and (max-width: 499px) {    
    .book_page .header_inr{
        grid-template-columns: 2fr 3fr;
    }
}



/*---------------------------------
main
---------------------------------*/
main{
    flex-grow: 1;
}


.contents_area{
    background-color: #fff;
    border-radius: 20px;
    filter: drop-shadow(0 0 5px rgba(137, 128, 110 ,.15 ));
    padding: 40px 6%;
}
.contents_area_inr{
    margin-inline: auto;
    max-width: 1000px;
    position: relative;
}

.book_top .contents_area{
    margin-top: min(10vw, 100px);
    padding-top: 10px;
}
.book_top .contents_area::before{
    content: '';
    display: block;
    width: 50%;
    aspect-ratio: 2 / 1;
    border-radius: 50% / 100% 100% 0 0;
    background: #fff;
    position: absolute;
    top: max(-10vw, -100px);
    left: 0;
    right: 0;
    margin-inline: auto;
    z-index: -1;
}

.top_logo{
    margin-top: max(-6vw, -60px);
    margin-bottom: 20px;
}
.top_logo img{
    display: block;
    margin: auto;
    width: 80%;
    max-width: 300px;
}
.top_logo::before{
    content: '';
    background-image: url(../img/top_logo_book.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    margin-inline: auto;
    margin-bottom: 10px;
    width: 16%;
    max-width: 77px;
    aspect-ratio: 1 / 1;
}
.top_lead{
    margin-bottom: 40px;
}


.book_list_main{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 30px;
    list-style-type: none;
}

.book_list_main a{
    display: block;
    height: 100%;
    text-decoration: none;
}

.book_list_main .book_img figure{
    background-color: #f4f7fa;
    border-bottom: 1px solid #b3b3b3;
    font-size: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding-inline: 20px;
}
.book_list_main .book_img img{
    filter: drop-shadow(0 0 3px rgba(0, 0, 0 ,.15 ));
    object-fit: contain;
    object-position: bottom;
    width: 100%;
    height: 100%;
}

.book_list_main .book_txt{
    margin-top: 10px;
    padding-inline: 10px;
}

.book_list_main .book_ttl,
.book_list_sub .book_ttl{
    font-size: 120%;
    line-height: 1.4;
    margin-bottom: 5px;
}

.book_list_main .date,
.book_list_sub .date{
    color: #999;
    font-size: 90%;
    margin-bottom: 5px;
}

.book_list_main .add,
.book_list_sub .add{
    display: flex;
    font-size: 80%;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 80%;
    margin-top: 8px;
}
.book_list_main .add span,
.book_list_sub .add span{
    background-color: #231815;
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
}

.category{
    color: #999;
    display: flex;
    font-size: 70%;
    flex-wrap: wrap;
    gap: 5px;
    list-style-type: none;
}
.category li{
    border: 1px solid #999;
    border-radius: 20px;
    padding: 2px 6px;
}


.book_list_sub{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    list-style-type: none;
}
.book_list_sub a{
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    text-decoration: none;
}
.book_list_sub .book_img figure{
    display: block;
    font-size: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
}
.book_list_sub .book_img img{
    object-fit: contain;
    object-position: top;
    width: 100%;
    height: 100%;
}

.book_article{
    font-size: 110%;
    margin-inline: auto;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
    padding-inline: 10px;
    max-width: 820px;
}
.book_article .book_date{
    color: #999;
}
.book_article .book_ttl{
    line-height: 1.4;
    margin-block: 5px;
}
.book_article .category{
    margin-block: 5px 10px;
}
.book_article a:not(.btn){
    color: #ef7c00;
    text-decoration: underline;
}

.book_article_contents{
    letter-spacing: .08em;
    line-height: 1.8;
    margin-top: 40px;
}
.book_article h2,
.book_article h3,
.book_article h4{
    line-height: 1.6;
    margin-top: 2em;
    margin-bottom: .2em;
}
.book_article p{
    margin-top: 1em;
    margin-bottom: 1em;
}
.book_article h2{
    color: #108ba4;
}
.book_article hr{
    border: none;
    border-top: 1px solid #e7e7e7;
}
.book_article .info_box{
    background-color: #f4f7fa;
    border-radius: 10px;
    margin-top: 30px;
    padding: 30px 24px;
}
.book_article .info_box_ttl{
    color: #2c896a;
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 18px;
    position: relative;
}
.book_article .info_box_ttl::before{
    content: '';
    display: block;
    width: 8px;
    height: 100%;
    background-color: #2c896a;
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 0;
}
.book_article .info_box .btn_wrap{
    margin-top: 20px;
}
.book_article img.aligncenter{
    display: block;
    margin-inline: auto;
}


/*hover*/
@media (hover: hover) and (pointer: fine) {
    .book_list_main a:hover,
    .book_list_sub a:hover{
        background-color: #ebf0f5;
    }
    .book_list_main a:hover .book_img figure{
        background-color: #ebf0f5;
    }
}

/*responsive*/
@media screen and (max-width: 767px) {
    .book_list_main{
        grid-template-columns: repeat(2, 1fr);
    }
    .book_list_sub{
        grid-template-columns: repeat(1, 1fr);
    }
    .book_list_main .book_ttl,
    .book_list_sub .book_ttl{
        font-size: 110%;
    }
}
@media screen and (max-width: 499px) {
    .book_list_sub .book_img figure{
        aspect-ratio: 2 / 3;
    }
}


/*---------------------------------
footer
---------------------------------*/
footer{
    background: none;
    color: initial;
    text-align: left;
    min-width: 10px;
}
.footer_btn_wrap{
    border-top: 1px solid #231815;
    border-bottom: 1px solid #231815;
    margin-top: 30px;
    padding: 20px 0;
}

footer .copyright {
    background: none;
    color: initial;
    font-size: 12px;
    letter-spacing: 0;
    padding: 40px 5px 20px;
}

.pagetop {
    background-color: rgba(0, 0, 0, .8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, .1));
    width: 60px;
    height: 60px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: .2s all;
}

.pagetop .txt{
    display: none;
    font-size: 0;
}

.pagetop::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(-45deg);
}

/*hover*/
@media (hover: hover) and (pointer: fine) {
    .pagetop:hover {
        background-color: rgba(0, 0, 0, 1);
    }
}

.pagetop.is_active {
    opacity: 1;
    visibility: visible;
}



/*---------------------------------
print（印刷用）
---------------------------------*/
/*@media print {
}*/