.shutter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1e1e1e;
  z-index: 9999;
  transition: opacity 1s ease; /* ← JSでopacity切り替えに使う */
  opacity: 1;
  pointer-events: all;
}

.shutter.fade-out {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}

.shutter-text {
  color: #fff;
  padding-top: 4rem;
  padding-left: 4rem;
  font-size: 2rem;
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

@keyframes shutterOpen {
  0% {
    width: 0;
    height: 0;
  }
  50% {
    width: 100%;
    height: 0;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}

.fv-text {
  font-size: 5.2rem;
  /* line-height: 7.2rem; */
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}
.fv-subtext {
  font-size: 2.4rem;
  color: rgba(153, 153, 153, 1);
  font-weight: 400;
  margin-top: 6rem;
  text-align: center;
  letter-spacing: 0.15em;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  padding: 4rem;
  padding-top: 13rem;
  padding-left: 6rem;
}

.overlay-title {
  font-size: 4.8rem;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
.overlay-title-large-txt {
  font-size: 2em;
}
.overlay-text {
  /* font-size: 1.8rem; */
  font-size: 2.4rem;
  color: #fff;
  margin-top: 4.4rem;
}

.overlay-btn-wrap {
  margin-top: 4.4rem;
  display: flex;
  justify-items: flex-start;
  align-items: center;
}

.section {
  position: relative;
  color: #222;
  scrollbar-width: none;
}

.section:nth-of-type(1) {
  /* background-color: #fff; */
  height: 80svh;
}

.section__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;

  box-sizing: border-box;
  overflow: hidden;
}
.section__inner2 {
  padding: 4rem 8rem;
}

.fv-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sec-scroll {
  height: 100svh;
  position: relative;
  color: #000;
  transform: scale(0.9);
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.3s ease-out;
}
.sec-scroll-spacer {
  height: 100vh; /* 各セクションと同じ高さにする */
}

.sec-scroll.locked {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 9999;
  transform: scale(1.15) !important;
}

.no-scroll {
  overflow: hidden;
  height: 100svh; /* iOS対応にもおすすめ */
}

.sec-scroll2 {
  position: relative;
  height: 100svh !important;
  overflow: hidden;
  z-index: 1;

  transition: transform 0.3s ease-out;
}

.section--1 {
  position: sticky;
  top: 0;
  z-index: 1;
  transform: scale(0.8);
  border-radius: 2rem;
  transition: transform 0.3s ease, border-radius 0.3s ease;
}

.section--2,
.section--3,
.section--4 {
  position: sticky;
  top: 0;
  z-index: 2;
  transition: transform 0.3s ease-out;
  width: 100vw;
}
.section--4 {
  height: auto !important;
  z-index: 4;
}

.sec-scroll2 .section__inner2 {
  padding: 0;
}
.sec-scroll2 .sec-mov {
  border-radius: 0;
}

.sec-scroll2 .overlay {
  position: absolute;
  inset: 0;
  /* background-color: rgba(0,0,0,0); */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
  transition: background-color 0.3s ease;
  z-index: 20;
}
.sec-scroll2 .overlay2 {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
  z-index: 21;
}

.sticky-group {
  position: relative;
  height: 300vh; /* 3枚分など、適切な高さを設定 */
}

.text {
  height: 100svh;
  display: grid;
  place-items: center;
  font-size: max(18px, 2.5vw);
}

.pin_text {
  color: #000;
}

.sec-mov {
  width: 100%;
  background-color: #fff;
  height: 100vh;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

video {
  object-fit: cover;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.sec-product {
  background-color: #fff;
  padding: 12rem 16px;
  /* padding-bottom: 8rem; */
  height: auto !important;
  /* padding-top: 8rem; */
}
.product-inner {
  /* max-width: 114rem; */
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 4rem; */
}

.sec-title-wrap {
  padding-left: 4rem;
}

.sec-subtitle {
  color: rgba(102, 102, 102, 1);
  font-weight: 400;
}
.sec-title {
  font-size: 4.4rem;
  margin-top: 2.8rem;
  line-height: 1.2;
}
.sec-title-link {
  margin-top: 4rem;
  padding-bottom: 0.1rem;
  text-decoration: underline;
}
.sec-text {
  margin-top: 2.4rem;
  text-align: left;
}

/* .sec-function {
  padding: 4rem;
} */

.sec-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6rem;
}

.product-sec-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.product-item {
  width: 32.5%;
}

.product-item-img {
  width: 100%;
  height: auto;
  text-align: center;
  background-color: rgba(249, 249, 249, 1);
  border-radius: 2rem;
  padding-top: 140%;
  perspective: 1500px;
  transition: transform 0.1s ease-out, box-shadow 0.2s ease-out;
}

.product-item-img img {
  /* padding: 0 4rem; */
  box-sizing: border-box;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 2%;
  width: 76%;
  height: auto;
  transition: opacity 0.3s ease-in-out, transform 0.1s ease-out;
  transform-origin: center center;
}

.product-item-img.shadow-effect {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
}
.product-img-front {
  opacity: 1;
  z-index: 2;
}

.product-img-back {
  opacity: 0;
  z-index: 1;
}

/* ホバー時に画像を切り替える */
.product-item-img:hover .product-img-front {
  opacity: 0;
}

.product-item-img:hover .product-img-back {
  opacity: 1;
}
.product-item-logo img {
  height: 4.1rem;
}
.product-item-text {
  margin-top: 4rem;
  text-align: center;
}
.product-item-desc {
  margin-top: 2rem;
  text-align: center;
}

.product-btn-wrap {
  margin-top: 4rem;
  padding: 0 4rem;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.product-btn-wrap .nav-item-btn-white {
  margin-right: 0;
}
.product-btn-wrap .nav-item-btn-white,
.product-btn-wrap .nav-item-btn {
  padding: 13px 12px;
  flex-grow: 1;
}

.function {
  box-sizing: border-box;
  background-color: rgba(34, 34, 34, 1) !important;
  padding: 12rem 16px;
  /* padding-top: 8rem;
  padding-bottom: 8rem; */
  height: auto !important;
}
.function .sec-subtitle {
  color: #ccc;
}
.function .sec-title {
  color: #fff;
  font-size: 4.4rem;
  line-height: 1.2;
}

.function-inner {
  /* max-width: 114rem; */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.function-text-wrap {
  margin-top: 4.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.function-text {
  color: #fff;
}

.tab-container {
  padding-bottom: 8rem;
}
.tab-menu {
  margin-top: 8rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid #888;
  display: inline-block;
}
.tab-menu button {
  background: none;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;

  transition: border-color 0.3s ease;
  color: #fff;
}
.tab-menu button.active {
  border-bottom: 2px solid #fff;
  font-weight: bold;
}

/* タブコンテンツ部分 */
.tab-content {
  /* 初期状態は非表示 + フェード用の初期設定 */
  display: none; /* 完全にDOM上から除外する */
  opacity: 0; /* 透明にしておく */
  transition: opacity 0.3s ease; /* フェードアニメーションを設定 */
  /* height: 60rem; */
  position: relative;
  aspect-ratio: 16 / 9;
}

.tab-content video {
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9 の比率を維持 */
  display: block;
  object-fit: cover; /* 必要に応じて映像をフィット */
  border-radius: 2rem;
}

/* タブ表示用クラス */
.show {
  display: block; /* ブロック表示 */
}

/* フェードイン用クラス */
.fade-in {
  opacity: 1; /* 透明 → 不透明にアニメーション */
}

.sec-case {
  background-color: rgba(248, 248, 248, 1);
  padding: 12rem 16px;
  /* padding-bottom: 8rem; */
  height: auto !important;
  /* padding-top: 8rem; */
  overflow: hidden;
  position: relative;
}
.case-subtitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.case-inner {
  /* max-width: 114rem; */
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 4rem; */
}
.case-text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 4.4rem;
}
.case-description {
  font-size: 1.8rem;
}
.case-wrap {
  margin-top: 12rem;
  /* max-width: 120rem; */
  max-width: 1200px;
}
.case-item {
  background-color: #fff;
  border-radius: 2rem;
  transition: transform 0.3s ease;
}
.case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.05);
}
.case-item-img img {
  width: 100%;
  border-radius: 2rem 2rem 0 0;
}
.case-item-text {
  padding: 2rem;
}
.case-category {
  font-size: 1.2rem;
  border: 1px solid #000;
  padding: 0rem 1.2rem;
  border-radius: 2rem;
  display: inline-block;
}
.case-item-desc {
  margin-top: 1.6rem;
  font-size: 1.6rem;
}
.case-company-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
}
.case-item-company {
  color: rgba(102, 102, 102, 1);
  font-size: 1.6rem;
  /* font-weight: 400; */
}

.sec-award {
  background-color: #f9f9f9;
  padding-bottom: 12rem;
  height: auto !important;
  padding-top: 12rem;
  overflow: hidden;
  position: relative;
}

.award-inner {
  /* max-width: 120rem; */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.award-wrap {
  margin-top: 6rem;
}

.award-row {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
}

.award-item {
  width: 32%;
  background-color: #fff;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.3s ease;
}
.award-item-blank {
  width: 32%;
}
.swiper .swiper-slide {
  height: auto;
}

.swiper .award-item {
  height: 100%;
}

.award-item-img img {
  width: 100%;
  /* padding: 0 7rem; */
  padding: 2rem 4rem 0;
  box-sizing: border-box;
}
.award-item-text {
  padding: 2rem;
  padding-top: 0;
  margin-top: 2rem;
}
.award-title {
  padding-top: 2rem;
  border-top: 1px solid #d9d9d9;
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: center;
}
.award-item-desc {
  margin-top: 1.6rem;
}

.news {
  background-color: #fff;
  height: auto !important;
  /* padding-bottom: 8rem;
  padding-top: 8rem; */
  padding: 12rem 16px;
  position: relative;
}
.news-inner {
  /* max-width: 120rem; */
  max-width: 1200px;
  margin: 0 auto;
}
.news-sec-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.news-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-top: 6rem;
}
.news-categories {
  width: 25%;
}

#category-list {
  list-style: none;
  padding: 0;
}

#category-list li {
  cursor: pointer;
  margin-bottom: 10px;
  color: #999;
  font-weight: normal;
}

#category-list li.active {
  font-weight: bold;
  color: #000;
}

.news-articles {
  width: 75%;
}

.current-category {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.no-posts {
  display: none;
  color: #999;
  margin-bottom: 20px;
}

.news-item {
  border-bottom: 1px solid #d9d9d9;
  padding: 15px 0;
}

.news-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-date {
  flex-shrink: 0;
  flex-basis: 10rem;
  font-size: 1.6rem;
}

.news-label {
  font-size: 1.2rem;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 12rem;
  /* background: #fff; */
  padding: 0.6rem;
  border-radius: 20px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid #222;
}

.news-title-wrap {
  flex-grow: 1;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  gap: 8px;
  width: calc(100% - 22rem - 24px);
}

.news-title-text {
  flex-grow: 1;
  text-decoration: none;
  color: #222;
  font-weight: normal;
  /* font-size: 0.95em; */
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-arrow {
  font-size: 1.2em;
}

.section-below-news {
  margin-top: 12rem;
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 8rem 4.8rem;
}

.section-heading-wrap {
  display: flex;
  align-items: flex-start;
}

.section-block {
  display: flex;
  gap: 12rem;
  flex: 1;
}

.section-item {
  /* background: #f9f9f9; */
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  /* padding: 20px; */
  flex: 1;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-heading h3 {
  font-size: 2.4rem;
}

.card-wrap {
  background-color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4rem;
  transition: transform 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
}

.card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.05);
}

.card-wrap img {
  width: 100%;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 20px 20px;
}

.card-title {
  font-size: 2rem;
}
.card-text {
  display: flex;
  justify-content: start;
  align-items: center;
}

.card-date {
  color: #555;
}

.card-label {
  background: #d9d9d9;
  font-size: 1.2rem;
  padding: 2px 16px;
  border-radius: 2rem;
  display: inline-block;
  margin-left: 1rem;
}

.no-event {
  padding: 10px;
  margin-top: 4rem;
}

.webinar-link {
  display: inline-block;
  margin-top: 8px;
  color: #0073aa;
  text-decoration: underline;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  /* 文字配置調整、背景色設定 */
  display: flex;
  justify-content: center;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  /* ページネーションの位置調整 */
  bottom: -4rem !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #222 !important;
}

.swiper {
  overflow: visible !important;
}

.sec-field {
  background-color: #222;
  padding: 8rem 16px 12rem;
  /* padding-bottom: 8rem; */
  height: auto !important;
  /* padding-top: 8rem; */
  overflow: hidden;
  position: relative;
}

.field-inner {
  /* max-width: 120rem; */
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 4rem; */
}
.sec-field .sec-title {
  color: #fff;
}
.field-wrap {
  margin-top: 4rem;
}
.field-item {
  position: relative;
  margin-right: 0.4rem;
}
.field-item-img {
  width: 100%;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}
.field-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.field-text {
  color: #fff;
  text-align: right;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  /* width: 95%; */
}

.sec-field .swiper-button-next,
.sec-field .swiper-button-prev {
  color: #000 !important;
}

.useful-section {
  background-color: #222;
  color: #fff;
  padding: 12rem 16px;
  box-sizing: border-box;
}

.useful-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.useful-heading-wrap {
  margin-bottom: 8rem;
}

.useful-text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 4.4rem;
}

.useful-subtitle {
  color: #ccc;
}

.useful-title {
  color: #fff;
}

.useful-description {
  font-size: 1.8rem;
  color: #fff;
}

.useful-more a {
  color: #fff;
  text-decoration: none;
}

.useful-cards {
  display: flex;
  gap: 6rem;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}

.useful-card {
  flex: 1;
  color: #222;
  border-radius: 20px;
  /* max-width: 500px; */
}

.useful-card-heading {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 4rem;
}

.useful-card-text {
  color: #fff;
  margin-top: 2rem;
  font-weight: 400;
}

.award-navigation {
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 10;
  display: flex;
  gap: 10px;
  /* padding: 10px; */
}

.swiper-button-prev,
.swiper-button-next {
  position: static !important;
  /* width: 0!important;
  height: 0!important; */
}

/* Swiperのデフォルト矢印アイコンを使いたい場合はそのまま */

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  color: #222;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out 0.4s, /* ← 最後の 0.2s がディレイ */ transform 0.6s ease-out 0.4s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.floating-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 1000;
  width: 60%;
  transform: translateX(-50%);
  max-width: 170.4rem;
}
.sp-banner {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-banner {
    display: none;
  }
  .sp-banner {
    display: block;
  }
  .pc-none {
    display: block;
  }
  /* .header-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  } */
  .header-nav {
    display: none;
  }
  .fv-text {
    font-size: 2.8rem;
    line-height: 4.4rem;
    padding-top: 16rem;
  }
  .fv-subtext {
    font-size: 1.8rem;
    margin-top: 4rem;
  }

  .section__inner2 {
    padding: 0;
  }

  .overlay {
    padding: 2rem;
    padding-top: 8.8rem;
  }
  .overlay-title {
    font-size: 2.4rem;
  }
  .overlay-text {
    font-size: 1.6rem;
  }
  .sec-product {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }
  .product-inner {
    padding: 2rem;
  }
  .sec-title-wrap {
    padding-left: 2rem;
  }
  .sec-title,
  .function .sec-title {
    font-size: 3.6rem;
    /* line-height: 3.4rem; */
  }
  .sec-wrap {
    display: block;
    margin-top: 4rem;
  }
  .product-sec-title-wrap {
    flex-direction: column;
    gap: 2.4rem;
    align-items: flex-start;
  }
  .product-item {
    width: 100%;
    padding-bottom: 8rem;
  }
  .function {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .function-text-wrap {
    margin-top: 4rem;
    display: block;
  }
  .function-text-wrap .nav-item-btn-white {
    margin-top: 2.4rem;
    text-align: center;
  }
  .tab-container {
    padding-bottom: 0;
  }
  .tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    position: relative;
  }
  .fade-in {
    opacity: 1; /* 透明 → 不透明にアニメーション */
  }
  .show {
    display: block; /* ブロック表示 */
  }
  .tab-menu {
    border-bottom: none;
  }
  .tab-menu button {
    padding: 0.4rem 0.6rem;
  }
  .tab-menu button.active {
    font-weight: bold;
  }
  .sec-case {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }
  .case-text {
    flex-direction: column;
    gap: 2.4rem;
    align-items: flex-start;
  }
  .award-row {
    flex-direction: column;
  }
  .award-item {
    width: 100%;
  }
  .news-title-wrap {
    display: block;
  }
  .news-content {
    display: block;
  }
  .news-categories {
    width: auto;
    margin-bottom: 4rem;
  }
  .news-articles {
    width: 100%;
  }
  .news-col {
    width: 100%;
  }
  .news-title-wrap {
    width: 100%;
  }
  .news-title {
    margin-top: 4rem;
  }
  .news-title-wrap .news-title-text {
    display: block;
  }
  .news-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .news-arrow {
    display: block;
    margin-top: 8px;
  }

  .section-below-news {
    padding: 8rem 16px;
  }
  .section-below-news .section-block {
    flex-direction: column;
  }
  .section-below-news .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .section-below-news .card-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .section-below-news .card-text .card-label {
    margin-left: 0;
  }

  .useful-text {
    flex-direction: column;
    align-items: flex-start;
  }
  .useful-description {
    margin-bottom: 20px;
  }

  .useful-cards {
    flex-direction: column;
  }
  .floating-banner {
    width: 96%;
  }
  .sticky-group{
    margin-top: -5rem;
  }
  .section--1 {
    transform: none;
  }
  .fv-inner {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
}
}
