@charset "utf-8";
/* CSS Document */

/*

Theme Name: sokasha
Theme URI: https://www.840kodomo.com/
Description: YASHIO City Council of Children's Association Leaders
Version: 2026
Author:  YASHIO City Council of Children's Association Leaders
Author URI: https://www.840kodomo.com/

*/











/* 共通項目 */
* {
  box-sizing: border-box;
}




.global-nav-box {
  position: relative;
  width: 100%;
  z-index: 90;
  transition: color .4s, background-color .4s;
  margin: 0 auto;
  text-align:center;
 /*  top:0; */
 height: 60px;
}



#global-nav-container {
  margin: 0px auto 0 ;
  padding:0px 0 0 0 ; 
  position: relative;
  width: 1100px;
  text-align:center;
  font-family: "Noto Sans JP", "Kiwi Maru","游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro" , 'メイリオ' , Meiryo , Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight:400;
  clear:both;
  transition: color .4s, background-color .4s;
  
 }




@media screen and (max-width: 1024px) {
#global-nav-container{
    margin: 0 auto 10px auto;
    width: 90%;
	
  }
  .global-nav-box {
    display: none;
  }
}



/* グローバルメニュー */
.global-nav {
  margin: 0px auto 0 auto;
  position: relative;
  
}

.global-nav .nav-list {
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align:left;
}

.global-nav .nav-list .nav-item {
	 float:left;
	 padding:0 0px 0 0;
}





.global-nav .nav-list .nav-item a {
  color: #ff9900;
  display: inline-block;
  padding: 1em 30px;
  text-align: left;
  text-decoration: none;
  font-size:100%;
 
}



.global-nav .nav-list .nav-item h2 a{
	position:relative;
}



.global-nav .nav-list .nav-item h2 a {
color: #ff9900;

}


.global-nav .nav-list .nav-item h2 a:hover::after {
/*transform: scale(1, 1);*/     /*ホバー後、x軸方向に1（相対値）伸長*/
}
.global-nav .nav-list .nav-item h2 a:hover {
  background-color: #ff9900;
  color: #fff;
  }
  



/* サブナビゲーション */
@media screen and (min-width: 1024px) {
  .nav-list {
    position: relative;
  }

  .nav-item_sub {
    background-color: rgba(255, 153, 0, 0.7);
    left: 0;
    margin: 0 calc(50% - 50vw);
    opacity: 0;
    position: absolute;
    top: 59px;
    transition: all 0.2s ease;
    visibility: hidden;
    width: 100vw;
	z-index: 80;
  
  }

  .nav-item_sub .inner {
    display: flex;
    margin: 0 auto;
    width: 1000px;
  }

  .nav-item_sub .inner ul {
    margin: 20px 20px 20px;
  }

  .global-nav .nav-list .nav-item_sub a {
    text-align: left;
    color: #fff;
  }
  
   .global-nav .nav-list .nav-item_sub a::before {
    margin: 0px 10px 0 0;
  	content: "\e5cc";
	font-family: "Material Symbols Outlined";
  }

  .nav-item:hover .nav-item_sub {
    opacity: 1;
    visibility: visible;
  }
}

/* SP時 */
.global-nav-icon {
  display: none;
}

@media screen and (max-width: 1024px) {
  .global-nav-header {
    height: 30px;
	padding:0 0 0px 0;
	position:absolute;
	top:20px;
	right:15px;
  }

  .global-nav .nav-list {
    background-color: rgb(255 255 255 / .6);
    display: none;
    left: 50%;
    padding: 10px 10px 20px 10px;
    position: absolute;
    transform: translate(-50%, 0%);
    width: 100%;
	z-index: 80;
	border-radius:15px;
  }

  .global-nav .nav-list .nav-item a {
    border-right: none;
    color: #1c4493;
    padding: 0.5rem 1rem;
    text-align: left;
  }

  .global-nav .nav-list .nav-item:last-child a {
    border-bottom: none;
  }

  .global-nav-icon i {
    color: #003399;
    cursor: pointer;
    display: inline-block;
    font-size: 150%;
    position: absolute;
    right: 5px;
    top: 0px;
    z-index: 80;
  }
  
.global-nav-icon .menu {
font-family: "Noto Sans JP", "Kiwi Maru", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", 'メイリオ' , Meiryo , Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height:100%;
	padding:0 0 0 10px;
	font-size:80% !important;
	font-weight:bold;
	position: relative;
    top: -10px;
  }
  

.global-nav .nav-list .nav-item{
	display: block;
	float:none;
}

  
  
  .nav-item_sub{
	  padding:0 0 0 20px;
  }

  
  .nav-item_sub a::before{
	content: "\e5cc";
	font-family: "Material Symbols Outlined";
	margin-right:10px;
	padding:0px 0px 0px 0px;
	font-size:90%;
}

  
}

@media screen and (max-width: 1024px) {
  .nav-item_sub {
    display: none;
  }
  
   .global-nav {
    width: 100%;
  }

  .nav-list {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  

  }

