/* ==================================================================
 * D-WELD（大栄溶接株式会社）
 *   旧 Muse 版 PC版（ページ幅 1200px）の寸法・配色を基準に再現。
 *   760px 以下は旧スマホ版に合わせた縦並び。
 * ================================================================== */

:root {
	--blue: #29abe2;
	--red: #c1272d;
	--orange: #f15a24;
	--orange-greet: #f7931e;
	--yellow: #d9e021;
	--gray: #7f7f7f;
	--brown: rgba(153, 134, 117, .8);
	--gothic: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", Meiryo, sans-serif;
	--mincho: "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "Hiragino Mincho ProN", "Yu Mincho", "游明朝", YuMincho, serif;
	--latin: Helvetica, "Helvetica Neue", Arial, sans-serif;
	--w: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--gothic);
	font-size: 15px;
	line-height: 1.75;
	color: #000;
	background: #fff;
	overflow-x: hidden;
}
html { overflow-x: clip; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; }
p, h1, h2, h3, ul, table { margin: 0; }
ul { padding: 0; list-style: none; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[id] { scroll-margin-top: 20px; }

/* 背景の風景写真（画面に固定） */
.bg-fixed {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	/* 旧版は幅1265pxに対して高さ995pxの枠で写真を切り抜き、画面には上側が見える */
	height: max(100vh, 78.66vw);
	z-index: -1;
	background: #8fa7b8 center / cover no-repeat;
}

.site-main { display: block; }

/* ------------------------------------------------------------------
 * ヘッダー
 * ------------------------------------------------------------------ */
.site-header { padding-top: 68px; }
.site-header__band {
	background: #fff;
	box-shadow: 0 0 8px rgba(255, 255, 255, .5);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 78px;
	height: 105px;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	padding-left: 36px;
}
.site-logo { display: block; flex: 0 0 auto; align-self: flex-start; margin-top: 15px; }
.site-logo img { display: block; width: 376px; height: 61px; object-fit: cover; }
.site-tel { text-align: center; line-height: 1.2; }
.site-tel__num {
	display: block;
	font-size: 32px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: .01em;
}
.site-tel__addr { font-size: 15px; font-weight: 700; margin-top: -4px; text-align: center; }

/* メニュー（青帯） */
.gnav {
	background: var(--blue);
	box-shadow: 0 0 8px rgba(255, 255, 255, .5);
}
.gnav__toggle { display: none; }
.gnav__list {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	height: 64px;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}
.gnav__list li { flex: 0 0 226px; }
.gnav__list li.nav-top { flex-basis: 170px; }
.gnav__list a {
	display: block;
	height: 44px;
	line-height: 42px;
	border: 1px solid #fff;
	border-radius: 80px;
	color: #fff;
	font-size: 24px;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s;
}
.gnav__list a:hover, .gnav__list a:focus-visible { background: rgba(255, 255, 255, .2); }

.site-tagline {
	margin: 28px auto 0;
	width: var(--w);
	max-width: calc(100% - 40px);
	padding-left: 22px;
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
}

/* ------------------------------------------------------------------
 * DAIEI / Metal Welding Company
 * ------------------------------------------------------------------ */
.hero {
	color: #fff;
	text-align: center;
	pointer-events: none;
}
.hero__logo {
	font-family: var(--latin);
	font-size: 200px;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
}
.hero__sub {
	font-family: var(--gothic);
	font-size: 43px;
	font-weight: 700;
	line-height: 1;
	margin-top: -25px;
}
.hero--front { padding: 43px 0 0; height: 521px; }
.hero--sub { padding: 43px 0 0; height: 292px; }

/* ------------------------------------------------------------------
 * 共通部品
 * ------------------------------------------------------------------ */
.sec { width: var(--w); max-width: calc(100% - 40px); margin: 0 auto; }

.sec-head {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}
/* 見出しの下の細線（高さに含めない） */
.sec-head::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(255, 255, 255, .8);
}
.sec-head { z-index: 3; }
.sec-head .label { position: relative; z-index: 1; }
.sec-head__en {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	font-family: var(--latin);
	font-size: 48px;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
	white-space: nowrap;
}
.sec-head__en--red { color: var(--red); }
.sec-head__en--yellow { color: var(--yellow); }
.sec-head__en--white { color: #fff; bottom: -19px; }

.label {
	display: inline-block;
	min-width: 254px;
	height: 38px;
	padding: 0 18px;
	font-size: 21px;
	font-weight: 400;
	line-height: 38px;
	letter-spacing: 6px;
	color: #fff;
}
.label--black { background: #000; }
.label--outline { min-width: 150px; height: 44px; line-height: 42px; border: 1px solid #fff; border-bottom: 0; text-align: center; font-size: 25px; letter-spacing: 0; padding: 0 25px; }
.label--sm { font-size: 20px; min-width: 150px; height: 34px; line-height: 32px; letter-spacing: 0; }
.label--bordered { min-width: 150px; height: 46px; line-height: 44px; border: 1px solid #fff; font-size: 25px; text-align: center; letter-spacing: 0; padding: 0 12px; }

.pill {
	display: block;
	text-align: center;
	text-decoration: none;
	border-radius: 100px;
	transition: opacity .2s, background-color .2s;
}
.pill--white {
	height: 55px;
	line-height: 53px;
	border: 1px solid #fff;
	background: #fff;
	color: var(--gray);
	font-size: 30px;
}
.pill--white:hover { opacity: .85; }
.pill--outline {
	width: 852px;
	max-width: calc(100% - 40px);
	height: 45px;
	line-height: 43px;
	margin: 0 auto;
	border: 1px solid #fff;
	color: #fff;
	font-size: 24px;
}
.pill--outline:hover { background: rgba(255, 255, 255, .15); }
.pill--lg { width: 808px; height: 52px; line-height: 50px; font-size: 30px; position: relative; left: 4px; }

/* ------------------------------------------------------------------
 * トップ：ごあいさつ
 * ------------------------------------------------------------------ */
.sec-greeting { padding-top: 6px; }
.greeting {
	display: grid;
	grid-template-columns: 257px 1fr;
	gap: 20px;
	align-items: start;
	min-height: 309px;
	padding: 20px 13px 20px 41px;
	background: #fff;
}
.greeting__photo {
	width: 257px;
	height: 257px;
	border-radius: 50%;
	margin-top: 6px;
	background: var(--orange-greet) 100% 50% / cover no-repeat;
}
.greeting__text { max-width: 755px; font-size: 18px; line-height: 32px; }

/* ------------------------------------------------------------------
 * トップ：設備紹介
 * ------------------------------------------------------------------ */
.sec-equip { margin-top: 116px; }
.equip-box {
	position: relative;
	height: 636px;
	background: #d4145a 50% 50% / cover no-repeat;
}
.equip-box__circles { position: absolute; inset: 0; }
.circle {
	position: absolute;
	display: block;
	border-radius: 50%;
	background: #fff 50% 50% / cover no-repeat;
}
.c-nuki { left: 8.482%; top: 2.987%; width: 29.821%; aspect-ratio: 1; border: 1px solid var(--red); }
.c-2119 { left: 63.929%; top: 6.918%; width: 23.125%; aspect-ratio: 1; border: 1px solid var(--red); background-position: 0 50%; }
.c-2123 { left: 43.393%; top: -8.648%; width: 17.946%; aspect-ratio: 201 / 207; background-position: 0 0; background-color: #d4145a; }
.c-2130 { left: 34.554%; top: 16.824%; width: 34.911%; aspect-ratio: 1; border: 1px solid var(--red); }
.c-2115 { left: 0; top: 29.245%; width: 17.946%; aspect-ratio: 201 / 207; background-position: 0 0; background-color: #d4145a; }
.c-cad1 { left: 83.482%; top: 26.415%; width: 15.089%; aspect-ratio: 1; background-position: 0 0; }
.equip-box__panel {
	position: absolute;
	left: 1.607%;
	right: 1.429%;
	top: 375px;
	height: 234px;
	padding: 23px 13px 0 12px;
	background: rgba(0, 0, 0, .5);
}
.equip-box__text { color: #fff; font-size: 18px; line-height: 32px; }
.equip-box__panel .pill--white { width: 778px; max-width: 100%; margin: 27px 0 0 auto; }
.pill--works {
	width: 808px;
	margin: 17px 0 0 auto;
	opacity: .74;
}

/* ------------------------------------------------------------------
 * トップ：企業情報・アクセス（茶色の帯）
 * ------------------------------------------------------------------ */
.brown-zone {
	margin-top: 48px;
	padding: 58px 0 86px;
	background: var(--brown);
}
.company {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	margin-top: 28px;
}
.company__table {
	flex: 0 0 744px;
	border-collapse: collapse;
	font-size: 20px;
	line-height: 1.2;
}
.company__table th, .company__table td {
	height: 35px;
	padding: 0 10px;
	border: 1px solid #000;
	font-weight: 400;
	white-space: nowrap;
}
.company__table th { width: 171px; background: #000; color: #fff; text-align: center; border-color: #fff #000; }
.company__table td { background: #fff; }
.company__table a { text-decoration: none; }
.company__photo { flex: 0 0 360px; }
.company__photo img { display: block; width: 360px; height: 315px; object-fit: cover; }

.sec-access { margin-top: 133px; }
.access-map { margin-top: 20px; background: #e5e3df; }
.access-map iframe { display: block; width: 100%; height: 439px; }

/* ------------------------------------------------------------------
 * トップ：リクルート（赤帯）
 * ------------------------------------------------------------------ */
.sec-recruit { background: var(--red); color: #fff; }
.sec-recruit__inner {
	position: relative;
	display: flex;
	justify-content: space-between;
	width: var(--w);
	max-width: calc(100% - 40px);
	margin: 0 auto;
	min-height: 501px;
}
.sec-recruit__body { position: relative; z-index: 1; flex: 0 1 800px; padding-top: 33px; }
.sec-recruit__photo {
	position: relative;
	flex: 0 0 318px;
	height: 501px;
	background: 50% 50% / cover no-repeat;
}
.sec-recruit__en {
	position: absolute;
	right: 0;
	top: 31px;
	font-family: var(--latin);
	font-size: 48px;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
	white-space: nowrap;
	text-shadow: 0 0 6px rgba(0, 0, 0, .25);
}
.sec-recruit__text { font-size: 15px; line-height: 26px; width: 794px; max-width: 100%; margin-top: 2px; }
.sec-recruit__more { padding: 17px 0 18px; }

/* 「俺たちと 一緒に、働こうぜ！」 */
.recruit-catch {
	position: relative;
	height: 185px;
	font-family: var(--mincho);
	color: #fff;
	line-height: 1;
	white-space: nowrap;
}
.recruit-catch span { position: absolute; display: block; }
.recruit-catch__a { left: 27px; top: 30px; font-size: 51px; }
.recruit-catch__b { left: 214px; top: 92px; font-size: 51px; }
.recruit-catch__c { left: 380px; top: 4px; font-size: 92px; transform: rotate(-13deg); transform-origin: 50% 50%; }

/* ------------------------------------------------------------------
 * フッター
 * ------------------------------------------------------------------ */
.contact-band { display: flex; align-items: center; }
.contact-band--brown { height: 112px; background: var(--brown); }
.contact-band--orange { height: 68px; background: var(--orange); }
/* 旧版のボタンは中央より 22px 右 */
.contact-band--orange .pill { position: relative; left: 22px; }
.totop-bar {
	display: block;
	height: 62px;
	line-height: 54px;
	background: #000;
	color: #fff;
	font-size: 30px;
	text-align: center;
	text-decoration: none;
}
.site-footer { background: var(--gray); color: #fff; }
.sitemap { width: 1160px; max-width: calc(100% - 40px); margin: 0 auto; padding: 13px 0 34px; }
.sitemap__title {
	height: 33px;
	line-height: 31px;
	border: 1px solid #fff;
	font-size: 19px;
	text-align: center;
}
.sitemap__body { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 15px 0 46px; }
.sitemap__list a { text-decoration: none; }
.sitemap__list a:hover { text-decoration: underline; }
.sitemap__list > li { font-size: 14px; line-height: 25px; }
.sitemap__list ul { margin: 4px 0 0 15px; }
.sitemap__list ul li { font-size: 13px; line-height: 30px; }
.sitemap__btns { flex: 0 0 633px; display: grid; gap: 7px; padding-top: 18px; }
.sitemap__btns .pill--outline { width: 100%; max-width: none; height: 53px; line-height: 45px; }
.copyright { background: #000; padding: 7px 10px 25px; text-align: center; font-size: 12px; line-height: 21px; }
.copyright__url { font-size: 11px; line-height: 19px; }

/* ------------------------------------------------------------------
 * 設備情報
 * ------------------------------------------------------------------ */
.photo-row { display: flex; margin: 17px auto 0; }
.photo-row img { display: block; object-fit: cover; min-width: 0; }
.photo-row--equip { width: 1048px; max-width: calc(100% - 40px); }
.photo-row--equip img { flex: 1 1 0; height: 275px; width: 33.333%; }

/* 寸法は旧版の実測値（段の上端からの位置） */
.equip-page {
	position: relative;
	width: 1048px;
	max-width: calc(100% - 40px);
	margin: 86px auto 0;
	padding-bottom: 50px;
	background: rgba(127, 127, 127, .7);
	color: #fff;
}
.bar-title {
	height: 44px;
	padding: 0 11px;
	background: #000;
	color: #fff;
	font-size: 25px;
	font-weight: 400;
	line-height: 44px;
	letter-spacing: 2px;
}
.equip-page__lead { padding: 13px 25px 0; font-size: 14px; line-height: 24px; }

.equip-rows { padding: 22px 25px 0; }
.equip-row {
	position: relative;
	display: grid;
	grid-template-columns: 516px 1fr;
	column-gap: 27px;
	height: 188px;
	margin-bottom: 27px;
}
.equip-row--first { height: 290px; margin-bottom: 14px; }
.equip-rows > .equip-row:nth-child(2) { margin-bottom: 22px; }
.equip-rows > .equip-row:nth-child(3) { margin-bottom: 21px; }
.equip-rows > .equip-row:last-child { margin-bottom: 0; }

/* 見出し帯（写真の上に重ねる） */
.equip-head {
	position: absolute;
	left: 12px;
	top: 8px;
	z-index: 2;
	width: 451px;
	height: 30px;
	padding: 0 11px;
	background: #000;
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	line-height: 30px;
	letter-spacing: 2px;
	white-space: nowrap;
}
.equip-head--full { left: 12px; width: 994px; }
.equip-item--big > .equip-head { left: -2px; top: 0; width: 517px; }
.equip-item--tall > .equip-head { left: 0; top: 0; }

.equip-item { position: relative; display: grid; grid-template-columns: 262px 1fr; column-gap: 13px; height: 188px; }
.equip-item__photo { height: 188px; display: flex; }
.equip-item__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.equip-item__photo.is-pair img:first-child { width: 123px; flex: 0 0 123px; }
.equip-item__photo.is-pair img:last-child { width: 139px; flex: 0 0 139px; }
.equip-item__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: var(--pad, 0px);
	font-size: 16px;
	font-weight: 700;
	line-height: 28px;
	white-space: nowrap;
}
.year-badge {
	display: inline-block;
	width: 188px;
	height: 30px;
	margin-bottom: var(--gap, 4px);
	background: var(--orange);
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	line-height: 30px;
	letter-spacing: 2px;
	text-align: center;
	padding-left: 12px;
}
/* 1段目：大きい写真（AMADA HD-3504NT）／縦長写真（ストッカー） */
.equip-item--big { grid-template-columns: 1fr; height: 290px; }
.equip-item--big .equip-item__photo { height: 290px; }
.equip-item__spec {
	position: absolute;
	left: 12px;
	top: 105px;
	width: 204px;
	height: 170px;
	padding: 11px 8px 0;
	background: rgba(0, 0, 0, .3);
	font-size: 13px;
	font-weight: 700;
	line-height: 23px;
	white-space: nowrap;
}
.equip-item__spec .year-badge { display: block; width: 188px; margin: 0 0 7px; }
.equip-item__specline { display: block; }
.equip-item--tall { height: 290px; }
.equip-item--tall .equip-item__photo { height: 290px; }
.equip-item--tall .year-badge { width: 165px; }

.photo-strip {
	display: flex;
	width: 1200px;
	max-width: calc(100vw - 40px);
	margin: 58px 0 0 50%;
	transform: translateX(-50%);
}
.photo-strip img { display: block; flex: 201 1 0; width: 16.66%; height: 133px; object-fit: cover; min-width: 0; }
.photo-strip img:last-child { flex-grow: 195; }

/* その他設備一覧 */
.bar-title--others { height: 30px; line-height: 30px; font-size: 17px; margin: 20px 29px 0 25px; padding: 0 11px; }
.others { padding: 0 25px; }
.others__band {
	display: grid;
	grid-template-columns: repeat(3, 295px);
	column-gap: 45px;
	padding: 2px 16px 6px 7px;
	border-bottom: 1px solid #000;
}
.others__band:last-child { border-bottom: 0; padding-bottom: 0; }
.others__band + .others__band { padding-top: 0; }
.others__band + .others__band .others__list:first-child { padding-top: 8px; }
.others__grp + .others__grp { margin-top: 1px; }
.others__col:nth-child(2) { margin-left: 3px; }
.others__band:nth-child(2) .others__col:nth-child(2) { margin-left: -10px; }
.others__band:nth-child(3) .others__col:nth-child(1) .others__grp + .others__grp { margin-top: 35px; }
.others__band:nth-child(3) .others__col:nth-child(3) .others__grp + .others__grp { margin-top: 34px; }
.others__head {
	height: 28px;
	margin: 10px 0 2px;
	padding: 0 10px;
	background: var(--gray);
	font-size: 16px;
	font-weight: 700;
	line-height: 28px;
}
.others__grp + .others__grp .others__head { margin-top: 0; }
.others__list li { display: flex; align-items: baseline; gap: 6px; font-size: 16px; font-weight: 700; line-height: 33px; white-space: nowrap; }
.others__name { flex: 0 0 auto; }
.others__dots { flex: 1 1 auto; min-width: 20px; border-bottom: 2px dotted rgba(255, 255, 255, .9); margin: 0 4px 9px auto; max-width: 70px; }
.others__num { flex: 0 0 auto; }

.up-btn {
	position: absolute;
	right: 17px;
	bottom: 21px;
	width: 80px;
	height: 62px;
	line-height: 62px;
	background: var(--red);
	color: #fff;
	font-size: 30px;
	text-align: center;
	text-decoration: none;
}

/* ------------------------------------------------------------------
 * 制作事例
 * ------------------------------------------------------------------ */
.photo-row--works { width: 1160px; max-width: calc(100% - 40px); margin-top: 40px; }
.photo-row--works img { height: 284px; flex: 391 1 0; width: 33%; }
.photo-row--works img:last-child { flex-grow: 378; }
.works-msg {
	position: relative;
	width: 874px;
	max-width: calc(100% - 40px);
	height: 223px;
	margin: 20px 0 0 calc(50% - 421px);
	background: var(--gray);
	color: #fff;
	font-size: 26px;
	line-height: 46px;
	text-align: center;
}
/* 旧版は灰色の箱の下側に写真が重なる */
.works-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 354px);
	justify-content: space-between;
	row-gap: 19px;
	width: 1160px;
	max-width: calc(100% - 40px);
	margin: -107px auto 36px;
}
.works-grid img { display: block; width: 100%; height: 196px; object-fit: cover; }

/* ------------------------------------------------------------------
 * リクルート
 * ------------------------------------------------------------------ */
.recruit-page {
	position: relative;
	width: 996px;
	max-width: calc(100% - 40px);
	/* 旧版は中央より 25px 右 */
	margin: 0 0 0 calc(50% - 473px);
	padding: 31px 0 31px;
	background: #fff;
	box-shadow: 0 0 8px rgba(127, 127, 127, .5);
}
.ribbon {
	position: absolute;
	left: -66px;
	top: -33px;
	width: 212px;
	height: 44px;
	background: var(--red);
	color: #fff;
	font-size: 23px;
	font-weight: 400;
	line-height: 44px;
	letter-spacing: .1em;
	text-align: center;
	transform: rotate(-20deg);
}
.recruit-page__lead { font-size: 14px; line-height: 25px; text-align: center; }
.recruit-banner {
	position: relative;
	width: 920px;
	max-width: calc(100% - 40px);
	height: 256px;
	margin: 6px auto 0;
	background: 50% 50% / cover no-repeat;
	box-shadow: 0 0 8px rgba(127, 127, 127, .5);
}
.recruit-catch--page { position: absolute; inset: 0; height: auto; }
.recruit-catch--page .recruit-catch__a { left: 94px; top: 58px; }
.recruit-catch--page .recruit-catch__b { left: 251px; top: 147px; }
.recruit-catch--page .recruit-catch__c { left: 473px; top: 74px; }
.recruit-page__en {
	margin-top: 51px;
	font-family: var(--latin);
	font-size: 48px;
	font-weight: 700;
	line-height: 84px;
	color: var(--red);
	text-align: center;
}
.recruit-page__body { width: 797px; max-width: calc(100% - 40px); margin: 15px auto 0; font-size: 15px; line-height: 26px; }
.mincho-title {
	margin-top: 52px;
	font-family: var(--mincho);
	font-size: 30px;
	font-weight: 400;
	line-height: 53px;
	letter-spacing: 13px;
	color: var(--red);
	text-align: center;
}
.recruit-table {
	position: relative;
	left: -3px;
	width: 724px;
	max-width: calc(100% - 40px);
	margin: 15px auto 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.4;
}
.recruit-table th, .recruit-table td { height: 26px; border: 1px solid #000; padding: 0 6px; font-weight: 400; line-height: 1.3; }
.recruit-table th { width: 103px; text-align: center; white-space: nowrap; }
.recruit-table + .mincho-title { margin-top: 30px; }
.welfare { margin-top: 47px; text-align: center; font-size: 15px; line-height: 26px; }
.recruit-page__close {
	position: relative;
	left: 7px;
	margin-top: 36px;
	font-family: var(--mincho);
	font-size: 24px;
	line-height: 1.6;
	color: var(--red);
	text-align: center;
}

/* ------------------------------------------------------------------
 * 一般ページ・404
 * ------------------------------------------------------------------ */
.plain-page {
	width: 1048px;
	max-width: calc(100% - 40px);
	margin: 40px auto 60px;
	background: rgba(255, 255, 255, .92);
}
.plain-page__body { padding: 24px 25px 30px; }
.plain-page__body p + p { margin-top: 1em; }
.plain-page .bar-title a { color: #fff; text-decoration: none; }

/* ==================================================================
 * 1200px 未満：PC版の配置のまま縮める
 * ================================================================== */
@media (max-width: 1199px) {
	.site-header__inner { gap: 40px; padding: 0 20px; }
	.gnav__list { gap: 1.2vw; padding: 0 20px; }
	.gnav__list li, .gnav__list li.nav-top { flex: 1 1 0; }
	.gnav__list li.nav-top { flex-grow: .75; }
	.gnav__list a { font-size: clamp(16px, 2vw, 24px); }
	.hero__logo { font-size: clamp(110px, 16.7vw, 200px); }
	.hero__sub { font-size: clamp(26px, 3.6vw, 43px); margin-top: max(-20px, -1.67vw); }
	.hero--front { height: auto; padding-bottom: 22vw; }
	.hero--sub { height: auto; padding-bottom: 6vw; }
	.equip-box { height: auto; aspect-ratio: 1120 / 636; }
	.equip-box__panel { top: 58.96%; height: auto; bottom: 4.25%; padding: 3% 2.5% 0 1%; }
	.equip-box__text { font-size: clamp(13px, 1.6vw, 18px); line-height: 1.75; }
	.equip-box__panel .pill--white { width: 70%; height: auto; padding: .35em 0; line-height: 1.3; font-size: clamp(16px, 2.6vw, 30px); }
	.pill--works { width: 72%; height: auto; padding: .35em 0; line-height: 1.3; font-size: clamp(16px, 2.6vw, 30px); }
	.company { flex-wrap: wrap; }
	.company__table { flex: 1 1 600px; }
	.company__photo { flex: 0 1 360px; }
	.equip-row { grid-template-columns: 1fr 1fr; }
	.equip-item { grid-template-columns: minmax(0, 262px) 1fr; min-width: 0; }
	.equip-head, .equip-item--big > .equip-head, .equip-item--tall > .equip-head { width: auto; right: 0; }
	.equip-head--full { right: 0; }
	.others__band { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; padding-left: 0; padding-right: 0; }
	.others__col:nth-child(n), .others__band:nth-child(n) .others__col:nth-child(n) { margin-left: 0; }
	.others__list li { white-space: normal; }
	.pill--lg, .contact-band--orange .pill { left: 0; }
	.works-grid { grid-template-columns: repeat(3, 1fr); column-gap: 3%; }
	.works-msg { height: auto; margin: 20px auto 0; padding: 0 10px 117px; font-size: clamp(17px, 2.2vw, 26px); }
	.sec-recruit__body { flex: 1 1 0; min-width: 0; padding-right: 20px; }
	.sec-recruit__photo { flex-basis: 28%; }
	.recruit-catch__c { left: 300px; }
}

/* ==================================================================
 * 1000px 未満
 * ================================================================== */
@media (max-width: 999px) {
	/* 1列に並べ替え：段の高さ・説明文の位置は内容に合わせる */
	.equip-row, .equip-row--first, .equip-rows > .equip-row:nth-child(n) { grid-template-columns: minmax(0, 1fr); row-gap: 21px; height: auto; margin-bottom: 21px; }
	.equip-head, .equip-head--full, .equip-item--big > .equip-head, .equip-item--tall > .equip-head { position: relative; left: 0; top: 0; right: auto; width: auto; grid-column: 1 / -1; }
	.equip-head--full { margin-bottom: -21px; }
	.equip-item, .equip-item--big, .equip-item--tall { height: auto; min-height: 188px; }
	.equip-item > .equip-head { grid-column: 1 / -1; }
	.equip-item__text { padding-top: 12px; }
	.equip-item--big .equip-item__photo { height: auto; aspect-ratio: 515 / 290; }
	.others__band { grid-template-columns: 1fr 1fr; padding-left: 0; padding-right: 0; column-gap: 30px; }
	.others__col:nth-child(n), .others__band:nth-child(n) .others__col:nth-child(n) { margin-left: 0; }
	.sec-head__en { font-size: clamp(26px, 4.6vw, 48px); }
	.sec-head__en--white { font-size: clamp(24px, 4vw, 40px); }
	.sitemap__btns { flex-basis: 50%; }
	.recruit-catch__a { font-size: 5vw; }
	.recruit-catch__b { font-size: 5vw; left: 19vw; top: 90px; }
	.recruit-catch__c { font-size: 7vw; left: 40vw; }
	.recruit-page { margin-left: auto; margin-right: auto; }
	.recruit-catch--page .recruit-catch__a { left: 6%; font-size: 5.4vw; }
	.recruit-catch--page .recruit-catch__b { left: 18%; font-size: 5.4vw; }
	.recruit-catch--page .recruit-catch__c { left: 50%; font-size: 8vw; }
}

/* ==================================================================
 * 760px 以下：旧スマホ版に合わせた縦並び
 * ================================================================== */
@media (max-width: 760px) {
	body { font-size: 14px; }
	.site-header { padding-top: 0; }
	.site-header__band { background: rgba(255, 255, 255, .92); }
	.site-header__inner { flex-direction: column; gap: 6px; height: auto; padding: 14px 15px 12px; }
	.site-logo img { width: 260px; height: 42px; }
	.site-tel__num { font-size: 26px; }
	.site-tel__addr { font-size: 13px; text-align: center; }

	.gnav { position: relative; background: transparent; box-shadow: none; }
	.gnav__toggle {
		display: block;
		width: 100%;
		height: 40px;
		border: 0;
		background: var(--orange);
		color: #fff;
		font-family: var(--mincho);
		font-size: 17px;
		letter-spacing: .1em;
		cursor: pointer;
	}
	.gnav__list {
		display: none;
		flex-direction: column;
		gap: 0;
		height: auto;
		padding: 0;
		background: var(--blue);
	}
	.gnav.is-open .gnav__list { display: flex; }
	.gnav__list li, .gnav__list li.nav-top { flex: none; width: 100%; }
	.gnav__list a { height: 48px; line-height: 48px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .5); border-radius: 0; font-size: 17px; }

	.site-tagline { padding-left: 0; margin-top: 14px; font-size: 14px; line-height: 1.7; color: #000; text-shadow: 0 0 4px rgba(255, 255, 255, .9); }

	.hero { padding: 26px 0 0 !important; height: auto !important; }
	.hero__logo { font-size: 26vw; color: var(--orange); margin-left: -.08em; }
	.hero__sub { font-size: 6.4vw; color: var(--orange); font-style: italic; margin-top: 2px; }
	.hero--front { padding-bottom: 40vw !important; }
	.hero--sub { padding-bottom: 14vw !important; }

	.sec-head { justify-content: center; background: var(--gray); }
	.sec-head::after { display: none; }
	.sec-head__en { display: none; }
	.label, .label--outline, .label--sm, .label--bordered { display: block; width: 100%; min-width: 0; height: 40px; line-height: 40px; border: 0; background: var(--gray); font-size: 19px; text-align: center; letter-spacing: .2em; }

	.greeting { grid-template-columns: 1fr; gap: 14px; padding: 18px 15px; min-height: 0; background: rgba(255, 255, 255, .92); }
	.greeting__photo { width: 60%; height: auto; aspect-ratio: 1; margin: 0 auto; }
	.greeting__text { font-size: 14px; line-height: 1.85; padding-top: 0; }

	.sec-equip { margin-top: 40px; }
	.equip-box { aspect-ratio: auto; }
	.equip-box__circles { position: relative; height: 62vw; }
	.equip-box__panel { position: relative; left: 0; right: 0; top: 0; bottom: auto; padding: 16px 15px 20px; }
	.equip-box__text { font-size: 14px; }
	.equip-box__panel .pill--white, .pill--works { width: 100%; font-size: 18px; margin: 14px 0 0; }

	.brown-zone { margin-top: 40px; padding: 30px 0 40px; }
	.company { margin-top: 0; }
	.company__table { flex: 1 1 100%; font-size: 13px; }
	.company__table th, .company__table td { height: 30px; padding: 4px 6px; white-space: normal; }
	.company__table th { width: 78px; }
	.company__photo { flex: 1 1 100%; }
	.company__photo img { width: 100%; height: auto; aspect-ratio: 360 / 315; }
	.sec-access { margin-top: 40px; }
	.access-map { margin-top: 0; }
	.access-map iframe { height: 300px; }

	.sec-recruit__inner { flex-direction: column; min-height: 0; }
	.sec-recruit__body { padding-top: 0; }
	.sec-recruit__body .label { margin: 0 -20px; width: calc(100% + 40px); background: var(--gray); }
	.recruit-catch { height: 130px; }
	.recruit-catch__a, .recruit-catch__b { font-size: 7.2vw; }
	.recruit-catch__a { left: 0; top: 22px; }
	.recruit-catch__b { left: 10vw; top: 72px; }
	.recruit-catch__c { font-size: 9.6vw; left: 40vw; top: 44px; }
	.sec-recruit__text { font-size: 13px; line-height: 1.85; width: auto; }
	.sec-recruit__photo { flex: none; width: 100%; height: 70vw; margin-top: 18px; }
	.sec-recruit__en { font-size: 32px; right: 10px; top: 14px; }
	.pill--lg, .contact-band--orange .pill { left: 0; }
	.pill--lg, .pill--outline { height: auto; padding: .4em 0; line-height: 1.4; font-size: 18px; }
	.contact-band--brown { height: 90px; }
	.totop-bar { font-size: 20px; height: 48px; line-height: 48px; }

	.sitemap__body { flex-direction: column; gap: 16px; padding: 14px 6px 0; }
	.sitemap__btns { flex-basis: auto; width: 100%; }
	.sitemap__btns .pill--outline { height: auto; line-height: 1.4; padding: .55em 0; font-size: 17px; }

	.photo-row--equip { flex-wrap: wrap; }
	.photo-row--equip img { width: 100%; flex: 1 1 100%; height: 52vw; }
	.equip-page { margin-top: 24px; padding-bottom: 90px; }
	.equip-page__lead { padding: 14px 15px 0; }
	.equip-rows { padding: 24px 15px 0; }
	.equip-item { grid-template-columns: 46% 1fr; min-height: 0; }
	.equip-item--big { grid-template-columns: 1fr; min-height: 0; }
	.equip-item--tall { min-height: 0; }
	.equip-item__photo { height: auto; aspect-ratio: 262 / 188; }
	.equip-item--big .equip-item__photo, .equip-item--tall .equip-item__photo { height: auto; aspect-ratio: 515 / 290; }
	.equip-item--tall { grid-template-columns: 1fr; }
	.equip-item, .equip-item--big, .equip-item--tall { min-height: 0; }
	.equip-item__text { font-size: 13px; line-height: 22px; padding-top: 0; white-space: normal; }
	.year-badge { margin-bottom: 4px; }
	.year-badge { width: auto; padding: 0 12px; font-size: 14px; }
	.equip-item__spec { position: static; width: auto; height: auto; padding: 10px; background: rgba(0, 0, 0, .3); }
	.photo-strip { flex-wrap: wrap; max-width: 100%; width: 100%; margin-left: 0; transform: none; }
	.photo-strip img { flex: 1 1 33.33%; height: 22vw; }
	.bar-title--others { margin: 24px 15px 0; }
	.others { padding: 0 15px; }
	.others__band { grid-template-columns: 1fr; }
	.others__list li { font-size: 14px; line-height: 30px; }

	.photo-row--works { flex-wrap: wrap; margin-top: 16px; }
	.photo-row--works img { flex: 1 1 100%; height: 56vw; width: 100%; }
	.works-msg { font-size: 15px; line-height: 1.8; padding: 14px 12px; }
	.works-grid { grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 10px; margin-top: 10px; }
	.works-grid img { height: 30vw; }

	.recruit-page { margin-top: 20px; padding-top: 50px; }
	.ribbon { left: -10px; top: -14px; width: 160px; height: 36px; line-height: 36px; font-size: 17px; }
	.recruit-banner { height: 44vw; }
	.recruit-catch--page .recruit-catch__a { left: 6%; top: 14%; }
	.recruit-catch--page .recruit-catch__b { left: 14%; top: 46%; }
	.recruit-catch--page .recruit-catch__a, .recruit-catch--page .recruit-catch__b { font-size: 7.4vw; }
	.recruit-catch--page .recruit-catch__c { left: 51%; top: 24%; font-size: 7.6vw; }
	.recruit-page__en { font-size: 34px; line-height: 1.4; margin-top: 30px; }
	.recruit-page__body { font-size: 13px; line-height: 1.85; }
	.mincho-title { font-size: 24px; letter-spacing: 8px; margin-top: 36px; }
	.recruit-table { font-size: 13px; left: 0; }
	.recruit-table th { width: 78px; white-space: normal; }
	.welfare { font-size: 13px; text-align: left; padding: 0 20px; }
	.recruit-page__close { font-size: 17px; padding: 0 16px; left: 0; }
}
