/*
style.css
*/

* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

    /*  フォントのサイズ  */
    font-size: 16px;

    /*  フォントの色  */
    color: #333;

    /* 文字間隔の調整の設定 */
    letter-spacing: 1.5px;

    /* 行間の設定 */
    line-height: 1.75;
}

header {
    background: #181F6F;
    border-bottom: 10px solid #FFF;
}

header .contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header img {
    display: block;
    padding: 5px;
}

header>div>ul {
    margin-left: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

header>div>ul>li {
    list-style-type: none;
    margin: 0.2rem 0;
    padding: 0 1rem;
    border-left: 1px solid #FFF;
    font-size: small;
    line-height: 1.8;
}

header>div>ul>li:first-child {
    border-left: none;
}

header a {
    color: #FFF;
    text-decoration: none;
}

.hero {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 370px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero .contents {
    display: flex;
}

.hero .contents img {
    max-width: 100%;
}

.edu {
    background-image: url(images/hero-01.jpg);
}

.phi {
    background-image: url(images/hero-02.jpg);
}

.ser {
    background-image: url(images/hero-03.jpg);

}

.mizu {
    background-image: url(images/hero-04.jpg);
}

.achi {
    background-image: url(images/hero-05.jpg);
}

.top {
    background-image: url(images/hero-00.jpg);
    background-position:center bottom;
}

.ser .contents,
.mizu .contents,
.achi .contents {
    height: 100%;
    align-items: flex-end;
}



.contents {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

main {
    background: #F3F2E9;
    padding: 3rem 0 5rem 0;
}

main h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
}

main h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

main ul {
    margin-left: 1rem;
}

main hr {
    border-bottom: 1px solid #EEE8E8;
    margin: 3rem 0;
}

footer .contents {
    color: #304897;
    text-align: center;
    margin: 2rem auto;
    font-size: small;
}

.btn {
    display: block;
    border-radius: 10px;
    max-width: 100%;
    padding: 1rem 0.5rem;
    margin: 1rem 0.5rem;
    text-align: center;
    background: #85C140;
    color: #FFF;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1;
}

.btn span {
    font-size: x-small;
}

/*-----------------------------------------*/

.top-page {
    display: flex;
    justify-content: space-between;
}

.menu-area {
    flex-wrap: wrap;
    width: 66%;
    display: flex;
    align-content: flex-start;
    justify-content: space-between;
}

.menu-tab {
    width: 48%;
    margin: 0 0 2rem 0;
}

.tab {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;

}

.tab img {
    width: 100%;
}

.btn-tab {

    border-radius: 20px;
    max-width: 100%;
    padding: 0.5rem 1.5rem;
    margin: 0.5rem 0;
    text-align: center;
    background: #304897;
    color: #FFF;
    font-size: 0.8rem;
    text-decoration: none;
    line-height: 1;
}


.link-area {
    width: 30%;
    text-align: center;
}

.link-area img {
    max-width: 100%;
}

.daihyou-name {
    margin: 1rem 0;
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.1;
}

.daihyou-name span {
    font-size: small;
}

.youtube {
    display: block;
    margin-top: 2rem;
}

.top-book {
    text-align: left;
    margin-top: 2rem;
}

.top-book>a {
    display: flex;
    text-decoration: none;
    align-items: flex-end;
    font-size: small;
}

.top-book>a>p {
    width: 48%;
}

.top-book>a>div {
    padding-bottom: 1rem;
}

.top-book>a>div>p {
    margin-top: 1.5rem;
}

.top-bnr {
    margin-top: 2rem;
}

.top-bnr li {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px dashed #555;
    font-size: small;
    text-align: left;
}

.top-bnr li img {
    margin-right: 1rem;
}

/*-----------------------------------------*/

.class-pattern {
    display: flex;
}

.class-pattern>div {
    border-radius: 20px;
    border: 5px solid #FBBA67;
    background: #F5E3CB;
    width: 50%;
    padding: 2rem;
    margin: 1rem;
    display: flex;
    flex-direction: column;
}

.class-pattern>div>h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #C94128;
}

.class-pattern>div>p {
    margin-top:2rem;
}

/*-----------------------------------------*/

.daihyou {
    display: flex;
    justify-content: space-between;
}

.daihyou-photo {
    width: 30%;
    padding: 1rem 0;
}

.daihyou-photo img {
    width: 100%;
}

.daihyou-text {
    width: 65%;
    padding: 1rem 0;
}

.sign {
    margin-top: 3rem;
    text-align: right;
    font-size: 1.2rem;
}

.sign span {
    font-size: small;
    margin-right: 1rem;
}

.add-box {
    text-align: center;
    margin: 3rem 0;
    padding-top: 2rem;
    border: 1px solid #555;
}

.add-box img {
    max-width: 95%;
}

.detail {
    margin: 3rem;
    text-align: left;
    display: flex;
}

.detail>div {
    padding-left: 2rem;
}

.detail h3 {
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
}

.detail ul {
    column-count: 2;
}

.profile table {
    margin: 2rem 0;
}

.profile table th {
    background: #A5DCFE;
    padding: 1.5rem;
}

.profile table td {
    background: #fff;
    padding: 1.5rem;
    font-size: small;
}

/*-----------------------------------------*/

.se-box {
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 10px;
}

.se-00 {
    background: #B8D5FF ;
}

.se-01 {
    background: #B8D5FF url(images/se-soudan.png) no-repeat;
    background-position: right 2rem top 2rem;
    background-size: 15%;
}

.se-02 {
    background: #B8D5FF url(images/se-kantei.png) no-repeat;
    background-position: right 2rem top 2rem;
    background-size: 15%;
}

.se-03 {
    background: #B8D5FF url(images/se-okane.png) no-repeat;
    background-position: right 2rem top 2rem;
    background-size: 15%;
}

.se-04 {
    background: #B8D5FF url(images/se-rei.png) no-repeat;
    background-position: right 2rem top 2rem;
    background-size: 15%;
}

.se-box ul {
    width: 80%;
}


/*-----------------------------------------*/

.mizu-img img {
    width: 100%;
}

.mizu-text {
    margin-top: 2rem;
}

.mizu-text2 {
    margin-top: 2rem;
    font-size: small;
}

.mizu-order {
    margin-top: 1rem;
    font-size: small;
}

.mizu-order-no {
    font-size: 1.4rem;
}

.mizu-order-no span {
    font-size: 2rem;
}

.pdf {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.pdf a {
    display: block;

}

.pdf img {
    max-width: 100%;
    height: auto;
}


/*-----------------------------------------*/

.achive {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
}

.achive>div {
    padding: 1rem 0;
}

.achive img {
    max-width: 100%;
    max-height: 400px;
}

.achive p,
.achive span,
.joe-img span,
.joe-img p {
    font-size: small;
}

.joe-img {
    width: 35%;
    margin: 1rem;
}

.joe {
    display: flex;
    margin-top: 2rem;
    padding: 2rem;
    border: 1px solid #555;
}

.joe img {
    max-width: 100%;
}

.joe-text {
    margin: 1rem;
}

.joe-text h4 {
    font-size: 1.4rem;
}

.joe-text h5 {
    font-size: 1rem;
    margin-top: 1rem;
}

.joe-text p {
    font-size: small;
}


/*-----------------------------------------*/

.shop-box {
    display: flex;
}

.shop-img {
    width: 40%;

}

.shop-img img {
    max-width: 80%;
}

.shop-text {
    padding-left: 2rem;
    width: 60%;
}

.shop-text span,
.price,
.caption {
    font-size: small;
}

.shop-text h3 {
    margin-bottom: 0;
}

.red {
    color: red;
    font-weight: bold;
}

.price,
.caption {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 5rem;
}

/* popup */

.open {
	cursor:pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}
#pop-up, #pop-up2, #pop-up3{
	display: none; /* label でコントロールするので input は非表示に */
}
.overlay {
	display: none; /* input にチェックが入るまでは非表示に */
}
#pop-up:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
#pop-up2:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
#pop-up3:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
.window {
	width: 90vw;
	max-width: 700px;
	height: auto;
	background-color: #ffffff;
    padding:2rem;
	border-radius: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.text {

	margin: 0;
}
.close {
	cursor:pointer;
	position: absolute;
	top: 4px;
	right: 4px;
	font-size: 20px;
}

.event {
    margin: 1rem auto;
}
.event li {
    padding:1rem 0 1rem 0;
    border-bottom:1px solid skyblue;
}

/*-----------------------------------------*/

@media screen and (max-width:767px) {

    header .contents {
        display: block;
        padding-top: 0.2rem;
        padding-bottom: 0.5rem;
    }

    header h1 {
        display: flex;
        justify-content: center;
        line-height: 0;
        margin: 0;
    }

    header>div>ul {
        
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        margin-left: 0;
    }

    header .contents {
        margin:0;
        padding:1rem 0;  
    }

    .contents {
        padding: 0 1rem;
    }


    .top-page {
        display: block;
    }

    .menu-area {
        width: 100%;
    }

    .link-area {
        width: 100%;
    }

    .daihyou-link {
        margin: 3rem 0;
    }

    .top-book img {
        width: 90%;
    }

    .top-book div {
        width: 70%;
    }

    .class-pattern {
        display: block;
    }

    .class-pattern>div {
        width: 80%;
        margin: 1rem auto;
    }

    .joe {
        display: block;
    }

    .joe-img {
        width: 100%;
        text-align: center;
        margin: 0 0 2rem 0;
    }

    .daihyou {
        display: block;
    }

    .daihyou-photo {
        width: 60%;
        margin: 2rem auto;
    }

    .daihyou-text {
        width: 100%;
    }

    .detail {
        display: block;
    }

    .detail p {
        text-align: center;
    }

    .detail>div {
        padding-left: 0;
    }

    .detail ul {
        column-count: 1;
    }

    .shop-box {
        display: block;
    }

    .shop-img {
        width: 100%;
        text-align: center;
    }

    .shop-text {
        width: 100%;
        padding: 0em;
    }

    .achive>div {
        text-align: center;
    }

    .window {
        width: 90%;
        margin:0 auto;
        padding:1rem;

        font-size:small;


}