@charset "UTF-8";

/* ==================================================
	ベース
================================================== */
body {
	background: #ffffff;
	font-family: "Noto Sans TC", sans-serif;
	color: #312929;
	/* 全角約物の連続（例：「）、」）を詰めない＝XDの組みに合わせる */
	text-spacing-trim: space-all;
	/* XD書き出しと同じグレースケールAA（macOS） */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* 英単語の途中で改行しない（XDの改行位置に合わせるため reset.css の break-all を上書き） */
body * {
	word-break: normal;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
picture {
	display: block;
}
picture img {
	width: 100%;
}
/* PC/SP 表示の出し分け */
@media only screen and (min-width: 768px) {
	.pc_none {
		display: none !important;
	}
}
@media only screen and (max-width: 767px) {
	.sp_none {
		display: none !important;
	}
}
[id] {
	scroll-margin-top: 110px;
}

/* ==================================================
	header（固定ヘッダー）
================================================== */
header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background: #ffffff;
}
.header_01 {
	width: 100%;
	height: 30px;
	background: #312929;
}
/* font: Noto Sans JP Medium（XD）→ Noto Sans TC Medium */
.header_01 .text01 {
	font-size: 13px;
	font-weight: 500;
	line-height: 30px;
	color: #ffffff;
	text-align: center;
}
.header_inner {
	width: 1400px;
	height: 80px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
}
.header_02 {
	display: flex;
	align-items: flex-start;
}
.header_logo {
	width: 260px;
	margin: 14px 0 0 17px;
}
.header_02 .text02 {
	margin: 22px 0 0 20px;
	font-size: 13px;
	font-weight: 500;
	line-height: 38px;
}
.header_nav {
	margin: 26px 40px 0 auto;
}
.header_nav ul {
	display: flex;
	gap: 40px;
}
.header_nav a {
	font-size: 16px;
	font-weight: 500;
	line-height: 28px;
	color: #000000;
}
.header_nav li:first-child a {
	font-weight: 700;
	color: #232323;
}
.header_nav li:nth-child(3) a {
	color: #312929;
}
.header_line {
	width: 240px;
	height: 60px;
	margin: 10px 30px 0 0;
	display: flex;
	align-items: flex-start;
	background: #65c442;
	border-radius: 6px;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
}
.header_line img {
	width: 39px;
	margin: 7px 0 0 11px;
}
.header_line_01 {
	width: 170px;
	margin-left: 7px;
	display: block;
	text-align: center;
}
.header_line .text01 {
	height: 13px;
	margin-top: 12px;
	display: block;
	background: url(../img/common/header/line_slash.png) no-repeat left top / 170px 13px;
	font-size: 11px;
	font-weight: 700;
	line-height: 13px;
	color: #fff502;
}
.header_line .text02 {
	margin-top: 6px;
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 15px;
	color: #ffffff;
}

/* ==================================================
	footer
================================================== */
.footer {
	width: 100%;
	background: #312929;
	color: #ffffff;
}
.footer_inner {
	width: 1300px;
	margin: 0 auto;
	padding: 39px 0 11px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}
.footer_logo {
	width: 236px;
	margin-left: 2px;
}
.footer_01 .text01 {
	margin-top: 21px;
	font-size: 14px;
	line-height: 25px;
}
.footer_02 {
	margin-top: 2px;
	display: flex;
}
.footer_02_item:first-child {
	width: 213px;
}
.footer_02_item:last-child {
	width: 249px;
}
.footer_02 dt,
.footer_02 .text01 {
	font-size: 14px;
	font-weight: 700;
	line-height: 25px;
	color: #baadac;
}
.footer_02 dd {
	margin-top: 8px;
	font-size: 14px;
	line-height: 22px;
}
.footer_02 dd + dt {
	margin-top: 27px;
}
.footer_02 dd a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.footer_02 ul {
	margin-top: 13px;
	display: flex;
	gap: 9px;
}
.footer_02 ul a {
	width: 120px;
	height: 36px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	border: 1px solid #baadac;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.footer_02 ul a svg {
	flex-shrink: 0;
}

/* コピーライト：デザインどおりインナー右端より32px外側に配置 */
.footer_copy {
	width: calc(100% + 32px);
	margin: 28px -32px 0 0;
	font-size: 12px;
	line-height: 25px;
	text-align: right;
}

/* ==================================================
	TOPへ（固定ボタン）
================================================== */
.pagetop {
	width: 55px;
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 90;
}
/* reset.css の a{transition:all} でフッター手前の停止（js/admin.js）が遅れないよう、ホバーの不透明度だけに絞る */
.pagetop,
.pagetop:hover {
	transition: opacity 0.5s;
}

/* ==================================================
	SP（767px以下）
================================================== */
@media only screen and (max-width: 767px) {
	[id] {
		scroll-margin-top: 0;
	}
	/* header（SPは追従なし） */
	header {
		position: relative;
	}
	.header_01 {
		height: 25px;
	}
	.header_01 .text02 {
		padding: 4px 10px 0;
		display: flex;
		justify-content: space-between;
		font-size: 12px;
		line-height: 18px;
		color: #ffffff;
	}
	.header_inner {
		width: 100%;
		height: 60px;
	}
	.header_02 {
		flex-direction: column;
	}
	.header_logo {
		width: 144px;
		margin: 15px 0 0 9px;
	}
	.header_02 .text02 {
		margin: 4px 0 0 9px;
		font-size: 10px;
		line-height: 12px;
	}
	.header_line {
		width: 140px;
		height: 40px;
		margin: 10px 7px 0 auto;
		order: 2;
		border-radius: 4px;
	}
	.header_line img {
		display: none;
	}
	.header_line_01 {
		width: 140px;
		margin-left: 0;
	}
	.header_line .text01 {
		height: 9px;
		margin-top: 6px;
		background: url(../img/common/header/line_slash_sp.png) no-repeat center top / 125px 9px;
		font-size: 8px;
		line-height: 9px;
	}
	.header_line .text02 {
		margin-top: 6px;
		font-size: 13px;
		line-height: 9px;
	}
	/* MENUボタン */
	.header_menu {
		width: 55px;
		height: 50px;
		margin-top: 5px;
		padding: 0;
		display: block;
		order: 3;
		background: none;
		border: 0;
		cursor: pointer;
	}
	.header_menu img {
		width: 55px;
	}
	.header_menu_close {
		display: none;
	}
	/* メニュー（全画面） */
	.header_nav {
		width: 100%;
		height: calc(100% - 85px);
		margin: 0;
		padding: 28px 20px 40px;
		position: fixed;
		top: 85px;
		left: 0;
		z-index: 90;
		visibility: hidden;
		box-sizing: border-box;
		overflow-y: auto;
		background: #ffffff;
		opacity: 0;
	}
	.header_nav ul {
		display: block;
	}
	.header_nav li {
		padding: 8px 0 7px;
		border-bottom: 1px solid #ded6d3;
	}
	.header_nav li a,
	.header_nav li:first-child a,
	.header_nav li:nth-child(3) a {
		padding-left: 5px;
		display: block;
		background: url(../img/common/header/menu_arrow.png) no-repeat right 10px top 19px / 12px 8px;
		font-size: 15px;
		font-weight: 700;
		line-height: 46px;
		color: #312929;
	}
	.header_nav .header_nav_line {
		width: 335px;
		height: 92px;
		margin: 40px 0 0 1px;
		padding: 17px 0 0 47px;
		display: block;
		box-sizing: border-box;
		background: url(../img/common/header/menu_line.png) no-repeat left top / 335px 92px;
		text-align: center;
		color: #ffffff;
	}
	.header_nav_line span {
		display: block;
	}
	.header_nav_line .text01 {
		margin-top: 0;
		font-size: 13px;
		font-weight: 700;
		line-height: 10px;
		color: #fff502;
	}
	.header_nav_line .text02 {
		margin-top: 10px;
		font-size: 23px;
		font-weight: 700;
		line-height: 19px;
	}
	.header_nav_line .text03 {
		margin-top: 8px;
		font-size: 14px;
		font-weight: 600;
		line-height: 14px;
	}
	/* メニュー展開中（js/admin.js がクラスを付与） */
	html.is-menu-open {
		overflow: hidden;
	}
	.is-menu-open header {
		position: fixed;
		top: 0;
		left: 0;
	}
	.is-menu-open .header_nav {
		visibility: visible;
		opacity: 1;
	}
	.is-menu-open .header_line {
		visibility: hidden;
	}
	.is-menu-open .header_menu_open {
		display: none;
	}
	.is-menu-open .header_menu_close {
		display: block;
	}
	/* footer */
	.footer_inner {
		width: 335px;
		padding: 36px 0 7px;
		display: block;
	}
	.footer_logo {
		width: 204px;
		margin-left: -4px;
	}
	.footer_01 .text01 {
		margin-top: 17px;
	}
	.footer_02 {
		margin: 19px 0 0 1px;
		display: block;
	}
	.footer_02_item:first-child,
	.footer_02_item:last-child {
		width: auto;
	}
	.footer_02_item + .footer_02_item {
		margin-top: 17px;
	}
	.footer_02 dd {
		margin-top: 3px;
	}
	.footer_02 dd + dt {
		margin-top: 17px;
	}
	.footer_02 ul {
		margin-top: 8px;
	}
	.footer_copy {
		width: 100%;
		margin: 28px 0 0;
	}
}
