/* オンライン診療CSS */
/* common.cssで共通指定 */




/* ==========================================
   オンライン診療について
========================================== */
.online_section {
  padding: 40px 0;
  background-color: #b2deff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}
.online_header {
  text-align: center;
  margin-bottom: 10px;
}
.online_ttl {
  position: relative;
  display: inline-block;
  padding: 25px 50px;
  z-index: 1;
  margin: 0 auto;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
  color: #1a3263;
}
.online_ttl::before {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  content: "";
  z-index: -1;
  background: 
    radial-gradient(circle at top left, transparent 20px, #ca4 20px, #ca4 23px, transparent 23px) left top / 23px 23px no-repeat,
    radial-gradient(circle at top right, transparent 20px, #ca4 20px, #ca4 23px, transparent 23px) right top / 23px 23px no-repeat,
    radial-gradient(circle at bottom left, transparent 20px, #ca4 20px, #ca4 23px, transparent 23px) left bottom / 23px 23px no-repeat,
    radial-gradient(circle at bottom right, transparent 20px, #ca4 20px, #ca4 23px, transparent 23px) right bottom / 23px 23px no-repeat,
    linear-gradient(90deg, transparent 20px, #ca4 23px) left top / 51% 3px no-repeat,
    linear-gradient(-90deg, transparent 20px, #ca4 23px) right top / 51% 3px no-repeat,
    linear-gradient(90deg, transparent 20px, #ca4 23px) left bottom / 51% 3px no-repeat,
    linear-gradient(-90deg, transparent 20px, #ca4 23px) right bottom / 51% 3px no-repeat,
    linear-gradient(180deg, transparent 20px, #ca4 23px) left top / 3px 51% no-repeat,
    linear-gradient(0deg, transparent 20px, #ca4 23px) left bottom / 3px 51% no-repeat,
    linear-gradient(180deg, transparent 20px, #ca4 23px) right top / 3px 51% no-repeat,
    linear-gradient(0deg, transparent 20px, #ca4 23px) right bottom / 3px 51% no-repeat;
  background-color: #fff;
}
.online_ttl::after {
  position: absolute;
  top: 8px; right: 8px; bottom: 8px; left: 8px;
  content: "";
  border: 1px solid #ca4;
  pointer-events: none;
  z-index: 1;
}

.online_hero {
  max-width: 100%;
  margin: 0 auto 20px;
  background:
    linear-gradient(180deg, #cae8ff 0%, rgba(202, 232, 255, 0) 15%, rgba(202, 232, 255, 0) 85%, #cae8ff 100%),
    linear-gradient(90deg, #cae8ff 0%, rgba(202, 232, 255, 0.7) 40%, rgba(202, 232, 255, 0) 70%),
    url('../img/online/online_woman.png') no-repeat right / contain;
  background-color: #cae8ff;
}
.online_hero_inner {
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 10px 0;
  max-width: 90%;
}
.online_hero_txt {
  width: 100%;
  color: #1a3263;
  z-index: 2;
  padding-left: 10px;
  text-shadow: 
    0 0 4px #fff,
    0 0 12px #fff,
    0 0 20px rgba(255, 255, 255, 0.8);
}
.online_hero_sub {
  font-size: 20px;
  font-weight: bold;
  color: #e04b77;
  margin: 0 0 5px 0;
}
.online_hero_main {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}
.online_hero_main .online_hero_highlight {
  position: relative;
  font-size: 44px;
  z-index: 1;
  display: inline-block;
}
.online_hero_main .online_hero_highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: #ffe685;
  z-index: -1;
}
.online_hero_nowrap {
  display: inline-block;
  white-space: nowrap; 
}

.online_container {
  max-width: 90%;
  margin: 0 auto;
}
.online_merits {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}
.online_merit_card {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 15px;
  padding: 15px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(200, 170, 68, 0.3);
}
.online_merit_icon {
  width: 70px;
  height: 70px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.online_merit_icon img {
  max-width: 100%;
  height: auto;
}
.online_merit_content {
  flex: 1;
}
.online_merit_title {
  margin: 0 0 5px 0;
  font-size: 20px;
  color: #e04b77;
  font-weight: bold;
}
.online_merit_desc {
  margin: 0;
  font-size: 18px;
  color: #1a3263;
  font-weight: bold;
}

.online_flow {
  background-color: #fff;
  border: 2px solid #ca4;
  border-radius: 15px;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.online_flow_inner {
  border: 1px solid #ca4;
  border-radius: 10px;
  padding: 20px 10px;
}
.online_flow_title {
  position: relative;
  background-color: #1a3263;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 20px;
  margin: -3vw auto 3vw;
  width: 85%;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.online_flow_title::before,
.online_flow_title::after {
  content: "";
  position: absolute;
  top: 5px;
  border-style: solid;
}
.online_flow_title::before {
  left: -15px;
  border-width: 18px 15px 18px 0;
  border-color: #1a3263 #1a3263 #1a3263 transparent;
  z-index: -1;
}
.online_flow_title::after {
  right: -15px;
  border-width: 18px 0 18px 15px;
  border-color: #1a3263 transparent #1a3263 #1a3263;
  z-index: -1;
}
.online_flow_title span {
  font-size: 14px;
}
.online_flow_steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.online_step_item {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid rgba(200, 170, 68, 0.2);
  padding: 12px 20px;
}
.online_step_badge {
  background-color: #e04b77;
  color: #fff;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  line-height: 1.1;
  flex-shrink: 0;
}
.online_step_label {
  font-size: 9px;
}
.online_step_num {
  font-size: 20px;
  font-weight: bold;
}
.online_step_icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.online_step_icon img {
  max-width: 100%;
  height: auto;
}
.online_step_content {
  flex: 1;
}
.online_step_title {
  margin: 0 0 3px 0;
  font-size: 18px;
  color: #e04b77;
  font-weight: bold;
}
.online_step_desc {
  margin: 0;
  font-size: 14px;
  color: #333;
}


@media (max-width: 560px) {
  .online_ttl {
  font-size: 20px;
  }
  .online_hero_inner {
    min-height: 240px;
    padding-left: 10px;
  }
  .online_hero_sub {
    font-size: 20px; 
  }
  .online_hero_main {
    font-size: 32px;
  }
  .online_hero_main .online_hero_highlight {
    font-size: 44px;
  }
  .online_hero_nowrap {
    font-size: 20px;
  }
  .online_merit_card {
    padding: 12px 15px;
  }
  .online_merit_icon {
    width: 50px;
    height: 50px;
    margin-right: 12px;
  }
  .online_merit_title { font-size: 16px; }
  .online_merit_desc { font-size: 14px; }
  .online_step_item { padding: 10px; }
  .online_step_badge {
    width: 45px;
    height: 45px;
    margin-right: 10px;
  }
  .online_step_num { font-size: 16px; }
  .online_step_icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  .online_step_title { font-size: 15px; }
  .online_step_desc { font-size: 12px; }
  .online_flow_title {
  margin: -12vw auto 3vw;
}
}

/*オーダーメイド
=======================================================*/
.ordermade{
  background:url(../img/bg3.png) no-repeat;
  background-size: contain;
  background-position: top;
}
.ordermade h2{
  line-height: 1.5;
}
.ordermade-wrap{
  margin-top: 20px;
}
.ordermade-wrap-img{
  display: block;
  width: 100%;
  object-fit: contain;
}
.ordermade-box{
  background: #616161;
  color:#fff;
  padding: 10px;
  font-size: 13px;
  margin-top: 10px;
  position: relative;
}
.ordermade-box::before{
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 25px solid #616161;
  position: absolute;
  top:-25px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.facility-ttl{
  margin-top: 20px;
  font-size: 30px;
  line-height: 1.4;
}
.facility-ttl-sub{
  color: #E0EBFD;
  font-size: 50px;
  line-height: 0.85;
  text-align: right;
  margin-top: -25px;
  position: relative;
  z-index: -1;
}
.facility-ttl-sub span{
  color: rgba(224,235,253,0.4);
  display: block;
  transform: scale(1, -1);
}
.facility-txt{
  font-size: 15px;
  margin-top: -20px;
}
.facescan{
  background: #FFDDE6;
}
.facescan-ttl{
  font-family: "NotoSerifJP Bold";
  font-size: 22px;
}
.facescan-ttl-sub{
  font-family: "NotoSerifJP Regular";
}
.facescan-box{
  background: #fff;
  padding: 10px;
}
.facescan-box span{
  display: block;
  color:#BB070D;
  background-color: #FFFF00;
  width: fit-content;
  font-size: 21px;
  line-height: 1.3;
  margin: 2px 0;
}
.simulation1{
  background:url(../img/bg4.png) no-repeat;
  background-size: cover;
  background-position: bottom;
}
.simulation1-ttl{
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 40px;
}
img.simulation1-ttl-img{
  object-fit: contain;
  width: 70%;
  border-radius: 20px 0 20px 0;
  box-shadow: 20px 20px 0 #CCC9C9;
}
.simulation1-ttl h3{
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.simulation1-ttl h3 span{
  display: block;
  border-right: 1px solid;
  height: fit-content;
}
span.simulation1-ttl-main{
  margin-top: auto;
  font-size: 30px;
}
span.simulation1-ttl-sub{
  font-size: 20px;
}
.silver-medal{
  display: flex;
  gap: 10px;
}
.silver-medal2{
  gap:20px;
  margin: 0 20px;
}
.silver-medal .silver-medal-box{
  background:url(../img/medal01.png) no-repeat;
  background-size: contain;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  font-family: "NotoSerifJP Bold";
}
.silver-medal3 .silver-medal-box{
  width: calc(100% / 3);
}
.silver-medal2 .silver-medal-box{
  width: calc(100% / 2);
}
.simulation1-txt{
  margin-top: 20px;
  background: #fff;
  padding: 10px;
  font-size: 14px;
  position: relative;
}
.simulation1-txt ::after{
  content: "";
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 25px solid #fff;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.simulation1-txt span{
  color: #BB070D;
  font-size: 20px;
  line-height: 1.5;
}
.simulation1-txt-img{
  display: block;
  object-fit: contain;
  margin-top: -20px;
}
.simulation2{
  background: #ffe6ea;
  padding-bottom: 20px;
}
.simulation2-txt{
  font-family: "NotoSerifJP Regular";
  font-size: 13px;
  margin-bottom: 20px;
}
.simulation2-txt span{
  background-color: #FFFF00;
  display: inline;
  font-size: 16px;
}
img.simulation2-txt-img{
  margin-top: -60px;
  position: relative;
  z-index: -1;
  margin-bottom: -20px;
  display: block;
}
img.simulation3-top-img{
  display: block;
  width: 100%;
}
.simulation3-wrap{
  background:url(../img/bg5.png) no-repeat;
  background-size: cover;
}
.simulation3-ttl{
  margin-top: -100px;
  margin-bottom: 20px;
}
.simulation3-ttl span{
  display: block;
  width: fit-content;
  padding: 5px 10px;
}
.simulation3-ttl-sub{
  background: #fff;
  font-size: 20px;
}
.simulation3-ttl-main{
  background: #E9577E;
  color: #fff;
  margin-top: 10px;
  font-size: 27px;
}
.simulation3-txt{
  margin-top: 10px;
  font-size: 14px;
}
.basshi{
  display: flex;
  align-items: center;
}
.basshi-txt{
  margin-left: 5%;
  width: 55%;
  font-size: 25px;
  line-height: 1.3;
}
img.basshi-img{
  display: block;
  object-fit: contain;
  width: 45%;
}

@media screen and (max-width: 768px){
}
@media screen and (max-width: 480px){
  .facility-ttl{
    font-size: 7vw;
  }
  .facility-ttl-sub{
    font-size: 12vw;
  }
  .facescan-ttl{
    font-size: 4.5vw;
  }
  .facescan-ttl-sub{
    font-size: 3vw;
  }
  .facescan-box{
    font-size: 3.5vw;
  }
  .facescan-box span{
    font-size: 4.7vw;
    margin: 4px 0;
  }
  span.simulation1-ttl-main{
    margin-top: auto;
    font-size: 23px;
  }
  span.simulation1-ttl-sub{
    font-size: 15px;
  }
  .silver-medal .silver-medal-box{
    font-size: 17px;
  }
  .simulation1-txt{
    font-size: 12px;
  }
  .simulation1-txt span{
    font-size: 17px;
  }
  .simulation2-txt span{
    font-size: 14px;
  }
  .simulation3-ttl-sub{
    font-size: 4vw;
  }
  .simulation3-ttl-main{
    font-size: 6vw;
  }
  .simulation3-txt{
    font-size: 13px;
  }
  .basshi-txt{
    font-size: 20px;
    line-height: 1.5;
  }
}


/*当院のマウスピース矯正
=======================================================*/
.compare-top{
  background:url(../img/bg7.png) no-repeat;
  background-size: cover;
}
h2.compare-ttl{
  text-align: center;
  padding: 30px 0;
  font-size: 27px;
}
h2.compare-ttl span.compare-ttl-sub{
  display: block;
  color:#DB376E;
  font-family: "NotoSerifJP Bold";
  letter-spacing: 2px;
  position: relative;
  padding: 0 25px;
  width: fit-content;
  margin: 0 auto;
}
h2.compare-ttl span.compare-ttl-sub-S{
  font-size: 23px;
}
h2.compare-ttl span.compare-ttl-sub::before{
  position: absolute;
  top: 0;
  content: '';
  width: 60px;
  height: 50%;
  display: inline-block;
  border-left: solid 1px #A3A1A0;
  border-top: solid 1px #A3A1A0;
  left: 0;
}
h2.compare-ttl span.compare-ttl-sub::after {
  position: absolute;
  bottom: 0;
  content: '';
  width: 60px;
  height: 50%;
  display: inline-block;
  border-bottom: solid 1px #A3A1A0;
  border-right: solid 1px #A3A1A0;
  right: 0;
}
.compare-wrap{
  background: #FDFAF5;
}
.compare-wrap-ttl{
  background: #FEE6DC;
  width: fit-content;
  margin: 30px auto;
  padding: 5px 10px;
  text-align: center;
  line-height: 1.5;
}
img.compare-wrap-img{
  display: block;
  width: 100%;
  object-fit: contain;
}
.compare-img-txt{
  font-size: 6px;
  margin-top: 5px;
}

@media screen and (max-width: 768px){
}
@media screen and (max-width: 480px){
  .compare-wrap-ttl{
    font-size: 18px;
  }
}

/*年齢別の矯正
=======================================================*/
.age{
}
.age-ttl{
  background: #FDD2E5;
  position: relative;
  text-align: center;
  font-size: 23px;
  padding: 10px 0;
}
.age-ttl::after{
  content: "";
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 25px solid #FDD2E5;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.age-wrap{
  margin-top: 40px;
}
.age-box{
  display: flex;
  align-items: center;
}
img.age-box-img{
  object-fit: contain;
  width: 50%;
}
.age-box-txt{
  width: 50%;
}
.age-box-txt h3{
  background: #FDD2E5;
  width: fit-content;
  margin: 0 auto;
  padding: 0 10px;
}
.age-box-txt-detail{
  text-align: center;
  margin-top: 20px;
}

@media screen and (max-width: 768px){
}
@media screen and (max-width: 480px){
  .age-box-txt h3{
    font-size: 15px;
  }
  .age-box-txt-detail{
    font-size: 12px;
  }
}

/*悩み
=======================================================*/
.worries{
  background: linear-gradient(145deg,rgba(255, 232, 239, 1) 0%, rgba(255, 214, 228, 1) 50%, rgba(255, 255, 255, 1) 100%);
  position: relative;
}
.worries-arrow{
  background: linear-gradient(145deg,rgba(255, 235, 242, 1) 0%, rgba(255, 255, 255, 1) 100%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 60px;
  height: 25px;
}
img.worries-deco{
  position: absolute;
  z-index: -1;
  width: 130px;
  object-fit: contain;
}
.worries-wrap{
  margin-top: 20px;
}
h3.worries-inner-ttl{
  background: #E95B81;
  color:#fff;
  text-align: center;
  font-size: 18px;
  padding: 3px;
}
.worries-inner{
  display: flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.worries-box1{
  width: calc(100% / 3 - 7px);
  background: #fff;
  padding: 10px;
}
img.worries-box-img{
  object-fit: contain;
}
.worries-box-detail-txt{
  text-align: center;
  font-size: 12px;
}
.worries-box2{
  width: calc(100% / 2 - 7px);
  background: #fff;
  padding: 10px;
  position: relative;
}
.worries-box2::after{
  content: "";
  position: absolute;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  background: #EDEDED;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 0;
}
.worries-box2-img{
  position: relative;
  z-index: 1;
}
.worries-box2-detail-txt-check{
  display: flex;
  z-index: 1;
  position: relative;
  font-size: 13px;
  justify-content: center;
  align-items: center;
}
.worries-box2-detail-txt-check::before {
  content: "";
  background: url(../img/check02.png) no-repeat;
  background-size: contain;
  width: 13px;
  height: 13px;
  background-position: center;
  margin-right: 7px;
}

@media screen and (max-width: 768px){
}
@media screen and (max-width: 480px){
  .worries h2{
    line-height: 1;
  }
  img.worries-deco{
    width: 100px;
  }
  h3.worries-inner-ttl{
    font-size: 16px;
  }
  .worries-box1{
    padding: 5px;
  }
  .worries-box-detail-txt{
    font-size: 2.9vw;
  }
  .worries-box2-detail-txt-check::before{
    width: 11px;
    height: 11px;
    margin-right: 5px;
  }
  .worries-box2-detail-txt-check{
    font-size: 2.8vw;
  }
}

/*顔立ちの印象
=======================================================*/
.solve{
  background: url(../img/bg8.png) no-repeat;
  background-position: top;
  background-size: 100%;
}
h2.solve-ttl{
  font-size: 27px;
  line-height: 1.5;
}
.solve-wrap{
  margin-top: 20px;
}
.solve-box{
  margin-bottom: 10px;
}
.solve-box:last-child{
  margin-bottom: 0;
}
.solve-box-ttl{
  display: flex;
  align-items: center;
  font-size: 18px;
}
.solve-box-ttl::before{
  content: "";
  width: 30px;
  height: 2px;
  background: #FF69AB;
  display: block;
  margin-right: 10px;
}
.solve-box-img{
  display: block;
  object-fit: contain;
}

@media screen and (max-width: 768px){
}
@media screen and (max-width: 480px){
  h2.solve-ttl{
    font-size: 25px;
  }
}
