/* --------- common --------- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}
main {
	padding-block: 30px 362px;
}
.about-sec-ttl-wrapper {
	display: flex;
	gap: 28px;
	align-items: center;
	margin-bottom: 83px;
	color: #fff;
}
.about-sec-ttl--en {
	font-size: 40px;
	font-weight: 700;
	font-family: var(--font-lato);
	line-height: 1;
	letter-spacing: 0.1em;
	&::before {
		content: "";
		display: inline-block;
		width: 20px;
		height: 2px;
		background: var(--bud-gradient);
		border-radius: 10vh;
		margin-right: 18px;
		vertical-align: 14px;
	}
}
.about-sec-ttl--ja {
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
}

/* ------ animation ------ */
@keyframes mask--background {
	0% {
		scale: 1 1;
		transform-origin: left center;
	}
	49% {
		transform-origin: left center;
	}
	50% {
		scale: 1 1;
		transform-origin: center center;
	}
	51% {
		transform-origin: right center;
	}
	100% {
		scale: 0 1;
		transform-origin: right center;
	}
}

@keyframes mask--gradient {
	0% {
		scale: 0 1;
		transform-origin: left center;
	}
	49% {
		transform-origin: left center;
	}
	50% {
		scale: 1 1;
		transform-origin: center center;
	}
	51% {
		transform-origin: right center;
	}
	100% {
		scale: 0 1;
		transform-origin: right center;
	}
}

/* --------- mv --------- */
.mv {
	margin-bottom: 193px;
	color: #fff;
	overflow: hidden;
}
.mv__ttl-wrapper {
	margin-bottom: 51px;
}
.mv__ttl--en {
	width: fit-content;
	font-size: 120px;
	font-weight: 700;
	font-family: var(--font-lato);
	line-height: 1;
	margin-bottom: 8px;
	position: relative;
	&::before {
		content: "";
		display: block;
		position: absolute;
		inset: 0;
		background: var(--background);
		scale: 1 1;
	}
	&::after {
		content: "";
		display: block;
		position: absolute;
		inset: 0;
		background: var(--bud-gradient);
		scale: 0 1;
	}
}
.loaded {
	.mv__ttl--en::before {
		animation: mask--background 0.7s cubic-bezier(0.6, 0, 0.6, 1) 0.2s forwards;
	}

	.mv__ttl--en::after {
		animation: mask--gradient 0.7s cubic-bezier(0.6, 0, 0.6, 1) 0.2s forwards;
	}
}
.mv__ttl--ja {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.33;
	&::before {
		content: "";
		display: inline-block;
		width: 30px;
		height: 1px;
		background: var(--bud-gradient);
		vertical-align: 6px;
		margin-right: 9px;
	}
}
.mv__col {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 91px;
	margin-bottom: 184px;
}
.mv__col__ttl {
	font-size: 30px;
	font-weight: 700;
	line-height: 2;
	margin-left: 18.76%;
}
.mv__col__txt {
	line-height: 2.5;
}
.mv__img-wrapper {
	position: relative;
	width: 57.85%;
	margin: 0 0 60px 23.47%;
}
.mv__img--01 {
	width: 49.57%;
	position: absolute;
	top: -40.25%;
	left: -40.57%;
	z-index: 1;
	border-radius: 23px;
}
.mv__img--02 {
	position: relative;
	z-index: 0;
	border-radius: 35px;
}
.mv__col--bottom {
	display: grid;
	grid-template-columns: auto 28.93%;
	align-items: center;
	gap: 91px;
}
.mv__txt {
	line-height: 2.5;
	margin: 47px 0 0 15.5%;
}
.mv__col__img {
	border-radius: 23px;
}

/* --------- anchor-list --------- */
.anchor-list {
	display: flex;
	margin: 0 0 156px 9.917%;
}
.anchor-list__items {
	width: 20%;
	border-left: 1px solid var(--black-line);
	&:last-child {
		border-right: 1px solid var(--black-line);
	}
}
.anchor-list__link {
	display: grid;
	gap: 12px;
	color: #fff;
	text-align: center;
	&::after {
		content: "";
		display: block;
		width: 10px;
		height: 7px;
		background: #d9d9d9;
		clip-path: polygon(0 0, 100% 0, 50% 100%);
		margin-inline: auto;
		transition: 0.2s;
	}
	&:hover::after {
		translate: 0 6px;
	}
}
.anchor-list__link__txt--en {
	font-weight: 500;
	font-family: var(--font-lato);
	line-height: 1;
	letter-spacing: 0.2em;
}
.anchor-list__link__txt--ja {
	font-size: 10px;
	line-height: 1;
}

/* --------- sec--message --------- */
.sec--message {
	width: calc(100% + 2.78vw);
	margin: 0 0 180px -2.78vw;
	padding: 152px 148px 156px 13.22%;
	background: #f0f0f0;
	border-radius: 0 110px 110px 0;
}
.sec--message__col {
	display: grid;
	grid-template-columns: 1fr 29.3%;
	gap: 15.29%;
	margin-bottom: 75px;
}
.sec--message__dtl {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.sec--message__ttl--en {
	font-size: 30px;
	font-weight: 700;
	font-family: var(--font-lato);
	line-height: 1;
	letter-spacing: 0.2em;
	margin-bottom: 13px;
	position: relative;
	&::before {
		content: "";
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 10vh;
		background: var(--bud-gradient);
		position: absolute;
		top: 50%;
		left: -38px;
		translate: 0 -50%;
	}
}
.sec--message__ttl--ja {
	font-size: 14px;
	line-height: 1.29;
}
.sec--message__catch {
	font-size: 30px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.05em;
}
.sec--message__name {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
}
.sec--message__name__position {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.29;
	margin-bottom: 9px;
}
.sec--message__txt {
	font-size: 15px;
	line-height: 2.33;
}

/* --------- sec--profile --------- */
.sec--profile {
	margin-bottom: 180px;
	color: #fff;
}
.sec--profile__table-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 8.34%;
}
.sec--profile__table__row {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 33px;
	font-size: 15px;
	line-height: 2;
	padding-block: 30px;
	border-top: 1px solid var(--black-line);
	&:last-child {
		border-bottom: 1px solid var(--black-line);
	}
}
.sec--profile__table__ttl {
	font-weight: 700;
}

/* --------- branch --------- */
.sec--branch {
	margin-bottom: 240px;
	color: #fff;
}
.sec--branch__table {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 8.34%;
}
.sec--branch__table__row {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 18px;
	font-size: 15px;
	line-height: 2;
	padding-block: 30px;
	border-top: 1px solid var(--black-line);
}
.sec--branch__table__ttl {
	font-weight: 700;
}
.sec--branch__table__dtl__address {
	margin-bottom: 30px;
}
.sec--branch__table__dtl__map-wrapper {
	width: 78.7%;
}
.sec--branch__table__dtl__map {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	margin-bottom: 14px;
	border: 0;
}
.sec--branch__table__dtl__map-link {
	display: block;
	width: fit-content;
	margin-left: auto;
	color: #b6b6b6;
	font-size: 10px;
	line-height: 1;
	background: var(--bud-gradient) no-repeat left bottom -2px/0 1px;
	position: relative;
	&::after {
		content: "";
		display: block;
		width: 0;
		height: 1px;
		background: #b6b6b6;
		position: absolute;
		bottom: -2px;
		left: 0;
		transition: 0.2s;
	}
	&:hover {
		&::after {
			width: 100%;
		}
	}
}
.sec--branch__table__dtl__map-link__ico {
	width: 8px;
	height: 10px;
	margin-right: 4px;
	vertical-align: -3px;
}
.sec--branch__table__dtl__map-link__ico__path {
	fill: #b6b6b6;
}

/* --------- sec--group --------- */
.sec--group {
	margin-bottom: 196px;
	color: #fff;
}
.sec--group__ttl-wrapper {
	margin-bottom: 96px;
}
.sec--group-domestic {
	margin-bottom: 62px;
}
.sec--group__sub-ttl {
	font-weight: 700;
	line-height: 1.875;
	padding-bottom: 29px;
	border-bottom: 1px solid var(--black-line);
}
.sec--group__list__row {
	display: grid;
	gap: 24px;
	padding-block: 56px;
	border-bottom: 1px solid var(--black-line);
}
.sec--group__list__ttl {
	display: flex;
	gap: 50px;
	align-items: center;
}
.sec--group__list__ttl__img {
	width: 162px;
}
.sec--group__list__ttl__txt {
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}
.sec--group__list__dtl {
	font-size: 15px;
	line-height: 2;
}
.sec--group-oversea__ttl {
	margin-bottom: 37px;
}
.sec--group-oversea__countries__ttl,
.sec--group-oversea__countries__list__items {
	font-size: 15px;
	line-height: 2;
}

/* --------- sec--history --------- */
.sec--history__table {
	padding-top: 60px;
	border-top: 1px solid var(--black-line);
	color: #fff;
	font-size: 15px;
	line-height: 2;
}
.sec--history__table__row {
	display: grid;
	grid-template-columns: 60px 90px 1fr;
	gap: 8px;
	&:has(.sec--history__table__year) {
		margin-top: 40px;
	}
	&:not(:has(.sec--history__table__year)) {
		.sec--history__table__month {
			grid-area: 1/2/1/3;
		}
		.sec--history__table__event {
			grid-area: 1/3/1/4;
		}
	}
}

@media (width<768px) {
	main {
		padding-block: 73px 286px;
	}
	.about-sec-ttl-wrapper {
		gap: 23px;
		margin-bottom: 33px;
	}
	.about-sec-ttl--en {
		font-size: 20px;
		&::before {
			width: 15px;
			margin-right: 10px;
			vertical-align: 7px;
		}
	}

	/* --------- mv --------- */
	.mv {
		margin-bottom: 70px;
	}
	.mv__ttl-wrapper {
		margin-bottom: 70px;
	}
	.mv__ttl--en {
		font-size: 45px;
		margin-bottom: 10px;
	}
	.mv__ttl--ja {
		font-size: 12px;
		line-height: 1.67;
		&::before {
			width: 20px;
			vertical-align: 4px;
			margin-right: 3px;
		}
	}
	.mv__col {
		grid-template-columns: 100%;
		gap: 25px;
		margin-bottom: 134px;
	}
	.mv__col__ttl {
		font-size: 20px;
		line-height: 1.5;
		margin: 0;
	}
	.mv__col__txt {
		font-size: 13px;
		line-height: 1.92;
	}
	.mv__img-wrapper {
		width: 82.86%;
		margin: 0 auto 24px;
	}
	.mv__img--01 {
		width: 45.71%;
		top: -28.97%;
		left: -10.34%;
		border-radius: 15px;
	}
	.mv__img--02 {
		border-radius: 15px;
	}
	.mv__col--bottom {
		grid-template-columns: 100%;
		gap: 50px;
	}
	.mv__txt {
		font-size: 13px;
		line-height: 1.92;
		margin: 0;
		order: 1;
	}
	.mv__col__img-wrapper {
		width: 45.71%;
		margin-left: auto;
	}
	.mv__col__img {
		border-radius: 15px;
		order: 2;
	}

	/* --------- anchor-list --------- */
	.anchor-list {
		flex-wrap: wrap;
		justify-content: center;
		margin: 0 auto 76px;
		gap: 26px 0;
	}
	.anchor-list__items {
		width: calc(100% / 3);
		&:nth-child(3n) {
			border-right: 1px solid var(--black-line);
		}
	}
	.anchor-list__link {
		gap: 10px;
	}
	.anchor-list__link__txt--en {
		font-size: 10px;
	}

	/* --------- sec--message --------- */
	.sec--message {
		width: calc(100% + 20px);
		margin: 0 0 100px -20px;
		padding: 50px 25px 50px 20px;
		border-radius: 0 30px 30px 0;
	}
	.sec--message__col {
		grid-template-columns: 100%;
		gap: 30px;
		margin-bottom: 35px;
	}
	.sec--message__dtl {
		display: flex;
		flex-direction: column;
		gap: 35px;
		padding-left: 23px;
	}
	.sec--message__ttl--en {
		font-size: 15px;
		margin-bottom: 5px;
		&::before {
			width: 15px;
			left: -23px;
		}
	}
	.sec--message__ttl--ja {
		font-size: 11px;
		line-height: 1.45;
	}
	.sec--message__catch {
		font-size: 18px;
	}
	.sec--message__name {
		font-size: 15px;
		line-height: 1;
	}
	.sec--message__name__position {
		font-size: 11px;
		line-height: 1.36;
		margin-bottom: 10px;
	}
	.sec--message__txt {
		font-size: 13px;
		line-height: 1.92;
		margin-left: 23px;
	}

	/* --------- sec--profile --------- */
	.sec--profile {
		margin-bottom: 100px;
	}
	.sec--profile__table-wrapper {
		grid-template-columns: 100%;
		gap: 0;
	}
	.sec--profile__table__row {
		grid-template-columns: 100%;
		gap: 5px;
		font-size: 12px;
		line-height: 1.5;
		padding-block: 25px;
	}

	/* --------- branch --------- */
	.sec--branch {
		margin-bottom: 100px;
		color: #fff;
	}
	.sec--branch__table {
		grid-template-columns: 100%;
		gap: 0;
	}
	.sec--branch__table__row {
		grid-template-columns: 100%;
		gap: 5px;
		font-size: 12px;
		line-height: 1.5;
		padding-block: 25px;
	}
	.sec--branch__table__dtl__address {
		margin-bottom: 20px;
	}
	.sec--branch__table__dtl__map-wrapper {
		width: 100%;
	}
	.sec--branch__table__dtl__map {
		margin-bottom: 20px;
	}

	/* --------- sec--group --------- */
	.sec--group {
		margin-bottom: 100px;
	}
	.sec--group__ttl-wrapper {
		margin-bottom: 38px;
	}
	.sec--group-domestic {
		margin-bottom: 50px;
	}
	.sec--group__sub-ttl {
		font-size: 12px;
		line-height: 1;
		padding-bottom: 48px;
	}
	.sec--group__list__row {
		gap: 15px;
		padding-block: 25px;
	}
	.sec--group__list__ttl {
		gap: 20px;
	}
	.sec--group__list__ttl__img {
		width: 79px;
	}
	.sec--group__list__ttl__txt {
		font-size: 12px;
		line-height: 1.33;
	}
	.sec--group__list__dtl {
		font-size: 12px;
		line-height: 1.5;
	}
	.sec--group-oversea__ttl {
		padding-bottom: 29px;
		margin-bottom: 25px;
	}
	.sec--group-oversea__countries__ttl,
	.sec--group-oversea__countries__list__items {
		font-size: 12px;
		line-height: 1.5;
	}

	/* --------- sec--history --------- */
	.sec--history__table {
		padding: 0;
		margin: 0;
		font-size: 12px;
		line-height: 1.5;
	}
	.sec--history__table__row {
		display: grid;
		grid-template-columns: 50px 41px 1fr;
		&:has(.sec--history__table__year) {
			margin-top: 25px;
		}
	}
}
