body {
  width: 100%;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

img {
  max-width: 100%;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .sp_only {
    display: none;
  }
}

.pc_only {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc_only {
    display: block;
  }
}

.none {
  display: none !important;
}

.contents {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  background: #f5f5f5;
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 50px;
}

@media screen and (min-width: 768px) {
  .header {
    height: 80px;
  }
}

.header__inner {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 10px;
  max-width: 750px;
  width: 100%;
  margin-inline: auto;
  height: inherit;
}

.header__logo {
  display: flex;
  align-items: center;
  width: 50%;
  padding: 12px 10px;
  height: inherit;
}

.header__logo img {
  display: block;
  width: auto;
  height: 100%;
}

.header__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin: 10px;
  transition: opacity 0.3s;
  width: 50%;
}

.header__link:hover {
  opacity: 0.7;
}

/* main */
.main {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .main {
    margin-top: 80px;
  }
}

.btn {
  display: block;
  animation: animation-btn 1.6s ease-in infinite;
}

@keyframes animation-btn {
  0% {
    transform: scale(1.09);
  }

  40% {
    transform: scale(1);
  }

  60% {
    transform: scale(1);
  }

  70%,
  100% {
    transform: scale(1.09);
  }
}

.bg-white {
  background: #fff;
}

.p-tb {
  padding: 6rem 0;
}

.space {
  height: 6rem;
}

/* SP時のspaceクラスを幅に合わせて可変にする */
@media screen and (max-width: 767px) {
  .space {
    height: 4rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* より小さい画面での調整 */
@media screen and (max-width: 480px) {
  .space {
    height: 3rem;
  }
}

/* 非常に小さい画面での調整 */
@media screen and (max-width: 320px) {
  .space {
    height: 2rem;
  }
}

/* cta */
.cta {
  position: relative;
}

.cta__btn {
  position: absolute;
  bottom: 8%;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
}

.cta__btn:hover {
  opacity: 0.7;
}

/* video */
.video {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 0;
}

.video iframe {
  /* アスペクト比を16:9に設定 */
  aspect-ratio: 16 / 9;
  width: 100%;
  display: block;
  margin: 0 auto;
  margin-top: 20px;
}


/* footer */
.footer {
  background: #f2972c;
  padding: 1em 0;
  margin-top: 10%;
}

.footer__copy {
  color: #fff;
  font-size: 14px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer__copy {
    font-size: 14px;
  }
}


/* btn設置 */
.btn-image {
  background-color: #fff;
}

.btn-image__inner {
  width: 1000px;
  max-width: calc(335 / 375 * 100%);
  margin: auto;
}

.btn-image__imgWrap {

  overflow: hidden;
  position: relative;
}

.btn-image__imgWrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 1) 100%);
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.btn-image__imgWrap.isOpen .btn-image__img {
  max-height: 100%;
}

.btn-image__imgWrap.isOpen::after {
  opacity: 0;
}

.btn-image__img {
  width: 100%;
  display: block;
  max-height: 200px;
  transition: max-height 0.5s ease-in-out;
  object-fit: cover;
  object-position: top;
}

.btn-image__btnWrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-image__btn {
  width: 80%;
  cursor: pointer;
}

.image {
  padding-bottom: 10rem;
}

@media screen and (max-width: 768px) {
  .image {
    padding-bottom: 6rem;
  }
}