@charset 'UTF-8';

/* =========================================
   変数定義
   ========================================= */
:root {
	/* カラー */
	--color-primary: #A3D5C8;
	--color-text: #222;
	--color-background: rgb(255 255 255 / 90%);

	/* ブレークポイント */
	--breakpoint-sp: 767px;
	--breakpoint-pc: 768px;

	/* レイアウト */
	--header-height-pc: 64px;
	--header-height-sp: 26px;
	--container-padding-pc: 60px;
	--container-padding-sp: 20px;
}

/* =========================================
   ベーススタイル
   ========================================= */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-gutter: stable;
}

html,
body {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	line-height: 1.875;
	font-weight: 500;
	letter-spacing: 0.024em;
	color: var(--color-text);
	background: var(--color-background) none;

	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {

	html,
	body {
		font-size: 14px;
		line-height: 2.14;
	}
}

/* テキスト選択時のスタイル */
*::selection,
*::-moz-selection {
	background: var(--color-primary);
}

/* =========================================
   ユーティリティクラス
   ========================================= */
.oh-open {
	overflow: visible;
}

.flex {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
}

.hidden {
	display: none !important;
}

/* =========================================
   レイアウト
   ========================================= */
@media screen and (min-width: var(--breakpoint-pc)) {
	#wrapper {
		min-width: 1024px;
	}

	#wrapper .w1000 {
		width: 1000px;
		margin-right: auto;
		margin-left: auto;
	}

	.tel_link {
		pointer-events: none;
	}
}

.contents-twoCol {}

/* =========================================
   ヘッダー
   ========================================= */
header {
	width: 100%;
	height: 100px;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--color-background);
}

@media (max-width: 767px) {
	header {
		height: 60px;
	}
}

.header-inner {
	width: 100%;
	height: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 0 var(--container-padding-pc);
}

@media (max-width: 767px) {
	.header-inner {
		padding: 0 var(--container-padding-sp);
	}
}

.header-logo {
	width: 240px;

	@media (max-width: 767px) {
		width: 140px;
	}

	a {
		display: block;
		width: 100%;
		height: 100%;
	}

	svg {
		width: 100%;
		height: 100%;
	}

	img {
		width: 100%;
		display: block;
	}
}

.header-menu-list {
	gap: 30px;
	align-items: center;
}

.header-menu-item--profile {
	height: 18px;

	@media (max-width: 767px) {
		height: 15px;
	}

	a {
		@media (max-width: 767px) {
			height: 100%;
		}

		img {
			height: 100%;
		}
	}
}

/*------------------------------------------------
main
------------------------------------------------*/
.contents-main {
	max-width: 800px;
	margin-inline: auto;
}


.contents-item:not(:last-child) {
	margin-bottom: 160px;

	@media (max-width: 767px) {
		margin-bottom: 40px;
	}
}

.contents-item:nth-child(2n) {
	.contents-item-img {
		margin-left: auto;
	}
}

.contents-item-img {
	max-width: 700px;
}

/* フェードイン・フェードアウトアニメーション用 */
.fade-in {
	opacity: 1;
	transform: translateY(0);
}

.fade-out {
	opacity: 0;
	transform: translateY(10px);
}

/*================ 内部パーツ ================*/

.fuwafuwa {
	animation: fuwafuwa 3s ease-in-out infinite alternate;
	transition: 1.5s ease-in-out;
	display: inline-block;
}

@keyframes fuwafuwa {
	0% {
		transform: translate(0, 0) rotate(-7deg);
	}

	50% {
		transform: translate(0, -7px) rotate(0deg);
	}

	100% {
		transform: translate(0, 0) rotate(7deg);
	}
}

@keyframes fuwafuwa-rev {
	0% {
		transform: translate(0, 0) rotate(7deg);
	}

	50% {
		transform: translate(0, 7px) rotate(0deg);
	}

	100% {
		transform: translate(0, 0) rotate(-7deg);
	}
}

@keyframes fuwafuwa-2 {
	0% {
		transform: translate(0, 0) rotate(5deg);
	}

	50% {
		transform: translate(0, 5px) rotate(0deg);
	}

	100% {
		transform: translate(0, 0) rotate(-5deg);
	}
}

/*------------------------------------------------
footer
------------------------------------------------*/

footer {
	padding: 0 60px 54px;
	margin-top: 120px;

	@media (max-width: 767px) {
		padding: 0 0 40px;
		margin-top: 50px;
	}
}

.footer-inner {
	border-top: 1px solid #222;
	text-align: center;
}


.copyright {
	margin-top: 20px;

	img {
		@media (max-width: 767px) {
			height: 15px;
		}
	}
}



/*================ Side ================*/
.side-menu {
	position: sticky;
	top: 100px;
	height: fit-content;
	background-color: var(--color-background);
	z-index: 1;
	padding: 0 var(--container-padding-pc);

	@media (max-width: 767px) {
		top: 83px;
		padding-bottom: 12px;
	}
}

.side-menu-item {
	line-height: 1.45;

	&:not(:last-child) {
		margin-bottom: 11px;
	}

	a {
		font-size: 20px;
		font-weight: 500;
		transition: color 0.3s;

		@media (any-hover: hover) {
			&:hover {
				color: #A3D5C8;
			}
		}

		&.active {
			color: #A3D5C8;
		}

		@media (max-width: 767px) {
			font-size: 16px;
		}
	}
}


/*================ loading ================*/

.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-primary);
	z-index: 1001;
	pointer-events: none;
}

.loading-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loading-logo {
	width: 30px;
	height: 14px;
	opacity: 1;
}

/*================ ボタン ================*/
.footer-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	display: grid;
	gap: 3px;
	grid-template-columns: 1fr 1fr;
}

.footer-cta-item {
	width: 100%;
	height: 40px;
	background-color: var(--color-primary);
}

.footer-cta-item a {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
