@charset "UTF-8";
/*
 * ======================================
 * 頼電 / Raiden — サイト固有CSS（追加クラス一覧）
 * ======================================
 * 共通main.cssで再現できないデザイン差分のみをここに定義する。
 *
 * .rd-header / .rd-nav / .rd-logo …  ヘッダー（sticky+blur・単一行ナビ・習字ロゴ）
 * .rd-footer …                       木目背景フッター
 * .rd-eyebrow / .rd-sec-title …      英字ラベル＋日本語見出し（構造不足を補完）
 * .rd-btn / .rd-textlink …           角丸2pxの茶ボタン・下線テキストリンク
 * .rd-hero …                         下層ページ／採用ヒーロー（紺+写真+グラデ）
 * .rd-stat-card / .rd-service-card / .rd-num-card … カード各種
 * .rd-band / .rd-woodbg / .rd-cta …  帯・木目背景セクション
 * .rd-menu-card …                    トップの各ページ導線カード（枠+ティック+ラベル）
 * .rd-two / .rd-feature …            2カラム・特徴交互レイアウト
 * .rd-dl …                           定義リスト（会社概要／募集要項）
 * .rd-form / .rd-input …             フォーム
 * .rd-blog-grid / .rd-post / .rd-side … ブログ一覧・詳細
 * .rd-works / .rd-lightbox …         施工実績ギャラリー＋ライトボックス
 * .rd-ph …                           画像プレースホルダ
 *
 * ======================================
 * 共通SCSSに不足していたもの（5分類）
 * ======================================
 * 構造不足：英字小ラベル＋日本語大見出し（eyebrow+title）の組み合わせ見出し
 * 装飾パターン不足：メニューカードの枠線+ティック装飾、木目背景+overlay帯
 * 値の粒度不足：ボタン角丸2px・フォーム系の淡色ボーダー等、参考デザイン固有値
 */

:root {
  --rd-navy: #191E43;
  --rd-brown: #814A2C;
  --rd-gold: #E4B87A;
  --rd-cream: #FAF5EF;
  --rd-cream-border: #ece3d7;
  --rd-cream2: #f7efe4;
  --rd-line: #f0e8dd;
  --rd-form-border: #d9cdbc;
  --rd-input-bg: #fdfbf8;
  --rd-gray: #5b5f76;
  --rd-gray2: #454963;
  --rd-muted: #9a8f7e;
}

/* ============ 共通見出し（eyebrow + title） ============ */
.rd-eyebrow {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--rd-brown);
  line-height: 1.2;
}
.rd-eyebrow--gold { color: var(--rd-gold); }
.rd-eyebrow--wide { letter-spacing: 0.4em; }

.rd-sec-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  color: var(--rd-navy);
  letter-spacing: 0.04em;
  line-height: 1.5;
  font-size: clamp(2.4rem, 3.4vw, 3.6rem);
  margin-top: 1.0rem;
}
.rd-sec-title--sm { font-size: clamp(2.2rem, 3vw, 3.2rem); }
.rd-sec-title--white { color: #fff; }
.rd-lead {
  color: var(--rd-gray2);
  font-size: 1.55rem;
  line-height: 2.1;
}
.rd-lead + .rd-lead { margin-top: 1.8rem; }
.rd-note {
  font-size: 1.25rem;
  color: var(--rd-muted);
  line-height: 1.8;
}
.rd-lead--light { color: #c4c9de; }

/* sticky ヘッダー分アンカー位置を補正 */
html { scroll-padding-top: 90px; }

/* ============ 汎用ボタン・リンク ============ */
.rd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rd-brown);
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 16px 36px;
  border-radius: 2px;
  border: none;
  text-decoration: none;
  transition: opacity .3s ease, background .3s ease;
}
.rd-btn:hover { color: #fff; opacity: .9; }
.rd-btn--navy { background: var(--rd-navy); }
.rd-btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
}
.rd-btn--outline:hover { background: rgba(255,255,255,0.12); color: #fff; opacity: 1; }
.rd-btn--sm { padding: 13px 30px; font-size: 1.4rem; }

.rd-textlink {
  display: inline-block;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--rd-navy);
  border-bottom: 2px solid var(--rd-brown);
  padding-bottom: 3px;
  text-decoration: none;
}
.rd-textlink:hover { color: var(--rd-brown); }

/* セクション見出し行（左：eyebrow+title / 右：リンク） */
.rd-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* 画像プレースホルダ */
.rd-ph {
  border-radius: 4px;
  overflow: hidden;
  background: #f0e8dd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b6a892;
  font-size: 1.3rem;
  text-align: center;
}
.rd-ph img { width: 100%; height: 100%; object-fit: cover; }
.rd-ph--4-5 { aspect-ratio: 4/5; max-width: 420px; width: 100%; }
.rd-ph--4-3 { aspect-ratio: 4/3; }
.rd-ph--16-9 { aspect-ratio: 16/9; }

/* prose幅ラッパ */
.rd-prose { max-width: 820px; margin: 0 auto; }

/* ============ ヘッダー ============ */
.rd-header.header-bar {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rd-cream-border);
  box-shadow: none;
}
.rd-header__inner {
  max-width: 1240px;
  padding: 0 24px;
  height: 74px;
  gap: 20px;
}
.rd-logo { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; text-decoration: none; }
.rd-logo__jp {
  font-family: "Yuji Syuku", serif;
  font-size: 3rem;
  color: var(--rd-navy);
  letter-spacing: 2px;
  line-height: 1;
}
.rd-logo__en {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--rd-brown);
}

.rd-nav { gap: 30px; margin-right: 0; }
.rd-nav__link {
  font-size: 1.4rem;
  font-weight: 500;
  color: #22243F;
  text-decoration: none;
  transition: color .3s ease;
  white-space: nowrap;
}
.rd-nav__link:hover { color: var(--rd-navy); opacity: 1; }
.rd-nav__link.is-active {
  color: var(--rd-navy);
  border-bottom: 2px solid var(--rd-brown);
  padding-bottom: 2px;
}

.rd-header__right { gap: 20px; }
.rd-nav-tel {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  border-left: 1px solid #e6dccd;
  padding-left: 22px;
  text-decoration: none;
}
.rd-nav-tel__label { font-family: "Josefin Sans", sans-serif; font-size: 1rem; letter-spacing: 2px; color: #A9713F; }
.rd-nav-tel__num { font-family: "Josefin Sans", sans-serif; font-size: 2rem; font-weight: 700; color: var(--rd-navy); }
.rd-btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--rd-brown);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity .3s ease;
}
.rd-btn-contact:hover { color: #fff; opacity: .92; }

/* SPドロワー（共通sp-navを利用しつつ下部CTAを差し替え） */
.sp-nav__link::after { content: none; }
.sp-nav__bottom { display: flex; flex-direction: column; gap: 12px; }
.rd-drawer-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  padding: 14px;
  border-radius: 2px;
  font-family: "Josefin Sans", sans-serif;
  text-decoration: none;
}
.rd-drawer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--rd-brown);
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 14px;
  border-radius: 2px;
  text-decoration: none;
}
.rd-drawer-tel i, .rd-drawer-contact i { font-size: 0.85em; }
.rd-drawer-tel:hover, .rd-drawer-contact:hover { color: #fff; opacity: .92; }

/* SPドロワー：英字ナビを大きめに */
.sp-nav__en { font-size: 1.2rem; opacity: 0.7; letter-spacing: 0.14em; }

/* ============ HERO（トップ：CMSスライダー差替枠＋キャッチコピー） ============ */
.rd-hero-scrim {
  max-width: 960px;
  padding: clamp(48px,8vw,96px) clamp(40px,9vw,130px);
  background: radial-gradient(ellipse at center,
    rgba(18,21,45,0.5) 0%,
    rgba(18,21,45,0.36) 32%,
    rgba(18,21,45,0.18) 52%,
    rgba(18,21,45,0.06) 68%,
    rgba(18,21,45,0) 82%);
}
.rd-hero-h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(3rem,5vw,6rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 2px;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}
.rd-hero-sub {
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 26px;
  font-size: clamp(1.5rem,1.9vw,2rem);
  line-height: 2.1;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.5);
}
/* SP：キャッチコピーを少し小さくし、両サイドに余白を確保 */
@media (max-width: 639px) {
  .rd-hero-scrim { padding: clamp(28px,7vw,44px) 20px; }
  .rd-hero-h1 { font-size: clamp(1.9rem,6vw,2.4rem); letter-spacing: 1px; line-height: 1.4; }
  .rd-hero-sub { font-size: 1.3rem; margin-top: 16px; line-height: 1.9; }
}
.rd-hero-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 11px;
  z-index: 3;
}
.rd-hero-dot {
  width: 10px;
  height: 6px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.45);
  transition: all .4s ease;
  padding: 0;
}
.rd-hero-dot.is-active { width: 30px; background: var(--rd-gold); }
/* トップHERO：CMSスライダー差替枠（生成時は静止画1枚／JS初期化なし） */
.rd-hero-mv {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* #slideshow = CMSスライダーの外枠。高さを明示（CMS側は height:100% で追従） */
#slideshow {
  position: relative;
  width: 100%;
  height: min(88vh, 760px);
  min-height: 520px;
  overflow: hidden;
}
@media (max-width: 767px) {
  #slideshow { height: 120vw; min-height: 420px; }
}
/* CMS差替後に生成される Swiper 本体も外枠に追従 */
#slideshow .swiper,
#slideshow .swiper-wrapper { width: 100%; height: 100%; }
/* スライド1枚（静止画・CMS共通） */
#slideshow .swiper-slide { width: 100%; height: 100%; overflow: hidden; }
#slideshow .main_slider__inner { width: 100%; height: 100%; }
#slideshow .swiper-slide img,
#slideshow .main_slider__inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* キャッチコピー（スライドの上に常時重ねて表示） */
.rd-hero-mv__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  pointer-events: none;
}

/* PC時のみ改行する <br>（タブレット・SPでは改行しない） */
.rd-br-pc { display: inline; }
@media (max-width: 896px) {
  .rd-br-pc { display: none; }
}
/* SP時のみ改行する <br>（PC・タブレットでは改行しない） */
.rd-br-sp { display: none; }
@media (max-width: 639px) {
  .rd-br-sp { display: inline; }
}

/* ============ 下層ページ／採用ヒーロー ============ */
.rd-hero { background: var(--rd-navy); }
.rd-hero .rd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
}
.rd-hero .rd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,24,58,0.7), rgba(20,24,58,0.4));
  z-index: 1;
}
.rd-hero__content {
  position: relative;
  z-index: 2;
  height: auto;
  padding: clamp(52px,7vw,88px) 24px;
  color: #fff;
}
.rd-hero__title {
  font-size: clamp(2.8rem,4.4vw,4.6rem);
  font-weight: 900;
  color: #fff;
  margin-top: 1rem;
  line-height: 1.4;
}
.rd-hero__crumb {
  margin-top: 16px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #c8cde0;
}
.rd-hero__crumb a { color: #c8cde0; }
.rd-hero__crumb a:hover { color: #fff; }
/* 採用の大きめヒーロー */
.rd-hero--lg { display: flex; align-items: center; min-height: min(70vh, 560px); }
.rd-hero--lg .rd-hero__bg { opacity: 0.55; }
.rd-hero--lg .rd-hero__overlay { background: linear-gradient(90deg, rgba(20,24,58,0.7), rgba(20,24,58,0.35)); }
.rd-hero--lg .rd-hero__content { width: 100%; padding: clamp(56px,8vw,96px) 24px; }
.rd-hero--lg .rd-hero__title { font-size: clamp(3rem,5vw,5.6rem); margin-top: 1.4rem; }
.rd-hero__desc { margin-top: 22px; max-width: 620px; color: #dfe2ee; font-size: clamp(1.4rem,1.7vw,1.7rem); line-height: 2; }

/* ============ STRENGTH（数字カード） ============ */
.rd-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.rd-stat-card {
  background: #fff;
  border: 1px solid var(--rd-cream-border);
  border-radius: 4px;
  padding: 38px 30px;
  text-align: center;
}
.rd-stat-card__num {
  font-family: "Josefin Sans", sans-serif;
  font-size: 5.2rem;
  font-weight: 700;
  color: var(--rd-brown);
  line-height: 1;
}
.rd-stat-card__num small { font-size: 2.2rem; }
.rd-stat-card__title { margin-top: 16px; font-weight: 700; color: var(--rd-navy); font-size: 1.6rem; }
.rd-stat-card__text { margin-top: 8px; font-size: 1.35rem; color: #6b6f86; line-height: 1.85; }

/* ============ SERVICE プレビューカード ============ */
.rd-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 700px) {
  .rd-card-grid { grid-template-columns: 1fr; }
}
.rd-service-card {
  border: 1px solid var(--rd-cream-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.rd-service-card__img { aspect-ratio: 16/10; background-position: center; background-size: cover; background-repeat: no-repeat; }
.rd-service-card__img--01 { background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-1.png'); }
.rd-service-card__img--02 { background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-2.png'); }
/* 03・04 は画像未支給のため連番命名（service-3/4.png）を仮指定＋背景色フォールバック */
.rd-service-card__img--03 { background-color: #e9ddcc; background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-3.png'); }
.rd-service-card__img--04 { background-color: #e9ddcc; background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-4.png'); }
.rd-service-card__body { padding: 28px 26px; }
.rd-service-card__no { font-family: "Josefin Sans", sans-serif; font-size: 1.2rem; letter-spacing: 2px; color: #A9713F; }
.rd-service-card__title { font-size: 2rem; font-weight: 900; color: var(--rd-navy); margin-top: 6px; line-height: 1.5; }
.rd-service-card__text { margin-top: 12px; font-size: 1.4rem; color: var(--rd-gray); line-height: 1.9; }

/* ============ RECRUIT 帯（写真+紺グラデ） ============ */
.rd-band { position: relative; background: var(--rd-navy); color: #fff; overflow: hidden; }
.rd-band__bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/recruit-bg.png'); }
.rd-band__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,58,0.9), rgba(20,24,58,0.62)); }
.rd-band__inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: clamp(60px,9vw,110px) 24px; }
.rd-band__title { color: #fff; font-weight: 600; font-size: clamp(2.6rem,4.4vw,4.6rem); margin-top: 1.4rem; line-height: 1.45; letter-spacing: 0.04em; }
.rd-band__text { margin-top: 22px; max-width: 640px; color: #dfe2ee; font-size: clamp(1.4rem,1.7vw,1.7rem); line-height: 2; }
.rd-band__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ============ NEWS（お知らせ） ============ */
.rd-news { max-width: 900px; margin: 0 auto; text-align: center; }
.rd-news__list { margin-top: 34px; border-top: 1px solid #e3d8c8; text-align: left; }
.rd-news__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid #e3d8c8;
  text-decoration: none;
}
.rd-news__row:hover { background: rgba(129,74,44,0.04); }
.rd-news__date { font-family: "Josefin Sans", sans-serif; font-size: 1.3rem; color: #8a8196; letter-spacing: 1px; }
.rd-cat {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: var(--rd-brown);
  padding: 2px 10px;
  border-radius: 2px;
}
.rd-news__title { flex: 1; min-width: 200px; font-size: 1.45rem; color: #22243F; font-weight: 500; }

/* ============ MENU（各ページ導線カード） ============ */
.rd-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.rd-menu-card { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; text-decoration: none; }
.rd-menu-card__img { position: absolute; inset: 0; background-position: center; background-size: cover; transition: transform .7s ease; }
.rd-menu-card__dim { position: absolute; inset: 0; background: #141833; opacity: .12; transition: opacity .5s ease; }
.rd-menu-card__frame { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.85); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.rd-menu-card__tick { position: absolute; top: 0; right: 15%; width: 1px; height: 78px; background: rgba(255,255,255,0.9); opacity: 1; transition: opacity .4s ease; }
.rd-menu-card:hover .rd-menu-card__img { transform: scale(1.05); }
.rd-menu-card:hover .rd-menu-card__dim { opacity: .4; }
.rd-menu-card:hover .rd-menu-card__frame { opacity: 1; }
.rd-menu-card:hover .rd-menu-card__tick { opacity: 0; }
.rd-menu-card__label { position: absolute; right: 26px; bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rd-menu-card__en { font-family: "Josefin Sans", sans-serif; letter-spacing: 3px; font-size: 1.3rem; font-weight: 600; color: #fff; padding-left: 6px; }
.rd-menu-card__ja { background: #fff; color: var(--rd-navy); font-family: "Noto Sans JP", sans-serif; font-weight: 600; letter-spacing: 0.06em; font-size: 1.6rem; padding: 12px 30px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* ============ 木目背景セクション + CTAカード ============ */
.rd-woodbg { position: relative; background-position: center; background-size: cover; }
.rd-woodbg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(43,29,18,0.55), rgba(43,29,18,0.5)); }
.rd-woodbg > * { position: relative; z-index: 1; }

.rd-cta__card {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--rd-cream-border);
  border-radius: 6px;
  padding: clamp(40px,6vw,64px) 30px;
  background: var(--rd-cream);
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
  text-align: center;
}
.rd-cta__desc { margin-top: 14px; color: var(--rd-gray); font-size: 1.5rem; }
.rd-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.rd-cta__tel {
  display: inline-flex;
  flex-direction: column;
  background: var(--rd-navy);
  color: #fff;
  padding: 14px 34px;
  border-radius: 2px;
  line-height: 1.2;
  text-decoration: none;
}
.rd-cta__tel-label { font-family: "Josefin Sans", sans-serif; font-size: 1.1rem; letter-spacing: 2px; color: var(--rd-gold); }
.rd-cta__tel-num { font-family: "Josefin Sans", sans-serif; font-size: 2.2rem; font-weight: 700; }
.rd-cta__mail { display: inline-flex; align-items: center; }
.rd-cta__hours { margin-top: 18px; font-size: 1.25rem; color: var(--rd-muted); }

/* ============ 2カラム / 特徴交互 ============ */
.rd-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.rd-msg__sign { margin-top: 26px; font-size: 1.4rem; color: #6b6f86; }
.rd-msg__sign strong { font-size: 2rem; font-weight: 900; color: var(--rd-navy); margin-left: 6px; }

.rd-feature {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
}
.rd-feature + .rd-feature { margin-top: clamp(40px, 6vw, 72px); }
.rd-feature--reverse { flex-direction: row-reverse; }
.rd-feature__img { flex: 1 1 0; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background-position: center; background-size: cover; background-repeat: no-repeat; min-width: 0; }
.rd-feature__img--01 { background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-1.png'); }
.rd-feature__img--02 { background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-2.png'); }
/* 03・04 は画像未支給のため、S3の連番命名（service-3/4.png）を仮指定。
   未アップ時に真っ白にならないよう背景色をフォールバックに設定 */
.rd-feature__img--03 { background-color: #e9ddcc; background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-3.png'); }
.rd-feature__img--04 { background-color: #e9ddcc; background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28410/service-4.png'); }
.rd-feature__body { flex: 1 1 0; min-width: 0; }
.rd-feature__no { font-family: "Josefin Sans", sans-serif; font-size: 3.4rem; font-weight: 700; color: #e0d0bb; line-height: 1; }
.rd-feature__title { font-size: clamp(2rem,2.6vw,2.6rem); font-weight: 900; color: var(--rd-navy); margin-top: 8px; line-height: 1.5; }
.rd-feature__text { margin-top: 16px; color: var(--rd-gray2); font-size: 1.5rem; line-height: 2.05; }
@media (max-width: 700px) {
  .rd-feature, .rd-feature--reverse { flex-direction: column; }
  /* column時は flex:1 1 0 で高さが潰れるため、幅100%＋aspect-ratioで表示 */
  .rd-feature__img { flex: 0 0 auto; width: 100%; }
  .rd-feature__body { flex: 0 0 auto; width: 100%; }
}

/* 番号カード（採用の魅力／会社概要の特徴） */
.rd-num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.rd-num-card { background: #fff; border: 1px solid var(--rd-cream-border); border-radius: 4px; padding: 32px 28px; }
.rd-num-card__no { font-family: "Josefin Sans", sans-serif; font-size: 1.3rem; letter-spacing: 2px; color: #A9713F; }
.rd-num-card__title { font-size: 1.8rem; font-weight: 900; color: var(--rd-navy); margin-top: 8px; }
.rd-num-card__text { margin-top: 12px; font-size: 1.4rem; color: var(--rd-gray); line-height: 1.9; }

/* ============ 定義リスト（会社概要／募集要項） ============ */
.rd-dl {
  margin-top: 44px;
  background: #fff;
  border: 1px solid var(--rd-cream-border);
  border-radius: 4px;
  overflow: hidden;
}
.rd-dl__row { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rd-line); }
.rd-dl__row:last-child { border-bottom: none; }
.rd-dl dt { width: 200px; min-width: 140px; background: var(--rd-cream2); padding: 20px 26px; font-weight: 700; color: var(--rd-navy); font-size: 1.45rem; }
.rd-dl dd { flex: 1; min-width: 200px; padding: 20px 26px; color: var(--rd-gray2); font-size: 1.45rem; line-height: 1.9; }

.rd-dl--plain { margin-top: 44px; background: none; border: none; border-top: 2px solid var(--rd-navy); border-radius: 0; }
.rd-dl--plain .rd-dl__row { border-bottom: 1px solid var(--rd-cream-border); }
.rd-dl--plain dt { width: 210px; min-width: 150px; background: none; padding: 22px 22px 22px 4px; font-size: 1.5rem; }
.rd-dl--plain dd { padding: 22px 4px 22px 8px; font-size: 1.45rem; line-height: 1.95; white-space: pre-line; }

/* ============ フォーム ============ */
.rd-form { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.rd-form--card { background: #fff; padding: clamp(28px,4vw,44px); border-radius: 6px; gap: 20px; }
.rd-form__row { display: flex; flex-direction: column; gap: 8px; }
.rd-form__label { font-weight: 700; font-size: 1.4rem; color: var(--rd-navy); }
.rd-req { color: #b23b2e; font-size: 1.2rem; margin-left: 4px; }
.rd-input {
  width: 100%;
  border: 1px solid var(--rd-form-border);
  border-radius: 3px;
  padding: 14px 16px;
  font-size: 1.5rem;
  background: var(--rd-input-bg);
  color: #22243F;
}
.rd-input:focus { outline: none; border-color: var(--rd-brown); }
textarea.rd-input { resize: vertical; }
.rd-form__submit { align-self: center; margin-top: 8px; background: var(--rd-brown); color: #fff; font-weight: 700; font-size: 1.6rem; padding: 16px 60px; border: none; border-radius: 2px; cursor: pointer; }
.rd-form__submit:hover { opacity: .92; }
.rd-thanks { margin-top: 40px; background: var(--rd-cream); border: 1px solid #d9c7b3; border-radius: 6px; padding: 44px 30px; text-align: center; }
.rd-thanks__title { font-size: 2rem; font-weight: 900; color: var(--rd-navy); }
.rd-thanks__text { margin-top: 12px; color: var(--rd-gray); font-size: 1.45rem; }
.rd-thanks--dark { background: rgba(255,255,255,0.06); border-color: rgba(228,184,122,0.5); }
.rd-thanks--dark .rd-thanks__title { color: #fff; }
.rd-thanks--dark .rd-thanks__text { color: #c4c9de; }

/* ============ CMSフォーム（rs-sys）上書き ============ */
/* 送信ボタンをサイトのボタンデザインに統一し、中央配置 */
.submit-btn {
  display: block !important;
  margin: 8px auto 0 !important;
  width: auto !important;
  background: var(--rd-brown) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.6rem !important;
  padding: 16px 60px !important;
  border: none !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  transition: opacity .3s ease !important;
}
.submit-btn:hover { opacity: .92 !important; }
/* 必須バッジをサイトの色に */
.form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
  background: #b23b2e !important;
  color: #fff !important;
}

/* ============ 施工実績ギャラリー + ライトボックス ============ */
.rd-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rd-works-tile {
  border: none;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
  background: none;
  display: block;
  text-align: left;
}
/* 実機（iOS Safari 等）で <button> の flex や aspect-ratio に依存すると
   高さが潰れてサムネが消えるため、padding-top の比率テクニックで高さを確保する */
.rd-works-tile__img {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 4:3 */
  border-radius: 4px;
  overflow: hidden;
  background: #e9ddcc center/cover no-repeat;
  transition: opacity .25s ease;
}
.rd-works-tile:hover .rd-works-tile__img { opacity: .88; }
.rd-works-tile__ph { position: absolute; left: 0; bottom: 0; font-size: 1.2rem; color: #9a8a72; padding: 12px; text-align: left; }
.rd-works-tile__title {
  display: block;
  margin-top: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dotted #b9ac98;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rd-navy);
  position: relative;
  padding-left: 18px;
}
.rd-works-tile__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-60%);
  width: 9px;
  height: 9px;
  background: var(--rd-brown, #814a2c);
}
.rd-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20,20,22,0.94); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 70px 5vw 150px; }
.rd-lightbox.is-open { display: flex; }
.rd-lightbox__play { position: absolute; top: 18px; left: 20px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; opacity: .85; transition: opacity .2s; }
.rd-lightbox__play:hover { opacity: 1; }
.rd-lightbox__play.is-playing .rd-lightbox__play-icon::before { content: '❚❚'; letter-spacing: -2px; }
.rd-lightbox__play.is-playing .rd-lightbox__play-icon { font-size: 0; }
.rd-lightbox__play.is-playing .rd-lightbox__play-icon::before { font-size: 1.6rem; }
.rd-lightbox__close { position: absolute; top: 16px; right: 26px; background: none; border: none; color: #fff; font-size: 3.4rem; cursor: pointer; line-height: 1; opacity: .85; transition: opacity .2s; }
.rd-lightbox__close:hover { opacity: 1; }
.rd-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); margin-top: -40px; background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 2.6rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; transition: background .2s; z-index: 2; }
.rd-lightbox__nav:hover { background: rgba(255,255,255,0.24); }
.rd-lightbox__nav--prev { left: 18px; }
.rd-lightbox__nav--next { right: 18px; }
.rd-lightbox__stage { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rd-lightbox__img { display: none; max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.rd-lightbox__ph { width: min(80vw, 700px); aspect-ratio: 4/3; border: 2px dashed rgba(255,255,255,0.4); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #e4d9c8; font-size: 1.5rem; text-align: center; padding: 24px; }
.rd-lightbox__count { color: #cfcfcf; font-size: 1.3rem; letter-spacing: .05em; text-align: center; padding: 10px 0 6px; min-height: 1em; }
.rd-lightbox__thumbs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 12px 16px; background: rgba(0,0,0,0.35); scrollbar-width: thin; }
.rd-lightbox__thumbs::-webkit-scrollbar { height: 8px; }
.rd-lightbox__thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.rd-lightbox__thumb { flex: 0 0 auto; width: 96px; height: 66px; border: 2px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; padding: 0; background: #2a2a2c center/cover no-repeat; opacity: .55; transition: opacity .2s, border-color .2s; }
.rd-lightbox__thumb:hover { opacity: .85; }
.rd-lightbox__thumb.is-active { opacity: 1; border-color: #fff; }
@media (max-width: 600px) {
  .rd-lightbox { padding: 60px 12px 110px; }
  .rd-lightbox__thumb { width: 72px; height: 50px; }
  .rd-lightbox__nav { width: 44px; height: 44px; font-size: 2.2rem; }
}

/* ============ ブログ一覧・詳細 ============ */
.rd-blog-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(32px,4vw,56px); align-items: start; max-width: 1160px; margin: 0 auto; }
@media (max-width: 820px) { .rd-blog-grid { grid-template-columns: 1fr; } }

.rd-cat-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.rd-cat-btn { border: 1px solid #ddd0bf; background: #fff; color: #22243F; font-size: 1.3rem; font-weight: 700; padding: 9px 18px; border-radius: 2px; cursor: pointer; transition: all .3s ease; text-decoration: none; text-align: center; }
.rd-cat-btn.is-on { border-color: var(--rd-navy); background: var(--rd-navy); color: #fff; }
/* SP：カテゴリタブを2カラム・ボタンサイズ統一（大きい方に合わせる） */
@media (max-width: 639px) {
  .rd-cat-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .rd-cat-btn { padding: 13px 10px; font-size: 1.4rem; }
}

.rd-post-list { border-top: 1px solid var(--rd-cream-border); }
.rd-post { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 22px 4px; border-bottom: 1px solid var(--rd-cream-border); align-items: center; text-decoration: none; }
.rd-post:hover { background: rgba(129,74,44,0.03); }
.rd-post__thumb { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: #f0e8dd; background-position: center; background-size: cover; }
.rd-post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.rd-post__date { font-family: "Josefin Sans", sans-serif; font-size: 1.3rem; color: #8a8196; letter-spacing: 1px; }
.rd-post__title { margin-top: 9px; font-size: 1.65rem; font-weight: 700; line-height: 1.6; color: var(--rd-navy); }
.rd-post__excerpt { margin-top: 6px; font-size: 1.35rem; color: #6b6f86; line-height: 1.8; }
@media (max-width: 520px) { .rd-post { grid-template-columns: 110px 1fr; gap: 14px; } }

.rd-pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.rd-pager__item { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid #ddd0bf; color: #22243F; font-family: "Josefin Sans", sans-serif; font-weight: 600; border-radius: 2px; text-decoration: none; }
.rd-pager__item.is-current { background: var(--rd-navy); color: #fff; border-color: var(--rd-navy); }

.rd-side { display: flex; flex-direction: column; gap: 34px; }
.rd-side__head { font-family: "Josefin Sans", sans-serif; font-size: 1.4rem; letter-spacing: 2px; color: var(--rd-navy); font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--rd-brown); }
.rd-side__list { display: flex; flex-direction: column; margin-top: 0; }
.rd-side__list a { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--rd-line); font-size: 1.4rem; color: #22243F; text-decoration: none; }
.rd-side__list a:hover { color: var(--rd-brown); }
.rd-side__count { color: #a89a86; font-family: "Josefin Sans", sans-serif; }
.rd-side__recent a { display: block; padding: 12px 2px; border-bottom: 1px solid var(--rd-line); text-decoration: none; }
.rd-side__recent .d { display: block; font-family: "Josefin Sans", sans-serif; font-size: 1.2rem; color: #a89a86; }
.rd-side__recent .t { display: block; margin-top: 3px; font-size: 1.35rem; color: #22243F; line-height: 1.6; }
.rd-side__archive a { display: block; padding: 12px 2px; border-bottom: 1px solid var(--rd-line); font-size: 1.4rem; color: #22243F; font-family: "Josefin Sans", sans-serif; text-decoration: none; }

.rd-crumb-bar { background: var(--rd-cream); border-bottom: 1px solid var(--rd-cream-border); }
.rd-crumb { max-width: 1160px; margin: 0 auto; padding: 16px 24px; font-family: "Josefin Sans", sans-serif; font-size: 1.2rem; letter-spacing: 0.5px; color: #8a8196; }
.rd-crumb a { color: #8a8196; }
.rd-crumb .cur { color: var(--rd-brown); }

.rd-article__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.rd-article__title { margin-top: 16px; font-size: clamp(2.2rem,3.2vw,3.4rem); font-weight: 900; color: var(--rd-navy); line-height: 1.55; }
.rd-article__hero { margin-top: 28px; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: #f0e8dd; display: flex; align-items: center; justify-content: center; color: #b6a892; font-size: 1.3rem; }
.rd-article__body { margin-top: 36px; color: #3f4359; font-size: 1.55rem; line-height: 2.15; }
.rd-article__body p + p { margin-top: 22px; }
.rd-article__h2 { margin-top: 38px; font-size: 2rem; padding-left: 14px; border-left: 4px solid var(--rd-brown); line-height: 1.5; color: var(--rd-navy); font-weight: 700; }
.rd-article__h2 + p { margin-top: 18px; }
.rd-back-wrap { margin-top: 48px; display: flex; justify-content: center; }

/* ============ フッター（木目背景） ============ */
.rd-footer {
  position: relative;
  background-color: var(--rd-navy);
  background-position: center;
  background-size: cover;
  color: #cfd3e4;
  padding: clamp(48px,6vw,72px) 24px 30px;
}
.rd-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,24,58,0.82), rgba(20,24,58,0.72));
}
.rd-footer > * { position: relative; z-index: 1; }
.rd-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.rd-logo--footer .rd-logo__jp { color: #fff; }
.rd-logo--footer .rd-logo__en { color: var(--rd-gold); }
.rd-footer__lead { margin-top: 18px; font-size: 1.35rem; line-height: 1.9; color: #aeb3ca; }
.rd-footer__tel { display: inline-flex; flex-direction: column; margin-top: 20px; color: #fff; line-height: 1.2; text-decoration: none; }
.rd-footer__tel:hover { color: #fff; }
.rd-footer__tel-label { font-family: "Josefin Sans", sans-serif; font-size: 1rem; letter-spacing: 2px; color: var(--rd-gold); }
.rd-footer__tel-num { font-family: "Josefin Sans", sans-serif; font-size: 2.2rem; font-weight: 700; }
.rd-footer__tel-icon { margin-right: 10px; font-size: 0.8em; color: var(--rd-gold); }
.rd-footer__head { font-family: "Josefin Sans", sans-serif; font-size: 1.2rem; letter-spacing: 2px; color: var(--rd-gold); margin-bottom: 16px; }
.rd-footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 1.4rem; }
.rd-footer__links a { color: #cfd3e4; text-decoration: none; }
.rd-footer__links a:hover { color: #fff; }
/* SP：フッターのナビ（MENU）を非表示 */
@media (max-width: 639px) {
  .rd-footer__col--nav { display: none; }
}
.rd-footer__info { font-size: 1.35rem; line-height: 1.9; color: #aeb3ca; }
.rd-footer__info div { display: flex; gap: 10px; margin-bottom: 8px; }
.rd-footer__info dt { color: #fff; min-width: 64px; }
.rd-footer__contact { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-top: 20px; background: var(--rd-brown); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 2px; font-size: 1.3rem; text-decoration: none; }
.rd-footer__contact:hover { color: #fff; opacity: .92; }
.rd-footer__copy { max-width: 1160px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); font-family: "Josefin Sans", sans-serif; font-size: 1.2rem; letter-spacing: 1px; color: #8f95b0; }

/* ============ コンテナ左右ガター（全幅で24px確保） ============ */
.container,
.rd-w-1160, .rd-w-1080, .rd-w-1050, .rd-w-960, .rd-w-900, .rd-w-760, .rd-w-720,
.rd-news, .rd-prose, .rd-blog-grid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 520px) {
  .container,
  .rd-w-1160, .rd-w-1080, .rd-w-1050, .rd-w-960, .rd-w-900, .rd-w-760, .rd-w-720,
  .rd-news, .rd-prose, .rd-blog-grid { padding-left: 18px; padding-right: 18px; }
}

/* ============ 汎用：max幅ラッパ ============ */
.rd-w-1160 { max-width: 1160px; margin-left: auto; margin-right: auto; }
.rd-w-1080 { max-width: 1080px; margin-left: auto; margin-right: auto; }
.rd-w-1050 { max-width: 1050px; margin-left: auto; margin-right: auto; }
.rd-w-960 { max-width: 960px; margin-left: auto; margin-right: auto; }
.rd-w-900 { max-width: 900px; margin-left: auto; margin-right: auto; }
.rd-w-760 { max-width: 760px; margin-left: auto; margin-right: auto; }
.rd-w-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
