@charset "utf-8";
/*  company.css
---------------------------------------------- */

/*  pc
---------------------------------------------- */
/*-------- purpose --------*/
#purpose {
  padding-bottom: 140px;
  text-align: center;
}
#purpose .btn-base {
  width: 360px;
}
.company-head::before {
  content: attr(data-en);
  display: block;
  margin-bottom: 20px;
  color: #748696;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 2;
}
.company-head_txt {
  margin: 30px 0 60px;
  line-height: 2;
  text-align: center;
}

/*-------- c-page --------*/
#c-page {
  padding-bottom: 140px;
}
#c-page .link-cont {
  display: flex;
  justify-content: space-between;
  gap: 27px;
  margin-top: 25px;
}
#c-page .link-cont_item {
  width: calc((100% - 27px) / 2);
  transition: all 0.3s;
}
#c-page .link-cont_item:hover {
  opacity: 0.8;
}
#c-page .link-cont_item-txt {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  background: #385874;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
#c-page .link-cont_item-txt .arrow-right {
  right: 20px;
}

/*-------- service --------*/
.service-wrap {
  background: #fff;
  padding-top: 120px;
}
#service {
  padding-bottom: 140px;
  text-align: center;
}
#service .service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 30px;
  margin-top: 60px;
}
#service .service-list_item {
  width: calc((100% - 60px) / 3);
}
#service .service-list_item > a {
  display: block;
  transition: all 0.3s;
}
#service .service-list_item > a:hover {
  opacity: 0.8;
}
#service .service-list_item-img {
  height: auto;
  aspect-ratio: 19/13;
}
#service .service-list_item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#service .service-list_item-txt {
  margin-top: 15px;
  font-family: "Noto Serif JP", serif;
  line-height: 1.6;
  text-align: center;
}

/*-------- product --------*/
#product {
  text-align: center;
}
#product .head-en::before {
  color: #fff;
}
#product .product-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}
#product .product-list_item {
  width: calc((100% - 40px) / 2);
}
#product .product-list_item-img img {
  width: 100%;
}
.product-btn {
  width: 360px;
  height: 68px;
  margin-top: 50px;
}

/*-------- news --------*/
#news {
  padding: 300px 0 160px;
}
#news .heading .head_ja {
  position: relative;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  line-height: inherit;
  z-index: 1;
}
#news .heading .head_en {
  position: relative;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 9rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
#news .heading.style01 .head_en {
  color: #edebe8;
}
#news .heading.style_rl .head_ja {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
}
#news .heading.style_rl .head_en {
  position: absolute;
  left: 0;
  white-space: nowrap;
}
#news .news_cont {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 70px;
}
#news .news_cont .heading .head_ja {
  margin-top: 50px;
}
#news .news_cont .heading .head_en {
  top: -150px;
}
#news .news_list {
  width: 83%;
  margin-bottom: 60px;
  font-family: "Noto Sans JP", serif;
}
#news .news_list .item {
  display: block;
  padding: 30px 0;
  border-bottom: 1px solid #edebe8;
}
#news .news_list .item time {
  margin-right: 15px;
}
#news .news_list .item .cat {
  padding: 5px 20px;
  line-height: 1;
  font-size: 12px;
  color: #fff;
}
#news .news_list .item .cat.news {
  background: #3b5d7a;
}
#news .news_list .item .cat.event {
  background: #b19e72;
}
#news .news_list .item .cat.koyukai {
  background: #4ea8a5;
}
#news .news_list .item .cat.yutorin {
  background: #748696;
}
#news .news_list .item .cat.info {
  background: #cf882a;
}
#news .news_list .item .ttl {
  margin-top: 10px;
}
#news .btn {
  margin: 0 0 0 auto;
}

/*-------- recruit --------*/
#recruit {
  max-width: 940px;
  padding-bottom: 140px;
}
#recruit .recruit-bnr {
  display: block;
  transition: all 0.3s;
}
#recruit .recruit-bnr:hover {
  opacity: 0.8;
}
#recruit .recruit-bnr img {
  width: 100%;
}

/*-------- partner --------*/
#partner {
  max-width: 800px;
}
#partner .partner-list {
  display: flex;
  justify-content: center;
  gap: 40px;
}
#partner .partner-list_item {
  width: calc((100% - 40px) / 2);
  transition: all 0.3s;
}
#partner .partner-list_item:hover {
  opacity: 0.8;
}
#partner .partner-list_item-img img {
  width: 100%;
}
.partner-btn {
  width: 100%;
  height: 70px;
}

/*-------- company-heading --------*/
.company-heading {
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.company-heading .lower-heading_wrapper {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 40px 40px 40px max(5%, calc(50% - 600px));
}
.company-heading_img {
  flex: 0 0 auto;
  width: 1026px;
  max-width: 68%;
}
.company-heading_img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*  sp
---------------------------------------------- */
@media only screen and (max-width: 959px) {
  /*-------- purpose --------*/
  #purpose {
    padding-bottom: 90px;
  }
  #purpose .btn-base {
    width: 300px;
  }
  .company-head::before {
    margin-bottom: 15px;
    font-size: max(18px, 1.8rem);
  }
  .company-head_txt {
    margin: 25px 0 40px;
  }

  /*-------- c-page --------*/
  #c-page {
    padding-bottom: 90px;
  }
  #c-page .page-list {
    flex-direction: column;
    gap: 5px;
  }
  #c-page .page-list_item {
    width: 100%;
  }
  #c-page .page-list_item-img {
    aspect-ratio: 350/163;
  }
  #c-page .link-cont {
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
  }
  #c-page .link-cont_item {
    width: 100%;
  }
  #c-page .link-cont_item-txt {
    height: 5.5rem;
    min-height: 50px;
  }
  #c-page .link-cont_item-txt .arrow-right {
    right: 10px;
  }

  /*-------- service --------*/
  .service-wrap {
    padding-top: 70px;
  }
  #service {
    padding-bottom: 90px;
  }
  #service .service-list {
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
  }
  #service .service-list_item {
    width: 100%;
  }
  #service .service-list_item-img {
    aspect-ratio: 35/23;
  }
  #service .service-list_item-txt {
    margin-top: 10px;
  }

  /*-------- product --------*/
  #product .product-list {
    flex-direction: column;
    gap: 5px;
    margin-top: 30px;
  }
  #product .product-list_item {
    width: 100%;
  }
  .product-btn {
    width: 38.5rem;
    height: 7.7rem;
    margin-top: 30px;
  }

  /*-------- news --------*/
  #news {
    padding: 70px 0 90px;
  }
  #news .heading {
    padding-bottom: 15px;
    border-bottom: 1px solid #edebe8;
  }
  #news .heading .head_en {
    margin-bottom: 5px;
    font-size: max(48px, 4.8rem);
  }
  #news .heading .head_ja {
    font-size: max(20px, 2rem);
  }
  #news .heading.style_rl .head_ja {
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    letter-spacing: 0.05em;
  }
  #news .heading.style_rl .head_en {
    position: relative;
  }
  #news .news_cont {
    display: block;
  }
  #news .news_cont .heading .head_ja {
    margin-top: 0;
  }
  #news .news_cont .heading .head_en {
    top: auto;
  }
  #news .news_list {
    width: 100%;
    margin-bottom: 30px;
  }
  #news .news_list .item {
    padding: 20px 0;
  }
  #news .news_list .item time {
    margin-right: 10px;
  }
  #news .news_list .item .cat {
    padding: 4px 14px;
    font-size: max(11px, 1.1rem);
  }

  /*-------- recruit --------*/
  #recruit {
    padding-bottom: 90px;
  }

  /*-------- partner --------*/
  #partner .partner-list {
    flex-direction: column;
    gap: 5px;
  }
  #partner .partner-list_item {
    width: 100%;
  }
  .partner-btn {
    height: 5rem;
    min-height: 45px;
  }

  /*-------- company-heading --------*/
  .company-heading {
    display: block;
    padding: 100px 0 0;
  }
  .company-heading .lower-heading_wrapper {
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }
  .company-heading_img {
    width: 100%;
    max-width: none;
    margin-top: 30px;
  }
}
