@charset "UTF-8";

/*メインビジュアル*/
#ikkoku_main_vd{
	padding-top: 37%;
	background-image: url("../images/aps_001.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	height: 20%;
}

.heading{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left:12%;
	margin:auto;
	font-size:29px;
	letter-spacing: 1.8px;
	color:#fff;
	text-shadow: 0 2px 10px rgba(14,1,1,0.5);
}

.ikkoku_heading h1{
	border-bottom:3px solid #fff;
	margin-bottom:9px;
}

.title_line {
	border-bottom: 5px double #666;
	margin-bottom: 30px;
}

.title_line {
	border-bottom: 3px double #666;
	margin-bottom: 30px;
}

.movie {
position: relative;
width: 800px;
height: 450px;
height: 0;
padding: 30px 0 450px;
overflow: hidden;
margin:0 auto 2rem auto;
}

.movie iframe {
position: absolute;
top: 0;
left: 0;
width: 800px;
height: 450px;
border: none;
}

#bosyu_title {
	font-size: 26px;
	font-weight: bold;
	color: #9E000C;
	text-align: center;
	padding-top: 50px;
}

p {
	text-indent: 1em;
}

/*ボタン*/

.button_ikkoku {
  margin: 0 auto;
}
a.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #9E000C;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
　padding: 0 6% 0 12%;
  color: #9E000C;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
}
a.btn_02:hover {
  background: #9E000C;
  color: #fff;
}
a.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #9E000C;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}
a.btn_02:hover:before {
  border-color: transparent transparent transparent #fff;
}


.btn_wrap {
  width: 980px;
  display: flex;
  flex-wrap: wrap;
  margin: 80px auto;
}

.button_ikkoku {
  padding: 20px;
  width: 40%;
  background-color: #fff;
}

.button_ikkoku :not(:nth-child(3n+3)) {
  margin-right: 2%;
}

.button_ikkoku :nth-child(n+4) {
  margin-top: 30px;
}

/*フッター*/
.footer_wrapper{
	width:100%;
	background-image: url("../images/aps_003.png");
	background-color:rgba(0,0,0,0.5);
	background-blend-mode:darken;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	font-size:10px;
	color:#fff;
	padding:20px;
	box-sizing: border-box;
}

@media not all and (min-width: 979px) {

  .btn_wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 80px auto;
  }

  .button_ikkoku {
    width: 80%;
    background-color: #fff;
  }

  .button_ikkoku :not(:nth-child(3n+3)) {
    margin-right: 2%;
  }

  .button_ikkoku :nth-child(n+4) {
    margin-top: 10px;
  }

	.button_ikkoku  {
		width: 80%;
	}



  .button_ikkoku :not(:nth-child(3n+3)) {
    margin-right: 0;
  }

  .button_ikkoku :nth-child(n+2) {
    margin-top: 10px;
  }

	.movie {
	position: relative;
	height: 0;
	padding: 30px 0 56.25%;
	overflow: hidden;
	margin-bottom: 2rem;
	width: 100%;
	height: 100%;
	margin-bottom: 50px;
	}

	.movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	}


}
