﻿@charset "UTF-8";

/*--------------------------------------------------------------
@ media
--------------------------------------------------------------*/
/* mediaqery sort用 */
/*=======================================================
-- mixin --
=======================================================*/
/*=======================================================
-- animation --
=======================================================*/
/*中身がフェード*/
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*はじめにブロックが伸びるアニメーション*/
@-webkit-keyframes secondaryImageOverlayIn {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes secondaryImageOverlayIn {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/*ブロックを見えなくするアニメ―ション*/
@-webkit-keyframes secondaryImageOverlayOut {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(102%);
        transform: translateX(102%);
    }
}

@keyframes secondaryImageOverlayOut {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(102%);
        transform: translateX(102%);
    }
}

/*ブロックを見えなくするアニメ―ション 斜めバージョン*/
@-webkit-keyframes secondaryImageOverlayOutNaname {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(120%);
        transform: translateX(120%);
    }
}

@keyframes secondaryImageOverlayOutNaname {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(120%);
        transform: translateX(120%);
    }
}

.animate_r {
    overflow: hidden;
    position: relative;
    visibility: hidden;
}

.animate_r::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 120%;
    height: 100%;
    background-color: #C30D23;
    -webkit-transform: skew(0, 5deg);
    transform: skew(0, 5deg);
    /*アニメーションの設定*/
    -webkit-animation: secondaryImageOverlayIn 0.4s 0s cubic-bezier(0.77, 0, 0.175, 1), secondaryImageOverlayOut 0.4s 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    animation: secondaryImageOverlayIn 0.4s 0s cubic-bezier(0.77, 0, 0.175, 1), secondaryImageOverlayOut 0.4s 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animate_r>* {
    /*アニメーションの設定*/
    -webkit-animation: fadeIn 0.1s 0.5s;
    animation: fadeIn 0.1s 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animate_b {
    overflow: hidden;
    position: relative;
    visibility: hidden;
}

.animate_b::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #141414;
    -webkit-animation: secondaryImageOverlayIn 0.4s 0s cubic-bezier(0.77, 0, 0.175, 1), secondaryImageOverlayOut 0.4s 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    animation: secondaryImageOverlayIn 0.4s 0s cubic-bezier(0.77, 0, 0.175, 1), secondaryImageOverlayOut 0.4s 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    z-index: -1;
}

.animate_b::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 120%;
    height: 100%;
    background-color: #141414;
    -webkit-animation: fadeIn 0.1s .5s;
    animation: fadeIn 0.1s .5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    z-index: -1;
}

.animate_b>* {
    /*アニメーションの設定*/
    -webkit-animation: fadeIn 0.1s 0.5s;
    animation: fadeIn 0.1s 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/*=======================================================
-- common --
=======================================================*/
html {
    font-size: 62.5%;
    /* 10px */
    font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    word-break: normal;
}

body {
    position: relative;
    font-size: 1.5rem;
    color: #141414;
    background: #fafafa;
    line-height: 1.8;
    letter-spacing: .4px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

p {
    line-height: 1.4;
    word-break: normal;
}

select,
input[type="text"],
input[type="tel"],
input[type="text"],
input[type="email"],
textarea {
    padding: 2px;
    border: 1px solid #B5B5B6;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

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

li {
    list-style: none;
}

img {
    vertical-align: bottom;
}

th {
    font-weight: normal;
}

.container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

/*=======================================================
-- header --
=======================================================*/
header h1 {
    width: 100%;
    font-size: 1.4rem;
    text-align: right;
    line-height: 1;
    margin: 1em 0 0;
    padding-right: 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

header .wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

header .wrap .logo_area {
    position: relative;
    max-width: 28%;
    margin-left: 50px;
}

header .wrap .logo_area img {
    width: 100%;
    height: auto;
}

header .wrap .logo_area .header_logo {
    display: block;
    margin: 8px 0;
}

header .wrap .logo_area .logo_text {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0;
}

/*=======================================================
-- footer --
=======================================================*/
footer {
    padding: 20px 0;
    background: linear-gradient(135deg, #141414 50%, #c30d23 50%);
}

footer .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

footer .container p {
    color: #fafafa;
}

footer .container .left {
    width: 50%;
}

footer .container .left ul {
    display: table;
    margin-bottom: 1em;
}

footer .container .left ul li {
    position: relative;
    display: table-cell;
    vertical-align: top;
}

footer .container .left ul li::after {
    content: "/";
    color: #C30D23;
    margin: 0 1em;
}

footer .container .left ul li:last-child::after {
    content: none;
}

footer .container .left ul li a {
    position: relative;
    display: inline-block;
    text-align: left;
    color: #fafafa;
    font-size: 1.4rem;
    overflow: hidden;
    -webkit-transition: all .2s .2s;
    transition: all .2s .2s;
}

footer .container .left ul li a::before {
    content: "";
    position: absolute;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 2px;
    margin: auto;
    background: #C30D23;
    -webkit-transition: all .2s;
    transition: all .2s;
}

footer .container .left ul li a:hover::before {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
}

footer .container .left .footer_logo img {
    max-width: 324px;
    width: 100%;
    height: auto;
}

footer .container .left .footer_logo p {
    margin-top: 4px;
    margin-bottom: 1em;
    font-size: 1.6rem;
    font-weight: bold;
}

footer .container .left .address {
    font-size: 1.4rem;
}

footer .container .left .address span {
    margin-left: 1em;
}

footer .container .left .address span:first-child {
    margin-left: 0;
}

footer .container .right {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

footer .container .right .text {
    width: 100%;
    text-align: center;
}

footer .container .right .text img {
    width: 100%;
    height: auto;
}

footer .container .right .footer_banner {
    max-width: 48%;
}

footer .container .right .footer_banner a {
    display: block;
    -webkit-transform: all .2s;
    transform: all .2s;
}

footer .container .right .footer_banner a:hover {
    opacity: .8;
}

footer .container .right .footer_banner a img {
    width: 100%;
    height: auto;
}

/*=======================================================
-- main menu--
=======================================================*/
#main_menu {
    position: relative;
    padding: 10px 30px;
    /* sp */
}

#main_menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 120%;
    height: 100%;
    background: #141414;
    -webkit-transform: skewX(-35deg);
    transform: skewX(-35deg);
    z-index: -1;
}

#main_menu ul {
    display: table;
}

#main_menu ul li {
    position: relative;
    text-align: center;
    display: table-cell;
    padding: 0 1.6em;
    vertical-align: middle;
}

#main_menu ul li a {
    -webkit-transition: all .2s;
    transition: all .2s;
}

#main_menu ul li a span {
    -webkit-transition: all .2s;
    transition: all .2s;
}

#main_menu ul li a:hover {
    color: #C30D23;
}

#main_menu ul li a:hover span {
    color: #C30D23;
}

#main_menu ul li:nth-child(-n+3)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 60%;
    margin: auto 0;
    background: #C30D23;
    -webkit-transform: skewX(-30deg);
    transform: skewX(-30deg);
}

#main_menu ul li a {
    position: relative;
    display: block;
    color: #fafafa;
    text-decoration: none;
    line-height: 1;
    overflow: hidden;
}

#main_menu ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #C30D23;
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    -webkit-transition: all .2s;
    transition: all .2s;
}

#main_menu ul li a:hover::after {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

#main_menu ul li a span {
    display: block;
    margin-bottom: 2px;
    font-size: 1.4rem;
    color: #fafafa;
}

#main_menu ul li.mail {
    padding: 0;
}

#main_menu ul li.mail a {
    position: relative;
    display: block;
    overflow: hidden;
}

#main_menu ul li.mail a img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
}

#main_menu ul li.mail a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #C30D23;
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    -webkit-transition: all .2s;
    transition: all .2s;
    z-index: 999;
}

#main_menu ul li.mail a:hover::after {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
}

/*sp toggle*/
#menu-trigger {
    position: fixed;
    top: 48px;
    right: 30px;
    width: 40px;
    height: 40px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #141414;
    cursor: pointer;
    -webkit-transform: skew(-20deg, 0);
    transform: skew(-20deg, 0);
    -webkit-transition: all .2s;
    transition: all .2s;
    display: none;
    -webkit-box-shadow: 4px 4px 0 #c30d23;
    box-shadow: 4px 4px 0 #c30d23;
    z-index: 9999;
}

#menu-trigger i {
    position: absolute;
    width: 60%;
    height: 2px;
    margin: auto;
    left: 0;
    right: 0;
    background: #C30D23;
    -webkit-transition: all .2s .2s;
    transition: all .2s .2s;
}

#menu-trigger i.top {
    top: 30%;
}

#menu-trigger i.middle {
    top: 0;
    bottom: 0;
    -webkit-transition: all .2s 0s;
    transition: all .2s 0s;
}

#menu-trigger i.bottom {
    bottom: 30%;
}

#menu-trigger.close {
    background: #C30D23;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#menu-trigger.close i {
    background: #fafafa;
}

#menu-trigger.close i.top {
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg);
}

#menu-trigger.close i.middle {
    -webkit-transform: translate(50%, 0);
    transform: translate(50%, 0);
}

#menu-trigger.close i.bottom {
    -webkit-transform: rotate(-150deg);
    transform: rotate(-150deg);
}

/*=======================================================
-- top image --
=======================================================*/
#top_image {
    position: relative;
    width: 100%;
    margin-bottom: 100px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    text-align: right;
}

#top_image .main_message {
    width: 120%;
    margin: 100px auto 140px;
    z-index: 1;
    -webkit-transform: skew(-20deg, -5deg) translate(-10%, 0);
    transform: skew(-20deg, -5deg) translate(-10%, 0);
}

#top_image .main_message .images {
    background: #C30D23;
    padding: 10px 0;
}

#top_image .main_message .images img {
    position: relative;
    display: block;
    width: 64%;
    height: auto;
    margin-left: 18%;
    margin-bottom: 10px;
}

#top_image .main_message .images img:nth-child(1) {
    max-width: 735px;
    width: 35%;
}

#top_image .main_message .images img:nth-child(2) {
    margin-left: 24%;
    max-width: 566px;
    width: 30%;
}

#top_image .bline {
    position: absolute;
    top: 100px;
    width: 120%;
    height: 30%;
    padding: 10px 0;
    z-index: -1;
    overflow: visible;
    -webkit-transform: skew(20deg, 5deg) translate(-10%, 0);
    transform: skew(20deg, 5deg) translate(-10%, 0);
}

#top_image .bline::after {
    background: #141414;
}

#top_image .bline::before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 120%;
    height: 100%;
    background-color: #141414;
    -webkit-animation: fadeIn 0.1s .5s;
    animation: fadeIn 0.1s .5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    z-index: -1;
}

#top_image .main_image {
    position: absolute;
    top: -50px;
    right: 0;
    width: 51%;
    height: auto;
    z-index: 10;
}

#top_image h2 {
    position: relative;
    width: 38%;
    margin-left: 10%;
    margin-bottom: 50px;
    text-align: left;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 2em;
    z-index: 20;
}

#top_image .rec_banner {
    position: absolute;
    right: 10%;
    bottom: 0;
    max-width: 60%;
    z-index: 12;
}

#top_image .rec_banner a {
    position: relative;
    display: block;
    max-width: 346px;
    z-index: 2;
    -webkit-transition: all .2s;
    transition: all .2s;
}

#top_image .rec_banner a:hover {
    -webkit-animation: swing 1s 1;
    animation: swing 1s 1;
}

#top_image .rec_banner a:hover::after {
    -webkit-transform: translate(4px, 4px);
    transform: translate(4px, 4px);
}

#top_image .rec_banner a img {
    position: relative;
    display: block;
    z-index: 2;
    width: 100%;
    height: auto;
}

#top .top_pride {
    margin-top: 200px;
    overflow: inherit;
}

#top .top_pride h3 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: 100%;
    margin: 0 auto 7em;
}

#top .top_pride h3 img {
    display: inline-block;
    width: 48%;
    height: auto;
    padding: 0;
    overflow: inherit;
}

#top .top_pride h3 img:last-child {
    -webkit-transform: translate(0, -30%);
    transform: translate(0, -30%);
}

#top .top_pride .column_three {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-top: 30px;
}

#top .top_pride .column_three .wrap {
    width: calc(33% - 3px);
}

#top .top_pride .column_three .wrap:nth-child(1) {
    -webkit-transform: translate(0, -30px);
    transform: translate(0, -30px);
}

#top .top_pride .column_three .wrap:nth-child(2) {
    -webkit-transform: translate(0, -60px);
    transform: translate(0, -60px);
}

#top .top_pride .column_three .wrap:nth-child(3) {
    -webkit-transform: translate(0, -90px);
    transform: translate(0, -90px);
}

#top .top_pride .column_three .wrap:nth-child(4) {
    -webkit-transform: translate(0, -120px);
    transform: translate(0, -120px);
}

#top .top_pride .column_three .wrap:nth-child(5) {
    -webkit-transform: translate(0, -150px);
    transform: translate(0, -150px);
}

#top .top_pride .column_three .wrap:nth-child(6) {
    -webkit-transform: translate(0, -180px);
    transform: translate(0, -180px);
}

#top .top_pride .column_three .wrap {
    position: relative;
}

#top .top_pride .column_three .wrap:nth-child(1) .image {
    background-image: url(../img/top/pride01_image.png);
}

#top .top_pride .column_three .wrap:nth-child(2) .image {
    background-image: url(../img/top/pride02_image.png);
}

#top .top_pride .column_three .wrap:nth-child(3) .image {
    background-image: url(../img/top/pride03_image.png);
}

#top .top_pride .column_three .wrap .back_red {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #C30D23;
}

#top .top_pride .column_three .wrap .back_red .pride_no {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translate(1em, -50%);
    transform: translate(1em, -50%);
}

#top .top_pride .column_three .wrap .back_red .icon {
    margin-bottom: 1em;
}

#top .top_pride .column_three .wrap .back_red h4 {
    font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    color: #fafafa;
    font-size: 2.8rem;
}

#top .top_pride .column_three .wrap .image {
    position: relative;
    top: -40px;
    width: 100%;
    height: 278px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    z-index: 3;
}

#top .top_pride .column_three .wrap .image::after {
    content: url(../img/common/icon_arrow01.svg);
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    margin: auto 0;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    -webkit-transform: translate(0, -13px);
    transform: translate(0, -13px);
    z-index: 999;
}

#top .top_pride .column_three .wrap .image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    max-width: 90%;
    height: auto;
    margin: auto;
}

#top .top_pride .column_three .wrap .back_gray {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: -80px;
    padding: 60px 1em 30px;
    background: #313131;
    z-index: 2;
}

#top .top_pride .column_three .wrap .back_gray p {
    margin: 0 auto 30px;
    padding: 10px;
    color: #fafafa;
    line-height: 1.8;
}

#top .top_pride .column_three .wrap .back_gray .button_red {
    position: relative;
    display: block;
    width: 366px;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 2px;
    overflow: hidden;
    background: #C30D23;
    z-index: 1;
}

#top .top_pride .column_three .wrap .back_gray .button_red::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: #141414;
    z-index: 1;
    -webkit-transition: all .2s .1s;
    transition: all .2s .1s;
}

#top .top_pride .column_three .wrap .back_gray .button_red:hover::before {
    left: 0;
}

#top .top_pride .column_three .wrap .back_gray .button_red a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 1em 1em;
    text-align: center;
    color: #fafafa;
    line-height: 1em;
    font-weight: bold;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s;
    transition: all .2s;
    z-index: 2;
}

#top .top_pride .column_three .wrap .back_gray .button_red a::after {
    content: url(../img/common/icon_arrow02.svg);
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    top: 0;
    bottom: 0;
    right: 1em;
    margin: auto 0;
}

#top .top_pride .column_three .wrap .back_gray .button_red a:hover {
    letter-spacing: 5px;
}

#top .banner_area {
    position: relative;
    margin: 0 auto;
    text-align: center;
    margin: 100px auto;
}

#top .banner_area a {
    position: relative;
    display: block;
    overflow: hidden;
}

#top .banner_area a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #141414 50%, #c30d23 50%);
    z-index: -1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

#top .banner_area a:hover::before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

#top .banner_area img {
    width: 100%;
    height: auto;
}

#top #gmap {
    width: 100%;
    height: 316px;
}

#top #gmap iframe {
    width: 100%;
}

/*=======================================================
-- sub page common --
=======================================================*/
.sub_page #page_title {
    position: relative;
    font-size: 2.8rem;
    color: #fafafa;
    text-align: center;
    font-weight: bold;
    margin: 60px auto 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: skew(-10deg, -2deg) translate(-3%, 0);
    transform: skew(-10deg, -2deg) translate(-3%, 0);
    width: 106%;
}

.sub_page #page_title h2 {
    position: relative;
    padding: .5em 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #C30D23;
}

.sub_page #page_title::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    padding: 1em 0;
    background: #141414;
}

.sub_page #page_title .sub_ttl {
    position: relative;
    display: inline-block;
    padding: .4em 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 2.8rem;
    line-height: 1;
}

.sub_page .read_txt {
    display: block;
    width: 100%;
    margin-bottom: 60px;
    padding: .4em 0;
    text-align: center;
    font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-weight: bold;
    font-size: 2.8rem;
    line-height: 1.8;
}

.sub_page .read_txt .emp {
    color: #C30D23;
}

.sub_page .read_txt .emp2 {
    color: #C30D23;
    font-size: 22px;
}

.sub_page .page_sec_ttl {
    position: relative;
    margin: 0 auto 30px;
    padding-left: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    color: #C30D23;
    font-size: 2.8rem;
}

.sub_page .page_sec_ttl .separator_txt {
    display: inline-block;
    -webkit-transform: skewX(-30deg);
    transform: skewX(-30deg);
}

.sub_page .page_sec_ttl .page_sec_ttl_sub {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
}

.sub_page .page_sec_ttl::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 10px;
    height: 100%;
    margin: auto 0;
    background: linear-gradient(135deg, #141414 50%, #c30d23 50%);
}

.sub_page #main-content section {
    max-width: 960px;
    margin: 0 auto 60px;
}

/*=======================================================
-- 業務案内 --
=======================================================*/

#business #main-content .can ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 3em;
}

#business #main-content .can ul li {
    position: relative;
    width: 24%;
    padding: 2em 1em 1em 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 2rem;
    font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-weight: bold;
    border: 1px solid #c30d23;
}

#business #main-content .can ul li img {
    max-width: 100%;
    height: auto;
}

#business #main-content .can ul li .no {
    position: absolute;
    top: -1em;
    left: 1em;
    margin: 0 auto;
}

#business #main-content .kojin p {
    line-height: 2;
    font-size: 1.6rem;
}

#business #main-content .uriage .grapha img {
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 60px auto;
}

#business #main-content .biz .biz_icons {
    max-width: 960px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#business #main-content .biz .biz_icons img {
    width: 23%;
    height: auto;
}

#business #main-content .biz p {
    margin-top: 30px;
}

#business #main-content .car .stock_car_area,
#business #main-content .warehouse .warehouse_area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: strech;
    -ms-flex-align: strech;
    align-items: strech;
    max-width: 960px;
    margin: 30px auto 0;
}

#business #main-content .car .stock_car_area figure {
    width: calc(33% - 5px);
    max-width: 313px;
    margin-bottom: 10px;
}

#business #main-content .warehouse .warehouse_area figure {
    width: calc(50% - 5px);
    max-width: 475px;
    margin-bottom: 10px;
}

#business #main-content .car .stock_car_area figure img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

#business #main-content .warehouse .warehouse_area figure img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

#business #main-content .car .stock_car_area figure figcaption {
    padding: 4px .5em;
    background: #C30D23;
    color: #fafafa;
    text-align: center;
    font-weight: bold;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#business #main-content .warehouse .warehouse_area figure figcaption {
    padding: 4px .5em;
    background: #C30D23;
    color: #fafafa;
    text-align: center;
    font-weight: bold;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*=======================================================
-- 会社案内 --
=======================================================*/
#company #main-content .message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}


#company #main-content .message .images {
    float: left;
    max-width: 620px;
    width: 46%;
    margin-right: 1em;
    margin-bottom: 1em;
    margin-top: .5em;
}

#company #main-content .message .images img {
    width: 100%;
    height: auto;
}

#company #main-content .message .wrap {
    width: 100%;
    text-align: right;
}

#company #main-content .message h3 {
    width: 100%;
    margin-bottom: 1em;
    text-align: left;
}

#company #main-content .message .wrap h3 .resp_img {
    width: 100%;
    height: auto;
    max-width: 163px;
}

#company #main-content .message .wrap h3 .resp_img img {
    width: 100%;
    height: auto;
}

#company #main-content .message .wrap p {
    text-align: left;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 0;
}

#company #main-content .message .wrap p .comp_greeting_txt_l {
    font-size: 2.8rem;
}

#company #main-content .message .wrap p .emp {
    display: inline-block;
    color: #C30D23;
}

#company #main-content .rinen .flex3 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

#company #main-content .rinen .flex3 figure {
    width: 30%;
    border: 1px solid #313131;
    padding: 2em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#company #main-content .rinen .flex3 figure img {
    max-width: 288px;
    width: 100%;
    height: auto;
}

#company #main-content .rinen .flex3 figure figcaption {
    position: relative;
    margin-top: 1em;
    font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    padding-top: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: bold;
    text-align: center;
}

#company #main-content .rinen .flex3 figure figcaption span {
    display: inline-block;
    color: #c30d23;
}

#company #main-content .rinen .flex3 figure figcaption::before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 2em;
    max-width: 100%;
    height: 1px;
    background: #C30D23;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#company #main-content #safety .safety_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 30px;
}

#company #main-content #safety .safety_wrap figure,
#company #main-content #safety .safety_wrap .wrap {
    width: 24%;
    height: auto;
    text-align: center;
}

#company #main-content #safety .safety_wrap figure img,
#company #main-content #safety .safety_wrap .wrap img {
    width: 100%;
    height: auto;
}

#company #main-content #safety .safety_wrap .note {
    text-align: center;
    width: 100%;
}

#company #main-content #safety .safety_wrap .title {
    font-size: 1.2em;
    font-weight: 700;
}

#company #main-content #safety .safety_wrap video {
    width: 100%;
}

#company #main-content .prof .tbl_m {
    width: 100%;
    border: 1px solid #b5b5b6;
    border-collapse: collapse;
    vertical-align: middle;
}

#company #main-content .prof .tbl_m th,
#company #main-content .prof .tbl_m td {
    padding: 13px 20px 13px 20px;
    border: 1px solid #b5b5b6;
}

#company #main-content .prof .tbl_m td span.memo {
    font-size: 12px;
    text-align: right;
}

#company #main-content .prof .tbl_m th {
    width: 30%;
    background: #efefef;
}

#company #main-content .history .tbl_m {
    width: 100%;
    border: 1px solid #b5b5b6;
    border-collapse: collapse;
    vertical-align: middle;
}

#company #main-content .history .tbl_m th,
#company #main-content .history .tbl_m td {
    padding: 13px 20px 13px 20px;
    border: 1px solid #b5b5b6;
}

#company #main-content .history .tbl_m th {
    width: 30%;
    background: #efefef;
}

#company #main-content .access p {
    margin-bottom: 1em;
}

#company #main-content .access p .shiten {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
}

#company #main-content .access .ggmap {
    margin-bottom: 20px;
}

#company #main-content .access .ggmap iframe {
    width: 100%;
}

#company #main-content .access .map_shiten {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#company #main-content .access .map_shiten .map_w50 {
    width: 48%;
    margin-top: 2em;
}

/*=======================================================
-- お問い合わせ --
=======================================================*/
#inquiry #main-content .form .tbl_m {
    width: 100%;
    border: 1px solid #b5b5b6;
    border-collapse: collapse;
}

#inquiry #main-content .form .tbl_m th,
#inquiry #main-content .form .tbl_m td {
    text-align: left;
    padding: 13px 20px 13px 20px;
    border-left: 1px solid #b5b5b6;
    border-bottom: 1px solid #b5b5b6;
    vertical-align: middle;
}

#inquiry #main-content .form .tbl_m th p,
#inquiry #main-content .form .tbl_m td p {
    text-align: left;
}

#inquiry #main-content .form .tbl_m th {
    width: 30%;
    background: #efefef;
}

#inquiry #main-content .form .tbl_m th .emp {
    color: #C30D23;
    font-size: 1.4rem;
}

#inquiry #main-content .form .tbl_m td input[type="text"],
#inquiry #main-content .form .tbl_m td input[type="tel"],
#inquiry #main-content .form .tbl_m td input[type="email"],
#inquiry #main-content .form .tbl_m td textarea {
    width: 80%;
}

#inquiry #main-content .form .tbl_m td textarea {
    height: 15em;
}

#inquiry #main-content .form .tbl_m td:nth-child(n + 3) {
    border-left: none;
}

#inquiry #main-content .form .tbl_m td .frm_note {
    font-size: 1.4rem;
    color: #313131;
}

#inquiry #main-content .form p.note {
    margin: 1em;
    text-align: center;
}

#inquiry #main-content .form p.note .emp {
    color: #C30D23;
}

#inquiry #main-content .form .btn_inq_submit {
    position: relative;
    display: block;
    width: 90%;
    max-width: 366px;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 2px;
    overflow: hidden;
}

#inquiry #main-content .form .btn_inq_submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

#inquiry #main-content .form .btn_inq_submit::after {
    opacity: 0;
    background: #C30D23;
}

#inquiry #main-content .form .btn_inq_submit:hover::after {
    opacity: 1;
    -webkit-animation: secondaryImageOverlayIn 0.4s 0s cubic-bezier(0.77, 0, 0.175, 1);
    animation: secondaryImageOverlayIn 0.4s 0s cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

#inquiry #main-content .form .btn_inq_submit:hover input {
    color: #fafafa;
    letter-spacing: 2px;
}

#inquiry #main-content .form .btn_inq_submit input {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 1em 1em;
    text-align: center;
    color: #C30D23;
    border: 1px solid #C30D23;
    line-height: 1em;
    font-weight: bold;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s;
    transition: all .2s;
    z-index: 2;
}

/*=======================================================
-- 採用情報 --
=======================================================*/
#recruit #main-content .yoko .tbl_m {
    width: 100%;
    border: 1px solid #b5b5b6;
    border-collapse: collapse;
    vertical-align: middle;
    margin-bottom: 2em;
}

#recruit #main-content .yoko .tbl_m th,
#recruit #main-content .yoko .tbl_m td {
    padding: 13px 20px 13px 20px;
    border: 1px solid #b5b5b6;
}

#recruit #main-content .yoko .tbl_m th {
    width: 30%;
    background: #efefef;
}

#recruit #main-content .button_red {
    position: relative;
    display: block;
    width: 366px;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 2px;
    overflow: hidden;
    background: #C30D23;
    z-index: 1;
}

#recruit #main-content .button_red::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: #141414;
    z-index: 1;
    -webkit-transition: all .2s .1s;
    transition: all .2s .1s;
}

#recruit #main-content .button_red:hover::before {
    left: 0;
}

#recruit #main-content .button_red a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 1em 1em;
    text-align: center;
    color: #fafafa;
    line-height: 1em;
    font-weight: bold;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s;
    transition: all .2s;
    z-index: 2;
}

#recruit #main-content .button_red a::after {
    content: url(../img/common/icon_arrow02.svg);
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    top: 0;
    bottom: 0;
    right: 1em;
    margin: auto 0;
}

#recruit #main-content .button_red a:hover {
    letter-spacing: 5px;
}

#recruit #main-content #staff {
    margin: 60px auto;
    counter-reset: section;
}

#recruit #main-content #staff .rec_staff_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    position: relative;
    margin: 0 auto 6em;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_pic {
    width: 40%;
    height: auto;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_pic img {
    width: 100%;
    height: auto;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg {
    width: 60%;
    padding-left: 5%;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg::before {
    content: "STAFF0" counter(section);
    counter-increment: section;
    font-family: 'Anton', sans-serif;
    font-size: 7rem;
    letter-spacing: .1em;
    line-height: 1;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg .mg_ttl {
    margin: 2rem 0;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg .mg_ttl span {
    position: relative;
    display: inline-block;
    padding: 0 .4em;
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 400;
    color: #efefef;
    overflow: hidden;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg .mg_ttl span:nth-child(n + 2) {
    margin-top: 0.2em;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg .mg_ttl span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #C30D23;
    z-index: -1;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg .rec_staff_txt {
    line-height: 1.8;
}

#recruit #main-content #staff .rec_staff_box .rec_staff_msg .name {
    margin-top: 1rem;
    font-size: 2.2rem;
    text-align: right;
    font-weight: bold;
}


#recruit #main-content #event .event_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#recruit #main-content #event .event_wrap+.event_wrap {
    margin-top: 60px;
}

#recruit #main-content #event .page_sec {
    width: 100%;
}

#recruit #main-content #event .event_wrap .images {
    display: block;
    width: 32%;
    height: auto;
    margin-bottom: 1em;
}

#recruit #main-content #event .event_wrap .images img {
    width: 100%;
    height: auto;
}

/*banner 追加*/
#recruit .banner-area {
    display: flex;
    flex-wrap: wrap;

    /* バナーの数1つに変更 */
    justify-content: center;

    /* バナーの数2つ用
    justify-content: space-between;*/
    align-items: stretch;
    margin: 6rem auto 0;
}

#recruit .banner-area a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49%;
    max-width: 460px;
    padding: 4px 0;
    box-sizing: border-box;
    text-align: center;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    overflow: hidden;
}

#recruit .banner-area a .banner-ttl {
    position: absolute;
    font-size: 2.8rem;
    color: #fafafa;
    font-weight: bold;
    z-index: 30;
}

#recruit .banner-area a .banner-ttl-sub {
    display: block;
    font-size: 2rem;
    color: #fafafa;
    font-weight: bold;
}

#recruit .banner-area a img {
    position: relative;
    max-width: calc(100% - 8px);
    z-index: 20;
    transition: all .2s;
}

#recruit .banner-area a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #141414 50%, #c30d23 50%);
    z-index: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

#recruit .banner-area a:hover::before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

#recruit .banner-area a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: auto;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: rgba(20, 20, 20, .5);
    z-index: 25;
    transition: all .2s;
}

#recruit .banner-area a:hover::after {
    background: rgba(20, 20, 20, 0);
}

#company #main-content #safety .event_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 30px auto;
}

#company #main-content #safety .event_wrap p {
    width: 100%;
}

#company #main-content #safety .event_wrap .images {
    display: block;
    width: 32%;
    height: auto;
    margin-bottom: 1em;
}

#company #main-content #safety .event_wrap .images img {
    width: 100%;
    height: auto;
}

#company #main-content #safety .safety_video {
    width: 70%;
}

#company #main-content #safety .event_wrap .video {
    width: 66%;
    height: 240px;
}

#company #main-content #safety .event_wrap .video video {
    width: 68%;
}

@media screen and (max-width: 1200px) {
    html {
        margin: 0;
    }

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: hidden;
    }

    header h1 {
        text-align: left;
        margin-left: 50px;
        margin-bottom: 1em;
        line-height: 1.2em;
    }

    header .wrap .logo_area {
        max-width: 80%;
    }

    #main_menu {
        display: block;
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        margin: 0 auto;
        padding: 0;
        z-index: 9999;
        left: -100%;
    }

    #main_menu::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(20, 20, 20, 0.99);
        z-index: -1;
    }

    #main_menu::after {
        width: 100%;
        background: #C30D23;
        -webkit-transform: none;
        transform: none;
    }

    #main_menu.open {
        -webkit-transition: all .4s;
        transition: all .4s;
        left: 0;
    }

    #main_menu.open ul {
        display: block;
        margin: 100px auto;
        padding: 0;
    }

    #main_menu.open ul li {
        display: block;
        width: 100%;
        margin: 3em auto;
        padding: 0;
        text-align: center;
    }

    #main_menu.open ul li::after {
        content: none;
    }

    #main_menu.open ul li a {
        display: inline-block;
        margin: 0 auto;
        padding: 6px 0;
        text-align: center;
        color: #fafafa;
        font-size: 2rem;
        font-weight: bold;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #main_menu.open ul li a span {
        margin: 6px auto;
        color: #C30D23;
        text-align: center;
    }

    #main_menu.open ul li.mail a {
        max-width: 80%;
        width: 320px;
        padding: 0;
        border: 1px solid #fafafa;
    }

    #menu-trigger {
        display: block;
    }

    #top_image .main_message .images img {
        margin-left: 14%;
    }

    #top_image .bline {
        top: 10%;
    }

    #top_image .main_image {
        width: 50%;
        margin-left: 50%;
    }

    #top_image h2 {
        width: 50%;
        font-size: 2rem;
        margin-bottom: 10%;
        margin-left: 5%;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    #top_image h2 br {
        display: none;
    }

    #top_image .rec_banner {
        max-width: 30%;
        right: 5%;
        bottom: 10%;
        -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
        order: 4;
    }

    #top .top_pride {
        margin-top: 100px;
    }

    #top .top_pride h3 {
        max-width: 90%;
    }
}

@media screen and (max-width: 960px) {
    html {
        margin: 0;
    }

    .sub_page .read_txt span br {
        display: none;
    }

    #top .top_pride .column_three .wrap .image {
        height: 320px;
    }
}

@media screen and (max-width: 768px) {
    html {
        margin: 0;
        font-size: 50%;
    }

    header {
        padding: 0 1em;
    }

    header h1 {
        width: 100%;
        max-width: 1200px;
        height: auto;
        margin: 0 auto;
        margin: 1em 0;
        font-size: 1.2rem;
    }

    header .wrap .logo_area {
        width: 100%;
        max-width: 1200px;
        height: auto;
        margin: 0 auto;
    }

    header .wrap .logo_area img {
        max-width: 70%;
    }

    header .wrap .logo_area .logo_text {
        max-width: 70%;
    }

    footer .container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowap;
        flex-wrap: nowap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        text-align: center;
    }

    footer .container .left {
        display: block;
        width: 100%;
    }

    footer .container .left ul {
        display: block;
        margin: 0 auto 1em;
    }

    footer .container .left ul li {
        display: inline-block;
        text-align: center;
    }

    footer .container .right {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    footer .container .right .text {
        max-width: 80%;
        margin: 2em auto 1em;
    }

    #top_image {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        height: auto;
        margin-bottom: 2em;
    }

    #top_image .main_message {
        position: relative;
        top: 2em;
        overflow: visible;
    }

    #top_image .main_message {
        margin-bottom: 0;
    }

    #top_image .main_message .images {
        width: 120%;
        -webkit-transform: translate(0%, 0);
        transform: translate(0%, 0);
    }

    #top_image .main_message .images img {
        margin-left: 12%;
    }

    #top_image .main_message .images img:nth-child(1) {
        max-width: 100%;
        width: 73%;
    }

    #top_image .main_message .images img:nth-child(2) {
        max-width: 100%;
        width: 70%;
        margin-left: 14%;
    }

    #top_image .bline {
        height: 16%;
    }

    #top_image .main_image {
        position: static;
        width: 80%;
        margin-left: 20%;
    }

    #top_image h2 {
        top: 0;
        width: 100%;
        margin: 1em auto;
        padding: 0 5%;
        text-align: center;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #top_image .rec_banner {
        position: relative;
        max-width: 60%;
        right: inherit;
        top: 0;
        bottom: inherit;
        margin: 0 auto;
    }

    #top_image .rec_banner a:hover {
        -webkit-animation: none;
        animation: none;
    }

    #top .top_pride {
        margin-top: 50px;
    }

    #top .top_pride h3 img {
        width: 100%;
    }

    #top .top_pride h3 img:first-child {
        width: 50%;
        -webkit-transform: translate(0, 140%);
        transform: translate(0, 140%);
    }

    #top .top_pride h3 img:last-child {
        -webkit-transform: translate(0, 0%);
        transform: translate(0, 0%);
    }

    #top .top_pride .column_three .wrap:nth-child(1) {
        -webkit-transform: translate(0, 0px);
        transform: translate(0, 0px);
    }

    #top .top_pride .column_three .wrap:nth-child(2) {
        -webkit-transform: translate(0, 0px);
        transform: translate(0, 0px);
    }

    #top .top_pride .column_three .wrap:nth-child(3) {
        -webkit-transform: translate(0, 0px);
        transform: translate(0, 0px);
    }

    #top .top_pride .column_three .wrap:nth-child(4) {
        -webkit-transform: translate(0, 0px);
        transform: translate(0, 0px);
    }

    #top .top_pride .column_three .wrap:nth-child(5) {
        -webkit-transform: translate(0, 0px);
        transform: translate(0, 0px);
    }

    #top .top_pride .column_three .wrap:nth-child(6) {
        -webkit-transform: translate(0, 0px);
        transform: translate(0, 0px);
    }

    #top .top_pride .column_three .wrap {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        margin-bottom: 100px;
    }

    #top .top_pride .column_three .wrap:last-child {
        margin-bottom: 0;
    }

    #top .top_pride .column_three .wrap .back_red {
        width: 100%;
        padding-bottom: 40px;
    }

    #top .top_pride .column_three .wrap .image {
        width: 100%;
        z-index: -1;
    }

    #top .top_pride .column_three .wrap .image img {
        width: 72%;
        height: auto;
        margin: auto;
    }

    #top .top_pride .column_three .wrap .back_gray {
        padding-top: 0;
        text-align: center;
        font-size: 2rem;
    }

    #top .top_pride .column_three .wrap .back_gray p {
        margin: 1em auto;
    }

    #top .banner_area {
        margin: 40px auto;
    }

    .sub_page .read_txt {
        margin-bottom: 2em;
        font-size: 2rem;
    }

    .sub_page .read_txt br {
        display: none;
    }

    .sub_page .page_sec_ttl {
        margin-bottom: 1em;
        line-height: 1;
    }

    .sub_page #main-content section {
        margin-bottom: 2em;
    }

    #business #main-content .uriage .grapha img {
        margin: 1em auto 0;
    }

    #business #main-content .biz p {
        margin-top: 1em;
    }

    #business #main-content .car .stock_car_area figure {
        width: 48%;
    }


    #business #main-content .can ul li {
        width: 48%;
        margin-bottom: 2em;
    }

    #company #main-content .message .images {
        width: 100%;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    #company #main-content .message .wrap {
        width: 100%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    #company #main-content #safety .safety_wrap figure,
    #company #main-content #safety .safety_wrap .wrap {
        width: 48%;
        margin-bottom: 1em;
    }

    #recruit #main-content #staff {
        margin-bottom: 4em;
    }

    #recruit #main-content #staff .rec_staff_box {
        margin-bottom: 0;
    }

    #recruit #main-content #staff .rec_staff_box .rec_staff_pic {
        width: 100%;
        max-width: 740px;
    }

    #recruit #main-content #staff .rec_staff_box .rec_staff_msg {
        position: relative;
        top: -6rem;
        width: 100%;
        padding: 0 1em;
        margin-bottom: 1em;
    }

    #recruit #main-content #staff .rec_staff_box .rec_staff_msg .mg_ttl span {
        font-size: 5.5vw;
    }

    #recruit #main-content #staff .rec_staff_box .rec_staff_msg::before {
        font-size: 14vw;
    }

    #recruit #main-content #staff .rec_staff_box .rec_staff_msg p {
        font-size: 1.8rem;
    }

    #recruit .banner-area {
        justify-content: center;
    }

    #recruit .banner-area a {
        width: 100%;
    }

    #recruit .banner-area a+a {
        margin-top: 2rem;
    }

}

@media screen and (max-width: 480px) {
    html {
        margin: 0;
    }

    #top .top_pride .column_three .wrap .image img {
        width: 90%;
    }

    #company #main-content .rinen .flex3 figure {
        width: 100%;
        max-width: 80%;
        margin: 1em auto;
        text-align: center;
    }

    #company #main-content .access .map_shiten .map_w50 {
        width: 100%;
    }

    #inquiry #main-content .form .tbl_m th,
    #inquiry #main-content .form .tbl_m td {
        padding: .5em;
    }

    #inquiry #main-content .form .tbl_m td input[type="text"],
    #inquiry #main-content .form .tbl_m td input[type="tel"],
    #inquiry #main-content .form .tbl_m td input[type="email"],
    #inquiry #main-content .form .tbl_m td textarea {
        width: 100%;
    }

    #recruit #main-content #event .event_wrap .images {
        width: 48%;
    }
}

@media screen and (max-width: 380px) {
    #top .top_pride .column_three .wrap .image {
        height: 370px;
    }
}

@media screen and (max-width: 768px) and (max-width: 1200px) {
    header h1 {
        padding-left: 2rem;
        padding-right: 2rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: hidden;
    }

    header .wrap .logo_area {
        padding-left: 2rem;
        padding-right: 2rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: hidden;
    }
}

.video:hover img {
    opacity: 0.7;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.video img {
    opacity: 1;
    -webkit-transition: all .5s;
    transition: all .5s;
}

#top .movie {
    margin: 20px auto;
    text-align: center;
}

#top .movie video {
    width: 100%;
    max-width: 1280px;
}