/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　ヘッダー
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/





/* ハンバーガー非表示 */
/* #navArea{display: none;} */


.header_all{
/* background: #fbfbfb; */
color: #222;
display: block;
position: fixed;
top: 0px;
width: 100%;
z-index: 100;
transition: 0.8s;
}

h1 {
  padding-left: 40px;
      margin: 0;
}

img.header-logo {
width: 200px;
    height: auto;
    display: block;
    margin-top: 10px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_all ul {
 display: flex;
 justify-content: flex-end;
 align-items: center;
 margin: 0;
}

.header_all li {
 padding: 0 0 0 32px;
}

.header_all li a {
 color: #2F2F2F;
 /* transition: 0.8s; */
 font-family: "Hiragino Mincho ProN", YuMincho,	serif;
 letter-spacing: 2px;
 text-decoration: none;
 font-size: 14px;
}

.header_all li a:hover {
 color: #a25e4b;
/* transition: 0.8s; */
}

.header_button a {
padding: 1.5em 2.5em;
display: block;
height: 100%;
color: #fff!important;
text-decoration: none;
background-color: #3A4C5C;
font-size: 12px;
margin-left: 16px;
transition: 0.8s;
/* border: solid 2px #3A4C5C; */
}

.header_button a:hover {
  background-color: #a25e4b;
	transition: 0.8s;
  /* border: solid 2px #3A4C5C; */
}

.header_all.change-color {
/* background-color:  rgba(207, 216, 217, 0.5); */
/* background-color:  rgba(248, 248, 248, 0.5); */
background-color: rgb(206 225 225 / 40%);
/* background-color: #dfe7e7; */
transition: 0.8s;
/* opacity: 0.5; */
}

/* .fv {
position: absolute;
top: 100px;
} */

.header_all.scrolled {
    background: rgba(250, 250, 250, 0.8);
    box-shadow: 0 0px 5px rgb(140 140 140 / 10%);
    /* backdrop-filter: blur(15px); */
}

/** -------- タブレット -------- **/
@media screen and (max-width: 1024px){
	.header_all{
		display: none;
	}

	.header_button a {
	 margin-right: 0;
	}
}





/*============
#mask
=============*/
#mask {
	display: none;
	transition: all .5s;
}
.open #mask {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .8;
	z-index: 2;
	cursor: pointer;
}
/*============
main
=============*/
main {
	padding: 50px;
}
main h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	text-align: center;
}


/* ハンバーガー表示or非表示 */
.container{
  display: none;
}
  @media screen and (max-width: 1024px) {
  .container{
    display: block;
  }
}


.header {
  /* background-color: white; */
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 20px;
  display: flex;                  /* 横並びにする */
  justify-content: space-between; /* 左右に配置 */
  /* text-align: right; */
  height: inherit;
  position: relative;
    align-items: center;  /* 縦の中央揃え */
  height: 60px;
}


/* ヘッダーのロゴ部分 */
.header__title {
  width: 80px;
}


/* @media screen and (min-width: 960px) {
  .header__title {
    width: 120px;
  }
} */

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  /* transform: translateX(100%); */
  background-color: #F2F2F2;
  /* transition: ease .4s; */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s,visibility 0.4s,margin 0.8s cubic-bezier(0.42, 0.06, 0.08, 0.97),top 0.8s cubic-bezier(0.42, 0.06, 0.08, 0.97);
  text-align: left;
}




/* @media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
} */


/* @media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
} */

.nav-items {
  position: absolute;
  top: 10%;
  left: 15%;
  /* transform: translate(-50%, -50%); */
  padding: 0;
  width: 70vw;
  /* font-family: Century Gothic,'Hiragino Kaku Gothic Pro', sans-serif; */
  letter-spacing: 1px;
}

.nav-items__item {
    position: relative;
}

.nav-items__item::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
    background-color: #999999;
}

.nav-items__item::before {
    transform-origin: left;
    transform: scaleX(0);
}

/* @media screen and (min-width: 960px) {
  .nav-items {
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);

  }
} */

/* ナビのリンク */
.nav-items__item a {
  color: black;
  /* width: 100%; */
  display: block;
  /* text-align: center; */
  font-size: 14px;
  letter-spacing: 2px;
  /* margin-bottom: 24px; */
  padding: 24px 5px;
  color: #3A4C5C;
  text-decoration: none;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
  margin-top: 3rem;
  text-align: center
}

.menu-sp-item-link {
    opacity: 0;
    transform: translateX(-16%);
    transition: opacity 0.4s,transform 0.5s;
}

#js-nav .header_button a {
    /* padding: 1em 1.5em; */
    padding: 1rem;
    /* display: block;
    height: 100%;
    color: #b8d4d4!important;
    text-decoration: none;
    background-color: #fff;
    font-size: 12px; */
    margin-left: 0;
    /* font-family: "TsukuGoPro-B-DINNextLTPro-Medium"; */
}

#js-nav .header_button a:hover {
    color: #fff!important;
    background: #B8D4D4!important;
    transition: 0.8s;
    border: solid 1px #E8F1F2;
}

#js-nav .header_button a i {
    display: var(--fa-display,inline-block);
    padding: 0px 0px 0px 10px;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
}


/* @media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
} */


/* ハンバーガーメニュー */

.header__hamburger {
  width: 48px;
  height: 100%;
  /* 追加 */
    /* display: flex;                
  flex-direction: column;
  justify-content: center;
  gap: 8px;                     
  background: none;
  border: none;
  padding: 0;
  cursor: pointer; */

}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

.header-logo_sp{
   /* height: 40px;   */
       width: 45vw;
       max-width: 220px;
   vertical-align: middle; /* ← これを追加！ */
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #3A4C5C;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

@media screen and (max-width: 1024px) {

h1{
    padding-left: 0px;

  }
  .header__inner {
padding-top: 10px;
}
}

@media screen and (max-width: 520px) {

.header__inner {
    padding-left: 5px;
padding-bottom: 5px;
        padding-top: 6px;
    background: #FAFAFA;
  }
}





/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  /* transform: translateX(0); */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s,visibility 0.4s,margin 0.8s cubic-bezier(0.42, 0.06, 0.08, 0.97),top 0.8s cubic-bezier(0.42, 0.06, 0.08, 0.97);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}


.active .nav-items__item:nth-child(1) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.2s,transform .8s 0.15s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(2) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.3s,transform .8s 0.25s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(3) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.4s,transform .8s 0.35s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(4) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.5s,transform .8s 0.45s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(5) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.6s,transform .8s 0.55s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(6) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.7s,transform .8s 0.65s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(7) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.8s,transform .8s 0.75s cubic-bezier(0, 0.4, 0.3, 1);
}
/* .active .nav-items__item:nth-child(8) .menu-sp-item-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1.4s 0.9s,transform .8s 0.85s cubic-bezier(0, 0.4, 0.3, 1);
} */


.active .nav-items__item:nth-child(1)::before {
    transform: scaleX(1);
    transition: transform .8s 0.3s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(2)::before {
    transform: scaleX(1);
    transition: transform .8s 0.4s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(3)::before {
    transform: scaleX(1);
    transition: transform .8s 0.5s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(4)::before {
    transform: scaleX(1);
    transition: transform .8s 0.6s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(5)::before {
    transform: scaleX(1);
    transition: transform .8s 0.7s cubic-bezier(0, 0.4, 0.3, 1);
}
.active .nav-items__item:nth-child(6)::before {
    transform: scaleX(1);
    transition: transform .8s 0.8s cubic-bezier(0, 0.4, 0.3, 1);
}
/* .active .nav-items__item:nth-child(7)::before {
    transform: scaleX(1);
    transition: transform .8s 0.9s cubic-bezier(0, 0.4, 0.3, 1);
} */

/* ここまで1/10 */
