@import url("./assets/css/reset.css");

html {
  font-size: 62.5%;
  font-family: "Noto Sans JP", sans-serif;
  color: #434343;
  background-repeat: repeat;
  background-size: 400px 400px;
}

body {
  overflow-x: hidden;
}

body.fixed {
  position: fixed;
  width: 100%;
}

body.fadeout {
  min-width: 100%;
  height: 100%;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 5000;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.8s ease;
  transition: opacity 0.8s ease;
  -webkit-transform: scale(1);
  transform: scale(1);
}

body.fadeout::after {
  opacity: 1;
}

:root {
  /* フォント */
  --ff-sans: "Noto Sans JP", sans-serif;

  /* カラースキーム */
  --color-sky-blue: #6dafda;
}

.section-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 3.3rem;
  font-weight: 600;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
}

.body-copy {
  font-size: 1.5rem;
  line-height: 2.9rem;
}

.link {
  display: block;
  width: 15rem;
  position: relative;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  padding: 0 60px 6.75px 15px;
  border-bottom: 1px solid var(--color-sky-blue);
  margin-left: auto;
  margin-top: 4rem;
  white-space: nowrap;
  color: #777777;
}

.link::after {
  content: "";
  display: block;
  width: 22px;
  height: 6px;
  background-image: url(./assets/images/common/link-arrow-blue.svg);
  background-repeat: no-repeat;
  background-size: contain;
  image-rendering: pixelated;
  position: absolute;
  right: 0;
  top: 3px;
  transition: all 0.3s;
}

.line-link {
  position: relative;
  left: -7px;
  display: block;
  width: 180px;
  height: 48px;
  background-color: #fff;
  border-radius: 25px;
  border: 1px solid #06c755;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #06c755;
  font-size: clamp(1.6rem, 1.17vw, 1.8rem);
  font-weight: 600;
}

.line-link::before {
  position: relative;
  top: 1px;
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-image: url(./assets/images/common/icon-line.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 3px;
}

.line-link::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 7px;
  background-image: url(./assets/images/common/link-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: 18px;
  right: 0;
  transition: all 0.3s;
  transform: translateX(17px);
}

/* ヘーダ */
.header {
  position: fixed;
  height: 5.4rem;
  width: 100%;
  z-index: 1001;
  top: 0;
  background: transparent;
  background-color: white;
  padding: 1.3rem 2rem;
}

.header__logo img {
  width: 9.5rem;
  height: 2.8rem;
  image-rendering: pixelated;
}

.header__nav {
  display: none;
}

.popup {
  position: fixed;
  top: 0px;
  right: -100%;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  z-index: 1002;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  gap: 10.5vh;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  background-image: url(./assets/images/common/popup-bg.webp);
  background-size: auto 100%;
  background-position: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup__close {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 13px;
  right: 36px;
  cursor: pointer;
}

.popup__close span {
  font-size: 1.4rem;
  white-space: nowrap;
  color: var(--color-sky-blue);
  letter-spacing: 0.2em;
  line-height: 1.8;
}

.popup__close img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.popup__logo {
  width: 24.7rem;
  height: auto;
}

.popup--open {
  right: 0;
  opacity: 1;
}

.header_wrapper .yoyaku_button {
  display: none;
}

.menu__link {
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: 600;
}

.menu__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6vh;
}

.menu__item--contact {
  position: relative;
  left: -7px;
  width: 275px;
  height: 50px;
  background-color: #fff;
  border-radius: 25px;
  border: 1px solid #06c755;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #06c755;
}

.menu__item--contact::before {
  position: relative;
  top: 1px;
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-image: url(./assets/images/common/icon-line.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 3px;
}

.menu__item--contact::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 6px;
  background-image: url(./assets/images/common/link-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: 18px;
  right: -17px;
}

.mobile-menu__container {
  position: fixed;
  display: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  background-color: #ffffff;
  z-index: 1000;
}

.mobile-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 30.3rem;
  margin: 0 auto;
  padding: 0.7rem 2rem 1.325rem;
  box-sizing: content-box;
}

.mobile-menu__item {
  display: flex;
  flex-direction: column;
  background-size: contain;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  color: #000000;
  align-items: center;
}

.mobile-menu__item:first-child {
  width: 33px;
  height: 40px;
}

.mobile-menu__item:nth-child(2) {
  width: 44px;
  height: 37px;
}

.mobile-menu__item:nth-child(3) {
  width: 77px;
  height: 38px;
}

.mobile-menu__item:last-child {
  width: 44px;
  height: 35px;
}

.mobile-menu__item span {
  font-size: 1.1rem;
  line-height: 1;
  transform-origin: center;
  color: var(--color-sky-blue);
}

.mobile-menu__item img {
  display: block;
  height: auto;
  width: 20.7px;
  height: auto;
  image-rendering: crisp-edges;
}

.mobile-menu__item:nth-child(2) img {
  width: 16px;
}

.mobile-menu__item:nth-child(3) img {
  width: 18px;
}

.mobile-menu__item:last-child img {
  width: 23px;
}

.mobile-menu__item--hamburger {
  padding: 0;
  background-color: transparent;
  border: none;
}

main {
  margin-top: 54px;
  /* overflow-x: hidden;
  overflow-y: auto; */
}

footer {
  position: relative;
  z-index: 2;
  padding: 6.4rem 2rem 2.1rem;
  background-image: url(./assets/images/common/footer-768.webp);
  background-position: min(0px, calc(-136px + 50vw - 187.5px));
  background-size: 742px auto;
  margin-bottom: 6rem;
  margin-top: -10rem;
  clip-path: circle(100vw at center 100vw);
}

.no-loader .loader {
  display: none;
}

.load-container {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
}

.load-complete .load-container {
  width: 0;
  height: 0;
}

/* .loading {
  transition: all 0.3s;
  opacity: 0;
} */

.loader-bg {
  width: 100%;
  height: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
}

.load-complete {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  opacity: 1;
}

.loader {
  font-size: 10px;
  text-indent: -9999em;
  width: 6em;
  height: 6em;
  border-radius: 50%;
  background: #ffffff;
  background: -ms-linear-gradient(left, #fff 10%, rgba(255, 255, 255, 0) 42%);
  -webkit-animation: loader 1.2s infinite linear;
  animation: loader 1.2s infinite linear;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(10%, #249f98),
    color-stop(42%, rgba(157, 156, 158, 0))
  );
  background: linear-gradient(
    to right,
    #249f98 10%,
    rgba(157, 156, 158, 0) 42%
  );
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -3em 0 0 -3em;
  z-index: 9999;
  pointer-events: none;
}

.loader:before {
  width: 3em;
  height: 3em;
  background: #249f98;
  border-radius: 100% 0 0 0;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -1.5em;
  margin-left: -1.5em;
  content: "";
}

.loader:after {
  background: #fff;
  width: 5.7em;
  height: 5.7em;
  border-radius: 50%;
  content: "";
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@media (min-width: 600px) {
  footer {
    background-position: center;
    background-size: cover;
  }
}

footer::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #ffffff;
  opacity: 0.5;
  z-index: -1;
  mask-mode: alpha;
}

.footer__logo {
  display: block;
  width: 10.8rem;
  aspect-ratio: 1;
  margin: 0 auto;
}

.footer__address {
  margin: 1rem auto 0;
  text-align: center;
}

.footer__nav {
  margin: 21px auto 0;
}

.footer__list {
  width: 301px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-auto-flow: column;
  row-gap: 24px;
  column-gap: min(63px, max(30px, calc(63px + 50vw - 187.5px)));
  justify-content: center;
}

.footer__link {
  font-size: 1.4rem;
  line-height: 2.6rem;
  font-weight: 600;
  color: #434343;
}

.footer__sns {
  margin: 1.8rem auto 0;
  display: flex;
  width: fit-content;
  gap: 0.8rem;
}

.footer__sns-link {
  display: block;
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
}

.footer__sns-link--instagram {
  background-image: url(./assets/images/common/icon-instagram.svg);
}

.footer__sns-link--line {
  background-image: url(./assets/images/common/icon-line.svg);
}

.footer__rights {
  font-size: 1.3rem;
  font-weight: 500;
  display: block;
  text-align: center;
  margin-top: 4px;
}

.footer__address {
  display: block;
  line-height: 1.5 !important;
  margin-top: 12px;
}

/* パンくず */
.breadcrumb {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: left;
  margin: 8px auto 0;
  max-width: 870px;
  padding: 0 2rem 1rem;
  opacity: 0;
  animation-delay: 1s !important;
}

.breadcrumb a[aria-label="ホームページに戻る"] {
  color: #6dafda;
}

.breadcrumb::before {
  content: "";
  display: block;
  background-image: url(./assets/images/common/icon-home-bc.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 1.6rem;
  height: 1.21rem;
  object-fit: contain;
  position: relative;
  margin-right: 0.2rem;
  top: 0.2rem;
}

.breadcrumb__list {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item,
.breadcrumb__item a {
  position: relative;
  font-size: 1.2rem;
  line-height: 1.42;
  text-underline-offset: 0.2rem;
  font-family: var(--ff-sans);
  word-break: break-all;
}

.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.9rem;
  background-image: url(./assets/images/common/arrow-bc.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 1rem;
  position: relative;
  top: 0.1rem;
}

.page-cover {
  position: relative;
  padding-top: 3rem;
  padding-right: 0rem;
  margin-right: 2rem;
  overflow: hidden;
}

.cover__image {
  font-size: clamp(6.7rem, 17.87vw, 11.45rem);
  display: block;
  width: 80vw;
  width: calc(100vw - 20px - 1em + 1.2rem);
  height: auto;
  max-height: 480px;
  object-fit: cover;
  margin-left: auto;
}

@media (max-width: 374px) {
  .cover__image {
    width: calc(100% - 55px);
  }
}

@media (min-width: 550px) {
  .cover__image {
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 110px;
  }
}

.cover__title {
  font-size: clamp(2.9rem, 7.73vw, 3.8rem);
  line-height: 1.35;
  font-weight: 600;
  position: absolute;
  top: calc(50% + 3rem);
  left: 0;
  transform: translate(1.59em, -50%);
  opacity: 0;
  z-index: 2;
}

.cover__decor {
  position: relative;
  font-family: "Dancing Script", cursive;
  font-size: clamp(6.7rem, 17.87vw, 11.45rem);
  line-height: 1;
  color: #b8dcf4;
  opacity: 54%;
  position: absolute;
  top: 1.2em;
  left: -1.12em;
  transform: rotate(90deg);
  opacity: 0;
}

.cover__decor::before {
  font-size: clamp(6.7rem, 17.87vw, 11.45rem);
  line-height: 1;
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 0.7px #b8dcf4;
  left: 3px;
  bottom: -1px;
  white-space: nowrap;
}

.fab {
  position: fixed;
  z-index: 999;
  right: 6px;
  bottom: 80px;
  transition: opacity 0.5s;
}

.fab__link {
  display: block;
  cursor: pointer;
  width: 47px;
  height: 47px;
  border-radius: 50%;
}

.fab__link--relive,
.fab__link--top {
  display: none;
}

.fab__link--instagram {
  background-image: url(./assets/images/common/fab-instagram-sp.svg);
  background-size: contain;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.2rem;
    line-height: 1;
  }

  .body-copy {
    font-size: 1.6rem;
    line-height: 3.2rem;
  }

  .line-link:hover::after {
    transform: translateX(4px);
  }

  .header {
    height: 7.5rem;
    display: flex;
    padding-left: 8rem;
    padding-right: 8rem;
    justify-content: space-between;
  }

  .header__logo img {
    width: 15.6rem;
    height: auto;
  }

  .header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__nav-list {
    display: flex;
    gap: min(48px, max(24px, calc(48px + 50vw - 425px)));
    justify-content: center;
    align-items: center;
  }

  .header__nav-link {
    position: relative;
    display: flex;
    font-size: clamp(1.6rem, 1.17vw, 1.8rem);
    font-weight: 600;
    width: fit-content;
    padding: 0;
    line-height: 2.8rem;
    transition: all 0.3s;
  }

  .header__nav-link:not(.line-link):hover {
    color: #6dafda;
  }

  main {
    margin-top: 7.5rem;
  }

  .mobile-menu__container {
    display: none;
  }

  footer {
    padding-top: 124px;
    padding-bottom: 11px;
    margin-bottom: 0;
    margin-top: -150px;
    clip-path: circle(250vw at center 250vw);
    background-image: url(./assets/images/common/footer-1366.webp);
    background-position: center 25%;
    background-clip: 100% auto;
  }

  .footer__nav {
    margin: 24px auto 0;
  }

  .footer__list {
    width: auto;
    max-width: 737px;
    margin: 0 auto;
    display: flex;
    grid-template-rows: unset;
    grid-auto-flow: unset;
    gap: unset;
    justify-content: space-between;
  }

  .footer__link {
    font-size: 1.6rem;
    line-height: 2.8rem;
    transition: color 0.3s;
  }

  .footer__link:hover {
    color: #6dafda;
  }

  .footer__sns {
    margin: 2.7rem auto 0;
  }

  .page-cover {
    padding-top: clamp(6rem, calc(100px + 50vw - 683px), 10rem);
    overflow: visible;
    margin-right: 0;
  }

  .page-cover picture {
    display: block;
    width: calc(100% - clamp(168px, calc(268px + 50vw - 683px), 268px));
    height: calc(100vh - 280px);
    margin-left: auto;
    border-radius: 110px 0 0 0;
    overflow: hidden;
  }

  @media (min-width: 1367px) {
    .page-cover picture {
      aspect-ratio: 1098 / 480;
      height: auto;
      min-height: calc(100vh - 280px);
      max-height: 700px;
    }
  }

  .cover__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
    object-position: top;
    opacity: 0;
  }

  .cover__title {
    font-size: clamp(3.2rem, 2.78vw, 4.8rem);
    line-height: 1.35;
    font-weight: 600;
    position: absolute;
    top: calc(50% + clamp(3rem, 50px + 25vw - 341.5px, 5rem));
    left: clamp(83px, calc(183px + 50vw - 683px), 183px);
    transform: translate(0, -50%);
    opacity: 0;
  }

  .cover__title.text-ani {
    animation-delay: 2s !important;
    animation-duration: 1.5s;
  }

  .cover__decor {
    font-size: clamp(14.4rem, 10.54vw, 18rem);
    top: 1.8em;
    left: -1.12em;
    opacity: 0;
  }

  .cover__decor::before {
    font-size: clamp(14.4rem, 10.54vw, 18rem);
    left: 4px;
    bottom: -1px;
    white-space: nowrap;
  }

  .fab {
    display: flex;
    flex-direction: column;
    gap: 16px;
    right: 30px;
    bottom: 40px;
  }

  .fab__link {
    width: 60px;
    height: 60px;
    background-size: contain;
  }

  .fab__link--relive,
  .fab__link--top {
    display: block;
  }

  .fab__link--relive {
    background-image: url(./assets/images/common/fab-relive.svg);
  }

  .fab__link--relive:hover {
    background-image: url(./assets/images/common/fab-relive-hover.svg);
  }

  .fab__link--instagram {
    background-image: url(./assets/images/common/fab-instagram.svg);
  }

  .fab__link--instagram:hover {
    background-image: url(./assets/images/common/fab-insta-hover.svg);
  }

  .fab__link--top {
    background-image: url(./assets/images/common/fab-top.svg);
  }

  .fab__link--top:hover {
    background-image: url(./assets/images/common/fab-top-hover.svg);
  }

  .fab__link {
    transition: all 0.3s;
  }

  .fab__link:hover {
    opacity: 0.75;
  }

  .link {
    width: 20rem;
    transition: opacity 0.3s;
    opacity: 1;
    font-size: 1.6rem;
  }

  .link::after {
    transform: translateX(-15px);
    transition: all 0.3s;
  }

  .link:hover::after {
    transform: translateX(0px);
  }

  .link--gallery:hover {
    opacity: 0.75;
  }

  .link--gallery:hover::after {
    transform: translateX(-15px);
  }

  .line-link:hover::after {
    transform: translateX(20px);
  }

  .breadcrumb__item,
  .breadcrumb__item a {
    font-size: 1.4rem;
    line-height: 2.6rem;
  }

  .breadcrumb::before {
    width: 1.8rem;
    height: 1.6rem;
    margin-right: 0.5rem;
    top: 0.4rem;
  }

  .breadcrumb__item:not(:last-child)::after {
    width: 0.8rem;
    height: 1.5rem;
    top: 0.2rem;
    background-image: url(./assets/images/common/arrow-bc-pc.svg);
  }
}
