@charset "utf-8";

/* base */

html {
    padding: 0;
    font-size: 62.5%;
}

body {
    position: relative;
    font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', '游ゴシック体', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color: #555;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5em;
    margin: 0;
}

h1 {
    display: inline-block;
    font-size: 1.6rem;
    text-align: center;
    margin: 15px 5px 7px;
}

h1 a {
    color: #000;
}

h2 {
    font-size: 3.6rem;
    line-height: 1em;
    margin-bottom: 50px;
}

h2 span {
    display: block;
}

h2 span i {
    display: inline-block;
    position: relative;
    background: #fff;
    font-size: 1.6rem;
    color: #2e37bb;
    padding: 0 15px 0 45px;
    margin-top: 10px;
    overflow: hidden;
}

h2 span i::before {
    content: "";
    position: absolute;
    top: -20px;
    0;
    left: -30px;
    width: 50px;
    height: 100px;
    background: #2e37bb;
    transform: rotate(30deg);
}

h3 {
    position: relative;
    font-size: 2.8rem;
    line-height: 1.2em;
    margin: 20px 0;
}

h3::after {
    content: "";
    display: block;
    height: 3px;
    background: -webkit-linear-gradient(to right, rgb(50, 100, 250), transparent);
    background: linear-gradient(to right, rgb(50, 100, 250), transparent);
    margin-top: 6px;
}

h4 {
    font-size: 2.4rem;
    line-height: 1.2em;
    border-left: solid 5px rgb(50, 100, 250);
    padding-left: 5px;
    margin: 10px 0;
}

h5 {
    font-size: 1.8rem;
}

a {
    color: #4682b4;
    text-decoration: none;
    outline: none;
}

a:hover {
    color: #bbc8e6;
    transition-duration: 0.2s;
}

a:hover img {
    opacity: 0.8;
    transition-duration: 0.2s;
}

a:focus {
    outline: none;
}

img {
    vertical-align: middle;
}

p {
    text-align: justify;
    margin: 25px 0;
}

ul {
    list-style: none;
}

ol {
    padding-left: 25px;
}

ol li {
    margin: 10px 0;
}

dd {
    margin: 20px 0 50px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 20px 0 50px;
}

tr:nth-child(even) {
    background: #eee;
}

th,
td {
    position: relative;
    padding: 10px 15px;
}

th {
    font-weight: 600;
    color: #2e37bb;
    text-align: left;
    overflow: hidden;
}

th::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    bottom: 0;
    width: 20px;
    height: 20px;
    background: #2e37bb;
    opacity: .2;
    margin: auto;
    border-radius: 1px;
    transform: rotate(45deg);
}

.t_normal th::before {
    display: none;
}

hr {
    border: 0;
    height: 1px;
    background: #ccc;
    background-image: -webkit-linear-gradient(left, #eee, #ddd, #eee);
    background-image: -moz-linear-gradient(left, #eee, #ddd, #eee);
    background-image: -ms-linear-gradient(left, #eee, #ddd, #eee);
    background-image: -o-linear-gradient(left, #eee, #ddd, #eee);
    background-image: linear-gradient(left, #eee, #ddd, #eee);
    margin: 70px 0;
}

address {
    font-style: normal;
}

[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="reset"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
select,
textarea {
    border: solid thin #ccc;
    padding: 5px;
    border-radius: 3px;
}

[type="submit"],
[type="button"] {
    background-color: #0095d9;
    padding: 5px 15px 2px;
    cursor: pointer;
}

[type="submit"]:hover,
[type="button"]:hover {
    background-color: #70b6f2;
}

small {
    font-size: 1.3rem;
}

rt {
    font-size: 1.3rem;
}

.clearfix:after {
    display: block;
    content: "";
    clear: both;
}

.txt_l {
    text-align: left;
}

.txt_r {
    text-align: right;
}

.txt_c {
    text-align: center;
}

.font_m {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
}

.in_block {
    display: inline-block;
}

.t_border th,
.t_border td {
    border: solid thin #ccc;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* header */

.header {
    display: block;
    /*
    position: absolute;
    */
    position: relative;
    top: 0;
    width: 100%;
    z-index: 200;
}

.header::after {
    content: "";
    position: absolute;
    top: 150px;
    right: 2%;
    width: 15px;
    height: 100vh;
    background: #ff69b4;
    z-index: -1;
}

.site_title {
    position: relative;
    flex-basis: 350px;
    flex-grow: 1;
    padding: 10px 20px;
}

.site_title div {
    display: inline-block;
    position: relative;
    top: 10px;
    margin: 0 20px;
}

.site_title a {
    color: #333;
}

/* nav */

nav {
    position: relative;
    flex-basis: 350px;
    flex-grow: 1;
    background: #2e37bb;
    font-size: 1.4rem;
    text-align: right;
    padding: 10px;
}

nav ul {
    display: inline-block;
    position: relative;
    right: 0;
    width: 100%;
    text-align: right;
    padding-left: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    position: relative;
    color: #fff;
}

nav ul li a {
    display: inline-block;
    position: relative;
    color: #fff;
    margin: 0 10px;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0;
    height: 1px;
    background: #fff;
    transition-duration: .3s;
}

nav ul li a:hover::after {
    width: 100%;
    transition-duration: .3s;
}

nav ul li.to_contact {
    display: inline-block;
    margin-top: 2px;
}

nav ul li.to_contact a {
    display: inline-block;
    position: relative;
    background: #fff;
    color: #2e37bb;
    padding: 5px 15px;
}

nav ul li.to_contact a::before {
    content: url(img/common/mail-w.svg);
    position: relative;
    top: 4px;
    margin-right: 10px;
}

nav ul li .sub_menu {
    display: none;
    position: absolute;
    transition-duration: .2s;
}

nav ul li .sub_menu a {
    display: inline-block;
    width: 150px;
    color: #2e37bb;
    padding: 5px 0;
    margin: 0;
}

nav ul li .sub_menu a:hover {
    background: rgba(50, 100, 250, .8);
    color: #fff;
}

nav ul li .sub_menu a::after {
    display: none;
}

nav ul li:hover .sub_menu {
    display: block;
    left: 0;
    background: rgba(255, 255, 255, .9);
    width: 150px;
    text-align: center;
    transition-duration: .5s;
    z-index: 300;
}

.slicknav_menu {
    display: none;
}

/* contents */

main {
    position: relative;
    overflow: hidden;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
}

.co_box {
    position: relative;
    min-height: 100px;
    padding: 0 20px;
    flex-basis: 600px;
    flex-grow: 2;
}

.co_box_m {
    position: relative;
    padding: 0 20px;
    flex-basis: 400px;
    flex-grow: 1;
}

.co_box_s {
    position: relative;
    padding: 0 20px;
    flex-basis: 300px;
    flex-grow: 1;
}

.co_img {
    position: relative;
    padding: 0 20px 20px;
    flex-basis: 300px;
    flex-grow: 1;
}

.co_img img {
    width: 100%;
    height: auto;
}

.co_cat {
    flex-basis: 250px;
    flex-grow: 1;
    max-width: 400px;
    background: #70b6f2;
    color: #fff;
    padding: 20px;
    margin: 20px;
}

.co_cat img {
    display: inline-block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.co_cat h3 {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
}

.co_cat h3::after {
    height: 2px;
    background: #fff;
    margin-top: 6px;
}

.co_cat_index {
    flex-basis: 350px;
    flex-grow: 1;
    color: #fff;
}

.division {
    position: relative;
    padding: 70px 0;
}

.wrap {
    width: 100%;
    max-width: 1024px;
    padding: 80px 20px;
    margin: 0 auto;
}

.variable_img img {
    width: 100%;
    height: auto;
}

.red {
    color: red;
}

.large {
    font-size: 1.8rem;
    line-height: 1.5em;
}

.cap_1 {
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.2em;
}

.bg_txt {
    content: url(img/common/towadenki.svg);
    position: absolute;
    top: 50px;
    z-index: -1;
}

.bg_txt_r {
    content: url(img/common/towadenki.svg);
    position: absolute;
    top: 50px;
    right: 0;
    z-index: -1;
}

.video video {
    width: 300px;
    height: auto;
}

.check li {
    list-style-image: url(img/common/check.svg);
    font-size: 1.8rem;
    margin: 30px 0;
}

.space {
    margin: 50px 0;
}

.list_style {
    list-style: circle;
}

.btn_1 {
    display: inline-block;
    background: #4682b4;
    font-size: 1.4rem;
    color: #fff;
    padding: 3px 20px;
    margin: 0 5px;
    border-radius: 20px;
}

.blank {
    position: relative;
}

.blank::after {
    content: url(img/common/blank.svg);
    margin-left: 5px;
}

/* fixed-background */

.cd_fixed_bg {
    position: relative;
    width: 100%;
    height: 500px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: -1;
}

.cd_fixed_bg.cd_bg_1 {
    background-image: url("img/index/electrical_01.jpg");
}

.cd_fixed_bg.cd_bg_2 {
    background-image: url("img/index/excavation_02.jpg");
}

.cd_fixed_bg.cd_bg_3 {
    background-image: url("img/index/transportation_01.jpg");
}

.cd_fixed_bg.cd_bg_4 {
    background-image: url("img/index/insurance_01.jpg");
}

.cd_fixed_bg.cd_bg_5 {
    background-image: url("img/business/insurance_02.jpg");
}

.cd_fixed_bg .cap_1 {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 70px;
    text-align: center;
    text-shadow: 0 0 3px #fff, -1px 0 2px #fff, 0 -1px 2px #fff, 1px 0 2px #fff, 0 1px 2px #fff;
    margin: auto;
}

/* index */

.index_top {
    position: relative;
    width: 100%;
    height: 90vh;
    padding: 0;
}

.index_top::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background: #2e37bb;
    z-index: -10;
}

.index_img {
    position: relative;
    flex-basis: 430px;
    flex-grow: 2;
    padding: 40px 0 40px 40px;
}

.img_box {
    display: inline-block;
    position: absolute;
    top: 15%;
    width: 100%;
    max-width: 950px;
    margin: auto;
}

.img_box .cap_1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-top: 10px;
}

.index_img .swiper-slide {
    width: 950px;
    max-width: 950px;
}

.index_img .swiper-slide img {
    width: 100%;
    max-width: 950px;
    height: auto;
}

.index_txt {
    position: relative;
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 1.7rem;
    color: #fff;
    text-shadow: 0 0 2px #2e37bb;
    flex-basis: 340px;
    flex-grow: 1;
    padding: 150px 50px 150px 70px;
}

.index_txt::after {
    content: url(img/common/towadenki.svg);
    position: absolute;
    right: 0;
    top: 350px;
    z-index: 2;
}

.biz_cat {
    position: relative;
    margin-bottom: 200px;
    z-index: 1;
}

.biz_cat img {
    z-index: -10;
}

.biz_cat .cd_fixed_bg {
    height: 100vh;
    background-position: center bottom;
}

.txt_box {
    position: absolute;
    left: 5%;
    bottom: -50px;
    width: 600px;
    background: rgba(255, 255, 255, .8);
    padding: 40px 60px 80px;
    overflow: hidden;
    z-index: 200;
}

.txt_box::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: #2e37bb;
    transform: rotate(45deg);
}

.cat_more {
    z-index: 1;
}

.cat_more a {
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #2e37bb;
    font-size: 1.8rem;
    text-align: center;
    color: #fff;
    padding: 20px;
    z-index: 200;
}

.cat_more a:hover {
    background: #0095d9;
}

.cat_more a::after {
    content: url(img/common/arrow_r.svg);
    position: absolute;
    top: 10px;
    right: 20px;
}

.po_r {
    left: auto;
    right: 5%;
    z-index: 1;
}

.to_company {
    background-image: url(img/index/operation_01.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 250px;
}

.footer_contact {
    background-image: url(img/index/operation_02.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 250px;
}

.to_company a,
.footer_contact a {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.to_company a::before,
.footer_contact a::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 100;
}

.to_company a:hover::before,
.footer_contact a:hover::before {
    background: rgba(0, 0, 0, .8);
    transition-duration: .2s;
}

.to_company a::after,
.footer_contact a::after {
    content: "";
    display: block;
    position: absolute;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 80%;
    border: solid 1px #fff;
    z-index: 111;
}

.to_company a div,
.footer_contact a div {
    position: absolute;
    top: 0;
    left: 10%;
    bottom: 0;
    width: 83%;
    height: 75px;
    font-size: 3.6rem;
    color: #fff;
    line-height: 1em;
    margin: auto 0;
    z-index: 100;
}

.to_company a div::after,
.footer_contact a div::after {
    content: url(img/common/arrow_r.svg);
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    width: 42px;
    height: 42px;
    margin: auto;
}

.to_company a div span,
.footer_contact a div span {
    display: block;
    font-size: 1.6rem;
    margin-top: 10px;
}

/* company */

.company dt {
    font-size: 1.7rem;
    font-weight: bold;
    color: #2e37bb;
    border-left: solid 3px #2e37bb;
    padding: 0 10px;
}

.company dd {
    padding-bottom: 20px;
    border-bottom: dotted thin #ccc;
}

.company dd dt {
    padding: 0;
    border-left: none;
    border-bottom: solid thin #ccc;
}

.map {
    margin: 40px 0 70px;
}

.map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* electrical */

.equipment_img {
    flex-basis: 250px;
    flex-grow: 1;
    padding: 10px;
}

.equipment_img img {
    width: 100%;
    height: auto;
}

/* transport */

.vehicle_img {
    flex-basis: 300px;
    flex-grow: 1;
}

.vehicle_img img {
    width: 100%;
    height: auto;
}

/* recruit */

.recruit {
    margin: 40px 0;
    border-bottom: solid thin #ccc;
}

.recruit dt {
    font-size: 1.8rem;
    font-weight: bold;
    padding-left: 10px;
    border-left: solid 3px #2e37bb;
}

.to_form {
    display: inline-block;
    position: relative;
    background: #0095d9;
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
}

.to_form::before {
    content: url(img/common/mail.svg);
    position: relative;
    top: 3px;
    margin-right: 8px;
}

/* mailform */

.mailform dt {
    border-left: none;
}

/* pagetop */

.pagetop a {
    position: fixed;
    bottom: 15px;
    right: 20px;
    padding: 0;
    opacity: 0.8;
    z-index: 300;
}

.pagetop a:hover {
    opacity: 0.4;
    bottom: 25px;
    transition-duration: 0.3s;
}

.pagetop a img {
    width: 40px;
    height: 40px;
}

/* footer */

footer {
    background: #2e37bb;
    color: #fff;
    padding: 40px 20px 0;
    margin-top: 50px;
}

address {
    margin: 20px 0;
}

.footer_link {
    flex-basis: 150px;
    flex-grow: 1;
    max-width: 170px;
}

.footer_link ul {
    display: inline-block;
    list-style: url(img/common/arrow_r_s.svg);
    text-align: left;
    padding-left: 20px;
}

.footer_link ul li a {
    font-size: 1.3rem;
    color: #fff;
}

.footer_link ul li a:hover {
    text-decoration: underline;
}

.permission {
    font-size: 1.4rem;
    text-align: center;
    margin-top: 30px;
}
.permission .border {
    display: inline-block;
    border:  solid thin #fff;
    padding: 20px;
}

.permission div  {
    margin-bottom: 7px;
}

.copyright {
    text-align: right;
    padding: 5px 20px;
    margin-top: 40px;
}

@media screen and (min-width: 1280px) {

    .index_img {
        flex-basis: 200px;
    }

    .index_txt {
        padding: 200px 100px;
    }

}

@media screen and (min-width: 1800px) {
    .index_txt {
        font-size: 1.8rem;
        padding: 250px 80px 0 0;
    }
}

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

@media screen and (max-width: 768px) {
    #menu {
        display: none;
    }

    nav {
        background: #fff;
    }

    .slicknav_menu {
        display: block;
        z-index: 300;
    }

    nav ul li a {
        color: #fff;
    }
    
    nav ul li.to_contact {
        display: block;
        text-align: left;
        margin: 10px 0;
    }

    nav ul li .sub_menu {
        position: relative;
        text-align: left;
    }
    
    nav ul li .sub_menu a {
        text-align: left;
        padding-left: 20px;
    }
    
    .index_top {
        height: auto;
        padding: 0;
    }

    .index_top::before {
        display: none;
    }

    .img_box {
        position: relative;
        top: auto;
    }

    .index_img {
        width: 100%;
        padding: 0 0 20px;
    }

    .img_box .cap_1 {
        text-shadow: 0 0 2px #fff;
        padding: 0 20px;
    }

    .index_txt {
        background: #2e37bb;
        padding: 50px;
    }

    .index_txt::before {
        top: 100px;
        bottom: 50px;
    }

    .index_txt::after {
        top: 80px;
    }

    .biz_cat {
        margin-bottom: 50px;
    }
    
    .biz_cat .cd_fixed_bg {
        height: 500px;
    }
    
    .txt_box {
        position: relative;
        left: auto;
        bottom: -50px;
        width: 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    }

    .po_r {
        right: auto;
    }

    .cd_fixed_bg {
        background-attachment: scroll;
        background-size: cover;
        height: 400px;
    }

    .cd_fixed_bg .cap_1 {
        font-size: 2rem;
    }
    
    .footer_l {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .sp_ress {
        display: none;
    }
}

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

    .img_box .cap_1 {
        text-align: center;
    }

    .to_company {
        background-image: url(img/index/operation_01_s.jpg);
    }

    .bg_txt,
    .bg_txt_r {
        display: none;
    }
    
    .footer_contact {
        background-image: url(img/index/operation_02_s.jpg);
    }

    .footer_link ul li::after {
        display: none;
    }

}

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

    .img_box .cap_1 {
        font-size: 2.4rem;
    }
    
    .cap_1 {
        font-size: 2.4rem;
    }
    
    .txt_box {
        padding: 40px 20px 80px;
    }

}

@media screen and (max-width: 360px) {
    
    .header::after {
        width: 10px;
    }
    
    .site_title {
        padding: 13px 10px 10px;
    }
    
    .site_title img {
        width: 140px;
        margin-right: 5px;
    }
    
    .site_title div {
        top: 5px;
        margin: 0;
    }
    
    .index_txt {
        padding: 40px 20px;
    }
    
}
