/* デフォルトのスタイル（320px用） */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: '游ゴシック', 'Yu Gothic', sans-serif;
  background: linear-gradient(to bottom, #efdfea, #cfdfef);
  ;
  font-size: 16px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  display: block;
  text-align: center;
  text-decoration: none;
}

li {
  list-style: none;
}

.cv_pc {
  display: none;
}

.cv_sp {
  display: block;
}

.cv_sp.cv_fixed {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  z-index: 99;
}

.container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background-color: linear-gradient(to bottom, #d8e1ea, #cfdfef) ;
  /* background: linear-gradient(to bottom, #d8e1ea, #cfdfef); */
  filter: drop-shadow(0 0 5px #0000001a);
}

header {
  width: 100%;
  background: #fff;
}

.logo {
  width: 100%;
  padding: 30px 25px 25px;
}

.logo img {
  margin: 0 auto;
}

.bg_01 {
  background-image: url(../img/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg_02 {
  background-image: url(../img/bg_parts03.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.mv {
  position: relative;
  height: 580px;
  overflow: hidden;
}

.mv::after {
  content: "";
  display: block;
  background-image: url(../img/bg_parts03.png);
  position: absolute;
  width: 100%;
  padding-bottom: 400px;
  top: 0;
}

.js-slideup,
.js-fadein {
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: opacity .8s, visibility .5s, transform 1s;
}

.js-slideup.scroll,
.js-fadein.scroll {
  visibility: visible;
  transform: translateY(0px);
  opacity: 1;
}

.mv_ttl {
  position: absolute;
  top: 30px;
  left: 0;
  padding: 0 30px;
  z-index: 5;
  text-align: center;
}

.mv_ttl img:first-child {
  width: 78%;
  padding-bottom: 5px;
}

.mv.bg_01 {
  max-width: 500px;
  margin: 0 auto;
}
.mv .bg_02 {
  height: 580px;
}

.mv .bg_02::before {
  position: absolute;
  content: "";
  background-image: url(../img/bg_parts01.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  display: block;
  transform: rotate(180deg);
  width: 100%;
  /* background-color: #443a3b; */
  padding-bottom: 100%;
  right: 13%;
  top: -16%;
  z-index: 2;
}

/* .mv .bg_02::after {
  position: absolute;
  content: "";
  background-image: url(../img/bg_parts01.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 100%;
  padding-bottom: 100%;
  right: -10%;
  bottom: -17%;
  z-index: 6;
} */


.mv_img {
  position: absolute;
  top: 24%;
  right: 0;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.mv_img img {
  width: 81%;
  margin-right: 0;
  margin-left: auto;
}

.mv_img::before {
  position: absolute;
  content: "";
  background-image: url(../img/bg_parts01.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 100%;
  padding-bottom: 100%;
  right: 0;
  bottom: -49%;
  z-index: 6;
}

.mv_tx {
  position: absolute;
  content: "";
  /* background-image: url(../img/mv_tx.png);
  background-size: contain;
  background-repeat: no-repeat; */
  position: absolute;
  width: 82%;
  padding-bottom: 100%;
  left: 7%;
  top: 66%;
  z-index: 10;
}

.mv_tx.js-slideup.scroll {
  transition-delay: 0.3s;
}

.subttl {
  text-align: center;
}

.inner {
  padding: 0 15px;
  margin: 0 auto;
}

.services {
  display: flex;
  padding: 0 5px 50px;
}

.services img {
  width: 100%;
  padding-top: 10px;
}

.services_R,
.services_L {
  width: 50%;
}

.services_R {
  padding-top: 15%;
}

.services_w {
  position: relative;
}

.services_w::after {
  content: "※平日18時までのご予約が対象";
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 8px;
}

.services_R .services_item.js-slideup.scroll:nth-child(1) {
  transition-delay: 0.3s;
}

.services_R .services_item.js-slideup.scroll:nth-child(2) {
  transition-delay: 0.9s;
}

.services_R .services_item.js-slideup.scroll:nth-child(3) {
  transition-delay: 1.5s;
}

.services_L .services_item.js-slideup.scroll:nth-child(1) {
  transition-delay: 0.0s;
}

.services_L .services_item.js-slideup.scroll:nth-child(2) {
  transition-delay: 0.6s;
}

.services_L .services_item.js-slideup.scroll:nth-child(3) {
  transition-delay: 1.2s;
}

.clinic {
  padding: 0 0 80px;
}

h3 {
  font-family: '游明朝', 'Yu Mincho', serif;
  text-align: center;
  font-size: 24px;
  color: #253c8a;
  padding-bottom: 30px;
}

.clinic_map {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
}

.clinic_map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.clinic_map::before {
  content: "";
  display: block;
  padding-bottom: 120%;
  /* 5:6のアスペクト比 (6 ÷ 5 × 100 = 120%) */
}

iframe {
  max-width: 100%;
  display: block;
}

.clinic_info {
  background-color: #fff;
  padding: 30px 20px;
}

.clinic_info h3 {
  color: #443a3b;
  font-weight: normal;
  font-feature-settings: "palt" 1;
}

.clinic_info>p {
  padding-bottom: 20px;
  line-height: 26px;
}

.icon::before {
  content: "";
  background-image: url(../img/icon.png);
  display: inline-block;
  width: 7px;
  height: 11px;
  background-size: contain;
  margin-right: 10px;
}

/* フォーム全体のスタイル */
.form {
  padding-top: 130px;
  background-image: linear-gradient(#efdfeabf, #cfdfefb5),url(../img/bg.jpg);
  background-size: cover;
  padding: 80px 0 60px;
}

.form-content {
  margin: 0 auto;
  font-family: '游ゴシック', 'Yu Gothic', sans-serif;
  /* font-size: 20px; */
}


.form-content .form-item {
  margin-bottom: 1.5em;
}

.form-content .form-item dt {
  display: block;
  /* font-size: 22px; */
  margin-bottom: 5px;
  color: #443a3b;
  padding-left: 10px;
  display: flex;
  align-items: center;
}

.form-content .form-item dd .day li:first-of-type{
  margin-bottom: .5em;
}

.form-content .form-item dd .day li span[data-name^="date-hope"]{
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.form-content .form-item dd .day li span[data-name^="date-hope"]::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid #253c8a;
  right: 20px;
  top: 20px;
  /* transform: translateY(-80%); */
}

.cautionary{
  color: #f10208;
  font-size: .75em;
  text-align: center;
}

.tx-s {
  font-size: 80%;
}

.tx-r {
  color: #f10208;
  font-size: 12px;
  font-weight: bold;
  margin-left: 5px;
}

/* 入力フィールドのスタイル */
.form-content .form-item input[type="text"],
.form-content .form-item input[type="email"],
.form-content .form-item input[type="tel"],
.form-content .form-item input[type="date"],
.form-content .form-item textarea,
.form-content .form-item select {
  width: 100%;
  padding: 10px;
  /* appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none; */
  border: none;
  filter: drop-shadow(0 0 5px #0000001a);
  /* margin-bottom: 15px; */
  box-sizing: border-box;
  box-shadow: 0 0 10px 0px #c1c1c178;
  font-family: '游ゴシック', 'Yu Gothic', sans-serif;
  color: #686868;
  font-size: 16px;
  background: #fff;
  border-radius: 5px;
  line-height: 1.6;
}
.form-content .form-item input[name="wedding-date"]{
  appearance:inherit;
}
:focus{
  outline: none;
  box-shadow: 0px 0px 3px 0px #a8a8a8;
  border: 1px solid #a8a8a8;
}

.form-content textarea{
  height: 20vh;
}

.form-content .treatment_box {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #fff;
}

.form-content .treatment_box .wpcf7-list-item {
  width: 100%;
  display: block;
  margin-bottom: .25em;
  color: #443a3b;
  padding: 5px 0;
}

.form-content .treatment_box .wpcf7-list-item label{
  display: flex;
  align-items: center;
}

.form-content .wpcf7-not-valid-tip{
  font-size: .75em;
}
.form-content a{
  display: inline;
}

.form-content input[type="checkbox"] {
  appearance: none;
  /* デフォルトのチェックボックススタイルをリセット */
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-right: 10px;
  width: 13px;
  height: 13px;
  border: 1px solid #cbcbcb;
  background-color: #fff;
  /* 背景色を白に設定 */
  cursor: pointer;
  position: relative;
  border-radius : 0;
}

.form-content input[type="checkbox"]:checked {
  background-color: #253c8a;
  /* チェック時の背景色 */
  border-color: #253c8a;
  /* チェック時の枠線色 */
}

.form-content input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 3px;
  width: 3px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-content .wpcf7-response-output{
  background: #fff;  
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

select::after {
  border-top-color: #aaa;
}


.form-content .submit-btn input[type=submit].wpcf7-submit {
  font-size: 16px;
  background: #42428a;
  padding: 15px 0;
  display: block;
  border: none;
  outline: 0;
  color: #fff;
  font-weight: bold;
  width: 100%;
}
.form-content .submit-btn input[type=submit].wpcf7-submit:hover{
  background: linear-gradient(to right, #e879ae, #d12463);
  transition-duration: 0.7s;
}
.form-content .submit-btn input[type=submit].wpcf7-submit:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #e879ae, #d12463);
  border-radius: 5px;
}

.form-content .submit-btn input[type=submit].wpcf7-submit:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.form-content .submit-btn p{
  margin: 0;
}

.ui-datepicker-calendar td.ui-datepicker-week-end:first-child a.ui-state-default,.ui-datepicker-calendar th.ui-datepicker-week-end:first-child span{
  color: #f10208 !important;
}

.ui-datepicker-calendar td.ui-datepicker-week-end:last-child a.ui-state-default,.ui-datepicker-calendar th.ui-datepicker-week-end:last-child span{
  color: #00f !important;
}
.ui-widget.ui-widget-content {
  left: 50% !important;
  transform: translateX(-50%);
}

footer {
  width: 100%;
  max-width: 100%;
  background-color: #42428a;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-feature-settings: "palt" 1;
  padding: 12px;
  /* margin-bottom: 60px; */
}

.cv_btn {
  background: linear-gradient(to right, #e879ae, #d12463);
  color: #fff;
  transition: 0.5s;
  /* width: 90%;
  max-width: 500px; */
  padding: 15px;
  border-radius: 5px;
  /* position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99; */
  position: relative;
  margin: 0 auto;
}

.cv_btn:hover {
  background-color: #42428a;
}

.cv::after {
  content: "";
  background-image: url(../img/icon-btn.png);
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  right: 55px;
  top: 53%;
  transform: translateY(-50%);
}

.cv.cv_sp {
  position: fixed;
  bottom: -300px;
  width: 100%;
  padding: 25px 30px;
  background-color: #fff;
  z-index: 99;
  left: 50%;
  transform: translateX(-50%);
}

.cv_sp.cv_fixed {
  position: fixed;
  bottom: 0;
  transform: translate(-50%, 100%);
  z-index: 99;
  display: block;
  animation: cv_animation 0.5s forwards;
}

@keyframes cv_animation {
  0% {
    transform: translate(-50%, 100%);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

.cv_fixed.fixed_none {
  transform: translate(-50%, 0);
  display: block;
  animation: cv_animation02 0.5s forwards;
}

@keyframes cv_animation02 {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
}

@media (min-width: 321px) {
  .mv {
    height: 650px;
  }

  .mv_tx {
    left: 3%;
  }

}

@media (min-width: 375px) {
  .mv {
    height: 700px;
  }

  .mv_img {
    top: 23%;
  }

  .mv_img img {
    width: 85%;
  }

  .mv_img::before {
    bottom: -46%;
  }

  .mv_tx {
    width: 90%;
  }
}

@media (min-width: 425px) {
  body {
    font-size: 20px;
  }

  header {
    height: 80px;
  }

  .logo img {
    width: 100%;
    max-width: 429px;
  }

  .mv {
    height: 780px;
  }

  .mv_img {
    top: 24%;
  }

  .mv_img img {
    width: 85%;
  }

  .mv_img::before {
    bottom: -46%;
  }

  .services {
    padding-bottom: 100px;
  }

  .services_w::after {
    font-size: 12px;
  }

  .clinic {
    padding: 0 0 100px;
  }

  .clinic_info {
    padding: 50px 40px;
  }

  .clinic_info>p {
    line-height: 30px;
  }

  h3 {
    font-size: 32px;
    padding-bottom: 50px;
  }
}

@media (min-width: 500px) {
  body {
    font-size: 22px;
    position: relative;
  }

  body::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 963px;
    top: 0;
    transform: rotate(180deg);
    background-image: url(../img/bg_parts02.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: -1;
  }

  body::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 963px;
    bottom: 0;
    background-image: url(../img/bg_parts02.png);
    background-repeat: no-repeat;
    z-index: -1;
  }

  .container {
    max-width: 500px;
    margin: 0 auto;
  }

  .inner {
    padding: 0 30px;
  }

  .mv {
    height: 910px;
  }

  .mv .bg_02::before {
    right: 13%;
  }

  .mv_img {
    top: 210px;
  }

  .mv_img img {
    width: 100%;
  }

  .mv_img::before {
    bottom: -160px;
  }

  .mv_tx {
    width: 95%;
  }

  .mv_ttl img:first-child {
    width: 75%;
  }

  h3 {
    font-size: 38px;
    padding-bottom: 50px;
  }

  .services {
    padding-bottom: 130px;
  }

  .services_w::after {
    font-size: 14px;
  }

  .clinic_map {
    margin-bottom: 50px;
  }

  .clinic_info h3 {
    font-feature-settings: "palt" 1;
  }

  .clinic_info {
    padding: 60px 50px;
  }

  .form-content input[type="text"],
  .form-content input[type="email"],
  .form-content input[type="tel"],
  .form-content input[type="date"],
  .form-content select {
    font-size: 20px;
  }

  .form-content .treatment_box {
    padding: 30px;
  }

  .form-content input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }

  .form-content input[type="checkbox"]:checked::after {
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
  }

  /* .cv_fixed.fixed_none {
    display: none;
  } */

}
/*
@media (min-width: 501px) {




} */

@media (min-width: 767px) {
  .container {
    margin-top: 80px;
  }
  header {
    position: fixed;
    top: 0;
    z-index: 99;
  }
  .mv .bg_02::before {
    top: -18%;
  }

  .cv_pc {
    display: block;
    padding-right: 20px;
  }

  .cv.cv_sp {
    display: none;
  }

  /* .cv_sp.cv_fixed {
    display: none;
  } */

  .logo {
    padding: 20px;
  }

  .logo img {
    margin-left: 0;
  }

  header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
  }

  .cv {
    width: 53%;
  }

  .cv::after {
    right: 50px;
  }

  .cv_btn {
    position: static;
    transform: translateX(0);
    max-width: 350px;
    margin-right: 0;
    margin-left: auto;
    font-size: 18px;
    z-index: 0;
    background: none;
  }

  /* .cv_sp .cv_btn {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
  } */
  /* .cv_sp.cv_fixed {
    max-width: 500px;
  }
  .cv.cv_sp::after {
    right: 50px;
    top: 53%;
  } */

  .cv_btn::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    transition: 0.5s;
    background: linear-gradient(to right, #e879ae, #d12463);
    border-radius: 5px;
  }

  .cv_btn::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    top: 0;
    left: 0;
    background-color: #42428a;
    border-radius: 5px;
  }

  .cv_btn:hover::before {
    opacity: 0;
  }

}

@media (min-width: 1336px) {
  .cv_btn {
    font-size: 19px;
  }

  .cv::after {
    top: 54%;
  }

  .form-content button {
    padding: 25px;
    font-size: 26px;
  }

  /* .container {
    padding-bottom: 100px;
  } */

  footer {
    width: 100%;
  }

}