/* ==========================================================================
   top-custom.css — TOPページ固有スタイル補完
   （main.css + site.css では対応できない細部調整のみここに記述）
   ========================================================================== */

/* --------------------------------------------------------------------------
   お知らせ：TOPICS 横並びレイアウト
   -------------------------------------------------------------------------- */

/* 外枠：左タイトル＋右リストを横並びに固定 */
.sango-news-box {
  display: flex;
  flex-direction: row;        /* SP含め常に横並び */
  align-items: flex-start;
  gap: 0;
}

/* 左カラム：TOPICS ラベル */
.sango-news-title {
  flex: 0 0 160px;
  width: 160px;
  padding: 15px 20px 15px 0;
  border-right: 1px solid #cce0ff;
  margin-right: 30px;
}

.sango-news-title__en {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #3E85EC;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.sango-news-title__ja {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  color: #3E85EC;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   サービス案内：4バナーグリッドレイアウト
   -------------------------------------------------------------------------- */

/* グリッド外枠：2カラム */
.sango-bnr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 左右カラム：内部を縦並びに */
.sango-bnr-grid__left,
.sango-bnr-grid__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 各バナーカード */
.sango-bnr-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  min-height: 200px;
  flex: 1;                      /* 左右カラム内で均等に伸びる */
}

/* 右下の大きめカード */
.sango-bnr-card--lg {
  flex: 1.4;                    /* 他より高さを大きく */
  min-height: 260px;
}

/* 画像ホバー：ズームイン */
.sango-bnr-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.sango-bnr-card:hover::before {
  transform: scale(1.07);
}

/* 半透明カラーオーバーレイ */
.sango-bnr-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.sango-bnr-card:hover .sango-bnr-card__overlay {
  opacity: 0.75;
}

.sango-bnr-card__overlay--pink   { background: rgba(239, 109, 120, 0.55); }
.sango-bnr-card__overlay--blue   { background: rgba(62,  133, 236, 0.55); }
.sango-bnr-card__overlay--yellow { background: rgba(240, 180,  50, 0.55); }
.sango-bnr-card__overlay--green  { background: rgba(93,  187, 123, 0.55); }

/* テキスト：左下固定 */
.sango-bnr-card__text {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  color: #fff;
}

/* 英語タイトル */
.sango-bnr-card__en {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* 日本語サブタイトル */
.sango-bnr-card__ja {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   採用情報バナー：greet-area 構造準拠
   ・__inner  → greet-area（position:relative の基準、flex コンテナ）
   ・__img    → 右に absolute 配置、背面（z-index:0）
   ・__text   → 左のフロート要素として前面に配置（z-index:2）
   ・__text-inner → テキスト幅を制御する内側ラッパー
   -------------------------------------------------------------------------- */

.sango-recruit-bnr {
  padding: 80px 0;
  overflow: hidden;
}

/* ── greet-area 相当
   position:relative を基準に画像を absolute で敷く  */
.sango-recruit-bnr__inner {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 500px;
}

/* ── 右画像（greet-area::before 相当）
   absolute で右奥に敷く。テキストボックスに隠れる側  */
.sango-recruit-bnr__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  z-index: 0;
}

.sango-recruit-bnr__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── 左テキストボックス（greet-area-box 相当）
   フロー内の flex アイテム。z-index で画像より前面  */
.sango-recruit-bnr__text {
  position: relative;
  z-index: 2;
  flex: 0 0 500px;
  background: linear-gradient(150deg, #3E85EC 0%, #19A9F7 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  color: #fff;
}

/* ── 内側ラッパー（greet-area-box .inner 相当）
   テキスト幅を確保しつつ中央に余白を作る          */
.sango-recruit-bnr__text-inner {
  width: 100%;
  padding: 60px 48px;
  box-sizing: border-box;
}

/* 見出し */
.sango-recruit-bnr__heading {
  margin-bottom: 28px;
  text-align: center;
}

.sango-recruit-bnr__ja {
  display: block;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.sango-recruit-bnr__en {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.14em;
  margin-top: 6px;
}

/* キャッチコピー */
.sango-recruit-bnr__catch {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: center;
}

/* 本文 */
.sango-recruit-bnr__desc {
  font-size: 1.4rem;
  line-height: 2.0;
  opacity: 0.92;
  margin-bottom: 36px;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ── ボタン（btn00 相当）
   横長の角丸アウトラインボタン                    */
.sango-recruit-bnr__btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 14px 48px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.25s ease;
}

.sango-recruit-bnr__btn::after {
  content: ' ›';
  font-size: 1.8rem;
  line-height: 1;
}

.sango-recruit-bnr__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   右カラム：お知らせ一覧 */
.sango-news-right {
  flex: 1;
  min-width: 0;
}

/* CMS出力の各記事アイテムに上下ボーダーとホバー効果 */
.sango-news-right .news_list li,
.sango-news-right .news-list__item,
.sango-news-right li {
  border-top: 1px solid #e8f0fb;
  list-style: none;
}

.sango-news-right .news_list li:last-child,
.sango-news-right .news-list__item:last-child,
.sango-news-right li:last-child {
  border-bottom: 1px solid #e8f0fb;
}

.sango-news-right .news_list li a,
.sango-news-right .news-list__item a,
.sango-news-right li a {
  display: block;
  padding: 14px 10px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s ease;
}

.sango-news-right .news_list li a:hover,
.sango-news-right .news-list__item a:hover,
.sango-news-right li a:hover {
  background: #EBF3FD;
  color: #3E85EC;
}

/* 日付とタイトルを縦並びに */
.sango-news-right .news_list .date,
.sango-news-right .date,
.sango-news-right .news-list__date {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  color: #888;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.sango-news-right .news_list .title,
.sango-news-right .news-list__title {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5;
}
