﻿@charset "utf-8";
/* mv
----------------------------------------------------------------------*/
.mv{
	display: grid;
	justify-content: center;
	margin-bottom: 60px;
	background: url(../images/mv.webp) bottom left 20% / cover no-repeat;
	min-height: 300px;
}
.mv_ttl{
	padding-top: 15px;
	color: #fff;
	font-size: 3rem;
	font-weight: bold;
	text-align: center;
	opacity: 0;
	animation: fade_in .6s ease-out .1s forwards;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

/* main
----------------------------------------------------------------------*/
/*sec_link*/
.sec_link{
	display: grid;
	gap: 30px;
}
.sec_link_bg{
	position: relative;
	height: 120px;
}
.sec_link_bg::before{
	content: "";
	position: absolute;
	inset: 0 auto auto -20px;
	width: calc(100% + 40px);
	max-width: 800px;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
}
.sec_link_list ul{
	display: grid;
	gap: 15px 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.sec_link_list a{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 0;
	height: 100%;
	border-bottom: 1px solid var(--color-primary);
	text-decoration: none;
	color: var(--color-text);
	font-weight: bold;
}
.sec_link_list a::after{
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	margin-left: 10px;
	background: url(../images/arrow.svg) center / contain no-repeat;
}

.about .sec_link_bg::before{
	background: url(../images/sec_link_about.webp) center / cover no-repeat;
}
.ir .sec_link_bg::before{
	background: url(../images/sec_link_ir.webp) center / cover no-repeat;
}
.sustainability .sec_link_bg::before{
	background: url(../images/sec_link_sustainability.webp) center / cover no-repeat !important;
}
.service .sec_link_bg::before{
	background: url(../images/sec_link_service.webp) center / cover no-repeat;
}
.recruit .sec_link_bg::before{
	background: url(../images/sec_link_recruit.webp) center / cover no-repeat;
}

/*news*/

.category{
	padding: 4px 6px;
	margin-left: 4px;
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
	width: 150px;
	border: 1px solid;
	flex: none;
}
.category.ir{
	color: var(--color-primary);
}
.category.release{
	color: #d02b06;
}
.category.sustainability{
	color: #139c55;
}

/*=====================================================================
   769 start
======================================================================*/
@media screen and ( min-width:769px ){
/* a
----------------------------------------------------------------------*/

/* mv
----------------------------------------------------------------------*/
.mv{
	place-content: center;
	min-height: 450px;
}
.mv_ttl{
	padding-top: 0;
	font-size: 4rem;
}

/* main
----------------------------------------------------------------------*/
/*sec_link*/
.sec_link{
	min-height: 200px;
}
section:nth-child(odd) .sec_link{
	grid-template-columns: 1fr 40%;
}
section:nth-child(odd) .sec_link_bg{
	grid-area: 1 / 2 / 2 / 3;
}
section:nth-child(odd) .sec_link_list{
	grid-area: 1 / 1 / 2 / 2;
}
section:nth-child(even) .sec_link{
	grid-template-columns: 40% 1fr;
}
.sec_link_bg{
	height: 200px;
}
.sec_link_bg::before{
	width: calc(100% + 20px);
}
section:nth-child(odd) .sec_link_bg::before{
	inset: 0 auto 0 0;
	background-position: center left;
	margin-right: calc(50% - 50vw);
}
section:nth-child(even) .sec_link_bg::before{
	inset: 0 0 0 auto;
	background-position: center right;
	margin-left: calc(50% - 50vw);
}
.about .sec_link_bg::before{
	background-position: center !important;
}
.sustainability .sec_link_bg::before{
	background-position: center left -80px  !important;
}
.recruit .sec_link_bg::before{
	background-position: center right -150px !important;
}
.sec_link_list a{
	transition: color .2s;
}
.sec_link_list a:hover::after{
	position: relative;
	animation: arrow .3s ease-out forwards;
}
@keyframes arrow{
	0%{
		opacity: 0;
		left: -10px;
	}
	100%{
		left: 0;
	}
}
.sec_link_list a:hover{
	color: var(--color-primary);
}


/*news*/
.category{
	margin-left: 0;
}

/*=====================================================================
   769 end
======================================================================*/
}