@charset "utf-8";
/* CSS Document */

/* ==========================================
    common
========================================== */
* {
    line-height: 1.5em;
}
em {
    font-style: normal;
}

img {
    vertical-align: bottom;
}

.flex {
    display: flex;
}

.sp {
    display: none;
}

h3,
h4 {
    font-weight: normal;
    letter-spacing: 2px;
}
h3 {
    text-align: center;
    font-size: 28px;
    padding-bottom: 20px;
}
p {
    letter-spacing: 2px;
    line-height: 2em;
}

.sans {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

.wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.clearfix {
    display: block;
    clear: both;
}

.ttl-pic {
    color: #fff;
    position: relative;
}

.ttl-pic h2 {
    display: inline-block;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    line-height: 1em;
    letter-spacing: 4px;
    text-align: center;
}

.ttl-pic h2 img {
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
}

main {
    margin-top: -40px;
}

@media screen and (max-width: 767px) {
    .wrapper {
        padding-top: 70px;
    }
    .pc {
        display: none !important;
    }

    .sp {
        display: block;
    }
    .sp.flex {
        display: flex;
    }

    h3 {
        font-size: 20px;
        letter-spacing: 0;
    }
    p {
        letter-spacing: 1px;
        line-height: 24px;
    }
    main {
        margin-top: 0;
    }
    main p {

        padding: 0 15px;
    }

    .wrap {
        width: 100%;
        padding: 0;
    }
    .ttl-pic h2 {
        font-size: 28px;
    }
    .ttl-pic h2 img {
        width: 4em;
        padding-bottom: 0.5em;
    }
}

@media screen and (max-width: 450px) {
    
    p {
        font-size: 12px;
        line-height: 20px;
    }

    .ttl-pic h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    h3 {
        font-size: 16px;
    }
    
}

@media screen and (min-width: 768px) {
    
    a.tapcall {
        pointer-events: none;
    }
    
}


/* ==========================================
    header
========================================== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: 0.5s;
}

header.colored {
    background: rgba(43, 124, 199, 0.8);
}

header .pc-head {
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
}

header .pc-head a {
    color: #fff;
}

.pc-head .inner {
    display: flex;
}

.pc-head ul.mainmenu {
    flex: 1;
    text-align: center;
    font-size: 0;
}

.pc-head ul.mainmenu li {
    display: inline-block;
    font-size: 16px;
}

.pc-head ul.mainmenu a {
    display: block;
    line-height: 30px;
    padding: 15px 2em;
    transition: all ease 0.5s;
}

.pc-head ul.mainmenu a:hover {
    background: #fff;
    color: #000;
}

.pc-head a.gotoform {
    display: inline-block;
    line-height: 30px;
    padding: 15px 2em;
    background: #fff;
    color: #2f90e4;
}


@media screen and (max-width: 767px) {

    header .sp-head {
        background: #fff;
        width: 100%;
        height: 70px;
    }

    header h1 {
        padding: 10px 0;
        font-size: 20px;
        text-align: center;
        font-weight: normal;
    }

    header h1 img {
        width: 3.5em;
    }

    header h1 span {
        font-weight: bold;
    }
    header h1 p {
        width: 11em;
        margin: 0 auto;
    }

    .spmenu_b {
        display: block;
        background: transparent;
        height: 60px;
        width: 60px;
        float: right;
        cursor: pointer;
        position: fixed;
        top: 5px;
        right: 5px;
        z-index: 100;
    }

    .spmenu_line {
        display: block;
        background: #1f4986;
        width: 24px;
        height: 2px;
        position: absolute;
        top: 21px;
        right: 18px;
        cursor: pointer;
        transition: all ease 0.5s;
    }

    .spmenu_line:before {
        content: '';
        display: block;
        background: #1f4986;
        width: 24px;
        height: 2px;
        position: absolute;
        top: -9px;
        right: 0;
        cursor: pointer;
        transform-origin: 0 2px;
        transition: all ease 0.5s;
    }

    .spmenu_line:after {
        content: '';
        display: block;
        background: #1f4986;
        width: 24px;
        height: 2px;
        position: absolute;
        top: 9px;
        right: 0;
        cursor: pointer;
        transform-origin: 0 0;
        transition: all ease 0.5s;
    }

    .spmenu_b.open .spmenu_line {
        background: transparent;
    }

    .spmenu_b.open .spmenu_line:before {
        right: -3px;
        top: -9px;
        transform: rotate(45deg);
        transform-origin: 0 2px;
    }

    .spmenu_b.open .spmenu_line:after {
        right: -3px;
        top: 9px;
        transform: rotate(-45deg);
        transform-origin: 0 0;
    }

    .spmenu_b .sp-b-inner {
        position: relative;
        height: 100%;
    }

    .spmenu_b .sp-b-inner p {
        font-weight: bold;
        font-size: 20px;
        line-height: 20px;
        letter-spacing: 0;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .spmenu {
        display: block;
        position: fixed;
        background: #fff;
        width: 100vw;
        height: calc(100vh - 70px);
        top: 70px;
        left: 100%;
        z-index: 99;
        transition: all ease 0.5s;
        transform: translateX(0);
        font-size: 20px;
        line-height: 2em;
    }

    .spmenu .inner {
        padding-top: 60px;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .spmenu.open {
        transform: translateX(-100%)
    }

    .spmenu a {
        display: block;
    }

    .spmenu * {
        text-align: center;
    }

    .spmenu li {
        margin-bottom: 2em;
    }

    .spmenu li:after {
        content: "";
        display: block;
        width: 2em;
        height: 4px;
        background: #e26f74;
        margin: 5px auto 0;
    }
}

/* ==========================================
    footer
========================================== */

footer {
    margin-top: 80px;
}
footer h2.sans {
    font-weight: normal;
}
footer h2 span {
    font-weight: bold;
}

.foot-info {
    text-align: center;
    padding: 150px 0 240px;
}
.foot-info h2 {
    line-height: 1em;
    letter-spacing: 2px;
}
.foot-info h2 img {
    display: block;
    margin: 0 auto 10px;
}
.foot-info h2 img.sp {
    display: none;
}
.foot-info p:first-of-type {
    padding-top: 30px;
}
.foot-info p:last-of-type {
    padding-top: 60px;
}
.foot-nav {
    background: #2b7cc7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.foot-nav h2 {
    font-size: 20px;
    padding-left: 10px;
}
.foot-nav, .foot-nav a {
    color: #fff;
}
.foot-nav ul {
    font-size: 0;
} 
.foot-nav ul li {
    display: inline-block;
    font-size: 16px;
} 

.foot-nav ul li a {
    display: block;
    padding: 1em 2em;
}

@media screen and (max-width: 767px) {
    
    .foot-info {
        background: #2975ba;
        color: #fff;
        padding: 60px 10px;
    }
    .foot-info h2 img.sp {
        display: block;
    }
    .foot-info a {
        color: #fff;
    }
    .foot-info p:first-of-type,
    .foot-info p:last-of-type {
        padding-top: 3em;
    }
}

@media screen and (max-width: 450px) {
    
    .foot-info h2 {
        font-size: 20px;
    }
    .foot-info h2 img.sp {
        width: 4em;
    }
}

/* ==========================================
    TOP
========================================== */

.photocon {
margin-bottom:50px;
}
.photocon img {
width:60%;
margin:0 auto;
}

.toppic {
    height: 800px;
    background: top center no-repeat url(../img/toppic.jpg);
    color: #fff;
    position: relative;
}

.toppic h2 {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    line-height: 1em;
    letter-spacing: 4px;
    font-weight: normal;
    text-align: center;
}

.toppic h2 img {
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
}

.toppic h2 span {
    font-weight: bold;
}

main.top {
    padding-top: 80px;
    margin-top: -40px;
}


main.top section#sec1,
main.top section#sec2 {
    padding-bottom: 80px;
}

main.top section#sec1 .sec-bg {
    height: 556px;
    background: top center no-repeat url(../img/top-sec1.jpg);
}

main.top section#sec2 .sec-bg {
    height: 621px;
    background: top center no-repeat url(../img/top-sec2.jpg);
}

main.top section#sec3 .sec-bg {
    height: 594px;
    background: top center no-repeat url(../img/top-sec3.jpg);
}


main.top section#sec1 .wrap,
main.top section#sec2 .wrap {
    position: relative;
    height: 100%;
}

main.top section#sec1 .txt {
    width: 50%;
    margin-left: auto;
    margin-right: 0;
    padding-top: 80px;
    padding-left: 40px;
}

main.top section#sec2 .txt {
    width: 50%;
    padding-top: 50px;
    padding-right: 40px;
}

main.top a.more p {
    position: relative;
    line-height: 1.5em;
}

main.top a.more p:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    position: absolute;
    right: 1em;
}

main.top section#sec1 a.more,
main.top section#sec2 a.more {
    display: block;
    position: absolute;
    width: 280px;
    padding: 1em 0;
    text-align: center;
    right: 40px;
    border: solid 1px #000;
}

main.top section#sec1 a.more {
    bottom: 40px;
}

main.top section#sec2 a.more {
    bottom: 0;
}

main.top section#sec3 h3 span {
    font-size: 24px;
}

main.top section#sec3 h3 span em {
    font-size: 2em;
}

main.top section#about .wrap {
    width: auto;
    text-align: center;
    max-width: 1360px;
}

main.top section#about {
    padding: 100px 0;
}

main.top section#about h3 {
    padding-bottom: 60px;
}

main.top section#about h3:after,
main.top section#company h3:after {
    content: "";
    display: block;
    width: 2em;
    height: 4px;
    background: #e26f74;
    margin: 0.5em auto 0;
}

main.top section#about .wrap .pc img:last-of-type {
    margin-top: -20px;
    padding: 0 20px;
}

main.top section#about .wrap > p {
    padding-top: 30px;
}

main.top section#about a.more {
    width: 280px;
    margin-top: 60px;
    padding: 1em 0;
    display: inline-block;
    background: #e26f74;
    color: #fff;
}
main.top section#company {
    position: relative;
    padding-top: 160px;
}
main.top section#company h3 {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}
main.top section#company .comp-list.pc {
    justify-content: space-between;
    padding: 1vw;
    background: top center / 100vw auto no-repeat url(../img/joined-company2.jpg);
}
main.top section#company .comp-list.pc > div {
    width: 33%;
}
main.top section#company .comp-list.pc ul {
    flex-wrap: wrap;
}
main.top section#company .comp-list.pc ul li {
    width: 42%;
    margin: 4%;
}
main.top section#company .comp-list.pc ul li a {
    display: block;
    position: relative;
    background: #fff;
}
main.top section#company .comp-list.pc ul li a span.comp-no {
    position: absolute;
    background: #224c8d;
    color: #fff;
    font-style: italic;
    text-indent: -0.5vw;
    text-align: center;
    border: solid 0.3vw #f6b9b6;
    border-radius: 50%;
    width: 4vw;
    height: 4vw;
    font-size: 1.8vw;
    line-height: 3.2vw;
    top: 0;
    left: 0;
    transform: translate(-40%,-30%);
}
main.top section#company .comp-list.pc ul li a img {
    display: block;
}
main.top section#company .comp-list.pc ul li a p {
    line-height: 1.5em;
    padding: 0.5em;
}
main.top section#company > p {
    text-align: center;
}

@media screen and (max-width: 1366px) {
    

    main.top section#company .comp-list ul li a p {
        font-size: 14px;
    }
    
}

@media screen and (max-width: 767px) {
.photocon img {
width:90%;
margin:0 auto;
}


    .toppic {
        background: center center / cover no-repeat url(../img/toppic-sp.jpg);
        height: 110vw;
    }
    
    .toppic h2 {
        width: 100%;
        font-size: 5vw;
        letter-spacing: 0.5vw;
    }
    .toppic h2 img {
        width: 4em;
    }
    main.top {
        margin-top: 0;
        padding-top: 40px;
    }
    main.top section#sec3 h3 span {
        font-size: 20px;
        letter-spacing: 0;
    }
    main.top section#sec3 h3 span em {
        font-size: 32px;
    }
    
    main.top section#sec1,
    main.top section#sec2{
        padding-bottom: 40px;
    }
    main.top section#sec3 {
        padding-bottom: 60px;
    }
    main.top section#about {
        padding-top: 0;
    }
    
    main.top section#sec1 .wrap,
    main.top section#sec2 .wrap,
    main.top section#sec3 .wrap {
        height: auto;
    }

    main.top .sec-bg {
        background: transparent !important;
        height: auto !important;
    }
    main.top section#sec1 .txt,
    main.top section#sec2 .txt {
        width: 100%;
        margin: auto;
        padding: 0;
    }
    main.top section#sec1 img.sp,
    main.top section#sec2 img.sp {
        padding: 30px 0;
    }
    main.top section a.more p {
        padding: 0;
        padding-right: 1em;
    }
    main.top section#sec1 a.more,
    main.top section#sec2 a.more {
        position: static;
        margin: 0 auto;
        width: 12em;
        padding: 5px 0;
    }
    main.top section#about a.more {
        width: 12em;
        padding: 5px 0;
    }
    main.top section#about {
        padding-bottom: 0;
    }
    main.top section#about h3 {
        padding-bottom: 1em;
    }
    main.top section#about .wrap > p {
        text-align: left;
        padding-top: 30px;
    }
    main.top section#about a.more {
        margin-top: 30px;
    }
    main.top section#company {
        padding-top: 70px;
    }
    main.top section#company h3 {
        position: static;
        top: auto;
        left: auto;
        transform: none;
    }
    main.top section#company > p {
        text-align: left;
    }
    main.top section#company .comp-list.sp ul {
        flex-wrap: wrap;
        padding: 30px 3vw;
    }
    main.top section#company .comp-list.sp ul li {
        width: 41vw;
        margin: 3vw;
    }
    main.top section#company .comp-list.sp ul li a {
        display: block;
        position: relative;
        background: #fff;
    }
    main.top section#company .comp-list.sp ul li a span.comp-no {
        position: absolute;
        background: #224c8d;
        color: #fff;
        font-style: italic;
        text-align: center;
        text-indent: -4px;
        border: solid 2px #f6b9b6;
        width: 44px;
        height: 44px;
        font-size: 16px;
        line-height: 40px;
        border-radius: 50%;
        top: 0;
        left: 0;
        transform: translate(-40%,-30%);
    } 
    main.top section#company .comp-list.sp ul li a img {
        display: block;
    }
    main.top section#company .comp-list.sp ul li a p {
        letter-spacing: 0;
        line-height: 1.5em;
        padding: 0.5em;
    }
}

@media screen and (max-width: 450px) {
    main.top section#company .comp-list.sp ul li a p {
        font-size: 12px;
    }
    main.top section#about h3:after,
    .spmenu li:after {
        height: 2px;
    }
    main.top section#sec3 h3 span {
        font-size: 16px;
    }
    main.top section#sec3 h3 span em {
        font-size: 28px;
    }
}