/***************************
 page-top
***************************/
.bg_leaf {
  background: url("../../images/logo/yk_logo_mark.svg");
  background-size: 5600px auto;
  background-position: 74% 5%;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .bg_leaf {
    background-size: 2000px auto;
    background-position: 77% 5%;
  }
}
/***************************
 general
****************************/
.bg_dark_green {
  background: #003124;
}
/****************************
 front-main
****************************/
#front-main {
  padding-top: 150px;
  padding-bottom: 100px;
}
#front-main .main-cnt {
  width: 100%;
}
#front-main .flex {
  display: flex;
  justify-content: space-between;
}
#front-main .flex .slider-wrap {
  width: 800px;
  position: relative;
  z-index: 1;
  padding-left: 30px;
}
#front-main .main-img img {
  width: 100%;
}
#front-main .main-slider .slider-item img {
  width: 100%;
}
#front-main .main-catch {
  writing-mode: vertical-rl;
  font-size: 72px;
  text-shadow: 10px 10px #000;
  color: #fff;
  font-weight: bold;
}
#front-main .main-catch span {
  display: block;
}
#front-main .slick-dots {
  text-align: right;
}
#front-main .slick-dots li button:before {
  color: #b9db59;
  opacity: 1;
  font-size: 10px;
}
#front-main .slick-dots li.slick-active button:before {
  color: #000;
}
#front-main .sub-catch {
  position: absolute;
  top: 54px;
  left: 5px;
  writing-mode: vertical-lr;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: #02b701;
  font-weight: bold;
}
#front-main .sp {
  display: none;
}
@media (max-width: 1199px) {
  #front-main .flex .slider-wrap {
    width: 700px;
  }
  #front-main .main-catch {
    font-size: 62px;
  }
}
@media (max-width: 991px) {
  #front-main {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  #front-main .flex .slider-wrap {
    width: 100%;
    margin-bottom: 30px;
  }
  #front-main .main-catch {
    display: none;
  }
  #front-main .sp {
    display: block;
  }
  #front-main .sp .sp-main-catch {
    writing-mode: vertical-rl;
    font-size: 42px;
    text-shadow: 5px 5px #000;
    color: #fff;
    font-weight: bold;
  }
  #front-main .sp .sp-main-catch span {
    display: block;
  }
  #front-main .sp .sp-thumb img {
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  #front-main .sp .mb {
    margin-bottom: 30px;
  }
}
@media (max-width: 767px) {
  #front-main .sub-catch {
    font-size: 12px;
    top: 34px;
    left: 14px;
  }
  #front-main .sp .sp-main-catch {
    font-size: 32px;
  }
  #front-main .sp .sp-thumb img {
    width: 300px;
  }
}
@media (max-width: 450px) {
  #front-main .sub-catch {
    font-size: 10px;
    top: 34px;
    left: 14px;
  }
  #front-main .sp .sp-main-catch {
    font-size: 26px;
  }
  #front-main .sp .sp-thumb img {
    width: 250px;
  }
}
/****************************
 front-news
*****************************/
#front-news {
  padding-top: 80px;
  padding-bottom: 80px;
}
#front-news .flex {
  display: flex;
}
#front-news .title-box {
  width: 300px;
}
#front-news .title-box p {
  color: #016d2e;
  border-bottom: 1px solid #016d2e;
  padding-bottom: 10px;
  font-size: 20px;
}
#front-news .content-box {
  width: calc(100% - 300px);
  width: -webkit-calc(100% - 300px);
}
#front-news ul {
  margin-left: 30px;
  margin-bottom: 0;
  list-style: none;
}
#front-news ul li:first-child {
  padding-top: 0;
}
#front-news ul li {
  border-bottom: 1px solid #fff;
  padding-bottom: 15px;
  padding-top: 15px;
}
#front-news ul li .flex {
  display: flex;
  flex-wrap: wrap;
}
#front-news ul li .flex .meta {
  color: #fff;
  width: 150px;
}
#front-news ul li .flex .news-title {
  width: calc(100% - 150px);
  width: -webkit-calc(100% -150px);
}
#front-news ul li .flex .news-title a {
  color: #fff;
  text-decoration: none;
}
@media (max-width: 991px) {
  #front-news .title-box {
    width: 100px;
  }
  #front-news .content-box {
    width: calc(100% - 100px);
    width: -webkit-calc(100% - 100px);
  }
  #front-news {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
@media (max-width: 767px) {
  #front-news .title-box {
    width: 60px;
    padding-top: 0;
  }
  #front-news .title-box p {
    padding-bottom: 0;
  }
  #front-news .content-box {
    width: calc(100% - 60px);
    width: -webkit-calc(100% - 60px);
  }
  #front-news ul {
    padding-left: 0;
    margin-left: 15px;
  }
  #front-news ul li .flex .meta {
    width: 100%;
    margin-bottom: 5px;
  }
  #front-news ul li .flex .news-title {
    width: 100%;
  }
}
/***************************
 front-recruit
****************************/
#front-recruit {
  padding-top: 80px;
  padding-bottom: 80px;
}
#front-recruit .thumb {
  margin-bottom: 150px;
}
#front-recruit .thumb img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
#front-recruit .sp {
  display: none;
}
@media (max-width: 991px) {
  #front-recruit .pc {
    display: none;
  }
  #front-recruit .sp {
    display: block;
  }
  #front-recruit .thumb {
    margin-bottom: 30px;
  }
  #front-recruit {
    padding-top: 50px;
    padding-bottom: 0;
  }
}
/****************************
 front-point
*****************************/
#front-point {
  padding-top: 100px;
  padding-bottom: 100px;
}
#front-point .sp {
  display: none;
}
#front-point .pc {
  display: block;
}
#front-point .thumb img {
  width: 100%;
  border-radius: 10px;
}
@media (max-width: 991px) {
  #front-point {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #front-point .bg .title {
    width: 200px;
    margin: 0 auto;
  }
  #front-point .sp {
    display: block;
  }
  #front-point .pc {
    display: none;
  }
}
/****************************
 front-about
****************************/
#front-about {
  padding-top: 150px;
  padding-bottom: 150px;
}
#front-about .border-box {
  padding: 100px;
  position: relative;
}
#front-about .border-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #b9db59;
  box-sizing: border-box;
  pointer-events: none;
  border-radius: 5px;

  /* clip-pathで「左上の 30px × 30px」の四角形を切り取る */
  clip-path: polygon(250px 0, 100% 0, 100% 100%, 0 100%, 0 10px, 250px 10px);
}
#front-about .border-box .title-img {
  position: absolute;
  top: -95px;
  left: 0;
  z-index: 1;
}
#front-about .border-box .title-img img {
  width: 230px;
}
#front-about .border-box a {
  display: inline-block;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  border-radius: 10px;
}
#front-about .bg-green a {
  background: #02b701;
  color: #fff;
}
#front-about .bg-dark-green a {
  background: #016d2e;
  color: #fff;
}
#front-about .bg-gray a {
  background: #797878;
  color: #fff;
}
#front-about .bg-light-green a {
  background: #b9db59;
  color: #002002;
}
#front-about .mb {
  margin-bottom: 50px;
}
@media (max-width: 767px) {
  #front-about .border-box {
    padding: 30px;
  }
  #front-about .border-box a {
    font-size: 16px;
  }
  #front-about .mb {
    margin-bottom: 30px;
  }
}
