@charset "UTF-8"; /*==========================
共通
===========================*/
* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

a:link {
    transition: 0.6s;
    text-decoration: none;
}

a:visited {
    color: #000;
}

a:hover {
    transition: 0.3s;
}

a:active {
    color: #000;
}

img {
    display: block;
}

.small {
    font-size: 0.8em;
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

.xsp_only {
    display: none;
}

.t_r {
    text-align: right;
}

.t_l {
    text-align: left;
}

.bold {
    font-weight: 600;
}

.size_up {
    font-size: 1.4em;
}

.size_down {
    font-size: 0.7em;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    img {
        max-width: 100%;
    }

    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }

    .xsp_only {
        display: none;
    }

    .t_r {
        text-align: center;
    }

    .t_l {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-weight: 500;
    }

    .xsp_only {
        display: block;
    }
}

/*==========================
コンテナ
===========================*/
.container {
    max-width: 1400px;
    margin: 0 auto;
}

@media screen and (max-width: 960px) {
    .container {
        width: 100%;
        padding: 0 3%;
    }
}

/*==========================
ヘッダー
===========================*/
header {
    background-color: rgba(33, 37, 54, 0.90);
    width: 100%;
    position: fixed;
    z-index: 100;
}

#header_group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: block;
}

.logo img {
    width: 150px;
    margin: 10px 0 7px 30px;
}

header nav ul {
    display: flex;
    margin: 0 3em;
}

header nav ul li {
    padding: 0 2em;
}

header nav ul li:last-child {
}

header nav ul li img {
    height: 25px;
    transition: 0.6s;
    margin: 0 auto;
}

header nav ul li img:hover {
    opacity: 0.7;
    transition: 0.3s;
}

@media screen and (max-width: 960px) {
    .logo img {
        width: 135px;
        margin: 10px 0 7px 15px;
    }

    header nav ul li {
        padding: 0 1.3em;
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        width: 110px;
        margin: 8px 0 6px 10px;
    }

    header nav ul li img {
        height: 24px;
        margin: 0 auto;
    }
}

/*ハンバーガーメニュー*/
@media screen and (max-width: 768px) {
    /*メニュー部分*/ nav {
        display: none;
        position: absolute;
        top: 0;
        width: 62%;
        height: 100vh;
        background: rgba(48,26,2,0.97);
        left: 0;
        z-index: 10;
    }

    header nav ul {
        display: block;
        width: 100%;
        position: absolute;
        top: 12%;
        right: 0px;
        bottom: 0px;
        left: 0px;
        margin: auto;
    }

    header nav ul li {
        margin: 0 auto;
        padding: 8% 0;
    }

    header nav ul li:last-child {
        border: none;
    }

    header nav ul li a {
        display: block;
        color: #006598;
    }
}

@media screen and (max-width: 768px) {
    /*開閉ボタン*/ #nav_toggle {
        display: block;
        width: 30px;
        height: 40px;
        position: relative;
        top: 4px;
        z-index: 100;
        margin: 1% 6% 0;
    }

    #nav_toggle div {
        position: relative;
    }

    #nav_toggle span {
        display: block;
        height: 3px;
        background: #fff;
        position: absolute;
        width: 100%;
        left: 0;
        transition: 0.5s ease-in-out;
    }

    #nav_toggle span:nth-child(1) {
        top: 0px;
    }

    #nav_toggle span:nth-child(2) {
        top: 12px;
    }

    #nav_toggle span:nth-child(3) {
        top: 24px;
    }

    /*開閉ボタンopen時*/
    .open #nav_toggle span:nth-child(1) {
        top: 12px;
        transform: rotate(135deg);
    }

    .open #nav_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 12px;
        transform: rotate(-135deg);
    }
}

/*==========================
メインビジュアル
===========================*/
#mainVisual {
    background: url("img/fv_contact.jpg") no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    height: 400px;
}

#mainVisual h1 {
    margin: 0 auto;
    position: absolute;
    top: 250px;
    left: 40px;
}

#mainVisual h1 img {
    height: 125px;
}

@media screen and (min-width: 481px) and (max-width: 959px) {
    #mainVisual {
        height: 350px;
        background-position: -60px;
        overflow: hidden;
    }

    #mainVisual h1 {
        top: 230px;
        left: 30px;
    }

    #mainVisual h1 img {
        height: 100px;
    }
}

@media screen and (max-width: 480px) {
    #mainVisual {
        background: url("img/fv_contact.jpg") no-repeat;
        background-size: cover;
        background-position: -60px;
        height: 230px;
        overflow: hidden;
    }

    #mainVisual h1 {
        margin: 0 auto;
        position: absolute;
        top: 157px;
        left: 15px;
    }

    #mainVisual h1 img {
        height: 60px;
    }
}

/*==========================
フォーム関連
===========================*/
#contact {
    text-align: center;
}

#contact h2 img {
    margin: 1em auto;
    height: 100px;
}

#contact .thank {
    text-align: center;
    font-size: 14px;
    margin: 0 auto 3em;
    line-height: 2;
    font-weight: 500;
}

#contact .form {
    padding: 1em 10% 3%;
    margin: 2em auto;
    max-width: 1000px;
}

.form-horizontal .control-label {
    font-size: 16px;
    text-align: right;
    margin-bottom: 10px;
}

#contact .mailform .control-label {
    line-height: 2.8em;
    padding-top: 0;
}

.radio, .checkbox {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.radio label, .checkbox label {
    min-height: 20px;
    padding-left: 3em;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.mailform .control-label span {
    color: #e6358d;
    display: inline-block;
    position: relative;
    top: 0.2em;
}

.has-error .message {
    display: block!important;
    text-align: left;
}

.form-control {
    width: 100%;
    border: 1px solid #a5a5a5;
    padding: 0.6em;
    height: auto;
    font-size: inherit;
    line-height: inherit;
    cursor: default;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-weight: 400;
    color: #000;
}

.label-danger {
    background-color: #ff4f4f;
    text-align: center;
    padding: 3px 10px;
    margin-left: 1em;
}

.label-primary {
    background-color: #ccc;
    text-align: center;
    padding: 3px 10px;
    margin-left: 1em;
}

p.offer {
    margin-top: 20px;
}

.btn-lg, .btn-group-lg>.btn {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.33;
    display: inherit;
    padding: 1em 5em;
    margin: 2em auto 1em;
    text-decoration: none;
    background: #ccc;
    border: none;
    transition: filter 0.4s ease-in-out;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background: #ffd31d;
    /* filter: brightness(115%); */
}

textarea.form-control {
    height: 15vw;
    min-height: 150px;
}

.agree {
    text-align: center;
    margin: 0;
    font-size: 0.8em;
    color: #555;
}

/* 確認画面 */
.modal .mailform {
    max-width: none;
}

.form-control[readonly] {
    border: none;
    padding: 0.5em;
    width: 100%!important;
    cursor: default;
    outline: none;
    font-size: 1em;
}

.form-control[readonly]:focus {
    box-shadow: none;
}

.modal-header {
    min-height: 16.43px;
    padding: 20px 0 3px;
    margin: 0 15px 10px;
}

.modal-footer {
    text-align: center;
    border: none;
    padding: 3px 5px 15px;
}

.modal-footer .btn {
    width: 45%;
    display: inline-block;
}

.modal-title {
    line-height: 2em;
    text-align: center;
    font-size: 1.5em;
}

.modal-body {
    position: relative;
    padding: 15px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.modal-body .form-group {
    margin-bottom: 10px;
}

.modal-footer .btn {
    padding: 1.8% 0;
    font-size: 1.2em;
    transition: 0.3s;
}

.btn-primary {
    background-color: #ffd31d;
    border: none;
    transition: 0.3s;
    color: #333;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin: 0 2%;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    #contact h2 img, #contact2 h2 img {
        height: 20vw;
        max-height: 100px;
        margin: 0.5em auto;
    }

    #contact .form, #contact2 .form {
        padding: 5%;
        font-size: 16px;
        margin: 0.5em auto 1em;
    }

    #contact .container, #contact2 .container {
        padding: 0%;
    }

    .modal-header {
        margin: 0 15px;
    }

    .modal-footer .btn {
        padding: 3% 0;
        font-size: 1.1em;
    }

    .modal-title {
        text-align: left;
    }

    .modal-body {
        position: relative;
        padding: 10px 15px;
    }

    #contact .thank {
        font-size: 14px;
        margin: 0 0 2em;
    }
}

/*==========================
フッター
===========================*/
footer {
    color: #e2e2e2;
    font-size: 13px;
    background: url("../common/img/logo_f.png") no-repeat bottom 50px right 50px, linear-gradient(-45deg, #000 25%, transparent 25%, transparent 50%, #000 50%, #000 75%, transparent 75%, transparent), #212536;
    background-repeat: no-repeat, repeat, no-repeat;
    background-size: 60px auto, 4px 4px, 0;
}

footer a:link {
    color: #e2e2e2;
}

footer a:visited {
    color: #e2e2e2;
}

footer a:hover {
    color: #fff;
    transition: 0.3s;
}

footer a:active {
    color: #e2e2e2;
}

footer .footer_group {
    display: flex;
    padding: 3em 5em 6em;
    margin-right: 2em;
    margin: 0 auto;
}

footer .company {
    padding-right: 7%;
}

footer .company .comp {
    font-size: 13px;
    font-weight: 600;
    line-height: 3;
}

footer .company p {
    line-height: 2;
}

footer .footer_nav {
    margin: 0 auto;
}

footer .footer_nav li {
    margin: 0.4em auto;
}

footer .footer_nav li span {
    line-height: 3;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px dashed #e2e2e2;
    padding-bottom: 4px;
}

footer .copy p {
    text-align: center;
    border-top: 1px dashed #e2e2e2;
    padding: 1em;
    margin: 0;
    vertical-align: bottom;
    font-size: 10px;
}

footer .fa {
    width: 36px;
    font-size: 22px;
    padding-top: 0.8em;
}

@media screen and (min-width: 481px) and (max-width: 1000px) {
    footer .footer_group {
        display: block;
        padding: 2em 2em;
    }

    footer .company {
        padding: 0 0 2em 0;
    }

    footer .footer_nav {
        float: left;
        width: 38%;
        margin-bottom: 2em;
    }

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

/*トップへ戻るボタン*/
footer .totop {
    position: fixed;
    bottom: 148px;
    right: 34px;
    z-index: 15;
    width: 85px;
}

footer .contact .totop img {
    width: 100px;
    backface-visibility: hidden;
}

@media screen and (max-width: 480px) {
    footer {
        background-size: 60px auto, 3px 3px, 0;
    }

    footer .footer_group {
        display: block;
        padding: 2em 2em;
    }

    footer .company {
        padding: 0 0 2em 0;
    }

    footer .footer_nav {
        float: none;
        width: auto;
        margin-bottom: 1em;
    }

    footer .fa {
        padding-top: 1em;
    }

    footer .footer_nav li {
        margin: 0 auto;
    }
}
