@charset "utf-8";
/*------------------------------------------------------------
	トープページ
------------------------------------------------------------*/
#main .bg01 {
	min-height: 1278px;
	/*position: fixed;
	left: 0;
	top: 0;*/
	background: url(../img/index/photo01.jpg) no-repeat center center fixed;
	background-size: cover;
}

#main .bg02 {
	height: 593px;
	/*position: fixed;
	left: 0;
	top: 0;*/
	background: url(../img/index/photo02.png) no-repeat center center fixed;
}

#main .bg03 {
	min-height: 557px;
	/*position: fixed;
	left: 0;
	top: 0;*/
	background: url(../img/index/photo03.jpg) no-repeat center center fixed;
	background-size: cover;
}

#main .sec01 {
	padding: 27px 0 179px;
	background: url(../img/index/bg01.gif) no-repeat left top;
	background-size: 100% auto;
}

#main h2 {
	width: 879px;
	margin: 0 auto 9px;
	padding-bottom: 2px;
	font-size: 22px;
	text-align: center;
	letter-spacing: 4px;
	line-height: 1.4;
	border-bottom: 1px solid #8E8986;
}

#main h2 img {
	margin: 0 auto;
	display: block;
}

#main .sec01 p {
	line-height: 1.75;
	font-weight: bold;
	letter-spacing: 2px;
	text-align: center;
}

#main .sec01 p span {
	display: inline-block;
	text-align: left;
}

#main .sec02 {
	padding: 23px 0 175px;
}

#main .sec02 h2 {
	margin-bottom: 20px;
}

#main .sec02 p {
	line-height: 2.25;
	font-weight: bold;
	text-align: center;
}

#main .sec02 p span {
	display: inline-block;
	text-align: left;
}

#main .sec03 {
	padding: 32px 0 147px;
}

#main .sec03 h2 {
	margin-bottom: 13px;
}

#main .sec03 .topText {
	margin-bottom: 13px;
	font-size: 14px;
	text-align: center;
	font-weight: bold;
	line-height: 1.75;
}

#main .sec03 .topText span {
	margin-bottom: 2px;
	display: block;
	font-size: 24px;
	letter-spacing: 10px;
}

#main .sec03 .textBox {
	width: 913px;
	margin: 0 auto;
}

#main .sec03 .textBox p {
	margin: 0 0 29px 14px;
	color: #808080;
	line-height: 1.33;
	font-weight: bold;
}

#main .sec03 .textBox p span {
	display: block;
	font-family: Meiryo, "小塚ゴシック Pro", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
}

#main .sec03 .textBox .title {
	margin-bottom: 9px;
	font-size: 15px;
}

#main .sec03 .textBox .title01 {
	margin-bottom: 21px;
}

#main .sec03 .textBox .title02 {
	margin-bottom: 36px;
}

#main .sec03 .textBox .text01 {
	margin-bottom: 11px;
}

#main .sec03 .textBox .text02 {
	margin-bottom: 20px;
}

#main .sec03 .textBox .text03 {
	margin-bottom: 50px;
}

#main .sec03 h3 {
	margin-bottom: 12px;
	padding: 2px 0 0 81px;
	position: relative;
	font-size: 24px;
	background: url(../img/index/bg02.png) repeat-x center center;
	box-sizing: border-box;
	letter-spacing: 6px;
}

#main .sec03 h3 img {
	position: absolute;
	left: -7px;
	top: -14px;
}

#main .contactBox {
	margin-bottom: 20px;
}

#main .contactBox h2 {
	margin-bottom: 17px;
}

#main .contactBox p {
	margin-bottom: 11px;
	text-align: center;
	color: #808080;
	font-weight: bold;
}

#main .contactBox  form {
	width: 420px;
	margin: 0 auto;
}

#main .contactBox form table {
	width: 100%;
}

#main .contactBox form table td {
	padding-bottom: 10px;
}

#main .contactBox form table td input {
	width: 413px;
	height: 26px;
	padding: 3px 8px;
	border: none;
	background-color: #DBEFF6;
	box-sizing: border-box;
	border-radius: 0;
}

#main .contactBox form table td textarea {
	width: 413px;
	height: 123px;
	padding: 3px 8px;
	border: none;
	font-size: 12px;
	background-color: #DBEFF6;
	box-sizing: border-box;
}

#main .contactBox form table td input::placeholder,
#main .contactBox form table td textarea::placeholder {
	color: #808080;
	font-weight: bold;
	font-size: 12px;
	opacity: 1;
}

#main .contactBox form .submit {
	margin: 3px 13px 0 0;
	text-align: center;
}

#main .contactBox form .submit li {
	margin: 0 2px;
	display: inline;
}

#main .contactBox form .submit li:hover input {
	cursor: pointer;
	opacity: 0.7;
}

#main .contactBox form .submit li input {
	width: 51px;
	height: 18px;
	padding: 0;
	text-align: center;
	font-size: 12px;
	line-height: 1;
	color: #808080;
	font-weight: bold;
	border: none;
	background-color: #E6E6E6;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}

#main .contactBox2 {
	margin-top: 80px;
	margin-bottom: 80px;
}

.youtube-container {
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  flex-wrap: wrap; /* 2つ以上の場合に折り返す */
}

.youtube-wrapper {
  width: 100%;
  max-width: 350px; /* 最大幅を設定 */
  margin: 10px; /* 動画間のスペース */
  position: relative;
  padding-bottom: 20%; /* 16:9のアスペクト比 */
  height: 0;
  overflow: hidden;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
}

#main .conts .photoBox .photoList {
	margin: 25px 15px 20px 5px;
}

#main .conts .photoBox .photoList li {
	margin: 0 11px 0 9px;
	float: left;
}

#main .conts .next {
	margin-right: 30px;
	text-align: right;
}

#main .conts .photoBox a:hover img {
	opacity: 0.7;
}

#main .sideBar {
	width: 240px;
	float: right;
	overflow-y: auto;
}

#main .sideBar dl a {
	padding: 8px 0 5px;
	display: block;
	color: #000;
	font-size: 11px;
	font-weight: bold;
	border-bottom: 1px solid #BFBFBF;
}

#main .sideBar dl a:hover {
	opacity: 0.7;
}

#main .sideBar dl dt {
	letter-spacing: 4px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .youtube-wrapper {
    max-width: 100%; /* 幅を100%に */
	padding-bottom: 50%; /* 16:9のアスペクト比 */
  }
}


@media all and (min-width: 0) and (max-width: 767px) {
	#main .bg01 {
		min-height: 300px;
		background: none;
		background: url(../img/index/photo01.jpg) no-repeat center center;
		background-size: cover;
	}
	
	#main .bg02 {
		height: 400px;
		background: none;
		background: url(../img/index/photo02.png) no-repeat center center;
		background-size: 240px;
	}
	
	#main .bg03 {
		min-height: 300px;
		background: none;
		background: url(../img/index/photo03.jpg) no-repeat center center;
		background-size: cover;
	}
	
	#main .sec01 {
		padding: 20px 10px;
	}
	
	#main .sec01 p {
		line-height: 1.7;
		letter-spacing: 1px;
	}

	#main h2 {
		width: auto;
		font-size: 16px;
		letter-spacing: 3px;
	}
			
	#main .sec02 {
		padding: 20px 10px;
	}
	
	#main .sec02 p {
		line-height: 1.7;
	}
	
	#main .sec02 h2 {
		margin-bottom: 9px;
	}
	
	#main .sec03 {
		padding: 20px 10px;
	}
	
	#main .sec03 h2 {
		margin-bottom: 9px;
	}
	
	#main .sec03 .topText {
		margin-bottom: 13px;
		font-size: 13px;
		line-height: 1.5;
	}
	
	#main .sec03 .topText span {
		margin-bottom: 0;
		font-size: 14px;
		letter-spacing: 2px;
	}
	
	#main .sec03 .textBox {
		width: auto;
	}
	
	#main .sec03 h3 {
		padding: 2px 0 0 50px;
		font-size: 16px;
		letter-spacing: 3px;
		line-height: 1.2;
	}
	
	#main .sec03 h3 img {
		width: 45px;
		margin-top: -23px;
		left: -9px;
		top: 50%;
	}
	
	#main .sec03 .textBox .title {
		margin-bottom: 5px;
		font-size: 14px;
	}
	
	#main .sec03 .textBox p {
		margin: 0 0 15px 14px;
	}
	
	#main .sec03 .textBox .text01 {
		margin-bottom: 5px;
	}

	#main .sec03 .textBox .text02 {
		margin-bottom: 5px;
	}
	
	#main .sec03 .textBox .text03 {
		margin-bottom: 20px;
	}
	
	#main .sec03 .textBox .title01 {
		margin-bottom: 15px;
	}
	
	#main .sec03 .textBox .title02 {
		margin-bottom: 20px;
	}
	
	#main .contactBox {
		padding: 0 10px;
	}
	
	#main .contactBox h2 {
		margin-bottom: 9px;
	}
	
	#main .contactBox form {
		width: auto;
	}
		
	#main .contactBox form table td input {
		width: 100%;
	}
	
	#main .contactBox form table td textarea {
		width: 100%;
	}
	
	#main .contactBox form .submit {
		margin: 3px 0 0;
	}

}

@media all and (-ms-high-contrast:none){
	#main .sec03 h3 {
		padding: 9px 0 0 81px;
	}
	
	#main .sec03 h3 img {
		top: -10px;
	}
	
	#main .contactBox form table td input {
		padding: 5px 8px 3px;
	}
	
	#main .contactBox form .submit li input {
		padding-top: 5px;
	}
}

