/* 20241030 */

/*                pageTop
======================================================= */


.page_top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 450;
  display: none;
}

@media only screen and (max-width: 900px) {
  .page_top {
    bottom: 100px;
  }
  .page_top {
    bottom: 100px;
  }
}

.page_top a {
  display: block;
}

.page_top a img {
  width: 74px;
  height: 74px;
}

@media only screen and (max-width: 900px) {
  .page_top a img {
    width: 50px;
    height: 50px;
  }
}

@media only screen and (max-width: 900px) {
  .page_top {
    right: 10px;
  }
  .page_top img {
    width: 50px;
    height: 50px;
  }
}

/*                floating
======================================================= */

.floating-banner {
  display: none;
}
@media only screen and (max-width: 900px) {
  .floating-banner {
    text-align: center;
    width: 100%;
    padding: 0 10px;
    position: fixed;
    z-index: 450;
    left: 0;
    bottom: 0px;
    background-color: #000;
    height: 92px;
  }
  
  .floating-banner h3 {
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.48px;
    color: white;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 30px;
  }
  
  .floating-link {
    margin: 0 auto 10px;
    position: relative;
  }
  .floating-link::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
  }
  .floating-link a {
    position: relative;
    color: #fff;
    background: transparent linear-gradient(98deg, #F34B4B 0%, #F65878 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 4px 0px #596A7D;
    border-radius: 50px;
    font-size: 100%;
    padding: 10px;
    display: block;
    font-size: 18px;
  }
  .floating-link a::before {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: 25px;
    width: 12px;
    height: 12px;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
}

.mainvisual {
  height: auto;
  padding-bottom: 150px;
  background: linear-gradient(to bottom, #35ADEB, #398bcc);
}
.section-inner.second-section {
  margin: 0 auto;
  padding-bottom: 10px;
}
.section-second {
  background: linear-gradient(to bottom, #398bcc, #323d85);
}
.mainvisual .contact_btn {
  position: relative;
  max-width: 920px;
}
@media screen and (max-width: 900px) {
  .section-inner.second-section {
    margin: -2px 0 0;
  }
  .mainvisual .contact_btn {
    max-width: 96%;
    margin-left: 2%;
    margin-right: 2%;
  }
  .mainvisual .contact_btn {
    max-width: 100%;
    width: 96%;
  }
}
@media screen and (max-width: 768px) {
  .mainvisual {
    padding-bottom: 60px;
  }  
  .contact_btn_area {
    margin-top: 50%;
  }
}
@media screen and (max-width: 687px) {
  .mainvisual {
      padding-bottom: 170px;
  }
  .section-inner.second-section {
      padding-top: 40px;
  }
}
@media screen and (max-width: 687px) {
  .mainvisual {
      padding-bottom: 340px;
  }
}
@media screen and (max-width: 541px) {
  .mainvisual {
      padding-bottom: 110px;
  }
}
@media screen and (max-width: 496px) {
  .mainvisual {
    padding-bottom: 80px;
  }
  .contact_btn_area {
    margin-top: 65%;
  }
}



@media screen and (max-width: 392px) {
  .mainvisual {
      padding-bottom: 280px;
  }
  .contact_btn_area {
    margin-top: 85%;
  }
}


._shiny_main {
  display: block;
  position: relative;
  overflow: hidden;
  transition: 300ms;
}

._shiny_main::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: -150px;
  width: 30px;
  height: 100%;
  background-color: #ff8c8c;
  transition: 300ms;
  animation: shinymain 3s linear infinite; /* 3秒間隔で繰り返し */
}

._shiny_main.light:hover::before,
._shiny_main.light:hover:after {
  content: none;
}

@media screen and (max-width: 900px) {
  .contact_btn a._shiny_main::before {
    top: -200px;
    left: -320px;
  }
}

@-webkit-keyframes shinymain {
  /* 0秒から3秒間はopacity: 0 */
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  82.67% { /* 2秒 (66.67% = 2/3秒) */
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  
  /* 2秒から3秒間はアニメーション */
  82.68% { /* アニメーション開始 */
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  88.33% { /* アニメーションの中間 */
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% { /* 最終位置 */
    -webkit-transform: scale(65) rotate(45deg);
    opacity: 0;
  }
}


._shiny {
  display: block;
  position: relative;
  overflow: hidden;
  transition: 300ms;
}

._shiny::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: -150px;
  width: 30px;
  height: 100%;
  background-color: #ff8c8c;
  transition: 300ms;
  animation: shinyshiny 3s linear infinite; /* 3秒間隔で繰り返し */
}

._shiny.light:hover::before,
._shiny.light:hover:after {
  content: none;
}

@media screen and (max-width: 900px) {
  .floating-link a::before {
    border: none;
  }
  .floating-link ._shiny::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 50;
    left: -250px;
    width: 30px;
    height: 100%;
    background-color: #ff8c8c;
    transition: 300ms;
    animation: shinyshiny 3s linear infinite; /* モバイル向けも同じ間隔 */
    margin: 0;
    border: none;
    right: inherit;
    transform: initial;
  }
}

@-webkit-keyframes shinyshiny {
  /* 0秒から3秒間はopacity: 0 */
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  66.67% { /* 2秒 (66.67% = 2/3秒) */
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  
  /* 2秒から3秒間はアニメーション */
  66.68% { /* アニメーション開始 */
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  83.33% { /* アニメーションの中間 */
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% { /* 最終位置 */
    -webkit-transform: scale(65) rotate(45deg);
    opacity: 0;
  }
}

.cta-button {
  text-align: center;
  width: fit-content;
  margin: 30px auto 0;
}
.cta-button a {
  background-color: #f5297b;
  background: transparent linear-gradient(280deg, #F65878 0%, #F34B4B 100%) 0% 0% no-repeat padding-box;
  box-shadow: 0px 4px 0px #36404BCC;
  border-radius: 50px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  text-align: center;
  transition: .3s;
  padding: 23px 45px;
  position: relative;
  font-size: 2.3rem;
}
#PRICE .cta-button  {
  background: #F0F3F5;
  border-radius: 50px;
}
@media only screen and (max-width: 900px) {
  .cta-button a {
    font-size: 1.7rem;
  }
}
@media only screen and (max-width: 768px) {
  .cta-button {
    margin: 30px auto 10px;
    width: 80%;
  }
  .cta-button a {
    font-size: 1.3rem;
    padding: 20px 45px;
  }
}
@media only screen and (max-width: 380px) {
  .cta-button a {
      font-size: 1.2rem;
      padding: 13px 40px;
  }
}
.cta-button .shiny-wrap {
  position: relative;
}
.cta-button .shiny-wrap span {
  position: absolute;
  display: block;
  line-height: 3.8;
  background: #fff;
  padding: 0;
  border-radius: 50%;
  top: -25px;
  left: -30px;
  width: 70px;
  height: 70px;
  font-size: 17px;
  letter-spacing: 0px;
  color: #F34B4B;
  z-index: 1;
}
.cta-button .shiny-wrap span:before {
  content: "";
  position: absolute;
  bottom: 1px;
  right: -1px;
  margin-top: -15px;
  border: 5px solid transparent;
  border-left: 10px solid #FFFFFF;
  z-index: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media only screen and (max-width: 768px) {
  .cta-button .shiny-wrap span {
    left: -30px;
  }
}

#PRICE .cta-button span {
  background: #F0F3F5;
}

#PRICE .cta-button .shiny-wrap span:before {
  border-left: 10px solid #F0F3F5;
}


.contact_btn a.light {
  padding: 32px 10px !important;
  border-radius: 70px !important;
  font-size: 150% !important;
}