/* =========================================================
   [2026改修] トップページ用 追加CSS
   既存CSS（main_site.css）は変更せず、このファイルを最後に読み込んで上書き・追加する
   デザインの優先順位：① 先方からの依頼（メール・依頼書）② Figma「20261109_デザイン構成確認」
   ブランドカラー：赤 #FF0000 / 青 #0091E6
   フォント：現行サイトと同じ（英字見出し・本文＝Hiragino Sans、和文見出し・ボタン＝Noto Sans JP Bold）
   前提：既存 main_site.css は html{font-size:62.5%} / body{color:#fff; font-weight:bold}
   ========================================================= */
:root {
  --rn-red: #FF0000;
  --rn-blue: #0091E6;
  --rn-cream: #FEFAF6;
  --rn-white: #fff;
  --rn-font-en: "Hiragino Sans", "ヒラギノ角ゴシック", Meiryo, sans-serif;
}

/* ---------- 見出しの太字 ----------
   Bulma のリセットで h1〜h6 は font-weight:400 になり、既存CSSにも見出しの太さ指定が無い。
   現行サイトで太く見えているのは、common_head 側で読み込んでいる Noto Sans JP が
   Black（極太）のみのため と推測（common_head は未確認）。
   どの読み込み方でも太字になるよう、明示的に指定する（Figma：Noto Sans JP Bold） */
.wf-notosansjapanese-black { font-weight: 700; }

/* ---------- メインビジュアル（スライドショー） ---------- */
/* 既存の #ytplayer と同じく「固定背景＋コンテンツが上に重なる」挙動を踏襲。
   高さは既存 .mt-top（PC 720px / SP 125%）と合わせる */
.rn-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 780px; /* .mt-top 720px＋ボタン分の余裕 */
  overflow: hidden;
  background: #000;
  z-index: -2;
}
.rn-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.rn-hero__slide.is-active { opacity: 1; }
@media screen and (max-width: 768px) {
  .rn-hero { height: calc(125vw + 60px); }
}

/* ---------- ヘッダー・フッター（依頼：黒→ブランド青） ---------- */
/* トップページのみで読み込むため、下層ページは従来のまま */
#header-area { background: var(--rn-blue); } /* Figma：半透明ではなくベタ塗り */
.site-header-link-item { background-color: var(--rn-red); } /* Figma：赤 #FF0000 */
/* ボタン順は原本どおり「アルバイトの募集」→「店舗社員の募集」（11/13 NT確認） */
/* フッターは footer モジュール側で TOP のときだけ .rn-bg-blue を付与
   ※既存フッターは id 属性に class 名が混入しており #footer-area が効かないため、クラスで切り替える */
.rn-bg-blue { background-color: var(--rn-blue) !important; }
html {
  background-color: var(--rn-blue); /* フッター下の余白も青に */
  overscroll-behavior-y: none; /* Macのスクロール時の跳ね返りで背面のスライドショーが見えるのを防ぐ */
}

/* ---------- 赤ボタン（既存の #e41837 → #FF0000） ---------- */
.to-job-post-banner,
.to-job-post-banner-small,
.all-open-posiotn-banner { background-color: var(--rn-red); }

/* ---------- スローガン（Figma：Hiragino W7 48px / Purpose 24px・行間40px） ---------- */
.rn-mantra { padding: 60px 16px 16px; text-align: center; }
.rn-mantra__slogan {
  font-family: var(--rn-font-en);
  font-weight: 800;
  color: var(--rn-blue);
  font-size: 48px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.rn-mantra__purpose { color: var(--rn-blue); font-size: 24px; line-height: 40px; font-weight: 600; letter-spacing: 1px; }

/* ---------- イントロ（Figma：ロゴ186px、本文24px・行間40px・幅800px） ---------- */
.rn-intro { padding: 16px 16px 60px; }
.rn-intro__logo { display: block; width: 186px; margin: 0 auto 16px; }
.rn-intro .rn-intro__txt {
  color: var(--rn-blue);
  font-size: 24px;
  line-height: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
}

/* ---------- 共通見出し（Figma：英字 Hiragino W7 48px 下線／和文 Noto Sans JP Bold 28px） ---------- */
.rn-section-en {
  font-family: var(--rn-font-en);
  font-weight: 800;
  color: var(--rn-blue);
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}
.rn-section-ja { color: var(--rn-blue); font-size: 40px; line-height: 1.4; letter-spacing: 1px; margin-top: 8px; } /* 11/17 先方依頼：募集情報カード内の見出し（店舗アルバイト等 40px）と同程度に */
.rn-section-en.is-white, .rn-section-ja.is-white { color: var(--rn-white); }

/* ---------- 英字タイトル画像（11/16 先方支給。旧サイトと同じく画像で表示） ----------
   画像の高さで大きさを揃える（1行タイトル 50px／スローガン2行 117px） */
.rn-section-en { text-decoration: none; line-height: 1; }
.rn-ttl-img { display: block; height: 50px; width: auto; max-width: 100%; margin: 0 auto; }
.rn-ttl-img.is-slogan { height: 117px; }
@media screen and (max-width: 768px) {
  .rn-ttl-img { height: 30px; }
  .rn-ttl-img.is-slogan { height: 70px; }
}

/* ---------- 共通ボタン（Figma：赤・角丸4px・上下12px左右40px・24px） ---------- */
.rn-btn {
  display: inline-block;
  background: var(--rn-red);
  color: var(--rn-white) !important;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 27px;
  letter-spacing: 1px;
  padding: 12px 40px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: opacity .2s;
}
.rn-btn:hover { opacity: .85; }

/* ---------- 募集情報（Figma：960×292、写真480＋青パネル480） ---------- */
.rn-open { background: var(--rn-white); padding: 60px 0 !important; }
.rn-open__list { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.rn-open__card { display: flex; min-height: 292px; } /* 高さは最低292px、中身が多いときは伸ばす（タブレット幅での文字切れ対策） */
.rn-open__card.is-reverse { flex-direction: row-reverse; }
.rn-open__img { flex: 0 0 50%; border-radius: 40px 0 0 40px; overflow: hidden; }
.rn-open__card.is-reverse .rn-open__img { border-radius: 0 40px 40px 0; }
.rn-open__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rn-btn { white-space: nowrap; } /* ボタン文字を折り返さない */
.rn-open__body {
  flex: 0 0 50%;
  background: var(--rn-blue);
  border-radius: 0 38px 38px 0;
  padding: 25px 70px;
  color: var(--rn-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.rn-open__card.is-reverse .rn-open__body { border-radius: 38px 0 0 38px; }
.rn-open__ttl { font-size: 40px; line-height: 1; color: var(--rn-white); letter-spacing: 1px; font-weight: 700; }
.rn-open__txt { font-size: 18px; line-height: 27px; letter-spacing: 1px; color: var(--rn-white); }
.rn-open__body .rn-btn { align-self: center; }
/* タブレット幅（769〜959px）：カードを画面幅に収め、文字サイズと余白を少し詰める */
@media screen and (min-width: 769px) and (max-width: 959px) {
  .rn-open__list { padding: 0 16px; }
  .rn-open__body { padding: 25px 32px; }
  .rn-open__ttl { font-size: 32px; }
  .rn-open__txt { font-size: 16px; line-height: 1.7; }
  .rn-btn { font-size: 20px; padding: 10px 28px; }
}
@media screen and (max-width: 768px) {
  .rn-open__list { padding: 0 16px; }
  .rn-open__card, .rn-open__card.is-reverse { flex-direction: column; height: auto; }
  .rn-open__img, .rn-open__card.is-reverse .rn-open__img { border-radius: 24px 24px 0 0; aspect-ratio: 16 / 9; }
  .rn-open__body, .rn-open__card.is-reverse .rn-open__body { border-radius: 0 0 24px 24px; padding: 24px; gap: 16px; }
  .rn-open__ttl { font-size: 28px; }
  .rn-open__txt { font-size: 15px; line-height: 1.8; }
  .rn-btn { font-size: 18px; padding: 10px 28px; }
}

/* ---------- 社員インタビュー ----------
   依頼（11/10）：中央揃え・「続きを読む」・高さを揃えない段差レイアウト・クリーム背景（参考スクショ）
   Figma：カード幅460px・角丸38px、写真460×290、文字18px（見出し・役職＝赤、本文＝青） */
.rn-interview { background: var(--rn-blue); padding: 60px 0 !important; }
.rn-interview__grid { max-width: 960px; margin: 0 auto; display: flex; gap: 20px; align-items: flex-start; justify-content: center; }
.rn-interview__col { flex: 0 1 460px; display: flex; flex-direction: column; gap: 20px; }
.rn-interview__col.is-offset { margin-top: 180px; } /* 段差を強めに（旧サイトの 168px に近い値） */
.rn-interview__card {
  background: var(--rn-cream);
  border-radius: 38px;
  overflow: hidden;
  padding: 0 40px 32px;
  text-align: center;
}
.rn-interview__photo {
  display: block;
  width: calc(100% + 80px);
  max-width: none;
  height: 290px;
  margin: 0 -40px 16px;
  object-fit: contain;
  object-position: center bottom;
}
.rn-interview__ttl { color: var(--rn-red); font-size: 30px; line-height: 1.5; letter-spacing: 1px; margin-bottom: 12px; font-weight: 700; text-align: center; } /* 11/16 先方決定：見出しを大きめに中央揃え。11/17 本文幅（380px）に近い幅になるよう 30px に */
.rn-interview__txt { color: var(--rn-blue); font-size: 18px; line-height: 1.6; letter-spacing: 1px; text-align: left; } /* 11/16 先方決定：本文は左揃え */
.rn-interview__role { color: var(--rn-red); font-size: 16px; line-height: 1.5; letter-spacing: 1px; margin-top: 12px; text-align: right; } /* 11/16 先方決定：役職名は右揃え */
/* 「続きを読む」：本文を5行で切り、同じページ内で展開する */
.rn-interview__txt.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}
.rn-interview__more {
  display: block; /* 本文に合わせて左寄せ */
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--rn-red);
  font-weight: 700;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
}
.rn-interview__more:hover { opacity: .8; }
@media screen and (max-width: 768px) {
  .rn-interview__grid { flex-direction: column; padding: 0 16px; }
  .rn-interview__col { flex-basis: auto; width: 100%; }
  .rn-interview__col.is-offset { margin-top: 0; }
  .rn-interview__card { padding: 0 24px 24px; }
  .rn-interview__photo { width: calc(100% + 48px); margin: 0 -24px 16px; height: 240px; }
  .rn-interview__txt { font-size: 15px; }
  .rn-interview__ttl { font-size: 24px; }
}

/* ---------- 社長メッセージ（Figma：白背景、本文 18px・行間27px、署名16px右寄せ、すべて青） ---------- */
.rn-ceo { background: var(--rn-white); padding: 60px 0 !important; }
.rn-ceo .rn-ceo__txt { color: var(--rn-blue); font-size: 18px; line-height: 27px; letter-spacing: 1px; }
.rn-ceo .rn-ceo__name { color: var(--rn-blue); font-size: 16px; line-height: 27px; letter-spacing: 1px; }
@media screen and (min-width: 769px) {
  .rn-ceo .xis-narrow-width { width: 960px; min-width: 960px; } /* Figma：本文幅960px */
}
@media screen and (max-width: 768px) {
  .rn-ceo .rn-ceo__txt { font-size: 15px; line-height: 1.8; }
}

/* ---------- 従業員への約束・フッター（footer モジュール内。Figma：見出し28px、本文18px・中央、ボタン22px） ---------- */
footer .rn-bg-blue .xis-headline-mid { font-size: 28px; }
footer .rn-bg-blue .xis-std-txt { text-align: left; font-size: 18px; line-height: 27px; } /* 11/10 NT指示で左揃え（依頼書p.9・Figmaは中央） */
footer .all-open-posiotn-banner { font-size: 22px; }
@media screen and (max-width: 768px) {
  footer .rn-bg-blue .xis-std-txt { font-size: 15px; line-height: 1.8; }
  footer .all-open-posiotn-banner { font-size: 1.6rem; }
}

/* ---------- SP用の見出しサイズ ---------- */
@media screen and (max-width: 768px) {
  .rn-mantra__slogan { font-size: 30px; }
  .rn-mantra__purpose, .rn-intro .rn-intro__txt { font-size: 15px; line-height: 1.9; }
  .rn-intro__logo { width: 120px; }
  .rn-section-en { font-size: 28px; text-decoration-thickness: 2px; }
  .rn-section-ja { font-size: 28px; }
}
