
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

@media (max-width: 600px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}

#jump01, #jump02, #jump03, #jump04, #jump05 {
  padding-top: 73px;
  margin-top: -73px;
}

.ani01, .ani02, .ani03, .ani04, .ani05, .ani06, .ani07, .ani08, .ani09, .ani10 {
  opacity: 0;
}

.is-animated {
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.is-animated:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #29093B;
  animation: secondaryImageOverlayIn 0.6s 0s cubic-bezier(.77, 0, .175, 1), secondaryImageOverlayOut 0.6s 0.6s cubic-bezier(.77, 0, .175, 1);
  animation-fill-mode: both;
}

.ba p {
  animation: fadeIn 0.5s 1s;
  animation-fill-mode: both;
  opacity: 0;
}

.ba h2 {
  animation: fadeIn 0.5s 1s;
  animation-fill-mode: both;
  opacity: 0;
}

#loading {
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
}

#loading img {
  width: 210px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes secondaryImageOverlayIn {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes secondaryImageOverlayOut {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(102%);
  }
}

a {
  transition: all .3s;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
  text-decoration: none;
}

body {
  background: #fff;
  color: #333;
  -webkit-text-size-adjust: 100%;
  font-family: "Montserrat", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif" !important;
}

/* ポップアップ */
.popup{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 540px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.popup__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 540px;
}
.popup__content{
    background: #fff;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
}

.popup__content-top img{
  width: 100%;
}

.popup__content-top{
  text-align: center;
  position: relative;
  margin: 0 auto;
}

.popup-title-wrapper{
  position: absolute;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  left: 50%;
  top: 60%;
  transform: translate(-50%,-50%);
  width: 100%;
}

.popup-subtitle{
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.popup-title{
  font-size: 1.4rem;
  line-height: 1.4;
}

.popup__content-bottom{
  font-weight: bold;
  text-align: center;
}

.popup-text{
  font-size: 1.2rem;
  line-height: 1.8;
  letter-spacing: 2px;
  margin-top: 20px;
}

.popup-btn-link{
  color: #fff;
  border-color: #F29B87;
  border-width: 1px;
  background-color: #F29B87;
  width: 218px;
  line-height: 46px;
  font-size: 1rem;
  letter-spacing: 4px;
  letter-spacing: 1.5px;
  position: relative;
  text-align: center;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  display: inline-table;
  box-shadow: none;
  border-radius: 50px;
  filter: drop-shadow(10px 10px 10px rgba(116, 116, 116, 0.2));
}

.popup-btn-link:hover {
  border-color: #F29B87;
  background-color: #fff;
  color: #F29B87;
  box-shadow: none;
}

.line-icon{
  width: 30px;
  margin-right: 5px;
}

.popup__content-bottom{
  padding-bottom: 30px;
}

@media (max-width: 540px) {
  .popup{
      width: 100%;
  }
  .popup__bg{
      width: 100%;
  }

  .popup-text{
    font-size: 0.8rem;
  }

  .popup-btn-link{
    font-size: 0.85rem;
  }

  .popup-subtitle{
    font-size: 1.5rem;
  }

  .popup-title{
    font-size: 1.0rem;
  }
}

/* ポップアップここまで */

@media (min-width: 540px) {
  .be_minimized_content, .fixed-background {
    width: 540px;
    margin-right: auto;
    margin-left: auto;
  }
}

.qabg {
  background: #F2F2F2;
  padding-top: 40px;
  padding-bottom: 60px;
}

.page {
  position: relative;
  margin: 160px 0;
}

.page2 {
  position: relative;
  padding: 160px 0;
}

.h2_top {
  margin: 100px auto 40px auto;
  text-align: center;
}

.h2_top h2 {
  font-size: 42px;
  text-align: center;
  color: #29093B;
  background: -webkit-linear-gradient(0deg, #29093B, #29093B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 6px;
  font-weight: bold;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.h2_top h2 span {
  font-size: 15px;
  text-align: center;
  color: #29093B;
  display: block;
  letter-spacing: 1px;
  background: none;
  font-weight: normal;
  margin-top: 6px;
}

.intro_after {
  text-align: left;
  font-size: 13px;
  color: #555;
  margin: 40px auto 10px auto;
}

@media (max-width: 1024px) {
  .bg01 {
    background: none;
  }
}

@media (max-width: 600px) {
  .h2_top h2 {
    font-size: 20px;
  }
  .h2_top h2 span {
    font-size: 12px;
  }
  .page {
    margin: 40px 0;
  }
  .page2 {
    padding: 20px 0;
  }
  .bg03 {
    margin-bottom: 80px;
  }
}

.featurea-2{
  background-color: #F2F8FB;
  text-align: center;
  margin: 0 auto;
}

.feature-gif{
  width: 92%;
}


.swiper-container {
  display: -ms-flexbox;
  /* display: flex; */
  justify-content: flex-start;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: -2750px;
  margin-left: 15px;
  overflow: hidden;
}

.swiper-button-next{
  display: none !important;
}

.swiper-button-prev{
  display: none !important;
}

.price-container {
  display: -ms-flexbox;
  justify-content: flex-start;
  text-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 20px auto 30px;
}

.story-item {
  max-width: 1110px;
  display: flex;
  justify-content: flex-start;
}

.price-item {
  max-width: 1110px;
  display: flex;
  justify-content: flex-start;
}

.swiper-wrapper {
  max-width: 1110px;
  display: flex;
  justify-content: flex-start;
  padding: 0;
}

.story-item li {
  max-width: 340px;
}

.story-item {
  max-width: 1110px;
  display: flex;
  justify-content: flex-start;
  padding: 0;
}

.price-item {
  max-width: 1110px;
  display: flex;
  justify-content: flex-start;
  padding: 0;
}

.price-example {
  margin-top: 24px;
}

.story-1 {
  margin-left: 0;
  margin-right: auto;
}

.story-2 {
  margin: 0;
}

.price-2 {
  margin: 0;
}

.story-3 {
  margin-right: 0;
  margin-left: auto;
}

.story-step_img {
  position: relative;
  width: 100%;
}

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

.price-step_img {
  position: relative;
  width: 100%;
}

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

.story-item li {
  margin-bottom: 30px;
}

.price-item li {
  margin: 4px 12px 20px 12px;
  max-width: 340px;
}

.story-1 {
  margin-right: 30px !important;
}

.story-2 {
  margin: 0 30px 0 5px !important;
}

.qa a{
  color: #F29B87;
}

@media(max-width:540px){
  .swiper-container{
    margin-top: -508vw;
  }

  .insta-img{
    width: 93%;
  }

  .story-page{
    background-color: #F2EAE4;
    height: 276vw;
  }

  .insta-section{
    background-color: #F2EAE4;
    height: 300vw;
  }

  .story-item-slider li {
    margin: 0;
    width: 100%;
  }

  .story-item li {
    max-width: 66vw;
    margin: 0px 0 20px 0;
  }

  .price-item-slider li {
    margin: 0;
    width: 100%;
  }

  .price-item li {
    max-width: 76vw;
    margin: 4px 20px 20px 20px;
  }

  .swiper-slide {
    max-width: 66vw;
    margin: 0px 0 10px 0;
  }

  .story-1 {
    margin-bottom: 25px !important;
    margin-right: 20px !important;
  }


  .story-2 {
    margin-bottom: 25px !important;
    margin: 0 20px 0 5px !important;
  }

  .story-3 {
    margin-bottom: 25px !important;
    margin-left: 15px !important;
    margin-right: 25px !important;
  }

  .story-4 {
    margin-bottom: 25px !important;
  }
}

/*LINK*/

.link {
  margin: 40px 0 0 0;
}

@media (min-width: 600px) {
  .modaal-inner-wrapper{
    display: block !important;
    width: 50% !important;
    margin: auto;
  }

  .link {
    margin: 0;
    margin-left: auto;
    margin-right: auto;
  }
}

.line_box {
  background-color: white;
  text-align: center;
}

.line_box a {
  display: inline-block;
  margin: 15px 0 30px 0;
  text-align: center;
  width: 90%;
  font-size: 18px;
  border-radius: 10px;
  line-height: 80px;
  height: 80px;
}

@media (min-width: 600px) {
  .line_box a {
    width: 32%;
  }
}

.reflection {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.reflection:after {
  content: "";
  height: 100%;
  width: 30px;
  position: absolute;
  top: -180px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -webkit-animation: reflection 2s 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;
  }
}

/*LINE*/

/*
.line_fixed_box {
  width: 100vw;
  position: fixed;
  bottom: 0px;
  text-align: center;
  z-index: 100;
}
*/

/*20210610修正*/
.line_fixed_box {
  width: 540px;
  position: fixed;
  bottom: -10px;
  text-align: center;
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
@media (max-width: 540px) {
  .line_fixed_box {
    width: 100vw;
  }
}

/*20210520 ABテスト用に修正 */

/*
.line_fixed_box .line_consultation {
  display: block;
  text-align: center;
  font-size: 17px;
  width: 30%;
  background-color: #31C332;
  color: white;
  line-height: 1.8;
  height: auto;
  padding: 10px 0;
  margin: 0 auto;
} */

/*20210610 修正 */

.line_fixed_box .line_consultation {
  display: block;
  text-align: center;
  width: 35%;
  height: auto;
}

/*
.line_fixed_box .line_official {
  display: block;
  text-align: center;
  font-size: 16px;
  width: 65%;
  background-color: #AD9FFF;
  color: white;
  line-height: 65px;
  height: 65px;
  margin: 0 auto;
} */

/*20210610 修正 */

.line_fixed_box .line_official {
  display: block;
  text-align: center;
  width: 100%;
  line-height: 65px;
  height: auto;
}

/*フローティング 20210610*/
.f-cta {
  height: 100%;
  width: 95%;
  object-fit: cover;
  display: none;
  visibility: visible;
  margin: 0;
}

.bound {
  animation: bound 3s infinite;
}

@keyframes bound {
    79%, 90%, 97%, 100% {
      -webkit-transform: translate(0);
      transform: translate(0);
  }
  85% {
      -webkit-transform: translateY(-20px);
      transform: translateY(-12px);
  }
  94% {
      -webkit-transform: translateY(-4px);
      transform: translateY(-6px);
  }
}

.btn-shiny {
  position: relative;
  overflow: hidden;
}

.btn-shiny::after {
  content: "";
  position: absolute;
  top: 25%;
  width: 130%;
  height: 60%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 60%);
  transition: all 0.5s ease;
  animation: shineEffect 5s infinite linear;
  opacity: 0;
}

/* 光がスライドするアニメーション */
@keyframes shineEffect {
  0% {
    left: -42%;
    opacity: 1;
  }
  80% {
    left: 50%;
    opacity: 0;
  }
}


/*FAQ*/

.qa {
  background-color: white;
}

.qa-contents{
  background-color: white;
  padding-top: 10px;
  padding-bottom: 1px;
}

.qa .answer {
  width: 80%;
  display: block;
  text-align: left;
  display: none;
  padding-bottom: 40px;
}

.qa .topqa {
  padding-top: 25px;
}

.qa h3 {
  color: #333;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  line-height: 190%;
}

.qa h3.question {
  width: 90%;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: solid 0.5px grey;
}

.qa .bottomaq {
  margin-bottom: 0px;
  border-bottom: solid 0px white !important;
}

@media(max-width:540px){
  .qa .answer {
    width: 80vw;
  }
}

/*フッター*/

.footer {
  background: #E07F79;
  padding: 40px 0 160px 0;
  position: relative;
  z-index: 2;
  max-width: 540px;
  margin: 0 auto;
}

.footer .links {
  padding-inline-start: 0px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  margin-bottom: 40px;
}

.footer li {
  list-style: none;
  padding: 4px;
}

.footer .links a {
  color: #fff;
  padding: 2px;
}

.footer .links a:hover {
  border-bottom: 1px solid white;
}

.footer p {
  color: #fff;
  font-size: 13px;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
}

@media screen and (max-width: 600px) {
  .footer .links {
    font-size: 13px;
  }
  .footer p {
    font-size: 12px;
  }
}

#scroll-top {
  position: relative;
  float: right;
  margin: -240px 40px 20px 0;
  width: 1px;
  height: 80px;
  background-color: #ccc;
  opacity: 1;
  z-index: 3;
}

#scroll-top a {
  font-size: 1.0rem!important;
  margin-top: 90px;
  white-space: nowrap;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  letter-spacing: 0;
  color: #777;
  display: block;
}

#scroll-top a:hover {
  text-decoration: none;
}

#scroll-top::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 1px;
  background-color: #e79f8b;
  animation-name: TopMove;
  animation-duration: 4s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

@keyframes TopMove {
  0% {
    bottom: 0;
    height: 0;
  }
  20% {
    bottom: 0;
    height: 0;
  }
  40% {
    bottom: 0;
    height: 80px;
  }
  100% {
    bottom: 80px;
    height: 0;
  }
}

@media (max-width: 1150px) {
  #scroll-top {
    float: none;
    margin: 60px auto 130px auto;
    width: 1px;
    height: 80px;
    background-color: #ccc;
    opacity: 1;
    z-index: 1;
  }
  #scroll-top a {
    padding-top: 100px;
    font-size: 0.8rem !important;
    white-space: nowrap;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    letter-spacing: 0.1em;
    margin-left: -32px;
  }
}

@media (max-width: 600px) {
  #scroll-top {
    margin: 40px auto 80px auto;
  }
}

.top-section {
  position: relative;
}

.body-section {
  margin-top: -140px;
}

.effect-fadein {
  opacity: 0;
  transition-duration: 1000ms;
  transition-property: opacity, transform;
}

.effect-fadein.effect-scroll {
  opacity: 1;
  transform: translate(0, 0);
  z-index: 2;
}

.fade-in-up {
  transform: translate(0, 15px);
}

.fade-in-down {
  transform: translate(0, -15px);
}

.fade-in-left {
  transform: translate(-20px, 0);
}

.fade-in-right {
  transform: translate(20px, 0);
}

.fade-in-stable {
  transform: translate(0, 0);
}

/* risk page */

.risk_box {
  height: 80px;
}

.risk_h3 {
  font-size: 1.1em;
  padding-bottom: 20px;
  border-bottom: solid 1px grey;
}

/* privacy page */

.pri_box {
  height: 80px;
}

.pri_h3 {
  font-size: 1.1em;
  padding-bottom: 20px;
  border-bottom: solid 1px grey;
}

.bg-container {
  height: 202vw;
}

.with-bg {
  position: relative;
  bottom: 202vw;
}

.bg-container-2 {
  height: 200vw;
}

.with-bg-2 {
  position: relative;
  bottom: 200vw;
}

.bg-container-3 {
  height: 1031vw;
}

.bg-container-4 {
  height: 287vw;
}

.with-bg-4 {
  position: relative;
  bottom: 287vw;
}

.bg-container-5 {
  height: 618vw;
}

.with-bg-5 {
  position: relative;
  bottom: 567vw;
}

.flow-button-1 {
  margin: 0 30px 0 30px;
  margin-top: -39vw;
}

.bg-container-6 {
  height: 507vw;
}

.with-bg-6 {
  position: relative;
  bottom: 520vw;
}

.plan-page .reflection{
  margin: 0 35px 0 35px;
  margin-top: -145vw;
}

.cta-btn {
  position: absolute;
  bottom: 1rem;
  text-align: center;
}

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

.step-slider {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap:7vw;
  padding-left: 20px;
  margin-right: -10px;
  margin-bottom: 24px;
  max-width: 100%;
}

@media (min-width: 540px) {
  .step-slider {
    gap: 36px;
  }
}

.active {
  color: #E07F79;
  transition: all .0.5s;
}

.step {
  text-align: center;
  flex: 1; /* 画像を均等に配置 */
  min-width: calc(25% - 10px); 
}

.step img{
  width: 120%;
  object-fit: contain; /* 画像の歪みを防ぐ */
}

.step-text {
  position: relative;
  font-family: "Montserrat";
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: 10px;
}


.step-text::after {
  content: "";
  position: absolute;
  background: #000;
  height: calc(tan(60deg)* 12px / 2);
  width: 8px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  top: 0.4rem;
  right: -1rem;
}

.line-gif{
  position: relative;
  bottom: 168vw;
}

.line-container{
  height: 492vw;
  text-align: center;
}

.cta-btn img {
  width: 100%;
}

.campaign-page, .top-page, .about-page, .campaign-middle, .price-page, .page-support, .conclusion-page{
  position: relative;
}

video {
  max-width: 750px;
}

.top-page {
  height: 130vw;
  background-image: url(../img/SP/fv-bg.jpg);
  background-size: cover;

}

@media (min-width: 540px ){
  .top-page {
  height: 700px;
}
}

.fv-copy {
  position: absolute;
  margin: 0 auto;
  right: 0;
  left: 0;
  top: 2em;
  width: 70%;
}

.fv-part {
  position: absolute;
  left: 0;
  width: 32%;
  bottom: 9em;
}

@media (min-width: 540px ){
  .fv-part {
  top: 18em;
}
}


.cp-head {
  position: absolute;
  bottom: 1em;
  left: 0;
  right: 0;
  margin: 0 auto;}

.story-page-2{
  height: 815vw;
}

.clinic-page .reflection {
  margin: 40px 20px 40px 20px;
}

.call-to-action-page {
  height: 170vw;
}

.call-to-action-page .reflection {
  margin: 0 20px 0 20px;
  position: relative;
  bottom: 35vw;
}

.brand-page-2 {
  height: 155vw;
}

.brand-page-2 .reflection {
  margin: 0 20px 0 20px;
  position: relative;
  bottom: 30vw;
}


@media (min-width: 540px) {
  .story-page-2{
    height: 4402px;
  }
  .line-gif{
    position: relative;
    bottom: 910px;
  }
  .line-container{
    height: 2659px;
    text-align: center;
  }
  .bg-container-3 {
    height: 5568px;
  }
  .bg-container-4 {
    height: 1554px;
  }
  .with-bg-4 {
    position: relative;
    bottom: 1554px;
  }
  .call-to-action-page {
    height: 918px;
  }
  .call-to-action-page .reflection {
    position: relative;
    bottom: 210px;
  }
  .plan-page .reflection{
    margin-top: -780px;
  }

  .flow-button-1 {
    margin-top: -210px;
  }
  .brand-page-2 {
    height: 839px;
  }
  .brand-page-2 .reflection {
    position: relative;
    bottom: 140px;
  }
}

/*slider*/

.row {
  display: -ms-grid;
  -ms-grid-columns: min-content;
}

.autoplay-slider {
  display: flex;
  min-width: 100%;
  width: min-content;
  animation: 20s linear infinite sliderAnimation;
}

.slide {
  width: 400px;
  height: auto;
  margin: 20px;
  position: relative;
}

@keyframes sliderAnimation {
  100% {
    transform: translateX(-50%);
  }
}

/*Selector*/

/*タブ切り替え全体のスタイル*/

.tabs {
  margin-top: 50px;
  padding-left: 4vw;
  padding-right: 4vw;
  background-color: #fff;
  width: 100vw;
  margin: 0 auto;
  margin: 20px 0 40px;
}

@media (min-width: 600px) {
  .tabs {
    width: 540px;
  }
}
/*タブのスタイル*/

.tab_item {
  position: relative;
  width: calc(100%/3 - 10px);
  height: 50px;
  border: 1px solid #E07A74;
  background-color: #ffffff;
  line-height: 50px;
  font-size: 14px;
  text-align: center;
  color: #E07A74;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  margin: 5px;
  padding-right: 12px;
  border-radius: 50px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}


.arrow{
  position: absolute;
  top: 50%;
  right: 20%;
  display: inline-block;
  margin: 0 0 4px 5px;
  width: 9px;
  height: 1px;
  border-top: 2px solid #E07A74;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.arrow::after {
  content: "";
  position: absolute;
  top: -9px;
  right: 0px;
  display: block;
  width: 8px;
  height: 9px;
  border-right: 2px solid #E07A74;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}


.tab_item:hover {
  opacity: 0.75;
}

.coming{
  font-size: 11px;
}
/*ラジオボタンを全て消す*/

input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/

.tab_content {
  display: none;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/

#all:checked~#all_content, #tokyo:checked~#tokyo_content, #saitama:checked~#saitama_content, #chiba:checked~#chiba_content, #aomori:checked~#aomori_content, #iwate:checked~#iwate_content, #yamagata:checked~#yamagata_content, #tochigi:checked~#tochigi_content, #yamanashi:checked~#yamanashi_content, #kyoto:checked~#kyoto_content, #shizuoka:checked~#shizuoka_content, #hokkaido:checked~#hokkaido_content, #gunma:checked~#gunma_content {
  display: block;
}

#gifu:checked~#gifu_content, #nigata:checked~#nigata_content, #osaka:checked~#osaka_content, #wakayama:checked~#wakayama_content, #okayama:checked~#okayama_content, #kochi:checked~#kochi_content, #kagoshima:checked~#kagoshima_content,  #okinawa:checked~#okinawa_content, #aichi:checked~#aichi_content, #kanagawa:checked~#kanagawa_content, #fukuoka:checked~#fukuoka_content, #hiroshima:checked~#hiroshima_content, #hyogo:checked~#hyogo_content, #saga:checked~#saga_content {
  display: block;
}
/*選択されているタブのスタイルを変える*/

.tabs input:checked+.tab_item {
  background-color: #E07A74;
  color: #fff;
}

.tabs input:checked+.tab_item .arrow {
  border-top: 2px solid white;
}

.tabs input:checked+.tab_item .arrow::after {
  border-right: 2px solid white;
}

.clinic-box {
  height: 30vw;
  display: flex;
  align-items: center;
  border: 1px solid #D9DBE0;
  margin-top: 20px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

.clinic-box img {
  height: 100%;
}

.clinic-content {
  width: 50%;
  padding: 10px;
  letter-spacing: 0.8px;
  font-size: 9.5px;
}

@media (min-width: 600px) {
  .clinic-content {
    font-size: 13px;
    padding: 13px;
  }
  .clinic-box {
    height: 140px;
  }
}

.clinic-content .content-title {
  color: #E5A5A1;
  font-weight: 600;
  text-align: center;
}

.clinic-content .content-loc {
  color: #4D4D4D;
  padding-top: 5px;
  text-align: center;
}

.clinic-content .content-reservation {
  color: white;
  background-color: #F29B87;
  text-align: center;
  padding: 7px 15px;
  margin: 0 auto;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
  width: fit-content;
}

.clinic-content .nagareyama-reservation {
  margin-top: 8px;
  height: 22px;
  text-align: center;
}

.clinic-content .content-next {
  text-align: center;
  padding: 5px;
  font-weight: 600;
}

.clinic-content .nagareyama-next {
  padding: 2px;
}

.clinic-content .content-next a {
  color: #F29B87;
}

@media (max-width: 320px) {
  .clinic-content .content-reservation {
    margin-top: 10px;
  }
  .clinic-content .content-reservation a {
    padding: 5px;
  }
  .clinic-content {
    font-size: 8.5px;
  }
  .clinic-content .content-next {
    padding: 0;
  }
}

/*モーダル*/

.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
}

.modal__bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modal__content {
  font-size: 15px;
  background: #fff;
  padding-bottom: 20px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  letter-spacing: 1px;
}

@media (min-width: 600px) {
  .modal__content {
    width: 540px;
  }
}

.modal__content .reflection {
  margin-bottom: 20px;
}

.mordal-close {
  text-align: right;
  margin: 0 18px 0 0;
  font-size: 30px;
}

.mordal-close a {
  color: #565656;
}

.mordal-h1 {
  margin-top: 10px;
  margin-left: 7%;
  margin-right: 7%;
  font-weight: 600;
}

.mordal-h3 {
  text-align: left;
  margin-left: 7%;
  margin-right: 7%;
}

.mordal-p {
  text-align: left;
  margin-left: 7%;
  margin-right: 7%;
  font-size: 13px;
}

.modal-divider {
  height: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 7%;
  margin-right: 7%;
  border-bottom: 1px solid #A5A6AA;
}

.modal-reservation {
  margin-top: 20px;
  height: 60px;
  text-align: center;
}

.modal-reservation a {
  color: white;
  line-height: 60px;
  background-color: #F29B87;
  padding: 6% 12%;
}

/*もっとみる*/

.txt-hide {
  display: none;
}

button.more {
  letter-spacing: 1px;
  font-size: 12px;
  width: 150px;
  margin: 20px auto;
  margin-top: 30px;
  display: block;
  background-color: #666;
  color: #fff;
  padding: 10px 15px;
  border: none;
  outline: 0;
  transition: .5s;
  -erbkit-transition: .5s;
}

button.more::after {
  content: "＋さらに表示";
  transition: .2s;
  -erbkit-transition: .2s;
}

button.more.on-click::after {
  content: "閉じる";
}

/*Slide*/
.loop_wrap {
  display: flex;
  width: 100vw;
  height: 150px;
  overflow: hidden;
}
.loop_wrap img {
  width: auto;
  height: 100%;
}
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.loop_wrap img:first-child {
  animation: loop 51s -25s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 51s linear infinite;
}
@media (min-width: 540px) {
  .loop_wrap {
    width: 540px;
  }
}

.case-page {
  padding-bottom: 24px;
}

.tab-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2px;
  max-width: 500px;
  padding: 20px;
  align-items: flex-end;
  margin: 0 auto;
}

.tab-2 > label {
  flex: 1 1;
  order: -1;
  min-width: 70px;
  padding: 0.4em 1em;
  border-radius: 10px 10px 0 0;
  background-color: #767676;
  color: #fff;
  font-size: 1em;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.tab-2 > label:hover {
  padding: 0.6em 1em;
}

.tab-2 input {
  display: none;
}

.tab-2 > div {
  display: none;
  width: 100%;
  padding: 1.5rem 1.5rem;
  background-color: #F2F8FB;
  border-radius: 0 0 20px 20px;
}

.tab-2 label:has(:checked) {
  background-color: #29093B;
  padding: 0.6em 1em;
}

.tab-2 label:has(:checked) + div {
  display: block;
}

.case-plan {
  position: absolute;
  left: 0;
  right: 0;
  top: -1.2em;
  margin: 0 auto;
  font-weight: bolder;
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 1em;
  padding: 0 20px;
  background-color: #E07A74;
  color: white;
  border-radius: 100px;
  width: fit-content;
}

.case-plan .plan-span {
  margin-left: 4px;
  font-size: 1.8em;
}

.case-gif{
  width: 100%;
  margin-bottom: 20px;
}

.case-img {
  display: flex;
  align-items: center;
  gap: .4em;
  text-align: center;
}

.case-img .item-text {
  font-weight: bold;
  letter-spacing: 0.1em;
}

.case-img .item-img {
  margin: 6px auto;
  border-radius: 10px;
}

.case-img .triangle-right {
  content: "";
  background: #000;
  height: calc(tan(60deg)* 16px / 2);
  width: 32px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  margin-left: .1em;
  margin-top: 2em;
}

.case-img .triangle-2 {
  margin-top: 0;
}

.case-item {
  position: relative;
  margin: 20px auto;
  background: white;
  border-radius: 20px;
  padding: 40px 20px 1px 20px;
}

.case-item p {
  font-size: 12px;
  letter-spacing: 0.1;
}

.readmore {
  position: relative;
  margin: 10px auto;
  padding: 0 0 50px;
}

.readmore label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 200px;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  border-radius: 50px;
  background-color: #6C6C6C;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}

.readmore label::before{
  content: '症例をもっと見る';
}

.readmore input[type="checkbox"]:checked ~ label::before {
  content: '症例を閉じる';
}

.readmore input[type="checkbox"]{
  display: none;
}

.readmore-content {
  position: relative;
  height: 0px;
  overflow: hidden;
  margin-top: 34px;
}

.readmore input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}

.readmore-content .case-item {
  margin-bottom:52px;
}

.voice-container {
  background-color: #F6EBEA;
}

.voice-items {
  padding-left: 0;
}

.voice-item img {
    width: 100vw;
    padding: 20px;
}

.voice-item {
  text-align: center;
}

@media (min-width: 540px) {
  .voice-item img {
    width: 90%;
}

  .voice-item {
    width: 750px;
  }
}

.voice-container .slick-dotted.slick-slider {
    margin-bottom: 10px;
    background-color: #F6EBEA;
}

.voice-container .slick-dots {
  background-color: #F6EBEA;
}

.voice-container .slick-prev,.voice-container  .slick-next {
  width: 40px;
}

.voice-container .slick-prev:before,.voice-container .slick-next:before {
    font-size: 30px;
    opacity: 0.5;
    color: #707070;
}

.dm-body {
  position: relative;
  text-align: center;
  background-color: #E07A74;
  padding: 0 10px 10px 10px;
}

.dm-body::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #E07A74;
  width: 80px;
  height: calc(tan(60deg) * 60px / 2);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 1;
}

.dm-body video {
  border-radius: 10px 10px 0 0;
}

.dm-body img {
  border-radius: 0 0 10px 10px;
}

.app-gif {
  max-width: 100vw;
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  text-align: center;
  bottom: 68vw;
}

.app-gif img {
  width: 52vw
}

@media (min-width: 540px) {
  .app-gif {
    bottom: 364px;
  }

  .app-gif img {
    width: 280px;
  }
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: absolute;
  top: 4em;
}

.marquee {
  display: flex;
  animation: scroll-loop 30s linear infinite;
  width: max-content;
}

.marquee img {
  height: 20px; 
  display: block;
}
  
@keyframes scroll-loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (min-width: 540px) {
  .marquee-wrapper {
    top: 5em;
  }

  .marquee img {
    height: 30px;  
  }
}