/* common.css */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: "Helvetica Neue", Helvetica, Arial, "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
  font-size: 62.5%;
  background: #fff;
}
body {
  font-size: 1.4rem;
  line-height: normal;
}
img {
  width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
}
button {
  font-family: YuGothic, 'Yu Gothic', 'メイリオ', sans-serif;
}
.sp {
  display: inline-block;
}
.pc {
  display: none;
}
.tablet {
  display: none;
}
.nowrap {
  white-space: nowrap;
}
.blue {
  color: #0054FF;
}
aside {
  overflow: hidden;
  position: relative;
  z-index: 1;
}
footer {
  color: #fff;
  background-color: #000;
  overflow: hidden;
  padding-right: 20px;
  padding-left: 20px;
  position: relative;
  z-index: 1;
}
.site-footer {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 60px;
  padding-bottom: 30px;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.site-footer a:hover {
  opacity: .7;
}
.site-footer__logo {
  display: block;
  width: 273px;
  max-width: 100%;
}
.site-footer__logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.site-footer__logo path {
  fill: #fff;
}
.site-footer__navigation {
  margin-top: 66px;
}
.site-footer__group + .site-footer__group {
  margin-top: 36px;
}
.site-footer__group summary {
  position: relative;
  padding-right: 24px;
  list-style: none;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 22px;
  cursor: pointer;
}
.site-footer__group summary::-webkit-details-marker {
  display: none;
}
.site-footer__group summary::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  transition: transform .2s;
}
.site-footer__group:not([open]) summary::after {
  top: 3px;
  transform: rotate(135deg);
}
.site-footer__group ul {
  margin-top: 20px;
  list-style: none;
}
.site-footer__group li {
  font-size: 1.4rem;
  line-height: 20px;
}
.site-footer__group li + li {
  margin-top: 16px;
}
.site-footer__copyright {
  margin-top: 58px;
  padding-top: 31px;
  border-top: 1px solid #888;
  font-size: 1.4rem;
  line-height: 20px;
}
.footer--legacy {
  padding-right: 32px;
  padding-left: 32px;
}
.footer--legacy .footer {
  padding-top: 54px;
}
.footer--legacy .footer a {
  color: #fff;
  text-decoration: none;
}
.footer--legacy .footer_lump {
  list-style: none;
  margin-bottom: 24px;
}
.footer--legacy .footer_lump.third {
  margin-bottom: 40px;
}
.footer--legacy .footer_lump.share {
  margin-bottom: 54px;
}
.footer--legacy .footer_lump_list {
  height: 24px;
  font-size: 1.2rem;
  line-height: 24px;
}
.footer--legacy .footer_lump_share {
  margin-bottom: 8px;
}
.footer--legacy .footer_lump_share a {
  display: inline-block;
}
.footer--legacy .footer_lump_share img {
  width: 32px;
}
.footer--legacy address {
  padding-bottom: 54px;
  font-style: normal;
  font-size: 1.2rem;
}
/* desktop second */
@media screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
  .pc {
    display: inline-block;
  }
  
  /* btn-drawer */
  .btn-drawer,
  .btn-drawer-reverse { /* 矢印付き */
    position: relative;
  }
  .btn-drawer a {
    color: #ffffff !important;
    z-index: 1;
  }
  .btn-drawer::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 4px;
    background-color: #fff;
    z-index: 0;
    transition: .2s;
  }
  .btn-drawer:hover::after,
  .btn-drawer-reverse:hover::after {
      width: 100%;
  }
  .btn-drawer:hover a {
    color: #F4980D !important;
  }
  .btn-drawer a:hover::before {
    background-image: url("../../assets/img/icon-arrow-orange-right-pin.svg");
  }

  /* reverse */
  .btn-drawer-reverse a {
    color: #F4980D !important;
    z-index: 1;
  }
  .btn-drawer-reverse::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 4px;
    background-color: #F4980D;
    z-index: 0;
    transition: .2s;
  }
  .btn-drawer:hover::after {
    width: 100%;
  }
  .btn-drawer-reverse:hover a {
    color: #ffffff !important;
  }
  .btn-drawer-reverse a:hover::before {
    background-image: url("../../assets/img/icon-arrow-white-right-pin.svg");
  }

  footer {
    padding-right: 32px;
    padding-left: 32px;
  }
  .site-footer {
    padding-bottom: 74px;
  }
  .site-footer__navigation {
    display: grid;
    grid-template-columns: 184px 188px 261px 249px;
    justify-content: space-between;
    margin-top: 57px;
  }
  .site-footer__group + .site-footer__group {
    margin-top: 0;
  }
  .site-footer__group summary {
    padding-right: 0;
    cursor: default;
    pointer-events: none;
  }
  .site-footer__group summary::after {
    display: none;
  }
  .site-footer__group ul {
    display: block;
    margin-top: 16px;
  }
  .site-footer__copyright {
    margin-top: 32px;
    padding-top: 32px;
  }
  .footer--legacy .footer {
    display: flex;
    width: 976px;
    padding-top: 64px;
    margin-right: auto;
    margin-left: auto;
  }
  .footer--legacy .footer_lump {
    margin-right: 48px;
  }
  .footer--legacy .footer_lump.share {
    margin-right: 0;
    margin-left: auto;
  }
  .footer--legacy address {
    width: 976px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 128px;
  }
}
