@import url(common.css);

/* ========================================
   採用ページ
======================================== */

main {
  padding-top: 120px;
}

/* ========================================
   メインビジュアル
======================================== */

.main-visual {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-grid img {
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-grid img:nth-child(1) {
  width: 25%;
}

.hero-grid img:nth-child(2) {
  width: 50%;
}

.hero-grid img:nth-child(3) {
  width: 25%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-text {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 2;
}

.catch-copy {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);

  text-align: center;
}

/* ========================================
   事業所リスト
======================================== */

.office-area {
  max-width: 1200px;
  margin: 70px auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 千葉県・東京都 */

.office-area h2 {
  display: block;
  position: relative;

  color: #eaa317;
  font-size: 32px;
  font-weight: bold;

  margin: 0 0 35px;
  padding: 0;

  line-height: 1.5;

  visibility: visible;
  opacity: 1;
}

/* 2つ目以降の都道府県 */

.office-area h2:not(:first-child) {
  margin-top: 60px;
}

/* 市区町村 */

.city-block {
  margin-left: 35px;
  margin-bottom: 35px;
}

.city-block h3 {
  position: relative;

  font-size: 24px;
  font-weight: bold;

  margin: 0 0 25px;
  padding-bottom: 10px;
}

.city-block h3::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 60%;
  height: 2px;

  background: #eaa317;
}

.city-block ul {
  margin: 0;
  padding-left: 25px;
}

.city-block li {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.office-area a {
  display: inline-block;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}

.office-area a:hover {
  color: #eaa317;
  transform: translateX(4px);
}

/* ========================================
   採用情報全体
======================================== */

.container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.business-box {
  margin-bottom: 80px;
  scroll-margin-top: 170px;
}

/* ========================================
   事業所タイトル
======================================== */

.business-title {
  display: inline-block;
  position: relative;
  z-index: 2;

  padding: 15px 90px 15px 25px;

  background: #eaa317;
  color: #fff;

  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;

  transform: translateY(15px);

  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%);
}

/* ========================================
   採用情報本体
   薄いオレンジ
======================================== */

.business-content {
  position: relative;

  background: rgba(234, 163, 23, 0.12);

  padding: 50px 55px;

  box-sizing: border-box;

  overflow: hidden;
}

/* ========================================
   右上の切り込み
======================================== */

.business-content::after {
  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 55px;
  height: 55px;

  background: #fff;

  clip-path: polygon(100% 0, 100% 100%, 0 0);

  z-index: 2;
}

/* ========================================
   左下の切り込み
======================================== */

.business-content::before {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 55px;
  height: 55px;

  background: #fff;

  clip-path: polygon(0 100%, 100% 100%, 0 0);

  z-index: 2;
}

/* ========================================
   アクセス＋MAP
   左：住所
   右：MAP
======================================== */

.access-map {
  display: grid;

  grid-template-columns: minmax(0, 1fr) 360px;

  gap: 40px;

  align-items: center;

  margin-bottom: 40px;
}

/* ========================================
   左側：アクセス・住所
======================================== */

.address {
  min-width: 0;
}

.address h3 {
  font-size: 24px;

  margin: 0 0 25px;

  color: #333;
}

.zip-code {
  font-size: 17px;

  margin: 0 0 8px;
}

.address-text {
  font-size: 20px;
  line-height: 1.8;

  margin: 0 0 15px;
}

.address > p:last-child {
  font-size: 16px;

  line-height: 1.7;

  margin: 0;
}

/* ========================================
   右側：MAP
======================================== */

.map-area {
  width: 100%;
}

.map-area iframe {
  display: block;

  width: 100%;
  height: 220px;

  border: 0;

  box-sizing: border-box;
}

/* ========================================
   募集職種
======================================== */

.business-content > h3 {
  font-size: 23px;
  font-weight: bold;

  margin: 0 0 18px;

  padding-left: 15px;

  border-left: 5px solid #eaa317;

  line-height: 1.4;
}

/* ========================================
   募集職種リスト
======================================== */

.recruit-list {
  list-style: none;

  margin: 0;
  padding: 0;

  width: 100%;
}

/* ========================================
   募集職種1行
======================================== */

.recruit-list li {
  display: grid;

  grid-template-columns: minmax(0, 1fr) 130px;

  align-items: center;

  column-gap: 30px;

  min-height: 58px;

  padding: 8px 0;

  border-bottom: 1px solid rgba(234, 163, 23, 0.45);

  box-sizing: border-box;
}

/* ========================================
   募集職種の文字
======================================== */

.recruit-list li span {
  display: block;

  font-size: 18px;
  font-weight: bold;

  line-height: 1.6;

  color: #333;

  min-width: 0;
}

/* ========================================
   詳細を見るボタン
   全行同じ位置
======================================== */

.detail-btn {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 115px;
  height: 38px;

  box-sizing: border-box;

  margin: 0;

  background: #eaa317;
  color: #fff;

  text-decoration: none;

  font-size: 13px;
  font-weight: bold;

  white-space: nowrap;

  transition: 0.3s;
}

.detail-btn:hover {
  background: #c88f00;

  transform: translateX(4px);
}

/* ========================================
   募集なし
======================================== */

.no-recruit {
  margin: 10px 0 0;

  font-size: 18px;

  line-height: 1.8;

  color: #333;
}

/* ========================================
   ナビカラー
======================================== */

.saiyou-page .global-nav-wrap {
  background: #eaa317;
}

.saiyou-page .sub-menu {
  background: #eaa317;
}

.saiyou-page .sub-menu li a {
  background: #eaa317;
  color: #333;
}

.saiyou-page .sub-menu li a:hover {
  background: #c88f00;
  color: #fff;
}

.saiyou-page .menu > li {
  border-left: 1px solid #f4c44d;
}

.saiyou-page .menu > li:last-child {
  border-right: 1px solid #f4c44d;
}

.saiyou-page .sub-menu li {
  border-left: 1px solid #f4c44d;
  border-right: 1px solid #f4c44d;
  border-bottom: 1px solid #f4c44d;
}
/* ========================================
   採用ページ：現在地表示
======================================== */

.saiyou-page .menu > li.current > a {
  background: #c88f00;
  color: #fff;
  font-weight: bold;
}
/* ========================================
   電話番号
======================================== */

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   アクセス見出し
   募集職種と同じオレンジの棒
======================================== */

.address h3 {
  position: relative;

  font-size: 22px;
  font-weight: bold;

  margin: 0 0 20px;
  padding-left: 15px;
}

/* 左側のオレンジの棒 */
.address h3::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  transform: translateY(-50%);

  width: 5px;
  height: 28px;

  background: #eaa317;
  border-radius: 3px;
}

/* ========================================
   住所文字サイズ
======================================== */

.address {
  font-size: 15px;
  line-height: 1.8;
}

.address .zip-code {
  font-size: 14px;
  margin-bottom: 8px;
}

.address .address-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.address > p:last-child {
  font-size: 14px;
}
/* ========================================
   フッター下の余白をなくす
======================================== */

html,
body {
  margin: 0;
  padding: 0;
}

footer {
  margin-bottom: 0;
}
/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 768px) {
  .address h3 {
    font-size: 18px;
    padding-left: 12px;
    margin-bottom: 15px;
  }

  .address h3::before {
    width: 4px;
    height: 23px;
  }

  .address {
    font-size: 14px;
  }

  .address .zip-code {
    font-size: 13px;
  }

  .address .address-text {
    font-size: 14px;
  }

  .address > p:last-child {
    font-size: 13px;
  }
}
/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  /* ========================================
     メインビジュアル
  ======================================== */

  .main-visual {
    height: 260px;
  }

  .catch-copy {
    font-size: 22px;

    letter-spacing: 0.08em;

    line-height: 1.6;

    padding: 0 20px;
  }

  /* ========================================
     事業所リスト
  ======================================== */

  .office-area {
    margin: 40px auto 50px;

    padding: 0 15px;
  }

  .office-area h2 {
    font-size: 22px;

    margin-bottom: 25px;

    margin-left: 0;
  }

  .office-area h2:not(:first-child) {
    margin-top: 45px;
  }

  .city-block {
    margin-left: 0;

    margin-bottom: 25px;
  }

  .city-block h3 {
    font-size: 18px;

    margin-bottom: 15px;
  }

  .city-block ul {
    padding-left: 0;
  }

  .city-block li {
    font-size: 15px;

    margin-bottom: 0;
  }

  .office-area li a {
    display: block;

    position: relative;

    padding: 12px 25px 12px 0;

    border-bottom: 1px solid #d6e5f4;

    line-height: 1.6;
  }

  .office-area li a::after {
    content: "→";

    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    color: #eaa317;

    font-size: 18px;
  }

  /* ========================================
     全体
  ======================================== */

  .container {
    margin: 40px auto;

    padding: 0 15px;
  }

  /* ========================================
     事業所タイトル
  ======================================== */

  .business-title {
    display: block;

    width: 100%;

    box-sizing: border-box;

    font-size: 17px;

    line-height: 1.5;

    padding: 14px 45px 14px 15px;

    transform: translateY(10px);

    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
  }

  /* ========================================
     本体
  ======================================== */

  .business-content {
    padding: 35px 15px 30px;

    background: rgba(234, 163, 23, 0.12);
  }

  .business-content::before,
  .business-content::after {
    width: 25px;
    height: 25px;
  }

  /* ========================================
     アクセス＋MAP
  ======================================== */

  .access-map {
    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-bottom: 30px;
  }

  /* ========================================
     アクセス
  ======================================== */

  .address {
    width: 100%;
  }

  .address h3 {
    font-size: 20px;

    margin-bottom: 18px;
  }

  .zip-code {
    font-size: 14px;
  }

  .address-text {
    font-size: 16px;

    line-height: 1.7;
  }

  .address > p:last-child {
    font-size: 14px;
  }

  /* ========================================
     MAP
  ======================================== */

  .map-area {
    width: 100%;
  }

  .map-area iframe {
    width: 100%;

    height: 200px;
  }

  /* ========================================
     募集職種
  ======================================== */

  .business-content > h3 {
    font-size: 19px;

    margin-bottom: 15px;
  }

  .recruit-list {
    width: 100%;
  }

  .recruit-list li {
    grid-template-columns: minmax(0, 1fr) 100px;

    column-gap: 10px;

    min-height: 52px;

    padding: 8px 0;
  }

  .recruit-list li span {
    font-size: 14px;

    line-height: 1.5;
  }

  /* ========================================
     詳細ボタン
  ======================================== */

  .detail-btn {
    width: 90px;

    height: 34px;

    font-size: 12px;
  }

  /* ========================================
     募集なし
  ======================================== */

  .no-recruit {
    font-size: 15px;
  }
}
