html {
	font-size: 16px;
}


body {
/*	-webkit-text-size-adjust: 100%;		*/
	margin-right: auto;
	margin-left : auto;
/*	width:980px;	*/
}


h2 {
	padding: 0.5em;/*文字周りの余白*/
	color: #494949;/*文字色*/
	background: #fffaf4;/*背景色*/
	border-left: solid 10px #ffaf58;/*左線（実線 太さ 色）*/
}

h3 {
	color: #494949;/*文字色*/
	background: #fffaf4;/*背景色*/
	box-shadow: 0px 0px 0px 5px #fffaf4;
	border: dashed 2px #ffaf58;
	padding: 0.2em 0.5em;
	margin-left: 3%;
	width: 30%;
}

.box {
	width: 50%;
	margin: 0 auto;
	padding: 2em;
	color: #494949;/*文字色*/
	background: #f8f8f8;/*背景色	#fffaf4	*/
}



.our_ch {			/* 「私たちの教会」でのみ使用 */	/* sliderの幅 */
	width: 70%;
	margin: 0 auto;
}
.our_ch img {								/* slider画像の幅 */
	width: 100%;
}



.paster {			/* 「牧師」でのみ使用 */
	width: 60%;
	margin: 0 auto;
}


.ch_act1 {			/* 「教会活動」でのみ使用 */
	width: 60%;
	border-top: dashed 1px #ffaf58;
	margin: 10px auto;
	padding-top: 20px;
}




/*
p {
	line-height: 2;
	width: 75%;
	display: inline-block;
	margin-right: auto;
	margin-left : auto;
	padding-right: 10px;
	box-sizing: border-box;
	vertical-align: top;
}
*/

p.center_lv1{
	color: #494949;/*文字色*/
	margin: 0 5%;
	width: 90%;
}

p.center_lv2{
	color: #494949;/*文字色*/
	margin: 0 10%;
	width: 80%;
}

p.center_lv3{
	color: #494949;/*文字色*/
	margin: 0 20%;
	width: 60%;
}

p.indent{
	padding-left:1em;
	text-indent:-1em;
}

div.img{
	text-align : center;
	margin: 0 auto;
}






/* ハンバーガーメニュー ---------------------------------------------------------------- */
#wrapper nav {				/* 開：領域 */
    position: fixed;
    top: 0;
    right: -300px;
    width: 200px;				/* orig 300px */ /* mobileとは違う設定*/
    height: 100%;
    padding-top: 50px;
    background:rgba(255,175,88,0.9);		/* 背景色orig#333 */ /* mobileと同設定 */
    font-size: 16px;
    box-sizing: border-box;
    z-index: 2
}
#wrapper nav ul li {
    display:block;
    padding: 10px 28px				/* orig 20px 28px */ /* mobileはorigのまま */
}
#wrapper nav ul li a {			/* 開：領域のフォント色 */
    text-decoration: none;
    color: #fffaf4;				/* フォント色orig#ddd */ /* mobileと同設定 */
}
#wrapper .btn-gnavi {			/* 閉：三の周囲 */
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms
}
#wrapper .btn-gnavi span {		/* 閉：三 */
    position: absolute;
    width: 30px;
    height: 4px;
    background: #ffaf58;			/* 三の色orig#666 */ /* mobileと同設定 */
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms
}
#wrapper .btn-gnavi span:nth-child(1) {		/* 閉：三の縦間隔 */
    top: 0
}
#wrapper .btn-gnavi span:nth-child(2) {
    top: 10px
}
#wrapper .btn-gnavi span:nth-child(3) {
    top: 20px
}
#wrapper .btn-gnavi.open span {		/* 開：三の色 */
    background: #fffaf4;			/* 三の色orig#fff */ /* mobileと同設定 */
}
#wrapper .btn-gnavi.open span {		/* 開：三の幅 */
    width: 30px;				/* orig24px */ /* mobileとは違う設定 */
}
#wrapper .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;				/* フォント色#fff */
}
#wrapper .contents section:nth-child(odd) p {
    left: 10%
}
#wrapper .contents section:nth-child(even) p {
    right: 10%
}
/* ハンバーガーメニュー end------------------------------------------------------------- */




/* ふわっと現れる　参照https://web-ashibi.net/archives/1952 ---------------------------- */
    .fuwari {
/*        font-size: 20px;				*/
/*        font-weight: bold;				*/
        animation-name: fadein;
        animation-duration: 3s;
/*        animation-iteration-count: infinite;		*/
    }
    @keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }

    .fuwari2 {
/*        font-size: 20px;				*/
/*        font-weight: bold;				*/
        animation-name: fadein2;
        animation-duration: 4s;
/*        animation-iteration-count: infinite;		*/
    }
    @keyframes fadein2 {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }
/* ふわっと現れる　end ----------------------------------------------------------------- */



/* 画像の上にテキストを重ねる ---------------------------------------------------------- */
.text-on-image {
	position: relative;
}
.text-on-image p {
	position: absolute;
	color: white;
	top: 20%;
	left: 15%;
	font-size: 5em;					/* 5em */
	font-weight: bold;
	font-family: UD デジタル 教科書体 NP-R;
}
.text-on-image img {
	width: 100%;
}
/* 画像の上にテキストを重ねる end------------------------------------------------------- */

