/* CSS Document */

/*============================================================================

	header

============================================================================*/
#header {
  position: absolute;
  top: 0;
  width: 100%;
  min-width: 1280px;
  height: 130px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(80, 80, 80, 0.1);
  z-index: 99;
}
@media screen and (max-width: 640px) {
  #header {
  }
}

/*------------------------------ 見出し ------------------------------*/
header h1 {
  position: relative;
  background: #102641;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 6px 0;
}
header h1 a {
  color: #fff;
  text-decoration: underline;
}
header a {
  color: #333;
}
header h1 a:hover {
  color: #ffdb32;
}

/*------------------------------ ロゴ部分 ------------------------------*/
header .inner {
  position: relative;
  width: 1200px;
  margin: auto;
  text-align: center;
}
.header_logo {
  text-align: left;
  padding-top: 15px;
  font-size: 12px;
  font-weight: 700;
}
.header_logo em {
  position: relative;
  top: 6px;
  left: -10px;
}
.header_logo a {
  color: #002f97;
  text-decoration: underline;
}

/*============================================================================

	nav

============================================================================*/
nav {
  position: absolute;
  top: 20px;
  right: 0;
}
nav ul {
  display: flex;
  align-items: center;
}
nav li {
  position: relative;
  margin: 0 15px;
  font-weight: 700;
  font-size: 15px;
}
nav li:last-of-type {
  padding: 0 50px;
  background: #56b232;
  border-radius: 40px;
  padding: 15px 30px;
  transition: 0.3s ease-out;
}
nav li:last-of-type a {
  color: #fff;
}
nav li:last-of-type:hover {
  background: #164a89;
}

/*------------------------------ ホバーのボーダー ------------------------------*/
nav li::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  margin: auto;
  background-color: #164a89;
  transition: 0.15s ease-out;
  transform: scaleX(0);
  content: "";
  z-index: 1;
}
nav li:hover::before {
  transform: scaleX(1);
}
nav li:last-of-type:hover::before {
  transform: scaleX(0);
}

/*------------------------------ PC＊スクロール後設定 ------------------------------*/
#header.HeightMin {
  position: fixed;
  height: 95px;
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-170px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*----- ロゴ ------*/
#header.HeightMin h1 {
  display: none;
}

/*============================================================================

	▼▽▼▽▼▽▼▽▼▽ここからSP用▼▽▼▽▼▽▼▽▼▽

============================================================================*/
@media screen and (max-width: 640px) {
  /*============================================================================

	header

============================================================================*/
  header {
    display: none;
  }

  /*============================================================================

	navi

============================================================================*/
  nav {
    display: none;
  }
  .sp_navi {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 9998;
  }
  .sp_navi h1 {
    position: absolute;
    display: table !important;
    text-align: left;
    padding-left: 6%;
    height: 100%;
    top: -2px;
  }
  .sp_navi .sp_logo img {
    display: block;
    position: absolute;
    width: 120px !important;
    position: relative;
    z-index: 8;
    display: table !important;
    text-align: left;
    padding-left: 6%;
    height: 100%;
    top: 20px;
  }
  .sp_navi h1 a {
    display: table-cell;
    vertical-align: middle;
  }
  .sp_navi dl {
  }
  .sp_navi dl dt {
    height: 62px;
    font-weight: bold;
    cursor: pointer;
    /* padding: 0 4%; */
    background-color: #fff;
    top: 0;
    position: absolute;
    width: 100%;
  }
  .sp_navi dl dd {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 80%;
    height: 100%; /*ナビの高さ*/
    transition: all 0.6s;
  }
  .sp_navi dl dd.active {
    right: 0;
    min-height: 100vh; /*ナビの高さ*/
  }
  .sp_navi dl dd.active::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(22, 74, 137, 0.8);
    right: 30%;
    z-index: 1;
  }

  .sp_navi ul {
    position: relative;
    box-sizing: border-box;
    padding: 10% 2% 8% 8%;
    height: 100%;
    min-height: 100vh;
    z-index: 9;
    background: url("../images/top/bg_02.png");
  }
  .sp_navi ul li:first-of-type img {
    padding-bottom: 30px;
  }
  .sp_navi ul li a {
    display: block;
    width: 100%;
    margin-bottom: 13px;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #bddef7;
  }

  /*ボタンの動き*/
  .sp_navi dt a {
    display: block;
    width: 42px;
    height: 42px;
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 9999999;
  }
  .sp_navi dt a span {
    display: block;
    background: #666;
    width: 24px;
    height: 2px;
    position: absolute;
    left: 9px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
  }
  .sp_navi dt a span:first-child {
    top: 12px;
  }
  .sp_navi dt a span:nth-child(2) {
    margin-top: -1px;
    top: 50%;
  }
  .sp_navi dt a span:last-child {
    bottom: 12px;
  }
  .sp_navi dt a.active span:first-child {
    -webkit-transform: translateY(8px) rotate(45deg);
    -moz-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }
  .sp_navi dt a.active span:nth-child(2) {
    opacity: 0;
  }
  .sp_navi dt a.active span:last-child {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
  }

  /*============================================================================

	▲△▲△▲△▲△▲△ここまでSP用▲△▲△▲△▲△▲△

============================================================================*/
}
.c-filterLayer__img {
  margin-top: 80px;
}

.p-articleHead.c-postTitle {
  margin-top: 80px !important;
}
