@charset "utf-8";


/*=============================================================
 Renewal 202605
=============================================================*/

/* --------------------------------------------------
 Variables
-------------------------------------------------- */
:root {
	/* width - Number */
	--base-number-view: 1440;
	--base-number: 1200;
	--base-number-pc: 959;
	--base-number-sp: 375;

	/* width - Base */
	--base-width-view: calc(var(--base-number-view) * 1px);
	--base-width: calc(var(--base-number) * 1px);
	--base-width-pc: calc(var(--base-number-pc) * 1px);

	/* color */
	--color-main: #333;

	--color-gray-83: #d4d4d4;
	--color-gray-95: #edf0f5;

	--color-orange-20: #f2ae69;
	--color-orange-32: #a33500;
	--color-orange-38: #c44000;
	--color-orange-40: #f05500;
	--color-orange-49: #fb7500;
	--color-orange-57: #f8b62d;
	--color-orange-94: #feefe1;
	--color-orange-97: #f9f8f5;

	--color-red-41: #cf0025;
	--color-red-52: #e15328;

	--color-green: #00805b;

	--color-azure-85: #cdd5e2;

	/* rollover value */
	--opacity-value: .7;
}


/*=============================================================
 Animation
=============================================================*/
/* fade */
@keyframes fadeIn {
	0% { visibility: hidden; opacity: 0;}
	100% { visibility: visible; opacity: 1;}
}

@keyframes fadeOut {
	0% { opacity: 1;}
	100% { visibility: hidden; opacity: 0;}
}


/*=============================================================
 Title
=============================================================*/
/* r-ttl-anchor */
.r-ttl-anchor {
	margin-bottom: 48px !important;
	font-size: 32px;
	font-weight: 700;

	@media only screen and (max-width:959px) {
		margin-bottom: 44px !important;
	}

	&:not(:first-child) {
		margin-top: 80px;

		@media only screen and (max-width:959px) {
			margin-top: 56px;
		}
	}
}

/* r-ttl-h3-center */
.r-ttl-h3-center {
	margin-bottom: 48px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: normal;
	text-align: center;

	@media only screen and (max-width:959px) {
		margin-bottom: 32px;
	}
}

/*=============================================================
 Button
=============================================================*/
/* r-btn */
.r-btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: fit-content;
	min-height: 52px;
	padding: 8px 18px;
	border-top: 1px solid var(--color-orange-38);
	background-image: none !important;
	background-color: var(--color-orange-38);
	color: #fff !important;
	font-weight: 700;
	transition: background-color .2s, background-size .6s !important;

	@media only screen and (max-width:959px) {
		min-height: 40px;
		padding: 4px 14px;
		font-size: 14px;
	}

	&:hover {
		span {
			background-size: 100% 1px;
		}
	}

	a:has(&) {
		background-image: none !important;

		.r-btn {
			pointer-events: none;
		}

		&:hover {
			.r-btn {
				span {
					background-size: 100% 1px;
				}
			}
		}
	}

	span {
		position: relative;
		display: inline-block;
		padding: 4px 0 4px 20px;
		background: linear-gradient(90deg, #fff, #fff) no-repeat 20px bottom / 0 1px;
		line-height: 1.4;
		transition: background-size .6s;

		&::before{
			content: "";
			display: block;
			width: 6px;
			height: 6px;
			position: absolute;
			top: .7em;
			left: 0;
			border-bottom: 2px solid;
			border-right: 2px solid;
			transform: rotate(-45deg);
			transition: border .2s;
		}
	}

	&.-download {
		min-height: 40px;
		padding: 2px 12px;
		font-size: 14px;
		font-weight: 500;

		&::after {
			content: none;
		}

		span {
			padding-left: 22px;
			background-position: 22px bottom;

			&::before{
				position: absolute;
				top: 50%;
				width: 18px;
				height: 18px;
				border: 0;
				background: url("/shared/img/icon-download.svg");
				background-size: contain;
				transform: translateY(-50%);
				transition: filter .2s;
			}
		}
	}
}

/* r-btn-more */
.r-btn-more {
	all: unset;
	display: none;
	box-sizing: border-box;
	position: relative;
	width: 100%;
	margin-top: 16px;
	padding: 4px 20px 4px 0;
	border-bottom: 1px solid #ccc;
	font-weight: 700;
	cursor: pointer;

	@media only screen and (max-width:599px) {
		display: block;
	}

	&.is-active {
		&::after{
			transform: rotate(225deg);
		}

		span {
			display: none;

			+ span {
				display: block;
			}
		}
	}

	&::after{
		content: "";
		display: block;
		width: 6px;
		height: 6px;
		position: absolute;
		top: 50%;
		right: 4px;
		border-bottom: 2px solid var(--color-orange-38);
		border-right: 2px solid var(--color-orange-38);
		transform: translateY(-50%) rotate(45deg);
		transition: transform .2s;
	}

	span {
		+ span {
			display: none;
		}
	}
}

/*=============================================================
 Text
=============================================================*/
/* r-text-more */
.r-text-more {
	@media only screen and (max-width:599px) {
		overflow: hidden;
		position: relative;
		height: 320px;
	}

	&.is-active {
		@media only screen and (max-width:599px) {
			height: auto;
		}

		&::after {
			@media only screen and (max-width:599px) {
				opacity: 0;
			}
		}
	}

	&::after {
		@media only screen and (max-width:599px) {
			content: "";
			position: absolute;
			inset: auto 0 0;
			height: 32px;
			background-image: linear-gradient(transparent, #fff 80%);
			transition: opacity .2s;
		}
	}

	> * + * {
		margin-top: 28px;
	}

	h3 {
		~ p {
			margin-top: 0;
		}
	}
}

/*=============================================================
 Link
=============================================================*/
/* r-link-icon-only */
.r-link-icon-only {
	&::after {
		content: none !important;
	}

	.fileSize {
		&::before {
			display: block !important;
			margin: 0 auto !important;
		}
	}
}

/*=============================================================
 LIST
=============================================================*/
/* r-list-inline */
.r-list-inline {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;

	> div {
		display: grid;
		grid-template-columns: subgrid;
		grid-column: 1 / -1;
		gap: 10px;
	}

	dt,
	dd {
		padding-block: 4px;
		font-size: 14px;
		line-height: 1.4;
	}

	dt {
		font-weight: 700;
	}

	dd {
		padding-left: 8px;
		border-left: 1px solid #ccc;
	}
}

/* r-list-faq */
.r-list-faq {
	display: grid;
	gap: 24px;

	dt,
	dd {
		position: relative;
		padding-left: 44px;

		&::before {
			display: flex;
			align-items: center;
			justify-content: center;
			position: absolute;
			left: 0;
			width: 28px;
			height: 28px;
			font-weight: 700;
			text-align: center;
		}
	}

	dt {
		font-size: 20px;
		font-weight: 700;
		line-height: 1.4;

		&::before {
			content: "Q";
			top: 0;
			color: var(--color-orange-49);
		}
	}

	dd {
		margin-top: 16px;

		&::before {
			content: "A";
			top: 1px;
		}
	}
}

/*=============================================================
 Form
=============================================================*/
.r-input-checkbox {
	position: absolute;
	opacity: 0;

	+ label {
		display: inline-block;
		position: relative;
		padding-left: 22px;
		font-size: 13px;
		line-height: 1.5;
		cursor: pointer;

		@media only screen and (max-width:599px) {
			font-size: 12px;
		}

		&::before,
		&::after {
			box-sizing: border-box;
			content: "";
			position: absolute;
		}

		&::before {
			top: .175em;
			left: 0;
			width: 16px;
			height: 16px;
			border: 1px solid #767676;
			border-radius: 3px;
			background-color: #fff;
			transition: border-color .2s, background-color .2s;
		}

		&::after {
			top: .475em;
			left: 3px;
			width: 10px;
			height: 5px;
			border-left: 2px solid #fff;
			border-bottom: 2px solid #fff;
			rotate: -45deg;
		}
	}

	&:checked {
		+ label {

			&::before {
				border-color: #007bff;
				background-color: #007bff;
			}

		}
	}
}


/*=============================================================
 Nav
=============================================================*/
/* r-nav-index */
.r-nav-index {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;

	@media only screen and (max-width:599px) {
		gap: 24px;
	}

	&[data-col="3"] {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}

	&[data-col-sp="2"] {
		@media only screen and (max-width:599px) {
			grid-template-columns: repeat(2, 1fr);
			gap: 16px 8px;

			.contents {
				padding: 16px 10px;
			}

			.ttl {
				font-size: 14px;

				span {
					&::before{
						top: 0.55em;
					}
				}
			}

			.text {
				margin-top: 12px;
			}
		}
	}

	.item {
		a {
			display: grid;
			grid-template-rows: auto 1fr;
			position: relative;
			height: 100%;
			background-color: #fff;

			&::before {
				content: "";
				position: absolute;
				inset: 0;
				z-index: 1;
				border: 1px solid var(--color-gray-83);
				pointer-events: none;
			}

			&:hover {
				.image {
					img {
						transform: scale(1.05);
					}
				}

				.ttl {
					span {
						background-size: 100% 1px;

						&::before{
							background-size: calc((100% - 20px)) 1px;
						}
					}
				}

				.text {
					color: #222;
				}
			}
		}
	}

	.image {
		overflow: hidden;

		img {
			width: 100%;
			transition: transform .2s;
		}
	}

	.contents {
		padding: 24px;
	}

	.ttl {
		font-size: 20px;

		span {
			display: inline-block;
			position: relative;
			padding: 2px 0 2px 20px;
			background: linear-gradient(90deg, var(--color-orange-38), var(--color-orange-38)) no-repeat 20px bottom / 0 1px;
			line-height: 1.4;
			transition: background-size .6s, color .2s;

			&::before{
				content: "";
				display: block;
				width: 6px;
				height: 6px;
				border-bottom: 2px solid var(--color-orange-38);
				border-right: 2px solid var(--color-orange-38);
				position: absolute;
				top: 0.7em;
				left: 0;
				transform: rotate(-45deg);
			}
		}
	}

	.text {
		margin-top: 16px;
		line-height: 1.2;
	}

	& + .section {
    margin-top: 32px;

		@media only screen and (max-width: 599px) {
			margin-top: 24px;
		}
	}
}

/* r-nav-local */
.r-nav-local {
	padding-block: 64px;
	background-color: var(--color-orange-97);

	@media only screen and (max-width:959px) {
		padding-block: 48px;
	}

	:has(&) {
		#contents {
			padding-bottom: 80px;

			@media only screen and (max-width:959px) {
				padding-bottom: 56px;
			}
		}

		#footer {
			margin-top: 0;
		}
	}

	.contentsInner {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 32px calc(32 / var(--base-number) * 100%);

		@media only screen and (max-width:959px) {
			grid-template-columns: repeat(2, 1fr);
			column-gap: 32px;
		}

		@media only screen and (max-width:599px) {
			grid-template-columns: none;
		}
	}

	.image {
		a {
			overflow: hidden;
			display: block;
			position: relative;

			&::before {
				content: "";
				position: absolute;
				inset: auto 0 0;
				z-index: 3;
				height: 1px;
				background-image: linear-gradient(90deg, var(--color-red-52), var(--color-orange-57));
			}

			&:hover {
				img {
					transform: scale(1.05);
				}

				span {
					background-size: 100% 1px;

					&::before{
						background-size: calc((100% - 20px)) 1px;
					}
				}
			}
		}

		img {
			width: 100%;
			transition: transform .2s;
		}

		div {
			position: absolute;
			bottom: 0;
			left: 0;
			padding: 6px 16px 6px 8px;
			background-color: #fff;
		}

		span {
			display: inline-block;
			position: relative;
			padding: 2px 0 2px 20px;
			background: linear-gradient(90deg, var(--color-orange-38), var(--color-orange-38)) no-repeat 20px bottom / 0 1px;
			font-weight: 700;
			line-height: 1.4;
			transition: background-size .6s, color .2s;

			&::before{
				content: "";
				display: block;
				width: 6px;
				height: 6px;
				border-bottom: 2px solid var(--color-orange-38);
				border-right: 2px solid var(--color-orange-38);
				position: absolute;
				top: 0.7em;
				left: 0;
				transform: rotate(-45deg);
			}
		}
	}

	.list {
		display: grid;
		gap: 12px;
		line-height: 1.25;

		&:not(:first-child) {
			margin-top: 16px;
		}

		&.-column {
			display: block;
			column-count: 2;
			column-gap: calc(32 / var(--base-number) * 100%);
			margin-bottom: -8px;

			li {
				margin-bottom: 8px;
			}
		}

		&.-nav {
			gap: 24px;
			font-size: 18px;
			font-weight: 700;

			li {
				+ li {
					margin-top: 0;
				}
			}

			a {
				&::before{
					top: 0.75em;
				}
			}
		}
	}
}


/*=============================================================
 Tab
=============================================================*/
.r-tab {
	display: flex;
	position: relative;
	min-height: 52px;

	:has(&) {
		#contents {
			margin-top: 40px;
		}
	}

	&::before {
		content: "";
		position: absolute;
		inset: auto 0 0;
		border-bottom: 2px solid var(--color-azure-85);
		pointer-events: none;
	}

	li {
		flex: 1;
		font-weight: 700;
		line-height: 1.4;
	}

	button {
		all: unset;
		width: 100%;
		cursor: pointer;

		&[aria-expanded="true"] {
			background-color: var(--color-orange-38);
			color: #fff !important;
			pointer-events: none;
		}
	}

	a,
	button {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		padding: 8px 16px;
		text-align: center;
		transition: background-color .2s, color .2s !important;

		&::before {
			content: none !important;
		}

		&:visited {
			color: inherit !important;
		}

		&:hover {
			background-color: var(--color-orange-38);
			color: #fff !important;
		}
	}

	a {
		&.is-active {
			background-color: var(--color-orange-38);
			color: #fff !important;
			pointer-events: none;
		}
	}
}


/*=============================================================
 Panel
=============================================================*/
.r-panel {
	display: none;
	margin-top: 20px;
	transition: .3s;

	&[aria-hidden="false"] {
		display: block;
		animation: fadeIn .3s ease-in-out;
	}

	.seclect-area {
		margin-top: 0;
	}
}

/*=============================================================
 List
=============================================================*/
.r-list-anchor {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -16px 80px;

	@media only screen and (max-width:959px) {
		margin-bottom: 56px;
	}

	&:not(:first-child) {
		margin-top: 20px;
	}

	li {
		padding: 12px 16px;

		+ li {
			margin-top: 0;
		}
	}

	a {
		padding-left: 16px;

		&::before {
			left: 2px;
			rotate: 90deg;
		}
	}

	.section + & {
		margin-top: 64px;

		@media only screen and (max-width:599px) {
			margin-top: 44px;
		}
	}

	&.-en {
		column-gap: 0;
		margin-inline: -12px;
		letter-spacing: normal;

		li {
			padding-inline: 12px;
			font-family: Arial, sans-serif;
		}
	}
}


/*=====================================================================
 Icon
=====================================================================*/
a[href$=".mp4"],
a[href$=".mov"],
a[href$=".wmv"] {
	.fileSize {
		position: relative;

		&::before{
			content: '';
			display: inline-block;
			margin: 0 5px 0 10px;
			background: url("/shared/img/icon_mov.svg") no-repeat;
			background-size: 15px 15px;
			width: 15px;
			height: 15px;
			margin-bottom: -2px;
		}
	}
}


/*=====================================================================
 Table
=====================================================================*/
/* table-default
-------------------------------------------------------------*/
.table-default {
	background-color: var(--color-gray-95);
	color: #000;

	&.library {
		letter-spacing: normal;

		th,
		td {
			@media only screen and (max-width:599px) {
				font-size: 12px;
			}
		}

		td {
			@media only screen and (max-width:599px) {
				padding-inline: 0;
			}
		}

		tbody {
			tr {
				&:not(:first-child) {
					th,
					td {
						box-sizing: border-box;
						height: 52px;
						padding-block: 12px 4px;

						@media only screen and (max-width:599px) {
							padding-top: 4px;
						}
					}
				}
			}
		}

		.fileSize {
			@media only screen and (max-width:599px) {
				font-size: 12px;
			}
		}
	}

	th,
	td {
		&.plus {
			color: var(--color-green);
		}
		&.minus {
			color: var(--color-red-41);
		}

		b {
			font-weight: 500;
		}
	}

	tbody {
		th {
			span {
				font-size: 12px;
				font-weight: 400;
			}
		}
	}

	.bgGray95,
	.bgGray95 th,
	.bgGray95 td {
		background-color: var(--color-gray-95);
		color: #000;
	}

	.bgGray83,
	.bgGray83 th,
	.bgGray83 td {
		background-color: var(--color-gray-83) !important;
	}

	.bgOrange,
	.bgOrange th,
	.bgOrange td {
		background-color: var(--color-orange-38) !important;
		color: #fff !important;
	}

	.fzXs {
		font-size: 12px;

		@media only screen and (max-width:599px) {
			font-size: 11.2px;
		}
	}
}

/*=============================================================
 seclect-area
=============================================================*/
.seclect-area {
	display: block;
	column-gap: 0;
	padding: 24px;

	@media only screen and (max-width:599px) {
		padding: 12px 12px 16px;
	}

	.seclect-unit {
		display: grid;
		gap: 16px;

		@media only screen and (max-width:599px) {
			gap: 20px;
		}

		> div {
			display: grid;
			grid-template-columns: 108px 1fr;
			align-items: baseline;
			gap: 8px 30px;

			@media only screen and (max-width:599px) {
				font-size: 16px !important;
			}

			&.-sort {
				font-size: 14px;

				@media only screen and (max-width:599px) {
					grid-template-columns: none;
				}
			}
		}

		.seclect-box {
			@media only screen and (max-width:599px) {
				width: 100%;
			}

			.pulldown {
				@media only screen and (max-width:599px) {
					width: 100%;
				}
			}
		}
	}

	.select-list {
		display: flex;
		flex-wrap: wrap;
		gap: 10px 24px;

		li {
			font-size: 14px;
			line-height: 1.2;
		}
	}
}

/*=============================================================
 report-list
=============================================================*/
.report-list>* {
	a {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		width: fit-content;
		column-gap: 10px;

		i {
			box-sizing: border-box;
			display: flex;
			align-items: center;
			justify-content: center;
			min-width: 100px;
			min-height: 22px;
			padding: 2px 4px;
			background-color: #222;
			color: #fff;
			font-size: 12px;
			font-weight: 700;
			font-style: normal;
			line-height: 1;
			text-align: center;
		}
	}

	span {
		&.text {
			@media only screen and (max-width:599px) {
				flex-basis: 100%;
			}
		}
	}

	.pdf-size {
		&::before {
			vertical-align: -2px;
		}
	}
}

/*=============================================================
 menu-link
=============================================================*/
[class^="col-"].menu-link {
	@media only screen and (max-width: 599px) {
		display: grid;
		gap: 28px;
	}
}
