@charset "utf-8";

/* -------------------------------------------- 
	変数設定
-------------------------------------------- */
:root {
	/* general */
	--bg-color: #F8F8F8;
	--text-color: #1E2A3A;
	--link-color: #4B4786;
	--hover-text-color: #4B4786;
	--title-color: #4B4786;
	--button-bg-color: #43415C;
	--page-padding-width: 30px;
	--max-width-large: 1280px;
	--max-width-midium: 1120px;
	--max-width-small: 840px;
	--max-width-xs: 640px;
	--button-transition: 0.7s;
	--error-color: #ff0000;

	--font-size: 23px;
	--font-size-caption: 20px;
	--line-height: 2.3;

	--contents-margin--l: 3.5rem;
	--contents-margin-m: 2rem;
	--contents-margin-s: 1rem;


	/* header */

	--header-height: 120px;
	--top-page-first-view-gnav-color: #fff;
	--gnav-color: #000;



	/* footer */


}

@media (max-width:1340px) {
	:root {
		--header-height: 90px;
	}
}

@media (max-width:1200px) {
	:root {
		--font-size: 22px;
	}
}

@media (max-width:768px) {
	:root {
		--page-padding-width: 30px;
		--header-height: 80px;
	}
}

@media (max-width:425px) {
	:root {
		--page-padding-width: 15px;
		--font-size: 22px;
		--line-height: 2;

	}
}


/* -------------------------------------------- 
	GENERAL
-------------------------------------------- */

html {
	height: 100%;
	font-size: var(--font-size);
}

body {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 2.3;
	background: var(--bg-color);
	color: var(--bg-text-color);
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	letter-spacing: 0.08em;
}

#wrapper {
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: hidden;
	background: url('/img/common/bg-texure01.jpg') repeat;
	background-size: 500px 500px;
}

.container-large {
	width: 100%;
	max-width: var(--max-width-large);
	margin: 0 auto;
	padding: 0 var(--page-padding-width);
}

.container-midium {
	width: 100%;
	max-width: var(--max-width-midium);
	margin: 0 auto;
	padding: 0 var(--page-padding-width);
}

.container-small {
	width: 100%;
	max-width: var(--max-width-small);
	margin: 0 auto;
	padding: 0 var(--page-padding-width);
}

.container-xs {
	width: 100%;
	max-width: var(--max-width-xs);
	margin: 0 auto;
	padding: 0 var(--page-padding-width);
}


img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

rt {
	padding-bottom: 0.2em;
}

a {
	cursor: pointer;
}

input,
select,
textarea {
	border: 1px solid #b3b3b3;
	padding: 0.25rem;
}

body.fixed {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
}

.h2-title {
	font-family: "Shippori Mincho", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.8rem;
	text-align: center;
	margin: 10px 0 20px 0;
	color: var(--title-color);
	line-height: 1.8;
}

.scroll_fade__inner {
	display: inline-block;
}

.scroll_fadein__line {
	display: inline-block;
}


.h3-title {
	font-family: "Shippori Mincho", serif;
	font-weight: 600;
	font-style: normal;
	font-size: 1.2rem;
	text-align: center;
	margin: 3em 0 1.5em 0;
	color: var(--title-color);
	line-height: 1.3;
}

.h2-title+.h3-title {
	margin-top: 2em;
}

.h4-title {
	font-family: "Shippori Mincho", serif;
	font-weight: 600;
	font-style: normal;
	color: var(--title-color);
	font-size: 1rem;
}

.title-icon {
	text-align: left;
}

.title-icon:before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url('/img/top/top-h3-mark.svg') no-repeat;
	background-size: contain;
	background-position: center center;
	margin-right: 5px;
	position: relative;
	top: 2px;
}

.back-to-list {
	font-family: "Oswald", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	display: inline-block;
	padding: 10px 30px 10px 0;
	margin-top: 2em;
}

.bg-grey {
	background: url('/img/common/bg-texure02.jpg') repeat;
	background-size: 300px 300px;
}

.text-left{
	text-align: left;
}
.text-right{
	text-align: right;
}
.text-center{
	text-align: center;
}
.inline-block{
	display: inline-block;
}


/* --------------------------------------------
	table
-------------------------------------------- */
.common-table {
	width: 100%;
	margin: 0.5em auto 0;
	border-collapse: collapse;
	line-height: 1.8;
}

.common-table__head,
.common-table__data {
	padding: 16px 20px;
	border: 1px solid #ccc;
	text-align: left;
	font-size: 0.95rem;
}

.common-table__head {
	font-weight: 500;
	text-align: left;
}

.common-table thead .common-table__head {
	text-align: center;
}

@media (max-width:768px) {

	.common-table__head,
	.common-table__data {
		padding: 8px 10px;
	}
}

.back-to-top {
	margin: -180px auto 0;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	height: 180px;
}


.back-to-top__button {
	display: none;
	width: 80px;
	height: 80px;
	font-size: 0;
	background: url('/img/common/pagetop.svg') no-repeat;
	background-size: contain;
	background-position: center bottom;
	cursor: pointer;
	bottom: 30px;
	position: relative;
}

@media (max-width:768px) {
	.h2-title {
		font-size: 1.6em;
		letter-spacing: 0.1em;
	}

	.back-to-top {
		right: 12px;
		bottom: 12px;
	}

	.back-to-top__button {
		width: 84px;
		height: 56px;
	}
}



/* -------------------------------------------- 
	BUTTON STYLE
-------------------------------------------- */

.button__single {
	padding: 3em 0;
	font-family: "Oswald", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	text-align: center;
	letter-spacing: 1px;
}

.button__double {
	padding: 3em 0;
	font-family: "Oswald", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	text-align: center;
	letter-spacing: 1px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: column-reverse;
}

/* BUTTON STYLE */
.button__single-button {
	width: 100%;
	max-width: 300px;
	display: block;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	cursor: pointer;
	background: #fff;
	border: 1px solid #fff;
	color: #000;
	position: relative;
}

.button__double-button {
	width: 100%;
	max-width: 300px;
	display: block;
	margin: 10px;
	padding: 10px;
	text-align: center;
	cursor: pointer;
	background: #fff;
	border: 1px solid #fff;
	color: #000;
	position: relative;
}



/* button__singe-buttonの中のinput要素 */
.button__single-button-input,
.button__double-button-input {
	width: 100%;
	height: 100%;
	background: transparent;
	border: none;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	cursor: pointer;
	padding: 0;
}

/* arrow slide animation: move right then return */
@keyframes arrow-slide {
	0% {
		transform: translateY(-50%) translateX(0);
	}

	50% {
		transform: translateY(-50%) translateX(4px);
	}

	100% {
		transform: translateY(-50%) translateX(0);
	}
}

.button__single-button:hover:after {
	animation: arrow-slide 0.6s ease;
}


/* --------------------------------------------
	HEADER
-------------------------------------------- */
.header {
	width: 100%;
	height: var(--header-height);
	background: rgba(255, 255, 255, 1);
	color: #000;
	transition: all 0.3s;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	transition: var(--button-transition, 0.7s);
}

.header__inner {
	width: 100%;
	height: 100%;
	padding: 0;
	display: grid;
	grid-template-columns: 330px 1fr;
	gap: 20px;
	align-items: center;
	padding-left: var(--page-padding-width);
}

.header__logo {
	display: block;
	height: 100%;
	background: url('/img/common/header-logo.png') no-repeat;
	background-size: contain;
	background-position: center left;
	transition: all 0.3s;
	color: transparent;
	font-size: 0;
}

.header__logo-link {
	display: block;
	width: 100%;
	height: 100%;
}

.header__nav-wrapper {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 100%;
	width: 100%;
}

/* ----- Global NAV ----- */
.global-nav {
	height: 100%;
	flex: 1;
}

.global-nav__list {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	height: 100%;
	width: 100%;
}

.global-nav__item {
	position: relative;
	height: 100%;
}

.global-nav__item-head {
	height: 100%;
}

.global-nav__item-link {
	color: var(--text-color);
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1em 20px;
	white-space: nowrap;

}

.global-nav__toggle {
	display: none;
}

.global-nav__sublist {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--bg-color);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	z-index: 10;
	padding: 8px 0;
}

.global-nav__item.has-submenu:hover .global-nav__sublist {
	display: block;
}

.global-nav__subitem+.global-nav__subitem {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.global-nav__sublink {
	display: block;
	color: var(--text-color);
	font-size: 20px;
	font-weight: 500;
	white-space: nowrap;
	padding: 1em 20px;
}

.global-nav__sublink:hover {
	color: var(--hover-text-color);
	background: rgba(0, 0, 0, 0.04);
	transition: var(--button-transition);
}

/* お問い合わせボタン */
.header__contact {
	background: var(--button-bg-color);
	/*#282557*/
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	width: auto;
	height: 100%;
	padding: 0 24px;
	flex: 0 0 265px;
	line-height: 1.2;
	white-space: nowrap;
	margin-left: 10px;
}

.header-contact__text {
	font-size: 20px;
	font-weight: 500;
}

.header-contact__text span {
	font-size: 14px;
}

.header-contact__tel {
	font-size: 28px;
	font-weight: 500;
	color: #fff !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

.header-contact__tel:before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/img/common/icon__phone.svg) no-repeat;
	background-size: contain;
	background-position: center center;
	margin-right: 8px;
	cursor: pointer;
}

.header__contact-button {
	display: none;
}

@media (max-width:1340px) {

	.header__inner {
		gap: 10px;
	}

	.header__contact {
		display: none;
	}

	.header__logo {
		height: 65%;
	}

	.header__contact-button {
		display: flex;
		gap: 8px;
		width: auto;
		background: var(--button-bg-color);
		border: 1px solid var(--button-bg-color);
		color: #fff;
		padding: 11px 15px;
		border-radius: 5px;
	}

	.header__contact-button-icon {
		display: block;
		width: 20px;
		height: 20px;
		flex-shrink: 0;
		background: url(/img/common/icon__phone.svg) no-repeat center center;
		background-size: contain;
	}

	.header__contact-button-text {
		font-size: 16px;
		font-weight: 500;
		line-height: 1.2;
		text-align: center;
	}

	.header__contact-button-sub {
		display: inline-block;
		font-size: 13px;
		font-weight: 400;
		margin-top: 3px;
	}

	.global-nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		overflow-y: auto;
		background: var(--bg-color);
		padding-top: var(--header-height);
	}

	.global-nav__list {
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		height: auto;
	}

	.global-nav__item-link {
		height: auto;
		text-align: center;
		white-space: normal;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	.global-nav__item.has-submenu .global-nav__item-head {
		position: relative;
	}

	.global-nav__toggle {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 70px;
		padding: 0;
		background: none;
		border: none;
		cursor: pointer;
	}

	.global-nav__toggle::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 10px;
		height: 10px;
		border-right: 2px solid var(--text-color);
		border-bottom: 2px solid var(--text-color);
		transform: translate(-50%, -50%) rotate(45deg);
		transition: transform 0.3s ease;
	}

	.global-nav__toggle.on::before {
		transform: translate(-50%, -50%) rotate(-135deg);
	}

	.global-nav__sublist {
		position: static;
		min-width: 0;
		background: rgba(0, 0, 0, 0.03);
		box-shadow: none;
		z-index: auto;
		padding: 0;
	}

	.global-nav__item.has-submenu:hover .global-nav__sublist {
		display: none;
	}

	.global-nav__subitem {
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}

	.global-nav__subitem+.global-nav__subitem {
		border-top: none;
	}

	.global-nav__sublink {
		padding: 1em 20px;
		text-align: center;
	}

	.global-nav__sublink:hover {
		color: var(--text-color);
		background: none;
	}

	.header__inner {
		grid-template-columns: 330px 1fr auto auto;
		padding-right: var(--page-padding-width);
	}
}

@media (max-width:768px) {
	.header {
		height: 80px;
	}

	.header__inner {
		padding: 0 0 0 var(--page-padding-width);
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 0;
	}

	.header__logo {
		display: block;
		flex: 0 0 230px;
	}

	.header__contact-button {
		display: none;
	}

	.global-nav__item:has(.header__contact) {
		display: flex;
		width: 100%;
		justify-content: center;
	}

	.header__contact {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 40px 20px 20px;
		flex: 1;
		padding: 15px 15px;
		border-radius: 8px;
		width: 100%;
		max-width: 380px;
	}
}



/* --------------------------------------------
	navigation
-------------------------------------------- */



/* ---------- ハンバーガーメニュー --------- */

.nav-toggle {
	display: none;
	position: relative;
	width: 84px;
	height: 84px;
	right: 0;
	cursor: pointer;
	z-index: 1;
	margin-left: auto;
}

.nav-toggle__line {
	position: absolute;
	width: 40px;
	height: 2px;
	background: var(--text-color);
	right: 22px;
	transition: transform 0.3s ease-in-out, top 0.5s ease;
}

.nav-toggle__line.--top {
	top: 28px;
}

.nav-toggle__line.--bottom {
	bottom: 28px;
}

.nav-toggle__line.--middle {
	top: 41px;
}

.nav-toggle.on .nav-toggle__line.--top {
	top: 40px;
	transform: rotate(45deg);
}

.nav-toggle.on .nav-toggle__line.--bottom {
	top: 40px;
	transform: rotate(-45deg);
}

.nav-toggle.on .nav-toggle__line.--middle {
	opacity: 0;
}

.top-page .header:not(.is_scroll) .nav-toggle__line {
	background: var(--top-page-first-view-gnav-color);
}

@media (max-width:1340px) {
	.nav-toggle {
		display: block;
	}

	.top-page .header:not(.is_scroll) .nav-toggle__line {
		background: var(--text-color);
	}
}

@media (max-width:768px) {
	.nav-toggle {
		position: absolute;
		right: 0;
		top: 50%;
		width: 64px;
		height: 64px;
		transform: translateY(-50%);
	}

	.nav-toggle__line {
		width: 30px;
		right: 17px;
	}

	.nav-toggle__line.--top {
		top: 21px;
	}

	.nav-toggle__line.--bottom {
		bottom: 21px;
	}

	.nav-toggle__line.--middle {
		top: 31px;
	}

	.nav-toggle.on .nav-toggle__line.--top,
	.nav-toggle.on .nav-toggle__line.--bottom {
		top: 31px;
	}
}

/* --------------------------------------------
	FOOTER
-------------------------------------------- */
.footer {
	width: 100%;
	background: #2E2E2E;
	position: sticky;
	top: 100vh;
}

.footer-inner {
	padding: 35px var(--page-padding-width) 10px;
}

.footer-contents-wrapper {
	display: grid;
	grid-template-columns: 20% auto;
	gap: 10%;
	margin-bottom: 60px;

}

.footer-logo {
	width: clamp(100px, 26vw, 300px);
	height: auto;
	margin: 0 auto;
}

.footer-logo__link {
	display: block;
}

.footer-logo__image {
	display: block;
	width: 360px;
	height: auto;
	aspect-ratio: 360 / 82;
}

.footer-sitemap {
	width: 100%;
	max-width: var(--max-width-large);
	margin: 0 auto;
}

.footer-sitemap__list {
	display: grid;
	grid-template-columns: repeat(4, auto);
	column-gap: 20px;
	row-gap: 20px;
}

.footer-sitemap__item--eitaikuyo {
	grid-column: 4;
	grid-row: 1;
}

.footer-sitemap__item--news {
	grid-column: 4;
	grid-row: 2;
}


.footer-sitemap__heading {
	font-size: 16px;
	font-weight: 700;
}

.footer-sitemap__heading-link {
	display: inline-flex;
	align-items: center;
	color: #efefef;
	font-size: 22px;
	font-weight: 600;
}

.footer-sitemap__heading-link:before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 24px;
	margin-right: 10px;
	background: #686595;
	s
}

.footer-sitemap__sublist {
	margin-top: 0.5em;
	display: flex;
	flex-direction: column;
	gap: 0.2em;
}

.footer-sitemap__sublink {
	font-size: 17px;
	color: #efefef;
	display: block;
	height: 100%;
}

.footer-sitemap__sublink:hover,
.footer-sitemap__heading-link:hover {
	opacity: 0.7;
	transition: var(--button-transition);
}


.sns-link.--footer {
	margin-top: 0;
}

.sns-link.--footer .sns-link__list {
	margin: 0;
}

.copyright {
	font-size: 11px;
	color: #A8A8A8;
	text-align: center;
}


@media (max-width:1340px) {
	.footer-inner {
		padding-top: 40px;
	}

	.footer-sitemap {
		display: none;
	}

	.footer-contents-wrapper {
		display: block;
		margin-bottom: 40px;
	}

	.footer-logo {
		width: 260px;
	}

}

@media (max-width:768px) {
	.footer-logo {
		width: 230px;
	}
}


/* --------------------------------------------
	section
-------------------------------------------- */
.section {
	padding: 130px 0;
}

.section:last-child {
	padding-bottom: 180px;
}

.section-tate .container {
	display: grid;
	grid-template-columns: 330px 1fr;
}

.section-tate .h2-title {
	writing-mode: vertical-rl;
	letter-spacing: 0.45em;
	position: relative;
	text-align: start;
	width: fit-content;
	margin: 0 auto 20px;
}

.section-tate .h2-title:before {
	content: "";
	display: block;
	width: 330px;
	height: 330px;
	background: url('/img/common/h2-bg01.png') no-repeat;
	background-size: contain;
	opacity: 0.04;
	position: absolute;
	top: -60px;
	left: 50%;
	transform: translateX(-50%);
}

.section-tate .contents-wrapper {
	padding-top: 2em;
}


.section-yoko .h2-title {
	writing-mode: horizontal-tb;
	position: relative;
	letter-spacing: 0.15em;
}

.section-yoko .h2-title:before {
	content: "";
	display: block;
	width: 330px;
	height: 330px;
	background: url('/img/common/h2-bg01.png') no-repeat;
	background-size: contain;
	opacity: 0.04;
	position: absolute;
	top: -80px;
	left: 50%;
	transform: translateX(-50%);
}

.section-yoko .contents-wrapper {
	margin-top: 2em;
}

/* width:1200px以下の場合のスタイル */

@media (max-width:1200px) {
	.section {
		padding: 120px 0;
	}

	.section-tate .container {
		grid-template-columns: 33% 1fr;
	}
}

@media (max-width:880px) {
	.section-tate .container {
		display: block;
	}

	.section-tate .h2-title {
		writing-mode: horizontal-tb;
		position: relative;
		letter-spacing: 0.3em;
	}

	.section-tate .h2-title:before {
		content: "";
		display: block;
		width: 330px;
		height: 330px;
		opacity: 0.04;
		position: absolute;
		top: -80px;
		left: 50%;
		transform: translateX(-50%);
	}

	.section-tate .contents-wrapper {
		margin-top: 2em;
	}
}

@media (max-width:768px) {
	.section {
		padding: 100px 0;
	}

	.section-tate .h2-title {
		writing-mode: horizontal-tb;
		position: relative;
		letter-spacing: 0.1em;
	}


	.section-tate .h2-title:before,
	.section-yoko .h2-title:before {
		content: "";
		display: block;
		width: 80vw;
		height: 80vw;
		max-width: 280px;
		max-height: 280px;
	}

	.h3-title {
		margin-top: 2.5em;
	}

}

@media (max-width:425px) {
	.section {
		padding: 90px 0;
	}

	.section-tate .h2-title:before,
	.section-yoko .h2-title:before {
		width: 260px;
		height: 260px;
		top: -70px;
	}
}

/* --------------------------------------------
	sub page title
-------------------------------------------- */
.sub-page-title {
	position: relative;
	margin-top: var(--header-height);
	width: 100%;
	height: 40vh;
	max-height: 500px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sub-page-title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.25);
}

.sub-page-title__title {
	position: relative;
	z-index: 1;
	color: #fff;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.2em;
}

@media (orientation: portrait) {
	.sub-page-title {
		height: 30vh;
	}
}

@media (max-width:768px){
	.sub-page-title__title {
		font-size: 1.5rem;
	}
}