@charset "UTF-8";

/* ========================================
   Lower Page Common
   ======================================== */

/* Clinic Info */
.clinic-info-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.clinic-info-image {
  flex: 1;
  max-width: 500px;
}

.clinic-info-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
}

.clinic-info-text {
  flex: 1;
  width: 100%;
}

.clinic-info-name {
  font-family: var(--font-kosugi);
  font-size: 28px;
  color: var(--color-green);
  margin-bottom: 24px;
  text-align: center;
}

.clinic-info-list {
  display: grid;
  gap: 16px;
}

.clinic-info-list dt {
  font-weight: 700;
  color: var(--color-green);
  font-size: 16px;
}

.clinic-info-list dd {
  margin-left: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Access */
.access-section {
  background-color: var(--color-bg-beige);
}

.access-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
}

.access-map iframe {
  display: block;
}

/* Doctor Profile */
.doctor-profile-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.doctor-profile-image {
  flex: 1;
  max-width: 400px;
}

.doctor-profile-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
}

.doctor-profile-text {
  flex: 1;
  width: 100%;
}

.doctor-profile-name {
  font-family: var(--font-kosugi);
  font-size: 32px;
  color: var(--color-text);
  margin-bottom: 8px;
  text-align: center;
}

.doctor-profile-role {
  font-size: 18px;
  color: var(--color-orange);
  margin-bottom: 24px;
  text-align: center;
}

.doctor-profile-history,
.doctor-profile-message {
  margin-bottom: 24px;
}

.doctor-profile-history h3,
.doctor-profile-message h3 {
  font-family: var(--font-kosugi);
  font-size: 20px;
  color: var(--color-green);
  margin-bottom: 12px;
}

.doctor-profile-history ul {
  list-style: disc;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.8;
}

.doctor-profile-message p {
  font-size: 15px;
  line-height: 1.8;
}

/* Doctor Page */
.page-template-doctor-page-php .doctor-title-area {
  position: relative;
  overflow: hidden;
  padding-top: 31px;
  padding-bottom: 104px;
}

.page-template-doctor-page-php .page-title-en {
  margin: 0 0 8px;
  font-family: var(--font-kosugi);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-green);
  text-align: center;
}

.page-template-doctor-page-php .doctor-title-area .page-title {
  font-size: 32px;
  line-height: 1.35;
}

.page-template-doctor-page-php .doctor-breadcrumb {
  padding-top: 34px;
  padding-bottom: 0;
  background-color: var(--color-white);
}

.page-template-doctor-page-php .doctor-breadcrumb .container,
.page-template-doctor-page-php .doctor-container,
.page-template-doctor-page-php .doctor-message-inner {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

.doctor-breadcrumb .container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

.page-template-doctor-page-php .doctor-breadcrumb ol {
  gap: 11px;
  font-size: 13px;
  color: #7a736b;
}

.page-template-doctor-page-php .doctor-breadcrumb a {
  color: #7a736b;
}

.page-template-doctor-page-php .doctor-breadcrumb li:not(:last-child)::after {
  margin-left: 11px;
  color: #9d9a95;
}

.page-template-doctor-page-php .doctor-profile-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 132px;
  background-color: var(--color-white);
}

.page-template-doctor-page-php .doctor-profile-section::after {
  content: '';
  position: absolute;
  top: 106px;
  right: calc(50% - 478px);
  width: 130px;
  height: 54px;
  background: url('../images/pc/deco-01.webp') no-repeat center / contain;
  opacity: 0.85;
  pointer-events: none;
}

.page-template-doctor-page-php .doctor-section-heading {
  margin-bottom: 62px;
}

.page-template-doctor-page-php .doctor-section-heading h2 {
  display: inline-block;
  padding-bottom: 15px;
  border-bottom: 3px dashed #c1c1c1;
  font-family: var(--font-kosugi);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
}

.page-template-doctor-page-php .doctor-profile-content {
  display: grid;
  grid-template-columns: 478px 1fr;
  gap: 112px;
  align-items: start;
}

.page-template-doctor-page-php .doctor-profile-image {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-template-doctor-page-php .doctor-profile-image img {
  display: block;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.page-template-doctor-page-php .doctor-profile-text {
  padding-top: 28px;
  color: #736c64;
}

.page-template-doctor-page-php .doctor-profile-name {
  display: flex;
  gap: 34px;
  align-items: baseline;
  margin-bottom: 39px;
  font-family: var(--font-kosugi);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.4;
  color: #8ed5c6;
  text-align: left;
}

.page-template-doctor-page-php .doctor-profile-name span {
  font-size: 27px;
}

.page-template-doctor-page-php .doctor-profile-block + .doctor-profile-block {
  margin-top: 34px;
}

.page-template-doctor-page-php .doctor-profile-block h3 {
  margin: 0 0 8px;
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  color: #6f675d;
}

.page-template-doctor-page-php .doctor-profile-block h3::before {
  content: '・';
  color: #8ed5c6;
}

.page-template-doctor-page-php .doctor-profile-block p,
.page-template-doctor-page-php .doctor-profile-block li {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
  color: #736c64;
}

.page-template-doctor-page-php .doctor-message-section {
  position: relative;
  min-height: 1660px;
  padding-top: 118px;
  padding-bottom: 355px;
  background: url('../images/bg.webp') no-repeat center bottom / cover;
  color: var(--color-text);
}

.page-template-doctor-page-php .doctor-message-section::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 190px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 190' preserveAspectRatio='none'%3E%3Cpath fill='%23FAF9F4' d='M0 190H1440V0C1186 46 1058 139 778 167C462 198 250 139 0 92V190Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

.page-template-doctor-page-php .doctor-message-inner {
  position: relative;
  z-index: 1;
}

.page-template-doctor-page-php .doctor-message-section h2 {
  display: inline;
  margin: 0;
  padding-bottom: 15px;
  border-bottom: 3px dashed #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-family: var(--font-kosugi);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
}

.page-template-doctor-page-php .doctor-message-text {
  margin-top: 61px;
  max-width: 82%;
}

.page-template-doctor-page-php .doctor-message-text p {
  margin: 0 0 44px;
  font-size: 18px;
  font-weight: normal;
  line-height: 2.1;
  letter-spacing: 0;
  color: var(--color-text);
}

/* Activity Detail */
.activity-detail-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.activity-detail-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgb(0 0 0 / 6%);
}

.activity-detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.activity-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-detail-text {
  padding: 0 24px 24px;
}

.activity-detail-title {
  font-family: var(--font-kosugi);
  font-size: 22px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.activity-detail-desc {
  font-size: 15px;
  line-height: 1.7;
}

/* Contact Select */

.page-template-contact-select-page-php .site-header,
.page-template-contact-select-page-php .mobile-menu,
.page-template-contact-select-page-php .site-footer,
.page-template-contact-select-page-php .page-title-area {
  display: none;
}

#contact-select {
  background: #faf9f5;
  height: 100vh;
}

#contact-select .guide-breadcrumb {
  background: #faf9f5 !important;
}

.contact-select-desc {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-select-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-select-card {
  display: block;
  padding: 40px 45px;
  background-color: var(--color-white);
  border-radius: 16px;
  border: 3px solid var(--color-green);
  text-align: left;
  transition: all 0.3s ease;
}

.contact-select-card:hover {
  background-color: var(--color-green);
  color: var(--color-white);
}

.contact-select-card:hover .contact-select-arrow {
  color: var(--color-white);
}

.contact-select-title {
  font-family: var(--font-kosugi);
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 500;
  text-align: left;
}

.contact-select-text {
  font-size: 15px;
  margin-bottom: 16px;
}

.contact-select-arrow {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-green);
}

.contact-select-back {
  display: table;
  margin: 70px auto 0;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-kosugi);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-green);
}

.contact-select-back:hover {
  color: var(--color-green);
  opacity: 0.7;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 6%);
}

/* Policy Content */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 6%);
}

.policy-content h2 {
  font-family: var(--font-kosugi);
  font-size: 24px;
  color: var(--color-green);
  margin-bottom: 16px;
  margin-top: 0;
}

.policy-content h3 {
  font-family: var(--font-kosugi);
  font-size: 20px;
  color: var(--color-text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.policy-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-content ul li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Guide Page */
.page-template-guide-page-php {
  background: var(--color-white);
}

.guide-page {
  overflow: hidden;
  color: #504434;
  background: var(--color-white);
}

.guide-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
}

.guide-narrow {
}

.guide-hero {
  position: relative;
  z-index: 0;
  padding: 31px 0 84px;
  background: #faf9f4;
}

.guide-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -61px;
  left: 0;
  height: 184px;
  width: 100%;
  background-image: url("../images/wave_up_bg_beige.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 130%;
  pointer-events: none;
  background-color: #fff;
  z-index: 0;
  transform: scaleX(-1);
}

.guide-hero .guide-container {
  position: relative;
  z-index: 1;
}

.guide-breadcrumb {
  position: relative;
  z-index: 1;
  padding-top: 0px;
  padding-bottom: 30px;
  background: #fff;
}

.guide-breadcrumb ol {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  color: #827b71;
  list-style: none;
}

.guide-breadcrumb li:not(:last-child)::after {
  content: '>';
  margin-left: 9px;
  color: #b4cc45;
}

.guide-breadcrumb a {
  color: #827b71;
}

.guide-breadcrumb a:hover {
  color: #827b71;
  opacity: 0.7;
}

.guide-hero-en {
  margin-bottom: 8px;
  font-family: var(--font-kosugi);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #9ec11c;
  text-align: center;
}

.guide-hero-title {
  font-family: var(--font-kosugi);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.guide-anchor {
  position: relative;
  z-index: 1;
  padding: 15px 0 73px;
  background: #fff;
}

.guide-anchor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.guide-anchor a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 204px;
  min-height: 47px;
  padding: 7px 28px;
  border-radius: 999px;
  background: url('../images/btn-anchor.webp') no-repeat center / 100% 100%;
  font-family: var(--font-kosugi);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #766d5f;
  text-align: center;
}

.guide-section {
  position: relative;
  padding-top: 112px;
  padding-bottom: 118px;
}

.guide-section-heading {
  margin-bottom: 43px;
  text-align: center;
}

.guide-section-heading-left {
  text-align: left;
}

.guide-section-heading h2 {
  display: inline-block;
  padding-bottom: 15px;
  border-bottom: 3px dashed #c1c1c1;
  font-family: var(--font-kosugi);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.guide-lead,
.guide-text {
  width: min(100%, 820px);
  margin-right: auto;
  margin-left: auto;
  font-size: 19px;
  color: var(--color-text);
}

.guide-lead {
  margin-bottom: 17px;
  text-align: left;
}

.guide-lead span,
.guide-text span {
  color: var(--color-blue);
  font-weight: 500;
}

.guide-center {
  text-align: center;
}

.guide-about {
  padding-top: 0;
  padding-bottom: 123px;
}

.guide-about-content {
  display: grid;
  grid-template-columns: 410px 400px;
  justify-content: center;
  gap: 64px;
  align-items: center;
  margin-top: 69px;
}

.guide-about-image {
  margin: 0;
}

.guide-about-image-sp {
  display: none;
}

.guide-about-image img {
  width: 100%;
}

.guide-about-cards {
  display: grid;
  gap: 35px;
}

.guide-info-card {
  min-height: 184px;
  padding: 28px 34px;
  border: 1px dashed #e4ded5;
  border-radius: 12px;
  background: #faf9f4;
}

.guide-info-card h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.guide-info-card li,
.guide-department-grid li,
.guide-caution-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  color: #6d665d;
}

.guide-info-card li::before,
.guide-department-grid li::before,
.guide-caution-list li::before {
  content: '';
  position: absolute;
  top: 0.86em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-pink);
}

.guide-info-card li::before {
  background: #88d4c7;
}

.guide-band {
  background: #faf9f4;
}

.guide-band::before,
.guide-band::after {
  content: '';
  position: absolute;
  right: 0;
  left: 0;
  height: 78px;
  pointer-events: none;
}

.guide-band::before {
  top: -1px;
  background: url("../images/wave_up_bg_white.png") no-repeat center top / 100% 100%;
  height: 320px;
}

.guide-band::after {
  bottom: -1px;
  background: url("../images/wave_up_bg_beige.png") no-repeat center bottom / 100% 100%;
}

.guide-flow {
  padding-top: 143px;
  padding-bottom: 145px;
}

.guide-flow .guide-text {
  width: auto;
  margin-left: 0;
}

.guide-flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.guide-flow-card {
  position: relative;
  min-height: 286px;
  padding: 48px 22px 25px;
  border: 2px solid #dfe9a8;
  background: #fff;
  text-align: center;
}

.guide-flow-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 1;
  width: 15px;
  height: 25px;
  background: url('../images/deco-arrow.webp') no-repeat center / contain;
  transform: translateY(-50%);
}

.guide-step {
  position: absolute;
  top: -23px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #9ec11c;
  font-family: var(--font-kosugi);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transform: translateX(-50%);
}

.guide-flow-card img {
  height: 82px;
  object-fit: contain;
  margin-bottom: 22px;
}

.guide-flow-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-kosugi);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #9ec11c;
}

.guide-flow-card ul {
  padding-left: 1.2em;
  list-style: disc;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: #6b645b;
}

.guide-flow-card li::marker {
  color: currentColor;
  font-size: 0.75em;
}

.guide-note {
  margin: 44px auto 0;
  font-size: 12px;
  font-weight: 500;
  color: #80786e;
}

.guide-prepare {
  padding-top: 131px;
  padding-bottom: 82px;
}

.guide-prepare-group {
  margin-top: 61px;
  width: min(100%, 750px);
    margin-left: auto;
  margin-right: auto;
}

.guide-prepare-group h3 {
  position: relative;
  width: min(100%, 750px);
  margin: 0 auto 29px;
  padding-left: 18px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

.guide-prepare-group h3::before {
  content: '';
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84cec0;
}

.guide-prepare-grid {
  display: grid;
  justify-content: center;
  gap: 48px;
}

.guide-prepare-grid-required {
  grid-template-columns: repeat(3, 210px);
}

.guide-prepare-grid-optional {
  grid-template-columns: repeat(2, 210px);
}

.guide-prepare-grid article {
  display: grid;
  place-items: center;
  min-height: 184px;
  padding: 24px 20px 21px;
  border: 2px solid #d6efeb;
  border-radius: 11px;
  background: #fff;
  text-align: center;
}

.guide-prepare-grid img {
  height: 78px;
  object-fit: contain;
  margin-bottom: 20px;
}

.guide-prepare-grid p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text);
}

.guide-fee {
  padding-top: 152px;
  padding-bottom: 137px;
}

.guide-fee-table {
  width: min(100%, 620px);
  margin: 47px auto 0;
  border-collapse: separate;
  border-spacing: 3px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #625a50;
}

.guide-fee-table th,
.guide-fee-table td {
  padding: 20px 28px;
  border: 1px solid transparent;
  text-align: left;
}

.guide-fee-table td {
  background: #fff;
}

.guide-fee-table th {
  width: 176px;
  background: #e7f0ba;
  color: var(--color-text);
  text-align: center;
}

.guide-fee .guide-note {
  width: min(100%, 620px);
}

.guide-departments {
  padding-top: 129px;
  padding-bottom: 116px;
}

.guide-departments .guide-text {
  width: auto;
  margin-left: 0;
}

.guide-department-grid {
  /*display: grid;*/
  /*grid-template-columns: repeat(2, 1fr);*/
  display: flex;
  justify-content: center;
  gap: 46px;
  margin-top: 52px;
}

.guide-department-grid section {
  min-height: 210px;
  width: 40%;
  padding: 30px 48px 32px;
  border: 2px solid var(--color-pink);
  border-radius: 12px;
  background: #fff;
}

.guide-department-grid h3 {
  margin-bottom: 18px;
  font-family: var(--font-kosugi);
  font-size: 20px;
  font-weight: 700;
}

.guide-caution {
  padding-top: 72px;
  padding-bottom: 43px;
}

.guide-caution .guide-text,
.guide-caution-list {
  width: auto;
  margin-left: 0;
}

.guide-caution .guide-text {
  padding-left: 7px;
  border-left: 5px solid #88d4c7;
  line-height: 1.4;
}

.guide-caution-list {
  margin-top: 24px;
}

.guide-caution-list li::before {
  background: #6e655a;
}

.guide-caution.guide-band::before {
  background-image: none;
}

.guide-contact {
  padding-top: 159px;
  padding-bottom: 114px;
}

.guide-contact-deco {
  position: absolute;
  top: 48px;
  right: 14%;
  width: 140px;
  height: 80px;
  background: url('../images/pc/deco-01.webp') no-repeat center / contain;
}

.guide-contact-content {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 73px;
  align-items: center;
  width: min(100%, 850px);
  margin: 0 auto;
}

.guide-contact figure {
  margin: 0;
}

.guide-contact img {
  width: 100%;
}

.guide-contact-text p {
  margin-bottom: 23px;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
  color: #686158;
}

.guide-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  padding: 11px 29px 11px 15px;
  border-radius: 999px;
  background: #fda237;
  font-family: var(--font-kosugi);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
}

.guide-contact-button::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff url('../images/btn-anchor-arrow-orange.webp') no-repeat center / 12px auto;
  flex-shrink: 0;
}

/* ========================================
   Responsive (Tablet 768px+)
   ======================================== */
@media screen and (min-width: 768px) {
  .guide-flow.guide-band::before {
    transform: scaleX(-1);
  }

  .guide-flow.guide-band::after {
    transform: scaleX(-1);
    bottom: -300px;
    height: 325px;
  }

  .guide-fee.guide-band::after {
    bottom: -291px;
    transform: scaleX(-1);
    height: 320px;
  }

  .guide-caution.guide-band::after {
    bottom: -411px;
    height: 438px;
  }

  .clinic-info-list {
    grid-template-columns: 120px 1fr;
    gap: 12px 24px;
  }

  .clinic-info-list dt {
    text-align: right;
  }

  .page-template-doctor-page-php .site-footer {
    padding-top: 76px;
  }

  .page-template-doctor-page-php .site-footer::before {
    display: none;
  }

  .guide-contact-button-text .text-here {
    display: inline;
  }

  .clinic-info-content,
  body:not(.page-template-doctor-page-php) .doctor-profile-content {
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }

  .clinic-info-name,
  body:not(.page-template-doctor-page-php) .doctor-profile-name,
  body:not(.page-template-doctor-page-php) .doctor-profile-role {
    text-align: left;
  }

  .activity-detail-item {
    flex-direction: row;
    align-items: center;
  }

  .activity-detail-image {
    width: 40%;
    aspect-ratio: 4 / 3;
  }

  .activity-detail-text {
    flex: 1;
    padding: 32px;
  }
}

/* Lower-page hero wave alignment based on guide-page */
.page-title-area,
.page-template-doctor-page-php .doctor-title-area {
  position: relative;
  z-index: 0;
  overflow: visible;
  padding: 31px 0 84px;
  background: #faf9f4;
}

.page-title-area::after,
.page-template-doctor-page-php .doctor-title-area::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -61px;
  left: 0;
  width: 100%;
  height: 184px;
  background-color: #fff;
  background-image: url("../images/wave_up_bg_beige.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 130%;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

.page-title-area > .container,
.page-template-doctor-page-php .doctor-title-area > .container {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .guide-flow.guide-band::after {
    bottom: -107px;
    transform: scaleX(-1);
    width: 130%;
  }

  .guide-fee.guide-band::before {
    width: 130%;
  }

  .guide-fee.guide-band::after {
    width: 120%;
    bottom: -101px;
    transform: scaleX(-1);
  }

  .guide-caution.guide-band::after {
    width: 120%;
    bottom: -101px;
    transform: scaleX(-1);
  }

  .guide-container,
  .guide-narrow {
    width: 100%;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
  }

  .guide-hero {
    padding-top: 20px;
    padding-bottom: 41px;
  }

  .guide-hero::after {
    /*height: 44px;*/
    bottom: -98px;
    height: 156px;
    background-size: 111% 80%;
  }

  .guide-breadcrumb {
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-top: 0;
  }

  .guide-breadcrumb ol {
    font-size: 10px;
  }

  .guide-hero-en {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .guide-hero-title {
    font-size: 18px;
  }

  .guide-anchor {
    padding-top: 25px;
    padding-bottom: 53px;
  }

  .guide-anchor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    gap: 10px 13px;
  }

  .guide-anchor a {
    min-width: 0;
    min-height: 33px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.25;
  }

  .guide-section {
    padding-top: 67px;
    padding-bottom: 72px;
  }

  .guide-section-heading {
    margin-bottom: 25px;
  }

  .guide-section-heading-left {
    text-align: center;
  }

  .guide-section-heading h2 {
    padding-bottom: 9px;
    border-bottom-width: 2px;
    font-size: 23px;
  }

  .guide-prepare .guide-section-heading h2,
  .guide-fee .guide-section-heading h2 {
    white-space: nowrap;
  }

  .guide-lead,
  .guide-text {
    font-size: 16px;
    line-height: 2;
    text-align: left;
  }

  .guide-lead {
    margin-bottom: 14px;
  }

  .guide-about {
    padding-top: 0;
    padding-bottom: 70px;
  }

  .guide-about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 35px;
  }

  .guide-about-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    order: -1;
  }

  .guide-about-image-pc {
    display: none;
  }

  .guide-about-image-sp {
    display: block;
    margin-bottom: 24px;
  }

  .guide-about-cards {
    width: 100%;
    gap: 18px;
  }

  .guide-info-card {
    min-height: 0;
    padding: 20px 18px 18px;
    border-radius: 8px;
  }

  .guide-info-card h3 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .guide-department-grid {
    flex-direction: column;
  }

  .guide-info-card li,
  .guide-department-grid li,
  .guide-caution-list li {
    padding-left: 13px;
    font-size: 15px;
    line-height: 1.9;
  }

  .guide-info-card li::before,
  .guide-department-grid li::before,
  .guide-caution-list li::before {
    top: 0.78em;
    width: 4px;
    height: 4px;
  }

  .guide-band::before,
  .guide-band::after {
    height: 115px;
  }

  .guide-band::before {
    /*display: none;*/
  }

  .guide-flow {
    padding-top: 70px;
    padding-bottom: 47px;
  }

  .guide-flow .guide-text {
    margin-right: auto;
    text-align: left;
  }

  .guide-flow-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 79px;
    margin-top: 43px;
  }

  .guide-flow-card {
    width: min(100%, 261px);
    min-height: 225px;
    padding: 39px 23px 22px;
  }

  .guide-flow-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -42px;
    left: 50%;
    width: 18px;
    height: 18px;
    background-image: url('../images/deco-arrow.webp');
    transform: translateX(-50%) rotate(90deg);
  }

  .guide-step {
    top: -18px;
    width: 46px;
    height: 46px;
    font-size: 23px;
  }

  .guide-flow-card img {
    height: 66px;
    margin-bottom: 16px;
  }

  .guide-flow-card h3 {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .guide-flow-card ul {
    font-size: 15px;
    line-height: 1.65;
  }

  .guide-note {
    margin-top: 26px;
    font-size: 12px;
    line-height: 1.85;
  }

  .guide-prepare {
    padding-top: 73px;
    padding-bottom: 38px;
  }

  .guide-prepare .guide-center {
    text-align: left;
  }

  .guide-prepare-group {
    margin-top: 38px;
  }

  .guide-prepare-group h3 {
    margin-bottom: 18px;
    padding-left: 13px;
    font-size: 16px;
  }

  .guide-prepare-group h3::before {
    width: 6px;
    height: 6px;
  }

  .guide-prepare-grid,
  .guide-prepare-grid-required,
  .guide-prepare-grid-optional {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .guide-prepare-grid article {
    grid-template-columns: 82px 1fr;
    justify-items: center;
    min-height: 84px;
    padding: 14px 20px;
    text-align: left;
  }

  .guide-prepare-grid-required article,
  .guide-prepare-grid-optional article {
    grid-template-columns: clamp(78px, 25vw, 118px) minmax(0, 1fr);
    column-gap: clamp(22px, 7vw, 40px);
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 26px clamp(28px, 9vw, 50px);
  }

  .guide-prepare-grid img {
    height: 52px;
    margin-bottom: 0;
  }

  .guide-prepare-grid-required img,
  .guide-prepare-grid-optional img {
    height: clamp(68px, 20vw, 92px);
  }

  .guide-prepare-grid p {
    justify-self: start;
    font-size: 16px;
    line-height: 1.55;
  }

  .guide-fee {
    padding-top: 81px;
    padding-bottom: 44px;
  }

  .guide-fee .guide-center {
    text-align: left;
  }

  .guide-fee-table {
    margin-top: 26px;
    font-size: 15px;
  }

  .guide-fee-table th,
  .guide-fee-table td {
    padding: 13px 12px;
  }

  .guide-fee-table th {
    width: 88px;
  }

  .guide-departments {
    padding-top: 70px;
    padding-bottom: 69px;
  }

  .guide-department-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .guide-department-grid section {
    min-height: 0;
    padding: 21px 38px 19px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  .guide-department-grid h3 {
    margin-bottom: 9px;
    font-size: 18px;
  }

  .guide-caution {
    padding-top: 65px;
    padding-bottom: 40px;
  }

  .guide-caution .guide-text {
    position: relative;
    padding-left: 12px;
    border-left: 0;
    text-align: left;
  }

  .guide-caution .guide-text::before {
    content: '';
    position: absolute;
    top: 0.25em;
    left: 0;
    width: 4px;
    height: 1em;
    background: #88d4c7;
  }

  .guide-caution-list {
  }

  .guide-contact {
    padding-top: 79px;
    padding-bottom: 72px;
  }

  .guide-contact-deco {
    top: 23px;
    left: 16px;
    width: 112px;
    height: 54px;
    transform: scaleX(-1);
  }

  .guide-contact-content {
    grid-template-columns: 1fr;
    gap: 27px;
    width: 100%;
  }

  .guide-contact figure {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .guide-contact-text p {
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.95;
  }

  .guide-contact-button {
    display: flex;
    width: fit-content;
    min-width: 0;
    min-height: 41px;
    margin-right: auto;
    margin-left: auto;
    padding: 8px 23px 8px 10px;
    font-size: 16px;
  }

  .guide-contact-button::before {
    width: 24px;
    height: 24px;
    background-size: 10px auto;
  }

  .page-template-doctor-page-php .doctor-title-area {
    padding-top: 20px;
    padding-bottom: 61px;
  }

  .page-template-doctor-page-php .doctor-title-area::after {
    height: 41px;
  }

  .page-template-doctor-page-php .page-title-en {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .page-template-doctor-page-php .doctor-title-area .page-title {
    font-size: 18px;
  }

  .page-template-doctor-page-php .doctor-breadcrumb {
    padding-top: 20px;
  }

  .page-template-doctor-page-php .doctor-breadcrumb .container,
  .page-template-doctor-page-php .doctor-container,
  .page-template-doctor-page-php .doctor-message-inner {
  }

  .page-template-doctor-page-php .doctor-breadcrumb ol {
    font-size: 11px;
  }

  .page-template-doctor-page-php .doctor-profile-section {
    padding-top: 34px;
    padding-bottom: 70px;
  }

  .page-template-doctor-page-php .doctor-profile-section::after {
    top: -7px;
    right: 28px;
    width: 96px;
    height: 40px;
  }

  .page-template-doctor-page-php .doctor-section-heading {
    margin-bottom: 19px;
    text-align: center;
  }

  .page-template-doctor-page-php .doctor-section-heading h2 {
    padding-bottom: 9px;
    border-bottom-width: 2px;
    font-size: 23px;
  }

  .page-template-doctor-page-php .doctor-profile-content {
    display: block;
  }

  .page-template-doctor-page-php .doctor-profile-image {
    width: 100%;
    margin-bottom: 45px;
  }

  .page-template-doctor-page-php .doctor-profile-text {
    padding-top: 0;
  }

  .page-template-doctor-page-php .doctor-profile-name {
    justify-content: center;
    gap: 22px;
    margin-bottom: 36px;
    font-size: 25px;
  }

  .page-template-doctor-page-php .doctor-profile-name span {
    font-size: 25px;
  }

  .page-template-doctor-page-php .doctor-profile-block + .doctor-profile-block {
    margin-top: 25px;
  }

  .page-template-doctor-page-php .doctor-profile-block h3 {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .page-template-doctor-page-php .doctor-profile-block p,
  .page-template-doctor-page-php .doctor-profile-block li {
    padding-left: 1.1em;
    font-size: 14px;
    line-height: 2;
  }

  .page-template-doctor-page-php .doctor-message-section {
    min-height: 0;
    padding-top: 82px;
    padding-bottom: 158px;
    background-image: url('../images/sp/sec-about_bg.webp');
    background-position: center bottom;
    background-size: cover;
  }

  .page-template-doctor-page-php .doctor-message-section::after {
    height: 72px;
  }

  .page-template-doctor-page-php .site-footer::before {
    display: none;
  }

  .page-template-doctor-page-php .doctor-message-section h2 {
    padding-bottom: 9px;
    font-size: 23px;
    line-height: 2;
    color: #fff;
    border-bottom: 2px dashed var(--color-text);
  }

  .page-template-doctor-page-php .doctor-message-text {
    max-width: initial;
  }

  .page-template-doctor-page-php .doctor-message-text {
    margin-top: 44px;
  }

  .page-template-doctor-page-php .doctor-message-text p {
    margin-bottom: 31px;
    font-size: 15px;
    line-height: 2.15;
  }

  .contact-select-desc {
    font-size: 21px;
  }

  .contact-select-card {
    padding: 40px 17px;
  }

  .contact-select-title {
    font-size: 4vw;
  }

  .contact-select-back {
    margin-top: 45px;
    font-size: 14px;
  }

  .page-title-area,
  .page-template-doctor-page-php .doctor-title-area {
    padding-top: 20px;
    padding-bottom: 41px;
  }

  .page-title-area::after,
  .page-template-doctor-page-php .doctor-title-area::after {
    bottom: -98px;
    height: 156px;
    background-size: 111% 80%;
  }
}