@charset "utf-8";

/*---------------------------------------------------------* html */
html {
    min-width: 320px;
    background: #ffffff;
    color: #333;
    font: 62.5%/1.0 "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    -webkit-text-size-adjust: 100%;
}
html * {
    /*-webkit-tap-highlight-color: rgba(0,0,0,0);*/
    /*禁則処理*/
    overflow-wrap:break-word;
    word-break: normal !important;
    word-wrap: break-word;
    line-break: strict;
}
/*---------------------------------------------------------* body */
body {
    background: #cccccc;
}
body >img[src^="https://googleads.g.doubleclick.net"],
body >img[src^="https://b97.yahoo.co.jp/pagead/conversion"]{
    position: absolute;
}

@media screen and (max-width:800px) {
    body {
        padding-top: 100px;
    }
}
@media screen and (max-width:640px) {
    body {
        padding-top: 50px;
    }
}
/*---------------------------------------------------------* a */
a {
    color: #e60012;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:active {
    color: #ff0000;
}
/*---------------------------------------------------------* #header */
#header {
    position: relative;
    width: 100%;
    height: 100px;
    min-width: 320px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
    line-height: 1 !important;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}
#header.border {
    border-bottom: 1px solid #ccc!important;
}
#header .container {
    position: relative;
    max-width: 1020px;
    height: 100%;
    margin: 0 auto;
}
#header .logo {
    position: absolute;
    top: 40px;
    left: 30px;
    width: 187px;
    height: 36px;
}
#header .logo a,
#header .logo img {
    display: block;
    width: 100%;
    height: 100%;
}
#header .navi {
    position: absolute;
    bottom: 29px;
    right: 30px;
    font-size: 0;
}
#header .navi li {
    position: relative;
    display: inline-block;
    margin-left: 39px;
}
#header .navi a {
    color: #333;
    font-size: 1.4rem;
    text-decoration: none;
}
#header .navi a:hover {
    color: #e60012;
}
#header .navi a.current:after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    bottom: -6px;
    border-top: 2px solid #e60012;
}
#header .mobile {
    display: none;
}
#header .member a {
    position: absolute;
    top: 15px;
    right: 30px;
    padding: 5px 10px 5px 25px;
    border: 1px solid #e60012;
    border-radius: 12px;
    color: #e60012;
    font-size: 1.2rem;
    text-decoration: none;
}
#header .member a:hover {
    background-color: #fce5e7;
}
#header .member a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    display: block;
    margin: -3px 0 0 0;
    border-width: 3px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #e60012;
}
#header .container:after {
    position: absolute;
    top: 58px;
    left: 247px;
    display: none;
    padding: 5px 7px;
    margin-top: -12px;
    font-size: 1.2rem;
}
@media screen and (max-width:960px) {
    #header .navi li {
        margin-left: 20px;
    }
}
@media screen and (max-width:880px) {
    #header .navi li {
        margin-left: 15px;
    }
    #header .navi li a {
        font-size: 1.2rem;
    }
}
@media screen and (max-width:800px) {
    #header {
        position: fixed;
        top: 0;
        left: 0;
        height: 100px;
    }
    #header .logo {
        top: 30px;
        left: 30px;
        width: 209px;
        height: 40px;
    }
    #header .navi {
        display: none;
    }
    #header .mobile {
        display: block;
    }
    #header .mobile .icon {
        position: absolute;
        top: 0;
        right: 0;
        display: table;
        width: 100px;
        height: 100%;
        border-left: 1px solid #cccccc;
    }
    #header .mobile .icon a {
        display: table-cell;
        color: #e60012;
        font-size: 1.4rem;
        font-weight: bold;
        text-decoration: none;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
    }
    #header .mobile .icon a span {
        display: block;
    }
    #header .mobile .icon *:before {
        content: "";
        position: relative;
        top: 0;
        display: block;
        width: 40px;
        height: 6px;
        margin: 6px auto;
        background: #e60012;
        border-radius: 3px;
        opacity: 1;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: top 0.2s 0.3s linear, opacity 0.0s 0.3s linear, -webkit-transform 0.3s 0.0s linear;
        -moz-transition: top 0.2s 0.3s linear, opacity 0.0s 0.3s linear, -moz-transform 0.3s 0.0s linear;
        -ms-transition: top 0.2s 0.3s linear, opacity 0.0s 0.3s linear, -ms-transform 0.3s 0.0s linear;
        -o-transition: top 0.2s 0.3s linear, opacity 0.0s 0.3s linear, -o-transform 0.3s 0.0s linear;
        transition: top 0.2s 0.3s linear, opacity 0.0s 0.3s linear, transform 0.3s 0.0s linear;
    }
    #header .mobile .icon a>span>span:before {
        margin-bottom: 10px;
    }
    #header .mobile .icon.open *:before {
        -webkit-transition: top 0.2s 0.0s linear, opacity 0.0s 0.2s linear, -webkit-transform 0.3s 0.2s linear;
        -moz-transition: top 0.2s 0.0s linear, opacity 0.0s 0.2s linear, -moz-transform 0.3s 0.2s linear;
        -ms-transition: top 0.2s 0.0s linear, opacity 0.0s 0.2s linear, -ms-transform 0.3s 0.2s linear;
        -o-transition: top 0.2s 0.0s linear, opacity 0.0s 0.2s linear, -o-transform 0.3s 0.2s linear;
        transition: top 0.2s 0.0s linear, opacity 0.0s 0.2s linear, transform 0.3s 0.2s linear;
    }
    #header .mobile .icon.open a:before {
        top: 12px;
        -webkit-transform: rotate(225deg);
        -moz-transform: rotate(225deg);
        -ms-transform: rotate(225deg);
        -o-transform: rotate(225deg);
        transform: rotate(225deg);
    }
    #header .mobile .icon.open a>span:before {
        opacity: 0;
    }
    #header .mobile .icon.open a>span>span:before {
        top: -12px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    #header .mobile .menu {
        position: fixed;
        top: 101px;
        bottom: 0;
        display: none;
        width: 100%;
        overflow: hidden;
    }
    #header .mobile .menu ul {
        position: relative;
        background: #fff;
        height: 0;
        overflow: hidden;
    }
    #header .mobile .menu a {
        position: relative;
        display: block;
        margin: 0;
        padding: 17px 35px 17px 30px;
        border-bottom: 1px solid #ccc;
        color: #333;
        font-size: 1.5rem;
        font-weight: bold;
        text-decoration: none;
        cursor: pointer;
    }
    #header .mobile .menu a:before,
    #header .mobile .menu a:after {
        content: "";
        position: absolute;
        display: block;
        top: 50%;
        right: 20px;
        width: 6px;
        height: 0;
        border-style: solid;
        border-color: #333333;
        border-width: 1px 0 0 0;
        -webkit-transform-origin: right;
        -moz-transform-origin: right;
        -ms-transform-origin: right;
        -o-transform-origin: right;
        transform-origin: right;
    }
    #header .mobile .menu a:before {
        -webkit-transform: rotate(30deg);
        -moz-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
        -o-transform: rotate(30deg);
        transform: rotate(30deg);
    }
    #header .mobile .menu a:after {
        -webkit-transform: rotate(-30deg);
        -moz-transform: rotate(-30deg);
        -ms-transform: rotate(-30deg);
        -o-transform: rotate(-30deg);
        transform: rotate(-30deg);
    }
    #header .mobile .menu dl.menu-biz a.nonlink{
        color: #ccc;
        cursor: auto;
    }
    #header .mobile .menu dl.menu-biz a.nonlink:before,
    #header .mobile .menu dl.menu-biz a.nonlink:after{
        content: "";    
        border: 0 none;
        width: 0;
        height: 0;
    }
    #header .mobile .menu dl dt a:before,
    #header .mobile .menu dl dt a:after {
        margin-top: -3px;
        margin-right: 3px;
        width: 0;
        height: 6px;
        border-width: 0 1px 0 0;
        -webkit-transform-origin: bottom;
        -moz-transform-origin: bottom;
        -ms-transform-origin: bottom;
        -o-transform-origin: bottom;
        transform-origin: bottom;
    }
    #header .mobile .menu dl dt a.open:before,
    #header .mobile .menu dl dt a.open:after {
        -webkit-transform-origin: top;
        -moz-transform-origin: top;
        -ms-transform-origin: top;
        -o-transform-origin: top;
        transform-origin: top;
    }
    #header .mobile .menu dl.menu-biz a {
        color: #00a0e9;
    }
    #header .mobile .menu dl.menu-biz a:before,
    #header .mobile .menu dl.menu-biz a:after {
        border-color: #00a0e9;
    }
    #header .mobile .menu dl.menu-home a {
        color: #6fba2c;
    }
    #header .mobile .menu dl.menu-home a:before,
    #header .mobile .menu dl.menu-home a:after {
        border-color: #6fba2c;
    }
    #header .mobile .menu dl.menu-company a {
        color: #e60012;
    }
    #header .mobile .menu dl.menu-company a:before,
    #header .mobile .menu dl.menu-company a:after {
        border-color: #e60012;
    }

    #header .mobile .menu dl dd a {
        padding-left: 45px;
    }
    #header .mobile .menu .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0;
    }
    #header .member a {
        top: 30px;
        right: 120px;
        padding: 11px 15px 11px 30px;
        border-radius: 20px;
        font-size: 1.6rem;
    }
    #header .member a:hover {
        background: inherit;
    }
    #header .member a:before {
        margin-top: -4px;
        border-width: 4px 7px;
    }
}
@media screen and (max-width:640px) {
    #header {
        height: 50px;
    }
    #header .logo {
        top: 15px;
        left: 15px;
        width: 104.5px;
        height: 20px;
    }
    #header .mobile .icon {
        width: 50px;
    }
    #header .mobile .icon a {
        font-size: 0.7rem;
    }
    #header .mobile .icon *:before {
        width: 20px;
        height: 3px;
        margin: 3px auto;
        border-radius: 1.5px;
    }
    #header .mobile .icon a>span>span:before {
        margin-bottom: 5px;
    }
    #header .mobile .icon.open a:before {
        top: 6px;
    }
    #header .mobile .icon.open a>span>span:before {
        top: -6px;
    }
    #header .mobile .menu {
        top: 51px;
    }
    #header .mobile .menu a {
        padding: 12px 35px 12px 15px;
    }
    #header .mobile .menu dl dd a {
        padding-left: 30px;
    }
    #header .member a {
        top: 15px;
        right: 60px;
        padding: 3.5px 11px 3.5px 21px;
        border-radius: 10px;
        font-size: 1.1rem;
    }
    #header .member a:before {
        left: 10px;
        margin-top: -3px;
        border-width: 3px 5px;
    }
}
/*---------------------------------------------------------* #footer */
#footer {
    position: relative;
    width: 100%;
    background: #fff;
    border-top: 1px solid #cccccc;
    line-height: 1 !important;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}
#footer .pagetop {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    z-index: 1;
}
#footer .pagetop div {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
}
#footer .pagetop a {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 64px;
    background: url("../img/footer-pagetop.png") no-repeat center top;
    cursor: pointer;
}
#footer .pagetop a:hover {
    background-position: center -63px;
}
#footer .pagetop a span {
    display: none;
}
#footer .pagetop.frieze {
    position: absolute;
    bottom: 100%;
}
#footer .container {
    position: relative;
    margin: 0 auto;
    padding: 30px 30px 60px 30px;
    text-align: right;
}
#footer .logo {
    width: 129px;
    height: 31px;
    margin: 0 auto;
}
#footer .logo img {
    display: block;
    width: 100%;
    height: 100%;
}
#footer .navi_wrap{
    display: table;
    margin: 26px auto 0;
}
#footer .navi {
    float: left;
    display: inline-block;
    margin-top: 4px;
    font-size: 0;
    text-align: center;
}
#footer .navi ul{
    border-right: 1px solid #cccccc;
}
#footer .navi ul,
#footer .navi li {
    display: inline-block;
    border-left: 1px solid #cccccc;
}
#footer .navi ul:first-child,
#footer .navi li:first-child,
#footer .navi ul:nth-child(3),
#footer .navi li:nth-child(3){
    border-left: none;
    border-right: none;
}
#footer .navi li {
    padding: 0 23px;
}
#footer .navi li a {
    color: #333333;
    font-size: 1.1rem;
}
#footer .sns{
    float: left;
    display: inline-block;
}
#footer .sns li{
    display: inline-block;
    margin-left: 20px;
    vertical-align: top;
}
#footer .copy {
    display: block;
    font-size: 1.1rem;
    font-family: arial, sans-serif;
    text-align: center;
    margin-top: 23px;
    font: inherit;
}
@media screen and (max-width:960px) {
    #footer .navi li {
        padding: 0 8px;
    }
    #footer .copy {
        margin-left: 10px;
    }
    #footer .sns li{
        margin-left: 8px;
    }
}
@media screen and (max-width:800px) {
    #footer .navi_wrap{
        display: block;
        margin-top: 30px;
    }
    #footer {
        border-top: none;
    }
    #footer .pagetop {
        display: block!important;
        opacity: 1!important;
    }
    #footer .pagetop,
    #footer .pagetop.frieze {
        position: static;
    }
    #footer .pagetop a,
    #footer .pagetop a:hover {
        position: static;
        display: block;
        width: 100%;
        height: 40px;
        background: #cccccc url("../img/footer-pagetop.sp.png") no-repeat center center;
        background-size: 7px 13px;
    }
    #footer .container {
        padding: 30px 0;
        text-align: center;
    }
    #footer .logo {
        position: static;
        width: 100px;
        height: 24px;
        margin: 0 auto 20px auto;
    }
    #footer .navi{
        float: none;
        display: block;
    }
    #footer .navi li {
        padding: 0 19px;
    }

    #footer .sns {
        margin-right: 0;
    }
    #footer .sns li{
        margin-left: 19px;
    }
    #footer .copy {
        display: block;
        margin-top: 30px;
        margin-left: 0;
        text-align: center;
        font-size: 1.2rem;
    }
    #footer .sns{
        float: none;
        margin-top: 30px;
    }
    #footer .sns li{
        margin-left: 20px;
    }
    #footer .sns li:first-child{
        margin-left: 0;
    }
}
@media screen and (max-width:650px) {
    #footer .navi li {
        padding: 0 18px;
    }
}
@media screen and (max-width:640px) {
    #footer .navi_wrap {
        display: block;
        margin-top: 20px;
    }
    #footer .navi li {
        padding: 0 10px;
    }
    #footer .navi ul {
        border-right: none;
    }
    #footer .navi ul:nth-child(3) {
        margin-top: 11px;
        border-left: none;
        display: block;
    }
    #footer .sns {
        margin-top: 20px;
    }
    #footer .copy {
        margin-top : 20px;
        font-size  : 1.0rem;
    }
}

/*---------------------------------------------------------* エラーページ */
#error #contents {
    font-size: 14px;
    line-height: 1.5;
    padding: 80px 30px;
    background-color: #f7f7f7;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
    box-sizing: content-box !important;
}
#error .contents_header {
    position: relative;
    padding: 0;
    border: none;
    padding-bottom: 45px;
}
#error .contents_header .title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    color: inherit;
}
#error .contents_header:before,
#error .contents_header .title:before,
#error .contents_header .title:after {
    content: "";
    bottom: 94px;
    left: 50%;
    position: absolute;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    background-color: #e40210;
}
#error .contents_header .title:before {
    margin-left: -12px;
}
#error .contents_header .title:after {
    margin-left: 8px;
}
#error .container {
}
#error .content {
    padding: 58px 60px 60px 60px;
    background: #ffffff;
    border: 1px solid #ddd;
    max-width: 740px;
    margin: 0 auto;
}
#error .content_header {
    padding-bottom: 32px;
    margin-bottom: 31px;
    border-bottom: 1px solid #ddd;
}
#error .content_header .title {
    color: #e40210;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
}
#error .content_header .lead {
    font-size: 15px;
    line-height: 1.5;
}
#error .error_msg {
    margin-bottom: 32px;
}
#error .error_msg dt {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
}
#error .error_msg dd ul li {
    margin-bottom: 2px;
    margin-left: 1.55em;
}
#error .error_msg dd ul li:before {
    content: "・";
    width: 1em;
    margin-left: -1em;
}
#error .button {
    margin-top: 56px;
    text-align: center;
}
#error .button .btn {
    display: inline-block;
    height: 48px;
    line-height: 48px;
    border-radius: 48px;
    background-color: #e20b17;
    color: #fff;
    font-size: 18px;
    padding-left: 40px;
    padding-right: 65px;
    position: relative;
    -webkit-transition: all 150ms ease 0ms;
    -ms-transition: all 150ms ease 0ms;
    transition: all 150ms ease 0ms;
    text-decoration: none;
}
#error .button .btn:hover {
    background-color: #fd0d1a;
}
#error .button .btn i {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    right: 6px;
    top: 50%;
    margin-top: -18px;
}
#error .button .btn i:before,
#error .button .btn i:after {
    content: "";
    display: block;
    position: absolute;
}
#error .button .btn i:before {
    background: #fff;
    width: 8px;
    height: 8px;
    right: 9px;
    top: 50%;
    margin-top: -5px;
    border-right: 2px solid #e20b17;
    border-bottom: 2px solid #e20b17;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#error .button .btn i:after{
    width: 18px;
    height: 2px;
    left: 50%;
    top: 50%;
    margin-left: -9px;
    margin-top: -1px;
    background-color: #e20b17;
}
@media screen and (max-width:640px) {
    #error #contents {
        padding: 60px 15px;
        font-size: 13px;
    }
    #error .contents_header {
        padding-bottom: 30px;
    }
    #error .contents_header .title {
    	font-size: 18px;
    }
    #error .contents_header:before,
    #error .contents_header .title:before,
    #error .contents_header .title:after {
    	bottom: 65px;
    }
    #error .content {
    	padding: 30px 15px 45px 15px;
    }
    #error .content_header {
    	padding-bottom: 20px;
    	margin-bottom: 20px;
    }
    #error .content_header .title {
    	font-size: 20px;
    }
    #error .content_header .lead {
    	font-size: 14px;
    }
    #error .error_msg dt {
    	font-size: 16px;
    }
    #error .error_msg dd ul li {
    	margin-left: 1.0em;
    }
    #error .button {
        margin-top: 30px;
    }
    #error .button .btn {
        font-size: 16px;
    }
}