/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 100%;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border: 1px solid #999;
    outline: none;
}
button {
    outline: none;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

a {
    color: black;
    text-decoration: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

a:hover,
a:focus {
    opacity:0.4;
    filter: alpha(opacity=40);
    -ms-filter: "alpha(opacity=40)";
    -moz-opacity:0.4;
    -khtml-opacity: 0.4;
}
button:hover {
    opacity:0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
    -moz-opacity:0.7;
    -khtml-opacity: 0.7;
}

ul,li {
    list-style-type: none;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    color: #555;
    font-family: Roboto Condensed,"ヒラギノ角ゴ ProW3","Hiragino Kaku Gothic Pro","Meiryo UI","ＭＳ Ｐゴシック","MSPGothic",sans-serif;
    -webkit-text-size-adjust: 100%;
}
.wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.header {
    position: fixed;
    width: 100%;
    height: 135px;
    background-color: white;
    border-bottom: 2px solid #e50012;
    z-index: 1000;
}
.header_inner {
    position: relative;
    width: 1070px;
    margin: auto;
}
.logo {
    position: absolute;
    top: 15px;
    left: 0;
    right: auto;
    width: 180px;
    text-align: left;
}
.logo h1 {
    padding-left: 30px;
    font-size: 100%;
    font-weight: normal;
}
.gnavi {
    padding-top: 100px;
}
.gnavi ul {
    width: 480px;
    margin: auto;
    padding: 0;
}
.gnavi ul li {
    float: left;
    width: 25%;
    text-align: center;
}
.header_inner .tell {
    position: absolute;
    top: 60px;
    right: 0;
}
.tell ul {
}
.tell ul li {
    display: block;
    margin-bottom: 10px;
}

.container {
    margin: 0 auto;
    padding-top: 135px;
    width: 1070px;
}
.container h2 {
    font-size: 180%;
    font-weight: 600;
    text-align: center;
    letter-spacing: 5px;
}
.main {
    background: url(/assets/img/main.png) no-repeat center bottom;
    padding: 40px 0 80px;
    text-align: center;
}
.main p {
    margin: 0;
    color: #3a3a3a;
    font-size: 117%;
    line-height: 1.6;
}
.main p.catch {
    color: #e50012;
    font-size: 237%;
}
.teaser {
    padding: 150px 0 80px;
    text-align: center;
}

.anavi ul {
    margin-left: -10px;
    padding: 0;
}
.anavi ul li {
    float: left;
    width: 168px;
    margin-left: 10px;
    border: 1px solid #b1b1b1;
    border-radius: 8px;
    text-align: center;
    font-size: 107%;
}
.anavi a {
    display: block;
    padding: 15px;
}
.anavi p {
    display: table-cell;
    width: 136px;
    height: 75px;
    vertical-align: middle;
    text-align: center;
}
.anavi i {
    display: block;
    position: relative;
    margin-top: 13px;
    color: #b1b1b1;
    text-align: center;
    font-size: 160%;
}
.anavi a:hover i {
    top: 3px;
}

.work {
    width: 860px;
    margin: 40px auto;
}
.work .work_l {
    float: left;
    width: 400px;
}
.work .work_r {
    float: right;
    width: 400px;
    padding-top: 280px;
}
.work_panel {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border: 2px solid #e50012;
    border-radius: 8px;
}
.work_panel > img {
    border-radius: 7px 7px 0 0;
}
.work_panel p {
    font-size: 117%;
    text-align: center;
}
.work_panel p > img {
    display: block;
    margin: auto;
    padding: 10px 0;
}
.work_panel ul {
    margin-bottom: 15px;
}
.work_panel ul > li > ul {
    padding-left: 1em;
    margin-bottom: 0;
}
.work_panel > div > ul {
    float: left;
}

.company {
    margin-bottom: 100px;
}
.company_inner {
    width: 720px;
    margin: 0 0 0 360px;
}
.company dl {
    display: table;
    margin: 0;
}
.company dl dt,
.company dl dd {
    display: table-cell;
    padding: 15px 30px;
}
.company dl dt {
    width: 110px;
    text-align: right;
}
.company dl dd {
    border-left: 2px solid #e50012;
}
.company dl dd ul {
    padding-left: 0;
    margin: 0 0 0 -4px;
}
.company dl dd span {
    margin-right: 1em;
}
.company dl dd .indent4em {
    display: inline-block;
    margin-right: 4em;
}
.company dl dd span.call {
    display: inline-block;
    width: 34px;
    margin: 2px 0 0;
}

.contact {
    margin-bottom: 100px;
}
.contact h3 {
    margin-top: 30px;
}
.contact .h3 {
    margin: 0;
    font-size: 117%;
    line-height: 1.1;
}
.contact .h3 small {
    color: #999;
}
.contact_l {
    float: left;
    width: 450px;
}
.contact_l .h3 {
    margin-top: 5px;
}
.contact_r {
    float: right;
    width: 565px;
}
.contact_r .h3 {
	border-bottom: 2px solid #e50012;
    padding: 10px 0;
    color: #555;
    text-align: center;
}

.form-group {
    position: relative;
    padding-left: 130px;
    margin-bottom: 15px;
}
.form-group label {
    position: absolute;
    left: 0;
    width: 120px;
    text-align: right;
}
.contact_l .form-group input[type="text"],
.contact_l .form-group input[type="email"],
.contact_l .form-group textarea {
    width: 96%;
    padding: 0.5% 2%;
}
#contact_conf .form-group p,
#contact_conf .form-group p.textArea {
    padding: 2%;
    border-bottom: 1px solid #b1b1b1;
}

.footer {
    background-color: #b1b1b1;
    width: 100%;
    min-width: 1070px;
    padding: 15px 0;
    color: white;
    font-size: 84%;
    text-align: center;
    overflow: hidden;
}

.error,
.attention {
    color: #e50012;
}
.error {
    font-size: 84%;
}
a.btn {
    display: inline-block;
}
.btn {
    border: none;
    padding: 5px 8px;
}
.btn-default {
    background-color: #b1b1b1;
    color: white;
    border: 1px solid transparent;
}
.btn-delete {
    background-color: white;
    margin-right: 1em;
    color: #777;
    border: 1px solid #b1b1b1;
}
.text-right {
    text-align: right;
}
.hideItem {
    opacity:0;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}