@charset "UTF-8";
/* =========================   Base========================= */
html {
    font-size: 100%;
}
body {
    font-size: 0.8rem;
    color: #514F4F;
    background-color: rgba(215, 222, 231, 0.8);
    background-image: url("../img/title.png"), url("../img/bgi.png");
    background-position: top left;
    background-repeat: no-repeat, repeat;
    background-size: 70%, 10%;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.font {
    font-family: "Kaisei HarunoUmi", serif;
}
/*--------------header-------------------*/
h1 {
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        -7px -7px 10px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 10px 0px #0002, 4px 4px 5px 0px #0001;
    border-radius: 10px;
}
.hero {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 4rem auto;
}
.hero_contents {
    width: 50%;
    padding: 1rem
}
.hero img {
    width: 100%;
    height: auto;
    box-shadow: 3px 3px 3px #ccc
}
/*--------------main--------------------*/
.wrapper {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto 10rem;
}
.message {
    white-space: nowrap;
    text-align: center;
    background-color: rgba(215, 222, 231, 0.5);
    padding: 0.5rem;
}
.contens_wrapper {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    justify-content: space-around;
    margin-bottom: 2rem;
    background-image: url("../img/light.png");
    background-size: 100%
}
.contents {
    width: 30%;
}
.glass {
    background-color: rgba(215, 222, 231, 0.5);
    box-shadow:
        -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
    border-radius: 10px;
    padding: 0.5rem;
}
.glass:hover {
    background-color: rgba(255, 255, 255, 0.7);
}
.glass img {
    width: 80%;
    height: auto;
    margin: auto;
    box-shadow: 3px 3px 3px #ccc
}
.glass img:hover {
    transition: 1.1
}
.little {
    font-size: 0.7rem;
    text-decoration: none;
}
img.icon {
    width: 3rem;
    margin: 5rem auto 1rem;
}
/*--------------section--------------------*/
h3 {
    border-bottom: 2px dotted #aaa;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: #1e9a91;
    font-size: 1.1rem
}
.book {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
    background-image: url("../img/light.png");
    background-size: 100%;
    background-position: top left;
   max-height: 20rem;
}
.book_img {
    width: 40%;
    height: auto;
    max-height: 100%;
}
.book_text {
    width: 60%;
    font-size: 0.8rem;
    max-height: 20rem;
}
.btn {
    display: flex;
    gap: 0.3rem
}
section {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    background-image: url("../img/light.png");
    background-size: 100%;
    background-position: bottom;
}
.blue {
    font-size: 1.3rem;
    color: #1e9a91;
}
/*--------------button--------------------*/
.custom-btn {
    margin: 0.5rem auto;
    max-width: 200px;
    height: 20px;
    color: #fff;
    border-radius: 5px;
    padding: 5px 100px;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}
.custom-btn a {
    text-decoration: none;
    color: #fff;
}
.btn-3 {
    background: rgb(37, 146, 167, 1);
    background: linear-gradient(0deg, #8fcdd4 0%, rgba(37, 146, 167, 1) 100%);
    width: 130px;
    height: 30px;
    line-height: 32px;
    padding: 0;
    border: none;
}
.btn-3 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.btn-3:before, .btn-3:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    background: #1e9a91;
    transition: all 0.3s ease;
}
.custom-btn a:hover {
    text-decoration: none;
    color: #1e9a91;
}
.btn-3:before {
    height: 0%;
    width: 2px;
}
.btn-3:after {
    width: 0%;
    height: 2px;
}
.btn-3:hover {
    background: transparent;
    box-shadow: none;
}
.btn-3:hover:before {
    height: 100%;
}
.btn-3:hover:after {
    width: 100%;
}
.btn-3 span:before, .btn-3 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    background: #1e9a91;
    transition: all 0.3s ease;
}
.btn-3 span:before {
    width: 2px;
    height: 0%;
}
.btn-3 span:after {
    width: 0%;
    height: 2px;
}
.btn-3 span:hover:before {
    height: 100%;
}
.btn-3 span:hover:after {
    width: 100%;
}
/*--------------footer--------------------*/
footer {
    width: 100%;
    height: 4rem;
    background: linear-gradient(0deg, #8fcdd4 0%, rgba(37, 146, 167, 1) 100%);
	position: fixed;
	bottom:0;	
		text-align: center;
	margin-top: 5rem;
}
footer a{
	display: inline-block;
		color: #1e9a91;
	background-color: #fff;
	border-radius: 10px;
	text-decoration: none;
	margin-top: 0.5rem;
	line-height: 1.5rem;
	width: 20rem
}
/*--------------デスクトップ用--------------------*/
@media (min-width: 750px) {
    body {
        font-size: 1rem;
        background-image: url("../img/bgi.png");
        background-position: top center;
        background-repeat: repeat;
        background-size: 10%;
    }
    .wrapper {
        background-image: url("../img/title.png");
        background-position: top left;
        background-repeat: no-repeat;
        background-size: 80%;
    }
    .message {
        font-size: 1.3rem;
        margin-top: 5rem;
    }
    .glass {
        background-color: rgba(215, 222, 231, 0.8);
        padding: 1.5rem;
    }
    .hero_contents {
        min-height: 15rem
    }
    .contens_wrapper {
        display: flex;
        gap: 2rem;
        padding: 1rem;
        justify-content: center
    }
    .contens_wrapper {
        margin-bottom: 5rem;
    }
    .little {
        font-size: 1.3rem;
    }
    section {
        padding-bottom: 4rem;
        margin-bottom: 4rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 2.5rem;
    }
    .btn {
        display: block;
        gap: 1rem;
        margin: 2rem auto 0;
    }
    .custom-btn {
        padding: 5px 30px;
        outline: none;
    }
    .btn-3 {
        height: 40px;
        width: 300px;
        line-height: 42px;
        padding: 0;
        border: none;
    }
    .book {
        gap: 2rem;
        margin: 2rem auto;
    }
    .blue {
        font-size: 1.3rem;
    }
    .book {
       max-height: 30rem;
    }
    .book_img {
        max-height: 30rem;
    }
    .book_text {
        max-height: 30rem;
        font-size: 1.2rem;
    }
    .btn {
        display: flex;
        gap: 0.3rem
    }
    .text {
        font-size: 1.2rem;
    }
    footer {
		font-size: 1.2rem;
    height: 5rem;
	display: flex;
	gap:1rem;
	justify-content: center;
	align-items: center;
}
	footer a{
				width: 21rem;
padding: 0.5rem;
	}    
}