@charset "UTF-8";

/* デフォルトの三角アイコン削除 */
summary {
  list-style: none;
}
/* デフォルトの三角アイコン削除（Safari） */
summary::-webkit-details-marker {
  display: none;
}

@media only screen and (min-width: 992px) {
  .p-news {
    padding: 90px 0 0px;
  }
  .p-news .img_news {
    width: 600px;
    margin: 50px auto 0;
  }
}

.p-news {
  padding: 75px 0 0px;
  overflow: hidden;
}

.p-news .img_news {
  margin-top: 40px;
}

.p-accordion__ttl-container {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-align: center;
  border-bottom: 1px solid #ccbea1;
  padding-block: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding-left: calc(0.5em + 15px);
  transition: border-bottom ease-in 0.3s;
}
@media only screen and (min-width: 992px) {
  .p-accordion__ttl-container {
    font-size: 20px;
    padding-top: 27px;
    padding-left: calc(1em + 18px);
    gap: 1em;
  }
}

.p-accordion[open] .p-accordion__ttl-container {
  border-color: currentColor;
}

.p-accordion__ttl-container:hover {
  cursor: pointer;
}

.p-accordion__ttl-container::after {
  flex-shrink: 0;
  content: "";
  display: inline-block;
  background: url(../img/icon_arrow-down.svg) no-repeat center / contain;
  width: 15px;
  height: 6px;
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
}
@media only screen and (min-width: 992px) {
  .p-accordion__ttl-container::after {
    width: 18px;
    height: 8px;
  }
}

.p-accordion[open] .p-accordion__ttl-container::after {
  transform: rotate(180deg);
}

.p-accordion__ttl {
  width: 100%;
}
@media only screen and (min-width: 992px) {
  .p-accordion__ttl {
    width: initial;
    min-width: 9ic;
  }
}

.p-accordion__list {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 2.4;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 0 1.25em;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: content-box;
  overflow: hidden;
  opacity: 0;
  transition:
    margin-top ease 0.55s,
    padding-bottom 0.4s,
    max-width 0.5s,
    max-height 0.65s ease,
    opacity 0.65s ease-out;
}
@media only screen and (min-width: 992px) {
  .p-accordion__list {
    font-size: 16px;
    line-height: calc(35 / 16);
    grid-template-columns: repeat(3, 1fr);
    transition:
      margin-top ease 0.3s,
      padding-bottom 0.2s,
      max-width 0.3s,
      max-height 0.35s ease,
      opacity 0.2s ease-out;
  }
}

.p-accordion__item {
  display: flex;
  gap: 0.25em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-block: 0.75em 0.5em;
}

@media only screen and (min-width: 576px) {
  .p-accordion__item.p-accordion__item--long {
    grid-column: 1 / -1;
  }
}
@media only screen and (min-width: 992px) {
  .p-accordion__item.p-accordion__item--long {
    grid-column: 1 / 3;
  }
}

.p-accordion__item::before {
  content: "●";
}

.p-accordion-container {
  background: linear-gradient(90deg, #b29d72 0%, #a38952 100%);
  color: #fff;
  padding: 15px 20px 40px;
}
@media only screen and (min-width: 992px) {
  .p-accordion-container {
    padding: 20px 50px 68px;
  }
}

@media only screen and (min-width: 992px) {
  .p-accordion-container__item {
    max-width: 940px;
    margin-inline: auto;
  }
}

.p-accordion-container__item.is-open > .p-accordion__list {
  margin-top: 0.5em;
  padding-top: initial;
  padding-bottom: 16px;
  opacity: 1;
  transition:
    padding-top ease 0.55s,
    padding-bottom 0.4s,
    max-width 0.5s,
    max-height 0.65s ease,
    opacity 0.65s ease-in;
}
@media only screen and (min-width: 992px) {
  .p-accordion-container__item.is-open > .p-accordion__list {
    padding-bottom: 47px;
    transition:
      padding-top ease 0.3s,
      padding-bottom 0.2s,
      max-width 0.3s,
      max-height 0.35s ease,
      opacity 0.7s ease-in;
  }
}

@media only screen and (min-width: 992px) {
  .p-accordion-container:has(.p-accordion-container__item:last-child.is-open) {
    padding-bottom: 35px;
  }
}

.p-medical {
  background-position: center top;
  background-size: auto 2362px;
}
@media only screen and (min-width: 992px) {
  .p-medical {
    padding-block: 102px 150px;
  }
}

.p-about__ttl:has(wbr) {
  word-break: keep-all;
}

.p-feature__list li:not(:has(.p-feature__wrap)) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (min-width: 576px) {
  .p-feature__list li:has(.p-feature__wrap):nth-child(even) {
    flex-direction: row-reverse;
  }
}

@media only screen and (min-width: 576px) {
  .p-feature__list li:has(.p-feature__wrap):nth-child(odd) {
    flex-direction: initial;
  }
}

.p-feature__list li:not(:has(.p-feature__wrap)) .p-feature__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media only screen and (min-width: 576px) {
  .p-feature__list li:nth-child(odd) .p-feature__imgWrap {
    margin-right: calc(100 / 1192 * 100%);
    margin-left: initial;
  }
}

@media only screen and (min-width: 576px) {
  .p-feature__list li:nth-child(even) .p-feature__imgWrap {
    margin-right: initial;
    margin-left: calc(100 / 1192 * 100%);
  }
}

@media only screen and (min-width: 576px) {
  .p-feature__list li:nth-child(even) .p-feature__imgWrap::after {
    right: initial;
    left: -30px;
  }
}

@media only screen and (min-width: 576px) {
  .p-feature__list li:nth-child(odd) .p-feature__imgWrap::after {
    left: initial;
    right: -30px;
  }
}

@media only screen and (min-width: 576px) {
  .p-feature__wrap {
    width: calc(546 / 1192 * 100%);
  }
}

.p-feature__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5em;
  margin-bottom: 15px;
}
@media only screen and (min-width: 992px) {
  .p-feature__head {
    gap: 0 1.25em;
    margin-bottom: 19px;
  }
}

.p-feature__list li:has(.p-feature__lead) .p-feature__head {
  margin-bottom: 4px;
}
@media only screen and (min-width: 992px) {
  .p-feature__list li:has(.p-feature__lead) .p-feature__head {
    margin-bottom: 6px;
  }
}

.p-feature__ttl-sub-container {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.p-feature__ttl-sub {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  word-break: auto-phrase;
  color: #b09a6d;
}
@media only screen and (min-width: 576px) {
  .p-feature__ttl-sub {
    font-size: 24px;
  }
}

.p-feature__num {
  margin-left: -0.1em;
  display: inline-block;
  clip-path: polygon(
    0 25%,
    24% 25%,
    24% 75%,
    0 75%,
    0 100%,
    100% 100%,
    100% 0,
    0 0
  );
  max-width: 50px;
  margin-bottom: initial;
  justify-self: end;
}
@media only screen and (min-width: 992px) {
  .p-feature__num {
    margin-left: -0.2em;
    font-weight: normal;
    font-size: 80px;
    max-width: 72px;
  }
}

.p-feature__num-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.p-feature__list li:not(:has(.p-feature__wrap)) .p-feature__ttl {
  font-size: 18px;
}
@media only screen and (min-width: 992px) {
  .p-feature__list li:not(:has(.p-feature__wrap)) .p-feature__ttl {
    font-size: 34px;
  }
}

.p-feature__ttl {
  margin-bottom: initial;
}

.p-feature__ttl:has(wbr) {
  word-break: keep-all;
}

.p-feature__list li:not(:has(.p-feature__wrap)) .p-feature__txt {
  line-height: 2.5;
  text-align: center;
}
@media only screen and (min-width: 992px) {
  .p-feature__list li:not(:has(.p-feature__wrap)) .p-feature__txt {
    line-height: calc(50 / 18);
  }
}

.p-feature__lead {
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.15em;
  line-height: calc(34 / 18);
  word-break: auto-phrase;
  margin-bottom: 4px;
}
@media only screen and (min-width: 992px) {
  .p-feature__lead {
    font-size: 22px;
    line-height: calc(45 / 22);
  }
}

@media only screen and (min-width: 992px) {
  .p-feature__txt {
    font-size: 18px;
    line-height: calc(40 / 18);
  }
}

@media only screen and (min-width: 576px) {
  .p-message__ttl {
    width: 60%;
  }
}

.p-message__position {
  margin-bottom: 5px;
}
