@charset "utf-8";
/* CSS Document */
html, body,
ul, ol, li,
h1, h2, h3, h4, h5, h6, p,
form, input, div {
  margin: 0;
  padding: 0;
	box-sizing: border-box
}


body{
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  font-style: normal;
	background-color:#FAFAF6;
	width: 100%;
	
}
	
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
	display: block;
}

.header{
	position:fixed;
}

.wave_header{
	container-type:inline-size;
	container-name:head;
	position: relative;
	z-index:5;
	width: 100%;
	background-color:transparent;
	align-items:center;
	justify-content:center;
	padding-top:0rem;
	padding-bottom:3rem;
}

.wave_index {
  position: absolute;
  top: 5%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(0); 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  font-size: 16px;
  color: #67624d;
  max-width:100%;
  gap:3rem;
}

.top{
	position: relative;
	top:0;	
}

.wave_top{
	width:100vw;
	aspect-ratio:1920/113;
	clip-path: url(#waveClip);
	margin-top:-44vw;
	height: auto;
}


.wave_track{
	aspect-ratio:16/7;
	clip-path: url(#waveClip);
	margin-top:0;
	z-index: 30;
	width:100%;
}


.wave_track img{
	position: absolute;
	width: 100vw;
	height: 53vw;
	object-fit:cover;
	opacity:0;
	animation:fadeSlideshow 20s infinite;
}

.wave_track img:nth-child(1)
{animation-delay:0s;}
.wave_track img:nth-child(2)
{animation-delay:5s;}
.wave_track img:nth-child(3)
{animation-delay:10s;}
.wave_track img:nth-child(4)
{animation-delay:15s;}

@keyframes fadeSlideshow{
	0%{opacity:0;}
	5%{opacity:1;}
	25%{opacity:1;}
	30%{opacity:0;}
	100%{opacity:0;}

}

.bgBlue{
	width:100vw;
	top:0;
	height:auto;
	margin-top:-3.5rem;
	z-index:-1;
}

.bgBlue svg{
	width:100%;
	height:auto;	
}




.button{
	transition: transform 0.3s ease; 
	z-index: 1001;
	width:15%;
	max-width:100%;
	height:auto;
	display:block;
	height: auto;
}

.button:hover {
	transform:scale(1.1) rotate(2deg);
}

.logo {
  z-index: 1100;
width:100%; 
  margin-top: 8%;
  text-align: center;
}

.logo_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em; 
	
}


.logo_text {
width: 100%;
  display: flex;          
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  text-align: center;
  margin:2rem auto ;

	
}



.logo h3 {
  font-size: 14px;
  text-align: center;
  color: #67624d;
	margin-left: 1em;
	
}

.dot{
	border-bottom: 3px dotted #d2eae2;
	width: 80%;
	margin: 0rem auto;
}


.gallery{
  position: relative;
  width: 100%;
  margin-top: 7%;
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 常に4列固定 */
  gap: 1rem;
}

.gallery_item{
  position: relative;
  width: 100%;
  container-type: inline-size;
  z-index: 0;
  will-change: transform, filter;
	padding-bottom: 2rem;
}

.gallery_item::after{
	content: "";
	display: block;
	height: clamp(12px,3vw,5vw);
}

.gallery_item .click-img{
  width: 65%;
	left:20%;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform .35s ease, filter .35s ease, box-shadow .35s ease;
}

.caption{
  margin-top: .6rem;
  line-height: 1.6;
  font-size: .9rem;
}

.square_left{
  position: absolute;
  background-color: #d2eae2;
  transition: transform .35s ease, filter .35s ease, box-shadow .35s ease;
  z-index: -1; 
  width: 10vw; 
  height: 10vw;
  left: 35%; 
  top: -5%;
}

.burst{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  transition: transform .35s ease, filter .35s ease;
  opacity: .95;
  left:-12%;
	top:5%;
	
}
/* ホバー*/
.gallery_item:hover .click-img,
.gallery_item:hover .square_left{
  transform: translateY(-6px) scale(1.025);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.gallery_item:hover .burst{
  animation: spin 15s linear infinite; 
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.12));
  transform: scale(1.02);
}

.modal{
	position: fixed;
	inset:0;
	background: rgba(0,0,0,0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
	
	display: flex;
	align-items:center;
	justify-content:center;
	padding:4vmin;
	z-index:99999;

}
.modal.is-open{
	opacity: 1;
	pointer-events: auto;
	}

.modal_body{
	margin:0 auto;
	margin-inline:auto; 
	display:flex;
	flex-direction: row;
	align-items:center; 
	justify-content: center;
	width: 90%;
	height: 90%;
	max-width: 1000px;
	max-height:86vh;
	gap:2rem;
}


.modal_overlay{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
}

.modal_img{
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 72dvh;
	margin-top:20rem;
}

.modal_caption{
  line-height: 1.6;
  font-size: 1rem;
}

.modal_close{
  position: absolute; top: .5rem; right: .5rem;
  border: none; background: #fff; font-size: 1.25rem; line-height: 1;
  padding: .4rem .6rem; border-radius: .6rem; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
@container (min-width: 640px){
  .modal__caption{ font-size: 1rem; }
}
/*モーダル中停止*/
body.modal-open{
  overflow: hidden;
  touch-action: none;
}
body.modal-open .gallery_item:hover .click-img,
body.modal-open .gallery_item:hover .square_left,
body.modal-open .gallery_item:hover .burst{
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  animation: none !important;
}

@keyframes spin{
  from{ transform: rotate(0deg); }
  to  { transform: rotate(360deg); }
}

.gallery .caption{display: none}

#modalImage{
	display: block;
	margin-top:0;
	margin-left:auto;
	max-width: 50%;
	max-height: 80vh;
	object-fit: contain;
}

#modalCaption{
	flex:1;
	z-index: 10000;
	margin-top: 1rem;
	font-size:1rem;
	color: #fff;
	text-align: center;
	line-height: 1.4;
	white-space: pre-line;
	text-align: left;
}

#modalCaption a{
	color: #fff;
	text-decoration: underline;
	text-decoration-style: dotted;
	margin-top:5rem !important; 
	transform: color 1s ease;
	text-underline-offset:4px;
}

#modalCaption a:hover{
	color: #8DC1D3;
}

#modalCaption .caption_title {
	font-size: 1.6rem;
	font-weight: bold;
	margin-bottom:1rem;
}


.modal_close{
	position:absolute;
	top:1rem;
	right:1rem;
	width:44px;
	height: 44px;
	border:0;
	border-radius:50%;
	background-color: rgba(0,0,0,0.6);
	color:#fff;
	cursor:pointer;
	backdrop-filter:blur(2px);
	font-size:20px; 
	
}

.wave_footer{
	width:100%;
	position:relative;
	height: auto;
}

.wave_footer svg {
	position: absolute;
    width: 100%;
	left:0;
	right: 0;
	bottom:0;
	height: auto;
	z-index: 0;
	pointer-events: none;

}

.footer_contents {
	position: reative;
	z-index: 1;
	min-height: clamp(180px,24vw,320px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-content: center;
	text-align: center;
	padding-bottom: clamp(16px,3vw,40px);
}

.footer_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sns_links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: baseline;
	gap:3rem;
	list-style:none;
	padding:0;
	bottom:5%;
}

.sns_links li a {
	font-size: 15px;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	border-bottom: 3px dotted #fff;
	z-index: 9999;
	background-color:#d2eae2;
	position: absolute;
	display: flex;
}

.Gotop{
	position: absolute;
	left:15%;
	bottom:17%;
	transform: translateX(-50%);
	z-index: 99999;
	width: 30%;
}

.Gotop img{
	width: 100%;
	z-index: 5000;
	padding-left:7vw;
	display: block;
	margin-top:2rem;
	transition: transform .3s ease;
}

	.Gotop:hover img{
		animation:floatY 3s ease-in-out infinite;
	}

@keyframes floatY{
	0% {transform:translateY(0);}
	50% {transform:translateY(1rem);}
	100% {transform:translateY(0);}
}

@media (min-width:1024px){

	.wave_index {
		font-size: 2.2em;
		gap:14rem;	
		top:10%;
	}
	
	.logo {
	margin-top: 8%;	
	}
	
	.logo h1 {
		font-size: 30px;
		
	}
	
	.logo_text h3{
		font-size: 23px;		
	}
	
	.dot{
	margin: 5rem auto;
	}
	
	.Gotop{
		width: 20%;
		left:12%;
		bottom:25%;
	}
	.sns_links li a {
		font-size: 22px;
	}
}

@media (min-width:600px) and (max-width:1023px){

	.wave_index {
		font-size: 1.5em;
		gap:7rem;	
		top:9%;
	}
	.bgBlue{
	margin-top: -3rem !important;
	}
	
	.logo {
	margin-top: 3%;
		
	}
	
	.Gotop{
		width: 20%;
		left:12%;
		bottom:19%;
	}
	
}