@charset "utf-8";

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
HOME
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-article {
	margin-bottom: -50px;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- ページヘッダー
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-header {
	position: relative;
	min-height: 640px;
}

.home-header .image {
	overflow: hidden;
	width: 200vw;
	height: 100%;
	border-bottom-right-radius: 50%;
	border-bottom-left-radius: 50%;
	transform: translateX(-50vw);
}

.home-header .img {
	width: 100vw;
	height: 100%;
	transform: translateX(50vw);
	object-fit: cover;
	object-position: 60% 20%;
}

.home-header .shape {
	position: absolute;
	inset: auto auto 40px 50%;
	width: 151%;
	max-width: 568px;
	transform: translateX(-50%);
}

.home-header .inner {
	position: absolute;
	inset: auto 0 35px;
}

.home-header .heading-ja {
	margin-bottom: 0.3em;
	color: #fff;
	font-size: 35px;
}

.home-header .heading-en {
	color: #fff;
	font-size: 10px;
}

.home-header .notice {
	display: flex;
	width: fit-content;
	margin-top: 30px;
	padding: 1em 1.5em;
	border-radius: 10px;
	background: rgb(255, 255, 255, 0.8);
	font-weight: 600;
	line-height: 1.4;
	column-gap: 2em;
	align-items: center;
}

.home-header .notice:hover {
	color: var(--color_sub);
}

.home-header .notice::after {
	width: 0.6em;
	height: 0.6em;
	border-top: 2px solid;
	border-right: 2px solid;
	content: "";
	transform: rotate(45deg);
	flex: none;
}

@media (min-width: 768px) {
.home-header {
	min-height: 800px;
}

.home-header .image {
	width: 140vw;
	transform: translateX(-20vw);
}

.home-header .img {
	transform: translateX(20vw);
}

.home-header .shape {
	top: 36%;
	width: 104%;
	max-width: 1336px;
}

.home-header .inner {
	inset: 50% 0 auto;
	transform: translateY(-50%);
}

.home-header .heading-ja {
	font-size: 44px;
}

.home-header .heading-en {
	font-size: 16px;
}

.home-header .notice {
	margin-top: 180px;
}
}

@media (max-width: 767.9px) {
.home-header .notice {
	max-width: 80%;
	margin-inline: auto;
	font-size: 13px;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- みつば電機とは
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-about {
	position: relative;
	z-index: 2;
}
@media (min-width: 768px) {
.home-about {
	z-index: 1;
}
}

.home-about .shape {
	position: absolute;
	inset: 100px -60px auto auto;
	width: 160%;
	max-width: 604px;
}

.home-about .inner {
	display: grid;
	position: relative;
	z-index: 1;
	gap: 30px 6%;
}

.home-about .img01 {
	display: block;
	min-height: 234px;
	margin: 0 0 20px -64px;
	object-fit: cover;
	object-position: 90% center;
}

.home-about .img02 {
	display: block;
	margin-left: auto;
}

.home-about .heading_enja-ja {
	letter-spacing: normal;
}

.home-about .color {
	display: inline-block;
}

@media (min-width: 768px) {
.home-about .shape {
	inset: 320px auto auto 50%;
	width: 117%;
	max-width: 1501px;
	transform: translateX(-49%);
}

.home-about .inner {
	grid-template-columns: 1fr 48%;
	align-items: center;
}

.home-about .image {
	margin-left: -460px;
}

.home-about .img01 {
	height: 411px;
	margin: 0 0 70px -46px;
}

.home-about .img02 {
	height: 287px;
	object-fit: cover;
}

.home-about .heading_enja {
	margin-left: -4em;
}

.home-about .description {
	font-size: 16px;
}

.home-about .button {
	margin-left: 0;
}
}

@media (max-width: 767.9px) {
.home-about .img02 {
	max-width: 60%;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- メニュー
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-menu-staff {
	position: relative;
	padding-bottom: 50px;
	z-index: 1;
}
@media (min-width: 768px) {
	.home-menu-staff {
	}
}


.home-menu-staff .shape {
	position: absolute;
	inset: -500px auto 0 50%;
	width: 157%;
	max-width: 600px;
	height: calc(100% + 500px);
	transform: translateX(-58%);
}

.home-menu {
	position: relative;
	z-index: 1;
	padding: 0;
}

.home-menu-li a {
	display: block;
	overflow: hidden;
	position: relative;
}

.home-menu-li .img {
	width: 100%;
	height: 332px;
	transition: var(--transition_img);
	object-fit: cover;
}

.home-menu-li a:hover .img {
	transform: scale(1.1);
	filter: var(--brightness);
}

.home-menu-li .heading {
	position: absolute;
	inset: 50% var(--padding-inline) auto;
	color: #fff;
	text-align: center;
	transform: translateY(-50%);
}

.home-menu-li .heading-ja {
	margin-bottom: 0.3em;
	font-size: 28px;
}

.home-menu-li .heading-en {
	font-size: 14px;
}

@media (min-width: 768px) {
.home-menu-staff .shape {
	top: 1010px;
	width: 127%;
	max-width: 1627px;
	height: calc(100% - 1010px);
}

.home-menu-ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.home-menu-li .heading-ja {
	font-size: 35px;
}

.home-menu-li .heading-en {
	font-size: 20px;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- インサート
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-insert {
	position: relative;
}

.home-insert .img {
	width: 100%;
	height: clamp(185px, calc(100vw * 185 / 375), 380px);
	object-fit: cover;
}

.home-insert .copy {
	position: absolute;
	inset: 50% 0 auto 50%;
	width: max-content;
	color: #fff;
	font-weight: 600;
	font-size: 42px;
	letter-spacing: 0.01em;
	transform: translate(-50%, -50%);
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 事業内容
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-business {
	padding-top: 0;
}

.home-business-intro {
	display: grid;
	margin-bottom: 60px;
	gap: 30px 5%;
}

.home-business-intro .image {
	margin-left: var(--padding-inline_negative);
}

.home-business-intro .text {
	position: relative;
	z-index: 1;
}

.home-business-intro .copy {
	margin-bottom: 0.8em;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: var(--letter-spacing);
}

.home-business .menu-ul {
	position: relative;
	z-index: 1;
}

@media (min-width: 768px) {
.home-business-intro {
	grid-template-columns: 1fr 380px;
}

.home-business-intro .image {
	margin-left: -24%;
}

.home-business-intro .img {
	height: 515px;
	object-fit: cover;
	object-position: left center;
}

.home-business-intro .text {
	padding-top: 44px;
}

.home-business-intro .copy {
	font-size: 18px;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 新着情報
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-info {
	position: relative;
	z-index: 1;
	background: var(--color_main);
	color: #fff;
}

.info-category {
	overflow: auto;
	padding-bottom: 1.2em;
}

.info-category-ul {
	display: flex;
	width: max-content;
	font-weight: 600;
	font-size: 12px;
}

.info-category-li:not(:last-child)::after {
	display: inline-block;
	height: 1em;
	margin-inline: 0.8em;
	border-right: 1px solid;
	vertical-align: -0.1em;
	content: "";
}

.info-category-li a:hover {
	opacity: var(--opacity);
}

.info-post-li {
	display: grid;
	padding: 1.5em 0.5em;
	border-bottom: 1px solid;
	transition: var(--transition);
	row-gap: 0.5em;
}

.info-post-li:first-child {
	border-top: 1px solid;
}

.info-post-li:hover {
	background: rgb(255, 255, 255, 0.1);
}

.info-post-li .post-category {
	min-width: 160px;
	padding-block: 0.1em;
	border-color: #fff;
	border-radius: 0;
	background: none;
	font-weight: inherit;
	text-align: center;
}

.info-post-li .post-category:hover {
	background: #fff;
	color: var(--color_main);
}

.info-post-li .post-heading {
	font-weight: inherit;
}

@media (min-width: 768px) {
.home-info .content {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 36px;
}

.home-info .wrapper {
	overflow: hidden;
}

.info-category-ul {
	font-size: 16px;
}

.info-post-li {
	padding-block: 2em;
	grid-template-columns: auto 1fr;
	column-gap: 1.5em;
	align-items: center;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- 採用
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-recruit {
	padding-bottom: 0;
}

.home-recruit .inner {
	display: grid;
	position: relative;
	z-index: 1;
	gap: 30px;
}

.home-recruit .image {
	margin-right: -160px;
}

@media (min-width: 768px) {
.home-recruit .inner {
	grid-template-columns: 44% 1fr;
}

.home-recruit .image {
	margin-right: -490px;
}

.home-recruit .img {
	height: 515px;
	min-height: 100%;
	object-fit: cover;
}

.home-recruit .text {
	grid-row: 1;
	grid-column: 1;
}
}
