@charset "UTF-8";
/* =========================   Base========================= */
html {
    font-size: 100%;
}
body {
    margin: 0;
    font-size: 0.8rem;
    color: #323232;
    background-color: #c6e2e5;
    font-family: "MS Pゴシック";
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
main {
    width: 95%;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1rem;
}
/*--------------header-------------------*/
header img {
    width: 30%;
    margin: auto
}
/* ヘッダー */
.header {
    position: relative;
    background-color: #56c1ca;
    padding: 1rem;
}
/* ハンバーガーボタン */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
/* 三本線 */
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* ナビゲーションメニュー */
.menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #56c1ca;
    text-align: left;
}
.menu.is-active {
    display: block;
    z-index: 500;
}
.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu li {
    margin: 0;
    padding: 0;
}
.menu a {
    display: block;
    width: 100%;
    padding: 0;
    color: #fff;
    text-decoration: none;
	        font-size: 1.1rem;
}
.menu a:hover{
color: #56c1ca;
}
.menu_contents {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border-bottom: 3px solid #fff;
}
.menu_contents:hover{
	background-color: #fff;
}
.menu_contents img {
    width: 3rem;
    height: auto;
    margin: 0;
    flex-shrink: 0;
}
.menu_contents span {
    display: block;
    text-align: left;
}
/*--------------hero--------------------*/
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 3rem;
    background-image: url("../img/title.png");
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: 100%;
    margin-bottom: 1rem;
}
.hero_img {
    width: 40%;
    border: #fff 3px solid;
}
.hero_img img {
    display: block;
    width: 100%;
    height: auto;
}
.hero_title {
    width: 60%;
    align-items: center;
}
.hero_contents img {
    height: 3rem;
    width: auto;
    margin-top: 1rem
}
/*--------------main--------------------*/
h3 {
    background-color: #d24e8a;
    border-radius: 25px;
    margin: 3rem 0 1rem;
    color: #fff;
    padding: 0.5rem 3rem;
    text-align: center
}
h4 {
    border-bottom: 2px solid #f05586;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.bold {
    font-weight: bold;
    font-size: 1rem;
}
/*--------------section--------------------*/
section {
    margin-bottom: 5rem;
}
.book {
    display: flex;
    gap: 1rem;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 3px 3px 3px #ccc;
    padding: 0.5rem;
    border-radius: 20px;
}
.book_image {
    width: 40%;
}
.book_text {
    width: 60%;
}
.text {
    background-color: #feecf2;
    margin: 0.5rem 0;
    border-radius: 15px;
    padding: 0.5rem;
}
/*--------------アコーディオン------------------*/
.menu2, .menu3 {
    text-align: center;
}
.menu2 li, .menu3 li {
    display: block;
    text-decoration: none;
    width: 100%;
    background-color: #d24e8a;
    border-radius: 25px;
    margin-top: 0.5rem;
    color: #fff;
    padding: 0.5rem 1rem;
}
.child {
    display: none;
    list-style: none;
    color: #4D4539;
    text-align: left
}
.child li {
    margin: -0.5rem;
}
.menu2 {
    list-style: none;
    white-space: nowrap
}
.menu2 a, .menu3 a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    display: block;
}
.menu3 li:last-child {
    background-color: #fff;
}
.menu3 img {
    width: 50%;
    height: auto;
    margin: auto;
}
/*--------------footer--------------------*/
/*--------------デスクトップ用--------------------*/
@media (min-width: 750px) {
    body {
        font-size: 1.1rem;
    }
    header img {
        width: 70%;
    }
    .wrapper {
        display: flex;
        gap: 1rem
    }
    section {
        width: 50%;
    }
    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
        white-space: nowrap
    }
    h2 {
        font-size: 3rem;
        line-height: 3rem;
    }
    main {
        max-width: 1300px;
        margin: 0 auto 5rem;
        padding-left: 15rem;
    }
    .hero {
        padding: 3rem 0 6rem
    }
    .hero_contents {
        display: flex;
        align-items: center;
        white-space: nowrap;
        font-size: 1.3rem
    }
    .hero_contents img {
        height: 8rem;
        width: auto;
    }
    /* ハンバーガーボタンメニュー*/
    .hamburger-menu {
        display: none;
    }
    .menu, .menu.is-active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 20rem;
        height: 100vh;
        background: transparent;
        border: none;
        box-shadow: none;
        text-align: center;
        white-space: nowrap;
        background-color: #56c1ca;
    }
    .menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .menu a {
        display: block;
        padding: 0.5rem;
        color: #fff;
        margin-top: 0.5rem;
        text-decoration: none;
    }
	.menu_contents img {
    width: 4rem;
}

}