
/* ヘッダー */

.header {
    width: 100%;
    height: 88px;
    position: fixed;
    top: 0;
    margin: auto;
    border-top: 4px solid #1b449a;
    z-index: 1;
}

.header__inner {
    width: 1008px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-right-color: rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


@media screen and (max-width: 960px) {
.header {opacity: 1.0;}
.header__inner {width: 100%;padding: 0 5%;margin-top: 0px;}
.header__title {height: 38px;margintop: 20px;}
}


/* ヘッダーのロゴ部分 */
.header__title {
	width: 200px;
}
@media screen and (max-width: 960px) {
.header__title {margin-bottom: 0px;}
}
.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 960px) {
.header__title img {height: 70%;margin-top: 10px;}
}

/* ヘッダーのナビ部分 */
  .header__nav {
    position: static;
    transform: initial;
    height: inherit;
    display: flex;
    justify-content: end;
}
/* ナビ部分 */
.nav__items {
    width: 100%;
    display: flex;
    height: 38px;
    list-style: none;
    font-size: 1.0rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #365665;
    font-weight: 100;
    letter-spacing: 0.2rem;
    margin-top: 24px;
}
.nav__items li {
    margin-left: 25px;
}
.nav__items span {
    display: block;
    font-size: 0.4rem;
    font-family: 'Dosis', sans-serif;
    text-align: center;
    color: #0075C1;
}

@media screen and (max-width: 960px) {
.header__nav {
    display: block;
    position: absolute;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #FFF;
    opacity: 1.0;
    transition: ease .4s;
    left: 0px;
    top: 96px;
    background-image: url(../img/header-logo.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.nav__items {
    width: 100%;
    font-size: 1.0rem;
    display: block;
    position: relative;
    text-align: center;
}
.nav__sns {
    width: 50%;
    font-size: 1.0rem;
    display: flex;
    margin-top: 350px;
    bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
        left: 50px;
    justify-content: center;
}
.nav__sns li {
    display: flex;
    margin-left: 30px;
    margin-right: 0px;
    list-style: none;
}
.nav__sns li img {
    width: 48px;
}
}

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

.header__hamburger {
  width: 48px;
  height: 100%;

}

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

@media screen and (min-width: 960px) {
  .hamburger {display: none;}
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #0075C1;
  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;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.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);
}


/*==================================================
共通　横並びのための設定
===================================*/
.hover-action li a{
  display: block;
  padding:16px 10px;
  text-decoration: none;
  color: #365665;
}

.hover-action li a{
    /*線の基点とするためrelativeを指定*/
  position: relative;
}

.hover-action li.current a,
.hover-action li a:hover{
  color:#5D7782;
}

.hover-action li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background:#0075C1;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.hover-action li.current a::after,
.hover-action li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}