@charset "UTF-8";
/*
Theme Name: newtus製品サイト
Description: ホームページ用のテーマ
Author: 株式会社ティー・エム・シー
Version: 1.2.1
*/

/* Webフォント */
@font-face {
	font-family: 'GenJyuuGothic';
	font-style: normal;
	font-weight: 400;
	src: url("/wp/wp-content/themes/xxxxxxxxx/font/GenJyuuGothic-Medium.woff") format('woff');
}

@font-face {
	font-family: 'GenJyuuGothic';
	font-style: bold;
	font-weight: 500;
	src: url("/wp/wp-content/themes/xxxxxxxxx/font/GenJyuuGothic-Bold.woff") format('woff');
}

@font-face {
	font-family: 'Jost';
	src: url('jost.woff2') format('woff2'),
		url('jost.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

/*
Theme Name: My Custom Theme
*/

/* --- 基本リセット & 全体設定 --- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--primary-green: #00B074;
	--hover-green: #009663;
	--dark-gray: #050000;
	--text-black: #333;
	--light-bg: #f9f9f9;
}

/* === 統一ブレークポイント ===
   SP: 0 - 767px
   Tablet: 768px - 1023px
   PC: 1024px以上
=== */

/* === レスポンシブユーティリティクラス === */

/* PC only (1024px以上で表示) */
@media screen and (max-width: 1023px) {
	.only-pc {
		display: none !important;
	}
}

/* Tablet以下で表示 (1023px以下) */
@media screen and (min-width: 1024px) {
	.only-tablet-down {
		display: none !important;
	}
}

/* SP only (767px以下で表示) */
@media screen and (min-width: 768px) {
	.only-sp {
		display: none !important;
	}
}

/* SP only 表示 (767px以下) */
@media screen and (max-width: 767px) {
	.only-sp {
		display: block !important;
	}
}

/* PC + Tablet で表示 (768px以上) */
@media screen and (max-width: 767px) {
	.only-tablet-up {
		display: none !important;
	}
}

body {
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: var(--text-black);
	line-height: 1.6;
	background-color: #fff;
}

a {
	text-decoration: none;
	color: inherit;
	transition: 0.3s;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* --- ボタン共通スタイル --- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 4px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
}

.btn-dark {
	background-color: var(--dark-gray);
	color: #fff;
}

.btn-green {
	background-color: var(--primary-green);
	color: #fff;
}

.btn-dark:hover,
.btn-green:hover {
	opacity: 0.9;
}

.arrow {
	margin-left: 10px;
}

/**
 *
 *　ヘッダー部分
 *
 */
/* --- ヘッダー全体の枠組み --- */
#header {
	width: 100%;
	background: #ededed;
	border-bottom: 1px solid #eee;
	/* 下線 */
	position: sticky;
	/* スクロール追従 */
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	/* うっすら影を追加 */
}

/* コンテンツ幅とFlexbox設定 */
.header-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* max-width: 1280px; */
	/* 最大幅 */
	margin: 0 auto;
	padding: 0 0px 0px 20px;
	height: 80px;
	/* ヘッダーの高さを固定 */
}

/* --- ロゴエリア --- */
.header-logo-area a {
	display: block;
	line-height: 1;
}

.logo {
	height: 50px;
	/* ロゴの高さを調整 */
	width: auto;
	/* 比率を保つ */
	display: block;
}

/* --- ナビゲーションメニュー --- */
#main-menu {
	margin-left: 40px;
	/* ロゴとの距離 */
	margin-right: auto;
	/* 右側エリアを右端に寄せるために余白を自動確保 */
}

#main-menu .menu ul {
	display: flex;
	gap: 30px;
	/* メニュー項目の間隔 */
	list-style: none;
	padding: 0;
	margin: 0;
}

#main-menu .menu ul li a {
	text-decoration: none;
	color: var(--text-black);
	font-weight: bold;
	font-size: 14px;
	position: relative;
	/* 下線のアニメーション用 */
	display: inline-block;
	padding: 28px 0;
	/* 上下のクリック判定を広げる＋高さをヘッダーに合わせる */
	transition: color 0.3s;
}

/* ホバー時と現在地の下線アニメーション */
#main-menu .menu ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	/* ヘッダーの一番下 */
	left: 0;
	width: 100%;
	height: 3px;
	/* 下線の太さ */
	background-color: var(--primary-green);
	transform: scaleX(0);
	/* 最初は隠す */
	transition: transform 0.3s ease;
}

/* ホバー時、または現在のページの場合に下線を表示 */
#main-menu .menu ul li a:hover,
#main-menu .menu ul li.current-menu-item a,
#main-menu .menu ul li.current_page_item a {
	color: var(--primary-green);
}

#main-menu .menu ul li a:hover::after,
#main-menu .menu ul li.current-menu-item a::after,
#main-menu .menu ul li.current_page_item a::after {
	transform: scaleX(1);
	/* 下線を表示 */
}

/* --- 右側エリア (CVエリア) --- */
#cv-area {
	display: flex;
	align-items: center;
	height: 100%;
	/* ヘッダーの高さ(80px)に合わせる */
	gap: 25px;
	/* 電話番号とボタンエリアの距離 */
}

/* 電話番号部分（変更なし、または微調整） */
.phone-number {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: 11px;
	line-height: 1.4;
	color: #333;
	min-width: 230px;
	/* 折り返し防止のために幅を確保 */
	white-space: nowrap;
}

.phone-number strong {
	font-size: 26px;
	color: #333;
	font-family: Arial, sans-serif;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.phone-icon {
	color: var(--primary-green);
	margin-right: 5px;
}

.phone-icon img {
	display: inline-block;
	/* グローバルの display: block を上書き */
}

/* ボタンエリア */
.header-cta {
	display: flex;
	height: 100%;
	/* 親要素(ヘッダー)の高さいっぱいに広げる */
	align-items: stretch;
	/* 子要素(ボタン)を縦に引き伸ばす */
}

/* ボタン共通設定 */
.header-btn {
	display: flex;
	/* Flexboxで中の文字を配置 */
	align-items: center;
	/* 文字を上下中央に */
	justify-content: center;
	/* 文字を左右中央に */
	padding: 0 30px;
	/* ボタンの横幅（内側の余白） */

	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.3s;
	white-space: nowrap;

	height: 100%;
	/* 高さを100%に */
	border-radius: 0;
	/* 角丸をなくす */
	margin: 0;
	/* 余計なマージンを削除 */
}

.header-btn:hover {
	opacity: 0.8;
}

/* 色設定 */
.bg-dark {
	background-color: var(--dark-gray);
}

.bg-green {
	background-color: var(--primary-green);
}

.bg-gray {
	background-color: #999;
	cursor: default;
}

.header-btn.disabled {
	pointer-events: none;
	opacity: 0.7;
}

.menu-item.disabled span {
	color: #999;
	cursor: default;
}

/* フッター全体のスタイル */
footer {
	background-color: #4a4a4a;
	/* 画像の左ボタンと同じグレー */
	color: #fff;
	padding: 40px 20px;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ナビゲーションのレイアウト */
#footer-top {
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

/* メニューリストのスタイル */
.menu ul {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
	display: flex;
	justify-content: center;
	gap: 30px;
	/* メニュー間の余白 */
	flex-wrap: wrap;
	/* 画面が狭い時に折り返す */
}

/* リンクのスタイル */
.menu a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 15px;
	transition: color 0.3s ease;
	position: relative;
}

/* ホバー時の挙動（画像と同じ緑色に光る） */
.menu a:hover {
	color: #00A968;
}

/* コピーライトのスタイル */
.copyright-text {
	font-size: 12px;
	color: #ccc;
	/* 少し薄くして階層を下げる */
	margin: 0;
	letter-spacing: 0.05em;
}

/*
 * レスポンシブ（スマホ版）
 */
@media (max-width: 767px) {
	header {
		flex-direction: column;
		padding: 5px 10px;
	}

	.header-left,
	.header-right {
		width: 100%;
		justify-content: center;
		margin-bottom: 10px;
	}

	.menu ul {
		flex-direction: column;
		gap: 15px;
	}
}

/* --- New Footer Styles --- */
footer {
	background-color: #4a4a4a;
	color: #fff;
	padding: 0;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* フッターナビゲーション */
.footer-nav {
	padding: 30px 20px;
	border-bottom: 1px solid #666;
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 50px;
	flex-wrap: wrap;
}

.footer-menu li a {
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: bold;
	transition: color 0.3s ease;
}

.footer-menu li a:hover {
	color: #00A968;
}

/* フッターメイン */
.footer-main {
	padding: 40px 20px;
}

.footer-inner {
	max-width: 580px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}

/* 左側：ロゴ・会社情報 */
.footer-left {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-newtus-logo img {
	height: 50px;
	width: auto;
}

.footer-company {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.footer-tmc-logo img {
	height: 30px;
	width: auto;
}

.footer-company-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.footer-company-name {
	font-size: 14px;
	font-weight: bold;
	margin: 0;
}

.footer-company-address {
	font-size: 12px;
	color: #fff;
	margin: 0;
}

/* 右側：連絡先 */
.footer-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 15px;
}

.footer-phone {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-phone-icon {
	width: 22px;
	height: 22px;
	filter: brightness(0) invert(1);
}

.footer-phone-number {
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.footer-contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background-color: #00A968;
	color: #fff;
	padding: 10px 30px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 15px;
	font-weight: bold;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

.footer-contact-btn:hover {
	background-color: #008c56;
}

.footer-mail-icon {
	width: 24px;
	height: 24px;
}

/* フッターレスポンシブ対応 - Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
	.footer-inner {
		max-width: 570px;
		padding: 0 40px;
	}

	.footer-menu {
		gap: 30px;
	}
}

/* フッターレスポンシブ対応 - SP */
@media screen and (max-width: 767px) {
	.footer-menu {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.footer-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-left {
		align-items: center;
	}

	.footer-company {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.footer-right {
		align-items: center;
	}

	.footer-phone-number {
		font-size: 24px;
	}
}