body {
  color: #333;
  font-family: "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  max-width: 1500px;
  width: 100%;
}

h2 {
  display: block;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  margin: 80px 0 12px;
  text-align: center;
}

h2:first-letter {
  color: #00A9E0;
  font-size: 35px;
}

.subtitle {
  font-size: 14px;
  padding-left: 8px;
  -webkit-text-stroke: 2px #FFF;
  text-stroke: 2px #FFF;
  paint-order: stroke;
}

p {
  font-size: 16px;
  letter-spacing: .2em;
  line-height: 1.5em;
  padding: .5em 0;
}

footer {
  background: #FFF;
}

footer ul {
  margin: 30px;
}

footer img {
  display: block;
  margin: auto;
  width: 150px;
}

.header-inner {
  background-color: #FFF;
  display: flex;
  height: 50px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.header-inner img {
  margin: 18px;
  width: 100px;
}

.c-nav-btn {
  height: 44px;
  width: 44px;
  position: absolute;
    right: 18px;
    top: 3px;
  background: none;
  border: none;
  transform-origin: center;
  transition: transform .3s;
  z-index: 99;
  &::after,
  &::before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    left: calc(50% - 2px);
    width: 5px;
    border-radius: 5px;
    height: 5px;
    display: block;
    background: #333;
    transform-origin: center;
  }
  &::before {
    transform: translateX(-10px);
    box-shadow: 10px 0 0 #333;
    transition: 0.3s;
  }
  &::after {
    transform: translateX(9px);
  }
  
  &.is-active {
    transform: rotate(360deg);

    &::before {
      box-shadow: none;
      transform: rotate(45deg) translate(-6px, 6px);
      width: 20px;
    }
    &::after {
      transform: rotate(-45deg) translate(-6px, -6px);
      width: 20px;
    }
  }
}

.header-img {
  background: no-repeat center/cover url(../img/top/top_sp.webp);
  height: 100vh;
  z-index: -1;
}

.header-p1, .header-p2 {
  font-family: "Tilt Warp";
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1em;
  position: absolute;
    top: 10%;
    left: 5%;
  -webkit-text-stroke: 2px #FFF;
  text-stroke: 2px #FFF;
  paint-order: stroke;
}

.header-p2 {
  font-size: 16px;
  top: 18%;
}

.header-p3 {
  -webkit-text-stroke: 2px #FFF;
  text-stroke: 2px #FFF;
  paint-order: stroke;
}

.catchphrase {
  font-family: "Zen Old Mincho";
  font-size: 20px;
  font-weight: 900;
  position: absolute;
    top: 90%;
    left: 50%;
  text-align: center;
  width: 100%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -ms-transform: translate(-50%);
}

.header-funuke {
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
  width: 150px;
}

.bg {
  background: no-repeat center/cover url(../img/top/bg_sp.webp);
  z-index: -1;
}

.scroll-position {
  position  : relative;
  padding-top: 500px;
}

.scroll {
  position  : absolute;
  font-size : 13px;
  writing-mode : vertical-rl;
  top : 30%;
  left : 90%;
  transform: translateX(-50%) translateY(-50%);
}

.scroll::after {
  content : '';
  display : inline-block;
  position : absolute;
  background-color: #333;
  right : 50%;
  bottom : -300px;
  transform : translateX(-50%);
  width : 1px;
  height : 300px;
  animation: scroll 3s infinite;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.border-line {
  border-bottom: 1px solid#999;
  margin: 0 auto;
  padding: 0 0 80px;
  width: 70%;
}

.container {
  width: 80%;
  margin: 0 auto;
  padding: 180px 0 0;
}

.content {
  padding: 120px 0 0;
}

.wrap {
  margin-bottom: 120px;
}

.wrap p {
  -webkit-text-stroke: 2px #FFF;
  text-stroke: 2px #FFF;
  paint-order: stroke;
  padding: 1.25em;
}

.box {
  border-radius: 5px;
  background-color: rgba(255, 255, 255, .9);
  box-shadow: 22px 25px 20px -20px rgba(0, 0, 0, .1);
}

.copyright {
  font-size: 12px;
  letter-spacing: 0;
  padding-bottom: 15px;
  text-align: center;
}

.inquiry-button {
  padding-top: 150px;
}

.inquiry {
  background: #00A9E0;
  border: 1px solid #999;
  border-radius: 5px;
  color: #FFF;
  display: block;
  margin: 0 auto;
  padding: .8em 1em;
  box-shadow: 8px 8px 8px -4px rgba(0, 0, 0, .1);
}

.inquiry:hover {
  opacity: 0.7;
}

/* トップボタン */
#page-top a {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: rgb(255 255 255 / 30%);
  border: solid 1px #333;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #333;
  border-right: 3px solid #333;
  transform: translateY(20%) rotate(-45deg);
}

/* ナビメニュー */
.toggle-btn__line {
  background: #333;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 0.5s;
  width: 100%;
}

.toggle-btn__line--top {
  top: 3px;
}

.toggle-btn__line--center {
  top: 15px;
}

.toggle-btn__line--bottom {
  top: 27px;
}

.toggle-btn__line--top.active {
  top: 15px;
  transform: rotate(45deg);
}
.toggle-btn__line--center.active {
  transform: scaleX(0);
}
.toggle-btn__line--bottom.active {
  top: 15px;
  transform: rotate(135deg);
}

.global-nav {
  display: none;
  position: fixed;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.global-nav__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.global-nav__item {
  margin-bottom: 30px;
}

.global-nav__item a {
  color: #00A9E0;
  font-size: 20px;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
  transition: 0.5s;
  -webkit-text-stroke: 2px #FFF;
  text-stroke: 2px #FFF;
  paint-order: stroke;
}

.global-nav__item a:hover {
  opacity: 0.7;
}


@media screen and (min-width:560px){
  .header-img {
    background: center/cover url(../img/top/top_pc.webp);
  }
  .header-p1 {
    top: 80%;
  }
  .header-p2 {
    top: 90%;
  }
  .bg {
    background: #FCFAF6;
  }
  .catchphrase {
  padding-right: 5%;
  text-align: right;
  top: 15%;
  }
  .header-funuke {
  top:50%;
  }
}