/* 全体 */
@media screen and (max-width: 768px) {
  .pw-20 {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ======================
    Hero Slider
======================= */
.hero-slider {
  height: 100vh;
  overflow: hidden;
  position: fixed;
  width: 100%;
  z-index: -1;
}

.hero-slider .image-slider {
  aspect-ratio: 16 / 9;
  height: 100%;
  position: relative;
  width: 100%;
}

.hero-slider .slides {
  height: 100%;
  position: relative;
  width: 100%;
}

.hero-slider .slide {
  height: 100%;
  left: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

/* オーバーレイ上にテキストを表示 */
.hero-overlay {
  position: absolute;
  text-align: center;
  color: var(--color-white);
  z-index: 2;
  padding: 2rem;
}
.hero-overlay h1 {
  font-family: Montserrat;
  font-size: var(--font-size-slogan);
  font-weight: 600;
  line-height: 1.0;
  text-align: left;
}
.hero-overlay h1 span{
  color: var(--color-primary);
}
.hero-overlay p {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
}
.hero-overlay.text {
  top: 130px;
}
.hero-overlay.logo {
  bottom: 10px;
  text-align: left;
  width: 100%;
}
.hero-overlay.logo img {
  width: 200px;
}

/* レスポンシブMobile用（～768px） */
@media screen and (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 3rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .hero-overlay.logo img {
    width: 120px;
  }
}

/* レスポンシブMobile用（～768px） */
@media screen and (max-width: 768px) {
}

/* ======================
    Informatoion セクション
======================= */
.information-section {
  background: rgba(227, 226, 219, 0.8);
}
.od-information-title {
  width: 30%;
}
.od-information-list {
  flex-grow: 1;
}
.od-information-list a {
  color: var(--color-text-black);
}

/* レスポンシブMobile用（～768px） */
@media screen and (max-width: 768px) {
  .information-section .container > div.mt-50 {
    margin-top: 0;
  }
  .information-section .container .is-flex {
    flex-direction: column;
  }
}

/* ======================
    Mission セクション
======================= */
.mission-section {
  background: rgba(227, 226, 219, 0.8);
}

/* ======================
    Quality セクション
======================= */
.quality-section {
  background: rgba(227, 226, 219, 0.8);
}
.quality-section .quality-item img {
  display: block; /* 隙間を埋めるため */
}
.quality-section .quality-item a {
  border-radius: 0;
  justify-content: space-between;
  width: 100%;
}

/* ======================
    Products セクション
======================= */
.products-section {
  background: rgba(227, 226, 219, 0.8);
}
.products-section .product-item img {
  display: block; /* 隙間を埋めるため */
}
.products-section .product-item a {
  border-radius: 0;
  justify-content: space-between;
  width: 100%;
}

/* レスポンシブMobile用（～768px） */
@media screen and (max-width: 768px) {
  .products-section .grid-col-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-section .product-item a {
    padding: 1rem 1rem;
  }
  .products-section .product-item a span:first-child {
    display: none;
  }
  .products-section .product-item a .material-symbols-outlined {
    font-size: 1.2rem;
    margin-left: 0;
  }
}

/* ======================
    施工事例、環境への貢献 セクション
======================= */
.achievements-environment-section {
  background: var(--color-green);
  color: var(--color-white);
  height: 400vh;
  padding: 2rem 1rem 4rem 1rem;
  position: relative;
}
.achievements-environment-section .achievements-environment-sticky {
  position: sticky;
  top: 0;
  margin: 0 auto;
  max-width: 1200px;
  height: 100vh;
  overflow: hidden;
}
.achievements-environment-section .sticky-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}
.achievements-environment-section .sticky-slide.active {
  opacity: 1;
}
.achievements-environment-section .headline--secondary {
  color: var(--color-white);
}
.achievements-environment-section .slide-content {
  align-items: center;
  gap: 32px;
  height: 100%;
  width: 100%;
}
.achievements-environment-section .slide-content .slide-left {
  width: 50%;
}
.achievements-environment-section .slide-content .slide-left img {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
}
.achievements-environment-section .slide-content .slide-right {
  width: 50%;
}
.achievements-environment-section .slide-content .slide-right .slide-content-text-message {
  font-size: 1.2rem;
  font-weight: bold;
}

/* レスポンシブMobile用（～768px） */
@media screen and (max-width: 768px) {
  .achievements-environment-section .slide-content {
    flex-direction: column;
    gap: 8px;
  }
  .achievements-environment-section .slide-content .slide-left {
    align-items: center;
    display: flex;
    height: 300px;
    margin-top: 70px;
    overflow: hidden;
    width: 100%;
  }
  .achievements-environment-section .slide-content .slide-left img {
    max-height: unset;
    height: unset;
  }
  .achievements-environment-section .slide-content .slide-right {
    width: 100%;
  }
  .achievements-environment-section .slide-content .slide-right .slide-content-text-message {
    margin-top: 0;
  }
}

/* ======================
    50ANNIVERSARY リンク
======================= */
.info-box {
  bottom: 20px;
  padding: 1.5rem 0.5rem;
  position: fixed;
  right: 20px;
  z-index: 1000;
  width: auto;
}

/* 閉じるボタン */
.info-box-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2.0rem;
  line-height: 1;
  position: absolute;
  right: 0px;
  top: 0px;
}

.info-box.mobile {
  background-color: var(--color-primary);
  border-radius: 10px 0 0 10px;
  display: block;
  height: 160px;
  padding: 8px;
  position: fixed;
  right: 0px;
  top: 60%;
  transform: translateY(-50%);
  transition: top 0.6s ease;
  width: auto;
  z-index: 1000;
}

.info-box.mobile.scrolled {
  top: 85%;
}

/* リンク */
.info-box.mobile .info-box-link img {
  height: 100%;
}
.info-box.fc {
  background-color: var(--color-green);
  top: 40%;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .info-box.mobile {
    top: auto;
    bottom: 80px;
  }
  .info-box.fc {
    top: auto;
    bottom: 250px;
  }
}
