@charset "utf-8";
/*
Theme Name: asukadenshi-new
*/

/* ==================================================
	目次

	 1. 色の設定
	 2. リセットと基本
	 3. 汎用クラス（文字・余白など）
	 4. ヘッダー（ロゴ・電話番号・言語切り替え）
	 5. メニュー（青いメニューとプルダウン）
	 6. フッター
	 7. 背景の動画
	 8. ページの枠組み（記事の枠・右メニュー・見出し）
	 9. トップページ（スライド・お知らせ・商品など）
	10. 下層ページ（会社概要・お問い合わせ・在庫情報など）
	11. Google翻訳の表示調整

	「動画があるとき」の指定は body:is(.has_bg_video, :has(#bg_video)) で始まります。
	動画を設定していないときは、白いヘッダーと灰色の背景で表示されます。
================================================== */


/* ==================================================
	1. 色の設定（ここを変えると、サイト全体の色が変わります）
================================================== */
:root {
	--asuka-blue: #035ca0;                       /* 会社の青 */
	--asuka-orange: #de970f;                     /* アクセントのオレンジ */
	--asuka-navy: rgba(4, 34, 70, 0.9);          /* 見出しの帯の紺 */
	--asuka-glass: rgba(255, 255, 255, 0.9);     /* すりガラス風の白い枠 */
	--asuka-glass-line: rgba(255, 255, 255, 0.55);
	--asuka-glass-shadow: 0 14px 44px rgba(2, 18, 38, 0.32);
	--asuka-glass-blur: blur(16px) saturate(130%);
}


/* ==================================================
	2. リセットと基本
================================================== */
html, body, div, span, nav, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

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

html {
	width: 100%;
}

body {
	width: 100%;
	overflow-x: hidden;
	color: #333333;
	font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-size: 100%;
}

p {
	line-height: 1.6;
}

img {
	vertical-align: text-bottom;
}

strong {
	font-weight: bold;
}

ol, ul {
	list-style: none;
}

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

caption, th, td {
	font-weight: normal;
	text-align: left;
	vertical-align: top;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

option {
	padding-right: 10px;
}

a {
	outline: none;
	transition: 0.2s ease-in-out;
}

a:focus {
	overflow: hidden;
}

a:hover {
	opacity: 0.6;
}


/* ==================================================
	3. 汎用クラス（固定ページの本文で使うもの）
================================================== */
.under_line { text-decoration: underline; }

.font_red   { color: #FF0000; }
.font_blue  { color: #0000FF; }
.font_white { color: #FFFFFF; }
.blue       { color: #6666FF; }

.font_10 { font-size: 10px; }
.font_12 { font-size: 12px; }
.font_14 { font-size: 14px; }
.font_16 { font-size: 16px; }

.bold { font-weight: bold; }
.sym  { font-family: 'ＭＳ ゴシック', Arial, sans-serif; }

.ma10 { margin: 10px; }
.ma20 { margin: 20px; }
.ma30 { margin: 30px; }

.mat10 { margin-top: 10px; }
.mat20 { margin-top: 20px; }
.mat30 { margin-top: 30px; }

.mab10 { margin-bottom: 10px; }
.mab20 { margin-bottom: 20px; }
.mab30 { margin-bottom: 30px; }

.pa10 { padding: 10px; }
.pa20 { padding: 20px; }
.pa30 { padding: 30px; }

.clearfix:after {
	content: "";
	clear: both;
	display: block;
}

.center     { text-align: center; }
.text_right { text-align: right; }
.text_left  { text-align: left; }

.float_right { float: right; }
.float_left  { float: left; }

.indent  { margin-left: 1em; }
.img_100 { width: 100%; }

.sentence {
	padding-left: 1em;
	text-indent: -1em;
}

.shadow {
	box-shadow: #CCC 1px 1px 3px;
}

.w60  { width: 60px; }
.w90  { width: 90px; }
.w120 { width: 120px; }
.w130 { width: 130px; }
.w180 { width: 180px; }
.w190 { width: 190px; }
.w300 { width: 300px; }

@media screen and (max-width: 959px){
	.w60, .w90, .w120, .w130, .w180, .w190, .w300 {
		width: auto;
	}
}


/* ==================================================
	4. ヘッダー（ロゴ・電話番号・言語切り替え）
================================================== */
header {
	padding: 15px 0 0 0;
	background-color: #ffffff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 左にロゴ、右に電話番号。どちらもメニューの両端に揃える */
#header_inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
}

/* clearfix の空の部品が右端の場所を取らないようにする */
#header_inner::after {
	display: none;
}

/* ロゴと電話番号の画像の白い背景を透かして、ヘッダーになじませる */
#header_left,
#header_right {
	position: relative;
	z-index: 1;
	mix-blend-mode: multiply;
}

#header_left {
	display: flex;
	flex-direction: column;
}

#header_right {
	text-align: right;
}

#logo a {
	transition: opacity 0.3s ease;
}

#logo a:hover {
	opacity: 0.7;
}

/* ロゴの下の文章 */
#header_text {
	display: block;
	margin-top: 6px;
	color: #8E8E8E;
	font-size: 12px;
}

#tel img {
	width: auto;
	height: 28px;
}

#b_hours,
#address {
	margin-top: 3px;
	color: #555;
	font-size: 13px;
}

/* --- 言語の切り替えボタン（日本語 / English） --- */
#lang_switch {
	display: inline-flex;
	overflow: hidden;
	margin-bottom: 8px;
	border: 1px solid var(--asuka-blue);
	border-radius: 4px;
}

#lang_switch button {
	margin: 0;
	padding: 5px 14px;
	border: 0;
	background-color: #FFFFFF;
	color: var(--asuka-blue);
	font-family: inherit;
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.2s;
}

#lang_switch button + button {
	border-left: 1px solid var(--asuka-blue);
}

#lang_switch button:hover {
	background-color: #EAF2F9;
}

#lang_switch button.is_active {
	background-color: var(--asuka-blue);
	color: #FFFFFF;
	font-weight: bold;
	cursor: default;
}

#lang_switch button:focus-visible {
	outline: 2px solid var(--asuka-orange);
	outline-offset: -2px;
}

@media screen and (max-width: 768px){
	#header_inner {
		flex-direction: column;
		text-align: center;
	}

	#header_right {
		margin-top: 15px;
		text-align: center;
	}
}

/* --- 動画があるとき：ヘッダーを「紺色のガラス」にする --- */
body:is(.has_bg_video, :has(#bg_video)) #site-header {
	background-color: transparent;
	box-shadow: 0 6px 24px rgba(2, 14, 30, 0.35);
}

body:is(.has_bg_video, :has(#bg_video)) #header_inner {
	position: relative;
}

/* ロゴと電話番号の後ろの紺色（画面の端から端まで）。後ろの動画がぼけて透ける */
body:is(.has_bg_video, :has(#bg_video)) #header_inner::before {
	content: "";
	position: absolute;
	top: -15px;
	bottom: 0;
	left: 50%;
	z-index: 0;
	width: 100vw;
	background-color: rgba(4, 28, 58, 0.58);
	transform: translateX(-50%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
}

/* ロゴと電話番号の画像：黒い文字を白に反転し、画像の背景は透かす */
body:is(.has_bg_video, :has(#bg_video)) #header_left,
body:is(.has_bg_video, :has(#bg_video)) #header_right {
	mix-blend-mode: screen;
}

body:is(.has_bg_video, :has(#bg_video)) #logo img,
body:is(.has_bg_video, :has(#bg_video)) #tel img {
	filter: invert(1) hue-rotate(180deg);
}

body:is(.has_bg_video, :has(#bg_video)) #header_text {
	color: rgba(255, 255, 255, 0.78);
}

body:is(.has_bg_video, :has(#bg_video)) #b_hours,
body:is(.has_bg_video, :has(#bg_video)) #address {
	color: rgba(255, 255, 255, 0.88);
}

body:is(.has_bg_video, :has(#bg_video)) #lang_switch {
	border-color: rgba(255, 255, 255, 0.75);
}

body:is(.has_bg_video, :has(#bg_video)) #lang_switch button {
	background-color: transparent;
	color: #ffffff;
}

body:is(.has_bg_video, :has(#bg_video)) #lang_switch button + button {
	border-left-color: rgba(255, 255, 255, 0.75);
}

body:is(.has_bg_video, :has(#bg_video)) #lang_switch button:hover {
	background-color: rgba(255, 255, 255, 0.18);
}

body:is(.has_bg_video, :has(#bg_video)) #lang_switch button.is_active {
	background-color: #ffffff;
	color: #04284f;
}


/* ==================================================
	5. メニュー（青いメニューとプルダウン）
================================================== */
#menu-box {
	width: 100%;
	background-color: var(--asuka-blue);
}

#g_navi {
	max-width: 960px;
	margin: 0 auto;
}

#menu {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0;
}

/* 項目を均等な幅で並べ、縦線で区切る（左端にも線を入れる） */
#menu li {
	flex: 1;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

#menu > li:first-child {
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}

#menu li a,
#menu .menu_parent {
	display: block;
	padding: 16px 10px;
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	transition: background-color 0.3s;
}

#menu li a {
	text-decoration: none;
}

#menu li a:hover {
	background-color: var(--asuka-orange);
	opacity: 1;
}

/* 元のテーマにあったスマホ用の開閉ボタン（使っていない） */
#toggle {
	display: none;
}

/* --- プルダウン（クリックで開閉） --- */
#menu li.has_sub {
	position: relative;
}

/* 親の項目（会社概要 など）：他の項目と同じ見た目のボタン */
#menu .menu_parent {
	width: 100%;
	margin: 0;
	border: 0;
	background-color: transparent;
	font-family: inherit;
	line-height: inherit;
	cursor: pointer;
}

#menu .menu_parent:hover,
#menu li.is_open > .menu_parent {
	background-color: var(--asuka-orange);
}

#menu .menu_parent:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: -4px;
}

/* 下向きの矢印（開くと上向きになる） */
#menu .menu_arrow {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s;
}

#menu li.is_open .menu_arrow {
	transform: translateY(1px) rotate(-135deg);
}

/* プルダウンの中身 */
#menu .sub_menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 100;
	min-width: 100%;
	margin: 0;
	padding: 0;
	border-top: 3px solid var(--asuka-orange);
	background-color: #ffffff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#menu li.is_open > .sub_menu {
	display: block;
}

#menu .sub_menu li {
	flex: none;
	border-right: none;
	border-bottom: 1px solid #EAEAEA;
}

#menu .sub_menu li:last-child {
	border-bottom: none;
}

#menu .sub_menu li a {
	padding: 13px 16px;
	color: var(--asuka-blue);
	font-size: 14px;
	text-align: left;
	white-space: nowrap;
}

#menu .sub_menu li a:hover {
	background-color: #F4F7F9;
	color: var(--asuka-blue);
	opacity: 1;
}

/* スマホ：項目を縦に並べ、プルダウンは下に押し広げて表示する */
@media screen and (max-width: 768px){
	#menu {
		flex-direction: column;
	}

	#menu li {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	#menu > li:first-child {
		border-left: none;
	}

	#menu li a,
	#menu .menu_parent {
		padding: 12px 10px;
		font-size: 14px;
	}

	#menu .sub_menu {
		position: static;
		border-top: none;
		background-color: #024a80;
		box-shadow: none;
	}

	#menu .sub_menu li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	#menu .sub_menu li a {
		padding: 11px 10px;
		color: #ffffff;
		font-weight: normal;
		text-align: center;
	}

	#menu .sub_menu li a:hover {
		background-color: var(--asuka-blue);
		color: #ffffff;
	}
}

/* --- 動画があるとき：メニューを深い紺の半透明にする --- */
body:is(.has_bg_video, :has(#bg_video)) #menu-box {
	position: relative;
	z-index: 30;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background-color: rgba(4, 34, 70, 0.72);
	-webkit-backdrop-filter: blur(14px) saturate(130%);
	backdrop-filter: blur(14px) saturate(130%);
}


/* ==================================================
	6. フッター
================================================== */
footer {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 60px;
	padding: 10px 15px;
	background-color: var(--asuka-blue);
	color: #FFFFFF;
	font-size: 13px;
	text-align: center;
}

body:is(.has_bg_video, :has(#bg_video)) footer {
	background-color: rgba(5, 40, 78, 0.9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}


/* ==================================================
	7. 背景の動画（画面に固定。内容だけがこの上をスクロールする）
================================================== */
#bg_video {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	overflow: hidden;
	width: 100%;
	height: 100vh;
	height: 100lvh;
	background-color: #0b2a44;
}

#bg_video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.8s ease;
}

#bg_video.is_playing video {
	opacity: 1;
}

/* 動画に重ねる会社の紺色（濃くすると動画が暗く、薄くすると動画がはっきりする） */
#bg_video .bg_video_shade {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(6, 38, 74, 0.56);
}

/* 一時停止・再生ボタン（画面の右下に固定） */
#bg_video_toggle {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 50;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	background-color: rgba(3, 30, 54, 0.6);
	cursor: pointer;
	transition: background-color 0.2s;
}

#bg_video_toggle:hover {
	background-color: rgba(3, 30, 54, 0.9);
}

#bg_video_toggle:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* 一時停止の印（縦線2本） */
#bg_video_toggle span {
	position: absolute;
	top: 50%;
	left: 50%;
	box-sizing: border-box;
	width: 10px;
	height: 12px;
	border-right: 3px solid #ffffff;
	border-left: 3px solid #ffffff;
	transform: translate(-50%, -50%);
}

/* 再生の印（三角） */
#bg_video_toggle.is_paused span {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-right: 0;
	border-bottom: 7px solid transparent;
	border-left: 11px solid #ffffff;
	transform: translate(-40%, -50%);
}

@media screen and (max-width: 768px){
	#bg_video_toggle {
		right: 10px;
		bottom: 10px;
		width: 34px;
		height: 34px;
	}
}


/* ==================================================
	8. ページの枠組み（記事の枠・右メニュー・見出し）
================================================== */
#wrap {
	min-height: 500px;
	padding-bottom: 30px;
	background-color: #F4F4F4;
}

/* 動画があるとき：灰色の背景を透明にして、動画を見せる */
body:is(.has_bg_video, :has(#bg_video)) #wrap {
	padding-bottom: 60px;
	background-color: transparent;
}

/* 下層ページの上部にあった画像（製品写真とキャッチコピー）は表示しない */
#top_v2 {
	display: none;
}

/* --- 下層ページ：左に記事の枠、右にメニュー --- */
#main {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	box-sizing: border-box;
	max-width: 960px;
	margin: 40px auto;
}

#main_area,
#article_area {
	box-sizing: border-box;
	width: 68%;
	padding: 40px;
	border: none;
	border-radius: 6px;
	background-color: #FFFFFF;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* --- トップページ：本体を中央に置き、ヘッダーと同じ幅にする --- */
#wrap > #main_area {
	width: 100%;
	max-width: 960px;
	margin: 40px auto 0 auto;
	padding: 40px 30px;
}

@media screen and (max-width: 959px){
	#main {
		flex-direction: column;
		width: 100%;
		padding: 0 15px;
	}

	#main_area,
	#article_area {
		width: 100%;
		margin-bottom: 30px;
		padding: 30px 20px;
	}

	#wrap > #main_area {
		margin-top: 20px;
		padding: 30px 20px;
	}
}

/* --- 見出し（動画がないときの基本の形：下に青い線） --- */
#wrap h1 {
	margin-bottom: 20px;
	padding-bottom: 10px;
	padding-left: 30px;
	border-bottom: var(--asuka-blue) solid 3px;
	background-image: url(/common/img/icon1.png);
	background-repeat: no-repeat;
	background-size: 16px 19px;
	font-size: 18px;
	font-weight: bold;
}

/* --- 右メニュー --- */
#side_navi {
	box-sizing: border-box;
	width: 28%;
	padding: 0 0 20px 0;
	border-radius: 4px;
	background-color: #FFFFFF;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.side_title {
	margin-bottom: 0;
	padding: 14px 15px;
	border-radius: 4px 4px 0 0;
	background-color: var(--asuka-blue);
	color: #FFFFFF;
	font-size: 16px;
	font-weight: bold;
}

#side_navi ul {
	margin: 0;
	padding: 0 15px;
}

#side_navi ul li {
	margin-bottom: 0;
	padding: 0;
	border-bottom: 1px dashed #EAEAEA;
	background-image: none;
}

#side_navi ul li:last-child {
	border-bottom: none;
}

#side_navi ul li a {
	display: block;
	position: relative;
	padding: 14px 5px 14px 20px;
	color: #434343;
	text-decoration: none;
	transition: all 0.3s ease;
}

/* 項目の左の矢印 */
#side_navi ul li a::before {
	content: "＞";
	position: absolute;
	top: 50%;
	left: 2px;
	color: var(--asuka-orange);
	font-family: 'ＭＳ ゴシック', sans-serif;
	font-size: 11px;
	transform: translateY(-50%);
}

#side_navi ul li a:hover {
	padding-left: 25px;
	background-color: #fcfcfc;
	color: var(--asuka-blue);
}

@media screen and (max-width: 959px){
	#side_navi {
		width: 100%;
		margin-bottom: 40px;
	}
}

/* --- 動画があるとき：記事の枠と右メニューを「すりガラス」風にする --- */
body:is(.has_bg_video, :has(#bg_video)) #article_area,
body:is(.has_bg_video, :has(#bg_video)) #side_navi {
	border: 1px solid var(--asuka-glass-line);
	border-radius: 12px;
	background-color: var(--asuka-glass);
	box-shadow: var(--asuka-glass-shadow);
	-webkit-backdrop-filter: var(--asuka-glass-blur);
	backdrop-filter: var(--asuka-glass-blur);
}

body:is(.has_bg_video, :has(#bg_video)) #side_navi {
	overflow: hidden;
}

body:is(.has_bg_video, :has(#bg_video)) .side_title {
	border-radius: 0;
	background-color: rgba(5, 46, 90, 0.92);
}

/* --- 下層ページの見出し：枠の幅いっぱいの紺色の帯にする --- */
#article_area h1 {
	margin: 30px -40px 24px -40px;
	padding: 14px 40px 14px 35px;
	border-bottom: 0;
	border-left: 5px solid var(--asuka-orange);
	background-color: var(--asuka-navy);
	background-image: none;
	color: #ffffff;
	font-size: 17px;
	letter-spacing: 0.06em;
}

/* 枠の一番上にある見出しは、枠の上端にぴったり付ける */
#article_area > h1:first-child {
	margin-top: -40px;
	border-radius: 11px 11px 0 0;
}

@media screen and (max-width: 959px){
	#article_area h1 {
		margin: 24px -20px 20px -20px;
		padding: 12px 20px 12px 15px;
		font-size: 16px;
	}

	#article_area > h1:first-child {
		margin-top: -30px;
	}
}


/* ==================================================
	9. トップページ
================================================== */

/* --------------------------------------------------
	9-1. スライド（メニューのすぐ下。左右に切り替わる）
-------------------------------------------------- */

/* スライドの枠。左右に40pxずつ動画を残して広げる（最大1400px） */
#wrap > #top_v.has_slider {
	position: relative;
	overflow: hidden;
	width: calc(100% - 80px);
	max-width: 1400px;
	height: auto;
	min-height: 300px;
	max-height: calc(100vh - 250px);
	aspect-ratio: 16 / 7;
	margin: 40px auto 0 auto;
	padding: 0;
	border-radius: 6px;
	background: none;
	text-align: left;
}

#wrap.has_bg_video > #top_v.has_slider {
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(2, 18, 38, 0.35);
}

/* 動画がないときの下地 */
#wrap > #top_v.has_slider.no_video {
	background: linear-gradient(135deg, #0b2a44 0%, var(--asuka-blue) 100%);
}

/* 動画だけでスライドがないとき：動画が見える空きを横幅いっぱいに作る */
#wrap > #top_v.has_slider.is_empty {
	width: 100%;
	max-width: none;
	height: 45vh;
	min-height: 0;
	max-height: none;
	aspect-ratio: auto;
	margin: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

/* スライドを横一列に並べ、列ごと左右に動かす */
#top_v .top_slider_track {
	display: flex;
	height: 100%;
	transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#top_v .top_slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
}

#top_v .top_slide_link {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	color: #ffffff;
	text-decoration: none;
}

#top_v a.top_slide_link:hover {
	opacity: 1;
}

#top_v a.top_slide_link:focus-visible {
	outline: 3px solid var(--asuka-orange);
	outline-offset: -3px;
}

/* スライドの画像：枠いっぱいに広げ、はみ出す分は切り取る */
#top_v .top_slide_image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

#top_v a.top_slide_link:hover .top_slide_image {
	transform: scale(1.03);
}

/* 画像の下側の紺色の影。文字を重ねたスライドだけに付ける */
#top_v .top_slide_shade {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(to top, rgba(3, 30, 54, 0.75) 0%, rgba(3, 30, 54, 0.25) 45%, rgba(3, 30, 54, 0) 70%);
}

#top_v .top_slide_shade:has(+ .top_video_inner) {
	display: block;
}

/* スライドに重ねる文字（左下） */
#top_v .top_video_inner {
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 96px 64px 96px;
	text-align: left;
}

#top_v .top_video_copy {
	display: block;
	margin: 0;
	padding-left: 18px;
	border-left: 4px solid var(--asuka-orange);
	color: #ffffff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
	animation: top_video_copy_in 1.1s ease 0.3s both;
}

#top_v .top_video_copy_sub {
	display: block;
	font-size: clamp(14px, 1.7vw, 24px);
	letter-spacing: 0.08em;
	line-height: 1.5;
}

#top_v .top_video_copy_main {
	display: block;
	margin-top: 4px;
	font-size: clamp(19px, 3.2vw, 46px);
	font-weight: bold;
	letter-spacing: 0.06em;
	line-height: 1.35;
}

@keyframes top_video_copy_in {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* 左右の矢印 */
#top_v .top_slider_arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 46px;
	height: 46px;
	margin-top: -23px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background-color: rgba(3, 30, 54, 0.45);
	cursor: pointer;
	transition: background-color 0.2s;
}

#top_v .top_slider_prev { left: 18px; }
#top_v .top_slider_next { right: 18px; }

#top_v .top_slider_arrow:hover {
	background-color: var(--asuka-orange);
}

#top_v .top_slider_arrow:focus-visible,
#top_v .top_slider_dots button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

#top_v .top_slider_arrow span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #ffffff;
	border-left: 2px solid #ffffff;
}

#top_v .top_slider_prev span { transform: translate(-30%, -50%) rotate(-45deg); }
#top_v .top_slider_next span { transform: translate(-70%, -50%) rotate(135deg); }

/* 下の横棒（何枚目かの表示と切り替え） */
#top_v .top_slider_dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	position: absolute;
	right: 0;
	bottom: 18px;
	left: 0;
	z-index: 5;
}

#top_v .top_slider_dots button {
	width: 28px;
	height: 5px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background-color 0.2s, width 0.2s;
}

#top_v .top_slider_dots button.is_active {
	width: 44px;
	background-color: var(--asuka-orange);
}

@media screen and (max-width: 999px){
	#wrap > #top_v.has_slider {
		width: auto;
		min-height: 0;
		margin: 24px 12px 0 12px;
	}

	#wrap > #top_v.has_slider.is_empty {
		margin: 0;
	}
}

@media screen and (max-width: 768px){
	#wrap > #top_v.has_slider {
		max-height: none;
		aspect-ratio: 4 / 3;
	}

	#wrap > #top_v.has_slider.is_empty {
		height: 32vh;
		aspect-ratio: auto;
	}

	#top_v .top_video_inner {
		padding: 0 20px 34px 16px;
	}

	#top_v .top_video_copy {
		padding-left: 12px;
		border-left-width: 3px;
	}

	#top_v .top_slider_arrow {
		width: 36px;
		height: 36px;
		margin-top: -18px;
	}

	#top_v .top_slider_prev { left: 8px; }
	#top_v .top_slider_next { right: 8px; }

	#top_v .top_slider_dots {
		bottom: 10px;
	}
}

/* 動きを減らす設定の端末では、動きを止める */
@media (prefers-reduced-motion: reduce){
	#top_v .top_video_copy {
		animation: none;
	}

	#top_v .top_slider_track,
	#top_v .top_slide_image {
		transition: none;
	}
}

/* --------------------------------------------------
	9-2. 動画があるとき：内容ごとに枠を分ける
	（見出しは紺色の帯、本文は明るいすりガラス）
-------------------------------------------------- */

/* 全体を包む枠は透明にして、位置を決めるだけにする */
#wrap.has_bg_video > #main_area {
	margin-top: 40px;
	padding: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

/* 内容のまとまりごとに、1つずつ枠にする。枠と枠の間から動画が見える */
#wrap.has_bg_video > #main_area > section {
	overflow: hidden;
	margin-bottom: 28px;
	padding: 0 30px 26px 30px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.93);
	box-shadow: 0 10px 30px rgba(2, 18, 38, 0.28);
	-webkit-backdrop-filter: var(--asuka-glass-blur);
	backdrop-filter: var(--asuka-glass-blur);
}

#wrap.has_bg_video > #main_area > section:last-child {
	margin-bottom: 0;
}

/* 見出し：枠の上端いっぱいの紺色の帯にして、左にオレンジの印を付ける */
#wrap.has_bg_video > #main_area > section h1 {
	margin: 0 -30px 24px -30px;
	padding: 14px 30px 14px 25px;
	border-bottom: 0;
	border-left: 5px solid var(--asuka-orange);
	background-color: var(--asuka-navy);
	background-image: none;
	color: #ffffff;
	font-size: 17px;
	letter-spacing: 0.06em;
}

#wrap.has_bg_video > #main_area .s_box,
#wrap.has_bg_video > #main_area .news,
#wrap.has_bg_video > #main_area .product {
	margin-bottom: 0;
}

@media screen and (max-width: 999px){
	#wrap.has_bg_video > #main_area {
		margin-top: 24px;
	}
}

@media screen and (max-width: 959px){
	#wrap.has_bg_video > #main_area {
		width: auto;
		margin-right: 12px;
		margin-left: 12px;
	}
}

@media screen and (max-width: 768px){
	#wrap.has_bg_video > #main_area > section {
		margin-bottom: 20px;
		padding: 0 16px 20px 16px;
	}

	#wrap.has_bg_video > #main_area > section h1 {
		margin: 0 -16px 18px -16px;
		padding: 12px 16px 12px 12px;
		font-size: 16px;
	}
}

/* --------------------------------------------------
	9-3. お知らせの一覧（トップページとニュース一覧で共通）
-------------------------------------------------- */
.news {
	margin-bottom: 20px;
	margin-left: 20px;
}

.news ul li {
	display: flex;
	margin-bottom: 10px;
	line-height: 30px;
}

.news ul li .news_date {
	width: 90px;
	height: 20px;
	margin-right: 15px;
	padding: 3px 10px;
	background-color: var(--asuka-orange);
	color: #FFFFFF;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}

.news ul li .text {
	flex: 1;
	padding-top: 3px;
	line-height: 1.5em;
}

/* --------------------------------------------------
	9-4. インフォメーション（3つの枠とボタン）
-------------------------------------------------- */
.infomation {
	margin-left: 20px;
}

.infomation_box {
	float: left;
	width: 280px;
	margin: 0 10px 20px 0;
}

a.top_btn {
	display: block;
	float: left;
	width: 132px;
	height: 15px;
	margin: 20px 4px 10px 0;
	padding: 5px 0;
	border: solid 2px var(--asuka-blue);
	color: var(--asuka-blue);
	line-height: 15px;
	text-align: center;
	text-decoration: none;
}

a.mat_btn {
	margin-top: 40px;
}

a:hover.top_btn {
	background-color: var(--asuka-orange);
	color: #FFFFFF;
	opacity: 1;
}

.thankyou_text {
	margin-left: 20px;
}

/* --------------------------------------------------
	9-5. SCHURTER商品情報（写真と商品名のボタン）
-------------------------------------------------- */
.product {
	margin-bottom: 20px;
	margin-left: 20px;
}

.product_box {
	float: left;
	width: 280px;
	margin: 0 10px 20px 0;
	border: solid 1px #EDEDED;
}

a.allow_btn,
a.allow_btn2,
a.allow_btn3 {
	display: block;
	padding: 3px 0 3px 16px;
	background-color: #EDEDED;
	background-image: url(/common/img/allow.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	background-size: 12px 12px;
	color: #000000;
	font-size: 12px;
	text-decoration: none;
}

a.allow_btn  { width: 264px; }
a.allow_btn2 { float: left; width: 95px; }
a.allow_btn3 { float: left; width: 153px; }

/* --------------------------------------------------
	9-6. 取扱メーカーの一覧（半導体・受動部品・電源・センサー）
-------------------------------------------------- */
.s_box {
	margin-bottom: 20px;
}

.s_box ul li {
	margin-right: 10px;
	margin-bottom: 10px;
}

.s_box ul li a {
	display: block;
	width: 285px;
	padding: 0;
	border: 1px solid var(--asuka-blue);
	text-decoration: none;
}

.s_box ul li .s_title {
	padding: 5px;
	background-color: var(--asuka-blue);
	color: #FFFFFF;
}

.s_box ul li .s_company {
	padding: 5px;
	color: #4F4F4F;
	font-size: 12px;
}

@media screen and (min-width: 769px){
	.s_box ul li {
		float: left;
	}
}

/* --------------------------------------------------
	9-7. トップページ：タブレット・スマホでの並び
-------------------------------------------------- */
@media screen and (max-width: 959px){
	.infomation_box {
		margin: 0 20px 20px 20px;
	}

	.product_box {
		width: 210px;
	}

	.product_box img {
		width: 100%;
	}

	a.allow_btn {
		width: auto;
		height: 34px;
		padding-right: 3px;
	}

	a.allow_btn2,
	a.allow_btn3 {
		float: none;
		width: 194px;
		height: 14px;
	}
}

@media screen and (max-width: 768px){
	.news {
		width: 90%;
		margin: 0 auto 20px auto;
	}

	.infomation,
	.product {
		margin-left: 0;
	}

	.infomation_box,
	.product_box {
		float: none;
		width: 100%;
		max-width: 280px;
		margin: 0 auto 20px auto;
	}

	a.allow_btn2,
	a.allow_btn3 {
		width: 100%;
		padding-left: 0;
		text-indent: 16px;
	}

	.s_box ul li a {
		margin: 0 auto;
	}
}


/* ==================================================
	10. 下層ページ（固定ページの本文で使うもの）
================================================== */

/* --------------------------------------------------
	10-1. 表：会社概要・取引先紹介・取扱商品
-------------------------------------------------- */
table.company,
table.customer,
table.goods {
	width: 100%;
	margin-top: 30px;
	border: solid 1px #E8E8E8;
	border-collapse: collapse;
}

table.company th,
table.customer th,
table.goods th {
	width: 25%;
	padding: 20px;
	border: solid 1px #E8E8E8;
	background-color: #F4F7F9;
	color: var(--asuka-blue);
	font-weight: bold;
	text-align: left;
}

table.company td,
table.customer td,
table.goods td {
	width: 75%;
	padding: 20px;
	border: solid 1px #E8E8E8;
	line-height: 1.8;
}

table.company img,
table.customer img,
table.goods img {
	max-width: 100%;
	height: auto;
}

ul.company li,
ul.customer li {
	margin-bottom: 15px;
}

/* 地図 */
#map_canvas {
	width: 100%;
	height: 400px;
	margin-bottom: 20px;
}

.map iframe {
	width: 100%;
}

#access_map {
	margin-top: 40px;
}

#access_map h3 {
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--asuka-blue);
	font-size: 18px;
	font-weight: bold;
}

/* --------------------------------------------------
	10-2. お問い合わせフォーム
-------------------------------------------------- */
table.contact {
	width: 100%;
	margin-top: 30px;
	border-collapse: collapse;
}

table.contact th {
	width: 25%;
	padding: 15px 20px;
	border: solid 1px #E8E8E8;
	background-color: #F4F7F9;
	color: var(--asuka-blue);
	font-weight: bold;
	text-align: left;
}

table.contact td {
	width: 75%;
	padding: 15px 20px;
	border: solid 1px #E8E8E8;
}

table.contact input[type=text],
table.contact input[type=tel],
table.contact input[type=email],
table.contact textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 400px;
	padding: 12px;
	border: 1px solid #CCCCCC;
	border-radius: 4px;
}

table.contact textarea {
	max-width: 100%;
	height: 120px;
}

/* スマホ：横並びの表を縦積みにする */
@media screen and (max-width: 768px){
	table.company th, table.company td,
	table.customer th, table.customer td,
	table.goods th, table.goods td,
	table.contact th, table.contact td {
		display: block;
		box-sizing: border-box;
		width: 100%;
		padding: 15px;
	}

	table.company th,
	table.customer th,
	table.goods th,
	table.contact th {
		border-bottom: none;
	}
}

/* --------------------------------------------------
	10-3. 環境方針
-------------------------------------------------- */
h2.policy {
	margin: 40px 0 15px 0;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--asuka-blue);
	font-size: 20px;
	font-weight: bold;
}

h3.policy {
	margin: 30px 0 10px 0;
	color: var(--asuka-blue);
	font-weight: bold;
}

.policy_box img {
	max-width: 100%;
	height: auto;
	margin-bottom: 10px;
}

/* --------------------------------------------------
	10-4. 以前のお知らせ用の部品
-------------------------------------------------- */
.news_table_img {
	float: right;
	margin: 20px;
}

.news_table_date {
	padding: 5px;
	background-color: #D47000;
	color: #FFFFFF;
}

.news_table_title {
	padding: 5px;
	background-color: #000000;
	color: #FFFFFF;
}

.news_year {
	margin-bottom: 5px;
}

.news_year ul li a {
	display: block;
	float: left;
	margin-right: 5px;
	padding: 5px;
	border: solid 1px #C0C0C0;
	background-color: #FFFFFF;
	color: #838383;
	text-decoration: none;
}

.news_year ul li a:hover {
	background-color: #FF0000;
	color: #FFFFFF;
}

@media screen and (max-width: 768px){
	.news_year {
		width: 90%;
		margin-right: auto;
		margin-left: auto;
		padding-right: 20px;
	}
}

/* --------------------------------------------------
	10-5. 取扱商品情報：商品カテゴリーのボタン一覧
-------------------------------------------------- */
.stock_list ul {
	margin-top: 20px;
}

.stock_list ul li {
	float: left;
	margin: 0 5px 10px 5px;
}

.stock_list ul li a {
	display: block;
	width: 195px;
	height: 30px;
	padding: 10px 0;
	border: solid 2px var(--asuka-blue);
	color: var(--asuka-blue);
	line-height: 30px;
	text-align: center;
	text-decoration: none;
}

.stock_list ul li.stock_list2 a {
	line-height: 16px;
}

.stock_list2 ul li a {
	display: block;
	margin-bottom: 10px;
	padding: 10px 10px 10px 40px;
	background: url(/common/img/allow2.png) no-repeat;
	background-color: #055c9f;
	background-position: 10px 10px;
	background-size: 15px 15px;
	color: #FFFFFF;
	text-decoration: none;
}

@media screen and (max-width: 959px){
	.stock_list ul li {
		margin: 0 0 10px 0;
	}

	.stock_list ul li a {
		width: 243px;
	}

	#main .stock_list ul li:nth-of-type(odd) {
		margin-right: 10px;
	}
}

@media screen and (max-width: 768px){
	.stock_list ul {
		width: 80%;
		margin: 20px auto 0 auto;
	}

	.stock_list ul li,
	.stock_list ul li a {
		width: 100%;
	}

	.stock_list ul li.stock_list2 a {
		line-height: normal;
	}

	#main .stock_list ul li:nth-of-type(odd) {
		margin-right: 0;
	}
}

/* --------------------------------------------------
	10-6. 在庫情報の各ページ
-------------------------------------------------- */
h2.stock_h2 {
	margin-top: 40px;
	font-size: 16px;
	font-weight: bold;
}

a.stock_btn {
	display: block;
	float: left;
	width: 152px;
	height: 15px;
	margin: 10px 4px 0 0;
	padding: 5px 0;
	border: solid 2px var(--asuka-blue);
	color: var(--asuka-blue);
	font-size: 13px;
	line-height: 15px;
	text-align: center;
	text-decoration: none;
}

a:hover.stock_btn {
	background-color: var(--asuka-orange);
	color: #FFFFFF;
	opacity: 1;
}

/* 表（3種類）：どれも枠の幅いっぱいに広げる */
table.stock,
table.stock2,
table.stock3 {
	width: 100%;
	margin-top: 10px;
	border: solid 1px #CCCCCC;
}

table.stock th,
table.stock td,
table.stock2 th,
table.stock2 td,
table.stock3 th,
table.stock3 td {
	padding: 10px;
	border: solid 1px #CCCCCC;
}

table.stock th {
	width: 40%;
	background-color: #DBECFF;
	text-align: right;
}

table.stock td {
	width: 60%;
}

table.stock2 th,
table.stock2 td {
	width: 50%;
	text-align: center;
}

table.stock3 th,
table.stock3 td {
	text-align: center;
}

table.stock2 th,
table.stock3 th {
	background-color: #F4F4F4;
}

table.stock3 .text_left {
	text-align: left;
}

/* 表（青い見出しの2種類） */
table.stock4,
table.stock5 {
	width: 100%;
}

table.stock4 th,
table.stock5 th {
	padding: 10px;
	border: solid 1px #CCCCCC;
	background-color: #055c9f;
	color: #FFFFFF;
	text-align: center;
}

table.stock4 td,
table.stock5 td {
	padding: 10px;
	border: solid 1px #CCCCCC;
	text-align: left;
}

table.stock4 tr:nth-child(2n) td,
table.stock5 tr:nth-child(2n) td {
	background-color: #F7F7F7;
}

table.stock4 tr td:nth-child(1) {
	background-color: #DFF1FF;
	text-align: center;
}

table.stock5 tr td:last-child {
	background-color: #DFF1FF;
}

/* TablePress の表：数量の列を右寄せにする */
.sl2 table {
	max-width: 400px;
}

#tablepress-1 td.column-3,
#tablepress-3 td.column-4,
#tablepress-4 td.column-3,
#tablepress-5 td.column-3,
#tablepress-6 td.column-3,
#tablepress-7 td.column-3,
#tablepress-8 td.column-3,
#tablepress-9 td.column-5,
#tablepress-10 td.column-3,
#tablepress-11 td.column-3 {
	text-align: right;
}

@media screen and (max-width: 959px){
	a.stock_btn {
		width: 243px;
		margin: 10px 0 0 0;
	}

	#main .stock_btn_area a:nth-of-type(odd) {
		margin-right: 10px;
	}

	table.stock,
	table.stock2,
	table.stock3 {
		word-break: break-all;
	}
}

@media screen and (max-width: 768px){
	a.stock_btn {
		width: 47.5%;
	}

	#main .stock_btn_area a:nth-of-type(odd) {
		margin-right: 2%;
	}
}

/* --------------------------------------------------
	10-7. メンテナンス中の表示
-------------------------------------------------- */
.Renewal_back {
	width: 607px;
	height: 224px;
	margin: 50px auto 0 auto;
	background-image: url(/common/img/Renewal.png);
	background-repeat: no-repeat;
	background-size: cover;
}

.Renewal_text {
	width: 320px;
	margin: 0 auto 85px auto;
	padding-left: 17px;
	text-align: left;
}

@media screen and (max-width: 768px){
	.Renewal_back {
		width: 100%;
		max-width: 607px;
		height: 0;
		padding-top: 36.9%;
	}
}


/* ==================================================
	11. Google翻訳の表示調整（自動で出る帯・吹き出しを隠す）
================================================== */
#google_translate_element {
	display: none;
}

body > .skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
	display: none !important;
}

body {
	top: 0 !important;
}

.goog-text-highlight {
	background: none !important;
	box-shadow: none !important;
}