@charset "utf-8";
/* /////////////////////////////
      TOP
///////////////////////////// */
.top_mv{
  background: url(../img/top/top-bg.jpg) bottom / cover no-repeat;
  height: 500px;
  width: 100%;
  position: relative;

}
.top_mv h2{
  font-size:63px;
  position: absolute;
  margin: 0;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: #fff;
}
.fade-in{
  opacity:0;
  animation-name: top_mv_text;
  animation-duration: 6s;
  animation-iteration-count:1;
  animation-fill-mode: forwards;
}
@keyframes top_mv_text {
  0% {
    opacity: 0;
    color:#000;
  }
  90% {
   opacity: 1;
   color:#000;
  }
   100% {
    opacity: 1;
    color:#fff;
  }
}
.fade-in_bg{
  opacity:0;
  animation-name: top_mv_bg;
  animation-duration: 6s;
  animation-iteration-count:1;
  animation-fill-mode: forwards;
}
@keyframes top_mv_bg {
  0% {
    opacity: 0;
    background:#fff;
  }
  90% {
   opacity: 1;
   background:#fff;
  }
   100% {
    opacity: 1;
    background:#0B308E;
  }
}
.scroll{
  height: 100%;
}
.scroll .arrow {
  animation: move 4s infinite;
  bottom: 0;
  background: url(../img/top/scroll-arrow.png) bottom / contain no-repeat;
  height: 120px;
  margin-left: 2vw;
  position: absolute;
  width: 20px;
}

@keyframes move {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}
.top_menu_area{
  background: url(../img/top/top-bg.jpg) bottom / cover no-repeat;
  height: 500px;
  width: 100%;
  position: relative;
}
.top_menu_area .w-25{
  background: rgba(255, 255, 255, 0.6);
  border: 7px solid #0B308E;
  box-sizing: border-box;
  color: #0B308E;
  min-width: 240px;
  min-height: 240px;
  padding: 45px 10px;
  text-align: center;
}
.top_menu_area .w-25 img{
  max-height: 48px;
  margin-bottom: 10px;
}
.top_menu_area .w-25 span{
  background: #0B308E;
  color: #fff;
  padding: 6px 14px;
  margin: 4px;
}
.top_menu_area .w-25 a{
  display: block;
}
.top_detail{
  background: #FBF6F1;
  padding: 100px 0;
}
.top-info h2{
  color: #787878;
}
.top-info li:first-child{
  border-top: solid 1px #5A5A5A;
}
.top-info li{
  padding: 10px 0;
  border-bottom: solid 1px #5A5A5A;
}
.more_btn {
  border: 1px solid #5A5A5A;
  box-sizing: border-box;
  display: inline-block;
  height: 40px;
  max-width: 260px;
  padding: 10px 60px 10px 10px;
  position: relative;
  text-align: left;
  width: 100%;
}
.more_btn::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 1px;
  background-color: #5A5A5A;
  right: 10px;
  top: calc(50% + 3px);
  transition: .3s;
}
.more_btn::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 1px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  background-color: #5A5A5A;
  right: 10px;
  top: calc(50% + 3px);
  transition: .3s;
}
.more_btn:hover::before, .more_btn:hover::after {
  right: 5px;
}
/* カレンダー */
.xo-event-calendar table.xo-month > thead th,.xo-event-calendar table.xo-month > thead th.sunday,.xo-event-calendar table.xo-month > thead th.saturday{
  background: #00a9f5;
  color: #fff !important;
}
.xo-event-calendar p.holiday-title{
  display: none;
}
/* ホバーでアニメーションするメニュー */
.bis_box .btn_ptn01 {
  top: 70%;
  left: 50%;
  width: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.btn_ptn01 {
  border: 1px solid #000;
  background: #fff;
  box-sizing: border-box;
  display: block;
  padding: 10px;
  text-align: center;
  transition: .3s;
}
.bis_box img {
  transition: .5s;
}
.bis_box figure {
  overflow: hidden;
}
.bis_box .txt01 {
  left: 0;
  bottom: 45%;
  width: 100%;
  padding: 0 2%;
  box-sizing: border-box;
  z-index: 1;
}
.bis_box.hv::after {
  transform: scale(0.9);
  background-color: rgba(255, 255, 255, 0.7);
}
.bis_box::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  transition: .5s;
}
.btn_ptn01.white:hover {
  color: #FFF;
  background-color: #000;
}
.btn_ptn01:hover {
  color: #fff;
  background-color: #000;
  border-color: #000;
  opacity: 1 !important;
}

/* 画像がグレースケールからカラーへ変化 */
.bg_lgray .text{
  box-sizing: border-box;
  padding: 30px;
  top: 0;
  width: 50%;
}
.bg_lgray .btn_ptn01{
  width: 38%;
  bottom: 18%;
  left: 30px;
}
.bg_lgray .ttl{
  z-index: 1;
  text-shadow: 0 0 6px #000;
}
.bg_lgray .w-50{
  margin-left: auto;
}
.bg_lgray img{
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}
.filter img{
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(0%);
}
.top_menu_area03 .btn_ptn01{
  margin-top: auto;
}
/* ページ下部のリンク */
.bottom_menu a{
  position: relative;
}
.bottom_menu a::before {
  position: absolute;
  content: "";
  width: 80px;
  height: 1px;
  background-color: #5A5A5A;
  right: -100px;
  top: calc(50% + 3px);
  transition: .3s;
}
.bottom_menu a::after {
  position: absolute;
  content: "";
  width: 24px;
  height: 1px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  background-color: #5A5A5A;
  right: -100px;
  top: calc(50% + 3px);
  transition: .3s;
}
.bottom_menu a:hover::before, .bottom_menu a:hover::after {
  right: -110px;
}
@media screen and (max-width: 1000px) {
  .top_mv p{
    font-size:6vw;
  }
  .top_mv h2{
    font-size:18px;
    position: absolute;
    margin: 0;
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .top_mv {
    height: 500px;
  }
  .top_detail .w-50{
    margin-top: 20px;
  }
  .top_detail img{
    display: block;
    margin: auto;
    max-width: 400px;
    width: 100%;
  }
  .top_detail .w-50,.top_detail .w-45,.top-info .w-50,.top_menu_area02 .w-31,.bis_box img,.top_menu_area03 .w-48{
    width: 100%;
  }
  .top_menu_area02 .w-31,.top_menu_area03 .w-48{
    margin-bottom: 20px;
  }
  .top-info ul{
    margin: 20px 0;
  }
  .bis_box figure{
    height: 200px;
  }
  .bg_lgray figure{
    overflow: hidden;
  }
}
@media screen and (max-width: 800px) {
  .top_menu_area{
    height: 1000px;
  }
  .top_menu_area .w-25{
    box-sizing: border-box;
    margin-bottom: 20px;
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .bg_lgray .text{
    position: static;
    padding: 10px 10px 0 10px;
  }
  .bg_lgray .btn_ptn01{
    position: static;
  }
  .bg_lgray .w-50,.bg_lgray .text,.bg_lgray .btn_ptn01{
    width: 100%;
  }
  .bg_lgray figure{
    height: 300px;
    overflow: hidden;
  }
  .bg_lgray img{
    width: 100%;
  }
  .top_mv {
    height: 250px;
  }
  .scroll .arrow{
    height: 70px;
    width: 12px;
  }
}
@media screen and (max-width: 420px) {
  .top_detail img{
    max-width: 280px;
  }
}
