﻿@charset 'UTF-8';



#news .shubetsu,
#gallery .shubetsu,
/*#news h2,*/
#nyusatsu h2{
  background-image: url(../common_images/sprite.png);
  background-repeat: no-repeat;
  font-size: 1%;
  text-indent: -9999px;
}




#wrap{
}
.lt_ie6 #wrap{
  overflow: hidden;
  /* ie6 で #body の width が広げられるため */
}
#body{
}
.lt_ie6 #body{
  zoom: 1;
  width: 1200px;
  /*..item の行送りのためのはみだした margin-right 分で収まりきらなくなる ie6 のため */
}
#left{
  width: 230px;
}
#right{
  width: 716px;
  margin-left: 28px;
}

/******************************************************************************/

.title{
  
}
h2{
  font-weight: bold;
}

#news .title,
#nyusatsu .title{
  position: relative;
  height: 50px;
  background: #112e3f;
}
#news .title {
  background: #385DA6;
}
#news h2,
#nyusatsu h2{
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 17px;
  margin-left: -37px;
  margin-top: -9px;
}
/*
#news h2{
  margin-bottom: 4px;
  background-position: -500px -150px;
}
*/
#news h2{
  display: block;
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 20px;
  color: #fff;
  text-align: center;
  font-size: 140%;
}
#nyusatsu h2{
  background-position: -500px -200px;
}


#feature .title,
#gallery .title{
  display: none;
}
#feature h2,
#gallery h2{
}







.name{
  font-weight: bold;
}
.text{
}
.date,
.eventDate,
.basho{
  font-size: 90%;
  color: #999;
}

/*******************************************************************************
* #news, #gallery 共通
*/



#news .shubetsu,
#gallery .shubetsu{
}
#news .shubetsu{
  width: 100px;
  height: 20px;
}
#gallery .shubetsu{
  width: 100px;
  height: 21px;
}
#news .shubetsu_e{background-position: -400px      0;}
#news .shubetsu_b{background-position: -400px  -50px;}
#news .shubetsu_s{background-position: -400px -100px;}
#gallery .shubetsu_e{background-position: -300px      0;}
#gallery .shubetsu_j{background-position: -300px  -50px;}
#gallery .shubetsu_s{background-position: -300px -100px;}

#news .date{
  color: #385DA6;
}
#news .name,
#feature .name,
#gallery .name{
  font-size: 110%;
  color: #385DA6;
}
#news .text,
#feature .text{
  font-size: 90%;
  color: #385DA6;
}
#gallery .text{
}
#news .empty{
  padding: 30px 0;
}

/*******************************************************************************
* #news
*/

#news{
  border: solid 5px #3c4e73;
  border-radius: 5px;
  margin-top: 50px;
  margin-bottom: 50px;
}

#news .item{
  position: relative;
/*  width: 230px;*/
  width: 100%;
  margin-bottom: 1px;
  background: #fff;
}
.lt_ie7 #news .item{
  margin-bottom: -5px;
}
#news .status{
  padding: 18px;
  font-size: 120%;
}
#news .hasNew .status{
}
#news .shubetsu{
  position: absolute;
  right: 18px;
  top: 19px;
}
#news .hasNew .shubetsu{
}
#news .date{
}
#news .hasNew .date{
  margin-left: 22px;
}
#news .new{
  left: 14px;
  top: 13px;
}
#news .name{
  margin-top: 8px;
}
#news .eventDate{
  margin-top: 4px;
}
#news .basho{
  margin-top: 4px;
}
#news .text{
  margin-top: 4px;
}

/*******************************************************************************
* #nyusatsu
*/

#nyusatsu{
  position: relative;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
  width: 100% !important;
}
#pagePlugin{
  margin: 10px 0;
}

/*******************************************************************************
* #feature
*/

#feature{
}
.lt_ie7 #feature *{
  zoom:1;
}
#feature .list{
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
}
#feature .item{
  position: relative;
  margin: 10px 0;
  padding: 5px 0 0;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid #112e3f;
  border-radius: 4px;
}
#feature .photo img{
  display: block;
  width: 100%;
  height: 80px;
  
}
#feature .status{
  padding: 14px 18px;
  text-align: center;
}
#feature .text{
  margin-top: 2px;
}

/*******************************************************************************
* リンクボタン
*/


.link-btn
{
  position: relative;
  width: 100%;
  height: 135px;
  background-image: url(../common_images/event_btn.png);
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 100px 0;
 display: flex;
 flex-flow: column;
 justify-content: center;
 align-items: center;
 border-radius: 4px;
}
.link-btn>a
{
  text-decoration: none;
  display: flex; /* フレックスボックスを適用 */
  justify-content: center;
  align-items: center; /* 縦方向中央揃え */
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  font-size: 2.5em;
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-weight: bold;
  position: relative;
}
/* `::before` を背景として設定 */
.link-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../common_images/event_btn.png);
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(70%);
  opacity: 0;
  z-index: 0;
  border-radius: 4px;
}
.link-btn>a:hover
{
  filter: opacity(0.9);
}

/* ホバー時に背景のみ暗くする */
.link-btn:hover::before {
  opacity: 1;
}
.link-btn>a::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-image: url(../common_images/icon_hover_rs.png);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  }

/* ホバー時に三角を表示 */
.link-btn>a:hover::after {
  opacity: 1;
  
}


/*******************************************************************************
* #gallery
*/

#gallery{
}
.lt_ie7 #gallery{
  margin-bottom: 12px;
}
.lt_ie6 #gallery{
  margin-bottom: 0;/* ie7 のみで再現、ie6 では再現しないため打ち消し */
}
#gallery .list{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 330px);
  justify-content: space-between;
}
#gallery .item{
  position: relative;
  width: 330px;
  height: 360px;
  margin-bottom: 12px;
  border-radius: 4px;
  background: #fff;
  
}
#gallery .photo{
  height: 260px;
}
#gallery .photo img{
}
#gallery .status{
  padding: 30px 18px 0;
}
#gallery .shubetsu{
  position: absolute;
  right: 0;
  top: 0;
}
#gallery .name{
}
#gallery .hasNew .name{
  margin-left: 22px;
}
#gallery .new{
  left: 14px;
  top: 218px;
}
#gallery .date{
  margin-top: 8px;
}
#gallery .basho{
  margin-top: 4px;
}

/******************************************************************************/


#visual .caption{
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 125px;
  width: 975px;
  margin-left: -487px;
  font-size: 90%;
  text-align: left;
  color: #fff;
  cursor: default;
}

.lt_ie7 #visual .grad{
  background: url(../common_images/bg_index_grad.png) left top repeat-x;
}

/******************************************************************************/
/*#menu 
*/



.menu {
  display: block;
  cursor: pointer;
  background-color: #385DA6;
  text-align: center;
  width: 100%;
  height: 50px;
  line-height: 50px;
  border: none;
  margin: 10px 0; /* メニューの間の隙間を調整 */
  color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

#nav div {
  display: flex;
  padding: 20px 80px 20px 80px;
  justify-content: space-between;
}

.menu-btn-sns {
  
  display: flex;

}

.menu-btn-sns img {
  width: 50px;
}

.menu::before
{
  content: "";
  position: absolute;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.menu1::before
{
  width: 40%;
  background-image: url("../common_images/menu1.png");
}
.menu2::before
{
  width: 40%;

  background-image: url("../common_images/menu2.png");
}
.menu3::before
{
  width: 45%;

  background-image: url("../common_images/menu3.png");
}
.menu4::before
{
  width: 45%;

  background-image: url("../common_images/menu4.png");
}
.menu5::before
{
  width: 45%;

  background-image: url("../common_images/menu5.png");
}
.menu::after
{
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  right: 5%;
  transform: translateY(-50%) rotate(90deg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../common_images/icon_hover_rs.png);
  opacity: 0;
}

.menu:hover
{
  background-color: #3c4e73;
}
.menu:hover::after
{
  opacity: 1;
}
.menu.menu.active::after
{
  transform: translateY(-57%) rotate(-90deg);
  opacity: 1;
}



#menu ul
 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  opacity: 0;
  margin: 0;
  padding: 0;
  
}

#menu ul.is-open
{
  max-height: 500px; /* 必要に応じて調整 */
  opacity: 1;
  padding: 10px 0; /* 上下に余白を追加 */
  margin-top: -20px;
}

#menu ul > li
{
  background-color: #39455e;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 5px 10px 25px;
  transition: opacity 0.3s ease-in-out;
  position: relative;
  font-size: 120%;
}

#menu ul > li::before
{
  content: "";
  position: absolute;
  left: 5px; /* 位置調整 */
  top: 50%;
  transform: translateY(-50%) rotate(225deg);
  width: 8px; /* 三角形のサイズ */
  height: 8px;
  border-left: 2px solid white; /* 左の線 */
  border-bottom: 2px solid white; /* 下の線 */
  background-color: transparent; /* 中身は透明 */
}
#menu ul > li a
{
  text-decoration: none;
  color: #fff;
}
#menu ul.is-open > li
{
  opacity: 1;
}

#menu ul > li:first-child
{
  border-top: none; /* 最初の要素のボーダーを消す */
}


#menu
{
  margin: 100px auto;
}
@media all and (min-width:570px) {
  #menu{
  width: 100%;
  }
  .menu
  {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  #menu .menu1::before
{
  width: 25%;
  background-image: url("../common_images/menu1.png");
}
#menu .menu2::before
{
  width: 25%;

  background-image: url("../common_images/menu2.png");
}
#menu .menu3::before
{
  width: 30%;

  background-image: url("../common_images/menu3.png");
}
#menu .menu4::before
{
  width: 30%;

  background-image: url("../common_images/menu4.png");
}
#menu .menu5::before
{
  width: 30%;

  background-image: url("../common_images/menu5.png");
}

}







@media screen and (min-width:  0) and (max-width:  975px) {



#body{
}
#left{
  float: none;
  width: auto;
}
#right{
  float: none;
  width: auto;
  margin-left: 0;
}




/******************************************************************************/

#news .title,
#nyusatsu .title,
#feature .title,
#gallery .title{
  position: static;
  height: auto;
  border-top: 2px solid #fff;
  background: #112e3f;
}
#news .title {
  border-top: none;
  background: #385DA6;
}
#feature .title,
#gallery .title{
  display: block;
}
#news h2,
#nyusatsu h2,
#feature h2,
#gallery h2{
  display: block;
  position: static;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  font-size: 100%;
  text-indent: 0;
  padding: 20px;
  color: #fff;
  text-align: center;
}
#news h2{
  color: #fff;
  font-size: 140%;
}










/******************************************************************************/



/* #news{
  margin-bottom: -2px;
} */
#news .item{
  width: auto;
  border-radius: 0;
}
#news .status{
  padding: 12px 35px 12px 12px;
}
#news .shubetsu{
  right: 35px;
  top: 15px;
}
#news .new{
  left: 6px;
  top: 6px;
}
#news .name{
  margin-top: 2px;
}
#news .eventDate{
  display: inline-block;
  margin-top: 2px;
}
#news .basho{
  display: inline-block;
  margin-left: 1em;
  margin-top: 2px;
}

/******************************************************************************/

#feature{
}
#feature .list{
  width: auto;
  margin-bottom: -2px;
  border-radius: 0;
}
#feature .item{
}
#feature .photo img{
  width: 100%;
  height: auto;
}
#feature .status{
  padding: 12px 35px 12px 12px;
}

/******************************************************************************/

#gallery .list{
  width: auto;
  margin-right: 0;
}
#gallery .item{
  float: left;
  height: 350px;
  margin-right: 0;
  margin-bottom: 4px;
  border-radius: 0;
}
#gallery .photo{
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: 180px;
}
#gallery .status{
  padding: 12px 30px 0 12px;
}
#gallery .new{
  left: 8px;
  top: 190px;
}


/******************************************************************************/




}
#youtube-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
}

#youtube-player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* 16:9 を維持 */
  border: none;
}



@media screen and (min-width: 760px) and (max-width: 975px) {

#gallery .item{
  width: 24.7%;
  margin-right: 0.4%;
}
#gallery .item:nth-of-type(4n){
  margin-right: 0;
}


.menu {
  background-size: contain;
  position: relative;
}

.menu::after
{
  content: "";
  width: 50px;
  height: 50px;
  background-image: url(../common_images/icon_hover_sp_r_wh.png);
  position: absolute;
  top: 50% !important;
  right: 0;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-50%) rotate(90deg);
}
.menu.active::after
{
  transform: translateY(-50%) rotate(-90deg);
}

.link-btn
{
  height: 100px;
}
.link-btn::after
  {
    content: "";
    width: 50px;
    height: 50px;
    background-image: url(../common_images/icon_hover_sp_r.png);
    position: absolute;
    top: 50%;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-50%);
  }

}

@media screen and (min-width: 540px) and (max-width: 760px) {

#gallery .item{
  width: 33%;
  margin-right: 0.5%;
}
#gallery .item:nth-of-type(3n){
  margin-right: 0;
}

.menu {
  background-size: contain;
  position: relative;
}

.menu::after
{
  content: "";
  width: 50px;
  height: 50px;
  background-image: url(../common_images/icon_hover_sp_r_wh.png);
  position: absolute;
  top: 50%;
  right: 0;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-50%) rotate(90deg);
}
.menu.active::after
{
  transform: translateY(-50%) rotate(-90deg);
}

.link-btn
{
  height: 80px;
}
.link-btn::after
  {
    content: "";
    width: 50px;
    height: 50px;
    background-image: url(../common_images/icon_hover_sp_r.png);
    position: absolute;
    top: 50%;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-50%);
  }

}

@media screen and (min-width:  0) and (max-width: 540px) {

#gallery .item{
  width: 49.5%;
  margin-right: 0;
}
#gallery .item:nth-of-type(odd){
  margin-right: 1%;
}

.menu {
  background-size: contain;
  position: relative;
}

.menu::after
{
  content: "";
  width: 50px;
  height: 50px;
  background-image: url(../common_images/icon_hover_sp_r_wh.png);
  position: absolute;
  top: 50%;
  right: 0;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-50%) rotate(90deg);
}
.menu.active::after
{
  transform: translateY(-50%) rotate(-90deg);
}
.link-btn
{
  height: 100px;
}
.link-btn>a
{
  font-size: 2em;
  position: relative;
}
  .link-btn::after
  {
    content: "";
    width: 50px;
    height: 50px;
    background-image: url(../common_images/icon_hover_sp_r_wh.png);
    position: absolute;
    top: 50%;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-50%);
  }
}

/*コンテンツ*/

#contents
{
  margin: 100px 0;
}

#contents-list {
  display: flex;
  flex-flow: column;
  width: 100%;
  border: 2px solid #112e3f;
  padding: 10px;
  box-sizing: border-box;
  margin-top: -2px;
}

.content-item {
  max-width: 100%;
  padding: 10px 15px;
  border-radius: 4px;
  transition: 0.3s;
  box-sizing: border-box;
  margin: 5px 0;
  border: 2px dotted #112e3f;
  position: relative;
}

.content-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  z-index: 100;
}
.content-item a::before
{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 44, 68, .5);
  background-position: center;
  background-size: cover;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}
.content-item a::after
{
  content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-image: url(../common_images/icon_hover_rs.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
}
.content-item a:hover:before,
.content-item a:hover::after
{
  opacity: 1;
}

.content-item a>div:nth-child(1) {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content-item a>div:nth-child(2) {
  display: flex;
  margin-top: 10px;
}
.content-item h2
{
  font-size: 130%;
  color: #112e3f;
}

.content-item img {
  width: 100%;
  border-radius: 4px;
}

.content-item p {
  margin-top: 10px;
  font-size: 110%;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 1.2px;
  text-align: justify;
  margin: 10px 0;
}


/*  スタイル 1 */
.style-1 a>div:nth-child(2){
  flex-flow: column;
  flex-direction: column-reverse;
}

/*  スタイル 2 */
.style-2 a>div:nth-child(2){
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
}
.style-2 a>div:nth-child(2) img,
.style-2 a>div:nth-child(2) p
{
  width: 49%;
  object-fit: contain;
}

/*  スタイル 3 */
.style-3 a>div:nth-child(2){
  justify-content: space-between;
  align-items: flex-start;
}
.style-3 a>div:nth-child(2) img,
.style-3 a>div:nth-child(2) p
{
  width: 49%;
  object-fit: contain;
}


.genre-label {
  display: inline-block;
  padding: 8px 12px;
  color: white;
  font-size: 105%;
  box-sizing: border-box;
  background-color: #385DA6;
}

/* ジャンルごとに異なる色 */
/* .genre-recruitment .genre-label {
  background-color: #f9ccde;
}

.genre-news .genre-label {
  background-color: #97d5ff; 
}

.genre-event .genre-label {
  background-color: #c8f7c5; 
}

.genre-other .genre-label {
  background-color: #7f8c8d; 
} */

#genre-buttons {
  display: flex;
  flex-wrap: nowrap;
  padding: 0 2px;
  box-sizing: border-box;
  justify-content: left;
}

.genre-btn {
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 100%;
  background-color: #385DA6;
  border-radius: 0 15px 0 0;
  border: 2px solid #3c4e73;
  color: #3c4e73;
  margin-left: -2px;
  color: #fff;
}

.genre-btn:hover {
  background-color: #3c4e73;
}

.genre-btn.active {
  background-color: #3c4e73;
  color: white;
}
.genre-all.active
{
  background-color: #385DA6;
  color: white;
}

@media screen and (min-width:  0) and (max-width: 540px) {

  .content-item a>div:nth-child(1) {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    
  }
  .content-item a>div:nth-child(2) {
    display: flex;
    flex-flow: column;
  }
  .style-2 a>div:nth-child(2) img,
  .style-2 a>div:nth-child(2) p,
  .style-3 a>div:nth-child(2) img,
  .style-3 a>div:nth-child(2) p
  {
    width: 100%;
    object-fit: contain;
  }
  .genre-label {
    display: inline-block;
    padding: 8px 12px;
    color: white;
    font-size: 80%;
    box-sizing: border-box;
    background-color: #385DA6;
    margin: 10px auto;
  }
  .genre-btn {
    padding: 8px 5px;

  }

}