@charset "utf-8";
.menu_grid2 a {
  display: block;
  cursor: pointer;
}
.cate4 > .more1{
  display: none;
  margin-top: 50px;
}

@media screen and (max-width: 768px){
  .cate4 .titlebox3 .more1{
    display: none;
  }
  .cate4 > .more1{
    display: flex;
    justify-content: center;
  }
}

.newstop_b .webgene-blog .webgene-blog {
  width: 100%;
}
.newstop_b .webgene-blog .webgene-item a > .flex {
  width: 100%;
    flex-wrap: nowrap;
}
.newstop_b .webgene-blog .webgene-item .label{
    flex-wrap: nowrap;
}
.newstop_b .webgene-blog .webgene-item a .date {
  width: 100px;
  font-family: "EB Garamond", serif;
}
.newstop_b .webgene-blog .webgene-item a .catelabel {
  border-radius: 0px;
}
.newstop_b .webgene-blog .webgene-item a .cate_txt {
  padding: 0px;
}
.cate6 .titlebox3 {
  gap: 100px;
}
.cate6 {
  background: #CED0D6;
  position: relative;
  overflow: hidden;
}
.cate6 .boxwrap {
  align-items: flex-start;
  gap: clamp(30px, 6vw, 90px);
  max-width: 1280px;
}
.cate6 .titlebox3 {
  flex: 0 0 clamp(220px, 26vw, 340px);
  gap: clamp(18px, 3vw, 36px);
}
/* 右カラム */
.cate6 .contents {
width:100%;
  min-width: 0; /* ←超重要 */
}
@media (max-width: 1080px) {
  .cate6 .boxwrap {
    flex-direction: column;
    gap: 0px;
    width: 100%;
  }
  .cate6 .boxwrap .titlebox3 {
    flex-direction: row !important;
    justify-content: space-between;
    flex: 0 0 auto;
    padding-bottom: 30px;
  }
  /* 右側を全幅で使わせる（保険） */
  .cate6 .contents {
    width: 100%;
  }
}
    .newstop_b .webgene-blog .webgene-item a h3 {
    width: 100%;
}
@media (max-width: 768px) {

    
  .newstop_b .webgene-blog .webgene-item a > .flex {

    align-items: flex-start;
    width: 100%;
  }
}
.cate1 .boxwrap {
  align-items: flex-start;
  gap: clamp(30px, 6vw, 90px);
  max-width: 1280px;
}
/* 左カラム */
.cate1 .titlebox3 {
  flex: 0 0 clamp(220px, 26vw, 340px);
  gap: clamp(18px, 3vw, 36px);
}
/* 右カラム */
.cate1 .txtbox {
  flex: 1;
  max-width: 720px;
}
.cate4 .title {
  gap: 20px;
}
.cate4.itembox1 .boxwrap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cate4.itembox1 .titlebox3 {
  justify-content: space-between;
}
@media (max-width: 1080px) {
  .cate4.itembox1 .boxwrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cate5 {
  background: #E6E7E9;
}
.cate5 .title {
  gap: 0px;
}
.cate5 .title i {
  color: #8A8EA0;
  margin-bottom: -16px;
}
.cate5.itembox1 .boxwrap {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.cate5.itembox1 .titlebox3 {
  justify-content: space-between;
}
@media (max-width: 768px) {
  .cate5.itembox1 .boxwrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.nav_grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 14px);
}
.nav_grid4 .nav_card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  /* ✅ サイズ比率 */
  aspect-ratio: 323 / 430;
  /* ✅ 文字色を白 */
  color: #fff;
}
.nav_grid4 .nav_card .imgbox {
  position: absolute;
  inset: 0;
}
.nav_grid4 .nav_card .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .6s ease;
}
/* 暗めの被せ */
body.on .nav_grid4 .nav_card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background .35s ease;
}
/* ✅ テキストを中央 */
.nav_grid4 .nav_card .txtbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  align-items: center; /* flex-column 用 */
  text-align: center;
  gap: 8px; /* 行間 */
}
/* p/h3の余白消し */
.nav_grid4 .nav_card .txtbox p, .nav_grid4 .nav_card .txtbox h3 {
  margin: 0;
  color: #fff;
}
/* 右下の丸アイコン */
.nav_grid4 .nav_card .icon {
  position: absolute;
  right: clamp(18px, 2.4vw, 30px);
  bottom: clamp(18px, 2.4vw, 30px);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.nav_grid4 .nav_card .icon img {
  width: 12px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
/* hover */
.nav_grid4 .nav_card:hover .imgbox img {
  transform: scale(1.06);
}
.nav_grid4 .nav_card:hover::after {
  background: rgba(0, 0, 0, 0.45);
}
.nav_grid4 .nav_card:hover .icon {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
}
/* レスポンシブ */
@media (max-width: 1080px) {
  .nav_grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 576px) {
  .nav_grid4 {
    grid-template-columns: 1fr;
  }
  .nav_grid4 .nav_card {
    aspect-ratio: 1 / 1;
  }
}
.menu_sec, .menu_sec p, .menu_sec a, .menu_sec h2, .menu_sec h3, .menu_sec h4 {
  color: #fff;
}
.menu_sec a {
  text-decoration: none;
}
.menu_sec .titlebox3 .en {
  color: #fff;
}
.menu_sec .titlebox3 .jp {
  color: #fff;
}
/* 各カード：右と下に線（これで中線が揃う） */
.menu_sec .menu_item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* #番号など薄くしたい場合 */
.menu_sec .menu_no {
  opacity: 0.7;
}
/* 丸ボタン（右の矢印）を見本っぽく白枠＋白矢印に */
.menu_sec .menu_circle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu_sec .menu_circle img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
/* hover（任意） */
.menu_sec .menu_item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.menu_sec {
  background: #5E6276;
}
.menu_sec .menu_inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}
/* titlebox3 */
.menu_sec .titlebox3 {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 60px);
}
.menu_sec .titlebox3 .title {
  flex: 0 0 auto;
  min-width: 220px;
}
.menu_sec .titlebox3 .txtbox {
  flex: 1 1 auto;
  max-width: 620px;
}
.menu_sec .titlebox3 .txtbox p {
  margin: 0;
  line-height: 2;
  opacity: .9;
}
.menu_sec .titlebox3 .more1 {
  flex: 0 0 auto;
  margin-left: auto;
}
.menu_sec .titlebox3 .more1 a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .7);
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.menu_sec .titlebox3 .more1 .icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: transform .2s;
}
.menu_sec .titlebox3 .more1 .icon img {
  width: 10px;
  height: auto;
  display: block;
}
.menu_sec .titlebox3 .more1 a:hover .icon {
  transform: translateX(2px);
}
.menu_grid2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.menu_grid2 {
  --menu_line: rgba(255, 255, 255, 0.18);
  margin-top: 60px;
}
/* 右線（before）※必要なカードだけ後でONにする */
.menu_grid2 .menu_card::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 0;
  width: 1px;
  height: auto;
  background: var(--menu_line);
  opacity: 0;
}
/* 下線（after）※必要なカードだけ後でONにする */
.menu_grid2 .menu_card::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  width: auto;
  background: var(--menu_line);
  opacity: 0;
}
/* 下線：1,2,3 だけON */
.menu_grid2 .menu_card:nth-child(1)::after, .menu_grid2 .menu_card:nth-child(2)::after, .menu_grid2 .menu_card:nth-child(3)::after {
  opacity: 1;
}
/* 右線：1,2,4,5 だけON */
.menu_grid2 .menu_card:nth-child(1)::before, .menu_grid2 .menu_card:nth-child(2)::before, .menu_grid2 .menu_card:nth-child(4)::before, .menu_grid2 .menu_card:nth-child(5)::before {
  opacity: 1;
}
/* ===== 各カード ===== */
.menu_grid2 .menu_card .icon {
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
/* ホバーでちょい右上に移動（数値は好みで） */
.menu_grid2 .menu_card:hover .icon {
  transform: translateX(6px);
}
/* ついでにホバーで少し強調（任意） */
.menu_grid2 .menu_card:hover .icon {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}
.menu_grid2 .menu_card {
  position: relative;
  display: block;
  text-decoration: none;
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) clamp(40px, 3vw, 80px);
  /* 全部白 */
  color: #fff;
}
/* hover（任意：うっすら明るく） */
.menu_grid2 .menu_card:hover {
  background: rgba(255, 255, 255, 0.04);
}
/* #番号：左上 */
.menu_grid2 .menu_no {
  font-family: "EB Garamond", serif;
  font-size: 22px;
  position: absolute;
  top: clamp(14px, 2vw, 22px);
  left: clamp(20px, 8vw, 42px);
  margin: 0;
  opacity: 0.85;
  letter-spacing: 0.06em;
}
/* 線画アイコン：上寄せ中央 */
.menu_grid2 .menu_card .imgbox {
  height: 200px;
  margin: 30px auto clamp(8px, 2vw, 18px);
}
.menu_grid2 .menu_card .imgbox img {
  width: auto;
  height: 100%;
  display: block;
  /* 線画を白く（黒線SVG想定） */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
/* メニュー名：左下寄せ */
.menu_grid2 .menu_name {
  font-family: "Zen Old Mincho", serif;
  margin: 0;
}
/* smallも白で薄めに */
.menu_grid2 .menu_name small {
  color: rgba(255, 255, 255, 0.85);
}
/* 右の丸ボタン：右下 */
.menu_grid2 .menu_card .icon {
  position: absolute;
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu_grid2 .menu_card .icon img {
  width: 10px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
@media (max-width: 1080px) {
  .menu_grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* いったん全部OFF（3列用の指定を無効化） */
  .menu_grid2 .menu_card::before, .menu_grid2 .menu_card::after {
    opacity: 0;
  }
  /* 下線：1 2 3 4 */
  .menu_grid2 .menu_card:nth-child(1)::after, .menu_grid2 .menu_card:nth-child(2)::after, .menu_grid2 .menu_card:nth-child(3)::after, .menu_grid2 .menu_card:nth-child(4)::after {
    opacity: 1;
  }
  /* 右線：1 3 5（＝左列のカードに右線） */
  .menu_grid2 .menu_card:nth-child(1)::before, .menu_grid2 .menu_card:nth-child(3)::before, .menu_grid2 .menu_card:nth-child(5)::before {
    opacity: 1;
  }
  .menu_grid2 .menu_card:nth-child(2)::before, .menu_grid2 .menu_card:nth-child(4)::before {
    opacity: 0;
  }
  .menu_sec .menu_inner {
    padding: 0;
  }
  .menu_grid2 .menu_card .imgbox {
    height: clamp(140px, 10vw, 200px);
  }
}
@media (max-width: 576px) {
  .menu_grid2 {
    grid-template-columns: 1fr;
  }
  /* 右線は完全に消す */
  .menu_grid2 .menu_card::before {
    content: none;
  }
  /* 下線は残す */
  .menu_grid2 .menu_card::after {
    opacity: 1;
  }
  /* 最後のカードだけ下線を消す */
  .menu_grid2 .menu_card:last-child::after {
    opacity: 0;
  }
  .menu_grid2 .menu_card {
    padding: clamp(36px, 5vw, 64px) clamp(22px, 3vw, 40px);
  }
  .menu_grid2 .menu_card .icon {
    bottom: clamp(24px, 4vw, 40px);
    right: clamp(16px, 3vw, 30px);
  }
}
.cate1 .titlebox3 {
  gap: 100px;
}
.titlebox3 .jp1 {
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 0.2em;
}
.cate1 {
  position: relative;
  overflow: hidden;
}
/* 2カラム配置 */
.cate1 .boxwrap {
  align-items: flex-start;
  gap: clamp(30px, 6vw, 90px);
  max-width: 1280px;
}
/* 左カラム */
.cate1 .titlebox3 {
  flex: 0 0 clamp(220px, 26vw, 340px);
  gap: clamp(18px, 3vw, 36px);
}
/* 右カラム */
.cate1 .txtbox {
  flex: 1;
  max-width: 720px;
}
.bottombox .wm-wrap{
  display:flex;
  width:max-content;
  overflow:hidden;
}

.bottombox .wm{
  margin:0;
  font-family:"Zen Old Mincho","Yu Mincho",serif;
  font-weight:400;
  font-size:clamp(100px, 12vw, 160px);
  letter-spacing:.06em;
  color:#CFD1D8;
  pointer-events:none;
  user-select:none;
  white-space:nowrap;
  flex:0 0 auto;
  animation: wm-flow 50s linear infinite;
  will-change: transform;
}

@keyframes wm-flow{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* 1本分ずらす */
}
@media (max-width: 768px) {
  /* cate1 全体は縦積み */
  .cate1 .boxwrap {
    flex-direction: column;
    gap: 0;
  }
  /* titlebox3 は中身だけ横並び */
  .cate1 .titlebox3 {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    margin-bottom: clamp(30px, 4vw, 60px);
  }
  .cate1 .titlebox3 .title {
    flex: 0 0 auto;
  }
  .cate1 .titlebox3 .more1 {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .cate1 .titlebox3 .more1 a {
    display: flex; /* 念のため */
    align-items: center;
    gap: 12px;
  }
  .cate1 .txtbox {
    width: 100%;
    max-width: 100%;
  }
}
.leftbox .logo img{
  /* 通常時（弱め） */
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,0.6))
    drop-shadow(0 0 6px rgba(255,255,255,0.6))
    drop-shadow(0 0 12px rgba(255,255,255,0.5));

  transition: filter 300ms ease; /* ←これで滑らか */
  will-change: filter;
}

.leftbox .logo:hover img{
  /* ホバー時（強め） */
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 1))
    drop-shadow(0 0 12px rgba(255, 255, 255, 1))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 40px rgba(255, 255, 255, 0.85));
}
.pagetitle {
  position: relative;
  overflow: hidden;
}
/* titlebox を左下に固定 */
.pagetitle .titlebox {
  position: absolute;
  left: clamp(30px, 15vw, 120px);
  bottom: clamp(60px, 10vw, 100px);
  z-index: 20;
  align-items: flex-start;
}
.pagetitle .titlebox .titleimg {
  width: min(720px, 88vw); /* 横幅だけ調整（好みで） */
  height: auto;
}
.pagetitle .titlebox .titleimg img {
  width: 100%;
  height: auto;
  display: block;
}
body:not(.gjs-dashed) .pagetitle {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
/* ====== 各画像 ====== */
body:not(.gjs-dashed) .pagetitle .imgbox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  margin-left: auto;
  opacity: 0;
  z-index: 1;
  animation: pagetitleFade 24s infinite ease-in-out;
  will-change: opacity;
}
/* 中の画像だけズーム */
.pagetitle .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
}
/* ====== 3秒ずつズラす（4枚） ====== */
body:not(.gjs-dashed) .pagetitle .imgbox:nth-of-type(1), .pagetitle .imgbox:nth-of-type(1) img {
  animation-delay: 0s;
	z-index: 1;
}
body:not(.gjs-dashed) .pagetitle .imgbox:nth-of-type(2), .pagetitle .imgbox:nth-of-type(2) img {
  animation-delay: 6s;
	z-index: 2;
}
body:not(.gjs-dashed) .pagetitle .imgbox:nth-of-type(3), .pagetitle .imgbox:nth-of-type(3) img {
  animation-delay: 12s;
	z-index: 3;
}
body:not(.gjs-dashed) .pagetitle .imgbox:nth-of-type(4), .pagetitle .imgbox:nth-of-type(4) img {
  animation-delay: 18s;
	z-index: 4;
}
.pagetitle .bgimg{
	z-index: 6;
}
/* ====== フェード（3秒用） ====== */
@keyframes pagetitleFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  15% {
    opacity: 1;
  }
  25% {
    opacity: 1;
    transform: scale(1.1);
  }
  50% {
    opacity: 0;
    transform: scale(1.1);
  }
  70% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
/* ====== ズーム ====== */
@keyframes pagetitleZoom {
  0% {
  }
  80% {
  }
  100% {
    transform: scale(1.1);
  }
}
/* ====== テキストは最前面 ====== */
.pagetitle .titlebox {
  z-index: 10;
}
.pagetitle .txtbox p {
  position: absolute;
  bottom: 120px;
  left: 120px;
  z-index: 100;
}
/* ---------- 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) {
	.pagetitle .titlebox{
		width: 90%;
		left: 5%;
		bottom: 30%;
	}
	.pagetitle .jp{width: 80%;}
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {}