@charset "utf-8";

/* PC・スマートフォンの会社分割お知らせデザインに準拠。 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body.page_notice {
	margin: 0;
	color: #444;
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

.page_notice a {
	text-decoration: none;
	transition: opacity 0.2s;
}

.page_notice a:focus-visible {
	outline: 3px solid #087cbe;
	outline-offset: 5px;
}

.notice {
	min-height: 100vh;
	background: url("../img/header-pc.jpg") center top / 100% 248px no-repeat;
}

.notice_header {
	position: relative;
	display: grid;
	place-items: center;
	height: 208px;
	padding: 0 18px;
	overflow: hidden;
	color: #fff;
}

.notice_english {
	position: absolute;
	top: 29px;
	left: 50%;
	margin: 0;
	transform: translateX(-50%);
	color: rgb(255 255 255 / 16%);
	font-family: Arial, sans-serif;
	font-size: 128px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.notice_ttl {
	position: relative;
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.2em;
	text-indent: 0.2em;
}

.notice_body {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 208px);
	padding: 76px 40px 32px;
	border-radius: 40px 40px 0 0;
	background: #fff;
}

.notice_inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.notice_txt {
	font-size: 15px;
	line-height: 28px;
}

.notice_txt p {
	margin: 0;
}

.notice_txt_detail {
	text-indent: 0.5em;
}

.notice_pdf {
	margin: 40px 0 68px;
	text-align: center;
}

.notice_pdf_link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 232px;
	min-height: 52px;
	padding: 12px 20px;
	border-radius: 8px;
	color: #fff;
	background: #272b4e;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
}

.notice_pdf_icon,
.notice_pdf_arrow {
	flex-shrink: 0;
	width: 16px;
	height: 20px;
	stroke: currentColor;
	stroke-width: 2.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.notice_pdf_arrow {
	width: 18px;
	height: 18px;
	margin-left: auto;
}

.notice_btns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notice_btns > li {
	display: flex;
}

.notice_btn {
	position: relative;
	display: flex;
	flex: 1;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 126px;
	padding: 20px 44px 20px 28px;
	border: 2px solid #292e50;
	border-radius: 12px;
	color: #292e50;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

.notice_btn::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 34px;
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

.notice_logo {
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}

.notice_footer {
	margin-top: auto;
	padding-top: 90px;
	text-align: center;
	font-size: 10px;
	line-height: 1.5;
}

.notice_footer small {
	font-size: 10px;
	letter-spacing: 0.02em;
}

@media (hover: hover) {
	.page_notice a:hover {
		opacity: 0.7;
	}
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
	.notice_btn {
		flex-direction: column;
		gap: 6px;
		font-size: 18px;
	}
}

@media screen and (max-width: 768px) {
	.notice {
		background-image: url("../img/header-sp.jpg");
		background-size: 100% 135px;
	}

	.notice_header {
		height: 105px;
	}

	.notice_english {
		top: 30px;
		font-size: clamp(46px, 14.4vw, 72px);
	}

	.notice_ttl {
		margin-top: 8px;
		font-size: clamp(20px, 6.4vw, 30px);
		letter-spacing: 0.2em;
		text-indent: 0.2em;
	}

	.notice_body {
		min-height: calc(100vh - 105px);
		padding: 46px 18px 34px;
		border-radius: 30px 30px 0 0;
	}

	.notice_txt {
		font-size: 14px;
		line-height: 25px;
	}

	.notice_pdf {
		margin: 32px 0 40px;
	}

	.notice_pdf_link {
		min-height: 53px;
	}

	.notice_btns {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.notice_btn {
		flex-direction: column;
		gap: 4px;
		min-height: 106px;
		padding: 12px 36px 12px 12px;
		font-size: 16px;
	}

	.notice_btn::after {
		right: 34px;
	}

	.notice_logo_miracle {
		width: 126px;
		height: 56px;
	}

	.notice_logo_nalco {
		width: 153px;
		height: 36px;
	}

	.notice_footer {
		padding-top: 82px;
	}
}
