/*
Theme Name: yudai
Theme URI: 
Description: 株式会社雄大のWordPressカスタムテーマ。参考サイトの構成を踏襲し、フラットデザインとレスポンシブ（スマホ）対応を行っています。
Author: 株式会社雄大
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yudai
*/

/* ----------------------------------------------------
   Reset & Base Styles
---------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1.6;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: #000000;
	background-color: #ffffff;
	-webkit-text-size-adjust: 100%;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	opacity: 0.8;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* ----------------------------------------------------
   Layout Container
---------------------------------------------------- */
#header, #g_navi, #box, #footer_box {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 固定ヘッダー導入に伴う下層ページのヘッダー被り防止パディング */
body {
	padding-top: 90px; /* 固定ヘッダーの高さ分コンテンツを下げる */
}
body.home {
	padding-top: 0; /* トップページは動画背景を上端から表示するため余白不要 */
}

/* ----------------------------------------------------
   Header & Floating Navigation (Integrated Modern Style)
---------------------------------------------------- */
#site_header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

	/* トップページ以外のデフォルト（最初から固定色のメニューバーとする） */
	background-color: #090d16;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 12px 0;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* トップページ（動画背景のある場所）のみ、最初は透過にする */
.home #site_header {
	background-color: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0;
	box-shadow: none;
}

/* スクロール時のスタイル（全ページ共通） */
#site_header.scrolled {
	background-color: rgba(9, 13, 22, 0.92); /* 半透明のディープネイビー */
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	padding: 12px 0;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#header_container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

#header_logo h1 {
	display: flex;
	align-items: center;
	gap: 15px;
}

#header_logo .custom-logo-link img,
#header_logo .custom-logo {
	/* 下層ページやスクロール時はコンパクトな高さ */
	height: 40px !important;
	width: auto !important;
	object-fit: contain;
	transition: height 0.3s ease;
}

/* トップページのスクロール前のみ、大きめのロゴにする */
.home #site_header:not(.scrolled) #header_logo .custom-logo-link img,
.home #site_header:not(.scrolled) #header_logo .custom-logo {
	height: 48px !important;
}

.header_tagline {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.5px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	padding-left: 12px;
	display: inline-block;
}

#site_header.scrolled .header_tagline {
	color: rgba(255, 255, 255, 0.5);
	border-left-color: rgba(255, 255, 255, 0.1);
}

/* グローバルナビゲーション */
#g_navi {
	display: flex;
	align-items: center;
}

.nav_menu_list {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}

.nav_menu_list li {
	position: relative;
}

.nav_menu_list li a {
	display: block;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 0;
	position: relative;
	transition: color 0.3s ease;
	letter-spacing: 0.5px;
}

/* メニューホバー時のアンダーラインギミック */
.nav_menu_list li a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: #be123c; /* ブランドの赤 */
	transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav_menu_list li a:hover {
	color: #93c5fd; /* ホバー時は明るい青に */
}

.nav_menu_list li a:hover::after,
.nav_menu_list li.current-menu-item a::after {
	width: 100%;
	left: 0;
}

.nav_menu_list li a span {
	font-size: 8px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.45);
	display: block;
	margin-top: 2px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.3s ease;
}

.nav_menu_list li a:hover span {
	color: rgba(147, 197, 253, 0.8);
}

/* ヘッダー右側のお問い合わせ連絡先（PC用） */
#header_contact {
	display: flex;
	align-items: center;
	gap: 15px;
}

.header_btn_tel {
	display: flex;
	flex-direction: column;
	text-align: right;
	color: #ffffff;
	transition: opacity 0.2s ease;
}

.header_btn_tel:hover {
	opacity: 0.85;
}

.tel_label {
	font-size: 9px;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tel_number {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.header_btn_contact {
	display: inline-block;
	background-color: #be123c; /* ブランドカラーの赤 */
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 20px;
	border-radius: 50px;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(190, 18, 60, 0.3);
	transition: all 0.3s ease;
}

.header_btn_contact:hover {
	background-color: #991b1b;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(190, 18, 60, 0.4);
}

#site_header.scrolled .header_btn_contact {
	background-color: #be123c;
}

/* ----------------------------------------------------
   Hero Video Background Area (Cinematic Visual)
---------------------------------------------------- */
#video_hero {
	position: relative;
	width: 100%;
	height: 80vh; /* 画面高さの80% */
	min-height: 500px;
	overflow: hidden;
	background-color: #090d16;
}

.hero_video_bg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	z-index: 1;
	filter: brightness(0.65) contrast(1.05); /* 動画自体の明度を抑えてテキストを引き立たせる */
}

/* 動画の上のダークグラデーションオーバーレイ */
.hero_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(9, 13, 22, 0.85) 0%, rgba(9, 13, 22, 0.25) 50%, rgba(9, 13, 22, 0.85) 100%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	perspective: 1000px; /* 3Dチルト効果用 */
}

/* パーティクル用キャンバス */
#hero_particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

/* オープニングローダー＆斜めシャッター */
.hero_loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	overflow: hidden;
	pointer-events: none;
}

.hero_loader:not(.loaded) {
	pointer-events: auto;
}

.loader_shutter {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #090d16;
	z-index: 101;
	transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

/* 斜めのシャッター切り抜き（clip-pathによる対角線スプリット） */
.shutter_left {
	clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%);
}

.shutter_right {
	clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%);
}

/* 境界線をより際立たせるための影（直線の黒枠が広がる演出） */
.shutter_left::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: inset -10px 0 30px rgba(0, 0, 0, 0.95);
	pointer-events: none;
}
.shutter_right::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: inset 10px 0 30px rgba(0, 0, 0, 0.95);
	pointer-events: none;
}

/* ローディングスピナー */
.loader_spinner_wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 102;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader_spinner {
	width: 60px;
	height: 60px;
	border: 4px solid rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	border-top-color: #3b82f6; /* コーポレートブルー */
	border-bottom-color: #be123c; /* アクセントレッド */
	animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ローディング完了時のシャッター移動 */
.hero_loader.loaded .loader_spinner_wrap {
	opacity: 0;
	visibility: hidden;
}

.hero_loader.loaded .shutter_left {
	transform: translateX(-100%);
}

.hero_loader.loaded .shutter_right {
	transform: translateX(100%);
}

.hero_content {
	max-width: 950px;
	text-align: center;
	color: #ffffff;
	z-index: 3;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	position: relative;
	transition: none;
}

.hero_title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.6;
	margin-bottom: 24px;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
	letter-spacing: 1px;
	opacity: 0; /* JSロード前のチラつき防止 */
}

.hero_desc {
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	letter-spacing: 0.5px;
	opacity: 0; /* JSロード前のチラつき防止 */
}

/* 1文字ずつのフェードイン・スライドアップ */
.char {
	display: inline-block;
	opacity: 0;
	transform: translateY(15px) scale(0.95);
	filter: blur(3px);
	animation: charFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes charFadeIn {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

/* アニメーションギミック (コンテナ全体がふわっと表示) */
.animate_fade_up {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 0.2s;
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* SCROLL ダウンインジケーター */
.scroll_indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.scroll_indicator:hover {
	opacity: 1;
}

.scroll_text {
	font-size: 9px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-indent: 3px;
}

.scroll_mouse {
	width: 20px;
	height: 32px;
	border: 2px solid #ffffff;
	border-radius: 20px;
	position: relative;
}

.scroll_wheel {
	width: 4px;
	height: 8px;
	background-color: #be123c; /* ブランドの赤 */
	border-radius: 2px;
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	animation: scrollWheel 1.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollWheel {
	0% {
		top: 6px;
		opacity: 1;
		height: 4px;
	}
	50% {
		top: 14px;
		opacity: 0.5;
		height: 8px;
	}
	100% {
		top: 20px;
		opacity: 0;
		height: 4px;
	}
}

/* カテゴリヘッダーバナー */
.category_banner {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	margin-top: 30px;
	margin-bottom: 30px;
}

.category_banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: contrast(1.02) brightness(0.8) saturate(1.05);
}

.category_banner_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 100%);
	display: flex;
	align-items: center;
	padding: 0 10%;
}

.category_banner_content {
	color: #ffffff;
}

.cat_banner_sub {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #93c5fd;
	margin-bottom: 8px;
}

.cat_banner_title {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 1px;
	margin: 0;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ----------------------------------------------------
   Main Content Area (2 Columns)
---------------------------------------------------- */
#box {
	margin-top: 30px;
	margin-bottom: 40px;
}

#img_top + #box,
.category_banner + #box {
	margin-top: 0;
}

#main_cont {
	display: flex;
	gap: 30px;
	flex-direction: row-reverse; /* サイドバーを左、メインコンテンツを右にする */
}

#cl {
	flex: 1;
	min-width: 0; /* flexの子要素がはみ出さないように */
}

#cr {
	width: 240px;
	flex-shrink: 0;
}

/* ----------------------------------------------------
   Left Column (Content)
---------------------------------------------------- */
article, section {
	background-color: #ffffff;
	border: none;
	border-radius: 0;
	padding: 20px 0;
	margin-bottom: 25px;
}

/* Titles */
#new_t, #rental_t, #tit_top_news, #tit_Heavy_industrial_machine, #tit_top_t, #tit_company, #tit_access, #tit_action, #tit_contact, #sold_t, #tit_truck_intro {
	border-bottom: 1px solid #000000;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 25px;
}

#new_t h3, #rental_t h3, #tit_top_news h2, #tit_Heavy_industrial_machine h2, #tit_top_t h2, #tit_company h2, #tit_access h2, #tit_action h2, #tit_contact h2, #sold_t h3, #tit_truck_intro h2 {
	font-size: 18px;
	font-weight: bold;
	color: #000000;
	display: flex;
	align-items: center;
}

#new_t::after, #rental_t::after, #tit_top_news::after, #tit_Heavy_industrial_machine::after, #tit_top_t::after, #tit_company::after, #tit_access::after, #tit_action::after, #tit_contact::after, #sold_t::after, #tit_truck_intro::after {
	display: none;
}

/* Product Cards Grid */
#new_product, .product_grid_wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 15px;
}

.product {
	position: relative;
	border: 1px solid #f1f5f9;
	border-radius: 10px;
	overflow: hidden;
	background-color: #ffffff;
	text-align: center;
	padding: 12px;
	box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
}

.product img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 8px;
}

.product_name {
	font-size: 12px;
	font-weight: bold;
	color: #1e293b;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.product a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
	overflow: hidden;
}

/* News List */
#news_box {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.news {
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
}

.news:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.news_day {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 6px;
	letter-spacing: 0.5px;
}

.news_title {
	font-size: 15px;
	font-weight: 700;
	color: #1e3a8a; /* メインカラーのディープブルー */
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
	border-left: 3px solid #be123c; /* ブランドカラーのディープレッド */
	padding-left: 8px;
	line-height: 1.4;
}

.news_badge_new {
	font-size: 9px;
	background-color: #be123c; /* ブランドカラーのディープレッド */
	color: #ffffff;
	padding: 2px 6px;
	border-radius: 3px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1;
}

.news_detaild {
	font-size: 13px;
	color: #334155;
	line-height: 1.7;
	padding-left: 11px; /* タイトルのインデントに合わせる */
}

.news_detaild p {
	margin-bottom: 10px;
}

.news_detaild p:last-child {
	margin-bottom: 0;
}

/* ----------------------------------------------------
   Right Column (Sidebar)
---------------------------------------------------- */
#cr nav {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#cr h2 {
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
	padding: 8px 12px;
	border-radius: 4px;
	margin-bottom: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#cr #right_tit_rental h2 {
	background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
}

#cr #right_tit_contact h2 {
	background: linear-gradient(90deg, #be123c 0%, #e11d48 100%);
}

.cr_btn {
	margin-bottom: 8px;
}

.cr_btn div a {
	display: block;
	padding: 25px 15px;
	background-color: #1e293b;
	background-size: cover;
	background-position: center;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.cr_btn div a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(30, 41, 59, 0.65); /* 半透明のネイビーマスク */
	z-index: -1;
	transition: background-color 0.2s ease;
}

.cr_btn div a:hover::before {
	background-color: rgba(30, 41, 59, 0.45); /* ホバー時に明るく */
}

/* 個別ボタンの背景画像定義 */
#btn_Heavy_industrial_machine a {
	background-image: url('img/bg_heavy.jpg');
}
#btn_Truck a {
	background-image: url('img/bg_truck.jpg');
}
#btn_Parts_Attachment a {
	background-image: url('img/bg_parts.jpg');
}

.cr_btn div a::after {
	content: "›";
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	color: #ffffff;
	z-index: 2;
}

.cr_btn div a:hover {
	color: #ffffff;
	border-color: #94a3b8;
}

#right_tel {
	text-align: center;
	margin-bottom: 10px;
}

#right_tel img {
	width: 100%;
	height: auto;
}

.contact_link a {
	display: block;
	text-align: center;
	background-color: #be123c;
	color: #ffffff;
	padding: 12px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 14px;
}

.contact_link a:hover {
	background-color: #991b1b;
}

.googlemap iframe {
	width: 100%;
	border: 1px solid #cbd5e1 !important;
	border-radius: 4px;
}

.minimini {
	font-size: 11px;
	color: #64748b;
	margin-top: 5px;
	text-align: center;
}

.right_blog_list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.right_blog_list li {
	border-bottom: 1px dashed #cbd5e1;
	padding-bottom: 8px;
}

.right_blog_list li:last-child {
	border-bottom: none;
}

.right_blog_list a {
	font-size: 12px;
	color: #475569;
	display: block;
	line-height: 1.4;
}

.right_blog_list a:hover {
	color: #2563eb;
}

/* ----------------------------------------------------
   Product Search Area (Archive Page)
---------------------------------------------------- */
#search {
	background-color: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 15px;
	margin-bottom: 20px;
}

#search_sub_cate {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
	margin-bottom: 15px;
}

#search_sub_cate div {
	display: flex;
	align-items: center;
	background-color: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 12px;
	cursor: pointer;
}

#search_sub_cate input[type="radio"] {
	margin-right: 6px;
}

#search_box_m {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	flex-wrap: wrap;
}

#search_box_m select {
	padding: 6px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	background-color: #ffffff;
	font-size: 13px;
	min-width: 150px;
}

.btn_search {
	background-color: #1e293b;
	color: #ffffff;
	border: none;
	padding: 6px 20px;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.btn_search:hover {
	background-color: #0f172a;
}

/* ----------------------------------------------------
   Paging
---------------------------------------------------- */
#paging_top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	font-size: 13px;
	color: #475569;
	border-bottom: 1px solid #cbd5e1;
	padding-bottom: 10px;
}

#pages span, #pages a {
	display: inline-block;
	padding: 2px 8px;
	margin: 0 2px;
}

#pages span b {
	font-weight: bold;
	color: #1e293b;
}

#pages i {
	color: #cbd5e1;
}

/* ----------------------------------------------------
   Product List View (Archive Page)
---------------------------------------------------- */
#product_list_box {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.product_list {
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	padding: 24px;
	background-color: #ffffff;
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.product_list:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

.product_list_name {
	font-size: 16px;
	font-weight: bold;
	color: #1e293b;
	border-bottom: 1px solid #cbd5e1;
	padding-bottom: 5px;
	margin-bottom: 15px;
}

.product_list_photo {
	margin-bottom: 15px;
	text-align: center;
}

.product_list_photo img {
	max-height: 300px;
	object-fit: contain;
	border-radius: 4px;
}

.product_list_detaild_box {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.product_list_detaild,
.product_list_detaild2 {
	flex: 1;
	min-width: 250px;
	width: 100%;
}

.product_list_detaild th, .product_list_detaild td,
.product_list_detaild2 th, .product_list_detaild2 td {
	border: 1px solid #cbd5e1;
	padding: 8px 12px;
	font-size: 13px;
}

.product_list_detaild th,
.product_list_detaild2 th {
	background-color: #f1f5f9;
	font-weight: bold;
	width: 30%;
	text-align: left;
}

.product_list_detaild td,
.product_list_detaild2 td {
	background-color: #ffffff;
}

.remark_t {
	white-space: pre-wrap;
}

.appraisal_t img {
	height: 24px;
	width: auto;
}

.price_t {
	font-weight: bold;
}

.price_t .price {
	color: #dc2626;
	font-size: 16px;
}

.price_t .bb {
	color: #eab308; /* HOLD */
}

.price_t .rb {
	color: #2563eb; /* ASK */
}

.detaild_infomation {
	text-align: center;
}

.detaild_infomation_link a {
	display: inline-block;
	background-color: #1e3a8a; /* メインカラーのディープブルー */
	color: #ffffff !important; /* 文字色を確実に白にする */
	padding: 10px 30px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 14px;
	transition: background-color 0.2s ease;
}

.detaild_infomation_link a:hover {
	background-color: #2563eb;
	color: #ffffff !important;
}

/* ----------------------------------------------------
   Product Detail (Single Page)
---------------------------------------------------- */
#product {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#product_name {
	font-size: 20px;
	font-weight: bold;
	color: #1e293b;
	border-bottom: 2px solid #1e293b;
	padding-bottom: 5px;
}

.btn_back {
	float: right;
}

.btn_back a, .detaild_back_link a {
	background-color: #64748b;
	color: #ffffff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
}

.btn_back a:hover, .detaild_back_link a:hover {
	background-color: #475569;
}

#product_photo {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

#product_main {
	text-align: center;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 10px;
	background-color: #ffffff;
}

#product_main img {
	max-height: 450px;
	width: auto;
	object-fit: contain;
}

#product_thum ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
	gap: 10px;
}

#product_thum li {
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	background-color: #ffffff;
	aspect-ratio: 4/3;
}

#product_thum img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#product_thum img:hover {
	opacity: 0.7;
}

#detaild_box {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.caption {
	width: 100%;
	margin-top: 15px;
	font-size: 11px;
	color: #64748b;
}

.caption td {
	padding: 3px 5px;
}

#download {
	margin-top: 15px;
	text-align: right;
}

.btn_download {
	background-color: #0284c7;
	color: #ffffff;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn_download:hover {
	background-color: #0369a1;
}

#contact {
	margin-top: 20px;
	background-color: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 6px;
	padding: 15px;
}

.detaild_infomation a {
	display: block;
	color: #ea580c;
	font-weight: bold;
	font-size: 15px;
}

.detaild_back {
	margin-top: 20px;
	text-align: center;
}

.detaild_back_link a {
	padding: 8px 30px;
	font-size: 14px;
}

/* ----------------------------------------------------
   Static Pages (Company, Purchase, Sale)
---------------------------------------------------- */
#mese, #mese2 {
	margin-bottom: 25px;
	font-size: 14px;
	line-height: 1.8;
	color: #334155;
}

#mese p, #mese2 p {
	margin-bottom: 12px;
}

table.company {
	width: 100%;
	margin-bottom: 30px;
}

table.company th, table.company td {
	border: 1px solid #e2e8f0;
	padding: 12px 15px;
	font-size: 14px;
}

table.company th {
	background-color: #f8fafc;
	font-weight: bold;
	width: 25%;
	text-align: left;
	color: #1e293b;
}

table.company td {
	color: #334155;
}

.map_wrapper {
	margin-bottom: 30px;
}

.map_wrapper h2 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
	color: #1e293b;
}

.map_wrapper iframe {
	width: 100%;
	height: 350px;
	border: 1px solid #e2e8f0 !important;
	border-radius: 6px;
}

/* ----------------------------------------------------
   Contact Form Page
---------------------------------------------------- */
#caption p {
	font-size: 13px;
	margin-bottom: 15px;
}

.h3 {
	font-size: 14px;
	font-weight: bold;
	color: #1e293b;
	margin-top: 20px;
	margin-bottom: 8px;
}

.naiyo {
	margin-bottom: 20px;
}

.naiyo input[type="text"].w,
.naiyo select,
.naiyo textarea.w_t {
	width: 100%;
	padding: 10px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	font-size: 14px;
	outline: none;
}

.naiyo input[type="text"].w:focus,
.naiyo select:focus,
.naiyo textarea.w_t:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.naiyo textarea.w_t {
	height: 150px;
	resize: vertical;
}

.naiyo input[type="text"].w_yubin {
	width: 80px;
	padding: 8px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	text-align: center;
}

.naiyo input[type="text"].w_tel {
	width: 200px;
	padding: 8px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
}

.naiyo p {
	margin-bottom: 10px;
}

.btn_send {
	background-color: #be123c;
	color: #ffffff;
	border: none;
	padding: 12px 40px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.btn_send:hover {
	background-color: #991b1b;
}

.form_submit_box {
	text-align: center;
	margin-top: 30px;
}

.error_message {
	color: #dc2626;
	font-size: 13px;
	margin-top: 5px;
}

.success_box {
	background-color: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	padding: 20px;
	border-radius: 6px;
	text-align: center;
	margin-bottom: 20px;
}

/* ----------------------------------------------------
   Footer
---------------------------------------------------- */
footer {
	background-color: #090d16;
	color: #94a3b8;
	padding: 30px 0;
	border-top: 3px solid #be123c;
}

#footer_box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

#footer_logo img {
	max-height: 40px;
}

#footer_add p {
	font-size: 13px;
	line-height: 1.6;
}

#copyright {
	font-size: 11px;
	margin-top: 10px;
}

#copyright a {
	color: #64748b;
}

#page-top, #page_top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99;
}

#page-top a, #page_top a {
	display: block;
	width: 50px;
	height: 50px;
	background-color: #334155;
	color: #ffffff;
	text-align: center;
	line-height: 50px;
	border-radius: 50%;
	font-size: 10px;
	font-weight: bold;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#page-top a:hover, #page_top a:hover {
	background-color: #1e293b;
}

/* ----------------------------------------------------
   Responsive (Smartphones)
---------------------------------------------------- */
@media screen and (max-width: 768px) {
	body {
		padding-top: 70px; /* スマホ用固定ヘッダー高さ分下げる */
	}
	body.home {
		padding-top: 0;
	}

	#site_header {
		background-color: rgba(9, 13, 22, 0.95); /* スマホは最初から半透明ネイビーで視認性確保 */
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		padding: 12px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	#header_container {
		padding: 0 16px;
	}

	#header_logo h1 {
		gap: 8px;
	}

	#header_logo .custom-logo-link img,
	#header_logo .custom-logo {
		height: 36px !important;
	}

	.header_tagline {
		display: none; /* スマホではサブテキストを非表示にして省スペース化 */
	}

	#header_contact {
		display: none; /* スマホではPC用ボタン類を非表示 */
	}

	/* スマホ用ハンバーガーメニューボタン（3本線 ➡ ✕アニメーション） */
	.nav-toggle {
		display: block;
		width: 28px;
		height: 20px;
		position: relative;
		cursor: pointer;
		background: transparent;
		padding: 0;
		border: none;
		z-index: 10000;
	}

	.nav-toggle span {
		display: block;
		position: absolute;
		height: 2px;
		width: 100%;
		background: #ffffff;
		border-radius: 2px;
		opacity: 1;
		left: 0;
		transform: rotate(0deg);
		transition: all 0.25s ease-in-out;
	}

	.nav-toggle span:nth-child(1) { top: 0px; }
	.nav-toggle span:nth-child(2) { top: 9px; }
	.nav-toggle span:nth-child(3) { top: 18px; }

	.nav-toggle.active span:nth-child(1) {
		top: 9px;
		transform: rotate(135deg);
	}
	.nav-toggle.active span:nth-child(2) {
		opacity: 0;
		left: -60px;
	}
	.nav-toggle.active span:nth-child(3) {
		top: 9px;
		transform: rotate(-135deg);
	}

	/* スマホメニューのドロワー展開 */
	#g_navi {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: rgba(9, 13, 22, 0.98);
		backdrop-filter: blur(16px);
		border-top: 1px solid rgba(255, 255, 255, 0.05);
		border-bottom: 3px solid #be123c;
		display: none;
		flex-direction: column;
		padding: 20px 24px;
		box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
	}

	#g_navi.open {
		display: flex;
		animation: slideDownMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	}

	@keyframes slideDownMenu {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.nav_menu_list {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	.nav_menu_list li a {
		padding: 10px 0;
		font-size: 15px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	.nav_menu_list li:last-child a {
		border-bottom: none;
	}

	.nav_menu_list li a::after {
		display: none; /* スマホではアンダーラインエフェクトを非表示 */
	}

	.nav_menu_list li a span {
		display: inline;
		margin-left: 10px;
		font-size: 10px;
	}

	/* スマホのヒーロー動画エリア */
	#video_hero {
		height: 60vh; /* スマホは少し高さを抑える */
		min-height: 350px;
	}

	.hero_title {
		font-size: 20px;
		line-height: 1.4;
		margin-bottom: 12px;
	}

	.hero_desc {
		font-size: 12px;
		line-height: 1.6;
	}

	.scroll_indicator {
		bottom: 15px;
	}

	.scroll_mouse {
		width: 16px;
		height: 26px;
	}

	.scroll_wheel {
		width: 3px;
		height: 6px;
	}

	#main_cont {
		flex-direction: column;
	}

	#cr {
		width: 100%;
	}

	.product_list_detaild_box {
		flex-direction: column;
		gap: 10px;
	}

	table.company th, table.company td {
		padding: 8px 10px;
		font-size: 12px;
	}

	table.company th {
		width: 35%;
	}

	.map_wrapper iframe {
		height: 250px;
	}
}

/* ----------------------------------------------------
   Company Profile Philosophy Styles (Simple & Clean)
   ---------------------------------------------------- */
.company_philosophy_section {
	margin-bottom: 40px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.philosophy_main_title {
	font-family: "HG正楷書体-PRO", "HGS正楷書体-PRO", "UD デジタル教科書体 N-R", "UD Digi Kyokasho", "BIZ UDMincho", "YuMincho", "Yu Mincho", "MS Mincho", serif;
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	text-align: center;
	margin-bottom: 30px;
	letter-spacing: 2px;
	line-height: 1.6;
	border-bottom: 1px solid #000000;
	padding-bottom: 15px;
	text-shadow: none;
}

.philosophy_sub_motto {
	font-size: 16px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 20px;
	text-align: center;
	letter-spacing: 1px;
}

.philosophy_block {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: none;
}

.philosophy_block:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.philosophy_block h3.philosophy_title {
	font-size: 16px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 15px;
	border-bottom: 1px solid #000000;
	padding-bottom: 5px;
}

.philosophy_block h3.philosophy_title::before {
	display: none;
}

.philosophy_content {
	font-size: 14px;
	color: #000000;
	line-height: 1.8;
}

.motto_text {
	font-size: 18px;
	font-weight: 700;
	color: #000000;
	text-align: center;
	background: transparent;
	padding: 5px 0;
	border: none;
	letter-spacing: 1.5px;
	line-height: 1.6;
}

.guidelines_list {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.guidelines_list li {
	position: relative;
	padding: 5px 0 5px 20px;
	background: transparent;
	border: none;
	font-size: 14px;
	color: #000000;
}

.guidelines_list li:hover {
	background: transparent;
}

.guidelines_list li .num {
	position: absolute;
	left: 0;
	top: 5px;
	font-size: 14px;
	font-weight: 700;
	color: #000000;
}

/* 代表の言葉ボックス */
.president_msg_box {
	position: relative;
	background: transparent;
	border: none;
	padding: 15px 0 0 0;
	border-radius: 0;
	margin-top: 15px;
	box-shadow: none;
}

.quote_icon_left, .quote_icon_right {
	display: none;
}

.president_msg_text {
	position: relative;
	z-index: 2;
	font-size: 14px;
	line-height: 2.0;
	color: #000000;
	letter-spacing: 1px;
	text-align: left;
}

.president_signature {
	text-align: right;
	margin-top: 20px;
	font-weight: 700;
	font-size: 14px;
	color: #000000;
	letter-spacing: 1px;
	border-top: none;
	padding-top: 10px;
}

@media (max-width: 768px) {
	.company_philosophy_section {
		padding: 20px 0;
	}
	
	.philosophy_main_title {
		font-size: 20px;
		letter-spacing: 1px;
		margin-bottom: 25px;
		padding-bottom: 12px;
	}
	
	.motto_text {
		font-size: 15px;
		padding: 5px 0;
	}
	
	.president_msg_box {
		padding: 10px 0 0 0;
	}
	
	.president_msg_text {
		font-size: 13px;
		line-height: 1.8;
		letter-spacing: 0.5px;
	}
}

/* ----------------------------------------------------
   Homepage Additional Custom Layouts
   ---------------------------------------------------- */
.product_cat_section {
	margin-bottom: 30px;
}

.product_cat_section:last-child {
	margin-bottom: 0;
}

.product_cat_subtitle {
	font-size: 14px;
	font-weight: bold;
	color: #000000;
	margin-bottom: 12px;
	padding-left: 8px;
	border-left: 3px solid #000000;
	line-height: 1.2;
}

/* 自社輸送トラックのご紹介 */
.truck_intro_container {
	display: flex;
	gap: 25px;
	align-items: center;
	margin-top: 15px;
}

.truck_intro_image {
	flex: 1;
	max-width: 45%;
}

.truck_intro_image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 4px;
}

.truck_intro_content {
	flex: 1.2;
}

.truck_intro_content p {
	font-size: 14px;
	line-height: 2.0;
	color: #000000;
	margin: 0;
}

@media screen and (max-width: 768px) {
	.truck_intro_container {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
	
	.truck_intro_image {
		max-width: 100%;
		width: 100%;
	}
	
	.truck_intro_content {
		width: 100%;
	}
	
	.truck_intro_content p {
		font-size: 13px;
		line-height: 1.8;
	}
}

