.add__tips-001 {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  & li {
    display: inline-block;
    margin-right: 10px;
    padding: 1rem 2rem;
    background: #fff;
    border: #bba375 1px solid;
    color: #9a7227;
    font-size: 1.6rem;
    border-radius: 5px;
    flex: 1;
    &:last-child {
      margin-right: 0;
    }
  }
  @media screen and (max-width: 768px) {
    & li {
      padding: 1rem;
      font-size: 1.4rem;
      flex: 1;
    }
  }
}
.add__area-001 {
  padding: 2rem;
  margin: 4rem 0;
  background: #fafafa;
  border-radius: 1rem;
}
.add__title-001 {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  padding: 1rem;
  position: relative;
  margin-bottom: 2rem;
  &::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: #333;
  }
}
.add__button-001 {
  border: 1px solid #333;
  padding: 1rem 4rem 1rem 2rem;
  position: relative;
  background: #fff;
  margin: 1rem auto;
  max-width: 20rem;
  text-align: center;
  user-select: none;
  &:hover {
    cursor: pointer;
    opacity: 0.8;
  }
  &:after {
    content: "";
    width: 20px;
    background: #333;
    height: 1px;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  &:before {
    content: "";
    width: 1px;
    background: #333;
    height: 20px;
    position: absolute;
    right: 1.9rem;
    top: 50%;
    transform: translateY(-50%);
    transform: 0.5s;
  }
  &.active {
    &:before {
      height: 0;
    }
  }
}

.menu_saisei {
  background: url(https://www.sincere-gc.com/wp/wp-content/uploads/2024/10/menu-saisei-01.jpg)
    no-repeat;
  background-size: 120px 72px;
  @media screen and (max-width: 768px) {
    background-size: 80px 50px;
  }
}

.clinic_info--alt {
  * {
    box-sizing: border-box;
  }
  font-size: 14px;
  & .clinic_outline .clinic_ttl {
    margin: 0;
  }
  & .clinic_outline .btn.btn--blc-tel a {
    background-color: var(--color-primary);
    background-image: url(https://www.sincere-gc.com/wp/wp-content/uploads/2025/02/icon_phone-003.png) !important;
  }
  & .clinic_outline .btn.btn--blc-contact a {
    background-color: var(--color-primary);
    background-image: url(https://www.sincere-gc.com/wp/wp-content/uploads/2025/02/icon_mail-002.png) !important;
  }
  & .clinic_outline .btn.btn--blc-tel a,
  & .clinic_outline .btn.btn--blc-contact a {
    background-position-y: center;
    background-size: 26px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    height: 100%;
  }
  & .btn-block-area {
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 10px;
    .btn {
      padding: 0 !important;
      margin: 0 !important;
    }
    & * {
      box-sizing: border-box;
    }
  }
  & .btn--blc {
    flex: 1;
    & a {
      line-height: 1.2;
      margin: 0 !important;
      margin: 0;
      width: 100% !important;
      font-size: 14px;
      line-height: 1;
      padding: 15px 15px 15px 40px;
      border-radius: 8px;
    }
  }
  .clc-blc {
    background: #fff;
  }
  .clinic_outline .photo {
    margin: 0;
    line-height: 1;
    & img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
  .clinic_outline .btn a {
    background-color: var(--color-primary);
    line-height: 1;
    background-position-y: center;
    font-size: 13px;

    padding: 15px 15px 15px 40px;
    background-size: 30px;
    background-size: 16px;
  }
  .ts00 {
    margin: 0;
  }
  .ts00 {
    dt,
    dd {
      padding: 10px;
    }
    dd {
      width: 76%;
    }
  }
  a {
    margin: 0 !important;

    border-radius: 8px !important;
  }
  .btn {
    padding: 0 !important;
    border-radius: 8px !important;
    display: iniline-block;
    margin: 10px !important;
  }
}

.tt02e--add {
  background: url(../img/common/ttl02e_bg.png) no-repeat;
  background-size: 180%;
  background-position: center;
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.4;
  margin-bottom: 20px;
  @media screen and (min-width: 768px) {
    background-size: 1200px auto;
    background-position: center;
    font-size: 3.2rem;
    margin-bottom: 40px;
  }
}
.m__pickup {
  box-sizing: border-box;
  * {
    box-sizing: border-box;
  }
  padding-left: 4%;
  padding-right: 4%;
  & .m__pickup__block {
    max-width: 890px;
    width: 92%;
    background: #fff;
    padding: 3%;
    margin: 0 auto 4% auto;
    img {
      width: 100%;
    }
  }
}
.m-c-button a {
  margin-top: 20px;
  display: inline-block;
  background: #5dc2d0;
  color: #fff;
  font-weight: bold;
  padding: 8px 0;
  width: 240px;
  border-radius: 25px;
  text-decoration: none;
  @media screen and (min-width: 768px) {
    padding: 14px 0;
    width: 420px;
    border-radius: 36px;
    font-size: 2rem;
  }
}
.m-c-youtube-short-wrapper {
  position: relative;

  width: 100%;
  max-width: 400px; /* 任意の最大幅 */
  margin: 30px auto;

  &::before {
    content: "";
    display: block;
    padding-top: 177.78%; /* 9:16のアスペクト比（16 ÷ 9 × 100）*/
  }

  & iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
.top_treatment li.saisei01 {
  background: url(https://www.sincere-gc.com/wp/wp-content/uploads/2025/01/thumb-saisei-001.png)
    no-repeat left top;
  background-size: 120px 72px;
  @media screen and (max-width: 768px) {
    background-size: 80px 50px;
  }
}
.top_treatment li.saisei02 {
  background: url(https://www.sincere-gc.com/wp/wp-content/uploads/2025/01/thumb-cell-001.png)
    no-repeat left top;
  background-size: 120px 72px;
  @media screen and (max-width: 768px) {
    background-size: 80px 50px;
  }
}
.top_treatment li.saisei03 {
  background: url(https://www.sincere-gc.com/wp/wp-content/uploads/2025/01/thumb-prp-001.png)
    no-repeat left top;
  background-size: 120px 72px;
  @media screen and (max-width: 768px) {
    background-size: 80px 50px;
  }
}
.pickup_menu--add {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  li {
    @media screen and (max-width: 768px) {
      width: 48%;
    }
  }
}

.c-bf-loop-001__wrapper {
  container-type: inline-size;
  box-sizing: border-box;
  * {
    box-sizing: border-box;
  }
  .c-bf-loop-001__list {
    /* grid 2列 サブグリッド利用*/
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, calc(50% - 5px)));
    @media screen and (max-width: 768px) {
      grid-template-columns: 1fr;
    }

    justify-content: space-between;
    gap: 10px;
    container-type: inline-size;
  }

  .c-bf-loop-001__link {
    &:visited,
    &:link {
      text-decoration: none !important;
    }
  }
  .c-bf-loop-001__title {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none !important;
    color: #333 !important;
  }

  .c-bf-loop-001__button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;

    a {
      display: inline-block;
      padding: 10px 20px;
      background: #333;
      color: #fff;
      font-size: 14px;
      font-weight: bold;
      text-decoration: none;
      border-radius: 5px;

      &:hover {
        background: #555;
        transition: 0.3s;
      }
    }
  }

  .c-bf-loop-001__block {
    font-family: noto sans, sans-serif;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 10px;
    padding: 10px;
    background: #fafafa;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);

    .c-bf-loop-001__before-after {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5px;
      .c-bf-loop-001__img-block {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 2;
      }
      .c-bf-loop-001__img-area {
        position: relative;
        width: 100%;

        .c-bf-loop-001__img {
          img {
            width: 100%;
            height: 100%;
            object-fit: contain;
          }
        }

        .c-bf-loop-001__img-text {
          background-color: #000;
          color: #fff;
          padding: 5px;
          text-align: center;
          font-size: 12px;

          &.c-bf-loop-001__img-text--before {
            background-color: rgb(138, 51, 51);
          }

          &.c-bf-loop-001__img-text--after {
            background-color: rgb(35, 100, 35);
          }
        }
        .c-bf-loop-001__img-title {
          font-size: 12px;
          font-weight: bold;
        }
        .c-bf-loop-001__img-desc {
          font-size: 11px;
          color: #666;
          line-height: 1.4;
        }
      }
    }
    .c-bf-loop-001__else-photo-area {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }

    .c-bf-loop-001__else-photo-block {
      user-select: none;
      * {
        user-select: none;
      }
      width: 50px;
      border: 3px solid #ddd;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: stretch;
      cursor: pointer;
      &.js__bf-active {
        border: 3px solid #333;
      }
      &:hover {
        opacity: 0.8;
      }
    }
    .c-bf-loop-001__else-photo-block-inner {
      &.c-bf-loop-001__else-photo-block-inner--ba {
        display: flex;
        justify-content: center;
        align-items: stretch;
      }
      .c-bf-loop-001__else-photo-block-inner__before {
        border: 1px solid #b94b4b;
        height: 100%;
        position: relative;
      }
      .c-bf-loop-001__else-photo-block-inner__after {
        border: 1px solid #1b8a31;
        position: relative;
        height: 100%;
      }
      .c-bf-loop-001__else-photo-block-inner__else {
        border: 1px solid #666;
        position: relative;
        height: 100%;
      }
    }
    &.c-bf-loop-001__else-photo-block-inner--b {
    }
    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 100%;
    }
  }
}

.c-bf-loop-001__table {
  margin: 10px 0 0;
  font-size: 12px;

  .c-bf-loop-001__table-row {
    display: grid;
    grid-template-columns: 0.33fr 1fr;
    border-bottom: 1px solid #ddd;
    margin: 0;

    &:first-child {
      border-top: 1px solid #ddd;
    }

    .c-bf-loop-001__table-title {
      vertical-align: middle;
      font-weight: bold;
      background: #eee;
      padding: 5px;
    }

    .c-bf-loop-001__table-cont {
      padding: 5px;
      vertical-align: middle;
      margin: 0;
    }
  }
}

.c-bf-loop-001__table-02 {
  display: grid;

  border-bottom: 1px solid #ddd;

  &:first-child {
    border-top: 1px solid #ddd;
  }

  grid-template-columns: 1fr 0.33fr;

  .c-bf-loop-001__table-02__name {
    font-weight: bold;
    padding: 5px;
    background: #eee;
  }

  .c-bf-loop-001__table-02__price {
    font-size: 12px;
    padding: 5px;
    text-align: right;
  }
}
/* QA調整 */
label {
  & h3 {
    font-weight: normal !important;
  }
}
/* 2025.03.20
https://www.sincere-gc.com/menu/shiwa/
調整
*/
.shiwa_new01a h3 {
  background: #cdf2de;
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  padding: 0.6em 0;
  margin-bottom: 0.5em;
}
.shiwa_new01b h3 {
  background: #cdcef2;
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  padding: 0.6em 0;
  margin-bottom: 0.5em;
}
.shiwa_new01c h3 {
  background: #f2cbde;
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  padding: 0.6em 0;
  margin-bottom: 0.5em;
}
.insta-block {
  max-width: 600px !important;
  margin: 0 auto;
  iframe {
    margin: 20px auto;
    display: block;
    min-width: 100% !important;
  }
}

.wp-block-embed.is-type-video {
  .wp-block-embed__wrapper {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
  }
  iframe {
    width: 100%;
    height: 100%;
  }
}
.prof--add-01 {
  h3 {
    font-size: 1.4rem;
    font-weight: 600;
    padding-bottom: 0.5em;
    margin-top: 2.4rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    text-align: left;
    letter-spacing: 0.05em;
  }

  h4 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }

  span {
    display: inline-block;
    min-width: 5em;
    font-weight: 500;
    margin-right: 0.5em;
  }
  .prof-text {
    h3 {
      font-size: 1.6rem;
      border-bottom: 1px solid #ccc;
    }
    h4 {
      font-weight: normal;
    }
  }
}
h3 label {
  font-weight: normal !important;
}
