@charset "UTF-8";

/*Clear fix*/
.cf:before,
.cf:after {
	content: " ";
	display: table;
}
.cf:after {
	clear: both;
}
.cf {
	zoom: 1;
}

.flex-box {
	display: flex;
	/* justify-content: space-around; */
}

.flex-box-reverse {
	flex-direction: row-reverse;
}

a {
	text-decoration: none;
	color: #333332;
}

a:hover {
	opacity: 0.7;
}

img {
	width: 100%;
	vertical-align: bottom;
	overflow: hidden;
	border-radius: 20px 20px 20px 20px;
}

/* common */
html {
	font-size: 16px;
}

body {
	background-color: #fffef9;
	font-family: "Noto Serif JP", serif;
	font-weight: 300;
	font-style: normal;
	color: #333332;
}

#sec1,
#sec2,
#sec3,
#sec4 {
	width: 90%;
	max-width: 1280px;
	margin: 0 auto;
	margin-bottom: 80px;
}

#sec4 {
	margin-bottom: 100px;
}

.main {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
}

/* 各セクションのタイトル */
.title {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 80px;
}

/* header */
header {
	max-width: 1280px;
	background-color: #fffef9;
	width: 100%;
	height: 70px;
	position: fixed;
	padding-top: 10px;
	top: 0;
	z-index: 9999;
}

header ul {
	max-width: 1280px;
	line-height: 70px;
	position: relative;
}

header ul li {
	margin-right: 3.9%;
}

.logo {
	width: 105px;
	margin-left: 30px;
	margin-top: -5px;
}

.logo img {
	border-radius: 0px;
}

.logo-link:hover {
	opacity: 1;
}

.contact_button_header {
	width: 140px;
	background-color: white;
	border-radius: 90px 90px 90px 90px;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.247);
	outline: 2px solid #f2f2f2;
	line-height: 45px;
	text-align: center;
	position: absolute;
	top: 8px;
	right: 10px;
}

/* ハンバーガーメニューの基本スタイル */
.hamburger-menu {
	display: none; /* デフォルトでは非表示 */
	cursor: pointer;
}

.hamburger-menu .bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: #333332;
}

.hamburger-nav {
	display: none; /* デフォルトでは非表示 */
}

/* main */
.main_text_wrapper {
	max-width: 1280px;
	height: 100svh;
}

.main_text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 100%;
	max-width: 1280px;
	text-align: center;
	line-height: 2;
	font-size: 1.6rem;
}

.main_text span {
	transition: 1s;
	opacity: 0;
	transform: translateY(20px);
	display: block;
}
.main_text span:first-child {
	animation: main_text 1.4s forwards 1s;
}
.main_text span:nth-child(2) {
	animation: main_text 1.4s forwards 2s;
}

@keyframes main_text {
	0% {
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* メインテキストが表示されるまで他の要素は非表示 */
.show_wait {
	transition: 1s;
	opacity: 0;
	animation: show_wait 2s forwards 4s;
}

@keyframes show_wait {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* about us */
.about_us_text {
	padding: 120px 0px;
	text-align: center;
	line-height: 2;
	font-size: 1.2rem;
}

.container {
	position: relative;
}

/*========= 流体シェイプを動かす ===============*/
.fluid {
	position: absolute;
	width: 20vh; /*横幅*/
	height: 20vh; /*縦幅*/
	background: #f2e2ce; /*背景色*/
	animation: fluidrotate 30s ease 0s infinite; /*アニメーションの設定*/
}

.fluid_left {
	top: 40px;
	left: 30%;
}

.fluid_right {
	bottom: 40px;
	right: 33%;
}

@keyframes fluidrotate {
	0%,
	100% {
		border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
	}
	14% {
		border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
	}
	28% {
		border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;
	}
	42% {
		border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;
	}
	56% {
		border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
	}
	70% {
		border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;
	}
	84% {
		border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;
	}
}

.about_us_text_last {
	margin-top: 50px;
}

.about_us_box_text {
	width: 87%;
	margin-bottom: 30px;
	line-height: 1.8;
}

.about_us_point_no {
	font-size: 34px;
}

.about_us_point_title::before {
	content: "";
	width: 5px;
	height: 22px;
	background-color: #d9d9d9;
	margin-right: 5px;
	display: inline-block;
	position: relative;
	top: 3px;
}

.about_us_point_title {
	font-size: 20px;
}

.about_us_list::before {
	content: "-";
	display: inline-block;
	margin-right: 0.5em;
	display: inline-block;
}

.about_us_box {
	margin-bottom: 60px;
}

.about_us_img {
	width: 25%;
	margin-right: 3%;
}

/* plan */
.plan-box {
	position: relative;
	margin: 0 auto;
	margin-bottom: 30px;
	padding: 4%;
	background-color: #ffffff;
	border: 1px solid #f2f2f2;
	border-radius: 20px 20px 20px 20px;
}

.plan_img {
	width: 35%;
	margin-right: 6%;
}

.plan_text {
	width: 59%;
	position: relative;
	right: 0;
}

.plan_name {
	font-size: 1.5rem;
	margin-top: 5px;
	margin-bottom: 15px;
}

.plan_info {
	line-height: 1.8;
}

.plan_cost {
	font-size: 1.5em;
	position: absolute;
	bottom: 0px;
}

/* contact */
.contact_text {
	margin-bottom: 30px;
	text-align: center;
	font-size: 1.3rem;
	line-height: 1.6;
}

.contact_button {
	background-color: white;
	border-radius: 90px 90px 90px 90px;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.247);
	outline: 2px solid #f2f2f2;
	width: 43%;
	max-width: 550px;
	min-width: 450px;
	margin: 0 auto;
}

.contact_button_text {
	font-size: 1.5rem;
	line-height: 80px;
	text-align: center;
	margin-right: 5px;
}

.contact_button_text::after {
	content: "";
	background-image: url(../img/expand_arrow_icon.png);
	background-size: contain; /* 背景画像サイズ指定 */
	background-repeat: no-repeat; /* 背景画像リピート指定 */
	background-position: center; /* 背景画像位置指定 */
	vertical-align: middle; /* 上下中央揃え */
	width: 40px;
	height: 40px;
	margin-left: 5px;
	display: inline-block;
	position: relative;
	top: -5px;
}

/* staff */
.staff_info {
	margin: 0 auto;
}

.staff1 {
	margin-bottom: 100px;
}

.staff_img {
	width: 40%;
	margin-right: 6%;
}

.staff_text {
	width: 64%;
	margin-top: 20px;
}

.staff_text li:nth-of-type(odd) {
	margin-bottom: 5px;
	font-size: 1.2rem;
}

.staff_text li:nth-of-type(odd)::before {
	content: "";
	width: 5px;
	height: 18px;
	background-color: #d9d9d9;
	margin-right: 5px;
	display: inline-block;
	position: relative;
	top: 3px;
}

.staff_text li:nth-of-type(even) {
	margin-bottom: 30px;
	line-height: 1.5;
}

/* ページトップボタン */
#page-top {
	position: fixed;
	bottom: 50px;
	right: 15px;
	font-size: 32px;
	z-index: 99;
	display: none;
}

#page-top a {
	background: #333332;
	color: #fff;
	width: 60px;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
	opacity: 0.7;
	transition: all 0.3s ease;
}

#page-top a:hover {
	text-decoration: none;
	opacity: 0.5;
}

/* footer */

footer {
	background-color: #a16944;
	color: #fffef9;
	width: 100%;
	height: 3em;
	position: relative;
}

footer p {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
}

/* animation */
.scroll {
	position: absolute;
	font-size: 13px;
	writing-mode: vertical-rl;
	top: 85%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.scroll::after {
	content: "";
	display: inline-block;
	position: absolute;
	background-color: #333332;
	right: 50%;
	transform: translateX(-50%);
	width: 0.5px;
	height: 100px;
	animation: scroll 2s infinite;
}
@keyframes scroll {
	0% {
		transform: scale(1, 0);
		transform-origin: 0 0;
	}
	50% {
		transform: scale(1, 1);
		transform-origin: 0 0;
	}
	50.1% {
		transform: scale(1, 1);
		transform-origin: 0 100%;
	}
	100% {
		transform: scale(1, 0);
		transform-origin: 0 100%;
	}
}

/* フェードイン */
.fadeIn-animation {
	transition: 0.8s ease-in-out;
	transform: translateY(30px);
	opacity: 0;
}
.fadeIn-animation.on {
	transform: translateY(0);
	opacity: 1;
}

/* タブレット */
@media screen and (min-width: 520px) and (max-width: 959px) {
	#sec1,
	#sec2,
	#sec3,
	#sec4 {
		max-width: 959px;
	}

	/* 各セクションのタイトル */
	.title {
		margin-bottom: 40px;
	}
	.main {
		max-width: 959px;
	}

	.main_text_wrapper {
		max-width: 959px;
	}

	.main_text {
		max-width: 959px;
	}

	.about_us_text {
		padding: 100px 0px;
	}

	.fluid {
		width: 15vh; /*横幅*/
		height: 15vh; /*縦幅*/
	}

	.fluid_left {
		top: 40px;
		left: 20%;
	}

	.fluid_right {
		bottom: 40px;
		right: 23%;
	}

	.about_us_box_text {
		width: 70%;
		margin-bottom: 30px;
		line-height: 1.5;
	}

	.about_us_box {
		margin-bottom: 20px;
	}

	.about_us_img {
		width: 27%;
	}

	.plan_img {
		width: 35%;
		margin-right: 5%;
	}

	.plan_text {
		width: 60%;
		min-height: 250px;
	}

	.plan_name {
		font-size: 1.2rem;
		margin-bottom: 10px;
	}

	.plan_info {
		line-height: 1.5;
	}

	.plan_cost {
		font-size: 1.2rem;
	}

	.staff_text {
		margin-top: 10px;
	}

	.staff_text li:nth-of-type(even) {
		margin-bottom: 20px;
	}

	.staff1 {
		margin-bottom: 30px;
	}

	#page-top {
		position: fixed;
		bottom: 20px; /* フッターとの間隔を調整 */
	}
}

/* スマートフォン */
@media screen and (max-width: 519px) {
	body {
		padding-top: env(safe-area-inset-top);
		padding-bottom: env(safe-area-inset-bottom);
		padding-left: env(safe-area-inset-left);
		padding-right: env(safe-area-inset-right);
	}

	#sec1,
	#sec2,
	#sec3,
	#sec4 {
		max-width: 519px;
	}

	#sec4 {
		margin-bottom: 60px;
	}
	.main {
		max-width: 519px;
	}

	.flex-box {
		display: block;
	}

	.pc_nav,
	.contact_button_header {
		display: none;
	}

	header {
		background-color: transparent;
		height: 30px;
		position: sticky;
		padding-top: 0px;
		top: 0;
		z-index: 9999;
		padding-top: calc(20px + env(safe-area-inset-top));
		/* 既存のパディングにセーフエリアの値を追加 */
	}

	header ul {
		line-height: 30px;
	}

	header ul li {
		margin-right: 0px;
	}

	.hamburger-menu {
		display: block; /* スマホでは表示 */
		position: absolute;
		top: 15px;
		right: 20px;
		z-index: 100;
	}

	.hamburger-nav {
		display: block; /* スマホでは表示 */
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background: #fffef9;
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;
	}

	.hamburger-nav ul {
		margin-top: 10px;
	}

	.hamburger-nav ul li {
		margin-left: 30px;
		height: 60px;
	}

	.hamburger-nav ul li:not(:first-of-type) a {
		padding: 15px 60% 15px 0;
	}

	.hamburger-nav ul li:first-of-type {
		height: 80px;
	}

	.logo {
		width: 80px;
		margin-left: 0px;
		margin-top: 0px;
	}

	.outbound-link::after {
		content: "";
		background-image: url(../img/expand_arrow_icon.png);
		background-size: contain; /* 背景画像サイズ指定 */
		background-repeat: no-repeat; /* 背景画像リピート指定 */
		background-position: center; /* 背景画像位置指定 */
		vertical-align: middle; /* 上下中央揃え */
		width: 25px;
		height: 25px;
		margin-left: 3px;
		display: inline-block;
		position: relative;
		top: -2px;
	}

	.hamburger-nav.open {
		transform: translateX(0); /* メニューが開いた時の位置 */
	}

	/* ハンバーガーメニューアニメーション */
	.hamburger-menu.open .bar:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.hamburger-menu.open .bar:nth-child(2) {
		opacity: 0;
	}

	.hamburger-menu.open .bar:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	.bar {
		transition: all 0.3s ease;
	}

	.title {
		margin-bottom: 30px;
	}

	.main_text_wrapper {
		max-width: 519px;
	}

	.main_text {
		max-width: 519px;
		line-height: 1.8;
		font-size: 1rem;
	}

	/* about us */
	.about_us_box {
		margin-bottom: 30px;
	}

	.about_us_box_text {
		width: 95%;
		margin: 0 auto;
		line-height: 1.4;
	}
	.about_us_img {
		margin: 0 auto;
		width: 95%;
		margin-bottom: 10px;
	}

	.about_us_text {
		margin: 0 auto;
		margin-bottom: 20px;
		width: 95%;
		line-height: 1.8;
		font-size: 1rem;
		padding: 60px 0px;
	}

	.about_us_point_no,
	.about_us_point_title {
		display: none;
	}

	.fluid {
		width: 16vh; /*横幅*/
		height: 16vh; /*縦幅*/
	}

	.fluid_left {
		top: 10px;
		left: 1%;
	}

	.fluid_right {
		bottom: 30px;
		right: 5%;
	}

	/* plan */
	.plan-box {
		padding: 3%;
		padding-bottom: 5%;
	}
	.plan_img {
		width: 95%;
		margin-right: 0px;
		margin: 0 auto;
		margin-top: 10px;
		margin-bottom: 15px;
	}

	.plan_text {
		width: 95%;
		margin: 0 auto;
	}

	.plan_name {
		display: none;
	}

	.plan_info {
		line-height: 1.4;
	}

	.plan_cost {
		position: relative;
		margin-top: 10px;
		font-size: 1.1rem;
		text-align: right;
	}

	/* contact */
	.contact_text {
		margin-bottom: 30px;
		text-align: center;
		font-size: 1rem;
		line-height: 1.4;
	}

	.contact_button {
		background-color: white;
		border-radius: 90px 90px 90px 90px;
		box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.247);
		outline: 2px solid #f2f2f2;
		width: 75%;
		max-width: 480px;
		min-width: 270px;
		margin: 0 auto;
	}

	.contact_button_text {
		font-size: 1.1rem;
		line-height: 50px;
	}

	.contact_button_text::after {
		width: 30px;
		height: 30px;
		margin-left: 2px;
		top: -3px;
	}

	/* staff */
	.staff1 {
		margin-bottom: 50px;
	}

	.staff_img {
		margin-right: 0px;
		margin: 0 auto;
		width: 95%;
	}

	.staff_img img {
		width: 100%;
		border-radius: 20px 20px 20px 20px;
	}

	.staff_text {
		width: 95%;
		margin: 0 auto;
		margin-top: 20px;
	}

	.staff_text li:nth-of-type(odd) {
		margin-bottom: 5px;
		font-size: 1.1rem;
	}

	.staff_text li:nth-of-type(odd)::before {
		content: "";
		width: 5px;
		height: 17px;
		background-color: #d9d9d9;
		margin-right: 5px;
		display: inline-block;
		position: relative;
		top: 3px;
	}

	.staff_text li:nth-of-type(even) {
		margin-bottom: 20px;
		line-height: 1.4;
	}

	footer p {
		width: 100%;
		font-size: 0.8rem;
		text-align: center;
		position: absolute;
		bottom: 8px;
	}

	.scroll {
		top: 80%;
	}
}
