@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600&display=swap');
html,body{
    font-family: "Times New Roman", "Noto serif", "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #FFFFFF;
	line-height: 1.7;
	letter-spacing:0.05rem;
}
header,footer,div,section,article,nav,a,p,span,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,img,dl,dt,dd,form,input,textarea{ box-sizing: border-box; }
::selection { background: #030200; }
::-moz-selection { background: #030200; }
a,a img{
  color: #FFFFFF;
  transition: opacity 0.3s;
  text-decoration: none;
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer */
  -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}
a:hover,a:hover img{ opacity: 0.7;cursor: pointer; }
img,picture{
	max-width: 100%;
	display: block;
}
.clear{ clear: both; }
.overflow{ overflow: hidden; }

h3{font-size:1.6rem;}


#nav-open {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 11rem;
  height: 9rem;
  cursor: pointer;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  mix-blend-mode: difference;
}
#nav-open span,#nav-open span:before,#nav-open span:after {
  content: "";
  display: block;
  background: #fff;
  height: 2px;
  width: 4.2rem;
  position: absolute;
  transition: .3s ease-in-out;
}
#nav-open span{
  transition: background 0s .15s;
}
#nav-open span:before {
  bottom: 0.9rem;
  transform: rotate(0);
  transition: bottom .15s .15s, transform .15s;
}
#nav-open span:after {
  bottom: -0.9rem;
  transform: rotate(0);
  transition: bottom .15s .15s, transform .15s;
}

#nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: url(../images/nav-bg.jpg) center top no-repeat;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;

  overflow-y: scroll;
  overscroll-behavior: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;

  opacity: 0;
  pointer-events: none;
  transition: .3s ease-in-out;
}
#nav-content::before{
  content: "";
  display: block;
  width: 1px;
  height: calc(100% + 1px);
  position: absolute;
  left: 0;
  top: 0;
}
#nav-content.active {
  opacity: 1;
  pointer-events: inherit;
}
#nav-content.active::before{
  opacity: 0.5;
}
#nav-open.active span {
  background: transparent;
}
#nav-open.active span:before {
  bottom: 0;
  transform: rotate(-30deg);
  transition: bottom .15s, transform .15s .15s;
}
#nav-open.active span:after {
  bottom: 0;
  transform: rotate(30deg);
  transition: bottom .15s, transform .15s .15s;
}

#nav-content .content{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav-content ul.hum-nav{
  width: calc(100% - 53rem);
}
#nav-content ul.hum-nav li{
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(250, 250, 250, 0.3);
}
#nav-content ul.hum-nav li a{
  font-size: 3.9rem;
  font-weight: 400;
}
#nav-content ul.hum-nav li a span{
  font-size: 1.5rem;
  margin-left: 0.5em;
}
#nav-content .right{
  width: 45.5rem;
  text-align: center;
}
#nav-content a.reservation-btn{
  width: 32rem;
  margin: 3rem auto 0;
}


nav ul.nav{
  width: 100%;
  height: 9rem;
  display: flex;
  justify-content: center;
  align-items: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 997;
  mix-blend-mode: difference;
}
nav ul.nav li{
  line-height: 1;
  font-weight: 400;
  padding: 0 2rem;
}
nav ul.nav li a{
  color: #fff;
}
nav ul.nav li:not(:last-child){
  border-right: 2px solid #fff;
}


nav .nav-reservation{
  height: 9rem;
  display: flex;
  align-items: center;
  position: fixed;
  right: 2rem;
  top: 0;
  z-index: 997;
}
nav .nav-reservation a{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20rem;
  height: 5.2rem;
  border-radius: 0rem;
  background: #df0011;
  color: #fff;
  border: 2px solid #df0011;
  font-weight: 400;
  transition: background 0.4s, color 0.4s;
}
nav .nav-reservation a:hover{
  opacity: 1;
  background: transparent;
  color: #df0011;
}


a.reservation-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 7.8rem;
  border-radius: 3.9rem;
  background: #df0011;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  margin-top: 4rem;
  border: 2px solid #df0011;
  transition: background 0.4s, color 0.4s;
}
a.reservation-btn span{
  font-size: 1.4rem;
}
a.reservation-btn:hover{
  opacity: 1;
  background: transparent;
  color: #df0011;
}


a.view-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20rem;
  height: 5.5rem;
  border-radius: 2.8rem;
  background: #FFFFFF;
  color: #fff;
  font-weight: 400;
  transition: background-color 0.3s;
}
a.view-btn.wh{
  background: #fff;
  color: #FFFFFF;
}
a.view-btn:hover{
  opacity: 1;
  color: #fff;
  background: #FFFFFF;
}
a.view-btn svg{
  width: 1.6rem;
  margin-right: 1rem;
  opacity: 1;
}
a.view-btn svg path{
  transform: fill 0.4s;
}
a.view-btn:hover svg path{
  fill: #fff;
}


nav #nav-open,
nav ul.nav,
nav .nav-reservation{
  transform: translateY(-100%);
  transition: transform 1s;
  transition-delay: 0.8s;
  transition-property: transform;
}
nav.loaded #nav-open,
nav.loaded ul.nav,
nav.loaded .nav-reservation{
  transform: translateY(0);
}


section,footer{
  background-color: #fff;
}


.fv{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 9rem 0 4rem;
  color: #fff;
  position: relative;
}
.fv::before{
  content: "";
  display: block;
  width: 100%;
  height: 9rem;
  background: url(../images/nav-bg.jpg) center top no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.fv .fv-swiper{
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
}
.fv .swiper-wrapper,
.fv picture.swiper-slide,
.fv .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.fv-swiper .swiper-slide-active img,
.fv-swiper .swiper-slide-duplicate-active img,
.fv-swiper .swiper-slide-prev img{
  animation: zoomUp 10s linear 0s 1 normal both;
}
@keyframes zoomUp {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}
.fv h1 img{
  width: 20rem;
  position: relative;
  z-index: 1;
}
.fv .scroll{
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 7rem;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
}
.fv .scroll::before,
.fv .scroll::after{
  content: "";
  display: block;
  width: 2px;
  position: absolute;
  left: 50%;
  margin-left: -1px;
}
.fv .scroll::before{
  background: rgba(255,255,255,0.3);
  height: 5.4rem;
  bottom: 0;
}
.fv .scroll::after{
  height: 3rem;
  background: rgba(255,255,255,1);
  animation: scroll 2s infinite;
}
@keyframes scroll {
  from {
    bottom: 2.4rem;
    opacity: 0;
  }
  30%{ opacity: 1; }
  to {
    bottom: -3rem;
  }
}


.h-1{
  font-size: 5.4rem;
  padding-bottom: 1rem;
  margin-bottom: 5.5rem;
  position: relative;
  font-weight:400;
}
.h-1::before{
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 2px solid;
  background: #FFFFFF;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.6s;
}
.h-1 > span{
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}
.h-1 > span > span{
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: opacity 0.8s, transform 0.8s;
  transition-delay: 0.3s;
  transition-property: opacity, transform;
}
.h-1.load::before{
  width: 6rem;
}
.h-1.load > span > span{
  opacity: 1;
  transform: translateY(0);
}


section{
  background-color: #fff;
  position: relative;
  z-index: 1;
}


#concept{
  background: url(../images/concept-bg.jpg) center top no-repeat;
  background-size: cover;
  padding: 9rem 0 54rem;
  margin-bottom: 25rem;
  position: relative;
  z-index: 2;
}
#concept::before{
  content: "";
  display: block;
  width: 100%;
  height: 25rem;
  background-color: #030200;
  position: absolute;
  left: 0;
  bottom: -25rem;
  z-index: 0;
}
#concept .h-1{
  text-align: center;
}
#concept .h-1::before{
  left: 50%;
  transform: translateX(-50%);
}
#concept .txt-1{
  font-size: 3.2rem;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
  margin-left:2rem;
}
#concept p{
  display: block;
  width: 48rem;
  margin: 0 auto;
}
#concept .concept-img1,
#concept .concept-img2,
#concept .concept-img3,
#concept .concept-img4{
  position: absolute;
  z-index: 2;
}
#concept .concept-img1 img,
#concept .concept-img2 img,
#concept .concept-img3 img,
#concept .concept-img4 img{
  width: 100%;
}
#concept .concept-img1{
  width: 45rem;
  bottom: -15.2rem;
  left: 50%;
  margin-left: -22.5rem;
}
#concept .concept-img2{
  width: 28.4rem;
  bottom: -24.7rem;
  left: 50%;
  margin-left: 10.8rem;
}
#concept .concept-img3{
  width: 34.7rem;
  bottom: 5.8rem;
  right: 50%;
  margin-right: 40.3rem;
}
#concept .concept-img4{
  width: 30rem;
  bottom: 29.9rem;
  left: 50%;
  margin-left: 40.1rem;
}


#menu{
  padding: 9rem 0 1rem;
  position: relative;
  z-index: 1;
}
#menu .content{
  position: relative;
}
#menu a.view-btn{
  position: absolute;
  right: 5rem;
  top: 0;
}
#menu .h-1{
  margin-bottom: 6rem;
}
@media (min-width: 769px){
.swiper-menu{
  max-width: 101rem;
}
.swiper-menu .swiper-wrapper{
  justify-content: flex-start; /* 左詰めにする */
  flex-wrap: wrap;
  transform: unset !important;
}
}
.swiper-menu .swiper-slide{
  display: block;
  width: calc(100% / 2 - 2rem);
  margin-bottom: 8rem;
  margin-right: 4rem; /* 隣接するスライド間の余白を追加 */
}
.swiper-menu .swiper-slide:nth-child(2n) {
  margin-right: 0; /* 2番目ごとのスライドの右余白を削除して、端を揃える */
}
.swiper-menu .swiper-slide h3{
  font-size: 2.2rem;
  text-align: center;
  margin: 1.5rem 0 1.5rem;
}
.swiper-menu .swiper-slide h3 span{
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
}



#course{
  background: url(../images/course-bg.jpg) center top no-repeat;
  background-size: cover;
  color: #fff;
  padding: 9rem 0;
}
#course .content{
  position: relative;
}
#course a.view-btn{
  position: absolute;
  right: 5rem;
  top: 0;
}
#course ul{
  display: flex;
  justify-content: space-between;
  margin: 6rem 0 3rem;
}
#course ul li{
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: calc(100% / 2 - 1.5rem);
  height: 32.3rem;
  padding: 3rem;
  font-weight: 400;
  overflow: hidden;
  position: relative;
}
#course ul li::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,#fff,#808080);
  mix-blend-mode: multiply;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
#course ul li img.bg{
  width: 100%;
  height: 140%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
#course ul li .num{
  font-size: 4rem;
  line-height: 1;
  margin-bottom: auto;
}
#course ul li h3{
  font-size: 3rem;
}
#course ul li .num,
#course ul li h3,
#course ul li p{
  position: relative;
  z-index: 1;
}


#message{
  background: url(../images/message-bg.jpg) center top no-repeat;
  background-size: cover;
  padding: 9rem 0 12rem;
  position: relative;
  z-index: 2;
}
#message .h-1{
  margin-bottom: 9rem;
}
#message .wrap-1{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
}
#message .wrap-1 img.img{
  width: 38.5rem;
}
#message .wrap-1 p.txt{
  width: 52rem;
}
#message .wrap-2{
  max-width: 101rem;
  margin: 9rem auto 0;
  padding: 0 0 9rem 20rem;
  position: relative;
}
#message .wrap-2 .message-img2{
  width: 29.8rem;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
}
#message .wrap-2 .message-img2 img,
#message .wrap-2 .message-img3 img{
  width: 100%;
}


#access{
  background: #df0011;
  color: #fff;
  padding: 9rem 0;
  position: relative;
  z-index: 1;
}
#recruit{
  background: #030200;
  color: #fff;
  padding: 0rem 0 8rem;
}
#recruit .h-1{
  margin-bottom: 6rem;
}
#recruit .recruit-table{
  max-width: 101rem;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.28);
}
#recruit .recruit-row{
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.28);
}
#recruit .recruit-label{
  width: 28rem;
  padding: 2.6rem 3rem 2.6rem 0;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
}
#recruit .recruit-value{
  width: calc(100% - 28rem);
  padding: 1.6rem 0;
  line-height: 1.9;
}
#access .h-1{
  margin-bottom: 6rem;
}
#access .wrap{
  max-width: 101rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
#access .wrap .txt{
  width: 44rem;
}
#access .wrap iframe.map{
  display: block;
  width: 50rem;
  height: auto;
}
#access img.logo{
  width: 27rem;
  margin-bottom: 4rem;
}
#access h3{
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 0.5em;
  margin: 4rem 0 1em;
}
#access p.p-2{
  line-height: 1.6;
}
#access ul.link-list{
  max-width: 101rem;
  margin: 8rem auto 0;
  display: flex;
}
#access ul.link-list li{
  display: block;
  width: 25%;
}


footer{
  background: #df0011;
  color: #fff;
}
footer .box{
  border-top: 1px solid rgba(255,255,255,0.5);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 3rem 0;
}
footer .box img.logo{
  width: 12.8rem;
  margin-right: auto;
}
footer .copy{
  font-size: 1.2rem;
  margin-right: 2rem;
}
footer ul.sns{
  display: flex;
}
footer ul.sns li{
  display: block;
  margin-left: 1.6rem;
}
footer ul.sns li:nth-child(1) img{
  width: 11rem;
}
footer ul.sns li img{
  width: 3.1rem;
}




/* スクロールアニメ */
.fade-ct > *{
  opacity: 0;
  transition: opacity 1.5s;
}
.fade-b,
.fade-b-ct > *{
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 1.5s, transform 1.5s;
}

.fade-ct.load > *{
  opacity: 1;
}
.fade-b.load,
.fade-b-ct.load > *{
  opacity: 1;
  transform: unset;
}

.fade-b-ct.load > :nth-child(2),
.fade-ct.load > :nth-child(2) { transition-delay: 0.2s; }
.fade-b-ct.load > :nth-child(3),
.fade-ct.load > :nth-child(3) { transition-delay: 0.4s; }
.fade-b-ct.load > :nth-child(4),
.fade-ct.load > :nth-child(4) { transition-delay: 0.6s; }
.fade-b-ct.load > :nth-child(5),
.fade-ct.load > :nth-child(5) { transition-delay: 0.8s; }
.fade-b-ct.load > :nth-child(6),
.fade-ct.load > :nth-child(6) { transition-delay: 1s; }
.fade-b-ct.load > :nth-child(7),
.fade-ct.load > :nth-child(7) { transition-delay: 1.2s; }
.fade-b-ct.load > :nth-child(8),
.fade-ct.load > :nth-child(8) { transition-delay: 1.4s; }

.fade-b-ct.load > :nth-child(2),
.fade-b-ct.load > :nth-child(3),
.fade-b-ct.load > :nth-child(4),
.fade-b-ct.load > :nth-child(5),
.fade-b-ct.load > :nth-child(6),
.fade-b-ct.load > :nth-child(7),
.fade-b-ct.load > :nth-child(8){
  transition-property: opacity, transform;
}
.fade-ct.load > :nth-child(2),
.fade-ct.load > :nth-child(3),
.fade-ct.load > :nth-child(4),
.fade-ct.load > :nth-child(5),
.fade-ct.load > :nth-child(6),
.fade-ct.load > :nth-child(7),
.fade-ct.load > :nth-child(8) {
  transition-property: opacity;
}


/* ロード画面 */
#loading {
  width: 100%;
  height: 100%;
  background: url(../images/nav-bg.jpg) center top no-repeat #fff;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
#loading img {
  width: 20rem;
}
#loading.loaded {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s, visibility 1s;
}


/* ページトップ */
#pagetop {
  display: none;
  position: fixed;
  bottom: 1em;
  right: 1em;
  z-index: 997;
}
#pagetop a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  width: 40px;
  height: 40px;
  background-color: #FFFFFF;
}
#pagetop a img {
  width: 16px;
  margin-top: -2px;
}




/*　PC
------------------------------------------------------------------------------------------------*/
@media (min-width: 769px){
.sp{ display: none !important; }

html{ font-size: 10px; }
body{ font-size: 1.5rem; }

.content{
  width: 100%;
	max-width: 111rem;
  padding: 0 5rem;
	margin: 0 auto;
}




/*　タブレット
------------------------------------------------------------------------------------------------*/
@media (max-width: 1110px){

html{ font-size: 0.9vw; }




}/*　タブレットここまで */
}/*　PCここまで */




/*　スマホ
------------------------------------------------------------------------------------------------*/
@media (max-width: 768px){
.pc{ display: none !important; }

html{ font-size: 2.5vw; }
body{ font-size: 1.5rem; }

.content{
	width: 100%;
	padding: 0 3rem;
}


#nav-open {
  width: 6rem;
  height: 6rem;
}
#nav-open span,#nav-open span:before,#nav-open span:after {
  width: 2.2rem;
}
#nav-open span:before {
  bottom: 0.6rem;
}
#nav-open span:after {
  bottom: -0.6rem;
}

#nav-content {
  display: block;
  background: url(../images/sp/nav-bg.jpg) center top no-repeat;
  background-size: cover;
  padding: 12rem 0;
}
#nav-open.active span:before {
  transform: rotate(-37deg);
}
#nav-open.active span:after {
  transform: rotate(37deg);
}

#nav-content .content{
  display: block;
}
#nav-content ul.hum-nav{
  width: 100%;
  border-top: 1px solid rgba(250, 250, 250, 0.3);
}
#nav-content ul.hum-nav li{
  padding-bottom: 0;
  margin-bottom: 0;
}
#nav-content ul.hum-nav li a{
  display: block;
  padding: 1rem 0 1.2rem;
  font-size: 2.4rem;
  text-align: center;
}
#nav-content .right{
  width: 100%;
  margin-top: 1rem;
}
#nav-content img.logo{
  width: 14.6rem;
  margin: 2rem auto;
}
#nav-content a.reservation-btn{
  width: 100%;
  margin: 1.5rem auto 0;
}


nav .nav-reservation{
  height: 6rem;
}
nav .nav-reservation a{
  width: 15.4rem;
  height: 3.6rem;
  border-radius: 0rem;
  font-size: 1.4rem;
  right: 0.8rem;
  top: 1.3rem;
}


a.reservation-btn{
  height: 6.4rem;
  border-radius: 0rem;
}


a.view-btn{
  width: 16.7rem;
  height: 4.8rem;
  border-radius: 2.4rem;
}
a.view-btn svg{
  margin-right: 0.6rem;
}


.fv{
  padding: 6rem 0 10rem;
}
.fv::before{
  height: 6rem;
  background: url(../images/sp/nav-bg.jpg) center top no-repeat;
  background-size: cover;
}
.fv h1 img{
  width:40%;
  margin:0 auto;
}


.h-1{
  font-size: 3.6rem;
  padding-bottom: 0.5rem;
  margin-bottom: 3rem;
}
.h-1.load::before{
  width: 3rem;
}


#concept{
  background: url(../images/sp/concept-bg.jpg) center top no-repeat;
  background-size: cover;
  padding: 7rem 0 12rem;
  margin-bottom: 9rem;
}
#concept::before{
  height: 15rem;
  bottom: -15rem;
}
#concept .txt-1{
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  margin-left:2rem;
}
#concept p{
  width: 100%;
}
#concept .wrap-1{
  margin-top: 8rem;
  padding: 0 9rem 5rem 0;
  position: relative;
}
#concept .concept-img1{
  width: 100%;
  position: unset;
  margin-left: 0;
  margin-top: 2rem;
}
#concept .concept-img2{
  width: 15.2rem;
  bottom: 0;
  left: auto;
  right: 0;
  margin-left: 0;
}
#concept .wrap-2{
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 0;
  bottom: -9rem;
}
#concept .concept-img3,
#concept .concept-img4{
  position: unset;
  object-fit: cover;
  height: 18rem;
}
#concept .concept-img3{
  width: 13.5rem;
  margin-right: 0;
}
#concept .concept-img4{
  width: calc(100% - 14.7rem);
  margin-left: 0;
}


#menu{
  padding: 7rem 0 5rem;
}
#menu a.view-btn{
  right: 3rem;
  top: 1rem;
}
#menu .h-1{
  margin-bottom: 6rem;
}
.swiper-menu{
  padding: 0 3rem;
}
.swiper-menu .swiper-slide{
  width: 32rem;
  margin: 0 auto 2rem;
}


#course{
  background: url(../images/sp/course-bg.jpg) center top no-repeat;
  background-size: cover;
  padding: 7rem 0 5rem;
}
#course a.view-btn{
  width: 13.7rem;
  right: 3rem;
  top: 1rem;
}
#course ul{
  display: block;
  margin: 4rem 0 3rem;
}
#course ul li{
  width: 100%;
  height: 24.8rem;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
}
#course ul li .num{
  font-size: 3rem;
}
#course ul li h3{
  font-size: 2.4rem;
}
#course ul li p{
  line-height: 1.6;
  margin-top: 0.3em;
}


#message{
  background: url(../images/sp/message-bg.jpg) center top no-repeat;
  background-size: cover;
  padding: 7rem 0 5rem;
}
#message .h-1{
  margin-bottom: 4.5rem;
}
#message .wrap-1{
  display: block;
}
#message .wrap-1 img.img{
  width: 24.8rem;
  margin: 0 auto 4.5rem;
}
#message .wrap-1 p.txt{
  width: 100%;
}
#message .wrap-2{
  display: flex;
  justify-content: space-between;
  margin: 6rem auto 0;
  padding: 0;
}
#message .wrap-2 .message-img2 img,
#message .wrap-2 .message-img3 img{
  object-fit: cover;
  width: 100%;
  height: 23.5rem;
}
#message .wrap-2 .message-img2{
  width: 14.5rem;
  position: unset;
}
#message .wrap-2 .message-img3{
  width: calc(100% - 15.7rem);
}


#access{
  font-size: 1.6rem;
  padding: 6rem 0 0rem;
}
#recruit{
  padding: 6rem 0;
}
#recruit .h-1{
  margin-bottom: 4.5rem;
}
#recruit .recruit-table{
  border-top: 1px solid rgba(255,255,255,0.2);
}
#recruit .recruit-row{
  display: block;
  padding: 1.6rem 0;
}
#recruit .recruit-label,
#recruit .recruit-value{
  width: 100%;
  padding: 0;
}
#recruit .recruit-label{
  margin-bottom: 0.2rem;
  letter-spacing: 0.12em;
}
#recruit .recruit-value{
  line-height: 1.6;
}
#access .h-1{
  margin-bottom: 4.5rem;
}
#access .wrap{
  display: block;
}
#access .wrap .txt{
  width: 100%;
  padding: 0 3rem;
}
#access .wrap iframe.map{
  width: 100%;
  height: 30rem;
  margin-top: 6rem;
}
#access img.logo{
  width: 20rem;
  margin: 0 auto 4rem;
}
#access h3{
  margin: 2rem 0 1em;
}
#access ul.link-list{
  flex-wrap: wrap;
  margin: 4rem auto 0;
}
#access ul.link-list li{
  width: 50%;
}


footer .content{
  padding: 0;
}
footer .box{
  padding: 4.5rem 3rem 7rem;
  justify-content: flex-end;
  align-items: flex-end;
}
footer .copy{
  margin-right: 0;
}


#loading {
  background: url(../images/sp/nav-bg.jpg) center top no-repeat #fff;
  background-size: cover;
}
#loading img {
  width: 16rem;
}




}/*　スマホここまで */



    /* ロゴスライダー */
    .logo-slider {
      overflow: hidden;
      width: 100%;
      padding: 0px 0 40px;
    }

    .logo-track {
      display: flex;
      width: max-content;
      animation: logo-scroll 25s linear infinite;
    }

    .logo-track img {
      height: 70px;
      margin: 0 10px;
      flex-shrink: 0;
      vertical-align: middle;
      width: auto;
    }

    @keyframes logo-scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    @media (max-width: 768px) {
    .logo-slider {
      overflow: hidden;
      width: 100%;
      padding: 40px 0 10px;
    }
      .logo-track img {
        height: 50px;
        margin: 0 10px;
      }
    }

    @media (max-width: 480px) {
      .logo-track img {
        height: 50px;
        margin: 0 5px;
        display: block
      }
    }


    /* ロゴグリッド */
    .logo-container {
            max-width: 106rem;
            margin: 0px auto 40px;
            padding: 24px;
        }

        .logo-grid {
            display: grid;
            /* スマホ(SP)では2列 x 4段 */
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        @media (min-width: 768px) {
            .logo-grid {
                /* PCでは4列 x 2段 */
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
            }
        }

        .logo-item {
            background-color: #fff;
            border: 1px solid #eee;
            aspect-ratio: 3 / 2;
            transition: all 0.3s ease;
        }

        .logo-item a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            padding: 10%; /* ロゴの周りに適度な余白 */
            box-sizing: border-box;
        }

        .logo-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* 枠内で比率を保ちつつ収める */
            transition: 0.3s;
        }

        /* ホバー時の効果 */
        .logo-item:hover {
            border-color: #ccc;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }



/* News Section */
#news { padding: 9rem 0; background: #f9f9f9; }
.news-list { list-style: none; padding: 0; }
.news-item {
  display: flex;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: opacity 0.3s;
}
.news-item:hover { opacity: 0.6; }
.news-item .date { width: 12rem; font-weight: 400; }
.news-item .category {
  background: #FFFFFF;
  color: #fff;
  font-size: 1.1rem;
  padding: 0.2rem 1rem;
  margin-right: 2rem;
}

/* Modal */
#modal-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10000;
  display: none; /* JSで制御 */
  justify-content: center;
  align-items: center;
}
.modal-overlay {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
}
.modal-content {
  position: relative;
  background: #fff;
  width: 94%;
  max-width: 80rem;
  max-height: 86vh;
  padding: 3rem;
  overflow-y: auto;
  z-index: 10001;
}
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 2.2rem; height: 2.2rem;
  cursor: pointer;
}
.modal-close span {
  position: absolute;
  display: block;
  width: 100%; height: 2px;
  background: #FFFFFF;
}
.modal-close span:nth-child(1) { transform: rotate(45deg); top: 1.4rem; }
.modal-close span:nth-child(2) { transform: rotate(-45deg); top: 1.4rem; }

#modal-body p {
  white-space: pre-wrap; /* これで \n が改行として表示されます */
  line-height: 1.8;      /* 長文が読みやすくなるよう行間を調整 */
}

@media (max-width: 768px) {
  .news-item { flex-direction: column; align-items: flex-start; }
  .news-item .category { margin: 1rem 0; }
}
