/*=======================================================================*/
/*
Common_kids.css
子育て・汎用パーツ
*/
/*=======================================================================*/

/* ヘッダー（子育てサイト） */
/*===============================================================*/

header#kids {
	width: 1200px;
	margin: 0 auto;
	display: table;
}

.KidsLogoArea {
	width: 360px;
	display: table-cell;
	padding: 10px;
	box-sizing: border-box;
	vertical-align: middle;
}

.KidsLogoArea a {
	display: block;
	width: 290px;
	height: 150px;
	text-indent: -9800px;
	background: url(../../img/kids/siteLogo.png) 0 0 no-repeat;
}

.KidsGnavArea {
	width: 840px;
	display: table-cell;
	padding: 85px 10px 10px 10px;
	box-sizing: border-box;
	vertical-align: bottom;
	background: url(../../img/kids/back_hdr_town.png) center 5px no-repeat;
}

.spKidsGnavBtn {
	display: none;
}

.KidsGnavArea ul {
	width: 100%;
}

.KidsGnavArea ul li {
	display: block;
	float: left;
	width: 20%;
	border-left: 1px solid #D9CBBB;
	box-sizing: border-box;
	padding: 10px;
	text-align: center;
}

.KidsGnavArea ul li:last-child {
	border-right: 1px solid #D9CBBB;
}

.KidsGnavArea ul li a {
	color: #5F4C3E;
}

.KidsGnavArea ul li a h2 {
	position: relative;
	width: 100%;
	font-family: "Noto Sans", "Noto Sans Japanese", sans-serif;
	font-size: 1.2em;
	line-height: 1.8em;
	font-weight: 900;
	text-shadow: 1px 1px 0 #FFF;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.KidsGnavArea ul li a:hover h2 {
	text-shadow: 1px 1px 0 #5F4C3E;
}

.KidsGnavArea ul li.Navi a:hover h2 {	color: rgba(156,209,234,1);	}
.KidsGnavArea ul li.Map a:hover h2 {	color: rgba(237,169,139,1);	}
.KidsGnavArea ul li.Event a:hover h2 {	color: rgba(181,213,117,1);	}
.KidsGnavArea ul li.Tips a:hover h2 {	color: rgba(245,199,98,1);	}
.KidsGnavArea ul li.MGroup a:hover h2 {	color: rgba(240,177,177,1);	}

.KidsGnavArea ul li h2 span {
	position: relative;
	z-index: 2;
	display: inline-block;
	margin: 0;
	padding: 0 0 5px 0;
}

.KidsGnavArea ul li a h2:before {
	position: absolute;
	top: 50%;
	z-index: 1;
	content: '';
	display: block;
	width: 100%;
	height: 10px;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.KidsGnavArea ul li a:hover h2:before {
	height: 0;
}

.KidsGnavArea ul li.Navi a h2:before {	background-color: rgba(156,209,234,1);	}
.KidsGnavArea ul li.Map a h2:before {	background-color: rgba(237,169,139,1);	}
.KidsGnavArea ul li.Event a h2:before {	background-color: rgba(181,213,117,1);	}
.KidsGnavArea ul li.Tips a h2:before {	background-color: rgba(245,199,98,1);	}
.KidsGnavArea ul li.MGroup a h2:before {	background-color: rgba(240,177,177,1);	}

.KidsGnavArea ul li a:hover h2:before {
	height: 0;
}

.KidsGnavArea ul li.Navi a:hover h2:before {	background-color: rgba(156,209,234,0);	}
.KidsGnavArea ul li.Map a:hover h2:before {	background-color: rgba(237,169,139,0);	}
.KidsGnavArea ul li.Event a:hover h2:before {	background-color: rgba(181,213,117,0);	}
.KidsGnavArea ul li.Tips a:hover h2:before {	background-color: rgba(245,199,98,0);	}
.KidsGnavArea ul li.MGroup a:hover h2:before {	background-color: rgba(240,177,177,0);	}

.KidsGnavArea ul li .NaviTxt {
	padding: 5px;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}

.KidsGnavArea ul li a:hover .NaviTxt {
	border-radius: 10px;
}

.KidsGnavArea ul li.Navi a:hover .NaviTxt {	background-color: rgba(156,209,234,1);	}
.KidsGnavArea ul li.Map a:hover .NaviTxt {	background-color: rgba(237,169,139,1);	}
.KidsGnavArea ul li.Event a:hover .NaviTxt {	background-color: rgba(181,213,117,1);	}
.KidsGnavArea ul li.Tips a:hover .NaviTxt {	background-color: rgba(245,199,98,1);	}
.KidsGnavArea ul li.MGroup a:hover .NaviTxt {	background-color: rgba(240,177,177,1);	}

.KidsGnavArea ul li span.descT {
	display: block;
	font-size: 0.7em;
}

#SearchBtn button {
	display: block;
	position: relative;
	width: 70px;
	height: 70px;
	padding: 5px;
	text-align: center;
	background: #D6C55A;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	border: 2px solid #D6C55A;
	cursor: pointer;
}

#SearchBtn button:hover {
	background: #FFF;
}

#SearchBtn button .icon-search {
	display: block;
	font-size: 2.2em;
	color: #FFF;
	margin: 3px 0 3px 0;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

#SearchBtn button:hover .icon-search {
	color: #D6C55A;
}

#SearchBtn button .sTxt {
	font-weight: bold;
	color: #333;
	letter-spacing: 3px;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

#SearchBtn button:hover .sTxt {
	color: #D6C55A;
}

/* 検索ボックス */
/*===============================================================*/

#SearchBox {
	display: none;
	position: fixed;
	top: 118px;/*top: 50%;*/
	right: -260px;/*left: 50%;*/
	transform: translate(-50%, -50%);
	width:500px;
	height: 160px;
	z-index: 1000;
	cursor: pointer;
	display: none;

  
  
}

#SearchBox .wrap {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
}

#SearchBox .closeBtn {
	float: right;
	position: relative;
}

.closeBtn .icon {
	font-size: 1.6em;/*font-size: 1.2em;*/
	position: absolute;
	top: 19px;/*top: 7px;*/
	left:0;
	right:0;
	bottom:0;
	margin:auto;
	color: #FFF;
}

#SearchBox .closeBtn button {
	position: relative;
	display: block;
	width: 68px;/*width: 40p*/
	height: 56px;/*height: 30px;*/
	text-align: center;
	background: #D6C55A;
	cursor: pointer;
}

#SearchBox .inner {
	float: left;
	width: 100%;
	background: #FFF;
	border: 10px solid #D6C55A;
	padding: 10px;
	box-sizing: border-box;
}

#searchform:before, #searchform:after {
	content: "\0020";
	display: block;
	height: 0;
	overflow: hidden;
}

#searchform:after {
	clear: both;
}

#searchform .gsc-control-cse {
	background-color: #FFF !important;
	border: none !important;
}

/* テキストボックスに文字入力したときに出る「×」マークの位置調整用の指定 */
#searchform .gsc-search-box { position: relative; }

/* テキストボックスとボタンを縦並びにするため
テーブル内の要素をblock化する */
#searchform .gsc-search-box tr,
#searchform .gsc-search-box td { display: block; }

#searchform .gsc-search-box td {
	vertical-align: middle;
}

#searchform .gsc-search-box .gsc-input {
	width: 75%;
	height: 40px;
	vertical-align: top;
	float: left;
}

#searchform .gsc-search-box td.gsc-search-button {
	width: 18%;
	float: right;
}

#searchform .gsc-search-box .gsib_a { padding: 0 !important; }

#searchform .gsc-search-box td#gs_tti51 { margin-bottom: 5px; }

#searchform .gsc-search-box td.gsc-search-button { height: 40px; }

.cse .gsc-control-cse, .gsc-control-cse {
    padding: 0.5em !important;
    width: auto;
}

.gsc-input-box  input {
	border: 1px solid #CCC !important;
	padding: 10px 10px 12px 10px !important
}


/* テキストボックスに文字入力したときに出る「×」マークの位置調整 */
#searchform .gsc-search-box .gsib_b {
	position: absolute;
	width: 20px;
	top: 5px;
	right: 10px;
}

/* テキストボックスのデザイン設定 */
#searchform .gsc-search-box input#gsc-i-id2 {
	box-sizing: border-box;
	height: 50px;
	padding: 10px !important;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 2px 2px 2px 0 rgba(200,200,200,0.4) inset;
	-moz-box-shadow: 2px 2px 2px 0 rgba(200,200,200,0.4) inset;
	box-shadow: 2px 2px 2px 0 rgba(200,200,200,0.4) inset;
	background-position: 5px center !important;
}

/* デフォルトで設定されている(疑似的な)テキストボックスの
デザイン設定を解除 */
#searchform .gsc-search-box .gsc-input-box,
#searchform .gsc-search-box .gsc-input-box-hover,
#searchform .gsc-search-box .gsc-input-box-focus {
	border: none !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

/* 検索ボタンの背景をボタンのように見せかける */
#searchform .gsc-search-box .gsc-search-button {
	position: relative;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	border-top: 1px solid #D6C55A;
	border-left: 1px solid #D6C55A;
	border-right: 1px solid #D6C55A;
	border-bottom: 1px solid #D6C55A;
	background: #D6C55A;
	cursor: pointer;
}

/* 検索ボタンの背景部分にテキストを表示させる */
#searchform .gsc-search-button:before {
	position: relative;
	content: '検索' !important;
	color: #333;
	font-size: 1.2em;
	line-height: 2.6em;
	text-align: center;
	margin-left: 22px;
}

/* 検索ボタンを透明化し背景のみを表示させる */
#searchform .gsc-search-box input.gsc-search-button-v2,
#searchform .gsc-search-box input.gsc-search-button {
	width: 100%;
	padding: 0 !important;
	opacity: 0;
}

#KWtitle h3 {
	font-size: 1em;
	letter-spacing: 3px;
}

#KWArea a {
	display: inline-block;
	margin: 0 5px 0 0;
	color: #0046B2;
	text-decoration: underline;
}

#KWArea a:hover {
	color: #333333;
	text-decoration: none;
}

/* 検索ボタンの背景部分にテキストを表示させる */
#searchform .gsc-search-button:before {
	position: relative;
	content: '検索' !important;
	color: #333;
	font-size: 1.2em;
	line-height: 2.6em;
	text-align: center;
	margin-left: 15px;
}

/* 検索ボタンを透明化し背景のみを表示させる */
#searchform .gsc-search-box input.gsc-search-button-v2,
#searchform .gsc-search-box input.gsc-search-button {
	width: 100%;
	padding: 0 !important;
	opacity: 0;
}

/*202504ナビゲーション変更*/
.KidsGnavText202504 h2 span{
	line-height: 1.1;
}
.KidsGnavArea202504 {
	width: 840px;
	display: table-cell;
	padding: 85px 10px 10px 10px;
	box-sizing: border-box;
	vertical-align: bottom;
	background: url(../../img/kids/back_hdr_town.png) center 5px no-repeat;
}

.spKidsGnavBtn {
	display: none;
}

.KidsGnavArea202504 ul {
	width: 100%;
}

.KidsGnavArea202504 ul li {
	display: block;
	float: left;
	width: 20%;
	border-left: 1px solid #D9CBBB;
	box-sizing: border-box;
	padding: 10px;
	text-align: center;
}

.KidsGnavArea202504 ul li:last-child {
	border-right: 1px solid #D9CBBB;
}

.KidsGnavArea202504 ul li a {
	color: #5F4C3E;
}

.KidsGnavArea202504 ul li a h2 {
	position: relative;
	width: 100%;
	font-family: "Noto Sans", "Noto Sans Japanese", sans-serif;
	font-size: 1.2em;
	line-height: 1.8em;
	font-weight: 900;
	text-shadow: 1px 1px 0 #FFF;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.KidsGnavArea202504 ul li a:hover h2 {
	text-shadow: 1px 1px 0 #5F4C3E;
}

.KidsGnavArea202504 ul li.Navi a:hover h2 {	color: rgba(156,209,234,1);	}
.KidsGnavArea202504 ul li.Map a:hover h2 {	color: rgba(237,169,139,1);	}
.KidsGnavArea202504 ul li.Event a:hover h2 {	color: rgba(181,213,117,1);	}
.KidsGnavArea202504 ul li.Tips a:hover h2 {	color: rgba(245,199,98,1);	}
.KidsGnavArea202504 ul li.MGroup a:hover h2 {	color: rgba(240,177,177,1);	}

.KidsGnavArea202504 ul li h2 span {
	position: relative;
	z-index: 2;
	display: inline-block;
	margin: 0;
	padding: 0 0 5px 0;
}

.KidsGnavArea202504 ul li a h2:before {
	position: absolute;
	top: 50%;
	z-index: 1;
	content: '';
	display: block;
	width: 100%;
	height: 10px;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.KidsGnavArea202504 ul li a:hover h2:before {
	height: 0;
}

.KidsGnavArea202504 ul li.Navi a h2:before {	background-color: rgba(156,209,234,1);	}
.KidsGnavArea202504 ul li.Map a h2:before {	background-color: rgba(237,169,139,1);	}
.KidsGnavArea202504 ul li.Event a h2:before {	background-color: rgba(181,213,117,1);	}
.KidsGnavArea202504 ul li.Tips a h2:before {	background-color: rgba(245,199,98,1);	}
.KidsGnavArea202504 ul li.MGroup a h2:before {	background-color: rgba(240,177,177,1);	}

.KidsGnavArea202504 ul li a:hover h2:before {
	height: 0;
}

.KidsGnavArea202504 ul li.Navi a:hover h2:before {	background-color: rgba(156,209,234,0);	}
.KidsGnavArea202504 ul li.Map a:hover h2:before {	background-color: rgba(237,169,139,0);	}
.KidsGnavArea202504 ul li.Event a:hover h2:before {	background-color: rgba(181,213,117,0);	}
.KidsGnavArea202504 ul li.Tips a:hover h2:before {	background-color: rgba(245,199,98,0);	}
.KidsGnavArea202504 ul li.MGroup a:hover h2:before {	background-color: rgba(240,177,177,0);	}

.KidsGnavArea202504 ul li .NaviTxt {
	padding: 5px;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}

.KidsGnavArea202504 ul li a:hover .NaviTxt {
	border-radius: 10px;
}

.KidsGnavArea202504 ul li.Navi a:hover .NaviTxt {	background-color: rgba(156,209,234,1);	}
.KidsGnavArea202504 ul li.Map a:hover .NaviTxt {	background-color: rgba(237,169,139,1);	}
.KidsGnavArea202504 ul li.Event a:hover .NaviTxt {	background-color: rgba(181,213,117,1);	}
.KidsGnavArea202504 ul li.Tips a:hover .NaviTxt {	background-color: rgba(245,199,98,1);	}
.KidsGnavArea202504 ul li.MGroup a:hover .NaviTxt {	background-color: rgba(240,177,177,1);	}

.KidsGnavArea202504 ul li span.descT {
	display: block;
	font-size: 0.7em;
}
@media screen and (max-width: 767px) {
	.KidsGnavArea202504 ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
  	.KidsGnavArea202504 ul li{
        display: block;
        float: none;
        width: 30%;
        border-left: 0px solid #D9CBBB;
        padding: 5px;
        text-align: center;
        font-size: 0.8em;
        border: 1px solid #D9CBBB;
        margin: 3px 1%;
        border-radius: 5px;
    }
  .KidsGnavArea202504 ul li:last-child {

  }
    	.KidsGnavArea202504 ul li span.descT{
         display :none; 
        }
  .KidsGnavArea202504 ul li .NaviTxt {
         display :none; 
  }
}