@charset "utf-8";

@media screen and (max-width: 767px) {
  main {
  font-size: 13px;
  }
}

/********************** 整体 ***************************************/
.seitai {
  width: 960px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.05em;
}

.seitai_title{
  display: inline-block;
  width: 200px;
  height: 60px;
  border-radius: 30% 70% 35% 65% / 50% 50% 50% 50%;
  background: #fff262;
  text-align:center;
  line-height: 60px;
}  

.breadcrumb {
  font-size: 14px;
  margin-bottom: 50px;
}

h1 {
  margin: 40px 0 15px;
}

.seitai_block {
  /* width: 930px; */
  width: 100%;
  padding: 30px 0 30px 30px;
  background-color: #FDFBF2;
  border-radius: 5px;
  display: flex; 
}

.seitai img {
  width: 300px;
  height: 200px;
  margin-right: 20px;
  border-radius: 5px;
}  

.seitai_block {
  width: 930px;
  margin: 30px 0;
  display: flex;
}

.seitai_text {
width: 750px;
text-align: left;
}

.seitai_text p {
margin-top: 20px;
letter-spacing: 1.5;
}

h2 {
  font-size: 18px;
  margin-top: 20px;
 
}

.seitai_block p {
  margin: 20px 20px 0 0; 
  text-align: left;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/********* アンダーバー ******/
.under_yellow:hover::before {
/* background-color: #85ff21; */
background-color: #87BC25;
-webkit-transform: scale(1.0);
transform: scale(1.0);
}  

.seitai h2::before {
margin-bottom: 0;
content: "";
height: 10px;
width: 158px;
border-radius: 6px;
position: absolute;
/* background-color: #bdee63; */
background-color: #fff262;

/* top: 230;
left: 400; */
bottom: 0;
left: 0;
z-index: -1;
-webkit-transition: 0.5s;
transition: 0.5s;
}

.seitai h2 {
width: 160px;
font-size: 18px;
color:#5B4023;
}

.seitai_h2 {
display: inline-block;
position: relative;
padding: 0;
text-decoration: none;
color: #5B4023;
z-index: 999;
}


/* レスポンシブ */
@media screen and (max-width: 959px) {
.seitai {
  width: 100%;
  max-width: 959px;
  margin: 0 auto;
  text-align: center;
}

.seitai_title {
  margin-top: 120px;
}

.seitai_block {
  width: 100%;
  max-width: 959px;
  margin: 0 auto;
  display: block;
  padding: 30px 0;
}

.seitai_block img {
  max-width: 959px;  
  margin: 0 0 15px;
  border-radius: 5px;
}

.seitai_block p {
  text-align: left;
  margin-bottom: 0;
  padding: 0 20px;
}

.seitai_text {
  width: 100%;
  text-align: center;
}

}  

@media screen and (max-width: 767px) {
  .seitai_block p {
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.5;
  }
}

/************************* 症状 ****************************************/
.symptom {
  width: 700px;
  margin: 100px auto;
}

.symptom_block {
  margin: 15px;
  display: flex; 
    flex-wrap: wrap;
  justify-content: space-between;
   
}


.symptom_button {
width: calc(35% - 30px);
height: 100px;
margin: 15px 0;
border: none;
border-radius: 8px;
background-color: #fff;
line-height: 100px;
color:#5B4023;
font-size: 16px;
letter-spacing: 0.05em;
}

/* .symptom_button:hover {
color: #fff; 
background-color:#87BC25 
}


.symptom {
  margin: 100px auto;
}

.symptom_block {
  margin: 15px;
  display: flex; 
    flex-wrap: wrap;
  justify-content: space-between;
   
}

.symptom_button {
  width: calc(25% - 30px);
  height: 100px;
  margin: 15px 0;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  line-height: 100px;
  color:#5B4023;
  font-size: 16px; */


.symptom_button:hover {
  color: #fff; 
  background-color:#87BC25 
}

/* レスポンシブ */
/* @media screen and (max-width: 767px) {
  .symptom {
      display: block;
  }

  .symptom_button {
      width: 100%;
      margin: 10px auto;
      padding-bottom: 30px;
  } 
} */

/* レスポンシブ */
/* @media screen and (max-width: 959px) {
  .symptom {
      width: 100%;
      max-width: 959px;
      margin: 0 auto;
      display: block;
  }

  .symptom_button {
      width: 100%;
      margin: 10px auto;
  } 

} */

/* @media screen and (max-width: 767px) {

  .symptom {
    width: 100%;
    max-width: 767px;
}

.symptom_block {
  align-items: center;
}
  .symptom_button {
    width: 70%;
    height: 80px;
    line-height: 80px;
  
} 
}   */

@media screen and (max-width: 767px) {

  .symptom {
    width: 100%;
    max-width: 767px;
}

.symptom_block {
  align-items: center;
  justify-content: center;
}
  .symptom_button {
    width: 30%;
    height: 80px;
    line-height: 80px;
    margin: 15px;
} 

.button_block {
  width: 50%;
  /* justify-content: center; */
  margin: 30px auto 0;
}
}  

@media screen and (max-width: 630px) {
  .symptom_button {
    width: 38%;
    font-size: 15px;
  }

 button  {
    font-size: 16px;
  }

}

@media screen and (max-width: 500px) {
  .symptom_button {
    font-size: 14px;
  }
}

@media screen and (max-width: 448px) {
  .symptom_button {
    width: 60%;
    margin: 15px 0 0 0;
  }

  .button_block {
    width: 80%;
  }

}

/************************* 施術の流れ ****************************************/
.flow {
  width: 800px;
  margin: 100px auto;
}

.flow_block {
  /* width: 800px; */
  height: 350px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

h3,h4,.flow_block2 img,.flow_block2 p {
  display: inline-block;
} 


.flow_no h3 {
  height: 70px;
  width: 70px;
  /* font-weight: 100px; */
  display: inline-block;
  color: #fff;
  border-radius: 50%;
  background: #87BC25;
  text-align:center;
  font-size: 30px;
  font-weight: bold; 
  letter-spacing: 0.05em;
  line-height: 70px;
  margin: 0 15px;
}

/*************** 矢印 *******************/

.arrow,.end_arrow{
  position: relative;
  margin: 0 30px;
}

.arrow::before{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 12px;
  width: 16px;
  height: 250px;
  background: #87BC25;
}

.arrow::after{
  content: "";
  display: block;
  position: absolute;
  top: 245px;
  left: 0;
  width: 0;
  height: 0;
  border: 20px solid;
  border-color: #87BC25 transparent transparent transparent;
  margin-bottom: 15px;
}

.end_arrow::before{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 13px;
  width: 16px;
  height: 250px;
  background: #87BC25;
}

.end_arrow::after{
  content: "";
  display: block;
  position: absolute;
  top: 240px;
  left: 0;
  width: 0;
  height: 0;
  border: 20px solid;
  border-radius: 50px;
  border-color: #87BC25;
  margin-bottom: 15px;
}

.flow_block,.flow_image_text {
  display: flex;
  /* align-items: center; */
}

.flow_block2 h4 {
  margin: 25px 0 0 10px;
  font-size: 20px;
  font-weight: bold;
}

.flow_image_text img {
  width: 220px; 
  height: 200px;
  margin: 25px 5px;
  border-radius: 5px;
  object-fit: cover;
  
}

.flow_image_text p {
  /* margin: 60px 15px 15px 25px; */
  margin: 0 15px 0 25px;
}

h5 {
  margin: 25px 0 0 10px;
  font-size: 17px;
  font-weight: bold; 
}

/* レスポンシブ ****************************************/

@media screen and (min-width: 600px) {
.flow_image_text {
  align-items: center;
}
}

@media screen and (max-width: 959px) {

  .flow {
    width: 100%;
    max-width: 959px;
  }  
}  

@media screen and (max-width: 767px) {

  .flow {
    width: 100%;
    max-width: 767px;
  }  

  .flow img {
    width: 40%;
  } 
} 



@media screen and (max-width: 600px) {

.flow {
  width: 100%;
  max-width: 600px;
  margin-bottom: 70px;
   /* margin: 0 auto;
  text-align: center;  */
}  

.flow_block {
  width: 100%;
  max-width: 600px;
  height: 370px;
}

.flow_no h3 {
height: 50px;
width: 50px;
/* font-weight: 100px; */
display: inline-block;
color: #fff;
border-radius: 50%;
background: #87BC25;
text-align:center;
font-size: 24px;
font-weight: bold; 
letter-spacing: 0.05em;
line-height: 50px;
margin: 0 5px;
}

/** 矢印 **/
.arrow::before{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: -6px;
  width: 13px;
  height: 300px;
  background: #87BC25;
}

.arrow::after{
  content: "";
  display: block;
  position: absolute;
  top: 290px;
  left: -18px;
  width: 0;
  height: 10px;
  border: 20px solid;
  border-color: #87BC25 transparent transparent transparent;
}

/** 最後の矢印 **/
.end_arrow::before{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: -6px;
  width: 13px;
  height: 250px;
  background: #87BC25;
}

.end_arrow::after{
  content: "";
  display: block;
  position: absolute;
  top: 240px;
  left: -15px;
  width: 0;
  height: 0;
  border: 15px solid;
  border-radius: 50px;
  border-color: #87BC25;
  margin-bottom: 0px;
}

/* .flow_block,.flow_image_text {
  display: flex;
  width: 100%;
  max-width: 959px;
} */

 .flow_block {
  display: flex;
  width: 100%;
  max-width: 959px;
} 

.flow_block2 h4 {
  margin-top: 16px;
  font-size: 20px;
  font-weight: bold;
}

.flow_image_text img {
 
  max-width: 959px;
   width: 250px; 
  height: 150px;
  margin: 25px 5px;
  object-fit: cover;
}

.flow_image_text p {
  margin: 60px 15px 15px 25px;
  padding-right: 4%;
  margin: 0 auto;
  font-size: 16px;
}

h5 {
  margin: 25px 0 0 10px;
  font-size: 17px;
  font-weight: bold; 
}

.flow_image_text {
  display: block;
  margin-bottom: 50px;
}

h5 {
  margin-top: 0 ;
}

}

@media screen and (max-width: 500px) {
.flow_image_text p {
  font-size: 14px;
}

.flow_block p {
  font-size: 13px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
}

@media screen and (max-width: 460px) {

  .flow {
    width: 100%;
    max-width: 460px;
  }

  .flow_block {
    width: 100%;
    max-width: 600px;
    height: 430px;
  }

  .flow_block2 h4 {
    font-size: 15px;
    margin-right: 10px;
  }

  h5 {
    font-size: 15px;
  }

  .flow img {
    /*width: 80%;*/
    height: 200px;
  }
  
}


/****************************** 料金 *******************************************************/
.price {
  width: 700px;
  margin: 80px auto 0;
  text-align: center;  
}

h3 {
  margin:40px 0;
  text-align: center;
  font-size: 16px;
  color: #5B4023;

}

.price_title{
  display: inline-block;
  width: 200px;
  height: 60px;
  border-radius: 30% 70% 35% 65% / 50% 50% 50% 50%;
  background: #fff262;
  text-align:center;
  line-height: 60px;
}  

.price img {
  width: 400px;
  height: 200px;
}  

.price_block {
  width: 700px; 
  padding: 15px;
  border-radius: 5px;
}

.price_menu h2, .price_menu p {
  margin: 15px 15px 0;
  font-size: 16px;
  color: #5B4023;
}

h6 {
  /* width: 250px; */
  text-align: left;
  margin: 10px;
  font-weight: bold;
} 

.price_menu {
  width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price_menu th,.price_menu td {
  width: 500px;
  height: 30px;
  font-size: 16px;
  padding: 3px 6px;
  color: #5B4023;
  border: solid 1px #5B4023;
  background-color: #FDFBF2;
  vertical-align: middle;
}

.price_menu th {
   /* background-color: #ecf4df;  */
   background-color: #87BC25;
   color: #FDFBF2;
  /* background-color: #fef5cb;
   */
}

.kokkaku_block {
  display: flex;
}

.supp {
  text-align: left;
  margin: 20px 10px 60px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: bold;
}

.price2 {
  width: 150px;
  margin: 10px;
}

.oilcare {
  margin-top: 60px;
}

button {
  font-size: 16px;
}

@media screen and (max-width: 767px) {
.price {
  width: 100%;
  max-width: 767px;
  margin: 0 auto;
}

.price_block {
  width: 100%;
  max-width: 767px;
  margin: 0 auto;
  padding: 0;
}

.price_menu {
  width: 90%;
  /* max-width: 767px; */
  /* width: 90%; */
  justify-content: flex-start;
  margin: 0 auto;
}

tbody {
  /* width: 70%;  */
  width: 100%;
}

.supp {
  /* width: 100%;
  max-width: 767px; */
  text-align: left;
  margin: 20px 0px 80px;
  font-size: 14px;
  line-height: 1.5;
  padding: 0 4%;
}

}

/************************ よくある質問 ***********************************************/
.question {
  width: 800px;
  margin: 0 auto;
  text-align: center;
}

.question h3 {
  font-weight: bold;
  margin-top: 0;
}

details {
width: 800px;
  margin: 15px 0;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

summary {
  display: block;
}

summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

.summary_inner{
  width: 705px;
  /* height: 20px; */
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 48px;
  border-radius: 5px;
  /* background-color: #fff; */
  background-color: #FDFBF2;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* --------アイコンを作ります-------- */
.icon {
  display: block;
  position: relative;
  width: 20px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
  color: #5B4023;
}

/* アコーディオンが開いた時のスタイル */
details[open] .icon {
  transform: rotate(180deg);
}

/* アイコンのバーのスタイル */
.icon::before,
.icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 13px;
  height: 3px;
  background-color: #5B4023;
}

.icon::before {
  left: 0;
  transform: rotate(45deg);
}

.icon::after {
  right: 0;
  transform: rotate(-45deg);
}

/* --------アコーディオンの中身のスタイル-------- */
.answer {
  /* background-color: #f0f2ff; */
  padding: 15px 48px; 
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

button {
  width: 200px;
  height: 40px;
  margin:40px auto;
  border: none;
  background-color: #87BC25;
  color: #fff;
  border-radius: 20px;
  text-align: center;
  letter-spacing: 1px;
} 

button:hover {
  background-color: #7cab25;
}

/* レスポンシブ */
@media screen and (max-width: 767px) {
button {
      width: 30%;
      margin: 10px auto;
  } 

  .question {
    width: 100%;
    max-width: 767px;
    margin: 0 auto;
    text-align: center;
}  

summary {
  width: 100%;
  max-width: 767px;
  display: flex;
  flex-wrap: wrap;
}

.summary_inner {
  width: 100%;
  max-width: 767px;
  margin: 0 auto;
  text-indent: -1rem;
  padding-left: 1rem;
  line-height: 1.5;
  padding: 15px 15px 15px 30px;
  margin: 0 4%;
  /* text-indent: -1rem;
  padding-left: 1rem; */
  /* padding-left: 1.2em; */
  text-indent: -1.3em;
  /* display: inline-block; */
}

details {
  width: 100%;
  max-width: 767px;
  text-align: left;
  /* margin: 0 auto; */
  /* display: inline-block; */
}

.answer {
  /* width: 100%;
  max-width: 767px; */
  text-align: left;
  margin: 20px 0px 70px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  padding: 0 30px;
}

}

@media screen and (max-width: 500px) {
  button {
    width: 40%;
    font-size: 15px;
  }
}