
/*--------------------------
      Global Styles
---------------------------*/
html,
body {
  overflow-x: hidden;
}

body {
  background-color: #ffffff;
  font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4C4C4C;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	font-style: normal;
}

::selection {
  background-color: #e60012;
  color: #ffffff;
}

a {
  color: #e60012;
  transition: all 0.3s ease;
}

a:hover {
  color: #a04800;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.3s ease;
}

section {
  position: relative;
}

img {
  max-width: 100%;
	vertical-align: bottom;
}

/*-------------------------
     RESET Default Styles
 --------------------------*/
*,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

*,
:active,
:focus {
  outline: none;
}

ul,
ol {
  list-style: none;
}
dt { font-weight:700; }
dd {
	margin-bottom: .5rem;
	margin-left:0;
}



.page-header {
width: 100%;
text-align: center;
padding: 40px 0;
margin-bottom: 40px;
/*background: #333;*/
box-shadow: 0px 2px 8px rgb(0 0 0 / 10%);
}

.page-header h2 {
width: 70%;
margin: 0 auto;
}


.wifi {
background: #FF000A;
color: #fff;
font-size: 130%;
font-weight: bold;
text-align: center;
padding: 1em;
}

.cont-wrapper {
display: flex;
flex-wrap: wrap;
text-align: center;
}

.cont-header h1 {
height: 70px;
padding: 20px 0;
margin: 0 auto;
}

.cont-header h1 img {
max-height: 100%;
}


.onsuku .main {
background: #ddf2ef url("images/bg_onsuku.png") center;
background-size: contain;
}



@media screen and (max-width: 769px) {
	.page-header {
	display: none;
	}
	
	.page-header {
	padding: 20px 0;
	margin-bottom: 20px;
	}
	
	.cont-header h1 {
	width: 60%;
	height: auto;
	padding: 0;
	}
	
	.cont-wrapper {
	flex-direction:column;
	}
	
	.contents {
	padding-top: 30px;	
	}
	
	.main {
	padding-bottom: 30px;
	}
	
	.lec {
	box-shadow: 0px 2px 8px rgb(0 0 0 / 10%);
	}
	
}


@media screen and (min-width: 768px ) {
	.wifi {
	display: none;
	}
	
	.contents {
	width: 50%;
	display: flex;
	flex-direction: column
	}
	
	.main {
	flex: 1;
	padding-bottom: 160px;
	}
}



.image {
  height: 18vw;
	min-height: 140px;
  max-height: 450px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.lec .image {
  background: url("images/bg_lec.jpg") no-repeat top right;
  background-size: contain;
}

.image h2 {
  margin: 0 auto;
}

.lec .image h2 {
  width: 90%;
}

.onsuku .image h2 {
  width: 100%;
}


.image p {
  max-width: 1000px;
  position: absolute;
  bottom: -20%;
  left: 10px;
  right: 0;
  margin: auto;
  text-align: left;
}

.image p img {
  width: 25%;
  max-width: 180px;
}



.btn {
width: 65%;
min-width: 280px;
margin: 50px auto 0;
text-align: center;
border-radius: 1.5em;
overflow: hidden;
}

@media screen and (max-width: 769px) {
	.btn {
	margin-top: 20px;
	}
}

.btn a {
display: block;
padding: 0.5em 0;
color: #fff;
box-shadow: 0 -5px 1px 0 rgba(0, 0, 0, 0.2) inset;
border-radius: 1.5em;
font-weight: bold;
font-size: 140%;
text-decoration: none;
overflow: hidden;
position: relative;

}

.btn a:before {
position: absolute;
content: '';
display: inline-block;
top: -180px;
left: 0;
width: 30px;
height: 100%;
background-color: #fff;
transition: 0.2s;
animation: shiny-btn2 3s ease-in-out infinite;
}

@-webkit-keyframes shiny-btn2 {
	0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
	80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.3; }
	81% { -webkit-transform: scale(4) rotate(45deg); opacity: 0.8; }
	100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

.onsuku .btn a:before {
animation-delay: 1s;
}

.btn a:hover {
opacity: 1;
text-decoration: none;
color: #fff;
box-shadow: none;
-webkit-transform: translateY(3px);
}

.lec .btn a {
background-color: #FF000A;
}

.onsuku .btn a {
background-color: #00b8b2;
}


.video {
width: 90%;
margin: 60px auto 0;
}

.video video {
width: 100%;
border-radius: 10px;
outline: 8px solid #00b8b2;
}

.genre {
  max-width: 1040px;
  margin: 0 auto;
	padding: 50px 20px;
}

.lec .genre {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.lec .genre li {
  width: 33.33%;
  padding: 0 10px 20px;
  box-sizing: border-box;
}

@media screen and (max-width: 769px) {
	.genre {
	display: none !important;
	}
	.lec .genre li {
		width: 50%;
	}
}





/*-------------------------
    info
--------------------------*/
.info {
font-size: 14px;
max-width: 960px;
margin: 3vh 20px;
border: 3px solid #e60012;
text-align: center;
padding: 1.5em;

}

.info-ttl {
font-size: 120%;
font-weight: bold;
margin-bottom: 1em;
}


/*-------------------------
    Detail
--------------------------*/
.wrapper {
	position: relative;
	text-align: center;
}

#header {
background-color: #e60012;
/*border-bottom: 2px solid #fff;*/
position: relative;
z-index: 10;
}
#header h1 {
text-align: center;
padding: 1rem 0;
}

#header h1 img {
min-width: 100px;
width: 15%;
}



.detail {
  padding: 10vh 4% 0;
}

.detail h2 {
  font-size: 1.953em;
  margin-bottom: 6vh;
}

.list {
  width: 480px;
  margin: 5vh auto 0;
}

.list h3 {
  margin: 3vh 0 1.5vh 0;
  background: #ECECEC;
}

.list ul {
  text-align: left;
  list-style-type: disc;
  list-style-position: inside;
}

.list li{
  font-size: 1.25em;
  margin-bottom: 0.5em;
}

.list .line {
  margin: 3vh auto;
  border-top: 1px dashed #aaa;
  padding-top: 3vh;
}

.back {
  margin-top: 10vh;
	margin-bottom: 100px;
}


/*-------------------------
    Footer
--------------------------*/
.footer {
width: 100%;
	background-color: #222;
	color: #fff;
	padding: 50px 0;
	text-align: center;
}

.footer a {
	color: #fff;
}

.footer {
	padding: 15vh 0 5vh;
}

.footer address {
	font-size: 12px;
	margin: 5vh 0 15vh;
	font-style: normal;
}

.footer address dt {
	font-size: 120%;
	margin-bottom: 1em;
}

.footer .copy {
	display: block;
	border-top: 1px solid #292d30;
	padding-top: 5vh;
	font-size: 65%;
}

/* Scroll Top Button */
#scrollTopBtn {
  position: fixed;
  right: 10px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  opacity: 0;
  z-index: 1000;
  font-size: 18px;
  border-radius: 4px;
  color: #ffffff;
  background-color: #222222;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#scrollTopBtn:hover {
  background-color: #e60012;
}

#scrollTopBtn.actived {
  right: 30px;
  opacity: 1;
}

/* Extra Small Devices */
@media only screen and (min-width: 320px) and (max-width: 575px) {
  #scrollTopBtn {
    bottom: 20px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  #scrollTopBtn.actived {
    right: 20px;
  }
}