main .video-wrapper p.catch-copy {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  text-align: center;
  font-size: calc(22px + 4vw);
  text-shadow: 1px 1px 20px #000;
  color: #fff;
  margin: auto;
}

body{
background-color:white;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.video-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

  #image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('./img/psb.svg');
    background-size: 320px 320px;
    background-repeat: repeat;
    background-attachment: fixed; /* ★追加：パララックス効果 */
    opacity: 0.02;
    }
  
@keyframes diagonalMove {
  0% {
    background-position: 0% 100%; /* 左下 */
  }
  100% {
    background-position: 100% 0%; /* 右上 */
  }
}

header{
background-color:black;
}
.logo{
width:280px;
height:auto;
padding:5px 60px 0 30px;
}

section{
padding:60px 0 120px 0;
}

.catch-copy-box {
  position: absolute;
  top: 40%;
  left: 20%;
  z-index: 5;
  color: white;
  text-align: left;
}


.catch-copy-main {
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 背景に溶け込まないよう影つける */
	font-family: "Sawarabi Mincho";
}
.spf{
  font-size: 2.2rem !important;
  margin:0 5px 0 5px;
}
.catch-copy-sub {
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 背景に溶け込まないよう影つける */
	font-family: "Sawarabi Mincho";
}
nav {
  position: fixed;
  top: 5;
  left: 0;
  width: 100%;
  z-index: 1000; /* 前面に出すため */
  background-color: #fff; /* 背景必須（透け防止） */
}

nav.navbar {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent !important;
}

.navbar-nav .nav-item {
  margin: 0 5px; /* 左右に20pxずつ間隔を設定 */
}

/* 通常のリンクスタイル */
.news-link {
  color: white !important;
  font-weight: normal;
}

.navbar-nav .nav-link {
  position: relative;
  color: white !important;
  font-weight: normal;
  transition: color 0.2s, font-weight 0.2s;
}

/* 下線の初期状態 */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: white;
  transition: width 0.3s ease;
}

/* ホバー時に下線が伸びる */
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.heading {
	border-left: 0px solid chartreuse;
	padding: 0 10px 0 10px;
}



.grid {
  position: relative;
  max-width:100%;
  margin:0 auto;
}
.item {
  display: block;
  position: absolute;
  width:calc(16.67% - 11px);
  height:auto;
  margin: 5px;
  z-index: 1;
  background: #fff;
  color: #000;
}

.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}

  
/*--------------------
Portfolio
--------------------*/

figure {
	position: relative;
	overflow: hidden;
	margin: 0 1px 1px 0;
	background: #726FB9;
	text-align: center;
	cursor: pointer;	
}

figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;	
}


.item-content img{
	width: 100%;
	max-height: 260px;
object-fit: cover;
}

.item-content figure figcaption > a {
	z-index: 2;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
.item-content figure figcaption, .item-content figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

figure.effect-bubba {
	background: #000;
	margin-bottom: 1px;
}

figure.effect-bubba img {
	opacity: 0.90;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-bubba:hover img {
	opacity: 0.4;
}

figure.effect-bubba figcaption::before,
figure.effect-bubba figcaption::after {
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-bubba figcaption::before {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

figure.effect-bubba figcaption::after {
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}

figure.effect-bubba h4 {
	opacity: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	padding-top: 30%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,-20px,0);
	transform: translate3d(0,-20px,0);
}

figure.effect-bubba p {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 0;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-bubba:hover figcaption::before,
figure.effect-bubba:hover figcaption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-bubba:hover h4,
figure.effect-bubba:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


.tab-wrap {
	background: White;
	box-shadow: 0 0 5px rgba(0, 0, 0, .1);
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	padding: 0 0 20px;
}

.tab-label {
	color: dimgray;
	cursor: pointer;
	flex: 1;
	font-weight: bold;
	order: -1;
	padding: 12px 24px;
	position: relative;
	text-align: center;
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s;
	user-select: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	background-color:gainsboro;
}

.tab-label:hover {
	background: rgba(0, 191, 255, .1);
}

.tab-switch:checked+.tab-label {
	color: black;
	background: whitesmoke;
}

.tab-label::after {
	background: DeepSkyBlue;
	bottom: 0;
	content: '';
	display: block;
	height: 3px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(100%);
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms;
	width: 100%;
	z-index: 1;
}

.tab-switch:checked~.tab-label::after {
	transform: translateX(-100%);
}

.tab-switch:checked+.tab-label::after {
	opacity: 1;
	transform: translateX(0);
}

.tab-content {
	height: 0;
	opacity: 0;
	padding: 0 20px;
	pointer-events: none;
	transform: translateX(-30%);
	transition: transform .3s 80ms, opacity .3s 80ms;
	width: 100%;
}

.tab-switch:checked~.tab-content {
	transform: translateX(30%);
}

.tab-switch:checked+.tab-label+.tab-content {
	height: auto;
	opacity: 1;
	order: 1;
	pointer-events: auto;
	transform: translateX(0);
}

.tab-wrap::after {
	content: '';
	height: 20px;
	order: -1;
	width: 100%;
}

.tab-switch {
	display: none;
}
  
footer{
	margin-top:0px;
  background-color:rgba(0,0,0);
}  
  
  
#top-button{
	z-index: 999;
}
  
.container .fas{
	font-size: 1rem;
	margin-right:5px;
}  
  
.selb {
  background-color: white;
  margin:5px;
  color: black;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.5s;
}
.selb P{
	font-size: 1rem;
}
/* マウスオーバー時 */
.selb:hover {
  background-color:gray;
  color: white;
}

/* Active状態を示すクラス */
.selb.active {
  background-color:dimgray;
  color: white;
}  
  
  


.img-box {
  position: relative;
  overflow: hidden;
	cursor: pointer;	
}

.img-box img {
  display: block;
  width: 100%;
  height: auto;
}

.img-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  z-index: 2;
  padding: 0.5em 1em;
  white-space: nowrap;
}
.modal-footer{
  background-color:black;
}
.modal .btn {
  width: 130px;
  background-color:#0d6efd;
  border-color:rgba(200,200,200);
  color: white;
}
.modal .btn:hover {
  background-color:rgba(0,0,255);
  border-color:rgba(255,255,255);
  color: white;
}
.news .col-1{
width:6rem;
border-radius: 5px;
}
.news .col-2{
width:12rem;
}

.news a{
color:black;
font-weight:bold;
text-decoration:none;
}
.news a:hover{
color:red;
font-weight:bold;
text-decoration:none;
}

.rinen{
margin:10px 0 30px 0;
}
.rinen ul li{
list-style-type: none;
  font-size: 1.2rem;
/*	font-family: "Sawarabi Mincho";*/
}

.slider-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.topimg {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
 }


.topimg li {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.topimg li img{
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: scale(1);
  transition: 6.5s ease-out;
}
.topimg li.zoom_animation img{
  transform: scale(1.1);
/*
  filter: grayscale(100%);
  filter: blur(10px);
  animation: toColor 6.5s ease-in-out forwards;
*/ 
}
@keyframes toColor {
  from {
    filter: grayscale(100%);
    filter: blur(10px);
  }
  to {
    filter: grayscale(0%);
    filter: blur(0px);
  }
}


.img-masks {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.img-masks::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.img-masks:hover {
	opacity: 0.4;
}
/* 動画用 */
.video-slide video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.table {
  color: #000;
  background-color: #fff;
  border-color: #ccc;
}

.table th,
.table td {
  border-color: #ccc;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f3f3f3;
}

.table-primary {
  background-color: #e0e0e0 !important;
  color: #000 !important;
}

.mask-gradient::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%; /* 上から10%のみマスク */
  }
nav.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.95) !important;
  color: black;
  transition: background-color 0.8s;
}


section:target::before {
  content: "";
  display: block;
  height: 100px;
  margin-top: 0px;
}

.qa-1 {
    width: 100%;
    margin-bottom: 7px;
    border: 1px solid #d6dde3;
    border-radius: 5px;
    background-color:white;
}

.qa-1 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-1 summary::before,
.qa-1 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-1 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-1 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-1[open] summary::after {
    transform: rotate(225deg);
}

.qa-1 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-1[open] p {
    transform: none;
    opacity: 1;
}

.qa-1 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}
.form-group{
margin-bottom:10px;
}
.c-img{
padding:20px 80px 20px 80px;
}
.ac-t{
font-size:0.8rem;
}
/* 1000ピクセル幅以下になったら1カラム化 */
@media ( max-width : 1000px ){
.c-img{
padding:0px;
margin-bottom:10px;
}

  .navbar-nav .nav-item {
    margin: 10px 60px; /* 上下に余白を追加してタップしやすく */
  }

  .navbar-collapse {
    justify-content: center !important;
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem; /* 少し大きく */
  }
  
  .item{
    width:calc(100% - 10px);
    height:auto;
  }
.item-content P{
  font-size: 1.0rem;
  }
  
.video-wrapper {
  width: 100%;
  height: 50vh; /* 画面の高さ100% */
}
  .catch-copy-box {
    left: 50% !important;
    top: 75%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: left;
  }

  .catch-copy-main,
  .catch-copy-sub {
    padding: 0 60px;
  }
  

.catch-copy-main {
  font-size: 1.5rem;
}
.spf{
  font-size: 1.2rem !important;
}
.catch-copy-sub {
  font-size: 1rem;
}

}

figure.effect-bubba figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

figure.effect-bubba h4,
figure.effect-bubba p {
  margin: 0;
  padding: 0;
  opacity: 0;
  color: #fff;
  transition: opacity 0.35s, transform 0.35s;
  transform: translateY(10px);
}

figure.effect-bubba:hover h4,
figure.effect-bubba:hover p {
  opacity: 1;
  transform: translateY(0);
}

#map-grayscale {
    filter: grayscale(100%);//白黒に変換
}
