@charset "utf-8";

:root {
	--color-main: #FF9494;
	--color-bg: #FFF5E4;
	--color-border: #FFD1D1;
	--font-main: "Noto Sans JP", sans-serif;
	--font-color: #66563D;
	--font-color-pink: #ff8585;
	--font-size: 16px;
	--contents-width: 1200px;
}
@media screen and (max-width: 1200px) {
	:root {
		--contents-width: 90%;
	}
}
@media screen and (max-width: 750px) {
	:root {
		--font-size: 14px;
		--header-height: 56px;
	}
}

/* フォールバック用ローカルフォント */
@font-face {
	font-family: "Local Noto Sans JP";
	src: local("Noto Sans JP");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* サイト全体の基準 */
* {
	text-decoration: none;
	font-size: var(--font-size);
	scroll-behavior: smooth;
}
body {
	color: var(--font-color);
	font-family: "Local Noto Sans JP", var(--font-main), Arial, Meiryo;
	background-color: var(--color-bg);
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	text-size-adjust: none;
}
main {
	display: block;
	width: 100%;
	background-image: url(../img/bg/cloud.png);
	background-size: 100%;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}
.material-symbols-outlined {
	vertical-align: middle;
}
@media screen and (max-width: 1200px) {
	main {
		background-image: none;
	}
}

/* ヘッダー */
header {
	display: block;
	width: 100%;
	background-color: #fff;
}
.header-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: var(--contents-width);
	margin-inline: auto;
	padding-top: 24px;
}
/* ヘッダー_ロゴ画像 */
.header-logo {
	display: block;
	width: 400px;
	max-width: 88%;
}
.header-logo > h1,
.header-logo > h1 > img {
	display: block;
	width: 100%;
}
/* ヘッダー_宇治徳HPに戻るボタン */
.header-link {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: fit-content;
	height: 32px;
	color: #fff;
	font-size: 14px;
	background-color: var(--font-color-pink);
	border-radius: 100vh;
	padding: 0 1.2rem;
}
/* ヘッダー_ナビゲーション */
.header-nav {
	display: block;
	width: var(--contents-width);
	margin-inline: auto;
	padding-top: 24px;
	padding-bottom: 16px;
}
.header-nav > ul {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
}
.header-nav > ul > li {
	display: block;
	width: 100%;
	border-right: 3px dotted var(--color-border);
}
.header-nav > ul > li:first-child {
	border-left: 3px dotted var(--color-border);
}
.header-nav > ul > li > a {
	display: grid;
	place-content: center;
	gap: 0.4rem;
	width: 100%;
	height: 100%;
	padding: 0.4rem;
}
.header-nav > ul > li > a > img {
	display: block;
	width: 32px;
	margin-inline: auto;
	transition: 0.3s;
}
.header-nav > ul > li > a:hover > img {
	transform: translateY(-4px);
}
.header-nav > ul > li > a > p {
	display: block;
	text-align: center;
	color: var(--font-color);
	font-weight: 600;
	transition: 0.3s;
}
.header-nav > ul > li > a:hover > p {
	color: var(--font-color-pink);
}
@media screen and (max-width: 1200px) {
	/* ヘッダー_ナビゲーション */
	.header-nav > ul > li > a > p {
		font-size: 14px;
	}
}
@media screen and (max-width: 750px) {
	/* ヘッダー */
	.header-layout {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	/* ヘッダー_ロゴ画像 */
	.header-logo {
		width: 240px;
		margin-inline: auto;
	}
	/* ヘッダー_宇治徳HPに戻るボタン */
	.header-link {
		display: none;
	}
	/* ヘッダー_ナビゲーション */
	.header-nav {
		padding-top: 12px;
		padding-bottom: 12px;
		border-top: 1px dotted var(--color-border);
	}
	.header-nav > ul {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
		justify-items: start;
		gap: 8px;
	}
	.header-nav > ul > li {
		border-right: none;
	}
	.header-nav > ul > li:first-child {
		border-left: none;
	}
	.header-nav > ul > li > a {
		display: grid;
		grid-template-columns: 28px auto;
		place-content: normal;
		align-items: center;
		gap: 0 0.4rem;
		padding: 0;
	}
	.header-nav > ul > li > a > img {
		width: 100%;
	}
	.header-nav > ul > li > a:hover > img {
		transform: translateY(0);
	}
	.header-nav > ul > li > a > p {
		text-align: left;
		font-size: 13px;
	}
}

/* 本文 */
article {
	display: block;
	width: 100%;
}
article > section {
	display: block;
	width: 100%;
	margin-top: 80px;
}
article > section:first-child {
	margin-top: 0;
}
article h2 {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	width: fit-content;
	gap: 0 0.8rem;
	font-size: 24px;
	background-color: #fff;
	border-radius: 100vh;
	padding-right: 1.6rem;
	margin-bottom: 1.6rem;
}
article .icon-h2 {
	display: grid;
	place-items: center;
	width: 64px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: var(--color-main);
}
article .icon-h2 > img {
	display: block;
	width: 56%;
}
article h3 {
	display: block;
	width: 100%;
	font-size: 21px;
	line-height: 1.2;
	border-bottom: 2px dotted var(--color-border);
	padding-bottom: 0.6rem;
	margin-bottom: 0.8rem;
}
article h3::before {
	content: "●";
	color: var(--color-main);
	margin-right: 0.4rem;
}
article p {
	line-height: 2;
}
article ul,
article ol {
	display: grid;
	gap: 0.6rem;
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	background-color: #fff;
	padding: 1.6rem 1.6rem 1.6rem 3.2rem;
}
article ul li,
article ol li {
	line-height: 1.7;
}
article table {
	max-width: 100%;
	border-collapse: collapse;
	border: 2px solid var(--color-main);
}
article table th,
article table td {
	border: 1px solid var(--color-main);
	line-height: 1.7;
	padding: 0.8rem 1.2rem;
}
article table th {
	color: var(--font-color-pink);
	background-color: #ffeae8;
}
article table td {
	background-color: #fff;
}
article table a {
	text-decoration: underline;
	color: var(--font-color);
}
.half-box {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	width: 100%;
}
.link-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 24px;
	width: 100%;
}
.link-list > a {
	position: relative;
	display: flex;
	align-items: center;
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	background-color: var(--font-color-pink);
	padding: 1.6rem 4rem 1.6rem 2rem;
	border-radius: 100vh;
}
.link-list > a::after {
	content: "→";
	position: absolute;
	display: block;
	top: 50%;
	right: 32px;
	transform: translateY(-50%);
}
@media screen and (max-width: 750px) {
	article > section {
		margin-top: 56px;
	}
	article h2 {
		font-size: 20px;
	}
	article .icon-h2 {
		width: 48px;
	}
	article h3 {
		font-size: 18px;
	}
	article ul,
	article ol {
		gap: 0.6rem;
		padding: 1.2rem 1.2rem 1.2rem 2.4rem;
	}
	article ul li,
	article ol li {
		line-height: 1.4;
	}
	article table th,
	article table td {
		line-height: 1.4;
		padding: 0.6rem 0.8rem;
	}
	.half-box {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.link-list {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.link-list > a {
		font-size: 15px;
		padding: 1.2rem 2.8rem 1.2rem 1.6rem;
	}
	.link-list > a::after {
		right: 24px;
	}
}

/* トップページ */
#main_top {
	padding-top: 40px;
	padding-bottom: 64px;
}
#main_top article {
	display: block;
	width: var(--contents-width);
	margin-inline: auto;
}
@media screen and (max-width: 750px) {
	#main_top {
		padding-top: 24px;
		padding-bottom: 48px;
	}
}

/* フッター */
footer {
	position: relative;
	display: block;
	width: 100%;
	background-color: #fff;
	padding-top: 80px;
}
/* フッター_ページトップに戻るボタン */
.page_top {
	position: absolute;
	display: grid;
	place-items: center;
	top: -32px;
	left: 50%;
	transform: translateX(-50%);
	width: 64px;
	aspect-ratio: 1 / 1;
	background-color: var(--color-main);
	border-radius: 50%;
}
.page_top > img {
	display: block;
	width: 72%;
}
/* フッター_外部リンク */
.footer-link {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	justify-items: start;
	gap: 24px 32px;
	width: var(--contents-width);
	margin-inline: auto;
}
.footer-link > a {
	display: flex;
	align-items: center;
	width: 100%;
	border: 1px solid #ccc;
}
.footer-link > a > img {
	display: block;
	width: 100%;
}
/* フッター_著作権表記 */
.copyright {
	display: block;
	text-align: center;
	width: 100%;
	color: #fff;
	font-size: 13px;
	font-style: normal;
	padding: 24px 5%;
	background-color: var(--color-main);
	margin-top: 48px;
}
@media screen and (max-width: 750px) {
	/* フッター */
	footer {
		padding-top: 48px;
	}
	/* フッター_ページトップに戻るボタン */
	.page_top {
		top: -28px;
		width: 56px;
	}
	/* フッター_外部リンク */
	.footer-link {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 16px;
	}
	/* フッター_著作権表記 */
	.copyright {
		font-size: 11px;
		padding: 16px 5%;
		margin-top: 24px;
	}
}