/*
 * archive-qa.css
 * archive-qa.php 専用スタイル
 * ベース: content2.css より .l-operation-lists 内に影響する部分のみ抽出
 */

/* ====================================================
   セクション外枠
   ==================================================== */

.l-operation-lists {
  padding-block: 40px;
  background: #f5f5f5;
  font-feature-settings: "palt";
}

.l-operation-lists__inner {
  max-width: calc(1200px - 50px * 2);
  width: 100%;
  margin-inline: auto;
  padding-block: 56px 40px;
  padding-inline: 50px;
  background: #fff;
}

@media (max-width: 768px) {
  .l-operation-lists {
    padding-block: 0;
    padding-inline: 0;
    background: #f5f5f5;
  }
  .l-operation-lists__inner {
    width: 100%;
    margin-inline: auto;
    padding-block: 11px;
    padding-block-end: 50px;
    padding-inline: 20px;
    background: #fff;
  }
}

/* ====================================================
   切り替えタブ（現在コメントアウト中）
   ==================================================== */

/* .p-list-tab-heading {
  margin-block-end: 40px;
  display: flex;
  gap: 8px;
}

.l-operation-lists .c-tab-heading {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  font-size: 16px;
  font-family: "Noto Sans JP";
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  color: #333;
  border-radius: 4px 4px 0 0;
  background: #f5f5f5;
  transition: 0.3s;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
}

.c-tab-heading:hover,
.c-tab-heading.c-active {
  color: #fe9d9d;
  font-weight: 700;
  border-radius: 4px 4px 0 0;
  border-top: 1px solid #fe9d9d;
  border-right: 1px solid #fe9d9d;
  border-left: 1px solid #fe9d9d;
  background: #fff;
  border-bottom: none;
}

.c-tab-heading.--left::after {
  content: "";
  position: absolute;
  left: 0;
  right: -9px;
  bottom: 0;
  height: 1px;
  background-color: #fe9d9d;
}

.c-tab-heading.--right::after {
  content: "";
  position: absolute;
  left: -9px;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #fe9d9d;
}

.c-tab-heading.--center::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 0;
  height: 1px;
  background-color: #fe9d9d;
}

.c-tab-heading.c-active::after {
  background: none;
}

@media only screen and (max-width: 768px) {
  .l-operation-lists .c-tab-heading {
    font-size: 14px;
  }
  .p-list-tab-heading {
    margin-block-end: 16px;
    width: 100%;
  }
  .c-tab-heading {
    width: 50%;
    text-align: center;
  }
  .c-tab-heading.--center::after {
    left: -10px;
    right: -10px;
  }
}

@media (min-width: 769px) {
  .p-list-tab-heading.--operation-list {
    margin-block-end: 28px;
    gap: 4px;
  }
  .c-tab-heading.--right::after {
    left: -6px;
  }
  .c-tab-heading.center::after {
    left: -6px;
    right: -6px;
  }
  .c-tab-heading {
    max-width: 435px;
    width: 100%;
    height: 56px;
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: 2px;
  }
} */

/* ====================================================
   パネル
   ==================================================== */

.p-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.p-panel__container {
}

.p-panel__title {
  font-family: "YuMincho", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 45px;
  letter-spacing: 0;
  color: #333;
  padding-bottom: 24px;
  position: relative;
}

.p-panel__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background-color: #fe9d9d;
}

@media (max-width: 768px) {
  .p-panel {
    gap: 64px;
  }
  .p-panel__title {
    font-family:
      "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
  }
  .p-panel__title::after {
    width: 103%;
  }
}

.c-panel-item {
  margin-top: 40px;
}

/* ====================================================
   アコーディオン（1階層・外枠 .l-operation-top 用）
   ==================================================== */

.l-operation-top .js-toggle-head {
  position: relative;
}

.l-operation-top .js-toggle-head:hover {
  opacity: 1;
}

.l-operation-top .js-toggle-head::before {
  display: block;
  content: "";
  position: absolute;
  width: 2px;
  height: 14px;
  right: 6px;
  top: 50%;
  border-radius: 1px;
  transition-duration: 0.2s;
}

.l-operation-top .js-toggle-head::after {
  display: block;
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  right: 0;
  top: 50%;
  border-radius: 1px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.l-operation-top .js-toggle-head.is-open::before {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
  top: 50%;
  background-color: #cc0000;
}

.l-operation-top .js-toggle-body {
  display: none;
}

/* ====================================================
   アコーディオン（2階層・親子）
   ==================================================== */

.js-toggle-parent-head,
.js-toggle-child-head {
  position: relative;
}

.js-toggle-parent-head::before,
.js-toggle-child-head::before {
  display: block;
  content: "";
  position: absolute;
  background: #fe9d9d;
  width: 2px;
  height: 12px;
  right: calc(8px + (100vw - 375px) * (8 / 375) + 5px);
  top: 50%;
  border-radius: 1px;
  z-index: 10;
  transition-duration: 0.2s;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.js-toggle-parent-head::after,
.js-toggle-child-head::after {
  display: block;
  content: "";
  position: absolute;
  background: #fe9d9d;
  width: 12px;
  height: 2px;
  z-index: 10;
  right: calc(8px + (100vw - 375px) * (8 / 375));
  top: 48.5%;
  border-radius: 1px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.js-toggle-child-head::after {
  top: 50%;
}

@media (max-width: 768px) {
  .js-toggle-parent-head::after {
    top: 50%;
  }
}

.js-toggle-child-head::after,
.js-toggle-child-head::before {
  background: #fe9d9d;
}

.js-toggle-child-head::before {
  right: calc(16px + (100vw - 375px) * (16 / 375) + 6px);
}

.js-toggle-child-head::after {
  right: calc(16px + (100vw - 375px) * (16 / 375));
}

.js-toggle-parent-head.is-open::before,
.js-toggle-child-head.is-open::before {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
  top: 48.5%;
}

.js-toggle-child-head.is-open::before {
  top: 50%;
}

@media (max-width: 768px) {
  .js-toggle-parent-head.is-open::before,
  .js-toggle-child-head.is-open::before {
    top: 50%;
  }
}

.js-toggle-parent-body,
.js-toggle-child-body {
  display: none;
}

@media only screen and (min-width: 769px) {
  .js-toggle-parent-head::before {
    display: block;
    content: "";
    position: absolute;
    background: #fe9d9d;
    width: 2px;
    height: 12px;
    right: calc(clamp(40px, -2.181rem + 7.424vw, 72px) + 10px);
    top: 48.5%;
    border-radius: 1px;
    transition-duration: 0.2s;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }
  .js-toggle-parent-head::after {
    display: block;
    content: "";
    position: absolute;
    background: #fe9d9d;
    width: 12px;
    height: 2px;
    right: calc(clamp(40px, -2.181rem + 7.424vw, 72px) + 5px);
    top: 48.5%;
    border-radius: 1px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }
  .js-toggle-child-head::before {
    right: calc(15px + 6px);
  }
  .js-toggle-child-head::after {
    right: 16px;
  }
}

/* ====================================================
   アコーディオン 共通パーツ（.p-qa-accordion__*）
   ==================================================== */

.p-qa-accordion__parent-menu {
  width: 100%;
}

.p-qa-accordion__parent-head {
  max-width: 1100px;
  height: 80px;
  background: linear-gradient(90deg, #fff9f8 0%, #ffe9e4 100%);
  padding-left: 40px;
  border-radius: 8px;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 230px;
  position: relative;
}

.p-qa-accordion__parent-head-text-main {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0;
  color: #fe9d9d;
  position: relative;
}
.p-qa-accordion__parent-head-text-main::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -230px;
  width: 230px;
  height: 80px;
  background: #ffded6;
  border-radius: 0 8px 8px 0;
}

.p-qa-accordion__parent-body {
  /* padding-block-start: 24px;
  padding-block-start: 2.4rem;
  padding-inline: 20px;
  padding-inline: 2rem;
  padding-block-end: 24px;
  padding-block-end: 2.4rem;
  margin-inline: auto; */
}

.p-qa-accordion__child-menu-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 768px) {
  .p-qa-accordion__parent-head {
    height: 80px;
    padding-left: 24px;
    border-radius: 0;
    grid-template-columns: 1fr clamp(1.75rem, 0.796rem + 4.07vw, 2.75rem);
    margin-inline: -20px;
    gap: 0;
  }
  .p-qa-accordion__parent-head-text-main {
    font-size: 24px;
  }
  .p-qa-accordion__parent-head-text-main::before {
    right: calc(-1 * clamp(1.75rem, 0.796rem + 4.07vw, 2.75rem));
    width: clamp(1.75rem, 0.796rem + 4.07vw, 2.75rem);
    height: 80px;
    border-radius: 0;
  }
  .p-qa-accordion__parent-body {
    padding-block: 24px;
  }
}

.p-qa-accordion__child-head {
  display: flex;
  padding: 17.5px 36px 17.5px 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 4px;
  background: #fef5f3;
}
.p-qa-accordion__child-head span {
  color: #333;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  /* letter-spacing: 0.17em; */
}

.p-qa-accordion__child-body {
  padding-block-end: 16px;
  padding-block-end: 1.6rem;
}

.p-qa-accordion__list-item {
  display: flex;
  padding: 16px 16px 15px;
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid #f5f5f5;
  color: #333;
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}

.p-qa-accordion__list-item a {
  display: block;
  width: 100%;
  color: #333;
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}

.p-qa-accordion__list-item span {
  padding-inline-start: 4px;
}

.p-qa-accordion__list-item::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background: url(../../assets/img/more-arrow.svg) no-repeat;
}

.p-qa-accordion__list-item.u-no-link {
  color: var(--text-color);
}

.p-qa-accordion__list-item.u-no-link::after {
  display: none;
}

.p-qa-accordion__list-item.u-no-link a:hover {
  opacity: 1;
}

/* .p-qa-accordion__list-item:not(:has(a))::after {
  display: none;
}

.p-qa-accordion__list-item:not(:has(a)):hover {
  opacity: 1;
  cursor: default;
} */

@media only screen and (max-width: 768px) {
  .p-qa-accordion__child-head span {
    font-size: 14px;
  }
}

@media only screen and (min-width: 769px) {
  .p-qa-accordion__parent-body {
    margin-block: 40px 64px;
    max-width: 860px;
    width: 100%;
    margin-inline: auto;
    /* border-radius: 8px;
    background:
      url(../../assets/img/top/top-accordion-treatment-face-body-bg.webp)
        no-repeat,
      linear-gradient(193deg, #f9f9f9 18.96%, #ececee 81.04%);
    background-size: 66%;
    background-position: right bottom;
    padding-block: 64px;
    padding-inline: 80px;
    margin-block-end: 34px; */
  }

  /* .p-qa-accordion__parent-menu:nth-child(2) .p-qa-accordion__parent-body {
    background:
      url(../../assets/img/top/top-accordion-treatment-inner-care-bg.webp)
        no-repeat,
      linear-gradient(193deg, #f9f9f9 18.96%, #ececee 81.04%) no-repeat;
    background-position:
      right bottom,
      center;
    background-size: contain, cover;
  } */

  /* .p-qa-accordion__parent-menu:nth-child(3) .p-qa-accordion__parent-body {
    background:
      url(../../assets/img/top/top-accordion-treatment-art-make-bg.webp)
        no-repeat,
      linear-gradient(193deg, #f9f9f9 18.96%, #ececee 81.04%) no-repeat;
    background-position:
      right bottom,
      center;
    background-size: contain, cover;
  } */

  /* .p-qa-accordion__parent-menu:nth-child(4) .p-qa-accordion__parent-body {
    background:
      url(../../assets/img/top/top-accordion-treatment-men-bg.webp) no-repeat,
      linear-gradient(193deg, #f9f9f9 18.96%, #ececee 81.04%) no-repeat;
    background-size: contain, cover;
    background-position:
      right bottom,
      center;
  } */

  /* .p-qa-accordion__parent-menu:nth-child(5) .p-qa-accordion__parent-body {
    background:
      url(../../assets/img/top/top-accordion-treatment-online-bg.webp) no-repeat,
      linear-gradient(193deg, #f9f9f9 18.96%, #ececee 81.04%) no-repeat;
    background-position:
      right bottom,
      center;
    background-size: contain, cover;
  } */

  /* .p-qa-accordion__parent-menu:nth-child(6) .p-qa-accordion__parent-body {
    background:
      url(../../assets/img/top/top-accordion-treatment-after-care-bg.webp)
        no-repeat,
      linear-gradient(193deg, #f9f9f9 18.96%, #ececee 81.04%) no-repeat;
    background-position:
      right bottom,
      center;
    background-size: contain, cover;
  } */

  .p-qa-accordion__child-menu-wrap {
    padding: 40px;
    border-radius: 8px;
    opacity: 0.8;
    background: #fff;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.08);
  }

  .p-qa-accordion__parent-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .p-qa-accordion__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
  }

  .p-qa-accordion__list-item {
    padding-block-end: 15px;
  }

  .p-qa-accordion__child-head {
    font-size: 16px;
  }

  .p-qa-accordion__child-body {
    /* padding-block-end: 23px;
    padding-block-end: 2.3rem; */
    padding-bottom: 0;
  }

  .p-qa-accordion__child-menu:last-child .p-qa-accordion__child-body {
    padding-block-end: 0;
  }
}

/* ====================================================
   親アコーディオン見出し OPEN/CLOSE テキスト（PC のみ）
   ==================================================== */

@media screen and (min-width: 769px) {
  .p-qa-accordion__parent-head-text {
    position: absolute;
    top: 51%;
    right: clamp(5.6rem, -0.849rem + 7.8vw, 7.5rem);
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    /* background: #ffded6;
    width: 230px;
    height: 100%;
    display: block; */
  }

  .p-qa-accordion__parent-head-text::before {
    content: "OPEN";
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    color: #fe9d9d;
  }

  .is-open .p-qa-accordion__parent-head-text::before {
    content: "CLOSE";
  }
}

/* ====================================================
   治療パネル（.p-qa-treatment__menu-wrap）
   ==================================================== */

.p-qa-treatment__menu-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

@media screen and (min-width: 769px) {
  .p-qa-treatment__menu-wrap {
    gap: 16px;
    margin-top: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .c-panel-item .p-qa-accordion__child-head {
    height: 56px;
  }
}

/* ====================================================
   治療機器パネル（.--machines）
   ==================================================== */

.c-panel-item .--machines {
  padding-top: 16px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "list-item img-item";
  gap: 20px;
}

.img-item {
  grid-area: img-item;
}

.heading-item {
  grid-area: heading-item;
}

.list-item {
  grid-area: list-item;
}

.c-panel-item .--machines .p-qa-accordion__child-menu-wrap {
  padding: 0;
  box-shadow: none;
}

.c-panel-item .--machines .p-qa-accordion__child-head {
  height: 40px;
}

.p-machines__heading-img {
  max-width: 530px;
  width: 100%;
  height: auto;
}

.p-machines__heading-img img {
  width: 100%;
  aspect-ratio: 530/373;
}

@media only screen and (max-width: 768px) {
  .c-panel-item .--machines {
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "img-item"
      "list-item";
    gap: 0;
  }
  .c-panel-item .--machines .p-qa-accordion__child-head {
    height: 56px;
  }
  .c-panel-item .p-machines__heading-img {
    display: none;
  }
}

/* ====================================================
   症状パネル（.--symptoms）
   ==================================================== */

.c-panel-item .--symptoms {
  padding-top: 16px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "list-item img-item";
  gap: 8px;
}

.c-panel-item .--symptoms .p-qa-accordion__child-menu-wrap {
  padding: 0;
  box-shadow: none;
  padding-block-start: 18px;
}

.c-panel-item .p-symptoms__heading-img {
  width: 319.95px;
  height: 191.097px;
  margin-inline-end: 50px;
  margin-inline-start: auto;
  margin-block-start: -37px;
}

@media only screen and (max-width: 768px) {
  .c-panel-item .p-symptoms__heading-img {
    display: none;
  }
  .c-panel-item .--symptoms {
    grid-template-columns: 1fr;
    grid-template-areas: "list-item";
    gap: 0;
    padding-block-start: 0;
  }
  .c-panel-item .--symptoms .p-qa-accordion__child-menu-wrap {
    padding-block-start: 0;
  }
  .--symptoms .p-qa-accordion__child-head {
    height: 56px;
  }
}

/* --no-parent: h3親アコーディオンなし、h4子アコーディオンのみ */
.p-qa-treatment__menu-wrap.--no-parent .p-qa-accordion__child-menu-wrap {
  width: 100%;
  max-width: calc(940px - 40px * 2);
  margin-inline: auto;
}
@media screen and (min-width: 769px) {
  .p-qa-treatment__menu-wrap.--no-parent .p-qa-accordion__child-menu-wrap {
    margin-top: 40px;
  }
}

.p-qa-treatment__menu-wrap.--no-parent .p-qa-accordion__child-head {
  background: #fff5f3;
}
#contact-info {
  background: #fffafa;
}

#pan-list ul li {
  padding-left: 2em;
  background: url(/common2/image/slide_right-pink.svg) no-repeat 10px center;
  background-size: 7px;
}
