/*  --------------------------------------------------
        :: 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: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', sans-serif !important;
    color: #444;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    font-size: 14px;
    line-height: 1.7em;
    background: #fff;
}
a {
    color: #fa8697;
    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: 14px;
    line-height: 1.7em;
    text-align: justify;
}
p a, p a:visited {
    line-height: 1.5em;
}
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: 30px;
}
ul.square {
    list-style: square outside;
}
ul.circle {
    list-style: circle outside;
}
ul.disc {
    list-style: disc outside;
}
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.5em;
        text-align: justify;
    }
    p a, p a:visited {
        line-height: 1.5em;
    }
}



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

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

.row .g1.columns    { width: 5.4%; }
.row .g2.columns    { width: 14.0%; }
.row .g3.columns    { width: 22.6%; }
.row .g4.columns    { width: 31.2%; }
.row .g45.columns    { width: 35.5%; }
.row .g5.columns    { width: 39.8%; }
.row .g6.columns    { width: 48.4%; }
.row .g7.columns    { width: 57.0%; }
.row .g8.columns    { width: 65.6%; }
.row .g9.columns    { width: 74.2%; }
.row .g10.columns   { width: 82.8%; }
.row .g11.columns   { width: 91.4%; }
.row .g12.columns   { width: 100%; }

.row .g2.SP_columns    { width: 14.0%; }
.row .g3.SP_columns    { width: 22.6%; }
.row .g4.SP_columns    { width: 31.2%; }
.row .g5.SP_columns    { width: 39.8%; }
.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;
    }
    .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: 10000;
    width: 100%;
    height: 80px;
    background: #1a2670;
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
#header_logo {
    float: left;
    width: 116px;
    height: 80px;
}
#SP_header_bg {
    display: none;
}

#header_tel {
	text-align:right;
    position: fixed;
    z-index: 20000;
    width: 100%;
    height: 40px;
    background: none;
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
	margin-top:80px;
}

/*グローバルナビ*/
nav#gnav {
    width: 100%;
    height: 80px;
}
nav#gnav ul li {
    float: right;
    display: block;
    width: 137px;
    height: 80px;
    background: #fff;
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
nav#gnav ul li a {
    display: block;
}
nav#gnav ul li:hover {
    background: #ddd;
    opacity: 1;
    -webkit-animation-duration: 0.3s;
    -webkit-animation-name: flash;
    animation-duration: 0.3s;
    animation-name: flash;
}
@-webkit-keyframes flash {
  0% {
    background: #f30;
  }
  100% {
    background: #ddd;
  }
}
@keyframes flash {
  0% {
    background: #f30;
  }
  100% {
    background: #ddd;
  }
}
nav#gnav ul li.current {
    background: #ececee;
}

header.smaller #header_bg {
    height: 40px;
    box-shadow: 0px 3px 3px -3px rgba(0,0,0,074);
    -webkit-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.7);
    -moz-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.7);
}
header.smaller #header_logo {
    height: 40px;
}
header.smaller #header_logo img {
    width: auto;
    height: 40px;
}
header.smaller nav#gnav {
    height: 40px;
}
header.smaller nav#gnav ul li {
    width: 100px;
    height: 40px;
}
header.smaller nav#gnav ul li img {
    margin-top: -10px;
}

header.smaller #header_tel {
	margin-top:40px;
}


@media only screen and (max-width: 767px) {
    #header_bg {
        display: none;
    }
    #header_tel {
        display: none;
    }
    #SP_header_bg {
        position: fixed;
        z-index: 10000;
        display: block;
        width: 100%;
/*        box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.4);
        -webkit-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.4);
        -moz-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.4);*/
    }
    #SP_header_logo {
        text-align: center;
        background: #1a2670;
    }
    #SP_header_logo img {
        width: 15%;
    }
    nav#SP_gnav {
        display: block;
        height: 38px;
        background: #fff;
    }
    nav#SP_gnav ul li {
        float: left;
        display: block;
        width: 20%;
        height: 38px;
        background: #fff;
    }
    nav#SP_gnav ul li a {
        display: block;
        padding-top: 7px;
        height: 31px;
        color: #444;
        font-size: 10px;
        line-height: 1.2em;
        font-weight: bold;
        text-align: center;
        border-right: 1px solid #ececee;
        -webkit-transition: 0.3s ease-out;
        -moz-transition: 0.3s ease-out;
        -o-transition: 0.3s ease-out;
        transition: 0.3s ease-out;
    }
    nav#SP_gnav ul li.toppage a , nav#SP_gnav ul li.recruit a {
        padding-top: 13px;
        height: 25px;
    }
    nav#SP_gnav ul li.recruit a {
        border-right: none;
    }
    nav#SP_gnav ul li:hover {
        background: #ddd;
    }
    nav#SP_gnav ul li.current {
        background: #ececee;
    }
    header.smaller #SP_header_logo {
        display: none;
    }



}



/* フッター
================================================== */
#footer_menu_bg {
    background: #1a2670;
}
#footer_menu {
	padding:20px 0;
}
#footer_menu p#left {
    float: left;
    width: 9.7%;
}
#footer_menu p#right {
	margin-top: 17px;
	float: right;
	width: 90.3%;
	text-align: right;
}
#footer_menu p#right a {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}
#footer_menu p#right a img {
    vertical-align: -1px;
    margin-left: 20px;
    margin-right: 5px;
}

#footer_menu p#tel {
	margin: 10px 0 10px 0;
	float: right;
	width: 90.3%;
	text-align: right;
	color:#FFF;
	font-size:16px;
}


@media only screen and (max-width: 767px) {
	#footer_menu {
		padding:0;
	}
    #footer_menu p#left {
        float: none;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    #footer_menu p#left img {
        width: 20%;
    }
    #footer_menu p#right {
        display: none;
    }
    #footer_menu p#tel {
        display: none;
    }
}

#footer_bg {
    padding: 50px 0;
    background: #000;
}
#footer p , #footer p a {
    color: #fff;
    font-size: 12px;
}
#footer p.name {
    margin-bottom: 10px;
    font-size: 16px;
}
@media only screen and (max-width: 767px) {
    #footer_bg {
        padding: 30px 0;
    }
    #footer p , #footer p a {
        font-size: 11px;
        text-align: center;
    }
    #footer p.name {
        font-size: 12px;
        text-align: center;
    }
}

#copyright_bg {
    padding: 20px 0;
    background: #000;
}
#copyright p.text {
    float: left;
    width: 50%;
    color: #fff;
    font-size: 11px;
}
#copyright p a {
    color: #fff;
}
#copyright p.banner {
    float: left;
    width: 50%;
    text-align: right;
}
@media only screen and (max-width: 767px) {
    #copyright p.text {
        float: none;
        width: 100%;
        font-size: 9px;
        text-align: center;
    }
    #copyright p.banner {
        float: none;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

#pagetop a {
    display: block;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,0.8);
    -moz-transition: -moz-transform 0.05s linear;
    -webkit-transition: -webkit-transform 0.05s linear;
    -o-transition: -o-transform 0.05s linear;
    -ms-transition: -ms-transform 0.05s linear;
    transition: transform 0.05s linear;
}
#pagetop a:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    background: #666;
    -ms-filter: "alpha( opacity=100 )";
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

@media only screen and (max-width: 767px) {
    #pagetop a , #pagetop a img {
        width: 35px;
        height: 35px;
	    bottom: 100px;
    }
    #copyright p {
        font-size: 9px;
    }
}

.SP_float_tel{
	display:none;
}
.SP_float_tel .title{
	text-align:center;
	padding:4px 0;
	height:14px;
	background:#f4f4f4 url("../img/gray_line_bg1.png");;
	font-size:10px;
	font-weight:bold;
	color:#1a2670;
}
@media only screen and (max-width: 767px) {
	.SP_float_tel{
		display:block;
		width:100%;
	    position: fixed;
	    bottom: 0;

        box-shadow: 0px -3px 6px -3px rgba(0,0,0,0.4);
        -webkit-box-shadow: 0px -3px 6px -3px rgba(0,0,0,0.4);
        -moz-box-shadow: 0px -3px 6px -3px rgba(0,0,0,0.4);
	}
}

/* ボタン
================================================== */
p.btn1 a {
    display: block;
    padding: 22px 25px 22px 15px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2em;
    text-align: left;
    box-sizing: border-box;
    background: #1a2670 url(../img/arrow1.png) right 10px center no-repeat;
    -moz-transition: -moz-transform 0.05s linear;
    -webkit-transition: -webkit-transform 0.05s linear;
    -o-transition: -o-transform 0.05s linear;
    -ms-transition: -ms-transform 0.05s linear;
    transition: transform 0.05s linear;
}
p.btn1 a:hover {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -o-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}
p.btn2 a {
    display: block;
    padding: 22px 25px 22px 15px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2em;
    box-sizing: border-box;
    border: 2px solid #fff;
    background: url(../img/arrow1.png) right 10px center no-repeat;
    -moz-transition: -moz-transform 0.05s linear;
    -webkit-transition: -webkit-transform 0.05s linear;
    -o-transition: -o-transform 0.05s linear;
    -ms-transition: -ms-transform 0.05s linear;
    transition: transform 0.05s linear;
}
p.btn2 a img {
    vertical-align: middle;
    margin-right: 10px;
}
p.btn2 a:hover {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -o-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

p.btn1_bure a {
    display: block;
    padding: 22px 25px 22px 15px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2em;
    text-align: left;
    box-sizing: border-box;
    background: #59632c url(../img/arrow1.png) right 10px center no-repeat;
    -moz-transition: -moz-transform 0.05s linear;
    -webkit-transition: -webkit-transform 0.05s linear;
    -o-transition: -o-transform 0.05s linear;
    -ms-transition: -ms-transform 0.05s linear;
    transition: transform 0.05s linear;
}
p.btn1_bure a:hover {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -o-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

@media only screen and (max-width: 767px) {
    p.btn1 a {
        font-size: 13px;
    }
    p.btn2 a {
        font-size: 13px;
    }
}
