@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@800&display=swap');

/* ==========================================================================
   Reservation Page Stylesheet (assets/phase2/css/reservation.css)
   ========================================================================== */

.page-reservation-wrapper {
    width: 100%;
    /*padding-bottom: 80px;*/
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--color);
}

/* FLOW Section Container */
.reservation-flow {
    position: relative;
}

.reservation-flow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../common/images/bg_campaign.webp');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.54;
    pointer-events: none;
}

.reservation-flow > * {
    position: relative;
    z-index: 1;
}

/* Flow Step List & Cards */
.flow-step-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-card {
    width: 100%;
    background: #ffffff;
    box-shadow: 0px 0px 15px 0px #0000001A;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-sizing: border-box;
}

.flow-card-img {
    width: 303px;
    flex-shrink: 0;
    aspect-ratio: 303 / 194;
    overflow: hidden;
    border-radius: 2px;
    background-color: #eaeaea;
}

.flow-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flow-card-img-step2 img {
    object-position: left 35%;
    transform: scaleX(1.38);
    transform-origin: left 35%;
}

.flow-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.flow-card-step {
    font-family: 'Abhaya Libre', serif;
    font-size: 28px;
    font-weight: 800;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0.13em;
    color: #A48952;
    display: block;
    margin-bottom: 4px;
}

.flow-card-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 28px;
    font-weight: 800;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0.008em;
    color: var(--color);
    margin: 0 0 14px 0;
}

.flow-card-text {
    font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: 160%;
    letter-spacing: 0.008em;
    color: var(--color);
}

.flow-card-text p:last-child {
    margin-bottom: 0;
}

/* Downward Arrow Between Steps */
.flow-arrow {
    width: 0;
    height: 0;
    border-left: 31px solid transparent;
    border-right: 31px solid transparent;
    border-top: 30px solid #A4895266;
    margin: 14px 0;
}

/* PRECAUTIONS Section */
.precautions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.precautions-item {
    position: relative;
    padding-left: 24px;
    font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: 160%;
    letter-spacing: 0.008em;
    color: var(--color);
    word-break: break-all;
}

.precautions-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background-color: #A48952;
    border-radius: 50%;
}

/* CLINIC Section Container */
.reservation-clinic {
    position: relative;
    background: linear-gradient(0deg, #F6F6F6, #F6F6F6), linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));
}

.reservation-clinic::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/bg_medicalmenu.webp');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
    pointer-events: none;
}

.reservation-clinic > * {
    position: relative;
    z-index: 1;
}

.reservation-clinic .modal-tel {
  margin-inline: auto;
}
@media ( min-width: 401px ) {
  .reservation-clinic .modal-tel {
    font-size: clamp( 24px, calc( ( 28 * 100vw ) / 900 ), 28px );
  }
}
@media ( max-width: 400px ) {
  .reservation-clinic .modal-tel {
    font-size: calc( ( 24 * 100vw ) / 400 );
  }
}

.reservation-clinic .modal-tel-common-term {
  margin-bottom: 6px;
}

@media ( min-width: 401px ) {
  .reservation-clinic .modal-tel-number {
    font-size: max( calc( ( 50 * 1em ) / 28 ), 42px );
  }
}
@media ( max-width: 400px ) {
  .reservation-clinic .modal-tel-number {
    font-size: calc( ( 42 * 1em ) / 24 );
  }
}
@media ( min-width: 401px ) {
  .reservation-clinic .modal-tel-number-hours {
    font-size: max( calc( ( 18 * 1em ) / 50 ), 16px );
  }
}
@media ( max-width: 400px ) {
  .reservation-clinic .modal-tel-number-hours {
    font-size: calc( ( 16 * 1em ) / 42 );
  }
}
@media ( max-width: 400px ) {
  .reservation-clinic .modal-tel-note {
    font-size: calc( ( 14 * 1em ) / 24 );
  }
}

/* Clinic Grid & Cards */
.clinic-list {
  margin-bottom: 24px;
}

.clinic-card {
  font-family: var(--font-family);
}


@media ( min-width: 1201px ) {
  .clinic-card-info {
    margin-bottom: 16px;
  }
}
@media ( max-width: 1200px ) {
  .clinic-card-info {
    margin-bottom: 12px;
  }
}

/* Clinic CTA Buttons */
.clinic-card-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clinic-card-btns .btn {
  width: 100%;
  margin-top: 0;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .flow-card {
        flex-direction: column;
        align-items: center;
        padding: 10px 10px 16px;
        gap: 15px;
    }

    .flow-card-img {
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 2px;
    }

    .flow-card-content {
        width: 100%;
        text-align: center;
    }

    .flow-card-step {
        font-size: 22px;
        text-align: center;
        margin-bottom: 6px;
    }

    .flow-card-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 14px;
    }

    .flow-card-text {
        font-size: 16px;
        text-align: center;
    }

    .precautions-item {
        font-size: 16px;
        padding-left: 20px;
    }
}

/* Prevent common_pc.css blue text hover (#40B1BF) */
/* .page-reservation-wrapper a:hover,
.reservation-clinic a:hover,
.reservation-precautions a:hover,
.reservation-flow a:hover {
    color: inherit;
} */
