/* ================================================
   丸新石油株式会社 — style.css  v5
   ================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red:       #c8121e;
  --red-dark:  #9e0e17;
  --red-pale:  #fff5f5;
  --text:      #222;
  --text-mid:  #555;
  --text-sub:  #888;
  --border:    #e4e4e4;
  --bg:        #f7f7f7;
  --white:     #fff;
  --black:     #1a1a1a;
  --blue-pale: #f0f5ff;
  --blue-bdr:  #c0d4f0;

  --maxw: 1280px;     /* 全体の最大幅 */
  --maxw-text: 880px; /* 文章中心ページの最大幅 */
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Meiryo','メイリオ',sans-serif;
  color: var(--text); background: var(--bg);
  font-size: 15px; line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ================================================
   HEADER
   ================================================ */
.site-header {
  background: var(--red); height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; position: sticky; top: 0; z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo:hover { opacity: .88; }
.header-logo-img {
  height: 36px;
  width: auto;
  display: block;
  max-width: 260px;
  border-radius: 3px;
  padding: 2px 6px;
  background: var(--white);
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 7px; background: none; border: none; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,.88); padding: 8px 16px; border-radius: 3px; transition: background .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.2); color: var(--white); }

/* ================================================
   PAGE HEADER / BREADCRUMB
   ================================================ */
.page-header { background: var(--red); padding: 32px 40px; color: var(--white); }
.page-header-inner { max-width: var(--maxw); margin: 0 auto; }
.page-header h1 { font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.page-header p  { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; }
.breadcrumb {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 11px 40px; font-size: 12px; color: var(--text-sub);
}
.breadcrumb-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; }

/* ================================================
   LAYOUT — フル幅対応
   ================================================ */
.main { max-width: var(--maxw); margin: 0 auto; padding: 40px 40px; }
.main-text { max-width: var(--maxw-text); margin: 0 auto; padding: 40px 40px; }

.sec { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 32px; margin-bottom: 24px; }
.sec-title { font-size: 16px; font-weight: 700; color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 9px; margin-bottom: 22px; letter-spacing: .04em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sub-title { font-size: 14px; font-weight: 700; color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 7px; margin-bottom: 16px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table td { padding: 12px 6px; font-size: 13px; vertical-align: top; }
.info-table td:first-child { color: var(--text-sub); width: 90px; font-size: 12px; }
.history-item { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.history-year { color: var(--red); font-weight: 700; min-width: 96px; flex-shrink: 0; }
.history-desc { color: #444; line-height: 1.75; }

/* ================================================
   HOME HERO — フル幅
   ================================================ */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../images/hq_building.png');
  background-size: cover; background-position: center 15%;
  filter: brightness(.34) saturate(.65); transform: scale(1.03);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(150,10,18,.92) 0%, rgba(185,18,28,.78) 35%, rgba(200,18,30,.42) 62%, rgba(10,5,5,.06) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 40px;
}
.hero-content { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  font-size: 11px; letter-spacing: .12em; padding: 5px 16px; border-radius: 2px;
  margin-bottom: 24px; color: rgba(255,255,255,.92); width: fit-content;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: rgba(255,255,255,.75); border-radius: 50%; }
.hero h1 { font-size: clamp(28px,4vw,46px); font-weight: 700; color: var(--white); line-height: 1.4; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.88); line-height: 2; margin-bottom: 30px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.92); font-size: 12px; padding: 6px 18px; border-radius: 20px; }

/* HOME 店舗テーブル */
.stations-section { background: var(--white); border-top: 1px solid var(--border); padding: 36px 40px; }
.stations-section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--red); text-transform: uppercase; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.stations-table { width: 100%; border-collapse: collapse; }
.stations-table tr { border-bottom: 1px solid var(--border); }
.stations-table tr:last-child { border-bottom: none; }
.stations-table td { padding: 15px 12px; font-size: 13px; vertical-align: middle; }
.st-name { font-weight: 700; color: var(--black); white-space: nowrap; }
.st-addr { color: var(--text-mid); }
.st-tel  { font-weight: 700; white-space: nowrap; }
.st-tel a { color: var(--red); }
.st-tel a:hover { text-decoration: underline; }
.st-act  { text-align: right; white-space: nowrap; }
.st-badge { display: inline-block; background: var(--red-pale); color: var(--red); font-size: 10px; padding: 1px 7px; border-radius: 2px; border: 1px solid #f0c8c8; margin-right: 5px; vertical-align: middle; }
.link-btn { display: inline-block; background: var(--red); color: var(--white); font-size: 11px; font-weight: 600; padding: 6px 18px; border-radius: 3px; transition: background .15s; white-space: nowrap; }
.link-btn:hover { background: var(--red-dark); }
.link-btn-outline { display: inline-block; border: 1px solid var(--red); color: var(--red); font-size: 11px; font-weight: 600; padding: 6px 16px; border-radius: 3px; transition: background .15s, color .15s; white-space: nowrap; }
.link-btn-outline:hover { background: var(--red); color: var(--white); }

/* ================================================
   OFFICES — シンプルなカード形式
   ================================================ */
.offices-intro { font-size: 14px; color: var(--text-mid); line-height: 2; margin-bottom: 28px; }

/* 本社カード：シンプルな横長 */
.hq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 320px 1fr;
}
.hq-card-img {
  background: #c4d0dc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hq-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.hq-card-body { padding: 28px 36px; display: flex; flex-direction: column; justify-content: center; }
.hq-card-eyebrow { font-size: 11px; letter-spacing: .14em; color: var(--text-sub); text-transform: uppercase; margin-bottom: 8px; }
.hq-card-name { font-size: 22px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.hq-card-row { font-size: 13px; color: var(--text-mid); line-height: 2; }
.hq-card-tel { margin-top: 12px; font-size: 22px; font-weight: 700; }
.hq-card-tel a { color: var(--red); }
.hq-card-tel a:hover { text-decoration: underline; }

/* 店舗カードグリッド：シンプル & 標準的 */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none; color: inherit;
}
.office-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  border-color: #ddd;
}
.office-card-img {
  position: relative;
  padding-bottom: 62%;
  overflow: hidden;
  background: #d8dee4;
}
.office-card-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.office-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--white); color: var(--red);
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.office-card-type-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.6); color: var(--white);
  font-size: 10px; padding: 3px 9px; border-radius: 3px;
}
.office-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.office-card-name { font-size: 16px; font-weight: 700; color: var(--black); }
.office-card-addr { font-size: 12px; color: var(--text-mid); line-height: 1.7; }
.office-card-hours { font-size: 12px; color: var(--text-mid); display: flex; align-items: center; gap: 5px; }
.office-card-tel { font-size: 15px; font-weight: 700; margin-top: auto; padding-top: 6px; }
.office-card-tel a { color: var(--red); }
.office-card-tel a:hover { text-decoration: underline; }
.office-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px; font-weight: 700; color: var(--red);
  display: flex; align-items: center; justify-content: space-between;
}
.office-card-footer::after { content: '›'; font-size: 16px; }

/* ================================================
   OFFICE DETAIL
   ================================================ */
.office-detail-hero {
  position: relative; height: 320px; border-radius: 8px;
  overflow: hidden; margin-bottom: 28px;
}
.office-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.office-detail-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 55%);
}
.office-detail-hero-title {
  position: absolute; bottom: 28px; left: 32px; z-index: 2;
  color: var(--white);
}
.office-detail-hero-title h2 { font-size: 28px; font-weight: 700; margin-bottom: 4px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.office-detail-hero-title p  { font-size: 12px; color: rgba(255,255,255,.8); letter-spacing: .08em; }

.office-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

.info-row { display: grid; grid-template-columns: 86px 1fr; border-bottom: 1px solid var(--border); padding: 12px 4px; font-size: 13px; }
.info-row .lbl { color: var(--text-sub); font-size: 12px; padding-top: 2px; }
.info-row .val { line-height: 1.8; }
.info-row .val a { color: var(--red); }
.info-row .val a:hover { text-decoration: underline; }

.map-box { margin-top: 20px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; position: relative; padding-bottom: 50%; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.note-box { background: var(--red-pale); border: 1px solid #f0c8c8; border-radius: 6px; padding: 14px 18px; font-size: 13px; color: var(--text-mid); line-height: 1.85; margin-top: 14px; }
.note-box strong { color: var(--red); }
.ev-note { background: var(--blue-pale); border: 1px solid var(--blue-bdr); border-radius: 6px; padding: 14px 18px; font-size: 13px; color: #2a4870; line-height: 1.85; margin-top: 12px; }
.ev-note strong { display: block; font-weight: 700; margin-bottom: 4px; }

.sidebar-sec { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 22px; margin-bottom: 16px; }
.sidebar-title { font-size: 13px; font-weight: 700; color: var(--black); border-bottom: 1px solid var(--border); padding-bottom: 9px; margin-bottom: 12px; }
.nearby-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.nearby-item:last-child { border-bottom: none; }

/* ================================================
   RECRUIT — 自然なトーンで寮を訴求
   ================================================ */

/* 採用トップ：写真 + テキストのシンプルな2カラム */
.recruit-top {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.recruit-top-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 440px;
}
.recruit-top-content {
  padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.recruit-top-eyebrow {
  font-size: 12px; letter-spacing: .12em; color: var(--red); font-weight: 700;
  margin-bottom: 16px;
}
.recruit-top h1 {
  font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.5;
  margin-bottom: 18px; color: var(--black);
}
.recruit-top-lead {
  font-size: 14px; color: var(--text-mid); line-height: 2; margin-bottom: 28px;
}
.recruit-top-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.recruit-top-tag {
  background: var(--red-pale); border: 1px solid #f0c8c8; color: var(--red);
  font-size: 12px; padding: 6px 16px; border-radius: 20px; font-weight: 600;
}
.recruit-top-img {
  position: relative;
  overflow: hidden;
  min-height: 440px;
}

.recruit-top-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ハイライト3点 */
.highlight-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 24px; }
.highlight-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 24px; text-align: center;
}
.hl-num { font-size: 32px; font-weight: 700; color: var(--red); line-height: 1.1; }
.hl-num small { font-size: 15px; }
.hl-label { font-size: 13px; color: var(--text-mid); margin-top: 8px; line-height: 1.6; }

/* 寮セクション：自然な記事風 */
.dorm-section {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; margin-bottom: 24px;
}
.dorm-section-header {
  padding: 28px 32px 0;
}
.dorm-section-header .sec-title { margin-bottom: 12px; border: none; padding: 0; }
.dorm-section-lead {
  font-size: 14px; color: var(--text-mid); line-height: 2; margin-bottom: 24px;
}
.dorm-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  height: 520px;
}

.dorm-photo {
  overflow: hidden;
  position: relative;
  height: 520px;
}

.dorm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.dorm-info-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  border-top: 1px solid var(--border);
}
.dorm-info-item {
  padding: 22px 28px;
  border-right: 1px solid var(--border);
}
.dorm-info-item:last-child { border-right: none; }
.dorm-info-label { font-size: 11px; color: var(--text-sub); letter-spacing: .08em; margin-bottom: 6px; text-transform: uppercase; }
.dorm-info-value { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.dorm-info-desc { font-size: 12px; color: var(--text-mid); line-height: 1.7; }

/* 採用データ + 福利厚生 */
.recruit-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.salary-box { background: var(--red-pale); border: 2px solid var(--red); border-radius: 6px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.salary-label  { font-size: 12px; color: var(--text-mid); margin-bottom: 3px; }
.salary-amount { font-size: 34px; font-weight: 700; color: var(--red); }
.salary-amount small { font-size: 15px; font-weight: 400; color: var(--text-sub); margin-left: 2px; }
.salary-note   { font-size: 11px; color: var(--text-sub); margin-top: 4px; }
.salary-year   { background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; padding: 7px 20px; border-radius: 3px; white-space: nowrap; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table tr { border-bottom: 1px solid var(--border); }
.data-table tr:last-child { border-bottom: none; }
.data-table td { padding: 13px 8px; font-size: 13px; vertical-align: top; }
.data-table td:first-child { font-weight: 700; color: var(--red); font-size: 12px; width: 92px; white-space: nowrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.tag { background: var(--red-pale); color: var(--red); font-size: 11px; padding: 2px 9px; border-radius: 2px; border: 1px solid #f0c8c8; }
.welfare-stack { display: flex; flex-direction: column; gap: 10px; }
.welfare-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 0 4px 4px 0; padding: 16px; }
.welfare-title { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 5px; }
.welfare-desc  { font-size: 12px; color: var(--text-mid); line-height: 1.75; }

/* 職場写真 */
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.photo-item { border-radius: 6px; overflow: hidden; position: relative; aspect-ratio: 4/3; background: #c8d0da; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,rgba(0,0,0,.62)); color: var(--white); font-size: 12px; font-weight: 600; padding: 24px 12px 10px; letter-spacing: .04em; }

/* 仕事内容 */
.work-text { font-size: 14px; color: var(--text-mid); line-height: 2; margin-bottom: 16px; }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.job-card { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.job-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.job-title::before { content: ''; display: block; width: 3px; height: 16px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.job-desc { font-size: 13px; color: var(--text-mid); line-height: 1.9; }
.training-box { background: var(--blue-pale); border: 1px solid var(--blue-bdr); border-radius: 6px; padding: 18px 20px; font-size: 13px; color: #2a4870; line-height: 1.9; }
.training-box strong { display: block; font-weight: 700; margin-bottom: 6px; }

/* 先輩の声 */
.voice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.voice-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 24px 22px; display: flex; flex-direction: column; height: 100%; }
.voice-person { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.voice-avatar { width: 42px; height: 42px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.voice-info { flex: 1; min-width: 0; padding-top: 2px; }
.voice-name { font-size: 13px; font-weight: 700; color: var(--black); line-height: 1.5; }
.voice-role { font-size: 11px; color: var(--text-sub); margin-top: 4px; }
.voice-quote { font-size: 14px; font-weight: 700; color: var(--red); line-height: 1.6; margin-bottom: 12px; }
.voice-body  { font-size: 13px; color: var(--text-mid); line-height: 1.9; flex: 1; }

/* こんな方 */
.point-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.point-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-mid); background: var(--bg); border: 1px solid var(--border); padding: 12px 16px; border-radius: 4px; }
.point-item::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* CTA */
.cta-box { background: var(--white); border: 2px solid var(--red); border-radius: 8px; padding: 40px 32px; text-align: center; }
.cta-box h2 { font-size: 19px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.cta-lead   { font-size: 13px; color: var(--text-mid); margin-bottom: 26px; }
.apply-btn { display: inline-block; background: var(--red); color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: .04em; padding: 16px 56px; border-radius: 4px; margin-bottom: 24px; transition: background .15s, transform .1s; }
.apply-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.cta-divider { font-size: 12px; color: #ccc; margin-bottom: 18px; }
.cta-tel-label { font-size: 11px; color: var(--text-sub); margin-bottom: 4px; }
.cta-tel a { font-size: 26px; font-weight: 700; color: var(--red); }
.cta-tel a:hover { text-decoration: underline; }
.cta-addr { font-size: 11px; color: var(--text-sub); margin-top: 4px; }

/* FOOTER */
footer { background: var(--black); padding: 28px 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand      { color: var(--white); font-size: 14px; font-weight: 700; }
.footer-brand span { display: block; font-size: 11px; color: #666; margin-top: 2px; font-weight: 400; }
.footer-copy       { font-size: 11px; color: #555; }

/* ================================================
   RESPONSIVE — タブレット（〜1024px）
   ================================================ */

/* ================================================
   RESPONSIVE — タブレット大（〜1100px）
   ================================================ */
@media (max-width: 1100px) {
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================
   RESPONSIVE — タブレット（〜1024px）
   ================================================ */
@media (max-width: 1024px) {
  .main, .main-text {
    padding: 28px 24px;
  }

  .office-detail-layout {
    grid-template-columns: 1fr;
  }

  .recruit-layout {
    grid-template-columns: 1fr;
  }

  .recruit-top-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .recruit-top-img {
    order: -1;
    height: 300px;
    min-height: unset;
  }

  .recruit-top-img img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .recruit-top-content {
    padding: 36px 32px;
  }

  .hq-card {
    grid-template-columns: 220px 1fr;
  }

  .hq-card-img {
    min-height: 220px;
  }

  .dorm-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dorm-info-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .dorm-info-item:last-child {
    border-bottom: none;
  }

  .point-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================
   RESPONSIVE — スマホ（〜768px）
   ================================================ */
@media (max-width: 768px) {
  .site-header {
    padding: 0 14px;
    height: 52px;
  }

  .header-logo-img {
    height: 28px;
    max-width: 180px;
    padding: 2px 5px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--red);
    flex-direction: column;
    padding: 8px 14px 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
    gap: 2px;
    z-index: 400;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 14px;
    font-size: 13px;
    border-radius: 4px;
  }

  .hero {
    min-height: 300px;
  }

  .hero-inner {
    padding: 32px 16px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.4;
  }

  .hero-desc {
    font-size: 13px;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tag {
    font-size: 11px;
    padding: 4px 12px;
  }

  .main, .main-text {
    padding: 18px 14px;
  }

  .sec {
    padding: 18px 14px;
  }

  .stations-section {
    padding: 18px 14px;
  }

  .stations-section-inner {
    padding: 0;
  }

  .page-header {
    padding: 20px 16px;
  }

  .breadcrumb {
    padding: 9px 16px;
  }

  .st-addr {
    display: none;
  }

  .stations-table td {
    padding: 11px 6px;
    font-size: 12px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .office-grid {
    grid-template-columns: 1fr;
  }

  .branch-grid {
    grid-template-columns: 1fr !important;
  }

  .hq-card {
    grid-template-columns: 1fr;
  }

  .hq-card-img {
    height: 240px;
    min-height: unset;
  }

  .hq-card-body {
    padding: 18px 18px;
  }

  .hq-card-name {
    font-size: 17px;
  }

  .hq-card-tel {
    font-size: 17px;
  }

  .map-box {
    padding-bottom: 65%;
  }

  .office-detail-layout {
    grid-template-columns: 1fr;
  }

  .recruit-top-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .recruit-top-img {
    order: -1;
    height: 240px;
    min-height: unset;
  }

  .recruit-top-img img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .recruit-top-content {
    padding: 22px 16px;
  }

  .recruit-top h1 {
    font-size: 20px;
  }

  .recruit-top-lead {
    font-size: 13px;
  }

  .recruit-top-tags {
    gap: 6px;
  }

  .recruit-top-tag {
    font-size: 11px;
    padding: 4px 10px;
  }

  .recruit-layout {
    grid-template-columns: 1fr;
  }

  .salary-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .salary-amount {
    font-size: 26px;
  }

  .data-table td {
    font-size: 12px;
    padding: 10px 6px;
  }

  .data-table td:first-child {
    width: 80px;
  }

  .dorm-section-header {
    padding: 20px 18px 0;
  }

  .dorm-photos {
    grid-template-columns: 1fr;
    height: auto;
  }

  .dorm-photo {
    height: 220px;
  }

  .dorm-info-grid {
    grid-template-columns: 1fr;
  }

  .dorm-info-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .dorm-info-item:last-child {
    border-bottom: none;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }

  .point-grid {
    grid-template-columns: 1fr;
  }

  .apply-btn {
    padding: 13px 24px;
    font-size: 14px;
    width: 100%;
    text-align: center;
    display: block;
  }

  .cta-tel a {
    font-size: 20px;
  }

  footer {
    padding: 20px 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ================================================
   RESPONSIVE — 小スマホ（〜480px）
   ================================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 18px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .salary-amount {
    font-size: 22px;
  }

  .hq-card-name {
    font-size: 15px;
  }

  .header-logo-img {
    height: 24px;
    max-width: 150px;
    padding: 2px 4px;
  }
}
