@charset "UTF-8";
:root {
  --bg-dur: 1.25s;
  --txt-dur: 0.7s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --stagger: 0.08s;
}

/* ----------------------------------------------------------------
FV
---------------------------------------------------------------- */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

/* 背景画像レイヤー */
.fv_bg {
  position: absolute;
  inset: 0;
  background: url("/image/top/mv.jpg") center/cover no-repeat;
  transform: scale(0.6);
  opacity: 0;
  clip-path: circle(0% at 50% 50%);
  animation: bgReveal var(--bg-dur) var(--ease) forwards;
  will-change: transform, opacity, clip-path;
}

/* テキストラッパー */
.fv_inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.6rem;
}

.fv_inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(34, 19, 3, 0.85) 0%, rgba(34, 19, 3, 0.6) 30%, rgba(34, 19, 3, 0) 100%);
  opacity: 0;
  clip-path: inset(50% 0 0 0);
  animation: gradUp var(--txt-dur) var(--ease) forwards 0.55s;
  will-change: opacity, clip-path;
}

.fv_title {
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  filter: blur(8px);
  animation: txtIn var(--txt-dur) var(--ease) forwards 1.2s;
  line-height: 1;
}
.fv_title img {
  width: 400px;
}
.top_slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: -99;
  right: 0;
  bottom: 0;
}
.slick-slide img {
  object-fit: cover;
  height: 100vh;
  max-width: 1920px;
}
@media (max-width: 768px) {
  .fv_title img {
    width: 250px;
  }
}

.fv_sub {
  margin: 0 0 60px;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(10px);
  animation: txtIn var(--txt-dur) var(--ease) forwards calc(1.4s + var(--stagger) * 1);
}
.fv_sub img {
  width: 400px;
}
@media (max-width: 768px) {
  .fv_sub img {
    width: 250px;
  }
}

.fv_lead {
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  animation: txtIn var(--txt-dur) var(--ease) forwards calc(1.6s + var(--stagger) * 2);
}

/* アニメーション完了時のフォールバック（JavaScriptで.loadedクラスが追加された場合） */
body.loaded .fv_bg {
  animation: bgReveal var(--bg-dur) var(--ease) forwards;
}

body.loaded .fv_inner::before {
  animation: gradUp var(--txt-dur) var(--ease) forwards 0.55s;
}

body.loaded .fv_title {
  animation: txtIn var(--txt-dur) var(--ease) forwards 1.2s;
}

body.loaded .fv_sub {
  animation: txtIn var(--txt-dur) var(--ease) forwards calc(1.4s + var(--stagger) * 1);
}

body.loaded .fv_lead {
  animation: txtIn var(--txt-dur) var(--ease) forwards calc(1.6s + var(--stagger) * 2);
}

/* Keyframes ------------------- */
@keyframes bgReveal {
  0% {
    transform: scale(0.6);
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
    clip-path: circle(140% at 50% 50%);
  }
}
@keyframes gradUp {
  0% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
@keyframes txtIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.irei-svg {
  display: block;
  line-height: 0;
  margin: 0 auto;
  overflow: visible;
}

.irei-svg path {
  stroke: #fff;
  fill: #fff;
  fill-opacity: 0;
  stroke-width: var(--stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: drawFill 1.2s var(--ease) forwards;
  animation-delay: calc(var(--ord) * var(--delay-step));
  opacity: 0;
}

/* アニメ開始*/
body.logo-run .irei-svg path {
  opacity: 1;
}

@keyframes drawFill {
  0% {
    stroke-dashoffset: var(--len);
    fill-opacity: 0;
  }
  70% {
    stroke-dashoffset: 0;
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .irei-svg path {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    fill-opacity: 1 !important;
  }
}
/* ===== Intro ===== */
.intro .intro__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr min(38vw, 420px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 768px) {
  .intro .intro__inner {
    display: block;
    max-width: 600px;
  }
}

.intro__text {
  font-size: clamp(0.95rem, 0.8rem + 0.3vw, 1.05rem);
  line-height: 1.9;
  margin: 0;
  color: #333;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .intro__text {
    margin-top: 20px;
  }
}

.intro__figure {
  margin: 0;
}
.intro__figure img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .intro__figure {
    margin: 40px auto 0;
    max-width: 400px;
  }
}

/* ===== Purchase ===== */
.purchase {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.15);
  padding: 0;
}
.purchase .purchase__inner {
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr min(38vw, 450px);
  gap: clamp(24px, 4vw, 64px);
  margin: 0 auto;
  padding: 70px 40px;
}
@media (max-width: 768px) {
  .purchase .purchase__inner {
    display: block;
    padding: 40px 30px;
    max-width: 600px;
  }
}

/* ===== blocks ===== */
.blocks {
  position: relative;
  overflow: hidden;
  z-index: 1;
  max-width: none;
  width: 100%;
  padding: 70px 0;
}
.blocks::before {
  content: "IREI CYCLE OF METALS  IREI CYCLE OF METALS";
  position: absolute;
  top: 50%;
  left: 0;
  width: 230%;
  transform: translateX(100%) translateY(-50%);
  font-size: clamp(6rem, 12vw, 14rem);
  font-family: "Albert Sans", sans-serif;
  font-weight: 900;
  color: rgba(23, 24, 75, 0.04);
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(0) translateY(-50%);
  animation: marquee 60s linear infinite paused;
  animation-play-state: paused;
  display: block;
  background: linear-gradient(to bottom, #bdd4f3, #336dbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  opacity: 0.2;
}
.blocks.is-visible::before {
  animation-play-state: running;
}
.blocks .blocks__inner {
  width: calc(100% - 80px);
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(48px, 8vw, 120px);
}
.blocks .block-card {
  z-index: 1;
  border-radius: 20px;
  padding: 40px 40px 60px 40px;
  border: 1px solid #e9ecee;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
}
.blocks .block-card:after {
  position: absolute;
  content: "";
  width: 30px;
  height: 8px;
  right: 25px;
  bottom: 30px;
  background-image: url(/image/common/icon_arrow_blue.svg);
  transform: translateX(0);
  transition: transform 0.4s ease-in-out;
}
.blocks .block-card__title {
  color: #1c1c1c;
  font-size: clamp(18px, 1.4vw, 22px);
}
.blocks figure {
  margin: 0 auto 20px;
  overflow: hidden;
  text-align: center;
}
.blocks figure img {
  transition: transform 0.4s ease-in-out;
}
.blocks .block-card__link {
  z-index: 1;
  text-decoration: none;
  color: #1c1c1c;
  position: relative;
}
.blocks .block-card__link:hover {
  opacity: 1;
}
.blocks .block-card__link:hover .block-card {
  background: rgba(255, 255, 255, 0.8);
}
.blocks .block-card__link:hover .block-card img {
  opacity: 1;
  transform: scale(1.1);
}
.blocks .block-card__link:hover .block-card:after {
  transform: translateX(5px);
}
@media (max-width: 768px) {
  .blocks::before {
    top: 35%;
  }
  .blocks .blocks__inner {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }
  .blocks .block-card {
    padding: 20px 30px 50px;
    max-width: 600px;
    margin: 0 auto;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0%) translateY(-50%);
  }
  to {
    transform: translateX(-100%) translateY(-50%);
  }
}
/* ===== products ===== */
.products {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
}
.products:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 80%;
  max-height: 460px;
  background: url("/image/top/bg_products.jpg") center/cover no-repeat;
  transform: translateY(-50px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  z-index: -1;
}
.products.is-visible:before {
  transform: translateY(0);
  opacity: 1;
}
.products .products__inner {
  padding: 70px 0;
}
.products .products__list {
  max-width: 830px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin: 0 auto;
  padding: 60px 40px 0;
}
.products .products__title {
  color: #fff;
  text-align: center;
}
.products .sec__text {
  color: #fff;
  text-align: center;
}
.products .products-card {
  position: relative;
}
.products .products-card figure {
  margin: 0 auto;
  overflow: hidden;
  opacity: 1;
}
.products .products-card figure img {
  transition: transform 0.4s ease-in-out;
}
.products .products-card__title {
  position: absolute;
  display: block;
  margin: 0 auto;
  width: 90%;
  left: 0;
  right: 0;
  bottom: -20px;
  padding: 18px 30px;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #d5dbe9;
  color: #17184b;
  letter-spacing: 0.12em;
}
.products .products-card__title:before {
  position: absolute;
  content: "";
  width: 30px;
  height: 8px;
  bottom: 25px;
  right: 20px;
  transform: translateX(0);
  transition: transform 0.4s ease-in-out;
  background-image: url(/image/common/icon_arrow_blue.svg);
}
.products .products__link:hover figure {
  opacity: 1;
}
.products .products__link:hover figure img {
  opacity: 1;
  transform: scale(1.1);
}
.products .products__link:hover .products-card__title {
  border: 1px solid #b0bbd4;
}
.products .products__link:hover .products-card__title:before {
  transform: translateX(5px);
}
@media (max-width: 768px) {
  .products:before {
    height: 60%;
    height: 350px;
  }
  .products .products__inner {
    display: block;
    padding: 40px 30px;
  }
  .products .products__list {
    grid-template-columns: 1fr;
    max-width: 500px;
    padding: 0px 0;
    margin: 0 auto 0;
  }
  .products .products__link {
    margin: 30px auto 0;
  }
  .products .products-card {
    position: relative;
  }
  .products .products-card figure img {
    width: 100%;
  }
}


/* ===== eco action ===== */
.eco {
  position: relative;
  display: block;
  padding: 200px 0 0;
}
.eco:before {
  position: absolute;
  content: "";
  width: 545px;
  height: 180px;
  top: 30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: url("/image/top/top_earth.jpg") center/contain no-repeat;
  transform: translateY(-20px);
  opacity: 0;
  filter: blur(4px);
}
.eco.is-visible::before {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
}
@media (max-width: 768px) {
  .eco:before {
    width: 100%;
    max-height: 120px;
    top: 80px;
  }
}

.eco__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr min(66vw, 940px);
  gap: clamp(24px, 4vw, 64px);
}
.eco__inner .eco__image {
  width: 128px;
  height: 98px;
  margin: 0 auto;
}
.eco__inner .eco__image figure {
  margin: 0 auto;
}
.eco__inner .eco__caption {
  margin-top: 5px;
  font-size: 13.7px;
  letter-spacing: 0px;
  text-align: center;
  color: #017b41;
}
.eco__inner .eco__text {
  color: #057c44;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: bold;
  letter-spacing: 0.15em;
  margin-bottom: 15px;
}
.eco__inner .eco__mintext {
  letter-spacing: 0.15em;
}
@media (max-width: 768px) {
  .eco__inner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .eco__inner .eco__text {
    margin-top: 20px;
  }
}

/* ===== challenge ===== */
.challenge {
  margin: 50px auto 0;
  padding: 0;
  position: relative;
}
.challenge:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url(/image/top/bg-repeat.jpg) repeat;
}

.challenge__inner {
  display: grid;
  grid-template-columns: 1fr min(45vw, 640px);
  gap: 0;
}
.challenge__inner figure {
  margin: 0;
  overflow: hidden;
}
.challenge__inner figure img {
  height: 100%;
}
.challenge__inner .challenge__textarea {
  padding: 50px 0;
  text-align: center;
}
.challenge__inner .challenge__title {
  color: #1c1c1c;
}
.challenge__inner .sec__btn {
  width: 290px;
  margin: 40px auto 0;
}
@media (max-width: 768px) {
  .challenge__inner {
    grid-template-columns: 1fr;
  }
  .challenge__inner figure {
    margin: 0;
    overflow: hidden;
  }
  .challenge__inner figure img {
    width: 100%;
    height: 100%;
  }
}

/* ===== news ===== */
.news .news__inner {
  position: relative;
  display: grid;
  margin: 0 auto;
  grid-template-columns: 1fr min(66vw, 940px);
  gap: clamp(24px, 4vw, 64px);
}
.news .news__textarea {
  text-align: center;
  max-width: 150px;
}
.news .news__item {
  position: relative;
}
.news .news__item:before {
  position: absolute;
  content: "";
  top: 0;
}
.news .news__link {
  display: grid;
  margin: 0 auto;
  padding: 35px 20px;
  grid-template-columns: 1fr min(54vw, 770px);
  gap: clamp(20px, 2vw, 50px);
  text-decoration: none;
  color: #1c1c1c;
  align-items: center;
}
.news .news__date {
  border-right: 1px solid #d8d8d8;
  padding-right: 20px;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
}
.news .news__date span {
  display: block;
}
@media (max-width: 768px) {
  .news .news__inner {
    grid-template-columns: 1fr;
    padding-bottom: 100px;
  }
  .news .news__textarea {
    margin: 0 auto;
  }
  .news .news__link {
    align-items: flex-start;
  }
  .news .sec__btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

/* ===== movie ===== */
.movie {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 620px;
  overflow: hidden;
  margin-bottom: 70px;
}
.movie:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/image/top/bg-movie.png) no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  opacity: 0;
}
.movie.is-visible:before {
  filter: blur(0);
  opacity: 1;
  transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
}
@media (max-width: 768px) {
  .movie {
    height: 350px;
    margin-bottom: 50px;
  }
}

/* ===== map ===== */
.map iframe {
  width: 100%;
  height: 500px;
}
@media (max-width: 768px) {
  .map iframe {
    height: 500px;
  }
}
