@charset "utf-8";
/* CSS Document */

.section03 .titleboxwrap .titlebox1 h2,.section03 .titleboxwrap .txtbox  p{
   color: #fff; 
}
.section03 .titleboxwrap .txtbox::before{
  background:#fff;
}

.gallery_b {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PC：3列 */
  gap: clamp(12px, 2vw, 16px);
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}
/* 画像枠 */
.gallery_b .imgbox {
  width: 100%;
  aspect-ratio: 290/338; /* 正方形（おすすめ） */
  overflow: hidden;
}
/* 画像 */
.gallery_b .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ===== 768px以下：2列 ===== */
@media (max-width: 768px) {
  .gallery_b {
    grid-template-columns: repeat(2, 1fr);
  }
}


.newstop_b .webgene-blog .webgene-item a h3 {
    width: calc(100% - 204px);
}
.newstop_b .catelabel {
  padding: 2px 10px;
    
    border: 1px solid #373B3E;
}
.newstop_b .webgene-blog .webgene-item a > .flex {
 
  padding: 20px 0;
}

.top_a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 72px);
  box-sizing: border-box;
  width: 100%;
  margin: auto;
}
.top_a .leftbox {
  width: 22%;
}
.top_a .rightbox {
  width: 40%;
  align-items: flex-end;
}
.top_a .txtbox {
  width: 40%;
  min-width: 380px;
  padding-top: 18px;
}
/* 画像共通 */
.top_a .imgbox {
  overflow: hidden;
  line-height: 0;
}
.top_a .imgbox img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.top_a .leftbox .imgbox:nth-child(1) {
  width: 90%;
  align-self: flex-end;
      margin-top: 190px;
}
.top_a .rightbox .imgbox:nth-child(1) {
  width: 100%;
  max-width: 500px;
  align-self: flex-end;
  margin-top: 0;
  margin-left: auto;
    padding-left: 40px;
}

.top_a .rightbox .imgbox:nth-child(1) img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.top_a .rightbox .imgbox:nth-child(2) {
  width: 52%;
  max-width: 400px;
  align-self: flex-start;
  margin-top: -30px;
  margin-left: 0;
}

.top_a .rightbox .imgbox:nth-child(2) img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
@media (max-width: 1080px) {
  .top_a {
    gap: 28px;
  }
  .top_a .txtbox {
    min-width: 320px;
  }


}
/* SP */
@media (max-width: 768px) {
  .top_a {
    flex-direction: column;
    gap: 32px;
  }
  .top_a .leftbox, .top_a .rightbox, .top_a .txtbox {
    width: 100%;
    min-width: 0;
  }
  .top_a .txtbox {
    padding-top: 0;
    max-width: 350px;
    margin: auto;
  }
  .top_a .leftbox .imgbox:nth-child(1), .top_a .leftbox .imgbox:nth-child(2), .top_a .leftbox .imgbox:nth-child(3), .top_a .rightbox .imgbox:nth-child(1) {
    width: calc(50% - 8px);
    max-width: none;
    margin: 0;
    align-self: auto;
  }
  .top_a .leftbox .imgbox:nth-child(1) {
    width: 42%;
    align-self: flex-end;
  }
  .top_a .leftbox .imgbox:nth-child(2) {
    margin-left: auto;
  }
  .top_a .rightbox .imgbox:nth-child(1) {
    margin-left: auto;
  }
}
body:not(.gjs-dashed) .fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
body.gjs-dashed .fv {
  position: relative;
  width: 100%;
  height: 100%;
}

.fv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

body.gjs-dashed .fv::before,
body.gjs-dashed .fv::after {
  display: none;
}

.fv .swiper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.fv .swiper-wrapper {
  height: 100%;
}

body:not(.gjs-dashed) .fv .swiper-slide {
  width: 100% !important;
  height: 100vh;
  display: grid;
  grid-template-columns: 64% 36%;
}
body.gjs-dashed .fv .swiper-wrapper{
	display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
    align-items: center;
	flex-direction: row;
}
body.gjs-dashed .fv .swiper-slide {
  width: calc(100% / 3);
}

body:not(.gjs-dashed) .fv .swiper-slide .swiper-img {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* 画像本体 */
body:not(.gjs-dashed) .fv .swiper-slide .swiper-img img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform, filter;
}

/* 1個目：下を240pxあける */
body:not(.gjs-dashed) .fv .swiper-slide .swiper-img:first-child {
  height: calc(100vh - 240px);
  align-self: start;
}

/* 2個目：上を150pxあける */
body:not(.gjs-dashed) .fv .swiper-slide .swiper-img:last-child {
  height: calc(100vh - 150px);
  align-self: end;
}

@keyframes zoomImg {
  0% {
    filter: blur(6px);
    transform: scale(1);
  }
  30% {
    filter: blur(0);
  }
  100% {
    transform: scale(1.12);
  }
}

/* 枠ではなくimgにアニメーションをかける */
.fv .swiper-slide-active .swiper-img img,
.fv .swiper-slide-duplicate-active .swiper-img img,
.fv .swiper-slide-prev .swiper-img img {
  animation: zoomImg 10s linear 0s normal both;
}

/* ここが重要：前の opacity:0 / height:auto を消す */
body:not(.gjs-dashed) .fv .swiper-slide img {
  display: block !important;
  opacity: 1;
  height: 100%;
  width: 100%;
}

.fv .txtbox {
  position: absolute;
bottom: 0px;
  left: 5%;
  transform: translateY(-50px);
  z-index: 3;
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: flex-start;
}

body.gjs-dashed .fv .txtbox {
  position: static;
  transform: translateY(0);
}

.fv .txtbox h1,
.fv .txtbox p {
  opacity: 0;
}

body.gjs-dashed .fv .txtbox h1,
body.gjs-dashed .fv .txtbox p {
  opacity: 1;
  color: #010000;
}

.fv .txtbox h1 {
  animation-name: fvtxt1;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-delay: 0.4s;
}

@keyframes fvtxt1 {
  0% {
    opacity: 0;
    filter: blur(6px);
    letter-spacing: -0.2rem;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    letter-spacing: 0.1rem;
  }
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

