/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
 
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    line-height: 1;
    font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img{
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}



/* HEADER */
.header_sp{
    display: none;
}
.header_in{
    max-width: 1080px;
    margin: 0 auto;
}

.header_upper{
    background: #fff;
    padding: 30px 0 10px;
}
.header_upper .header_in{
    display: flex;
    justify-content: space-between;
}
.header_upper .sitelogo{

}
.header_upper .companylogo{

}

.header_lower{
    background: #f06e6e;
}

.header_lower .header_nav{
    display: flex;
}
.header_lower .header_nav li{
    box-sizing: border-box;
    width: 20%;
    border-right: 1px solid #fff;
}
.header_lower .header_nav li:first-child{
    border-left: 1px solid #fff;
}
.header_lower .header_nav li a{
    display: block;
}
.header_lower .header_nav li a:hover,
.header_lower .header_nav li a.current{
    background: rgba(255,255,255,0.5);
}

.footer{
    background: #fff;
    padding: 20px 0;
}
.footer_in{
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #828282;
    font-size: 14px;
}
.footer .footer_nav{
    display: flex;
    margin-bottom: 10px;
}
.footer .footer_nav li{
    border-right: 1px solid #828282;
}
.footer .footer_nav li:first-child{
    border-left: 1px solid #828282;
}
.footer .footer_nav li a{
    display: inline-block;
    padding: 0 10px;
    color: #828282;
    text-decoration: none;
}

.p-result{
    background: url(../images/bg_page.png) no-repeat center center;
    background-size: cover;
    padding-bottom: 80px;
}
.mfp-iframe-holder .mfp-content{
    max-width: 1080px;
}
.mfp-iframe-scaler iframe{
    box-sizing: border-box;
    background: #fff;
    border: 15px solid #f06e6e;
}

.menu_sp{
    display: none;
}

.btn_pagetop{
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;

}

@media only screen and (max-width: 767px) {
.pc{
    display: none !important;
}
.header_upper,
.header_lower{
    display: none;
}
.header_sp{
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px calc(30 / 750 * 100%);
}
.header_sp .logo{
    width: calc(190 / 750 * 100%);
}
.header_sp .hd_title{
    width: calc(378 / 750 * 100%);
}
.header_sp .toggle_menu{
    width: calc(61 / 750 * 100%);
}

.footer{
    padding: 20px 0;
}
.footer_in{
    margin: 0 auto;
    display: block;
    justify-content: space-between;
    align-items: center;
    color: #828282;
    font-size: 14px;
}
.footer .logo{
    width: 174px;
    margin: 0 auto 20px;
}
.footer .footer_nav{
    display: block;
    width: 162px;
    margin: 0 auto 10px;
}
.footer .footer_nav li{
    border-right: none;
    margin-bottom: 10px;
    text-align: left;
}
.footer .footer_nav li:first-child{
    border-left: none;
}
.footer .footer_nav li a{
    display: inline-block;
    text-align: center;
    padding: 0;
    padding-left: 1.5em;
    position: relative;
}
.footer .footer_nav li a:before{
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
}
.footer .copyright{
    border-top: 1px solid #828282;
    padding: 10px;
    text-align: center;
}

.menu_sp{
    padding: 60px calc(30 / 750 * 100%) 20px;
}
.menu_sp.on{
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: block;
    background: #f06e6e;
}
.menu_sp .btn_menu_close{
    position: absolute;
    top: 20px;
    right: 20px;
    width: calc(61 / 750 * 100%);
}
.menu_sp .title{
    margin-bottom: 50px;
}
.menu_sp .btn_top{
    margin-bottom: 25px;
}
.menu_sp .btn_sub{
    margin-bottom: 10px;
}
.btn_pagetop{
    position: fixed;
    bottom: 10px;
    right: 0;
    display: none;
    width: 40px;
}
.mfp-iframe-scaler{
    padding-top: 80vh;
}
.mfp-iframe-scaler iframe{
    border: 8px solid #f06e6e;
}



}

.pre_in{
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
}
.youtube_block{
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}
.youtube_block iframe{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 768px) {
.sp{
    display: none !important;
}
}