@charset "utf-8";
/* CSS Document */

.cate1 {
  background:
    linear-gradient(to bottom, #fff 60%, transparent 40%),
    url("https://kanoshoten.com/system_panel/uploads/images/contact2.jpg");
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
  background-position: top, center;
}
.messagebox_wrap {
  position: relative;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
}
.messagebox {
  gap: 80px;
  flex-wrap: nowrap;
}
/* テキストエリア */ .txtbox {
  width: 50%;
}
.txtbox .title1 {
  margin-bottom: clamp(20px, 4vw, 50px);
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
}
.name_wrap {
  margin-top: 40px;
  position: relative;
  z-index: 8;
  line-height: 1.6;
  justify-content: flex-start;
  gap: 20px;
  align-items: baseline;
}
.name_wrap .name {
  font-size: clamp(15px, 5vw, 26px);
}
.imgbox {
  position: relative;
  z-index: 5;
}
.imgbox img {
  width: 100%;
  height: clamp(300px, 50vw, 700px);
  object-fit: cover;
  display: block;
}
.subtxt {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 50;
}
.subtxt p {
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
  padding: 10px 2px;
  text-align: center;
  font-size: clamp(20px, 4vw, 40px);
}
.map-frame > div {
  display: block;
  width: 100%;
  height: clamp(260px, 50vw, 440px);
}
.map-card p {
  line-height: 2;
}
.company-wrap {
  margin: 0 auto;
  width: 700px;
}
.map-frame iframe, .map-frame img {
  display: block;
  width: 100%;
  height: clamp(260px, 50vw, 440px);
}
.company-wrap .item {
  padding: 10px;
}
.company-wrap .item:not(:last-of-type) {
  border-bottom: 1px solid #DEDEDE;
}
.company-wrap .item:first-of-type, .recruit1 .item-wrap .item:first-of-type {
  padding-top: 0;
}
.company-wrap .item h3 {
  width: 20%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: left;
  flex-direction: row;
  box-sizing: border-box;
  padding-right: 30px;
  padding: 20px 0;
}
.company-wrap .item > div {
  width: 80%;
  padding: 15px 0;
  padding-left: clamp(20px, 5vw, 80px);
}
/* 細い横線 */
.cate1 .line {
  width: 100%;
  height: 1px;
  background: #857E60;
  margin: 16px 0 24px;
  opacity: .7;
}
.signature {
  text-align: center;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.signature .position {
  font-size: 1rem;
  font-weight: 400;
}
.signature .name {
  letter-spacing: 0.05em;
}
.box_wrap {
  gap: clamp(60px, 15vw, 100px);
}
.box_wrap .boxitem {
  gap: 50px;
}
.box_wrap .boxitem .imgbox {
  width: calc(50% - 25px);
  max-width: 400px;
}
.box_wrap .boxitem .txtbox {
  width: calc(50% - 25px);
  flex-direction: column;
  align-items: flex-start;
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {
    .cate1 {
  background:
    linear-gradient(to bottom, #fff 40%, transparent 50%),
    url("https://kanoshoten.com/system_panel/uploads/images/contact2.jpg");
}
    
  .messagebox_wrap {
    flex-direction: column;
    align-items: center;
  }
  .messagebox_wrap .txtbox h2 {
    text-align: center;
  }
  .name_wrap p {
    font-size: clamp(12px, 2vw, 14px);
  }
  .name_wrap .name {
    font-size: clamp(18px, 4vw, 25px);
    font-weight: bold;
  }
  .company-wrap {
    width: 80%;
  }
      .messagebox {
    flex-direction: column;
  }
  .messagebox {
    gap: 50px;
  }
  .txtbox {
    width: 100%;
      padding-bottom: 80px;
  }
  .imgbox img {
    object-position: top;
  }
  .box_wrap .boxitem {
    flex-direction: column;
  }
  .box_wrap .boxitem .imgbox {
    width: 80%;
  }
  .box_wrap .boxitem .txtbox {
    width: 100%;
  }

}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {
  .company-wrap {
    width: 100%;
  }
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {
  .messagebox_wrap {
 
  }
  .box_wrap .boxitem .imgbox {
    width: 90%;
  }
  .company-wrap .item h3 {
  width: 30%;
    }
  .company-wrap .item > div {
    width: 70%;
    }
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {}