@charset "UTF-8";

/* =========================================================
  Main Visual
========================================================= */
.p-home-hero {
    position: relative;
}
.p-home-hero__message {
    position: absolute;
    right: 0;
    bottom: 9%;
    width: 40vw;
}
@media screen and (max-width:767px) {
	.p-home-hero__message {
		bottom: 19%;
    	width: 64vw;
	}
}

/* =========================================================
  Home News
========================================================= */
.p-home-news {
	padding-top: clamp(45px, 5.3vw, 102px);
	padding-bottom: clamp(45px, 5.3vw, 102px);
	background-color: #f8f8f8;
    margin-top: -10px;
    z-index: 1;
    position: relative;
}

.p-home-news__body {
	display: grid;
	grid-template-columns: 255px 1fr;
	column-gap: 65px;
	width: min(62.5vw, 1200px);
	margin-left: auto;
	margin-right: auto;
}
@media screen and (min-width:1230px) {
	.p-home-news__body {
		width: 1200px;
	}
}
@media screen and (max-width:1229px) {
	.p-home-news__body {
		grid-template-columns: 180px 1fr;
		column-gap: 40px;
		width: calc(100% - 60px);
	}

	.p-home-news__heading h2 {
		font-size: clamp(28px, 3vw, 40px);
	}

	.p-home-news__heading a {
		font-size: clamp(15px, 1.5vw, 20px);
	}

	.p-home-news__item a {
		grid-template-columns: 100px 1fr 16px;
		column-gap: 20px;
		font-size: clamp(15px, 1.5vw, 20px);
	}

	.p-home-news__item a::after {
		font-size: 18px;
	}
}

.p-home-news__heading {
	padding-top: 18px;
	border-right: 1px solid var(--color-border);
}

.p-home-news__heading h2 {
	font-size: 40px;
	font-weight: 400;
	line-height: 1.4;
}

.p-home-news__heading a {
	display: inline-flex;
	align-items: center;
	gap: 1.1em;
	margin-top: 16px;
	color: var(--color-primary);
	font-size: 20px;
	line-height: 1.5;
}

.p-home-news__heading a::after {
	content: ">";
}

.p-home-news__list {
	display: grid;
	gap: 0;
}

.p-home-news__item a {
	position: relative;
	display: grid;
	grid-template-columns: 130px 1fr 20px;
	align-items: center;
	column-gap: 30px;
	padding: 24px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.p-home-news__item a::after {
	content: ">";
	justify-self: end;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.p-home-news__item time {
	color: var(--color-primary);
}

.p-home-news__item span {
	min-width: 0;
}

/* =========================================================
  Home News - SP
========================================================= */
@media (max-width: 767px) {
	.p-home-news {
		padding-top: 45px;
		padding-bottom: 50px;
	}

	.p-home-news__body {
		display: block;
		width: 100%;
		padding-left: var(--container-padding-sp);
		padding-right: var(--container-padding-sp);
	}

	.p-home-news__heading {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		padding-top: 0;
		padding-bottom: 18px;
		border-right: 0;
		border-bottom: 1px solid var(--color-border);
	}

	.p-home-news__heading h2 {
		font-size: 30px;
	}

	.p-home-news__heading a {
		margin-top: 0;
		font-size: 15px;
	}

	.p-home-news__item a {
		grid-template-columns: 1fr 16px;
		row-gap: 6px;
		column-gap: 12px;
		padding: 18px 0;
		font-size: 15px;
	}

	.p-home-news__item a::after {
		grid-column: 2;
		grid-row: 1 / 3;
		font-size: 20px;
	}

	.p-home-news__item time,
	.p-home-news__item span {
		grid-column: 1;
	}

	.p-home-news__item time {
		font-size: 14px;
	}
}

/* =========================================================
  Custom Override
  Home News Link
========================================================= */

.p-home-news__content {
	display: flex;
	flex-direction: column;
}

.p-home-news__button {
	margin-top: 34px;
	text-align: right;
}

.p-home-news__button a {
	display: inline-flex;
	align-items: center;
	gap: 0.8em;
	color: #8f0000;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: opacity .25s ease;
}

.p-home-news__button a::after {

	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);

}

.p-home-news__button a:hover {
	opacity: 0.7;
}

@media (max-width: 767px) {
	.p-home-news__button {
		margin-top: 18px;
		text-align: right;
	}

	.p-home-news__button a {
		font-size: 15px;
	}
}

/* =========================================================
  Custom Override
  Home News Arrow
========================================================= */

.p-home-news__item a::after,
.p-home-news__button a::after {
	content: none;
}

.p-home-news__item .c-arrow {
	justify-self: end;
}

@media (max-width: 767px) {
	.p-home-news__item .c-arrow {
		grid-column: 2;
		grid-row: 1 / 3;
		align-self: center;
		justify-self: end;
	}
}

/* =========================================================
  Custom Override
  Home News Color
========================================================= */

.p-home-news__item time,
.p-home-news__button a,
.p-home-news__item .c-arrow,
.p-home-news__button .c-arrow {
	color: var(--color-primary);
}

/* =========================================================
  Custom Override
  Home News EN Layout (PC only)
========================================================= */

@media (min-width: 768px) {

	.is-en .p-home-news__item a {
		grid-template-columns: 130px minmax(0,1fr) 20px;
		column-gap: 30px;
	}

	.is-en .p-home-news__item span:not(.c-arrow) {
		min-width: 0;
		line-height: 1.5;
	}

	.is-en .p-home-news__item .c-arrow {
		align-self: center;
		justify-self: end;
	}
}