@charset "utf-8";

/* CSS Document */
.box1 .imgbox {
  width: 300px;
  height: 400px;
  border-radius: 150px 150px 0 0;
}

.cate_wrap > .cate1 {
  padding-top: clamp(0px, 5vw, 50px);
}
.cate {
  gap: clamp(0px, 5vw, 100px);
}
.cate2, .cate4 {
  background-color: rgba(131, 151, 138, 0.10);
}
.cate2 .item-wrap, .cate4 .history-box {
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #000;
}

/* ---------- map ---------- */
.access-wrap {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.access-box {
  width: clamp(250px, 45vw, 500px);
}
.access-map {
  position: relative;
  border: 2px solid #000;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.access-map iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
.map-label {
  position: absolute;
  top: 10px;
  left: 0px;
  background-color: #000;
  color: #fff;
  padding: 7px 10px;
}
.access-info {
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.access-info i {
  font-size: 16px;
  position: relative;
  top: -4px;
}
.address {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
}
.map-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s;
}
.map-btn:hover {
  background: #444;
}
/* ---------- history ---------- */
.history-box {
  max-width: 1280px;
  position: relative;
}
.listwrap {
  position: relative;
}
.listwrap::before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 20px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #ccc, #ccc 4px, transparent 4px, transparent 8px);
}
/* 線上の丸 */
.history-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #000;
  border-radius: 50%;
}
/* 各項目（年月＋テキスト行） */
.history-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-left: 30px;
}
/* 年表示 */
.year-wrap .year {
  margin-right: 30px;
  min-width: 100px;
  text-align: center;
}
/* ---------- history ---------- */
/* ---------- main ---------- */
.recruit1 .item-wrap .item {
  padding: 10px;
}
.recruit1 .item-wrap .item {
  position: relative;
  padding-bottom: 16px; /* 線のスペース */
  border-bottom: none; /* dotted はオフに */
}
.recruit1 .item-wrap .item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: radial-gradient(circle, #000 0.5px, transparent 0.5px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}
.company1 .item-wrap .item:first-of-type, .recruit1 .item-wrap .item:first-of-type {
  padding-top: 0;
}
.recruit1 .item-wrap .item h3 {
  width: 200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  box-sizing: border-box;
  padding: 20px 30px 20px 0;
}
.recruit1 .item-wrap .item > div {
  width: calc(100% - 200px);
  padding: 15px 0;
  padding-left: 80px;
}
.main-wrap .map {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 550px;
}
.main-wrap .map iframe {
  position: absolute;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* ---------- more ---------- */
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {
  .recruit1 .item-wrap {}
  .recruit1 .item-wrap .item > div {
    padding-left: 0px;
  }
  .main-wrap .map {
    height: 500px;
  }
  .main-wrap .history .box_wrap .box {
    padding-left: 150px;
  }
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {
  .recruit1 .item-wrap {
    width: 100%;
  }
  .recruit1 .item-wrap .item h3 {
    width: 120px;
    padding-right: 20px;
  }
  .recruit1 .item-wrap .item > div {
    width: calc(100% - 120px);
    padding-left: 20px;
  }
  .main-wrap .map {
    height: 450px;
  }
  .main-wrap .history .box_wrap::after {
    left: 40px;
    height: calc(100% - 100px);
  }
  .main-wrap .history .box_wrap .box {
    padding-left: 130px;
  }
  .main-wrap .history .box_wrap .box::after {
    width: 80px;
  }
  .main-wrap .history .box_wrap .box:not(:last-of-type) {
    margin-bottom: 80px;
  }
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {

  .main-wrap .map {
    height: 400px;
  }
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {
  .recruit1 .item-wrap {}
  .recruit1 .item-wrap .item {
    gap: 0;
  }
  .recruit1 .item-wrap .item h3 {
    width: 100%;
    padding: 10px 0 0;
    padding-right: 0px;
  }
  .recruit1 .item-wrap .item > div {
    width: 100%;
    padding-left: 0px;
  }
  .access-wrap {
    flex-wrap: wrap;
  }
  .access-box {
    width: 100%;
  }
  .main-wrap .map {
    height: 350px;
  }
  .main-wrap .history .box_wrap::after {
    left: 20px;
    height: calc(100% - 60px);
  }
  .main-wrap .history .box_wrap .box {
    padding-left: 70px;
  }
  .main-wrap .history .box_wrap .box:not(:last-of-type) {
    margin-bottom: 50px;
  }
  .main-wrap .history .box_wrap .box p {
    margin-bottom: 0;
  }
  .main-wrap .history .box_wrap .box::after {
    width: 40px;
  }
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {}