/* 本体（2026年リニューアル）の共通部品。トップと企業情報で使う。
   既存テーマ rebro2021/style.css の上に重ねる。色・書体はテーマと同じ紺×金・明朝見出し。 */

:root {
  --rt-navy: #2c4882;
  --rt-navy-deep: #172e5e;
  --rt-navy-ink: #2b384f;
  --rt-gold: #b3933d;
  --rt-gold-soft: #d8c28a;
  --rt-pale: #f4f6fa;
  --rt-line: #dfe3ea;
  --rt-text: #333333;
  --rt-mincho: "Hiragino Mincho ProN", "Hiragino Mincho Pro", '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
  /* 本文の書体は神戸（/kobe/ の style.css）と同じ指定にそろえる（2026-10-21 土居さんの指示）。見出しの明朝はそのまま */
  --rt-gothic: "Meiryo", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* テーマの body は游ゴシックを先頭にしているので、base.css を読むページだけ上書きする */
body {
  font-family: var(--rt-gothic);
}

/* フッターの「当社サービスにつきまして…」は幅600px前後で「くださいま／せ。」と切れるので、文中の <wbr> と句読点でだけ改行する */
.footer__content__text {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rt-inner {
  margin: 0 auto;
  max-width: 1230px;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

/* 見出し：英字（大）＋日本語（小）。テーマの BUSINESS 見出しと同じ組み方 */
.rt-heading {
  color: var(--rt-navy);
  font-family: var(--rt-mincho);
  margin: 0 0 50px;
  text-align: center;
}

.rt-heading h2 {
  margin: 0;
}

.rt-heading__main {
  display: block;
  font-size: 53px;
  letter-spacing: 2px;
  line-height: 1.2;
}

.rt-heading__sub {
  display: block;
  font-size: 20px;
  letter-spacing: 2px;
  margin-top: 8px;
}

.rt-heading__lead {
  color: var(--rt-text);
  font-family: var(--rt-gothic);
  font-size: 16px;
  line-height: 1.9;
  margin: 22px auto 0;
  max-width: 760px;
}

.rt-heading--left {
  text-align: left;
}

.rt-heading--left .rt-heading__lead {
  margin-left: 0;
}

.rt-heading--light {
  color: #ffffff;
}

.rt-heading--light .rt-heading__sub {
  color: var(--rt-gold-soft);
}

.rt-heading--light .rt-heading__lead {
  color: rgba(255, 255, 255, 0.86);
}

@media print, screen and (max-width: 480px) {
  .rt-heading {
    margin: 0 0 35px;
  }
  .rt-heading__main {
    font-size: 38px;
  }
  .rt-heading__sub {
    font-size: 18px;
  }
  .rt-heading__lead {
    font-size: 15px;
    text-align: left;
  }
}

/* 金色の矢印つき文字リンク */
.rt-link {
  color: var(--rt-gold);
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  padding-right: 22px;
  position: relative;
  text-decoration: none;
}

.rt-link::after {
  border-right: solid 2px currentColor;
  border-top: solid 2px currentColor;
  content: '';
  height: 7px;
  margin-top: -4px;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: rotate(45deg);
  transition: right .3s;
  width: 7px;
}

.rt-link:hover::after {
  right: 0;
}

.rt-link:hover {
  text-decoration: underline;
}

.rt-nowrap {
  display: inline-block;
}

.rt-keep {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* 金色のボタン（テーマの .btn に重ねる） */
.btn.rt-btn-gold {
  background-color: var(--rt-gold);
  color: #ffffff;
}

.btn.rt-btn-gold::after {
  border-color: #ffffff;
}

.btn.rt-btn-gold:hover {
  background-color: #ffffff;
  color: var(--rt-gold);
}

.btn.rt-btn-gold:hover::after {
  border-color: var(--rt-gold);
}
