/*
Theme Name: アドバンスエンジニアリング
*/

body {
	margin: 0;
	padding: 0;
	font-family: '游ゴシック', sans-serif;
	background: #fff;
	color: #111;
	overflow-x: hidden;
}

/* 共通 */

.margin40 {
	margin-bottom: 40px;
}

.pic-circle {
	border-radius: 20px;
	overflow: hidden;
}

/* 画像をhoverした時にズーム */

.zoom-img {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.zoom-img img {
	transition: 1s all;
}

.zoom-img img:hover {
	transform: scale(1.2, 1.2);
	transition: 1s all;
}

/* ヘッダー */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 20px;
	background: #fff;
}

.header-left {
	display: flex;
	align-items: center;
}

.logo {
	height: 56px;
	margin-right: 12px;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 30px;
}

.header-nav ul {
	display: flex;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.header-nav a {
	text-decoration: none;
	color: #156084;
	font-size: 1.1rem;
	font-weight: 700;
	transition: color 0.2s;
}

.header-nav a:hover {
	color: #0076a3;
}

.header-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-left: 18px;
}

.contact-label {
	font-family: 'Outfit', sans-serif;
	font-weight: bold;
	color: #156084;
	margin-bottom: 4px;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
}

.contact-icon {
	width: 28px;
	height: 28px;
}

/* メニュー */

/* ハンバーガーメニュー初期非表示 */
.hamburger,
.sp-global-nav {
	display: none;
}

@media (max-width: 800px) {

	/* 通常ナビ・コンタクト非表示 */
	.header-nav,
	.header-contact {
		display: none !important;
	}

	/* ハンバーガー表示 */
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 40px;
		height: 40px;
		background: transparent;
		border: none;
		gap: 7px;
		z-index: 1002;
		position: relative;
		cursor: pointer;
	}

	.hamburger span {
		display: block;
		height: 4px;
		background: #156084;
		border-radius: 3px;
		transition: all 0.3s;
		width: 100%;
	}

	/* ハンバーガーON時のアニメ */
	.hamburger.active span:nth-child(1) {
		transform: translateY(11px) rotate(45deg);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: translateY(-11px) rotate(-45deg);
	}

	/* スマホ用グローバルナビ */
	.sp-global-nav {
		display: flex;
		flex-direction: column;
		align-items: center;
		position: fixed;
		z-index: 1001;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(255, 255, 255, 0.98);
		padding-top: 90px;
		transform: translateY(-100%);
		transition: transform 0.3s;
	}

	.sp-global-nav.active {
		transform: translateY(0);
	}

	.sp-global-nav ul {
		list-style: none;
		padding: 0;
		margin: 0;
		width: 100%;
	}

	.sp-global-nav li {
		text-align: center;
		border-bottom: 1px solid #e4e4e4;
	}

	.sp-global-nav a {
		display: block;
		padding: 18px 0;
		color: #156084;
		font-size: 1.2rem;
		font-weight: 700;
		text-decoration: none;
		transition: background 0.2s, color 0.2s;
	}

	.sp-global-nav a:hover {
		background: #f0f7fa;
		color: #0076a3;
	}

	.sp-global-nav .sp-contact a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}
}


/* フッター */
.site-footer {
	background: #f6f6f6;
	padding: 40px 0 12px 0;
	font-family: 'Segoe UI', 'Yu Gothic', 'メイリオ', sans-serif;
	color: #133f5f;
}

.footer-logo {
	height: 60px;
	margin-bottom: 8px;
	margin-left: 10%;
}

.footer-content {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
	flex-wrap: wrap;
}

.footer-col {
	flex: 1 1 220px;
	min-width: 200px;
}

.footer-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.footer-links ul {
	list-style: none;
	padding-left: 20%;
	margin: 0;
	font-weight: 700;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	text-decoration: none;
	color: #156084;
	font-size: 1.08rem;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: #0076a3;
}

.footer-bottom {
	font-family: 'Outfit', sans-serif;
	text-align: center;
	color: #000000;
	margin-top: 30px;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

@media (max-width: 600px) {
	.footer-info {
		margin-left: 10%;
		margin-right: 0;
		width: 90%;
		/* 必要に応じて調整 */
	}

	.footer-links ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(3, auto);
		gap: 0 12px;
		margin-left: 10%;
		padding-left: 0;
		text-align: left;
		width: 90%;
		max-width: 380px;
		/* 追加：メニュー部分の最大幅制限（調整可） */
		margin-right: auto;
	}

	.footer-links li {
		margin-bottom: 12px;
		list-style: none;
		justify-self: start;
		/* 追加：改行させない */
		white-space: nowrap;
	}

	.footer-links a {
		font-size: 1.08rem;
		word-break: keep-all;
		/* 追加：改行抑制 */
		white-space: nowrap;
		/* 追加：改行抑制 */
		display: inline-block;
	}
}


/* TOPページ */

.image-container {
	width: 100vw;
	height: 100vh;
	position: relative;
}

.main-image {
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.5s ease;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.overlay-image {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100vw;
	max-width: 100vw;
	height: auto;
	opacity: 0;
	transform: translateX(-60px);
	transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.77, 0, .18, 1);
	z-index: 2;
	pointer-events: none;
	/* pointer-events:noneでクリックや選択無効化（必要な場合） */
}

@media (max-width: 768px) {
	.overlay-image {
		width: 100vw;
		height: auto;
		left: 0;
		bottom: 0;
	}
}

.show-image {
	opacity: 1;
}

.show-overlay {
	opacity: 1;
	transform: translateX(0);
}

/* 画像スライド */

.slider-area {
	width: 100vw;
	overflow: hidden;
	background: #fff;
	height: 360px;
	/* お好みで高さ調整 */
	display: flex;
	align-items: center;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.slider-track {
	display: flex;
	align-items: center;
	animation: slide-left 30s linear infinite;
}

.slider-track img {
	height: 340px;
	margin: 0 12px;
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
	background: #ddd;
	transition: box-shadow 0.3s;
}

.slider-track img:hover {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

/* アニメーション（横移動） */
@keyframes slide-left {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

/* 新着情報表示 */

.top-news-section {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	width: 100%;
	max-width: 1200px;
	margin: 32px auto;
}

.top-news-main {
	flex: 1 1 45%;
	background: #fff;
	padding: 0 0 18px 0;
}

.top-news-main-image img {
	width: 100%;
	max-width: 430px;
	height: auto;
	aspect-ratio: 1/1;
	object-fit: cover;
	background: #eee;
	display: block;
	margin: 0 auto 18px auto;
	border-radius: 0;
}

.top-news-main-meta {
	font-size: 1.25rem;
	color: #555;
	margin-bottom: 8px;
	font-family: 'Roboto', sans-serif;
}

.top-news-main-date {
	margin-right: 16px;
}

.top-news-main-cat {
	font-weight: 400;
}

.top-news-main-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 12px;
	margin-top: 6px;
}

.top-news-main-excerpt {
	font-size: 1rem;
	color: #222;
	margin-top: 10px;
	line-height: 1.7;
	word-break: break-all;
}

.top-news-list-area {
	flex: 1 1 55%;
	min-width: 400px;
}

.top-news-list-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
}

.top-news-list-title {
	font-size: 2.6rem;
	font-weight: bold;
	color: #e8c9a3;
	letter-spacing: 0.03em;
}

.top-news-list-allbtn {
	display: inline-block;
	font-size: 1.07rem;
	color: #555;
	border: 2px solid #bbb;
	border-radius: 22px;
	padding: 6px 24px 6px 24px;
	background: #fff;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	margin-top: 4px;
}

.top-news-list-allbtn:hover {
	background: #e8c9a3;
	color: #fff;
	border-color: #e8c9a3;
}

.top-news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.top-news-list-item {
	border-bottom: 1px solid #ccc;
	padding: 18px 0;
}

.top-news-list-item:last-child {
	border-bottom: none;
}

.top-news-list-date,
.top-news-list-cat {
	font-size: 1rem;
	color: #222;
	margin-right: 10px;
	font-family: 'Roboto', sans-serif;
}

.top-news-list-title2 {
	font-size: 1.13rem;
	color: #111;
	margin-top: 3px;
}

.top-news-list-item a {
	text-decoration: none;
	color: inherit;
	display: block;
	transition: background 0.2s;
}

.top-news-list-item a:hover {
	background: #faf7f3;
}

.top-news-main-link {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: background 0.2s;
	border-radius: 12px;
	/* お好みで */
	padding: 8px 0;
}

@media (max-width: 900px) {
	.top-news-section {
		position: relative;
		margin-left: 10% !important;
		margin-right: 10% !important;
		width: 80% !important;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.top-news-list-area {
		width: 100% !important;
		box-sizing: border-box;
		/* デフォルト順でOK */
	}

	.top-news-main {
		width: 100% !important;
		box-sizing: border-box;
		/* デフォルト順でOK */
	}

	.top-news-list-head {
		order: -1;
		background: #fff;
		z-index: 10;
		padding-bottom: 8px;
		margin-bottom: 12px;
		/* 下の2行は必要に応じて調整 */
		border-bottom: 1px solid #f0e3d0;
	}

	.top-news-list {
		margin-top: 0;
	}

	.top-news-list-head {
		gap: 30px;
		/* スマホはgapを少し狭くするなど自由に調整 */
	}
}

/* TOP VALUE */
.top-value-section {
	padding: 32px 0 38px 0;
	margin-left: 10%;
	margin-right: 10%;
}

.top-value-header-title {
	color: #22337d;
	font-size: 2rem;
	font-weight: bold;
	font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
}

.top-value-body {
	display: flex;
	align-items: flex-start;
	gap: 38px;
	margin-top: 24px;
}

.top-value-img img {
	width: 740px;
	max-width: 35vw;
	border-radius: 12px;
	display: block;
}

.top-value-txt {
	font-size: 1rem;
	color: #000000;
	line-height: 2.1;
	font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
	letter-spacing: 0.02em;
	padding-top: 6px;
}

@media (max-width: 900px) {

	.top-value-body {
		flex-direction: column;
		gap: 18px;
		padding: 0 12px;
	}

	.top-value-img img {
		width: 100%;
		max-width: 100%;
	}
}

/* TOP 製品情報 */

.top-product-section {
	width: 100%;
	max-width: 1200px;
	margin-top: 32px;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
}

.top-product-title {
	font-size: 1.8rem;
	font-weight: 600;
	text-align: left;
	margin-bottom: 36px;
	letter-spacing: 0.03em;
	font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
}

.top-product-imgs {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 46px;
	flex-wrap: wrap;
}

.top-product-img {
	width: 32%;
	min-width: 290px;
	max-width: 400px;
	border-radius: 18px;
	overflow: hidden;
	background: #f6f6f6;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.top-product-img img {
	width: 100%;
	display: block;
	border-radius: 18px;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.top-product-btn-wrap {
	margin-top: 12px;
	margin-bottom: 24px;
}

.top-product-btn {
	display: inline-block;
	background: #146188;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	padding: 16px 64px;
	border-radius: 42px;
	text-decoration: none;
	box-shadow: 0 2px 12px rgba(0, 40, 80, 0.08);
	transition: background 0.2s, color 0.2s, box-shadow 0.18s;
	font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
}

.top-product-btn:hover {
	background: #2270a6;
	color: #fff;
	box-shadow: 0 6px 24px rgba(0, 80, 160, 0.13);
}

@media (max-width: 900px) {
	.top-product-section {
		margin-left: 10% !important;
		margin-right: 10% !important;
		width: 80% !important;
		box-sizing: border-box;
	}

	.top-product-imgs {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
		flex-direction: column;
		gap: 18px;
	}

	.top-product-img {
		width: 100% !important;
		min-width: unset !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		box-sizing: border-box;
	}

	.top-product-img img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		display: block;
		border-radius: 18px;
		aspect-ratio: 4/3;
		object-fit: cover;
		box-sizing: border-box;
	}

	.top-product-title {
		font-size: 1.35rem;
		margin-left: 8px;
		margin-bottom: 18px;
	}

	.top-product-btn {
		font-size: 1.08rem;
		padding: 13px 0;
		width: 92vw;
		max-width: 380px;
	}
}

/* TOP 設備情報 */

.top-facility-section {
	margin-left: 10%;
	margin-right: 10%;
	padding: 32px 0 38px 0;
}

.top-facility-ttl {
	color: #247099;
	font-size: 2.3rem;
	font-weight: bold;
	text-align: left;
	letter-spacing: 0.03em;
	margin-bottom: 16px;
	line-height: 1.28;
}

.top-facility-desc {
	font-size: 1.13rem;
	line-height: 2.05;
	text-align: left;
	max-width: 880px;
	margin: 0 0 34px 0;
}

.top-facility-imgs {
	display: flex;
	justify-content: center;
	gap: 44px;
	margin: 0 auto;
	max-width: 1060px;
}

.top-facility-img {
	flex: 1 1 44%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	min-width: 240px;
}

.top-facility-img img {
	width: 100%;
	max-width: 380px;
	display: block;
	border-radius: 18px;
	aspect-ratio: 1/1;
	object-fit: contain;
}

@media (max-width: 900px) {
	.top-facility-ttl {
		font-size: 1.28rem;
	}

	.top-facility-imgs {
		flex-direction: column;
		gap: 22px;
		max-width: 100%;
	}

	.top-facility-img img {
		max-width: 96vw;
		aspect-ratio: unset;
	}
}

/* TOP 会社情報 */
.top-company {
	margin-left: 10%;
	margin-right: 10%;
	display: flex;
	gap: 0;
}

.top-company a {
	display: block;
	width: 33.3333%;
	text-decoration: none;
}

.top-company img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	margin: 0;
	padding: 0;
}

@media (max-width: 600px) {
	.top-company {
		flex-direction: column;
	}

	.top-company a {
		width: 100%;
	}
}

/* TOP 採用情報 */

.top-recruit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 10%;
	margin-right: 10%;
	padding: 40px 0;
	border-radius: 16px;
	gap: 48px;
}

.recruit-image {
	flex: 1;
	max-width: 40%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.recruit-image img {
	width: 100%;
}

.recruit-text {
	flex: 1.2;
	color: #144d99;
}

.recruit-text h2 {
	font-size: 2.5rem;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 2rem;
}

.recruit-text .highlight {
	font-size: 2rem;
	color: #3a2a06;
}

.recruit-text p {
	font-size: 1.25rem;
	font-weight: bold;
	color: #000000;
	margin-bottom: 2.5rem;
}

.recruit-btn {
	display: inline-block;
	padding: 16px 48px;
	background: #f7f7c2;
	border: 2px solid #333;
	border-radius: 32px;
	color: #333;
	font-size: 1.2rem;
	text-decoration: none;
	font-weight: 700;
	transition: background 0.2s;
}

.recruit-btn:hover {
	background: #fffbe8;
}

/* スマホ対応 */
@media (max-width: 800px) {
	.top-recruit {
		flex-direction: column;
		padding: 24px 0;
		gap: 24px;
	}

	.recruit-image,
	.recruit-text {
		max-width: 100%;
	}

	.recruit-text h2 {
		font-size: 2rem;
	}

	.recruit-text p {
		font-size: 1.1rem;
	}

	.recruit-btn {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		text-align: center;
		font-size: 1rem;
		margin: 0;
		padding-left: 0;
		padding-right: 0;
	}
}

/* 下層ページ共通 */
.lp-header img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

.lp-section {
	background: #e4eaee;
	padding: 40px 0 60px 0;
}

.lp-section-white {
	background: #ffffff;
	padding: 40px 0 60px 0;
}

.lp-section-yellow {
	background: #f9db00;
	padding: 40px 0 60px 0;
}

.lp-header-box {
	background: #fff;
	display: inline-block;
	padding-top: 20px;
	padding-bottom: 10px;
	padding-right: 80px;
	padding-left: 8%;
	margin-bottom: 20px;
	/* スライドイン追加 */
	opacity: 0;
	transform: translateX(-60px);
	transition: opacity 0.3s, transform 0.3s;
}

/* アニメーション定義 */
@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-60px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* スクロールでクラス追加された時にアニメ適用 */
.lp-header-box.inview {
	animation: slideInLeft 1.7s cubic-bezier(0.77, 0, 0.18, 1) 0.0s both;
}

.lp-title {
	font-family: 'Arial', sans-serif;
	font-size: 3rem;
	font-weight: bold;
	color: #e4af6d;
	margin: 0;
	letter-spacing: 0.05em;
	line-height: 1;
}

.lp-subtitle {
	font-size: 1.0rem;
	color: #105b85;
	font-weight: bold;
	margin-bottom: 0;
}

/* ―――――――――――――――――――――――　会社情報　―――――――――――――――――――――――　*/

.profile-body {
	margin-right: 10%;
	margin-left: 10%;
	font-size: 1.1rem;
	color: #222;
	text-align: justify;
	text-justify: inter-ideograph;
	/* 日本語の両端揃えを最適化 */
}

.profile-body b {
	font-weight: bold;
	letter-spacing: 0.08em;
}

.company-profile-table {
	width: 100%;
	max-width: 80%;
	margin-top: 40px;
	margin-bottom: 40px;
	margin-right: 10%;
	margin-left: 10%;
	border-collapse: collapse;
	background: #e4eaee;
	font-size: 1.15rem;
	color: #222;
}

.company-profile-table th,
.company-profile-table td {
	padding: 14px 18px;
	text-align: left;
	vertical-align: top;
}

.company-profile-table th {
	width: 160px;
	font-weight: bold;
	font-size: 1.14rem;
	border-bottom: 2px solid #85acc8;
	border-right: none;
	border-left: none;
}

.company-profile-table td {
	border-bottom: 2px solid #cccccc;
	border-right: none;
	border-left: none;
	font-size: 1.13rem;
}

.company-profile-table tr:last-child th,
.company-profile-table tr:last-child td {
	border-bottom: none;
}

.company-history-gallery {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-left: 10%;
	padding-right: 10%;
	margin-bottom: 40px;
	gap: 3%;
	/* 画像間のスペース。%指定で柔軟に */
	width: 100%;
	box-sizing: border-box;
	max-width: 100vw;
	/* はみ出し防止 */
}

.company-history-gallery img {
	width: 48%;
	/* 2枚＋gapで100%以内に収める */
	height: auto;
	object-fit: cover;
	border-radius: 16px;
	/* 任意 */
	display: block;
}

.profile-greeting-body {
	margin-right: 10%;
	margin-left: 10%;
	font-size: 1.1rem;
	color: #222;
	text-align: justify;
	text-justify: inter-ideograph;
	/* 日本語の両端揃えを最適化 */
}

.greeting-container {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	/* 画像とテキストの間隔 */
	margin-left: 10%;
	margin-right: 10%;
}

.greeting-image {
	flex: 0 0 40%;
	/* 左側の幅 */
}

.greeting-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	/* 画像が枠いっぱいになるように */
}

.greeting-text {
	flex: 0 0 60%;
	/* 右側の幅 */
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
	.profile-greeting-body {
		margin-right: 0%;
		margin-left: 0%;
		font-size: 1rem;
	}

	.greeting-container {
		flex-direction: column;
	}

	.greeting-image,
	.greeting-text {
		flex: 0 0 100%;
	}
}

.greeting-ceo {
	display: block;
	text-align: right;
	letter-spacing: 0.04em;
}

.contact-btn-area {
	text-align: center;
	padding: 30px 0;
	background: #e4eaee;
}

.contact-btn {
	display: inline-flex;
	align-items: center;
	background: #085b84;
	color: #fff;
	font-weight: bold;
	font-size: 1.1rem;
	padding: 0.9em 2.6em;
	border-radius: 2em;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	box-shadow: none;
	gap: 0.8em;
}

@media (max-width: 800px) {
	.profile-body {
		font-size: 0.9rem;
		color: #222;
	}

	.company-profile-table,
	.company-profile-table tbody,
	.company-profile-table tr {
		display: block;
		width: 100%;
	}

	.company-profile-table th,
	.company-profile-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 10px 14px;
		border-right: none !important;
		border-left: none !important;
	}

	.company-profile-table th {
		font-size: 1.1rem;
		font-weight: bold;
		border-top-left-radius: 6px;
		border-top-right-radius: 6px;
	}

	.company-profile-table td {
		border-bottom: 2px solid #ffffff;
		background: #fff;
		font-size: 0.9rem;
		border-bottom-left-radius: 6px;
		border-bottom-right-radius: 6px;
		margin-bottom: 10px;
	}

	.company-profile-table tr:last-child td {
		border-bottom: none;
	}

	.company-history-gallery {
		flex-direction: column;
		align-items: center;
		padding-left: 10%;
		padding-right: 10%;
	}

	.company-history-gallery img {
		width: 100%;
		height: auto;
		max-width: 100%;
		margin-bottom: 16px;
	}

	.gallery-container {
		flex-direction: column;
		gap: 12px;
		/* 画像間のスペースを狭く */
		align-items: center;
		margin-left: 10%;
		margin-right: 10%;
		width: 80%;
		box-sizing: border-box;
	}

	.gallery-item {
		max-width: 100%;
		min-width: 0;
		width: 100%;
		margin-bottom: 0;
		box-sizing: border-box;
	}

	.gallery-item img {
		width: 100%;
		height: auto;
		display: block;
	}
}

/* ―――――――――――――――――――――――　採用情報　―――――――――――――――――――――――　*/

.interview-img img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 0;
}

.interview-qa-section {
	padding: 16px 0 16px 0;
	margin-right: 10%;
	margin-left: 10%;
}

.interview-qa-item {
	border-bottom: 2px solid #cccccc;
	padding: 18px 18px 12px 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.interview-qa-item:last-child {
	border-bottom: none;
}

.qa-q {
	color: #e4af6d;
	font-weight: bold;
	font-size: 1.4rem;
	display: inline;
}

.qa-question {
	color: #444;
	font-weight: bold;
	margin-left: 1.7em;
	font-size: 1.1rem;
	margin-bottom: 3px;
}

.qa-a {
	color: #156084;
	font-weight: bold;
	font-size: 1.4rem;
	display: inline;
	margin-top: 2px;
}

.qa-answer {
	color: #222;
	margin-left: 1.7em;
	margin-bottom: 4px;
	font-size: 1rem;
	line-height: 1.85;
}

/* ―――――――――――――――――――――――　事業内容　―――――――――――――――――――――――　*/

.product-cards {
	display: flex;
	justify-content: center;
	gap: 48px;
	background: #e4eaee;
	margin-right: 10%;
	margin-left: 10%;
	padding: 40px 0;
	flex-wrap: wrap;
}

.product-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: none;
	padding: 30px 28px 20px 28px;
	max-width: 600px;
	min-width: 320px;
	flex: 1 1 480px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.product-card img {
	width: 100%;
	max-width: 540px;
	border-radius: 16px;
	margin-bottom: 30px;
	object-fit: cover;
}

.product-card h3 {
	color: #156084;
	font-size: 2.1rem;
	margin-bottom: 18px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.02em;
}

.product-card p {
	color: #222;
	font-size: 1.12rem;
	line-height: 2;
	text-align: left;
	margin: 0;
}

@media (max-width: 1000px) {
	.product-cards {
		flex-wrap: wrap;
	}

	.product-card {
		min-width: 340px;
		max-width: 100%;
		margin-bottom: 30px;
	}
}

@media (max-width: 700px) {
	.product-cards {
		flex-direction: column;
		gap: 28px;
		padding: 12px 0 12px 5%;
		/* 左側だけ5%、右は0 */
		margin-left: 0;
		margin-right: 0;
	}

	.product-card {
		width: 95%;
		/* カード自体を95%幅にして… */
		margin-right: 5%;
		/* 右側に5%の余白 */
		min-width: 0;
		margin-bottom: 0;
		padding: 18px 4% 14px 4%;
		box-sizing: border-box;
	}

	.product-card img {
		width: 100%;
		max-width: 100%;
		height: auto;
	}

	.product-card h3 {
		color: #156084;
		font-size: 1.5rem;
	}
}

.handling-cards {
	background: #e4eaee;
	padding: 36px 0 30px 0;
	max-width: 80%;
	margin: 0 auto;
}

.handling-row {
	display: flex;
	align-items: stretch;
	justify-content: center;
	margin-bottom: 44px;
	gap: 0;
}

.handling-img,
.handling-desc {
	width: 50%;
	flex: 0 0 50%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.handling-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 3/2;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

.handling-desc {
	padding: 36px 36px 30px 36px;
	color: #124c67;
}

.handling-desc h3 {
	color: #156084;
	font-size: 1.35rem;
	font-weight: bold;
	margin-bottom: 10px;
}

.handling-desc p {
	color: #222;
	font-size: 1.08rem;
	line-height: 1.85;
	margin: 0;
}

.handling-desc b {
	font-weight: bold;
	color: #222;
	font-size: 1.12em;
	display: inline-block;
	margin-bottom: 6px;
}

@media (max-width: 900px) {
	.handling-row {
		flex-direction: column;
		margin-bottom: 36px;
	}

	.handling-row.reverse-on-mobile {
		flex-direction: column-reverse;
	}

	.handling-img,
	.handling-desc {
		width: 100%;
		flex: 1 1 100%;
		padding: 0;
		max-width: 100vw;
	}

	.handling-desc {
		padding: 18px 12px 22px 12px;
	}
}

/* ―――――――――――――――――――――――　お問い合わせ　―――――――――――――――――――――――　*/
/* デザインカスタマイズ */
div.wpcf7 {
	background: #fafafa;
	border: 1px solid #ddd;
	padding: 0px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	margin: 60px auto 60px auto;
	width: 60%;
}

@media (max-width: 900px) {
	div.wpcf7 {
		width: 90%;
	}
}

div.wpcf7 p {
	padding: 20px 20px 0;
	margin: 0;
	font-size: 11px;
}

div.wpcf7 input,
.wpcf7 textarea {
	border: 1px solid #ccc;
	padding: 8px;
	font-size: 14px;
}

div.wpcf7 textarea {
	width: 97.5%;
	height: 300px;
}

div.wpcf7 input.wpcf7-submit {
	cursor: pointer;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	width: 200px;
	height: 45px;
	margin: 0 auto;
	display: block;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #333;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #808080;
	border: 1px solid #666;
}

div.wpcf7 input.wpcf7-submit:hover {
	background: #006080;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #007ea8;
	border: 1px solid #006080;
}

.wpcf7 input.wpcf7-submit:active {
	box-shadow: none;
	bottom: -2px;
	position: relative;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	border: 1px solid #009de1;
}

.wpcf7-captchac {
	border: 1px solid #ccc;
}


/* エラー個所をわかりやすく表示 */
.wpcf7 .wpcf7-not-valid {
	background: #ffb6c1;
}

.wpcf7 span.wpcf7-not-valid-tip {
	font-size: 80%;
}

.wpcf7 .wpcf7-response-output {
	margin: 10px 0 0;
	padding: 8px 35px 8px 14px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.wpcf7 .wpcf7-validation-errors {
	color: #B94A48;
	background-color: #F2DEDE;
	border: 1px solid #EED3D7;
}

.wpcf7 .wpcf7-mail-sent-ok {
	color: #3A87AD;
	background-color: #D9EDF7;
	border: 1px solid #BCE8F1;
}

/* 必須赤色表示 */
.wpcf7 .required {
	color: #f00;
}

/* 任意緑色表示 */
.wpcf7 .any {
	color: #080;
}

/* プライバシーポリシー */
.privacy {
	max-width: 60%;
	margin: 30px auto;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {
	.privacy {
		max-width: 90%;
	}
}

.privacy-title {
	background: #f8f6ef;
	padding: 16px 0;
	text-align: center;
	border-bottom: 1px solid #eee;
}

.privacy-title span {
	font-size: 1.2em;
	letter-spacing: 2px;
	color: #000000;
}

.privacy-text {
	margin: 40px 40px 40px 40px;
	padding: 30px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	height: 200px;
	overflow-y: auto;
}

@media (max-width: 900px) {
	.privacy-text {
		margin: 20px 20px 20px 20px;
	}
}

.privacy-text p {
	font-size: 1em;
	color: #000000;
	line-height: 1.9;
	margin: 0;
}

@media (max-width: 900px) {
	.privacy-text p {
		font-size: 0.8em;
	}
}

/* ―――――――――――――――――――――――　新着情報　―――――――――――――――――――――――　*/

.news-section {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 80px auto;
	font-family: 'Outfit', '游ゴシック', sans-serif;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}

.news-title {
	font-size: 2.0rem;
	font-weight: bold;
	margin-bottom: 18px;
}

.category-filter {
	display: flex;
	align-items: center;
	margin-bottom: 32px;
}

.category-label {
	font-size: 1.3rem;
	margin-right: 20px;
}

.cat-btn {
	border: 1px solid #111;
	background: #fff;
	padding: 10px 38px;
	margin-right: 18px;
	font-size: 1.1rem;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	border-radius: 2px;
	text-decoration: none;
	color: #111;
	display: inline-block;
}

.cat-btn.active,
.cat-btn:hover {
	background: #111;
	color: #fff;
	text-decoration: none;
}

.news-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
	width: 100%;
	margin-top: 50px;
	margin-bottom: 50px;
	box-sizing: border-box;
	padding: 0;
}

.news-card {
	background: #fff;
	border: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
}

.news-thumb {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-noimg {
	width: 100%;
	height: 100%;
	background: #e0e0e0;
}

.news-content {
	padding: 12px 6px 0 6px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-card-title {
	font-size: 1.09rem;
	font-weight: bold;
	margin-bottom: 8px;
}

.news-card-excerpt {
	font-size: 0.98rem;
	margin-bottom: 14px;
	min-height: 2.5em;
}

.news-card-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-bottom: 12px;
}

.news-card-date {
	font-size: 0.95rem;
	color: #333;
}

.news-card-more {
	color: #888;
	text-decoration: none;
	font-size: 0.99rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	transition: color 0.2s;
}

.news-card-more:hover {
	color: #111;
}

.pagination {
	text-align: center;
	margin: 30px 0 0 0;
}

.pagination .page-numbers {
	display: inline-block;
	margin: 0 6px;
	font-size: 1.15rem;
	color: #111;
	text-decoration: none;
	transition: color 0.2s;
}

.pagination .current {
	font-weight: bold;
	color: #111;
}

.pagination .page-numbers:hover:not(.current) {
	color: #777;
}

@media (max-width: 900px) {
	.news-section {
		padding-left: 10%;
		padding-right: 10%;
	}

	.news-title {
		font-size: 1.8rem;
		font-weight: bold;
		margin-bottom: 18px;
	}

	.news-list {
		grid-template-columns: 1fr;
	}

	.category-filter {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.category-label {
		margin-bottom: 10px;
		margin-right: 0;
	}

	.category-btns {
		display: flex;
		flex-direction: row;
		gap: 8px;
		width: 100%;
	}

	.cat-btn {
		flex: 1 1 0;
		margin-right: 0;
		margin-bottom: 0;
		text-align: center;
		width: auto;
		min-width: 0;
		font-size: 0.95rem;
		padding: 10px 0;
	}
}

/* 記事詳細ページ用 */

.news-single-section {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 80px auto;
	font-family: 'Outfit', '游ゴシック', sans-serif;
	box-sizing: border-box;
}

.news-single-header {
	display: flex;
	align-items: flex-end;
	gap: 18px;
	margin-bottom: 3px;
}

.news-single-label {
	font-size: 2.1rem;
	font-weight: bold;
	letter-spacing: 0.05em;
	line-height: 1;
	margin-top: 40px;
	margin-bottom: 30px;
	color: #e4af6d;
}

.news-single-title {
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 6px;
}

.news-single-date {
	font-size: 0.98rem;
	color: #888;
	margin-left: 0;
	margin-bottom: 20px;
}

.news-single-thumb {
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	margin: 0 auto 32px auto;
	border-radius: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-single-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* 画像全体を枠内に縮小表示 */
	display: block;
}

.news-noimg {
	width: 100%;
	height: 100%;
	background: #ddd;
}

.news-single-content {
	margin-top: 18px;
	font-size: 1.04rem;
	line-height: 2;
}

/* スマホ対応 */
@media (max-width: 600px) {
	.news-single-section {
		padding: 0 5vw;
	}

	.news-single-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.news-single-label {
		font-size: 2rem;
		margin-bottom: 8px;
	}

	.news-single-title {
		font-size: 1.05rem;
		margin-bottom: 6px;
	}

	.news-single-date {
		margin-left: 0;
		margin-bottom: 16px;
	}
}