@charset "UTF-8";

@font-face{
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/hatoba/fonts/NotoSansJP-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face{
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  src: url("/wp-content/themes/hatoba/fonts/NotoSansJP-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face{
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  src: url("/wp-content/themes/hatoba/fonts/NotoSansJP-Bold.woff2") format("woff2");
  font-display: swap;
}
@font-face{
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 100;
  src: url("/wp-content/themes/hatoba/fonts/NotoSerifJP-Light.woff2") format("woff2");
  font-display: swap;
}

body{font-family: "Noto Sans JP", sans-serif; background: #fdfdfd;}
h2{font-size: 36px; text-align: center; margin: 0 0 20px;}
a{color: initial;}
p{line-height: 1.6;}
section{padding: 50px 0;}
.container{max-width: 1200px; padding: 0 15px; margin: auto;}
.lead{text-align: center; margin: 0 0 40px;}
.for-pc{display: block;}
.for-sp{display: none;}
@media screen and (max-width: 767px){h2{font-size: 32px;}}
@media screen and (max-width: 1199px){.for-pc{display: none;} .for-sp{display: block;}}
header{
	display: flex;
	justify-content: space-between;
	width: 100%;
	max-width: 1170px;
	height: 70px;
	padding: 15px;
	margin: auto;
}
.logo img{
	height: 40px;
}
nav ul{
	display: flex;
	list-style: none;
	gap: 30px;
}
nav a{
	color: white;
	font-size: 18px;
	text-decoration: none;
}
.ham-menu{
	display: none;
}
@media screen and (max-width: 1199px){
	.ham-menu {
		display: block;
		position: absolute;
		top: 17px;
		right: 20px;
		z-index: 1000;
		width: 48px;
		height: 48px;
		border: none;
		background: transparent;
		cursor: pointer;
	}

	.ham-line {
		position: absolute;
		left: 11px;
		width: 26px;
		height: 2px;
		background-color: #333;
		transition: all .6s;
	}

	.ham-line:nth-of-type(1) { top: 14px; }
	.ham-line:nth-of-type(2) { top: 23px; }
	.ham-line:nth-of-type(3) { top: 32px; }

	.ham-menu.active .ham-line {
		background-color: #fff;
	}

	.ham-menu.active .ham-line:nth-of-type(1) {
		transform: translateY(9px) rotate(-45deg);
	}
	.ham-menu.active .ham-line:nth-of-type(2) {
		opacity: 0;
	}
	.ham-menu.active .ham-line:nth-of-type(3) {
		transform: translateY(-9px) rotate(45deg);
	}
	.nav-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.95);
		visibility: hidden;
		opacity: 0;
		transition: all .6s;
		z-index: 900;
	}
	.nav-overlay.active{
		visibility: visible;
		opacity: 1;
	}
	.ham-content{
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
		text-align: center;
	}
	nav ul{
		display: block;
	}
	.ham-list {
		margin: 0;
		padding: 0;
	}
	.ham-item {
		opacity: 0;
		transform: translateY(20px);
		transition: all .6s;
	}
	.nav-overlay.active .ham-item {
		opacity: 1;
		transform: translateY(0);
	}
	.nav-overlay.active .ham-item:nth-child(1) { transition-delay: 0.1s; }
	.nav-overlay.active .ham-item:nth-child(2) { transition-delay: 0.2s; }
	.nav-overlay.active .ham-item:nth-child(3) { transition-delay: 0.3s; }
	.nav-overlay.active .ham-item:nth-child(4) { transition-delay: 0.4s; }
	.ham-item a{
		display: inline-block;
		padding: 20px;
		color: #fff;
		font-size: 24px;
		text-decoration: none;
		transition: color .3s;
	}
	.ham-item a:hover{
		color: #4a90e2;
	}
}

.mv{
	height: 100vh;
	color: white;
	background: url(../img/mv.jpg) center/cover no-repeat;
	margin: -70px 0 50px;
}
.mv .wrap{
	position: absolute;
    left: 20%;
    top: 30%;
}
.mv .lead{
	text-align: left;
}
@media screen and (max-width: 767px){
	.mv .wrap{
		left: 15px;
	}
	.mv h1{
		line-height: 1.5;
	}
}

#about h2{
	font-family: "Noto Serif JP";
	font-weight: 100;
	line-height: 1.5;
	text-align: left;
	margin-bottom: 20px;
}
#about p{
	line-height: 1.8;
}
#about .wrap{
	display: flex;
	align-items: center;
	gap: 15px;
}
#about .text{
	display: flex;
	justify-content: center;
	width: calc(50% - 15px);
}
#about .img{
	width: calc(50% - 15px);
}
@media screen and (max-width: 1199px){
	#about h2{
		text-align: center;
	}
	#about .wrap{
		flex-wrap: wrap-reverse;
	}
	#about .text{
		width: 100%;
	}
	#about .img{
		width: 100%;
	}
}

#service .wrap{
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
#service .card{
	width: calc(50% - 30px);
	background: white;
	border: 1px solid;
	padding: 15px;
	box-shadow: 6px 6px 0 #888888;
}
@media screen and (max-width: 1199px){
	#service .card{
		width: 100%;
	}
}

#products{
	padding: 50px 0 0;
}
#products .wrap{
	display: flex;
	align-items: end;
	position: relative;
}
#products .img{
	width: 50%;
}
#products .text{
	width: 50%;
	padding-left: 30px;
}
#products .text h2{
	position: absolute;
	top: 30px;
	right: 0;
}
#products p{
	margin-bottom: 30px;
}
@media screen and (max-width: 1199px){
	#products .text h2{
		position: absolute;
		top: -24px;
		left: 0;
	}
	#products h3{
		text-align: center;
	}
	#products .wrap{
		flex-wrap: wrap;
	}
	#products .img{
		width: 100%;
	}
	#products .text{
		width: calc(100% - 30px);
		background: white;
		padding: 15px;
		margin: -50px auto 0;
		border: 1px solid #888888;
	}
	#products p{
		margin-bottom: 16px;
	}
}

#company{
	padding: 0 0 50px;
}
#company .wrap{
	display: flex;
	align-items: end;
	position: relative;
}
#company .img{
	width: 50%;
}
#company .text{
	width: 50%;
	padding-right: 30px;
}
#company .text h2{
	position: absolute;
	top: 30px;
}
#company table{
	width: 100%;
	border-collapse: collapse;
}
#company th, #company td{
	border: 1px solid #ddd;
	padding: 12px 15px;
	vertical-align: top;
}
#company th{
	background: #f8f8f8;
	width: 25%;
	color: #333;
	font-weight: 600;
}
#company td{
	background: #fff;
	color: #555;
}
#company p{
	margin: 0;
}
@media screen and (max-width: 1199px){
	#company{
		padding: 50px 0;
	}
	#company .text h2{
		position: static;
	}
	#company .text{
		width: 100%;
    	padding-right: 0;
	}
	#company .img{
		display: none;
	}
}
.wpcf7{
  max-width: 600px;
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

.wpcf7 form{
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

/* 各項目 */
.wpcf7 p{
	margin: 0;
}

.wpcf7 label{
	display: block;
	margin-bottom: 6px;
	color: #333;
}

/* テキスト・メール・電話番号など */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.5;
	background-color: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 textarea {
	min-height: 160px;
	resize: vertical;
}

/* フォーカス時 */
.wpcf7 input:focus,
.wpcf7 textarea:focus{
  border-color: #4d90fe;
  box-shadow: 0 0 0 3px rgba(77,144,254,0.15);
  outline: none;
}

/* 送信ボタン */
.wpcf7 input[type="submit"]{
	background-color: #231815;
	color: #fff;
	border: none;
	padding: 15px 50px;
	font-size: 15px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wpcf7 p:has(input[type="submit"]){
	text-align: center;
}

/* バリデーション（エラー時） */
.wpcf7 .wpcf7-not-valid {
	border-color: #e53935 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
	font-size: 13px;
	color: #e53935;
	margin-top: 4px;
}

/* 送信結果メッセージ */
.wpcf7 .wpcf7-response-output {
	margin-top: 1em;
	padding: 12px;
	border-radius: 4px;
	font-size: 14px;
	border: 1px solid #ccc;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #4caf50;
	color: #2e7d32;
	background-color: #f0f9f0;
}

.wpcf7 form.invalid .wpcf7-response-output {
	border-color: #e53935;
	color: #b71c1c;
	background-color: #fdecea;
}

.wpcf7-spinner{
	display: none !important;
}

footer{
	/* color: white; */
	text-align: center;
	/* background: #231815; */
	padding: 15px;
	margin-bottom: 90px;
}
@media screen and (max-width: 767px){
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}