@charset "UTF-8";

.sp-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
}

.sp-fixed-cta-btn {
  display: flex;
  width: 100%;
}

.sp-fixed-cta-btn-item {
  position: relative;
  width: 33.3333333333%;
}

.sp-fixed-cta-btn-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 0 8px;
}

.sp-fixed-cta-btn-item:nth-of-type(1) a {
  background-color: #b8974c;
}

.sp-fixed-cta-btn-item:nth-of-type(1) .sp-fixed-cta-btn-item-balloon {
  border: 1px solid #b8974c;
}

.sp-fixed-cta-btn-item:nth-of-type(2) a {
  background-color: #f59090;
}

.sp-fixed-cta-btn-item:nth-of-type(2) .sp-fixed-cta-btn-item-balloon {
  border: 1px solid #f59090;
}

.sp-fixed-cta-btn-item:nth-of-type(3) a {
  background-color: #06c755;
}

.sp-fixed-cta-btn-item:nth-of-type(3) .sp-fixed-cta-btn-item-balloon {
  border: 1px solid #06c755;
}

.sp-fixed-cta-btn-item-balloon {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 80%;
  padding: 6px 0 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #595757;
  text-align: center;
  white-space: nowrap;
  background-color: #fff;
  box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
  transform: translate(-50%, 0);
}

.sp-fixed-cta-btn-item-icon {
  width: 17px;
  height: auto;
  aspect-ratio: 1/1;
  padding-bottom: 5px;
  margin-right: 8px;
}

.sp-fixed-cta-btn-item-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.common-cta-bg {
  padding: 50px 0;
  background-image: url("../images/bg_medical01.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 300%;
}

.common-cta-inner {
  width: 91.4666%;
  margin: 0 auto;
}

.common-cta-text {
  margin-bottom: 40px;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 1.7px;
}

.common-cta-btn {
  max-width: 375px;
  margin: 0 auto;
}

.common-cta-btn-item {
  margin-bottom: 24px;
}

.common-cta-btn-item a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 17px 30px 13px;
}

.common-cta-btn-item a::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(0, -50%) rotate(45deg);
}

.common-cta-btn-item:last-child {
  margin-bottom: 0;
}

.common-cta-btn-item:nth-of-type(1) a {
  background-color: #b8974c;
}

.common-cta-btn-item:nth-of-type(2) a {
  background-color: #f59090;
}

.common-cta-btn-item:nth-of-type(3) a {
  background-color: #06c755;
}

.common-cta-btn-item-icon {
  width: 20px;
  height: auto;
  aspect-ratio: 1/1;
  padding-bottom: 5px;
  margin-right: 10px;
}

.common-cta-btn-item-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.footer-cta {
  padding: 50px 0 70px;
}

.footer-cta-title {
  position: relative;
  margin-bottom: 40px;
}

.footer-cta-title::before {
  position: absolute;
  top: -100px;
  left: 50%;
  width: 71px;
  height: auto;
  aspect-ratio: 71/85;
  content: "";
  background: url("../images/tit_wrap.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
  transform: translate(-50%, 0);
}

.footer-cta-title p {
  margin-bottom: 16px;
  font-family: "DM Serif Display", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  color: var(--main-color);
  text-align: center;
  letter-spacing: 0.1em;
}

.footer-cta-title h2 {
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  background: none;
}

.menu-cta {
  width: 100vw;
  padding: 30px 0 0;
  margin: 0 calc(50% - 50vw);
}

.price-sec-btn {
  margin-top: 30px;
}

.price-sec-btn-item {
  margin-bottom: 20px;
}

.price-sec-btn-item:last-child {
  margin-bottom: 0;
}

.price-sec-btn-item a {
  position: relative;
  display: block;
  align-items: center;
  padding: 14px 30px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  background-color: #d5be87;
}

.price-sec-btn-item a::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 6px;
  height: 6px;
  content: "";
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(0, -50%) rotate(45deg);
}

.common-writer {
  margin-bottom: 50px;
}

.common-writer-inner {
  width: 91.4666%;
  padding: 20px;
  margin: 0 auto;
  border: 1px solid #ccc;
}

.common-writer-title {
  display: table;
  padding: 0 0 4px 30px;
  margin: 0 0 20px;
  font-size: 130%;
  line-height: 1.4;
  background: url("../images/tit.svg") no-repeat left top 7px/25px auto;
}

.common-writer-img {
  width: 70%;
  margin: 0 auto 20px;
}

.common-writer-clinic-name {
  margin-bottom: 5px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.common-writer-name {
  margin-bottom: 25px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}

.common-writer-text {
  margin-bottom: 20px;
}

.common-writer-text span {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.common-writer-link {
  text-align: right;
}

.common-writer-link a {
  position: relative;
  text-decoration: underline;
}

.common-writer-link a::before {
  position: absolute;
  top: 50%;
  left: -1.3em;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid #b79648;
  border-right: 1px solid #b79648;
  transform: translate(0, -50%) rotate(45deg);
}

@media (width >= 641px) {
  .sp-fixed-cta {
    display: none;
  }

  .common-cta {
    padding: 30px 0 0;
  }

  .common-cta-bg {
    padding: 60px 0;
    background-image: url("../images/bg_footer.jpg");
    background-size: cover;
  }

  .common-cta-inner {
    width: 91.4666%;
    margin: 0 auto;
  }

  .common-cta-text {
    margin-bottom: 60px;
    font-size: 18px;
  }

  .common-cta-btn {
    display: flex;
    gap: 0 24px;
    justify-content: space-between;
    max-width: 1200px;
  }

  .common-cta-btn-item {
    width: 384px;
    margin-bottom: 0;
    background-color: #fff;
  }

  .common-cta-btn-item a {
    justify-content: center;
    transition: opacity 0.3s ease;
  }

  .common-cta-btn-item a:hover {
    opacity: 0.8;
  }

  .common-cta-btn-item-icon {
    width: 22px;
    padding-bottom: 3px;
  }

  .common-cta-btn-item-text {
    font-size: 24px;
  }

  .footer-cta {
    padding: 130px 0 100px;
  }

  .footer-cta-title {
    margin: -90px 0 60px;
  }

  .footer-cta-title p {
    font-size: 60px;
  }

  .menu-cta {
    padding: 50px 0 0;
  }

  .price-sec-btn {
    margin-top: 50px;
  }

  .price-sec-btn-item {
    margin-bottom: 20px;
    text-align: center;
  }

  .price-sec-btn-item a {
    display: inline-block;
    min-width: 400px;
    font-size: 16px;
    transition: opacity 0.3s ease;
  }

  .price-sec-btn-item a::after {
    width: 8px;
    height: 8px;
  }

  .price-sec-btn-item a:hover {
    opacity: 0.8;
  }

  .common-writer {
    margin-bottom: 100px;
  }

  .common-writer-inner {
    max-width: 1000px;
    padding: 50px 60px;
  }

  .common-writer-wrapper {
    display: flex;
    justify-content: space-between;
  }

  .common-writer-img {
    width: 40%;
    margin: 0;
  }

  .common-writer-textbox {
    width: 55%;
  }

  .common-writer-clinic-name {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .common-writer-name {
    margin-bottom: 25px;
  }

  .common-writer-text span {
    font-size: 17px;
  }
}

/* 既存CSS調整 */
.contents_bg {
  overflow-x: hidden;
}

@media screen and (width <= 640px) {
  .pagetop {
    bottom: 75px;
  }

  .copy {
    padding-bottom: 85px;
  }

  .body_single {
    margin: 0 0 60px;
  }
}