@charset "UTF-8";
/* common.css */

/* body */
body {
  color: #000;
  font-family: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #000;
  text-decoration: none;
}
.Alegreya {
  /* font-family: 'Alegreya Sans', sans-serif; */
  font-family: 'Noto Sans JP', sans-serif;
  /* font-weight: 500; */
}
.Alegreya-i {
  font-family: 'Noto Sans JP', sans-serif;
  /* font-weight: 500; */
  /* font-style: italic; */
}
.Alegreya-b {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
}
h2 > * {
  display: block;
}
.object-fit {
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
}
#wrapper {
  overflow: hidden;
}
.inner-contents {
  margin: 0 auto;
  width: 92vw;
}
@media (max-width: 768px) {
  #wrapper { padding-top: 62px;}
  img {
    height: auto;
    max-width: 100%;
  }
  .pc { display: none;}
}
@media (min-width: 769px) {
  #wrapper {
    min-width: 1140px;
    padding-top: 72px;
  }
  .inner-contents {
    width: 1140px;
  }
  .sp { display: none;}
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 5;
}
.header-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  header { padding: 15px 4vw;}
  .header-contents {
    justify-content: flex-end;
  }
  .page .header-contents { justify-content: space-between;}
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 1px solid #000;
    display: none;
    padding-bottom: 20px;
    width: 100%;
  }
  nav span { display: none;}
  nav a {
    display: block;
    padding: 1em 4vw;
  }
  #nav-btn {
    position: relative;
    height: 32px;
    width: 32px;
  }
  #nav-btn span {
    position: absolute;
    top: 4px;
    left: 0;
    background: #000;
    border-radius: 1px;
    display: inline-block;
    height: 2px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.4s ease;
    width: 100%;
  }
  #nav-btn span:nth-of-type(2) { top: 15px}
  #nav-btn span:nth-of-type(3) { top: 26px}

  #nav-btn.act span:nth-of-type(1) {
    transform: translateY(11px) rotate(45deg);
  }
  #nav-btn.act span:nth-of-type(2) { opacity: 0;}
  #nav-btn.act span:nth-of-type(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

}
@media (min-width: 769px) {
  header {
    padding: 16px 0;
  }
  .header-contents {
    line-height: 40px;
    justify-content: center;
  }
  .page .header-contents { justify-content: space-between;}
  #nav-btn { display: none;}
}

/* footer */
address {
  font-size: 12px;
  font-style: normal;
  line-height: 40px;
  text-align: center;
}
@media (max-width: 768px) {
  footer {
    font-size: 14px;
  }
  footer a {
    color: #000;
  }
  .footer-contents {
    padding: 40px 4vw 0;
    text-align: center;
  }
  .footer-company {
    margin: 24px 0;
    text-align: left;
  }
  footer li + li {
    margin-top: 10px;
  }
}
@media (min-width: 769px) {
  footer {
    background: #000;
    color: #fff;
    padding-top: 40px;

    width: 100%;
  }
  footer a {
    color: #fff;
  }
  .footer-contents {
    display: flex;
    align-items: center;
    margin: 0 auto;
    /* height: 160px; */
    width: 1140px;
  }
  .p-mark {
    background: #fff;
    display: block;
    align-self: flex-start;
  }
  .footer-company {
    margin-left: 32px;
    margin-top: calc((1em - 1lh) / 2);
  }
  footer nav {
    margin-left: auto;
  }
  footer nav ul {
    display: flex;
    list-style: none;
  }
  footer nav ul li + li {
    margin-left: 1em;
  }
  footer nav a:hover {
    text-decoration: underline;
  }
  address {
    line-height: 80px;
  }
}
