
/*top スライダー*/

.backstretch{
  position: relative;
  width: 100%;
  height: 100%;

}

.top_fv{
  position: absolute;
  top:0;
  left: 50%;
  transform: translate(-50%,0);
  z-index: 100;
  margin-top: 30px;
  width: 100%;
}
.top_fv h1{
  color: #FFF;
  width: 100%;
  text-align:left;
  margin:40px auto 0;
  max-width: 1100px;
  font-size: var(--font-size-title);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

#TOP_FV{
  width: 100%;
  height: 100vh;
  background-color: #FFF;
}


@media screen and (max-width: 1160px) {
.top_fv{
  position: absolute;
  top:70%;
  left: -40px;
  transform: translate(0,-50%);
  z-index: 100;
  margin-top: 30px;
  width: 100%;
}
.top_fv img{
  width: 90%;
  
}
}
/*-----------------------------------main
*/


.text-box{
  padding: 100px 0px;
  max-width:var(--w4);
  margin: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.width-800{
  max-width: 800px;
}


.text-box h2 span{
  display: block;
  font-size: var(--font-size-h4);
  margin-bottom: 8px;
  font-weight: 600;
  font-family: var(--font-sans-en), sans-serif !important;
}
.text-box h2{
  text-align: left;
  font-size:var(--font-size-h2);
  letter-spacing: 0.05em;
}
.text-box.center{
  text-align: center !important;
}
.text-box.center h2{
text-align: center !important;
}

.text-box.row{
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.text-box.row .text-block{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}



#Message .img_block{
  gap: 40px;
  display: flex;
  justify-content: center;
}

.img_section{
  width: 100%;
  margin: auto;
  text-align: center;
}
.img_section .img_block{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height:460px;
}
#detail .img_section .img_block{
  background-attachment: scroll;
}
.feature-item{
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
  position: relative;
}

.feature-item .feature-content{
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 500px;
  z-index: 20;
}
.feature-item.right{
  flex-direction: row-reverse;
}
.feature-content .feature-title{
  font-size: var(--font-size-h3);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.feature-content .feature-title .feature-subtitle{
  font-size: var(--font-size-h3);
}
.feature-item .ic_1{
  position: absolute;
  top: -50px;
  right: 130px;
  z-index: 10;
}
.feature-item .ic_2{
  position: absolute;
  top: 0px;
  left: 30px;
  z-index: 10;
}
.feature-item .ic_3{
  position: absolute;
  top: -40px;
  left: 400px;
  z-index: 10;
}

#Access{
  background-color: var(--bg-color);
  padding: 0px 0 50px;
}
.access-container{
  display: flex;
  flex-direction: column;
  gap: 50px;
}

#detail #Message{
  padding-bottom: 100px;
}
#detail .feature-item .ic_1,
#detail .feature-item .ic_2,
#detail .feature-item .ic_3{
  top: -20px;
  right: 130px;
  left: auto;
  width: 240px;
  bottom: auto;
}
.access-info{
  display: flex;
  justify-content: space-between;
  max-width: var(--w4);
  width: 100%;
  margin: auto;
  text-align: left;

}
.access-info .access-title{
  font-size: var(--font-size-h3);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.access-details{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
}

.access-info h2{
  font-size: var(--font-size-h2);
  letter-spacing: 0.05em;
  font-family: var(--font-sans-en), sans-serif;
}
.access-info h2 div{
  font-size: var(--font-size-sub);
}
.access-item{
  flex: 1;
  display: flex;
  gap: 40px;
}
.access-info h4{
  font-size: var(--font-size-h5);
  letter-spacing: 0.05em;
  width: 80px;
}
.access-info p{
  flex: 1;
  line-height: 1.5;
}
.access-info{
  gap: 80px;
}
.access-info .container{
  flex: 1;
}
.col-md-6{
  cursor: pointer;
}
.flex-colmon{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.en-US #Rita-Diary.access-info p{
width: calc(100%);
overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.en-US #Rita-Diary.access-info .container {
    flex: 1;
    width: calc(100% - 280px);
}
.en-US #Rita-Diary .col-md-8{
  
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#Institution{
  background-color: var(--bg-color);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.bus{
  position: absolute;
  left: 50%;
  bottom: 60px;
  margin-left: -450px;
  z-index: 100;
}
#News{
  background-color: #FFF;
  padding: 100px 0;
}
.news-content{
  max-width: var(--w5);
  margin: auto;
}

#Rita-Diary{
  background-color: #FFF;
  padding: 100px 0;
}

#Contact{
  background-color: var(--bg-color);
  padding: 0px 0;
}
.cta-actions{
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 10px;
}

.center_ins{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.center_ins .institution-column{
display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 40px;
}
.institution-column{
  display: flex;
  max-width: var(--w4);
  gap:20px;
}
#urayama .institution-column{
flex-wrap: wrap;
}
.slider_gallery{
  margin:100px auto 0;
  padding-bottom: 30px;
  max-width: var(--w5);
  width: 100%;
}
#urayama .institution-item{
  width: calc(50% - 10px);

}
.slick-next.slick-arrow{
right: 20px;
top: auto;
bottom: 0px;
}
.slick-prev.slick-arrow{
left: 10px;
top: auto;
bottom: 0px;
}
.slick-next:before, .slick-prev:before{
  font-size: 30px;
  color: var(--base-color1);
  z-index: 11;
}
.institution-column {
}
.institution-item{
  border-radius: 8px;
  overflow: hidden;
}
.slick-initialized .slick-slide div{
  border-radius: 8px;
  overflow: hidden;
}
.slick-initialized .slick-slide p{
  margin-top: 10px;
  font-size: var(--font-size-h4);
  font-weight: bold;
}
.slick-dots{
  bottom: 5px;
  z-index: 10;
  left: 40px;
  width: calc(100% - 80px);
}
.slick-dots li.slick-active button:before{
  transform: scale(1.5);
}
.slick-slide img{
  width: 100%;
  height: auto;
  display: block;
}
.institution-detail .text-box{
  padding-bottom: 0;
}

.institution-detail{
  padding-bottom: 100px;
}
.gap_40{
  gap: 40px;
}
.item_center{
  align-items: center;
}
.artcile{
  margin: auto;
  text-align: left;
  max-width: var(--w4);
}
.artcile h3{
  font-size: var(--font-size-h4);
  border-bottom: 2px solid var(--base-color1);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.artcile li{
  font-size: var(--font-size-h5);
  line-height: 1.9;
}
.artcile ul,
.artcile p{
  padding-bottom: 60px;
}
.artcile ul {
  list-style:square;
  padding-left: 20px;
}
.artcile ol{
  list-style:decimal;
  padding-left: 20px;
}
.flex_box p{
  padding-bottom: 0;
}
.artcile .color{
  color: var(--base-color1);
}
.artcile .bg_box{
  padding:8px 15px;
  background-color: var(--base-color1);
  color: #FFF;
}

  .bg-dark a{
    font-size: 12px !important;
    background-color: #1a1a1a;
    color: #fff !important;
    font-size: 14px;
    border-radius: 4px;
    text-align: center;
    flex-shrink: 0;
  }
  #Rita-Diary .col-md-8{
    position: relative;
  }
  .d-flex.align-items-center{
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
  }
#Rita-Diary .flex-colmon a{
width: auto !important;
}
#Rita-Diary .flex-colmon h3{
  font-size: var(--font-size-h4) !important;

}
.col-md-4{
width: 300px;
overflow: hidden;
border-radius: 8px;
}
#Rita-Diary .flex-colmon a img{
width: 100% !important;
}
.flex-colmon a{
}
@media screen and (max-width: 1160px) {
  .en-US #Rita-Diary.access-info .container {
    width:100%;
}
  .slick-dots li{
    margin: 0 !important;
  }
  .slider_gallery{
  margin:40px auto 0;
  }
  .institution-column{
  flex-direction: column;
  gap:20px;
}
 .institution-column .institution-item{
  width: 100% !important;
 }
.block_sp_column{
  flex-direction: column;
  gap: 20px;}
.sp_padding_center_20{
  padding: 0 25px !important;
}
.text_align_s_left{
  text-align: left !important;
}
.col-md-4,
#Rita-Diary .flex-colmon a{
  width: 100% !important;
}
.d-flex.align-items-center{
    position:static;
    bottom: 0px;
    right: 0px;
    width: 100%;
  }
#urayama .institution-column{
  flex-direction: row;
  flex-wrap: wrap;
}
 #urayama .institution-item{
  width:calc(50% - 5px) ;
}


  #detail .feature-item .ic_1,
#detail .feature-item .ic_2,
#detail .feature-item .ic_3{
  top: 0px;
  right: -20px;
  left: auto;
  width: 160px;
  bottom: auto;
}

  .text-box{
    padding: 50px 20px;
    max-width:var(--w4);
    margin: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .text-box.row{
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .feature-item.right,
  .feature-item{
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 70px;
    position: relative;
  }
  
  .access-info{
    flex-direction: column;
    gap: 30px;
  }
  #access-item{
    flex-direction: column;
    gap: 20px;
  }
  #Institution{
    padding: 50px 0 30px;
  }
  .bus {
    position: static;
    left: auto;
    right: 20px;
    bottom: auto;
    top:280px;
    margin-top: -100px;
    margin-left: 0;
    margin-bottom: -20px;
    margin-right: -150px;
    width: 280px;
}
  #Access{
    padding: 0px 0 30px;
  }
  #News{
    padding: 50px 0;
  }
  #Rita-Diary{
    padding: 50px 20px !important;
  }
  #Contact{
    padding: 0px 0;
  }
  #Contact .cta-actions{
    flex-direction: column;
    gap: 20px;
  }
  .img-content{
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
  }
  .text-body{
    text-align: left !important;
  }
  .bg-dark a{
    font-size: 12px !important;
    background-color: #1a1a1a;
    color: #fff !important;
    font-size: 14px;
    padding: 6px 20px;
    border-radius: 4px;
    margin-right: 40px;
    min-width: 100px;
    text-align: center;
    flex-shrink: 0;
  }
  .gap-35{
    gap: 20px !important;
  }
  .access-info{
    padding:0 20px 40px !important;
  }
  .img_section .img_block{
    height:260px;
  }
  .feature-item .ic_1 {
    position: absolute;
    top: 50%;
    margin-top: -90px;
    right: -30px;
    z-index: 10;
    transform:scale(0.8);
}

 .feature-item .ic_2 {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    left: -60px;
    z-index: 10;
    transform:scale(0.8);
}
 .feature-item .ic_3 {
    position: absolute;
    top: 50%;
    margin-top: -90px;
    right: -30px;
    left: auto;
    z-index: 10;
    transform:scale(0.8);
}
#Message .img_block{
  gap: 20px;
  display: flex;
  justify-content: center;}
  #Message .img_block img{
    width: 150px;
  }
  .container{
    padding: 0px !important;
  }
  .px-24 {
    padding-right: 0px !important;
    padding-left: 0px !important;
}
}


.detail{
  margin-top: 78px;
}
.en-US .detail{
  margin-top: 60px;
}

.slick-slide{
  padding: 0 10px;
  box-sizing: border-box;
}

#detail #Message .text-box{
  padding: 0 !important;
  gap: 80px !important;
}
.message-content{
  display: flex;
  text-align: left;
  gap: 40px;
}
.message-content .message-img{
  overflow: hidden;
  border-radius: 11px;
}
.message-author{
  text-align: right;
  font-size: var(--font-size-h5);
  font-weight: 700;
}
.message-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap:20px;
}
.message-text h3{
  font-size: var(--font-size-h4);
}
.message-text h3 span{
  display: block;
  font-size: var(--font-size-h5);
  color: var(--base-color2);
}
.message-content:last-of-type .message-text h3 span{
color: var(--base-color1);
}
.message-content.rev{
  flex-direction: row-reverse;
}

@media screen and (max-width: 1160px) {
  .message-text h3 span{
    padding-bottom: 6px;
  }
  .slick-slide{
  padding: 0 4px;
  box-sizing: border-box;
}
  .message-content{
    flex-direction: column;
    gap: 20px;
  }
  .message-author{
    text-align: left;
    font-size: var(--font-size-h5);
  }
  .message-content.rev{
    flex-direction: column;
  }
  .detail {
    margin-top:60px;
    overflow: hidden;
  }
}

#article .container_w h1,
#contact .container_w h1,
#webmedia .container_w h1,
#support .container_w h1,
#webcreative .container_w h1,
#realmedia .container_w h1,
#realcreative .container_w h1,
#company .container_w h1{
  position: absolute;
  left: 50%;
  top:50%;
  font-size: 3.8rem;
  color: #FFF;
  display: block;
  transform: translate(-50%,-50%);
}
#article .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/top_d.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#company .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/company/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}
#webcreative .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/webcreative/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#realcreative .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/realcreative/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}
#support .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/support/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#realmedia .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/realmedia/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#webmedia .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/webmedia/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}
#contact .container_w{
  height: 300px;
  width: 100%;
  background: url(../img/contact/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}



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

  #TOP03{
    height: 181px;
  	background:url(../img/img3.jpg);
    background-size: cover;
  }

  .font_30{
    font-size: 18px !important
  }
  .font_26 {
    font-size: 1.7rem !important;
    text-align: left;
}
  .padding_bottom_80 {
    padding-bottom: 40px !important;
}
.padding_top_80 {
    padding-top: 40px !important;
}
.margin_bottom_80 {
  margin-bottom: 40px !important;
}
.margin_top_80 {
  margin-top: 40px !important;
}
.padding_top_100{
  padding-top: 50px !important;
}
.margin_top_50 {
    margin-top: 15px !important;
}
.margin_top_250{
  margin-top: 59px !important;
}
.margin_right_25{
  margin-right: 0 !important;
}
.margin_left_25{
  margin-left: 0 !important;
}
#TOP01 .font_15{
  font-size: 13px !important;
}
.text_line_left.font_30{
  margin-bottom: 10px !important;
}
.wrapper .font_17.flex_box{
  font-size: 14px !important;
}
#TOP01 .font_15 .font_20{
  font-size: 17px !important;
}
#TOP01 .w1{
  width: calc(100% - 50px) !important;
  margin-left: 25px;
  padding: 0 !important;
}
.wrapper>div.container_w{
padding-left:25px !important;
padding-right:25px !important;
margin-left:0px !important;
margin-right:0px !important;
box-sizing: border-box
}
.wrapper>h3,.wrapper>h2,.wrapper>div{
  padding-left:0px !important;
  padding-right:0px !important;
    margin-left:25px !important;
    margin-right:25px !important;
    width: calc(100% - 50px);
  box-sizing: border-box;
}

.wrapper>h3.font_19{
  font-size: 17px !important;
  text-align: left;
}


#TOP .container_w{
  height: 540px;
  width: 100%;
  background: url(../img/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
  position: relative;
}
#article .container_w h1,
#contact .container_w h1,
#webmedia .container_w h1,
#support .container_w h1,
#webcreative .container_w h1,
#realmedia .container_w h1,
#realcreative .container_w h1,
#company .container_w h1{
  position: absolute;
  left: 50%;
  top:50%;
  font-size: 2rem;
  color: #FFF;
  width: 330px;
  display: block;
  transform: translate(-50%,-50%);
}
#article .container_w{
  height: 140px;

  width: 100%;
  background: url(../img/top_d.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#company .container_w{
  height: 140px;
  width: 100%;
  background: url(../img/company/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}
#webcreative .container_w{
  height: 140px;
  width: 100%;
  background: url(../img/webcreative/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#realcreative .container_w{
  height: 140px;
  width: 100%;
  background: url(../img/realcreative/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}
#support .container_w{
  height: 140px;
  width: 100%;
  background: url(../img/support/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#realmedia .container_w{
  height: 140px;
  width: 100%;
  background: url(../img/realmedia/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

#webmedia .container_w{
  height: 140px;
  width: 100%;
  background: url(../img/webmedia/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}
#contact .container_w{
  height: 140px;
  width: 100%;
  background: url(../img/contact/top.jpg) no-repeat #FFF center;
  background-size: auto 100%;
}

}


/*-----------------------------------
*/



#FOOTER nav{
	display: flex;
	justify-content:center;
  border-bottom: 1px solid #707070;
  margin: auto;
  padding-bottom: 40px;
}

#FOOTER nav ul{
	display: flex;
	justify-content:center;
}
#FOOTER nav ul li:first-of-type a{
  padding-left: 0 !important;
}
#FOOTER nav ul li a.last{
  padding-right: 0 !important;
}
#FOOTER nav ul li{
	padding:0px 0px;
}
#FOOTER nav ul li a{
	display: block;
	text-align: center;
	font-size: 1.7rem;
	padding: 0 34px;
	color: #FFF !important;
	line-height: 1.2;
	letter-spacing: -0.34px;
}
#FOOTER nav ul li a.last{
	display: block;
}


#SYSTEM2{
background: url(../img/sita.png) no-repeat top center #01ABEC;
background-size: 171px auto;
}
#SYSTEM2 .img_box{
  width:357px;

}
#SYSTEM2 .text_box{
  width:492px;
  line-height: 1.6;
}
.text_h2{
  line-height: 2;
	font-size: 1.8rem;
	text-align: center;
	margin: 0 auto;
}

#SYSTEM2 .text_align_left{
  max-width: 1136px;
  margin: auto;
}
#DOWNLOAD .if{
  width: 100%;
  height: auto;
  max-width: 760px;
  margin:30px auto 0;
  padding: 30px;
  box-sizing: border-box;
}

@media screen and (max-width: 1160px) {
  #FOOTER nav{
    width: 100%;
    display: block;
    padding: 0 25px;
    box-sizing: border-box;
    border-bottom: none;
  }
    #FOOTER nav ul{
      display: block;
    }
  #FOOTER nav ul li a{
    font-size: 1.4rem;
    padding:18px 0;
    border-bottom: 1px solid #707070;

  }
  .content_header{
    position: fixed;
    top: 21px;
    right: 78px;
    z-index: 900;
  }
  .content_header a{
    font-size: 1.2rem;
    letter-spacing: -.02em;
    padding: 8px 10px 8px;
  }
  #SYSTEM2{
  background: #01ABEC;
  background-size: 171px auto;
  }
  .text_h2{
    line-height: 2;
  	font-size: 1.5rem;
  	text-align: center;
  	margin: 0 auto;
  }
  .bg_s_none {
    background: none;
  }
  #DOWNLOAD .if{
    width: 100%;
    height: auto;
      margin:20px auto 0;
      padding: 20px;
      box-sizing: border-box;
  }
    #FOOTER .padding_top_35{
    text-align: center;

  }
  #FOOTER .padding_top_35 a{
    display: inline-block;
  }
  #FOOTER .btn1{
    width: calc(100% - 50px);
    box-sizing: border-box;

  }

}

/*-----------------------------------Service
*/
.stl{
  margin-top: -450px;
}

.s_bg{
  background: url(../img/s3.jpg) no-repeat;
  background-size: 551px auto;
  width: 551px;
  height: 214px;
}


.padding_box{
padding-left: 80px;
text-align: left;
box-sizing: border-box;
line-height: 3.25;
}
#DOWNLOAD .bg_color3 img{
  margin-bottom: -45px;
}

/*--*/
.fancybox-button.fancybox-close-small{
  background-color: var(--base-color2);
  border-radius: 30px;
  opacity: 1;
}
.fancybox-button svg{
  filter: invert(1);
}
.fancybox-content{
  background-color: transparent !important;
  padding: 20px !important;
}
.group-frame,
.group-frame * {
  box-sizing: border-box;
}
.group-frame {
  max-width: 1230px;
  border-radius: 20px;
  border-style: solid;
  border-color: #f3f3f3;
  border-width: 3px;
  background-color: #FFF;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  margin: auto;
}
.header-frame {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 100%;
  max-width: 1114px;
  position: relative;
}
.frame-4416-frame {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 100%;
  position: relative;
  height: auto;
}
.ellipse-1-frame {
  flex-shrink: 0;
  width: 247px;
  height: 238px;
  position: relative;
  overflow: visible;
  object-fit: cover;
}
.group-4415-frame {
  flex-shrink: 0;
  flex: 1;
  height: auto;
  position: static;
}
.div-frame {
  color: #000000;
  text-align: left;
  font-size: var(--font-size-h3);
  font-weight: 700;
  padding-bottom: 20px;
}
.div2-frame {
  color: #000000;
  text-align: left;
}
.image-frame {
  align-self: stretch;
  flex-shrink: 0;
  display: grid;
  gap: 9px;
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.rectangle-2598-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 2 / span 1;
  grid-row: 1 / span 1;
}
.rectangle-25982-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0%;
  left: 0%;
  bottom: 0%;
  top: 0%;
  object-fit: cover;
}
.rectangle-2599-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 4 / span 1;
  grid-row: 1 / span 1;
}
.rectangle-2600-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 1 / span 1;
  grid-row: 2 / span 1;
}
.rectangle-2601-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 3 / span 1;
  grid-row: 2 / span 1;
}
.rectangle-2605-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 2 / span 1;
  grid-row: 2 / span 1;
}
.rectangle-2603-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 1 / span 1;
  grid-row: 1 / span 1;
}
.rectangle-2604-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 4 / span 1;
  grid-row: 2 / span 1;
}
.rectangle-2602-frame {
  width: 271.75px;
  height: 210px;
  position: relative;
  grid-column: 3 / span 1;
  grid-row: 1 / span 1;
}
.qs-quality-frame {
  color: #000000;
  text-align: left;
  position: relative;
  width: 100%;
  max-width: 946px;
}
.base-frame {
  padding: 80px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 100%;
  max-width: 1114px;
  position: relative;
}
.illust-frame {
  flex-shrink: 0;
  width: 203px;
  height: 194.94px;
  position: static;
  width: 18.22%;
  height: 26.59%;
  position: absolute !important;
  right: 81.78%;
  left: 0%;
  bottom: 75.72%;
  top: -2.32%;
  overflow: hidden;
}
.illust2-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0%;
  left: 0%;
  bottom: 0%;
  top: 0%;
  overflow: visible;
}
.frame-3917-frame {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 100%;
  max-width: 838px;
  position: relative;
}
.lunch-frame {
  color: var(--text-body, #111111);
  text-align: left;
  font-family: var(--h3-bold-font-family, "Inter-Bold", sans-serif);
  font-size: var(--h3-bold-font-size, 28px);
  letter-spacing: var(--h3-bold-letter-spacing, 0.05em);
  font-weight: var(--h3-bold-font-weight, 700);
  position: relative;
  width: 100%;
}
.div3-frame {
  color: var(--text-body, #111111);
  text-align: left;
  font-family: var(--h1-bold-font-family, "Inter-Bold", sans-serif);
  font-size: var(--h1-bold-font-size, 40px);
  letter-spacing: var(--h1-bold-letter-spacing, 0.05em);
  font-weight: var(--h1-bold-font-weight, 700);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.image2-frame {
  align-self: stretch;
  flex-shrink: 0;
  height: auto;
  position: relative;
}

@media screen and (max-width: 1160px) {
  .group-frame {
    padding: 30px 20px;
    gap: 30px;
  }
  .header-frame {
    gap: 30px;
  }
  .frame-4416-frame {
    flex-direction: column;
    gap: 30px;
    height: auto;
  }
  .ellipse-1-frame {
    width: 150px;
    height: 150px;
  }
  .group-4415-frame {
    width: 100%;
    height: auto;
  }
  .div-frame {
    position: static;
    left: auto;
    top: auto;
    font-size: 22px;
  }
  .div2-frame {
    position: static;
    left: auto;
    top: auto;
    font-size: 14px;
  }
  .image-frame {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }
  .rectangle-2598-frame,
  .rectangle-2599-frame,
  .rectangle-2600-frame,
  .rectangle-2601-frame,
  .rectangle-2605-frame,
  .rectangle-2603-frame,
  .rectangle-2604-frame,
  .rectangle-2602-frame {
    width: 100%;
    height: 150px;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .base-frame {
    padding: 40px 0px 0px 0px;
    gap: 30px;
  }
  .frame-3917-frame {
    gap: 20px;
  }
  .lunch-frame {
    font-size: 20px;
  }
  .div3-frame {
    font-size: 28px;
  }
  .image2-frame {
  }
}

.icon-box_st svg{
  fill:none !important;
  stroke:#FFF !important
}


/*-------------------------------*/

:root {
            --timeline-color: #8fbcae;
            --text-color: #444;
            --sub-text-color: #666;
        }


        .calendar-container {
            max-width: 900px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            column-gap: 60px;
            position: relative;
            margin: auto;
        }

        /* タイムラインの縦線 */
        .column {
            position: relative;
        }

        .column::before {
            content: '';
            position: absolute;
            left: 46px; /* 数字とドットの間 */
            top: 10px;
            bottom: 10px;
            width: 2px;
            background-color: var(--timeline-color);
            z-index: 1;
        }

        .event-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }

        .month-num {
            font-size: 1.5rem;
            font-weight: bold;
            width: 30px;
            text-align: right;
            margin-right: 15px;
            flex-shrink: 0;
            line-height: 1;
            margin-top: 2px;
        }

        .dot {
            width: 12px;
            height: 12px;
            background-color: var(--timeline-color);
            border-radius: 50%;
            margin-top: 8px;
            margin-right: 25px;
            flex-shrink: 0;
            margin-left:-4px;
        }

        .content {
            font-size: 1.05rem;
            font-weight: 600;
        }

        .content p {
            margin: 0 0 4px 0;
            text-align: left;
            line-height: 1.65;
        }
        #schedule{
          max-width: var(--w4);
        }

        #annual-schedule .note {
            font-size: 1rem;
            font-weight: normal;
            color: var(--sub-text-color);
            display: inline-block;
        }

        .footer-note {
            grid-column: 1 / -1;
            text-align: right;
            font-size: 1rem;
            margin-top: 20px;
            color: var(--sub-text-color);
        }
        .column:nth-child(2) .event-item:first-of-type{
          margin-top: 46px;
        }
        .column:nth-child(2) .event-item:last-of-type{
          margin-bottom: -46px;
        }

        /* モバイル対応（幅が狭い時は1列に） */
        @media (max-width: 768px) {
          .column:nth-child(2) .event-item:first-of-type{
          margin-top: 0;
        }
        .column:nth-child(2) .event-item:last-of-type{
          margin-bottom: 0;
        }
            .calendar-container {
                grid-template-columns: 1fr;
                gap: 0;
            }
            .column::before {
                bottom: -20px;
            }
        }




        :root {
            --accent-color: #b89b82; /* アイコン背景色 */
            --line-color: #d9e2ec;   /* 線の色 */
            --time-bg: #f0f4f8;     /* 時間の背景 */
            --text-main: #333d47;   /* メイン文字色 */
            --text-sub: #7b8794;    /* 英語文字色 */
        }

      
        .schedule-container {
            max-width: 1100px;
            width: 100%;
        }

        /* --- デスクトップ用レイアウト --- */
        .schedule-row {
            position: relative;
            display: flex;
            justify-content: space-between;
            margin-bottom: 80px;
            padding-top: 20px;
        }

        /* 横方向の線 */
        .schedule-row::before {
            content: '';
            position: absolute;
            top: 105px; /* ドットの中心 */
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--line-color);
            z-index: 1;
        }

        .schedule-item {
            position: relative;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 2;
            text-align: center;
        }

        .icon-box {
            width: 60px;
            height: 60px;
            background-color: var(--accent-color);
            border-radius: 18px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 25px;
        }

        .icon-box svg { width: 30px; height: 30px; fill: white; }

        .timeline-dot {
            width: 13px;
            height: 13px;
            background-color: white;
            border: 3px solid var(--line-color);
            border-radius: 50%;
            margin-bottom: 15px;
            margin-top: -5px;
        }

        .time-label {
            background-color: var(--time-bg);
            color: var(--text-main);
            font-weight: bold;
            font-size: 13px;
            padding: 4px 15px;
            border-radius: 20px;
            margin: auto;
            margin-bottom: 12px;
            width: fit-content;
            
        }

        .label-jp { font-weight: 800; font-size: 16px; color: var(--text-main); margin-bottom: 2px; }
        .label-en { font-size: 12px; color: var(--text-sub); }

        /* --- スマホ用レイアウト (768px以下) --- */
        @media (max-width: 768px) {
            .schedule-row {
                flex-direction: column;
                margin-bottom: 0;
                padding-top: 0;
            }

            /* 横線を消す */
            .schedule-row::before { display: none; }

            /* 縦線を引く */
            .schedule-container {
                position: relative;
                padding-left: 20px;
            }
            .schedule-container::after {
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                left: 45px; /* アイコンの中心に合わせる */
                width: 3px;
                background-color: var(--line-color);
                z-index: 1;
            }

            .schedule-item {
                flex-direction: row; /* 横並びに変更 */
                text-align: left;
                align-items: center;
                margin-bottom: 30px;
                width: 100%;
            }

            .icon-box {
                margin-bottom: 0;
                margin-right: 20px;
                flex-shrink: 0;
                z-index: 2;
                width: 50px;
                height: 50px;
            }

            /* スマホではドットを隠す、または調整 */
            .timeline-dot { display: none; }

            .content-box {
                display: flex;
                flex-direction: column;
            }

            .time-label {
                width: fit-content;
                 margin: 0;
                margin-bottom: 5px;
               
            }
        }


        :root {
            --circle-bg: #8c7e52; /* 円の背景色 */
            --arrow-color: #c5a78d; /* 矢印の色 */
            --text-white: #ffffff;
        }

       
        .flow-container {
            display: flex;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            justify-content: space-between;
        }

        .step-wrapper {
            display: flex;
            align-items: center;
            flex: 1;
        }

        /* 最後のステップには矢印を表示しないための設定 */
        .step-wrapper:last-child {
            flex: 0 1 auto;
        }

        /* 円のデザイン */
        .circle {
            
            border-radius: 50%;
            width: 190px;
            aspect-ratio: 1 / 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: var(--text-white);
            text-align: center;
            padding: 10px;
            box-sizing: border-box;
            background: url(../img/admission/1.svg) no-repeat;
            background-size: contain;
        }
        .step-wrapper:nth-child(2) .circle{
          background: url(../img/admission/2.svg) no-repeat;
            background-size: contain;
        }
        .step-wrapper:nth-child(3) .circle{
          background: url(../img/admission/3.svg) no-repeat;
            background-size: contain;
        }
        .step-wrapper:nth-child(4) .circle{
          background: url(../img/admission/4.svg) no-repeat;
            background-size: contain;
        }
        .step-wrapper:nth-child(5) .circle{
          background: url(../img/admission/5.svg) no-repeat;
            background-size: contain;
        }

        /* 矢印のデザイン（三角形） */
        .arrow {
            width: 0;
            height: 0;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            border-left: 20px solid var(--arrow-color);
            margin: 0 -8px;
            flex-shrink: 0;
            z-index: 100;
        }

        /* テキストのスタイリング */
        .en-main {
            font-size: var(--font-size-h5);
            margin-bottom: 2px;
        }
        .en-sub {
            font-size: var(--font-size-h6);
            margin-bottom: 8px;
            opacity: 0.9;
        }
        .jp-main {
            font-size: var(--font-size-h5);
            font-weight: bold;
            margin-bottom: 2px;
            letter-spacing: 0.05em;
        }
        .jp-sub {
            font-size: var(--font-size-h6);
            opacity: 0.8;
        }

        /* レスポンシブ対応：スマホ表示では縦に並べる */
        @media (max-width: 768px) {
            .flow-container {
                flex-direction: column;
                gap: 0px;
            }
            .step-wrapper {
                flex-direction: column;
                width: 200px;
            }
            .arrow {
                border-left: 15px solid transparent;
                border-right: 15px solid transparent;
                border-top: 20px solid var(--arrow-color);
                margin: -8px 0;
            }
        }

.profile-container {
  width: 100%;
  max-width: var(--w5); /* デザインに合わせて調整してください */
  margin: 40px auto;
  padding: 0px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #e0e0e0; /* 一番上の線 */
}

.profile-table tr {
  border-bottom: 1px solid #e0e0e0; /* 各行の下線 */
}

.profile-table th {
  width: 30%; /* 項目名の幅 */
  padding: 32px 0;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  font-size: 16px;
}

.profile-table td {
  padding: 32px 0;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.6;
}

/* 注釈（※）のスタイル */
.note {
  font-size: 15px;
  display: block;
  margin-top: 4px;
}

/* スマホ対応：画面が狭い時に項目の幅を調整 */
@media (max-width: 768px) {
  .profile-table th {
    width: 35%;
    font-size: 14px;
  }
  .profile-table td {
    font-size: 14px;
  }
}


#detail #Access{
  background-color: #FFF;
}

#detail #Access {
  background-color: #FFF;
}
#detail #Access .access-info{
  padding-top: 60px;
  max-width: var(--w5);
}
@media (max-width: 768px) {
  #detail #Access .access-info{
  margin-top: 40px;
  max-width: var(--w5);
}
}



/*コンタクト*/
/* フォーム全体のスタイル */
.contact-form-container {
    max-width: 600px; /* 必要に応じて調整してください */
    font-family: sans-serif;
    text-align: left;
    margin:auto;
    padding-bottom: 100px;
}

/* 各項目の上下余白 */
.form-group {
    margin-bottom: 24px;
}
.form-group br{
  display:none;
}


/* ラベル（項目名）のスタイル */
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

/* 入力フィールド（名前・メール・本文）のスタイル */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

/* チェックボックスのスタイル */
.wpcf7-checkbox {
    display: block;
    margin-top: 8px;
}

.wpcf7-list-item {
    display: block; /* 縦に並べる場合 */
    margin: 0 0 8px 0;
}

/* 送信ボタンのスタイル */
.form-submit {
    margin-top: 30px;
}

.wpcf7-submit {
    background-color: #111 !important; /* 真っ黒 */
    color: #fff !important;
    padding: 15px 60px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7-submit:hover {
    opacity: 0.8;
}

#faq-block{
  max-width: var(--w4);
  margin:0 auto 100px;
}
#faq-block .faq-block-item {
  padding: 20px;
  background-color: #FFF !important;
}
#faq-block h3{
  font-size: var(--font-size-h4);
  text-align: left;
  border-bottom: 2px solid var(--base-color2);
  padding-left: 36px;
  margin-bottom: 20px;
  box-sizing: border-box;
  padding: 20px 0px 10px 0px;
}
#faq-block .faq-block-item .faq-block-question::before{
  content: "Q";
  display: block;
  font-size:24px;
  position: absolute;
  left: 20px;
  top: 12px;
  height: 100%;
  padding-right: 10px;
}
#faq-block .faq-block-item .faq-block-question{
  position: relative;
font-size: var(--font-size-h5);
text-align: left;
padding-left: 36px;
background-color: var(--bg-color);
padding: 20px 14px 20px 60px;
}
#faq-block .faq-block-item .faq-block-answer{
  position: relative;
font-size: var(--font-size-h5);
text-align: left;
padding-left: 36px;
padding: 20px 14px 20px 60px;
}
#faq-block .faq-block-item .faq-block-answer::before{
  content: "A";
  display: block;
  font-size:24px;
  position: absolute;
  left: 20px;
  top: 12px;
  font-weight: bold;
  height: 100%;
  padding-right: 10px;
}




/* 全体のグリッド設定 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3カラム */
  gap: 40px 20px; /* 縦の隙間 40px, 横の隙間 20px */
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* アイキャッチ画像 */
.post-thumbnail {
  margin-bottom: 12px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2; /* 画像の比率を維持 */
  object-fit: cover;
  border-radius: 12px; /* 角丸を再現 */
}

/* カテゴリと日付のメタ情報 */
.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
  font-size: 1.2rem; /* 小さめの文字サイズ */
  color: #333;
  align-items: center;
}
.post-meta .category{
  background-color: var(--bg-color);
  padding: 4px 8px;
  border-radius: 8px;
}
/* タイトル */
.post-title {
  font-size: var(--font-size-h5);
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  color: #000;
  /* 3行以上になる場合に備えた省略設定（任意） */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fancybox-slide--html .fancybox-close-small{
  position: fixed !important;
  top: 10px !important;
  right: 50px !important;
}
/* レスポンシブ対応：スマホでは1カラム */

@media (max-width: 1100px) {
  #faq-block h3{
  width: calc(100% - 50px);
  }
  .fancybox-slide--html .fancybox-close-small{
  top: 10px !important;
  right: 10px !important;
}
  #faq-block{ width: 100%;}
  #faq-block .faq-block-item{
    width: 100%;
    padding: 0;
  }
      #faq-block .faq-block-item {
        width: calc(100% - 50px);
    }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .row-gap-30{
    box-sizing: border-box;
    padding: 20px !important;
  }
}

figure {
    margin: 0 0 0;
}
.art_box{
  max-width: var(--w4);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap:30px;
  padding-bottom: 60px;
}
.art_box .text-box{
  gap:20px;
  padding-bottom: 20px;
  width: 100%;
}
/* ページネーション全体のコンテナ */
.pagination {
  margin-top: 40px;
    text-align: center;
    padding: 40px 0;
      justify-content: center;
}
h2.wp-block-heading{
  font-size: var(--font-size-h3);
}

h3.wp-block-heading{
  font-size: var(--font-size-h3);
}
.wp-block-columns{
  padding: 40px 0;
  display: flex;
  gap: 40px;
}
.wp-block-column{
  flex:1;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    background: #fff;
}

/* 各数字・矢印の共通スタイル */
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* 画像の比率に合わせたサイズ */
    height: 60px;
    color: #333;
    text-decoration: none;
    font-family: var(--font-sans-en);
   font-size: var(--font-size-h5);
    transition: background-color 0.3s, color 0.3s;
}
.prev.page-numbers svg{
  transform: rotate(180deg);
}
/* 現在のページのスタイル（ブラウン背景・白文字） */
.page-numbers.current {
    background-color: #8c7b52; /* 画像から抽出した色 */
    color: #fff;
}

/* 矢印（< >）のスタイル */
.prev.page-numbers,
.next.page-numbers {
    font-weight: bold;
    color: #222;
}

/* ホバー時の挙動（任意） */
.page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}

/* スマホ対応：サイズを少し小さく調整 */
@media (max-width: 768px) {
  .wp-block-columns{
  padding: 20px 0;
  flex-direction: column;
  gap: 20px;
}
.w2{
  width: 100%;
}
.art_box>p{
  padding: 0px 20px;
}
.art_box .text-box {
    gap: 10px;
}
}
@media (max-width: 480px) {
    .page-numbers {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
}


/* お知らせリスト全体の枠組み */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee; /* 一番上の線 */
    width: var(--w5);
}

/* 各アイテムのスタイル */
.news-item {
    border-bottom: 1px solid #eee; /* 各行の下線 */
}

.news-link {
    display: flex;
    align-items: center;
    padding: 20px 0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.news-link:hover {
    background-color: #f9f9f9; /* ホバー時に背景を少し変える */
}

/* 日付のスタイル */
.news-date {
    font-size: 18px;
    font-weight: bold;
    font-family: 'Helvetica', 'Arial', sans-serif;
    width: 140px; /* 日付部分の幅を固定 */
    flex-shrink: 0;
    padding-right: 30px;
}

/* カテゴリーバッジのスタイル */
.news-category {
    background-color: #1a1a1a;
    color: #fff;
    font-size: 14px;
    padding: 6px 20px;
    border-radius: 4px;
    margin-right: 40px;
    min-width: 100px;
    text-align: center;
    flex-shrink: 0;
}

/* タイトルのスタイル */
.news-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    flex-grow: 1;
    text-align: left;
}

/* --- レスポンシブ対応 (スマホ用) --- */
@media (max-width: 768px) {
    .news-link {
        flex-direction: column; /* 縦並びにする */
        align-items: flex-start;
        padding: 15px 10px;
    }
    .news-list {
      width: 100%;
    max-width: var(--w5);
}

    .news-date {
        width: auto;
        margin-bottom: 8px;
        font-size: 16px;
        padding-right: 10px;
        
    }

    .news-category {
        margin-bottom: 8px;
        margin-right: 0;
        padding: 4px 8px;
        font-size: var(--font-size-h6);
    }

    .news-title {
      margin-top: 10px;
        font-size: 15px;
    }
    #Rita-Diary .flex-colmon .fs-text-sm.py--8.px-20{
      width: 135px !important;
      white-space: nowrap;
    }

}