@charset "utf-8";
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
@import url("slide.css");
@import url("inview.css");

:root {

	--bg-color: #fff;
	--bg-inverse-color: #333;

	--primary-color: #003750;
	--primary-inverse-color: #fff;

	--light-color: #dfffff;
	--light-inverse-color: #333;

	--secondary-color: #3a5a7a;
	--secondary-inverse-color: #fff;

	--accent-color: #a9c21f;
	--accent-inverse-color: #fff;

	--content-space: 8.33vw;

	--headerH: 70px;

}

	@media screen and (max-width:500px) {

	:root {
	--content-space: 10px;
	}

	}

@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}

@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

body * {box-sizing: border-box;}

html,body {
	font-size: 15px;
}

@media screen and (min-width:900px) {
	html, body {
	font-size: 17px;
	}
}

body {
	margin: 0;
	padding:0;

	font-family:
		"Noto Serif JP",
		"Hiragino Mincho Pro",
		"ヒラギノ明朝 Pro W3",
		"HGS明朝E",
		"ＭＳ Ｐ明朝",
		"MS PMincho",
		serif;

	font-optical-sizing: auto;
	-webkit-text-size-adjust: none;

	background: var(--bg-color);
	color: var(--bg-inverse-color);

	line-height: 2;

	-webkit-font-smoothing: antialiased;

	text-rendering: optimizeLegibility;
}

figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

table {border-collapse:collapse;}

img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

video {max-width: 100%;}

iframe {width: 100%;}

input {font-size: 1rem;}
section > ol,
section > ul {margin-left: 2rem;}

section {
	padding: 0 var(--content-space);
	margin: 5vw 0;
}

a {
	color: inherit;
	transition: 0.3s;

	touch-action: manipulation;

	overflow-wrap: anywhere;
}

a:hover {
	filter: brightness(1.2);
}

a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

#container {
	animation: opa1 0.2s 0.4s both;
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 100vh;
	min-height: 100dvh;
}

body:not(.home) #container {
	grid-template-rows: 1fr;
}

header{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;

	background: transparent;
	color: var(--primary-inverse-color);

	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;

	height: var(--headerH);
	line-height: 1;

	padding: 0 var(--headerH) 0 2rem;

	will-change: transform, background;
	transform: translateZ(0);

	backface-visibility: hidden;

	transition:
		transform .35s ease,
		opacity .35s ease,
		background-color .35s ease,
		backdrop-filter .35s ease;
}

@media screen and (min-width:1025px){

.site-header.is-scroll{
	background-color: var(--primary-color);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow:
		0 1px 0 rgba(255,255,255,0.9),
		0 2px 0 rgba(0,0,0,0.08);

	transition:
		transform .25s ease,
		opacity .25s ease,
		background .25s ease,
		backdrop-filter .25s ease;
}

}

.site-header.is-hide{
	opacity: 0;
	transform: translateY(-100%);
	pointer-events: none;
}

#logo {
	margin: 0;
	flex-shrink: 0;
}

#logo img {
	display: block;
	height: 40px;
}

@media screen and (max-width:1200px) {
	#logo img { height: 33px; }
}

@media screen and (max-width:800px) {
	header { position: absolute; }
	#logo img { height: 30px; }
}

#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}

.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

#menubar_hdr.display-none {display: none;}

.ddmenu_parent ul {display: none;}

.ddmenu_parent ul {
	max-height: 400px;
	overflow-y: auto;
	position: relative;
}

a.ddmenu::before {
	font-family: bootstrap-icons;
	content: "\F229";
	margin-right: 0.4em;
	display: inline-block;
	transform: scale(1.0) translateY(0.1em);
	opacity: 0.8;
}

.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;
	overflow: auto;
	z-index: 100;
	inset: 0;
	padding: 80px var(--content-space) 80px;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	line-height: 2.0;
	font-size: 1.0rem;
}

.small-screen #menubar {display: none;}

.small-screen #menubar a {
	display: block;
	text-decoration: none;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	margin: 0 0.5rem 0.2rem auto;
	width: 96%;
	padding: 0.25rem 0.8rem 0.25rem 1.2rem;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: none;
}

.small-screen #menubar a:hover,
.small-screen #menubar a:focus {
	background: var(--primary-inverse-color);
	color: var(--primary-color);
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	font-weight: 700;
}

.small-screen #menubar ul ul a {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	border: none;
	margin: 0 0.5rem 0.2rem auto;
	width: 90%;
	padding: 0.25rem 0.8rem 0.25rem 1.4rem;
	font-weight: 600;
	border-radius: 6px;
}

.small-screen #menubar ul ul a:hover,
.small-screen #menubar ul ul a:focus {
	background: var(--primary-inverse-color);
	color: var(--primary-color);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	font-weight: 700;
}

#menubar_hdr {
  display: none;
  animation: opa1 0s 0.2s both;
  cursor: pointer;
  width: var(--headerH);
  height: var(--headerH);
  position: fixed;
  z-index: 101;
  right: 0;
  top: 0;
}

#menubar_hdr.ham {
    background-image: url('../images/header/menu.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

#menubar_hdr span {
	display: block;
	position: absolute;
	left: 18px;
	transition: 0.3s;
	width: 35px;
	height: 3px;
	background: #fff;
	box-shadow: 1px 1px rgba(0,0,0,0.3);
}

#menubar_hdr span:nth-of-type(1) { top: 24px; }
#menubar_hdr span:nth-of-type(2) { top: 34px; }
#menubar_hdr span:nth-of-type(3) { top: 44px; }

#menubar_hdr.ham span:nth-of-type(1) { transform: translateY(10px) rotate(-45deg); }
#menubar_hdr.ham span:nth-of-type(2) { opacity: 0; }
#menubar_hdr.ham span:nth-of-type(3) { transform: translateY(-10px) rotate(45deg); }

.small-screen #menubar_hdr { display: flex; }

main {
	overflow-x: clip;
	min-width: 0;

	font-family:
		"Noto Serif JP",
		"Hiragino Mincho Pro",
		"ヒラギノ明朝 Pro W3",
		"HGS明朝E",
		"ＭＳ Ｐ明朝",
		"MS PMincho",
		serif;

	text-wrap: pretty;

	text-rendering: optimizeLegibility;

	font-size: clamp(0.98rem, 0.2vw + 0.95rem, 1.05rem);
}

body:not(.home) main {
	margin-top: var(--headerH);
}

main h2 {
	display: inline-flex;
	flex-direction: column-reverse;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin-top: 3rem;
}

main h2.c {
	display: flex;
	margin-top: 3rem;
}

main h3 {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

main h2 .small,
main h4 span {
	font-size: 0.85rem;
	opacity: 0.5;
	letter-spacing: 0.2em;
}

main h2.logo-mark {
	position: relative;
	padding-top: 35px !important;
}

main h2.logo-mark::before {
	content: "\f3ee";
	font-family: "bootstrap-icons";
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 18px;
	line-height: 1;

	color: var(--accent-color);
}

main h5 {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

main p {
	margin-bottom: 1.6em;
}

main a {
	display: inline-block;
	padding: 0.15em 0.1em;
	margin: -0.15em -0.1em;
}

main a,
button {
	min-height: 44px;
}

main a:focus-visible,
button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.popup-calendar {
  text-align: center;
  margin: 0 0 40px 0;
}

.popup-calendar a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: #0573a1;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid #fff;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  transition: all 0.2s ease-in-out;
}

.popup-calendar a::before{
	content:"";
	position:absolute;
	top:0;
	left:-75%;
	width:50%;
	height:100%;
	background: linear-gradient(
		120deg,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.3) 50%,
		rgba(255,255,255,0) 100%
	);
	transform: skewX(-25deg);
	animation: shine 5s infinite;
}

@keyframes shine {
  0%   { left:-75%; top:0; }
  3%  { left:125%; top:100%; }
 100%  { left:125%; top:100%; }
}

.popup-calendar a:hover,
.popup-calendar a:focus {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

.popup-calendar a:active{
	transform:translateY(-1px);
	box-shadow:0 4px 6px rgba(0,0,0,0.2);
}

@media screen and (max-width: 600px) {
  .popup-calendar a {
    font-size: 14px;
    padding: 10px 20px;
  }
}

.calendar-modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.calendar-modal-content{
  position:relative;
  width:90%;
  max-width:700px;
  height:90vh;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
}

.calendar-modal-content iframe{
  width:100%;
  height:100%;
  border:none;
}

.close-btn{
  position:absolute;
  top:22px;
  right:15px;
  font-size:28px;
  color:#fff;
  background:rgba(222, 222, 222, 0.7);
  cursor:pointer;
  z-index:9999;
}

@media screen and (max-width:1024px){

	.calendar-modal-content{
		height:calc(100vh - 120px);
		margin-bottom:70px;
	}

}

.slide-wrap {
	position: relative;
}

.slide-thumbnail {
	overflow: hidden;
	position: relative;
}

.slide-thumbnail .img {
	display: flex;
	transition: transform 0.5s ease-in-out;
	justify-content: flex-start;
	padding: 0;
}

.slide-thumbnail .item {
	flex: 0 0 40%;
	max-width: 40%;
	padding: 10px;
	box-sizing: border-box;
	margin: 0 10px;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 280px;
	display: flex;
	flex-direction: row;
	background: #fff;
	border: 1px solid #ddd;
	gap: 10px;
	align-items: stretch;
}

.slide-thumbnail .item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.slide-thumbnail .thumb {
	width: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	aspect-ratio: 16 / 9;
	background: #f5f5f5;
	padding: 10px;
	box-sizing: border-box;
}

.slide-thumbnail .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thumb .zoom-icon {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 30px;
	height: 30px;
	background: rgba(0,0,0,0.4);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.0;
	text-align: center;
	pointer-events: none;
}

.slide-thumbnail .text {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-top: 28px;
	height: 100%;
}

.slide-thumbnail h4 {
	font-size: 15px;
	line-height: 1.2;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.slide-thumbnail ul {
 padding-top: 10px;
}

.slide-thumbnail ul li {
	font-size: 15px;
}

.slide-thumbnail p {
	font-size: 15px;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 8;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

.slide-thumbnail .name {
	margin-top: auto;
	text-align: right;
	font-size: 12px;
	line-height: 1.2;
}

@media (min-width:768px) and (max-width:1200px) {
	.slide-thumbnail .item {
		flex: 0 0 50%;
		min-width: 75%;
	}

}

@media (max-width:767px) {
	.slide-btn.prev { left: -15px; }
	.slide-btn.next { right: -15px; }

	.slide-btn a {
		width: 50px;
		height: 50px;
		font-size: 1.5rem;
	}

	.slide-thumbnail .item {
		flex-direction: column; /*縦並び*/
		align-items: center;
		min-width: 80%;
		margin: 0 10px;
		height: auto;
		gap: 0;
  padding: 20px 0 10px 0;
	}

	.slide-thumbnail .thumb {
		width: 250px;
		height: 300px;
		padding: 0 30px;
	}

	.slide-thumbnail .text {
		flex: 1;
		padding: 0 10px;
  line-height: 1.5;
	}

	.slide-thumbnail h4 {
		font-size: 16px;
		padding-bottom: 10px;
	}

	.slide-thumbnail p {
		font-size: 16px;
		max-width: 100%;
	}

	.slide-thumbnail .name { font-size: 14px; }
}

.item-label {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 4px 10px;
	font-size: 12px;
	color: #fff;
	border-radius: 20px;
	z-index: 2;
	font-weight: bold;
}

.label-event { background: #f6b26b; }
.label-seminar { background: #0573a1; }
.label-topic { background: #6ec6e6; }

.slide-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99;
}

.slide-btn.prev { left: -30px; }
.slide-btn.next { right: -30px; }

.slide-btn a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #fff;
	font-size: 1.6rem;
	background: rgba(0,0,0,0.2);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.slide-btn a:hover { background: rgba(0,0,0,0.6); transform: scale(1.1); }
.slide-btn a:active { transform: scale(0.95); }

.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.popup-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}

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

.popup-close {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 44px;
	height: 44px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	transform: translateZ(0);
	cursor: pointer;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 10px;
  gap: 5px;
}

.image-box {
  position: relative;
  width: 100%;
  aspect-ratio:16/9;
  overflow: hidden;
  margin-bottom: 3px;
}

.image-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-box:hover video {
  transform: scale(1.05);
}

.image-box a::after {
  content: "▶";
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
}

.video-wrapper small {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-top: 3px;
  margin-bottom: 3px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  opacity: 0;               
  pointer-events: none;     
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal .close {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

.modal video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  max-width: 90%;
  max-height: 90%;
}

@media screen and (min-width:1024px) {
  .video-wrapper {
    max-width: 1400px;
  }
}

@media screen and (max-width:768px) {
  .video-wrapper {
    gap: 10px;
    margin-bottom: 15px;
  }
}

.text-kazari {

	font-family:
		"Times New Roman",
		Times,
		serif;
	font-weight: 500;

	line-height: 1.05;
	letter-spacing: 0.02em;

	font-size: clamp(50px, 7.0vw, 110px);

	margin-top: 0.2em;
	margin-bottom: clamp(-88px, -7.0vw, -10px);

	background-image: linear-gradient(
		var(--light-color),
		var(--secondary-color)
	);
	background-repeat: no-repeat;

	-webkit-background-clip: text;
	background-clip: text;

	-webkit-text-fill-color: transparent;
	color: transparent;

	position: relative;
	z-index: 2;
	isolation: isolate;

	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.list-normal * {margin: 0;padding: 0;}

.list-normal .list {
	display: flex;
	gap: 7rem;
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	padding: 3vw;
	margin-bottom: 4vw;
	border: 4px solid #eee;
	position: relative;
}

@media screen and (max-width: 1024px) {
    .list-normal .list {
        gap: 4.5rem;
    }
}

@media screen and (max-width: 767px) {
    .list-normal .list {
        gap: 2rem;
    }
}

.list-normal .text {
    flex: 1;
}

.list-normal .num {
	position: absolute;
	right: 0px;
	top: -10vw;
	color: var(--light-color);
	color: #ddd;
	opacity: 0.8;
	font-size: 9.5vw;
}

@media screen and (max-width: 1024px) {
    .list-normal .num {
        top: -11.5vw;
		font-size: 11vw;
    }
}

@media screen and (max-width: 767px) {
    .list-normal .num {
        top: -15vw;
		font-size: 14vw;
    }
}

.list-normal figure {
	width: 30%;
	margin-top: 0.6rem;
	margin-bottom: 1.0rem;
}

.list-normal h3 {
	margin-bottom: 1.0rem;
}

@media screen and (min-width:1000px) {
  .flex1 {
    display: flex;
    gap: 4vw;
    align-self: start;
    align-items: center;
  }
}

.flex1 .list-grid-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 0 0 33rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.flex1 .list-grid-menu li {
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border: 1px solid #ccc;
  transition: all 0.3s;
  cursor: pointer;
}

.flex1 .list-grid-menu li:hover,
.flex1 .list-grid-menu li:active {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2); 
}

.flex1 .list-grid-menu a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.flex1 .list-grid-menu i {
  display: inline-block;
  padding-right: 1.5rem;
  color: var(--accent-color);
  transform: scale(1.5);
  transform-origin: left center;
}

.flex1 .image-box.pattern2 {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.flex1 .image-box.pattern2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

@media screen and (min-width:800px) {
  .c2 {
    display: flex;
    justify-content: space-between;
    gap: 5vw;
  }
  .c2 .text {
    flex: 1;
  }
}

.list-grid .list * {margin: 0;padding: 0;}

.list-grid {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 3vw;
}

@media screen and (max-width: 767px) {
	.list-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.list-grid .list {
	display: grid;
	grid-template-rows: auto 1fr;
	position: relative;
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
	padding: 1rem;
	line-height: 1.5;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-grid .list:hover,
.list-grid .list:active {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.list-grid .list figure {
	margin-bottom: 0.5rem;
}

.list-grid h4 {
	text-align: center;
	margin-bottom: 0.5rem !important;
}

.list-grid h4 span {
	display: block;
	opacity: 1;
}

.list-grid p {
	font-weight: normal;
	font-size: 0.85rem;
}

.list-grid ol,.list-grid ul {
	margin-left: 1rem !important;
	font-size: 0.85rem;
}

.list-grid .list .btn a {
	display: block;
	text-decoration: none;
	background: #fff;
	color: #333;
	text-align: center;
	padding: 0.5rem 1rem;
	margin-top: 1rem;
	border: 1px solid #ccc;
	transition: all 0.3s;
}

.list-grid .list .btn a:hover,
.list-grid .list .btn a:active {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

	@media screen and (min-width:700px) {

	.new {
		display: grid;
		gap: 1rem;
		grid-template-columns: auto 1fr;
	}

	}

.ta1 caption {
	font-weight: bold;
	padding: 0.5rem 1rem;
	background: var(--bg-inverse-color);
	color: var(--bg-color);
	margin-bottom: 1rem;
	border-radius: 5px;
}

.ta1 {
	table-layout: fixed;
	width: 100%;
	border-top: 1px solid #ccc;
	margin-bottom: 2rem;
}

.ta1 tr {
	border-bottom: 1px solid #ccc;
}

.ta1 td, .ta1 th {
	word-break: break-all;
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	text-align: left;
	padding: 0.5rem;
}

.ta1 th {
	width: 25%;
	text-align: center;
}

footer * {margin: 0;padding: 0;}
footer ul {list-style: none;}

footer {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	padding: var(--content-space);
}

footer .footer1 {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 30px;
}

footer .logo {
	font-size: 1.5rem;
}

footer .logo img {
	width: 300px;
	margin-bottom: 0.1rem;
}

footer .footer2 {
    flex: 1;
}

@media screen and (min-width:700px) {
	footer {
		display: flex;
		gap: 2rem;
	}

	footer .footer1 {
		margin-bottom: 0;
		text-align: left;
	}
}

footer small {
	display: block;
	text-align: right;
	margin-top: 2rem;
}

.iframe-box1 {
	width: 100%;
	aspect-ratio: 5 / 4;
	position: relative;
	overflow: hidden;
}
.iframe-box1 iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.footer-img img {
	width: 200px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.icon-area {
	display: flex;
	align-items: flex-start; 
	gap: 35px;
	margin-top: 1rem;
}

.icons {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.icons i {
	font-size: 30px;
}

.pr a {
	text-decoration: none;display: block;
	background: #555;
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}

.bg-primary {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
}

.bg-secondary {
	background: var(--secondary-color);
	color: var(--secondary-inverse-color);
}

.bg-light {
	background: var(--light-color);
	color: var(--light-inverse-color);
}

.bg {
	padding-top: 5vw;
	padding-bottom: 5vw;
}
.bg + .bg {
	margin-top: calc(-1 * 5vw) !important;
}

.pagetop-show {display: block;}

.pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;
	right: 20px;
	bottom: 50px;
	color: #fff;
	font-size: 1.5rem;
	background: rgba(0,0,0,0.2);
	width: 60px;
	line-height: 60px;
	border-radius: 50%;
}

@media screen and (max-width:800px){

	.pagetop a{
		bottom: 100px;
	}

}

:root{
 --contact-grad: linear-gradient(135deg,#0573a1,#7ac921);
}

.header-contact{
	display:flex;
	gap:10px;
	margin-left:auto;
	position:relative;
}

.contact-btn{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:2px;

	appearance:none;
	-webkit-appearance:none;

	padding:0 24px;
	min-width:165px;
	min-height:34px;

	border-radius:999px;

	background:
		linear-gradient(to bottom, rgba(255,255,255,0.22), rgba(255,255,255,0)),
		var(--contact-grad);

	color:#fff;
	border:2px solid rgba(255,255,255,1.0);
	cursor:pointer;
	font-size:14px;
	font-weight:600;
	letter-spacing:0.035em;
	line-height:1;

	font-family:
		"Noto Serif JP",
		"Hiragino Mincho ProN",
		"Yu Mincho",
		"MS PMincho",
		serif;

	text-decoration:none;
	white-space:nowrap;

	box-shadow:
		0 2px 4px rgba(0,0,0,0.18),
		inset 0 1px 0 rgba(255,255,255,0.35);

	position:relative;
	overflow:hidden;

	transition:
		transform .22s cubic-bezier(.22,.61,.36,1),
		box-shadow .22s cubic-bezier(.22,.61,.36,1),
		filter .18s ease;

	will-change: transform;
}

.contact-btn i{
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:18px;
	line-height:1;
}

.contact-btn:hover{
	transform:translate(-1px,-1px);
	box-shadow:
		0 10px 10px rgba(0,0,0,0.20),
		inset 0 1px 0 rgba(255,255,255,0.35);
	filter:brightness(1.2);
}

.contact-btn::before{
	content:"";
	position:absolute;
	top:0;
	left:-75%;
	width:50%;
	height:100%;
	background: linear-gradient(
		120deg,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.4) 50%,
		rgba(255,255,255,0) 100%
	);
	transform: skewX(-25deg);
	transition:none;
}

.contact-btn:hover::before{
	animation:shine 0.8s forwards;
}

@keyframes shine {
	0% { left:-75%; }
	100% { left:125%; }
}

.contact-btn:active{
	transform:translate(0,0);
	box-shadow:0 2px 4px rgba(0,0,0,0.18);
}

@media(max-width:1024px){
	.header-contact{
		display:none;
	}
}

@media screen and (min-width:1025px){
  header.is-hide{
    transform:translateY(0) !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }
}

.sp-contact-bar{
  display:none;
}

@media screen and (max-width:1024px){

  .sp-contact-bar{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    display:flex;
    z-index:9999;

    background:#111;
    border-top:1px solid rgba(255,255,255,0.5);

    transition:
      background .25s ease,
      backdrop-filter .25s ease,
      -webkit-backdrop-filter .25s ease,
      opacity .25s ease;
  }

  .sp-contact-bar.is-scroll{
    background:rgba(11,11,11,0.8);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    opacity:0.75;
  }

  .sp-btn{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;

    padding:4px 0;

    color:#fff;
    text-decoration:none;

    font-size:12px;
    font-weight:200;

    font-family:
      "Noto Serif JP",
      "Hiragino Mincho ProN",
      "Yu Mincho",
      serif;

    background:var(--contact-grad);

    border-top:2px solid rgba(255,255,255,0.7);
    border-right:2px solid rgba(255,255,255,0.7);

    text-shadow:
      0 3px 6px rgba(0,0,0,0.85);

    position:relative;
    overflow:hidden;

    transition:
      filter .25s ease,
      transform .18s ease;
  }

  .sp-btn:last-child{
    border-right:none;
  }

  .sp-btn i{
    font-size:30px;
    color:#fff;
    line-height:1;
    transform:translateY(2px);

    text-shadow:
      0 3px 6px rgba(0,0,0,0.85);
  }

  .sp-btn:hover{
    filter:brightness(1.2);
    transform:translate(-1px,-1px);
  }

  .sp-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-75%;
    width:50%;
    height:100%;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.4) 50%,
      rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition:none;
  }

  .sp-btn:hover::before{
    animation:shine 0.8s forwards;
  }

  @keyframes shine {
    0% { left:-75%; }
    100% { left:125%; }
  }

  .sp-btn:active{
	transform:translate(0,0);
	box-shadow:0 2px 4px rgba(0,0,0,0.18);
  }

  body{
    padding-bottom:60px;
  }

}

.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ac0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mt0 {margin-top: 0px !important;}
.mb0 {margin-bottom: 0px !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.7); color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.look .color-check {color: yellow !important;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.block {display: block !important;}
.marker {background: linear-gradient(transparent 70%, yellow 70%);}
.border-radius1 {border-radius: 22.5vw 0 0 0;}

html {
  scroll-behavior: smooth;
}

.title-banner {
  position: relative;
  width: 100%;
  height: 260px;
  background-image: url('../../images/banner/pc.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-banner h2 {
  color: #ffffff;
  font-size: 2.0rem;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  margin: 0;
  padding: 0 1rem;
  margin-top: 1.0rem;
}

@media screen and (max-width: 1200px) {
  .title-banner {
    height: 240px;
    background-image: url('../../images/banner/t.jpg');
  }

  .title-banner h2 {
    font-size: 1.9rem;
	margin-top: 1.0rem;
  }
}

@media screen and (max-width: 800px) {
  .title-banner {
    height: 220px;
    background-image: url('../../images/banner/m.jpg');
  }

  .title-banner h2 {
    font-size: 1.8rem;
	margin-top: 1.0rem;
  }
}

#fancy-boxes {
  padding: 1rem 1rem;
  background-color: var(--bg-color);
}

#fancy-boxes 

.fancy-grid {
  display: grid;
  gap: 3vw;
}

@media screen and (min-width: 1200px) {
  .fancy-grid {
    grid-template-columns: repeat(4, 1fr);
    transform: scale(0.85);
    transform-origin: top center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .fancy-grid {
    grid-template-columns: repeat(3, 1fr);
    transform: scale(0.85);
    transform-origin: top center;
  }
}

@media screen and (max-width: 767px) {
  .fancy-grid {
    grid-template-columns: repeat(2, 1fr);
    transform: none;
  }
}

.fancy-grid > div,
.fancy-grid > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 1rem;
  line-height: 1.5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.fancy-grid > div:hover,
.fancy-grid > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.fancy-grid p {
  font-size: 0.85rem;
}

.fancy-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1414 / 2000;
  margin-bottom: 0.7rem;
}

.fancy-grid figcaption {
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

.fancy-grid .btn a {
  display: block;
  text-decoration: none;
  background: #fff;
  color: #333;
  text-align: center;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  transition: all 0.3s;
  margin-top: 1rem;
}

.fancy-grid .btn a:hover,
.fancy-grid .btn a:active {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.fancy-grid .btn {
  margin: 0;
  padding: 0;
  margin-top: auto;
}

.fancy-grid > div > a {
  display: block;
}

.fancybox__backdrop {
  background: rgba(0,0,0,0.8) !important;
}

.fancy-grid a:nth-child(n+21),
.fancy-grid > div:nth-child(n+21) {
  display: none !important;
}

h5 {
  position: relative;
  padding-left: 3rem;
  counter-increment: h3-counter;
}

.container {
  counter-reset: h3-counter;
}

h5::before {
  content: counter(h3-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: bold;
  background: var(--contact-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h5::after {
  content: "";
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 88%;
  background: var(--contact-grad);
}
