@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
.sp{
  display: none;
}
.pc{
  display: block;
}
@media (max-width: 580px) {
  .sp{
    display: block;
  }
  .pc{
    display: none;
  }
}

/****** MV ******/

.lp-wrapper {
  background: #f7f7f7;
  margin-top: 30px;
  position: relative;
  &:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 18px;
    background-color: #fff;
    top:-18px;
    z-index: 2;
  }
  &:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 18px;
    background-color: #fff;
    bottom:-18px;
    z-index: 2;
  }
}
.lp-content {
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0px 0px 18px #00000029;
  overflow: hidden;
  background-color: #fff;
}
.head-txt {
  font-size: 41px;
  color: #000;
  text-align: center;
  font-weight: bold;
}
.title-wrap {
  position: relative;
  max-width: 78.46%;
  margin: 0 auto;
  padding-top: 1.2%;
  z-index: 2;
  h1 {
    position: relative;
    font-size: 41px;
    color: #fff;
    text-align: center;
    margin: 0;
  }
  img {
    position: absolute;
    top: 0;
    left: 0;
  }
}
.mv {
  margin-top: -4.5%;
  position: relative;
  .mv-phone {
    --float-y: 0px; 
    transform: translateY(var(--float-y)) scale(0.5);
    opacity: 0;
    position: absolute;
    right: 0;
    left: 0;
    top: 14%;
    margin: 0 auto;
    will-change: transform;
    transition: opacity 0.5s ease; /
  }
}
.mv-phone.animate {
  transform: translateY(var(--float-y)) scale(1);
  opacity: 1;
}
.inner{
  padding: 0 32px;
}
@media (max-width: 780px) {
  .lp-wrapper {
    margin-top: 0;
    &:before{
      content:none;
    }
    &:after{
      content:none;
    }
  }
  .lp-content {
    box-shadow:none;
  }
  .head-txt {
    font-size:5.26vw;
  }
  .title-wrap {
    h1 {
      font-size: 5.26vw;
    }
  }
  .mv {
    .mv-phone {
      width: 19.23%;
    }
  }
}
@media (max-width: 580px) {
  .inner{
    padding: 0 16px;
  }
}

/****** 気になるクリニックをタップ ******/

.clinic-list{
  background-color: #EEE1C6;
  padding-bottom: 33.3%;
  .title-wrap {
    position: relative;
    max-width: 78.46%;
    margin: 0 auto;
    padding-top: 19px;
    z-index: 1;
    margin-top: -6%;
    h2 {
      position: relative;
      font-size: 31px;
      color: #000;
      text-align: center;
      margin: 0;
    }
    img {
      position: absolute;
      top: 0;
      left: 0;
    }
  }
  .inner{
    padding-top: 7%;
  }
  .toggle {
    display: none;
  }
  .option {
    position: relative;
    margin-bottom: 1em;
    background-color: #fff;
    border-bottom: 5px #8F7535 solid;
  }
  .title,
  .content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
  }
  .title {
    display: block;
    color: #333;
    font-weight: bold;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    img{
      max-width: 359px;
    }
  }
  .title::after,
  .title::before {
    content: "";
    position: absolute;
    right: 5%;
    top: 43%;
    width: 3px;
    height: 18px;
    background-color: #BE9B46;
    transition: all 0.3s;
  }
  .title::after {
    transform: rotate(90deg);
  }
  .content {
    max-height: 0;
    overflow: hidden;
    padding: 0 11.1% 0 11.1%;
  }
  .content p {
    margin: 0;
    line-height: 1.5;
  }
  .toggle:checked + .title + .content {
    max-height: 1500px;
    transition: all 0.5s;
  }
  .toggle:checked + .title::before {
    transform: rotate(135deg) !important;
  }
  .toggle:checked + .title::after {
    transform: rotate(225deg) !important;
  }
  ul{
    margin-bottom: 5%;
    li{
      font-size: 20px;
      background-color: #F2F2F2;
      padding: 1rem;
      text-align: center;
      font-family: "Noto Serif JP", serif;
      font-weight: 600;
      margin-bottom: 5px;
    }
  }
  .precaution{
    font-size: 12px;
  }
}
.clinic-list-ttl {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #4C4C4C;
  margin: 0;
  margin-bottom: 2%;
}
.clinic-list-ttl:before,
.clinic-list-ttl:after {
  content: "";
  height: 1px;
  border-top: 1px dotted #BE9B46;
  flex-grow: 1;
}
.clinic-list-ttl:before {
  margin-right: 2rem;
}
.clinic-list-ttl:after {
  margin-left: 2rem;
}
.clinic-list-copy{
  font-size: 30px;
  line-height: 1.5;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #BE9B46;
  margin: 0;
  margin-bottom: 2%;
}
p.clinic-list-txt{
  font-size: 20px;
  color: #4C4C4C;
}
.clinic-point{
  margin: 5% 0;
  .clinic-point-list{
    display: flex;
    gap: 5.39%;
    align-items: center;
    font-size: 24px;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    color: #BE9B46;
    img{
      width: 43.16%;
    }
    &:first-child{
      margin-bottom: 2.5%;
    }
  }
}
.option-inner{
  padding: 0;
  &.last{
    padding-bottom: 5%;
  }
}
.aga .option-inner.last{
  padding-bottom: 10%;
}
.aga-img{
  margin-top: 4%;
}
@media (max-width: 780px) {
  .clinic-list{
    .title-wrap {
      padding-top: 2.4%;
      h2 {
        font-size: 3.97vw;
      }
    }
  }
  .clinic-list-copy{
    font-size: 3.85vw;
  }
  .clinic-point{
    .clinic-point-list{
      font-size: 3.08vw;
    }
  }
}
@media (max-width: 580px) {
  .clinic-list{
    .title {
      height: 95px;
      img{
        max-width: 73.33%;
      }
    }
    .content {
      padding: 0 ;
    }
    ul{
      li{
        font-size: 16px;
      }
    }
  }
  .option-inner{
    padding: 0 4.1%;
  }
  .clinic-list-ttl {
    font-size: 14px;
  }
  .clinic-list-copy{
    font-size: 21px;
  }
  p.clinic-list-txt{
    font-size: 16px;;
  }
  .clinic-point{
    .clinic-point-list{
      font-size: 16px;
    }
  }
}

/****** 特典 ******/
.tokuten{
  .tokuten-img01{
    text-align: center;
    margin-top: -19%;
    img{
      width:54.35% ;
    }
  }
  h2{
    font-size: 48px;
    text-align: center;
    color: #BE9B46;
    line-height: 1.5;
  }
  .title-wrap {
    position: relative;
    max-width:inherit;
    padding-top: 1.5%;
    z-index: 1;
    margin-bottom: 3%;
    h3 {
      position: relative;
      font-size: 40px;
      color: #fff;
      text-align: center;
      margin: 0;
    }
    img {
      position: absolute;
      top: 0;
      left: 0;
    }
  }
}
.tokuten-img02{
  margin-bottom: 11%;
}
.tokuten-list{
  border: 3px #BE9B46 solid;
  padding-bottom: 5.87%;
  font-size: 32px;
  text-align: center;
  margin-bottom: 8%;
  h3{
    font-size: 32px;
    color: #fff;
    background-image: url("../img/tokuten_list_ttl.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    height: 30%;
    margin: 0 auto;
    text-align: center;
    margin-top: -4.3%;
    margin-bottom: 3%;
  }
  p{
    color: #4C4C4C;
    line-height: 1.5;
    b{
      color: #BE9B46;
    }
  }
  &.last{
    margin-bottom: 4%;
  }
}
.precaution{
  font-size: 16px;
  letter-spacing: 0.1em;
  padding-left: 2.8em;
  text-indent: -2.8em;
}
.bnr-line{
  margin-top: 6%;
  a{
    transition : all 0.3s;
    &:hover{
      opacity: 0.7;
    }
  }
}
.referral-fixed-btn{
  display: flex;
  position: sticky;
  width: 100%;
  bottom: 0;
  height: 60px;
  background-color: #000;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  transition : all 0.3s ease 0s;
  z-index: 2;
  img{
    margin-right: 0.5em;
  }
  &:hover{
    opacity: 0.7;
    text-decoration: none;
    color: #fff;
  }
}

@media (max-width: 780px) {
  .tokuten{
    h2{
      font-size: 6.15vw
    }
    .title-wrap {
      h3 {
        font-size: 5.13vw;
      }
    }
  }
  .tokuten-list{
    font-size: 4.10vw;
    h3{
      font-size: 4.10vw;
      width: 200px;
    }
  }
}
@media (max-width: 580px) {
  .tokuten{
    h2{
      font-size: 24px
    }
    .tokuten-img01{
      img{
        width:66.15% ;
      }
    }
  }
  .precaution{
    font-size: 12px;
  }
}

/****** フォーム ******/

.domain-check{
  border: 1px #900A1E solid;
  padding: 20px;
  font-size: 16px;
  color: #900A1E;
  margin-bottom: 2em;
  p{
    text-align: center;
    margin: 0.8em auto 0;
    span{
      background-color: #EBB2A7;
      border-radius: 5px;
      padding: 0.2em 0.5em;
    }
  }
}
.wpcf7-form{
  label{
    margin-bottom:1em;
    display: block;
    b{
    font-size: 16px;
    font-weight: bold;
    color: #BE9B46;
    }
    span.required{
      font-weight: normal;
      background-color:#BE9B46;
      color: #fff;
      font-size: 14px;
      padding: 0 0.4em;
      border-radius: 3px;
    }
  }
  span.note{
    font-size: 14px;
    font-weight: normal;
    color: #4C4C4C;
  }
  select,
  input{
    font-size: 14px;
    margin: 7px 0 4px;
    height: 40px;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
   }
   textarea{
    font-size: 14px;
   }
   .wpcf7-not-valid-tip{
    font-size: 14px;
   }
   .wpcf7-form-control-wrap {
    position: relative;
    display: block;
  }
  [data-name="brand"],
  [data-name="area"],
  [data-name="clinic"],
  [data-name="time"],
  [data-name="minutes"],
  [data-name="time2"],
  [data-name="minutes2"],
  [data-name="time3"],
  [data-name="minutes3"]{
    &:after{
      content:"";
      position: absolute;
      top: 21px;
      right: 16px;
      width: 7px;
      height: 7px;
      border-right: 2px solid #4C4C4C;
      border-bottom: 2px solid #4C4C4C;
      transform: rotate(45deg);  
      pointer-events: none;
    }
  }
  .wpcf7-date {
    position: relative;
    line-height: 32px;
    width: 100%;
    padding: 0 24px 0 12px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fff;
    &::-webkit-calendar-picker-indicator {
       width: 100%;
       height: 100%;
       padding: 0;
       margin: 0;
       opacity: 0;
       position: absolute;
       top: 0;
       left: 0;
    }
    &::after {
       content: url('../img/icon_cal.svg');
       display: block;
       width: 12px;
       height: 13.3px;
       position: absolute;
       top: 5px;
       right: 14px;
       pointer-events: none;
    }
    &.is-empty {
       color: #757575;
    }
  }
 .wpcf7-not-valid-tip {
    margin-bottom: 0;
  }
  .wpcf7-submit{
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #BE9B46;
    border-radius: 5px;
    border: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 rgba(147,113,53,1);
    transition: 0.3s ease;
    cursor: pointer;
    &:hover{
      box-shadow: none;
      transform:translate(0,4px);
    }
  }
  .wpcf7-previous{
    font-size: 14px;
    width: 80%;
    margin: 2em auto 0;
    background-color: #CBCBCB;
    border-radius: 5px;
    border: none;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 rgba(154,154,154,1);
    transition: 0.3s ease;
    cursor: pointer;
    &:hover{
      box-shadow: none;
      transform:translate(0,4px);
    }
  }
  .form-item{
    font-size: 16px;
    font-weight: bold;
    color: #BE9B46;
  }
}
.wpcf7 form .wpcf7-response-output{
  margin: 0;
  border: none;
  background-color:#EBB2A7 ;
  border-radius: 5px;
  color: #900A1E;
  margin-bottom: 2em;
}
.form .wpcf7-form{
  br{
    display: none;
  }
}
.thanks-wrap{
  width: calc(100% + 64px);
  box-sizing: border-box;
  margin-left: -32px;
  background-color: #FFFAED;
  padding: 1.5em 32px 0.5em;
  p{
    margin-bottom: 1em;
  }
}
.btn-form {
  padding: 1.5em 0;
  a{
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #BE9B46;
    border-radius: 5px;
    border: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 0 rgba(147,113,53,1);
    transition: 0.3s ease;
    &:hover{
      box-shadow: none;
      transform:translate(0,4px);
    }
  }
}

.privacy-box{
  width: 100%;
  height: 300px;
  overflow-y:scroll;
  line-height: 32px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #D8D8D8;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
  font-size: 14px;
  font-size: 1.4rem;
  @media (max-width: 780px) {
    font-size: 12px;
    font-size: 1.2rem;  
  }
  @media (max-width: 580px) {
    height: 200px;
  }
  h1{
    font-size: 18px;
  }
  h2{
    font-size: 16px;
  }
  p{
    line-height: 1.3;
    margin-bottom: 1em;
  }
  br{
    display: block !important;
  }

  .policy-table {
    width: 100%;
    overflow-x: auto; /* 横スクロールを有効に */
    -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
    margin: 0 0 1.5em;
  }
  .policy-table table {
    border-collapse: collapse;
    width: 100%;
    min-width: 800px; /* スクロールが出るように最小幅を確保 */
    line-height: 1.6;
    border: 1px solid #ddd;
  }
  .policy-table thead th {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap; /* ヘッダーの折り返し防止 */
    font-weight: bold;
  }
  .policy-table tbody td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    vertical-align: top;
    background: #fff;
  }
  a {
    color: #0073aa;
    text-decoration: underline;
    word-break: break-all; 
  }
  @media screen and (max-width: 768px) {
    .policy-table table {
      min-width: 600px;
    }
    .policy-table thead th,
    .policy-table tbody td {
      padding: 8px 10px;
    }
  }
}


.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbb68a;
  border-radius: 4px;
  padding: 10px 20px;
  width: fit-content;
  margin: 0 auto;
  background-color: #fff;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  @media (max-width: 580px) {
    width: 100%;
    box-sizing: border-box;
  }
}
.form-privacy .wpcf7-list-item {
  margin: 0;
}
.form-privacy label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 0;
}
.wpcf7-form .form-privacy input[type="checkbox"] {
  appearance: none; 
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #f2f2f2;
  margin-right: 8px;
  position: relative;
  transition: all 0.2s ease;
  -webkit-appearance: inherit;
  appearance: inherit;
}
.form-privacy input[type="checkbox"]:hover {
  background-color: #e8e8e8;
}
.form-privacy input[type="checkbox"]:checked {
  background-color: #cbb68a;
  border-color: #cbb68a;
}
.form-privacy input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.form-privacy .wpcf7-list-item-label {
  font-size: 16px;
}

/* 無効化時のボタン */
input[type="submit"].is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none; /* クリック無効 */
  background-color: #ccc; /* 任意：グレーに */
  color: #666;
  box-shadow: 0 4px 0 rgb(94, 94, 94);
  transition: all 0.3s ease;
}


@media (max-width: 580px) {
  .wpcf7-form{
    label{
      font-size: 16px;
      span.required{
        font-size: 14px;
      }
    }
    select,
    input{
      font-size: 12px;
     }
     textarea{
      font-size: 12px;
     }
     .wpcf7-not-valid-tip{
      font-size: 12px;
     }
     span.note{
      font-size: 12px;
    }
  }
  .thanks-wrap{
    width: calc(100% + 32px);
    margin-left: -16px;
    padding: 1.5em 16px 0.5em;
  }
}

/* モーダル */
.modal-wrap{
  display: flex;
  gap: 0.5%;
  margin-top: 0.3em;
  button{
    border: 2px solid #BE9B46;
    color: #4C4C4C;
    background-color: #fff;
    border-radius: 0;
    transition: 0.3s ease;
    font-size: 16px;
    height: 50px;
    &:hover{
      background-color: #EEE1C6;
    }
    &::after, &::before {
      content: "";
      position: absolute;
      right: 7%;
      top: 36%;
      width: 2px;
      height: 14px;
      background-color: #BE9B46;
      transition: all 0.3s;
    }
    &::after{
      transform: rotate(90deg);
    }
  }
}
.modal-open{
  font-size: 16px;
  font-weight: bold;
  width: 300px;
  height: 60px;
  border: none;
  cursor: pointer;
}
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); 
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  z-index: 1000; 
}
.modal.is-active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  background: #fff; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  height: auto;
}
.modal--close {
  background: none;
  position: inherit;
  transition: all 0.3s;
  &.side{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    img{
      box-shadow: 0px 3px 6px #00000029;
    }
    }
    &.bottom{
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      width: 180px;
      margin: 0 auto;
      color: #4C4C4C;
      font-weight: bold;
      font-size: 18px;
      img{
        margin-right: 12px;
      }
    }
    &:hover{
      opacity: 0.7;
    }
}
.modal-content {
  text-align: left;
  padding-bottom: 4%;
  h3{
    background-color: #004074;
    color: #fff;
    font-size: 16px;
    margin: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 5px 0 0;
    &.ladies{
      background-color: #8D0007;
    }
  }
  .modal-content-explan{
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 4% 4% 0 4%;
    .explan-img{
      width: 20%;
      img{
        margin-bottom: 10px;
      }
    }
    .explan-txt{
      width: 75%;
      line-height: 1.5;
      p{
        margin-top: 0;
      }
    }
  }
}
.modal-content p {
  margin: 1em 0;
}
@media (max-width: 580px) {
  .modal {
    padding: 40px 28px;
  }
  .modal-wrap {
    button {
      font-size: 12px;
      height: 36px;
      line-height: 30px;
      &::after, &::before {
        right: 7%;
        top: 33%;
        width: 2px;
        height: 12px;
      }
    }
  }
  .modal-content {
    h3{
      font-size: 12px;
    }
    & .modal-content-explan {
      .explan-txt {
        font-size: 12px;
          width: 71%;
      }
      .explan-img {
        width: 25%;
      }
    }
  }
  .modal--close {
    &.side{
    }
    &.bottom{
      font-size: 16px;
    }
  }
}