@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}



/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}
.skyblue-back {
	background-color: #f0fbfb;
}


/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #000;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.8rem;
}
#box90 {
    width: 90%;
}
}

/*岩井が付け加えたコード
-------------------------------------*/
.img-kumimihon {
    border: 1px solid #333333;
    margin: auto;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

.cp_qa *, .cp_qa *:after, .cp_qa *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.cp_qa .cp_actab {
	position: relative;
	overflow: hidden;
	width: 75%;
	margin-bottom: 45px;
	color: #1b2538;
}
.cp_qa .cp_actab input {
	position: absolute;
    opacity: 0;
}
.cp_qa .cp_actab label {
	line-height: 1.0;
	position: relative;
	display: block;
	margin: 0 0 0 0;
	padding: 0.5em;
	cursor: pointer;
	/* border-bottom: 1px solid #1b2538; */
}
.cp_qa .cp_actab label:hover {
	color: #00838F;
}

.cp_qa .cp_actab .cp_actab-content {
	overflow: hidden;
	max-height: 0;
	-webkit-transition: max-height 0.5s ease;
	        transition: max-height 0.5s ease;
	color: #002d29;
}
.cp_qa .cp_actab .cp_actab-content p {
  margin-left: 2em;
  margin-top: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.cp_qa .cp_actab input:checked ~ label {
	color: #00838f;
}

.cp_qa .cp_actab input:checked ~ .cp_actab-content {
	max-height: 60em;
}

.cp_actab-content {
  font-size: 0.9em;
  font-weight: lighter;
}

.cp_qa .cp_actab label::after {
	line-height: 1.6;
	position: absolute;
	top: 50%;
	right: 0;
	display: block;
	width: 3em;
	margin-top: -12.5px;
	-webkit-transition: all 0.5s ease;
	        transition: all 0.5s ease;
	text-align: center;
}
.cp_qa .cp_actab input[type=checkbox] + label::after {
	/* content: '▼'; */
}
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
	-webkit-transform: rotateX(180deg);
	transform: rotateX(180deg);
}

.mokuji-koumoku{
    text-align: left;
    margin-left: 20%;
}

.container-mokuji{
    text-align: left;
    margin-left: 20%;
}

.fade{
    animation: fadeIn 0.2s ease 0.3s 1 normal;
}
@keyframes fadeIn { /*animation-nameで設定した値を書く*/
    0% {opacity: 0} /*アニメーション開始時は不透明度0%*/
    100% {opacity: 1} /*アニメーション終了時は不透明度100%*/
}

/* カルーセルのコード */
.slider{
    width: 50%;
    margin: 30px auto;
}

.slider li img{
    width: 100%;
    margin: 0 auto;
    border: 1px solid;
}

/* 全画面拡大のためのコード */
.fullscreen-image {
    cursor: url("./plus_cursor.png"), pointer; /* マウスポインタを指定 */
    display: inline-block;   /* 横方向に並べる指定 */
    margin: 0px 5px 5px 0px; /* 周囲の余白量(右と下に5pxずつ) */
 }

 #bookimage {
    margin-right: 10px;
 }

 .box3 {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #2c2c2f;
}
.box3 p {
    margin: 0; 
    padding: 0;
}
.box-parent {
    width:100%;
    height:auto;
    display:flex;
    flex-direction:column;
    align-items:center; /* 中央揃え */
  }
.box-child {
    width:65%; /* 任意の値 */

  }

.suisen_midashi {
    /*線の種類（実線） 太さ 色*/
    border-bottom: solid 2px #000080;
    font-size: 2rem;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    margin-bottom: 1.5rem;
    padding: 15px;
    color: #000080;
  }
.suisen_honbun  {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    padding: 15px;
}
.suisen_namae {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    padding: 15px;
    text-align: right
}
.tyosya_honbun {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    padding: 0.5em 1em;
    color: #2c2c2f;
    text-align: justify;
}
#margintop_70px {
    margin-top: 70px;
}

/* ここからCTA用の CSS */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.btn,
a.btn,
button.btn {
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-flat {
    overflow: hidden;
    padding: 1.5rem 6rem;
    color: #fff;
    border-radius: 0;
    background: #000;
  }
  
  a.btn-flat span {
    position: relative;
  }
  
  a.btn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-96%);
    transform: translateX(-96%);
    background: rgb(153, 187, 255);
  }
  
  a.btn-flat:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
/* ここまでCTS用のCSS */
/* スマホの時のCTA用のCSS */
@media screen and (max-width: 500px) {
    .parallax{
        display: none;
    }
    #sample {
        display: none;
    }
    #movie {
        display: none;
    }
.btn,
a.btn,
button.btn {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    padding: 1rem 1rem;
}
}
/* ここまでスマホの時のCTA用のCSS */