@charset "UTF-8";

body {
  background-color: #e7f6ef;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}



/*  */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 119, 72, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.menu-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform: scale(0.95);
  transition: transform 0.5s ease;
}

#menu-toggle:checked~.menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

#menu-toggle:checked~.menu-overlay .menu-content {
  transform: scale(1);
}

/* ===== Overral ===== */


.menu-content a {
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-content a:hover {
  opacity: 1;
  transform: translateY(-2px);
}


.menu-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}




/* -----ハンバーガー --------------------------------------------------------------------*/
.menu-wrapper {
  position: relative;
}


.menu-icon {
  width: 40px;
  height: 30px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  cursor: pointer;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 13px;
}

.menu-icon span:nth-child(3) {
  bottom: 0;
}

.menu-icon.scrolled span {
  background-color: #037748;
}

#menu-toggle:checked~header .menu-icon span:nth-child(1) {
  top: 13px;
  transform: rotate(45deg);
}

#menu-toggle:checked~header .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked~header .menu-icon span:nth-child(3) {
  bottom: auto;
  top: 13px;
  transform: rotate(-45deg);
}


/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1;
  background: rgba(3, 119, 72, 0.85);
  z-index: 900;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition:
    opacity 0.6s cubic-bezier(.4, 0, .2, 1),
    transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

#menu-toggle:checked~.overlay {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}


.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: #e7f6ef;
  z-index: 1000;
  transform: translateX(-100%);
  opacity: 0;

  transition:
    transform 0.6s cubic-bezier(.4, 0, .2, 1),
    opacity 0.4s ease;
}

#menu-toggle:checked~header .menu {
  transform: translateX(0);
  opacity: 1;
}

#menu-toggle:checked~header .menu {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.15s;
}


#menu-toggle:checked~.menu {
  left: 0;
}

.menu ul {
  list-style: none;
  padding: 60px 20px;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.menu a:hover {
  color: #007bff;
}

/* ----------ハンバーガー終了-------------------------------------------------------- */





/* --------Top-Page--------------------------------------------------------------------*/


.header-top {
  position: relative;
}


.logo {
  width: 10%;
  height: auto;
  object-fit: contain;
}

.hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.hero-text {
  color: #fff;
  font-size: 2.7rem;
  font-weight: bold;
  line-height: 1.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 101, 52, 0.5);
  z-index: 1;
}

/*-----Top-Page終了-------------------------------------------------------------------------*/



/*----当別未来フェスとは------------------------------------------------------ */
.zero-box {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  margin-top: 20vh;
}

.zero-contents {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 70%;
  max-width: 1000px;
  box-sizing: border-box;
}

.zero-img {
  width: 50%;
}

.zero {
  flex: 1;
}

.zero-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.zero-title h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #037748;
}

.zero-title p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.arrow-icon-box a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #39B44A;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

.arrow-icon-box a:hover {
  opacity: 0.5;
}

.arrow-icon {
  margin-right: 5px;
}

/* -------------当別未来フェスとは------------------------------------------- */


/* -------------スライダー-------------------------------------------------- */

.project-top {
  margin-top: 20vh;
}

.analysis-slider {
  position: relative;
  width: 70%;
  border-radius: 20px;
  aspect-ratio: 5 / 3;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 10vh;
}
.analysis-slider img {
  width: 100%;
  border-radius: 20px;
}

.slide-page.active {
  display: block;
}

.slide-page {
  display: none;
  text-align: center;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-30%);
  background-color: #39B44A;
  color: #ffffff;
  border: none;
  font-size: 1.3rem;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.prev:hover,
.next:hover {
  opacity: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* -----------------スライダー終了-------------------------------------------------------------- */






/* ゼロカーボンクイズ */

.quiz-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20vh;
  padding: 38px 20px;
}

.quiz-wrapper {
  width: 70%;
  background-color: #ffffff;
  border-radius: 40px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quiz-title {
  font-size: 1.8em;
  color: #037748;
  font-weight: bold;
  margin-bottom: 10px;
}

.quiz-subtitle {
  font-size: 1em;
  color: #333;
  margin-bottom: 40px;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  justify-items: center;
}

.quiz-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quiz-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.quiz-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.header-right-second {
  background-color: #ffffff;
  padding-top: 8vh;
  border-radius: 0 15px 15px 0;
  display: flex;
  justify-content: center;
}


.arrow-title {
  margin-top: 20px;
  color: #39B44A;
  font-weight: bold;
  font-size: 1rem;
}

.header-right-second a{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #39B44A;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

.header-right-second a:hover{
  opacity: 0.5;
}

/* ゼロカーボンクイズ終了 */








/* 900px */


@media screen and (max-width: 900px) {
  .zero-contents {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
  }

  .zero-img {
    margin-top: 5%;
    width: 70%;
  }

  .zero-title h2 {
    font-size: 1.2rem;
    text-align: center;
  }
  .consider-grid {
    grid-template-columns: 1fr;
  }

}



/* ------ゼロカーボン構想 -----------------------*/
.consider-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20vh;
  padding: 60px 20px;
}


.consider-wrapper {
  width: 70%;
  background-color: #ffffff;
  border-radius: 40px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.consider-title {
  color: #037748;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
}

.consider-subtitle {
  font-size: 1em;
  color: #333;
  margin-bottom: 40px;
}
.consider-grid {
  display: flex;
  justify-content: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.consider-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.consider-card:hover{
  transform: scale(1.10); 
}

.consider-card h3 {
  margin: 20px 0 10px;
  font-size: 1.1rem;
  color: #037748;
}

.consider-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

.consider-img{
  width: 100%;
  border-radius: 15px;
}


.consider-line{
  background-color: #39B44A;
  height: 2px;
  border: none;
  margin-top: 30px;

}
.consider-note {
  margin-top: 40px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

/* -----ゼロカーボン構想終了-------- */




/*-----写真スライドショー--------------------*/
/* --- 写真スライドショー セクション全体のスタイル --- */
.photo-slider {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 10vh auto; 
  padding: 0 60px;  
  box-sizing: border-box;
}


.slider-viewport {
  overflow: hidden; 
  width: 100%;
}

/* スライドが並んでいる横長のレール */
.slider-track {
  display: flex;
  gap: 30px; /* JSの計算（+30）と一致させる */
  transition: transform 0.5s ease-in-out;
}

/* 各スライドアイテム */
.slider-item {
  flex: 0 0 calc((100% - 60px) / 3); 
}

.slider-item img {
  width: 100%;
  height: auto;
  border-radius: 20px; /* 他の画像と合わせた角丸 */
  display: block;
  object-fit: cover;
}

/* ナビゲーションボタン（左右の矢印） */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3, 119, 72, 0.9); /* プロジェクトの緑色 */
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.slider-arrow:hover {
  background: #39B44A; /* ホバー時の明るい緑 */
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

/* --- レスポンシブ対応 (スマホ) --- */

/* .photo-slider {
  position: relative;
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.slider-item {
  flex: 0 0 calc((100% - 60px) / 3);
}

.slider-item img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: #166534;
  cursor: pointer;
}

.slider-arrow.prev {
  left: -40px;
}

.slider-arrow.next {
  right: -40px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
}

.dot.active {
  background: #166534;
} */

/* ----写真スライドショー終了------------ */



/* スマホ */
/* @media screen and (max-width: 768px) {
  .slider-item {
    flex: 0 0 100%;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }
} */

.photo-slider {
  position: relative;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 101, 52, 0.9);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.slider-arrow.prev {
  left: 12px;
}

.slider-arrow.next {
  right: 12px;
}


/*写真 */



/* ----footer----- */

.copy-box {
  margin-top: 20vh;
  height: 20vh;
  background-color: #037748;
}

.copy-title {
  display: flex;
  justify-content: center;
  color: #ffffff;
  padding-top: 40px;

}


a {
  text-decoration: none;
}

.arrow a {
  text-decoration: none;
}



/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
  
  .zero-title p {
    font-size: 0.95rem;
  }

  .arrow-icon-box a {
    justify-content: center;
  }

  .quiz-wrapper {
    width: 70%;
    padding: 40px 20px;
  }

  .quiz-title {
    font-size: 1.5em;
  }

  .quiz-subtitle {
    font-size: 0.8em;
  }

  .quiz-grid {
    grid-template-columns: 1fr;
  }

  .arrow-title {
    font-size: 0.7rem;
  }
  


  .hero-text {
    font-size: 1.3rem;
  }
  .consider-section {
    margin-top: 15vh;
    padding: 40px 15px;
  }

  .consider-wrapper {
    width: 70%;
    padding: 40px 20px;
    border-radius: 30px;
  }

  .consider-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .consider-subtitle {
    font-size: 0.8rem;
    margin-bottom: 70px;
    margin-top:15px;
  }

  .consider-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .consider-card {
    width: 100%;
    border-radius: 20px;
  }

  .consider-img {
    width: 100%;
    border-radius: 15px;
  }

  .consider-line {
    margin-top: 35px;
  }

  .consider-note {
    margin-top: 25px;
    font-size: 0.75rem;
    line-height: 1.7;
    text-align: left;
  }
  .photo-slider {
    padding: 0 40px;
    width: 95%;
  }

  .slider-item {
    flex: 0 0 100%;
  }
  
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

}

