@import url(common.css);
/* ==========================
   メイン
========================== */

main {
  padding-top: 120px;
}

.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;
  padding: 15px 90px 15px 25px;

  background: #eaa317;
  color: #fff;

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

  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.3);

  padding: 45px 60px;

  overflow: hidden;
}

/* 左下カット */
.business-content::before {
  content: "";
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: 60px;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 0 0);
}

/* 右上カット */
.business-content::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 60px;
  height: 60px;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.business-content h3 {
  position: relative;

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

  padding-left: 18px;
  margin: 35px 0 20px;

  color: #333;
}
.business-content h3::before {
  content: "";

  position: absolute;
  left: 0;
  top: 50%;

  width: 6px;
  height: 28px;

  background: #eaa317;

  transform: translateY(-50%);
}

/* ==========================
   ボタン
========================== */

.office-button {
  display: flex;
  gap: 15px;
}

.map-btn,
.detail-btn {
  display: inline-block;

  padding: 14px 28px;

  text-decoration: none;

  font-weight: bold;

  transition: 0.3s;
}

.map-btn {
  background: #4370a9;
  color: #fff;
}

.detail-btn {
  display: inline-block;

  padding: 8px 18px;

  background: #eaa317;
  color: #333;

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

  text-decoration: none;

  border-radius: 3px;

  transition: 0.3s;
}

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

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

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

.recruit-list a {
  color: #333;
  text-decoration: none;
}

.recruit-list a:hover {
  color: #eaa317;
}
/* 募集なし */

.no-recruit {
  font-size: 20px;

  font-weight: bold;

  color: #666;
}

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

.office-area {
  max-width: 1200px;

  margin: 0 auto 60px;
}

.office-area h2 {
  color: #e96d2a;

  font-size: 36px;

  margin-bottom: 30px;

  margin-left: -20px;
}

.city-block {
  margin-left: 40px;

  margin-bottom: 30px;
}

.city-block h3 {
  position: relative;

  font-size: 28px;

  margin-bottom: 25px;
}

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

  position: absolute;

  left: 0;
  bottom: -10px;

  width: 65%;

  height: 2px;

  background: #eaa317;
}

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

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

  margin-bottom: 8px;
}

.office-area a {
  color: #333;

  text-decoration: none;

  transition: 0.3s;
}

.office-area a:hover {
  color: #eaa317;

  padding-left: 8px;
}

/* 募集職種一覧 */
.recruit-list {
  margin-top: 25px;
  padding: 0;
  list-style: none;
}

/* 1行ずつ */
.recruit-list li {
  display: flex;
  align-items: center;

  padding: 16px 0;

  border-bottom: 1px solid #d9d9d9;

  font-size: 20px;
}

/* 職種名 */
.recruit-list span {
  font-size: 18px;
  font-weight: 500;
  width: 450px; /* 職種名の幅を固定 */
}

/* 詳細ボタン */
.detail-btn {
  flex-shrink: 0;
}

.detail-btn:hover {
  background: #eaa317;
  color: #fff;
}
/* アクセスとマップの書式 */
.access-map {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.address {
  flex: 1;
}
.address h3 {
  margin-bottom: 50px;
}

.map-area {
  width: 400px;
}

.map-area iframe {
  width: 100%;
  height: 250px;
  border: 0;
}
.zip-code {
  margin-bottom: 15px;
}

.address-text {
  line-height: 1.8;
}
/* ここまでアクセスとマップの書式 */

/* ==========================
   オレンジ ナビカラー
========================== */

/* ナビ背景 */
.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;
}

/* ==========================
   レスポンシブ（スマホ）
========================== */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  /* 事業所エリア見出しサイズ調整 */
  .office-area h2 {
    font-size: 22px;
  }
  /* 市区町村見出し（スマホ） */
  .city-block h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  /* ==========================
   スマホ：事業所リスト
========================== */

  .office-area li a {
    display: block;

    width: 100%;
    box-sizing: border-box;

    padding: 12px 25px 12px 0;

    font-size: 15px;
    line-height: 1.6;

    border-bottom: 1px solid #d6e5f4;

    position: relative;
  }

  /* 矢印 */
  .office-area li a::after {
    content: "→";

    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    color: #eaa317;

    font-size: 18px;
  }
  /* ==========================
   スマホ表示：事業所リスト矢印位置調整
========================== */

  .office-area a {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* 矢印部分 */
  .office-area a::after {
    position: static;
    flex-shrink: 0;
  }
  .office-area ul {
    padding-left: 0;
    margin-left: 0;
  }

  .office-area li {
    margin-left: 0;
  }
  /* 事業所リスト 左余白リセット */
  .office-area,
  .office-area ul,
  .office-area li,
  .office-area .city-block,
  .office-area .prefecture {
    margin-left: 0;
    padding-left: 0;
  }
  /* ==========================
     スマホ：アクセス・地図
  ========================== */

  .access-map {
    display: block;
    padding: 20px;
  }

  .address {
    margin-bottom: 25px;
  }

  .address h3 {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .map-area {
    width: 100%;
  }

  .map-area iframe {
    width: 100%;
    height: 250px;
  }
  /* ==========================
     スマホ：施設名見出し
  ========================== */

  .business-title {
    font-size: 18px;

    padding: 15px 45px 15px 15px;

    line-height: 1.5;

    max-width: 100%;

    box-sizing: border-box;
  }
  /* ==========================
     スマホ：内容ボックス
  ========================== */

  .business-content {
    padding: 35px 25px;
  }
  /* ==========================
     スマホ：募集職種
  ========================== */

  .recruit-list li {
    display: block;
  }
  .detail-btn {
    margin-top: 10px;
  }
  .recruit-list span {
    display: block;

    width: auto;

    font-size: 16px;

    margin-bottom: 15px;
  }
  /* ==========================
     スマホ：図形の切り込み
  ========================== */

  .business-content::before,
  .business-content::after {
    width: 35px;

    height: 35px;
  }
}
