@charset "utf-8";
/* ================================
レイアウト ここから */
html {
  font-size: 100%;
}
body {
  font-family: "Noto Sans JP", serif;
  color: #ffffff;
  background-image: url(../images/back_01.png);
}
main {
  max-width: 980px;
  margin: 0 auto;
  background-color: rgb(0, 0, 0, 0.6);
}
img {
  width: 100%;
  height: auto;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #ffffff;
}
p {
  line-height: 1.5;
}
/* フェードイン アップ */
.fadeup {
  opacity: 0;
  transition: 2s;
}
/* レイアウト ここまで
================================ */

/* ================================
ヘッダー ここから */
header {
  background-color: rgb(217, 217, 217, 0.3);
  display: flex;
  justify-content: space-between;
}
h1 {
  max-width: 180px;
  margin: 40px 0 40px 70px;
}
h1 img:hover {
  opacity: .7;
  transition-duration: .5s;
}
h1 img {
  transition-duration: .5s;
}
.header-nav {
  display: flex;
  margin-top: 70px;
  font-size: 1.125rem;
  font-weight: bold;
}
.header-nav li {
  margin-right: 20px;
}
/* ヘッダー ここまで
================================ */

/* ================================
フッター ここから */
footer {
  background-color: rgb(217, 217, 217, 0.3);
  padding-top: 55px;
  padding-bottom: 55px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 50px;
}
.footer-nav li {
  margin-right: 20px;
}
.sns {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.sns li {
  width: 20px;
  height: auto;
  margin-right: 15px;
}
.sns a:hover {
  opacity: .5;
  transition-duration: .3s;
}
.small {
  text-align: center;
  font-size: .875rem;
}
.footer-nav-sp {
  display: none;
}
/* フッター ここまで
================================ */

/* ================================
ヘッダーフッター共通ここから */
/* ホバー下線 */
.under-line {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-bottom: 5px;
}
.under-line:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
}
.under-line:hover:after {
  transform: translate(0, 0);
}
/* ホバー下線プルダウン部分 */
.under-line1 {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-bottom: 5px;
}
.under-line1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 1px;
  background-color: #ffffff;
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
}
.under-line2:hover:after {
  transform: translate(0, 0);
}
.under-line2 {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-bottom: 5px;
}
.under-line2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 65%;
  height: 1px;
  background-color: #ffffff;
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
}
.under-line1:hover:after {
  transform: translate(0, 0);
}
/* プルダウン ヘッダー */
.menu-item {
  position: relative;
  transition: background-color .3s;
}
.menu-item:hover .drop-menu-list {
  transform: scaleY(1); /* ドロップダウンメニューの表示 */
}
.drop-menu {
  position: relative;
}
.drop-menu-list {
  left: 0;
  position: absolute;
  top: 30%;
  transform: scaleY(0); /* ドロップダウンメニューの非表示 */
  transform-origin: center top; /* 変形を適応する基準を設定 */
  transition: transform .3s; /* 表示の変化をアニメーション化 */
  z-index: 1;
}
.drop-menu-item {
  padding: 5px;
  transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}
/* プルダウン フッター */
.menu-item1 {
  position: relative;
  transition: background-color .3s;
}
.menu-item1:hover .drop-menu-list1 {
  transform: scaleY(1); /* ドロップダウンメニューの表示 */
}
.drop-menu1 {
  position: relative;
}
.drop-menu-list1 {
  left: 0;
  position: absolute;
  top: 100%;
  transform: scaleY(0); /* ドロップダウンメニューの非表示 */
  transform-origin: center top; /* 変形を適応する基準を設定 */
  transition: transform .3s; /* 表示の変化をアニメーション化 */
  z-index: 1;
}
.drop-menu-item1 {
  padding: 5px;
  transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}
/* ヘッダーフッター共通ここまで */

/* レスポンシブ時 非表示 */
.menu,
.menu-btn,
.menu-icon,
.navicon {
  display: none;
}
/* 共通部分 ここまで
================================ */

/* ================================
タブレット ここから 940px*/
@media (max-width: 940px) {
  /* -------------------
  ヘッダー ここから*/
  .header-nav {
    display: none;
  }
  .menu,
  .menu-btn,
  .menu-icon,
  .navicon {
    display: block;
  }
  h1 {
    max-width: 140px;
    margin: 30px 0 30px 50px;
  }

  /* ハンバーガーメニュー ここから */
  .menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    /* margin-top: 50px; */
    padding: 0 0 10px 0;
    clear: both;
    background: var(--background-navbar);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
    background-color: #111111;
    z-index: 1;
  }
  
  /* Hamburger menu button */
  .menu-btn:checked ~ .menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  /* Hamburger menbu text */
  .menu a {
    text-decoration: none;
    color: #ffffff;
    transition: 0.5s;
  }
  .menu li {
    border-top: 1px solid #ffffff;
    padding: 15px 0;
    margin: 0 54px;
    opacity: 0;
    transition: 0.5s;
    text-align: center;
  }
  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }
  .menu-btn {
    display: none;
  }
  .menu-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 55px 30px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    z-index: 2;
  }
  .navicon {
    background: #ddd;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #ddd;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  .navicon:before {
    top: 9px;
  }
  .navicon:after {
    bottom: 9px;
  }
  
  /* Hamburger Menu Animation Start */
  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }
  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
  }
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }
  .menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  /* ハンバーガーメニュー ここまで */
  /* ヘッダー ここまで
  ------------------- */
}

/* ================================
スマホ ここから 655px*/
@media (max-width: 655px) {
  /* ---------------------
    共通部分 ここから*/
    /* ヘッダー */
    h1 { 
      margin: 25px 25px 0 25px;
    }
  
    /* フッター */
    .footer-nav {
      display: none;
    }
    .footer-nav-sp {
      display: block;
    }
    footer {
      padding-top: 30px;
      padding-bottom: 30px;
    }
    .footer-nav-sp {
      text-align: center;
    }
    .footer-nav-sp-inner {
      margin-bottom: 12px;
    }
    .footer-nav-sp-inner2 {
      margin-bottom: 30px;
    }
    .small {
      font-size: .75rem;
    }
     /* 共通部分 ここまで
    ---------------------  */
  }
  /* スマホ ここまで
  ================================ */