@charset "UTF-8";

/* 共通 */
.page-acf-template .is-desktop-hidden {
  display: none;
}

@media (max-width: 767px) {
  .page-acf-template .is-desktop-hidden {
    display: block;
  }
}

.page-acf-template .is-mobile-hidden {
  display: block;
}

@media (max-width: 767px) {
  .page-acf-template .is-mobile-hidden {
    display: none;
  }
}

.page-acf-template .is-space-top {
  margin-top: 24px;
}

.page-acf-template .is-space-bottom {
  margin-bottom: 24px;
}

.page-acf-template .is-flex-left {
  grid-template-areas: "text image";
}

.page-acf-template .is-flex-right {
  grid-template-areas: "image text";
}

/* ページ固有 */
.page-acf-template .anchor-link>ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 auto;
  max-width: 70rem;
  padding: 3rem 2rem;
}

@media (max-width: 767px) {
  .page-acf-template .anchor-link>ul {
    gap: 1rem 0;
    max-width: initial;
    padding: 0;
    margin: 2rem auto;
  }
}

.page-acf-template .anchor-link>ul li {
  text-align: center;
  width: 48%;
}

.page-acf-template .anchor-link>ul li a {
    text-align: center;
    display: flex;
    border: 0.4rem double #fff;
    width: 100%;
    padding: 1rem .5rem;
    background: #533B0F;
    line-height: 2rem;
    color: #fff;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    letter-spacing: 0;
}

.page-acf-template .anchor-link>ul li ol {
  padding-block: 0 1rem;
  padding-inline: 2rem 0;
}

.page-acf-template .title-h2 h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .page-acf-template .title-h2 h2 {
    font-size: 2.2rem;
  }
  
  .page-acf-template .anchor-link>ul li{
    width: calc((100% - 1rem)/2)
  }
}

.page-acf-template .title-h2 h2::before,
.page-acf-template .title-h2 h2::after {
  content: "";
  display: inline-block;
  margin: 0 1.6rem;
  width: 14%;
  height: 12px;
  background-image: url('/import/tenant_1/162.43.45.192/html/images/common/icon/head-line.webp');
  background-repeat: no-repeat;
  background-size: contain;
}

.page-acf-template .title-h2 h2::before{
  margin: 0 1.6rem 0 0;
}

.page-acf-template .title-h2 h2::after{
  margin: 0 0 0 1.6rem;
}

.page-acf-template .title-h3 h3 {
  padding: 2rem;
  background-color: #f8f7f3;
  border-top: 2px solid #e2d7c3;
  border-bottom: 2px solid #e2d7c3;
  font-size: 2.4rem;
  letter-spacing: 0.3rem;
}

.page-acf-template .title-h4 h4 {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.6rem 0;
  background-color: rgba(0, 0, 0, 0);
  font-size: 2rem;
  font-family: Century, "Yu Mincho", serif;
  letter-spacing: 4px;
  line-height: 2.4rem;
  border-top: none;
  border-bottom: 1px solid #e8e5e0;
}

.page-acf-template .title-h4 h4::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: calc(100% - 4px);
  border-bottom: 1px solid #e8e5e0;
}

.page-acf-template .normal-textarea {
  margin-bottom: 2rem;
  line-height: 3.2rem;
}

.page-acf-template .red-textarea p {
  line-height: 4.2rem;
  font-weight: 700;
  color: #cc0033;
}

.page-acf-template .red-textarea p.fz-16 {
  font-size: 1.6rem;
}

.page-acf-template .red-textarea p.fz-20 {
  font-size: 2rem;
}

@media (max-width: 767px) {
  .page-acf-template .red-textarea p.fz-20 {
    font-size: 1.8rem;
  }
  
  .page-acf-template .title-h2 h2::before,
  .page-acf-template .title-h2 h2::after{
    width: 16%;
  }
}

.page-acf-template .red-textarea p.fz-24 {
  font-size: 2.4rem;
}

@media (max-width: 767px) {
  .page-acf-template .red-textarea p.fz-24 {
    font-size: 2rem;
  }
}

.page-acf-template .red-textarea p.fz-28 {
  font-size: 2.8rem;
}

@media (max-width: 767px) {
  .page-acf-template .red-textarea p.fz-28 {
    font-size: 2.2rem;
  }
}

.page-acf-template .red-textarea p.fz-32 {
  font-size: 3.2rem;
}

@media (max-width: 767px) {
  .page-acf-template .red-textarea p.fz-32 {
    font-size: 2.4rem;
  }
}

.page-acf-template .normal-image figure img {
  width: 100%;
  height: auto;
}

.page-acf-template .link-btn {
  text-align: center;
}

.page-acf-template .link-btn a {
  display: inline-block;
  position: relative;
  padding: 1.6rem 3rem;
  cursor: pointer;
  text-align: center;
  font-size: 1.6rem;
  font-family: Century, "Yu Mincho", serif;
  font-weight: 400;
  background-color: #533b0f;
  color: #ffffff;
  text-decoration: none !important;
  border: #533b0f;
  line-height: 3.2rem;
}

.page-acf-template .link-btn a::before {
  content: "";
  border: solid 1px #ffffff;
  position: absolute;
      top:50%;
    left:50%;
    transform:translate(-50%,-50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
}

.page-acf-template .link-btn a::after {
  content: "";
  position: absolute;
  background: url('/import/tenant_1/162.43.45.192/html/images/common/icon/ico-triangle-white.webp') no-repeat;
  bottom: 3px;
  right: 3px;
  width: 1rem;
  height: 1rem;
}

.page-acf-template .link-text a {
  text-decoration: underline;
  line-height: 3.2rem;
}

.page-acf-template .flex-contents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  line-height: 3.2rem;
}

@media (max-width: 767px) {
  .page-acf-template .flex-contents {
    display: block;
  }
}

.page-acf-template .flex-contents p {
  grid-area: text;
}

.page-acf-template .flex-contents figure {
  grid-area: image;
  display: flex;
  justify-content: center;
  max-width: 100%;
}

@media (max-width: 767px) {
  .page-acf-template .flex-contents figure {
    margin-block: 2rem 0;
  }
}

.page-acf-template .flex-contents-three {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
}

@media (max-width: 767px) {
  .page-acf-template .flex-contents-three {
    flex-flow: column;
  }
}

.page-acf-template .flex-contents-three li {
  min-width: 30%;
}

.page-acf-template .flex-contents-three li p {
  line-height: 3.2rem;
}

.page-acf-template .flex-contents-three li .title {
  margin-block: 1rem 0;
  text-align: center;
  font-weight: 700;
}

.page-acf-template .flex-contents-three li figure {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.page-acf-template .definition-lists {
  border: 1px solid #ccc4b7;
  background: #fcfbf9;
  padding: 4rem 4rem 0;
}

.page-acf-template .definition-lists dt {
  position: relative;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid #d6a75f;
  color: #c17b0c;
  font-family: Century, "Yu Mincho", serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.4rem;
 /*  padding-left: 1.6rem;
   text-indent: -1.6rem; */
}

.page-acf-template .definition-lists dd {
  margin-bottom: 4rem;
  line-height: 3.6rem;
}

.page-acf-template .unordered-lists p {
  padding-bottom: 1.6rem;
  font-weight: 700;
}

.page-acf-template .unordered-lists ul {
  padding-left: 2rem;
}

.page-acf-template .unordered-lists ul li {
  margin-bottom: 1.6rem;
  line-height: 2.4rem;
  list-style-type: disc;
}

@media (max-width: 767px) {
  .page-acf-template .table-layout {
    overflow-x: auto;
  }
}

.page-acf-template .table-layout table {
  table-layout: auto;
  width: 100%;
  border-top: 1px solid #ccc4b7;
  border-bottom: 1px solid #ccc4b7;
}

@media (max-width: 767px) {
  .page-acf-template .table-layout table {
    width: clamp(69rem, 80rem, 100rem);
  }
}

.page-acf-template .table-layout table caption {
  text-align: left;
  padding-block: 0 1.2rem;
  font-size: 1.8rem;
  line-height: 3.2rem;
}

.page-acf-template .table-layout table tr {
  border-bottom: 1px dashed #ccc4b7;
}

.page-acf-template .table-layout table tr th,
.page-acf-template .table-layout table tr td {
  width: clamp(20rem, 30rem, 40rem);
  line-height: 2.4rem;
  word-wrap: break-word;
}

.page-acf-template .table-layout table tr th {
  padding: 2rem;
  vertical-align: top;
  text-align: left;
  font-weight: 500;
  background-color: #f8f7f3;
}

.page-acf-template .table-layout table tr td {
  padding: 2rem 0.5rem 2rem 2rem;
  vertical-align: top;
  background-color: #ffffff;
}

.page-acf-template .table-layout table tr th:first-child,
.page-acf-template .table-layout table tr td:first-child {
  width: clamp(10rem, 15rem, 40rem);
  padding: 2rem;
  text-align: left;
  font-weight: 500;
  background-color: #f8f7f3;
}

@media (max-width: 767px) {

  .page-acf-template .table-layout table tr th:first-child,
  .page-acf-template .table-layout table tr td:first-child {
    width: clamp(10rem, 12rem, 15rem);
  }
}

.page-acf-template .free-layout {
  line-height: 3.2rem;
}

.page-acf-template .free-layout .text-red {
  color: #cc0033;
}

.page-acf-template .free-layout .back-line {
  background-color: #ffdcb9;
}

.page-acf-template .free-layout a[target="_blank"] {
  font-size: 1em;
}

.page-acf-template .qa-accordion-layout details:not(:first-child) {
  margin: 2rem 0 0 0;
}

.page-acf-template .qa-accordion-layout details[data-expanded="true"] summary::before {
  transform: translateY(-50%) rotate(0deg);
}

.page-acf-template .qa-accordion-layout details summary {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #e2d7c3;
  padding-block: 1.5rem;
  padding-inline: 4rem 5rem;
  background-color: #f8f7f3;
  cursor: pointer;
  font-size: 2rem;
  line-height: 2.4rem;
  list-style: none;
}

.page-acf-template .qa-accordion-layout details summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 767px) {
  .page-acf-template .qa-accordion-layout details summary {
    font-size: 1.8rem;
  }
}

.page-acf-template .qa-accordion-layout details summary::before,
.page-acf-template .qa-accordion-layout details summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.6rem;
  z-index: 10;
  width: 1.6rem;
  height: 2px;
  background-color: #533b0f;
  transform: translateY(-50%);
}

.page-acf-template .qa-accordion-layout details summary::before {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.4s ease;
}

.page-acf-template .qa-accordion-layout details summary span {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
}

.page-acf-template .qa-accordion-layout details .accordion-content .content-inner {
  position: relative;
  border-left: 1px solid #e2d7c3;
  border-right: 1px solid #e2d7c3;
  border-bottom: 1px solid #e2d7c3;
  padding-block: 1.2rem;
  padding-inline: 4rem 1.2rem;
  font-size: 1.6rem;
  line-height: 3.2rem;
}

.page-acf-template .qa-accordion-layout details .accordion-content .content-inner span {
  position: absolute;
  left: 1.5rem;
  top: 1.2rem;
}



.page-acf-template .prices-accordion-layout details:not(:first-child) {
  margin: 2rem 0 0 0;
}

.page-acf-template .prices-accordion-layout details[data-expanded="true"] summary::before {
  transform: translateY(-50%) rotate(0deg);
}

.page-acf-template .prices-accordion-layout details summary {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #e2d7c3;
  padding-block: 1.5rem;
  padding-inline: 4rem 5rem;
  background-color: #f8f7f3;
  cursor: pointer;
  font-size: 2rem;
  line-height: 2.4rem;
  list-style: none;
}

.page-acf-template .prices-accordion-layout details summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 767px) {
  .page-acf-template .prices-accordion-layout details summary {
    font-size: 1.8rem;
  }
}

.page-acf-template .prices-accordion-layout details summary::before,
.page-acf-template .prices-accordion-layout details summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.6rem;
  z-index: 10;
  width: 1.6rem;
  height: 2px;
  background-color: #533b0f;
  transform: translateY(-50%);
}

.page-acf-template .prices-accordion-layout details summary::before {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.4s ease;
}




.page-acf-template .related-surgery ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 2.4rem 0 0 0;
}

.page-acf-template .related-surgery ul li {
  border: 4px double #533b0f;
  border-radius: 5px;
  box-shadow: 0 0 5px #ccc;
}

.page-acf-template .related-surgery ul li a {
  display: block;
  padding: 1rem 1.6rem;
}

.page-acf-template .related-surgery ul li a .text {
  display: block;
  margin-bottom: 5px;
  min-height: 4rem;
  text-align: center;
  line-height: 1.3;
}

.page-acf-template .related-surgery ul li a .text img {
  position: relative;
  top: 3px;
  left: 5px;
  display: inline;
  width: 1.8rem;
}

.page-acf-template .related-surgery ul li a figure {
  text-align: center;
}

.page-acf-template .related-surgery ul li a figure img {
  height: 7rem;
}

.page-acf-template .related-surgery ul li a .textarea {
  font-size: 1.2rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .page-acf-template .related-surgery ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-acf-template .related-surgery ul li {
    border: 4px double #533b0f;
    border-radius: 5px;
    box-shadow: 0 0 5px #ccc;
  }

  .page-acf-template .related-surgery ul li a {
    display: block;
    padding: 1rem 1.6rem;
  }

  .page-acf-template .related-surgery ul li a .text {
    display: block;
    margin-bottom: 5px;
    min-height: 4rem;
    text-align: center;
    line-height: 1.3;
  }

  .page-acf-template .related-surgery ul li a .text img {
    position: relative;
    top: 3px;
    left: 5px;
    display: inline;
    width: 1.8rem;
  }

  .page-acf-template .related-surgery ul li a figure {
    text-align: center;
  }

  .page-acf-template .related-surgery ul li a figure img {
    height: 7rem;
  }

  .page-acf-template .related-surgery ul li a .textarea {
    font-size: 1.2rem;
    line-height: 1.5;
  }
}

.page-acf-template .doctor-info {
  margin-block: 4rem;
  padding: 32px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.page-acf-template .doctor-info .doctor-info-header h2 {
  position: relative;
  font-size: 2.4rem;
  text-align: center;
}

@media (max-width: 767px) {
  .page-acf-template .doctor-info .doctor-info-header h2 {
    font-size: 1.8rem;
  }
}

.page-acf-template .doctor-info .doctor-info-header h2::before {
  content: "";
  position: absolute;
  bottom: -16px;
  display: inline-block;
  width: 48px;
  height: 2px;
  left: 50%;
  transform: translateX(-50%);
  background-color: currentColor;
  border-radius: 2px;
}

.page-acf-template .doctor-info .doctor-info-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  margin-block-start: 3.2rem;
}

@media (max-width: 767px) {
  .page-acf-template .doctor-info .doctor-info-body {
    grid-template-columns: repeat(1, 1fr);
    grid-template-areas: "figure" "dl";
  }
}

.page-acf-template .doctor-info .doctor-info-body dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
}

@media (max-width: 767px) {
  .page-acf-template .doctor-info .doctor-info-body dl {
    grid-area: dl;
  }
}

.page-acf-template .doctor-info .doctor-info-body dt {
  font-size: 1.6rem;
}

.page-acf-template .doctor-info .doctor-info-body dd {
  margin-block-start: 1.6rem;
  padding-left: 1em;
  line-height: 1.7;
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  .page-acf-template .doctor-info .doctor-info-body figure {
    grid-area: figure;
  }
}

.page-acf-template .doctor-info .doctor-info-body figure figcaption {
  margin-block-start: 1.2rem;
}

.page-acf-template .doctor-info .doctor-info-body figure figcaption a {
  font-size: 1.4rem;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

[data-element-id] .page-acf-template .title-h4 h4::after{
  content: none;
}

/* 2025/05/07 */
.sp-br{
  display: none;
}

.pc-br{
  display: block;
}

@media (max-width: 767px) {
.sp-br{
  display: block;
}

.pc-br{
  display: none;
}

.sp-none-br{
  display: none;
}

body.page main article h2.spnoflex{
  display: block;
}

.c-mv-page h1.spfxdcol{
  flex-direction: column;
}
}
