@charset "utf-8";

/* ==================================================
   ご利用の流れ・正規紹介先用CSS
================================================== */

/* ===============================================
   ログイン前TOP
   「ご利用の流れ＋正規紹介先を探す」専用
=============================================== */

.coru-top-guest {
  color: #23442f;
  background: #fff;
  font-family: inherit;
  line-height: 1.75;
}

.coru-top-guest,
.coru-top-guest *,
.coru-top-guest *::before,
.coru-top-guest *::after {
  box-sizing: border-box;
}


/* ===============================================
   共通コンテナ
=============================================== */

.coru-top-guest .coru-top-guest-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}


/* ===============================================
   セクション
=============================================== */

.coru-top-guest .coru-top-guest-section {
  padding: 152px 0 0;
}


/* ===============================================
   セクション見出し
=============================================== */

#main_column .coru-top-guest h2.coru-top-guest-section-title {
  margin: 0 0 65px;
  padding: 0;
  border: none;
  background: none;
  color: #23442f;
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: .2em;
  text-align: center;
}

.coru-top-guest .coru-top-guest-section-title span {
  display: block;
  margin-top: 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 0.2em;
}


/* ===============================================
   ご利用の流れ
=============================================== */

.coru-top-guest .coru-top-guest-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coru-top-guest .coru-top-guest-steps li {
  position: relative;
  margin: 0;
  padding: 0;
  text-align: center;
  list-style: none;
}


/* STEPラベル
----------------------------------------------- */

#main_column .coru-top-guest .coru-top-guest-steps .coru-top-guest-step-label {
  display: block;
  margin-bottom: 14px;
  color: #23442f;
  font-family: Montserrat, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 22px !important;
  letter-spacing: .2em !important;
}


/* 丸背景込みのSTEP画像を配置
----------------------------------------------- */

.coru-top-guest .coru-top-guest-step-icon {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}


/* PNGアイコン
----------------------------------------------- */

.coru-top-guest .coru-top-guest-icon {
  display: block;
  width: 140px;
  max-width: none;
  height: 140px;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
}


/* STEP間のPNG矢印
----------------------------------------------- */

.coru-top-guest .coru-top-guest-step-arrow {
  position: absolute;
  top: 95px;
  right: -33px;
  display: block;
  width: 16px;
  max-width: none;
  height: auto;
  border: 0;
  object-fit: contain;
}


/* 以前のCSS矢印を解除
----------------------------------------------- */

.coru-top-guest .coru-top-guest-steps li + li::before,
.coru-top-guest .coru-top-guest-steps li::after {
  display: none !important;
  content: none !important;
}


/* STEP見出し
----------------------------------------------- */

.coru-top-guest .coru-top-guest-steps h3 {
  margin: 18px 0 8px;
  padding: 0;
  border: none;
  background: none;
  color: #23442f;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: .05em;
}


/* STEP説明文
----------------------------------------------- */

.coru-top-guest .coru-top-guest-steps p {
  margin: 0;
  padding: 0;
  color: #23442f;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}


/* ===============================================
   正規紹介先を探す
=============================================== */

.coru-top-guest .coru-top-guest-referrals {
  padding-bottom: 160px;
}

.coru-top-guest .coru-top-guest-referral-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}


/* 紹介先カード
----------------------------------------------- */

.coru-top-guest .coru-top-guest-referral-grid a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
}


/* 背景画像
----------------------------------------------- */

.coru-top-guest .coru-top-guest-referral-grid
.coru-top-guest-referral-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}


/* オーバーレイを完全に無効化
----------------------------------------------- */

.coru-top-guest .coru-top-guest-referral-grid a::before {
  display: none !important;
  background: none !important;
  content: none !important;
}


/* リンクテキスト
----------------------------------------------- */

.coru-top-guest .coru-top-guest-referral-grid span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}


/* テキスト横の丸矢印
----------------------------------------------- */

.coru-top-guest .coru-top-guest-referral-grid
.coru-top-guest-referral-arrow {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  transition: none;
}


/* マウスを乗せたときは背景画像だけ拡大
----------------------------------------------- */

.coru-top-guest .coru-top-guest-referral-grid
a:hover .coru-top-guest-referral-image {
  transform: scale(1.035);
}

.coru-top-guest .coru-top-guest-referral-grid
a:hover .coru-top-guest-referral-arrow {
  transform: none;
}


/* キーボード操作時
----------------------------------------------- */

.coru-top-guest a:focus-visible {
  outline: 3px solid #b48237;
  outline-offset: 4px;
}


/* ===============================================
   タブレット
=============================================== */

@media screen and (max-width: 1100px) {

  .coru-top-guest .coru-top-guest-container {
    width: calc(100% - 48px);
  }

  .coru-top-guest .coru-top-guest-steps {
    gap: 28px;
  }

  .coru-top-guest .coru-top-guest-step-arrow {
    right: -23px;
  }

  .coru-top-guest .coru-top-guest-steps h3 {
    font-size: 15px;
  }
}


/* ===============================================
   スマートフォン
=============================================== */

@media screen and (max-width: 640px) {

  .coru-top-guest .coru-top-guest-container {
    width: calc(100% - 40px);
  }

  .coru-top-guest .coru-top-guest-section {
    padding-top: 72px;
  }

  #main_column .coru-top-guest h2.coru-top-guest-section-title {
    margin-bottom: 42px;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 3px;
  }

  .coru-top-guest .coru-top-guest-section-title span {
    margin-top: 0;
    font-size: 10px;
    line-height: 30px;
    letter-spacing: 0.2em;
  }

  .coru-top-guest .coru-top-guest-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 20px;
  }

  #main_column .coru-top-guest .coru-top-guest-steps .coru-top-guest-step-label {
    margin-bottom: 10px;
    font-size: 12px !important;
    line-height: 18px !important;
  }

  .coru-top-guest .coru-top-guest-step-icon {
    width: 110px;
    height: 110px;
  }

  .coru-top-guest .coru-top-guest-icon {
    width: 110px;
    height: 110px;
  }

  /* スマートフォンではSTEP間の矢印を非表示 */

  .coru-top-guest .coru-top-guest-step-arrow {
    display: none;
  }

  .coru-top-guest .coru-top-guest-steps h3 {
    margin-top: 18px;
    font-size: 13px;
  }

  .coru-top-guest .coru-top-guest-steps p {
    font-size: 12px;
  }

  .coru-top-guest .coru-top-guest-referrals {
    padding-bottom: 80px;
  }

  .coru-top-guest .coru-top-guest-referral-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .coru-top-guest .coru-top-guest-referral-grid a {
    min-height: 155px;
  }

  .coru-top-guest .coru-top-guest-referral-grid span {
    gap: 7px;
    font-size: 16px;
  }

  .coru-top-guest .coru-top-guest-referral-grid
  .coru-top-guest-referral-arrow {
    flex-basis: 20px;
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    height: 20px;
  }
}


/* ===============================================
   動きを減らす設定
=============================================== */

@media (prefers-reduced-motion: reduce) {

  .coru-top-guest .coru-top-guest-referral-grid
  .coru-top-guest-referral-image {
    transition: none;
  }
}
