@charset "UTF-8";
/* ==========================================================
   スマートフォン表示用（2026-11-16 Claude 追加）
   - 画面の幅が767px以下のときだけ効きます。PCの見た目は変わりません。
   - 読み込みは include/navigation.php・navigation_e.php・navigation_ssl.php から。
   ========================================================== */

/* PCではメニューボタンを出さない */
.spMenuBtn { display: none; }

@media screen and (max-width: 767px) {

	/* ---------- 全体 ---------- */
	html { -webkit-text-size-adjust: 100%; }
	body { min-width: 0 !important; overflow-x: hidden; }
	.w990 { width: auto !important; padding-left: 12px !important; padding-right: 12px !important; box-sizing: border-box; }
	img { max-width: 100%; height: auto; }
	article, aside, section, nav, form, div, p, ul, ol, dl, dt, dd, li, h1, h2, h3, h4, h5, iframe, object, video {
		max-width: 100%;
		box-sizing: border-box;
	}
	iframe { width: 100% !important; }
	#sideNav, #gototop { display: none !important; }

	/* ---------- ヘッダー ---------- */
	header.mainHeader, .headerInner { height: auto !important; }
	.headerTitle { float: none !important; width: auto !important; }
	.headerTitle h1 { width: auto !important; height: auto !important; font-size: 11px !important; line-height: 1.5 !important; padding: 4px 0 !important; white-space: normal !important; overflow: visible !important; }
	.headerSearch, .headerSearch_e { display: none !important; }

	.logoAndNav { position: relative; height: auto !important; padding-top: 8px !important; padding-bottom: 8px !important; }
	.headerLogo { float: none !important; width: 70px !important; height: auto !important; }
	.headerLogo img { width: 70px !important; height: auto !important; }

	.headerNav, .headerNav_e { float: none !important; width: auto !important; height: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
	.headerNav nav, .headerNav_e nav { width: auto !important; height: auto !important; }

	/* メニューボタン（☰） */
	.spMenuBtn {
		display: block;
		position: absolute; top: 18px; right: 12px;
		width: 64px; height: 44px; padding: 0; margin: 0;
		border: 1px solid #45679a; border-radius: 4px;
		background: #fff; color: #45679a;
		font-size: 12px; font-weight: bold; line-height: 1.2;
		cursor: pointer; -webkit-appearance: none; appearance: none;
	}
	.spMenuBtn span { display: block; font-size: 18px; line-height: 1; }

	/* メニュー本体：ボタンで開け閉め */
	.navigation, .navigation_e { display: none !important; width: auto !important; height: auto !important; margin: 10px 0 0 !important; border-top: 1px solid #d5dce8; }
	.spMenuOpen .navigation, .spMenuOpen .navigation_e { display: block !important; }
	.navigation li, .navigation_e li { float: none !important; width: auto !important; height: auto !important; margin: 0 !important; border-bottom: 1px solid #d5dce8; background: none !important; }
	.navigation li a, .navigation_e li a {
		display: block !important; width: auto !important; height: auto !important;
		text-indent: 0 !important; background: none !important;
		padding: 13px 8px !important; font-size: 15px !important; line-height: 1.4 !important;
		color: #1d3f72 !important; text-decoration: none !important; text-align: left !important;
	}
	.navigation li a::after, .navigation_e li a::after { content: "›"; float: right; color: #9aa9c2; }

	/* パンくず */
	.pannavWrapper { height: auto !important; }
	.pannavContents { height: auto !important; }
	.pannavContents li { font-size: 11px !important; line-height: 1.8 !important; }

	/* ---------- 本文と左メニュー ---------- */
	section.main { display: flex !important; flex-direction: column; margin-top: 20px !important; }
	section.main::before, section.main::after { display: none !important; }
	.rightMainContents, .leftContents, .fullMainContents { float: none !important; width: auto !important; }
	.rightMainContents { order: 1; margin-left: 0 !important; }
	.leftContents { order: 2; margin-top: 40px !important; }
	.fullMainContents { margin-top: 20px !important; }

	.rightMainContents h1, .rightMainContents h2, .rightMainContents h3,
	.fullMainContents h1, .fullMainContents h2, .fullMainContents h3 {
		width: auto !important; height: auto !important; line-height: 1.5 !important;
	}
	.rightMainContents p, .fullMainContents p { width: auto !important; }

	/* 横に並んだ箱は縦に積む */
	.productMain .productboxL, .productMain .productboxR, .productMain .productIntro .text,
	.newsArticleImg01, .newsArticleImg02, .os2col, .ledLineupL, .ledLineupR,
	.probestation1L, .probestation1R, .probestation3L, .probestation3R, .sitemap ul li {
		float: none !important; width: auto !important; margin-left: 0 !important; margin-right: 0 !important;
	}
	.newsListIndex dt, .newsListIndex dd { float: none !important; width: auto !important; }
	.productList { float: none !important; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
	.productList h3, .productList ul, .productList ul li { width: auto !important; }
	.overseaSplash { height: auto !important; margin-bottom: 20px !important; }
	.faqAc, .faqQ span.faqTitle, .faqCat h2 { width: auto !important; }

	/* 表：はみ出す表は横にスクロール */
	.rightMainContents table, .fullMainContents table {
		display: block; width: auto !important; max-width: 100%;
		overflow-x: auto; -webkit-overflow-scrolling: touch;
	}
	.rightMainContents table th, .rightMainContents table td,
	.fullMainContents table th, .fullMainContents table td { min-width: 4.5em; }
	table.type02 th, table.type02 td { white-space: nowrap; }
	/* 会社概要・フォームの表は縦に並べる */
	table.companyTable, table.formTable, table.etable { display: table !important; width: 100% !important; }
	table.companyTable th, table.companyTable td,
	table.formTable th, table.formTable td,
	table.etable th, table.etable td {
		display: block !important; width: auto !important; min-width: 0; box-sizing: border-box;
	}
	table.pSpecListTable th, table.pSpecListTable td { min-width: 0; }
	.formTable input[type="text"], .formTable input[type="email"], .formTable input[type="tel"],
	.formTable textarea, .formTable select { max-width: 100% !important; box-sizing: border-box; }
	.formTable input[type="text"], .formTable textarea { width: 100% !important; }
	.sendBtnWrapper { width: auto !important; }

	/* 左メニュー（本文の下に出す） */
	.leftMenu, .sideWhatsnew, .leftBanner, .leftBanner ul, .leftBanner li { width: auto !important; }
	.sideWhatsnew h2, .sideWhatsnewTab { width: auto !important; }
	.leftBanner li { float: none !important; text-align: center; }

	/* ---------- トップページ ---------- */
	section.mainVisual, .splash_e_index { width: auto !important; height: 190px !important; background-size: cover !important; background-position: 30% center !important; }
	section.mainVisual p { width: auto !important; }

	.topNavi ul, .topPickup ul, .topLink ul { width: auto !important; height: auto !important; }
	.topNavi ul, .topPickup ul { display: flex !important; flex-wrap: wrap; }
	.topNavi ul::before, .topNavi ul::after, .topPickup ul::before, .topPickup ul::after { display: none !important; }
	.topNavi ul li, .topPickup ul li {
		display: flex !important; float: none !important; width: 50% !important; height: auto !important; margin: 0 !important; padding: 4px !important;
	}
	.topNavi ul li a, .topPickup ul li a {
		flex: 1 1 auto; display: flex !important; align-items: center; justify-content: center;
		width: auto !important; height: auto !important;
		text-indent: 0 !important; background: #f3f6fa !important;
		border: 1px solid #c9d3e3; border-radius: 4px;
		padding: 14px 6px !important; text-align: center !important;
		font-size: 14px !important; line-height: 1.4 !important; color: #1d3f72 !important; text-decoration: none !important;
	}
	.topPickup h1, .topNewsArea h1 { width: auto !important; }
	.topWhatsnewTab { width: auto !important; height: auto !important; }
	.topWhatsnewTab li { float: left !important; width: 50% !important; height: auto !important; }
	.topWhatsnewTab li a {
		display: block !important; width: auto !important; height: auto !important;
		text-indent: 0 !important; background: #45679a !important; color: #fff !important;
		padding: 10px 4px !important; margin: 0 2px !important; text-align: center !important;
		font-size: 13px !important; text-decoration: none !important;
	}
	.topWhatsnewPanel, .topWhatsnewPanel > li, #topWhatsnewInfonews { width: auto !important; }
	.topLink ul li { float: left !important; width: 50% !important; height: auto !important; padding: 4px !important; margin: 0 !important; }
	.topLink ul li a { width: auto !important; height: auto !important; }

	/* ---------- フッター ---------- */
	footer.mainFooter { margin-top: 50px !important; height: auto !important; }
	.footerInner { height: auto !important; }
	.footerLogo, .footerUpper, .footerAddress, .footerTel, .footerInq, .footerTel_e, .footerFax_e,
	.footerNavi, .footerNaviL, .footerNaviR, .copyright {
		float: none !important; width: auto !important; height: auto !important; margin-left: 0 !important; margin-right: 0 !important;
	}
	.footerUpper { display: block !important; }
	.footerUpper > div { display: block !important; margin-bottom: 10px !important; }
	.footerAddress { padding-top: 0 !important; }
	.footerTel { text-align: left !important; }
	.footerTel img, .footerFax img { width: auto !important; max-width: 100%; }
	.footerInq a {
		display: block !important; width: auto !important; height: auto !important;
		text-indent: 0 !important; background: #45679a !important; color: #fff !important;
		padding: 12px !important; text-align: center !important; font-size: 15px !important;
		border-radius: 4px; text-decoration: none !important;
	}
	.footerNavi { margin-top: 20px !important; }
	.footerNaviL ul li, .footerNaviR ul li { float: left !important; width: 50% !important; }
	.footerNaviL ul::after, .footerNaviR ul::after { content: ""; display: block; clear: both; }
	.copyright { font-size: 11px !important; }
}
