@charset "UTF-8";
/* CSS Document */
p {
  font-size: 1.6rem;
}
h2 {
  margin-bottom: 8px;
}
main {
  margin: 0 auto;
  max-width: 100%;
}
.text-wrapper {
  width: auto;
  max-width: 800px;
  margin: 0 auto;
}
.large-image-container img {
  width: 100%;
}
.small-image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  gap: 8px;
}
.small-image-container img {
  width: 100%;
  max-width: 636px;
  border-radius: 8px;
}
/* clickable image start */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s;
}
.modal img {
  max-width: 90%; /* 画像の最大幅を親要素(modal)の90%に制限し、画面内に収まるようにする */
  max-height: 100vh; /* 画像の最大高さをビューポートの高さ(100vh)に制限し、画面内に収まるようにする  */
  object-fit: contain; /* 画像の比率を保持しつつ、指定された高さと幅に収める */
}
.small-image-container img:hover {
  cursor: zoom-in; /* ホバー時にカーソルをズームインのアイコンに変更 */
}
.modal img:hover {
  cursor: zoom-out; /* モーダル内の画像にホバー時にカーソルをズームアウトのアイコンに変更 */
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* clickable image end */
/* scroll animation start */
.scroll-animation-target {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s, transform 1s;
}
.scroll-animation-target.visible {
  opacity: 1;
  transform: translateY(0);
}
/* scroll animation end */
@media (max-width: 1312px) {
  .text-wrapper {
    margin: 0 auto;
    padding: 0 16px;
  }
  .small-image-container {
    flex-direction: column;
    width: auto;
    max-width: 1280px;
    gap: 0;
  }
  .small-image-container img {
    width: 100%;
    max-width: 1280px;
    border-radius: 0px;
  }
}
/* Top */
.section-top {
  margin-bottom: 40px;
}
.section-top .text-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  border-bottom: 1px solid #000;
  margin-bottom: 32px;
}
.section-top img {
  object-fit: cover;
  width: 100%;
  margin-bottom: 56px;
}
.section-top__tag {
  display: flex;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 16px;
	gap:4px;
}

@media (max-width: 1312px) {
  .section-top {
    margin-bottom: 20px;
  }
  .section-top img {
    margin-bottom: 32px;
  }
  
	.section-top .text-wrapper{
		display: block;
	}
}
/* Overview */
.section-overview {
  margin-bottom: 56px;
}
.section-overview p {
  margin-bottom: 56px;
}
.section-overview .btn {
  margin-bottom: 56px;
}
.section-overview__container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.section-overview__container div {
  max-width: 380px;
}
.section-overview .text-wrapper {
  margin-bottom: 24px;
}
@media (max-width: 1312px) {
  .section-overview__container {
    display: block;
  }
  .section-overview__container div {
    max-width: 1280px;
  }
  .section-overview p {
    margin-bottom: 64px;
  }
  .section-overview__container .btn {
    text-align: center;
  }
  .section-overview .text-wrapper {
    padding-bottom: 32px;
  }
}
/* Approach */
.section-approach h2 {
  margin-bottom: 40px;
}
.section-approach__phase, .section-approach .large-image-container, .section-approach .small-image-container {
  margin-bottom: 80px;
}
@media (max-width: 1312px) {
  .section-approach h2 {
    margin-bottom: 56px;
  }
  .section-approach__phase, .section-approach .large-image-container, .section-approach .small-image-container {
    margin-bottom: 88px;
  }
}
/* Outcome */
.section-outcome .text-wrapper, .section-outcome .large-image-container, .section-outcome .small-image-container {
  margin-bottom: 80px;
}
@media (max-width: 1312px) {
  .section-outcome .text-wrapper, .section-outcome .large-image-container {
    margin-bottom: 88px;
  }
}
/* Takeaways */
.section-takeaways {
  margin-bottom: 160px;
}
@media (max-width: 1312px) {
  .section-takeaways {
    margin: 8px 0 144px;
  }
}
/* Mockup */
.section-mockup__container {
  max-width: 1280px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
}
.section-mockup__container .pc-mockup img {
  max-width: 930px;
}
.section-mockup__container .sp-mockup img {
  max-width: 310px;
}