
#header ul,
#header li{
  list-style: none;
  margin: 0;
  padding: 0;
}

html{
  font-size: 10px;
}

#header{
  position: fixed;
  z-index: 9999;
  width: 100vw;
  top: 0;
  left: 0;
  background: #fff;
}

#header *{
  font-family: "Noto Sans JP";
}

.header{
  background: #fff;
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
}


.header--unpinned {
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
}


.header:before{
  content:"";
  height: 5px;
  width: 100vw;
  position: absolute;
  background: #0080CD;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.header__logo{
  max-width: 135px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); 
}

.header__logo h1{
  margin: 0;
}

.header__logo img{
  width: 100%;
}



{# header__nav #}

.header__nav{
  width: 100%;
}



.header__nav__ul{
  display: flex;
  display: flex;
  height: 80px;
  line-height: 90px;
}

.header__nav__ul__li{
  width: 20%;
  text-align: center;
}

.header__nav__ul__li__menu{
  position: relative;
}
.header__nav__ul__li__menu img{
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

.header__nav__ul__li__menu a{
  width: 100%;
  height: 100%;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  color: #000; 
}

.header__nav__ul__li:hover .header__nav__ul__li__menu img{
  transform: translate(-50%, -5px);
}

.header__nav__ul__li:hover .header__nav__ul__li__menu a{
  text-decoration: none;
  color:#0080CD; 
}

.header__nav__ul__li:nth-child(1) .header__nav__ul__li__menu:before,
.header__nav__ul__li:nth-child(2) .header__nav__ul__li__menu:before,
.header__nav__ul__li:nth-child(3) .header__nav__ul__li__menu:before{
  content: '';
  display: block;
  position: absolute;
  top: 35px;
  left: 0;
  width: 1px;
  height: 20px;
  background-color: #d8d8d8;
}
.header__nav__ul__li:nth-child(4) .header__nav__ul__li__menu:before,
.header__nav__ul__li:nth-child(5) .header__nav__ul__li__menu:before{
  content: '';
  display: block;
  position: absolute;
  top: 35px;
  right: 0;
  width: 1px;
  height: 20px;
  background-color: #d8d8d8;
}
.header__nav__ul__li:nth-child(3){
  margin-right: 100px !important;
}

.header__nav__ul__li:nth-child(4){
  margin-left: 100px !important;
}

{# /header__nav #}

{# menu_table #}
.header__nav__ul__li__table{
  pointer-events: none;
  position: absolute;
  width: 100vw;
  background: #fff;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.3s;
  padding: 1rem;
  display: flex; 
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  /* リセット */
  line-height: 20px;
  text-align: left;
}

.header__nav__ul__li:hover .header__nav__ul__li__table{
  opacity: 1;
  pointer-events: auto;
}

{# table_name #}
.table__name{
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.table__name__img{
  max-width: 240px;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
}

.table__name__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table__name__head{
  font-weight: bold;
  font-size: 1.4rem;
}

.table__name__btn a{
  display: block;
  width: 100px;
  height: 30px;
  font-size: 1.4rem;
  text-decoration: none;
  color: #000;
  line-height: 25px;
  background: #fff;
  text-align: center;
  border-radius: 30px;
  border: solid 2px #000; 
} 

.table__name__btn a:hover{
  color: #fff;
  background: #000;
}

{# /table_name #}

{# table_menu #}
.table__menu{
  width: 50%;
  display: flex;
  padding: 0 2rem;
  border-left: solid 1px #ccc;
  border-right: solid 1px #ccc;
  flex-wrap: wrap;
}


.table__menu__list{
  margin: 1rem 1.5rem;
  width: 24%;
  flex-grow: 1;
}

.table__menu__list p{
  font-size: 1.4rem;
  margin-top: 10px;
  display: flex;
  font-weight: bold;
  align-items: center;
}

.table__menu__list a{
  display: block;
  width: 100%;
  font-size: 1.4rem;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}

.table__menu__list:hover > a{
  color: #0080CD;
}

.table__menu__list a p img{
  margin-right: 1rem; 
  transition: all 0.3s;
}

.table__menu__list:hover  a p img{
  transform: translateX(0.5rem);
}

.table__menu__list__img{
  width: 100%; 
  height: 100px;
  border-radius: 20px;
  overflow: hidden;
}

.table__menu__list__img img{
  width: 100%; 
  height: 100%;
  object-fit: cover;
}

.table__menu__list__sub {
  margin-left: 2.5rem !important;
  margin-top: -1rem !important;
}

.table__menu__list__sub li a {
  font-size: 1.4rem;
}

.table__menu__list__sub li:hover > a{
  color: #0080CD;
}

{# /table_menu #}

{# table_sub-menu #}
.table__sub-menu{
  width: 25%;
  margin: 3rem 2rem;
}

.table__sub-menu ul{

}

.table__sub-menu ul li{
  margin: 1rem 0;
}

.table__sub-menu ul li a{
  font-size: 1.4rem;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}

.table__sub-menu ul li:hover  a{
  color: #0080CD;
}

.table__sub-menu ul li a img{
  margin-right: 1rem; 
  transition: all 0.3s;
}

.table__sub-menu ul li:hover  a img{
  transform: translateX(0.5rem);
}
{# /table_sub-menu #}

{# / menu_table #}

{# search #}

.header__search{
  position: absolute;
  display: flex;
  top: 1rem;
  left: 1rem;
}

.header__search__map{
  padding-left: 2rem !important;
}

.header__search__map a{
  color: #000;
  font-size: 1.2rem;
  text-decoration: none;
}

.header__search__map a:hover{
  color: #000;
  font-size: 1.2rem;
  text-decoration: none;
  color: #0080CD;
}

.header__search__icon{
  cursor: pointer;
}

/*==検索窓背景のエリア*/

#search-wrap{
  position:absolute;/*絶対配置にして*/
  top:80px;
  left: -1rem;
  z-index: -1;/*最背面に設定*/
  opacity: 0;/*透過を0に*/
  max-width: 1240px;
  width: calc(100vw - 10% );
  pointer-events: none;
  transition: all 0.4s;/*transitionを使ってスムースに現れる*/
  border-radius: 5px;
}

/*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後の見た目*/
#search-wrap.panelactive {
  opacity: 1;
  z-index: 3;
  max-width: 1240px;
  width: calc(100vw - 10% );
  background: #fff;
  position: absolute;
  left: -1rem;
  top: 70px;
  pointer-events: auto;
}

/*==検索窓*/
#search-wrap #searchform{
  display: none;/*検索窓は、はじめ非表示*/
}

/*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後*/
#search-wrap.panelactive #searchform{
  display: block;/*検索窓を表示*/
}

/*==検索フォームの設定*/

/*==テキスト入力とボタンinput共通設定*/
#search-wrap input{
  -webkit-appearance:none;/*SafariやChromeのデフォルトの設定を無効*/
  outline: none;
  cursor: pointer;/*カーソルを指マークに*/
  color: #666;
}

/*テキスト入力input設定*/
#search-wrap input[type="text"] {
  width: 100%;
  border: none;
  transition: all 0.5s;
  letter-spacing: 0.05em;
  height: 46px;
  padding: 1rem;
}
#search-text::placeholder{
  color: #58595a;
  font-size: 1.2rem;
  font-weight: bols;
}
/*テキスト入力inputにフォーカスされたら*/
#search-wrap input[type="text"]:focus {
  background:#eee;/*背景色を付ける*/
}

/*ボタンinput設定*/
#search-wrap input[type="submit"] {
  position: absolute;
  top:5px;
  right:30px;
  background:url("https://coco-factory.jp/ugokuweb/wp-content/themes/ugokuweb/data/7-2-3/img/icon_search.svg") no-repeat right;/*虫眼鏡アイコンを背景に表示*/
  background-size: 20px 20px;
  width:25px;
  height: 25px;
  border: none;
}
{# /search #}

.header__btn {
  margin-left: 2rem;
}

.header__btn__btn{
  background: #FF0E54;
  border: solid 1px #FF0E54;
  border-radius: 5px;
  color: #fff;
  width: 150px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s;
  margin-right: 2rem;
}
.header__btn__btn:hover{
  background: #fff;
  border: solid 1px #FF0E54;
  color: #FF0E54;
}

.header__btn__btn a{
  color: #fff; 
  display: block;
  width: 100%;
  height: 100%;
  font-size: 1.4rem;
  transition: all 0.3s;
  text-decoration: none;
}

.header__btn__btn:hover a{
  color: #FF0E54; 
  text-decoration: none;
}

@media(min-width:1025px){
  #header__menu--mobile{
    display: none;
  }

  .header__nav--mobile{
    display: none;
  }

  .header__nav{
    display: block;
  }

  .humb-icon{
    display: none;
  }
}

@media(max-width:1024px){
  #header__menu--mobile{
    display: none;
  }
  #header__menu--mobile {
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
  } 

  .header__nav--mobile .main-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .header__nav--mobile li{
    text-align: center;
    padding: 0.5rem;
    border-bottom: solid 1px #ccc;
  }
  .header__btn.sp{
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
  }


  .header__nav--mobile--main {
    padding: 2rem !important;
    margin: 0.3rem !important;
    border: solid 1px #d8d8d8;
    border-radius: 5px;
    width: 90%;
    
  }
 
  
  .header__nav--mobile--sub > li{
    padding: 1rem !important;
    margin: 0.3rem !important;
  }
  
    
  .header__nav--mobile--sub > li > ul >li{
    padding: 1rem !important;
    margin: 0.3rem !important;
  }
  
  .header__nav{
    display: none;
  }

  .header__btn.pc{
    display: none;  
  }

  .header__search.pc{
    display: none;  
  }


  .humb-icon{
    display:block;
  }

  .header__logo{
    max-width: 200px;
    position: relative;
    left: 0;
    transform: translateX(0%);
  }

  .serch-wrap--mobile{

  }


  .sp-menu__name{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .js-spMenuBtn {
    width: 10px;
    margin-left: auto;
    width: 80px;
    position: absolute;
    right: 0;
  }
  .js-spMenuBtn img{
    width: 10px;
  }
  .js-spMenu{
    display: none;
    margin: 1rem 0;
  }
  .header__nav--mobile a[href]:hover{
    text-decoration: underline;
  }

}

@media (max-width: 1024px){
  .header__logo {
    margin: 0 auto 0 2rem;
    width: 100%;
  }
}

@media(max-width:480px){
  .header__nav--mobile--main {
    padding: 2rem !important;
    margin: 0.3rem !important;
    border: solid 1px #d8d8d8;
    border-radius: 5px;
    width: 90%;
  }
}

/*mobile*/
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.humb-icon{
  position: relative;/*ボタン内側の基点となるためrelativeを指定*/
  width: 50px;
  height:50px;
  cursor: pointer;
}

/*ボタン内側*/

.humb-icon span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 13px;
  height: 2px;
  background-color: #000;
}


.humb-icon span:nth-of-type(1) {
  top:22px; 
  width: 50%;
}

.humb-icon span:nth-of-type(2) {
  top:29px;
  width:30%;
}

/*activeクラスが付与されると線が回転して×に*/

.humb-icon.active span:nth-of-type(1) {
  top: 20px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}

.humb-icon.active span:nth-of-type(2) {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}





