/* ====================================
 * style-custom.css
 * このファイルは既存のスタイルに追加でスタイルを上書き・追加するためのものです
 * ==================================== */

/* LP用ワンカラム */
.one-column *{
  line-height: 1.6em;
}

/* 外反母趾治療コース */
.hallux_main_img{
  background-image: url("https://nailcare-lili.com/wp-content/uploads/2025/06/gaihanboshi01_main.jpg");
  background-position: center;
  background-repeat: no-repeat;
}

.hallux_main_img_in{
  width: 1200px;
  height: 650px;
  position: relative;
  margin: auto;
}

.hallux_main_img_in h1{
  text-align: center;
  color: #fff;
  font-size: 62px;
  letter-spacing: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  line-height: 1.7;
}

.hallux_main_img_in h1 span{
  font-size: 90px;
  border-bottom: solid 2px #fff;
  margin: 0px 0 15px;
  display: inline-block;
  font-weight: 700;
}

.hallux_main_img_in .deco1{
  position: absolute;
  bottom: -130px;
  right: -30px;
  margin: 0;
  padding: 0;
}

#hallux_intro{
  width: 1200px;
  margin: 50px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#hallux_intro .img_box{
  width: 430px;
}

#hallux_intro .txt_box{
  width: 630px;
  padding-top: 70px;
}

#hallux_intro .txt_box p.ttl{
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 20px;
}

#hallux_intro .txt_box p.txt{
  margin: 0 0 30px;
}

#hallux_causes .hallux_causes_in{
  width: 1200px;
  margin: 100px auto 100px;
  position: relative;
}

.hallux_ttl_box{
  position: relative;
  margin: 0 0 40px;
}

.hallux_ttl_box p.t01{
  top: 0;
  font-family: 'Times New Roman', sans-serif;
  line-height: 1.1;
  position: absolute;
  font-size: 84px;
  color: #ebdfcf;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  left: 50%;
  transform: translateX(-50%) skewX(-15deg);
  display: inline-block;
  z-index: 0;
}

.hallux_ttl_box h2.t02{
  background: none;
  color: #000;
  text-align: center;
  z-index: 1;
  position: relative;
  font-size: 33px;
  padding: 60px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-weight: 700;
  letter-spacing: 1px;
}

#hallux_causes .hallux_causes_in .txt_box{
  width: 630px;
  margin: 0 auto 40px;
}

#hallux_causes .hallux_causes_in .txt_box02{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 1000px;
  margin: auto;
}

#hallux_causes .hallux_causes_in .txt_box02 .child{
  width: 30%;
  position: relative;
}

#hallux_causes .hallux_causes_in .txt_box02 .child::before {
  content: "";
  display: block;
  width: 30px;
  height: 6px;
  background-color: #000000;
  position: absolute;
  right: -40px;
  top: 85px;
}

#hallux_causes .hallux_causes_in .txt_box02 .child::after {
  content: "";
  visibility: visible;
  display: block;
  width: 6px;
  height: 30px;
  background-color: #000000;
  position: absolute;
  right: -28px;
  top: 73px;
}

#hallux_causes .hallux_causes_in .txt_box02 .child:last-of-type::before,
#hallux_causes .hallux_causes_in .txt_box02 .child:last-of-type::after {
  display: none;
}

#hallux_causes .hallux_causes_in .txt_box02 .child p{
  margin: 0 0 10px;
}

#hallux_causes .hallux_causes_in .txt_box02 .child p.ttl{
  font-size: 20px;
  font-weight: 700;
}

#hallux_causes .hallux_causes_in .txt_box02 .child p.txt{
  margin: 0;
}

#hallux_causes .hallux_causes_in .deco01{
  position: absolute;
  right: -200px;
  top: 0;
  width: 240px;
}

@media screen and (max-width: 1600px){
  #hallux_causes{
    overflow: hidden;
  }
}

#hallux_ttl01{
  max-width: 1400px;
  margin: 0 auto 100px;
  position: relative;
}

#hallux_ttl01 p.ttl01{
  text-align: center;
  margin: 0 0 40px;
}

#hallux_ttl01 p.ttl01 span{
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(transparent 50%, #ffedd6 50%);
}

#hallux_ttl01 p.arrow01{
  position: relative;
  z-index: 2;
  margin: 0 0 -7px;
}

#hallux_ttl01 p.arrow01 img{
  margin: auto;
}

#hallux_ttl01 .hallux_ttl01_in{
  padding: 30px 40px;
  margin: -10px 0 0;
  text-align: center;
  position: relative;
  z-index: 0;
  background: url(https://nailcare-lili.com/wp-content/uploads/2025/06/gaihanboshi03_bg.jpg) no-repeat center;
}

#hallux_ttl01 .hallux_ttl01_in p{
  text-align: center;
  color: #fff !important;
  font-size: 30px;
  font-weight: 700;
}

.hallux_course{
  overflow: hidden;
}

.hallux_course .hallux_course_in{
  width: 1200px;
  margin: 100px auto 100px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.hallux_course .hallux_course_in .img_box{
  padding: 0;
  margin: 0 calc(50% - 50vw);
  width: 45vw;
}

.hallux_course .hallux_course_in .img_box img{
  object-fit: cover;
  width: 100%;
  height: 600px;
}

.hallux_course .hallux_course_in .txt_box{
  width: 50%;
  padding: 30px 0 0;
}

.hallux_course .hallux_course_in .txt_box p.en{
  font-size: 90px;
  font-family: 'Times New Roman', sans-serif;
  line-height: 1.1;
  transform: rotate(0.028deg);
  color: #26a9ed;
}

.hallux_course .hallux_course_in .txt_box p.ttl{
  font-size: 30px;
  font-weight: 700;
}

.hallux_course .hallux_course_in .txt_box .photo_box{
  margin: 40px 0 0;
}

.hallux_course .hallux_course_in .txt_box .photo_box ul{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.hallux_course .hallux_course_in .txt_box .photo_box ul li{
  width: 46%;
}

.hallux_course02 .hallux_course_in{
  flex-direction: row-reverse;
}

.hallux_course02 .hallux_course_in .txt_box p.en{
  color: #ff9c00;
}

.hallux_course .hallux_course_in .txt_box .photo_box02{
  margin: 30px 0 0 calc(100% - 45vw);
}

.hallux_course .hallux_course_in .txt_box .photo_box02 ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.hallux_course .hallux_course_in .txt_box .photo_box02 ul li{
  width: 30%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.hallux_course .hallux_course_in .txt_box .photo_box02 ul li p.ttl{
  font-size: 20px;
}

#hallux_price{
  background-image: url(https://nailcare-lili.com/wp-content/uploads/2025/06/gaihanboshi07_bg.jpg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  padding: 100px 0 140px;
  margin: 0 0 130px;
}

#hallux_price .hallux_price_in{
  width: 1200px;
  margin: 0 auto;
}

#hallux_price .hallux_price_in .txt_box{
  width: 630px;
  margin: 0 auto 40px;
}

#hallux_price .hallux_price_table{
  width: 930px;
  margin: 0 auto 40px;
}

#hallux_price .hallux_price_table02{
  margin: 0 auto 0;
}

#hallux_price .hallux_price_table tr th.title_td{
  text-align: center;
  vertical-align: middle;
  width: 260px;
  background-color: #f4f4f4;
  color: #000;
  font-size: 27px;
  font-weight: 700;
  border: 1px solid #d8d8d8;
}

#hallux_price .hallux_price_table tr td{
  border: 1px solid #d8d8d8;
  padding: 20px;
  background: #fff;
}

#hallux_price .hallux_price_table tr td.menu_td li{
  list-style-type: disc;
  margin: 0 0 0 18px;
  font-weight: 700;
  padding-left: 0;
}

#hallux_price .hallux_price_table tr td.menu_td li::before{
  display: none;
}

#hallux_price .hallux_price_table tr td.price_td{
  width: 240px;
  background-color: #fff4f5;
  text-align: center;
  vertical-align: middle;
}

#hallux_price .hallux_price_table tr td.price_td span.time{
  background: #fff;
  font-weight: 700;
  padding: 3px 20px;
  display: inline-block;
  margin: 0 0 20px 0;
}

#hallux_price .hallux_price_table tr td.price_td p.price{
  color: #e60012;
  font-weight: bold;
  text-align: center;
}

#hallux_price .hallux_price_table tr td.price_td p.price span.eng{
  font-family: 'Times New Roman', sans-serif;
  line-height: 1.1;
  transform: rotate(0.028deg);
  font-size: 35px;
  margin: 0 7px 0 0;
}

.hallux_bnr p{
  text-align: center;
}

.hallux_bnr p img{
  width: auto;
  margin: auto;
}

#hallux_faq .hallux_faq_in{
  width: 640px;
  margin: 100px auto 100px;
}

.hallux_faq_dd {
  display: none;
}

.hallux_faq_dt {
  background-color: #FFF;
  padding: 15px 45px 15px 50px;
  font-size: 18px;
  margin: 10px 0 0;
  transition: all .3s ease;
  cursor: pointer;
  position: relative;
  border-bottom: 1px dashed #000;
}

.hallux_faq_dt::before,
.hallux_faq_dt::after {
  position: absolute;
  content: '';
  top: 1px;
  right: 10px;
  bottom: 0;
  width: 20px;
  height: 2px;
  margin: auto;
  background: #151E2F;
}

.hallux_faq_dt::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

.hallux_faq_dt.active::after {
  transform: rotate(0deg);
}

.hallux_faq_dd {
  background-color: #FFF;
  padding: 15px 20px 10px 40px;
  position: relative;
}

.hallux_faq_dt span,
.hallux_faq_dd span {
  position: relative;
}

.hallux_faq_dt span::before {
  position: absolute;
  content: "Q";
  top: -5px;
  left: -40px;
  color: #151E2F;
  font-size: 30px;
  font-family: 'Times New Roman', sans-serif;
  transition: all .3s ease;
}

.hallux_faq_dd span::before {
  position: absolute;
  content: "A";
  top: -5px;
  left: -30px;
  color: #151E2F;
  font-size: 30px;
  font-family: 'Times New Roman', sans-serif;
}

.hallux_faq_dt.active {
  color: #ff9c00;
}

.hallux_faq_dt.active span::before{
  color: #ff9c00;
}

@media screen and (max-width: 1280px){
  .hallux_main_img_in{
    width: 100%;
  }
  .hallux_main_img_in h1{
    font-size: 4.7vw;
  }
  .hallux_main_img_in h1 span{
    font-size: 6.7vw;
  }
  #hallux_intro{
    width: 90%;
  }
  #hallux_intro .img_box{
    width: 40%;
  }
  #hallux_intro .txt_box{
    width: 55%;
    padding-right: 30px;
  }
  #hallux_causes .hallux_causes_in{
    width: 90%;
  }
  #hallux_causes .hallux_causes_in .txt_box02{
    width: 100%;
    padding-right: 30px;
  }
  .hallux_course .hallux_course_in{
    width: 100%;
    padding-right: 30px;
  }
  .hallux_course .hallux_course_in .txt_box{
    padding: 30px 30px;
  }
  .hallux_course .hallux_course_in .img_box{
    width: 47%;
    margin: 0 0 0 calc(-4% - 0vw);
  }
  .hallux_course02 .hallux_course_in{
    padding-right: 0;
  }
  #hallux_price .hallux_price_in{
    width: 90%;
    padding-right: 30px;
  }
  #hallux_price .hallux_price_table{
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .hallux_main_img_in{
    width: 100%;
    height: 113vw;
  }

  .hallux_main_img_in h1{
    font-size: 7vw;
    top: 26%;
    left: 15%;
    transform: none;
    z-index: 1;
  }

  .hallux_main_img_in h1 span{
    font-size: 10vw;
  }

  .hallux_main_img_in .deco1{
    width: 37vw;
    bottom: -44vw;
    right: 3vw;
    z-index: 0;
  }

  #hallux_intro{
    width: 100%;
    padding: 0 4%;
    flex-direction: column;
    margin: 50px auto 0;
  }

  #hallux_intro .img_box {
    width: 100%;
  }

  #hallux_intro .txt_box{
    width: 100%;
    padding-top: 30px;
    padding-right: 0;
  }

  #hallux_intro .txt_box p.ttl{
    margin: 0 0 10px;
  }

  #hallux_intro .txt_box p.txt {
    margin: 0 0 20px;
  }

  #hallux_causes .hallux_causes_in{
    width: 100%;
    padding: 0 4%;
    margin: 70px auto 0;
  }

  #hallux_causes .hallux_causes_in .txt_box{
    width: 100%;
  }

  #hallux_causes .hallux_causes_in .txt_box02{
    width: 100%;
    flex-direction: column;
    gap: 80px;
    padding-right: 0;
  }

  #hallux_causes .hallux_causes_in .txt_box02 .child{
    width: 100%;
  }

  #hallux_causes .hallux_causes_in .txt_box02 .child::before {
    right: calc(50% - 15px);
    top: auto;
    bottom: -40px;
  }

  #hallux_causes .hallux_causes_in .txt_box02 .child::after {
    right: calc(50% - 3px);
    top: auto;
    bottom: -52px;
  }

  #hallux_causes .hallux_causes_in .deco01{
    display: none;
  }

  #hallux_ttl01{
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0px auto 70px;
  }

  #hallux_ttl01 p.ttl01 span{
    font-size: 18px;
  }

  #hallux_ttl01 p.ttl01 {
    width: 90%;
    margin: 0 auto 30px;
  }

  #hallux_ttl01 .hallux_ttl01_in{
    padding: 30px 20px;
  }

  #hallux_ttl01 .hallux_ttl01_in p{
    font-size: 20px;
  }

  .hallux_course .hallux_course_in{
    width: 100%;
    margin: 70px auto 0;
    justify-content: space-between;
    padding-right: 0;
  }

  .hallux_course .hallux_course_in .img_box {
    width: 100%;
    margin: 0;
  }

  .hallux_course .hallux_course_in .img_box img{
    width: 100%;
    height: 70vw;
  }

  .hallux_course .hallux_course_in .txt_box{
    width: 100%;
    padding: 20px 4%;
  }

  .hallux_course .hallux_course_in .txt_box p.en{
    font-size: 54px;
  }

  .hallux_course .hallux_course_in .txt_box p.ttl{
    font-size: 24px;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box {
    margin: 30px 0 0;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box ul li {
    width: 48%;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box ul{
    gap: 0;
    justify-content: space-between;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box02 {
    margin: 30px 0 0;
    border: 3px solid #eee;
    padding: 20px;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box02 ul{
    flex-direction: column;
    gap: 40px;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box02 ul li{
    width: 100%;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    position: relative;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box02 ul li::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 15px;
    border-color: #000000 transparent transparent transparent;
    position: absolute;
    right: calc(50% - 20px);
    top: auto;
    bottom: -28px;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box02 ul li:last-child::before{
    display: none;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box02 ul li p.ttl {
    font-size: 18px;
    margin: 0 0 0 20px;
  }

  .hallux_course .hallux_course_in .txt_box .photo_box02 ul li p.img{
    width: 34%;
  }

  .hallux_ttl_box p.t01{
    font-size: 70px;
  }
  .hallux_ttl_box h2.t02{
    font-size: 27px;
  }

  #hallux_price{
    background-size: 1000px;
    padding: 0 0 140px;
    margin: 0 0 70px;
  }

  #hallux_price .hallux_price_in{
    width: 100%;
    padding: 0 4%;
    margin: 70px auto 0;
  }

  #hallux_price .hallux_price_in .txt_box {
    width: 100%;
    margin: 0 auto 30px;
  }

  #hallux_price .hallux_price_table{
    width: 100%;
    margin: 0 auto 30px;
  }

  #hallux_price .hallux_price_table tr{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  #hallux_price .hallux_price_table tr th.title_td{
    width: 100%;
    font-size: 20px;
    padding: 10px;
  }

  #hallux_price .hallux_price_table tr td{
    width: 100%;
    font-size: 15px;
  }

  #hallux_price .hallux_price_table tr td.price_td{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  #hallux_price .hallux_price_table tr td.price_td span.time{
    margin: 0 20px 0 0;
  }

  #hallux_price .hallux_price_table tr td.price_td p.price span.eng{
    font-size: 30px;
  }

  #hallux_price .hallux_price_table{
    border: 1px solid #d8d8d8;
  }

  #hallux_price .hallux_price_table tr,
  #hallux_price .hallux_price_table tr th,
  #hallux_price .hallux_price_table tr td{
    border: 0;
  }

  #hallux_price .hallux_price_table tr th.title_td{
    border: none;
  }

  .hallux_bnr{
    margin: 0 20px 0;
  }

  .hallux_bnr p img{
    width: 100%;
    height: auto;
  }

  #hallux_faq .hallux_faq_in {
    width: 100%;
    padding: 0 4%;
    margin: 70px auto 70px;
  }

  .hallux_faq_dt{
    padding: 10px 30px 10px 40px;
    font-size: 15px;
  }

  .hallux_faq_dd{
    font-size: 15px;
    padding: 13px 30px 10px 40px;
  }

  .hallux_faq_dt span::before{
    font-size: 25px;
    top: -4px;
    left: -37px;
  }

  .hallux_faq_dd span::before{
    top: -4px;
    left: -36px;
    font-size: 25px;
  }

  .hallux_faq_dt::before, .hallux_faq_dt::after{
    right: 7px;
    width: 17px;
  }
}