@charset "UTF-8";

/* =========================================================
  top
========================================================= */

/* layout
----------------------------------------------- */
#pageHeader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1920px;
  min-width: 1840px;
  height: 459px;
  background: url(/_themes/iseki/site/images/header-ring.png) right top / auto 100% no-repeat;
  pointer-events: none;
}

#pageNav {
  display: none;
}

#main {
  padding-bottom: 68px;
}

@media only screen and (max-width: 834px) {
  #pageHeader::before {
    left: 100%;
    transform: translate(-85%,-5%);
    width: 37%;
    max-width: 155px;
    min-width: 0;
    background-size: 100% auto;
  }

  #main {
    padding-top: 0;
    padding-bottom: 52px;
  }
}

@media only screen and (max-width: 390px) {
  #pageFooter::after {
    width: 100%;
    height: auto;
    aspect-ratio: 3/7;
    background-position: 68% bottom;
    background-size: auto 125%;
  }
}

/* mainVisual
----------------------------------------------- */
#mainVisual {
  position: relative;
}

#mainVisual::before {
  content: "";
  position: absolute;
  bottom: -203px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1920px;
  min-width: 1840px;
  height: 468px;
  background: url(/_themes/iseki/site/images/keyvisual-ring.png) left bottom / auto 100% no-repeat;
  pointer-events: none;
}

#mainVisual .pieceHeader {
  position: absolute;
  top: 42.5%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  max-width: 1230px;
  padding: 0 15px;
}

#mainVisual .pieceHeader h2 {
  display: flex;
  flex-direction: column;
}

#mainVisual .pieceHeader h2 picture:nth-child(1) img {
  max-width: min(34vw,636px);
}

#mainVisual .pieceHeader h2 picture:nth-child(2) img {
  max-width: min(23vw,436px);
  transform: translateX(min(0.6vw,12px));
}

#mainVisual .pieceBody > * {
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 820;
  margin: 0 auto;
}

#mainVisual .pieceBody img {
  width: 100%;
}

@media only screen and (max-width: 834px) {
  #mainVisual::before {
    bottom: 0;
    left: 0;
    z-index: 0;
    transform: translateY(19%);
    width: 42%;
    max-width: 220px;
    min-width: 0;
    background-size: 100% auto;
  }

  #mainVisual .pieceHeader {
    top: 46%;
    padding: 0;
  }

  #mainVisual .pieceHeader h2 picture:nth-child(1) img {
    width: 98vw;
    max-width: 636px;
  }

  #mainVisual .pieceHeader h2 picture:nth-child(2) img {
    transform: translateY(-30%);
    width: 78vw;
    max-width: 436px;
  }
}

/* important
----------------------------------------------- */
#important {
  transform: translateY(-37%);
  margin-bottom: min(4vw,75px);
  padding: 23px 30px 23px 40px;
  border-left: 6px solid var(--ac-color-red-1);
  box-shadow: 144px 172px 90px rgba(176, 176, 176, 0.01), 81px 97px 76px rgba(176, 176, 176, 0.05), 36px 43px 56px rgba(176, 176, 176, 0.09), 9px 11px 31px rgba(176, 176, 176, 0.1);
  background: var(--mono-color-9);
}

#important .pieceContainer {
  display: flex;
  gap: 40px;
}

#important .pieceHeader {
  flex-shrink: 0;
}

#important .pieceHeader h2 {
  color: var(--ac-color-red-1);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: "Noto Serif JP", serif;
}

#important .pieceBody {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 40px;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.8;
}

#important .pieceBody .detail p + p {
  margin-top: 1em;
}

#important .pieceBody .more {
  margin-left: auto;
}

#important .pieceBody .more a {
  padding-right: 32px;
  background: url(/_themes/iseki/site/images/arrow01.svg) right center no-repeat;
  color: inherit;
}

#important .pieceBody .more a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 834px) {
  #important {
    transform: translateY(-20px);
    margin-bottom: 24px;
    padding: 20px 26px;
  }

  #important .pieceContainer {
    flex-direction: column;
    gap: 10px;
  }
}

/* topNavi
----------------------------------------------- */
#topNavi {
  position: relative;
  margin-bottom: min(10vw,136px);
}

#topNavi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1920px;
  min-width: 1740px;
  height: 100%;
  background: url(/_themes/iseki/site/images/top-bg-rt.png) right 75% / auto 377px no-repeat;
}

#topNavi ol {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 30px;
  list-style: none;
  counter-reset: number;
}

#topNavi li {
  flex-basis: calc((100% - 60px) / 3);
}

#topNavi li a {
  display: block;;
  color: inherit;
  text-align: center;
}

#topNavi li img {
  max-width: 100%;
}

#topNavi li span::before {
  counter-increment: number;
  content: "0"counter(number)"";
  display: block;
  margin: 12px 0 8px;
  color: var(--ac-color-red-1);
  font-weight: 400;
  font-family: "EB Garamond", serif;
}

#topNavi li span {
  display: block;
  font-weight: 600;
  font-size: 1.5rem;
  font-family: "Noto Serif JP", serif;
  text-align: left;
  line-height: 1.2;
}

#topNavi li span::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 12px;
  margin: 0 0 3px 10px;
  background: url(/_themes/iseki/site/images/arrow01.svg) center center no-repeat;
  transition: transform 0.25s ease-in-out;
}

#topNavi li:hover span::after {
  transform: translateX(8px);
}


@media only screen and (max-width: 834px) {
  #topNavi {
    margin-bottom: 56px;
  }

  #topNavi ol {
    flex-direction: column;
    gap: 32px;
  }
}

/* news
----------------------------------------------- */
#news {
  position: relative;
  margin-bottom: min(11vw,144px);
  background: url(/_themes/iseki/site/images/news-gold.png) left top / 181px auto no-repeat;
}

#news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translate(-50%,-39%);
  width: 100vw;
  max-width: 1920px;
  min-width: 1740px;
  height: 391px;
  background: url(/_themes/iseki/site/images/top-bg-lt.png) left top / auto 391px no-repeat;
}

#news .pieceContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
}

#news .pieceHeader::before {
  content: "NEWS";
  display: block;
  margin-bottom: 15px;
  color: var(--ac-color-red-1);
  font-weight: 400;
  font-size: 3rem;
  font-family: "EB Garamond", serif;
  line-height: 1;
}

#news .pieceHeader h2 {
  padding-left: 22px;
  background: url(/_themes/iseki/site/images/ring-news.png) left center / 16px auto no-repeat;
  font-family: "Noto Serif JP", serif;
}

#news .pieceBody {
  flex-grow: 1;
  max-width: 943px;
  font-size: 1.125rem;
}

#news .pieceBody .docs {
  border-top: 1px solid var(--mono-color-8);
}

#news .pieceBody .docs li {
  border-bottom: 1px solid var(--mono-color-8);
}

#news .pieceBody .docs li a {
  display: flex;
  gap: 10px 40px;
  padding: 33px 33px 33px 0;
  background: url(/_themes/iseki/site/images/arrow02.svg) right 16px center no-repeat;
  color: inherit;
  transition: opacity 0.25s ease-in-out;
}

#news .pieceBody .docs li a:hover {
  opacity: 0.5;
}

#news .pieceBody .docs li a .update_date {
  flex-shrink: 0;
  color: var(--mono-color-3);
}

#news .pieceBody .more {
  padding-top: 20px;
  text-align: right;
}

#news .pieceBody .more a {
  padding-right: 32px;
  background: url(/_themes/iseki/site/images/arrow01.svg) right center no-repeat;
  color: inherit;
}

#news .pieceBody .more a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 834px) {
  #news {
    margin-bottom: 57px;
  }

  #news .pieceContainer {
    flex-direction: column;
  }

  #news .pieceBody .docs li a {
    flex-direction: column;
    padding: 20px 33px 20px 0;
  }
}

/* recommend
----------------------------------------------- */
#recommend {
  margin-bottom: min(13vw,208px);
}

#recommend ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  position: relative;
}

#recommend ul::before {
  content: "";
  position: absolute;
  top: -39px;
  bottom: -50px;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1392px;
  background:
   url(/_themes/iseki/site/images/banner-gold-left.png) left top / 181px auto no-repeat,
   url(/_themes/iseki/site/images/banner-gold-right.png) right bottom / 181px auto no-repeat;
}

#recommend li {
  flex-basis: 384px;
  position: relative;
}

#recommend li a {
  color: inherit;
  transition: opacity 0.25s ease-in-out;
}

#recommend li a:hover {
  opacity: 0.7;
}

#recommend li div {
  position: absolute;
  top: 30%;
  left: 5%;
  padding-right: 39px;
  background: url(/_themes/iseki/site/images/arrow01.svg) right bottom 7px no-repeat;
  font-size: 1.125rem;
}

#recommend li div span {
  display: block;
  margin-bottom: 3px;
  color: var(--ac-color-red-1);
  font-weight: 400;
  font-size: 0.875rem;
  font-family: "EB Garamond", serif;
}

@media only screen and (max-width: 834px) {
  #recommend {
    margin-bottom: 64px;
  }

  #recommend ul::before {
    top: -210px;
    bottom: -210px;
    transform: translateX(-50%) scale(0.8);
    transform-origin: center;
    min-width: 960px;
    background-size: auto;
  }

  #recommend li div {
    left: 10px;
    padding-right: 30px;
  }
}

/* relationBanner
----------------------------------------------- */
#relationBanner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  position: relative;
  padding: 32px;
  background: rgba(255,255,255,0.6);
}

#relationBanner li {
  flex-basis: 240px;
}

#relationBanner a {
  display: block;
  border: 2px solid transparent;
  transition: all 0.25s ease-in-out;
}

#relationBanner a:hover {
  border-color: var(--mono-color-1);
}

@media only screen and (max-width: 834px) {
  #relationBanner ul {
    padding: 32px 10px;
  }

  #relationBanner li {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media only screen and (max-width: 390px) {
  #relationBanner ul {
    flex-direction: column;
    align-items: center;
  }

  #relationBanner li {
    flex-basis: 0;
    max-width: 240px;
  }
}