@charset "UTF-8";

/*------------
共通スタイル
--------------*/
* {
	box-sizing: border-box;
}

html {
	height: 100%;
}

body {
	font-family: 'Helvetica Neue','Arial','ヒラギノ角ゴシック','Hiragino Sans','メイリオ', Meiryo,sans-serif;
	font-size: 18px;
	color: #800000;
	line-height: 1.2;
	margin: 0;
	background-color: #ffffef;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/*メディアクエリ　タブレット（中～大）*/
@media screen and (max-width: 1025px){
	body {
	font-size: 25px;
}

}

/*メディアクエリ　スマホ～タブレット（小）*/
@media screen and (max-width: 750px){
	body {
	font-size: 20px;
}

}

/*メディアクエリ　スマホ小さい画面用*/
@media screen and (max-width: 360px){
	body {
	font-size: 17px;
}

}

/*メディアクエリ　スマホ横画面*/
@media (orientation: landscape) and (max-width: 1024px){
	body {
	font-size: 20px;
	-webkit-text-size-adjust: 100%;
}

}

/*------------
レイアウト
--------------*/

.container {
	max-width: 1110px;
	padding-left: 10px;
	padding-right: 10px;
	margin-left: auto;
	margin-right: auto;
}

/*メディアクエリ　タブレット（大）*/
@media screen and (min-width: 1000px) and (max-width: 1370px){
.container {
	margin-left: 20%;
}

}

/*メディアクエリ　タブレット（大）横画面*/
@media (orientation: landscape) and (min-width: 1030px){
.container {
	margin-left: 15%;
	-webkit-text-size-adjust: 100%;
}

}



/*------------
メインエリア
--------------*/

h1 {
	font-size: 22px;
	margin-top: 20px;
	margin-bottom: 0;
	text-align: center;
}

.main {
	margin-top: 20px;
}

.main_item {
	display: flex;
	flex-direction: column;
}

.main_img {
	text-align: center;
	margin-bottom: 5px;
}

.main_img img {
	width: 200px;
	height: 200px;
	object-fit:cover;
	border-radius: 50%;
}

.main_item:nth-child(2) .main_img img {
	object-position: 0px 0.1px;
}

.main_text {
  padding: 25px;
  background-color: white;
  border-style: solid;
  border-image-source: url(img/紹介文フレーム2.jpeg);
 	border-image-slice: 365;
 	border-image-width: 95px;
 	border-image-repeat: repeat;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.main_text p {
  margin: 0; 
  padding: 0;
}

h2 {
	font-size: 20px;
	margin-top: 0px;
	margin-bottom: 5px;
	text-align: center;
}

.main_item:nth-child(4) .main_text {
	margin-bottom: 20px;
}

.footer {
	text-align: center;
}

.top_btn {
	color: #ffffff;
	background-color: #800000;
	width: 100px;
	height: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	border-radius: 20px;
}

.footer a {
	color: #ffffff;
	text-decoration: none;
	display: block;
}


/*メディアクエリ*/
@media screen and (min-width: 1000px){
/* 大きい画面用。メニューを左へ表示させておく */

ul {
  margin: 0;
  padding-left: 0;
  text-align: center;
}
 
li {
  list-style: none;
  padding-bottom: 15px;
}
 
#menu a {
  text-decoration: none;
  color: #ffffff;
}
 
#menu {
  position: fixed;
  top: 0;
  left: 0; /* メニューを左へ表示させておく */
  width: 200px; /* メニューのwidth */
  height: 100%;
  padding: 10px;
  background-color: #6b3f31;
  text-align: center;
}

#menu .top_link {
	display: none;
}
 
.toggle {
	display: none; /*メニューボタンを非表示*/
}
 
#open {
  display: none; /*メニューのチェックボックスを非表示*/
}

.menu_main {
	flex-direction: column;
}

}

@media screen and (max-width: 1000px){
/* スマホ用。左からスライドメニュー表示 */

ul {
  margin: 0;
  padding-left: 0;
}
 
li {
  list-style: none;
  padding-bottom: 15px;
}
 
#menu a {
  text-decoration: none;
  color: #ffffff;
}
 
#menu {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-250px); /* メニューを左へ隠しておく */
  width: 170px; /* メニュー押下後のwidth */
  height: 100%;
  padding: 10px;
  transition: all .5s; /* アニメーション */
  background-color: #6b3f31;
  z-index: 10;
  overflow-y: scroll;
  text-align: center;
}

#menu.open {
	transform: translateX(0);
}

.menu_background {
	position: fixed;
	top: 0;
	left: 0;
	content: "";
	display: block;
	width: 0;
	height: 0;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0; /* 透明度0にして隠す */
	transition: opacity 0.5s; /* 透明度の0→1になる速度 */
	z-index: 2;
}

.menu_background.open {
	width: 100%;
	height: 100%;
	opacity: 1; /* メニューが表示されてる時背景表示 */
}
 
.toggle {
  font-size: 40px;
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
}

.icon {
  font-size: 40px;
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 10;
}

.icon_back {
  font-size: 35px;
  color: white;
  position: fixed;
  top: 4px;
  right: 5px;
  z-index: 2;
}

}


/*メディアクエリ　PC*/
@media screen and (min-width: 1025px){

	h2 {
	font-size: 18px;
	}

}

/*メディアクエリ　タブレット（中～大）*/
@media screen and (min-width: 750px) and (max-width: 1025px){

	h1 {
	font-size: 27px;
	}

	h2 {
	font-size: 25px;
	}

	.icon {
	font-size: 55px;
	}

	.icon_back {
	font-size: 50px;
	}

}

/*メディアクエリ　スマホ横画面*/
@media (orientation: landscape) and (max-width: 1024px){

.icon {
	font-size: 40px;
	-webkit-text-size-adjust: 100%;
}

.icon_back {
	font-size: 35px;
	-webkit-text-size-adjust: 100%;
}

}

/*メディアクエリ　スマホ小さい画面用*/
@media screen and (max-width: 360px){
	h1 {
	font-size: 20px;
	}

	h2 {
	font-size: 17px;
	}

}

/*メディアクエリ　スマホ～タブレット大*/
@media screen and (max-width: 1370px){
	.top_btn {
	margin-bottom: 70px;
	}

}


/*メインエリア大きい画面用*/

/*メディアクエリ　タブレット大～PC*/
@media screen and (min-width: 1000px){

	.main_item {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-evenly;
		margin-bottom: 50px;
	}

	.main_img img {
		width: 230px;
		height: 230px;
	}

	.main_text {
		width: 60%;
	}

	.main_item:nth-child(2) {
		display: flex;
		flex-direction: row-reverse;
	}

	.main_item:nth-child(4) {
		display: flex;
		flex-direction: row-reverse;
	}

}

/*メディアクエリ　スマホ横に長い画面用*/
@media (orientation: landscape) and (min-width: 700px) and (max-width: 1024px){

	.main_item {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-evenly;
		margin-bottom: 30px;
		-webkit-text-size-adjust: 100%;
	}

	.main_item:nth-child(2) {
		display: flex;
		flex-direction: row-reverse;
		-webkit-text-size-adjust: 100%;
	}

	.main_item:nth-child(4) {
		display: flex;
		flex-direction: row-reverse;
		-webkit-text-size-adjust: 100%;
	}

	.main_img img {
		width: 200px;
		height: 200px;
	}

	.main_text {
		width: 60%;
		-webkit-text-size-adjust: 100%;
	}

	h1 {
		font-size: 22px;
		-webkit-text-size-adjust: 100%;
	}

	h2 {
		font-size: 20px;
		-webkit-text-size-adjust: 100%;
	}

}


