@charset "UTF-8";

:root {
	/* font */
	--gothic: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	--mincho: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
	--hiragino: "Hiragino Mincho Pro", "游明朝", "Yu Mincho", YuMincho, serif;
	--notosansJP: "Noto Sans JP", sans-serif;
	--notoserifJP: "Noto Serif JP", serif;

	/* color */
	--blk: 98, 95, 95;
	--wht: 255, 255, 255;
	--brw: 188, 130, 87;
	--lightBlue: 220, 241, 244;
	--mainColor: 193, 174, 137;
	--periodColor: 98, 95, 95;
	--textColor: 112, 112, 112;
}

/* reset add
----------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

body,h1, h2, h3, h4, h5, h6 {
	font-size: 16px;
	font-weight: normal;
}

ul {
	list-style: none;
}

a:hover {
	opacity: 0.8;
}

.pc {
	display: block;
}
.sp {
	display: none;
}
br.pc {
	display: inline-block;
}
br.sp {
	display: none;
}
@media screen and (max-width: 768px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}	
	br.pc {
		display: none;
	}
	br.sp {
		display: inline-block;
	}
}

a[href^="tel"] {
	color: #000;
	text-decoration: none;
}

/*
	#reset
------------------------------ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

p:not(:last-of-type) {
	/* margin-bottom: 1em; */
	word-wrap: break-word;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset, img {
	border: 0;
}

address, caption, cite, code, dfn, em, th, var {
	font-style: normal;
	font-weight: normal;
}

ol, ul {
	list-style: none;
}

caption, th {
	text-align: left;
}

a {
	text-decoration: none;
	transition: all 0.5s ease 0s;
}
a:hover {
	opacity: 0.7;
}

area {
	border: none;
	outline: none;
}

img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}


/* common
----------------------------------- */
html {
	scroll-behavior: smooth;
	font-size: 62.5%;
}

body {
	background: rgb(var(--wht));
	line-height: 1.5;
	color: #333;
	font-family: var(--notosansJP);
	font-size: min(1.8rem, 1.318vw);
	font-feature-settings: "palt"1;
	letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {}

.w890 {
	max-width: 890px;
	margin: 0 auto;
}

.w950 {
	max-width: 950px;
	margin: 0 auto;
}

/* header
---------------------------------------- */
header {
	background: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 83px;
	padding: 0 98px 0 57px;
	position: relative;
	z-index: 100;
}

header .logo {
	width: 202px;
}

header .header_menu nav a {
	color: #3F3F3F;
	text-align: center;
	font-size: min(1.8rem, 1.318vw);
	font-weight: 500;
	line-height: 36px;
	position: relative;
	margin-right: 30px;
}
header .header_menu nav a:last-child {
	margin-right: 0;
}
header .header_menu nav a::after {
	content: '';
	background: url(../img/btn_item01.svg) no-repeat;
	background-size: 100%;
	display: inline-block;
	width: 15.816px;
	height: 15.816px;
	position: relative;
	top: 1.5px;
	margin-left: 11px;
}

header .header_menu nav a:hover:after {
	content: '';
	background: url(../img/btn_item01_hover.svg) no-repeat;
	background-size: 100%;
}


header .header_menu .sp-only {
	display: none;
}

@media screen and (max-width: 768px) {
	header {
		height: 71px;
		padding: 0 0 0 16px;
	}
	header .header_menu nav a {
		text-align: left;
		font-size: min(1.8rem, 4.8vw);
		margin-right: 0;
		border-top: 0.5px solid #DCDCDC;
		padding: 10px 20px;
	}
	header .header_menu nav a:last-child {
		border-bottom: 0.5px solid #DCDCDC;
	}
	header .header_menu nav a::after {
		margin-left: 0;
		position: absolute;
		top: 50%;
		right: 10px;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
	}
	header .header_menu .sp-only {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		/* gap: 12px; */
	}
	header .header_menu .sp-only a {
		color: #878787;
		font-size: min(1.3rem, 3.467vw);
		font-weight: 400;
		line-height: 30px;
		border: 0.25px solid #DCDCDC;
		padding: 12px 0 12px 16px;
	}
}

/* バーガーメニュー */
.hamburger {
	display: none;
	position: relative;
	width: 71px;
	height: 71px;
	background: #008CD5;
	border: none;
	cursor: pointer;
}

.hamburger span {
	position: absolute;
	left: 50%;
	width: 35px;
	height: 1px;
	background: #fff;
	transform: translateX(-50%);
	transition: 0.3s;
}

/* 中央基準で配置 */
.hamburger span:nth-child(1) {
	top: 50%;
	transform: translate(-50%, -12px);
}
.hamburger span:nth-child(2) {
	top: 50%;
	transform: translate(-50%, -50%);
}
.hamburger span:nth-child(3) {
	top: 50%;
	transform: translate(-50%, 12px);
}

/* × に変形（中央で交差） */
.hamburger.is-open span:nth-child(1) {
	transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
	opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* メニュー */
.header_menu {
	display: flex;
	gap: 24px;
}

/* nav */
.header_menu nav a {
	margin-right: 16px;
}

/* sp-only */
.sp-only {
	display: none;
}

.menu-close {
	display: none;
}

/* ===SP=== */
@media (max-width: 768px) {
	.hamburger {
		display: block;
	}
	.header_menu {
		display: none;
		gap: 0;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: #fff;
		flex-direction: column;
	}
	.header_menu.is-open {
		display: block;
	}
	/* ここで上から出てくる */
	.header_menu.is-open.is-animate {
		opacity: 1;
		transform: translateY(0);
	}
	/* is-openになった直後の初期位置（アニメーション前） */
	.header_menu.is-open {
		opacity: 0;
		transform: translateY(-12px);
		transition: opacity .25s ease, transform .25s ease;
	}
	.header_menu nav {
		display: flex;
		flex-direction: column;
	}
	.header_menu nav a {
		margin: 0;
	}
	.menu-close {
		display: block;
		padding: 12px;
		width: 100%;
		background: #008CD5;
		color: #fff;
		border: none;
		font-size: min(1.6rem, 4.267vw);
		cursor: pointer;
	}
	.menu-close .icon {
		position: relative;
		top: 2px;
		left: -5px;
		width: 16px;
		height: 16px;
		display: inline-block;
	}
	.menu-close .icon::before,
	.menu-close .icon::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 16px;
		height: 1px;
		background: #fff;
	}
	.menu-close .icon::before {
		transform: translate(-50%, -50%) rotate(45deg);
	}
	.menu-close .icon::after {
		transform: translate(-50%, -50%) rotate(-45deg);
	}
}

/* footer
---------------------------------------- */
footer {
	background:#008CD5;
	display: flex;
	align-items: center;
	height: 122px;
}

footer .wrap {
	max-width: 980px;
	width: 100%;
	margin: 0 auto;
}

footer .wrap nav {
	max-width: 648px;
	display: flex;
	justify-content: space-between;
}

footer .wrap nav a {
	color: #fff;
	font-size: min(1.4rem, 1.025vw);
	font-weight: 400;
	line-height: 30px;
	letter-spacing: 1.4px;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

footer .wrap .copy {
	color: #fff;
	font-size: min(1.4rem, 1.025vw);
	font-weight: 400;
	line-height: 25px;
	margin-top: 12px;
}

@media (max-width: 768px) {
	footer {
		height: 150px;
	}
	footer .wrap nav {
		justify-content: flex-start;
		flex-wrap: wrap;
		padding: 0 16px;
		margin-top: 25px;
	}
	footer .wrap nav a {
		color: #fff;
		font-size: min(1.4rem, 3.733vw);
		font-weight: 400;
		line-height: 30px;
		letter-spacing: 1.4px;
		margin-right: 25px;
	}
	footer .wrap nav a:nth-of-type(2),
	footer .wrap nav a:nth-of-type(4) {
		margin-right: 0;
	}
	footer .wrap .copy {
		font-size: min(1rem, 2.667vw);
		line-height: 25px;
		text-align: center;
		margin-top: 15px;
	}

}


/* 共通
---------------------------------------- */
.wrap-fx{
display: flex;
justify-content: center;
}

/* ----------------------------------------------------
	pagetop
---------------------------------------------------- */
#pageTop a {
	background: rgba(0, 140, 213, 0.8);
	width: 64px;
	height: 64px;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	right: 0.5em;
	bottom: 0.5em;
	z-index: 10;
	transform: rotate(-180deg);
}

#pageTop a svg {
	width: 20px;
	height: auto;
}

/* ----------------------------------------------------
fadeIn
---------------------------------------------------- */
/* 初期状態（見えない＋少し下） */
.reveal {
	opacity: 0;
	transform: translateY(12px);
}

/* 表示状態（ふわっと浮き出す） */
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

/*
透明度が変化
------------------------------ */
.fadeBlock {
opacity: 0;
transition: all 1.5s;
}

.fadeBlock.fadeIn {
opacity: 1;
}

.title_fadeIn {
animation-name: fadeInAnime;
animation-duration: 3s;
animation-fill-mode: forwards;
opacity: 0;
}
@keyframes fadeInAnime{
from {
	opacity: 0;
}

to {
	opacity: 1;
}
}


/*
下から
------------------------------ */
.fadeBottom {
transform: translateY(100px);
}

.fadeBottom.fadeIn {
transform: translateY(0);
}

/*
上から
------------------------------ */
.fadeTop {
transform: translateY(-100px);
}

.fadeTop.fadeIn {
transform: translateY(0);
}


/*
右から
------------------------------ */
.fadeRight {
transform: translateX(100px);
}

.fadeRight.fadeIn {
transform: translateX(0);
}

/*
左から
------------------------------ */
.fadeLeft {
transform: translateX(-100px);
}

.fadeLeft.fadeIn {
transform: translateX(0);
}

/* ----------------------------------------------------
object
---------------------------------------------------- */
.object {
animation: korokoro 2.5s linear 0s infinite;
}

@keyframes korokoro {
10% {
	-webkit-transform: rotate(-10deg);
}

20% {
	-webkit-transform: rotate(8deg);
}

30% {
	-webkit-transform: rotate(-5deg);
}

40% {
	-webkit-transform: rotate(4deg);
}

50% {
	-webkit-transform: rotate(-3deg);
}

60% {
	-webkit-transform: rotate(2deg);
}

70% {
	-webkit-transform: rotate(-1deg);
}

80% {
	-webkit-transform: rotate(1deg);
}

90% {
	-webkit-transform: rotate(-1deg);
}

100% {
	-webkit-transform: rotate(0deg);
}
}