@charset "utf-8";
@import url("about_style.css");
@import url("admission_style.css");
@import url("contact_style.css");
/* CSS Document */

body {
	min-width: 1300px;
}
body, h1, h2, h3, p {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0;
	padding: 0;
}
.flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: auto;
}
.flex-wrap {
	flex-wrap: wrap;
}
@font-face {
  font-family: "たぬき油性マジック";
  src: url(../font/TanukiMagic.ttf) format('truetype');
}
@font-face {
  font-family: "ＫＦひま字";
  src: url(../font/KFhimaji.otf) format('truetype');
}
@font-face {
  font-family: "UD Digi Kyokasho NP-B";
  src: url(../font/UDDigiKyokashoN-B.ttc) format('truetype');
}
@font-face {
  font-family: "UD Digi Kyokasho NP-R";
  src: url(../font/UDDigiKyokashoN-R.ttc) format('truetype');
}
h1 {
	font-family: "たぬき油性マジック";
	font-weight: normal;
}
h2 {
	font-family: "ＫＦひま字";
	font-weight: normal;
}
p {
	font-family: "ヒラギノ角ゴ Pro W3";
	line-height: 3.5ex;
}
a {
	text-decoration: none;
}

/* HEADER */
header {
	position: relative;
	background: #ebffff;
	padding-top: 20px;
}
header .roof {
	background: url(../images/Header_roof.png) no-repeat center;
	height: 147px;
	position: relative;
}
header .board {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translateX(-50%);
	background: url(../images/Header_board.jpg) no-repeat center;
	height: 131px;
	width: 654px;
	text-align: center;
}
header .board h1 {
	font-size: 50px;
	padding: 30px 0 10px 0;
}
header .board h2 {
	font-size: 18px;
}
header hr {
	margin: 0;
	color: #ffe197;
	background: #ffe197;
	border: none;
	height: 6px;
}
header .flag_left {
	position: absolute;
	top: 0;
	left: 0;
}
header .flag_right {
	position: absolute;
	top: 0;
	right: 0;
}
/* NAVIGATION */
nav {
	width: 1025px;
	padding: 60px 0 20px 0;
	text-align: center;
	line-height: 2.6ex;
	color: #443124;
}
nav a {
	color: #443124;
	padding: 10px 30px;
	font-family: "UD Digi Kyokasho NP-B";
	font-size: 21px;
	white-space: nowrap;
}
nav a:hover {
	color: #48aecb;
}
nav a span {
	font-family: "UD Digi Kyokasho NP-R";
	font-size: 12px;
}

/* SLIDESHOW */
/* スライドレールの枠 */
#wrap {
  overflow: hidden;
  height: 446;
  position: relative;
}
#pattern {
	position: absolute;
	bottom: -15%;
}
/* content4つをまとめたスライドブロック */
#slideshow {
  animation: loop-slide 40s infinite linear 0s both;
  -webkit-animation: loop-slide 40s infinite linear 0s both;
  list-style: none;
  padding: 0;
  margin: 0;
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@-webkit-keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
#slideshow .content {
  width: 886px;
  height: 593px;
}
#slideshow .content:nth-child(1) {
	background: url(../images/Slideshow1.jpg) no-repeat;
}
#slideshow .content:nth-child(2) {
	background: url(../images/Slideshow2.jpg) no-repeat;
}
#slideshow .content:nth-child(3) {
	background: url(../images/Slideshow3.jpg) no-repeat;
}
#slideshow .content:nth-child(4) {
	background: url(../images/Slideshow4.jpg) no-repeat;
}
/* ホバー時に動きを止める（パターン2・3）
.slide-paused:hover #slideshow {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
/* ホバー時の装飾（パターン3） 
.content-hover {
  transition: all 0.2s;
}
.content-hover:hover {
  transform: translateY(-20px);
  box-shadow: 0 3px 10px 0 #333;
  opacity: 0.8;
}


/* ○○保育園の目標 */
.wall_BG {
	background: url(../images/BG_wall_pattern.jpg) center;
	padding: 100px 0;
}
.ribbon {
	background: url(../images/Ribbon_orange.png) center no-repeat;
	height: 57px;
	width: 248px;
	padding-top: 8px;
	font-family: "ＫＦひま字";
	letter-spacing: 4px;
	font-size: 20px;
	text-align: center;
	color: white;
}
.title {
	font-size: 40px;
	text-align: center;
	padding: 20px 0;
}
.title_BG {
	background: url(../images/Title_line.png) no-repeat center;
}
.explain {
	text-align: center;
	letter-spacing: 1px;
	padding: 30px 0 40px 0;
}
.explain_emphasis_1{
	text-align: center;
	letter-spacing: 1px;
	font-size: 28px;
	font-weight: bold;
}
.explain_emphasis_2{
	text-align: center;
	letter-spacing: 1px;
	padding: 5px 0 40px 0;
}
#goal .column{
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	width: 400px;
	margin: 0 30px;
}
#goal .flex {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-bottom: 30px;
}
.goal .subtitle {
	text-align: center;
	font-size: 30px;
	padding-top: 15px;
	line-height: 2.5ex;
}
.goal .button {
	font-family: "UD Digi Kyokasho NP-B";
	background: #d1651a;
	color: white;
	font-size: 21px;
	text-align: center;
	padding: 10px 80px;
	border-radius: 50px;
}
.goal .button:hover {
	background: #ec8c00;
}

/* EVENT */
.template {
	padding: 100px 0 0 0;
}
.template #ribbon_title {
	justify-content: center;
	align-items: flex-start;
}
.title_flag {
	padding: 30px 20px 0 20px;
	margin-bottom: -30px;
}
#event_subtitle {
	display: flex;
    flex-direction: row;
	width: 1000px;
	margin: 20px auto;
	font-size: 34px;
	color: #d3a42f;
}
#event_subtitle:before,
#event_subtitle:after {
	content: "";
	flex: 1 1;
	border-bottom: 2px dashed #e95b1d;
	margin: auto;
}
.event #album {
	width: 1245px;
}


/* FOOTER */
#footer_wrap {
  overflow: hidden;
  position: relative;
  height: 310px;
  margin-top: 100px;
}
#footer_pattern {
	position: absolute;
	bottom: 0;
}
footer {
	background: #b8d85b;
	text-align: center;
	color: white;
	padding-bottom: 40px;
}
footer .flex {
	width: 900px;
	margin: auto;
}
footer .align {
	width: 400px;
}
footer h1 {
	font-size: 70px;
}
footer h2 {
	font-size: 28px;
	padding-top: 10px;
}
footer #tel {
	justify-content: center;
	font-size: 46px;
	padding: 30px 5px 10px 0;
	letter-spacing: 1px;
	font-family: "ヒラギノ角ゴ Pro W3";	
}
footer #tel .flex{
	justify-content: center;
}
footer #tel a{
	color: #fff;
}
footer #tel a:hover{
	opacity: 0.7;
}
footer .address {
	font-family: "ヒラギノ角ゴ Pro W3";
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
}

/* MAP */
/* ACCESS MAP */
.map {
	height: 300px;
}
.map iframe {
	width: 100%;
}

/* CREDIT */
.credit {
	color: white;
	background: #009c41;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	font-family: "ヒラギノ角ゴ Pro W3";
	padding: 10px 0;
	letter-spacing: 1px;
}