@charset "utf-8";

/* ヘッダー（.g-header）・グローバルナビ（.g-headerNav*）・空室検索バナー（.c-vacantBanner）・SP固定ナビ（.header-sp_nav）。
   レフ5施設（izumisano・kumamoto・kyoto・matsuyama・omiya）共通。沖縄は施設の common/style.css に別実装を持つため読まない。

   5施設で同一だった各施設 common/style.css の「HEADER」節と「空室検索バナー〜.header-pc_nav」節、
   common/media.css の「HEADER」節（max-width:1024px）を、元の順序のまま移した。
   読み込み位置は施設 common/style.css の直後・common/media.css の直前（ref/shared/inc/_head-facility-css.php）。
   元の位置より後ろへ移るため、間にあった style.css の規則と同じ要素・同じ詳細度で競合しないことを確認済み
   （競合候補は a{text-decoration} と .u-boxlink_box a{font-size} の2件で、どちらもこのファイル側の詳細度が高い）。
   新しく規則を足すときも、このファイルは施設 style.css より後・media.css より前に効くことに注意する。 */

/* ----------------------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------------------- */
.g-header {
  color: #fff;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
@media screen and (max-width: 768px){
  .g-header{
    top: auto;
    bottom: 0;
  }
  .g-header::before{
    background: #231815;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    top: 0;
    z-index: 1;
  }
}
.g-header_inner {
  display: table;
  table-layout: fixed;
  width: 100%;
}
@media screen and (max-width: 768px){
  .g-header_inner{
    position: relative;
    bottom: 100vh;
  }
}
.g-header_book {
  display: block;
  position: absolute;
  top: 30px;
  left: 0;
  bottom: 0;
}
.g-header_book-item {
  display: block;
}
.g-header_book-btn a {
  color: #ffffff;
  font-size: 1.1vw; /*14px*/
  letter-spacing: 0.27em;
  background: #221814;
  display: block;
  padding: 1.2em 2.5em;
  box-sizing: border-box;
}
.g-header_book-txt {
  color: #221814;
  font-size: 0.8vw; /*10px*/
  letter-spacing: 0.075em;
  text-align: center;
  display: block;
  margin-top: 1em;
}
.g-header_nav,
.g-header_aside {
  position: absolute;
  top: 0;
}
.g-header_nav {
  font-size: 0.95vw; /*12px*/
  right: 0;
  min-width: 400px;
  width: 31vw;
  -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
  transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}
.is-menu_open .g-header_nav {
  color: #231815;
  background: #fff;
  height: 100vh;
  visibility: visible;
  opacity: 1;
  z-index: 999;
}
.g-header_trigger {
  background: #221814;
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 9999;
}
.g-header.is-menu_open .g-header_trigger {
  border-color: transparent;
}
.g-header[data-reversal="white"] .g-header_trigger {
  border-color: #ccc;
}
.g-header[data-reversal="white"].is-menu_open .g-header_trigger {
  border-color: transparent;
}
.g-header_trigger-line_wrap {
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
  transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
  transform: rotate(-90deg);
}
.g-header_trigger-line {
  animation: liner 5000ms infinite;
  position: absolute;
  background-color: #fff;
  overflow: hidden;
  width: 20px;
  height: 1px;
  left: 0;
  transition: all 400ms ease-out 0ms;
}


.g-header_trigger-line--type_top {
  bottom: 38px;
  left: 25px;
  animation-delay: 0.33s;
}
.g-header.is-menu_open .g-header_trigger-line--type_top {
  top: 28px;
  transform: rotate(-45deg);
  animation: none;
  left: 25px;
}

.g-header_trigger-line--type_middle {
  bottom: 30px;
  left: 25px;
  animation-delay: 0s;
}
.g-header.is-menu_open .g-header_trigger-line--type_middle {
  opacity: 0;
  animation: none;
}

.g-header_trigger-line--type_bottom {
  bottom: 22px;
  left: 25px;
  animation-delay: 0.66s;
}
.g-header.is-menu_open .g-header_trigger-line--type_bottom {
  top: 28px;
  left: 25px;
  transform: rotate(-135deg);
  animation: none;
}
.g-header_cover {
  display: none;
  visibility: hidden;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  opacity: 0;
  z-index: 1;
  -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
  transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
}
.g-header_trigger:after {
  content: "MENU";
  font-family: "Imprima", sans-serif;
  font-size: 8px;
  line-height: 1;
  text-align: center;
  display: block;
  width: 100%;
  position: absolute;
  bottom: 1em;
}
.g-header_trigger.is-menu_ready.is-menu_open:after {
  content: "CLOSE";
}
.g-header.is-menu_open .g-header_cover {
  visibility: visible;
  opacity: 1;
}

.g-headerNav_frame {
  height: 100vh;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.g-headerNav_items_wrap {
  width: 60%;
  margin: 0 auto;
}
.g-headerNav_item {
  vertical-align: middle;
  position: relative;
  margin: 2em 0 0;
}
.g-headerNav_item:first-child a {
  margin-top: 0;
}
.g-headerNav_item:nth-child(1) .g-headerNav_box {
  width: 5em;
}
.g-headerNav_item:nth-child(2) .g-headerNav_box {
  width: 6em;
}
.g-headerNav_item:nth-child(3) .g-headerNav_box {
  width: 7em;
}
.g-headerNav_item:nth-child(4) .g-headerNav_box {
  width: 13em;
}
.g-headerNav_item:nth-child(5) .g-headerNav_box {
  width: 9em;
}
.g-headerNav_item:nth-child(6) .g-headerNav_box {
  width: 4em;
}
.g-headerNav_item:nth-child(7) .g-headerNav_box {
  width: 11em;
}
.g-headerNav_item > a {
  text-decoration: none;
  transition: none;
}
.g-headerNav_address {
  margin-top: 1.8em;
}
.g-headerNav_address .e-text {
  letter-spacing: 0.05em;
  line-height: 2;
}
.g-headerNav_address .e-text small {
  font-size: 90%;
}
.g-headerNav_address .e-text .u-linkLine a {
  font-size: 0.85em;
}
.g-headerNav_address .e-text .u-linkLine a:after {
  bottom: 0;
}
.g-headerNav_links {
  margin-top: 1.8em;
}
.g-headerNav_links .g-headerNav_link > a {
  font-size: 0.95vw;
  margin-top: -1px;
  padding: 1.2em 0;
}
.g-headerNav_box {
  display: inline-block;
  position: relative;
}
@media screen and (min-width: 1px) and (max-width: 1024px) {
  .g-headerNav_box {
    display: block;
  }
}
.g-headerNav_box:before {
  content: "";
  display: none;
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  width: 10px;
  height: 10px;
  margin: auto;
}
.g-headerNav_item.is-focus_active .g-headerNav_box:before {
  display: block;
}
.g-headerNav_name {
  display: block;
  font-weight: bold;
  letter-spacing: 0.32em;
  -webkit-transition: all 0.3s cubic-bezier(0.75, 0, 0.35, 1);
  transition: all 0.3s cubic-bezier(0.75, 0, 0.35, 1);
}
.g-headerNav_box .e-nohover {
  font-size: 1.3vw; /*16px*/
  line-height: 30px;
}
.g-headerNav_box .e-hover {
  font-size: 1.1vw; /*14px*/
  line-height: 30px;
}
.g-headerNav_box .e-hover {
  display: none;
}
.g-headerNav_box:hover .e-nohover {
  display: none;
}
.g-headerNav_box:hover .e-hover {
  display: inline;
}
.g-headerNav_child {
  visibility: hidden;
  display: block;
  position: absolute;
  top: 55px;
  left: 15px;
  width: 140px;
  opacity: 0;
  z-index: 2;
  -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
  transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
}
.g-headerNav_item:hover .g-headerNav_child {
  visibility: visible;
  opacity: 1;
}
.g-headerNav_child-items {
  display: block;
}
.g-headerNav_child-item {
  display: block;
  border-top: solid 1px #dadada;
}
.g-headerNav_child-item:first-child {
  border-top: none;
}
.g-headerNav_child-item a {
  text-decoration: none;
}
.g-headerNav_child-box {
  display: table;
  width: 100%;
  padding: 10px 15px;
  background: #fff;
  color: #221814;
}
.g-headerNav_child-box:hover,
.g-headerNav_child-item.is-focus_active .g-headerNav_child-box {
  background-color: #231815;
  color: #fff;
}
.g-headerNav_child-box:before {
  content: "";
  display: none;
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 5px;
  height: 1px;
  background: #fff;
}
.g-headerNav_child-name {
  display: block;
  font-size: 12px;
  font-size: 1.2rem;
  letter-spacing: 0em;
  line-height: 1.4;
}
.g-headerNav2 {
  display: block;
  position: relative;
}
.g-headerNav2_items {
  letter-spacing: -0.5em;
}
.g-headerNav2_items_wrap {
  position: absolute;
  right: 25px;
  bottom: 15px;
}
.g-headerNav2_item {
  display: inline-block;
  letter-spacing: 0;
  margin-left: 20px;
}
.g-headerNav2_item:first-child {
  margin-left: 0;
}
.g-headerNav2_parent-name {
  display: block;
  color: #888;
  letter-spacing: 0.12em;
  line-height: 2;
  -webkit-transition: all 1.2s cubic-bezier(0.75, 0, 0.35, 1);
  transition: all 1.2s cubic-bezier(0.75, 0, 0.35, 1);
}
.g-headerNav2_parent-name:hover {
  color: #cbcbcb;
}
.g-headerNav2_child {
  visibility: hidden;
  display: block;
  min-width: 100px;
  position: absolute;
  right: 0;
  bottom: 2em;
  margin: 0 0 10px;
  opacity: 0;
  -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
  transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
}
.g-headerNav2_child-items {
  background: #ffffff;
  border: 1px solid #d4d3d2;
  white-space: nowrap;
}
.g-headerNav2_child-item > a {
  color: #888;
  border-top: 1px solid #d4d3d2;
  display: block;
  padding: 10px 20px;
}
.g-headerNav2_child-item > a:hover {
  background: #f7f7f7;
}
.g-headerNav2_child-item:first-child > a {
  border-top: none;
}
.g-headerNav2_child-name {
  font-size: 0.8vw; /*10px*/
  font-weight: 100;
}
.g-headerNav2_box {
  display: block;
  position: relative;
  cursor: pointer;
}
.g-headerNav2_box:hover .g-headerNav2_child {
  visibility: visible;
  opacity: 1;
}
@keyframes liner {
  0% {
    width: 25%;
  }
  10% {
    width: 20%;
  }
  20% {
    width: 30%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 20%;
  }
  50% {
    width: 12%;
  }
  60% {
    width: 20%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 30%;
  }
  90% {
    width: 15%;
  }
  100% {
    width: 25%;
  }
}

.c-vacantBanner{
  background-color: #EFF2F3;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ ゴシック", sans-serif;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 102;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 70px;
  border-radius: 2.5px;
  cursor: pointer;
}
.c-vacantBanner:hover{

}
.c-vacantBanner__text{
  color: #666666;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .05em;
  border-bottom:double 3px #666666; 
  padding-bottom: 5px;
}
.c-vacantBanner__date{
  background-color: #FFFFFF;
  color: #000000;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .05em;
  margin-left: 16px;
  height: 40px;
  width: 175px;
  border: 1px solid #DFDFDF;
  border-right: none;
  border-radius: 2.5px 0 0 2.5px;
  display: flex;
  align-items: center;
  padding-left: 40px;
  position: relative;
}
.c-vacantBanner__date::before{
  content: "";
	background-repeat:no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13.001' height='13' viewBox='0 0 13.001 13'%3E%3Cpath id='シェイプ_1' data-name='シェイプ 1' d='M994.027,753A1.028,1.028,0,0,1,993,751.973v-9.579a1.027,1.027,0,0,1,1.027-1.026h2.395v-1.027a.342.342,0,0,1,.684,0v2.738a.342.342,0,1,1-.684,0v-1.027h-2.395a.342.342,0,0,0-.342.342v2.737h9.237a.342.342,0,0,1,0,.684h-9.237v6.158a.342.342,0,0,0,.342.342h10.947a.343.343,0,0,0,.343-.342v-9.579a.343.343,0,0,0-.343-.342h-.684a.342.342,0,0,1,0-.684h.684a1.027,1.027,0,0,1,1.027,1.026v9.579a1.028,1.028,0,0,1-1.027,1.027Zm7.868-9.921v-1.027h-3.079a.342.342,0,1,1,0-.684h3.079v-1.027a.342.342,0,0,1,.685,0v2.738a.342.342,0,0,1-.685,0Z' transform='translate(-993 -740)' fill='%23888'/%3E%3C/svg%3E%0A");
  height: 14px;
  width: 13px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;

}
.c-vacantBanner__btn{
  background-color: #888888;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .05em;
  height: 40px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #DFDFDF;
  border-radius: 0 2.5px 2.5px 0;

}
@media screen and (max-width: 1024px) {
  .c-vacantBanner{
    display: none;
  }
}

@media screen and (min-width: 1px) and (max-width: 1023px) {
  .g-header-nav_sp_warpper {
    vertical-align: middle;
    width: 100%;
    height: 60px;
  }
}
.header-sp_nav {
  display: none;
}
@media screen and (min-width: 1px) and (max-width: 1023px) {
  .header-sp_nav {
    display: table;
    position: relative;
    margin: 0 0 0 auto;
    float: right;
    width: 100%;
    height: 100%;
  }
  .header-sp_nav .list_item {
    display: table-cell;
    position: relative;
    min-width: 60px;
    background: #628496;
    text-align: center;
    vertical-align: middle;
  }
  .header-sp_nav .list_item:first-child {
    background: #EFF2F3;
    background-size: 20%;
    font-weight: 100;
    width: calc((100% - 60px) / 2);
    
  }
  .header-sp_nav .list_item:first-child .list_item_name::before{
    content: "";
    /* 画像（icon_access01.svg）は施設 common/style.css で指定する（共通の置き場が無いため。施設側の規則は background-image だけ） */
    background-repeat: no-repeat;
    position: absolute;
    height: 18px;
    width: 14px;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
  }
  .header-sp_nav .list_item:first-child .list_item_name{
    color: #000;
  }
  .header-sp_nav .list_item:nth-child(2) {
    background: #8F8A89;
    background-size: 23%;
    width: calc((100% - 60px) / 2);
  }
  .header-sp_nav .list_item:nth-child(2) .list_item_name::before{
    content: "";
    background: url(/common/img/common/icon_search.png) no-repeat;
    position: absolute;
    height: 15px;
    width: 15px;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
  }
  .header-sp_nav .list_item:last-child {
    background: #628496;
    font-family: "Roboto Slab";
    font-weight: 100;
    width: 60px;
  }
  .header-sp_nav .list_item p {
    padding: 0 5px 0px 20px;
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
  }
  .header-sp_nav .list_item .list_item_name {
    position: relative;
    line-height: 60px;
    font-size: 12px;
    font-weight: 700;
  }
  .header-sp_nav .list_item .g-header_trigger{
    height: 60px;
  }
  .header-sp_nav .list_item.is-03 {
    background: #fb8815;
    width: 116px;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN",
      "Hiragino Mincho Pro", "HG明朝E", "ＭＳ 明朝";
  }
  .header-sp_nav .list_item.is-03 .c-mv_aside-box {
    background: #fb8815;
    border: 1px solid #fb8815;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
  }
  .header-sp_nav .list_item.is-03 p {
    line-height: 21px;
    position: relative;
    padding: 0;
  }
  .header-sp_nav .list_item.is-03 .g-header-sideNav-name {
    font-size: 12px;
  }
  .header-sp_nav .list_item.is-03 p:after {
    content: "";
    border-top: 1px dotted #fff;
    position: absolute;
    height: 1px;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
  }
  .header-sp_nav .list_item.is-03 p svg {
    transform: translateY(1px);
  }
  .header-sp_nav .list_item .list_item_name .-number {
    font-size: 11px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium",
      "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ ゴシック", sans-serif;
    padding-left: 3px;
  }
  .header-sp_nav .list_item .list_item_name .-md {
    font-size: 8px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium",
      "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ ゴシック", sans-serif;
  }
}
@media screen and (min-width: 1px) and (max-width: 1023px){
  .header-pc_nav{
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  /* ----------------------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------------------- */
  .g-header {
    height: auto;
    transform: none;
  }
  .g-header_inner {
    visibility: hidden;
    display: block;
    position: relative;
    width: auto;
    opacity: 0;
    transform: scale(1.2);
    -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
    transition: all 0.8s cubic-bezier(0.75, 0, 0.35, 1);
    z-index: 2;
  }
  .g-header.is-menu_open .g-header_inner {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
  }
  .g-header_book {
    top: 15px;
  }
  .g-header_book-btn a {
    font-size: 1.5rem;
    padding: 1.2em 2.2em;
  }
  .g-header_book-txt {
    font-size: 1.05rem;
    margin-top: 10px;
  }
  .g-header_nav,
  .g-header_aside {
    z-index: 2;
  }
  .g-header_nav {
    font-size: 1.4rem;
    top: 50px;
    left: 0;
    right: 0;
    min-width: initial;
    width: 100%;
  }
  .is-menu_open .g-header_nav {
    background: none;
    height: calc(100vh - 50px);
  }
  .g-header_trigger {
    top: 0;
    right: 0;
  }
  .g-header_cover {
    display: block;
  }
  .g-headerNav_frame {
    overflow-y: auto;
    height: 100%;
    width: 80%;
    margin: 0 auto;
    padding: 0;
    justify-content: flex-end;
  }
  .g-headerNav_items_wrap {
    width: 100%;
    padding: 0 10px;
  }
  .g-headerNav_item {
    display: block;
    margin: 25px 0 0;
    padding-left: 0.5em;
  }
  .g-headerNav_item:nth-child(1) .g-headerNav_box,
  .g-headerNav_item:nth-child(2) .g-headerNav_box,
  .g-headerNav_item:nth-child(3) .g-headerNav_box,
  .g-headerNav_item:nth-child(4) .g-headerNav_box,
  .g-headerNav_item:nth-child(5) .g-headerNav_box,
  .g-headerNav_item:nth-child(6) .g-headerNav_box,
  .g-headerNav_item:nth-child(7) .g-headerNav_box {
    width: auto;
  }
  .g-headerNav_item--type_lang {
    display: none;
  }
  .g-headerNav_links {
    margin-top: 30px;
  }
  .g-headerNav_links .g-headerNav_link > a {
    font-size: 1.4rem;
  }
  .g-headerNav_box {
    display: block;
  }
  .g-headerNav_box:before {
    top: 0.25em;
    left: -20px;
    right: auto;
  }
  .g-header[data-reversal="white"] .g-headerNav_box {
    color: #fff;
  }
  .g-headerNav_name {
    font-size: 1.85rem;
    line-height: 30px;
  }
  .g-headerNav_name .e-jp {
    color: #bfbfbf;
    font-size: 60%;
    font-weight: normal;
    margin-left: 1em;
  }
  .g-headerNav_child {
    visibility: unset;
    position: static;
    width: auto;
    opacity: 1;
  }
  .g-headerNav_child-item {
    margin-top: 20px;
    border-top: none;
  }
  .g-headerNav_child-box {
    display: block;
    position: relative;
    width: auto;
    padding: 0 0 0 25px;
    background: none;
    color: #fff;
  }
  .g-headerNav_child-box:hover,
  .g-headerNav_child-item.is-focus_active .g-headerNav_child-box {
    background-color: transparent;
    color: #221814;
  }
  .g-headerNav_child-box:before {
    display: block;
  }
  .g-headerNav_child-name {
    font-size: 1.4rem;
  }
  .g-headerNav2_items_wrap {
    position: relative;
    right: 0;
    bottom: 5%;
    margin-top: 25px;
  }
  .g-headerNav2_item {
    margin-left: 20px;
  }
  .g-headerNav2_child {
    bottom: 1.5em;
    min-width: auto;
  }
  .g-headerNav2_child-item > a {
    padding: 10px 20px;
  }
  .g-headerNav2_child-name {
    font-size: 1.2rem;
  }
  .g-headerNav2_box {
  }

}
