@import url("https://fonts.googleapis.com/earlyaccess/notosansjp.css");
body {
	margin: 0;
	padding: 0;
	text-align: center;
	background:url(../images/page_bg.gif) repeat-x left top #ffffff;
    font-family: "Noto Sans JP", sans-serif;
}
body a img {
	border: none;
}
.sp{
    display: none;
}
.wrapper {
	background: url(../images/bg_main.jpg) no-repeat top center;
	width: 100%;
	margin: 0 auto;
}
/* ヘッダー */
.blcL {
	float: left;
}
.blcR {
	float: right;
}
.header {
	width: 970px;
	height: 490px;
	zoom: 100%;
	text-align: left;
	background: url(../images/bg_main.jpg) no-repeat top center;
	margin: 0 auto;
	position: relative;
}
.header .inquiry {
	padding-top: 20px;
    padding-right: 15px;
}
.header .intro {
	clear: both;
	padding: 127px 15px 160px 0;
	text-align: right;
}
.header .message {
	position: absolute;
	top: 424px;
	margin: 0 0 0 15px;
}
.header:after {
	content: "";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}
/* ビレット */
.billet_box {
	width: 970px;
	margin: 0 auto;
	padding-top: 70px;
	background: url(../images/bg_wrapper.gif) repeat-x left top;
	text-align: left;
}
.billet_list {
	zoom: 100%;
	padding: 0 0 0 10px;
}
.billet_list .box {
	float: left;
	margin-top: 12px;
	margin-right: 12px;
	display: inline;
}
.billet_list .guide {
	background: url(../images/guide_bg.gif) no-repeat 4px 4px;
	width: 308px;
	height: 168px;
	text-align: center;
}
.billet_list .guide h2 {
	margin: 15px 0 0 0;
	padding: 0;
}
.billet_list .guide p {
	margin: 0;
	padding: 0;
}
.billet_list:after {
	content: "";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}
.billet_list .lightbox_tag {
	display: none;
}
/* 関連リンク */
.relate {
	margin: 0 0 50px 15px;
	text-align: left;
}
.relate h3 {
	margin: 16px 0 10px 0;
}
.relate .banner{
    padding: 0;
}

.relate .banner li{
    width: 300px;
    list-style: none;
    padding: 0;
}

.relate .banner img{
    width: 100%;
    height: auto;
}

.relate a:hover img{
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
}

/* フッター */
.footer {
	border-top: 1px solid #b5bdc6;
	text-align: right;
	width: 940px;
	margin: 0 auto;
}

/* tinymce */
body#tinymce{
	background: none;
}

@media only screen and (max-width:767px) {
    body {
        background:url(../images/page_bg_sp.gif) repeat-x left top #ffffff;
        font-size: 14px;
        line-height: 1.6;
        letter-spacing: 0.1em;
        background-size: 100% auto;
    }
    img{
        width: 100%;
        height: auto;
    }
    .sp{
        display: block;
    }
        .pc{
        display: none;
    }
    .wrapper {
        background: url(../images/bg_main_sp.jpg) no-repeat top center;
        background-size: 100% auto;
        width: 100%;
        margin: 0 auto;
    }
    .header {
        width: auto;
        padding: 20px 20px 0 20px;
        height: inherit;
        background: url(../images/bg_main_sp.jpg) no-repeat top center;
        background-size: 100% auto;
        height: 66vw;
    }
    
    .blcL {
        float: inherit;
      width: 100%;
    }
    
    .logo{
        width: 28.169014084%;
    }
    
    .title{
        width: 33.52112676%;
        margin-bottom: 1%;
    }
    .title_sub{
        width: 42.253521126%;
    }
    
    .header .intro {
      padding: 0;
      width: 58.253521126%;
      position: absolute;
      right: 15px;
      top: 54vw;
    }
    
    .message {
        top: inherit;
        margin: 0;
        padding: 20px;
        left: 0;
        background: rgba(255,255,255,0.5);
        margin: 20px;
        margin-top: -5vw;
        position: relative;
    }

    .message p{
        margin: 0;
    }
    
    .message:before{
        content: "";
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        display: inline-block;
        background: url(../images/message_arrow_top.png) no-repeat 20% top;
    }    
    
    .message .fontB{
        font-weight: bold;
        font-size: 16px;
    }

    #contentsarea{
        padding: 0 20px;
    }
    
    .billet_box {
      width: 100%;
      padding-top: 0;
        background: none;
/*      background: url(../images/bg_wrapper.gif) repeat-x left top;*/
    }

    #contentsarea .billet_list{
        padding: 0;
    }
    
    .billet_list .guide {
        background: #fff;
        border-radius: 3px;
        border: 1px solid #768491;
        width:auto;
        padding: 15px;
        height: inherit;
        float: inherit !important;
        margin: 0 0 15px 0;
        display: block;
        text-align: left;
        color: #768491;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .billet_list .guide h2{
        font-size: 16px;
        margin: 0;
        font-weight: bold;
        padding: 0;
    }    
    
    .billet_list .box {
        font-size: 12px;
        margin: 0 0 15px 0;
        width: 48%;
    }

    .billet_list .box:nth-child(odd) {
        float: right;
    }
    
    .relate {
        padding: 0 20px;
        margin: 0 0 30px 0;
    }
    
    .relate h3 img{
        width: 60%;
    }
    
    .relate .banner li{
        margin: 0 auto 0 auto;
        width: 80%;
        display: block;
    }
    
    .inquiry{
        margin: 0 20px 30px 20px;
    }    
    
    .footer {
        text-align: center;
        width: 100%;
        margin: 0 auto;
        padding: 20px 0;
    }

    .footer img{
        height: 15px;
        width: auto;
    }
    
    
}