
/* ---------- ABOUT ---------- */
#top-about {
	position: relative;
	overflow: hidden;
}
#top-about .sec-inner{
	padding-bottom: 160px;
}
#top-about::before {
	content: "";
	position: absolute;
	top: -2%;
	right: -15%;
	width: 920px;
	height: 1100px;
	background: url(../img/common/bg.png) no-repeat center center / contain;
	opacity: 0.45;
	pointer-events: none;
	z-index: 0;
}
#top-about .content-width {
	position: relative;
	z-index: 1;
}
.about-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 80px;
	max-width: 860px;
	margin: 0 auto;
}
.about-heading {
	flex-shrink: 0;
	writing-mode: vertical-rl;
	text-orientation: upright;
	max-height: none;
	padding-top: 8px;
}
.about-ttl {
	margin: 0;
	max-height: none;
	font-size: 53px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: calc(81/53);
}
.about-text {
	writing-mode: vertical-rl;
	text-orientation: upright;
	max-height: none;
	flex: none;
	max-width: none;
	height: auto;
	font-size: 18px;
	line-height: 2.22;
	letter-spacing: 0.07em;
}
.yoko {
	display: inline-block;
	writing-mode: horizontal-tb;
	text-orientation: mixed;
	letter-spacing: 0;
	line-height: 1;
	height: 1em;
	text-align: center;
	vertical-align: middle;
	text-combine-upright: all;
	-webkit-text-combine: horizontal;
	transform: translateX(-0.12em);
	margin-right: 4px;
}
.about-text p {
	margin: 0 0 15px;
}
.about-text p:last-child {
	margin-bottom: 0;
}
.about-logo {
	margin: 76px auto 0;
	text-align: center;
}
.about-logo img {
	width: 157px;
	height: auto;
}

@media screen and (min-width: 768px) and (max-width: 1440px) {
	.about-ttl {
		font-size: 36px;
	}
	.about-text {
		font-size: 15px;
	}
}
@media screen and (max-width: 767px) {
	#top-about .sec-inner{
		padding-top: 80px;
		padding-bottom: 75px;
	}
	#top-about::before {
		width: 300px;
		height: 320px;
		right: -20%;
		top: 120px;
	}
	.about-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
		max-width: 100%;
	}
	.about-heading {
		writing-mode: horizontal-tb;
	}
	.about-ttl {
		font-size: 26.5px;
		letter-spacing: 0.12em;
	}
	.about-text {
		writing-mode: horizontal-tb;
		max-width: 100%;
		font-size: 11.5px;
		letter-spacing: 0.05em;
	}
	.yoko {
		transform: none;
		margin-right: 1px;
		margin-top: -3px;
	}
	.about-logo {
		margin-top: 32px;
		text-align: right;
	}
	.about-logo img {
		width: 64px;
	}
}

/* ---------- Image gallery ---------- */
/* ---------- Image gallery (marquee) ---------- */
.img-gallery-marquee {
	overflow: hidden;
	margin: 130px 0 0;
	position: relative;
	z-index: 1;
}
.img-gallery-marquee.mt{
	margin: -60px 0 0;
}
.img-gallery-marquee__track {
	display: flex;
	width: max-content;
	animation: img-gallery-marquee 100s linear infinite;
}
.img-gallery-marquee .img-gallery {
	display: flex;
	flex-shrink: 0;
	gap: 36px;
	margin: 0;
	padding: 0 18px;
	list-style: none;
	box-sizing: border-box;
}
.img-gallery__item {
	flex: 0 0 538px;
	width: 538px;
	overflow: hidden;
	border-radius: 30px;
}
.img-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 538 / 682;
	object-fit: cover;
}

.img-gallery-marquee .img-gallery__item:nth-child(odd) {
	margin-top: 160px;
}

.img-gallery-marquee .img-gallery__item:nth-child(even) {
	margin-bottom: 160px;
}

@keyframes img-gallery-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.img-gallery-marquee__track {
		animation: none;
	}
}

@media screen and (min-width: 768px) and (max-width: 1440px) {
	.img-gallery__item {
		flex-basis: 400px;
		width: 400px;
	}
	.img-gallery-marquee .img-gallery__item:nth-child(odd) {
		margin-top: 44px;
	}
	.img-gallery-marquee .img-gallery__item:nth-child(even) {
		margin-bottom: 44px;
	}
}
@media screen and (max-width: 767px) {
	.img-gallery-marquee {
		margin-top: 38px;
	}
	.img-gallery-marquee.mt{
		margin-top: -30px;
	}
	.img-gallery-marquee .img-gallery {
		gap: 20px;
		padding: 0 6px;
	}
	.img-gallery__item {
		flex-basis: 232px;
		width: 232px;
		border-radius: 5px;
	}
	.img-gallery-marquee .img-gallery__item:nth-child(odd) {
		margin-top: 70px;
	}
	.img-gallery-marquee .img-gallery__item:nth-child(even) {
		margin-bottom: 70px;
	}
	.img-gallery-marquee__track {
		animation-duration: 28s;
	}
	.img-gallery-marquee.mt .img-gallery__item{
		flex-basis: 209px;
		width: 209px;
	}
	.img-gallery-marquee.mt .img-gallery__item:nth-child(odd) {
		margin-top: 67px;
	}
}

/* ---------- BUSINESS ---------- */
#top-business {
	background: var(--color-bg-gray);
}
#top-business .sec-inner{
	padding: 135px 0 165px;
}
.business-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
	list-style: none;
	margin: 75px 0 0;
	padding: 0;
}
.business-card {
	box-sizing: border-box;
}
.business-card__img {
	display: block;
	margin: 0;
	overflow: hidden;
	border-radius: 30px;
}
.business-card__img img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 517 / 361;
}
.business-card__sub-ttl{
	margin: 30px 0 0 ;
	font-size: 18px;
	line-height: calc(38/18);
	letter-spacing: 0.15em;
}
.business-card__ttl {
	margin: 0;
	font-size: 24px;
	font-weight: 400;
	line-height: calc(30/18);
	letter-spacing: 0.1em;
}
.business-card__txt {
	margin: 10px 0 0 ;
	font-size: 14px;
	line-height: calc(23/14);
	letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.business-list {
		gap: 40px;
	}
	.business-card__ttl {
		font-size: 24px;
	}
}
@media screen and (max-width: 767px) {
	#top-business .sec-inner{
		padding: 62px 0 66px;
	}
	.business-list {
		margin-top: 40px;
		grid-template-columns: 1fr;
		gap: 37px;
	}
	.business-card__img {
		border-radius: 10px;
	}
	.business-card__sub-ttl{
		margin-top: 18px;
		font-size: 11px;
	}
	.business-card__ttl {
		margin: 0;
		font-size: 14px;
	}
	.business-card__txt {
		margin: 5px 0 0 ;
		font-size: 11px;
    letter-spacing: 0;
	}
}


/* ---------- MESSAGE ---------- */
#top-message .sec-inner{
	padding: 135px 0 165px;
}
#top-message .sec-en-ttl--left {
	text-align: center;
	margin-bottom: 56px;
}
.message-layout {
	margin-top: 140px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: start;
}
.message-ttl {
	margin: 0 0 45px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.18em;
}
.message-txt {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: calc(40/18);
	letter-spacing: 0.15em;
}
.message-img {
  margin-top: 10px;
	overflow: hidden;
	border-radius: 30px;
}
.message-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 810 / 581;
	object-fit: cover;
  object-position: right bottom;
}
@media screen and (max-width: 1440px) {
  .message-layout {
    grid-template-columns: 1fr 400px;
    gap: 40px;
  }
	.message-ttl {
		font-size: 30px;
		letter-spacing: 2.6px;
	}
}
@media screen and (max-width: 767px) {
	#top-message .sec-inner{
		padding: 62px 0 0;
	}
	.message-layout {
		margin-top: 35px;
		display: flex;
		flex-direction: column-reverse;
		gap: 45px;
	}
	.message-ttl {
		margin: 0 0 40px;
		font-size: 21px;
		letter-spacing: 0.18em;
		word-break: normal;
		overflow-wrap: anywhere;
	}
	.message-txt {
		font-size: 11.5px;
		letter-spacing: 0.08em;
	}
	.message-img {
		max-width: 360px;
		margin: 0 auto;
		border-radius: 20px;
	}
	.message-img img {
		aspect-ratio: 298 / 210;
	}
}


/* ---------- COMPANY ---------- */
#top-company .sec-inner{
	padding: 90px 0 160px;
}
.company-layout {
	display: grid;
	grid-template-columns: 370px 1fr;
	gap: 175px;
	align-items: start;
}
.company-side {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
}
.company-side .sec-ttl{
	margin-top: -20px;
}
.company-side .sec-en-ttl {
	margin-bottom: auto;
}
.company-logo {
	margin-top: 80px;
	margin-left: 55px;
}
.company-logo img {
	width: 189px;
	height: auto;
}
.company-table {
	width: 100%;
	margin: 0;
	border: none;
	border-collapse: collapse;
	background: transparent;
}
.company-table th,
.company-table td {
	padding: 18px 0;
	border: none;
	border-bottom: 1px solid #C8C8C8;
	background: transparent;
	vertical-align: top;
	text-align: left;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.875;
	letter-spacing: 0.15em;
}
.company-table tr:first-child th,
.company-table tr:first-child td {
	border-top: 1px solid #C8C8C8;
}
.company-table th {
	width: 200px;
	white-space: nowrap;
	padding-right: 40px;
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.company-layout {
		grid-template-columns: 360px 1fr;
		gap: 60px;
	}
	.company-table th {
		width: 140px;
		padding-right: 24px;
	}
	.company-logo img {
		width: 140px;
		height: auto;
	}	
}
@media screen and (max-width: 767px) {
	#top-company .sec-inner{
		padding: 61px 0 76px;
	}
	.company-layout {
		display: flex;
		flex-direction: column;
		gap: 25px;
	}
	.company-side {
		display: contents;
	}
	.company-side .sec-ttl {
		order: 1;
		margin-top: 0;
	}
	.company-side .sec-ttl--left{
		align-items: center;
		margin-inline: auto;
	}
	.company-table-wrap {
		order: 2;
		margin-top: 8px;
		width: 100%;
	}
	.company-logo {
		order: 3;
		margin-top: 16px;
		text-align: center;
		margin-inline: auto;
	}
	.company-logo img {
		width: 95px;
		height: auto;
	}
	.company-table th,
	.company-table td {
		padding: 13px 0;
		font-size: 10px;
	}
	.company-table th {
		width: 80px;
		padding-right: 12px;
		padding-left: 15px;
		white-space: normal;
	}
}


/* ---------- INFORMATION ---------- */
#top-information {
	background: var(--color-bg-gray);
}
#top-information .sec-inner{
	padding: 155px 0 155px;
}
#top-information .sec-ttl{
  margin-top: -20px;
}
.info-layout {
	display: grid;
	grid-template-columns: 480px 1fr;
	gap: 135px;
	align-items: start;
}
.info-ttl {
	margin: 0;
	font-size: 14px;
	font-family: var(--font-gothic);
	font-weight: 500;
	letter-spacing: 4.9px;
	line-height: 1.4;
}
.info-ttl-ja {
	margin: 10px 0 0;
	font-size: 13px;
	letter-spacing: 1.6px;
}
.info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #C8C8C8;
}
.info-item {
	border-bottom: 1px solid #C8C8C8;
}
.info-item__btn {
	display: grid;
	grid-template-columns: 110px 1fr 33px;
	gap: 10px;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 42px 0;
	border: none;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
}
.info-item__btn:hover {
	opacity: 0.7;
}
.info-item__btn:focus {
	outline: none;
}
.info-item__date {
	font-size: 16px;
	letter-spacing: 0.15em;
	line-height: 2.5;
	white-space: nowrap;
}
.info-item__ttl {
	min-width: 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 2;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
}
.info-item__icon {
	position: relative;
	display: block;
	width: 33px;
	height: 33px;
	justify-self: end;
}
.info-item__icon::before,
.info-item__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: #333;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.info-item__icon::before {
	width: 33px;
	height: 1px;
	transform: translate(-50%, -50%);
}
.info-item__icon::after {
	width: 1px;
	height: 33px;
	transform: translate(-50%, -50%);
}
.info-item.is-open .info-item__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}
.info-item__body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}
.info-item.is-open .info-item__body {
	grid-template-rows: 1fr;
}
.info-item__content {
	overflow: hidden;
	min-height: 0;
	padding: 0 28px 0 126px;
	font-size: 14px;
	line-height: 1.9;
	letter-spacing: 0.6px;
}
.info-item__content > *:first-child {
	margin-top: 0;
}
.info-item.is-open .info-item__content {
	padding-bottom: 24px;
}
.info-empty {
	text-align: left;
	color: #777;
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.info-layout {
		display: grid;
		grid-template-columns: 360px 1fr;
		gap: 40px;
		align-items: start;
	}
	.info-item__btn {
		padding: 30px 0;
	}
	.info-item__date {
		font-size: 14px;
	}
	.info-item__ttl {
		min-width: 0;
		font-size: 18px;
	}
	}
@media screen and (max-width: 767px) {
	#top-information .sec-inner{
		padding: 73px 0;
	}
	#top-information .sec-ttl--left{
		align-items: center;
		margin-inline: auto;
	}
	.info-layout {
		grid-template-columns: 1fr;
		gap: 37px;
	}
	.info-item__btn {
		grid-template-columns: 75px 1fr 20px;
		gap: 5px;
		padding: 19px 0;
	}
	.info-item__date {
		font-size: 10px;
	}
	.info-item__ttl {
		font-size: 11px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
	.info-item__icon {
		width: 14px;
		height: 14px;
	}
	.info-item__icon::before {
		width: 14px;
	}
	.info-item__icon::after {
		height: 14px;
	}
	.info-item__content {
		padding: 0 0 0 0;
	}
	.info-item.is-open .info-item__content {
		padding-bottom: 20px;
		font-size: 11px;
	}
}


/* ---------- CONTACT ---------- */
#top-contact {
	background: var(--color-bg-muted);
	padding-bottom: 0;
}
#top-contact .sec-inner {
	padding-bottom: 60px;
}
#top-contact .sec-ttl{
	margin-top: -20px;
}
.contact-layout {
	display: grid;
	grid-template-columns: 350px minmax(0, 1fr);
	gap: 100px;
	align-items: start;
}
.contact-side .sec-ttl {
	text-align: left;
	align-items: flex-start;
}
.contact-side .sec-ttl-ja {
	margin-top: 4px;
	font-weight: 400;
}
.contact-lead {
	margin: 0 0 36px;
	font-size: 16px;
	line-height: 1.875;
	letter-spacing: 0.08em;
}
.contact-lead a{
  text-decoration: underline;
}

@media screen and (min-width: 768px) and (max-width: 1440px) {
	.contact-layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 60px;
	}
	.contact-side .sec-ttl-en {
		font-size: 40px;
	}
	.contact-side .sec-ttl-ja {
		font-size: 18px;
	}
}
@media screen and (max-width: 767px) {
	#top-contact .sec-inner{
		padding: 72px 0 45px;
	}
	#top-contact .sec-ttl--left{
		align-items: center;
		margin-inline: auto;
	}
	.contact-lead{
		margin: 0 0 34px;
		font-size: 11.5px;
		letter-spacing: 0.11em;
	}
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}



/* ---------- RECRUIT ---------- */
#top-recruit .sec-inner--sm {
	padding-bottom: 150px;
}
#top-recruit .sec-ttl{
	margin-top: -20px;
}
.recruit-box {
	display: grid;
	grid-template-columns: 300px 1fr 255px;
	gap: 38px;
	align-items: flex-start;
	box-sizing: border-box;
	padding: 90px 100px 85px 108px;
	border: 1px solid #C8C8C8;
}
.recruit-side .sec-side-ttl {
	margin-bottom: 0;
}
.recruit-body{
	margin-top: -18px;
}
.recruit-ttl {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: calc(64/26);
}
.recruit-txt {
	margin: 5px 0 0;
	font-size: 16px;
	line-height: calc(28/16);
	letter-spacing: 0.08em;
	max-width: none;
}
.recruit-action {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
a.btn-recruit {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	padding: 14px 20px;
	font-size: 16px;
	letter-spacing: 0.15em;
	text-align: center;
	border-radius: 0;
	white-space: nowrap;
	transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
	position: relative;
}
.btn-recruit::after {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	content: "";
	width: 14px;
	height: 8px;
	background: url(../img/common/arrow.svg) no-repeat center center / contain;
}
a.btn-recruit--outline {
	background: #fff;
}
a.btn-recruit--solid {
	background: #696969;
	color: #fff;
}
a.btn-recruit--solid::after{
	background: #DCDCDC;
	mask-image: url(../img/common/arrow.svg);
	mask-size: contain;
	mask-position: center center;
	mask-repeat: no-repeat;
}
@media screen and (max-width: 1700px) {
  .recruit-box {
    padding: 90px 100px 85px 80px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.recruit-box {
		display: grid;
		grid-template-columns: 220px 1fr 200px;
		gap: 38px;
		box-sizing: border-box;
		padding: 40px 50px 40px 40px;
		border: 1px solid #C8C8C8;
	}
	.recruit-body{
		margin-top: 0;
	}
  #top-recruit .sec-ttl{
    margin-top: 0;
  }
	.sec-side-ttl {
		font-size: 22px;
		letter-spacing: 1.8px;
	}
	.recruit-ttl {
		font-size: 24px;
		line-height: 1.6;
	}
}

@media screen and (max-width: 767px) {
	#top-recruit .sec-inner--sm {
		padding-bottom: 68px;
		padding-top: 0;
	}
  #top-recruit .sec-ttl{
    margin-top: 0;
  }
	.recruit-box {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 55px 14px 68px;
	}
	.recruit-body{
		margin-top: 30px;
	}
	.recruit-ttl {
		font-size: 20px;
		letter-spacing: 0.18em;
    line-height: 1.6;
	}
	.recruit-txt {
		margin-top: 25px;
		font-size: 11.5px;
		letter-spacing: 0.1em;
    white-space: nowrap;
	}
	.recruit-action {
		width: 203px;
		margin-inline: auto;
		gap: 10px;
	}
	a.btn-recruit {
		padding: 10px 20px;
		font-size: 10px;
		letter-spacing: 0.15em;
	}
	a.btn-recruit--outline {
		border: 1px solid #232323;
	}
}
