/*  --------------------------------------------------
        :: Global Reset & Standards
-------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}
html {
    font-size: 62.5%;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}



/* 初期設定
================================================== */
body {
    font-family: 'Yu Gothic Medium', '游ゴシック Medium', YuGothic, 'ヒラギノ角ゴ Pro', Hiragino Kaku Gothic Pro, '游ゴシック体', 'メイリオ', Meiryo, sans-serif !important;
    font-weight: 500;
    font-feature-settings: "palt";
    color: #444;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    font-size: 16px;
    line-height: 1.7em;
    background: #fff;
    overflow-x: hidden;
}
a {
    color: #921e23;
    text-decoration: none;
    line-height: inherit;
}
a , a img {
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
    border: none;
}
a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}
p {
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.7em;
    text-align: justify;
}
p a, p a:visited {
    line-height: 1.6em;
}
img {
    margin: 0;
    vertical-align: top;
}
p img {
    margin: 0;
    text-align: center;
}
ul, ol {
    margin: 0;padding: 0;
}
ul {
    list-style: none outside;
}
ol {
    list-style: decimal;
}
ol, ul.square, ul.circle, ul.disc {
    margin-left: 1.5em;
}
ul.square {
    list-style: square outside;
}
ul.circle {
    list-style: circle outside;
}
ul.disc li:before {
    content:'●';
    margin-right: 5px;
    color: #921e23;
}
ul.disc li {
    font-size: 15px;
    text-indent: -1.3em;
}
ul.decimal {
    list-style: decimal;
}
ul.decimal li {
    font-size: 15px;
    margin-left: 1.3em;
    margin-bottom: 10px;
}

ul.decimal2 {
    list-style: none;
}
ul.decimal2 li {
    font-size: 15px;
    margin-left: 2em;
    margin-bottom: 20px;
}
ul.decimal2 li span.num {
    padding: 5px 8.5px;
    color: #fff;
    font-weight: bold;
    background: #000;
    margin-left: -2em;
    margin-right: 5px;
    border-radius: 100%;
}

strong {
    font-weight: bold;
    line-height: inherit;
}
.linkbox {
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    -o-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
}
.linkbox:hover {
    cursor: pointer;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}

@media only screen and (max-width: 767px) {
    p {
        font-size: 13px;
        line-height: 1.5em;
        text-align: justify;
    }
    p a, p a:visited {
        line-height: 1.3em;
    }
}

.mincho {
     font-family: 'Noto Serif JP','游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}



/* iframe埋め込み用
================================================== */
#blog_iframe, #blog_iframe1, #blog_iframe2 {
    width: 100%;
}
iframe {
    vertical-align: bottom;
}



/* グリッドシステム
================================================== */
.frame {
    padding: 0 20px;
    width: 100%;
    max-width: 1240px;
    min-width: 727px;
    margin: 0 auto;
    box-sizing: border-box;
}
.container {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}
.g1, .g15, .g2, .g25, .g3, .g4, .g5, .g6, .g7, .g8, .g9, .g10, .g11 {
    margin-right: 4%;
    min-height: 1px;
}
.g3_SP, .g4_SP, .g6_SP {
    margin-right: 4%;
    min-height: 1px;
}
.lc {
    margin-right: 0;
}

.container.reverse {
    flex-flow: row-reverse;
}
.container.reverse .lc {
    margin-right: 4%;
}
.container.reverse .reverse_lc {
    margin-right: 0;
}
.container.h_center {
    align-items: center;
}

.g1     { width: 4.666666666666667%; }
.g15    { width: 9%; }
.g2     { width: 13.333333333333334%; }
.g25    { width: 17.666666666666668%; }
.g3     { width: 22%; }
.g4     { width: 30.666666666666664%; }
.g5     { width: 39.33333333333333%; }
.g6     { width: 48%; }
.g7     { width: 56.666666666666664%; }
.g8     { width: 65.33333333333333%; }
.g9     { width: 74%; }
.g10    { width: 82.66666666666667%; }
.g11    { width: 91.33333333333333%; }
.g12    { width: 100%; }

.g3_SP  { width: 22%; }
.g4_SP  { width: 30.666666666666664%; }
.g6_SP  { width: 48%; }

.flex_end {
    justyify-content: flex-end;
}
.flex_center {
    justyify-content: center;
}

img, object, embed {
    max-width: 100%;
    height: auto;
    width:auto;
}
img {
    -ms-interpolation-mode: bicubic;
}

@media only screen and (max-width: 767px) {
    body {
        -webkit-text-size-adjust: none;
        -ms-text-size-adjust: none;
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .frame {
        display: block;
        min-width: 0;
        padding: 0 20px;
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    .g1, .g15, .g2, .g25, .g3, .g4, .g5, .g6, .g7, .g8, .g9, .g10, .g11, .g12 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .g3_SP  { width: 48%; }
    .g4_SP  { width: 48%; }
    .lc_SP {
        margin-right: 0;
    }
}



/* ヘッダー
================================================== */
header {
    display: block;
    position: fixed;
    width: 100%;
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
    z-index: 100;
    background: rgba(0,0,0,0.8);
}

/*
header {
    display: block;
    position: fixed;
    width: 100%;
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
    z-index: 100;
    background: linear-gradient(rgba(0,0,0,0.3), 75%, transparent);
}
header.children1 {
    background: linear-gradient(rgba(0,0,0,0.7), 90%, transparent);
}
header.children2 {
    background: linear-gradient(rgba(0,0,0,0.5), 90%, transparent);
}
header.kansai {
    background: linear-gradient(rgba(0,100,200,0.3), 90%, transparent);
}
header.tokyo {
    background: linear-gradient(rgba(130,170,200,0.8), 90%, transparent);
}
header.contact {
    background: linear-gradient(rgba(0,0,0,0.5), 90%, transparent);
} */


#header_logo {
    text-align: center;
    padding-top: 20px;
}
h1 {
    margin-top: 15px;
    font-family: 'Noto Serif JP','游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    letter-spacing: 8px;
    text-align: center;
}

nav {
    margin-top: 10px;
    display: block;
    width: 90%;
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
    z-index: 1000;
    padding: 0 5%;
}
nav ul {
	display: flex;
	justify-content: flex-start;
    -ms-flex-pack: start;
	margin: 0;
	list-style-type: none;
    width: 100%;
}
nav ul li {
    flex-grow: 1;
}
nav ul li a {
    display: block;
    margin-top: 15px;
    padding: 15px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3em;
    text-align: center;
    border-top: 1px solid #fff;
    box-sizing: border-box;
    position: relative;
}

nav ul li a:hover {
    color: #ccc;
}
nav ul li.logo a:hover {
    border-bottom: none;
}
nav ul li a:hover {
    border-top: 1px solid #fff;
}
nav ul li.current a {
    color: #ccc;
    border-top: 1px solid #921e23;
}
@media only screen and (max-width: 1200px) {
    nav ul {
        margin-right: 3%;
    }
    nav ul li.logo img {
        width: 40%;
        margin-left: 4%;
    }
    nav ul li a {
        padding: 15px 0;
        font-size: 14px;
    }
}
@media only screen and (max-width: 970px) {
    nav ul li a {
        padding: 15px 0;
        font-size: 12px;
        letter-spacing: -1px;
    }
}
@media only screen and (max-width: 767px) {
    nav {
        display: none;
    }
}

nav ul li ul {
    margin: 0 auto 0 auto;
    width: 100%;
    padding: 20px 10%;
    background: #fff;
    box-sizing: border-box;
}
nav ul li.current ul {
    margin: 0 0 0 0;
}
nav ul li ul li {
    margin: 0 1% 0 1%;
    width: 23%;
}
nav ul li ul li a {
    margin: 0 0 0 0;
    padding: 0 0 0 0!important;
    display: block;
    text-align: center;
    color: #333 !important;
    border-top: none !important;
}
nav ul li ul li a .num {
    display: inline-block;
    padding: 10px;
    font-family: 'Noto Serif JP','游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: 700;
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #fff;
    background: #921e23;
    border-radius: 20px;
    position: relative;
    top: -20px;
    margin-bottom: -10px;
}
nav ul li ul li a:before {
    content: '';
    display: block;
    position: absolute;
    top: 30%;
    right: -18px;
    width: 0;
    height: 0;
    border-left: 15px solid #444;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}
nav ul li ul li:last-child a:before {
    display: none;
}

/* OFF */
nav ul li ul {
    display: none;
}

/* ON */
nav ul li:hover ul {
    display: flex !important;
    position: absolute;
    left: 0;
    z-index: 2000;
    animation: submenu_on .1s ease;
}
@keyframes submenu_on {
    0%{
        opacity: 0;
        margin-top: -10px;
    }
    100%{
        opacity: 1;
        margin-top: 0;
    }
}

/* スクロール時 */
.fixed {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}
.fixed #header_logo {
    display: none;
}
.fixed h1 {
    display: none;
}
.fixed nav {
    margin-top: 0;
    background: rgb(0,0,0,0.8);
}
.fixed nav ul li a {
    padding: 15px 0;
    font-size: 14px;
}
@media only screen and (max-width: 960px) {
    .fixed nav ul li a {
        padding: 5px 0;
        font-size: 11px;
    }
}
@media only screen and (max-width: 767px) {
    .fixed {
        height: auto;
        background: none;
    }
}



/* スマホ用バーガーメニュー */
#SP_gnav_bg {
    display: none;
}
@media only screen and (max-width: 767px) {
    header  {
        position: static;
        z-index: 10000000;
        background: #000;
        height: auto;
    }
    #SP_gnav_bg {
        display: block;
    }
    #header_logo {
        padding: 15px 0 5px 0;
    }
    #header_logo img {
        width: 30%;
    }
    h1 {
        margin-top: 0;
        padding: 0 0 10px 0;
        font-size: 19px;
        letter-spacing: 3px;
    }
}

.drawer-overlay {
    background-color: rgba(255,255,255,0) !important;
}
.drawer-nav {
    color: #fff !important;
    background-color: #000 !important;
    width: 100% !important;
    box-sizing: border-box;
}
.drawer-nav .inner {
    padding: 40px 60px;
}
.drawer-nav ul {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: calc(100vh - 80px) !important;
}
.drawer-nav ul li {
    display: block;
    text-align: center;
    font-weight: bold;
    display: flex;
    width: 100%;
    height: 100%;
}
.drawer-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.6em;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
}
.drawer-nav ul li.children a, .drawer-nav ul li.children1 a, .drawer-nav ul li.children2 a, .drawer-nav ul li.children3 a {
    border-bottom: none;
}
.drawer-nav ul li.children1, .drawer-nav ul li.children2, .drawer-nav ul li.children3, .drawer-nav ul li.children4 {
    height: 70%;
}
.drawer-nav ul li.children1 a, .drawer-nav ul li.children2 a, .drawer-nav ul li.children3 a, .drawer-nav ul li.children4 a {
    font-size: 13px;
    font-weight: normal;
}
.drawer-nav ul li.contact a {
    border-bottom: none !important;
}
.drawer-nav ul li a:hover {
    background: #222;
}
.drawer-nav .inner ul li.current a {
    color: #fff;
    background: #921e23;
}





/* フッター お問い合わせ
================================================== */
#footer_contact {
    padding: 70px 0;
    background: #921e23;
}
#footer_contact h2 {
    font-family: 'Noto Serif JP','游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: 700;
    color: #fff;
    font-size: 50px;
    text-align: center;
}
#footer_contact .lead {
    margin-top: 20px;
    font-size: 24px;
    color: #fff;
    text-align: center;
}
#footer_contact .inner {
    margin-top: 30px;
    padding: 50px;
    background: #fff;
    border-radius: 8px;
}
#footer_contact .inner p {
    text-align: center;
}
#footer_contact .inner p.logo {
    margin-bottom: 20px;
}
#footer_contact .inner p.tel a {
    font-family: 'Noto Serif JP','游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: 700;
    color: #921e23;
    font-size: 60px;
}
#footer_contact .inner p.tel a small {
    font-size: 30px;
}
@media only screen and (max-width: 767px) {
    #footer_contact {
        padding: 50px 0;
    }
    #footer_contact h2 {
        font-size: 30px;
    }
    #footer_contact .lead {
        font-size: 19px;
    }
    #footer_contact .inner {
        padding: 20px;
    }
    #footer_contact .inner p.tel a {
        font-size: 30px;
    }
    #footer_contact .inner p.tel a small {
        font-size: 15px;
    }
}



/* フッター 求人
================================================== */
#footer_recruit {
    padding: 50px 0;
}



/* フッター
================================================== */
footer {
    padding: 80px 0;
    background: #000;
}
footer p, footer p a {
    color: #fff;
    font-size: 15px;
}
footer address {
    margin-right: 40px;
    width: calc( 100% - 478px );
}
.footer_name strong {
    font-size: 24px;
}
#footer_menu1 {
    width: 264px;
}
#footer_menu2 {
    width: 174px;
}
#footer_menu1 ul li, #footer_menu2 ul li {
    font-size: 16px;
    font-weight: bold;
    line-height: 2.5em;
}
#footer_menu1 ul li a, #footer_menu2 ul li a {
    color: #fff;
}
#footer_menu1 ul li a::before, #footer_menu2 ul li a::before {
    content: '・';
    font-size: 75%;
    margin-right: 8px;
}
#footer_menu1 ul li ul li a::before, #footer_menu2 ul li ul li a::before {
    content: '└';
    font-size: 75%;
    margin-left: 15px;
    margin-right: 8px;
}
#footer_menu1 ul li a:hover, #footer_menu2 ul li a:hover {
    color: #921e23;
}
#copyright_bg {
    width: 100%;
    padding: 30px 0 0 0;
    background: #000;
}
#copyright {
    color: #fff;
    font-size: 11px;
}
@media only screen and (max-width: 767px) {
    footer {
        padding: 50px 0;
        display: block;
    }
    footer p, footer p a {
        font-size: 14px;
        text-align: center;
    }
    footer address {
        margin-right: 0;
        width: 100%;
    }
    footer p.footer_logo {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    #footer_menu1, #footer_menu2 {
        display: none;
    }
    #copyright_bg {
        margin-top: 30px;
    }
    #copyright {
        font-size: 9px;
        text-align: center;
    }
}

#pagetop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    text-align: right;
    z-index: 100;
}
@media only screen and (max-width: 767px) {
    #pagetop {
        bottom: 50px;
    }
    #pagetop img {
        width: 70%;
    }
}



/* ボタン
================================================== */
p.btn1 a {
    display: block;
    padding: 20px 20px 20px 30px;
    color: #fff !important;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2em;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    background: #333 url(../img/arrow1.png) right 20px center no-repeat;
    border-radius: 40px;
}

p.btn2 a {
    display: block;
    padding: 20px 20px 20px 30px;
    color: #444 !important;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2em;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    background: #fff url(../img/arrow2.png) right 20px center no-repeat;
    border-radius: 40px;
}

p.btn3 a {
    display: block;
    padding: 14px 20px 14px 30px;
    color: #333 !important;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2em;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    background: #fff url(../img/arrow2.png) right 20px center no-repeat;
    border-radius: 4px;
}
@media only screen and (max-width: 767px) {
    p.btn3 a {
        font-size: 12px;
    }
}
