/* ========================================================
TABATA Co.,ltd.
About Style Sheet
First Update 2018-02-08
Last  Update 2022-11-30
Created by Basic Plus Design Inc.
========================================================= */
/*=========================================================
#  Greeting
==========================================================*/
#greeting .c-hero {
	background: url(../images/about/hero-greeting.jpg) no-repeat center center;
	background-size: cover;
}

#greeting .c-col-odd_img img {
	max-width: 300px;
}

#greeting .main p {
	line-height: 2em;
}

/*=========================================================
#  Access
==========================================================*/
#access .c-hero {
	background: url(../images/about/hero-access.jpg) no-repeat center center;
	background-size: cover;
}

#access .u-bottom {
	margin-top: 3em;
}

@media screen and (min-width: 768px) {
	#access .u-bottom {
		position: absolute;
		bottom: 2em;
	}
}

/*=========================================================
#  Company
==========================================================*/
#company .main {
	min-height: 10px;
}

#company .c-hero {
	background: url(../images/about/hero-company.jpg) no-repeat center center;
	background-size: cover;
}

/*=========================================================
#  Recruit
==========================================================*/
#recruit {
	padding-bottom: 0;
}

#recruit .c-hero {
	background: url(../images/about/hero-recruit.jpg) no-repeat center center;
	background-size: cover;
}

.recruit_content {
	background-color: #fffded;
	padding: 60px 0;
}

.recruit_content .l-container {
	background-color: #fff;
}

.recruit_content .l-content {
	width: 90%;
	padding: 30px 0;
	margin: auto;
}

.recruit_content h2:not(.c-top-ttl) {
	font-size: 200%;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 2em;
}

.recruit_content h2:not(.c-top-ttl) span {
	display: inline-block;
	position: relative;
}

.recruit_content h2:not(.c-top-ttl) span::after {
	content: "";
	display: inline-block;
	width: 100%;
	height: 3px;
	background: #ffe600;
	position: absolute;
	bottom: 0px;
	left: 0;
}

.recruit_content h2.em {
	font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "メイリオ", Meiryo, serif;
	src: local("Yu Gothic Medium");
	font-size: 220%;
	text-align: left;
	margin: 1em 0;
}

.recruit_content h3 {
	background: #ffe600;
	padding: 3px 0.8em;
	margin-top: 60px;
}

.recruit_content h3.brn {
	background: #463d1d;
	color: #fff;
	text-align: center;
}

.recruit_top .l-container > div {
	display: flex;
	flex-flow: column wrap;
}

.recruit_top .logo {
	width: 80%;
	max-width: 440px;
	margin: -30px auto 0;
}

#recruit_head p {
	font-size: 130%;
	font-weight: bold;
}

.recruit_head .c-cell {
	width: 100%;
	height: 140px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: relative;
}

.recruit_head .c-cell a {
	display: block;
	color: #fff;
	font-size: 150%;
	padding-top: 40px;
	text-align: center;
	cursor: pointer;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transition: all 0.5s;
}

.recruit_head .c-cell a:hover {
	text-shadow: #463d1d 1px 0 5px;
}

.recruit_head .c-cell:nth-child(1) {
	background-image: url(../images/recruit/bg-btn1_off.png);
	margin-bottom: 40px;
}

.recruit_head .c-cell:nth-child(1):hover {
	background-image: url(../images/recruit/bg-btn1_on.png);
}

.recruit_head .c-cell:nth-child(2) {
	background-image: url(../images/recruit/bg-btn2_off.png);
}

.recruit_head .c-cell:nth-child(2):hover {
	background-image: url(../images/recruit/bg-btn2_on.png);
}

#recruit .l-container.headimg {
	background-color: #fff;
	padding-top: 25%;
	margin-bottom: 60px;
}

#cooperator .l-container {
	background: url(../images/recruit/cooperator.jpg) no-repeat center top/100% auto;
}

#recruitment .l-container {
	background: url(../images/recruit/recruitment.jpg) no-repeat center top/100% auto;
}

.btn_contact {
	position: relative;
	width: 100%;
	height: calc(3em + 64px);
	margin-top: 60px;
}

a.contact {
	display: block;
	width: 300px;
	height: 100px;
	background: #fff;
	font-size: 150%;
	font-weight: bold;
	border: 2px solid #463d1d;
	text-align: center;
	padding: 1.4em;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	z-index: 1;
	transition: all 0.8s;
}

a.contact::after {
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	border-right: 8px solid #463d1d;
	border-bottom: 8px solid #463d1d;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 10px auto auto 10px;
	z-index: -1;
}

a.contact:hover {
	margin-left: calc(((100% - 300px) / 2) + 10px);
	margin-top: 10px;
}

a.contact:hover::after {
	display: none;
}

.recruit_item {
	margin-top: 100px;
}

.recruit_item h3 {
	font-weight: 900;
	background: none;
	padding: 0;
	margin-bottom: 0.5em;
}

.recruit_item dl {
	display: flex;
	flex-flow: column wrap;
	border-bottom: 1px solid #463d1d;
}

.recruit_item dt {
	font-weight: bold;
	padding: 0.8em 0.5em 0 0.5em;
	border-top: 1px solid #463d1d;
}

.recruit_item dd {
	padding: 0.8em 0.5em;
}

.recruit_item dd ul {
	margin: 0;
}

.recruit_item dd li {
	margin-left: 1.3em;
	text-indent: -1.3em;
}

@media all and (min-width: 640px) {
	.recruit_top .l-container > div {
		flex-flow: row wrap;
		justify-content: space-between;
	}

	.recruit_top .logo {
		width: 45%;
		max-width: 400px;
	}

	.recruit_top p {
		width: 50%;
		padding-left: 30px;
		margin-top: 1em;
	}

	.recruit_top p span {
		margin-left: -0.5em;
	}

	.recruit_head {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
	}

	.recruit_head .c-cell {
		width: 47%;
	}

	.recruit_item dl {
		flex-flow: row wrap;
	}

	.recruit_item dt {
		width: 7em;
		padding: 0.8em 0.5em;
	}

	.recruit_item dd {
		width: calc(100% - 7em);
		border-top: 1px solid #463d1d;
	}
}

@media all and (min-width: 1000px) {
	.recruit_content .l-content {
		padding: 30px;
	}

	a.contact {
		width: 500px;
	}

	a.contact:hover {
		margin-left: calc(((100% - 500px) / 2) + 10px);
	}
}

/*=========================================================
#  SDGs
==========================================================*/
#sdgs p span {
	display: inline-block;
}

#sdgs .c-hero {
	background: url(../images/about/hero-sdgs.jpg) no-repeat center center;
	background-size: cover;
}

.sdgs_top {
	padding-bottom: 20px;
}

#sdgs_head {
	background-color: #ecece8;
	padding: 60px 0;
}

#sdgs_head h2.c-top-ttl {
	max-width: 6em;
	font-size: 5vw;
	letter-spacing: 0.05em;
	line-height: 1.2;
	margin: -10px auto 0;
	padding-bottom: 1em;
}

#sdgs_head h2.c-top-ttl > span {
	font-size: 110%;
	margin-right: 5px;
	display: inline;
}

#sdgs_head h2.c-top-ttl::after {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	background: #fff;
}

#sdgs_head h2.c-top-ttl > span > span {
	font-size: 110%;
	margin-right: 5px;
}

#sdgs_head .l-container p {
	line-height: 2;
}

#sdgs_head .sdgs_list {
	display: flex;
	flex-flow: column wrap;
	max-width: 480px;
	margin: 30px auto 60px;
}

#sdgs_head .sdgs_list img {
	width: 100%;
	max-width: 360px;
	margin: 2vw auto 0;
}

#sdgs_about .l-content {
	border: 1px dashed #000;
	margin-top: 60px;
	padding: 40px;
}

#sdgs_about .l-content img {
	display: block;
	max-width: 480px;
	margin: auto;
}

#sdgs_about ul {
	margin: 40px auto 0;
}

#sdgs_about li {
	font-size: 107%;
}

#sdgs + #sc-group .c-flwrap .c-cell {
	border-left: 8px solid #463d1d;
	text-align: left;
	margin-top: 40px;
	padding: 0 30px 0 15px;
	border-bottom: none;
}

#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(1) {
	margin-top: 20px;
}

#sdgs + #sc-group .c-flwrap .c-cell p {
	font-weight: bold;
	letter-spacing: 0;
	margin-top: 0;
}

#sdgs + #sc-group .c-flwrap .c-cell p.sub {
	font-weight: normal;
	font-size: 80%;
	margin-top: 0.5em;
	margin-bottom: 0;
}

#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(1) a,
#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(2) a {
	display: block;
	max-width: 350px;
	height: 50px;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: left center;
	position: relative;
	text-indent: -9999px;
}

#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(1) a::after,
#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(2) a::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: #463d1d;
	position: absolute;
	bottom: 3px;
	left: 0;
}

#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(1) a {
	background-image: url(../images/common/phonenumber.svg);
}

#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(2) a {
	width: 100%;
	background-image: url(../images/common/mailadd.svg);
}
#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(3) a {
	display: block;
	width: 12em;
	height: 24px;
	line-height: 24px;
	color: #fff;
	font-weight: bold;
	background: #463d1d;
	padding-left: 1em;
	-webkit-transition: background-position 0.3s;
	transition: background-position 0.3s;
	text-indent: none !important;
	margin-bottom: 5px;
	position: relative;
}

#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(3) a::after {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: rotate(45deg);
	position: absolute;
	right: 10px;
	top: 0.5em;
	transition: all 0.5s;
}

#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(3) a:hover::after {
	right: 3px;
}

@media screen and (max-width: 480px) {
	#sdgs_head h2.c-top-ttl {
		font-size: 180%;
	}
}

@media screen and (min-width: 600px) {
	.sdgs_top {
		padding-bottom: 60px;
	}

	#sdgs_head h2.c-top-ttl {
		font-size: 32px;
	}

	#sdgs_head .sdgs_list {
		flex-flow: row wrap;
		justify-content: space-between;
		max-width: 100%;
		margin-top: 60px;
	}

	#sdgs_head .sdgs_list img {
		width: 48%;
		max-width: 480px;
		margin-top: 0;
		margin-top: 1vw;
		margin-bottom: 1vw;
	}

	#sdgs + #sc-group .c-flwrap {
		justify-content: space-between;
	}

	#sdgs + #sc-group .c-flwrap .c-cell {
		border-right: none;
		padding-left: 10px;
	}
}

@media screen and (min-width: 768px) {
	#sdgs + #sc-group .c-flwrap {
		margin-top: 0;
	}

	#sdgs + #sc-group .c-flwrap .c-cell {
		margin: 0;
		height: 120px;
	}

	#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(1) {
		margin-top: 0;
	}

	#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(1),
	#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(2) {
		width: calc((100% - 17em) / 2);
	}

	#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(3) {
		width: 17em;
	}
}

@media screen and (min-width: 790px) {
	#sdgs + #sc-group .c-flwrap .c-cell {
		padding-left: 15px;
	}
}

@media screen and (min-width: 1000px) {
	#sdgs_head h2.c-top-ttl {
		font-size: 35px;
	}

	#sdgs_head .sdgs_list img {
		margin-top: 12px;
		margin-bottom: 12px;
	}
}

@media screen and (min-width: 1040px) {
	#sdgs + #sc-group .c-flwrap .c-cell {
		padding-left: 20px;
	}

	#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(1) a,
	#sdgs + #sc-group .c-flwrap .c-cell:nth-of-type(2) a {
		margin-top: 24px;
	}
}
