/*  --------------------------------------------------
        :: 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: 15px;
    line-height: 1.7em;
    background: #fff;
    overflow-x: hidden;
    min-width: 1040px;
}
@media screen and (max-width: 750px){
  body {
    min-width: initial;
  }
}

::selection {
    background: #ff3c00;
    color: #fff;
}
::-moz-selection {
    background: #ff3c00;
    color: #fff;
}
a {
    color: #32b4ff;
    text-decoration: none;
    line-height: inherit;
}
a , a img {
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    border: none;
}
a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}
p {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.7em;
    /*letter-spacing: -1px;*/
    text-align: justify;
}
p a, p a:visited {
    line-height: 1.7em;
}
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: #ff3c00;
    line-height: 1.5em;
}
strong {
    font-weight: bold;
    line-height: inherit;
}
.linkbox {
}
.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.3em;
        text-align: justify;
    }
    p a, p a:visited {
        line-height: 1.3em;
    }
}



/* グリッドシステム
================================================== */
.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 .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.6%; }
.row .g4.SP_columns    { width: 31.2%; }
.row .g6.SP_columns    { width: 48%; }
.row .centered { float: none; margin: 0 auto; }

.mr_none {
    margin-right: 0;
}
.g5_plus.columns {
    width: 43.33333333333333%;
    margin-right: 0;
}


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;
    }
    .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: 1000;
    width: 100%;
    -webkit-transition: 0.1s ease-out;
    -moz-transition: 0.1s ease-out;
    -o-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
}
@media only screen and (max-width: 767px) {
    #header_bg {
        display: none;
    }
}
#header_bg.scroll {
    margin-top: 0;
    padding: 10px 0 0 0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
#header_bg.scroll #sitename, #header_bg.scroll #sitename_en {
    display: none;
}

#header_bg {
    margin-top: 40px;
}
#header_logo {
    float: left;
    padding-left: 50px;
    width: 20%;
    box-sizing: border-box;
}
nav#gnav_bg {
    float: right;
    width: 80%;
    position: relative;
    z-index: 1000;
    padding: 5px 0;
    background: linear-gradient(-45deg, #fff 0%, #fff 95%, rgba(255,255,255,0) 95%, rgba(255,255,255,0) 100%);
    box-sizing: border-box;
}
#header_bg.scroll nav#gnav_bg {
    padding: 0 0 10px 0;
    background: rgba(255,255,255,0);
}
nav#gnav_bg ul {
    text-align: center;
}
nav#gnav_bg ul li {
    display: inline-block;
}
nav#gnav_bg ul li a {
    display: block;
    padding: 8px 12px 0 12px;
    color: #444;
    font-size: 14px;
    font-weight: bold;
    box-sizing: border-box;
    -webkit-transition: 0s;
    -moz-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
}
@media only screen and (max-width: 1220px) {
    nav#gnav_bg ul li a {
        padding: 8px 3px 3px 3px;
        font-size: 12px;
    }
}
nav#gnav_bg ul li a:hover {
}
nav#gnav_bg ul li:hover a {
    color: #ff3c00;
}
nav#gnav_bg ul li.current a {
    color: #444;
    border-bottom: 5px solid #ff3c00;
}
.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
}
nav#gnav_bg.fixed {
}
nav#gnav_bg.fixed ul li a:hover {
}
nav#gnav_bg.fixed ul li.current {
    color: #222;
    font-weight: bold;
}

nav#gnav_bg ul li:hover .megamenu {
    max-height: 9999px;
    opacity: 1;
}

nav#gnav_bg ul .megamenu {
    transition: all .1s ease-in;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    width: 100%;
    top: 48px;
    left: 0;
    position: absolute;
    background: rgba(0,0,0,0.8);
}
nav#gnav_bg ul .megamenu .inner {
    padding: 1em 0;
}
nav#gnav_bg ul .megamenu .inner li {
    display: inline-block;
    margin: 0;
    line-height: 1.5em;
    font-size: 12px;
    width: 20%;
}
nav#gnav_bg ul .megamenu .inner {
    font-size: 11px;
}
nav#gnav_bg ul .megamenu .inner li img {
    margin-bottom: 10px;
}

/*アクセス5件対応*/
nav#gnav_bg ul .megamenu .inner2 {
    padding: 1em 0;
}
nav#gnav_bg ul .megamenu .inner2 li {
    display: inline-block;
    margin: 0;
    line-height: 1.5em;
    font-size: 12px;
    width: 19%;
}
nav#gnav_bg ul .megamenu .inner2 {
    font-size: 11px;
}
nav#gnav_bg ul .megamenu .inner2 li img {
    margin-bottom: 10px;
}

/*アクセス6件対応*/
nav#gnav_bg ul .megamenu .inner3 {
    padding: 1em 0;
}
nav#gnav_bg ul .megamenu .inner3 li {
    display: inline-block;
    margin: 0;
    line-height: 1.5em;
    font-size: 12px;
    width: 19%;
}
nav#gnav_bg ul .megamenu .inner3 {
    font-size: 11px;
}
nav#gnav_bg ul .megamenu .inner3 li img {
    margin-bottom: 10px;
}


nav#gnav_bg ul .megamenu a {
    padding: 15px;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    border-bottom: none !important;
}
nav#gnav_bg ul .megamenu a:hover {
    background: #32b4ff !important;
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha( opacity=100 )";
}


#SP_header_bg {
    display: none;
}
#SP_gnav_bg {
    display: none;
}



/* スマホ用バーガーメニュー
================================================== */
.drawer-overlay {
  background: rgba(0,0,0,0.7) !important;
}
.drawer-hamburger {
  background: #222 !important;
}

nav.drawer-nav ul li {
    text-align: center;
    font-weight: bold;
}
nav.drawer-nav ul li a {
    display: block;
    padding: 12px 0;
    color: #222;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
}
nav.drawer-nav ul li a:hover {
    background: #ccc;
}
nav.drawer-nav ul li.current a {
    color: #fff;
    background: #32b4ff;
}
@media only screen and (max-width: 767px) {
    #gnav_bg {
        display: none;
    }
    #SP_gnav_bg {
        display: block;
    }
}

ul.scrap_ul li {
    float: left;
    width: 50%;
    font-size: 12px;
    line-height: 1.2em;
    line-height: -1px;
    background: #f0f0f0;
}
nav.drawer-nav ul li.koushou a {
    background: #666 url(../img/link_icon.png) 10px center no-repeat;
}
nav.drawer-nav ul li.koushou a {
    color: #fff;
}
nav.drawer-nav ul li.current .koushou a {
    color: #fff;
    background: #138aff url(../img/link_icon.png) 10px center no-repeat;
}
ul.access_ul li {
    float: left;
/*    width: 33.3333%;*/
    width: 50%;
    font-size: 12px;
    line-height: 1.2em;
    line-height: -1px;
    background: #f0f0f0;
}

#SP_header_bg {
    display: none;
}
@media only screen and (max-width: 767px) {
    #SP_header_bg {
        display: block;
        background: #fff;
    }
    #SP_header_logo {
        padding: 19px 20px;
        width: 30%;
    }
    #SP_header_logo img {
    }
}



/* ヘッダー下の帯
================================================== */
.line_bg {
    background: url(../img/line_bg.png) center 0 no-repeat;
}
@media only screen and (max-width: 767px) {
    .line_bg {
        display: none;
    }
    .SP_line img {
        width: 100%;
    }
}



/* フッター
================================================== */
footer {
    padding: 80px 0;
    background: #000f6b;
    color: #fff;
}
#footer_left {
    float: left;
    width: 40%;
}
#footer_sitename, #footer_sitename a {
    color: #fff;
    font-size: 29px;
}
#footer_left p {
    font-size: 14px;
    line-height: 1.5em;
}
#footer_right {
    float: right;
    width: 60%;
}
ul#footer_menu1 {
    float: left;
    width: 30%;
    margin-left: 40%;
}
ul#footer_menu2 {
    float: left;
    width: 30%;
}
ul#footer_menu1 li, ul#footer_menu2 li {
    margin-bottom: 10px;
}
ul#footer_menu1 li a, ul#footer_menu2 li a {
    color: #fff;
}
ul#footer_menu1 li:before, ul#footer_menu2 li:before {
    content: url(../img/footer_arrow1.png);
    margin-right: 10px;
}
ul#footer_menu1 li ul, ul#footer_menu2 li ul {
    margin-top: 10px;
}
ul#footer_menu1 li ul li, ul#footer_menu2 li ul li {
    margin-left: 1.5em;
}
ul#footer_menu1 li ul li:before, ul#footer_menu2 li ul li:before {
    content: url(../img/footer_arrow2.png);
    margin-right: 10px;
    position: relative;
    top: -3px;
}
@media only screen and (max-width: 767px) {
    footer {
        padding: 50px 0 60px 0;
    }
    #footer_sitename, #footer_sitename a {
        font-size: 21px;
        text-align: center;
    }
    #footer_left {
        float: none;
        width: 100%;
    }
    #footer_left address p {
        text-align: center;
    }
    #footer_right {
        display: none;
    }
}

p#copyright {
    float: left;
    width: 50%;
    margin-top: 30px;
    font-size: 12px;
}
p#copyright a {
    color: #fff;
    font-weight: normal;
}
p#est_banner {
    margin-top: 30px;
    float: right;
}
@media only screen and (max-width: 767px) {
    p#copyright {
        float: none;
        width: 100%;
        font-size: 9px;
        text-align: center;
    }
    p#est_banner {
        float: none;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

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



/* ボタン
================================================== */
p.btn1 a {
    display: block;
    position: relative;
    padding: 20px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2em;
    text-decoration: none;
    box-sizing: border-box;
    background: #000f6b;
}
p.btn1 a:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 22px;
    right: 15px;
    width: 10px;
    height: 10px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media only screen and (max-width: 767px) {
    p.btn1 a {
    }
}

p.btn2 a {
    display: block;
    position: relative;
    padding: 20px;
    color: #000f6b;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2em;
    text-decoration: none;
    background: #fff;
}
p.btn2 a:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 22px;
    right: 15px;
    width: 10px;
    height: 10px;
    border-top: solid 2px #000f6b;
    border-right: solid 2px #000f6b;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

p.btn3 a {
    display: block;
    position: relative;
    padding: 20px;
    color: #000f6b;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2em;
    text-decoration: none;
    box-sizing: border-box;
    border: 2px solid #000f6b;
}
p.btn3 a:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 22px;
    right: 15px;
    width: 10px;
    height: 10px;
    border-top: solid 2px #000f6b;
    border-right: solid 2px #000f6b;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media only screen and (max-width: 767px) {
    p.btn3 a {
    }
}
