*{
    margin:0;
}

header,section,footer{
    display: block;
}

body{
    font-size: 1rem;
    line-height:1.7;
}


.container{
    width:auto;
    margin: 0 auto;
    background-image: url('./img/hanakabe1.gif');
    background-position: center;
    background-size: 40%;


}

.space{
    margin: -5px;
 
 }


a {
  background-color: powderblue;
  transition: background-color 0.5s;
}

a:hover {
  background-color: gold;
}

/* 上部コンテンツ*/


header{
    margin: 0 auto;
    text-align: center;
    width: 100%;
    background-color:#0be666;
}

section{
    margin: 0 auto;
    text-align: center;
    width: auto;	
}

.upper{
    margin-left: 0 auto;
    margin-right:0 auto;
    width: 100%;
}



/* .slide-items { max-width:350px; height: auto;}*/
.slide{

	width:95% ;
	display: flex;
	justify-content: center;
}

.slide-items {
    width: 100%;
	max-width: 640px;
	/* コンテナの幅に合わせる */
	object-fit: cover; /* 画像をコンテナ内に埋め込み、アスペクト比を維持しトリミングする */
	}
	
	.card {
        width: 100%;
		margin-top: 5px;
		object-fit: contain;}

/* 画像処理*/
.img1
{
    width: 70%;
    min-width: 200px;
    max-width: 600px;
    padding-top: 10px;
    height: auto;
}

.img2{
    width: 25%;
    min-width: 150px;
}

.img3{
    padding-top: 10px;
    height: 150px;
    width: auto;

    float: none;
}


.chirashi{
    width: 90%;
    max-width: 640px;
    min-width: 240px;
    float: none;

}


.map{
	width: 100%;
	max-width: 480px;
	min-width: 240px;
	margin-top: 5px;

}


.ameba{
	width: 50%;
	max-width: 300px;
    min-width: 200px;
	margin: 0px 0px 0px 0px;
	float: none;
}

/* 中間コンテンツ*/
.middle{
    margin: 0 auto;
    text-align: center;
    width: 100%;
    background-color:#000201;
}

.schedule{
    text-align: center;
    line-height: normal;
    color: #f3f1f1;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0%;
    font-size: 1.4rem;

}

.midashi{
    text-align: center ;
    line-height: 1.2em;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 15px;
    margin-bottom: -5px;
    font-size: 1.6rem;
    font-weight: bolder;
    color: #e7101b;

    float: none;
}

.midashi2{
    text-align: center ;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 1.6rem;
    font-weight: bolder;
    color: #093ff3;

    float: none;
}

.komidashi{
    text-align: center ;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 1.2rem;
    font-weight: bolder;
    color: #0aa52c;

    float: none;
}

.komidashi2{
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-right: 0px;
    font-size: 1.0rem;
    font-weight: bolder;
    color: #e7101b;

}

.maintext{
    text-align: center;
    line-height: normal;
    color: #f3f1f1;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 1rem;
    padding: 10px;
}

.nomaltext{
    text-align: left;
    line-height: normal;
    color: #020000;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: -12px;
    margin-bottom: 0px;
    font-size: 1rem;
    padding: 10px;
}

.subtext{
    text-align: left;
    line-height: normal;
    color: #0704a5;
    margin-left: 10px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0%;
    font-size: 0.9rem;
}

.specialtext{
    text-align: center;
    line-height: normal;
    color: #e9e628;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 1.1rem;
    padding: 10px;
}


.flex-box {
    display: flex;

    align-items:stretch;        /* 縦の位置指定 */
    flex-wrap: wrap;            /* 折り返し指定 */
    width: 100%; 

    height: auto;
    margin-left: 0px;
    margin-right: 0px;
    padding-right: 0px;
    padding-left: 0px;


}

.flex-item {
    padding-left: 0px;
    padding-top: 5px;
    padding-right: 0px;    
    margin: 0 auto;
    border-radius:  0%;        /* 角丸指定 */
    width: 50%;                 /* 幅指定 */
    min-width: 360px;
    text-align: left;
    float: none;
}   


.flex-item:nth-child(1) {
    background-color:  #abd2f1; /* 背景色指定 */
    text-align: center;

}

 
.flex-item:nth-child(2) {
    background-color:  #ffd6d9; /* 背景色指定 */
    text-align: center;
}



.flex-box2 {
    background-color: #f1daec;   /* 背景色指定 */
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 10px;

    
}

.flex-item2 {
    padding-left: 0px;
    padding-top: 5px;
    padding-right: 0px;
    padding-left: 0px;
    color:  #050000;               /* 文字色 */
    border: 1px solid #d31717;
 
    border-radius:  0%;        /* 角丸指定 */
    width: 80%;                 /* 幅指定 */
    margin-left: 10%;
    margin-right: 10%;
    float: none;

}   

.i-frame {
    border: none;
	margin: 10px 0px 10px 0px;
}

/* 常在コンテンツ*/
#leftside{
	margin: 0　auto;
	width: 100%;
}

#rightside{
	margin: 0　auto;
	width: 100%;

}

/* 下部コンテンツ*/
footer{
    width: 100%;

    background-image: url('./img/hanakabe1.gif');
    background-size: 40%;

}

.foottext{
    text-align: center;
    line-height: normal;
    color: #180101;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 0%;
    font-size: 0.8rem;
}
