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

html {
    font-size: 62.5%;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #707070;
    background-color: #ffffff;
    margin: 0px;
    padding: 0px;
    font-size: 0;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: #707070;
}

p.left {
    text-align: left;
}

h2 {
    padding-bottom: 30px;
}

h1 span {
    font-size: 70%;
}

div span {
    font-size: 70%;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0 0px;
}

.flexBox-sb {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flexBox-sa {
    display: flex;
    justify-content: space-around;
}

.flexbox-ce {
    display: flex;
    justify-content: center;
}

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

.pt-2 {
    padding-top: 20px;
}

.p-1 {
    padding: 10px;
}

.m-2 {
    margin: 2em 0;
}

.pb-1 {
    padding-bottom: 10px;
}

/*
----------------------
Start header
----------------------
*/
header {
    max-width: 1240px;
    margin: 0 auto;
    font-size: 1.6rem;
    padding-top: 20px;
}

header .toppage {
    padding-bottom: 10px;
}

.siteIcon {
    justify-content: center;
    align-items: center;
}

.logo {
    width: 90%;
}

ul, li {
    list-style: none;
}

.bg-glay {
    background-color: #F3F2F4;
}

.bg-wht {
    background-color: #fff;
}

/*
----------------------
navigation
----------------------
*/
.navItem a {
    display: block;
    margin-left: 0.5rem;
    width: 100px;
    text-align: center;
    font-size: 1.5rem;
    color: #707070;
    font-weight: bold;
}

/* 擬似要素でテキストを表示 */
.navItem a::after {
    display: block;
    margin-top: .5rem;
    font-size: 1rem;
    font-weight: lighter;
}

.navItemHome a::after {
    content: "ホーム";
}

.navItemService .service::after {
    content: "事業内容";
}

.navItemAbout a::after {
    content: "会社概要";
}

.navItemWorks a::after {
    content: "工事実績";
}

.navItemRecruit a::after {
    content: "採用情報";
}

.navItemNews a::after {
    content: "お知らせ";
}

.navItemContact a::after {
    content: "お問い合わせ";
}

.navItemYoutube {
    margin-left: 20px;
}

.navItemYoutube a::after {
    content: "信号工事をリアルな目線で配信中！";
}

.youtube-icon {
    width: 40%;
    height: auto;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
    position: relative;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 25px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    transform: rotate(135deg);
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul {
    /*絶対配置で位置を指定*/
    position: absolute;
    left: 0;
    top: 62px;
    z-index: 4;
    /*形状を指定*/
    background: #DADADA;
    width: 190px;
    /*はじめは非表示*/
    visibility: hidden;
    opacity: 0;
    /*アニメーション設定*/
    transition: all .3s;
    padding: 0 10px;
}

/*hoverしたら表示*/
nav li.has-child:hover>ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
    visibility: visible;
    opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
    color: #707070;
    border-bottom: solid 1px rgba(255, 255, 255, 0.6);
    padding: 10px;
    width: 170px;
    font-size: 1.2rem;
}

nav li.has-child ul li:last-child a {
    border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
    color: #F2B105;
}


/*
----------------------
main #4C4B4B
----------------------
*/
main {
    font-size: 1.6rem;
}

.main-box {
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
}

.video-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.pc-video {
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.writing {
    writing-mode: vertical-rl;

}

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

/*
----------------------
top-main
----------------------
*/
.trafficlight {
    background-color: #B1B0B0;
    ;
}

.highway {
    background-color: #C3C3C3;
}

.card-box {
    width: 25%;
    padding: 0.5em 1em;
    margin: 2em 0;
    border: solid 3px #707070;
    border-radius: 10px;
}

.icon {
    padding-top: 30px;
}

/*===================================
ページトップリンク
===================================*/
/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #616161;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}

#page-top a:hover {
    background: #777;
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/

#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(100px);
    }
}

/*==================================================
スライダーのためのcss
===================================*/
.slider img {
    width: 100%;
    /*スライダー内の画像を横幅100%に*/
    height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin: 0 10px;
    /*スライド左右の余白調整*/
}

/*
----------------------
buttom
----------------------
*/
/*表示するテキストが切り替わる*/
.btntextchange {
    /*テキストの基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    border: 1px solid #555;
    border-radius: 30px;
    min-width: 250px;
    padding: 25px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: #333;
    outline: none;
    text-transform: uppercase;
    /*アニメーションの指定*/
    transition: all .2s;
    margin: 2em 0 4em;
}

/*hoverした際の変化*/
.btntextchange:hover {
    background: #333;
    color: #fff;
}

.btntextchange span {
    /*絶対配置でテキストの位置を決める*/
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*アニメーションの指定*/
    transition: all .5s;
    /*ブロック要素にしてテキスト折り返しなし*/
    display: block;
    white-space: nowrap;
}

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2) {
    opacity: 0;
    /*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1) {
    opacity: 0;
    /*透過0に*/
}

.btntextchange:hover span:nth-child(2) {
    opacity: 1;
    /*不透明に*/
}

/*
----------------------
about
----------------------
*/
.about-img {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 20px;

}

.about-box {
    height: auto;
    margin-top: 30px;
    text-align: center;
    padding: 100px 0;
}

.about-box h1 {
    border: solid 1px #000000;
    margin: 0 35%;
    padding: 30px 20px;

}

.about-message {
    position: relative;
    margin-bottom: 30px;
}

.about-message p {
    position: absolute;
    color: #707070;
    font-weight: bold;   
    top: 50px;
    left: 150px;
    font-family: 'Yuji Syuku', 'Noto Serif JP', serif;
    font-size: 1.4em;
#    font-family: 'Noto Serif JP', serif;
    line-height: 1.8;
}

.company {
    margin-top: 50px;
}

.company dl {
    display: flex;
    flex-flow: row wrap;
    width: 100%
}

.company dt {
    flex-basis: 30%;
    padding: 20px;
    margin-bottom: 10px;
    background-color: #DADADA;
}

.company dd {
    flex-basis: 70%;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 10px;
}

.about-adress {
    padding-bottom: 30px;

}

.about-top {
    width: 100%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    padding: 400px 0;
    background-size: cover;
    background-image: url("../image/about2.jpg");
}

.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

/*
----------------------
service１
----------------------
*/

.top-img {
    height: auto;
    margin-top: 30px;
    text-align: center;
    padding: 400px 0;
    background-size: cover;
}

.top-img h1 {
    border: solid 1px #ffffff;
    margin: 0 35%;
    padding: 30px 20px;
    color: #ffffff;
}

.service1-top {
    background-image: url("../image/service1-1.jpg");
}

.service2-top {
    background-image: url("../image/service2-1.jpg");
}

.service-top-text {
    height: auto;
    text-align: center;
    padding: 80px 0;
    line-height: 2;
}

.service-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 50px;
}

.service-box img {
    width: 50%;
    height: auto;
}

.service-pict {
    width: 40%;
    margin-left: 3%;
}

.service-pict img {
    width: 100%;
    height: auto;
}

.service-text h3 {
    margin: 30px 0 20px;
}

.service-box:nth-child(even) {
    flex-direction: row-reverse;
}

.service-box:nth-child(even) .service-text {
    text-align: center;
}

.service-box:nth-child(even) .service-pict {
    margin-left: 0;
    margin-right: 3%;
}

.service-cnt {
    font-size: 15px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 0 50px;
    text-align: center;
}

.dltable {
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.row1 {
    width: 35%;
}

.row2 {
    width: 35%;
}

.row3 {
    width: 10%;
}

.row4 {
    width: 20%;
}

.dltable dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #ccc;

}

.dltable dt {
    padding: 10px 0;
    background: #DADADA none repeat scroll 0 0;
    color: #333;
}

.dltable dd {
    padding: 10px 0;
}



/*
----------------------
works
----------------------
*/
.works-box {
    height: auto;
    margin-top: 30px;
    text-align: center;
    padding-top: 100px;
}

.works-box h1 {
    border: solid 1px #ffffff;
    margin: 0 35%;
    padding: 30px 20px;
    color: #ffffff;

}

.works-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0;
}

.works-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.works-item {
    width: 32%;
    padding-top: 20px;
}

.works-top {
    width: 100%;
    height: auto;
    margin-top: 30px;
    text-align: center;
    padding: 400px 0;
    background-size: cover;
    background-image: url("../image/works1.jpg");
}

/*　枠線＋テキストが出現 　*/

.lineText {
    position: relative;
    /*テキストの基点となる位置を定義*/
}

/*線の設定*/
.lineText span.mask {
    position: relative;
    display: block;
    /*画像をくくるspanタグをブロック要素にする*/
    line-height: 0;
    /*行の高さを0にする*/
}

.lineText span.mask::before,
.lineText span.mask::after {
    position: absolute;
    top: 4%;
    right: 2.5%;
    bottom: 4%;
    left: 2.5%;
    z-index: 3;
    content: "";
    opacity: 0;
    transition: .3s ease-in-out;
    /*移り変わる速さを変更したい場合はこの数値を変更*/
}

.lineText span.mask::before {
    border-top: 1px solid #fff;
    /*枠線の色と太さを変更したい場合はこの数値を変更*/
    border-bottom: 1px solid #fff;
    /*枠線の色と太さを変更したい場合はこの数値を変更*/
    transform: scale(0, 1);
}

.lineText span.mask::after {
    border-right: 1px solid #fff;
    /*枠線の色と太さを変更したい場合はこの数値を変更*/
    border-left: 1px solid #fff;
    /*枠線の色と太さを変更したい場合はこの数値を変更*/
    transform: scale(1, 0);
}

.lineText:hover span.mask::before,
.lineText:hover span.mask::after {
    /*hoverした時の変化*/
    opacity: 1;
    transform: scale(1);
}

/*中央テキスト*/
.lineText span.cap {
    opacity: 0;
    transition: .5s ease-in-out;
    /*移り変わる速さを変更したい場合はこの数値を変更*/
    position: absolute;
    z-index: 3;
    /*テキストを前面に出す*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    /*テキストの色を変えたい場合はここを修正*/
    line-height: 1.5;
    /*行の高さを1.5にする*/
}

.lineText:hover span.cap {
    /*hoverした時の変化*/
    opacity: 1;
}

/*　//ここまで　枠線＋テキストが出現 　*/

/*
----------------------
recruit
----------------------
*/
.recruit-top {
    width: 100%;
    height: auto;
    margin-top: 30px;
    text-align: center;
    padding: 400px 0;
    background-size: cover;
    background-image: url("../image/recruit1-1.jpg");
}

.recruit-top h1 {
    border: solid 1px #4E4C4C;
    margin: 0 35%;
    padding: 30px 20px;
    color: #4E4C4C;
}

.recruit-top-text {
    height: auto;
    text-align: center;
    padding: 80px 0;
    background-color: #F4F4F4;
    line-height: 2;
}

.recruit-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 50px;
}

.recruit-image {
    display: flex;
    justify-content: center;
}

.recruit-image img {
    padding: 0 20px;
}

.recruit {
    margin-top: 50px;
}

.recruit dl {
    display: flex;
    flex-flow: row wrap;
    width: 100%
}

.recruit dt {
    flex-basis: 30%;
    padding: 20px;
    margin-bottom: 10px;
}

.recruit dd {
    flex-basis: 70%;
    padding: 20px;
    margin-bottom: 10px;
    text-align: left;
}

/*
----------------------
news
----------------------
*/
.news-top {
    background-image: url("../image/news-1.jpg");
}

.news-item {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    text-align: left;

}

.news-img {
    width: 100%;
    height: auto;
}

.news-img1 {
    display:flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
}

p.mb2 {
    margin-bottom: 1em;
}

.news-box {
    margin: 0px 7px;
    width: 180%;
}

.news-box h3 {
    color: #F2B105;
}

.news-time {
    margin: 10px 0;
    color: #666;
    font-weight: bold;
}

.news-text {
    margin: 15px 0;
}

.news-item a {
    border: 1px solid #555;
    padding: 5px 30px;
}

/*
----------------------
contact
----------------------
*/
.contact-item {
    text-align: left;
}

.contact-item img {
    width: 50%;
    height: auto;
    margin-bottom: 20px;
}

.mail-img img {
    width: 35%;
    margin-top: 10px;
}

.contact-item p {
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 10px;
}

.contact-item a {
    font-size: 20px;
}

.contact-top {
    background-image: url("../image/contact2.jpg");
}

.text-uppercase {
    text-transform: uppercase;
}

/* contact*/

form {
    width: 640px;
    font-size: 90%;
    margin-top: 20px;
}

label {
    display: inline-block;
    width: 230px;
    text-align: left;
    margin-bottom: 60px;
}

input, textarea {
    width: 400px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #000;
    height: 30px;
}

input:focus, textarea:focus {
    border-color: #333333;
}

#msg {
    height: 200px;
    vertical-align: top;
}

.form {
    width: 800px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.botton {
    text-align: center;
    margin: 50px auto 0;
    width: 200px;

}

.btn-flat-border {
    padding: 1.2em 4em;
    text-decoration: none;
    color: #1e1e1e;
    border: solid 1px #1e1e1e;
    transition: .4s;
}

.btn-flat-border:hover {
    background: #1e1e1e;
    color: #efefef;
    text-decoration: none;
}

/*
----------------------
footer
----------------------
*/
.footer {
    margin-top: 30px;
    background-color: #fff;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footernavi {
    margin-bottom: 3.6rem;
    padding: 50px 0 30px;

}

.copyright {
    text-align: center;
    color: #707070;
    font-size: 10px;
}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {
    header {
        padding-top: 0;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .item {
        width: 49.5%;
        /*横並びで2つ表示*/
    }

    .flexBox-sb {
        display: block;
        justify-content: space-between;
        align-items: center;
    }

    .flexBox-sa {
        display: block;
        justify-content: space-around;
    }

    .flexbox-ce {
        display: block;
        justify-content: center;
    }

    .card-box {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 15px;

    }

    .video-sp-wrapper {
        width: 100%;
        height: 94vh;
        position: relative;
        overflow: hidden;
    }

    .sp-video {
        object-fit: cover;
        height: auto;
        width: 100%;
        min-width: 100%;
        top: 0;
        left: 0;
    }

    .sp-main-box {
        padding: 20px;
        text-align: center;
        text-transform: uppercase;
        margin-top: -6px;

    }

    /*
----------------------
spF-navigation
----------------------
*/
    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    .navItemYoutube {
        margin-left: 15%;
        padding-top: 20px;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 0px;
        right: 5px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #C0C0C0;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /*
	----------------------
	sp-top
	----------------------
	*/

    #slider {
        width: 100%;
        height: 100vh;
        /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    }

    /*
	----------------------
	sp-about
	----------------------
	*/
    .about-box {
        margin-top: 0;
    }

    .about-box h1 {
        margin: 0 20%;
    }

    .about-message p {
        position: inherit;
        left: 0;
    }

    .about-message {
        text-align: center;
    }

    /*
	----------------------
	sp-service
	----------------------
	*/
    .service-box {
        display: block;
        flex-direction: row;
        width: 95%;
        margin: 0 auto 50px;
    }

    .service-box img {
        width: 100%;
        height: auto;
    }

    .service-pict {
        width: 100%;
        margin-left: 0;
    }

    .service .container {
        text-align: left;
        padding: 0 0 50px;
    }

    .service-top-text {
        text-align: left;
        width: 95%;
        margin: 0 auto;
    }

    .service-box:nth-child(even) .service-text {
        text-align: left;
    }

    .row1 {
        width: 100%;
        margin-top: 5px;
    }

    .row2 {
        width: 100%;
    }

    .row3 {
        width: 100%;
    }

    .row4 {
        width: 100%;
        margin-bottom: 5px;
    }

    .dltable dd {
        padding: 0;

    }


    /*
	----------------------
	sp-works
	----------------------
	*/
    .works-item {
        width: 100%;
    }

    .works-box {
        margin-top: 0px;
        text-align: center;
        padding-top: 100px;
    }

    .works-box h1 {
        margin: 0 10%;
    }

    /*
	----------------------
	sp-recruit
	----------------------
	*/
    .recruit-top {
        width: 100%;
        height: auto;
        margin-top: 30px;
        text-align: center;
        padding: 150px 0;
        background-size: cover;
        background-image: url("../image/recruit-sp1.jpg");
    }

    .recruit-top {
        margin-top: 0;
    }

    .recruit-top h1 {
        margin: 0 10%;
    }

    .recruit-top-text {
        text-align: left;
        width: 95%;
        margin: 0 auto;
    }

    .recruit-image {
        display: block;
    }

    .recruit-image img {
        padding: 10px 20px;
    }

    /*
	----------------------
	sp-news
	----------------------
	*/
    .news-item {
        display: block;
    }

    .news-box {
        width: 90%;
        margin: 0 auto;
    }

    .news-img {
        margin-right: 0px;
        margin: 0 auto;
        width: 80%;
    }


    /*
	----------------------
	sp-contact
	----------------------
	*/
    .contact-item {
        text-align: center;
        padding-bottom: 30px;
    }

    .contact-item img {
        width: 20%;
        margin-bottom: 20px;
    }

    label {
        display: block;
        margin-bottom: 5px;
    }

    form {
        font-size: 100%;
    }

    .form {
        width: 100%;
        margin: 0 auto;
        padding-bottom: 50px;
    }

    input, textarea {
        width: 90%;
        height: 35px;
        margin-bottom: 10px;
    }

    .contact .container {
        padding-top: 50px;
    }

    /*SP用トップ画像*/
    .sp-box {
        position: relative;
    }

    .sp-box img {
        width: 100%;
        height: auto;
    }

    .sp-box div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: #FFF;
        font-size: 75%;
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        font-weight: bold;
        border: solid 1px #ffffff;
        color: #ffffff;
        padding: 15px 10px;
        text-align: center;
        max-width: 50%;
        width: 50%;
    }

    .recruit-sp-box {
        position: relative;
    }

    .recruit-sp-box img {
        width: 100%;
        height: auto;
    }

    .recruit-sp-box div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 75%;
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        font-weight: bold;
        border: solid 1px #4E4C4C;
        color: #4E4C4C;
        padding: 15px 10px;
        text-align: center;
        max-width: 50%;
        width: 50%;
    }

    .about-sp-box div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 75%;
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        font-weight: bold;
        border: solid 1px #4E4C4C;
        color: #4E4C4C;
        padding: 15px 10px;
        text-align: center;
        max-width: 50%;
        width: 50%;
    }

    /*SP用トップ画像*/

    /*
	----------------------
	sp-common
	----------------------
	*/
    .top-img {
        margin-top: 0;
    }

    .top-img h1 {
        margin: 0 10%;
    }

    .copyright {
        padding: 30px 0;
    }

    .footer {
        padding: 30px 0;

    }
}

@media screen and (max-width: 559px) {
    .company dl {
        flex-flow: column;
    }


}

/*==================================
	ギャラリーのためのcss
	===================================*/
/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 480px) {
    .sort-btn {
        justify-content: space-between;
    }

    .sort-btn li {
        width: 48%;
        margin: 0 0 10px 0;
        text-align: center;
    }
}


/*==================================
	追加
	===================================*/
.pc-box {
    position: relative;
}

/*.pc-box img {
    width: 100%;
    height: auto;
}
*/
.pc-box p {
    position: absolute;
    top: 50%;
    left: 50%;
    border: solid 1px #ffffff;
    margin: 0;
    padding: 0;
    color: #ffffff;
    -ms-transform: translate(-50px, -50px);
    -webkit-transform: translate(-50px, -50px);
    transform: translate(-50px, -50px);
    font-size: 24px;
    text-align: center;
}
