@charset "UTF-8";
#Sp_header {
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  z-index: 100; }
  @media (min-width: 1024px) {
    #Sp_header {
      display: none; } }
  #Sp_header .Sp_header-in {
    position: absolute;
    left: 2.5%;
    top: 15px;
    bottom: 0; }
    #Sp_header .Sp_header-in a {
      display: flex; }
      #Sp_header .Sp_header-in a img {
        width: 220px;
        height: auto; }
        @media (min-width: 768px) {
          #Sp_header .Sp_header-in a img {
            width: 240px; } }
      #Sp_header .Sp_header-in a h3 {
        font-size: 0.8em;
        color: #fff;
        margin: 8px 0 0 6px; }
        @media (min-width: 768px) {
          #Sp_header .Sp_header-in a h3 {
            font-size: 1.0em;
            margin: 10px 0 0 10px; } }

#Sp_Menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  z-index: 300; }
  @media (min-width: 1024px) {
    #Sp_Menu {
      display: none; } }
  #Sp_Menu li {
    margin-top: 5px;
    border-right: 1px solid #00274E; }
    #Sp_Menu li:last-child {
      border-right: none; }

/*ハンバーガーメニュー*/
.openbtn {
  position: relative;
  z-index: 300; }
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    height: 2px;
    border-radius: 5px;
    background-color: #fff;
    width: 30px; }
    .openbtn span:nth-of-type(1) {
      top: 7px; }
    .openbtn span:nth-of-type(2) {
      top: 16px; }
    .openbtn span:nth-of-type(3) {
      top: 25px; }
    .openbtn span:nth-of-type(3)::after {
      content: "Menu";
      position: absolute;
      top: 3px;
      left: -1px;
      right: 0;
      color: #fff;
      font-size: 0.7em;
      text-transform: uppercase;
      font-weight: 500; }

/*activeが付与されると .openbtn-areaが360度回転し、その中の線が回転して×に*/
.openbtn.active span {
  background-color: #fff; }
  .openbtn.active span:nth-of-type(1) {
    top: 12px;
    left: 0;
    right: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 30px; }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0; }
  .openbtn.active span:nth-of-type(3) {
    top: 24px;
    left: 0;
    right: 0;
    transform: translateY(-6px) rotate(45deg);
    width: 30px; }
  .openbtn.active span:nth-of-type(3)::after {
    content: "Close";
    transform: translateY(0) rotate(-45deg);
    top: 12.5px;
    left: 16px;
    right: 0;
    color: #fff; }

/*メニュー押した後のアニメーション*/
.overlay {
  position: fixed;
  background-color: #00274E;
  right: 0;
  top: 0;
  width: 0;
  height: 100vh;
  transition: all .3s ease-in-out;
  overflow: hidden;
  z-index: 110; }
  .overlay.open {
    opacity: 1.0;
    visibility: visible;
    width: 100%;
    overflow: scroll; }
  .overlay .Menu {
    position: relative;
    height: 100vh; }
    .overlay .Menu .MenuIn {
      padding: 60px 5%; }
      @media (min-width: 1024px) {
        .overlay .Menu .MenuIn {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          padding: 0;
          max-width: 800px;
          margin: auto;
          display: flex;
          height: 400px; } }
      .overlay .Menu .MenuIn .Logo {
        opacity: 0;
        width: 270px;
        margin-bottom: 40px;
        padding-left: 5%; }
      .overlay .Menu .MenuIn nav {
        position: relative; }
        .overlay .Menu .MenuIn nav ul {
          margin-bottom: 40px;
          padding-left: 5%; }
          .overlay .Menu .MenuIn nav ul li {
            margin-bottom: 32px;
            opacity: 0; }
            @media (min-width: 768px) {
              .overlay .Menu .MenuIn nav ul li {
                margin-bottom: 38px; } }
            .overlay .Menu .MenuIn nav ul li a {
              display: block;
              position: relative;
              color: #fff;
              text-decoration: none;
              font-size: 1.2em;
              letter-spacing: 0.03em;
              transition: .5s;
              display: flex; }
              .overlay .Menu .MenuIn nav ul li a h3 {
                font-family: "Roboto", sans-serif;
                font-style: normal;
                font-size: 1.5em;
                line-height: 1.2em; }
              .overlay .Menu .MenuIn nav ul li a h4 {
                font-size: 0.8em;
                font-weight: 300;
                line-height: 1.2em;
                margin: 11px 0 0 10px; }
              .overlay .Menu .MenuIn nav ul li a h5 {
                font-size: 0.8em;
                font-weight: 300;
                line-height: 1.2em;
                margin: 11px 0 0 0; }
                .overlay .Menu .MenuIn nav ul li a h5 img {
                  width: 10px;
                  margin-left: 5px; }
              .overlay .Menu .MenuIn nav ul li a:hover {
                color: #fff; }
              .overlay .Menu .MenuIn nav ul li a .wa {
                font-size: 0.5em;
                color: #fff;
                margin-left: 20px;
                vertical-align: top; }
      .overlay .Menu .MenuIn .entry-btn {
        display: flex;
        justify-content: center;
        opacity: 0; }
        .overlay .Menu .MenuIn .entry-btn a {
          width: 90%;
          height: 60px;
          display: flex;
          justify-content: center;
          align-items: center; }

.overlay.open .Logo {
  animation: LogofadeIn 0.5s ease forwards;
  animation-delay: .5s; }

@keyframes LogofadeIn {
  0% {
    opacity: 0;
    transform: translateY(0px); }
  100% {
    opacity: 1;
    transform: translateY(0); } }
.overlay.open .entry-btn {
  animation: btnfadeIn 0.5s ease forwards;
  animation-delay: .60s; }

@keyframes btnfadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px); }
  100% {
    opacity: 1;
    transform: translateY(0); } }
.overlay.open li {
  animation: fadeInRight1 0.5s ease forwards;
  animation-delay: .35s; }
  .overlay.open li:nth-of-type(2) {
    animation-delay: .4s; }
  .overlay.open li:nth-of-type(3) {
    animation-delay: .45s; }
  .overlay.open li:nth-of-type(4) {
    animation-delay: .50s; }
  .overlay.open li:nth-of-type(5) {
    animation-delay: .55s; }
  .overlay.open li:nth-of-type(6) {
    animation-delay: .60s; }
  .overlay.open li:nth-of-type(7) {
    animation-delay: .65s; }
  .overlay.open li:nth-of-type(8) {
    animation-delay: .70s; }
  .overlay.open li:nth-of-type(9) {
    animation-delay: .75s; }
  .overlay.open li:nth-of-type(10) {
    animation-delay: .80s; }

@keyframes fadeInRight1 {
  0% {
    opacity: 0;
    transform: translateX(20px); }
  100% {
    opacity: 1;
    transform: translateX(0); } }
