@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .rin-infobar*      - ヘッダー上部のインフォメーションバー（英字ラベル＋エリア＋営業時間＋SNSチップ）
 * .rin-header*       - sticky ヘッダーの装飾差分（区切り線つき単段ナビ／2段組み電話ブロック）
 * .rin-spnav__*      - SPナビ下部の電話ブロック
 * .rin-btn*          - 完成デザインのボタン一式（LINE緑／ゴールド／レッド／白／枠線白／ダーク）
 * .rin-sec*          - セクション余白（左右24px固定＋上下の刻み）
 * .rin-lead          - セクション直下のリード文
 * .rin-h2*           - セクション見出し（黒・36px／30px／32px 900）
 * .rin-mv*           - メインビュー（背景レイヤー切替＋左から暗くなるグラデ）
 * .rin-cvbar*        - FV直下のレッドCV帯（3つの相談窓口）
 * .rin-cross*        - 「A × B × C → 一括対応！」の交差見出し
 * .rin-strength*     - 私たちの強み（4列・写真＋中央揃え見出し／キーワードを赤で強調）
 * .rin-svccard*      - 主な事業内容カード（写真＋ラベル＋赤下線見出し＋定義リスト）
 * .rin-news*         - お知らせ（左見出し＋右一覧）
 * .rin-works*        - 施工事例（グラデ英字見出し／カード／一覧・詳細）
 * .rin-line*         - LINE相談セクション（ゴールドグラデ地＋白ボックス＋写真）
 * .rin-flow*         - ご依頼の流れ（5ステップ・矢印つき）
 * .rin-dl*           - 会社概要の定義リスト
 * .rin-recruitbnr*   - TOPの採用バナー（写真＋テキスト2分割）
 * .rin-cta*          - 共通CTA（レッド帯＋3カード）
 * .rin-footer*       - フッター（3カラム＋地図＋コピーライト）
 * .rin-fixedbar__*   - SP固定バーの配色
 * .rin-pagehero*     - 下層ページ見出し（グレー地＋赤の下線）
 * .rin-anchornav     - 事業内容のページ内アンカーナビ
 * .rin-svc*          - 事業内容の各サービスブロック
 * .rin-msg*          - 代表メッセージ／こだわり3点
 * .rin-access*       - アクセス（3つのラベル付きブロック＋地図）
 * .rin-entry*        - 施工事例詳細（本文・BEFORE/AFTER・記事送り）
 * .rin-side*         - 施工事例のサイドバー
 * .rin-job*          - 募集要項カード
 * .rin-step*         - LINE応募3ステップ
 * .rin-form*         - フォーム（見出し・選択肢チップ・入力欄・送信ボタン）
 * .rin-contact*      - お問い合わせページの導線ボックス
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 値の粒度不足   … セクション余白が 88/80/76/72/70/64/56/44/34px と細かく、
 *                  .section（120/60px）や .pt-*/.pb-*（5刻み〜120px）では一致しない。
 *                  左右24px固定も .container 側には無いため .rin-sec* を追加。
 *                  フォントも 13.5/14.5px 等の 0.5px 刻みが多く .fz-* では表現できない。
 * 構造不足       … ヘッダー上部のインフォメーションバー、ナビ項目間の縦罫線、
 *                  2段組み（小ラベル＋大番号）の電話ブロック、
 *                  「A × B × C」の交差見出し、5ステップ矢印フロー、
 *                  BEFORE/AFTER ラベル付き比較画像に該当コンポーネントが無い。
 * 装飾パターン不足 … 英字をグラデーションで塗る大見出し（WORKS）、
 *                  黒地＋内側1px枠＋オフセット影のラベル、
 *                  下線を蛍光ペン状に敷くマーカー（既存 .marker は base_color 固定）。
 * 状態不足       … hover で「背景色と文字色を同時に反転」する組み合わせが
 *                  .hover-bg-* / .hover-color-* の併用では :where() の詳細度差で安定しない。
 * 指定方向不足   … grid の折返しが 820px（デザイン既定）で、
 *                  共通の grid-3/grid-4（tablet で2列→SPで1列）とは段階が異なる。
 *
 * ======================================
 * claude-design-output から意図的に変えた点
 * ======================================
 *
 * 1. SPナビ … 元データは1080px以下でナビが横スクロールする帯になるが、
 *    実装ガイド§8の「PCナビとSPナビは別要素」に合わせ、
 *    ハンバーガー（.nav-toggle）＋フルスクリーンSPナビ（.sp-nav）に置き換えた。
 *    .sp-nav の背景は共通の半透明だと背面のMVが透けるためレッドで不透明に上書き。
 * 2. メインビュー … CMSスライダー（cms_id=11 / cms=28527-1）に差し替え済み。
 *    #slideshow に高さを持たせ、暗幕とコピーを grid で同一セルに重ねている。
 *    Swiperの初期化はCMS側が行うため、こちらでは一切書かない（実装ガイド§10.1）。
 * 3. フッターのGoogleマップ … 元データはストライプのプレースホルダ枠だが、
 *    住所クエリの実地図に置き換えた（座標つき埋め込みコード支給後は config.php の
 *    $MAP_EMBED だけ差し替える）。あわせて元データで重複していたコピーライトを1つに整理。
 * 4. ボタン・カードのリンク … 元データは onclick の <button> だが、
 *    ページ遷移は <a href> に置き換えた（見た目は同値）。
 * 5. アイコン … 元データのインラインSVGは Font Awesome に置き換えた。
 *
 */

/* ==========================================================================
   0. ベース調整（完成デザインの body / a に合わせる）
   ========================================================================== */
body {
  text-wrap: pretty;
}

a:hover {
  opacity: 1;
}

/* CMS出力は <span id="cms-..."> にくるまれて返ってくる。
   その箱があると grid の直下の子が span 1つになってしまうため、
   display:contents で箱だけ消して中の記事を直接 grid に並べる。 */
#cms-news-1-area,
#cms-blog-entry-list-1-area {
  display: contents;
}

/* 共通gridは tablet で2列に落ちるが、完成デザインは820pxで一気に1列 */
@media (max-width: 820px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   1. セクション余白（左右24px固定 ＋ 上下の刻み）
   ========================================================================== */
.rin-sec {
  padding: 88px 24px;
}
.rin-sec--80 { padding: 80px 24px; }
.rin-sec--76 { padding: 76px 24px; }
.rin-sec--72 { padding: 72px 24px; }
.rin-sec--70 { padding: 70px 24px; }
.rin-sec--64 { padding: 64px 24px; }
.rin-sec--44 { padding: 44px 24px; }
.rin-sec--34 { padding: 34px 24px; }
.rin-sec--intro { padding: 56px 24px 0; }
.rin-sec--list  { padding: 24px 24px 80px; }
.rin-sec--form  { padding: 20px 24px 90px; }
.rin-sec--flush { padding: 0; }
/* 個別の上下余白調整。rin-sec--* の後に置いて上書きする（他ページに影響させないため単体付与） */
.rin-sec--pt80 { padding-top: 80px; }
.rin-sec--pb80 { padding-bottom: 80px; }

.rin-bg-light { background: #f7f7f6; }
.rin-bg-white { background: #fff; }

@media (max-width: 820px) {
  .rin-sec,
  .rin-sec--80,
  .rin-sec--76,
  .rin-sec--72,
  .rin-sec--70,
  .rin-sec--64,
  .rin-sec--44,
  .rin-sec--34,
  .rin-sec--intro,
  .rin-sec--list,
  .rin-sec--form {
    padding-right: 16px;
    padding-left: 16px;
  }
  .rin-sec        { padding-top: 56px; padding-bottom: 56px; }
  .rin-sec--80,
  .rin-sec--76,
  .rin-sec--72,
  .rin-sec--70    { padding-top: 52px; padding-bottom: 52px; }
  .rin-sec--64    { padding-top: 44px; padding-bottom: 44px; }
  .rin-sec--pt80  { padding-top: 52px; }
  .rin-sec--pb80  { padding-bottom: 52px; }
}

/* ==========================================================================
   2. 見出し・リード（共通）
   ========================================================================== */
/* 元データの h2 は line-height 未指定＝normal。1.5 が付くものだけ --lh15 で足す */
.rin-h2 {
  margin: 0 0 44px;
  font-size: 36px;
  font-weight: 900;
}
.rin-h2--32 { font-size: 32px; margin-bottom: 34px; }
.rin-h2--30 { font-size: 30px; margin-bottom: 36px; }
.rin-h2--28 { font-size: 28px; margin-bottom: 32px; }
.rin-h2--mb40 { margin-bottom: 40px; }
.rin-h2--mb30 { margin-bottom: 30px; }
.rin-h2--lh15 { line-height: 1.5; }
.rin-h2--center { text-align: center; }
.rin-h2--onphoto {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* 日本語の折返しを文節単位にし、行長を均す（対応外ブラウザは通常の折返し） */
.rin-lead {
  margin: 0 auto 48px;
  max-width: 900px;
  color: #333;
  font-size: 16px;
  line-height: 2.1;
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
/* 強調したいリード文（TOPの強みセクション） */
.rin-lead--em {
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 820px) {
  .rin-h2,
  .rin-h2--32,
  .rin-h2--30,
  .rin-h2--28 { font-size: 24px; line-height: 1.5; }
  .rin-lead { font-size: 15px; }
}

/* ==========================================================================
   3. ボタン
   ========================================================================== */
.rin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.rin-btn--line  { background: #06C755; color: #fff; }
.rin-btn--line:hover { background: #05A948; color: #fff; }

.rin-btn--gold  { background: #D9A90E; color: #111; }
.rin-btn--gold:hover { background: #B98C06; color: #fff; }

.rin-btn--red   { background: #F10102; color: #fff; }
.rin-btn--red:hover { background: #111; color: #fff; }

.rin-btn--dark  { border: 2px solid #111; background: #111; color: #fff; }
.rin-btn--dark:hover { background: #fff; color: #111; }

.rin-btn--white { background: #fff; color: #111; }
.rin-btn--white:hover { background: #D9A90E; color: #111; }

.rin-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; }
.rin-btn--ghost:hover { background: #fff; color: #111; }

.rin-btn--soft  { background: #F7F5F2; color: #111; padding: 18px 20px; font-size: 15px; line-height: 1.5; }
.rin-btn--soft:hover { background: #111; color: #fff; }

.rin-btn--tel {
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
}
/* 枠線2px分を差し引いて、白ボタン（16px）と同じ見た目の高さに揃える */
.rin-btn--dark.rin-btn--tel { padding: 14px; }

/* セクション下の「もっと見る」系 */
.rin-more {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}
.rin-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  border: 0;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.rin-more__btn:hover { background: #F10102; color: #fff; }
.rin-more__btn--14 { font-size: 14px; }
.rin-more__btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: none;
  color: #fff;
}
.rin-more__btn--outline:hover { border-color: #fff; background: #fff; color: #F10102; }

/* ==========================================================================
   4. インフォメーションバー
   ========================================================================== */
/* 地はメインレッドの濃いめ。文字・チップは白系に反転させる。 */
.rin-infobar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 38px;
  padding: 0 24px;
  background: #B00001;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.rin-infobar__group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rin-infobar__group + .rin-infobar__group { gap: 18px; }
.rin-infobar__en {
  color: #F5DC7A;
  font-family: Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.rin-infobar__text { color: rgba(255, 255, 255, 0.85); }
.rin-infobar__sns { display: flex; gap: 8px; }
.rin-infobar__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.rin-infobar__chip i { font-size: 12px; }
.rin-infobar__chip:hover { border-color: #F5DC7A; color: #F5DC7A; }

/* ハンバーガーに切り替わる幅（1080px以下）で、上部の赤帯は出さずに
   SNS/MAPのチップだけを画面下へ固定する */
@media (max-width: 1080px) {
  .rin-infobar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 149;
    height: auto;
    gap: 0;
    justify-content: center;
    padding: 7px 10px;
    padding-bottom: max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 11px;
  }
  .rin-infobar__group:first-child { display: none; }
  .rin-infobar__group > .rin-infobar__text { display: none; }
  .rin-infobar__group + .rin-infobar__group { gap: 0; }
  .rin-infobar__sns { justify-content: center; gap: 6px; }
}

/* ==========================================================================
   5. ヘッダー
   ========================================================================== */
.rin-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid #E6E4E0;
  background: #fff;
}
.rin-header__inner {
  max-width: 100%;
  min-height: 80px;
  height: auto;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 0 24px;
}
.rin-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* 共通の .header__logo img（40px／SP30px）と同じ詳細度で当てて上書きする。
   クラス単体（.rin-header__mark 等）では詳細度が足りず効かない。 */
.rin-header__logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.rin-header__logo .rin-header__mark { width: 60px; }
.rin-header__nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 0 auto;
}
.rin-header__nav-item { display: flex; }
.rin-header__nav-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-left: 1px solid #E6E4E0;
  color: #111;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.rin-header__nav-item > a::after { display: none; }
.rin-header__nav-item > a:hover { background: #FAF8F6; color: #F10102; }
.rin-header__nav-ja {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.rin-header__nav-item--current > a { color: #F10102; }

.rin-header__tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  border-left: 1px solid #E6E4E0;
  background: #fff;
  color: #111;
  white-space: nowrap;
}
.rin-header__tel:hover { color: #111; }
.rin-header__tel-label {
  color: #B98C06;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.rin-header__tel-num {
  font-family: Roboto, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
/* ラフのサブカラー＝金色。文字は金地で読めるよう黒に。 */
.rin-header__cta {
  padding: 0 26px;
  background: #D9A90E;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.rin-header__cta:hover { background: #B98C06; color: #fff; }

/* 1300px を切るとナビ＋ロゴが横幅を超えるため、段階的に縮める */
@media (max-width: 1300px) {
  .rin-header__logo img { height: 50px; }
  .rin-header__logo .rin-header__mark { width: 50px; }
  .rin-header__nav-item > a { padding: 0 14px; }
  .rin-header__nav-ja { font-size: 16px; }
  .rin-header__tel { padding: 0 16px; }
}
@media (max-width: 1180px) {
  .rin-header__logo img { height: 44px; }
  .rin-header__logo .rin-header__mark { width: 44px; }
  .rin-header__logo { gap: 8px; }
  .rin-header__inner { padding-left: 16px; }
  .rin-header__nav-item > a { padding: 0 10px; }
  .rin-header__nav-ja { font-size: 15px; }
  .rin-header__tel { padding: 0 12px; }
  .rin-header__tel-label { font-size: 10px; letter-spacing: 0.12em; }
  .rin-header__tel-num { font-size: 19px; }
  .rin-header__cta { padding: 0 18px; font-size: 13px; }
}
@media (max-width: 1080px) and (min-width: 821px) {
  .rin-strength { grid-template-columns: repeat(2, 1fr); }
}

/* 1080px以下は共通コンポーネントどおり PCナビを畳み、
   ハンバーガー（.nav-toggle）＋ SPナビ（.sp-nav）に切り替える。
   元データにはハンバーガーが無く横スクロールのナビ帯になるが、
   実装ガイドの「PCナビとSPナビは別要素」ルールに合わせている。 */
@media (max-width: 1080px) {
  .rin-header__inner {
    padding-left: 14px;
    padding-right: 56px;
    min-height: 0;
  }
  .rin-header__logo { padding: 12px 0; }
  .rin-header__nav { display: none; }
}
@media (max-width: 820px) {
}

/* SPナビ。共通コンポーネントは半透明だが、背面のメインビューが透けて
   項目が読みづらいため、完成デザインのレッド系で不透明に敷き直す。 */
.sp-nav {
  background: linear-gradient(135deg, #F10102 0%, #C60101 60%, #8E0101 100%);
}

/* SPナビ下部 */
.rin-spnav__tel {
  display: block;
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}
.rin-spnav__tel:hover { color: #fff; }
.rin-spnav__note {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-align: center;
}

/* ==========================================================================
   6. 共通CTA（レッド帯 ＋ 3カード）
   ========================================================================== */
.rin-cta {
  background-color: #F10102;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}
.rin-cta__title {
  margin: 0 0 18px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}
.rin-cta__lead {
  margin: 0 auto 40px;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 2.1;
  text-align: center;
}
.rin-cta__cards { gap: 16px; }
.rin-cta__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  background: #fff;
  color: #111;
}
.rin-cta__card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.rin-cta__icon { font-size: 22px; }
.rin-cta__icon--line { color: #06C755; }
.rin-cta__icon--tel  { color: #F10102; }
.rin-cta__icon--mail { color: #D9A90E; }
.rin-cta__card-text {
  flex: 1;
  margin: 0;
  color: #555;
  font-size: 13.5px;
  line-height: 1.95;
}

@media (max-width: 820px) {
  .rin-cta__title { font-size: 26px; }
}

/* ==========================================================================
   7. フッター
   ========================================================================== */
.rin-footer {
  padding-top: 64px;
  background: #111;
  color: #fff;
}
.rin-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding: 0 24px 48px;
}
.rin-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.rin-footer__mark { width: 46px; height: 46px; object-fit: contain; }
/* ヘッダーと同じ文字ロゴ画像を、フッターでは白抜きにして使う */
.rin-footer__wordmark {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.rin-footer__info {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  line-height: 2;
}
.rin-footer__sns { display: flex; flex-wrap: wrap; gap: 8px; }
.rin-footer__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 12px;
}
.rin-footer__chip i { font-size: 14px; }
.rin-footer__chip:hover { border-color: #D9A90E; color: #D9A90E; }

.rin-footer__nav,
.rin-footer__contact {
  display: grid;
  gap: 12px;
  align-content: start;
}
.rin-footer__heading {
  margin: 0 0 4px;
  color: #D9A90E;
  font-family: Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.rin-footer__link {
  color: #fff;
  font-size: 14px;
  text-align: left;
}
.rin-footer__link:hover { color: #D9A90E; }

.rin-footer__map {
  height: 220px;
  border-radius: 0;
}
.rin-footer__map iframe { display: block; height: 100%; border: 0; }

.rin-footer__bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.rin-footer__bottom .footer-bottom__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-family: Roboto, sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
}

@media (max-width: 820px) {
  .rin-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px 40px;
  }
  .rin-footer__bottom { padding-bottom: 130px; }
}

/* ==========================================================================
   8. SP固定バー
   ========================================================================== */
.rin-fixedbar { border-top: 1px solid #E6E4E0; }
/* 下に敷いたSNS帯（約36px）のぶん、ページトップと固定バーを持ち上げる。
   固定バー自体は820px以下でのみ表示される。 */
@media (max-width: 1080px) {
  .page-top { bottom: 56px; }
  .rin-footer__bottom { padding-bottom: 60px; }
}
@media (max-width: 820px) {
  .sp-fixed-bar { bottom: 36px; }
  /* SPは下部にSP固定バー＋SNS帯があり重なるため、ページトップボタンは出さない */
  .page-top { display: none; }
}
.rin-fixedbar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 700;
}
.rin-fixedbar__link i { font-size: 16px; color: #F10102; }
.rin-fixedbar__link--line i { color: #06C755; }
.rin-fixedbar__link--form i { color: #D9A90E; }

/* ==========================================================================
   9. TOP：メインビュー
   ========================================================================== */
/* セクションの高さは「最低620px」と「コピーの高さ」の大きい方で決める。
   CMSスライダーは何を出力しても寸法に影響しないよう絶対配置の層に閉じ込め、
   その上に暗幕、さらに上にコピーを重ねる。 */
.rin-mv {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  background: #111;
}
/* CMSスライダーが自前でz-indexを持つため、重なり順は明示しておく */
.rin-mv__stage,
.rin-mv__scrim {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.rin-mv__stage { z-index: 0; }
.rin-mv__scrim { z-index: 1; }
/* CMSスライダーは高さ100%で外枠に追従する仕様。入れ子の各層も100%で通す。 */
.rin-mv__stage > div,
.rin-mv__stage .slider_wrapper,
.rin-mv__stage .main_slider__outer,
.rin-mv__stage .main_catch__outer,
.rin-mv__stage .swiper,
.rin-mv__stage .swiper-wrapper,
.rin-mv__stage .swiper-slide {
  height: 100%;
}
/* CMS側は #main_slider.slider_wrapper に --swiper-wrapper-height:95vh と
   height:95vh を直接当ててくる。内部の各層はこの変数を参照して高さを決めるため、
   id2つ分の詳細度で変数ごと「外枠に追従（100%）」へ上書きする。 */
#slideshow.rin-mv__stage #main_slider.slider_wrapper {
  --swiper-wrapper-height: 100%;
  height: 100%;
}
.rin-mv__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rin-mv__scrim {
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.7) 38%, rgba(17, 17, 17, 0.32) 66%, rgba(17, 17, 17, 0.06) 100%);
}
/* キャッチはコンテナ中央寄せではなく、メインビューの左端に寄せる */
.rin-mv__body {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px 40px 60px;
}
.rin-mv__badge {
  align-self: flex-start;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.rin-mv__catch {
  margin: 0;
  max-width: 940px;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: 0.01em;
}
.rin-mv__catch-gold { color: #D9A90E; }
.rin-mv__catch-mark {
  display: inline-block;
  margin-left: 6px;
  padding: 0 10px;
  background: #F10102;
}
.rin-mv__sub {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.95;
}
@media (max-width: 820px) {
  .rin-mv { min-height: 420px; }
  .rin-mv__body { padding: 40px 16px; }
  .rin-mv__catch { font-size: 24px; line-height: 1.45; }
}

/* ==========================================================================
   10. TOP：問い合わせCVバナー
   ========================================================================== */
.rin-cvbar {
  background-color: #F10102;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}
.rin-cvbar__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 2fr;
  gap: 34px;
  align-items: center;
}
.rin-cvbar__title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}
.rin-cvbar__free { font-size: 38px; }
.rin-cvbar__note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
}
.rin-cvbar__btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rin-cvbar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 18px;
  border: 2px solid transparent;
  font-family: inherit;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.rin-cvbar__btn-label {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-cvbar__btn-value {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rin-cvbar__btn--line {
  border-color: #06C755;
  background: #06C755;
  color: #fff;
}
.rin-cvbar__btn--line:hover { border-color: #05A948; background: #05A948; color: #fff; }
.rin-cvbar__btn--tel {
  border-color: #fff;
  background: #fff;
  color: #111;
}
.rin-cvbar__btn--tel:hover { border-color: #D9A90E; color: #111; }
.rin-cvbar__btn--tel i { color: #F10102; font-size: 20px; }
.rin-cvbar__tel-num {
  font-family: Roboto, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}
.rin-cvbar__btn--form {
  border-color: #D9A90E;
  background: #D9A90E;
  color: #111;
}
.rin-cvbar__btn--form:hover { border-color: #C9A41B; background: #C9A41B; color: #111; }
.rin-cvbar__btn--form i { color: #111; font-size: 20px; }
.rin-cvbar__btn--line i { color: #fff; font-size: 22px; }
/* 3つのボタンで「小ラベル＋アイコン付きの大きい文言」の構成を揃える */
.rin-cvbar__btn-strong {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .rin-cvbar__inner { grid-template-columns: 1fr; }
  .rin-cvbar__btns { grid-template-columns: 1fr; }
}

/* ==========================================================================
   11. TOP：私たちの強み
   ========================================================================== */
.rin-cross {
  margin: 0 0 28px;
  text-align: center;
}
.rin-cross__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}
.rin-cross__tag {
  padding: 16px 30px;
  background: #111;
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: -7px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16);
}
.rin-cross__x {
  padding: 0 18px;
  color: #F10102;
  font-family: Roboto, sans-serif;
  font-size: 30px;
}
.rin-cross__arrow {
  display: block;
  margin: 18px 0 14px;
  color: #F10102;
  font-size: 24px;
  line-height: 1;
}
.rin-cross__result {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: #F10102;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.rin-cross__marker { background: linear-gradient(transparent 81%, #F5DC7A 68%); }

/* 隣とテキストが近く1枚ずつのまとまりが見えづらかったため、
   薄いグレー地＋内側余白でカード化し、区切りを分かるようにしている。 */
.rin-strength { gap: 24px; }
.rin-strength__item {
  display: flex;
  flex-direction: column;
  background: #F7F5F2;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16);
}
.rin-strength__img { height: 170px; overflow: hidden; }
.rin-strength__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rin-strength__body { padding: 24px 22px 26px; }
.rin-strength__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
/* 見出し2行目のキーワード（元は「」で括っていた部分）を赤・大きめで立たせる */
.rin-strength__key {
  color: #F10102;
  font-size: 22px;
}
.rin-strength__text {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.95;
}

@media (max-width: 820px) {
  .rin-cross__row { font-size: 20px; }
  .rin-cross__tag { padding: 12px 18px; }
  .rin-cross__result { font-size: 36px; }
}

/* ==========================================================================
   12. TOP：主な事業内容
   参考デザイン（お客様支給）に合わせたカード。アクセントはサイトの3色
   （レッド／ゴールド／ブラック）をカードごとにCSS変数で切り替える。
   ========================================================================== */
.rin-svchead {
  margin-bottom: 44px;
  text-align: center;
}
.rin-svchead--flush { margin-bottom: 24px; }
.rin-svchead__title {
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 3px solid #F10102;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.rin-svchead__sub {
  margin: 0;
  color: #555;
  font-size: 16px;
}

.rin-svccard { gap: 24px; align-items: stretch; }

.rin-svccard__item {
  --svc-accent: #F10102;
  --svc-on: #fff;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.rin-svccard__item--gold {
  --svc-accent: #D9A90E;
  --svc-on: #111;
}
.rin-svccard__item--dark {
  --svc-accent: #111111;
  --svc-on: #fff;
}

.rin-svccard__img {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.rin-svccard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rin-svccard__ribbon {
  position: absolute;
  top: 16px;
  left: 0;
  padding: 6px 16px;
  background: var(--svc-accent);
  color: var(--svc-on);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rin-svccard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 28px;
}
/* タイトル部はカードのアクセント色で全幅の帯にする（body の padding を負マージンで打ち消す） */
.rin-svccard__head {
  margin: -26px -26px 22px;
  padding: 18px 26px;
  background: var(--svc-accent);
  color: var(--svc-on);
}
.rin-svccard__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  word-break: auto-phrase;
}
.rin-svccard__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  opacity: 0.85;
}

.rin-svccard__list { margin: 0; padding: 0; }
.rin-svccard__row {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #EEEBE7;
}
.rin-svccard__row:first-child { padding-top: 0; }
.rin-svccard__row:last-child { padding-bottom: 0; border-bottom: 0; }
.rin-svccard__check {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--svc-accent);
  font-size: 16px;
}
.rin-svccard__cell { display: block; }
.rin-svccard__term {
  display: block;
  margin-bottom: 4px;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-svccard__desc {
  display: block;
  color: #555;
  font-size: 13.5px;
  line-height: 1.85;
}

/* 下部の相談バー */
.rin-svcbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
  padding: 22px 28px;
  border: 2px solid #F10102;
  background: #fff;
  color: #111;
}
.rin-svcbar__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.rin-svcbar__title i { color: #F10102; font-size: 24px; }
.rin-svcbar__text {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid #E6E4E0;
  color: #555;
  font-size: 14px;
}
.rin-svcbar__btn {
  padding: 16px 30px;
  background: #F10102;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.3s ease;
}
.rin-svcbar__btn:hover { background: #111; color: #fff; }

@media (max-width: 1080px) {
  .rin-svcbar__text { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  .rin-svchead { margin-bottom: 32px; }
  .rin-svchead__title { font-size: 26px; }
  .rin-svchead__sub { font-size: 14px; }
  .rin-svccard__body { padding: 22px 18px 24px; }
  .rin-svccard__head { margin: -22px -18px 18px; padding: 16px 18px; }
  .rin-svccard__title { font-size: 18px; }
  .rin-svcbar { flex-direction: column; gap: 16px; padding: 22px 18px; text-align: center; }
  .rin-svcbar__title { font-size: 18px; }
  .rin-svcbar__btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   13. TOP：お知らせ
   ========================================================================== */
.rin-news {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.rin-news__title {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
}
/* 1件あたり66px（padding22+22＋本文22）。3件分だけ見せて以降はスクロールさせる。 */
.rin-news__list {
  border-top: 1px solid #DDD9D4;
  max-height: 200px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.rin-news__list::-webkit-scrollbar { width: 6px; }
.rin-news__list::-webkit-scrollbar-track { background: #EEEBE7; }
.rin-news__list::-webkit-scrollbar-thumb { background: #C9C4BD; }
.rin-news__list::-webkit-scrollbar-thumb:hover { background: #F10102; }
.rin-news__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid #DDD9D4;
  color: #111;
}
.rin-news__date {
  color: #8A8A8A;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.rin-news__text { font-size: 15px; font-weight: 700; }

@media (max-width: 820px) {
  .rin-news { grid-template-columns: 1fr; gap: 20px; }
  .rin-news__item { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   14. TOP：施工事例
   ========================================================================== */
.rin-works__en {
  margin: 0;
  background: linear-gradient(100deg, #F10102 0%, #F45A5B 42%, #FBC9C9 78%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Roboto, sans-serif;
  font-size: 112px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
}
.rin-works__ja {
  margin: 0 0 34px;
  color: #111;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}
.rin-works__lead { margin-bottom: 40px; font-size: 15px; line-height: 2; }
.rin-works__container { max-width: 1100px; }
.rin-works__grid { gap: 24px; }
.rin-works__card {
  border: 1px solid #E6E4E0;
  background: #fff;
  color: #111;
}
.rin-works__img { height: 240px; overflow: hidden; }
.rin-works__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rin-works__card:hover .rin-works__img img { transform: scale(1.06); }
.rin-works__body { padding: 24px 24px 26px; }
.rin-works__meta {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
}
.rin-works__date {
  color: #8A8A8A;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.rin-works__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
}
/* 一覧ページはカード全体をリンクにし、抜粋を1行追加する */
.rin-works__link { display: block; color: inherit; }
.rin-works__card:hover .rin-works__title { color: #F10102; }

@media (max-width: 820px) {
  .rin-works__en { font-size: 56px; }
  .rin-works__ja { font-size: 20px; }
}

/* ==========================================================================
   15. TOP：LINE無料相談
   ========================================================================== */
.rin-line {
  background: linear-gradient(135deg, #F5DC7A 0%, #E6BE3A 35%, #D9A90E 70%, #B98C06 100%);
}
.rin-line__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
}
.rin-line__body { padding: 48px 44px; }
.rin-line__title {
  margin: 0 0 26px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-line__title-mark {
  display: inline-block;
  margin-top: 8px;
  background: linear-gradient(transparent 62%, #F5DC7A 62%);
  color: #111;
}
.rin-line__points {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  color: #333;
  font-size: 15px;
}
.rin-line__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.9;
}
.rin-line__points i {
  flex: 0 0 auto;
  margin-top: 5px;
  color: #F10102;
  font-size: 18px;
}
.rin-line__text {
  margin: 0 0 30px;
  color: #333;
  font-size: 14.5px;
  line-height: 2;
}
.rin-line__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.rin-line__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 22px;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.rin-line__btn--line {
  background: #06C755;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.rin-line__btn--line:hover { background: #05A948; color: #fff; }
.rin-line__btn--tel { border: 2px solid #111; color: #111; }
.rin-line__btn--tel:hover { background: #111; color: #fff; }
.rin-line__tel-num {
  font-family: Roboto, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}
.rin-line__tel-note { font-size: 12px; }
.rin-line__photo { min-height: 460px; overflow: hidden; }
.rin-line__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .rin-line__inner { grid-template-columns: 1fr; }
  .rin-line__body { padding: 32px 20px; }
  .rin-line__title { font-size: 24px; }
  .rin-line__title-mark { display: inline; margin-top: 0; }
  .rin-line__btns { grid-template-columns: 1fr; }
  .rin-line__photo { min-height: 260px; }
}

/* ==========================================================================
   16. ご依頼の流れ
   ========================================================================== */
.rin-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.rin-flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 22px 28px;
  background: #F7F5F2;
  text-align: center;
}
.rin-flow__step--last { border: 2px solid #D9A90E; }
.rin-flow__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.rin-flow__num--red { border-color: #F10102; background: #F10102; color: #fff; }
.rin-flow__num--gold { border-color: #D9A90E; background: #D9A90E; color: #111; }
.rin-flow__title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
}
.rin-flow__text {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.95;
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
/* PC幅でだけ改行する（SPでは詰めて表示） */
.rin-br-pc { display: inline; }
@media (max-width: 820px) { .rin-br-pc { display: none; } }
/* SP幅でだけ改行する */
.rin-br-sp { display: none; }
@media (max-width: 820px) { .rin-br-sp { display: inline; } }

.rin-flow__arrow {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #D9A90E;
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 820px) {
  .rin-flow { flex-direction: column; }
  .rin-flow__arrow { flex: 0 0 auto; padding: 6px 0; transform: rotate(90deg); }
}

/* ==========================================================================
   17. 会社概要の定義リスト
   ========================================================================== */
.rin-company { max-width: 960px; margin: 0 auto; }
.rin-dl {
  margin: 0;
  border-top: 2px solid #111;
  background: #fff;
}
.rin-dl__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid #DDD9D4;
}
.rin-dl__dt {
  padding: 18px 12px;
  background: #EFECE8;
  font-size: 14px;
  font-weight: 700;
}
.rin-dl__dd {
  margin: 0;
  padding: 18px 16px;
  font-size: 14.5px;
  line-height: 1.9;
}
/* 定義リスト内の箇条書き（事業内容など） */
.rin-dl__list { display: grid; gap: 6px; margin: 0; padding: 0; }
.rin-dl__list li { display: flex; gap: 9px; }
.rin-dl__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 0.62em;
  background: #F10102;
}

/* 項目数の多いリストは横並びにして縦の間延びを防ぐ。
   最長項目「とび・土工・コンクリート工事業」が折り返さない 230px を下限にし、
   列数は幅まかせ（TOP＝広いので3列／会社概要＝左右2分割で狭いので1列）。 */
.rin-dl__list--cols {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px 20px;
}

.rin-dl--wide .rin-dl__row { grid-template-columns: 190px 1fr; }
.rin-dl--wide .rin-dl__dt { padding: 20px 16px; }
.rin-dl--wide .rin-dl__dd { padding: 20px; font-size: 15px; }

@media (max-width: 820px) {
  .rin-dl__row,
  .rin-dl--wide .rin-dl__row { grid-template-columns: 1fr; }
  .rin-dl__dd { padding-top: 12px; }
}

/* ==========================================================================
   18. TOP：採用バナー
   ========================================================================== */
.rin-recruitbnr { background: #fff; color: #111; }
.rin-recruitbnr__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
}
.rin-recruitbnr__photo { min-height: 420px; }
.rin-recruitbnr__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.rin-recruitbnr__body { padding: 72px 56px; }
.rin-recruitbnr__title {
  margin: 0 0 22px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-recruitbnr__text {
  margin: 0 0 26px;
  color: #444;
  font-size: 14.5px;
  line-height: 2.1;
}
.rin-recruitbnr__list {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
}
/* セクション地が白なので、条件チップは背景をグレーにして見え方を保つ */
.rin-recruitbnr__item {
  padding: 10px 16px;
  background: #F7F5F2;
  font-size: 14px;
  font-weight: 700;
}
.rin-recruitbnr__item--red { border-left: 4px solid #F10102; }
.rin-recruitbnr__item--gold { border-left: 4px solid #D9A90E; }
.rin-recruitbnr__btn {
  display: inline-block;
  padding: 18px 32px;
  border: 0;
  background: #F10102;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.rin-recruitbnr__btn:hover { background: #D9A90E; color: #111; }

@media (max-width: 820px) {
  .rin-recruitbnr__inner { grid-template-columns: 1fr; }
  .rin-recruitbnr__photo,
  .rin-recruitbnr__photo img { min-height: 260px; }
  .rin-recruitbnr__body { padding: 40px 20px; }
  .rin-recruitbnr__title { font-size: 24px; }
}

/* ==========================================================================
   19. 下層ページ見出し
   ========================================================================== */
.rin-pagehero {
  position: relative;
  background: #F7F5F2;
  color: #111;
}
/* 写真ヒーロー。写真を見せるため上下余白を厚めに取り、暗幕を敷いて文字を白に反転する。 */
.rin-pagehero--photo {
  padding-top: 150px;
  padding-bottom: 150px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}
.rin-pagehero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.55) 55%, rgba(17, 17, 17, 0.35) 100%);
}
.rin-pagehero--photo > .container {
  position: relative;
  z-index: 1;
}
.rin-pagehero--photo .rin-pagehero__note { color: #F5DC7A; }
/* 被写体が上寄りの写真は、切り取り位置を上げて（＝画像を下にずらして）見せる */
.rin-pagehero--shift { background-position: center 25%; }
.rin-pagehero__title {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
}
.rin-pagehero__title--38 { font-size: 38px; line-height: 1.45; }
.rin-pagehero__title--44 { margin-bottom: 22px; font-size: 44px; line-height: 1.4; }
.rin-pagehero__sub {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-pagehero__note {
  margin: 0;
  color: #F10102;
  font-size: 17px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .rin-pagehero--photo { padding-top: 84px; padding-bottom: 84px; }
  .rin-pagehero__title,
  .rin-pagehero__title--38,
  .rin-pagehero__title--44 { font-size: 28px; line-height: 1.45; }
  .rin-pagehero__sub { font-size: 22px; }
  .rin-pagehero__note { font-size: 15px; }
}

/* ==========================================================================
   20. 事業内容：アンカーナビ ＋ 各サービスブロック
   ========================================================================== */
.rin-anchornav { gap: 12px; }

.rin-svc { display: grid; gap: 56px; }
.rin-svc__item { border: 1px solid #E6E4E0; scroll-margin-top: 120px; }
/* 右端およそ2割を暗いレッドで締める。境界は斜め（／方向）にカット。 */
.rin-svc__head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  background: #F10102;
  color: #fff;
}
.rin-svc__head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24%;
  background: #B00001;
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.rin-svc__head > * {
  position: relative;
  z-index: 1;
}
.rin-svc__label {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.rin-svc__label--num {
  padding: 4px 10px;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.rin-svc__title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
}
.rin-svc__body { padding: 36px 32px 34px; }
.rin-svc__cols {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: stretch;
}
.rin-svc__photo { min-height: 280px; overflow: hidden; }
.rin-svc__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rin-svc__catch {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
}
.rin-svc__text {
  margin: 0 0 24px;
  color: #333;
  font-size: 14.5px;
  line-height: 2.1;
}
.rin-svc__text--flush { margin-bottom: 0; }
.rin-svc__menu { border: 1px solid #E6E4E0; }
.rin-svc__menu--gap { margin-top: 24px; }
.rin-svc__menu-head {
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #E6E4E0;
  background: #F7F5F2;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.rin-svc__menu-list { display: grid; margin: 0; padding: 0; }
.rin-svc__menu-list li {
  padding: 18px 24px;
  border-bottom: 1px solid #EEEBE7;
  color: #333;
  font-size: 14.5px;
  line-height: 1.9;
}
.rin-svc__menu-list li:last-child { border-bottom: 0; }
.rin-svc__menu-list strong { display: block; color: #111; }

.rin-svc__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  background: #F7F5F2;
}
.rin-svc__cta--red { border-left: 6px solid #F10102; }
.rin-svc__cta--gold { border-left: 6px solid #D9A90E; }
.rin-svc__cta-title {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}
.rin-svc__cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.rin-svc__cta-tel {
  color: #111;
  font-family: Roboto, sans-serif;
  font-size: 26px;
  font-weight: 700;
}
.rin-svc__cta-btn { padding: 14px 24px; }

@media (max-width: 820px) {
  .rin-svc__head { flex-wrap: wrap; gap: 12px; padding: 16px 18px; }
  .rin-svc__title { font-size: 19px; }
  .rin-svc__body { padding: 24px 18px; }
  .rin-svc__cols { grid-template-columns: 1fr; gap: 24px; }
  .rin-svc__photo { min-height: 220px; }
  .rin-svc__catch { margin: 0 0 18px; font-size: 18px; }
  .rin-svc__text { font-size: 13.5px; }
  .rin-svc__menu-list li { padding: 15px 17px; font-size: 12.5px; }
  .rin-svc__cta { padding: 20px 18px; }
  .rin-svc__cta-title { margin: 0; font-size: 15px; }
  .rin-svc__cta-actions { flex-wrap: wrap; }

  .rin-oneshop__text { font-size: 13.5px; text-align: left; }

  .rin-recruit__text { font-size: 14px; text-align: left; }

  .rin-job__head { padding: 22px 20px; }
  .rin-job__summary { padding: 22px 20px; font-size: 13.5px; }
  .rin-job__dd { padding: 18px 20px; font-size: 13.5px; }

}

/* ==========================================================================
   21. 事業内容：まとめて解決
   ========================================================================== */
.rin-oneshop {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.rin-oneshop__title {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-oneshop__accent { color: #F10102; }
.rin-oneshop__text {
  margin: 0 auto 30px;
  color: #444;
  font-size: 14.5px;
  line-height: 2.1;
}
.rin-oneshop__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.rin-oneshop__tel {
  padding: 18px 30px;
  background: #111;
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 26px;
  font-weight: 700;
  transition: background 0.3s ease;
}
.rin-oneshop__tel:hover { background: #F10102; color: #fff; }
.rin-oneshop__btn {
  padding: 22px 30px;
  border: 0;
  background: #F10102;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.3s ease;
}
.rin-oneshop__btn:hover { background: #111; color: #fff; }

@media (max-width: 820px) {
  .rin-oneshop__title { font-size: 22px; }
}

/* ==========================================================================
   22. 会社概要：代表メッセージ
   ========================================================================== */
.rin-msg {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
/* 本文が長いので、横の写真はコンテンツ内で追従させる（追従ヘッダーの下に潜らない位置で止める） */
.rin-msg__photo {
  position: sticky;
  top: 100px;
}
.rin-msg__img { height: 360px; overflow: hidden; }
.rin-msg__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rin-msg__caption {
  margin: 16px 0 0;
  color: #666;
  font-size: 13px;
}
.rin-msg__title {
  margin: 0 0 26px;
  padding-bottom: 20px;
  border-bottom: 4px solid #F10102;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-msg__text {
  margin: 0 0 28px;
  color: #333;
  font-size: 15px;
  line-height: 2.15;
}
.rin-msg__text--flush { margin-bottom: 0; }
.rin-msg__sign {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

/* ------- 3つのこだわり（独立セクション） ------- */
.rin-commit__en {
  margin: 0 0 8px;
  color: #B98C06;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
}
.rin-commit__title { margin-bottom: 40px; }
.rin-commit__cards { gap: 24px; }
.rin-commit__card {
  --commit-accent: #F10102;
  position: relative;
  overflow: hidden;
  padding: 40px 30px 34px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.rin-commit__card--gold { --commit-accent: #D9A90E; }
.rin-commit__card--dark { --commit-accent: #111111; }
.rin-commit__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--commit-accent);
}
/* アイコンと見出しは横並び */
.rin-commit__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E6E4E0;
}
.rin-commit__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--commit-accent);
  color: #fff;
  font-size: 21px;
}
.rin-commit__name {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  word-break: auto-phrase;
}
.rin-commit__text {
  margin: 0;
  color: #555;
  font-size: 14.5px;
  line-height: 1.95;
}

@media (max-width: 820px) {
  .rin-commit__card { padding: 32px 22px 28px; }
}

@media (max-width: 820px) {
  .rin-msg { grid-template-columns: 1fr; gap: 32px; }
  .rin-msg__photo { position: static; }
  .rin-msg__title { font-size: 24px; }
}

/* ==========================================================================
   23. 会社概要：アクセス
   ========================================================================== */
/* 会社概要とアクセスを左右に並べる */
/* 見出しを全幅の1行目に置くことで、左の表と右の地図の上端が揃う */
.rin-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}
.rin-about__title { grid-column: 1 / -1; }
.rin-about__col { min-width: 0; }

.rin-access__map {
  height: 300px;
  margin-bottom: 20px;
  border: 1px solid #DDD9D4;
  border-radius: 0;
}
.rin-access__map iframe { display: block; height: 100%; border: 0; }

/* 案内カードはアイコン左・テキスト右の横並びで縦に積む */
.rin-access__cards { display: grid; gap: 12px; }
.rin-access__card {
  --access-accent: #DDD9D4;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-left: 4px solid var(--access-accent);
  background: #F7F5F2;
}
.rin-access__card--red  { --access-accent: #F10102; }
.rin-access__card--dark { --access-accent: #111111; }
.rin-access__card--gold { --access-accent: #D9A90E; }
.rin-access__icon {
  flex: 0 0 auto;
  width: 26px;
  color: var(--access-accent);
  font-size: 22px;
  text-align: center;
}
.rin-access__body { min-width: 0; }
.rin-access__label {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.rin-access__text {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}
.rin-more--sm { margin-top: 20px; }

@media (max-width: 820px) {
  .rin-about { grid-template-columns: 1fr; gap: 0; }
  .rin-about__col + .rin-about__col { margin-top: 40px; }
  .rin-access__map { height: 260px; }
}

/* ==========================================================================
   24. 施工事例：一覧・詳細の2カラム／パンくず／ページャ
   ========================================================================== */
.rin-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
  color: #777;
  font-size: 13px;
}
.rin-crumb--entry { margin-bottom: 24px; }
.rin-crumb__link { color: #F10102; }
.rin-crumb__link:hover { color: #C60101; }
.rin-crumb__sep { margin: 0 8px; }

.rin-listwrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.rin-listwrap__main { display: grid; gap: 24px; align-content: start; }

.rin-entrycard {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid #E6E4E0;
}
.rin-entrycard__img { min-height: 190px; overflow: hidden; }
.rin-entrycard__img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rin-entrycard:hover .rin-entrycard__img img { transform: scale(1.06); }
.rin-entrycard__body { padding: 26px 28px; }
.rin-entrycard__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.rin-entrycard__date {
  color: #8A8A8A;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.rin-entrycard__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.6;
}
.rin-entrycard__title a { color: #111; }
.rin-entrycard__title a:hover { color: #F10102; }
.rin-entrycard__text {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.95;
}

/* CMS既定のページャ（.pages > .page_prev / .page_next）。
   display:contents で記事と同じ階層に来るため、grid幅いっぱいに寝かせる。 */
.pages {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 16px;
}
.pages .page_prev a,
.pages .page_next a {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid #DDD9D4;
  color: #111;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.pages .page_prev a:hover,
.pages .page_next a:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

@media (max-width: 820px) {
  .rin-listwrap { grid-template-columns: 1fr; gap: 32px; }
  .rin-entrycard { grid-template-columns: 1fr; }
  .rin-entrycard__body { padding: 20px 18px; }
  .rin-entrycard__title { font-size: 17px; }
}

/* ==========================================================================
   25. 施工事例：サイドバー
   ========================================================================== */
.rin-side { display: grid; gap: 28px; align-content: start; }
.rin-side__box { border: 1px solid #E6E4E0; }
.rin-side__head {
  margin: 0;
  padding: 12px 16px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.rin-side__list { margin: 0; padding: 8px 16px 14px; }
.rin-side__list--archive { padding: 10px 16px 14px; }
.rin-side__list--archive ul { display: grid; gap: 8px; margin: 0; padding: 0; }
.rin-side__list--archive a { color: #333; font-size: 13.5px; }
.rin-side__list--archive a:hover { color: #F10102; }

.rin-side__cta {
  padding: 24px 22px;
  background: #F10102;
  color: #fff;
}
.rin-side__cta-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
}
.rin-side__cta-tel {
  display: block;
  padding: 12px;
  background: #fff;
  color: #111;
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  transition: background 0.3s ease;
}
.rin-side__cta-tel:hover { background: #D9A90E; color: #111; }
.rin-side__cta-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 0;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.rin-side__cta-btn:hover { background: #D9A90E; color: #111; }

/* ==========================================================================
   26. 施工事例：詳細
   ========================================================================== */
.rin-entry { display: block; }
.rin-entry__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.rin-entry__date {
  color: #8A8A8A;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.rin-entry__title {
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 4px solid #111;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.6;
}
/* CMSが出力する本文（見出し・段落・画像・リスト）の体裁 */
.rin-entry__body {
  margin-bottom: 8px;
  color: #333;
  font-size: 15px;
  line-height: 2.15;
}
.rin-entry__body img { height: auto; margin: 8px 0; }
.rin-entry__body p { margin: 0 0 24px; }
.rin-entry__body h2 {
  margin: 34px 0 16px;
  padding-left: 14px;
  border-left: 6px solid #F10102;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.6;
}
.rin-entry__body h3 {
  margin: 28px 0 14px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
}
.rin-entry__body ul,
.rin-entry__body ol { margin: 0 0 24px; padding-left: 20px; list-style: disc; }
.rin-entry__body ol { list-style: decimal; }

.rin-entry__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 30px 28px;
  background: #F7F5F2;
}
.rin-entry__cta-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
}
.rin-entry__cta-btn { padding: 18px 28px; font-size: 15px; }
.rin-entry__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #E6E4E0;
}
.rin-entry__navlink {
  color: #111;
  font-size: 13.5px;
  font-weight: 700;
}
.rin-entry__navlink:hover { color: #F10102; }

@media (max-width: 820px) {
  .rin-entry__title { font-size: 22px; }
  .rin-entry__cta { padding: 24px 18px; }
}

/* ==========================================================================
   27. 採用：LINE応募メガバナー ／ 個の強み
   ========================================================================== */
.rin-linebnr { background: #D9A90E; }
.rin-linebnr__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 38px 36px;
  border: 3px solid #111;
  background: #fff;
}
.rin-linebnr__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-linebnr__text {
  margin: 0;
  color: #333;
  font-size: 14.5px;
  line-height: 2.05;
}
.rin-linebnr__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 20px;
  background: #06C755;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
  transition: background 0.3s ease;
}
.rin-linebnr__btn:hover { background: #05A948; color: #fff; }

.rin-recruit { max-width: 1200px; margin: 0 auto; }
.rin-recruit__text {
  margin: 0 0 30px;
  color: #333;
  font-size: 15px;
  line-height: 2.15;
  text-align: center;
}
.rin-recruit__text--flush { margin-bottom: 0; }
.rin-recruit__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 30px;
}
.rin-recruit__card { padding: 26px 28px; background: #F7F5F2; }
.rin-recruit__photo {
  position: relative;
  height: 240px;
  margin-bottom: 20px;
  overflow: hidden;
}
.rin-recruit__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rin-recruit__badge {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 12px 20px;
  font-size: 17px;
  font-weight: 900;
}
.rin-recruit__badge--red  { background: #F10102; color: #fff; }
.rin-recruit__badge--gold { background: #D9A90E; color: #fff; }
.rin-recruit__card-text {
  margin: 0;
  color: #333;
  font-size: 14.5px;
  line-height: 2.05;
}

@media (max-width: 820px) {
  .rin-steps__grid { flex-direction: column; }
  .rin-step__arrow { flex: 0 0 auto; padding: 6px 0; transform: rotate(90deg); }
  /* 見出しが「談】」だけ落ちるなど収まりが悪かったので、文節折返し＋寸法を調整 */
  .rin-linebnr__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 18px;
    border-width: 2px;
  }
  .rin-linebnr__title {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.6;
    text-wrap: balance;
    word-break: auto-phrase;
  }
  .rin-linebnr__text { font-size: 13.5px; line-height: 1.95; }
  .rin-linebnr__btn { padding: 18px 16px; font-size: 14.5px; }
  .rin-recruit__cols { grid-template-columns: 1fr; }
  .rin-recruit__card { padding: 20px 18px; }
  .rin-recruit__badge { font-size: 14px; padding: 10px 14px; }
}

/* ==========================================================================
   28. 採用：募集要項
   ========================================================================== */
.rin-jobs { max-width: 1100px; margin: 0 auto; }
.rin-jobs__title { margin-bottom: 40px; }
.rin-job {
  border: 1px solid #E6E4E0;
  background: #fff;
}
/* 元データは2枚目のカードだけ枠線ではなく影で立たせている */
.rin-job + .rin-job {
  margin-top: 32px;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.rin-job__head { padding: 22px 28px; background: #111; color: #fff; }
.rin-job__no {
  margin: 0 0 6px;
  color: #D9A90E;
  font-family: Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.rin-job__name {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}
.rin-job__summary {
  margin: 0;
  padding: 22px 28px;
  border-bottom: 1px solid #E6E4E0;
  color: #333;
  font-size: 14.5px;
  line-height: 2.05;
}
.rin-job__dl { margin: 0; }
.rin-job__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid #E6E4E0;
}
.rin-job__row:last-child { border-bottom: 0; }
.rin-job__dt {
  padding: 18px 20px;
  background: #F7F5F2;
  font-size: 14px;
  font-weight: 700;
}
.rin-job__dd {
  margin: 0;
  padding: 18px 20px;
  font-size: 14.5px;
  line-height: 1.95;
}
.rin-job__salary { color: #F10102; font-size: 16px; }
.rin-job__foot {
  display: flex;
  justify-content: center;
  padding: 24px 28px;
  border-top: 1px solid #E6E4E0;
}
.rin-job__btn { padding: 16px 28px; font-size: 15px; }

@media (max-width: 820px) {
  .rin-job__name { font-size: 19px; }
  .rin-job__row { grid-template-columns: 1fr; }
  .rin-job__dd { padding-top: 12px; }
}

/* ==========================================================================
   29. 採用：LINE応募3ステップ
   ========================================================================== */
.rin-steps { max-width: 1100px; margin: 0 auto; }
.rin-steps__line { color: #06C755; font-size: 36px; }
/* ステップ間に矢印を挟むので flex 並び（ご依頼の流れと同じ考え方） */
.rin-steps__grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.rin-step__arrow {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #D9A90E;
  font-size: 22px;
  font-weight: 900;
}
.rin-step {
  flex: 1;
  position: relative;
  padding: 34px 26px 28px;
  background: #F7F5F2;
  overflow: hidden;
}
.rin-step__num {
  margin: 0 0 14px;
  color: #F10102;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.rin-step__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 900;
}
.rin-step__text {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 2;
}

/* ==========================================================================
   30. フォーム
   ========================================================================== */
.rin-formwrap__note {
  margin: 0 0 32px;
  color: #666;
  font-size: 14px;
}
.rin-form {
  display: grid;
  gap: 26px;
  padding: 36px 34px;
  border: 1px solid #E6E4E0;
  background: #fff;
}
.rin-form--bordered {
  gap: 30px;
  padding: 34px 30px;
  border-top: 0;
}
/* CMSフォーム用。CMS側の既定デザインをそのまま出すため、
   こちらからは枠・余白・背景を一切かぶせない。 */
.rin-form--cms {
  display: block;
  padding: 0;
  border: 0;
  background: none;
}
/* チェックボックス／ラジオの選択肢は、途中で改行されないよう
   1件ずつ inline-block にして折り返す。 */
.rin-form--cms dd label {
  display: inline-block;
  margin: 0 18px 8px 0;
  vertical-align: top;
}
.rin-form--cms dd label input { margin-right: 4px; }
.rin-form__block { display: block; }
.rin-form__label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}
.rin-form__label--bar {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 5px solid #F10102;
  font-size: 20px;
  font-weight: 900;
}
.rin-form__sublabel {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}
.rin-form__sublabel--mb10 { margin-bottom: 10px; }
.rin-form__req { color: #F10102; }
.rin-form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rin-form__choices--stack {
  display: grid;
  gap: 8px;
}
.rin-form__choices--mb { margin-bottom: 22px; }
.rin-form__choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #DDD9D4;
  font-size: 14.5px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.rin-form__choice:hover { border-color: #F10102; }
.rin-form__choice--sm { padding: 11px 14px; gap: 8px; font-size: 14px; }
.rin-form__choices--md .rin-form__choice { padding: 12px 16px; font-size: 14px; }
.rin-form__grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.rin-form__stack { display: grid; gap: 16px; }
.rin-form__input {
  width: 100%;
  padding: 14px;
  border: 1px solid #DDD9D4;
  border-radius: 0;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
}
.rin-form__input:focus { border-color: #F10102; outline: none; }
.rin-form__privacy {
  margin: 0 0 14px;
  color: #555;
  font-size: 14px;
  line-height: 2;
}
.rin-form__agree {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid #DDD9D4;
  background: #F7F5F2;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.rin-form__submit {
  padding: 20px;
  border: 0;
  background: #F10102;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.3s ease;
}
.rin-form__submit:hover { background: #111; }
.rin-form__submit--lg { padding: 22px; font-size: 17px; }

@media (max-width: 820px) {
  .rin-form { padding: 24px 18px; }
  .rin-form--bordered { padding: 24px 18px; }
  .rin-form__grid2 { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   31. お問い合わせ：導線ボックス ／ 送信後の流れ
   ========================================================================== */
.rin-contact { max-width: 1100px; margin: 0 auto; }
.rin-contact__intro {
  margin: 0 auto;
  max-width: 900px;
  color: #333;
  font-size: 16px;
  line-height: 2.1;
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
/* LINE／電話の2枚を等高で横並びにし、ボタンを下端で揃える。
   カードの装飾は .rin-commit__card と同じ語彙（上部アクセント帯＋丸アイコン＋影）で統一し、
   アクセント色だけをカードごとに --contact-accent で差し替える。 */
.rin-contact__ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 44px;
}
.rin-contact__box {
  --contact-accent: #F10102;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.rin-contact__box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--contact-accent);
}
.rin-contact__box--line { --contact-accent: #06C755; }  /* LINEカードはLINEカラー */
.rin-contact__box--tel  { --contact-accent: #D9A90E; }

/* アイコン ＋ ラベルの見出し行 */
.rin-contact__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E6E4E0;
}
.rin-contact__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--contact-accent);
  color: #fff;
  font-size: 26px;
}
.rin-contact__labels { display: grid; gap: 10px; min-width: 0; }

/* ボタン直前の要素を伸ばし、ボタンをカード下端へ落とす */
.rin-contact__box .rin-contact__list { flex: 1 1 auto; }
.rin-contact__box .rin-contact__btn { margin-top: 24px; }
.rin-contact__badge {
  display: inline-block;
  justify-self: start;   /* ラベル列いっぱいに伸びるのを防ぐ */
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 900;
}
.rin-contact__badge--accent { background: var(--contact-accent); color: #fff; }
.rin-contact__badge--dark   { background: #D9A90E; color: #111; }
.rin-contact__title {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
  /* 常に2行分の高さを確保し、LINE／電話の見出し行（__head）の高さを揃える */
  min-height: calc(2em * 1.55);
}
/* 見出しの要点を蛍光ペン状のマーカーで強調 */
.rin-contact__title-mark {
  background: linear-gradient(transparent 62%, rgba(217, 169, 14, 0.35) 62%);
}
.rin-contact__text {
  margin: 0 0 16px;
  color: #333;
  font-size: 14.5px;
  line-height: 2.05;
}
.rin-contact__text--sm { margin-bottom: 12px; }
/* マーカーはサイト共通のアクセント色の小さな四角に揃える */
.rin-contact__list {
  display: grid;
  align-content: start;   /* 高さを埋めるために行間が広がるのを防ぐ */
  gap: 8px;
  margin: 0;
  padding: 16px 18px;
  background: #F7F5F2;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
  list-style: none;
}
/* flex にすると <strong> が別カラムに折れるので、マーカーは絶対配置にして本文を素直に流す */
.rin-contact__list li { position: relative; padding-left: 17px; }
.rin-contact__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--contact-accent);
}
/* 「工事のご相談：」などのラベルは1行使い切り、説明を次行から始める */
.rin-contact__list strong { display: block; font-weight: 900; }
.rin-contact__note {
  margin: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.95;
}
.rin-contact__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}
/* padding を小さめにして min-height を効かせ、2枚のボタンの高さを完全に揃える */
.rin-contact__btn { width: 100%; min-height: 86px; padding: 12px 20px; }
.rin-contact__btn--line {
  flex-direction: row;
  gap: 10px;
  background: #06C755;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
}
.rin-contact__btn--line i { font-size: 24px; }
.rin-contact__btn--line:hover { background: #05A948; color: #fff; }
.rin-contact__btn--tel {
  background: #111;
  color: #fff;
}
.rin-contact__btn--tel i { margin-right: 10px; font-size: 22px; }
.rin-contact__btn--tel:hover { background: #F10102; color: #fff; }
.rin-contact__tel-num {
  font-family: Roboto, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}
.rin-contact__tel-note { color: #D9A90E; font-size: 12px; }

.rin-formhead { padding: 24px 28px; background: #111; color: #fff; }
.rin-formhead__title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}
/* セクション地が薄グレーなので、赤い見出し以下は白パネルにしてひとかたまりに見せる */
.rin-formhead__note {
  margin: 0;
  padding: 20px 28px;
  background: #fff;
  border-bottom: 1px solid #E6E4E0;
  color: #333;
  font-size: 14px;
  line-height: 2;
}
.rin-form--cms { padding: 28px; background: #fff; }

.rin-afterflow { margin-top: 40px; }
.rin-afterflow__title {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #111;
  font-size: 22px;
  font-weight: 900;
}
.rin-afterflow__list { display: grid; gap: 12px; }
.rin-afterflow__item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 20px 22px;
  background: #fff;
}
.rin-afterflow__num {
  color: #F10102;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
}
.rin-afterflow__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.95;
}

@media (max-width: 820px) {
  .rin-contact__intro { font-size: 14px; }
  .rin-contact__ways { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .rin-contact__box { padding: 24px 18px; }
  /* SPはカードが縦積みなので高さを揃える必要がない */
  .rin-contact__title { font-size: 18px; min-height: 0; }
  .rin-contact__btn { min-height: 74px; }
  /* CMS標準（mail-form.css）の上書き。
     CMSのCSSは <link> がフォーム内に後から挿入されるため、同じ詳細度では負ける。
     ラッパの .rin-form--cms を足して詳細度で勝たせる。 */
  .rin-form--cms .form-contents { padding: 0; }
  /* 「ホームへ戻る」は width:300px 固定でSPだと枠からはみ出すので可変にする */
  .rin-form--cms .form-contents .form-thanks-msg .back-home-btn {
    display: block;
    box-sizing: border-box;
    margin: 30px auto 0;
    width: auto;
  }
  /* フォーム内の区切り見出し（工事／採用）はSPで一回り小さく、余白も詰める */
  .rin-form__label--bar {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 16px;
  }
  .rin-formhead { padding: 18px 18px; }
  .rin-formhead__title { font-size: 17px; }
  .rin-formhead__note { padding: 16px 18px; }
  .rin-form--cms { padding: 20px 18px; }
}

/* ==========================================================================
   31-2. 同意チェック ／ プライバシーポリシー
   ========================================================================== */
/* CMSフォームのカスタムエリアに貼る「個人情報の取り扱いに同意する」ブロック */
.rin-agree {
  margin: 10px 0 4px;
  padding: 20px;
  border: 1px solid #E6E4E0;
  background: #F7F5F2;
  text-align: center;
}
.rin-agree__label {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.85;
  text-align: left;
  cursor: pointer;
}
.rin-agree__label input { flex: 0 0 auto; margin: 0.4em 0 0; }
.rin-agree__req {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  background: #F10102;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  vertical-align: 2px;
}
.rin-agree__link { color: #F10102; text-decoration: underline; }
.rin-agree__link:hover { opacity: 0.7; }

/* プライバシーポリシー。details/summary なので開閉にJSが要らない */
.rin-privacy {
  margin-top: 28px;
  border: 1px solid #E6E4E0;
  background: #fff;
}
.rin-privacy__head {
  position: relative;
  padding: 20px 54px 20px 22px;
  font-size: 16px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}
.rin-privacy__head::-webkit-details-marker { display: none; }
.rin-privacy__head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid #F10102;
  border-bottom: 2px solid #F10102;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.rin-privacy[open] .rin-privacy__head::after { margin-top: -2px; transform: rotate(-135deg); }
.rin-privacy__body { padding: 24px 22px 26px; border-top: 1px solid #E6E4E0; }
.rin-privacy__lead,
.rin-privacy__text {
  margin: 0 0 22px;
  color: #333;
  font-size: 14px;
  line-height: 2;
}
.rin-privacy__text--tight { margin-bottom: 10px; }
.rin-privacy__text--flush { margin-bottom: 12px; }
.rin-privacy__title {
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 4px solid #F10102;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}
.rin-privacy__list {
  display: grid;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
  list-style: none;
}
.rin-privacy__list li { position: relative; padding-left: 17px; }
.rin-privacy__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: #F10102;
}
.rin-privacy__foot {
  margin: 0;
  padding: 16px 18px;
  background: #F7F5F2;
  color: #333;
  font-size: 13.5px;
  line-height: 1.95;
}

@media (max-width: 820px) {
  .rin-agree { padding: 16px 14px; }
  .rin-privacy__head { padding: 16px 44px 16px 16px; font-size: 15px; }
  .rin-privacy__body { padding: 20px 16px 22px; }
}

/* ==========================================================================
   32. SP（820px以下）の最終調整
   ========================================================================== */
@media (max-width: 820px) {
  /* セクション側で左右16pxを持たせているので、コンテナ側の10pxは外す */
  .container {
    max-width: 95%;
    padding-left: 0;
    padding-right: 0;
  }

  .rin-strength { grid-template-columns: 1fr; }

  .rin-line__title { font-size: 20px; }

  .rin-recruitbnr__item { font-size: 13px; }
  .rin-recruitbnr__btn { font-size: 13px; }

  .rin-cta__title { font-size: 21px; }
  .rin-cta__lead { text-align: left; }
  .rin-cta__card-text { font-size: 12.5px; }

  .rin-mv__sub { font-size: 13px; }

  .rin-cvbar__title { text-align: center; }

  /* 「A × B × C」を1行に収める（360px端末でも折り返さない寸法） */
  .rin-cross__row { flex-wrap: nowrap; font-size: 12px; }
  .rin-cross__tag {
    padding: 7px 6px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
    outline-offset: -4px;
    white-space: nowrap;
  }
  .rin-cross__x { padding: 0 4px; font-size: 20px; }

  /* SPはヘッダーロゴを小さめに（共通の .header__logo img と同じ詳細度で上書き） */
  .rin-header__logo img { height: 40px; }
  .rin-header__logo .rin-header__mark { width: 40px; }
  .rin-header__logo { gap: 8px; }

  .rin-svcbar__text {
    text-align: center;
    text-wrap: balance;
    word-break: auto-phrase;
  }

  .rin-recruitbnr__title { font-size: 21px; }

  .rin-cta__card-title { font-size: 18px; }

  .rin-btn { font-size: 13px; }

  /* フッターのサイトマップはSPナビと重複するため非表示 */
  .rin-footer__nav { display: none; }
}
