
.inner {
  padding: 0 35px;
  margin: 0 auto;
}

ul {
  list-style: none !important;
  padding-left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0); /* 古いブラウザ用 */
  clip-path: inset(50%);  /* 新しいブラウザ用 */
  white-space: nowrap;
  border: 0;
}

.read {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #262628;
}

/********** header ***********/
#kv_section {
  margin-bottom: 30px;
}

#kv_section .img1 {
  position: absolute;
  top: 180px;
  padding-left: 50px;
}

#kv_section .img3 {
  margin-bottom: 20px;
}

/********** CVエリア ***********/
.cv_area {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin-bottom: 40px;
}

.cv_area .cv_read {
  margin-bottom: 20px;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #262628;
  line-height: 1.7;
}

.cv_area .cv_button {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}


/********** こんなお悩み ***********/
#onayami_section .onayami_sub_title {
  margin-bottom: 50px;
}

#onayami_section .onayami_list {
  position: relative;
}

#onayami_section ul {
  margin-bottom: 45px;
}

#onayami_section ul li {
  position: relative;
  font-size: 1.2rem;
  padding-left: 40px;
  padding-bottom: 10px;
  font-weight: 700;
}

#onayami_section ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-image: url("https://www.ma-ko-to.jp/wp-content/themes/cure_tcd082-child/assets/img/seikotsu/onayami_check.svg"); /* ←ここに画像パス */
  background-size: contain;
  background-repeat: no-repeat;
}

#onayami_section ul li span {
  border-bottom: dotted 2px #D2D2D2;
}

#onayami_section .onayami_list img{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
}

#onayami_section .onayami_advice {
  font-size: 1.2rem;
  padding: 20px 10px;
  text-align: center;
  border: solid 15px #f1fafc;
  margin-bottom: 50px;
  line-height: 2;
  font-weight: 700;
}

#onayami_section .onayami_advice span {
  background-color: #FFE395;
  padding: 0 4px;
}


/********** 選ばれる5つの特徴 ***********/
#feature_section .feature_list {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  border: solid 3px #00a6cc;
  margin-bottom: 20px;
}

#feature_section .feature_desc {
  padding: 20px 25px 20px 15px;
}

#feature_section .feature_list p {
  font-size: 1.1rem;
  line-height: 1.3;
}

#feature_section .feature_list img {
  max-width: none;
}


/********** 料金表 ***********/
#price_section .price_desc {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

#price_section .price_txt {
  width: 60%;
}

#price_section .price_img {
  width: 40%;
}


/********** 施術の流れ ***********/
#flow_section .flow_list {
  display: flex;
  align-items: center;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #fff;
  gap: 20px;
  align-items: stretch;
}

#flow_section .flow_icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  background: #e1e1e1;
  color: #262628;
  padding: 20px 20px 20px 12px;
  border-radius: 6px;
  text-align: center;
  min-width: 100px;
  font-weight: bold;
  line-height: 1.2;
  font-size: 1.3rem;
  flex-shrink: 0;
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
  margin: 0;
  width: 150px;
}

#flow_section .flow_icon .flow_number {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

#flow_section .flow_text p {
  font-size: 1.1rem;
  line-height: 1.5;
  padding: 14px 0;
  margin: 0 !important;
}

#flow_section .flow_img {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

#flow_section .flow_text {
  width: 60%;
}


/********** よくある質問 ***********/
#qa_section dl {
  margin-bottom: 20px;
  border-bottom: 3px solid #00a6cc;
}

#qa_section dt {
  background: #e0e0e0;
  padding: 15px 20px;
  font-weight: bold;
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
}

#qa_section dt::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #333;
}

#qa_section dd {
  background: #fff;
  padding: 15px 20px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  display: none;
  transition: all 0.3s ease;
}

#qa_section dd.open {
  display: block;
}

#qa_section dt.open::after {
  content: "▲";
}

#qa_section .access {
  background: #fff;
  padding: 15px 20px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}


/********** 交通事故ブログ ***********/
.service_blog_archive {
  margin-bottom: 40px;
  padding: 0 !important;
}


/********** フローティングナビ ***********/
.floating_nav {
  display: none;
}


@media screen and (max-width: 1200px) {
  #kv_section .img2 img {
    width: 100%;
  }
  #feature_section .feature_list img {
    width: auto;
    height: auto;
    object-fit: cover;
  }
}

@media screen and (max-width: 1100px) {
  #onayami_section .onayami_list img {
    display: none;
  }
}

@media screen and (max-width: 749px) {
  #kv_section .img1 {
    top: 95px;
    padding-left: 20px;
    width: 70%;
  }
  #kv_section .img3 {
    margin-bottom: 40px;
  }
  .nav_placeholder {
    display: none !important;
  }
  .nav_wrapper {
    display: none !important;
  }
  #onayami_section .onayami_advice {
    line-height: 1.4;
  } 
  #feature_section .feature_list {
    display: block;
    padding-right: 0px;
  }
  #feature_section .feature_list img {
    margin-bottom: 20px;
  }
  #feature_section .feature_desc {
    padding: 0 20px 15px;
  }
  .cv_area .cv_button {
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
  }
}

@media screen and (max-width: 449px) {
  .inner {
    padding: 0;
  }
  .read {
    font-size: 1.2rem;
  }
  .cv_area .cv_read {
    font-size: 1.2rem;
    font-weight: 400;
  }
  #kv_section .img1 {
    top: 65px;
    padding-left: 15px;
    width: 93%;
  }
  #onayami_section .onayami_sub_title {
    margin-bottom: 20px;
  }
  #onayami_section ul li {
    font-size: 1rem;
    font-weight: 400;
  }
  #onayami_section .onayami_advice {
    font-size: 0.98rem;
    font-weight: 400;
  } 
  #feature_section .feature_list img {
    width: 100%;
  }
  #price_section .price_desc {
    display: block;
  }
  #price_section .price_txt {
    width: 100%;
    margin-bottom: 20px;
  }
  #price_section .price_img {
    width: 100%;
  }
  #flow_section .flow_list {
    display: block;
  }
  #flow_section .flow_icon {
    width: auto;
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90%);
    line-height: 0.6;
    font-size: 1.1rem;
  }
  #flow_section .flow_icon .flow_number {
    font-size: 1.4rem;
  }
  #flow_section .flow_img img {
    width: 100%;
  }
  #flow_section .flow_text {
    width: 100%;
  }
  #flow_section .flow_text p {
    padding: 14px 20px;
  }
  #flow_section .flow_img {
    padding: 14px 20px;
  }
  #qa_section dt {
    padding: 15px 40px 15px 20px;
    font-size: 1rem;
  }
  .floating_nav {
    display: flex;
    padding: 10px 15px;
    background-color: #FFFCDE;
    position: fixed;
    bottom: 0;
    left: 0;
    gap: 5px;
    z-index: 10;
  }
}