/* -----------------
common
-------------------- */
header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
}

@media screen and (max-width: 767px) {
  header {
    position: static;
  }
}

/* -----------------
fv_wrap
-------------------- */
#fv_wrap {
  position: relative;
  z-index: 1;
  height: 57.34375vw;
  overflow: hidden;
}

#fv_wrap::before {
  content:"";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: url(../img/index/fv_pattern_pc.png) center bottom / cover no-repeat;
}

#fv_wrap .img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: fv_img 30s linear infinite;
  transform: scale(1.2);
  opacity: 0;
}

#fv_wrap .img01 {
  background-image: url(../img/index/fv_img01_pc.jpg);
  animation-delay: 0s;
}

#fv_wrap .img02 {
  background-image: url(../img/index/fv_img02_pc.jpg);
  animation-delay: 10s;
}

#fv_wrap .img03 {
  background-image: url(../img/index/fv_img03_pc.jpg);
  animation-delay: 20s;
}

@keyframes fv_img {
  0% {
    opacity: 0;
    transform: scale(1.2);
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media screen and (max-width: 767px) {
  #fv_wrap {
  height: 76.533333333vw;
  }
  
  #fv_wrap::before {
    background: url(../img/index/fv_pattern_sp.png) center bottom / cover no-repeat;
  }

  #fv_wrap .img01 {
    background-image: url(../img/index/fv_img01_sp.jpg);
  }

  #fv_wrap .img02 {
    background-image: url(../img/index/fv_img02_sp.jpg);
  }

  #fv_wrap .img03 {
    background-image: url(../img/index/fv_img03_sp.jpg);
  }

}

/* -----------------
page_list_wrap
-------------------- */
#page_list_wrap {
  padding: 132px 0 120px;
  background: url(../img/common/bg_light_lt_sp.jpg) center top / contain no-repeat #fff;
}

#page_list_wrap .flex {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#page_list_wrap .m_txt {
  text-align: center;
  margin-top: 1rem;
}

#page_list_wrap .m_btn_rainbow, .m_btn_line {
  margin-top: 40px;
  width: 30%;
}

@media screen and (max-width: 767px) {
  #page_list_wrap .m_btn_rainbow, .m_btn_line {
    width: 70%;
}}

#page_list_wrap .list {
  display: flex;
  margin-top: 100px;
  flex-wrap: wrap;
  justify-content: center;
  background-color: white;
}

/*
#page_list_wrap .list::after {
  content:"";
  width: 300px;
}
  */

#page_list_wrap .list li {
  width: 300px;
  margin: 1rem;
}

#page_list_wrap .list li:nth-of-type(n+4) {
  margin-top: 80px;
}

#page_list_wrap .list .sttl {
  font-size: 2rem;
  line-height: 1.6;
  text-align: center;
  margin-top: 25px;
}

#page_list_wrap .list .m_txt {
  margin-top: 7px;
}

#page_list_wrap .list .btn {
  text-align: center;
  margin-top: 24px;
}

#page_list_wrap .list .btn a {
  font-size: 1.4rem;
  line-height: 1;
  text-align: center;
  display: inline-block;
  position: relative;
  padding: 11px 0 13px;
  width: 100%;
  max-width: 180px;
  border: 1px solid #231815;
}

#page_list_wrap .list .btn a::after {
  content:"";
  display: block;
  position: absolute;
  top: 50%;
  right: 16px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #C4C4C4;
  border-right: 1px solid #C4C4C4;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 767px) {
  #page_list_wrap {
    padding: 80px 0;
    background: url(../img/common/bg_light_lt_sp.jpg) center top / contain no-repeat #fff;
  }

  #page_list_wrap .list {
    display: block;
    margin-top: 80px;
  }

  #page_list_wrap .list::after {
    display: none;
  }

  #page_list_wrap .list li {
    width: 100%;
  }

  #page_list_wrap .list li:nth-of-type(n+2) {
    margin-top: 60px;
  }
}



/* -----------------
#mdc_care_time_wrap
-------------------- */
#mdc_care_time_wrap {
  padding: 80px 0 78px;
  background: #ffffff;
}

#mdc_care_time_wrap .lead {
  font-size: 2.1rem;
  line-height: 1.6;
  text-align: center;
  margin-top: 16px;
}

#mdc_care_time_wrap table {
  display: flex;
  justify-content: space-between;
  margin: 32px auto 0;
  width: 100%;
  max-width: 796px;
}

#mdc_care_time_wrap table .clr_or {
  color: #F19465;
}

#mdc_care_time_wrap table tr {
  display: block;
  width: 100%;
}

#mdc_care_time_wrap table th,
#mdc_care_time_wrap table td {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

#mdc_care_time_wrap table th {
  font-size: 1.6rem;
  line-height: 1.28125;
}

#mdc_care_time_wrap table td {
  font-size: 2rem;
}

#mdc_care_time_wrap table thead {
  display: block;
  width: 238px;
}

#mdc_care_time_wrap table thead th,
#mdc_care_time_wrap table tbody tr td {
  margin-top: 2px;
  height: 78px;
}

#mdc_care_time_wrap table thead th:first-of-type,
#mdc_care_time_wrap table tbody tr th {
  margin-top: 0;
  height: 57px;
}

#mdc_care_time_wrap table tbody {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 238px - 2px);
}

#mdc_care_time_wrap table tbody tr {
  width: 78px;
}

#mdc_care_time_wrap table tbody tr:last-of-type {
  width: 76px;
}

#mdc_care_time_wrap .note {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 1rem auto 0;
  max-width: 800px;
  text-align: center;
}

#mdc_care_time_wrap .note a {
  color: #2689E4;
  text-decoration: underline;
  text-emphasis-color: #2689E4;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  #mdc_care_time_wrap {
    padding: 60px 0;
  }

  #mdc_care_time_wrap table {
    display: block;
    max-width: 98.805970149%;
  }

  #mdc_care_time_wrap table thead {
    width: 100%;
  }

  #mdc_care_time_wrap table thead tr {
    display: flex;
    justify-content: space-between;
  }

  #mdc_care_time_wrap table thead th {
    margin: 0;
    width: 40.785498489%;
    height: 76px;
      font-size: 1.2rem;
  }
  
  #mdc_care_time_wrap table thead th:first-of-type {
    width: 16.918429003%;
    height: 76px;
  }
  
  #mdc_care_time_wrap table thead th:last-of-type {
    width: 41.087613293%;
  }

  #mdc_care_time_wrap table tbody {
    display: block;
    width: 100%;
  }

  #mdc_care_time_wrap table tbody tr,
  #mdc_care_time_wrap table tbody tr:last-of-type {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  #mdc_care_time_wrap table tbody tr th {
    margin-top: 2px;
    width: 16.918429003%;
    height: 38px;
      font-size: 1.2rem;
  }
  
  #mdc_care_time_wrap table tbody tr td {
    margin-top: 2px;
    width: 40.785498489%;
    height: 38px;
  }
  
  #mdc_care_time_wrap table tbody tr td:last-of-type {
    width: 41.087613293%;
  }

  #mdc_care_time_wrap .note {
    margin: 22px auto 0;
    max-width: 100%;
  }
}

@media screen and (max-width: 374px) {
  #mdc_care_time_wrap table th {
    font-size: 1.4rem;
  }

  #mdc_care_time_wrap table td {
    font-size: 1.8rem;
  }
}

/* -----------------
reservation_wrap
-------------------- */
#reservation_wrap {
  padding: 100px 0 60px;
  background: url(../img/common/bg_light_rt_pc.jpg) center top / contain no-repeat #fff;
}

#reservation_wrap .box {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

#reservation_wrap .box .box01 {
  width: 540px;
}

#reservation_wrap .box .box01 .txt {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-top: 20px;
}

#reservation_wrap .box .box01 .txt a {
  color: #3957C0;
  text-decoration: underline;
  text-emphasis-color: #3957C0;
}

#reservation_wrap .box .box02 {
  padding-bottom: 20px;
  width: 380px;
}

#reservation_wrap .box .box02 dt {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  padding: 20px 0 10px;
}

#reservation_wrap .box .box02 .box_dt {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  padding: 15px 0 17px;
  background: #DB0271;
}

#reservation_wrap .box .box02 dd {
  padding-bottom: 20px;
}

#reservation_wrap .box .box02 dd:last-of-type {
  padding: 40px 50px 47px;
  border: none;
  background: #ffffff;
}

#reservation_wrap .box .box02 .txt {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 17px;
}

#reservation_wrap .box .box02 .m_web_btn {
  margin-top: 20px;
}

#reservation_wrap .box .box02 .m_line_btn {
  margin-top: 20px;
}


#reservation_wrap .map_box {
  display: flex;
  margin-top: 60px;
}

#reservation_wrap .map_box .map {
  position: relative;
  width: 55.102040816%;
}

#reservation_wrap .map_box .map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

#reservation_wrap .map_box picture {
  width: calc(100% - 55.102040816%);
}

@media screen and (max-width: 767px) {
  #reservation_wrap {
    padding: 60px 0 40px;
    background: url(../img/common/bg_light_rt_sp.jpg) center top / contain no-repeat #fff;
  }

  #reservation_wrap .box {
    display: block;
    margin-top: 40px;
  }

  #reservation_wrap .box .box01 {
    width: 100%;
  }

  #reservation_wrap .box .box02 {
    margin-top: 40px;
    padding-bottom: 20px;
    width: 100%;
  }

  #reservation_wrap .box .box02 dt:first-of-type + dt {
    padding: 20px 0;
  }

  #reservation_wrap .box .box02 dd {
    padding-bottom: 40px;
  }

  #reservation_wrap .box .box02 dd:last-of-type {
    padding: 40px 5.970149253% 56px;
  }
  
  #reservation_wrap .box .box02 .tel {
    margin: 0 auto;
    width: 94.576271186%;
    max-width: 279px;
  }
  
  #reservation_wrap .box .box02 .m_line_btn {
    margin-top: 39px;
  }

    #reservation_wrap .box .box02 .m_web_btn {
    margin-top: 39px;
  }


  #reservation_wrap .map_box {
    display: block;
    margin-top: 20px;
  }

  #reservation_wrap .map_box .map {
    position: relative;
    padding-top: 68.358208955%;
    width: 100%;
    height: 0;
  }

  #reservation_wrap .map_box picture {
    width: 100%;
  }
}

/* -----------------
message_wrap
-------------------- */
#message_wrap {
  padding: 60px 0 119px;
}

#message_wrap .box {
  display: flex;
  justify-content: space-evenly;
  margin-top: 60px;
}

#message_wrap .box picture {
  width: 320px;
}

#message_wrap .box .txt_box {
  width: 30vw;
}

#message_wrap .box .txt_box .sttl {
  font-size: 2.1rem;
  line-height: 1.8;
}

#message_wrap .box .txt_box .m_txt {
  margin-top: 30px;
}


#message_wrap .doctor_wrap {
  margin-top: 8.2rem;
}
#message_wrap .doctor_wrap .m_ttl02 {
  font-size: 2.7rem;
}

#message_wrap .doctor_wrap .text {
  text-align: center;
  margin-top: 8.2rem;
  line-height: 1.8;
}



@media screen and (min-width: 767px) {
  #message_wrap .doctor_wrap .text {
    font-size: 1.82rem;
  }
}

.payment-list {
  display: flex;
  margin-top: 1rem;
}

.box {
    background-color: white;
    padding: 5rem;
    margin: 3rem auto;
}

@media screen and (max-width: 767px) {
  #message_wrap {
    padding: 40px 0 120px;
  }

  #message_wrap .box {
    display: block;
    margin-top: 30px;
  }

  #message_wrap .box picture {
    margin: 0 auto;
    width: 65.671641791%;
  }

  #message_wrap .box .txt_box {
    margin-top: 40px;
    width: 100%;
  }

  .payment-list {
    flex-wrap: wrap;
  }

  .box {
    padding: 2rem 1rem;
  }
}
/* ▼▼▼ ここからモニタープランのスタイルを追加（popを枠外に配置する修正版） ▼▼▼ */

/* プランボックスの共通スタイル */
.planbox01,
.planbox02,
.planbox03,
.planbox04,
.planbox05,
.planbox06
 {
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 2.5em 16rem;
  position: relative; /* .popを配置するための基準 */
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  /* overflow: hidden; を削除して、.popが枠外にはみ出るのを許可する */
}

/* 最後のボックスの下マージンをなくす */
/* #page_list_wrap .planbox03 {
  margin-bottom: 0;
} */

 h2 {
  font-size: 3rem;
  margin: 6rem 10rem;
  color: #EC3925;
  font-family: 'wfont_eebb3e_0a2b96f4cf3e4277a3b434ad4d145925', 'wf_0a2b96f4cf3e4277a3b434ad4', 'orig_noto_sans_jp';
  padding: 2rem 8rem;
  border-bottom: solid;
 }

/* プランの内容に関するスタイル */
.plan h3 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  color: #595959;
}

.plan .price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F19465;
  margin: 0.5em 0;
  text-align: right;
}

.plan .detail {
  font-size: 1.4rem;
  margin-top: 1.2em;
  white-space: pre-line;
  color: #595959;
}

/* ポップアップのデザインを、枠から飛び出すラベルに変更 */
.pop {
  position: absolute;
  top: -15%;
  left: 4%;
  background-color: #ffffff;
  color: #fff;
  padding: 8px 6%;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: solid 2px #EC3925;
  }

.pop p {
  margin: 0;
  line-height: 1.2;
  color: #EC3925;
  font-size: 2rem;
}

/* .planbox03 .pop {
  top: -18px
} */


/* ====== 各プランボックスの個別スタイル ====== */

/* 2. 写真モニタプランの星マーク */
.planbox02 .plan:first-child {
  border-bottom: 1px dashed #ddd;
  padding-bottom: 1.5em;
  margin-bottom: 1.5em;
}

.planbox02 .plan h3::before {
  content: '☆';
  margin-right: 0.5em;
  color: #AF8430;
}


/* スマートフォン表示への対応 */
@media screen and (max-width: 767px) {
  .plan h3 {
    font-size: 1.8rem;
  }
  .plan .price {
    font-size: 1.4rem;
  }
  .planbox01, .planbox02, .planbox03, .planbox04,
.planbox05,
.planbox06
 {
    padding: 2em 1.5em;
    margin-bottom: 30px;
  }
  .pop {
    left: 10px;
  }

  .pop p {
    font-size: 1.6rem;}
}

/* ▲▲▲ ここまでモニタープランのスタイルを追加 ▲▲▲ */