@charset "utf-8";

/* ============================
	home
	トップページ専用。is_home() || is_front_page() のときのみ読み込まれる。
	数値は JTC様_TOP_0908（Figma 1440px幅）の実測値。
	色・サイズは tokens.css の変数を参照し、直値を書かない。
	style.css より後に読み込まれるため、.sec-ttl 等の上書きが可能。
============================ */

/* 見出しは全セクション左寄せ（bohr既定は中央寄せ）。CONTACTのみ中央。 */
.section .sec-ttl {
	text-align: left;
}

/* ============================
	top-message
============================ */
#top-message {
	position: relative;
	background: var(--c-white);
}

#top-message .sec-inner {
	padding: 153px 0 100px;
}

#top-message .sec-ttl-box {
	width: 700px;
}

#top-message .sec-ttl {
	letter-spacing: var(--ls-h2-narrow);
}

/* Figma実測 x=890 / w=550、右端まで抜ける */
#top-message .message-img {
	position: absolute;
	top: 134px;
	left: calc(50% + 170px);
	width: calc(50% - 170px);
	height: 428px;
}

#top-message .message-img img {
	width: 100%;
	height: 100%;
	border-radius: 60px 0 0 60px;
}

/* ============================
	top-strength
============================ */
#top-strength {
	background: var(--c-white);
}

.strength-item {
	width: var(--w-card-strength);
	border-radius: var(--r-s);
	overflow: hidden;
	background: var(--c-primary);
	box-shadow: var(--bs);
}

.strength-thumb {
	height: 163px;
	background: var(--c-white);
}

.strength-thumb img {
	width: 100%;
	height: 100%;
}

.strength-info {
	box-sizing: border-box;
	padding: 15px;
	color: var(--c-white);
}

.strength-ttl {
	margin: 0 0 15px;
	font-size: var(--fs-20);
	font-weight: 700;
	line-height: var(--lh-heading);
	text-align: center;
}

.strength-txt {
	margin: 0;
	font-size: var(--fs-14);
	font-weight: 400;
	line-height: var(--lh-body-s);
}

/* ============================
	top-service
============================ */
#top-service {
	position: relative;
	overflow: hidden;
	background: var(--c-off-white) url('../img/service-bg.png') no-repeat center center / cover;
}

.service-item {
	position: relative;
	width: var(--w-card-service);
	border-radius: var(--r-s);
	overflow: hidden;
	padding: 20px 25px;
	background: rgba(255, 255, 255, 0.8);
	box-sizing: border-box;
	box-shadow: var(--bs);
}

.service-ttl {
	margin: 0;
	font-size: var(--fs-22);
	font-weight: 700;
	line-height: var(--lh-heading);
	color: var(--c-primary);
	text-align: center;
}

.service-ttl::after {
	content: "";
	display: block;
	width: 73px;
	height: 1px;
	margin: 20px auto;
	background: currentColor;
}

.service-txt {
	margin: 0;
	font-size: var(--fs-14);
	line-height: var(--lh-body-s);
	color: var(--c-text);
}

/* ============================
	top-product
============================ */
#top-product {
	position: relative;
	overflow: hidden;
	background: var(--c-dark);
}

#top-product .sec-inner {
	min-height: 540px;
	box-sizing: border-box;
}

#top-product .sec-en {
	color: var(--c-primary-light);
}

#top-product .sec-ttl,
#top-product .sec-lead {
	color: var(--c-white);
}

#top-product .sec-ttl-box {
	width: 600px;
}

#top-product .content-box {
	margin: 39px 0 0;
}

#top-product .product-img {
	position: absolute;
	top: 60px;
	left: calc(50% + 70px);
	width: calc(50% - 70px);
	height: 420px;
}

#top-product .product-img img {
	width: 100%;
	height: 100%;
	border-radius: 60px 0 0 60px;
}

/* ============================
	top-interview
============================ */
#top-interview {
	background: var(--c-white);
}

.interview-body {
	width: 850px;
	margin: 0 auto;
}

.interview-body p {
	margin: 0 0 35px;
	font-family: var(--f-body);
	font-size: var(--fs-18);
	line-height: var(--lh-interview);
	letter-spacing: var(--ls-btn);
	color: var(--c-text);
}

.interview-body p:last-child {
	margin-bottom: 0;
}

.interview-name {
	justify-content: flex-end;
	align-items: baseline;
	width: 850px;
	margin: 46px auto 0;
}

.interview-role {
	margin: 0 20px 0 0;
	font-family: var(--f-body);
	font-size: var(--fs-18);
	line-height: var(--lh-interview);
	letter-spacing: var(--ls-btn);
	color: var(--c-text);
}

.interview-person {
	margin: 0;
	font-family: var(--f-brush);
	font-size: var(--fs-30);
	line-height: 1.17;
	letter-spacing: var(--ls-h2);
	color: var(--c-ink);
}

/* ============================
	top-company
============================ */
#top-company {
	background: var(--c-white);
	position: relative;
}

#top-company .company-deco-building {
	position: absolute;
	top: 47px;
	left: calc(50% + 204px);
	z-index: 2;
	width: 289px;
	pointer-events: none;
}

#top-company .company-deco-building img {
	width: 100%;
	height: auto;
}

#top-company .sec-inner {
	position: relative;
	z-index: 1;
}

.company-list {
	margin: 0;
	font-family: var(--f-body);
	font-size: var(--fs-18);
	line-height: var(--lh-table);
	color: var(--c-text);
}

.company-list dt {
	box-sizing: border-box;
	width: 214px;
	margin: 0;
}

.company-list dd {
	box-sizing: border-box;
	width: calc(100% - 214px);
	margin: 0;
}

/* ============================
	top-news
============================ */
#top-news {
	background: var(--c-bg-light);
	position: relative;
}

#top-news .news-deco-toki {
	position: absolute;
	left: calc(50% - 500px);
	top: -45px;
	z-index: 0;
	width: 346px;
	pointer-events: none;
}

#top-news .news-deco-toki img {
	width: 100%;
	height: auto;
}

#top-news .sec-ttl-box {
	width: 220px;
}

#top-news .content-box {
	width: 930px;
	margin: 40px 0 0;
}

#top-news .news-list {
	border-top: 1px solid var(--c-border);
}

#top-news .news-item {
	align-items: baseline;
	padding: 16px 0;
	border-top: none;
	border-bottom: 1px solid var(--c-border);
	color: var(--c-text-sub);
}

#top-news .post-date {
	width: 137px;
	font-size: var(--fs-18);
	font-weight: 500;
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-btn);
}

#top-news .post-ttl {
	width: calc(100% - 148px);
	margin: 0 0 0 11px;
	font-size: var(--fs-20);
	font-weight: 500;
	line-height: var(--lh-heading);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

#top-news .post-ttl a:hover {
	color: var(--c-primary);
}

#top-news .btn-box {
	margin: 60px 0 0;
}

#top-news .btn-arrow {
	margin: 0 auto;
}

/* ============================
	top-recruit
============================ */
#top-recruit {
	position: relative;
	overflow: hidden;
	background: var(--c-primary);
}

#top-recruit .sec-inner {
	min-height: 540px;
	box-sizing: border-box;
}

#top-recruit .sec-en {
	font-size: var(--fs-19);
	color: var(--c-primary-pale);
}

#top-recruit .sec-ttl {
	color: var(--c-off-white);
	letter-spacing: var(--ls-h2-narrow);
}

#top-recruit .sec-lead {
	color: var(--c-white);
}

#top-recruit .sec-ttl-box {
	width: 613px;
}

#top-recruit .content-box {
	margin: 36px 0 0;
}

#top-recruit .recruit-img {
	position: absolute;
	top: 93px;
	left: calc(50% + 40px);
	width: calc(50% - 40px);
	height: 447px;
}

#top-recruit .recruit-img img {
	width: 100%;
	height: 100%;
	border-radius: 60px 0 0 0;
}

/* ============================
	top-contact
============================ */
#top-contact {
	background: var(--c-bg-light);
}

#top-contact .sec-ttl-box {
	text-align: center;
}

#top-contact .sec-en {
	color: var(--c-text-sub);
}

#top-contact .sec-ttl {
	text-align: center;
	font-size: var(--fs-36);
	letter-spacing: var(--ls-h2-narrow);
	color: var(--c-primary);
}

#top-contact .content-box {
	margin: 59px 0 0;
}

/* ============================
	SP
============================ */
@media screen and (max-width: 767px) {
	#top-message .sec-inner {
		padding: var(--pad-sec) 0 0;
	}

	#top-product .sec-inner,
	#top-recruit .sec-inner {
		padding-bottom: 0;
	}

	#top-message .sec-ttl-box,
	#top-product .sec-ttl-box,
	#top-recruit .sec-ttl-box,
	#top-news .sec-ttl-box {
		width: 100%;
	}

	#top-message .message-img,
	#top-product .product-img,
	#top-recruit .recruit-img {
		position: static;
		width: 100%;
		height: auto;
		margin: 30px 0 0;
	}

	#top-message .message-img img,
	#top-product .product-img img,
	#top-recruit .recruit-img img {
		height: auto;
		aspect-ratio: 16 / 11;
		border-radius: 0;
	}

	.strength-item,
	.service-item {
		width: 100%;
	}

	.strength-item + .strength-item,
	.service-item + .service-item {
		margin: 20px 0 0;
	}

	.strength-thumb {
		height: auto;
	}

	.strength-thumb img {
		height: auto;
		aspect-ratio: 270 / 163;
	}

	.strength-info,
	.service-info {
		min-height: 0;
	}

	#top-product .sec-inner,
	#top-recruit .sec-inner {
		min-height: 0;
	}

	.interview-body,
	.interview-name {
		width: 100%;
	}

	.interview-body p {
		margin-bottom: 28px;
	}

	.interview-name {
		margin-top: 30px;
	}

	#top-company .company-deco-building {
		left: auto;
		right: 0;
		width: 150px;
	}

	.company-list dt,
	.company-list dd {
		width: 100%;
		line-height: var(--lh-heading);
	}

	.company-list dt {
		margin: 20px 0 0;
		font-weight: 700;
		color: var(--c-ink);
	}

	.company-list dt:first-child {
		margin-top: 0;
	}

	#top-news .news-deco-toki {
		left: auto;
		right: -20px;
		bottom: -30px;
		width: 180px;
	}

	#top-news .content-box {
		width: 100%;
		margin-top: 24px;
	}

	#top-news .news-item {
		display: block;
	}

	#top-news .post-date {
		width: auto;
		font-size: var(--fs-14);
	}

	#top-news .post-ttl {
		width: 100%;
		margin: 4px 0 0;
		-webkit-line-clamp: 2;
	}

	#top-news .btn-box {
		margin-top: 30px;
	}

	#top-contact .content-box {
		margin-top: 30px;
	}

	.btn-box .btn-arrow {
		margin: 0 auto;
	}
}
