@charset "UTF-8";

/* =========================================================
   初診の方へ（page-first.php）専用スタイル
========================================================= */


/* ================= SECTION COMMON ================= */
.p-first .section {
  padding: 60px 0 0;
}

.p-first .section-title {
  position: relative;
  margin: 0 0 40px;
  padding-bottom: 24px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 4.2px;
  color: #111;
}

.p-first .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ccc;
}

.p-first .section-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.p-first .section-flex__text {
  flex: 1;
}

.p-first .section-flex__image {
  position: relative;
  flex: 0 0 490px;
  width: 490px;
  height: 265px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-gray-light);
}

.p-first .section-flex__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-first .dot-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 2.6;
  color: #333;
}

.p-first .dot-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--color-main);
  font-size: 12px;
  top: 12px;
}

.p-first .note {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.p-first .bold-line {
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  margin-top: 20px;
}

.p-first .btn-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.45px;
  text-align: center;
}

.p-first .btn-link--wide {
  padding: 12px 40px;
}

.p-first .photo-badge {
  position: absolute;
  bottom: 12px;
  right: 0;
  background: var(--color-pink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
}

/* ================= STEP FLOW ================= */
.p-first #flow {
  padding-bottom: 0;
}

.p-first .step {
  position: relative;
  margin-top: 40px;
}

.p-first .step:first-of-type {
  margin-top: 0;
}

.p-first .step__head {
  background: var(--color-main);
  color: #fff;
  padding: 15px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding-left: 10px;
}

.p-first .step__num {
  font-weight: 700;
  font-size: 25px;
  padding-left: 10px;
}

.p-first .step__num--alt {
  color: #d2ece3;
}

.p-first .step__label {
  font-weight: 700;
  font-size: 20px;
}

.p-first .step__body {
  background: var(--color-blue-light);
  padding: 30px 30px 40px;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.p-first .step__body--with-photo {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.p-first .step__body-text {
  flex: 1;
}

.p-first .step__body-photo {
  position: relative;
  flex: 0 0 214px;
  width: 214px;
  height: 180px;
  overflow: hidden;
}

.p-first .step__body-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-first .step__arrow {
  display: flex;
  justify-content: center;
  margin-top: -1px;
}

.p-first .step__arrow img {
  width: 38px;
  height: 26px;
}

.p-first .pay-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0 8px;
}

.p-first .pay-icons__cc {
  height: 46px;
  width: auto;
}

.p-first .pay-icons__cc--tall {
  height: 50px;
}

.p-first .pay-icons__emoney {
  height: 63px;
  width: auto;
}

.p-first .pay-icons__qr {
  height: 34px;
  width: auto;
}

.p-first .pay-icons__lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.p-first .pay-icons__wave {
  height: 32px;
  width: auto;
}

.p-first .pay-icons__mask {
  display: inline-block;
  height: 46px;
  width: 68px;
  -webkit-mask-image: url("../img/first/cc-mastercard-mask.svg");
  mask-image: url("../img/first/cc-mastercard-mask.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  overflow: hidden;
}

.p-first .pay-icons__mask--diners {
  width: 64px;
  -webkit-mask-image: url("../img/first/cc-diners-mask.svg");
  mask-image: url("../img/first/cc-diners-mask.svg");
}

.p-first .pay-icons__mask .pay-icons__cc {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.p-first #revisit {
  padding-bottom: 60px;
}

@media (max-width: 900px) {
  .p-first .hero__title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .p-first .hero__image {
    height: 180px;
    border-radius: 20px;
  }

  .p-first .section-flex,
  .p-first .step__body--with-photo {
    flex-direction: column;
  }

  .p-first .section-flex__image {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .p-first .step__body-photo {
    flex: none;
    width: 100%;
    height: 200px;
  }
}
