@charset "utf-8";


/*---------------------------------------------------------------------------------------
	header
----------------------------------------------------------------------------------------*/


header #headerwrap{
    position: absolute;
    top: 50px;
    left: 50px;
    padding: 35px 20px;
    background: #fff;
    width: 260px;
    z-index: 999;
}
header h1{
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}
header h1 strong{
    display: block;
}
header h1 img{
    height: auto;
    width: auto;
    margin-bottom: 15px;
}
header #gnav{
    margin-bottom: 20px;
    font-size: 14px;
}
header #gnav li{
    display: block;
    border-top: 1px solid #ccc;
}
header #gnav li a{
    padding: 10px 20px;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width:768px){
    header #headerwrap{
        position: static;
        padding: 0;
        width: 100%;
    }
	header h1{
        font-size: 24px;
        width : 90% ; /* IE8以下とAndroid4.3以下用フォールバック */
        width : -webkit-calc(100% - 65px) ;
        width : calc(100% - 65px) ;
		text-align: left;
        padding: 5px 0 0 3%;
	}
    header h1 img{
        width: auto;
        height: 35px;
        margin-bottom: 0;
    }
}



/*---------------------------------------------------------------------------------------
	news
----------------------------------------------------------------------------------------*/

#news{
    color: #fff;
    text-align: left;
	clear: both;
	padding: 70px 0;
	background: #4A4A4A;
}
#news a{
    color: #fff;
}
#news .contentswrap{
    position: relative;
}
#news h2{
    font-size: 28px;
    font-weight: normal;
    display: inline-block;
    border-bottom: 2px solid #EF4136;
    margin-bottom: 30px;
}
#contents #news dl{
    max-width: 79%;
    clear: both;
    overflow: hidden;
}
#news dl dt{
    float: left;
    clear: left;
    width: 120px;
    margin: 0 5px 10px 0;
}
#news dl dd{
    overflow: hidden;
    margin-bottom: 3px;
}
#news dl dd a{
    display: block;
    padding-bottom: 10px;
}
#news a:hover{
    opacity: 0.6;
}
#news p{
    position: absolute;
    right: 0;
    bottom: 0;
    padding-right: 3%;
}
#news p a{
    color: #EF4136;
    text-align: center;
    display: inline-block;
    border: 1px solid #EF4136;
    width: 210px;
    height: 40px;
    line-height: 40px;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width:768px){
    #news{
        text-align: center;
        padding: 35px 0 50px;
    }
    #news h2{
        font-size: 4.5vw;
        margin-bottom: 15px;
    }
    #contents #news dl{
        text-align: left;
        max-width: 100%;
    }
    #news dl{
        margin-bottom: 10px;
    }
    #news dl dt{
        width: 24%;
    }
    #news dl dd a{
        padding-bottom: 10px;
    }
    #news p{
        position: static;
        padding-right: 0;
        text-align: center;
    }
    #news p a{
        font-size: 3vw;
        width: 55%;
        height: 18px;
        line-height: 18px;
        padding: 1.5%;
    }
}






/*---------------------------------------------------------------------------------------
	topnav
----------------------------------------------------------------------------------------*/

#topnav{
	clear: both;
	overflow: hidden;
    padding: 80px 3% 25px;
    margin-bottom: 20px;
}
#topnav article{
	clear: both;
	overflow: hidden;
    margin-bottom: 40px;
}
#topnav article figure{
    position: relative;
	float: right;
	width: 50%;
    z-index: 20;
    background-position: center center;
    background-size: cover;
}
#topnav article:nth-child(2n) figure{
	float: left;
}
#topnav article div.wrap{
	width: 50%;
	float: left;
	position: relative;
    z-index: 10;
    padding: 0 5%;
    margin-top: 3%;
    left: 5%;
    border: 1px solid #888;
}
#topnav article:nth-child(2n) div.wrap{
	float: left;
    margin-top: 3%;
    left: inherit;
    right: 5%;
}
#topnav article div.wrap div{
	position: absolute;
	width: 80%;
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform : translateY(-50%);
	transform : translateY(-50%);
}
#topnav article div.wrap h2{
    font-size: 40px;
	margin-bottom: 30px;
}
#topnav article div.wrap p.note{
	padding: 0 10px;
	margin-bottom: 20px;
}
#topnav article div.wrap p.btn a{
	box-sizing: border-box;
    color: #EF4136;
    text-align: center;
    display: inline-block;
    border: 1px solid #EF4136;
}
#topnav article div.wrap p.btn a:hover{
	color: #fff;
	border: 1px solid #fff;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width:768px){
    #topnav{
        padding: 40px 0 10px;
        margin-bottom: 10px;
    }
	#topnav article figure{
		float: none;
		width: auto;
        background-size: 100% auto;
	}
	#topnav article:nth-child(2n) figure{
		float: none;
	}
	#topnav article div.wrap{
		width: auto;
		float: none;
		position: static;
		padding: 3% 5% 10%;
        margin-top: 0;
        border: none;
        border-bottom: 1px solid #888;
	}
    #topnav article:nth-child(2n) div.wrap{
        margin-top: 0;
        float: none;
    }
	#topnav article div.wrap div{
        width: 100%;
		position: static;
		-ms-transform: translateY(0);
		-webkit-transform : translateY(0);
		transform : translateY(0);
	}
	#topnav article div.wrap h2{
        font-size: 4.5vw;
		margin-bottom: 5%;
	}
	#topnav article div.wrap p.note{
		padding: 0;
		margin-bottom: 2%;
		font-size: 3.5vw;
	}
	#topnav article div.wrap p.btn a{
		width: 65%;
		height: auto;
		line-height: 1.4;
		font-size: 3vw;
		padding: 1.5%;
	}
}







/*---------------------------------------------------------------------------------------
	access
----------------------------------------------------------------------------------------*/

#access{
	clear: both;
	padding-bottom: 70px;
	overflow: hidden;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
}
#access h2{
    color: #fff;
	font-size: 28px;
	letter-spacing: 3px;
    padding: 75px 0 45px;
    background-size: cover;
}
#access .contentswrap{
    max-width: 1240px;
    padding: 0 3%;
    clear: both;
    overflow: hidden;
}
#access .rightcol{
	float: right;
	position:relative;
	width: 60%;
	height:0;
	padding-top:32%;
}
#access .rightcol iframe{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
#access .leftcol{
    text-align: left;
}
#access .more{
	font-size: 12px;
	text-align: right;
	margin-bottom: 70px;
}
#access .more a{
	text-decoration: underline;
}
#access .leftcol{
	float: left;
	width: 38%;
	text-align: left;
}
#access .leftcol ul li{
    margin-bottom: 10px;
}
#access .leftcol p{
	margin-bottom: 20px;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width:768px){
	#access{
		padding-bottom: 0;
	}
	#access h2{
		font-size: 4.5vw;
        padding: 45px 0 25px;
        background: url(https://syojyoin.jp/wp-content/themes/pattern3/images/top-access.jpg) no-repeat center top;
        background-size: auto 100%;
	}
	#access iframe{
		width: 100%;
		height: 200px;
        vertical-align: bottom;
	}
	#access .contentswrap{
		padding: 0;
	}
	#access .leftcol{
		float: none;
		width: auto;
		padding: 0 5%;
        margin-bottom: 5%;
	}
	#access .leftcol p{
		margin-bottom: 3%;
	}
	#access .rightcol{
		float: none;
		width: auto;
        margin-bottom: 0;
	}
}






/*---------------------------------------------------------------------------------------
	contact
----------------------------------------------------------------------------------------*/

#contact{
	clear: both;
	color: #000;
	padding: 70px 0 55px;
	background: #F7F7F7;
	overflow: hidden;
}
#contact a{
	color: #000;
}
#contact h2{
	font-size: 28px;
	font-weight: normal;
	letter-spacing: 3px;
	text-align: center;
	margin-bottom: 10px;
}
#contact p.read{
	margin-bottom: 10px;
}
#contact article{
	display: inline-block;
	padding: 10px;
    border-bottom: none;
}
#contact article:first-of-type{
	margin-right: 40px;
}
#contact article h3{
	font-size: 28px;
}
#contact article p{
	line-height: 2.6;
}
#contact article p a{
	vertical-align: middle;
    margin-right: 20px;
}
#contact article ul li{
    text-align: center;
}
#contact article li{
    display: inline-block;
    margin: 0 10px;
	font-size: 20px;
}
#contact article li.tel span, #contact article li.fax span{
	font-size: 36px;
}
#contact .btn a{
    border: 1px solid #000;
}
#contact .btn a:hover{
	color: #EF4136;
	border: 1px solid #EF4136;
    opacity: 0.6;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width:768px){
	#contact{
		padding: 8%;
	}
	#contact h2{
		font-size: 4.5vw;
		letter-spacing: 2px;
		margin-bottom: 10px;
	}
	#contact p.read{
		font-size: 3vw;
		letter-spacing: -0.05em;
		white-space: nowrap;
		margin-bottom: 5%;
	}
	#contact article{
		width: auto;
		padding: 3%;
	}
	#contact article:first-of-type{
		margin-right: 0;
		margin-bottom: 3%;
	}
	#contact article h3{
		font-size: 4.5vw;
	}
	#contact article p{
		line-height: 1.6;
	}
	#contact article li.tel, #contact article li.fax{
		font-size: 3.5vw;
	}
    #contact article li.tel a, #contact article li.fax span{
		font-size: 4.5vw;
	}
    #contact .btn a{
        padding: 8px;
    }
}





















