/*
  File Name   : top.css
  Description : Write top content styles
*/
.top .top-heading {
  --top-heading-en-size: 70px;
  --top-heading-en-line-height: 0.96;
  --top-heading-ja-margin-top: 0px;
  --top-heading-ja-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.top .top-heading.-left {
  align-items: start;
  margin-left: 0;

  @media only screen and (max-width: 1279px) {
    margin-inline: auto;
    align-items: center;
  }
}

.top .top-headingEn {
  display: block;
  font-family: var(--fontFamily_title_en, var(--fontFamily_base));
  font-size: var(--top-heading-en-size);
  font-weight: 400;
  line-height: var(--top-heading-en-line-height);
  letter-spacing: 0;
  white-space: nowrap;
}

.top .top-headingEn--orange {
  color: var(--color_main);
}

.top .top-headingEn--green {
  color: var(--color_sub);
}

.top .top-headingJp {
  display: block;
  margin-top: var(--top-heading-ja-margin-top);
  font-size: var(--top-heading-ja-size);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}

@media only screen and (max-width: 599px) {
  .top .top-heading {
    --top-heading-en-size: 50px;
    --top-heading-en-line-height: 1;
    --top-heading-ja-margin-top: 0;
    --top-heading-ja-size: 15px;
  }
}

.sn-actionButton {
  position: relative;
  display: flex;
  align-items: center;
  width: 180px;
  min-height: 45px;
  padding: 0 36px 0 15px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  border: 1px solid #404040;
  border-radius: 3px;
  background: #404040;
  transition: background 0.3s ease-out, border-color 0.3s ease-out;
}

.sn-actionButton:hover {
  @media (any-hover: hover) {
    opacity: 1 !important;
    background: var(--color_main);
    border-color: var(--color_sub);
  }
}

.sn-actionButton::after {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  top: 50%;
  right: 15px;
  background: url(../images/common/icon-arrow.svg) no-repeat center/contain;
  transform: translateY(-50%);
  transition: right 0.2s ease-out;
}

.sn-actionButton:hover::after {
  @media (any-hover: hover) {
    right: 10px;
  }
}

.sn-actionButton:focus-visible {
  outline: 2px solid #00865f;
  outline-offset: 3px;
}


/* KV */
.top-kv {
  position: relative;
  z-index: 1;
}

.top-kv .top-kv-slider {
  position: relative;
  padding-bottom: 40px;

  @media (max-width: 1024px) {
    padding-bottom: 33px;
  }
}

.top-kv .top-kv-slider .splide__slide--pict {
  position: relative;
  display: block;
  width: 100%;
  height: calc(100dvh - var(--height-header) - 40px);
  overflow: hidden;

  @media only screen and (max-width: 1024px) {
    height: calc(100dvh - var(--height-header_mbl) - 35px);
  }
}

.top-kv .top-kv-slider .splide__slide--pict>img {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.top-kv .top-kv-slider .top-kv-slider-caption {
  position: absolute;
  left: 50%;
  bottom: 31px;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 0 5px #000;
  pointer-events: none;
  text-align: right;
  width: min(100%, calc(1200px + var(--sidePadding_base) * 2));
  padding-inline: var(--sidePadding_base);
  line-height: calc(30 / 18);

  @media only screen and (max-width: 1024px) {
    bottom: 25px;
    font-size: 18px;
    text-align: right;
    white-space: normal;
    word-break: break-word;
    width: min(100%, calc(1024px + var(--sidePadding_base_mbl) * 2));
    padding-inline: var(--sidePadding_base_mbl);
  }
}

.top-kv .top-kv-slider .top-kv-slider-pagination {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 22px;
  width: auto;
  margin: 0;
  padding: 17px 0 0;
  transform: translateX(-50%);
  pointer-events: auto;
  z-index: 2;

  @media only screen and (max-width: 1024px) {
    gap: 13px;
    padding-top: 19px;
  }
}

.top-kv .top-kv-slider .top-kv-slider-pagination::before {
  content: "";
  position: absolute;
  left: 7.5px;
  right: 7.5px;
  top: calc(17px + 7.5px);
  height: 1px;
  background-color: var(--color_main);
  z-index: 0;

  @media only screen and (max-width: 1024px) {
    left: 6px;
    right: 6px;
    top: calc(19px + 6px);
  }
}

.top-kv .top-kv-slider .top-kv-slider-pagination>li {
  display: block;
  line-height: 1;
}

.top-kv .top-kv-slider .top-kv-slider-pagination__page {
  position: relative;
  z-index: 1;
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color_main);
  border-radius: 0;
  background-color: #fff;
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: background-color 0.3s ease-out, border-color 0.3s ease-out;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out;
  cursor: pointer;

  @media only screen and (max-width: 1024px) {
    width: 12px;
    height: 12px;
  }
}

.top-kv .top-kv-slider .top-kv-slider-pagination__page.is-active {
  background-color: var(--color_main);
  border-color: var(--color_main);
  -webkit-transform: rotate(45deg) scale(1);
  transform: rotate(45deg) scale(1);
}

.top-kv .top-kv-slider .top-kv-slider-pagination__page:focus-visible {
  outline: 2px solid var(--color_main);
  outline-offset: 2px;
}

/* NEWS */
.top .top-news {
  position: relative;
  overflow: hidden;
  padding: 261px 0 218px;
  background-color: #fbf5e5;
  margin-top: -35px;

  @media only screen and (max-width: 1024px) {
    padding: 128px 0 140px;
  }

  @media only screen and (max-width: 599px) {
    padding: 185px 0 160px;
  }
}

.top .top-news::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 50%;
  top: 0;
  left: 50%;
  z-index: 0;
  background: #fff url(../images/home/bg01.png) no-repeat center top/cover;
  transform: translateX(-50%);
  pointer-events: none;

  @media only screen and (max-width: 1024px) {
    background-size: 1440px auto;
    background-repeat: repeat-y;
    width: 100%;
    height: 50%;
  }
}

.top .top-news .top-news-bg {
  position: absolute;
  display: block;
  inset: 130px 220px 100px 0;
  z-index: 1;
  background-color: #fff;
  border-radius: 0 30px 30px 0;
  pointer-events: none;

  @media only screen and (max-width: 1699px) {
    right: 40px;
  }

  @media only screen and (max-width: 1024px) {
    inset: 72px 40px 64px 0;
  }

  @media only screen and (max-width: 599px) {
    inset: 108px 15px 80px 0;
    border-radius: 0 20px 20px 0;
  }
}

.top .top-news .top-newsInner {
  position: relative;
  z-index: 2;
  width: min(100% - var(--sidePadding_base) * 2, 1201px);
  margin: 0 auto;

  @media only screen and (max-width: 1279px) {
    width: min(100% - var(--sidePadding_base) * 2, 920px);
  }

  @media only screen and (max-width: 1024px) {
    width: min(100% - var(--sidePadding_base_mbl) * 2, 700px);
  }

  @media only screen and (max-width: 599px) {
    width: min(100% - var(--sidePadding_base_mbl) * 2, 600px);

  }
}

.top .top-news .top-heading {

}

.top .top-news .top-news-cardList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 52px 27px;
  width: 100%;
  margin-top: 60px;

  @media only screen and (max-width: 1279px) {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }

  @media only screen and (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 32px 18px;
    max-width: 500px;
    margin-inline: auto;
  }

  @media only screen and (max-width: 599px) {
    gap: 33px 13px;
    margin-top: 47px;
    padding-right: 12px;
  }
}

.top .top-news .top-news-card {
  min-width: 0;
}

.top .top-news .top-news-cardLink {
  display: block;
  text-decoration: none;
}

.top .top-news .top-news-cardLink:hover {
  opacity: 1 !important;
}

.top .top-news .top-news-cardLink:focus-visible {
  outline: 2px solid #00865f;
  outline-offset: 5px;
}

.top .top-news .top-news-cardThumb {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 280 / 190;
  background-color: #f1f1f1;
  will-change: transform;

  @media only screen and (max-width: 599px) {
    aspect-ratio: 155 / 108;
  }
}

.top .top-news .top-news-cardThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
  will-change: transform;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
    transition: none;
  }
}

.top .top-news .top-news-cardLink:hover .top-news-cardThumb img {
  @media (any-hover: hover) {
    transform: scale(1.1);
  }
}

.top .top-news .top-news-cardDate {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color_font);

  @media only screen and (max-width: 1024px) {
    margin-top: 9px;
  }

  @media only screen and (max-width: 599px) {
    font-size: 15px;
  }
}

.top .top-news .top-news-cardTitle {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.53;
  letter-spacing: 0;
  word-break: break-word;
  color: var(--color_font);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s ease-out;
  text-decoration-skip-ink: none;

  @media only screen and (max-width: 1024px) {
    margin-top: 4px;
  }

  @media only screen and (max-width: 599px) {
    font-size: 16px;
    line-height: 1.5;
  }
}

.top-news-cardLink:hover .top-news-cardTitle {
  @media (any-hover: hover) {
    text-decoration-color: var(--color_font);
  }
}

.top .top-news .top-news-viewMore {
  margin: 63px auto 0;

  @media only screen and (max-width: 599px) {
    margin-top: 48px;
  }
}

.top .top-news .top-news-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 304px;
  text-align: center;

  @media only screen and (max-width: 599px) {
    min-height: 260px;
  }
}

.top .top-news .top-news-elephants {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  inset: auto auto 80px calc(50% + 447px);
  pointer-events: none;
  z-index: 1;

  @media (max-width: 1440px) {
    inset: auto 80px 80px auto;
  }

  @media only screen and (max-width: 1024px) {
    inset: auto 30px 55px auto;
  }
}

.top .top-news .top-news-elephant {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 280 / 168;
  background: url(../images/home/elephant.png) no-repeat center/contain;
  animation: top-elephant-bob 4.8s ease-out infinite;
  transform-origin: center bottom;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
    transition: none;
  }
}

.top .top-news .top-news-elephant--small {
  width: 110px;
  animation-delay: 0.45s;

  @media only screen and (max-width: 599px) {
    width: 80px;
  }
}

.top .top-news .top-news-elephant--large {
  width: 140px;

  @media only screen and (max-width: 599px) {
    width: 100px;
  }
}

@keyframes top-elephant-bob {

  0%,
  62%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  70% {
    transform: translateY(-8px) rotate(-1deg);
  }

  78% {
    transform: translateY(0) rotate(0deg);
  }

  86% {
    transform: translateY(-5px) rotate(1deg);
  }
}

/*
*   TOP ABOUT
*----------------------------*/
.top .top-about {
  position: relative;
  overflow: hidden;
  min-height: 927px;
  padding: 233px 0 150px;
  background-color: #fff;

  @media only screen and (max-width: 1279px) {
    min-height: 0;
    padding: 138px 0 132px;
  }

  @media only screen and (max-width: 1024px) {
    padding: 115px 0 106px;
  }
}

.top .top-about::before {
  content: "";
  position: absolute;
  display: block;
  inset: 0;
  z-index: 0;
  background: url(../images/home/about-bg.png) no-repeat center 40% / 957px auto;
  pointer-events: none;

  @media only screen and (max-width: 599px) {
    background-image: url(../images/home/aboug-bg-sp.png);
    background-position: center;
    background-size: 460px auto;
  }
}

.top .top-about::after {
  content: "";
  position: absolute;
  display: block;
  inset: auto 0 0 0;
  z-index: 3;
  height: 35px;
  background: url(../images/home/bg02.png) repeat-x center bottom/auto 35px;
  pointer-events: none;

  @media only screen and (max-width: 1024px) {
    height: 25px;
    background-size: auto 25px;
  }
}

.top .top-about .top-about-marquee {
  position: absolute;
  inset: calc(-0.5em - 2px) 0 auto 0;
  z-index: 1;
  overflow: hidden;
  color: #fbf5e5;
  font-size: 112px;
  font-weight: 700;
  line-height: 0.5;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;

  @media only screen and (max-width: 1024px) {
    font-size: 60px;
    inset: calc(-0.5em - 1px) 0 auto 0;
  }
}

.top .top-about .top-about-marqueeTrack {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: top-about-marquee 64s linear infinite;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
    transform: none;
  }
}

.top .top-about .top-about-marqueeText {
  display: block;
  flex: 0 0 auto;
  padding-right: 0.45em;
}

@keyframes top-about-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.top .top-about .top-aboutInner {
  position: relative;
  z-index: 2;
  width: min(100% - 80px, 1200px);
  margin: 0 auto;

  @media only screen and (max-width: 1024px) {
    width: min(100% - var(--sidePadding_base_mbl) * 2, 700px);
  }

}

.top .top-about .top-about-content {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 600px);
  justify-content: space-between;
  align-items: start;
  gap: 60px;
  margin-top: 53px;

  @media only screen and (max-width: 1279px) {
    gap: 40px;
    grid-template-columns: 1fr auto;
  }

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

    grid-template-columns: 1fr;
    max-width: fit-content;
    margin: 35px auto 0;
  }
}

.top .top-about .top-about-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: keep-all;

  @media only screen and (max-width: 1024px) {
    gap: 0;
    font-size: 22px;
    line-height: 2.2;
    width: fit-content;
  }

  @media only screen and (max-width: 599px) {
    margin-left: 0;
  }
}
.top .top-about .top-about-lead>span {
  text-decoration: underline;
  text-decoration-thickness: 3px; /* 線の太さ */
  text-underline-offset: 6px; /* 線の位置 */
  text-decoration-color: var(--color_main); /* 線の色 */
  display: block;



}
.top .top-about .top-about-lead>span:nth-child(even) {
  text-decoration-color: var(--color_sub); /* 線の色 */
}
.top .top-about .top-about-text {
  margin-top: -8px;
}

.top .top-about .top-about-text>p {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  word-break: normal;
  line-height: calc(45 / 18);

  @media only screen and (max-width: 1024px) {
    line-height: calc(38 / 17);
    font-size: 17px;
  }
}

.top .top-about .top-about-text>p+p {
  margin-top: 43px;

  @media only screen and (max-width: 1024px) {
    margin-top: 38px;
  }
}

.top .top-about .top-about-detail {
  margin-top: 49px;

  @media only screen and (max-width: 1024px) {
    margin: 38px auto 0;
  }
}

/*
*   TOP CONTENTS
*----------------------------*/
.top .top-contents {
  position: relative;
  overflow: hidden;
  padding: 136px 0 192px;
  background: #fff url(../images/home/bg01.png) no-repeat center top/cover;

  @media only screen and (max-width: 1024px) {
    padding: 116px 0 116px;
    background-size: 1440px auto;
    background-repeat: repeat-y;
  }

  @media only screen and (max-width: 599px) {
    padding: 80px 0 110px;
  }
}

.top .top-contents::after {
  content: "";
  position: absolute;
  display: block;
  inset: auto 0 0 0;
  height: 194px;
  z-index: 0;
  background-color: #EDEFE9;
  pointer-events: none;

  @media only screen and (max-width: 599px) {
    height: 110px;
  }
}

.top .top-contents .top-contents-bg {
  position: absolute;
  display: block;
  inset: 172px 0 42px 220px;
  z-index: 1;
  background-color: #fbf5e5;
  border-radius: 30px 0 0 30px;
  pointer-events: none;

  @media only screen and (max-width: 1699px) {
    inset: 172px 0 42px 40px;
  }

  @media only screen and (max-width: 1440px) {
    inset: 172px 0 42px 40px;
  }

  @media only screen and (max-width: 1024px) {
    inset: 150px 0 30px 40px;
    border-radius: 20px 0 0 20px;
  }

  @media only screen and (max-width: 599px) {
    inset: 106px 0 30px 15px;
  }
}

.top .top-contents .top-contentsInner {
  position: relative;
  z-index: 2;
  width: min(100% - var(--sidePadding_base) * 2, 1200px);
  margin: 0 auto;

  @media only screen and (max-width: 1024px) {
    width: min(100% - var(--sidePadding_base_mbl) * 2, 700px);
  }

  @media only screen and (max-width: 599px) {
    width: min(100% - 32px * 2, 600px);
  }
}

.top .top-contents .top-contents-cardList {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 385px));
  justify-content: space-between;
  gap: 32px 22px;
  width: 100%;
  margin: 98px 0 0;
  padding: 0;
  list-style: none;

  @media only screen and (max-width: 1440px) {
    padding-left: 40px;
  }

  @media only screen and (max-width: 1279px) {
    justify-content: center;
    gap: 32px 28px;
  }

  @media only screen and (max-width: 1024px) {
    grid-template-columns: minmax(0, 500px);
    margin: 46px auto 0;
    padding-left: 0;
  }

  @media only screen and (max-width: 599px) {
    gap: 24px;
  }
}

.top .top-contents .top-contents-card {
  min-width: 0;
}

.top .top-contents .top-contents-cardLink {
  position: relative;
  display: block;
  overflow: hidden;
  /* min-height: 362px; */
  text-decoration: none;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  height: 100%;

  @media only screen and (max-width: 599px) {
    min-height: 0;
  }
}

.top .top-contents .top-contents-cardLink:hover {
  opacity: 1 !important;
}

.top .top-contents .top-contents-cardLink:focus-visible {
  outline: 2px solid #00865f;
  outline-offset: 5px;
}

.top .top-contents .top-contents-cardThumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 385 / 200;
  background-color: #f1f1f1;

  @media only screen and (max-width: 599px) {
    aspect-ratio: 310 / 140;
  }
}

.top .top-contents .top-contents-cardThumb::after {
  content: "";
  position: absolute;
  display: block;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
}

.top .top-contents .top-contents-card--orange .top-contents-cardThumb::after {
  background-color: #77380a;
}

.top .top-contents .top-contents-card--green .top-contents-cardThumb::after {
  background-color: #48672a;
}

.top .top-contents .top-contents-cardThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
    transition: none;
  }
}

.top .top-contents .top-contents-cardLink:hover .top-contents-cardThumb img {
  @media (any-hover: hover) {
    transform: scale(1.1);
  }
}

.top .top-contents .top-contents-cardBody {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 162px;
  padding: 28px 48px 37px;
  text-align: center;

  @media only screen and (max-width: 599px) {
    min-height: 0;
    padding: 24px 42px 28px;
  }
}

.top .top-contents .top-contents-cardBody::after {
  content: "";
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 17px;
  mask: url(../images/common/icon-arrow.svg) no-repeat center/contain;
  background-color: var(--color_font);
  transform: translateY(-50%);
  transition: right 0.3s ease-out;

  @media only screen and (max-width: 599px) {
    right: 10px;
    width: 13px;
    height: 13px;
  }
}

.top .top-contents .top-contents-cardLink:hover .top-contents-cardBody::after {
  @media (any-hover: hover) {
    right: 14px;
  }
}

.top .top-contents .top-contents-cardIcon {
  position: absolute;
  display: block;
  width: 50px;
  height: 28px;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease-out;
}

.top .top-contents .top-contents-cardTitle {
  display: block;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  /* white-space: nowrap; */
  word-break: break-word;

  @media only screen and (max-width: 599px) {
    font-size: 20px;
  }
}

.top .top-contents .top-contents-card--orange .top-contents-cardTitle {
  color: var(--color_main);
}

.top .top-contents .top-contents-card--green .top-contents-cardTitle {
  color: var(--color_sub);
}

.top .top-contents .top-contents-cardText {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.53;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  color: var(--color_font);

  @media only screen and (max-width: 599px) {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.55;
  }
}

.top .top-contents .top-contents-elephants {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  left: max(24px, calc(50% - 682px));
  bottom: 0;
  pointer-events: none;

  transform-origin: center bottom;

  @media only screen and (max-width: 1024px) {
    left: 20px;
  }

  @media only screen and (max-width: 599px) {
    left: 30px;
    bottom: 6px;
  }
}

.top .top-contents .top-contents-elephant {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 280 / 168;
  background: url(../images/home/elephant.png) no-repeat center/contain;
  animation: top-elephant-bob 4.8s ease-out infinite;
  transform-origin: center bottom;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
    transition: none;
  }
}

.top .top-contents .top-contents-elephant--large {
  width: 140px;
  scale: -1 1;

  @media only screen and (max-width: 599px) {
    width: 100px;
  }
}

.top .top-contents .top-contents-elephant--small {
  width: 110px;
  scale: -1 1;
  animation-delay: 0.45s;

  @media only screen and (max-width: 599px) {
    width: 80px;
  }
}

/*
*   TOP PICKUP BANNERS
*----------------------------*/
.top .top-banners {
  position: relative;
  padding: 46px 0 157px;
  background-color: #EDEFE9;
  z-index: 1;

  @media only screen and (max-width: 1024px) {
    padding: 92px 0 104px;
  }

  @media only screen and (max-width: 599px) {
    padding: 58px 0 112px;
  }
}

.top .top-banners::after {
  content: "";
  position: absolute;
  display: block;
  inset: auto 0 -14px 0;
  z-index: 3;
  height: 35px;
  background: url(../images/home/bg02.png) repeat-x center bottom / auto 35px;
  pointer-events: none;

  @media only screen and (max-width: 599px) {
    inset: auto 0 -3px 0;
    height: 27px;
    background: url(../images/home/bg02.png) repeat-x center bottom / auto 27px;

  }
}

.top .top-banners .top-bannersInner {
  width: min(100% - 80px, 1200px);
  margin: 0 auto;

  @media only screen and (max-width: 1024px) {
    width: min(100% - 40px, 700px);
  }

  @media only screen and (max-width: 599px) {
    width: min(100% - 40px, 335px);
  }
}

.top .top-banners .top-banners-group+.top-banners-group {
  margin-top: 80px;
  padding-top: 88px;
  border-top: 1px solid #BABABA;

  @media only screen and (max-width: 1024px) {
    margin-top: 57px;
    padding-top: 67px;
  }
}

.top .top-banners .top-banners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 30px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;

  @media only screen and (max-width: 1024px) {
    gap: 20px;
  }

  @media only screen and (max-width: 599px) {
    gap: 13px;
    margin-top: 36px;
  }
}

.top .top-banners .top-banners-group--link .top-banners-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));

  @media only screen and (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media only screen and (max-width: 599px) {
    grid-template-columns: 1fr;
  }
}

.top .top-banners .top-banners-group--sponsor .top-banners-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 40px;

  @media only screen and (max-width: 1024px) {
    gap: 20px;
  }

  @media only screen and (max-width: 599px) {
    grid-template-columns: 1fr;
  }
}

.top .top-banners .top-banners-item {
  min-width: 0;
}

.top .top-banners .top-banners-card {
  display: block;
  overflow: hidden;
  width: 100%;
  text-decoration: none;
  background-color: #fff;
}

.top .top-banners a.top-banners-card {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  border: 1px solid #BABABA;

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.top .top-banners a.top-banners-card:hover {
  opacity: 1 !important;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.14);

  @media (prefers-reduced-motion: reduce) {
    transform: none;
  }
}

.top .top-banners a.top-banners-card:focus-visible {
  outline: 2px solid #00865f;
  outline-offset: 5px;
}

.top .top-banners .top-banners-card img {
  display: block;
  width: 100%;
  height: auto;
}
