.top-firstview-img-outer .slick-list, .top-reason-content-inner-left .slick-list {
  pointer-events: none;
}
.top-firstview-img-outer {
  width: 100%;
}
.top-firstview-img-inner {
  position: relative;
  padding: 80px;
  border-right: 2px solid var(--main-color-black);
  border-bottom: 2px solid var(--main-color-black);
  background-size: 15px 15px;
  background-position: center;
}
.top-firstview-img-inner.blue {
  background-image: radial-gradient(var(--main-color-heavy-blue) 2px, var(--main-color-blue) 2px);
}
.top-firstview-img-inner.yellow {
  background-image: radial-gradient(var(--main-color-heavy-yellow) 2px, var(--main-color-yellow) 2px);
}
.top-firstview-img-inner.red {
  background-image: radial-gradient(var(--main-color-heavy-red) 2px, var(--main-color-red) 2px);
}
.top-firstview-img-inner.purple {
  background-image: radial-gradient(var(--main-color-heavy-purple) 2px, var(--main-color-purple) 2px);
}
.top-firstview-img-inner.green {
  background-image: radial-gradient(var(--main-color-heavy-green) 2px, var(--main-color-green) 2px);
}
.top-firstview-img-inner > img {
  width: 100%;
  border: 2px solid var(--main-color-black);
  border-radius: 10px;
}
.top-firstview-img-inner > img.pc-display {
  display: block;
}
.top-firstview-img-inner > img.sp-display {
  display: none;
}
.top-firstview-img-inner .top-decoration-img {
  position: absolute;
  right: 5%;
  bottom: 6%;
  z-index: 10;
  height: 140px;
  max-height: 25%;
}
.top-firstview-img-inner .top-decoration-img img {
  height: 100%;
  border: none;
  border-radius: 0;
}
.top-firstview-img-inner .top-decoration-text {
  position: absolute;
  top: 80px;
  left: 60px;
  padding-left: 70px;
  transform: rotate(90deg);
  transform-origin: 0 0;
}
.top-firstview-img-inner .top-decoration-text::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  content: '';
  width: 60px;
  height: 2px;
  background-color: var(--main-color-black);
}
.top-about-content {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.top-about-content-inner {
  position: relative;
  margin: 60px auto;
}
.top-about-content-inner.d-flex-between {
  align-items: flex-start;
}
.top-about-content-left {
  width: 40%;
}
.top-about-content-right {
  width: 60%;
}
.top-about-content-right > p {
  line-height: 40px;
  margin-bottom: 70px;
}
.top-about-content-right > p span{
  display: inline-block;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--main-color-heavy-gray);
}

.top-about-content-decoration {
  position: absolute;
  left: 0;
  bottom: 10px;
  height: 100px;
}
.top-commitment-content {
  position: relative;
  margin: 80px 0;
  width: 100%;
  padding: 70px 0;
  border-top: 2px solid var(--main-color-black);
  border-bottom: 2px solid var(--main-color-black);
  background-image: radial-gradient(var(--main-color-heavy-red) 2px, var(--main-color-red) 2px);
  background-size: 15px 15px;
  background-position: center;
}
.top-commitment-content::before {
  position: absolute;
  left: 0;
  top: -15px;
  content: '';
  width: 100%;
  height: 1px;
  border-top: 2px dashed var(--main-color-black);
}
.top-commitment-content::after {
  position: absolute;
  left: 0;
  bottom: -15px;
  content: '';
  width: 100%;
  height: 1px;
  border-bottom: 2px dashed var(--main-color-black);
}
.top-commitment-content-inner {
  margin: 0 auto;
  position: relative;
}
.top-commitment-content-inner > p {
  width: 70%;
  margin: 60px auto;
  text-align: center;
}
.top-reason-content {
  position: relative;
  margin: 60px auto;
  padding: 70px 0;
  overflow: hidden;
}
/*
.top-reason-content-inner {
  position: relative;
  margin: 0 auto;
  z-index: 20;
  display: grid;
  grid-template-rows: 100px 1fr;
  grid-template-columns: 43%  1fr;
}
.top-reason-content-inner-img {
    grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.top-reason-content-inner-title {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  padding-left: 60px;
}
.top-reason-content-inner-text {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  padding-left: 60px;
}
.top-reason-content-inner-text > p {
    margin: 60px 0;
}
*/
.top-reason-content-inner {
  position: relative;
  margin: 0 auto;
  z-index: 20;
}
.top-reason-content-inner-left {
  width: 43%;
}
.top-reason-content-inner-left .top-decoration-text {
  position: absolute;
  top: 20px;
  left: -15px;
  padding-left: 60px;
  transform: rotate(90deg);
  transform-origin: 0 0;
}
.top-reason-content-inner-left .top-decoration-text::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  content: '';
  width: 40px;
  height: 2px;
  background-color: var(--main-color-black);
}
.top-reason-content-inner-right {
  width: 48%;
}
.top-reason-content-inner-right > p {
  margin: 60px 0;
}
.top-reason-content .scroll-img-var {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  z-index: 1;
}
.top-reason-content .scroll-img-var .scroll-infinity__item {
  width: 100vw;
}
.bg-white {
  background-color: rgba(255, 255, 255, .4);
}
.top-history-content .top-midashi {
  margin: 0 auto;
}
.top-history-content-inner {
  width: 100%;
  margin: 60px 0;
}
.top-history-content-inner .slick-slide {
  border: 2px solid var(--main-color-black);
  padding: 15px;
  margin: 0 30px;
  border-radius: 10px;
}
.top-history-content-inner .slick-slide .top-history-content-item {
  position: relative;
  border: 2px solid var(--main-color-black);
  background-image: radial-gradient(var(--main-color-heavy-yellow) 2px, var(--main-color-yellow) 2px);
  background-size: 15px 15px;
  background-position: center;
  border-radius: 10px;
  padding: 60px 0;
}
.top-history-content-inner .slick-slide .top-history-content-item section{
  position: relative;
  z-index: 10;
  padding: 0 70px;
}
.top-history-content-inner .slick-slide .top-history-content-item section h3 img{
  height: 50px;
}
.top-history-content-inner .slick-slide .top-history-content-item section span{
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}
.top-history-content-inner .slick-slide .top-history-content-item section p{
/*  font-size: 15px;*/
  color: #555;
  margin: 30px 0 50px;
}
.histry-month-img {
  position: relative;
  width: 50%;
}
.top-history-item-bottom {
  position: relative;
  margin-top: 40px;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}
.top-history-item-bottom section {
  width: 60%;
}
.top-history-item-bottom section h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
}
.top-history-item-bottom section p {
  font-size: 15px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: #555;
}
.top-history-item-bottom img {
  height: 160px;
  content-visibility: auto;
  contain-intrinsic-size: 160px;
}
.histry-num-img {
  position: absolute;
  right: 40px;
  top: 40px;
  width: auto;
  height: 140px;
  z-index: 0;
/*
  content-visibility: auto;
  contain-intrinsic-size: 166px;
*/
}
.history-more-btn {
  margin: 0 auto;
}
.history-more-btn .more-btn {
  margin-left: auto;
}
.top-press-content {
  position: relative;
  margin: 130px auto 60px;
}
.top-press-content-inner {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: max-content;
  border: 2px solid var(--main-color-black);
  background-image: radial-gradient(var(--main-color-heavy-blue) 2px, var(--main-color-blue) 2px);
  background-size: 15px 15px;
  background-position: center;
  border-radius: 10px;
  padding: 100px;
  z-index: 13;
  overflow: hidden;
}
.top-press-content > span {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  content: '';
  border: 2px solid var(--main-color-black);
  border-radius: 10px;
}
.top-press-content > span.red {
  top: 5px;
  right: -5px;
  background-color: var(--main-color-red);
  z-index: 12;
}
.top-press-content > span.yellow {
  top: 10px;
  right: -10px;
  background-color: var(--main-color-yellow);
  z-index: 11;
}
.top-press-content > span.purple {
  top: 15px;
  right: -15px;
  background-color: var(--main-color-purple);
  z-index: 10;
}

@media screen and (max-width: 1024px) {
  .top-firstview-img-inner {
    padding: 50px;
    border: 2px solid var(--main-color-black);
    border-right: none;
    border-left: none;
  }
  .top-about-content-inner {
    margin: 40px auto;
  }
  .top-firstview-img-inner .top-decoration-text {
    top: 50px;
    left: 40px;
    font-size: 14px;
  }
  .scroll-img-var .scroll-infinity__item {
/*    width: calc(100vw / 1.2);*/
    width: 100vw;
  }
  .top-about-content-left, .top-about-content-right {
    width: 100%;
  }
  .top-about-content-decoration {
    display: none;
  }
  .top-about-content-right > p {
    margin: 40px 0 50px;
    line-height: 2;
    font-size: 15px;
  }
  .top-commitment-content {
    margin: 60px 0;
  }
  .model-decoration-img img {
    width: 130%;
  }
  .top-reason-content .scroll-img-var .scroll-infinity__item {
    width: 200vw;
  }
  .model-decoration-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 23%;
    overflow: hidden;
  }
  .top-commitment-content-inner > p {
    width: 90%;
    font-size: 15px;
    line-height: 2;
  }
  .top-reason-content-inner.d-flex-between {
    display: block;
  }
  .top-reason-content-inner-left, .top-reason-content-inner-right {
    width: 100%;
  }
  .top-reason-content-inner-left {
    position: absolute;
    top: 130px;
  }
  .rainbow-bg-img .reason-content-slider {
    max-height: 300px;
  }
  .rainbow-bg-img .reason-content-slider img {
    margin-top: -50px;
  }
  .fukidashi-img {
    left: calc(100% - 160px);
  }
  .top-reason-content-inner-right > p {
    margin: 400px 0 40px;
    font-size: 15px;
  }
  .top-reason-content {
    padding: 50px 0;
  }
  .top-history-item-bottom section {
    width: 100%;
  }
/*
  .top-history-item-bottom img {
    display: none;
  }
*/
  .top-press-content-inner {
    padding: 60px;
  }
  .all-press-article > a .all-press-article-img {
    display: none;
  }
  .all-press-article > a section {
    width: 100%;
  }
  .history-more-btn {
    margin: 120px auto 0;
  }
  .top-press-content {
    margin: 100px auto 60px;
  }
/*
  .top-history-item-bottom section p {
    -webkit-line-clamp: 3;
  }
*/
  .top-history-content-inner .slick-slide .top-history-content-item section h3 img{
    height: 40px;
  }
  .histry-num-img{
    height: 120px;
  }
}
@media screen and (max-width: 599px) {
  .top-firstview-img-inner {
    padding: 40px;
  }
  .top-firstview-img-inner > img.pc-display {
    display: none;
  }
  .top-firstview-img-inner > img.sp-display {
    display: block;
  }
  .top-firstview-img-inner .top-decoration-text {
    top: 40px;
    left: 33px;
  }
  .top-firstview-img-inner .top-decoration-img {
    height: 80px;
  }
  .top-firstview-img-inner .top-decoration-text::before {
  height: 1.5px;
}
  .scroll-img-var .scroll-infinity__item {
    width: 150vw;
  }
  .top-about-content-right > p {
    margin: 40px 0;
    line-height: 2.3;
    
  }
  .rainbow-bg-img .reason-content-slider img {
    margin-top: 0;
  }
  .top-reason-content {
    padding: 30px 0;
    margin: 60px auto 40px;
  }
  .fukidashi-img {
    width: 130px;
    left: calc(100% - 110px);
    top: -40px;
  }
  .top-reason-content-inner-left {
    top: 120px;
  }
  .top-reason-content-inner-right > p {
    margin: 380px 0 40px;
  }
  .top-reason-content .scroll-img-var .scroll-infinity__item {
    width: 400vw;
  }
  .top-history-content-inner .slick-slide .top-history-content-item {
    padding: 40px 0;
  }
  .histry-month-img {
    width: 70%;
  }
  .histry-num-img {
    right: 30px;
    top: 30px;
    height: 80px;
  }
  .top-history-item-bottom {
    margin-top: 30px;
  }
  .top-history-item-bottom section h3 {
    font-size: 15px;
  }
  .top-reason-content-inner-left .top-decoration-text {
    left: -5px;
  }
  .top-history-content-inner {
    margin: 40px 0;
  }
  .bg-white {
    background-color: transparent;
  }
  .all-press-article-badge {
    right: 20px;
    padding: 9px 25px;
    font-size: 12px;
  }
  .top-commitment-content {
    margin: 50px 0;
  }
  .top-history-content-inner .slick-slide {
    margin: 0 10px;
    padding: 10px;
  }
  .top-press-content-inner {
        padding: 70px 55px;
    }
  .top-commitment-content-inner > p {
    line-height: 2.3;
    width: 100%;
  }
  .top-history-content-inner .slick-slide .top-history-content-item section{
    padding: 0 40px;
  }
  .top-history-content-inner .slick-slide .top-history-content-item section h3 img{
    height: 28px;
  }
  .top-history-content-inner .slick-slide .top-history-content-item section p{
    margin: 20px 0 30px;
    font-size: 15px;
  }
  .top-history-item-bottom img{
    height: 130px;
    contain-intrinsic-size: 130px;
    width: auto;
  }
  .top-history-item-bottom .scroll-infinity__item{
    margin: 0 5px;
  }
  .top-history-content-inner .slick-slide .top-history-content-item section span{
    font-size: 16px;
  }
}