@charset "utf-8";
/* CSS Document */

header{
	background-color: #040856;
	padding:15px 10px 10px 5px;	
}
.main{
	width: 100%;
	max-width: 590px;
}
.logo{
	max-width: 200px;
	background-color: white;
	padding:5px 2px 0px 2px;;
}
.logo img{
	width: 100%;
}
.cont_title{
	width: 100%;
	margin-bottom: 20px;
}
.cont_title img{
	width: 100%;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}
#hamburger-nav {
		width: 100%;
		display: flex;
		justify-content: space-between;
	}
.hamburger-menu{
	background-color: #ffffff;
	padding: 15px 10px 5px 10px;
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: #000000;
}
.menu-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 1000;
}

.menu-links ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  list-style: none;
}

.menu-links a {
  font-size: 2rem;
  color: black;
  text-decoration: none;
}

.menu-links li {
  list-style: none;
  margin: 20px 0;
}
.menu-links.open {
  max-height: 100vh;
  right: 0;
}
	.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}
	.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}
	body.no-scroll {
  overflow: hidden;
}

.book_title{
	width: 100%;
}
.book_title img{
	width: 100%;
	max-width: 550px;
}
.book_title2{
	margin-top: 20px;
	margin-bottom: 5px;
	font-size: 18px;
	font-weight: bold;
	color: #036A55;
	text-shadow: 2px 1px 0px #cccccc;
}
.book_img{
	width: 100%;
	text-align: center;
}
.book_img img{
	width: 100%;
	max-width: 266px;
}
.book_img2{
	width: 95%;
	margin: auto;
	margin-top: 15px;
}
.book_img2 img{
	width: 100%;
	max-width: 267px;
}
.book_text{
	width: 100%;
	margin-top: 10px;
	line-height: 1.5em;
	font-size: 15px;
}
.book_text2{
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
	padding-left: 10px;
	box-shadow: -6px 1px 0px 1px #64030C;
	font-weight: bold;
	font-size: 15px;
	color: #64030C;
}
hr{
	border: solid 1px #036A55;
	margin-bottom: 20px;
}
.naiyou{
	width: 85%;
	margin: auto;
	margin-top: 15px;
	margin-bottom: 15px;
	line-height: 1.5em;
	font-size: 15px;
}
.btn_book{
	width: 80%;
	max-width: 250px;
	margin: auto;
	margin-top: 20px;
	padding:15px 0px 20px 0px;
	text-align: center;
	font-size: 25px;
	font-weight: bold;
	color: aliceblue;
	background-color: #036A55;
	border-radius: 25px;
	
}
footer{
	margin-top: 15px;
	background-color: #040856;
	text-align: center;
	color: #FFFFFF;
	padding-top: 3px;
	padding-bottom: 5px;
	
}

/*フォント指定*/
.f15{
	font-size: 15px;
}

/*アニメーション*/
.fade-in {
    animation-name: fadeIn;
	animation-duration: 1.5s;
	animation-fill-mode: forwards;
	transform: translateY(20px);
	opacity: 0;
	animation-timing-function: ease-in;
    }
.fade-in2{
	animation-name: fadeIn2;
	animation-delay:  1.5s;
	animation-duration:  1.5s;
	animation-fill-mode: forwards;
	transform: translateY(20px);
	opacity: 0;
	animation-timing-function: ease-in;
}

    @keyframes fadeIn {
      0% {
       }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
@keyframes fadeIn2{
	0%{		
	}
	100%{
		transform: translateY(0);
		opacity: 1;
	}	
}

.poyopoyo{
	animation-name: poyopoyo;
	animation-duration: 2s;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
}
@keyframes poyopoyo{
	0%,40%,60%,80%{
		transform: scale(1.0);
	}
	50%,70%{
		transform: scale(0.95);
	}
}

	




@media (max-width: 600px){
	#conts{
		width: 95%;
		margin: auto;
	}
	
	.header_tp,#leftmenu{
		display: none;
	}
	


}

@media (min-width: 600px) and (max-width: 1024px){
	.header_tp,#leftmenu{
		display: none;
	}
	#conts{
		width: 95%;
		margin: auto;
	}
	.main{
		margin: auto;
	}
	
	
	
}

@media (min-width: 1025px){
	header{
		display: none;
	}
	.yoko{
		display: flex;
		justify-content: space-between;
	}
	.contents_l{
		width: 100%;
		margin-right: 2px
	}
	.contents_r{
		width: 100%;
		margin-left: 2px;
	}
	
	
	
}
