
/*header-------------------------------------------------------------------------------------------------------------------------------------------------------*/
header {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #e7ffd7;/*グリーン*/
}
@media screen and (min-width: 1330px) {
}
.header__inner {
  padding: 20px 1.5% 15px 2.5%; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit; /*親要素の高さを継承*/
  position: relative;
  z-index: 20;
}
@media (max-width:1280px) {
	.header__inner {
		padding: 25px 1.5%;
	}
}
@media (max-width:1330px) {
	.header__inner {
		padding: 12px 20px;
	}
}


/* ヘッダーのロゴ部分 */
.header-title a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: #333;
}
.header-title a:hover {
	opacity: 0.5;
}
.header-title a h1 {
	font-size: 28px;
	color: var(--main_color);
	letter-spacing: 0.05rem;
	line-height: 1;
}
.header-title a h1 img {
	width: 160px;
}
.header-title a h1 span {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.9rem;
	font-weight: normal;
	color: var(--main_color_80);
	letter-spacing: 0.05rem;
	white-space: nowrap;
}
.header-title img {
  width: 60px;
  margin: 0 auto;
}
@media (max-width:1330px) {
	.header-title a {
		padding-left: 0px;
	}
	.header-title a h1 img {
		width: 120px;
	}
	.header-title a h1 span {
		margin-top: 0.2rem;
	}
	.header-title img {
  	width: 40px;
	}
}
@media (max-width:480px) {
	.header-title a h1 {
		font-size: 18px;
	}
	.header-title img {
		width: 35px;
	}
}

/* ヘッダーのナビ部分 */
.header__nav {
  position: static;
  transform: initial;
  background-color: inherit;
  height: inherit;
  display: flex;
  justify-content: end;
}
@media (max-width:1330px) {
	.header__nav {
	  position: fixed;
	  right: 0;
	  left: 0;
	  top: 69px;
	  height: 100vh;
	  transform: translateX(100%); 
	  background-color: var(--main_color_80); /*ハンバーガーメニュークリック時の背景色*/
	  transition: ease .4s; /*ハンバーガーメニュークリック時のメニュー出現を遅延*/
	  display: flex;
	  font-weight: normal;
	}
}
.nav__items {
  margin: 50px auto auto;
}
@media screen and (min-width: 1330px) {
  .nav__items {
    margin: initial;
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: flex-end;
  }
}

.nav-items__item {
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 2.5rem;
}
.nav-items__item:first-of-type {
	padding-left: 1.5rem;
}
@media (max-width:1330px) {
	.nav-items__item,
	.nav-items__item:first-of-type {
		padding: 0;
	}
}
@media screen and (min-width: 1330px) {
}
.nav-items .nav-items__item{
	list-style: none;
}

/* ナビのリンク */
.nav-items__item a {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 16px;
  margin-bottom: 30px;
  text-decoration: none;
  color: #333;
}
.nav-items__item:last-child a {
  margin-bottom: 0;
}
.nav-items__item a:hover {
	/*opacity: 0.5;*/
	color: var(--main_color);
}

/*電話リンク　*/
.tel-link {
	line-height: 1;
	text-align: center;
	list-style: none;
	padding-left: 2.5rem;
}
.tel-link a {
	text-decoration: none;
	color: #333;
}
.tel-link span {
	font-size: 28px;
	color: var(--main_color);
  font-weight: bold;
}
.tel-link a p {
	font-size: 13px;
	display: inline-block;
	text-align: center;
}
@media screen and (min-width: 1330px) {
	.nav-items__item a {
	  margin-bottom: 0;
	  font-size: 17px;
		font-weight: bold;
  }
}
@media screen and (max-width: 1330px) {
	.nav-items__item a {
		color: #fff;
	}
	header .tel-link {
		padding: 1rem 2rem;
		background-color: #fff;
		border-radius: 8px;
	}
	header .tel-link a p {
		margin-top: 0.5rem;
	}
}

/* ハンバーガーメニュー ----------------------------- */
.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}
@media screen and (min-width: 1330px) {
  /*PC時非表示にする*/
  .hamburger {
    display: none;
  }
}

.header__hamburger {
  width: 30px;
  height: 100%;
}
.hamburger {
  background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  z-index: 9999;
  cursor: pointer;
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--main_color);
  position: relative;
  transition: ease .4s; 
  display: block;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  margin: 7px 0;
}
.hamburger span:nth-child(3) {
  top: 0;
}

/*ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}
.hamburger.active span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -12px;
  transform: rotate(-45deg);
}




/*フッター------------------------------------------------------------------------------------------------*/
footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--main_color);
	color: #fff;
	padding: 1rem 0;
}
.f-adress .f-logo span {
	padding-left: 0.5rem;
  font-size: 20px;
}
.f-adress {
	padding: 0 40px;
}
.f-adress p {
	font-size: 14px;
	line-height: 1.5;
}
.f-adress p a {
	text-decoration: none;
	color: #fff;
}
.f-adress .f-logo {
	padding-bottom: 10px;
	font-size: 24px;
	line-height: 1.0;
}
.f-adress .copyright {
	font-size: 11px;
}
.insta {
	margin: 0 40px;
	padding: 0.8rem 1.5rem;
	background-color: #fff;
	border-radius: 8px;
}
.insta p {
	margin-bottom: 0.5rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px dotted #999;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
}
.insta a.flex_box {
	flex-wrap: nowrap;
	justify-content: center;
	gap: 3%;
	text-decoration: none;
}
.insta span {
	white-space: nowrap;
	color: #333;
	font-weight: bold;
}
@media (max-width:780px) {
	footer {
		align-items: stretch;
	}
	.f-adress .f-logo span {
		display: block;
		padding-left: 0;
		font-size: 16px;
		line-height: 1.6;
	}
	.f-adress {
		padding: 0 0 0 1rem;
	}
	.f-adress .f-logo {
		padding-bottom: 2px;
	}
	.insta {
		display: flex;
		flex-direction: column;
		justify-content: center;
		margin: 0 1rem 0 0;
	}
}
@media (max-width:640px) {
	footer {
		flex-direction: column-reverse;
		align-items: center;
	}
	.f-adress .f-logo span {
		display: inline;
		padding-left: 0.5rem;
	}
	.f-adress p {
		text-align: center;
	}
	.insta {
		margin-bottom: 1rem;
	}
}
@media (max-width:480px) {
	footer {
		text-align: center;
	}
	.f-adress p {
		font-size: 12px;
	}
	.f-adress .f-logo {
		font-size: 20px;
	}
	.insta {
		width: 90%;
		margin: 0 0 0.8rem 0;
	}
	.f-adress {
		padding: 0;
	}
	.copyright {
		padding-bottom: 0;
		font-size: 10px;
	}
}


/*TOPへ戻るボタン*/
#pagetop {
	height: 50px;/*枠の大きさ*/
	width: 50px;/*枠の大きさ*/
	position:fixed;
	right: 30px;
	bottom: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.nav-pagetop {
	width: 30px;/*矢印の大きさ*/
	height: 30px;/*矢印の大きさ*/
	border-top: 2px solid #082f50;
	border-right: 2px solid #082f50;
	transform: translateY(20%) rotate(-45deg);
	filter: contrast(100);/*背景色によって濃くなる*/
}

@media (max-width:480px) {
	#pagetop {
		right: 20px;
	}
}
