@charset "utf-8";
/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/

/*ナビゲーションを横並びに*/
#header_top_onry nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
}
/*2階層目以降は横並びにしない*/
#header_top_onry nav ul ul{
  display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
#header_top_onry nav ul li{
  position: relative;
  width: 50%;
  text-align: left;
}

/*ナビゲーションのリンク設定*/
#header_top_onry nav ul li a{
  display: block;
  text-decoration: none;
  transition:all .3s;
}
#top-2 #splash {
  margin: -16em 0 0 0;
}



/*==矢印の設定*/





/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
#header_top_onry nav li.has-child ul{
    /*絶対配置で位置を指定*/
  position: absolute;
  left: -90%;
  top: 87px;
  z-index: 4;
  background: #034a3b;
  width: 300px;
    /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
    /*アニメーション設定*/
  transition: all .3s;
}
#header_top_onry nav li.has-child ul.big_list {
  position: absolute;
  left: -122%;
  top: 111px;
  z-index: 4;
  background: #034a3b;
  width: 300px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
}


/*hoverしたら表示*/
#header_top_onry nav li.has-child:hover > ul,
#header_top_onry nav li.has-child ul li:hover > ul,
#header_top_onry nav li.has-child:active > ul,
#header_top_onry nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
#header_top_onry nav li.has-child ul li a{
  color: #fff;
  text-align: left;
  padding: 15px;
  margin: 0;
  font-size: 13px;
}

#header_top_onry nav li.has-child ul li:last-child a{
  border-bottom:none;
}

#header_top_onry nav li.has-child ul li a:hover,
#header_top_onry nav li.has-child ul li a:active{
  background:#3577CA;
}


/*==3階層目*/

/*3階層目の位置*/
#header_top_onry nav li.has-child ul ul{
  top:0;
  left:182px;
  background:#66ADF5;
}

#header_top_onry nav li.has-child ul ul li a:hover,
#header_top_onry nav li.has-child ul ul li a:active{
  background:#448ED3;
}
#header_top_onry nav li.has-child ul.child-list{
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  min-width: 500px;
  justify-content: flex-start;
}

#header_top_onry .header_menu_unnlist li:nth-child(1) i {
  background: url(../img/top/top_hd_icon01.svg) no-repeat top;
}
#header_top_onry .header_menu_unnlist li:nth-child(2) i {
  background: url(../img/top/top_hd_icon02.svg) no-repeat top;
}
#header_top_onry .header_menu_unnlist li:nth-child(3) i {
  background: url(../img/top/top_hd_icon03.svg) no-repeat top;
}
#header_top_onry .header_menu_unnlist li:nth-child(4) i {
  background: url(../img/top/top_hd_icon04.svg) no-repeat top;
}
#header_top_onry .header_menu_unnlist li:nth-child(5) i {
  background: url(../img/top/top_hd_icon05.svg) no-repeat top;
}
#header_top_onry .header_menu_unnlist li:nth-child(6) i {
  background: url(../img/top/top_hd_icon06.svg) no-repeat top;
}

#header_top_onry nav li.has-child ul.child-list.big_list {
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  min-width: 715px;
  z-index: 999999;
}
.child-list .arrow_sml {
  padding-left: 15px;
  background: url(../img/icon-arrow-white-right.svg) no-repeat left;
  background-size: 8px;
  width: 20px;
  height: 10px;
}

#slider .fv_ttl h1 span.sp_none {
  display: inline-block;
}

/*==================================================
スライダーのためのcss
===================================*/
#slider {
  width: 100%;
  height: 70vh;
}
#slider .fv_ttl{
  position: absolute;
  top: 35%;
  left: 45%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  max-width: 780px;
  width: 100vw;
  color: #fff;
  line-height: 1.5;
}
#slider .fv_ttl h1{

  text-shadow: 5px 2px 13px rgba(0, 0, 0, 0.74);
  font-weight: bold;
  font-size: 25px;
}
#slider .fv_ttl p{
  color: #fff;
  text-shadow: 5px 2px 13px rgba(0, 0, 0, 0.74);
  font-size: 18px;
  line-height: 1.5;
}


@media screen and (max-width:1100px){
#header #g-nav.g-nav-top.panelactive ul li {
  width: 100%;
  border-top: 1px solid #808080;
}
#header #g-nav.g-nav-top.panelactive ul li:nth-child(odd) {
  border-right: none;
  border-top: none;
  padding: 0;
}
#header #g-nav.g-nav-top.panelactive ul li{
  border-top: none;
}

#header .accordion-area li:nth-child(1) i {
  background: url(../img/top/top_hd_icon01.svg) no-repeat left top;
}
#header .accordion-area li:nth-child(2) i {
  background: url(../img/top/top_hd_icon02.svg) no-repeat left top;
}
#header .accordion-area li:nth-child(3) i {
  background: url(../img/top/top_hd_icon03.svg) no-repeat left top;
}
#header .accordion-area02 li:nth-child(1) i {
  background: url(../img/top/top_hd_icon04.svg) no-repeat left top;
}
#header .accordion-area02 li:nth-child(2) i {
  background: url(../img/top/top_hd_icon05.svg) no-repeat left top;
}
#header .accordion-area02 li:nth-child(3) i {
  background: url(../img/top/top_hd_icon06.svg) no-repeat left top;
}
#header .accordion-area .title i {
  width: 35px;
  height: 39px;
  margin: 0 10px 0 0;
  display: block;
}
#header #g-nav.g-nav-top.panelactive #g-nav-list {
  max-width: 1080px;
}
#header .accordion-area section .title {
  padding: 0px 35px 0px 0px;
}
#header #g-nav.g-nav-top li a {
  display: flex;
  align-items: center;
  width: 90%;
}

#slider .fv_ttl {
  width: 90vw;
  top: 45%;
  left: 50%;
}
#slider .fv_ttl h1{

}
#slider .fv_ttl p{

}
#splash {
  height: 105vh;
  margin: -9em 0 0 0;
}
#top-2 #splash {
  margin: 0 0 0 0;
}

}
/*==768px以下の形状*/

@media screen and (max-width:768px){
  #header_top_onry nav{
    padding: 0;
  }

  #header_top_onry nav ul{
    display: block;
  }

  #header_top_onry nav li.has-child ul,
  #header_top_onry nav li.has-child ul ul{
    position: relative;
  left:0;
  top:0;
  width:100%;
  visibility:visible;/*JSで制御するため一旦表示*/
  opacity:1;/*JSで制御するため一旦表示*/
  display: none;/*JSのslidetoggleで表示させるため非表示に*/
  transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}

#header_top_onry nav ul li a{
  border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

#header_top_onry nav ul li.has-child::before{
  left:20px;
}

#header_top_onry nav ul ul li.has-child::before{
    transform: rotate(135deg);
  left:20px;
}

#header_top_onry nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}
#slider {
  height: 60vh;
}

#news .news_list_one span {
  margin: 0;
  padding: 0px 5px;
  display: block;
}

#news .news_list_one {
  line-height: 1.5;
}

#header #g-nav.g-nav-top.panelactive #g-nav-list {
  padding: 0 0 160px 0;
  margin: 0;
  height: 100vh;
}

#header #g-nav.g-nav-top li a {
  display: flex;
  align-items: center;
  width: 90%;
  line-height: 2;
}
.accordion-area section .box {
  padding: 5% 1%;

}
#slider .fv_ttl {
  width: 90vw;
  top: 40%;
  left: 50%;
}
#slider .fv_ttl h1{
  font-size: 19px;
}
#slider .fv_ttl p{
  font-size: 18px;
  line-height: 1.8;
}
#slider .fv_ttl h1 span.sp_none {
  display: none;
}

}

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

#header #g-nav.g-nav-top li a {
  padding: 0 10px;
  width: 93%;
}

#header #g-nav.g-nav-top li .box a {
  padding: 0 10px;
  width: 100%;
}

}

@media screen and (max-width:420px){
  #slider .fv_ttl h1{
    font-size: 14px;
    line-height: 1.6;
  }
  #slider .fv_ttl p{

  }
  #news .news_list_one{

  }
  }

