/*  --------------------------------------------------
        :: 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: #222;
    -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: #002076;
    text-decoration: none;
    line-height: inherit;
}
a , a img {
    border: none;
}
main a , main a img {
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    -o-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: #222;
    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;
}
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: #002076;
}
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: #002076;
    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;
    }
}

span.hour_sub {
    font-size: 85%;
    font-weight: normal;
}



/* グリッドシステム
================================================== */
.container {
    margin: 0 20px;
}
.row {
    width: 90%;
    max-width: 1200px;
    min-width: 727px;
    margin: 0 auto;
}
.row .row {
    min-width: 0;
}

.columns {
    margin-right: 4%;
    float: left;
    min-height: 1px;
    position: relative;
}
.SP_columns {
    margin-right: 4%;
    float: left;
    min-height: 1px;
    position: relative;
}
.lc {
    margin-right: 0;
}

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

.row .g3.SP_columns    { width: 22%; }
.row .g4.SP_columns    { width: 30.666666666666664%; }
.row .g6.SP_columns    { width: 48%; }
.row .centered { float: none; margin: 0 auto; }

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;
    }
    .container {
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .row {
        width: 90%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        margin: 0 auto;
    }
    .SP_row {
        width: 100% !important;
    }
    .column, .columns {
        width: auto !important;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
    .tisu {
        float: none;
        margin: 0 auto 20px auto;
        max-width: 500px;
    }
    .SP_columns {
        margin: 0 1% 0 1%;
        min-height: 1px;
    }
    .row .g3.SP_columns    { width: 48%; }
    .row .g4.SP_columns    { width: 48%; }
}



/* ヘッダー
================================================== */
#header_bg {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100px;
    background: #000;
    z-index: 1000;
    -webkit-transition: 0;
    -moz-transition: 0;
    -o-transition: 0;
    transition: 0;
}
#header_layer {
    position: absolute;
    top: 100px;
    right: 0;
}
#header_logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}
#header_logo_mini {
    display: none;
}

nav {
    width: 100%;
    height: 100px;
}
nav ul {
    text-align: right;
    font-size: 0;
    line-height: 0;
}
nav ul li {
    display: inline;
    margin: 0 0 0 0;
    box-sizing: border-box;
}
nav ul li a {
    display: inline-block;
    padding: 42px 1% 42px 1%;
    margin: 0 0 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 1em;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}
nav ul li.contact a {
    padding: 37px 2% 37px 2%;
}
nav ul li.contact a {
    color: #000;
    background: #fff;
}
nav ul li.contact a::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 25px;
    background: url(../img/header_mail.png) 0 0 no-repeat;
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}
nav ul li a:hover {
    opacity: 1;
    background: #333;
}
nav ul li.current a {
    background: #333;
}
nav ul li.contact.current a {
    background: #aaa;
}

@media only screen and (max-width: 1100px) {
    #header_logo {
        width: 150px;
    }
}
@media only screen and (max-width: 960px) {
    #header_logo {
        top: 120px;
    }
}
@media only screen and (max-width: 767px) {
    nav {
        display: none;
    }
    #header_bg {
        position: static;
        height: auto;
        background: #fff;
    }
    #header_logo {
        top: 5px;
        left: 5px;
        width: 24%;
    }
    #header_layer {
        position: static;
    }
}

/* スクロール時 */
.fixed {
    top: 0;
    left: 0;
    z-index: 10000;
    height: 60px;
}
.fixed #header_bg {
    height: 60px;
}
.fixed #header_logo {
    display: none;
}
.fixed #header_logo_mini {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
@media only screen and (max-width: 960px) {
    .fixed #header_logo_mini {
        padding: 14px 0;
        width: 150px;
        background: #002076;
    }
}

.fixed nav {
    height: 60px;
}
.fixed nav ul li a {
    padding: 22px 1% 22px 1%;
    font-size: 14px;
}
.fixed nav ul li.contact a {
    padding: 18px 1% 17px 1%;
}
@media only screen and (max-width: 960px) {
    .fixed nav ul li a {
        padding: 22px 0.5% 22px 0.5%;
    }
    .fixed nav ul li.contact a {
        padding: 18px 0.5% 17px 0.5%;
    }
}
.fixed #header_layer {
    top: 60px;
    right: 0;
    text-align: right;
}
.fixed #header_layer #header_tel {
    text-align: right;
}
.fixed #header_layer #header_tel img {
    width: 70%;
}

/* メガメニュー */
.megamenu {
    width: 70%;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 0 0 0 0;
    color: #fff;
    background: #222;
    visibility: hidden;
    text-align: center;
    z-index: 100000;
    box-sizing: border-box;
}
.megamenu li a {
    color: #fff;
}
.megamenu li a::before {
    content: '■';
    margin-right: 5px;
    font-size: 11px;
    position: relative;
    top: -2px;
}
.megamenu li a:hover {
    background: #333;
}
nav ul li.current ul.megamenu li a{
    background: #222;
}
nav ul li.current ul.megamenu li a:hover {
    background: #333;
}
nav ul li:hover .megamenu {
    visibility: visible;
}

/* スマホ用バーガーメニュー */
#SP_gnav_bg {
    display: none;
}
@media only screen and (max-width: 767px) {
    #SP_gnav_bg {
        display: block;
    }
}

.drawer-overlay {
    background-color: rgba(0,0,0,0.9) !important;
}
.drawer-nav {
    color: #fff !important;
    background-color: #002076 !important;
}
.drawer-nav ul {
    padding: 50px;
}
.drawer-nav ul li {
    text-align: center;
    font-weight: bold;
}
.drawer-nav ul li a {
    display: block;
    padding: 15px 0;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6em;
    border-bottom: 1px solid #3e59a1;
}
.drawer-nav ul li.contact a {
    border-bottom: none !important;
}
.drawer-nav ul li a:hover {
    background: #3e59a1;
}
.drawer-nav ul li.current a {
    color: #222;
    background: #fff;
}



/* フッター 問い合せ
================================================== */
#footer_contact_bg {
    background: #002076;
}
#footer_contact .title {
    margin-top: 35px;
    color: #fff;
    font-size: 31px;
    font-weight: bold;
}
#footer_contact .name {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}
#footer_contact .tel {
    margin-top: 10px;
}
#footer_contact .hour {
    margin-top: 15px;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    #footer_contact_bg {
        padding: 30px 0;
    }
    .footer_contact_cat {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    #footer_contact .title {
        margin-top: 15px;
        font-size: 16px;
        text-align: center;
    }
    #footer_contact .name {
        text-align: center;
    }
    #footer_contact .tel {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    #footer_contact .hour {
        text-align: center;
        font-size: 13px;
    }
}



/* フッター
================================================== */
footer {
    padding: 50px 0;
    background: #000;
}
footer #footer p, footer #footer p a {
    color: #fff;
    font-size: 14px;
}
#footer address {
    color: #fff;
    font-size: 15px;
}
#footer address strong {
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

#footer_menu {
	margin: 0 auto;
	text-align: right;
	display: block;
}
#footer_menu ul {
    text-align: left;
	display: inline-block;
}
#footer_menu ul li a {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 2.5em;
}
#footer_menu ul li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 11px;
    margin-right: 5px;
    background: url(../img/arrow1.png) 0 0 no-repeat;
}
#footer_menu ul li.sub a::before {
    content: '└';
    padding-left: 10px;
    padding-right: 10px;
    background: none;
}
@media only screen and (max-width: 767px) {
    footer {
        padding: 30px 0
    }
    #footer_menu {
        display: none;
    }
    #footer address {
        font-size: 13px;
        line-height: 1.5em;
    }
    #footer address strong {
        font-size: 21px;
    }
}

#footer_sdgs {
    margin-top: 30px;
}
#banner {
    margin-top: 20px;
    text-align: right;
}
#copyright {
    margin-top: 15px;
    color: #fff;
    font-size: 11px !important;
    text-align: right;
}
@media only screen and (max-width: 767px) {
    footer address {
        text-align: center !important;
    }
    #footer_sdgs {
        margin-top: 15px;
        width: 40%;
        margin-left: auto;
        margin-right: auto;
    }
    #banner {
        text-align: center;
    }
    #copyright {
        margin: 10px 0 30px 0;
        font-size: 9px;
        text-align: center;
    }
}

#pagetop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    text-align: right;
}
#pagetop:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha( opacity=100 )";
}
@media only screen and (max-width: 767px) {
    #pagetop img {
        width: 70%;
    }
}



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