﻿/* 基本CSS */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #353535;
	font-family: "A-OTF 新ゴ Pro";
	font-style: normal;
}


ul {
	list-style: none;
}

a {
	font-weight: 100;
	margin: 0 15px;
	text-decoration: none; 
}


a:link {
	color: #999;
}

a:visited {
	color: #ccc;
}

a:hover {
	color: #8ba5fc;
}

a:active {
	color: #aacaa6;
}

h1 {
	font-family: "ゴシックMB101 pro";
	font-weight: 1000;
	font-size: 26px;
	color: #fff;
}

h2 {
	font-size: 10px;
	font-family: "A-OTF 新ゴ Pro";
	color: #ccc;
}

h3 {
	font-size: 13px;
	font-weight: 100;
	font-family: "A-OTF 新ゴ Pro";
	color: #999;
}

h5 {
	font-family: "A-OTF 新ゴ Pro";
	font-weight: 100;
	}

p {
	padding: 4px;
}

span {
	font-family: "A-OTF A1明朝 Std";
	color: #ddd;
	font-size: 0.9em;
}

section{
	padding: 20px 0;
}

iframe{
	width: 100%;
}

/* ヘッダー回り */
header {
	width: 1155px;
	height: 50px;
	padding-top: 20px;
}

#gnav ul {
	display: flex;
	justify-content: right;
	color: #ccc;
}

.header-box {
	width: 1155px;
	text-align: right;
	padding: 0 180px 0 60px;
}

.header-box-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 915px;
}

.title {
	width: 300px;
	margin-right: 0 auto;
}

/* 本文 */
.mainbox {
	width: 1155px;
	text-align: right;
	padding: 0 170px 0 170px;
}

#sec0 {
	color: #ccc;
	padding: 40px 0 0 0;
	width: 1155px;
}
  
#sec1 {
  color: #ccc;
  padding: 100px 0 0 0;
  width: 1155px;
}

.title-box {
	text-align: center;
	padding: 20px;
	vertical-align: bottom;
	margin-bottom: -20px;
}

.chapter-title {
	text-align: center;
	padding-bottom: 20px;
    margin:  0 auto;
}

.main-title img {
	width: 50%;
    margin:  0 auto;
	display: block;
	opacity: 0.95;
}

.containerbox {
	margin-right: 0 auto;
	text-align: left;
}

.containerbox2 {
	background-color: #555555;
    margin:  40px 0 0 40px;
	padding: 20px 40px;
	text-align: left;
}

section h2, .txcenter {
	text-align: right;
	margin-top: 60px;
	font-size: 1.6em;
}




.image-box-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 670px;
	text-align: center;
	margin: 20px 20px;
	padding: 0 auto;
}

.imagebox {
	width: 200px;
	margin: 1px 0px;
}

.imagebox2 {
	text-align: center;
	width: 260px;
	margin: 1px 0px;
}



.btn {
	background-color: #e0ecea;
	display: block;
	width: 150px;
	padding: 15px 20px;
	border-radius: 5px;
	box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, .4);
	margin: 50px auto 0;
	text-align: center;
}

.btn2 {
	background-color: #338b97;
	display: block;
	width: 240px;
	padding: 15px 20px;
	border-radius: 5px;
	box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, .4);
	margin: 50px auto 0;
	text-align: center;
}

.item-box-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.item-box {
	width: 220px;
	border-radius: 15px;
	margin-left: 4px;
	margin-bottom: 16px;
}


/* ポップアップ */

/* 繰り返し部分 */
  #popup01 {
	display: none; /* label でコントロールするので input は非表示に */
  }
  
  .popup-open {
	cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
  }
  
  .popup-overlay {
	display: none; /* input にチェックが入るまでは非表示に */
  }
  
#popup01:checked ~ .popup-overlay {
	display: block;
	z-index: 99999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
  }
  
  /* 繰り返し部分終わり */
 
  .popup-window {
	width: 90vw;
	max-width: 560px;
	padding: 20px;
	background-color: #ffffff;
	border-radius: 6px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  }
  
  .popup-text {
	text-align: center;
	margin: 0;
  }
  
  .popup-textblock {
	text-align: left;
	font-family: "A-OTF 新ゴ Pro";
	font-weight: 100;
	font-color: #555555;
	font-size: 0.8em;
	margin: 0 10px;
  }
  
  .popup-text:not(:last-of-type) {
	margin-bottom: 1em
  }
  
  .popup-close {
	cursor: pointer;
	position: absolute;
	top: -26px;
	right: 0;
  }
/* ポップアップ終わり */


/* フッター回り */
footer {
	width: 1155px;
	padding: 0px 170px;
	margin-top: 200px;
	text-align: center;
	color: #ccc;
}

#footer-nav ul{
	display: flex;
	text-align: center;
	color: #ccc;
}

#pagetop {
	position: fixed;
	bottom: 30px;
	left: 50px;
}

#pagetop img {
	width: 50px;
}








/* スマートフォン対応CSS */
@media (max-width: 768px) {

/* 修正部分 */
/* ヘッダー回り */
header {
	width: 100%;
	height: 80px;
	padding-top: 20px;
}

#gnav ul {
	display: flex;
	justify-content: right;
	color: #ccc;
}

.header-box {
	width: 100%;
	text-align: right;
	padding: 0 5% 0 10%;
}

.header-box-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

h1 {
	font-family: "ゴシックMB101 pro";
	font-weight: 1000;
	font-size: 24px;
	color: #fff;
}

.mainbox {
	width: 100%;
	text-align: right;
	padding: 0 5% 0 10%;
}

#sec0 {
	color: #ccc;
	padding: 30px 0 0 0;
	width: 100%;
}
  
#sec1 {
  color: #ccc;
  padding: 60px 0 0 0;
  width: 100%;
}

.title-box {
	text-align: center;
	margin-bottom: -20px;
}


/* フッター回り */
footer {
	width: 100%;
	margin-top: 60px;
	padding: 0 5% 0 10%;
}

#footer-nav ul{
	display: flex;
	padding-right: 0px;
}

#footer-nav a {
	font-size: .8em
	margin: 0 5px;
	padding: 2px;
}

#pagetop {
	position: fixed;
	bottom: 30px;
	left: 5px;
}

#pagetop img {
	width: 30px;
}
}