@charset "UTF-8";

/* 共通部分 ***************************************************************************************************/
html {
    font-size: 100%;
}

body {
    line-height: 1.7;
    color: #432;
}

a {
    text-decoration: none;
    color: rgb(3, 135, 16);
}

a:hover {
    color: rgba(147, 105, 26, 0.886);
}

img {
    max-width: 100%;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

h1 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

h2 {
    padding: 3rem 0 3rem 0;
    text-align: center;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

h3 {
    margin-bottom: 1rem;
}

.pc_hidden {
    display: none;
}

p {
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* 共通部分ここまで ***************************************************************************************************/

/* ヘッダー部分 */
#home {
    background-image: url(images/mainvisual_bold_slim2.png);
    /* background-image: url(images/bookshelf.JPG); */
    /* background-image: url(images/bookshelf20241223.jpg); */
    min-height: 90vh;
    /* max-width: 100%; */
}

.big-bg {
    background-size: cover;
    background-position: center top;
}

.logo {
    width: 70px;
    margin-top: 14px;
    font-size: 24px;
}

.main-nav {
    /* margin-top: 34px; */
    margin-top: 60px;
    list-style-type: none;
}

/*ハンバーガーメニュー*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #fff;
    /* background: #transparent; */
}

/* ここから下がハンバーガーメニューに関するCSS */

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
    list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
    left: 0;
    /* メニューを画面に入れる */
}

/*ハンバーガーメニューここまで*/

/* ヘッダー部分ここまで ***************************************************************************************************/

/* メイン */
/* アバウト */
.about {
    background-color: #faf8f8;
    padding-bottom: 4rem;
}

#contents .about article {
    display: flex;
    justify-content: space-between;
}

.motto {
    text-align: right;
}

.mission p {
    margin-bottom: 1rem;
}

/* アバウトここまで ***************************************************************************************************/

/* ニュース */
.news {
    padding-bottom: 4rem;
}

.news_for_center {
    display: flex;
    justify-content: space-between;
}

.news ul {
    list-style-type: none;
    margin: 0 auto;
}

.news ul li {
    padding-bottom: 1rem;
}

/* .news ul li a p {
    border-bottom: 1px dotted #de4d4d;
} */

/* ニュースここまで ***************************************************************************************************/

/* カレンダー*/
.calendar {
    margin: 0 auto 0 auto;
    padding-bottom: 4rem;
    text-align: center;
    background-color: #faf8f8;
}
.calendartext {
    padding: 0 10%;
}

.google-cal iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
}

/* .calendar1 {
    margin-top: 5rem;
} */

/* .calendar2 {
    margin-top: 5rem;
} */

/* カレンダーここまで ***************************************************************************************************/

/* ユニバーサルデザイン */
.accessibility {
    padding-bottom: 4rem;
}

.accessibility ul {
    padding: 2rem 0 2rem 1rem;
}

/* ユニバーサルデザインここまで ***************************************************************************************************/


/* フッター */
footer {
    background-color: #faf8f8;
    padding-top: 2rem;
}

footer p {
    color: #232121;
}

footer a {
    color: #232121;
}

.footer-navi {
    display: flex;
    justify-content: space-between;
}

footer h3 {
    color: #232121;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.copyright {
    margin-top: 7rem;
    padding-bottom: 3rem;
    text-align: center;
}

.footer2 {
    margin-top: 3rem;
}

.map {
    margin-top: 2rem;
}

/* footer iframe {
    margin-top: 10px;
} */

/* Google Mapを囲う要素 */
/* .map {
    position: relative;
    width: 80%;
    height: 0;
    padding-top: 60%;
    比率を4: 3に固定
}

/* Google Mapのiframe */
/* .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */ */

.mail {
    margin-top: 2rem;
}
/* この部分のmarginきいてない原因調べる */

/* フッターここまで ***************************************************************************************************/


/* 各ページ  ***************************************************************************************************/
/* パンくず */
.breadcrumb {
    background-color: #8c7e7e;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.breadcrumb ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb li:not(:last-of-type)::after {
    content: ">";
    margin: 0 .6em;
}

.breadcrumb ul li {
    color: #ffffff;
}

.breadcrumb ul a {
    color: #ffffff;
}

.breadcrumb ul a:hover {
    color: #e6beaa;
}

.breadcrumb .span {
    padding: 0 1rem;
}

/* パンくずここまで *************************************************************/

/* アバウトページヘッダー */
.aboutpage_title,
.newspage_title {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

/* アバウトページヘッダーここまで *****************************************/
.aboutpage_about {
    padding-bottom: 2rem;
}

.aboutpage_about p {
    margin: 0 auto;
    padding: 0 10%;
}

.aboutpage_about h2 {
    margin-top: 3rem;
}

.aboutpage_about h3 {
    margin-top: 1rem;
}

.aboutpage_about .mokuji {
    margin-top: 1rem;
}

.aboutpage_about .mokuji ul li{
    list-style: none;
}

.aboutpage_about .oriki_system {
    padding: 2rem 10% 0
}

.aboutpage_about h4 {
    padding: 0 10% 1rem
}

.aboutpage_about .menu h4 {
    padding: 1rem 10% 0;
}

.aboutpage_about .menu h3 {
    margin: 1rem 10% 0;
}

.aboutpage_about .oriki_system {
    margin-bottom: 1rem;
}

.aboutpage_about .oriki_systemb {
    margin-top: 1rem;
}

.bookshelf {
    margin: 2rem auto 1rem;
}

.bookshelf_text {
    padding: 1rem 10% 2rem;
}

/* アイテム */
.item-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item-photo p:nth-child(4) {
    margin-bottom: 1.5rem;
}

/* .item-photo p:nth-child(2) {
    font-size: 0.8rem;
} */

/* ↓アイテムにカーソルあてたときの拡大*/
.item-photo img:hover {
    transform: scale(1.2, 1.2);
    transition: 1s all;
}

.item-image {
    width: 100%;
    overflow: hidden;
}

/* アイテムここまで ***************************************************************************************************/

.aboutpage_about .niwatea {
    padding-left: 1rem;
}

.aboutpage_about .niwatea1 {
    margin-top: 1rem;
}

/* アバウトページ ここまで ***************************************************************************************************/

/* お知らせページ　ここから ****************************************/
#contents-news {
    padding-bottom: 5rem;
}

.newspage_news p,
.newspage_news h3 {
    margin: 1rem auto;
    padding: 0 10%;
}

.newspage_news div {
    margin-bottom: 10%;
}

.newspage_news .yokoniniko {
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    margin-bottom: 0;
}

.newspage_news .yokonarabi1,
yokonarabi2 {
    margin-bottom: 0;
}

/* お知らせページ　ここまで ****************************************/

/* メディアクエリー */
@media (max-width: 600px) {
    /* ヘッダー_メディア */

    #home {
        background-image: url(images/mainvisual_logo_media.png);
        min-height: 90vh;
    }

    /* ヘッダー_メディアここまで ********************************************************/

    /* アバウト_メディアここから */
    .mission {
        margin: 5% 0 auto 5%;
    }

    /* ↓見出しをレスポンシブのときだけ改行させる */
    .about .pc_hidden {
        display: block;
    }

    .aboutpage_about p {
        padding: 0 5%;
    }

    /* アバウト_メディアここまで ****************************************************/

    /* ニュース_メディア */
    .newspage_news .yokoniniko {
        flex-direction: column;
        align-items: center;
    }

    /* ニュース_メディアここまで *****************************************************/

    /* カレンダー_メディアここから */
    .calendartext {
        padding: 0 8%;
    }

    /* カレンダー幅 */
    .google-cal iframe {
        height: 600px;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    /* カレンダー_メディアここまで *************************************************/

    /* ユニバーサルデザイン_メディアここから */

    /* ユニバーサルデザイン_メディアここまで************************************************/

    /* フッター_メディアここから */
    .footer-navi {
        flex-direction: column;
        margin-left: 5%;
        margin-right: 5%;
    }

    /* フッター_メディアここまで *******************************************************/


    /* メディアクエリーここまで */
}