@charset "UTF-8";
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Image Gallery Styling */
.wrapper {
  width: 100%;
  max-width: 750px; /* Limit width on larger screens */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0; /* Spacing between images */
  background: #ffffff;
}

.wrapper img {
  width: 100%; /* Images adapt to container width */
  height: auto;
}
/* header */
.header-title {position: absolute;
    left: -9999px;}
.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4rem;
  background: #fff;
}
@media (max-width: 768px) {
  .header {
    gap: 1.5rem;
  }
}

/* 左側（テキスト＋画像） */
.header h1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

/* ロゴ画像 */
.header h1 img {
  width: 34vw;
  height: auto;
}
@media (max-width: 768px) {
  .header h1 img {
  width: 64vw;
  height: auto;
}
}

/* 右ボタン */
.header a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8vw;
    height: 10vh;
  background: #f94157;
  color: #fff;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.4;
  border-radius: 0.2rem;
}
@media (max-width: 768px) {
  .header a {
    width: 16vw;
    height: 7vh;
      font-size: 11px;
}
}


/* hover（任意） */
.header a:hover {
  opacity: 0.9;
}

/* main-visual */
.main-visual {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.main-visual-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-visual-text {
  position: absolute;
  left: -9999px;
}

.voice-btn {
  position: absolute;
        top: 480px;
        right: 0vw;
  transform: translateX(-50%); /* 中央揃え */
}
@media screen and (max-width: 750px) {
  .voice-btn {
        top: 25%;
        right: -5vw;
        transform: translateX(-50%);
    }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.voice-btn img {
  width: 140px;
  height: auto;
  transition: 0.3s;
  animation: pulse 2s infinite;
}
@media screen and (max-width: 750px) {
  .voice-btn img {
  width: 90px;
        height: auto;
        transition: 0.3s;
}
}

.voice-btn img:hover {
  transform: scale(1.05);
}
.section-title-video {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-title-poster {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.section-main-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 再生開始後だけ動画を表示 */
.section-title-video.is-video-playing .section-main-img {
  opacity: 1;
  visibility: visible;
}

/* 再生開始後はposterを消す */
.section-title-video.is-video-playing .section-title-poster {
  opacity: 0;
  visibility: hidden;
}

/* Safari / iPhone UI対策 */
.section-main-img::-webkit-media-controls,
.section-main-img::-webkit-media-controls-panel,
.section-main-img::-webkit-media-controls-play-button,
.section-main-img::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Responsive Styling */
@media screen and (min-width: 760px) {
  body {
    padding: 0 20px; /* Add some padding around the gallery for large screens */
  }
}

/* Image container */
.cta-container {
  position: relative;
  width: 100%;
  max-width: 750px; /* Image container width */
}
.cta-container-text {
  position: absolute;
  left: -9999px;
}

.cta-container img {
  width: 100%; /* Responsive image */
  height: auto;

}


.section-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  border: 0;
}
.section-title-img {
  width: 100%; /* Responsive image */
  height: auto;
}
.section-heading {
    margin-bottom: -5px;
}

/* Link areas */
.link-area {
  position: absolute;
  display: block;
  z-index: 10;
}
/* Link 1: Top-left corner */
.link-header_lefttop {
      top: 12%;
      left: 0;
    width: 31.5%;
    height: 37%;
    background: rgb(0 0 255 / 0%);
}
.link-header_centertop {
    top: 12%;
    left: 31.5%;
    width: 34.5%;
    height: 37%;
    background: rgb(0 0 255 / 0%);
}
.link-header_righttop {
    top: 12%;
    right: 0;
    width: 34%;
    height: 37%;
    background: rgb(0 0 255 / 0%);
}
.link-header_leftdown {
      bottom: 14%;
      left: 0;
    width: 31.5%;
    height: 37%;
    background: rgb(0 0 255 / 0%);
}
.link-header_centerdown {
    bottom: 14%;
    left: 31.5%;
    width: 34.5%;
    height: 37%;
    background: rgb(0 0 255 / 0%);
}
.link-header_rightdown {
    bottom: 14%;
    right: 0;
    width: 34%;
    height: 37%;
    background: rgb(0 0 255 / 0%);
}
/* Link 1: Top-left corner */
.link-middle {
  top: 42.8%;
    left: 8%;
    width: 84%;
    height: 44%;
  background: rgb(0 0 255 / 0%);
}

/* Link 2: Bottom-right corner */
.link-footer{
  bottom: 19.2%;
    left: 10rem;
    width: 56%;
    height: 9%;
    background: rgb(0 0 255 / 0%);
}
.bg-green {
  background: #becc2b;
}
/* セクション */
.section-bg {
  position: relative;
  padding: 120px 0;
      height: 1280px;
  background: url("../image/future.png") center / cover no-repeat;
}
@media (max-width: 768px) {
  .section-bg {
  padding: 0;
      height: 760px;
    }
}




.scroll_content { /* リスト全体のスタイル */
      display: flex;
        max-width: 100%;
    margin: auto;
    overflow-x: auto;
    position: absolute;
    bottom: 3rem;
}
@media (max-width: 768px) {
  .scroll_content {
    height: 17.6rem;
    bottom: 1.5rem;
}
}

.scroll_content li {
    width: 35%;
    padding: 1.5rem 0.5rem;
    margin: 1.5rem 0.5rem 0.1rem;
    flex-shrink: 0;
    list-style: none;
    height: 26rem;
    background: #f2f4fa;
    position: relative;
}
@media (max-width: 768px) {
  .scroll_content li {
  width: 37%;
        padding: 0.5rem 0.2rem;
        margin: 0 0.3rem 0.1rem;
        height: 17rem;
}
}
.scroll_content img {
  width: 210px;
  height: 200px;
  object-fit: cover;      /* ←これが超重要 */
  border-radius:7px;    /* 角丸 */
  display: block;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .scroll_content img {
  width: 8rem;
    height: 7rem;
    border-radius: 4px;
}
}
.tags {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0.2rem 0;
  flex-wrap: wrap; /* はみ出し防止 */
}
@media (max-width: 768px) {
.tags {
    display: flex;
    gap: 0.2rem;
    margin: 0.3rem 0 0;
    flex-wrap: wrap;
}}

.tag {
  padding: 5px 12px;
      font-size: 0.8rem;
  border-radius: 999px;
  background: rgba(249, 65, 87, 0.1);
  color: #f94157;
  border: 1px solid #f94157;
}
@media (max-width: 768px) {
  .tag {
  padding: 3px 10px;
    font-size: 0.6rem;
}
}


.scroll_content h3 {
    text-align: center;
    font-size: 1.1rem;
    color: #515253;
    margin: 0.5rem 0;
}
@media (max-width: 768px) {
.scroll_content h3 {

    font-size: 0.85rem;

}
}
.scroll_content p {
    font-size: 0.85rem;
    color: #6c6e71;
    margin: 0 1rem;
}
@media (max-width: 768px) {
.scroll_content p {
   font-size: 0.58rem;
        margin: 0 0.2rem;
        line-height: 1.4;
}
}


.scroll_content::-webkit-scrollbar {
  height: 2px; /* スクロールバーの高さ */
}

.scroll_content::-webkit-scrollbar-thumb {
  background: #aaa; /* ツマミの色 */
  border-radius: 6px; /* ツマミ両端の丸み */
}

.scroll_content::-webkit-scrollbar-track {
  background: #ddd; /* トラックの色 */
  border-radius: 6px; /* トラック両端の丸み */
}
.scroll_content::-webkit-scrollbar {
  height: 6px;
}

.scroll_content::-webkit-scrollbar-thumb {
  background: #f2f4fa;
  border-radius: 10px;
}
.scroll_content_note {
    font-size: 0.65rem;
    color: #6c6e71;
    text-align: right;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}
@media (max-width: 768px) {
  .scroll_content_note {
    bottom: 0.4rem;
    right: 0.5rem;
    font-size: 0.45rem;
}
}
.bg-gray {
background: #f2f4fa;
    padding: 1rem 0 0;
}


.footer {
        text-align: center;
    font-size: 0.9rem;
    margin: 2rem 0 22vh;
    color: #7e8389;
}
@media (max-width: 768px) {
  .footer {
    font-size: 0.7rem;
    margin: 2rem 0 13vh;
}
}

/*-----------------------------------------
    追従ボタン
------------------------------------------*/
.cv-fixed-image-button {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0;
  text-align: center;
  z-index: 9999;
  background: #ffffff59;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: none; /* 初期非表示 */
}

.cv-fixed-image-button img {
  max-width: 700px;
  width: 90%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .cv-fixed-image-button {
    padding: 1px 0;
  }
  .cv-fixed-image-button img {
    max-width: 370px;

  }
}