@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

:root {
	--color-white: #fff;
	--color-black: #000;
	--color-accent: #d4af37;
}

/* ==================== タイトルエリア ==================== */
.c-pageTitle {
	font-size: 2.6em;
	text-align: center;
}

@media (min-width: 600px) {
	.c-pageTitle {
		font-size: 3em;
	}
}

/* ==================== リッチカラム 中央寄せ ==================== */
.justify-content-center .swell-block-columns__inner {
	justify-content: center;
}

/* ==================== お問い合わせフォーム ==================== */
.form__row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	border-right: 1px solid #000;
}

.form__row:nth-last-child(2) {
	margin-bottom: 2em;
	border-bottom: 1px solid #000;
}

.form__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--color_main);
	color: var(--color-white);
	word-break: keep-all;
}

.form__label, .form__input {
	width: 100%;
	padding: 1em;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
}

.form__input :is(input, textarea) {
	width: 100%;
}

.required {
	padding: 1px 3px;
	border-radius: 5px;
	border: 1px solid #e44141;
	background-color: #e44141;
	color: var(--color-white);
	font-size: 80%;
}

@media screen and (min-width: 768px) {
	.form__row {
		--label-width: 250px;
	}

	.form__label {
		max-width: var(--label-width);
	}

	.form__input {
		max-width: calc(100% - var(--label-width));
	}
}

.form__submit {
	position: relative;
	text-align: center;
}

.submit-button {
	width: 250px;
	padding: 1em;
	background-color: var(--color-accent);
	color: var(--color-white);
	font-size: 1.1em;
	font-weight: bold;
	transition: 0.3s;
}

@media (hover: hover) {
	.submit-button:hover {
		opacity: 0.8;
	}
}

.wpcf7-spinner {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/* ==================== テキストシャドウ ==================== */
.text-shadow {
	--text-shadow: var(--text-shadow-x, 1px) var(--text-shadow-y, 1px) var(--text-shadow-blur, 0px) var(--text-shadow-color, var(--color-white));
	text-shadow: var(--text-shadow);
}

/* ==================== reCAPTCHA ==================== */
.grecaptcha-badge {
	bottom: 120px!important;
	z-index: 1;
}

/* ==================== サイドバー ==================== */
.single .l-content {
	background-color: var(--color-white);
}

/* ==================== トップページ ==================== */
/* ---------- 背景画像 ---------- */
.home-bg-screw {
	background: url(https://www.neotec-screw.co.jp/wp-content/uploads/2025/10/top_bg.png) no-repeat 50% 0%/contain;
}

.daruma {
	position: relative;
}

.daruma__img {
	position: absolute;
	right: 15%;
	bottom: 100%;
	width: 15vw;
}

@media screen and (max-width: 959px) {
	.daruma__img {
		width: 6em;
	}
}

/* ---------- 新着情報 ---------- */
.info-heading {
	--text-shadow-y: 2px;
}

.info-tabs>.c-tabList .c-tabList__button {
	background-color: color-mix(in srgb, var(--color_main), #fff 5%);
	color: var(--color-white);
}

.info-tabs>.c-tabList :is(.c-tabList__button:hover, .c-tabList__button[aria-selected=true])  {
	background-color: var(--color_main);
	color: var(--color-white);
}

.info-tabs .c-tabBody {
	background-color: var(--color-white);
}

/* ---------- 導線セクション ---------- */
.page-entry__cols-reverse .swell-block-columns__inner {
	justify-content: flex-end;
}

.page-entry__col {
	position: absolute;
}

.page-entry__col--right {
	left: 50%;
}

.page-entry__col--left {
	right: 50%;
}

.page-entry__button {
	--the-btn-bg: #fffd77;
}

.page-entry__button .swell-block-button__link {
	color: var(--color-black);
}

@media screen and (max-width: 959px) {
	.page-entry__cols-reverse .swell-block-columns__inner {
		flex-direction: column-reverse;
	}
	
	.page-entry__col {
		position: static;
	}
}

/* ==================== 企業情報ページ ==================== */
.company-nav.is-style-button.-flex {
	--the-list-padding: 0.7em 1em;
}

.company-nav.-flex .swell-block-linkList__item {
	width: calc(25% - (var(--the-gap) * 3 / 4));
}

@media screen and (max-width: 959px) {
	.company-nav.-flex .swell-block-linkList__item {
		width: calc(50% - (var(--the-gap) / 2));
	}
}

.company-environment-list {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
}

/* ==================== 設備一覧ページ ==================== */
.is-style-section_ttl.equipment-name {
	padding-block: 1em;
}

/* ==================== 採用ページ ==================== */
.voice.has-border {
	padding: 0;
}

.voice .swell-block-column:last-child {
	padding: var(--swl-box_padding) var(--swl-box_padding) var(--swl-box_padding) 0;
}

@media screen and (max-width: 959px) {
	.voice .swell-block-column:last-child {
		padding: 0 var(--swl-box_padding);
	}
}

/* ---------- Hyperlink ホバーアクション ---------- */
.wp-block-tiptip-hyperlink-group-block img {
	transition: transform 0.3s;
}

.wp-block-tiptip-hyperlink-group-block:focus-visible img {
	transform: scale(1.1);
}

@media (hover: hover) {
	.wp-block-tiptip-hyperlink-group-block:hover img {
		transform: scale(1.1);
	}
}

#lightbox, #imageDataContainer {
	font: inherit;
}

#numberDisplay {
	font-size: 10px;
}
