@charset "UTF-8";

#topB #keyvisual > .bg{
  aspect-ratio: 1920 / 813;
  background-image: url(../img/top/main_img.jpg);
}
#keyvisual > .bg::after {
  content: "";
  position: absolute;
    max-width: 419px;
    /* height: 256px; */
  right: 2%;              /* 余白は%指定 */
  bottom: -9%;            /* はみ出し量も%指定にすると自然 */
  width: 30%;             /* 親要素幅に対して30% */
  aspect-ratio: 419 / 256; /* 元画像の比率を指定 */

  background: url("../img/top/mainSab_img.jpg") no-repeat center center;
  background-size: contain; /* 画像を縮小表示 */
  z-index: 99;

}
@media screen and (max-width: 767px) {
#keyvisual > .bg::after {
  display: none;
}
#topB #keyvisual > .bg {
    background-image: url(../img/top/mainSp_img.jpg);
    aspect-ratio: 760 / 485;
}

}

/*  ------------------*/
#news {
  position: relative;
  background-color: #fff;
}

#news > .inner {
  padding-top: 0px;
  padding-bottom: 40px;
  max-width: 750px;
  box-sizing: content-box;
}

#news > .inner > .ttl-area {
  font-size: 100%;
  font-weight: 600;
}

#news > .inner > .ttl-area > .txt {
  font-size: 200%;
  font-weight: bold;
  color: #003e88;
  margin-right: 20px;
}

#news > .inner > .news-area {
  position: relative;
    max-height: 160px; 
  overflow-y: auto;
  padding-right: 8px; 
  -webkit-overflow-scrolling: touch;
}

#news > .inner > .news-area > .news-blc {
  position: relative;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding: 10px 1%;
  border-bottom: 1px solid #dbdbdb;
  box-sizing: border-box;
}

#news > .inner > .news-area > .news-blc > .date {
  display: inline-block;
  width: 140px;
  font-size: 90%;
  color: #b2b2b2;
  margin-right: 20px;
}

#news > .inner > .news-area > .news-blc > .news {
  display: inline-block;
  width: calc(100% - (140px + 20px));
}

@media screen and (max-width: 1200px) {
  #news > .inner {
    padding-top: 5px;
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  #news > .inner > .news-area > .ttl {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  #news > .inner > .news-area > .news-blc {
    width: 100%;
  }
  #news > .inner > .news-area > .news-blc > .date {
    width: 100px;
    margin-right: 10px;
  }
  #news > .inner > .news-area > .news-blc > .news {
    width: calc(100% - (100px + 10px));
  }
}

@media screen and (max-width: 480px) {
  #news > .inner > .news-area > .news-blc > .date {
    width: 100%;
    margin-right: 0;
  }
  #news > .inner > .news-area > .news-blc > .news {
    width: 100%;
  }
}

#intro {
  position: relative;
}

#intro > .inner {
  padding-top: 80px;
  padding-bottom: 80px;
  box-sizing: border-box;
}

#intro > .inner > .kitchen {
  background-color: #fff;
  padding: 60px 4% ;
  margin: 0px 0 60px;
}

#intro > .inner > .kitchen > .list {
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  #intro > .inner > .kitchen {
    padding: 40px 4%;
    margin: 40px 0;
  }
}



/* Company */


.Company {
  position: relative;
  color: #fff;
  padding: 60px 0;
  background:
    linear-gradient(rgba(63, 89, 143, 0.6), rgba(63, 89, 143, 0.6)),
    url("../img/top/companyBG.jpg") no-repeat center center;
  background-size: cover;
}

.Company .txt-area-00.style-00 {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.Company .txt-area-00.style-00 > .ttl {
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
}

.company-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 950px) {
  .company-list {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.Company .media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.Company .content p {
    margin-bottom: 20px;
    font-size: 26px;
    line-height: 1.6;
    text-align: left;
    color: #fff;
}

.Company .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
padding: 7px 0px;
    padding-right: 10px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  text-decoration: none;

  background: #0e4c92 url("../img/top/icon_ya.png") no-repeat right 16px center / 14px auto;
}
.Company .btn:hover {
  opacity: 0.85;
}


