.sp {display: none;}
.pc {display: block;}
/* Page Company */
.entry-bg {
    background: url(../img/custom-img/entry-ct-bg.png) no-repeat top left;
}
.entry2 {
    padding: 25px 0;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}
.entry2 > div {
    width: 50%;
    float: right;
}
.entry2 div:nth-child(1){
    float: left;
}
.entry2 div:nth-child(1) h2{
    color: white;
    font-size: 3em;
}
.entry2 div:nth-child(1) h2 span {
    color: #FFFC00;
}
.entry2 div:nth-child(2){
    float: right;
}
.entry2 div:nth-child(3){
    margin-top: 10px;
}
.entry2 div:nth-child(3) p,.entry2 div:nth-child(3) p a{
    width: auto;
}
.entry2 p {
    position: relative;
}
.entry2 p.text1 {
    padding-left: 25px;
}
.entry2 .btn-entry {
    float: right;
}
.entry2 .btn-entry a {
    width: auto;
    height: auto;
    background: none;
    text-indent: unset;
    text-align: center;
}
.entry2 .btn-entry a img{width: 100%}

.entry2 p.btn-entry,.entry2 p.text1,.entry2 p.text2,.entry2 p.btn-inquiry {
    top: auto;
    left: auto;
    width: auto;
}
.text2,.btn-inquiry{
    width: 50% !important;
    float: left !important;
    margin-bottom: 10px;
}
.entry2 .btn-inquiry a {
    background: none;
    text-indent: unset;
}
#bg-b3 {
    height: auto;
    padding: 10px 0;
}
#bg-b3 .fd {
    max-width: 900px;
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    height: auto;
    background: none;
    padding: 0;
    margin: 0 auto;
}
#bg-b3 .fd span {
    position: absolute;
    top: 55%;
    right: 3%;
    transform: translateY(-50%);
}
#subpages td h3 {
    padding: 10px 0;
    color: #214b9f;
    font-weight: bold;
}
/* End Page Company */

@media screen and (max-width: 900px) {
    .entry2 {
        width: auto;
        height: auto;
    }
    .entry2 > div{
        width: auto !important;
        float: none !important;
        text-align: center;
    }
    .entry2 div:nth-child(1) h2 {
        text-align: center;
    }
    .text2, .btn-inquiry {
        width: 100% !important;
        float: none !important;
        text-align: center;
    }
    .entry2 p.text1 {
        top: auto;
        left: auto;
        width: auto;
    }

    .entry2 .btn-entry {
        width: auto;
        float: none;
        top: auto;
        left: auto;
        margin: 15px auto;
    }
    .entry2 .btn-entry a img {
        width: 60%;
    }
    #bg-b3 {
        width: 100%;
    }
    #bg-b3 img {
        max-width: 100%;
    }
    #bg-b3 .fd {
        width: auto;
        white-space: nowrap;
    }
    #bg-b3 .fd span {
        font-size: 5vw;
    }
}
@media screen and (max-width: 730px) {
    .breadcrumb {
        width: auto;
        padding: 0 15px;
    }
    #subpages {
        width: auto;
        padding: 0 15px;
    }
    .fd-d{
        position: relative;
        text-align: center;
    }
    .fd-t{
        padding:10px;
    }
    #bg-b3 {
        background: url(../img/bg-b3.png);
    }
    .fd-d img {
        width: 93%;
    }
    .fd-d span{
        position: absolute;
        left: 22%;
        font-size: 32px;
        bottom: 23%;
        font-weight: bold;
        color:#1b3c8d;
        letter-spacing: normal;
    }
    #footer p.logo {
        padding: 10px;
    }
    #header-bg {
        border-bottom: none !important;
    }
    .main .form h3 {
        border-left: 3px solid #0678ec;
        font-weight: 700;
        margin-bottom: 1em;
        padding: 5px 0 5px 10px;
    }
    .main .form th, .main .form td {
        padding: 10px;
            display: block;
    box-sizing: border-box;
    }
    .main .form th {
        background-color: #fafad5;
        font-weight: 700;
    }
    .main .form .necessary {
        background-color: #fa6b88;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
        color: #fff;
        font-size: 10px;
        letter-spacing: 2px;
        float: right;
        padding: 0 6px;
        font-weight: 400;
    }
    .main .form .is-input-text-parent {
        color: #999;
        font-size: 11px;
    }
    .main .form .name dl {
        margin: auto;
        overflow: hidden;
        *zoom: 1;
    }
    .main .form .name dt {
        height: 30px;
        line-height: 30px;
        float: left;
        font-size: 12px;
        color: #000;
        margin-right: 1em;
    }
   /* .main .name dd input.is-input-text ,.main .form .is-input-text-parent input.is-input-text{
        background: #fff !important;
    }*/
    .center{
        text-align: center;
    }
    /* .main .form >table >tbody {
        border: 1px solid #ccc;
    } */
    /* .main .form th {
        border: 1px solid #ccc;
    } */
    .form .main th, 
    .form .main td {
        border: 1px solid #ccc;
    }
    .main .form .is-p-0 {
        padding: 5px 0 !important;
        font-size: 12px;
        border: 0;
    }
    .main .form .necessary02 {
        background-color: #fa6b88;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
        color: #fff;
        font-size: 10px;
        letter-spacing: 2px;
        float: right;
        padding: 0 6px;
        font-weight: 400;
        margin-right: 9px;
    }
    .main .form select {
        padding: 4px;
        border: 1px solid #ccc;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
        margin-left: 0;
    }
    .main .form .is-inner-td {
        width: 100px;
    }
    .main .form h3 {
        border-left: 3px solid #0678ec;
        font-weight: 700;
        margin-bottom: 1em;
        padding: 5px 0 5px 10px;
    }
    .main .form th, .main .form td {
        padding: 10px;
    }
    .main .form label {
        display: inline-block;
        line-height: 1;
        color: #007eff;
        text-decoration: underline;
        font-size: 13px;
        vertical-align: 2px;
        margin-right: 0.5em;
    }
    .main .ssl {
        border: 1px solid #ccc;
        padding: 10px;
        margin: 20px 0 20px;
    }
    .main .ssl p {
        float: left;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        background-image: url(../img/lib/form-sprite.png);
        background-position: 0 -1101px;
        width: 110px;
        height: 55px;
        margin: 0 20px 0 90px;
    }
    *:not(.header-tel-btn), *:not(.header-tel-btn):before, *:not(.header-tel-btn):after {
        box-sizing: inherit;
    }
    .main .ssl li {
        font-size: 10px;
        line-height: 14px;
        color: #737373;
    }
    .main .ssl li:before {
        content: "*";
    }
    
    #container, #navi ul, .clearfix {
    display: block;
}
}
@media screen and (max-width: 660px) {
    #footer ul {
        width: auto;
        text-align: center;
    }

    #footer ul li {
        display: inline-block;
        float: left;
        margin: 10px 1%;
    }

    #footer ul li:nth-child(1), #footer ul li:nth-child(5) {
        text-align: right;
    }

    #footer ul li:nth-child(3), #footer ul li:nth-child(7) {
        text-align: left;
    }

    #footer ul li:nth-child(4) {
        display: none;
    }

    #footer ul li:nth-child(2n+1) {
        width: 46%;
    }
}

@media screen and (max-width: 480px) {
    .sp {display: block}
    .pc {display: none}
    .breadcrumb a{
        color: #4398ee;
    }
    .breadcrumb {
        width: auto;
        margin: 15px auto;
        padding: 0 15px;
        font-size: 0.7rem;
    }

    #subpages {
        width: auto;
        margin: 0 auto 30px;
        padding: 0 15px;
    }

    #subpages h1, #subpages h2 {
        width: auto;
        font-size: 1em;
    }
    .entry2 div:nth-child(1) h2 {
        font-size: 2.5em;
    }

    .entry2 p.text1 {
        padding: 0;
    }

    #footer {
        margin-bottom: 70px;
        padding-bottom: 20px;
    }
    .footer02 {
        background: rgba(0, 0, 0, 0) url(../img/custom-img/bg_01.png) repeat-x scroll 0 0;
        bottom: 0;
        left: 0;
        padding: 12px 1% 10px;
        position: fixed;
        right: 0;
        text-align: center;
        z-index: 99999;
    }
    .footer02 p {
        display: inline;
        max-width: 48.5%;
    }
    .footer02 p img {
        max-width: 45%;
    }
    #subpages h1, #subpages h2 {
        border-left: 5px solid #0678ec;
        border-bottom: 2px solid #0678ec;
        color: #0678ec;
        font-weight: bold;
        width: 98%;
        padding: 6px;
        margin-bottom: 2em;
        margin-top: 1em;
    }
    #subpages .section.gaiyo1 {
        text-align: center;
    }
    .company-contents table {
        line-height: 1em;
        margin: 0 auto;
    }
    #subpages th {
        background-color: #f5f5f5;
        width: 100px;
    }
    #subpages td {
        width: 380px;
    }
    #subpages th, #subpages td {
        font-size: 12px;
        padding: 14px;
        border: 1px solid #ccc;
    }
    .company-contents table caption {
        text-align: center;
        padding: 10px;
    }
}

@media screen and (max-width: 900px) and (min-width: 768px) {
    div#subpages {
        width: auto;
        padding: 15px;
    }
    #subpages .section.gaiyo1 {
        text-align: center;
    }
    #subpages h1, #subpages h2 {
        border-left: 5px solid #0678ec;
        border-bottom: 2px solid #0678ec;
        color: #0678ec;
        font-weight: bold;
        width: 98%;
        padding: 6px;
        margin-bottom: 2em;
    }
    .company-contents table {
        line-height: 1em;
        margin: 0 auto;
    }
    #subpages th {
        background-color: #f5f5f5;
        width: 100px;
    }
    #subpages td {
        width: 380px;
    }
    #subpages th, #subpages td {
        font-size: 12px;
        padding: 14px;
        border: 1px solid #ccc;
    }
    #subpages caption {
        display: none;
    }
    .breadcrumb a {
        color: #4398ee;
    }
    .breadcrumb {
        width: auto;
        padding: 15px 15px 0;
    }
    #bg-b3 {
        width: 100%;
        padding: 15px;
        background: url(../img/bg-b3.png?1389768145) repeat;
    }
}

@media screen and (max-width: 320px){
    #subpages h1, #subpages h2 {
        width: auto;
        font-size: 0.8em;
    }
    .entry2 div:nth-child(1) h2 {
        font-size: 2em;
    }
    .fd-d span{
        font-size: 30px;
    }
}

.btn-group-vertical>.btn-group:after,
.btn-group-vertical>.btn-group:before,
.btn-toolbar:after,
.btn-toolbar:before,
.clearfix:after,
.clearfix:before,
.container-fluid:after,
.container-fluid:before,
.container:after,
.container:before,
.dl-horizontal dd:after,
.dl-horizontal dd:before,
.form-horizontal .form-group:after,
.form-horizontal .form-group:before,
.modal-footer:after,
.modal-footer:before,
.modal-header:after,
.modal-header:before,
.nav:after,
.nav:before,
.navbar-collapse:after,
.navbar-collapse:before,
.navbar-header:after,
.navbar-header:before,
.navbar:after,
.navbar:before,
.pager:after,
.pager:before,
.panel-body:after,
.panel-body:before,
.row:after,
.row:before {
    display: table;
    content: " "
}

:after,
:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

.btn-group-vertical>.btn-group:after,
.btn-toolbar:after,
.clearfix:after,
.container-fluid:after,
.container:after,
.dl-horizontal dd:after,
.form-horizontal .form-group:after,
.modal-footer:after,
.modal-header:after,
.nav:after,
.navbar-collapse:after,
.navbar-header:after,
.navbar:after,
.pager:after,
.panel-body:after,
.row:after {
    clear: both
}

@media screen and (max-width:767px) {
    .col-xs-7 {
        width: 58.33333333%
    }
    .col-xs-5 {
        width: 41.66666667%
    }
    .row {
        margin-right: -15px;
        margin-left: -15px
    }
    .col-xs-1,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9 {
        float: left;
    }
    .col-lg-1,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-md-1,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-xs-1,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9 {
        position: relative;
        min-height: 1px;
        padding-right: 5px;
        padding-left: 5px;
    }
    #header-bg #header .inner {
        display: flex
    }
    .container-fluid {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
    
    #pc {
        display: none;
    }
    #mb {
        display: block;
    }
    #header-bg #header .custom-title {
        display: none
    }
    #header-bg {
        height: auto;
        background: 0 0;
        padding: 10px 5px;
        border-bottom: 3px solid #6d6d6d
    }
    #index #header-bg .header-custom {
        width: 100%;
        margin: 0 auto
    }
    #header-bg #header .inner {
        display: flex;
        overflow: hidden
    }
    #header-bg #header .fd-custom {
        margin: 0 auto
    }
    .custom-tt-header-mb {
        display: block;
        height: 30px;
        font-size: 10px;
        line-height: 30px;
        color: #fff;
        font-weight: 400;
        background:#3692f0;
        margin: 0;
        padding: 0 15px;
    }
    #index #header-bg .header-custom {
        width: inherit !important;
        margin: 0 auto;
    }
    #header-bg #header{
        width: inherit !important;
    }
    #header-bg #header .logo {
        float: left;
        padding-top: 0 !important;
    }
    .flow-banner.sp {
        display: none !important;
    }
    .sub-c-media th, .sub-c-media td {
        font-size: 11px;
    }
}
@media screen and (min-width: 768px){
    #header-bg #header .custom-title {
        height: 22px;
        font-size: 10px;
        line-height: 22px;
        color: #fff;
        font-weight: 400
    }
    #header-bg #header .fd-custom {
        float: right;
        height: 52px;
        margin-top: 10px;
        padding-right: 10px;
        font-size: 10px;
        font-weight: 700;
        color: #f38434
    }
    #header-bg #header .fd-custom-left {
        float: left;
        padding-right: 10px;
        font-family: Helvetica, Arial, sans-serif
    }
    #header-bg #header .fd-custom-left p.fd-custom-left-f {
        background: #f38434;
        color: #fffc00;
        padding: 1px 12px 0 13px;
        font-size: 12px;
        border-radius: 3px;
        font-weight: 700
    }
    #header-bg #header .fd-custom-left p {
        color: #818181;
        line-height: 1.5;
        padding-top: 5px;
        font-weight: 700
    }
    #header-bg #header .fd-custom-left p.no-pt {
        padding-top: 0;
        padding-left: 10px
    }
    .fd-custom-right {
        float: right;
        line-height: 1.1;
        padding-top: 2px
    }
    #header-bg #header .fd-custom-number {
        margin-left: 0;
        font-family: Helvetica, Arial, sans-serif;
        font-size: 36px;
        letter-spacing: 0;
        padding-left: 0;
        display: inline-block;
        color: #f38434
    }
    #header-bg #header .fd-custom-text {
        top: 38px;
        left: 176px
    }
    #mb {
        display: none;
    }
    .custom-title-mb {
        display: none;
    }

}
@media screen and (max-width:900px) and (min-width:768px) {
    .row {
        margin-right: 0;
        margin-left: 0;
    }
    p.inner-custom-head4 #pc {
        display: none;
    }
    #pc {
        display: none;
    }
    #mb {
        display: block;
    }
    #header-bg #header .inner {
        display: flex;
        overflow: hidden;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px
    }
    #header-bg #header .custom-title {
        background: #318eed;
        padding: 0 15px
    }
#header-bg #header .fd-custom-number {
        font-size: 28px
    }


}
@media screen and (min-width:900px){
    .row {
        margin-right: 0;
        margin-left: 0
    }
    .custom-title-mb {
        display: none;
    }
     .custom-tt-header-mb {
        display: block;
        height: 30px;
        font-size: 10px;
        line-height: 30px;
        color: #fff;
        font-weight: 400;
        background: #3692f0;
        margin: 0;
        padding: 0 15px;
    }
    #header-bg #header {
        width: 900px;
        margin: 0 auto;
    }
    #header-bg {
    height: 100px;
    background: url("../img/header-bg.png?1389762175") repeat-x;
}

}
@media screen and (max-width:900px) {
    img {
        max-width: 100%
    }
}
@media screen and (max-width: 768px) {
    .main .renewal-refer span,
    .main .refer span {
        color: #999;
        font-size: 11px
    }
    .main .renewal-refer input,
    .main .refer input {
        width: 23em;
        margin-bottom: 10px
    }
    .main .renewal-refer .input,
    .main .refer .input {
        display: none
    }
    .main .renewal-refer .last-message,
    .main .refer .last-message {
        font-size: 10px;
        line-height: 18px
    }
    .main .renewal-refer .link,
    .main .refer .link {
        background-image: url(../img/lib/form-sprite.png);
        color: #0678ec;
        text-decoration: underline;
        background-position: 0 -1075px;
        font-size: 10px;
        padding-left: 19px;
        height: 16px;
        background-repeat: no-repeat;
        width: auto;
    }
    .main .renewal-refer .link:hover,
    .main .refer .link:hover {
        text-decoration: none;
        cursor: pointer
    }
    .disnon {
        display: none;
    }
    .main .renewal-refer span,
    .main .refer span {
        color: #999;
        font-size: 11px;
        display: block;
    }
    a[href^=tel] {
        text-decoration:inherit;
        color: inherit;
    }
}