@charset "UTF-8";

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 3.4rem;
  font-weight: 400;
  color: #000;
}

main {
  max-width: 75rem;
  width: 100%;
  margin: 0 auto;
}

p {
  font-size: 3.5rem;
  line-height: 2;
}

.hidden {
  overflow: hidden;
}

.sp {
  display: none;
}

.tb {
  display: none;
}

.pc {
  display: block;
}

.shadow {
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 16%);
}

@media (min-width: 1080px) {
  .hover {
    transition: all 0.3s;
  }

  .hover:hover {
    opacity: 0.7;
    transition: all 0.3s;
  }
}

img {
  width: 100%;
  height: auto;
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  border-radius: 0;
}

/* ----- header ----- */

.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 75rem;
  width: 100%;
  z-index: 9;
}

/* ----- g-nav ----- */

.g-nav {
  position: fixed;
  top: 10.8rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 75rem;
  width: 100%;
  background-color: #fff;
  z-index: 99;
  height: 0;
  opacity: 0;
  visibility: hidden;
}

.g-nav.is-open {
  height: 100%;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s;
}

.g-nav-link {
  position: absolute;
  width: 16rem;
  height: 16.2rem;
}

.g-nav-link--01 {
  top: 6rem;
  left: 13rem;
  /* background-color: red; */
}

.g-nav-link--02 {
  top: 6rem;
  left: 29.3rem;
  /* background-color: beige; */
}

.g-nav-link--03 {
  top: 6rem;
  left: 45.7rem;
  /* background-color: blue; */
}

.g-nav-link--04 {
  top: 22.3rem;
  left: 5rem;
  /* background-color: blue; */
}

.g-nav-link--05 {
  top: 22.3rem;
  left: 21.2rem;
  /* background-color: yellow; */
}

.g-nav-link--06 {
  top: 22.3rem;
  left: 37.6rem;
  /* background-color: red; */
}

.g-nav-link--07 {
  top: 22.3rem;
  left: 53.9rem;
  /* background-color: blue; */
}

/* ----- burger-btn ----- */

.burger-btn {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  display: block;
  padding: 2.5rem 2rem;
  z-index: 10;
  background-color: #fff;
}

.bar {
  display: block;
  margin: 0 auto;
  width: 4rem;
  height: 0.3rem;
  background-color: #51c1d8;
  transition: all 0.3s;
}

.bar-top {
  margin-bottom: 1rem;
}

.bar-bot {
  margin-top: 1rem;
}

.bar.bar-top.is-open {
  transform: translateY(1.4rem) rotate(45deg);
}

.bar.bar-mid.is-open {
  opacity: 0;
}

.bar.bar-bot.is-open {
  transform: translateY(-1.1rem) rotate(-45deg);
}

/* ----- fv ----- */

.fv {
  margin-top: 10.9rem;
}

/* ----- cta ----- */

.cta {
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 66rem;
  height: 13.5rem;
  border-radius: 7rem;
  z-index: 5;
}

.cta a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

/* ----- acd ----- */

.acd-img {
  height: 76rem;
  overflow: hidden;
}

.acd-img.is-open {
  height: auto;
}

.acd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64.9rem;
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 1.2rem 0;
  background-color: #44a8cc;
  position: relative;
}

.acd-ico {
  font-size: 3.6rem;
  margin-left: 3rem;
}

/* ----- file ----- */

.file-inner {
  padding: 5rem 1rem 9rem;
}

.file-item {
  margin: 0 2rem;
}

.file-top {
  position: relative;
}

.file-top-bg {
  padding-top: 6rem;
  background-color: #f9f2f2;
}

.file-top::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 11rem;
  margin: 0 auto;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 60%) 40%, rgba(255, 255, 255, 95%) 100%);
}

.file-top.is-open::after {
  background: transparent;
}

/* before after ここから */

.file-img-wrap {
  position: absolute;
  top: 34rem;
  left: 50%;
  transform: translateX(-50%);
  width: 62.8rem;
  height: 46.6rem;
  z-index: 1;
  overflow: hidden;
}

.file-img-before,
.file-img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.file-img-before {
  z-index: 2;
}

.file-img-after {
  z-index: 1;
}

.file-img-before img,
.file-img-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boundary-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 0.8rem;
  height: 100%;
  background-color: #fff;
  z-index: 3;
}

.gauge-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  top: 83rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 63rem;
  height: 1rem;
  background: none;
  margin: 0;
  border-radius: 3rem;
  z-index: 5;
}

.gauge-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  width: 4rem;
  height: 4rem;
  background-color: #fff;
  border: 0.4rem solid #d8716b;
  border-radius: 50%;
  cursor: col-resize;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.gauge-slider::-moz-range-thumb {
  width: 4rem;
  height: 4rem;
  background: none;
  background-color: #fff;
  border: 0.4rem solid #d8716b;
  cursor: col-resize;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.file-img-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 111%;
  height: 100%;
  z-index: 3;
}

.file-img-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  width: 7rem;
  height: 50rem;
  box-shadow: none;
  cursor: col-resize;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.file-img-slider::-moz-range-thumb {
  width: 7rem;
  height: 50rem;
  background: none;
  box-shadow: none;
  cursor: col-resize;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.file-img-score {
  position: absolute;
  top: 86.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 62.8rem;
  z-index: 2;
}

/* before after ここまで */

.file-hide {
  display: none;
}

.file-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: 700;
  color: #d8716b;
  padding: 1.5rem 0;
  background-color: #f3cccc;
  cursor: pointer;
}

.file-btn span {
  display: inline-block;
  font-size: 4rem;
  margin-right: 1.5rem;
  font-weight: 400;
}

.file-slider .slick-arrow {
  width: 8rem !important;
  height: 8rem !important;
  top: 69rem !important;
  z-index: 3 !important;
}

.file-slider .slick-prev {
  left: 0rem !important;
}

.file-slider .slick-next {
  right: 0rem !important;
}

.file-slider .slick-prev::before,
.file-slider .slick-next::before {
  content: "" !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  width: 8rem !important;
  height: 8rem !important;
  opacity: 1 !important;
  display: inline-block !important;
}

.file-slider .slick-prev::before {
  background-image: url(../img/slider_left_pink.png) !important;
}

.file-slider .slick-next::before {
  background-image: url(../img/slider_right_pink.png) !important;
}

/* ----- file ----- */

.plan-inner {
  padding: 4rem 2rem 0;
}

.plan-item {
  margin: 2rem;
}

.plan-slider .slick-arrow {
  width: 8rem !important;
  height: 8rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
}

.plan-slider .slick-prev {
  left: -2rem !important;
}

.plan-slider .slick-next {
  right: -2rem !important;
}

.plan-slider .slick-prev::before,
.plan-slider .slick-next::before {
  content: "" !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  width: 8rem !important;
  height: 8rem !important;
  opacity: 1 !important;
  display: inline-block !important;
}

.plan-slider .slick-prev::before {
  background-image: url(../img/slider_left_blue.png) !important;
}

.plan-slider .slick-next::before {
  background-image: url(../img/slider_right_blue.png) !important;
}

/* ----- info ----- */

.plan-map {
  position: absolute;
  top: 159.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 62rem;
}

.now {
  position: absolute;
  top: 48.7rem;
  left: 15.4rem;
  font-size: 2rem;
  color: #595a5c;
  letter-spacing: 0.1em;
}

.google-map {
  position: absolute;
  top: 63.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 49rem;
  height: 24rem;
}

.google-map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- faq ----- */

.faq-item {
  cursor: pointer;
}

.faq-item-q {
  position: relative;
  margin-top: 2rem;
}

.faq-item-a {
  display: none;
}

.faq-item-q::before,
.faq-item-q::after {
  content: "";
  display: block;
  background-color: #252525;
  position: absolute;
  top: 50%;
  right: 6rem;
  transform: translateY(-50%);
  width: 3rem;
  height: 2px;
}

.faq-item-q::after {
  transform: translateY(-50%) rotate(90deg);
  transition: all 0.3s;
}

.faq-item-q.is-active::before {
  opacity: 0;
}

.faq-item-q.is-active::after {
  transform: rotate(0);
}

/* ----- footer ----- */

footer {
  padding: 8rem 0 5rem;
  background-color: #fff;
  max-width: 75rem;
  margin: 0 auto;
  text-align: center;
  font-size: 2rem;
}

footer ul {
  display: flex;
  justify-content: center;
}
footer ul li {
  margin: 0 1.5rem;
}
footer ul li a {
  color: #a8a8a8;
  text-decoration: none;
}

footer .copy {
  font-weight: bold;
  margin-top: 3rem;
}

@media (max-width: 750px) {
  footer {
    padding: 6.66vw 0;
    font-size: 2.66vw;
  }
  footer .copy {
    margin-top: 4vw;
  }
}

/* ----- 光が横切るエフェクト ----- */

.light-box {
  display: block;
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
  background-color: transparent;
  border-radius: 7rem;
}
.shiny-btn {
  display: inline-block;
  text-align: center;
  position: relative;
  /* width: 100%; */
  color: #fff;
}
.shiny-btn:after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -10rem;
  width: 5rem;
  height: 5rem;
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.8) 100%, rgba(255, 255, 255, 0) 0%);
  animation-name: shiny;
  animation-duration: 2.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  pointer-events: none;
}

@keyframes shiny {
  0% {
    transform: scale(0) rotate(25deg);
    opacity: 0;
  }

  50% {
    transform: scale(1) rotate(25deg);
    opacity: 1;
  }

  100% {
    transform: scale(50) rotate(25deg);
    opacity: 0;
  }
}

/* ----- 跳ねるエフェクト ----- */

.bounce {
  animation: bounce 1.5s ease infinite;
}
@keyframes bounce {
  70% {
    transform: translateY(0%);
  }
  80% {
    transform: translateY(-3rem);
  }
  90% {
    transform: translateY(0%);
  }
  95% {
    transform: translateY(-1.5rem);
  }
  97% {
    transform: translateY(0%);
  }
  99% {
    transform: translateY(-0.75rem);
  }
  100% {
    transform: translateY(0);
  }
}

/* ------------------------------------------
  /* sp
  /* ------------------------------------------ */

@media (max-width: 750px) {
  html,
  body {
    font-size: calc(100vw / 75);
  }

  .tb {
    display: none;
  }

  .sp {
    display: block;
  }
}
