@charset "utf-8";
/* CSS Document */
:root:has(.fv) {
  --header-h: 0px;
  --header-bg-h: 100px;
}
.main-wrap{
	overflow: hidden;
}
/* ----------fv ---------- */
.fv .titlebox {
  position: absolute;         /* ::after の上に出すため */
  z-index: 2;
  max-width: 650px;
  color: #fff;
left: 8%;            /* 左からの位置調整 */
  margin-bottom: 10%;          /* 下からの位置調整 */
  align-self: flex-end;
}
.fv .titlebox p{
      color: #fff;
}

.fv .swiper {
  width: 100%;
  height: 100vh; /* フルスクリーンにしたい場合 */
}
body:not(.on) .fv .swiper {
  height: auto !important;
}
.fv .swiper-slide {
  width: 100%;
  height: 100%;
}
.fv .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fv .swiper-img {
  position: relative; /* 擬似要素の基準にする */
}
.fv .swiper-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* ← 20%の黒 */
  pointer-events: none; /* クリック操作を邪魔しない */
}
.fv {
  position: relative;
}
/* 100vh化・黒幕 */
body.on .fv {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
body.on .fv::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .2);
  z-index: 1;
  pointer-events: none;
}
/* 右下の情報ラベル（帯） */
.fv .label {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #6A5A51;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px clamp(0px, 2.8vw, 36px) 12px;
  z-index: 10;
}
.fv .label p {
  color: #fff;
}
.fv .label .info-box {
  display: flex;
  gap: clamp(10px, 4vw, 48px);
  align-items: center;
}
.fv .label .info-item {
  gap: 12px;
  flex-wrap: nowrap;
}
.fv .label .info-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-width: 64px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 2px;
  height: 60px;
}
/* ロゴとキャッチコピー */
.fv .logo {
  position: absolute;
  top: 40px;
  left: 5%;
  z-index: 10;
}
.fv .txtbox {
  position: absolute;
  top: 20%;
  right: 10%;
  z-index: 10;
  align-items: flex-start;
  color: #fff;
}
.fv .txtbox .title1 {
  color: #fff;
  font-weight: 400;
  font-size: clamp(26px, 5.2vw, 40px);
  letter-spacing: .4em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}
body.on .fv .txtbox .title1 {
  opacity: 0;
  -ms-filter: blur(6px);
  filter: blur(6px);
  animation-name: blurin2;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

.fv .swiper {
  z-index: 1;
  position: relative;
}
body.on .fv .swiper-slide {
  width: 100% !important;
  height: 100vh;
}
body.on .fv .swiper-slide .swiper-img {
  width: 100% !important;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.fv .swiper-slide-active .swiper-img, .fv .swiper-slide-duplicate-active .swiper-img, .fv .swiper-slide-prev .swiper-img {
  animation: zoomUp 10s linear 0s normal both;
}
body.on .fv .swiper-slide img {
  display: block !important;
  opacity: 0;
  height: auto;
  width: 100%;
}
/* 前景画像やアイコン */
.fv .img-box {
  position: relative;
  z-index: 1;
}
.fv .fv_icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  z-index: 5;
}
.fv .fv_icon img {
  mix-blend-mode: multiply;
  opacity: .4;
}
/* アニメーション定義 */
@keyframes fvtxt {
  0% {
    opacity: 0;
    transform: translateX(50px);
    -ms-filter: blur(6px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    -ms-filter: blur(0);
    filter: blur(0);
  }
}
@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* ---------- newstop_0 ---------- */
.cate4 {border-bottom: 1px solid #DDDDDD;}

.newstop_0 .more1 {
  margin-left: 0;
  margin-right: 0;
}
.newstop_0 .title_wrap{
    width: 250px;
}
.newstop_0 .newsbox{
}

.newstop_0 .box {
  gap: 50px;
}
.newstop_0 .webgene-blog {
  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: flex-start;
  align-items: flex-start;
  flex-direction: row;
  gap: 60px 60px;
    width: calc(100% - 250px);
}
.newstop_0 .webgene-blog .webgene-item {
  width: calc(100% / 4 - 180px / 4);
  transition: ease 0.3s;
  position: relative;
}
.newstop_0 .webgene-blog .webgene-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px; /* gapの半分 = 60px / 2 */
  width: 1px;
  height: 100%;
  background-color: #ddd;
}
.newstop_0 .webgene-blog .webgene-item a {
  display: block
}
.newstop_0 .webgene-blog .webgene-item:hover {
  opacity: 0.5 !important;
}
.newstop_0 .webgene-blog .webgene-item .date {
  color: #8B8B8B;
  font-family: "Zen Old Mincho", serif;
}
.newstop_0 .webgene-blog .webgene-item .cate {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 200px;
  line-height: 1;
  background-color: #0A183E;
  color: #fff;
}
@media screen and (max-width: 1280px) {}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {
  .newstop_0 .webgene-blog .webgene-item:not(:last-child)::after {
    display: none;
  }
  /* ---------- newstop_0 ---------- */
  .newstop_0 .webgene-blog {
    gap: 50px;
  }
  .newstop_0 .webgene-blog .webgene-item {
    width: calc(100% / 2 - 50px / 2);
  }
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {
  /* ---------- newstop_0 ---------- */
  .newstop_0 .title_wrap {
    margin-bottom: 0;
    width: 100%;
    justify-content: space-between;
  }
  .newstop_0 .titlebox {
    margin-bottom: 0;
  }
  .newstop_0 .more1 {
    margin-top: 0;
  }
  .newstop_0 .box {
    flex-direction: column;
  }
  .newstop_0 .webgene-blog {
    gap: 50px 30px;
  }
  .newstop_0 .webgene-blog .webgene-item {
    width: calc(100% / 2 - 30px / 2);
  }
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {
  /* ---------- newstop_0 ---------- */
  .newstop_0 .title_wrap {
    gap: 20px;
  }
     .newstop_0 .box{
        width: 100%;
    }
  .newstop_0 .webgene-blog {
    gap: 40px;
    justify-content: center;
      flex-direction: column;
       width: 100%;
  }
  .newstop_0 .webgene-blog .webgene-item {
    width: 100%;
  }
}
.cate3 {
  background: #EAEAEA;
}
.swiper_a {
		width: 100%;
  height: auto;
}
.swiper-wrapper {
  gap: 30px;
}
.swiper_a .swiper-slide {
  width: 220px;
  height: 220px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
	position: relative;
}
/*
.swiper_a .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
*/
.swiper_a .swiper-slide a{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.num1 {
  position: relative;
  display: inline-block;
  font-size: 48px;
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 0.2em;
  padding-right: 40px; /* after のスペース分 */
}
.num1::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(70%);
  width: 30px;
  height: 1px;
  background-color: #3a2a14; /* 数字と同じ色 */
  transform: translateY(-50%);
}
.column2_c .more1 {
  margin-left: 0;
}
.column2_c .content {
  max-width: 2000px;
}
.column2_c .inner {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
.column2_c.is-reverse .content {
  margin-right: 0;
  margin-left: auto;
}
.morewrap {
  gap: 30px;
}
.morewrap .more1 {
  margin-right: 0;
  margin-left: 0;
}
.topbox {
  padding-bottom: 150px;
}
.topbox .imgbox1 {
  flex: 0 0 20%;
  margin-top: 180px;
}
.topbox .imgbox2 {
  flex: 0 0 30%;
}
.topbox .boxwrap {
  flex: 1;
}

.topbox2 {
align-items: flex-start;
}

.topbox2 .imgbox1 {
  flex: 0 0 30%;
      margin-top: 0px;
}
.topbox2 .imgbox2 {
  flex: 0 0 20%;
      margin-top: 180px;
}


/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {

  .topbox {
    position: relative;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
  }
  /* テキストブロック */
  .topbox .boxwrap {
    width: 100%;
    text-align: left;
    z-index: 2;
    order: 2; /* ★ これを追加：img1 のあとに来る */
  }
  /* 左上寄せっぽく img1 */
  .topbox .imgbox1 {
    order: 1; /* 1番目（テキストより上） */
    align-self: flex-start;
    width: 40%;
    max-width: 220px;
    margin: 0px;
    margin-bottom: -200px;
  }
  .topbox .imgbox1 .img1 {
    width: 100%;
    height: auto;
    display: block;
  }
  /* 右下寄せっぽく img2 */
  .topbox .imgbox2 {
    order: 1;
    align-self: flex-end;
    width: 40%;
    max-width: 220px;
      margin-top: 0px;
  }
  .topbox .imgbox2 .img2 {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {
          .column2_c .inner {
    grid-template-columns: 1fr; /* 1カラムにする */
    row-gap: 30px;              /* 必要なら縦の余白だけ足す */
  }
    
  .swiper-wrapper {
    gap: 10px;
  }
  .swiper_a .swiper-slide {
    width: 140px;
    height: 140px;
  }
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {
  .topbox .imgbox1 {
    margin-bottom: -100px;
  }
    .fv .titlebox {
  margin-bottom: auto; 
        bottom: 100px;
  align-self: center;
}
    
}