@charset "UTF-8";
/* ============================================================
   楽一 お問い合わせ振り分けページ（/rakuichi/contact/）  2026-11-10  1110_rakuichi_phase3_consult
   「ご検討の方」「ご利用中の方」の 2 枚扉を同じ大きさで。前提：rk-base.css（.rk-btn）。style.css は触らない
   ============================================================ */
.rk-contact {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 72px;
  font-family: var(--rk-font, "Zen Kaku Gothic New", sans-serif);
}
.rk-contact__lead {
  margin: 0 0 28px;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: #2a3340;
}
/* 2 枚のカードを同じ行割り（タグ／見出し／本文／箇条書き／絵／ボタン／小リンク／注記）にして、ボタンの行の高さを 2 枚で共有する（subgrid）。
   長岡さん「ボタンの位置は揃えたい」2026-11-09 */
.rk-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto auto auto;
  gap: 24px;
  align-items: stretch;
}
.rk-contact__card {
  display: grid;
  grid-row: span 8;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 16px;
  padding: 32px 32px 28px;
  box-shadow: 0 2px 10px rgba(13, 49, 98, .05);
}
.rk-contact__card--user {
  background: #f6f9fc;
}
.rk-contact__tag {
  display: inline-block;
  justify-self: start;
  align-self: start;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--rk-orange, #f35c01);
}
.rk-contact__card--user .rk-contact__tag {
  background: var(--rk-navy, #0d3162);
}
.rk-contact__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--rk-navy, #0d3162);
}
.rk-contact__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: #2a3340;
}
.rk-contact__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.8;
  color: #2a3340;
}
.rk-contact__list li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 4px;
}
.rk-contact__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--rk-orange, #f35c01);
  border-bottom: 2px solid var(--rk-orange, #f35c01);
  transform: rotate(-45deg);
}
.rk-contact__card--user .rk-contact__list li::before {
  border-color: var(--rk-navy, #0d3162);
}
/* 絵：PIXTA #135854303（ご検討中）／#135759287（ご利用中）を SVG でサイトの青に塗り替えたもの（2026-11-09）。
   2 枚で絵の高さをそろえ、下端をそろえて置く */
.rk-contact__media {
  margin: 4px 0 24px;
  height: 190px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.rk-contact__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
/* 左（ご検討中）の絵は横長（約 2:1）で、同じ高さだと右の約 2 倍の面積になるので、高さを抑えて見た目の量をそろえる（長岡さん指示 2026-11-09） */
.rk-contact__media img.rk-contact__img--wide {
  max-height: 72%;
}
.rk-contact__btns {
  align-self: end;
  display: grid;
  gap: 12px;
}
.rk-contact .rk-contact__btn {
  min-height: 56px;
  font-size: 17px;
}
.rk-contact__sub {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6472;
}
.rk-contact__sub a:link,
.rk-contact__sub a:visited {
  color: var(--rk-navy, #0d3162);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rk-contact__sub a:hover {
  color: var(--rk-orange, #f35c01);
}
.rk-contact__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5a6472;
}
/* 画面が狭いとき */
@media only screen and (max-width: 900px) {
  .rk-contact__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .rk-contact__card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }
}
@media only screen and (max-width: 767px) {
  .rk-contact {
    padding: 28px 16px 48px;
  }
  .rk-contact__lead {
    font-size: 15px;
    text-align: left;
    margin-bottom: 20px;
  }
  .rk-contact__card {
    padding: 22px 18px 20px;
    border-radius: 12px;
  }
  .rk-contact__title {
    font-size: 21px;
  }
  .rk-contact__media {
    height: 150px;
    margin-bottom: 20px;
  }
  .rk-contact .rk-contact__btn {
    min-height: 52px;
    font-size: 16px;
  }
}
