body {
  color: #4A4A4A;
  font-size: 1.5rem;
  margin: 0;
}

.container {
  max-width: 1320px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 30px;
  padding: 0 20px; 
}

.main-wrapper {
  max-width: 970px;
  width: 100%;
}

.nav_wrapper {
  max-width: 305px;
  width: 100%;
}

section {
  margin-bottom: 60px;
}

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

h2 {
  padding: 20px;
  font-size: 1.9rem;
  background-color: #4EB145;
  color: #ffffff;
  border-bottom: 4px solid #00762C;
  margin-bottom: 40px;
  line-height: 1.2;
}

h3 {
  font-size: 2.1rem;
  padding: 0 0 0 20px;
  color: #4EB145;
  border-left: 12px solid #00762C;
  margin-bottom: 20px;
  line-height: 1.2;
}

a {
  
}

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

img {
  max-width: 100%;
  display: block;
}

.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;
}

.pc_only {
  display: block !important;
}

.sp_only {
  display: none !important;
}

/********** header ***********/
#kv_section {
  padding-top: 130px;
  padding-bottom: 10px;
  background: center/cover no-repeat url("../img/kokubunji_jiko/kv_img.png");
  text-align: center;
  position: relative;
  height: 750px;
}

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

#kv_section .img2 {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

#kv_section .img2 img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: none;
}

/********** header ***********/
header .header {
  box-sizing: border-box;
  position: fixed;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0px 0 7px rgba(0, 0, 0, 0.3);
}
header .header_sp {
  display: none;
}

header .header_btn_area {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  gap: 20px;
}

header .shop_info_area .time {
  margin-bottom: 5px;
}

header h1 {
  margin: 0;
  width: 300px;
  margin-right: 10px;
}

.nav_placeholder {
  display: none;
  width: 305px;
  flex-shrink: 0;
}

.nav_wrapper {
  width: 305px;
  flex-shrink: 0;
}

.nav_wrapper.fixed {
  position: fixed;
  top: 160px;
  left: 0;
  z-index: 999;
  width: 305px; /* or 同じ幅で固定 */
  left: calc(50% - 660px);

  opacity: 1;
  transform: translateY(0);
}

.nav_list {
  border: 2px solid #00762C;
  border-radius: 8px;
  padding: 15px 10px;
  background: #fff;
  margin-bottom: 30px;
}

.nav_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav_list ul li {
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #00762C;
}

.nav_list ul li:last-child {
  margin-bottom: 0;
}

.nav_list ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  display: inline-block;
}

/********** 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;
}

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


/********** こんなお悩み ***********/
#onayami_section h2 {
  height: auto;
  padding: 0;
  background-color: transparent;
  border: none;
  margin-bottom: 40px;
}

#onayami_section h2 {
  height: auto;
  padding: 0;
  background-color: transparent;
  border: none;
  margin-bottom: 40px;
}

#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.5rem;
  padding-left: 40px;
  padding-bottom: 10px;
  margin-bottom: 15px;
  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("../img/kokubunji_jiko/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 #D0EECD;
  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 #4EB145;
  margin-bottom: 20px;
}

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

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

#feature_section .read {
  margin-bottom: 40px;
}

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

/********** お客様の声 ***********/
#voice_section .read {
  text-align: center;
  margin-bottom: 40px;
}

#voice_section .read img {
  display: block;
  margin: 0 auto;
}

/********** 施術の流れ ***********/
#flow_section .flow_list {
  display: flex;
  align-items: center;
  border: 2px solid #55b947;
  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: #55b947;
  color: #fff;
  padding: 20px 20px 20px 12px;
  border-radius: 6px;
  text-align: center;
  min-width: 100px;
  font-weight: bold;
  line-height: 1.2;
  font-size: 1.5rem;
  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 20px;
  margin: 0;
}


/********** 院長挨拶 ***********/
#greeting_section .greeting_area {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

#greeting_section .greeting_img {
  width: 30%;
  text-align: center;
}

#greeting_section .greeting_img img {
  margin-bottom: 20px;
}

#greeting_section .greeting_img p {
  margin: 0;
  font-size: 1.2rem;
}

#greeting_section .greeting_txt {
  width: 65%;
}

#greeting_section .greeting_txt .read {
  color: #4EB145;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

#greeting_section .greeting_txt .txt {
  font-size: 1.1rem;
  line-height: 1.2;
}


/********** よくある質問 ***********/
#qa_section .read {
  text-align: center;
  margin-bottom: 40px;
}

#qa_section .read img {
  display: block;
  margin: 0 auto;
}

#qa_section dl {
  margin-bottom: 20px;
  border-bottom: 3px solid #4EB145;
}

#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;
}

/********** アクセス・お問い合わせ ***********/
#access_section .access{
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

/********** フッター ***********/
footer {
  background-color: #00762C;
  color: #ffffff;
  font-size: 0.98rem;
  text-align: center;
  padding: 20px 0;
}

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



@media screen and (max-width: 1380px) {
  .nav_wrapper.fixed {
    left: 20px;
  }
}


@media screen and (max-width: 1200px) {
  header .header_btn_area {
    gap: 10px;
  }
  h3 {
    font-size: 1.6rem;
  }
  #kv_section .img2 img {
    width: 95vw;
    height: auto;
    max-width: unset;
    padding: 0 10px;
  }
  #feature_section .feature_list img {
    width: auto;
    height: auto;
    object-fit: cover;
  }
}

@media screen and (max-width: 1100px) {
  .inner {
    padding: 0 10px;
  }
  header .header_btn_area {
    gap: 10px;
  }
  h3 {
    font-size: 1.5rem;
  }
  .nav_wrapper.fixed {
    left: 20px;
  }
  #onayami_section .onayami_list img {
    display: none;
  }
  .nav_placeholder {
    width: 205px;
  }
  .nav_wrapper {
    width: 205px;
  }
  .nav_wrapper.fixed {
    width: 205px;
  }
  #voice_section .read img {
    width: 80%;
  }
  #qa_section .read img {
    width: 80%;
  }
}

@media screen and (max-width: 749px) {
  img {
    width: 100%;
  }
  .pc_only {
    display: none !important;
  }
  .sp_only {
    display: block !important;
  }
  #kv_section .img1 {
    top: 95px;
    padding-left: 20px;
    width: 70%;
  }
  .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 {
    display: block;
  }
}

@media screen and (max-width: 449px) {
  .inner {
    padding: 0;
  }
  h2 {
    padding: 15px;
    font-size: 1.7rem;
    line-height: 1.2;
  }
  h3 {
    padding: 0 0 0 15px;
  }
  header .header {
    display: none;
  }
  header h1 {
    width: 200px;
  }
  header .header_sp {
    display: block;
    padding: 20px;
    background-color: #ffffff;
  }
  header .header_sp_area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  #kv_section {
    height: 495px;
  }
  #kv_section .img1 {
    top: 65px;
    padding-left: 15px;
    width: 93%;
  }
  #onayami_section .onayami_sub_title {
    margin-bottom: 20px;
  }
  #onayami_section ul li {
    font-size: 1.1rem;
  }
  #onayami_section .onayami_advice {
    font-size: 1rem;
  } 
  #voice_section .read img {
    width: 100%;
  }
  #feature_section .feature_list 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%);
  }
  #greeting_section .greeting_area {
    display: block;
  }
  #greeting_section .greeting_img {
    width: 60%;
    text-align: center;
    margin: 0 auto 30px;
  }
  #greeting_section .greeting_txt {
    width: 100%;
  }
  #greeting_section .greeting_txt .txt {
    font-size: 1rem;
  }
  #qa_section dt {
    padding: 15px 40px 15px 20px;
  }
  #qa_section .read img {
    width: 100%;
  }
  .floating_nav {
    display: flex;
    padding: 10px 15px;
    background-color: #FFFCDE;
    position: fixed;
    bottom: 0;
    left: 0;
    gap: 5px;
    z-index: 10;
  }
}