@charset "utf-8";

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?dboifc');
  src:  url('fonts/icomoon.eot?dboifc#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?dboifc') format('truetype'),
    url('fonts/icomoon.woff?dboifc') format('woff'),
    url('fonts/icomoon.svg?dboifc#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-phone:before {
  content: "\e942";
    margin-right: .3em;
}
.icon-location2:before {
  content: "\e948";
    margin-right: .3em;
}
.icon-mail{
    margin: 0 1em;
}
.icon-mail:before {
  content: "\ea83";
    margin-right: .3em;
}
.icon-facebook2:before {
  content: "\ea91";
}


/* --- 全体のBOX定義 ----------------- */
.box {
    position   : relative;
    width  : 100%;
    height     : 700px;
    overflow   : hidden;
    margin-top: 0px;
    /*下部弧状スタイルCSS*/
    min-height: 430px;
    border-bottom-right-radius: 1200px 300px;
    border-bottom-left-radius: 1200px 300px;
    margin-left: -50px;
    padding-left: 50px;
    margin-right: -50px;
    padding-right: 50px;
}
/* --- 背景の指定 ----------------- */
.box .bgImg {
	position   : absolute;
	top        : 0;
	left       : 0;
	bottom     : 0;
	right      : 0;
	opacity    : 0;
	animation  : bgAnime 25s infinite;   /* 画像 × 各5s */
}
.bgImg img{
	width: 100%;
	height: auto;
	min-width: 100%;
	min-height: auto;
	max-width: inherit;
}

/* --- 段差で画像のアニメーションを実行 ----------------- */
.box .src1 {
	/*背景画像にする場合は background-imageを入れる*/
	animation-delay  : 0s;
}
.box .src2 {
	animation-delay  : 5s;
}
.box .src3 {
	animation-delay  : 10s;
}
.box .src4 {
	animation-delay  : 15s;
}
.box .src5 {
	animation-delay  : 20s;
}

/* --- 前面の文字定義 ----- */
.box .boxString{
    position   : absolute;
    display    : inline-block;
    padding    : 30px 0;
    width: 500px;
    bottom        : 20%;
    right       : 10%;
    z-index    : 11;
    text-align: center;
    background: rgba(253, 246, 227,.8);
    border-radius: 30px;
}
.box .boxString h2{
    font-size: 32px;
    width: auto;
    color: #522600;
}
.box .boxString h2 span{
    font-weight: bold;
    color: #e30d7b;
}
.box .boxString p{
    font-size: 22px;
    color: #522600;
}
.box .boxString p span{
    display: block;
}
.box .boxString a{
    font-size: 18px;
    background: #522600;
    padding: 10px 0;
    width: 300px;
    display: block;
    margin: auto;
    border-radius: 50px;
    color: #fff;
    transition: .35s;
}
.box .boxString a:hover{
    background: #fcc8c9;
    color: #522600;
}

/* --- keyframes ------------- */
@keyframes bgAnime {
   0% { opacity: 0; }
   5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
 100% { opacity: 0; }
}
/*モーダルウインドウ*/
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.modal__bg{
    background: rgba(253, 246, 227,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
    background: #fdf6e3;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
}
.modal p:first-of-type{
    text-align: center;
    font-size: 25px;
}

.modal dl{
    display: flex;
}

.modal dt{
    margin-right: 1em;
}
.close{
    width: 4em;
    padding: 10px 0;
    text-align: center;
    background: #522600;
    display: block;
    margin: 20px auto;
    color: #fff;
}

/*Mobile*/
@media screen and (max-width:1000px) {
	.box {
		width: 100%;
		height: 650px;
		border-bottom-right-radius: 1000px 430px;
		border-bottom-left-radius: 1000px 430px;
        margin-left: -50px;
        padding-left: 50px;
        margin-right: -50px;
        padding-right: 50px;
	}
	.bgImg img{
		width: 100%;
	}
}
@media screen and (max-width:800px) {
    .box .boxString{
        font-size: 15px;
        width: 350px;
        padding    : 20px 0;
    }
    .box .boxString h2{
        font-size: 28px;
    }
    .box .boxString p{
        font-size: 18px;
    }
    .box .boxString a{
        font-size: 15px;
        padding: 10px 0;
        width: 250px;
    }
}
/* --- スマホ版 ----- */
@media screen and (max-width: 640px) {
	.box {
		width: 100vw;
		max-width: 640px;/*.boxのwidth*/
		max-height: 200px;/*.boxのheight*/
        margin-top: 55px;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
    }
	.bgImg img{
		width: 100%;
	}
    .box .boxString{
        width: 250px;
        padding: 10px 0;
    }
    .box .boxString h2{
        font-size: 25px;
    }
    .box .boxString p{
        font-size: 15px;
    }
    .box .boxString a{
        font-size: 15px;
        padding: 10px 0;
        width: 200px;
    }
    .modal__content{
        background: #fdf6e3;
        left: 50%;
        padding: 40px 20px;
        position: absolute;
        top: 50%;
        transform: translate(-50%,-50%);
        width: calc(90% - 40px);
    }
}

/* ------------------------------------------- */

/*子ども食堂*/
p{
    margin: 10px 0;
}
.topic-title{
    width: 600px;
    height: 300px;
    margin: auto;
    text-align: center;
    background: url("../img/topic-bg.jpg") no-repeat;
    background-size: contain;
    padding: 100px 0 0;
    border-radius: 240px 15px 100px 15px / 15px 200px 15px 185px;
    font-size: 30px;
}
.topic-1{
    overflow: hidden;
}
.topic-1 p{
    width: 500px;
    float: left;
    font-size: 15px;
}
.topic-1 img{
    float: left;
}
.topic-1{
    width: 900px;
    background: #fff6e3;
    margin: 35px auto;
    padding: 20px 0;
    text-align: center;
    line-height: 2.0;
    border-radius: 15px 250px 30px 120px / 150px 30px 180px 15px;
}
.topic-2{
    width: 800px;
    margin: 20px auto;
    text-align: center;
    background: #fff;
    padding: 20px 0;
    line-height: 2.0;
    border-radius: 15px 250px 30px 120px / 150px 30px 180px 15px;
    border: 6px #FFC9CA solid;
    font-size: 20px;
}
#topic{
    text-align: center;
    font-size: 25px;
    padding: 20px　0;
    margin-bottom: 20px;
}
.topic-3{
	width: 1000px;
	background: #fff;
	padding: 0;
	margin: 0;
	overflow: hidden;
}
.topic-3 p{
	width: 800px;
	font-size: 25px;
	padding-top: 25px;
	float: left;
	text-align: center;
}
.topic-3 img{
    float: left;
}
/*Mobile*/
@media screen and (max-width: 800px) {
    .topic-1 p{
        width: 40%;
        font-size: 15px;
    }
    .topic-1{
        width: 90%;
        margin: 5%;
    }
    .topic-1 img{
        width: 30%
    }
    .for_you p{
        width: 59%;
        margin: 0;
    }
    .for_you img{
        width: 20%;
    }
    .topic-2{
        width: 80%;
        margin: 20px 9.4%;
        padding: 20px 0;
        border: 0.6% #FFC9CA solid;
        font-size: 15px;
    }
    #topic{
        margin-bottom: 10px;
    }
    .topic-3{
        width: 100%;
    }
    .topic-3 p{
        width: 70%;
        font-size: 25px;
        padding-top: 10px;
        float: left;
        text-align: center;
    }
    .topic-3 img{
        width: 15%;
    }
}
@media screen and (max-width: 640px) {
    .topic-title{
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: center;
        padding: 20% 0;
        font-size: 20px;
    }
    .topic-1 p{
        width: 80%;
        margin-left: 10%;
        font-size: 15px;
    }
    .topic-1{
        width: 90%;
        margin: 5%;
    }
    .topic-1 img{
        width: 50%;
        float: none;
    }
    .topic-3 p{
        width: 100%;
        font-size: 20px;
        padding-top: 10px;
        float: left;
        text-align: center;
    }
    .topic-3 img{
        display: none;
    }
}

/*改行*/
.newline{
    display: none;
}
@media screen and (max-width: 640px) {
    .newline{
        display: inline;
    }
}
/*点滅*/
.blinking{
	animation: flash 5s ease-out infinite;
	margin:20px;
}

@keyframes flash {
  0%,100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}
/*fadein*/
 .fadeInUp {
	opacity : 0;
	transform: translateY(20px);
	transition: 2s;
}


/*振込について*/
.kouzaWrap{
    width: 800px;
    margin: auto;
    padding: 20px 0;
}
.kouzaWrap h3{
    text-align: center;
    font-size: 20px;
}
.kouza{
    width: 500px;
    margin: 15px auto;
    font-size: 13px;
    display: table;
    padding: 20px 25px;
    background: #fff6e3;
}
.kouza p{
    margin: 0;
    text-align: left;
}
.kouza > p,
.kouza > div{
    display: table-cell;
    vertical-align: top;
}
.kouza > p{
    font-size: 15px;
}

.kouza dl{
    display: flex;
}
/*Mobile*/
@media screen and (max-width: 800px) {
    .kouzaWrap{
        width: 350px;
    }
    .kouzaWrap h3{
        text-align: center;
    }
    .kouza{
        width: 250px;
        display: block;
    }
    .kouza > p,
    .kouza > div{
        display: block;
        vertical-align: top;
    }
    
}

@media screen and (max-width: 640px) {
    .kouzaWrap{
        width: 300px;
    }
    .kouza{
        width: 250px;
    }
}


