@charset 'utf-8';

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

html {
  max-width: 1920px;
  font-size: 62.5%;  /* 16pxを10pxに変換してる。*/
  -webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Zen Kaku Gothic New', '游ゴシック', sans-serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-size: 1.6rem;
	/* color: #222222; */
	color: #483c34;
  width: 100%;
  margin: 0 auto;
	/* background-color: #ffffff; */
  background-color: #faf8f4;
}

p {
  line-height: 2.2;
}

h2 {
  line-height: 2;
  font-size: 2.6rem;
  font-weight: 400;
}

a {
	color: #483c34;
  text-decoration: none;
	transition: .3s;
}

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

li {
  list-style-type: none;
}

.heading {
	font-family: 'Josefin Sans', sans-serif;
	letter-spacing: 0.12em;
	margin-bottom: 4rem;
}

/* フェードインアニメーション */
.opactiy {
  opacity: 0;
}

.fadeInDown {
	animation-name: fadeInDown;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;         
  }

  100% {
		opacity: 1;
		transform: translate(0);
  }
}

.fadeInleft {
	opacity: 0;
	transform: translateX(-100px);
}

.fadeIn_left {
	animation-name: fadeIn_left;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}

@keyframes fadeIn_left {
  0% {
		opacity: 0;
    transform: translateX(-100px);   
  }

  100% {
		opacity: 1;
		transform: translateX(0);
  }
}

/*----------------
　　　ヘッダー
---------------  */
header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 61px;
	z-index: 100;
	background-color: rgba(255 255 255 / .9);
}

.header_container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 4rem;
	height: 100%;
}

.header_top img {
	width: 50%;
}

@media (max-width: 767px) {
	.header_container {
		margin: 0 1rem;
	}
}

/* --------------------------------
 　　　　　ハンバーガーメニュー 
----------------------------------*/
.toggle {
	position: fixed;
	top: 7px;
	right: 7px;
	z-index: 3;
  
	width: 50px;
	height: 50px;
	cursor: pointer; /* カーソルあてると指になる */
	font-family: "Montserrat", sans-serif;
	opacity: 1;
}

/* .toggle spanの共通項目 */
.toggle span:not(:nth-of-type(3)) {
  display: block;
  position: absolute;
  left: 10px;
  width: 58%;
  height: 2px;
  background-color: #000;
  border-radius: 5px;

  transition: all .4s; /* アニメーション */
}

.toggle span:nth-of-type(1) {
  top: 13px;
}

.toggle span:nth-of-type(2) {
  top: 25px;
}

.toggle span:nth-of-type(3) {
  display: block;
  position: absolute;
  top: 32px;
  width: 100%;
  text-align: center;
  color: #000;
  font-size: 0.6rem;
}

/* .activeが付与されると×になる */
.toggle.active span:nth-of-type(1) {
  /* 最初のspanをマイナス45度にする */
  top: 14px;
  left: 18px;

  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

/* 3番目のspanを45度にする */
.toggle.active span:nth-of-type(2) {
  top: 26px;
  left: 18px;

  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* --------------------------------
 　　　　　　　スマホナビ 
----------------------------------*/
.sp_nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
	width: 100%;
  height: 100vh;
  background-color: rgb(255, 255, 255, 0.9);
  padding-top: 10vh;
  transform: translateX(100%);
  transition: all .4s ease-in-out;
  opacity: 1;
}

.sp_nav_first {
	padding-top: 18vh;
}

.sp_nav_home {
	display: block;
	line-height: 10rem;
	font-size: 2rem;
	text-align: center;
}

.sp_nav_item {
	display: block;
	line-height: 6rem;
	font-size: 2rem;
	text-align: center;
}

.is_open {
	display: none;
	opacity: .8;
}

.sp_nav_itemInner ul li a {
	display: block;
	line-height: 5rem;
	font-size: 1.7rem;
	
}

.sp_nav a:hover {
	filter: brightness(200%);
}

/* sp_navに.activeが付与されたらナビゲーションを表示 */
.sp_nav.active {
  transform: translateX(0);
}

/* --------------------------------
 　　　　　　　  PCナビ 
----------------------------------*/
.pc_nav {
	display: none;
}

@media (min-width: 768px) {
	.sp_nav,
	.toggle {
		display: none;
	}
		
	.pc_nav {
		display: block;
	}
}

.pc_nav_list{
	display: flex;
	gap: 4rem;
	list-style: none;
	padding: 1.6rem 1rem;
}    

.pc_nav_item a {
	font-weight: bold;
}

.pc_nav_item a:hover{
	text-decoration: underline;
}

.hero {
	position: relative;
	top: 0;
	left: 0;
}

.hero_container::before {
	content: "";
  position: absolute;
  top: 0;  bottom: 0;
  left: 0;  right: 0;
  background: #000000;
  opacity: 0.1;
	z-index: 98;
}

.hero_text {
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ffffff;
	width: 100%;
  text-align: center;
	z-index: 99;
}

.hero_text img {
	width: 50%;
	filter: drop-shadow(4px 4px 4px #111111);
}

.hero_container .slider img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}

.josefin-sans-uniquifier {
	font-family: "Josefin Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.innerwrap{
	max-width: 1000px;
	margin: 0 auto;
	padding: 20rem 2rem 0;
}

@media (max-width: 767px) {
	.hero_text img {
		width: 70%;
	}

	.hero_container .slider img {
		height: 60vh;
	}

	.innerwrap {
		padding: 11rem 2rem 0;
	}

	.hero_text h2 {
		font-size: 2rem;
	}

	.hero_text h2 span {
		font-size: 3rem;
	}
}

/*----------------
　　さくかおについて
---------------  */
.about_sec {
	display: flex;
	justify-content: space-around;
	gap: 2rem;
	margin-bottom: 12rem;
}

.about_sec_img {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

@media (max-width: 767px) {
	.about_sec {
		flex-direction: column-reverse;
		margin-bottom: 3.5rem;
	}

	.about_sec_img {
		gap: .8rem;
	}

	.about_sec_img img {
		width: 32%;
	}
}

/*----------
　　ご挨拶
----------  */
.message_inner {
	display: flex;
	justify-content: center;
	max-width: 800px;
	margin: 0 auto;
}

.message_inner_text p {
	text-align: justify;
}

.right_align {
	display: flex;
	justify-content: end;
	line-height: 1.6;
	margin-top: 1.5rem;
}

@media (max-width: 767px) {
	.message {
		padding-bottom: 11rem;
	}

	.message_inner {
		flex-direction: column;
	}

	.message_img {
		width: 100%;
		text-align: center;
	}

	.message_img img:first-child {
		position: static;
	}

	.message_img img:last-child {
		display: none;
	}

	.message_inner_text h3 {
		text-align: center;
	}
}

/*----------------
　　訪問看護とは
---------------  */
.introduction_img {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.introduction_text {
	max-width: 100%;
	margin: 0 auto;
	margin: 4rem 0;
}

.introduction_text > p {
	max-width: 600px;
	margin: 0 auto;
}

.introduction_sec {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 3rem 1rem;
	justify-items: center;
}

.introduction_sec_inner > p {
	text-align: center;
	line-height: 1.6;
	margin-top: 1rem;
}

@media (max-width: 767px) {
	.introduction_sec {
		grid-template-columns: repeat(2, 1fr);
	}

	.introduction_img {
		gap: .8rem;
	}

	.introduction_img img {
		width: 32%;
	}
}

/*----------------
　　ご利用の流れ
---------------  */
.flow_sec {
	display: flex;
	align-items: center;
	gap: 7rem;
	background-color: #ffffff;
	/* background: #f9f9f9; */
	border-radius: 2rem;
	padding: 4rem 7rem;
	box-shadow: 0 10px 0 0 rgba(0, 0, 0, .1);
	margin-bottom: 5rem;
}

.flow_sec_inner > h3 {
	font-size: 3.7rem;
	display: inline-flex;
  align-items: center;
	font-weight: bold;
}

.flow_sec_inner span {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 4.7rem;
	font-style: normal;
	color: #f59e1b;
	letter-spacing: .3rem;
	display: inline-flex;
	flex-direction: column;
	line-height: 1.3;
	align-items: center;
	margin-right: 1rem;
}

.number::before {
	content: "STEP";
	font-size: 1.7rem;
}

.flow_sec_inner_text {
	margin: 2rem 0 3rem;
}

.flow_sec_inner_contact {
	display: flex;
}

.flow_contact_tel > a,
.flow_contact > a {
	border: 1px solid #999;
	border-radius: 1rem;
	padding: 2rem;
	font-size: 2.1rem;
	font-weight: bold;
	text-indent: -.5rem;
	text-align: center;
	display: block;
	letter-spacing: .1rem;
	height: 100px;
}

.flow_contact_tel > a {
	padding: 1.5rem 2rem 3.5rem;
}

.flow_contact > a {
	display: flex;
	justify-content: center;
	align-items: center;
}

.flow_contact_tel {
	margin-right: 1rem;
}

.flow_contact_tel i {
	color: #f59e1b;
}

.flow_contact_tel p	 {
	font-size: 1.1rem;
	line-height: 1;
	margin-bottom: .5rem;
	color: #888888;
}

.flow_contact span {
	background: url(../images/mail.png) no-repeat center / cover;
	width: 35px;
	height: 35px;
	margin-right: 1.5rem;
}


@media (max-width: 767px) {
	.flow_sec {
		flex-direction: column;
		gap: 0;
		padding: 1.7rem;
	}

	.flow_sec img {
		width: 60%;
	}

	.flow_sec_inner_contact {
		flex-direction: column;
		gap: 2rem;
		margin-bottom: 5rem;
	}

	.flow_sec_inner > h3 {
		font-size: 2.1rem;
	}

	.flow_sec_inner span {
		font-size: 2rem;
	}

	.flow_sec_inner span::before {
		font-size: 1.5rem;
	}

	.flow_contact_tel {
		margin-right: 0;
	}
}

/*----------------
　　ご利用料金
---------------  */
.plan_sec {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.plan_inner h3 {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin: 1rem 0;
	padding: 2rem;
	text-align: center;
}

.haikei {
	position: relative;
	width: 4rem;
	height: 4rem;
	background-color: #f2f2f2;
	border-radius: 50vh;
}

.haikei::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 28%;
	transform: translateY(-50%) rotate(45deg);
	width: 1rem;
	height: 1rem;
	border-top: 3px solid #333333;
	border-right: 3px solid #333333;
}

@media (max-width: 767px) {
	.plan_sec {
		flex-direction: column;
	}

	.plan_inner {
		text-align: center;
	}

	.plan_inner a {
		margin: 0 0 2rem;
	}
}

/*----------------
　　サービス対応地域
---------------  */
.region_sec {
	text-align: center;
}

.region_sec p {
	font-weight: bold;
	font-size: 1.9rem;
}

.region_sec h3 {
	margin: 0 auto;
	max-width: 220px;
	background-color: #f2f2f2;
}

/*----------------
　　instagram
---------------  */
.instagram_img {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin: 3rem 0;
}

@media (max-width: 767px) {
	.instagram_img {
		gap: .6rem;
	}
}

/*----------------
　　お問い合わせ
---------------  */
.form_sec {
	max-width: 550px;
	margin: 2rem auto;
}

.form_text {
	text-align: center;
}

form p {
	font-size: 1.8rem;
	font-weight: bold;
}

.required {
	margin-left: 1rem;
	padding: .1rem .7rem .16rem;
	background-color: #f59e1b;
	color: #ffffff;
	border-radius: .4rem;
	font-size: 1.2rem;
}

input[name="user_name"],
input[type="email"],
input[type="tel"],
textarea {
	width: 550px;
	border: 1px solid rgb(220, 220, 220);
	border-radius: .6rem;
  padding: 1.6rem 1rem;
	margin-bottom: 3.5rem;
}

textarea {
	height: 300px;
}

.checkbox {
	font-size: 1.4rem;
}

input[type="checkbox"] {
	margin-right: 1rem;
}

.privacy_policy {
	border-bottom: 1px solid #444;
	font-size: 1.4rem;
}

.submit {
	text-align: center;
}

input[type="submit"] {
	padding: 1rem 6rem;
	border-radius: 3rem;
	margin: 2rem 0;
	letter-spacing: .5rem;
  text-indent: .5rem;
	border: 1px solid rgb(220, 220, 220);
	color: #483C34;
	background-color: #ffffff;
	font-size: 1.6rem;
  font-weight: bold;
}

@media (max-width: 767px) {
	.contact {
		margin-bottom: 11rem;
	}

	input[name="user_name"],
	input[type="email"],
	input[type="tel"],
	textarea {
		width: 100%;
	}
}

/*----------------
　　footer
---------------  */
footer {
	background-color: #f2f2f2;
	padding: 5rem 4rem .5rem;
}
.footer_sec {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	gap: 4rem;
}

.footer_sec >img {
	height: 100%;
}

.footer_inner p {
	line-height: 1.6;
	font-weight: bold;
}

.footer_inner_information {
	margin: 2rem 0;
}


.working_day_inner_text {
	font-size: 1.4rem;
	margin-top: 1rem;
}

.privacy {
	text-align: center;
	font-size: 1.1rem;
	margin: 2rem 0;
}

.rights_reserved {
	text-align: center;
}

@media (max-width: 767px) {
	.footer_sec {
		flex-direction: column;
	}
}

/*-------------------
　　プライバシーポリシー
------------------  */
.privacy_policy_sec {
	padding: 7rem 0 10rem;
}

.privacy_policy_sec h2 {
	text-align: center;
}

.privacy_policy_text {
	max-width: 800px;
  margin: 0 auto;
	padding: 9rem 2rem 0;
}

.privacy_policy_inner {
	margin-top: 5rem;
}

.privacy_policy_inner h3 {
	font-size: 2rem;
}

.success_message {
	color:#2c7a7b;
	font-weight:bold;
	margin:20px 0;
}

.error_message {
	color:red;
	font-weight:bold;
	margin-bottom:20px;
}