/*
Theme Name: WAKOKAI
Theme URI: https://web-design.link/
Description: 和光会保育園用WordPressテーマ
Version: 1.0.0
Author: WebDesign.LINK
Author URI: https://web-design.link/
*/

/*---------------------------------------- */
/* クリア用CSS */
/*---------------------------------------- */
body,header,footer,section,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,article,aside,
pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,p{
    margin:0;padding:0;
}

img{margin:0;padding:0;border:none;}
li{list-style-type: none;}
a {text-decoration: none;}

/*---------------------------------------- */
/* 定常用用CSS */
/*---------------------------------------- */
.clear{clear: both;}
.center{
	text-align: center;
}

/*---------------------------------------- */
/* 固有 */
/*---------------------------------------- */

html,body{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 17px;
}

body{
	background-color: #FFFBEB;
}

.wp-block-contact-form-7-contact-form-selector{
	background-color: #fff;
	width: 50%;
	margin: 0 auto;
	padding:30px;
}

h2.wp-block-heading{
	color:#008b8b;
	margin-top:20px;
	border-top:1px solid #008b8b;
	padding-top:10px;
}
#topPage .news dl dt a:link,
#topPage .news dl dt a:visited{
text-decoration: none;
color: #2e8b57;
}
#topPage .news dl dt a:hover,
#topPage .news dl dt a:active {
color: #008b8b;
text-decoration: none;
}


.entry-title a{
	font-size:0.8em;
}

.entry-title a:link,
.entry-title a:visited{
text-decoration: none;
color: #2e8b57;
}
.entry-title a:hover,
.entry-title a:active {
color: #008b8b;
text-decoration: none;
}

.entry-content{
	width:70%;
	margin:0 auto 40px auto;
}

.entry-meta{
	font-weight:bold;
	text-align:center;
        color: #7B5016;
}


 /*---------------------------------------- */
/* PC */
/*---------------------------------------- */
@media screen and (min-width: 639px){

.pcHidden{
display:none;
}


#contact-page .tit{
color:#fff;
margin:70px auto 0 auto;
border-bottom:1px solid #fff;
padding-bottom:25px;
width:150px;
}


.pageTitle_contact {
    height: 176px;
    color:#fff;
    text-align:center;
    font-size:30px;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 65px;
}

.oemDemocase li{
margin-bottom:10px;
}



.mainImage{
	width: 1200px;
	margin:0 auto;
}

.mainImage img {
    width: 100%;
    height: auto;
}

	
.ogikita_logo{
	  background-image: url('https://wakokai.life/css_images/ogikita_logo.png');
}

	

#topPage .logo-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 300px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.5);
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 70% auto;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 150px;
  border-bottom-right-radius: 150px;
  text-indent: -9999px;
}


.hokatsu {
  position: absolute;
  top: 50px;
  right: 5px;
}

#goTop{
position:fixed;
bottom:35px;
right: 10px;
}
	
#kids-page #kidsHeader img{
width:100%;
}

#kids-page .kidsNav{
width:70%;
margin:-100px auto 0 auto;
}

#kids-page .kidsNav ul{
display: flex;
justify-content: space-between;
}
/*▼navを５に変更▼*/
	#kids-page .kidsNav ul li{
		width:20%;
		text-align:center;
	}
	
	#kids-page .kidsNav ul li img{
		width:100%;
	}
/*▲navを５に変更▲*/

.tel_no {
position: absolute;
top: 20px;
right: 20px;
width: 250px;
}

.tel_no img {
  width: 100%;
  height: auto;
}


/*位置ずらし*/

.kidsNav {
  position: relative;
  top: -100px; /* 上に200pxずらす */
}

.kidsNav{
	margin-top: -100px;
}

.kidsNav .btn_01{
	padding-top: 40px;
}

.kidsNav .btn_02{
	padding-top: 20px;
}

.kidsNav .btn_03{
	padding-top: 80px;
}

.kidsNav .btn_04{
	padding-top: 0px;
}

.kidsNav .btn_05{
	padding-top: 40px;
}
	
#topPage .news{
	margin-top: -100px;
}

#topPage .news .center img{
	width: 30%;
	margin-bottom: 20px;
}

#topPage .news dl{
	width: 40%;
	margin: 0px auto 10px auto;
}

#topPage .news dl dt a{
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	font-size: 1.3em;
}

#topPage .news dl dt a:link,
#topPage .news dl dt a:visited {
text-decoration: none;
color: #2e8b57;
}

#topPage .news dl dt a:hover,
#topPage .news dl dt a:active {
color: #008b8b;
text-decoration: none;
}

#topPage .news dl dd b{
	color: #7B5016;
}


#topPage .container{
	width: 100%;
	background-color: #A58D10;
}

.contact-list .widget-title {
  text-align: center !important;
}

#topPage .container .widget-title {
  text-align: center;
  color: #A58D10;
  background-image: url("http://wakokai.life/asagaya/wp-content/uploads/2025/07/titleHead.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 60px;
  line-height: 60px;
  color: #fff;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);

}

#topPage .container .data1 {
  float: left;
  width: 48%;
}

#topPage .container .data2 {
  float: right;
  width: 48%;
}
	
#topPage .container .data1 dd{
	border-bottom:1px solid #fff;
	padding-bottom:5px;
	margin-bottom:10px;
	font-size:1em;
	}

#topPage .container .data1 .afterTxt{
	color:#FFE564;
	padding-left:10px;
	font-size:0.6em;
	}

#topPage .container::after {
  content: "";
  display: block;
  clear: both;
}

#topPage .container .data1,
#topPage .container .data2{
	padding: 10px;
	width: 45%;
	margin: 10px 20px;
}

#topPage .container .data1 dt::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("http://wakokai.life/asagaya/wp-content/uploads/2025/07/ginkgoNut.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 8px; 
  vertical-align: middle;
}

#topPage .container .data1 dt{
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
}

#topPage .container .data1 dd{
	color: #fff;
}

#topPage .container .data2 iframe{
	width: 500px;
	height: 300px;
}

#philosophy {
width:80%;
display:flex;
margin:20px auto;
background-color: #fff;
}

#philosophy .left {
	width:28%;
}

	#philosophy .left img{
		width:100%;
	}
#philosophy .right {
	width:68%;
  padding: 30px;
  font-size: 16px;
  line-height: 2;
}

#philosophy .right p{
	text-indent: 1em;
	margin-bottom: 20px;
}

#philosophy .right h2{
  color: #46921D;
}

#philosophy .right h3{
  color: #696969;
}


footer .copyright{
	background-color: #FFEFA5;
	padding: 30px;
	font-size: 0.7em;
}
	
#topPage .flexContainer ul{
display:flex;		
	}
	#topPage .flexContainer ul li{
		width:30%;
		margin-right:1%;
	}
	#topPage .flexContainer ul img{
		width:100%;
	}

		#topPage #philosophy h3{
		text-align:center;
		margin-bottom:20px;
		font-size:1em;
		color:#008080;
	}
.basicPhilosophy_li {
    counter-reset: num; 
	margin-bottom:40px;
}
	
.basicPhilosophy_li li {
    position: relative;
    margin-bottom: 1em;
    padding-left: 2em;
    font-weight: bold;
}
	
	    .basicPhilosophy_li li::before {
        counter-increment: num;
        content: counter(num) ".";
        position: absolute;
        left: 0;
        top: 0;
        color: #008080;
        font-weight: bold;
    }
	
	.visionForChildren{
		margin-bottom:20px;
	}
	
	.visionForChildren li{
		font-weight:bold;
	}
	
		.childcareGoals{
		text-align:center;
	}
	
footer .footerTree{
	width: 90%;
	margin: -250px auto 0 auto;
	text-align: right;
}

#underPage .logo-title{
  position: absolute;
  top: 30px;
  left: 30px;
  text-indent: -9999px;
  width: 230px;
  height: 50px; 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
}

#underPage .headNav {
  position: absolute;
  top: 20px;
  right: 30px;
}

#underPage .headNav {
  position: absolute;
  top: 20px;
  right: 30px;
}

#underPage .headNav ul {
  display: flex;
}

#underPage .headNav ul li {
  margin-left: 15px;
}

#underPageTitle{
  position: absolute;
  top: 190px;
  left: 30px;
  font-size: 2.5em;
  color: #fff;
  font-weight: bold;
  text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
}

#underPage #main{
	width: 90%;
	margin: 30px auto;
}

#underPage #main h2{
	padding-bottom: 40px;
	font-size: 2em;
	text-align: center;
	background-image: url("https://wakokai.life/css_images/underHeader.png");
	background-repeat: no-repeat;
  background-position: center bottom; /* 中央揃え・下寄せ */
	height: 40px;
	margin-bottom: 50px;
	color:#008b8b;
}

.pcHidden {
	display: none;
}
.headNav {
  display: block; /* PCではナビゲーションを常に表示 */
}
}

/*---------------------------------------- */
/* スマートフォン */
/*---------------------------------------- */
@media screen and (max-width: 640px){

.spHidden {
	display: none;
}

#kids-page #kidsHeader img{
width:100%;
}

#kids-page .kidsNav{
width:70%;
margin:-50px auto 0 auto;
}

#kids-page .kidsNav ul{
display: flex;
justify-content: space-between;
}

.asagaya_logo{
	  background-image: url('http://wakokai.life/asagaya/wp-content/uploads/2025/07/asa_logo.png');
}


#topPage .logo-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 150px;
  height: 75px;
  background-color: rgba(255, 255, 255, 0.5);
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 70% auto;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 150px;
  border-bottom-right-radius: 150px;
  text-indent: -9999px;
}

.tel_no {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #23A112; /* 必要なら背景色 */
  text-align: center;
  padding: 5px 0;
  z-index: 9999; /* 他の要素より前面に表示 */
}

.tel_no img {
  width: 250px; /* 必要ならサイズ調整 */
  max-width: 100%;
  height: auto;
}

.ogikita_logo{
	  background-image: url('https://wakokai.life/css_images/ogikita_logo.png');
}

/*位置ずらし*/

#topPage .kidsNav {
  position: relative;
  top: -50px;
  width: 90%;
}

#topPage .kidsNav ul li{
	width: 20%;
}

#topPage .kidsNav ul li img{
	width: 100%;
}


.kidsNav .btn_01{
	padding-top: 40px;
}

.kidsNav .btn_02{
	padding-top: 20px;
}

.kidsNav .btn_03{
	padding-top: 60px;
}

.kidsNav .btn_04{
	padding-top: 10px;
}
.kidsNav .btn_05{
	padding-top: 40px;
}
#topPage .news{
	margin-top: -40px;
}

#topPage .news .center img{
	width: 60%;
	margin-bottom: 10px;
}

#topPage .news dl{
	width: 90%;
	margin: 0px auto 10px auto;
}

#topPage .news dl dt{
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	font-size: 1.2em;
}

#topPage .news dl dd b{
	color: #7B5016;
}


#topPage .container{
	background-color: #A58D10;
	padding: 20px;
}

#topPage .widget-title {
  text-align: center;
  color: #A58D10;
  background-image: url("https://wakokai.life/css_images/titleHead.png");
  background-repeat: no-repeat;
  background-size: contain; /* 画像を縦横比そのままで収める */
  background-position: center; /* 中央揃え */
  height: 60px; /* 高さ100pxに固定 */
  line-height: 60px; /* テキストの縦位置も中央にするなら */
  color: #fff;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);

}

.textwidget .data2 iframe{
	width: 100%;
}

#topPage .container .data1,
#topPage .container .data2{
	padding: 10px;
}

#topPage .container .data1 dt::before {
  content: "";
  display: inline-block;
  width: 22px; /* アイコンのサイズ */
  height: 22px;
  background-image: url("http://wakokai.life/asagaya/wp-content/uploads/2025/07/ginkgoNut.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 8px; /* 画像とテキストの隙間 */
  vertical-align: middle;
}

#topPage .container .data1 dt{
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
}

#topPage .container .data1 dd{
	color: #fff;
}
	#topPage .flexContainer ul{
		width:80%;
		margin:0 auto;
	}
	#topPage .flexContainer ul li{

	}
	#topPage .flexContainer ul img{
		width:100%;
	}
#topPage .container .data1 dd{
	border-bottom:1px solid #fff;
	padding-bottom:5px;
	margin-bottom:10px;
	font-size:1em;
	}

#topPage .container .data1 .afterTxt{
	color:#FFE564;
	padding-left:10px;
	font-size:0.6em;
	}
	
/*philosophy_SP*/
	
#philosophy {
  display: flex;
  margin:0 auto;
  background-color: #fff;
}

	#topPage #philosophy h3{
		text-align:center;
		margin-bottom:20px;
		font-size:1em;
		color:#008080;
	}
	
	.visionForChildren{
		margin-bottom:20px;
	}
	
	.visionForChildren li{
		font-weight:bold;
	}
	
#philosophy .left {
	display:none;
  /*writing-mode: vertical-rl;
  text-orientation: mixed;
  background: #f9f9f9;
  color: #46921D;
  border-right: 4px solid #46921D;
  padding: 10px;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  width: 60px;*/
}

#philosophy .right {
  padding: 30px;
  line-height: 2;
  flex: 1;
}

#philosophy .right .basicPhilosophy {
  background-image: url('http://wakokai.life/asagaya/wp-content/uploads/2025/07/kakomi_lef.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 120px auto;
  padding-top: 50px;
}
.cornerBottom {
  height: 60px;
  background-image: url('http://wakokai.life/asagaya/wp-content/uploads/2025/07/kakomi_right.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 120px auto;
	margin-top:-20px;
	margin-bottom:20px;
}
	.basicPhilosophy_li {
  counter-reset: num;
  padding-left: 1.5em;
}

.basicPhilosophy_li li {
  position: relative;
  margin-bottom: 1em;
  padding-left: 2em; /* 番号の分のスペース */
	font-weight:bold;
}

	.childcareGoals{
		text-align:center;
	}
	
.basicPhilosophy_li li::before {
  counter-increment: num;
  content: counter(num) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #008080;
  font-weight: bold;
}

	#philosophy .right .spsp{
		height:40px;
	}
	
#philosophy .right p{
	font-size: 0.9em;
	text-indent: 0.7em;
	margin-bottom: 20px;
}


#philosophy .right li{
	font-size: 0.9em;
}
	
#philosophy .right h2{
  color: #46921D;
  font-size: 0.9em;
  line-height: 0.9em;
}

#philosophy .right h3{
  color: #696969;
   font-size: 0.8em;
}

.footerTree img {
  opacity: 0.5;
}

footer .copyright{
	background-color: #FFEFA5;
	padding: 30px;
	font-size: 0.7em;
}

#topPage footer .footerTree{
	width: 90%;
	margin: -250px auto 0 auto;
	text-align: right;
	margin-bottom: 100px;
}

#underPage footer .footerTree{
	width: 90%;
	margin: -170px auto 0 auto;
	text-align: right;
	margin-bottom: 100px;
}

#underPage footer .footerTree img{
	width: 20%;
}

#underPage .logo-title{
  position: absolute;
  top: 20px;
  left: 20px;
  text-indent: -9999px;
  width: 160px;
  height: 50px; /* 高さも必要なら指定。画像に合わせて調整してね */
  background-size: contain; /* 横幅 or 縦幅に合わせて等倍縮小 */
  background-repeat: no-repeat;
  background-position: left top;
}

#underPageTitle{
	position: absolute;
    top: 40px;
	left: 30px;
  font-size: 1.2em;
  color: #fff;
  font-weight: bold;
  text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
  text-align: center;
  margin-top: 30px;
}

#underPage #main{
	width: 90%;
	margin: 0px auto 30px auto;
}

#underPage #main h2{
	font-size: 1.8em;
	text-align: center;
	color:#008b8b;
}
	
/* ハンバーガーアイコンを表示 */
  .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 100;
  }
  
  /* ハンバーガーアイコンの三本線 */
  .hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff; /* 白いアイコン */
    transition: all 0.3s;
  }
  
  /* 各線の位置 */
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 10px;
  }
  .hamburger span:nth-child(3) {
    top: 20px;
  }
  
  /* ハンバーガーメニューが開いた時のアイコン（X字） */
  .hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }

  /* ナビゲーションメニューのスタイル */
  .headNav {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面外に隠す */
    width: 80%;
    height: 100%;
    background-color: rgba(34, 139, 34, 0.8);
    transition: right 0.5s ease-in-out;
    z-index: 99;
    padding-top: 80px;
  }

  /* メニューが開いた状態 */
  .headNav.active {
    right: 0; /* 画面内にスライドイン */
  }
  
  /* ナビゲーション内のリストスタイル */
  .headNav ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }
  
  .headNav ul li a {
    display: block;
    color: #fff;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}