@charset "utf-8";

/*
Theme Name: 信和金属工業
Theme URI: https://shinwa-kzk.co.jp
Author: JohnyWorks, Inc.
Author URI: https://johnyworks.com
Description: このテーマは信和金属工業専用のオリジナルテーマです。
Version: 1.0
Text Domain: shinwa-kzk
*/

/*	グローバル変数
------------------------------*/
:root {
	--color-black-txt: #1e1e1e;
	--color-black-obj: #323232;
	--color-black-border: #dcdcdc;
	--color-white: #fff;
	--color-white-bg: #fafafa;
	--color-navy: #023c7a;
	--color-grey: #5f788c;
	--font-family-primary: hiragino-kaku-gothic-pron, sans-serif;
	--font-family-secondary: poppins, sans-serif;
	--font-weight-300: 300;
	--font-weight-400: 400;
	--font-weight-500: 500;
	--font-weight-600: 600;
	--font-weight-700: 700;
	--font-weight-900: 900;
	--font-size-x-small: 0.75rem;
	--font-size-small: 0.875rem;
	--font-size-regular: 1rem;
	--font-size-medium: 1.125rem;
	--font-size-large: 1.25rem;
	--font-size-x-large: 1.5rem;
}
@media only screen and (max-width: 480px) {

:root {
	--font-size-x-small: 0.625rem;
	--font-size-small: 0.75rem;
	--font-size-regular: 0.875rem;
	--font-size-medium: 1rem;
	--font-size-large: 1.125rem;
	--font-size-x-large: 1.25rem;
}
	
}


/*------------------------------------------------------------
	リセットスタイル
----------------------------------------------------------- */
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, 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, picture, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font: inherit;
	font-style: normal;
	vertical-align: baseline;
	background: transparent;
}
html {
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth;
}
*,
::before,
::after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
article, aside, figcaption, figure, picture, footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
figure,
picture {
	line-height: 0;
}
figure img,
picture img {
	width: 100%;
	height: auto;
}
img, fieldset {
	border: 0;
}
strong {
	font-weight: 600;
}
table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th {
	text-align: left;
}
td, th {
	vertical-align: top;
}
button, input, optgroup, select, textarea {
	-webkit-appearance: none;
	appearance: none;
	vertical-align: middle;
	color: inherit;
	font: inherit;
	background: transparent;
	padding: 0;
	margin: 0;
	outline: 0;
	border-radius: 0;
	text-align: inherit;
}
[type="checkbox"] {
	-webkit-appearance: checkbox;
	appearance: checkbox;
}
[type="radio"] {
	-webkit-appearance: radio;
	appearance: radio;
}
pre {
	white-space: break-spaces;
}
button {
	border: none;
	cursor: pointer;
	font-family: var(--font-family-primary);
	font-weight: var(--font-weight-300);
	font-size: var(--font-size-regular);
}
button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}


/*------------------------------------------------------------
	ベーススタイル
----------------------------------------------------------- */
body {
	color:var(--color-black-txt);
	font-family: var(--font-family-primary);
	font-weight: var(--font-weight-300);
	font-size: var(--font-size-regular);
	line-height: 2;
	letter-spacing: 0.06rem;
	line-break: strict;
	word-break: break-word;
	word-wrap: break-word;
	overflow-wrap: break-word;
	background-color: var(--color-white-bg);
}
a, a:visited, a:hover {
	color: var(--color-navy);
	text-decoration: none;
}
a:hover img {
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
}
.object-fit-img {
	object-fit: cover;
	font-family: 'object-fit: cover;'
}
.grecaptcha-badge {
	visibility: hidden;
}
.nolink {
	pointer-events: none;
	color: #1e1e1e;
}

/*	PC・SPで表示、非表示
------------------------------*/
.hidden_desktop { display: none !important; }
.visible_tab { display: none !important; }
.visible_sp { display: none !important; }

@media only screen and (max-width: 1024px) {
.visible_desktop { display: none !important; }
.hidden_desktop { display: inherit !important; }
}

@media only screen and (max-width: 768px) {
.visible_tab { display: inherit !important; }
.hidden_tab { display: none !important; }
}

@media only screen and (max-width: 480px) {
.visible_sp { display: inherit !important; }
.hidden_sp { display: none !important; }
}

/*	レイアウトスタイル
------------------------------*/
.container,
.flexbox {
	width: 87.5%;
	margin: 0 auto;
	position: relative;
}
.flexbox {
	display: flex;
	flex-wrap: wrap;
}
.container.lg,
.flexbox.lg {
	max-width: 1200px;
}
.container.md,
.flexbox.md {
	max-width: 1000px;
}
.container.sm,
.flexbox.sm {
	max-width: 800px;
}

/*	見出しスタイル
------------------------------*/
.base-hd {
	margin-bottom: 30px;
	position: relative;
}
.base-hd-en {
	display: block;
	font-family: var(--font-family-secondary);
	font-weight: var(--font-weight-500);
	font-size: var(--font-size-small);
	letter-spacing: 0.32em;
	line-height: 1;
}
.base-hd-en::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 28px;
	margin-right: 16px;
	vertical-align: middle;
	background: url(img/obj_gear.svg) no-repeat right center;
	background-size: contain;
}
.base-hd-ja {
	display: block;
	margin-top: 12px;
	font-weight: var(--font-weight-600);
	font-size: clamp(1.5rem, 0.784rem + 3.05vw, 2.25rem);
	line-height: 1.4;
}

.visual-hd {
	margin-bottom: 30px;
}
.visual-hd-en {
	display: block;
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-700);
    font-size: clamp(2.875rem, 2.541rem + 1.11vw, 3.875rem); /* 481 - 1920 */
    letter-spacing: normal;
    line-height: 1;
    color: var(--color-navy);
}
.visual-hd-ja {
	display: block;
    margin-top: 4px;
    font-weight: var(--font-weight-600);
    font-size: clamp(1rem, 0.916rem + 0.28vw, 1.25rem); /* 481 - 1920 */
    line-height: 1.4;
}
.visual-hd-ja::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 1px;
	margin-right: 20px;
	vertical-align: super;
	background-color: var(--color-black-obj);
}
@media only screen and (max-width: 480px) {

.base-hd-en::before {
	width: 20px;
    height: 20px;		
}
.visual-hd-en {
	font-size: 2.5rem;
}

}

/*	ボタンスタイル
------------------------------*/
.base-btn a {
	display: block;
	width: min(80%, 320px);
    margin: 0 auto;
    padding: 20px 30px 20px 20px;
    color: #fff;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-600);
    text-align: center;
    line-height: 1;
    -webkit-border-radius: 27px;
    border-radius: 27px;
    background: linear-gradient(135deg, #023c7a 0%, #5f788c 100%);
	position: relative;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.base-btn a::after {
	content: "";
	display: block;
	width: 6px;
	height: 10px;
	background: url(img/angle-right.svg) no-repeat center right;
	background-size: contain;
	position: absolute;
	right: 20px;
	top: 0;
	bottom: 0;
	margin: auto 0;
}
.base-btn a:hover {
	background: linear-gradient(135deg, #5f788c 0%, #5f788c 100%);
}
@media only screen and (max-width: 480px) {

.base-btn a::after {
	width: 4px;
	height: 8px;
}

}


/*	ヘッダー
------------------------------*/
#header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	position: relative;
	z-index: 999;
}
#header .site-logo {
	width: 260px;
	line-height: 0;
}
#header .site-logo img {
	width: 100%;
	height: auto;
}
@media only screen and (min-width: 1025px) {

#header {
	padding: 30px 40px;
}
.drawer-nav {
	width: calc(100% - 260px);
}
#header .main-menu {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
#header .main-menu > li {
	position: relative;
}
#header .main-menu > li > a {
	display: block;
	padding: 12px 20px;
	color: var(--color-black-txt);
	font-size: var(--font-size-small);
	text-align: center;
	line-height: 1;
	border-right: 1px solid #dcdcdc;
}
#header .main-menu > li:first-child > a {
	border-left: 1px solid #dcdcdc;
}
#header .main-menu > li:nth-child(4) a {
	border-right: none;
}
#header .main-menu li a:hover {
	background-color: #fff;
}
#header .main-menu li.contact a {
	padding: 18px 20px;
	color: #fff;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border-right: none;
	background-color: var(--color-navy);
}
#header .main-menu li.contact a::before {
	content: "";
	display: inline-block;
	width: 23px;
	height: 16px;
	margin-right: 12px;
	vertical-align: sub;
	background: url(img/icon_mail.svg) no-repeat center;
	background-size: contain;
}
#header .main-menu li.contact a:hover {
	background-color: var(--color-grey);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}
#header .main-menu .sub-menu {
	height: 0;
	background-color: #fff;
	position: absolute;
	left: -1px;
	overflow: hidden;
	z-index: 1;
}
#header .main-menu > li.menu-item-has-children:hover > .sub-menu {
	height: auto;
	overflow: unset;
	padding: 12px 20px 0;
	border: 1px solid #dcdcdc;
	border-top: none;
}
#header .sub-menu li a {
	display: block;
	min-width: 160px;
	padding: 12px 20px;
	color: var(--color-black-txt);
	font-size: var(--font-size-small);
	text-align: center;
	word-break: keep-all;
	border-top: 1px solid #dcdcdc;
	position: relative;
}
#header .sub-menu li:first-child a {
	border-top: none;
}
#header .sub-menu li a:hover {
	background-color: var(--color-white-bg);
}

}
@media only screen and (min-width: 1200px) {

#header .main-menu > li > a {
	width: 160px;
	padding: 12px 0;
}
#header .main-menu li.contact a {
	width: 180px;
	padding: 18px 0;
}

}
@media only screen and (min-width: 1441px) {

#header {
	padding: 30px 40px 30px 100px;
}

}
@media only screen and (max-width: 1024px) {

#header {
	padding: 28px 60px;
}
.drawer-hamburger {
	display: block !important;
	padding: 30px 30px 21px;
	-webkit-border-radius: 0 0 0 4px;
	border-radius: 0 0 0 4px;
	background-color: var(--color-white-bg);
	position: fixed;
	z-index: 999;
	top: 0;
	right: 0;
	-webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
	transition: all .6s cubic-bezier(.19,1,.22,1);
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	border: 0;
	outline: 0;
}
.drawer-hamburger-icon {
	display: block;
	width: 80%;
	height: 1px;
	margin-top: 12px;
	background-color: var(--color-navy);
	position: relative;
	-webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
	transition: all .6s cubic-bezier(.19,1,.22,1);
}
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
	content: "";
	display: block;
	width: 80%;
	height: 1px;
	-webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
	transition: all .6s cubic-bezier(.19,1,.22,1);
	background-color: var(--color-navy);
	position: absolute;
	top: -12px;
	left: 0;
}
.drawer-hamburger-icon:after {
	width: 120%;
	top: 12px;
}
.drawer-hamburger-txt {
	display: block;
	padding-top: 24px;
	color: var(--color-navy);
	font-family: var(--font-family-secondary);
	font-weight: var(--font-weight-500);
	font-size: var(--font-size-x-small);
	letter-spacing: 0.32rem;
	line-height: 1;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	transition: all .3s linear;
}
.drawer-open .drawer-hamburger-icon {
	margin: 12px auto 0;
	background-color: transparent;
}
.drawer-open .drawer-hamburger-icon:before,
.drawer-open .drawer-hamburger-icon:after {
	width: 70%;
	top: 0;
	left: 6px;
}
.drawer-open .drawer-hamburger-icon:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.drawer-open .drawer-hamburger-icon:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.drawer-open #header > .site-logo {
	opacity: 0.2;
}
.drawer-nav {
	width: 87.5%;
	height: 100%;
	padding: 120px 6.25%;
	background-color: var(--color-white-bg);
	position: fixed;
	z-index: 999;
	top: 0;
	right: -100%;
	overflow: hidden;
	-webkit-transition: right .6s cubic-bezier(.19,1,.22,1);
	transition: right .6s cubic-bezier(.19,1,.22,1);
}
.drawer-open .drawer-nav {
	right: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#header .main-menu li a {
	display: block;
	padding: 40px;
	color: var(--color-black-txt);
	font-weight: var(--font-weight-600);
	border-bottom: 1px solid var(--color-black-border);
	position: relative;
}
#header .main-menu li a::after {
	content: "";
	display: block;
	width: 6px;
	height: 10px;
	background: url(img/angle-right_b.svg) no-repeat center;
	background-size: contain;
	position: absolute;
	right: 40px;
	top: 0;
	bottom: 0;
	margin: auto 0;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
}
#header .main-menu a.has-menu-item::after {
	width: 16px;
	height: 16px;
	background: url(img/icon_plus-solid.svg) no-repeat center;
	background-size: contain;
}
#header .main-menu a.has-menu-open::after {
	width: 16px;
	height: 3px;
	background: url(img/icon_minus-solid.svg) no-repeat center;
	background-size: contain;
}
#header .main-menu .sub-menu {
	display: none;
}
#header .main-menu .sub-menu li a {
	padding-left: 84px;
}
#header .main-menu .sub-menu li a::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 1px;
	margin-right: 20px;
	vertical-align: super;
	background-color: var(--color-black-txt);
}
#header .main-menu li.contact {
	margin-top: 40px;
}
#header .main-menu li.contact a {
	color: #fff;
	text-align: center;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border-bottom: none;
	background-color: var(--color-navy);
}
#header .main-menu li.contact a::before {
	content: "";
	display: inline-block;
	width: 30px;
	height: 20px;
	margin-right: 12px;
	vertical-align: middle;
	background: url(img/icon_mail.svg) no-repeat center;
	background-size: contain;
}
#header .main-menu li.contact a::after {
	display: none;
}
.drawer-overlay {
	display: none;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .6);
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
}
.drawer-open .drawer-overlay {
	display: block;
}

}
@media only screen and (max-width: 480px) {

#header {
	padding: 18px 0 16px 6.25%;
}
#header .site-logo {
	width: 220px;
}
.drawer-hamburger {
	padding: 24px 16px 16px;
}
.drawer-hamburger-icon {
	margin-top: 8px;
}
.drawer-hamburger-icon:before {
	top: -8px;
}
.drawer-hamburger-icon:after {
	top: 8px;
}
.drawer-hamburger-txt {
	padding: 16px 8px 0;
	font-size: 0.625rem;
	letter-spacing: 0.12rem;
}
.drawer-open .drawer-hamburger-icon:after,
.drawer-open .drawer-hamburger-icon:before {
	width: 50%;
	left: unset;
	right: 30%;
}
.drawer-nav {
	padding: 80px 6.25%;
}
#header .main-menu li a {
	padding: 20px;
}
#header .main-menu li a::after {
	width: 4px;
    height: 8px;
	right: 20px;
}
#header .main-menu a.has-menu-item::after {
	width: 12px;
    height: 12px;
}
#header .main-menu .sub-menu li a {
	padding-left: 40px;
}
#header .main-menu .sub-menu li a::before {
	width: 6px;
	margin-right: 12px;
}
#header .main-menu li.contact {
	margin-top: 20px;
}
#header .main-menu li.contact a::before {
	width: 16px;
	height: 12px;
}

}


/*	パンくずリスト
------------------------------*/
#breadcrumbs {
	margin-top: 80px;
	font-size: var(--font-size-small);
}
#breadcrumbs span {
	display: inline-block;
}
#breadcrumbs a:hover {
	text-decoration: underline;
}
#breadcrumbs span:before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 10px;
	margin: 0 16px;
	background: url(img/angle-right_b.svg) no-repeat right center;
	background-size: contain;
}
#breadcrumbs span:first-child:before {
	display: none;
}
@media only screen and (max-width: 480px) {

#breadcrumbs {
	margin-top: 40px;
}
#breadcrumbs span:before {
	width: 4px;
	height: 8px;
	margin: 0 8px;
}

}


/*	フッター
------------------------------*/
#footer {
	padding: 60px 0 20px;
	text-align: center;
}
#footer .site-logo {
	width: 220px;
	margin: 0 auto 30px;
	line-height: 0;
}
#footer .contact {
	margin-bottom: 30px;
}
#footer .contact a {
	display: block;
	width: 260px;
	margin: 0 auto;
	padding: 12px 20px;
	color: #fff;
	font-size: var(--font-size-small);
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background-color: var(--color-navy);
}
#footer .contact a::before {
	content: "";
	display: inline-block;
	width: 23px;
	height: 16px;
	margin-right: 12px;
	vertical-align: sub;
	background: url(img/icon_mail.svg) no-repeat center;
	background-size: contain;
}
#footer .contact a:hover {
	background-color: var(--color-grey);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}
#footer .address {
	font-size: var(--font-size-small);
}
small {
	display: block;
	margin-top: 60px;
	font-family: var(--font-family-secondary);
	font-weight: var(--font-weight-400);
	font-size: var(--font-size-x-small);
	letter-spacing: .12em;
	line-height: 1;
}
@media only screen and (max-width: 480px) {

#footer .site-logo {
	width: 180px;
}
small {
	margin-top: 40px;
}

}