* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

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

button {
  font: inherit;
}

a {
  text-decoration: none;
}

.page {
  width: 100%;
  max-width: 750px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff3f5;
  overflow: hidden;
  padding-bottom: 120px;
}

.margin {
  margin-bottom: 50px;
}

@media screen and (max-width: 750px) {
  .margin {
    margin-bottom: 20px;
  }
}

/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;

  width: 100vw;
  height: 12vh;

  background-color: #ffe4e6;
  border-bottom: 1px solid #f599a0;
}

@media screen and (max-width: 750px) {
  .header {
    height: 10vh;
  }
}

.header-inner {
  width: 95%;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 132px;
  flex-shrink: 0;
}

.header-logo img {
  width: 100%;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-second {
  color: #707070;
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}

@media screen and (max-width: 750px) {
  .header-second {
    font-size: 19px;
  }
}

.header-menu {
  position: relative;
  width: 38px;
  height: 38px;

  border: none;
  border-radius: 50%;
  background-color: #f599a0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;

  padding: 0;
  cursor: pointer;
  z-index: 10001;
}

.header-menu span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

.header-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.header-menu.active span:nth-child(2) {
  opacity: 0;
}

.header-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* menu */

#menu {
  position: fixed;
  top: 130px;
  right: -100%;

  width: 100%;
  max-width: 375px;
  height: calc(100vh - 58px);

  background: #f599a0;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 80px 38px 40px;
  gap: 38px;

  transition: right 0.3s ease;
}

#menu.active {
  right: 0;
}

#menu h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 42px;
}

#menu a {
  width: 100%;
  align-items: center;
  gap: 24px;
  color: #fff;
}

#menu a div {
  width: 48px;
  height: 48px;
  background-image: url("../images/menuIcon.png");
  background-repeat: no-repeat;
  background-size: 48px auto;
}

@media screen and (max-width: 750px) {
  #menu {
    top: 58px;
  }

  #menu a div {
    width: 0px;
    height: 0px;
  }
}

#menu a:nth-of-type(1) div {
  background-position: 0 0;
}

#menu a:nth-of-type(2) div {
  background-position: 0 -48px;
}

#menu a:nth-of-type(3) div {
  background-position: 0 -96px;
}

#menu a:nth-of-type(4) div {
  background-position: 0 -144px;
}

#menu a:nth-of-type(5) div {
  background-position: 0 -192px;
}

#menu li {
  list-style: none;
}

#menu p {
  color: #fff;
  font-size: 25px;
  line-height: 1.7;
  text-align: center;

  border-bottom: 1px solid #fff;
  padding-bottom: 8px;
  margin: 0;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);

  opacity: 0;
  visibility: hidden;

  z-index: 9998;
  transition: 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* main */

.main {
  padding: 200px 18px 0;
}

.section {
  margin-bottom: 54px;
  scroll-margin-top: 80px;
}

.dummy-section {
  display: none;
}

.section-title {
  width: 520px;
  max-width: 100%;
  margin: 0 auto 24px;
}

.large-title {
  width: 620px;
  max-width: 100%;
  margin: 0 auto 22px;
}

@media screen and (max-width: 750px) {
  .main {
    padding: 100px 18px 0;
  }
}

/* accordion */
.pinktext {
  color: #f599a0 !important;
  font-size: 16px;
  font-weight: bold;
}

.cta-btn img {
  display: block;
  width: 60% !important;
  margin: 0 auto;
}

@media screen and (max-width: 750px) {
  .cta-btn img {
    display: block;
    width: 100% !important;
    margin: 0 auto;
  }
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: none;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;
}

.accordion-btn img {
  width: auto;
  max-width: 180px;
  height: 30px;
  object-fit: contain;
}

.accordion-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: #666;
  border-radius: 999px;
}

.accordion-icon::before {
  width: 18px;
  height: 2px;
  top: 8px;
  left: 0;
}

.accordion-icon::after {
  width: 2px;
  height: 18px;
  top: 0;
  left: 8px;
  transition: opacity 0.2s;
}

.accordion-content {
  display: none;
  padding: 18px 22px 34px;
  background: #fff;
}

.accordion-content img {
  width: 100%;
  height: auto;
}

.accordion-content .download {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
}

.accordion-content .download .logo {
  max-width: 120px;
  width: 25%;
  height: auto;
}

.accordion-content .download .download-icon {
  max-width: 170px;
  width: 100%;
  height: fit-content;
}

.accordion-item.is-open .accordion-content {
  display: block;
}

.accordion-item.is-open .accordion-icon::after {
  opacity: 0;
}

.accordion-content p {
  margin: 15px auto;
  text-align: center;
  color: #475569;
  font-size: 16px;
}

.point {
  margin: 10px auto;
}

/* system */

.system-title {
  width: 560px;
  max-width: 100%;
  margin: 0 auto 20px;
}

/* ======================
  CAROUSEL
====================== */

.carousel {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.carousel-window {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.3s ease;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.carousel-slide {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.carousel-slide .minutes-absolute {
  position: absolute;
  text-align: center;
  line-height: 1;
  font-weight: 200;
  font-family: system-ui, sans-serif;
  color: #475569;
  font-size: 30px;
  bottom: 27.6%;
  right: 42.4%;
  width: 40px;
}

@media screen and (max-width: 750px) {
  .carousel-slide .minutes-absolute {
    font-weight: 300;
    font-size: 3.8vw;
    bottom: 27.3%;
    right: 42.5%;
    width: 4.4vw;
    max-width: 40px;
  }
}

/* 矢印 */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  padding: 0;
  border: none;
  background: transparent;

  z-index: 2;
  cursor: pointer;
}

.carousel-prev {
  left: -34px;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-right: 24px solid #f599a0;
}

.carousel-next {
  right: -34px;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 24px solid #f599a0;
}

.carousel-window {
  cursor: grab;
}

.carousel-window:active {
  cursor: grabbing;
}

@media screen and (max-width: 750px) {
  .carousel {
    width: 100%;
    max-width: 100%;
    padding: 0 34px;
  }

  .carousel-window {
    width: 100%;
  }

  .carousel-prev {
    left: 4px;
    border-top-width: 22px;
    border-bottom-width: 22px;
    border-right-width: 22px;
  }

  .carousel-next {
    right: 4px;
    border-top-width: 22px;
    border-bottom-width: 22px;
    border-left-width: 22px;
  }
}


@media screen and (max-width: 750px) {
  .page {
    max-width: none;
  }

  #menu {
    max-width: 100%;
    padding: 76px 38px 40px;
  }

  #menu p {
    font-size: 16px;
  }

  .section {
    margin-bottom: 48px;
  }
}

footer img {
  margin: 0 auto;
}