@charset "utf-8";
html {
  overflow-x: hidden;
}

body {
  /* タップ時強調色なくすため */
  -webkit-tap-highlight-color: transparent;
  font-family: 'Noto Sans JP',sans-serif;
}

/* ----------------------
          共通
---------------------- */
.sp {
  display: none;
}

.pc {
  display: block;
}

.inner {
  width: 100%;
  max-width: calc(1100px + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

.main {
  background-color: #f9f3ed;
  padding-bottom: 150px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-50 {
  margin-top: 45px;
}


@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .inner {
    padding: 0 20px;
  }

  .main {
    padding-bottom: 100px;
  }
}

/* ----------------------
        ヘッダー
---------------------- */
.hamburger,
.header__nav-sp {
  display: none;
}

.header {
  width: 100%;
  height: 70px;
  display: flex;
  position: fixed;
  z-index: 1000;
  transition: transform 0.5s;
}

.header__inner,
.footer__contents {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header.js_hide {
  transform: translateY(-100%);
}

.logo {
  width: 200px;
}

.nav__items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 65px;
  margin: 0 auto;
}

.nav__link {
  font-weight: bold;
  position: relative;
}

.nav__link--header::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background-color: #286699;
  border-radius: 3px;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

.nav__link--header:hover::after {
  transform: scale(1, 1.5);
}

@media screen and (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .hamburger {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid #e95816;
    border-radius: 50px;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 9999;
    transition: 0.5s;
    cursor: pointer;
  }

  .hamburger span,
  .hamburger span::before,
  .hamburger span::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    background-color: #e95816;
    transition: 0.5s;
  }

  .hamburger span {
    top: 17px;
    left: 8px;
  }

  .hamburger span::before {
    top: -8px;
  }
  .hamburger span::after {
    bottom: -8px;
  }

  .open span {
    background-color: transparent;
  }

  .open span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .open span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

  .header__nav-sp {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #f9f3ed;
    opacity: 90%;
    z-index: 9998;
  }

  .header__nav-items-sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 55px;
  }

  .header__nav-link-sp {
    font-size: 26px;
  }

  .logo {
    width: 160px;
  }
}

/* ----------------------
        フッター
---------------------- */
.footer {
  background-color: #ede2da;
  padding: 30px 0;
}

.copyright {
  font-size: 12px;
  text-align: center;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .footer__contents,
  .footer__nav-items {
    flex-direction: column;
  }

  .footer__nav-items {
    gap: 30px;
    margin-top: 30px;
  }
}


/* ----------------------
        見出し
---------------------- */
.heading {
  font-family: 'antique-olive';
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.heading-ja {
  color: #e95816;
  font-size: 16px;
  padding-left: 30px;
}

.sub-heading {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .heading {
    font-size: 30px;
  }

  .heading-ja {
    font-size: 14px;
    padding-left: 15px;
  }
}

/* ----------------------
        テキスト
---------------------- */
.text {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

@media screen and (max-width: 768px) {
  .text {
    font-size: 14px;
  }
}

/* ----------------------
          ボタン
---------------------- */
.btn {
  letter-spacing: 0.05em;
}

/* トップにもどるボタン */
.top-btn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 50px;
}

.top-btn__img {
  width: 80px;
  margin-bottom: 8px;
}

.top-link {
  display: block;
  font-weight: bold;
  text-align: center;
  margin-top: 8px;
}

.top-btn__img:hover {
  animation:bounce 0.8s ease-out;
}

.note {
  font-size: 12px;
  margin-left: 10px;
}

@keyframes bounce {
  0%    { transform:translate(0, 0); }
  16.6% { transform:translate(0, -20px); animation-timing-function:ease-in; }
  33.3% { transform:translate(0, 0); }
  49.8% { transform:translate(0, -14px); animation-timing-function:ease-in; }
  66.4% { transform:translate(0, 0); }
  83%   { transform:translate(0, -4px); animation-timing-function:ease-in; }
  100%  { transform:translate(0, 0); }
}

@media screen and (max-width: 768px) {
  .top-btn {
    font-size: 12px;
    right: 15px;
  }
  
  .top-btn__img {
    width: 60px;
  }

  .note {
    display: block;
  }
}

/* ----------------------
          WORKS
---------------------- */
.works__link {
  display: block;
  max-width: 575px;
  border-radius: 30px;
}

.works__title {
  margin-top: 30px;
  padding-left: 30px;
}

.works__type {
  display: block;
  font-size: 14px;
  margin-bottom: 15px;
}

.works__link:hover {
  filter: brightness(0.95);
}

@media screen and (max-width: 768px) {
  .works__title  {
    font-size: 16px;
    margin-top: 20px;
    padding-left: 15px;
  }

  .works__type {
    font-size: 12px;
    margin-bottom: 10px;
  }
}
