/* ========================================================
TABATA Co.,ltd.
Top Style Sheet
First Update 2018-02-08
Last  Update 2019-07-31
Created by Basic Plus Design Inc.
========================================================= */
#home .main {
	margin-top: 0;
	padding-bottom: 0;
}

/* ---------------------------------------------------------
   Global Navigation
---------------------------------------------------------- */
#header.fixed {
	position: fixed !important;
	top: 0;
	left: 0;
	z-index: 90;
	transition: all 0.5s;
}

@media screen and (min-width: 1024px) {
	#header.fixed {
		top: 68px;
	}

	#home #header {
		position: relative;
		margin-top: -68px;
	}
}

/* ---------------------------------------------------------
   Hero
---------------------------------------------------------- */
#home .c-hero {
	width: 100%;
	height: 100vh;
	background: url("../images/top/hero-top.jpg") no-repeat center center;
	background-size: cover;
	padding-top: 20vh;
	margin-bottom: 0;
}

#home .c-hero p {
	line-height: 1.8;
	margin-bottom: 3em;
}

@media screen and (min-width: 1024px) {
	#home .c-hero {
		padding-top: 20vh;
	}

	#home .c-hero h1 {
		font-size: 400%;
	}
}

/* ---------------------------------------------------------
   campaign area
---------------------------------------------------------- */
#campaign {
	padding: 20px 10px 10px;
	background: #463d1d;
}

#campaign img {
	display: block;
	width: 100%;
	max-width: 1000px;
	margin: auto;
}

#campaign img:hover {
	opacity: 0.8;
}

@media screen and (min-width: 1024px) {
	#campaign {
		padding: 60px 40px;
	}
}

/* ---------------------------------------------------------
   sdgs area
---------------------------------------------------------- */
#sdgs {
	padding: 10px 10px 20px;
	background: #463d1d;
}

#sdgs img {
	display: block;
	width: 100%;
	max-width: 1000px;
	margin: auto;
}

#sdgs img:hover {
	opacity: 0.8;
}

@media screen and (min-width: 1024px) {
	#sdgs {
		padding: 0 40px 60px;
	}
}

/* ---------------------------------------------------------
   6Points
---------------------------------------------------------- */
.p-point .c-flwrap {
	flex-wrap: wrap;
	text-align: center;
}

.p-point .c-top-ttl {
	max-width: 300px;
	height: 40px;
	background: url(../images/top/ttl-point.svg) no-repeat center 0/90% auto;
	margin: 100px auto -60px;
}

.p-point-btn h3,
.p-point-content h3 {
	color: #463d1d !important;
	font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "メイリオ", Meiryo, serif;
	font-size: 130%;
	font-weight: 900;
	line-height: 1.6;
	letter-spacing: 0.1em;
}

.p-point-btn {
	width: 90%;
	max-width: 300px;
	height: 300px;
	padding: 160px 20px 20px;
	margin-bottom: 80px;
	text-align: center;
	background: #fff;
	border: 2px solid #463d1d;
	cursor: pointer;
	position: relative;
}

.p-point-btn .c-btn-more {
	width: 30px;
	height: 30px;
	background: #463d1d url(../images/common/icon-arrow-right-narrow-white.svg) no-repeat center center/11px 18px;
	margin-bottom: 0;
	position: absolute;
	bottom: 0;
	right: 0;
}

.p-point-btn:hover {
	box-shadow: 0 0 0 5px #463d1d inset;
}

.p-point-btn:hover .c-btn-more {
	background-image: url(../images/common/icon-arrow-right-narrow-yellow.svg);
}

.p-point-content {
	width: 85%;
	padding: 20px 20px 85vh 20px;
	font-size: 90%;
	border: 2px solid #463d1d;
	text-align: center;
}

.p-point-btn-ttl,
.p-point-content-ttl {
	width: 75px;
	height: 75px;
}

.p-point-btn-ttl {
	position: absolute;
	top: -40px;
	left: 50%;
	margin-left: -37px;
	text-indent: -9999px;
}

.p-point-content-ttl {
	margin: 0 auto;
}

.p-point-content .c-btn-more {
	margin-top: 30px;
}

#p-point1 .p-point-btn-ttl {
	background: #fff url(../images/top/point01.svg) no-repeat center top/55px 75px;
}

#p-point2 .p-point-btn-ttl {
	background: #fff url(../images/top/point02.svg) no-repeat center top/55px 75px;
}

#p-point3 .p-point-btn-ttl {
	background: #fff url(../images/top/point03.svg) no-repeat center top/55px 75px;
}

#p-point4 .p-point-btn-ttl {
	background: #fff url(../images/top/point04.svg) no-repeat center top/55px 75px;
}

#p-point5 .p-point-btn-ttl {
	background: #fff url(../images/top/point05.svg) no-repeat center top/55px 75px;
}

#p-point6 .p-point-btn-ttl {
	background: #fff url(../images/top/point06.svg) no-repeat center top/55px 75px;
}

#p-point1 .p-point-btn {
	background: url(../images/top/ico-point01.svg) no-repeat center 35%/78px 75px;
}

#p-point2 .p-point-btn {
	background: url(../images/top/ico-point02.svg) no-repeat center 35%/78px 75px;
}

#p-point3 .p-point-btn {
	background: url(../images/top/ico-point03.svg) no-repeat center 35%/68px 75px;
}

#p-point4 .p-point-btn {
	background: url(../images/top/ico-point04.svg) no-repeat center 35%/114px 75px;
}

#p-point5 .p-point-btn {
	background: url(../images/top/ico-point05.svg) no-repeat center 35%/81px 75px;
}

#p-point6 .p-point-btn {
	background: url(../images/top/ico-point06.svg) no-repeat center 35%/67px 75px;
}

.p-point-content-ico {
	width: 20%;
	max-width: 90px !important;
	height: auto;
	max-height: 75px !important;
	margin: 60px auto 40px;
}

#modal3 .c-btn-more a,
#modal5 .c-btn-more a {
	background-position: 10% center;
}

@media screen and (min-width: 480px) {
	.p-point .c-flwrap {
		width: 80%;
	}
}

@media screen and (min-width: 640px) {
	.p-point .c-flwrap {
		width: 100%;
	}

	.p-point-btn {
		width: 280px;
	}
}

@media screen and (min-width: 768px) {
	.p-point .c-flwrap {
		width: 100%;
		justify-content: space-around;
	}

	.p-point-btn {
		width: 300px;
	}

	.p-point-content {
		width: 500px;
		height: 500px;
		padding-bottom: 500px;
	}

	.p-point-content h3 {
		font-size: 160%;
	}
}

/* Modal */
.iziModal-header,
.iziModal-navigate-caption {
	display: none !important;
}

/* ---------------------------------------------------------
   Top Section
---------------------------------------------------------- */
.c-sc-header,
.c-sc-h-photo .c-cell {
	height: 140px;
	margin: 0;
}

.c-sc-h-photo {
	height: 280px;
}

.c-sc-header {
	background: #ffe600;
	text-align: center;
}

/* .c-sc-header */
.c-sc-ttl {
	font-family: "Highway Gothic Narrow", -apple-system, BlinkMacSystemFont, "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro",
		"Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 200%;
	letter-spacing: 0.2em;
	margin-top: 18px;
	margin-bottom: -0.5em;
}

.c-sc-ttl-sub {
	margin-top: 0.7em;
	font-weight: 700;
}

#top-service .c-row-4 .c-cell,
#top-about .c-row-4 .c-cell {
	width: 100%;
}

/* .c-sc-h-photo */
.c-sc-h-photo {
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
}

.c-sc-h-photo .c-cell {
	width: 50%;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: hidden;
}

.c-sc-h-photo .c-cell-photo {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	overlow: hidden;
	-moz-transition: -moz-transform 0.5s linear;
	-webkit-transition: -webkit-transform 0.5s linear;
	-o-transition: -o-transform 0.5s linear;
	-ms-transition: -ms-transform 0.5s linear;
	transition: transform 0.5s linear;
}

.c-sc-h-photo .c-cell-photo img {
	width: 100%;
	height: 100%;
}

/* .c-sc-h-caption */
.c-sc-h-photo .c-cell-caption {
	width: 100%;
	height: 100%;
	color: #fff;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	-moz-transition: -moz-transform 0.5s linear;
	-webkit-transition: -webkit-transform 0.5s linear;
	-o-transition: -o-transform 0.5s linear;
	-ms-transition: -ms-transform 0.5s linear;
	transition: transform 0.5s linear;
	background: rgba(70, 61, 29, 0.5);
}

.c-sc-h-photo a:hover .c-cell-photo,
.c-sc-h-photo a:hover .c-cell-caption {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

.c-sc-h-photo a:hover .c-cell-caption {
	background: rgba(70, 61, 29, 0);
}

.c-sc-h-photo h3 {
	font-size: 80%;
	margin-top: 70px;
	margin-bottom: -0.6em;
}

.c-sc-h-photo .c-cell-caption p {
	line-height: 1;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* .c-sc-h-photo > .c-btn-more */
.c-sc-h-photo .c-btn-more,
.c-sc-h-photo a:hover .c-btn-more {
	width: 15px;
	height: 15px;
	background: #463d1d url(../images/common/icon-arrow-right-narrow-white.svg) no-repeat center center/6px 9px;
	margin-bottom: 0;
	position: absolute;
	bottom: 0;
	right: 0;
}

.c-sc-h-photo a:hover .c-btn-more {
	background-image: url(../images/common/icon-arrow-right-narrow-yellow.svg);
}

/* .c-sc-content */
.c-sc-content .c-flwrap {
	margin-top: 0;
}

.c-sc-content-head {
	position: relative;
	margin-top: 30px;
}

.c-sc-content-ttl {
	font-family: "Highway Gothic Narrow", -apple-system, BlinkMacSystemFont, "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro",
		"Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 230%;
	letter-spacing: 0.05em;
	font-weight: 400;
}

.c-sc-content-ttl span {
	font-size: 50%;
	margin-left: 1em;
}

@media screen and (min-width: 480px) {
	.c-sc-h-photo h3 {
		font-size: 100%;
		margin-top: 60px;
	}
}

@media screen and (min-width: 640px) {
	.c-sc-h-photo {
		height: 140px;
	}

	.c-sc-h-photo .c-cell {
		width: 25%;
	}

	#top-about .c-sc-content .c-cell,
	#top-access .c-sc-content .c-cell {
		width: 100%;
	}
}

@media screen and (min-width: 1024px) {
	.c-sc-header,
	.c-sc-h-photo,
	.c-sc-h-photo .c-cell,
	.c-sc-h-photo .c-cell-photo,
	.c-sc-h-photo .c-cell-caption {
		height: 280px;
	}

	.c-sc-ttl {
		font-size: 260%;
		margin-top: 80px;
	}

	.c-sc-ttl-sub {
		font-size: 110%;
	}

	.c-sc-h-photo h3 {
		font-size: 140%;
		margin-top: 120px;
	}

	/* .c-sc-content */
	.c-sc-content {
		height: 560px;
	}

	#top-about .c-sc-content .c-cell,
	#top-access .c-sc-content .c-cell {
		width: 50%;
	}
}

/* ---------------------------------------------------------
   Top Service
---------------------------------------------------------- */
#top-service .c-sc-content h3 {
	margin-top: 40px;
}

#top-service .c-sc-content .c-flwrap {
	flex-direction: row;
	justify-content: center;
	margin: 40px auto 0;
}

#top-service .c-sc-content .c-row-5 .c-cell {
	width: 50%;
	background: #fffded;
	padding: 10px;
	font-size: 90%;
	font-weight: 900;
	text-align: center;
	position: relative;
}

#top-service .c-sc-content .c-cell img {
	max-width: 60%;
	max-height: 75px;
}

#top-service .c-sc-content .c-cell a {
	display: block;
	z-index: 1;
}

#top-service .c-sc-content .c-cell:hover {
	color: #ffe600;
}

#top-service .c-sc-content .c-cell p {
	z-index: 0;
}

@media screen and (min-width: 640px) {
	#top-service .c-sc-content .c-row-5 .c-cell {
		width: 20%;
	}
}

/* ---------------------------------------------------------
   Top About
---------------------------------------------------------- */
#top-about .c-sc-content .c-top-ttl {
	margin-bottom: -2em;
}

#top-about .c-btn-more {
	text-align: center;
}

@media screen and (min-width: 1024px) {
	#top-about .c-sc-content .c-flwrap {
		margin-top: 120px;
	}

	#top-about .c-sc-content .c-top-ttl {
		margin-top: 20px;
	}

	#top-about .c-btn-more {
		text-align: left;
		margin-top: 80px;
	}
}

/* ---------------------------------------------------------
   Top Works
---------------------------------------------------------- */
#top-works .c-flwrap {
	padding: 0;
}

#top-works .slick-prev {
	left: -20px;
	top: 25%;
}

#top-works .slick-next {
	right: -20px;
	top: 25%;
}

#top-works .c-item1 {
	width: 100%;
	height: 0;
	padding-top: 35%;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

#top-works .u-filter {
	position: static;
}

#top-works .c-item1 img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 0;
}

#top-works .c-item2 {
	margin: 2em auto;
	max-width: 94%;
}

@media screen and (min-width: 640px) {
	#top-works .c-row-2 .c-cell {
		width: 100%;
	}
}

@media screen and (min-width: 860px) {
	#top-works .c-flwrap {
		height: 280px;
		flex-direction: row;
		position: relative;
	}

	#top-works .c-row-2 .c-cell {
		width: 50% !important;
	}

	#top-works .c-item1 {
		width: 0;
		height: 280px;
		padding-top: 0;
	}

	#top-works .c-item1::before {
		width: 0;
		content: "";
		display: block;
		padding-top: 100%;
	}

	#top-works .c-item1 img {
		width: 100%;
		height: auto;
	}

	#top-works .c-item2 {
		padding-left: 4%;
		margin: 3.5em 0;
		position: absolute;
		top: 0;
		right: 0;
	}

	#top-works .c-item2 p {
		max-width: 490px;
	}
}

/* ---------------------------------------------------------
   Top Voice
---------------------------------------------------------- */
#top-voice .c-flwrap {
	flex-direction: row;
	justify-content:
      /*flex-start*/ space-between;
}

#top-voice .c-cell h5 {
	margin-bottom: 0;
	line-height: 1;
}

#top-voice .c-cell p {
	font-size: 90%;
	margin-bottom: 0;
}

#top-voice .c-row-4 .c-cell {
	width: 100%;
	box-shadow: 0 1px rgba(70, 61, 29, 0.6);
	margin-bottom: 2em;
	padding-bottom: 1em;
	display: flex;
	flex-direction: column;
}

#top-voice .c-cell img {
	width: 100%;
	height: auto;
}

#top-voice .c-cell .c-cell-txt {
	width: 100%;
	padding-top: 2em;
}

@media screen and (min-width: 480px) {
	#top-voice .c-row-4 .c-cell {
		flex-direction: row;
	}

	#top-voice .c-cell img {
		width: 265px;
	}

	#top-voice .c-cell .c-cell-txt {
		width: auto;
		padding-top: 0;
		padding-left: 2em;
	}
}

@media screen and (min-width: 768px) {
	#top-voice .c-sc-content-head {
		margin-top: 80px;
	}

	#top-voice .c-row-4 .c-cell {
		flex-direction: column;
		width: 24%;
		padding-right: 12px;
		padding-bottom: 0;
		margin: 0;
		box-shadow: 1px 0 rgba(70, 61, 29, 0.6);
	}

	#top-voice .c-cell:nth-child(even) {
		box-shadow: 1px 0 rgba(70, 61, 29, 0.6);
	}

	#top-voice .c-cell:last-child {
		box-shadow: none;
		margin-right: -12px;
	}

	#top-voice .c-cell img {
		width: 100%;
	}

	#top-voice .c-cell .c-cell-txt {
		width: 100%;
		padding-top: 2em;
		padding-left: 0;
	}
}

/* ---------------------------------------------------------
   Top Q&A
---------------------------------------------------------- */
#top-qa .c-sc-content-head {
	margin-top: 80px;
}

#top-qa .c-sc-content {
	margin-bottom: 80px;
}

#top-qa .c-cell {
	padding-bottom: 2em;
}

#top-qa .c-cell h5 {
	margin-bottom: 0;
	padding-top: 2em;
	padding-left: 30px;
	box-shadow: 0 -1px rgba(70, 61, 29, 0.6);
	background: url(../images/cms/faq/txt-q.svg) no-repeat left 25px/18px 22px;
}

#top-qa .c-cell p {
	font-size: 90%;
	background: url(../images/cms/faq/txt-a.svg) no-repeat left top/17px 20px;
	padding-left: 30px;
}

@media screen and (min-width: 480px) {
	#top-qa .c-cell {
		width: 100%;
	}
}

@media screen and (min-width: 640px) {
	#top-qa .c-sc-content-head {
		margin-top: 50px;
	}

	#top-qa .c-flwrap {
		flex-direction: row;
		justify-content: space-between;
	}

	#top-qa .c-cell {
		width: 48%;
	}
}

/* ---------------------------------------------------------
   Top Recruit
---------------------------------------------------------- */
#top-recruit .c-item-ttl {
	height: 190px;
	padding-top: 60px;
	color: #fff;
	text-align: center;
}

#top-recruit .c-item-ttl h3 {
	margin-bottom: -0.6em;
}

#top-recruit .c-item1 .c-item-ttl {
	background: url(../images/recruit/bg-btn1.jpg) no-repeat center top/cover;
}

#top-recruit .c-item2 .c-item-ttl {
	background: url(../images/recruit/bg-btn2.jpg) no-repeat center top/cover;
}

#top-recruit .c-item1 {
	margin-bottom: 60px;
}

@media screen and (min-width: 640px) {
	#top-recruit .c-sc-content-head {
		margin-top: 80px;
	}

	#top-recruit .c-cell {
		width: 48%;
	}
}

/* ---------------------------------------------------------
   Top Staff
---------------------------------------------------------- */
#top-staff .l-container {
	max-width: 1100px;
}

#top-staff .l-container .c-sc-content-head {
	max-width: 980px;
	margin: 70px auto;
}

#top-staff .slider {
	padding: 0 50px;
	margin: -15px auto 0 !important;
}

#top-staff .slick-slide {
	padding: 15px;
}

#top-staff .slick-prev {
	left: -24px;
}

#top-staff .slick-next {
	right: -24px;
}

/* ---------------------------------------------------------
   TOP NEWS
---------------------------------------------------------- */
#top-newsblog {
	font-size: 90%;
	line-height: 1.4;
}

#top-newsblog .c-sc-content-head {
	margin-top: 80px;
}

#top-news dl.c-list {
	margin-top: -20px;
	padding-top: 20px;
}

#top-news .c-list dt,
#top-news .c-list dd {
	box-shadow: none;
}

#top-news .c-list dt {
	letter-spacing: 0;
}

#top-news .c-list dt,
#top-news .c-list dd {
	padding-left: 0;
}

@media screen and (min-width: 640px) {
	#top-news .c-sc-content-head,
	#top-news dl.c-list {
		margin-right: 20px;
	}

	#top-news .c-cell {
		width: 100%;
	}
}

@media screen and (min-width: 768px) {
	#top-news .c-list dt,
	#top-news .c-list dd {
		width: 100%;
	}
}

@media screen and (min-width: 1024px) {
	#top-news .c-list dt {
		width: 8em;
	}

	#top-news .c-list dd {
		width: calc(100% - 8em);
	}
}

/* ---------------------------------------------------------
   TOP BLOG
---------------------------------------------------------- */
#top-blog .c-sc-content-head {
	box-shadow: 0 1px rgba(70, 61, 29, 0.6) !important;
}

#top-blog .c-sc-content {
	margin-top: -20px;
	padding-top: 26px;
}

#top-blog .c-flwrap {
	margin-bottom: 20px;
}

#top-blog p.u-bd {
	margin-top: 1em;
	margin-bottom: 0;
}

#top-blog dd a {
	position: absolute;
	bottom: 0;
	right: 0;
}

#top-blog-iframe iframe {
	frameborder: 0;
	width: 100%;
	height: 27em;
}

#iframe-blog {
	background-color: #fffded;
}

#iframe-blog .box {
	float: left;
	width: 100%;
	margin-bottom: 1em;
}

#iframe-blog .box img {
	max-width: 28%;
	float: left;
}

#iframe-blog .c-item2 {
	width: 70%;
	float: left;
	padding-left: 3%;
}

@media screen and (min-width: 640px) {
	/*
#top-blog p.u-bd { margin-top: 0; }
#top-blog .c-item1 { width: 30%; }
#top-blog .c-item2 { width: 70%; padding-left: 1em; }
#iframe-blog p.u-bd { margin-top: 0; }*/
}

/* ---------------------------------------------------------
   Top Pickup
---------------------------------------------------------- */
#top-pickup .c-sc-content .c-flwrap {
	flex-flow: column;
}

#top-pickup .c-sc-content .c-cell {
	width: 320px;
	margin: 30px auto;
	text-align: center;
}

#top-pickup .c-sc-content .c-cell img {
	width: 100%;
	max-width: 400px;
}

@media screen and (min-width: 640px) {
	#top-pickup {
		height: 280px;
	}

	#top-pickup .c-sc-content .c-flwrap {
		flex-flow: row;
		justify-content: space-between;
	}

	#top-pickup .c-sc-content .c-cell {
		width: 46%;
	}
}

/* ---------------------------------------------------------
   Top Access
---------------------------------------------------------- */
#top-access {
	padding-bottom: 280px;
}

#top-access #map_canvas {
	width: 100%;
	height: 280px;
	position: absolute;
	top: 360px;
	left: 0;
	background: #ccc;
}

@media screen and (min-width: 1024px) {
	#top-access {
		padding-bottom: 0;
	}

	#top-access .c-sc-content-ttl {
		margin-right: 2em;
		border-bottom: 1px solid #463d1d;
	}

	#top-access .c-sc-content .c-cell {
		margin-top: 80px;
	}

	#top-access #map_canvas {
		width: 50%;
		height: 560px;
		top: 0;
		left: 50%;
	}
}
