@charset "UTF-8";

:root {
  --line-positionL: 28%;
}

.ourhistory_wrap {
  margin-bottom: 100px;
}

.bg_boderR:last-of-type {
  padding-bottom: 100px;
}

.bg_GrayTR {
  border-radius: 0 var(--boderR-size) 0 0;
  background: linear-gradient(0deg, rgba(240, 240, 240, 1) 0%, rgba(235, 235, 235, 1) 100%);
  padding-bottom: calc(var(--boderR-size) + 100px);
}

.bg_GrayTR .line {
  height: calc(100% + 100px);
}

.bg_WhiteTL {
  border-radius: var(--boderR-size) 0 0 0;
  background: #fff;
  padding-bottom: 160px;
}

.bg_WhiteTL .line {
  top: 0;
  border-radius: 0;
  background: linear-gradient(0deg, rgba(0, 90, 169, 1) 0%, rgba(0, 167, 227, 1) 95%, rgba(175, 206, 250, 1) 100%);
}

.bg_WhiteTL .history_list .history_item .year {
  color: var(--col-blue01);
}


.line {
  position: absolute;
  width: 7px;
  height: 110%;
  top: 50px;
  left: var(--line-positionL);
  background: #afcefa;
  border-radius: 5px 5px 0 0;
  transform: translate(-50%, 0);
}

.history_list {
  position: relative;
}

.history_list .history_item {
  position: relative;
  display: flex;
}

.history_list .history_item+.history_item {
  margin-top: 100px;
}

.history_list .history_item .year {
  position: absolute;
  top: 0;
  left: calc(var(--line-positionL) + (var(--inner-padding-LR) / 2) * -1);
  color: #00a7e3;
  letter-spacing: 0;
  line-height: 1;
  z-index: 2;
  font-family: var(--font-family-ZenKakuGothic);
  font-size: 48px;
  font-weight: bolder;
  font-weight: 900;
}

.history_list .history_item.yearL .year {
  transform: translate(-100%, -15%);
  text-align: right;
  padding-right: 0.45em;
}

.history_list .history_item.yearR .year {
  transform: translate(0%, -20%);
  text-align: left;
  padding-left: 0.35em;
}

.history_list .history_item.yearR .txt_wrap {
  padding-top: 2.25em;
}

.history_list .history_item .txt_wrap {
  position: relative;
  width: calc(100% + (var(--inner-padding-LR) / 2) - var(--line-positionL));
  margin-left: auto;
  font-size: 22px;
  font-weight: bold;
  padding-left: 1em;
  letter-spacing: 0.05em;
  z-index: 2;
}

.history_list .history_item .year_point {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, 0);
  border: 1px solid var(--col-blue01);
}

.history_list .history_item .sub_list li+li {
  margin-top: 0.5em;
}

.history_list .history_item li .caption {
  font-size: 0.7em !important;
  display: block;
  font-weight: 600;
}

.history_list .history_item .img_wrap {
  position: absolute;
  max-width: 400px;
  overflow: hidden;
}

.history_list .history_item .img_wrap.borderR {
  border-radius: 15px;
}

.history_list .history_item.y-1979 .img_wrap {
  width: 370px;
  top: -15px;
  right: 0;
}

.history_list .history_item.y-1982 .img_wrap {
  width: 189px;
  right: 100px;
  bottom: 3em;
}

.history_list .history_item.y-1989 .img_wrap {
  width: 388px;
  top: -35px;
  right: 0px;
}

.history_list .history_item.y-1995 .img_wrap {
  width: 224px;
  top: -65px;
  left: 40px;
}

.history_list .history_item.y-1997 .img_wrap {
  width: 422px;
  top: -2px;
  right: -50px;
}

.history_list .history_item.y-2001 .img_wrap {
  width: 321px;
  top: -65px;
  right: 0;
  z-index: 0;
}

.history_list .history_item.y-2002 .img_wrap {
  width: 358px;
  top: -2px;
  right: 40px;
}

.history_list .history_item .product_img.pack {
  width: 110px;
  height: fit-content;
}

.history_list .history_item.y-2006 .product_img.pack {
  top: 0;
  right: 180px;
}

.history_list .history_item.y-2010 .product_img.pack,
.history_list .history_item.y-2016 .product_img.pack,
.history_list .history_item.y-2022 .product_img.pack {
  top: 0;
  right: 180px;
}

.history_list .history_item.y-2013 .product_img.pack {
  bottom: 0;
  left: 150px;
}

.history_list .history_item.y-2012 .product_img {
  width: 136px;
  top: -40px;
  right: 315px;
}

.history_list .history_item.y-2015 .product_img.pack {
  top: -55px;
  right: 390px;
}

.history_list .history_item.y-2018 .product_img {
  width: 280px;
  top: -45px;
  right: 142px;
}

.history_list .history_item.y-2019 .img_wrap {
  position: relative;
  width: 100%;
  max-width: unset;
  margin-bottom: 20px;
}

.history_list .history_item.y-2021 .product_img.pack {
  top: -25px;
  left: 150px;
}


/* 
.history_list .history_item.y-2021 .product_img {
  top: -55px;
  right: 231px;
} */

.history_list .history_item.y-2022 .product_img.pack {
  top: unset;
  bottom: 0;
  right: 100px;
}

.history_list .history_item.y-2024 .img_wrap.youtube {
  width: 280px;
  bottom: -20px;
  left: 0px;
}

.history_list .history_item.y-2023 .fencing {
  width: 422px;
  top: -2px;
  right: -70px;
}

.history_list .history_item.y-2024 .flower {
  width: 280px;
  top: 55px;
  right: 0px;
}

.history_list .history_item.y-2020 .informed {
  position: relative;
  width: 220px;
  /* left: var(--line-positionL);
  bottom: -10px;
  padding-left: 10px;
  transform: translate(0, 100%); */
}

.fsS {
  font-size: 75%;
}


.future_message {
  padding: 0px var(--inner-padding-LR);
  margin: auto;
}

.future_message .future_box {
  width: 100%;
  text-align: center;
  margin: auto;
  color: var(--col-blue01);
  padding: 60px var(--inner-padding-LR);
  border: 3px solid var(--col-blue01);
  background: linear-gradient(-90deg, var(--grade-sky01));
}

.future_message .future_box p {
  font-size: 38px;
  font-weight: bold;
}

picture:has(.caption) {
  position: relative;
  display: block;
}

picture .caption {
  position: absolute;
  display: block;
  right: 10px;
  bottom: 10px;
  filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 2px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 3px rgba(255, 255, 255, 1)) drop-shadow(0px 0px 3px rgba(255, 255, 255, 1));
  transform: translateZ(0);
  will-change: filter;
  text-align: right;
  line-height: 1.35;
}

@media only screen and (max-width: 1163px) {

  .bg_WhiteTL {
    padding-bottom: 15vw;
  }

  .ourhistory_box {
    overflow: hidden;
  }

  .history_list .history_item .year {
    font-size: 4.95vw;
  }

  .history_list .history_item.yearL .year {
    transform: translate(-100%, -15%);
  }

  .history_list .history_item.yearR .year {
    transform: translate(0%, -15%);
  }

  .history_list .history_item .txt_wrap {
    font-size: 2vw;
  }

  .history_list .history_item .caption {
    font-size: 0.65em !important;
  }

  .history_list .history_item .year_point {
    width: 1.65vw;
    height: 1.65vw;
  }

  .history_list .history_item.y-1979 .img_wrap {
    width: 32vw;
    top: -15px;
    right: 0;
  }

  .history_list .history_item.y-1982 .img_wrap {
    width: 18vw;
    right: 6vw;
    bottom: 3.5em;
  }

  .history_list .history_item.y-1989 .img_wrap {
    width: 35vw;
    right: -2vw;
    top: -2vw;
  }

  .history_list .history_item.y-1995 .img_wrap {
    width: 22vw;
    top: -65px;
    left: 1vw;
  }

  .history_list .history_item.y-1997 .img_wrap {
    width: 32vw;
    top: -2px;
    right: -3vw;
  }

  .history_list .history_item.y-2001 .img_wrap {
    width: 27vw;
    top: -3vw;
    right: 2vw;
  }

  .history_list .history_item.y-2002 .img_wrap {
    width: 30vw;
    top: -2px;
    right: 1vw;
  }

  .history_list .history_item .product_img.pack {
    width: 9vw;
  }

  .history_list .history_item.y-2006 .product_img.pack {
    top: 0;
    right: 15vw;
  }

  .history_list .history_item.y-2010 .product_img.pack,
  /* .history_list .history_item.y-2013 .product_img.pack, */
  .history_list .history_item.y-2016 .product_img.pack {
    bottom: 0;
    right: 15vw;
  }

  .history_list .history_item.y-2012 .product_img {
    width: 12vw;
    top: -3vw;
    right: 23vw;
  }

  .history_list .history_item.y-2013 .product_img.pack {
    bottom: 0;
    left: 14vw;
  }

  .history_list .history_item.y-2015 .product_img.pack {
    top: -2vw;
    right: 30vw;
  }

  .history_list .history_item.y-2018 .product_img {
    width: 25vw;
    top: -4vw;
    right: 11vw;
  }

  .history_list .history_item.y-2019 .img_wrap {
    width: 100%;
  }

  .history_list .history_item.y-2021 .product_img.pack {
    top: -1vw;
    left: 14vw;
  }

  .history_list .history_item.y-2022 .product_img.pack {
    bottom: 0vw;
    right: 8vw;
  }

  .history_list .history_item.y-2024 .img_wrap.youtube {
    width: 23vw;
    bottom: 0px;
    left: 0px;
  }

  .history_list .history_item.y-2023 .fencing {
    width: 28vw;
    top: -2px;
    right: -2vw;
  }

  .history_list .history_item.y-2024 .flower {
    width: 24vw;
    top: 5vw;
    right: 0vw;
  }

  .history_list .history_item.y-2020 .informed {
    width: 20vw;
  }

  .future_message .future_box p {
    font-size: 3.8vw;
  }

}


@media only screen and (max-width: 959px) {}

/*==========================================================================================
ここからSP
==========================================================================================*/
@media only screen and (max-width: 767px) {
  :root {
    --line-positionL: 5vw;
    --inner-padding-LR: 5vw;
  }

  .ourhistory_wrap {
    margin-bottom: 10vw;
  }

  .bg_WhiteTL {
    padding-bottom: 18vw;
  }

  .ourhistory_wrap {
    margin-bottom: 5vw;
  }

  .bg_boderR:last-of-type {
    padding-bottom: 5vw;
  }

  .line {
    height: calc(100% + 28vw);
    width: 1.25vw;
  }

  .bg_WhiteTL {
    padding-bottom: 28vw;
  }

  .history_list .history_item {
    margin-top: 5vw;
  }

  .history_list .history_item+.history_item {
    margin-top: 15vw;
  }

  .history_list .history_item .year {
    font-size: 7vw;
  }

  .history_list .history_item {
    display: block;
  }

  .history_list .history_item.yearL .year {
    transform: translate(0%, -15%);
    text-align: left;
    padding-left: 0.2em;
  }

  .history_list .history_item .year {
    transform: translate(0%, -20%);
    text-align: left;
    padding-left: 0.35em;
  }

  .history_list .history_item.yearR .txt_wrap,
  .history_list .history_item .txt_wrap {
    padding-top: 1.85em;
  }

  .history_list .history_item.yearR .txt_wrap,
  .history_list .history_item .txt_wrap {
    font-size: 4.25vw;
    margin-left: 0;
  }

  .history_list .history_item li .caption {
    font-size: 0.85em !important;
  }

  .history_list .history_item .img_wrap.borderR {
    border-radius: 2.5vw;
  }

  .history_list .history_item .year_point {
    width: 2.5vw;
    height: 2.5vw;
  }

  .history_list .history_item .img_wrap {
    max-width: 400px;
  }

  .history_list .history_item.y-1979 .img_wrap {
    width: 42vw;
    top: 3vw;
    right: -2vw;
  }

  .history_list .history_item.y-1982 .img_wrap {
    width: 25vw;
    left: unset;
    top: 0;
    right: 0;
  }


  .history_list .history_item.y-1995 .img_wrap {
    width: 35vw;
    top: 0;
    left: unset;
    right: -2vw;
  }

  .history_list .history_item.y-1989 .img_wrap,
  .history_list .history_item.y-1997 .img_wrap,
  .history_list .history_item.y-2001 .img_wrap,
  .history_list .history_item.y-2002 .img_wrap {
    width: 98%;
    top: 4vw;
    left: 3.5vw;
    right: unset;
    position: relative;
  }


  .history_list .history_item.y-2006 .product_img.pack,
  .history_list .history_item .product_img.pack,
  .history_list .history_item.y-2010 .product_img.pack,
  .history_list .history_item.y-2012 .product_img,
  .history_list .history_item.y-2013 .product_img.pack,
  .history_list .history_item.y-2016 .product_img.pack,
  .history_list .history_item.y-2012 .product_img,
  .history_list .history_item.y-2015 .product_img.pack,
  .history_list .history_item.y-2018 .product_img,
  .history_list .history_item.y-2021 .product_img,
  .history_list .history_item.y-2021 .product_img.pack,
  .history_list .history_item.y-2022 .product_img.pack,
  .history_list .history_item.y-2022 .product_img.pack {
    width: 20vw;
    height: 32vw;
    top: unset;
    bottom: 0;
    left: unset;
    right: 0;
  }

  .history_list .history_item.y-2019 .img_wrap {
    width: 100%;
  }

  .history_list .history_item.y-2012 .product_img {
    width: 25vw;
    left: unset;
  }

  .history_list .history_item.y-2018 .product_img {
    width: 36vw;
    top: -15vw;
    right: -5vw;
  }

  .history_list .history_item.y-2022 .product_img.pack {
    top: 0;
    bottom: unset;
  }

  .bg_GrayTR {
    padding-bottom: calc(var(--boderR-size) + 15vw);
  }



  .history_list .history_item.y-2024 .img_wrap.youtube {
    width: 38vw;
    bottom: -2vw;
    left: unset;
    right: 0;
  }

  .history_list .history_item.y-2023 .fencing {
    width: 43vw;
    top: 10vw;
    right: -2vw;
  }

  .history_list .history_item.y-2024 .flower {
    width: 38vw;
    top: -4vw;
    right: 0vw;
  }

  .history_list .history_item.y-2020 .informed {
    width: 45vw;
    /* bottom: -2vw;
    left: 2vw; */
  }

  .future_message .future_box p {
    font-size: 5.5vw;
  }

  .future_message {
    padding: 0px 3vw;
  }

  .history_list .history_item picture .caption {
    font-size: 3vw !important;
    right: 1.25vw;
    bottom: 0.5vw;
    letter-spacing: 0;
  }
}