@charset "utf-8";

/* リスト
---------------------------------------------- */

ul.indent li,
ol.indent li {
    padding-left: 1em;
    text-indent: -1em;
}
ul.list_disc {
    padding-left: 2em;
}
ul.list_disc li {
    list-style-type: disc;
}
ol.list_decimal {
    padding-left: 2em;
}
ol.list_decimal li {
    list-style-type: decimal;
}

/* リンク
---------------------------------------------- */
a.underline {
    text-decoration: underline;
}
a.underline:hover {
    text-decoration: none;
}

.pdf_dl a {
    color: var(--primary-color);
    text-decoration: underline;
    position: relative;
    padding-right: 1.5em;
}
.pdf_dl a::after {
    font-family: "Material Icons";
    content: '\e415';
    position: absolute;
    right: 0;
}

/* タブレット・スマホ無効 */
@media screen and (min-width: 960px) {
    .opacity a:hover,
    .opacity span:hover{
        opacity: 0.7;
        transition: 0.3s;
    }
}

/* インライン要素
---------------------------------------------- */

span.block {
    display: block;
}

/* マップ
---------------------------------------------- */

.map_area {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    margin-bottom: 1rem;
}
.map_area iframe {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
@media screen and (max-width: 767px) {
    .map_area {
        aspect-ratio: 1.4 / 1;
    }
}


/* ボタン
---------------------------------------------- */
.btn,
.btn_tag {
    display: block;
    width: 256px;
    font-size: 2rem;
    padding: 12px 25px;
    text-align: center;
    border-radius: 100px;
    position: relative;
}
.btn_tag::before,
.btn_tag::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    background-color: #fff;
    border-radius: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.btn_tag::before {
    left: 10px;
}
.btn_tag::after {
    right: 10px;
}

.btn.bg_white {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

@media screen and (max-width: 1199px) {
    .btn,
    .btn_tag {
        width: unset;
        max-width: 256px;
        min-width: 12em;
    }
}
@media screen and (max-width: 1024px) {
    .btn,
    .btn_tag {
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 767px) {
    .btn,
    .btn_tag {
        font-size: 1.4rem;
        padding: 8px 16px;
    }
}

/*  tab
---------------------------------------------- */
.tab {
    margin: 0 auto;
    width: 100%;
}
div[role="tablist"] {
    gap: 17px;
}
button[role="tab"],
a[role="tab"] {
    border: solid 1px var(--primary-color);
    color: var(--primary-color);
    background-color: #fff;
    transition: all .3s ease-in-out;
}
button[role="tab"][aria-selected="true"],
a[role="tab"][aria-selected="true"] {
    background-color: var(--primary-color);
    color: #fff;
}

button[role="tab"][aria-selected="false"]:hover,
a[role="tab"][aria-selected="false"]:hover {
    cursor: pointer;
    background-color: var(--primary-color);
    color: #fff;
}
@media screen and (max-width: 767px) {
    div[role="tablist"] {
        gap: 5px;
    }
    button.btn[role="tab"],
    a.btn[role="tab"] {
        min-width: unset;
        padding: 8px 10px;
    }
}

/*  ページネーション
---------------------------------------------- */
/* ページ番号 */
.pagination {
    width:100%;
    margin-top: 45px;
}
.pagination .wp-pagenavi {
    display: flex;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 400;
    flex-wrap: wrap;
    row-gap: 15px;
}
.pagination .wp-pagenavi a,
.pagination .wp-pagenavi span {
    color: var(--primary-color);
}
.pagination .wp-pagenavi a,
.pagination .wp-pagenavi span.current {
    display: flex;
    width: 56px;
    height: 56px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid var(--primary-color);
}
.pagination .wp-pagenavi a:not(:last-child),
.pagination .wp-pagenavi span:not(:last-child) {
    margin-right: 5px;
}
.pagination .wp-pagenavi span.extend {
    margin-right: 10px;
    margin-left: -5px;
}

/* ホバー時 & 現在のページ */
.pagination .wp-pagenavi a:hover,
.pagination .wp-pagenavi span.current  {
    color: #fff;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    opacity: unset;
}

.pagination .wp-pagenavi a:hover {
    transition: 0.3s;
}

/* Page x / y */
.pagination span.pages {
    display: none;
}


@media screen and (max-width: 767px) {
    .pagination {
        margin-top: 25px;
    }
    .pagination .wp-pagenavi {
        font-size: 2rem;
    }
    .pagination .wp-pagenavi a,
    .pagination .wp-pagenavi span.current {
        width: 48px;
        height: 48px;

    }
}


/*  パンくず
---------------------------------------------- */
.bread {
    font-size: 1.4rem;
}

.bread a {
    color: var(--primary-color);
}

@media screen and (max-width: 767px) {
    .bread {
        font-size: 1.2rem;
    }
}

/* 五十音検索ボタン
---------------------------------------------- */
.index_search {
    width: 100%;
    max-width: 700px;
    margin: 50px auto 40px;
    display: flex;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 400;
    flex-wrap: wrap;
    gap: 8px;
}
.index_search a {
    color: var(--deco-green);
    display: flex;
    width: 56px;
    height: 56px;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid var(--deco-green);
}

/* ホバー時 & 現在のページ */
.index_search a:hover,
.index_search a.is-active {
    color: #fff;
    background-color: var(--deco-green);
    opacity: unset;
    transition: 0.3s;
}
@media screen and (max-width: 767px) {
    .index_search {
        margin: 20px auto;
        font-size: 2rem;
    }
    .index_search a {
        width: 48px;
        height: 48px;
    }
}

/* 検索フォーム
---------------------------------------------- */
.book_seachform_wrap {
    width: 100%;
    max-width: 585px;
    margin: 0 auto;
  position: relative;
}
#searchform .screen-reader-text {
    display: none;
}
#searchform input[type="text"] {
  border: 2px solid var(--deco-blue);
  padding: 5px 125px 5px 20px;
  width: 100%;
  height: 62px;
  border-radius: 100px;
  font-size: 1.8rem;
}

#searchsubmit {
    width: 125px;
    height: 62px;
    background: url('../img/ico_search.png') no-repeat 60px center;
    background-size: 36px;
    border: none;
    text-align: left;
    color: var(--deco-blue);
    font-size: 2rem;
    position: absolute;
    right: 0;
    cursor: pointer;
}
@media screen and (max-width: 767px) {
    #searchform input[type="text"] {
        padding: 5px 90px 5px 20px;
        height: 50px;
    }
    #searchsubmit {
        width: 90px;
        height: 50px;
        background: url('../img/ico_search.png') no-repeat 50px center;
        background-size: 24px;
    }
}

/* 本のアイコン
---------------------------------------------- */
.book_icon,
.content_wrap h4.book_icon {
    padding-left: 36px;
    position: relative;
}
.book_icon::before,
.content_wrap h4.book_icon::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 29px;
    position: absolute;
    top: .3em;
    left: 0;
    background-image: url(../img/ico_book.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}
@media screen and (max-width: 767px) {
    .book_icon,
    .content_wrap h4.book_icon {
        padding-left: 30px;
    }
    .book_icon::before,
    .content_wrap h4.book_icon::before {
        width: 20px;
    }
}