button {
  background: none;
  border: none;
  padding: 0;
  appearance: none;
  cursor: pointer;
}
section {
  padding: 80px 0;
  @media (max-width: 896px) {
    padding: 50px 0;
  }
}
/* タブ切り替えCSS最低限 */
.js-menu-panel {
  display: none;
  padding: 80px 0;

  &.is-active {
    display: block;
  }
}

.js-menu-tab {
  &.is-active {
    font-weight: bold;
    border: 2px solid var(--nanairo01) !important;
    background-color: #fff !important;
  }
}

.menu-tabs__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  button {
    background: var(--nanairo01);
    min-width: 200px;
    font-size: 18px;
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s ease-in-out;

    &:hover {
      background: var(--nanairo02);
      transform: scale(1.05);
    }
  }
  button:nth-child(2) {
    background: var(--nanairo03);
    &:hover {
      background: var(--nanairo04);
    }
  }
  button:nth-child(3) {
    background: var(--nanairo05);
    &:hover {
      background: var(--nanairo06);
    }
  }
  button:nth-child(4) {
    background: var(--nanairo07);
    &:hover {
      background: var(--nanairo01);
    }
  }
}
/*------------------------------------------------------------
	menu 施術TOP
------------------------------------------------------------*/
.textbox {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #212121;
  text-align: center;
  @media (max-width: 500px) {
    font-size: 16px;
  }
}
.subtitle {
  position: relative;
  margin-bottom: 30px;
  padding: 15px 40px;
  border-radius: 10px;
  background: #eee;
  font-size: 3rem;

  &:before,
  &:after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: #eee;
  }

  &:before {
    bottom: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
  }

  &:after {
    bottom: -30px;
    left: 50px;
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 500px) {
  .subtitle {
    font-size: 24px;
    padding: 15px;
  }
}

.menuTopSec {
  position: relative;
  .menuTop {
    margin-bottom: 80px;
  }

  .menuTop02 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    .photobox {
      width: 52%;
      outline: 2px solid #fff;
      outline-offset: -6px;
    }

    p {
      width: 44%;
      margin: 0 auto;
      line-height: 2.2;

      .menulink {
        font-size: 2rem;
        font-weight: 700;
        color: #579bda;
        border-bottom: 1px dashed #95c7ec;
        padding-bottom: 3px;
        &:hover{
          color: var(--nanairo02);
          border-bottom: 1px dashed var(--nanairo03);
        }
      }
      span {
        font-size: 2rem;
        font-weight: 700;
        color: #579bda;
        border-bottom: 1px dashed #95c7ec;
        padding-bottom: 3px;
      }
    }
  }
}
@media (max-width: 896px) {
  .menuTopSec {
    .menuTop {
      margin-bottom: 60px;
    }
    .menuTop02 {
      flex-direction: column;

      .photobox {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
      }

      p {
        width: 100%;
        text-align: center;
      }
    }
  }
}

/*------------------------------------------------------------
	menu 施術List
------------------------------------------------------------*/
/* 保険デザイン */
.listSec {
  .contentOuter {
    .contentListBox {
      max-width: 800px;
      margin: 80px auto 0;
      h4 {
        text-align: center;
        background-color: var(--nanairo01);
        padding: 10px;
        font-size: 3rem;
      }
      ul {
        width: 100%;
        h5 {
          display: block;
          font-size: 20px;
          margin-bottom: 10px;
        }
        p {
          small {
            font-size: 13px;
            color: #555;
          }
        }
      }
      .list01 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        li {
          width: calc(100% / 2 - 42px);
          display: flex;
          justify-content: center;
          flex-direction: column;
          align-items: center;
          padding: 20px;
          border: 1px solid #707070;
          margin-bottom: -1px;
          margin-left: -1px;
        }
      }
      /* 自賠責保険・労災デザイン */
      .list02 {
        li {
          padding: 20px;
          border: 1px solid #707070;
          margin-bottom: -1px;
        }
      }
    }
    .contentListBox:nth-child(2) {
      h4 {
        background-color: var(--nanairo06);
      }
    }
  }
}
@media (max-width: 680px) {
  .listSec {
    .contentOuter {
      .contentListBox {
        margin: 40px auto 0;
        h4 {
          font-size: 2.4rem;
        }
        ul {
          h5 {
            font-size: 18px;
          }
        }
        .list01 {
          li {
            width: 100%;
            margin-bottom: 0px;
            margin-left: 0px;
          }
        }
      }
    }
  }
}
/*------------------------------------------------------------
	保険施術
------------------------------------------------------------*/
.insuranceSec {
  border: 5px solid var(--nanairo04);
  border-image: linear-gradient(
      45deg,
      var(--nanairo01) 0%,
      var(--nanairo02) 15%,
      var(--nanairo03) 30%,
      var(--nanairo04) 45%,
      var(--nanairo05) 60%,
      var(--nanairo06) 75%,
      var(--nanairo07) 100%
    )
    1;
  border-radius: 50px;
  padding: 30px;
  margin: 80px 0;

  .insuranceText {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
  }
  .listFlex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;

    .listLink {
      .listBox {
        width: 15vw;
        aspect-ratio: 1;
        padding: 10px;
        border-radius: 50%;
        background-color: var(--nanairo04);
        outline: 2px solid #fff;
        outline-offset: -6px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        min-width: 280px;
        max-width: 350px;
        transition: all 0.3s ease-in-out;

        h4 {
          font-size: 18px;
          background-color: #fff;
          padding: 3px 10px;
          color: #29683e;
        }
      }
      &:hover {
        .listBox {
          background-color: var(--nanairo01);
        }
      }
    }
    .listLink:nth-child(2) {
      &:hover {
        .listBox {
          background-color: var(--nanairo07);
        }
      }
    }
  }
}

/*------------------------------------------------------------
	menu 施術の流れ
------------------------------------------------------------*/
.flowSec {
  .flowBoxOuter {
    max-width: 1100px;
    margin: 60px auto 0;
    .flowFlex {
      display: flex;
      align-items: center;
      gap: 40px;
      border: 3px solid var(--nanairo01);
      border-radius: 30px;
      position: relative;
      margin-bottom: 100px;
      padding: 20px 20px 20px 40px;

      &::before {
        position: absolute;
        content: "";
        bottom: -100px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 30px 30px 30px 30px;
        border-color: var(--nanairo06) transparent transparent transparent;
        z-index: 0;
      }
      figure {
        width: 40%;
        max-width: 300px;

        img {
          width: 100%;
          aspect-ratio: 3 / 2;
          object-fit: cover;
          border-radius: 30px 0 0 30px;
        }
      }
      .flowText {
        h4 {
          font-size: 3rem;
          margin-bottom: 10px;
        }
        p {
          font-size: 18px;
          span {
            color: red;
          }
          small {
            font-size: 13px;
            font-weight: 400;
            line-height: 1.4;
            display: inline-block;
          }
        }
      }
    }
    .flowFlex:nth-child(2) {
      border-color: var(--nanairo02);
    }
    .flowFlex:nth-child(3) {
      border-color: var(--nanairo03);
    }
    .flowFlex:nth-child(4) {
      border-color: var(--nanairo04);
    }
    .flowFlex:nth-child(5) {
      border-color: var(--nanairo05);
    }
    .flowFlex:last-child {
      margin-bottom: 0px;
      &::before {
        display: none;
      }
    }
  }
  @media (max-width: 700px) {
    .flowBoxOuter {
      max-width: 1100px;
      margin: 60px auto 0;
      .flowFlex {
        flex-direction: column;
        gap: 10px;
        padding: 15px;

        figure {
          width: 100%;
          max-width: 450px;

          img {
            border-radius: 30px;
          }
        }
        .flowText {
          h4 {
            font-size: 2.4rem;
          }
          p {
            font-size: 16px;
          }
        }
      }
    }
  }
}

/*------------------------------------------------------------
	menu ラストテキスト
------------------------------------------------------------*/
.menuLastSec {
  max-width: 800px;
  margin: 0 auto;
  border: 5px solid var(--nanairo04);
  border-radius: 40px;
  padding: 30px;
  background-color: #fff;
  box-shadow:
    7px 7px 0 var(--nanairo02),
    -3px -3px 10px #8888884f;

  h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 1px 0 var(--nanairo04);
    text-align: center;
  }
}

/*------------------------------------------------------------
	menu 自費施術
------------------------------------------------------------*/
/* 自費施術について */
.courseSec {
}
.table-box {
  display: flex;
  position: relative;
  justify-content: space-between;
  margin-bottom: 30px;
  text-align: left;
  padding: 2% 4% 4%;
  box-shadow: 0 2px 5px rgb(190 226 231 / 0.8);

  span {
    position: absolute;
    color: #fff;
    text-align: center;
    background: url(img/common/deco03.png) no-repeat top;
    background-size: contain;
    width: 13%;
    height: 30px;
    line-height: 1.9;
    padding: 10px;
    top: -15px;
    left: 26px;
    letter-spacing: 2px;
  }

  img {
    width: 30%;
    object-fit: cover;
    height: 270px;
  }

  .table-txt {
    display: flex;
    flex-direction: column;
    width: 70%;

    .about {
      padding-right: 100px;
      padding-bottom: 20px;
    }

    .price {
      font-family: "Hind", sans-serif;
      font-size: 1.6rem;
      font-weight: normal;
      text-align: left;
      margin: 20px 0;
      padding-left: 12px;
      border-left: 2px solid rgb(149 199 236 / 0.8);
      color: #579bda;
    }
  }

  h4 {
    font-size: 2.5rem;
    margin: 10px 0 15px;
    color: #579bda;
    font-weight: 700;
  }
}

@media all and (max-width: 896px) {
  .table-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }

  .table-box {
    width: 100%;
    flex-direction: column;
    max-width: 690px;
    margin: 0 auto;

    span {
      width: 40%;
    }

    img {
      width: 100%;
      min-height: inherit;
    }

    .table-txt {
      width: auto;

      .about {
        padding: 0;
        padding-bottom: 20px;
      }
    }

    h4 {
      font-size: 1.8rem;
    }
  }

  .menu-table {
    h3 {
      &:before {
        width: 90px;
        height: 15px;
        left: -100px;
      }

      &:after {
        width: 90px;
        height: 15px;
        right: -100px;
      }
    }
  }
}

@media all and (max-width: 390px) {
  .table-box {
    width: initial;
    padding: 6%;
  }
}
