* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

.header__inner {
  display: none;
}

.header {
  height: 50px;
  background-color: white;
  padding: 10px 40px 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
}

.logo img {
  width: 110px;
  height: 45px;
}

.logo a {
  text-decoration: none;
  align-items: center;
  display: flex;
}

.social a {
  margin: 0;
  text-decoration: none;
  color: black;
  position: relative;
  padding: 15px 15px;
}

.social a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #000000;
  bottom: -1px;
  /*アンダーラインが位置する、各リストの下端からの高さ　ヘッダーの下端に合わせています*/
  visibility: hidden;
  /*ホバー前に、アンダーラインを可視化しない*/
}

.social a:hover::after {
  visibility: visible;
  /*ホバー後、アンダーラインを可視化する*/
}

.footer {
  background-color: #8b8b8b;
  display: flex;
  justify-content: space-between;
  padding: 70px 100px 50px 90px;
  color: white;
}

.footer .logo img {
  width: 170px;
  height: 70px;
}


.footerRight a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  position: relative;
}

.footerCopy {
  margin-top: 50px;
  text-align: right;
  font-size: 13px;
}

.footerRight a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #ffffff;
  bottom: -1px;
  /*アンダーラインが位置する、各リストの下端からの高さ　ヘッダーの下端に合わせています*/
  visibility: hidden;
  /*ホバー前に、アンダーラインを可視化しない*/
}

.footerRight a:hover::after {
  visibility: visible;
  /*ホバー後、アンダーラインを可視化する*/
}


@media screen and (max-width: 600px) {
  body {
    font-family: sans-serif;
  }

  .social {
    display: none;
  }

  .header {
    padding: 10px;
    justify-content: space-between;
  }

  .logo a {
    width: 200px;
  }

  .header__inner {
    display: flex;
  }

  .hamburger {
    display: block;
    height: 60px;
    margin-left: auto;
    position: relative;
    z-index: 10;
    width: 60px;
    border: none;
    background-color: transparent;
  }

  .hamburger.-active .hamburger__line {
    background-color: transparent;
  }

  .hamburger.-active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
  }

  .hamburger.-active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hamburger.-active .hamburger__text::before {
    content: '閉じる';
  }

  .hamburger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: #172e59;
    transition: 0.4s;
  }

  .hamburger__line:before,
  .hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #172e59;
    transition: inherit;
  }

  .hamburger__line:before {
    top: -6px;
  }

  .hamburger__line:after {
    top: 6px;
  }

  .hamburger__text {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .hamburger__text::before {
    content: "メニュー";
    text-align: center;
    color: #172e59;
    font-size: 10px;
    font-weight: 900;
  }

  .header__nav-area {
    position: fixed;
    top: 60px;
    left: -100%;
    z-index: 9;
    height: 100vh;
    width: 100vh;
    visibility: hidden;
    padding-top: 60px;
    background-color: #fff;
    transition: 0.4s;
  }

  .header__nav-area.-active {
    left: 0;
    visibility: visible;
  }

  .global-navigation {
    /* padding-top: 40px; */
    padding-right: 25px;
    padding-bottom: 120px;
    padding-left: 35px;
  }

  .global-navigation__list>li {
    padding-bottom: 20px;
    border-bottom: 2px solid #e7e9ee;
    list-style: none;
  }

  .global-navigation__list>li+li {
    margin-top: 20px;
  }

  .global-navigation__list a {
    color: black;
  }

  .global-navigation__list span {
    margin-left: 10px;
    font-size: 12px;
    color: rgb(179, 179, 179);
  }

  .global-navigation__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #172e59;
    font-weight: 900;
    transition: color 0.4s;
    font-size: 0.875rem;
  }

  .global-navigation__link.-accordion {
    position: relative;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
  }

  .global-navigation__link.-accordion::after {
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    background-color: #ed3242;
    transform: translateY(-50%);
    transition: transform 0.4s;
  }

  .global-navigation__link.-accordion::before {
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    background-color: #ed3242;
    transform: translateY(-50%);

  }

  .global-navigation__link.-active::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  .accordion {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
  }

  .accordion.-active {
    height: auto;
    padding-top: 30px;
    visibility: visible;
  }

  .accordion__list li {
    font-size: 0.75rem;
  }

  .accordion__list li+li {
    margin-top: 21px;
  }

  .accordion__link {
    color: #172e59;
  }

  footer .contents {
    padding: 100px 10px 50px;
  }

  .footer {
    padding: 0;
    display: block;
  }

  .footerLeft {
    margin: auto;
    display: flex;
    justify-content: center;
  }

  .footerRight {
    margin: 60px auto 0;
    display: block;
    justify-content: center;
  }

  .footerRight a {
    margin: 15px auto;
    text-decoration: none;
    color: white;
  }

  .footerRight nav {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .footerCopy {
    margin-top: 110px;
    text-align: center;
    font-size: 13px;
  }
}