/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * やま仁運輸有限会社 site.css
 * ======================================
 *
 * .ymj-header / __inner / .ymj-logo / .ymj-gnav / .ymj-nav / .ymj-tel   - 追従ヘッダー（丸ピルナビ＋電話CTA）
 * .ymj-footer ...                                                        - 赤フッター（波＋ロゴ＋TEL/FAX＋地図）
 * .ymj-hero ...                                                          - TOP メインビュー（角丸・クロスフェード・波下端）
 * .ymj-wrap / .ymj-sec-* / .ymj-p-*                                      - コンテンツ幅・余白ヘルパ
 * .ymj-label / .ymj-sechead                                             - 英字ラベル＋中央見出し
 * .ymj-card / .ymj-card--lg / .ymj-card__body                            - 角丸24/28px・クリーム枠・暖色影の共通カード
 * .ymj-ph / __label                                                      - 写真プレースホルダ（ストライプ）
 * .ymj-grid-2/3/4 / .ymj-greet / .ymj-split(--rev)                       - グリッド・2カラム
 * .ymj-navcard ...                                                       - ページ誘導カード（円形矢印）
 * .ymj-recruit-bnr ... / .ymj-redbox                                     - 赤グラデーションバナー・CTAボックス
 * .ymj-phero ...                                                         - 下層ページヒーロー（赤グラデ＋波）
 * .ymj-crumb ...                                                         - パンくず
 * .ymj-dl(--sm) ...                                                      - 定義リスト型テーブル
 * .ymj-chip / .ymj-area-chip / .ymj-badge                                - ピル・チップ・バッジ
 * .ymj-merit-num / .ymj-merit-green / .ymj-stat-* / .ymj-iconbox         - 採用・事業内容の装飾パーツ
 * .ymj-tabs / .ymj-tab / .ymj-jobhead ...                                - 募集要項タブ
 * .ymj-qa ...                                                            - よくある質問 Q&A
 * .ymj-map(--sm) / .ymj-telcard / .ymj-notice                            - 地図・電話カード・注意ボックス
 * .ymj-textlink / .ymj-btn-white / .ymj-telpill / .ymj-circle            - リンク・ボタン類
 *
 * ======================================
 * 共通SCSSに不足していたもの（5分類）
 * ======================================
 * ・値の粒度不足：角丸24/28/30px（共通は10/20/60px）、暖色影 rgba(120,50,30,*)
 * ・構造不足：定義リスト型テーブル（左見出し背景＋右内容のgrid行）
 * ・装飾パターン不足：SVGの緩やかな波下端、赤グラデーションCTAボックス＋重なり写真
 * ・フォント：見出し Zen Maru Gothic / 本文 Noto Sans JP / 英字 Quicksand
 * ・配色：本文ブラウン #5C4A44 / #6B564F（$txt #3A2B28 とは別トーン）
 */

/* ============================================================
   Base / Typography
   ============================================================ */
h1, h2, h3, h4 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; line-height: 1.5; }
.heading__ja { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; }
.ymj-body    { color: #5C4A44; }
.ymj-body--lt{ color: #6B564F; }
.ymj-red     { color: #C00000; }
.ymj-green   { color: #5B9E4B; }
.ymj-maru    { font-family: "Zen Maru Gothic", sans-serif; }
.ymj-measure     { max-width: 840px; margin-left: auto; margin-right: auto; }
.ymj-measure--760 { max-width: 760px; margin-left: auto; margin-right: auto; }
.ymj-mw-900  { max-width: 900px;  margin-left: auto; margin-right: auto; }
.ymj-mw-960  { max-width: 960px;  margin-left: auto; margin-right: auto; }
.ymj-mw-1000 { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* ============================================================
   Layout helpers
   ============================================================ */
.ymj-wrap { max-width: 1168px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ymj-p-30 { padding: 30px; }
.ymj-p-36 { padding: 36px 32px; }
.ymj-p-44 { padding: 44px; }
.ymj-p-48 { padding: 48px; }
.ymj-cardbody { padding: 26px 28px 30px; }

.ymj-label {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: #C00000;
  margin-bottom: 8px;
}
.ymj-sechead { text-align: center; margin-bottom: 46px; }
.ymj-sechead .ymj-label { margin-bottom: 8px; }
.ymj-sechead h2 { margin: 0; }
.ymj-sechead p  { margin: 8px auto 0; color: #6B564F; font-size: 15px; }
/* TOP：英字ラベルと日本語見出しの間に波線 */
.is-home .ymj-sechead .ymj-label::after {
  content: "";
  display: block;
  width: 58px; height: 9px;
  margin: 10px auto 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='9' viewBox='0 0 58 9'%3E%3Cpath d='M1 5 Q8 0 15 5 T29 5 T43 5 T57 5' fill='none' stroke='%23C00000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ============================================================
   Header
   ============================================================ */
.ymj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFDF8;
  border-bottom: 1px solid #EFE2CC;
  box-shadow: 0 2px 14px rgba(120, 60, 40, 0.05);
}
/* TOP：ヒーローに重なる透過ヘッダー → スクロールで背景あり */
.is-home .ymj-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.is-home .ymj-header.is-scrolled {
  background: #FFFDF8;
  border-bottom-color: #EFE2CC;
  box-shadow: 0 2px 14px rgba(120, 60, 40, 0.05);
}
.is-home .ymj-header:not(.is-scrolled) .ymj-nav__link { color: #fff; }
.is-home .ymj-header:not(.is-scrolled) .ymj-nav__link:hover,
.is-home .ymj-header:not(.is-scrolled) .ymj-nav__link.is-current { color: #fff; background: rgba(255, 255, 255, 0.2); }
.is-home .ymj-logo img { transition: filter 0.3s ease; }
.is-home .ymj-header:not(.is-scrolled) .ymj-logo img { filter: brightness(0) invert(1); }
.ymj-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ymj-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.ymj-logo img { height: 40px; width: auto; display: block; }
.ymj-gnav { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.ymj-nav  { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.ymj-nav__link {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 999px;
  color: #5C4A44;
  background: transparent;
  transition: all 0.18s ease;
}
.ymj-nav__link:hover,
.ymj-nav__link.is-current { color: #C00000; background: #FBF3E4; opacity: 1; }

.ymj-tel {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  background: #C00000;
  padding: 9px 18px 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(192, 0, 0, 0.26);
  transition: all 0.2s ease;
}
.ymj-tel:hover { background: #9E0000; opacity: 1; }
.ymj-tel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}
.ymj-tel__body { display: flex; flex-direction: column; line-height: 1.1; }
.ymj-tel__label {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.16em;
}
.ymj-tel__num {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ymj-tel__label { white-space: nowrap; }
.ymj-tel--sp { margin: 0 auto; max-width: 280px; }

/* ============================================================
   Hero (TOP)
   ============================================================ */
.ymj-hero { position: relative; overflow: visible; background: #fff; padding-top: 0; }
.ymj-hero__stage {
  position: relative;
  height: 660px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
}
.ymj-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ymj-hero__slide.is-active { opacity: 1; }
/* MV：CMSスライダー（#slideshow 内）をステージ全面に敷く（内部はSwiper構造） */
#slideshow #cms-slider-1-1-area { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
#slideshow #cms-slider-1-1-area .swiper,
#slideshow #cms-slider-1-1-area .swiper-container,
#slideshow #cms-slider-1-1-area .swiper-wrapper,
#slideshow #cms-slider-1-1-area .swiper-slide { width: 100%; height: 100%; }
#slideshow #cms-slider-1-1-area .swiper-slide img,
#slideshow #cms-slider-1-1-area > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ymj-hero__slide--1 { background: linear-gradient(135deg, #C81f1f, #9E0000); }
.ymj-hero__slide--2 { background: linear-gradient(135deg, #7BAF63, #5B9E4B); }
.ymj-hero__slide--3 { background: linear-gradient(135deg, #E0A93B, #D08A2C); }
.ymj-hero__phlabel {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 16px;
}
.ymj-hero__phlabel svg { margin-bottom: 14px; }
.ymj-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 30, 26, 0.72) 0%, rgba(46, 30, 26, 0.5) 40%, rgba(46, 30, 26, 0.12) 72%, rgba(46, 30, 26, 0) 100%);
}
.ymj-hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.ymj-hero__catch {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 42px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.ymj-hero__catch-lg { font-size: 56px; display: inline-block; margin-bottom: 14px; }
.ymj-hero__catch-em { color: #FBE3B8; }
.ymj-hero__dots { display: flex; gap: 8px; margin-top: 40px; }
.ymj-hero__dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
}
.ymj-hero__dot.is-active { width: 30px; background: #fff; }
.ymj-hero__fv {
  position: absolute;
  bottom: -40px;
  width: 300px;
  height: auto;
  z-index: 6;
  pointer-events: none;
}
.ymj-hero__fv--left  { left: 24px; }
.ymj-hero__fv--right { right: 24px; }
.ymj-hero__wave {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  z-index: 4;
  margin-top: -60px;
}
/* Hero Lead */
.ymj-lead {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 2.15;
  color: #5C4A44;
}

/* ============================================================
   Cards / Photo placeholder
   ============================================================ */
.ymj-card {
  background: #fff;
  border: 1px solid #F1E7D5;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(120, 50, 30, 0.08);
  overflow: hidden;
}
/* --lg は単独でも使えるフルカード（bg/border内包） */
.ymj-card--lg {
  background: #fff;
  border: 1px solid #F1E7D5;
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(120, 50, 30, 0.08);
}
.ymj-card--soft { box-shadow: 0 10px 26px rgba(120, 50, 30, 0.07); }
.ymj-areabox {
  background: linear-gradient(120deg, #FDF8EE, #FBF3E4);
  border: 1px solid #F1E7D5;
  border-radius: 28px;
}

.ymj-ph {
  background: repeating-linear-gradient(45deg, #f1ebdd, #f1ebdd 16px, #eae2d1 16px, #eae2d1 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9c8f7c;
  gap: 8px;
  text-align: center;
}
.ymj-ph__label {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #9c8f7c;
}

.ymj-point {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #C79A94;
  margin-bottom: 6px;
}

/* 写真プレースホルダの比率・画像枠 */
.ymj-ph--16-10 { aspect-ratio: 16 / 10; }
.ymj-ph--16-7  { aspect-ratio: 16 / 7; }
.ymj-ph--4-3   { aspect-ratio: 4 / 3; }
.ymj-ph--3-4   { aspect-ratio: 3 / 4; }
/* 比率ボックスに実画像を敷く場合 */
.ymj-ph--16-10, .ymj-ph--16-7, .ymj-ph--4-3, .ymj-ph--3-4 { overflow: hidden; }
.ymj-ph--16-10 > img, .ymj-ph--16-7 > img, .ymj-ph--4-3 > img, .ymj-ph--3-4 > img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease;
}
.ymj-card:hover .ymj-ph--16-10 > img,
.ymj-navcard:hover .ymj-ph--16-7 > img { transform: scale(1.05); }
.ymj-imgframe {
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #FBF3E4;
}
/* 会社概要セクションの写真（幅を抑えて中央配置） */
.ymj-ov-photo { max-width: 640px; margin-left: auto; margin-right: auto; }
.ymj-imgframe img,
.ymj-about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* トラックギャラリー */
.ymj-gallery-lead { max-width: 1168px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; line-height: 1.9; }
.ymj-gallery-lead + .ymj-gallery-lead { margin-top: 14px; }
.ymj-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; width: 96%; margin: 0 auto; }
.ymj-gallery-item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 20px; }
.ymj-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ymj-gallery-item:hover img { transform: scale(1.06); }
.ymj-gallery-item__label { position: absolute; left: 12px; bottom: 12px; padding: 4px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.6; }
.ymj-gallery-item__label--festival { background: #C0392B; }

/* 装飾イラスト（トラック等） */
.ymj-deco-truck { position: absolute; top: -64px; right: 40px; width: 280px; height: auto; z-index: 5; pointer-events: none; }

/* ============================================================
   Grids
   ============================================================ */
.ymj-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ymj-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ymj-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ymj-greet  { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 46px; align-items: center; }
.ymj-split  { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: center; }
.ymj-split--rev { grid-template-columns: 1.1fr 1fr; }

/* ============================================================
   ABOUT (full-bleed image left)
   ============================================================ */
.ymj-about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.ymj-about__img {
  position: relative;
  z-index: 1;
  border-radius: 0 110px 40px 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(120, 50, 30, 0.12);
  height: 440px;
}
.ymj-about__body { padding: 0 40px 0 60px; max-width: 600px; }

/* ============================================================
   CONTENTS nav cards
   ============================================================ */
.ymj-navcard {
  display: block;
  text-decoration: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(120, 50, 30, 0.09);
  border: 1px solid #F1E7D5;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ymj-navcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(120, 50, 30, 0.14); opacity: 1; }
.ymj-navcard__body {
  padding: 26px 30px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ymj-navcard__title { font-size: 22px; margin: 0 0 8px; color: #3A2B28; }
.ymj-navcard__desc  { font-size: 13.5px; line-height: 1.85; color: #6B564F; margin: 0; }
.ymj-navcard__label {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #C79A94;
  margin-bottom: 6px;
  display: block;
}
.ymj-circle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #C00000;
  transition: transform 0.3s ease;
}
.ymj-navcard:hover .ymj-circle { transform: translateX(4px); }

/* ============================================================
   Links / Buttons
   ============================================================ */
.ymj-textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #C00000;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid #F0D9D9;
  padding-bottom: 4px;
  transition: gap 0.25s ease, border-color 0.25s ease;
}
.ymj-textlink:hover { gap: 14px; border-color: #C00000; opacity: 1; }

.ymj-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #C00000;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, gap 0.25s ease;
}
.ymj-btn-white:hover { transform: translateY(-2px); gap: 15px; opacity: 1; }

.ymj-telpill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #C00000;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease;
}
.ymj-telpill:hover { background: #9E0000; opacity: 1; }
.ymj-telpill__body { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.ymj-telpill__num { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 30px; color: #fff; }
.ymj-telpill__sub { font-size: 11px; color: rgba(255, 255, 255, 0.82); }

/* ============================================================
   RECRUIT banner (TOP)
   ============================================================ */
.ymj-recruit-bnr { position: relative; max-width: 1120px; margin: 0 auto; }
.ymj-recruit-bnr__box {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(120deg, #C00000 0%, #9E0000 100%);
  box-shadow: 0 22px 46px rgba(192, 0, 0, 0.24);
  padding: 52px 470px 52px 54px;
}
.ymj-recruit-bnr__circle {
  position: absolute;
  top: -40px; left: 60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.ymj-recruit-bnr__label {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
  display: block;
}
.ymj-recruit-bnr__ttl { font-size: 30px; line-height: 1.5; color: #fff; margin: 0 0 14px; }
.ymj-recruit-bnr__text { font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, 0.9); margin: 0 0 28px; max-width: 440px; }
.ymj-recruit-bnr__photo {
  position: absolute;
  top: -28px; bottom: -28px; right: 54px;
  width: 350px;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 20px 44px rgba(120, 50, 30, 0.22);
  z-index: 3;
}
.ymj-recruit-bnr__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Red CTA box (recruit closing / general) */
.ymj-redbox {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(120deg, #C00000, #9E0000);
  box-shadow: 0 22px 46px rgba(192, 0, 0, 0.24);
  padding: 52px 48px;
  text-align: center;
}
.ymj-redbox__circle {
  position: absolute;
  top: -30px; left: 40px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.ymj-redbox__ttl { font-size: 26px; color: #fff; margin: 0 0 16px; position: relative; }
.ymj-redbox__text { font-size: 15px; line-height: 2; color: rgba(255, 255, 255, 0.92); margin: 0 0 30px; position: relative; }
.ymj-redbox__apply {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px 30px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ymj-redbox__apply-label { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 14px; color: #fff; }
.ymj-redbox__apply-num { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 34px; color: #fff; text-decoration: none; letter-spacing: 0.02em; }

/* ============================================================
   CONTACT CTA (TOP bottom)
   ============================================================ */
.ymj-cta { position: relative; padding: 84px 24px 134px; overflow: hidden; }
.ymj-cta__bg {
  position: absolute;
  inset: 0;
  background-color: #cabfa9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ymj-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 30, 26, 0.6), rgba(46, 30, 26, 0.86));
}
.ymj-cta__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; }
.ymj-cta__ttl { font-size: 28px; margin: 0 0 10px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3); }
.ymj-cta__text { font-size: 15px; color: rgba(255, 255, 255, 0.94); line-height: 1.9; margin: 0 0 28px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }
.ymj-cta__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 54px; display: block; z-index: 3; }

/* ============================================================
   Subpage hero + breadcrumb
   ============================================================ */
.ymj-phero { position: relative; background: linear-gradient(120deg, #C00000, #9E0000); padding: 84px 24px 66px; overflow: hidden; }
.ymj-phero__c1 { position: absolute; top: -30px; right: 60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.ymj-phero__c2 { position: absolute; bottom: 10px; right: 220px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); }
.ymj-phero__inner { max-width: 1120px; margin: 0 auto; position: relative; }
.ymj-phero__en {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}
.ymj-phero__ttl { font-size: 34px; color: #fff; margin: 0; }
.ymj-phero__wave { display: block; width: 100%; height: 44px; position: absolute; bottom: -1px; left: 0; }

.ymj-crumb-wrap { }
.ymj-crumb { max-width: 1120px; margin: 0 auto; padding: 14px 24px 0; font-size: 13px; color: #9c8a80; }
.ymj-crumb a { color: #9c8a80; text-decoration: none; }
.ymj-crumb a:hover { color: #C00000; opacity: 1; }
.ymj-crumb .now { color: #C00000; }

/* ============================================================
   Greeting name row
   ============================================================ */
.ymj-signature { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.ymj-signature__role { font-size: 13px; color: #9c8a80; }
.ymj-signature__name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 22px; color: #3A2B28; }

/* ============================================================
   Definition-list table
   ============================================================ */
.ymj-dl { background: #fff; border: 1px solid #F1E7D5; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 30px rgba(120, 50, 30, 0.07); }
.ymj-dl__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid #F1E7D5; }
.ymj-dl__row:last-child { border-bottom: none; }
.ymj-dl__k { background: #FBF3E4; padding: 20px 26px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 15px; color: #3A2B28; }
.ymj-dl__v { padding: 20px 26px; font-size: 15px; line-height: 1.8; color: #5C4A44; }
.ymj-dl--sm .ymj-dl__row { grid-template-columns: 180px 1fr; }
.ymj-dl--sm .ymj-dl__k { padding: 18px 26px; font-size: 14px; }
.ymj-dl--sm .ymj-dl__v { padding: 18px 26px; font-size: 14px; line-height: 1.9; }

/* ============================================================
   Chips / badges
   ============================================================ */
.ymj-badge {
  display: inline-block;
  background: #FBEDE9;
  color: #C00000;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ymj-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FBF3E4;
  color: #3A2B28;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
}
.ymj-area-chip {
  background: #fff;
  border: 2px solid #F0D9D9;
  color: #C00000;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 17px;
  padding: 12px 30px;
  border-radius: 999px;
}

/* ============================================================
   Business (gyomu) parts
   ============================================================ */
.ymj-iconbox {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: #FBEDE9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ymj-stat-red {
  background: linear-gradient(140deg, #C00000, #9E0000);
  border-radius: 22px;
  padding: 26px 22px;
  color: #fff;
  box-shadow: 0 10px 22px rgba(192, 0, 0, 0.22);
}
.ymj-stat-red__num { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 44px; line-height: 1; }
.ymj-stat-red__label { font-size: 13px; margin-top: 6px; opacity: 0.9; }
.ymj-stat-beige { background: #FBF3E4; border-radius: 22px; padding: 26px 22px; }
.ymj-stat-beige__num { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 19px; color: #C00000; line-height: 1.4; }
.ymj-stat-beige__label { font-size: 13px; margin-top: 8px; color: #6B564F; }
.ymj-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ymj-stat-wide { grid-column: span 2; background: #FBF3E4; border-radius: 22px; padding: 22px; display: flex; align-items: center; gap: 14px; }
.ymj-area-note { background: #fff; border-radius: 18px; padding: 20px 26px; text-align: center; }
.ymj-areabox .ymj-sechead { position: relative; z-index: 3; }
.ymj-area-map { position: relative; max-width: 480px; margin: -176px auto 0; z-index: 1; }
.ymj-area-map img { width: 100%; height: auto; display: block; }
.ymj-area-map__labels { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; width: max-content; max-width: 92vw; }

/* ============================================================
   Recruit merits
   ============================================================ */
.ymj-merit-num { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 40px; color: #F0C9C2; line-height: 1; }
.ymj-merit-title { font-size: 18px; margin: 8px 0 10px; color: #C00000; }
.ymj-merit-green {
  background: linear-gradient(120deg, #5B9E4B, #4A8A3C);
  border-radius: 24px;
  padding: 32px 36px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 12px 28px rgba(75, 138, 60, 0.24);
}
.ymj-merit-green__num { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 44px; color: rgba(255, 255, 255, 0.55); line-height: 1; flex-shrink: 0; }
.ymj-merit-green__ttl { font-size: 20px; margin: 0 0 8px; }
.ymj-merit-green__text { font-size: 14.5px; line-height: 1.95; margin: 0; color: rgba(255, 255, 255, 0.95); }

/* 採用：5つの魅力（写真つきジグザグ構成） */
.ymj-merits { display: flex; flex-direction: column; gap: 48px; }
.ymj-merit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ymj-merit--rev .ymj-merit__media { order: 2; }
.ymj-merit__media { position: relative; }
.ymj-merit__media .ymj-ph--4-3 {
  border-radius: 24px 64px 24px 64px;
  box-shadow: 0 16px 38px rgba(120, 50, 30, 0.14);
}
.ymj-merit--rev .ymj-merit__media .ymj-ph--4-3 { border-radius: 64px 24px 64px 24px; }
.ymj-merit__badge {
  position: absolute;
  top: -18px; left: -18px;
  z-index: 3;
  width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #C00000, #9E0000);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-weight: 700; font-size: 25px;
  transform: rotate(-7deg);
  box-shadow: 0 10px 22px rgba(192, 0, 0, 0.3);
}
.ymj-merit--rev .ymj-merit__badge { left: auto; right: -18px; transform: rotate(7deg); }
.ymj-merit__copy .ymj-merit-title { font-size: 22px; margin: 0 0 12px; }

/* ============================================================
   Job requirement tabs
   ============================================================ */
.ymj-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
.ymj-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 18px;
  padding: 22px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  background: #F6EEDD;
  color: #A6836F;
  border-bottom-color: #EADBC2;
}
.ymj-tab.is-active { background: #C00000; color: #fff; border-bottom-color: #C00000; }
.ymj-jobhead { background: #C00000; padding: 20px 32px; display: flex; align-items: center; gap: 11px; }
.ymj-jobhead__badge { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.78); }
.ymj-jobhead__ttl { font-size: 19px; color: #fff; margin: 0; }
.ymj-jobnote { padding: 18px 32px; background: #FBF3E4; border-bottom: 1px solid #F1E7D5; }
.ymj-jobnote p { font-size: 14px; line-height: 1.85; color: #6B564F; margin: 0; }

/* ============================================================
   FAQ Q&A
   ============================================================ */
.ymj-qa { background: #fff; border-radius: 20px; padding: 24px 28px; box-shadow: 0 8px 22px rgba(120, 50, 30, 0.06); border: 1px solid #F1E7D5; }
.ymj-qa__q { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ymj-qa__a { display: flex; gap: 12px; align-items: flex-start; }
.ymj-qa__mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ymj-qa__mark--q { background: #C00000; color: #fff; }
.ymj-qa__mark--a { background: #FBF3E4; color: #C00000; }
.ymj-qa__qt { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 16px; color: #3A2B28; padding-top: 2px; }
.ymj-qa__at { font-size: 14.5px; line-height: 1.9; color: #5C4A44; padding-top: 3px; }

/* ============================================================
   Map / Contact
   ============================================================ */
.ymj-map {
  border-radius: 24px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 12px 30px rgba(120, 50, 30, 0.1);
  height: 380px;
}
.ymj-map--sm { height: 360px; }
.ymj-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.ymj-telcard { background: #fff; border-radius: 28px; padding: 48px; box-shadow: 0 16px 38px rgba(120, 50, 30, 0.1); border: 1px solid #F1E7D5; text-align: center; }
.ymj-telcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: #FBEDE9;
  margin-bottom: 18px;
}
.ymj-telcard__label { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.16em; color: #C79A94; margin-bottom: 6px; }
.ymj-telcard__num { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 52px; color: #C00000; text-decoration: none; letter-spacing: 0.01em; line-height: 1.1; display: block; }
.ymj-telcard__fax { margin-top: 18px; padding-top: 18px; border-top: 1px solid #F1E7D5; font-size: 15px; color: #5C4A44; }
.ymj-notice {
  background: #FBF3E4;
  border: 1px dashed #E0CDA9;
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ymj-notice svg { flex-shrink: 0; margin-top: 2px; }
.ymj-notice p { font-size: 13.5px; line-height: 1.9; color: #6B564F; margin: 0; }

/* ============================================================
   Footer
   ============================================================ */
.ymj-footer { background: #B01111; color: #FBF3E4; position: relative; font-family: "Noto Sans JP", sans-serif; }
.ymj-footer__wave { display: block; width: 100%; height: 52px; margin-top: -1px; }
.ymj-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.ymj-footer__logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 14px 20px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14); margin-bottom: 16px; }
.ymj-footer__logo img { height: 34px; width: auto; display: block; }
.ymj-footer__addr { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, 0.9); margin: 0 0 20px; }
.ymj-footer__contact { display: flex; gap: 26px; flex-wrap: wrap; }
.ymj-footer__contact-label { display: block; font-family: "Quicksand", sans-serif; font-size: 10px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.66); margin-bottom: 3px; }
.ymj-footer__contact-num { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 24px; color: #fff; }
.ymj-footer__contact-num--sub { color: rgba(255, 255, 255, 0.92); }
.ymj-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 4px; margin-top: 26px; }
.ymj-footer__nav a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}
.ymj-footer__nav a:hover { background: rgba(255, 255, 255, 0.22); opacity: 1; }
.ymj-footer__map-title { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 14px; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.ymj-footer__map { border-radius: 20px; overflow: hidden; border: 4px solid #FBF3E4; height: 230px; }
.ymj-footer__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ymj-footer__bottom { max-width: 1200px; margin: 34px auto 0; padding: 16px 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.ymj-footer__copy { margin: 0; font-family: "Quicksand", sans-serif; font-size: 12px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.72); }

/* ============================================================
   Page-top button（共通 .page-top を上書き）
   ============================================================ */
.page-top__link { background: #C00000; }

/* ============================================================
   Design accents — clip/mask・overlap・tilt（テンプレ感の払拭）
   ============================================================ */

/* --- ABOUT：背景シェイプ＋円アクセントで重なり・奥行き・傾き --- */
.ymj-about { position: relative; }
.ymj-about__media { position: relative; }
.ymj-about__shape {
  position: absolute;
  right: -30px; bottom: -30px;
  width: 60%; height: 68%;
  background: #F3D9CE;
  border-radius: 44px 96px 44px 70px;
  transform: rotate(-4deg);
  z-index: 0;
}
.ymj-about__dot {
  position: absolute;
  top: 22px; right: -26px;
  width: 88px; height: 88px;
  border-radius: 26px;
  background: linear-gradient(135deg, #C00000, #9E0000);
  box-shadow: 0 14px 28px rgba(192, 0, 0, 0.26);
  transform: rotate(8deg);
  z-index: 3;
}
.ymj-about__dot::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
}

/* --- WHY cards：番号バッジの重なり＋本文パネルのせ上げ＋角のリズム --- */
.ymj-why .ymj-card { position: relative; }
.ymj-why .ymj-card:nth-child(odd)  { border-radius: 30px 14px 30px 14px; }
.ymj-why .ymj-card:nth-child(even) { border-radius: 14px 30px 14px 30px; }
.ymj-why .ymj-card::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px;
  z-index: 4;
  min-width: 48px; height: 48px;
  padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #C00000, #9E0000);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-weight: 700; font-size: 21px; letter-spacing: 0.02em;
  border-radius: 15px;
  transform: rotate(-7deg);
  box-shadow: 0 9px 20px rgba(192, 0, 0, 0.3);
}
.ymj-why .ymj-card:nth-child(1)::before { content: "01"; }
.ymj-why .ymj-card:nth-child(2)::before { content: "02"; }
.ymj-why .ymj-card:nth-child(3)::before { content: "03"; }
.ymj-why .ymj-point { display: none; }
.ymj-why .ymj-cardbody {
  position: relative;
  z-index: 2;
  margin-top: -26px;
  background: #fff;
  border-radius: 24px 24px 0 0;
}

/* --- CONTENTS navcards：背景シェイプ＋円アクセントで重なり・奥行き --- */
.ymj-navcard-wrap { position: relative; }
.ymj-navcard-wrap .ymj-navcard { position: relative; z-index: 1; }
.ymj-navcard__shape {
  position: absolute;
  right: -18px; bottom: -18px;
  width: 56%; height: 62%;
  background: #F3D9CE;
  border-radius: 40px 72px 40px 58px;
  transform: rotate(-4deg);
  z-index: 0;
}
/* --- RECRUIT写真：わずかな傾きで動きを付与 --- */
.ymj-recruit-bnr__photo { transform: rotate(2deg); }

/* --- セクション境界：白→クリームを斜めにカット --- */
.ymj-diag-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 32px)); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .ymj-gnav { display: none; }
}
@media (max-width: 900px) {
  .ymj-hero__stage { height: 460px; }
  .ymj-hero__catch { font-size: 30px; }
  .ymj-hero__catch-lg { font-size: 40px; }
  .ymj-hero__fv { width: 180px; bottom: -26px; }
  .ymj-recruit-bnr__box { padding: 44px 30px; }
  .ymj-recruit-bnr__photo { display: none; }
  .ymj-recruit-bnr__text { max-width: 100%; }
}
@media (max-width: 896px) {
  .ymj-about { grid-template-columns: 1fr; }
  .ymj-about__img { border-radius: 0 60px 24px 0; height: 300px; }
  .ymj-about__body { padding: 34px 24px 0; max-width: 100%; }
  .ymj-about__shape { display: none; }
  .ymj-about__dot { width: 66px; height: 66px; top: 16px; right: 16px; }
  .ymj-about__dot::after { inset: 10px; }
  .ymj-greet, .ymj-split, .ymj-split--rev { grid-template-columns: 1fr; gap: 30px; }
  .ymj-merit { grid-template-columns: 1fr; gap: 22px; }
  .ymj-merit--rev .ymj-merit__media { order: 0; }
  .ymj-merit__badge { width: 54px; height: 54px; font-size: 21px; top: -14px; left: -14px; }
  .ymj-merit--rev .ymj-merit__badge { left: -14px; right: auto; transform: rotate(-7deg); }
  .ymj-grid-3 { grid-template-columns: 1fr 1fr; }
  .ymj-gallery { grid-template-columns: repeat(3, 1fr); }
  .ymj-tab { font-size: 15px; gap: 6px; padding: 18px 8px; }
  .ymj-tab svg { width: 20px; height: 20px; }
  .ymj-deco-truck { width: 180px; top: -40px; right: 16px; }
  .ymj-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .ymj-logo img { height: 30px; }
  .ymj-about__dot { display: none; }
  .ymj-navcard__shape { display: none; }
  .ymj-hero__stage { height: 400px; width: 100%; }
  .ymj-hero__catch { font-size: 24px; }
  .ymj-hero__catch-lg { font-size: 32px; }
  .ymj-hero__fv { display: none; }
  .ymj-grid-2, .ymj-grid-3, .ymj-grid-4, .ymj-statgrid { grid-template-columns: 1fr; }
  .ymj-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ymj-stat-wide { grid-column: span 1; }
  .ymj-tabs { grid-template-columns: 1fr; }
  .ymj-dl__row, .ymj-dl--sm .ymj-dl__row { grid-template-columns: 1fr; }
  .ymj-dl__k { padding-bottom: 4px; }
  .ymj-dl__v { padding-top: 4px; }
  .ymj-telcard__num { font-size: 38px; }
  .ymj-redbox, .ymj-p-44, .ymj-p-48 { padding: 30px 22px; }
  .ymj-p-36 { padding: 26px 20px; }
  .ymj-cta { padding: 60px 20px 100px; }
}
