@charset "UTF-8";

/* リセット */

@import url(./reset.css);

/* 一般・共通設定 */

html {
    font-size: 16px;
    letter-spacing: 0.05rem;
}

body {
    /*フォントの指定*/
    font-family: 'メイリオ', 'Meiryo', sans-serif, "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana;
    /*行間の指定*/
    line-height: 140%;
    margin: 0;
    padding: 0;
    /*サイトのデフォルトとなる文字の色を指定*/
    color: #333;
    font-weight: 400;
    background: #fafafa;
}

h3 {
    font-size: 120%;
    margin: 5px 0;
}

a {
    color: #0d7c9e;
    text-decoration: none;
}

.wraper {
    width: 100%;
    max-width: 960px;
    text-align: left;
    line-height: 120%;
    background: #fff;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}


/*メニューの高さ代*/

#top_head_margin {
    display: block;
    margin-bottom: 70px;
}

.dot-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

.dot-wrapper:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: radial-gradient(black 20%, transparent 20%), radial-gradient(black 20%, transparent 20%);
    background-size: 6px 6px;
    background-position: 0 0, 3px 3px;
}

#homeimg {
    display: block;
    width: 100%;
    margin: 0 auto;
}

#homemobileimg {
    display: none;
}

.midashi {
    width: 90%;
    background: #d33535;
    height: 40px;
    line-height: 40px;
    font-size: 120%;
    font-weight: bold;
    color: #FFF;
    text-align: left;
    padding-left: 26px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 10px;
}

h2 {
    display: inline-block;
    font-size: 145%;
    font-weight: bold;
    color: #333;
    margin: 10px 0 15px 0;
    padding-right: 10px;
    padding-bottom: 7px;
    border-bottom: solid 3px #d33535;
}

footer {
    padding: 30px;
    text-align: center;
    border-top: solid 2px #d33535;
    background-color: #fafafa;
    font-size: 80%;
    line-height: 130%;
}

footer a {
    color: #333;
    text-decoration: none;
}

footer img {
    width: 18px;
    display: inline-block;
    position: relative;
    top: 3px;
}


/* フォームの初期化 */

select {
    background-color: #EEE;
    box-shadow: none;
    -webkit-border-radius: 0;
    padding: 5px 5px;
    height: 34px;
    border: 1px solid #bbb;
    vertical-align: 0px;
    font-size: 80%;
}


/* フォームデザイン調整 */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border: 1px solid #ccc;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    /* ズレ防止 */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0px;
    padding: 5px;
    font-size: 90%;
    width: 100%;
}


/* フォームテーブル */

.acf_table {
    width: 100%;
    margin: 0 auto;
}

.acf_th,
.acf_td {
    padding: 10px 5px 10px 5px;
    border: 1px solid #CCC;
}

.acf_th {
    width: 25%;
    font-weight: normal;
    text-align: left;
    vertical-align: top;
    padding-left: 20px;
    background: #f7f7f7;
}

.acf_td {
    background: #fff;
    line-height: 125%;
}

.mars {
    vertical-align: -15%;
}

.inputWide {
    width: 50%;
}

.inputName {
    width: 20%;
}

.inputMID {
    width: 65%;
    max-width: 200px;
}

.inputMini {
    width: 2em;
}


/* モバイル時 */

@media only screen and (max-width: 700px) {
    .acf_table {
        font-size: 130%;
    }
    .acf_tr {
        display: block;
    }
    .acf_th {
        display: block;
        width: 100%;
        padding-left: 6px;
        padding-bottom: 4px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border: none;
    }
    .acf_td {
        display: block;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding-left: 10px;
        padding-bottom: 30px;
        border: none;
    }
    /* 文字位置調整 */
    .mars {
        vertical-align: -20;
    }
    .inputWide {
        width: 90%;
    }
    .inputName {
        width: 43%;
    }
    .form_md {
        margin: 0 10px;
        font-size: 100%;
    }
}

@media only screen and (max-width: 500px) {
    /* モバイル時に改行したい */
    .br::before {
        content: "\A";
        white-space: pre;
    }
    .mmg {
        margin-bottom: 10px;
    }
}


/* ラジオボタンズレ調整 */

.mars {
    vertical-align: -15%;
    font-size: 115%;
}


/* コンフイルムページの修正リンク右寄せ */

.a_edit {
    font-size: 70%;
    font-weight: normal;
    padding: 3px 6px;
    background: #36c43b;
    color: #fff !important;
    border-radius: 10px;
    float: right;
    text-decoration: none;
}


/* 必須 */

.req {
    font-size: 70%;
    font-weight: normal;
    padding: 1px 5px;
    background: #ff6666;
    color: #fff !important;
    border-radius: 2px;
    float: right;
}


/* 任意 */

.arb {
    font-size: 70%;
    font-weight: normal;
    padding: 1px 5px;
    background: #63affe;
    color: #fff !important;
    border-radius: 2px;
    float: right;
}


/* コンフイルムページの修正リンク右寄せ */

.a_edit {
    font-size: 70%;
    font-weight: normal;
    padding: 2px 7px;
    background: #36c43b;
    color: #fff !important;
    border-radius: 4px;
    float: right;
    text-decoration: none;
}


/*送信ボタンの装飾   青  グラデ*/

.b_next {
    appearance: none;
    /* safariの丸影の感じ解除 */
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 40%;
    font-size: 100%;
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 5px;
    margin: 15px 0;
    color: #fff;
    background-color: #d33535;
    /*角の丸み*/
    border-radius: 4px;
    border: solid 1px rgba(255, 255, 255, 0.664);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}


/* モバイル時 */

@media only screen and (max-width: 700px) {
    .b_next {
        width: 100%;
        font-size: 120%;
    }
}

.b_back {
    appearance: none;
    /* safariの丸影の感じ解除 */
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 40%;
    font-size: 100%;
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 5px;
    margin: 15px 0;
    color: #333;
    background-color: #cfcfcf;
    /*角の丸み*/
    border-radius: 4px;
    border: solid 1px rgba(255, 255, 255, 0.664);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}


/* 個人情報枠  プライバシーポリシー */

.Poricyframe {
    font-size: 90%;
    background-color: #FFFFFF;
    height: 145px;
    overflow: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 1px solid #CCC;
    padding: 5px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    /* divのスクロールをスムースに */
}


/* ▲▲▲ここまではナビゲーションに関係ない設定▲▲▲ */

.inner {
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
}

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


/* header */

#top-head {
    display: flex;
    position: fixed;
    top: -100px;
    width: 100%;
    height: 70px;
    margin: 100px auto 0;
    padding: 5px 40px 10px 40px;
    background: #fff;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

#top-head a {
    color: #fff;
    text-decoration: none;
}

#top-head .inner {
    position: relative;
    max-width: 960px;
}

#TopLogo {
    max-width: 145px;
    margin: 10px;
}


/* Fixed */

#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    border-right: solid 1px #DDD;
    border-left: solid 1px #DDD;
    margin-bottom: 10px;
}

#global-nav ul li {
    float: left;
    position: relative;
    border-right: solid 1px #DDD;
    border-left: solid 1px #DDD;
}

#global-nav ul li a {
    padding: 0 40px;
    color: #666;
    font-size: 14px;
}

#footer-nav {
    margin: 20px 0 30px 0;
}

#footer-nav a {
    padding: 0 25px;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    border-left: solid 1px #666;
}

#footer-nav a:last-child {
    border-right: 1px solid #666;
}


/* Toggle Button */

#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 100;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .50s ease-in-out;
    -moz-transition: .50s ease-in-out;
    transition: .50s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

@media screen and (max-width: 980px) {
    #global-nav ul li a {
        padding: 0 20px;
    }
}

@media screen and (max-width: 700px) {
    .wraper {
        padding: 10px;
    }
    #homeimg {
        display: none;
    }
    #homemobileimg {
        display: block;
        width: 100%;
    }
    #top-head {
        height: 56px;
    }
    #top_head_margin {
        margin-bottom: 56px;
    }
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 10px;
    }
    #TopLogo {
        width: 120px;
        margin-top: 12px;
        margin-left: 10px;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に逃がす */
        /*top: -500px;*/
        right: -100vw;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        width: 100vw;
        height: 100vh;
        z-index: 100;
        background: rgba(0, 0, 0, 0.3);
        position: absolute;
        cursor: pointer;
        /* 押せるように */
    }
    #global-nav ul {
        list-style: none;
        position: static;
        background: rgb(51, 51, 51);
        text-align: left;
        padding: 0 0 0 20px;
        margin-left: 30%;
        font-size: 16px;
        border: none;
    }
    #global-nav ul li {
        float: none;
        position: static;
        border: none;
    }
    #global-nav ul li:after {
        display: none;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle ぐるぐるアニメーション 90度＋45度 */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        /*-moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);*/
        -moz-transform: translateX(-100vw);
        -webkit-transform: translateX(-100vw);
        transform: translateX(-100vw);
    }
    #footer-nav {
        margin-bottom: 20px;
    }
    #footer-nav a {
        display: block;
        padding: 10px 0;
        border: none;
        border-bottom: solid 1px #666;
    }
    #footer-nav a:last-child {
        border-right: 1px solid #FFF;
    }
}

.in_Wrap {
    width: 100%;
    max-width: 960px;
    text-align: left;
    line-height: 140%;
    margin: 0 auto;
}


/* 会社概要テーブル */

.profile_table {
    width: 100%;
    max-width: 960px;
    text-align: left;
    font-size: 100%;
    line-height: 140%;
    margin-bottom: 50px;
}

.profile_table table {
    border-top: 1px solid #CCC;
    width: 100%;
}

.profile_table table th {
    width: 30%;
    border-right: 1px solid #CCC;
    background: rgb(216 216 216 / 20%);
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    padding: 10px 0;
}

.profile_table table tr {
    border: 1px solid #CCC;
}

.profile_table table td {
    padding: 10px 50px;
    vertical-align: middle;
}

@media screen and (max-width: 700px) {
    .profile_table table td {
        padding: 10px;
    }
}

.pdfm {
    display: inline;
    padding: 1px 2px;
    font-size: 60%;
    border: #777 solid 1px;
    border-radius: 3px;
    color: #555;
    margin-left: 3px;
    vertical-align: 2px;
}