/* CSS Document */
* {
    box-sizing: border-box;
}
html {
	margin: 0;
	padding: 0;
    scroll-behavior: smooth;
}
body {
    font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    line-height: 1.8;
	letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    color: #2F1917;

}
/*ぱんくずリスト*/

.breadcrumb {
	margin: 0;
	padding: 0;
	padding-left: 10%;
	padding-top:10px;
	list-style: none;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
}

.breadcrumb li:after {/* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: #555;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #2F1917;/*色*/
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/*トップへ戻るボタン*/

.pagetop {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    z-index: 10;
}
.pagetop1{
	font-family: Arial, Helvetica, 'sans-serif';
	padding-top: 3px;
	font-size: 14px;
	line-height: 1;
	text-align: center;
	text-shadow:
    0.5px 0.5px 0 #fff,
    -0.5px 0.5px 0 #fff,
    -0.5px -0.5px 0 #fff,
    0.5px -0.5px 0 #fff;
}

.inline{
	display: inline-block;
}
.triangle {
  width: 45px;
  height: 20px;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background-color: #2F1917;
  position: relative;
  z-index: 10;
}
.triangle-inner {
  width: 35px;
  height: 15px;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background-color: #fff;
  position: absolute;
  bottom: 2px;
  left: 5px;
  z-index: 10;
}

/*トップへ戻るボタンここまで*/

a{
	text-decoration: none;
	color: inherit;
}
a:hover{
	opacity: 0.8;
}
p{
	max-width: 800px;
	margin: auto;
}

.contents-bg {
	height: 900px;
    background-image:url("image/facility.png");
	background-size:cover;
	background-position: center;
    color: #fff;
}
.contents {
    background-color: rgba(0,0,0,0.6);
    height: 900px;
}
.logo {
	margin: 20px;
    max-width: 500px;
}
.top{
	display: inline-block;
	margin-left: 65%;
	margin-top: 13%;
	text-align: center;
	font-size:70px;
	line-height: 1.2;
}

/*メニューここから*/

header{
	position: -webkit-sticky;
	position:         sticky;
	top: 0;
	z-index: 1;
}
.menu{
	padding: 20px;
	text-align: center;
	background-color:#2F1917;
}
nav ul{
	margin: 0 ;
	padding: 0 ;
}
nav ul li{
	list-style: none;
	display: inline-block;
	width: 10%;
	min-width: 90px;
}
nav ul li a{
	text-decoration: none;
	color: #fff;
}
nav ul li a:hover{
	opacity: 0.5;
}
nav li:not(:last-child){
border-right:2px solid #fff;
}



@media only screen and (max-width: 1050px) {
.hamburger {
	position: fixed;
	top: 7px;
	right: 20px;
	width: 35px;
	height: 26px;
	cursor: pointer;
	z-index: 100;
	transition: transform 0.5s ease;
	background-color: rgba(47,25,23,0.5);  
}
.hamburger span {
	display: block;
	height: 2px;
	width: 70%;
	background-color: #fff;
	margin:  5px auto;
	transition: all 0.5s ease;
}
	
	.fff{
		color: #fff;
		padding: 0;
	}
/* 回転アニメーション */
.hamburger.active {
  transform: rotate(360deg); /* 全体が回転 */
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px); /* バツの左上 */
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* 中央の線を隠す */
}


.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px); /* バツの右下 */
}

/* メニューのスタイル */
.menu {
  position: fixed;
  top: -150%;
  right: 0;
  width: 300px;
  height: 100vh;
  background-color: #2F1917;
  padding: 20px;
  box-sizing: border-box; /* パディングを幅に含める */
  z-index: 90;
  transition: top 0.3s ease;
  overflow-x: hidden; /* 横方向のはみ出しを防ぐ */
}

.menu.open {
	  top: 0;
	}
	nav li:not(:last-child){
		border: none;
	}
	nav ul li{
		display: flex;
		padding-top: 50px;
		width: 90%;
		min-width: 90px;
	}
}


/*メニューここまで*/

main {
    margin: 0 auto;
}

.products, .partners, .about, .contact {
    margin-bottom: 2rem;
}
h2{
  position: relative;
  display: inline-block;
  padding: 0 50px;
	font-size: 30px;
}

h2:before, h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #2F1917;
}

h2:before {
  left:0;
}
h2:after {
  right: 0;
}
.center1{
	text-align: center;
	padding: 50px 0 20px 0;
}

h3{
	padding: 0;
	text-align: center;
}
h4{
	font-size: 20px;
}

#greeting{
	background-image: url("image/808965.png");
	background-size: contain;
	background-repeat: no-repeat;
}
.product-list {
	padding-bottom: 50px;
    display: flex;
    justify-content: center; /* 要素を中央寄せ */
    flex-wrap: wrap;
}
.product-item {
    text-align: center;
	padding: 0 50px;
}
.img-item{
	width: 250px;
	height: 200px;
	object-fit: contain;
}

#partners{
	padding-bottom: 100px;
}
.partner-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
	max-width: 1000px;
	margin: auto;
}
.partner-logos img{
	padding: 30px;
	object-fit: contain;
	width: 300px;
	height: 130px;
}
@media only screen and (max-width: 768px) {
	.partner-logos{
		text-align: center;
		display: block;
		margin:0 auto;
	}
	.partner-logos img{
		width: 250px;
		height: 100px;
	}
}


#about{
	width: 100%;
}
.about2{
	background-image:url("image/24210688_m.jpg");
	background-position: center;
	width: 100%;
	height: 650px;
	color: #fff;
}
.contents2{
	background-color: rgba(0,0,0,0.6);
	padding: 5px;
	height: 650px;
}
.large{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 50px;
	font-weight: 500;
	text-align: center;
}
.mincho{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 26px;
}
.mincho2{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 20px;
}
.bold{
	font-weight: bold;
}

/* table01 */
.table01{
	margin: 0 auto;
	border-collapse: collapse;
	width: 60%;
}

.table01 th,
.table01 td {
	border-bottom: 1px solid #596A59;
	padding: 20px;
}

.table01 th {
	width: 20%;
	color:#fff;
	background-color: #8BA08B; 
}
.table01 td{
	background-color:#D3E3D3;
}

/* sp */
@media only screen and (max-width: 1050px) {
	.table01{
		width: 80%;
	}
}
@media only screen and (max-width: 768px) {
	.table01{
		width: 100%;
	}
	.table01 th,
	.table01 td {
		border-bottom: none;
		width: 100%;
		display: block;
		padding: 10px 20px;
		
	}

  .table01 th {
	  width: 100%;
	  text-align: left;
  }
}

.map{
	padding: 20px 0;
	text-align: center;
}
Iframe{
	width: 60%;
	height: 400px;
}
@media screen and (max-width: 768px) {
	Iframe{
		width: 100%;
		height: 250px;
  }
}


.Form {
  margin: 20px auto 100px auto;
  max-width: 720px;
}
@media screen and (max-width: 768px) {
  .Form {
	  margin-top: 40px;
	  flex-direction: column;
	  max-width: 350px;
  }
}
.Form-Item {
  border-top: 1px solid #D3E3D3;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .Form-Item {
    padding-left: 20px;
    padding-right: 10px;
    padding-top: 13px;
    padding-bottom: 13px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #D3E3D3;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 768px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.required{
	color: #AE4C4E;
}
.required1{
	color: #AE4C4E;
}

.Form-Item-Input {
  border: 1px solid #D3E3D3;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #D3E3D3;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
	.required1{
		color: #AE4C4E;
		padding-left: 30px;
	}
	.box1{
		padding-left: 30px;
	}
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
	  max-width: 310px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #D3E3D3;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #D3E3D3;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
	  max-width: 310px;
  }
}
.Form-Btn {
	border-radius: 6px;
	margin-top: 32px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 100px;
	display: block;
	letter-spacing: 0.05em;
	color: #8BA08B;
	font-weight: bold;
  	font-size: 15px;
  	text-align    : center;      /* 文字位置   */
  	cursor        : pointer;     /* カーソル   */
  	background    : #fff;     /* 背景色     */
  	line-height   : 1em;         /* 1行の高さ  */
  	opacity       : 1;           /* 透明度     */
  	transition    : .2s;         /* なめらか変化 */
	box-shadow    : 3px 3px 3px #666666;  /* 影の設定 */
	
}
.Form-Btn:hover{
	box-shadow    : none;        /* カーソル時の影消去 */
	opacity       : 0.8;         /* カーソル時透明度 */
}
@media screen and (max-width: 768px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 150px;
    font-size: 16px;
  }
}
.ander{
	text-decoration:underline;
}
.ander:hover{
	opacity: 0.5;
}


footer {
    background: #2F1917;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}
address{
font-style:normal;
	display: inline-block;
}
.small{
	line-height: 1.3;
}
.small2{
	font-size: 5px;
	color: #7F6A6A;
}

/*今週の一枚*/

div#wordpress_blog {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 追加 */
}
div#wordpress_blog > article.wp-article {
    width: 50%;
    display: flex;  /* 追加 */
    flex-direction: column; /* 追加 */
    align-items: center; /* 追加 */
}
div#wordpress_blog > article.wp-article:nth-child( 3n ) {
    margin-right: 0;
}
div#wordpress_blog > article.wp-article h4.wp,p.wp{
	margin: 10px;
}
div#wordpress_blog > article.wp-article p.wp{
	text-align: center;
}
div.eyecatch{
	text-align: center;
}
div.eyecatch > img {
    width: 700px;
    height: 450px;
	object-fit: cover;
	vertical-align: top;
}
.blog{
	margin: auto;
	text-align: center;
}

@media screen and (max-width: 768px) {
	div#wordpress_blog > article.wp-article{
		margin: 0;
		padding-bottom: 30px;
		width: 100%;
		display: flex;
		flex-direction: column; 
	}
	div#wordpress_blog > article.wp-article h3.wp,p.wp{
	margin-bottom: 0;
	}
	div.eyecatch {
    margin-bottom: 0;
	}
	.blog{
		text-align: center;
		margin-bottom: 0;
	}
	div.eyecatch > img {
    width: 300px;
    height: 200px;
	}
}
/*全体　1050px以下*/
@media screen and (max-width: 1050px) {
	.top{
		display: inline-block;
		margin-left: 70%;
		margin-top: 45%;
		font-size:40px;
		line-height: 1.2;
	}
}


/*全体　768px以下*/
@media screen and (max-width: 768px) {
	h2{
		font-size: 20px;
	}
	.center1{
		padding: 30px 0 10px 0;
	}
	h3{
		padding: 10px;
		font-size: 18px;
	}
	p{
		padding: 0 20px;
	}
	.mincho{
		font-size: 20px;
	}
	
	.logo {
		margin: 10px;
		max-width: 300px;
	}
	.top{
		display: inline-block;
		margin-left: 55%;
		margin-top: 20%;
		font-size:26px;
		line-height: 1.2;
	}
	.product-list{
		flex-direction: column; /* 縦並び */
        align-items: center; /* 子要素を中央寄せ */
        gap: 1.5rem; /* 間隔を広げる */
	}
	.partner-logos img{
		padding: 10px;
	}
	.about2{
		height: 500px;
	}
	.contents2{
	height: 500px;
	}
	.large{
	font-size: 28px;
	}
	.mincho2{
		font-size: 16px;
	}

	.contents-bg{
		height: 400px;
	}
	.contents{
		height: 400px;
	}

	
}





