:root {
  --main-font: "Noto Sans JP", sans-serif;
  --shippori-font: "Shippori Mincho", serif;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--main-font);
  color: #605550;
}
.l-page {
  background-image: url("../images/lp/bg.webp");
  background-attachment: fixed;
  padding-top: 130px;
  padding-bottom: 80px;
  padding: 130px 30px 80px;
}
@media screen and (max-width: 768px) {
  .l-page {
    padding: 0 0 125px;
    background-image: none;
    background-color: #ebf1f6;
  }
}
main {
  display: flex;
}
.l-main {
  position: relative;
  z-index: 2;
  width: 40%;
  max-width: 590px;
  margin: 0 auto;
  border-radius: 10px;
  background-color: #fff;
}

@media screen and (max-width: 960px) {
  .l-main {
    width: 80%;
    max-width: 590px;
  }
}

@media screen and (max-width: 768px) {
  .l-main {
    width: 100%;
    max-width: initial;
    padding-top: 0;
  }
}

.md-ui__left,
.md-ui__right {
  position: fixed;
  top: 130px;
  width: 15%;
}
@media screen and (max-width: 960px) {
  .md-ui {
    display: none !important;
  }
}
.md-ui__left {
  left: 13%;
  max-width: 260px;
  background-color: white;
  border-radius: 10px;
  padding: 0 10px 10px;
}
.md-ui__right {
  right: 13%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pagetop,
.qrcode {
  width: 125px;
}

.pagetop {
  width: 160px;
  margin-left: 0px;
}

.qrcode {
  text-align: center;
  font-size: 16px;
  color: #403735;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-sizing: content-box;
}

.qrcode__img {
  margin: 10px 0;
}

.qrcode__button {
  text-decoration: underline;
  cursor: pointer;
}

.md-ui__left .logos img {
  width: 100%;
  height: auto;
}

.md-ui__left .button {
  margin: 20px 0 0;
}

.sidebar__cta {
  margin-top: -15px;
  margin-left: -10px;
}

.bg-white {
  background-color: #ebf1f6;
  width: 100%;
  padding: 15px 0;
}

.follow {
  position: fixed;
  z-index: 10;
  bottom: -150px;
  left: 0;
  display: none;
}

@media screen and (max-width: 768px) {
  .follow {
    display: block;
  }
}
.follow-cta {
  cursor: pointer;
  margin: auto;
  display: flex;
  align-items: center;
  width: 80%;
}

.follow.visible {
  bottom: 0;
  align-items: center;
  display: none;
}

@media screen and (max-width: 768px) {
  .follow.visible {
    bottom: 0;
    align-items: center;
    display: flex;
  }
}

.follow.visible .follow-cta {
  animation: cta_animated 6s infinite;
}

.section01 img {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

@media screen and (max-width: 768px) {
  .section01 img {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
}

.l-section,
.l-content,
img {
  width: 100%;
}

.l-section + .l-section {
  margin-top: -5px;
}

.has- {
  position: relative;
}

.has-video {
  .video {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;

    video {
      width: 100%;
    }

    img {
      width: 80%;
      height: auto;
    }
  }
}

.inner-content {
  position: absolute;
  top: 0;
  left: 0;
}

.price-wrap {
  top: 270px;
  overflow-x: auto;
  width: 100%;

  .price {
    width: 100%;
    overflow-x: auto;

    img {
      width: 130%;
      max-inline-size: initial;
      max-block-size: initial;
    }
  }
}

.swipe {
  display: flex;
  justify-content: end;
  margin-right: 16px;

  .swipe-img {
    display: flex;
    position: absolute;
    top: 40px;
    gap: 15px;

    img {
      position: relative;
      animation: swipe 1s infinite alternate ease-in-out;
    }


    p {
      font-size: 12px;
      white-space: nowrap;
    }
  }
}
@keyframes swipe {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(20px);
  }
}

.cta {
  top: 43%;
  left: 47%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  width: 100%;
}

.section09 .cta {
  top: 68%;
}

.section11 .cta {
  top: 71%;
}

.cta:hover {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.cta-animation {
  -webkit-animation-name: cta_animated;
  animation-name: cta_animated;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  -webkit-animation-duration: 6s;
  animation-duration: 6s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.cta img {
  width: 76%;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .cta {
    top: 43%;
    /* width: 75%; */
    /* left: 35px; */
    animation: none;
  }
}

@media screen and (max-width: 768px) {
  .cta img {
    max-width: initial;
  }
}

.section12,
.section14 {
  padding: 0 25px;
}

.section12 {
  padding-bottom: 100px;
}

.section14 .l-content {
  padding-bottom: 40px;
}

.section14 .l-content {
  padding-top: 30px;
}

.l-content .title {
  padding-top: 60px;
  h2 {
    text-align: center;
  }

  img {
    width: 80px;
    margin: 0 auto;
  }

  .title__text {
    margin-top: 10px;
    font-family: var(--shippori-font);
    font-size: 20px;
  }
}

.qa-items {
  margin-top: 30px;
  border-top: 1px solid #d2d2d2;
  border-bottom: 1px solid #d2d2d2;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .qa-items {
    font-size: 14px;
  }
}

.qa-item + .qa-item {
  border-top: 1px solid #d2d2d2;
}

.accordion__content {
  padding: 0 40px 20px 10px;
}

.accordion__summary {
  cursor: pointer;
  width: 100%;
  position: relative;
  padding: 20px 40px 20px 10px;
  text-align: left;

  &::before,
  &::after {
    position: absolute;
    top: 50%;
    display: block;
    width: 12px;
    height: 1px;
    content: "";
    background-color: currentColor;
    right: 10px;
  }
  &::before {
    transform: translateY(-50%);
  }
  &::after {
    transition: transform 0.5s;
    transform: translateY(-50%) rotate(-90deg);
  }

  .accordion[open]:not([data-accordion-before-close]) &::after {
    transform: translateY(-50%);
  }
}

.l-box {
  .l-box__title {
    background-color: #c2a780;
    padding: 10px;
    color: white;
  }

  .l-box__text {
    padding-top: 15px;
    font-size: 14px;
  }
}

.l-box + .l-box {
  margin-top: 40px;
}

.l-box__content {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  align-items: flex-end;

  .l-box__button {
    width: 30%;
  }
}

.l-box__table {
  .l-box__table-item {
    padding: 14px 10px;
  }

  .l-box__table-item + .l-box__table-item {
    border-top: 1px solid #d2d2d2;
  }

  a {
    text-decoration: underline;
  }
}

.l-footer {
  padding: 10px 0;
  text-align: center;
  background-color: #1f1f1f;
  color: white;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

@media screen and (max-width: 768px) {
  .l-footer {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.footer-item {
  font-size: 14px;
}

.copyright {
  font-size: 10px;
  margin-top: 36px;
}

@keyframes cta_animated {
  0% {
    animation-timing-function: ease-in-out;
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  8.33% {
    animation-timing-function: ease-in-out;
    transform: translate(0, 0) scale(1.1) rotate(0deg);
    opacity: 0.8;
  }
  16.67% {
    animation-timing-function: ease-in-out;
    transform: translate(0, 0) scale(1.05) rotate(0deg);
    opacity: 0.9;
  }
  25% {
    animation-timing-function: ease-in-out;
    transform: translate(0, 0) scale(1.1) rotate(0deg);
    opacity: 1;
  }
  33.33% {
    animation-timing-function: linear;
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    animation-timing-function: linear;
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

.dialog-container {
  display: none;
}

.dialog-container,
.dialog-overlay {
  z-index: 5;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.dialog-overlay {
  background-color: #c4a87f;
  opacity: 0.6;
}

.dialog-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  width: 300px;
  height: 300px;
}

.dialog__close {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: -30px;
}
