@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: white;
}
main {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}
.img-wrap {
  box-sizing: border-box;
  vertical-align: bottom;
  display: block;
}

/* アニメーションの追加 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:rgba(255, 255, 255, 1);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
}
body.loaded::before {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s ease-in-out;
}

/*********floating*********/
#floatingmenu {
  display: none;
}
.floatingmenu {
  background-color:rgba(255, 255, 255, 0.7);
  position: fixed;
  bottom: 0;
  z-index: 99;
  width: 100%;
  max-width: 640px;
  padding: 1.8% 0 1.4%;
}
.floating-box {
  margin: 0 auto;
}
.floating-box-item {
  position:relative;
}
a .floating_cta {
  transition: 0.5s;
}
a .floating_cta:hover {
  transform: scale(1.04);
}

/* コンテンツ */
.relative {
  position: relative;
}
.absolute{
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  cursor: pointer;
  width: 100%;
  max-width: 640px;
}
.absolute-link-01 {
  width: 88%;
  left: 49%;
  bottom: 1%;
}
.absolute-link-02 {
  width: 9%;
  left: 50%;
  bottom: 2.5%;
}
.law-link {
  display: block;
  cursor: pointer;
  background-color: transparent;
  width: 100%;
  max-width: 640px;
}
.law-link-01 {
  height: 64px;
}
.law-link-02 {
  height: 30px;
}
.cta img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta:hover img {
  filter: saturate(120%);
}
.reflection {
  display:block;
  position:relative;
  overflow:hidden;
  width: 86%;
  height: auto;
  margin: 0 auto;
  border-radius: 55px;
}
.reflection:after {
  content:"";
  height:100%;
  width:30px;
  position:absolute;
  top:-180px;
  left:0;
  background-color: rgba(255, 255, 255, 0.7);
  opacity:0;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: rotate(45deg);
  -webkit-animation: reflection 3.3s ease-in-out infinite;
}
.cta-02 img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0, 0, 0, 1), filter 0.3s cubic-bezier(0, 0, 0, 1);
}
.cta-02:hover img {
  filter: saturate(130%);
}
.reflection-02 {
  display:block;
  position:relative;
  overflow:hidden;
  width: 82%;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}
.reflection-02:after {
  content:"";
  height:100%;
  width:30px;
  position:absolute;
  top:-180px;
  left:0;
  background-color: rgba(255, 255, 255, 0.85);
  opacity:0;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: rotate(45deg);
  -webkit-animation: reflection 3.3s ease-in-out infinite;
}
  @keyframes reflection {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
  }
@media screen and (max-width:640px) {
  .reflection {
    border-radius: 8vw;
  }
  .reflection:after,
  .reflection-02:after {
    -webkit-animation: reflection 4.3s ease-in-out infinite;
  }
  .absolute-link-01 {
    bottom: 1.4%;
  }
  .absolute-link-02 {
    bottom: 3.5%;
  }
  .law-link-01 {
    height: 10vw;
  }
  .law-link-02 {
    height: 3.9vw;
  }
}

/* スライダー */
.flickity-wrap{
  width: 100%;
  max-width: 640px;
  height: auto;
  overflow: hidden;
  text-align: center;
  background-image:
  repeating-linear-gradient(
    90deg,
    #E3F1FB ,
    #E3F1FB 1px,
    transparent 1px,
    transparent 32px
  ),
  repeating-linear-gradient(
    0deg,
    #E3F1FB ,
    #E3F1FB 1px,
    #fff 1px,
    #fff 32px
  );
  background-size: contain;
  box-sizing: border-box;
}
.flickity-tit {
  width:100%;
  height: auto;
  margin:32px 0 16px;
}
.flickity-tit img{
  width:100%;
  height: auto;
}
.flickity-box {
  height: 730px;
  margin: auto auto 20px;
}
.gallery-cell {
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}
.gallery-cell img{
  width:100%;
  height: auto;
}
@media screen and (max-width:640px) {
  .flickity-wrap{
    background-image:
    repeating-linear-gradient(
      90deg,
      #E3F1FB ,
      #E3F1FB 1px,
      transparent 1px,
      transparent 6vw
    ),
    repeating-linear-gradient(
      0deg,
      #E3F1FB ,
      #E3F1FB 1px,
      #fff 1px,
      #fff 6vw
    );
    background-size: contain;
  }
  .flickity-tit {
    margin:6vw 0 2.8vw;
  }
  .flickity-box {
    height: 108vw;
    margin: auto auto 4vw;
  }
  .gallery-cell {
    max-width: 80vw;
    padding: 0 2vw;
  }
}