/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:700');

html {
    color: #222;
    font-size: 1em;
    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;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
th {
    font-weight: normal;
    padding-right: 5rem;
}
td {

}
th,td {
    padding-bottom: 2rem;
    vertical-align: top;
    text-align: center;
}




/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    font-family: Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", Arial, sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */
.header-container {
    border-bottom: 6px solid #00a29a;/*emgreen*/
}
.header-container h1 {
    font-size: 130%;
    color: #3e3a39;/* grey */
    margin: 1em 0;
}
.header-container h1 a {
    text-decoration: none;
    color: #3e3a39;
    -webkit-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
}
.header-container h1 a img {
    width: 100%;
    height: auto;
    margin-top: 20px;
}
.t1 {
    font-size: 140%;
    color: #00a29a;
}
.t2 {
    color: #00a29a;/*emgreen*/
    margin: 0 0.2em;
}
.t3 {
    /*height: 24px;*/
    /*margin-top: 26px;*/
}
.t4 {
    display: inline;
}
.main-visual span span.t8 {
    border: none;
    font-family: 'Lobster', cursive;
    padding-right: 0.4rem;
    font-size: 105%;
}


/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #3e3a39;
    font-size: 0.9em;
    -webkit-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
}

nav a:hover,
nav a:visited {
    color: #3e3a39;
}

nav a:hover,
.current,
.current:visited {
    background-color: #00a29a;/*emgreen*/
    color: #fff;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}

/* ==============
    MOBILE: Main
   ============== */

/*.trico {
    width: 100%
    color: white;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0,0,0,25);
}
.tri-left {
    width: 33.3%
    background-size: cover !important;
    background: url(../img/left.jpg) no-repeat center center;
    color: white;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0,0,0,25);
    float: left;
}
.tri-center {
    width: 33.3%
    background-size: cover !important;
    background: url(../img/center.jpg) no-repeat center center;
    color: white;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0,0,0,25);
    float: left;
}
.tri-right {
    width: 33.4%
    background-size: cover !important;
    background: url(../img/right.jpg) no-repeat center center;
    color: white;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0,0,0,25);
    float: left;
}*/

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.header-container h1,
.header-visual h1 {
    font-family: 'Open Sans', sans-serif;
}

.main {
    padding: 50px 0;
    font-size: 18px;
}

.main h1 {
    font-size: 2em;
    margin-bottom: 60px;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container {
    color: white;
    padding: 20px 0;
    text-align: right;
    background: #00a29a;/*emgreen*/
    font-size: 65%;
}

.main h2 {
    border-left: 7px solid #004c45;/*green*/
    padding-left: 10px;
    line-height: 130%;
}

.full {
    width: 100%;
}
.bg-grey {
    background: #F0F0F0;
}
.main-visual {
    height: 300px;
    background-image: url(../img/main_bg.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0,0,0,25);
    border-bottom: 6px solid #004c45;/*green*/
}
.main-visual h1 {
    line-height: 160%;
    margin-top: 0;
    font-size: 80%;
    margin-bottom: 40px;
    padding: 40px 20px 0 20px;

}
.main-visual span {
    display: inline-block;
    border: solid 3px white;
    padding: 1% 4%;
    font-size: 100%;
    font-family: 'Linden Hill', serif;
}
.home .main-visual span {
    /*font-family: "Century Gothic";*/
}
.header-visual {
    background-image: url(../img/header_bg.jpg);
    height: 170px;
}
.header-visual h1 {
    font-size: 210%;
    line-height: 160%;
    margin-bottom: 0;
    /*font-family: "Century Gothic";*/
}
.header-visual span {
        border: none;
        padding: 0;
        font-family: 
    }

.h1-subttl {
    color: #004c45;
    font-size: 60%;
    font-weight: bold;
    display: inline-block;
    margin-left: 2rem;
    vertical-align: top;
}
ul.service-list li {
    background: url(../img/center.jpg) no-repeat center center;
    text-align: center;
    height: 360px;
}
ul.service-list li:first-of-type {
    background: url(../img/left.jpg) no-repeat center center;
}
ul.service-list li:last-of-type {
    background: url(../img/right.jpg) no-repeat center center;
}
    ul.service-list li .list_inner {
        display: block;
        padding: 40px 15px 45px;
        box-sizing: border-box;
    }

.wrap-pagetop {
    width: 100%;
    margin: 0;
}
.pagetop {
    display: block;
    background: #00a29a;/*emgreen*/
    padding: 5px 0;
    text-align: center;
    -webkit-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
}
.pagetop:hover,
.header-container h1 a:hover,
.btn:hover {
    opacity: 0.7;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}
.pagetop img {
    width: 25px;
    height: auto;
}

.news ul li {
    border-bottom: 1px solid #ccc;
    margin-bottom: 2rem;
}
.news ul li .date {
    display: block;
}

.google-maps {
    position: relative;
    padding-bottom: 28%; /*ここを変更すると高さが変わる*/
    margin-bottom: 3em;
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    pointer-events:none;
}

    .company table {
        display: inline-block;
        /*margin-bottom: -5em;*/
    }
    .company table th,
    .company table td {
        text-align: left;
        display: block;
    }
    .company table th {
        padding-bottom: 0;
        font-weight: bold;
    }
    .company table td {

    }

    .mgn-b60 {
        margin-bottom: 60px;
    }
    .mgn-t0 {
        margin-top: 0;
    }
    .mgn-t50 {
        margin-top: 50px;
    }

    .hissu {
    display: inline-block;
    background: #004c45;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 3px 6px;
    margin-left: 10px;
    }
    .hissu-n {
        background: #ccc;
    }

    .place {
        font-weight: bold;
        font-size: 0.9rem;
        text-align: center;
    }

    .btn {
        background: #283033;
        color: #fff;
        border: none;
        padding: 1rem 2rem;
        border-radius: 4px;
    }

    .bold {
        font-weight: bold;
    }

    .scroll-box {
        padding: 20px;
        overflow: auto;
        height: 200px;
        border: solid 1px #e3e3e3;
        text-align: left;
        font-size: 70%;
        width: 100%;
        margin: 0 auto 40px auto;
        box-sizing: border-box;
    }

    dt {
        font-weight: bold;
    }
    dd {
        margin: 0 0 1rem 1rem;
    }

    /*お問い合わせ*/
    .contact h2,
    .contact p {
        text-align: left;
    }
    .contact input:not([type="radio"]):not([type="submit"]):not([type="button"]),
    .contact textarea {
        width: 95%;
    }
    input[type=submit] {
        margin: 0 auto 30px auto;
    }
    .company table th {
        font-weight: normal;
    }
    table tbody tr td img {
        height: 20px;
    }/*電話番号用*/


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
    .main-visual {
      height: 685px;
    }
    .main-visual h1 {
        line-height: 150%;
        font-size: 130%;
        padding-top: 250px;
        margin-bottom: 100px;
    }
    .main-visual span {
        padding: 2% 5%;
        font-size: 150%;
    }
    .header-visual {
        height: 250px;
    }
    .header-visual h1 {
        padding-top: 80px;
        margin-bottom: 10px;
        font-size: 260%;
        line-height: 100%;
    }

    .scroll-box {
        padding: 20px;
        overflow: auto;
        width: 70%;
        height: 200px;
        border: solid 1px #e3e3e3;
        text-align: left;
        font-size: 70%;
    }

    input[type=submit] {
        margin-bottom: 0;
        margin-right: 20px;
    }

}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        /*-webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;*/
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 60%;
    }

/* ============
    WIDE: Main
   ============ */

   .header-container h1,
    .home,
    .header-visual h1 {
        font-family: "Century Gothic";
    }


    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
    .header-visual h1 {
        font-size: 150%;
        line-height: 100%;
    }

    ul.service-list li {
        width: 33.3%;
        float: left;
        height: inherit;
    }

    ul.service-list li .list_inner {
        height: 370px;
        padding: 80px 60px 85px;
    }
    .header-container h1 a img {
        height: 17px;
        width: auto;
        padding: 29px 0;
        margin-top: 0;
    }

    /*トップへ戻る*/
    .wrap-pagetop {
        width: 90%;
        margin: 0 5%;
    }
    .pagetop {
        float: right;
        background: #00a29a;/*emgreen*/
        display: inline-block;
        padding: 15px 20px;
    }
    .pagetop img {
        width: 20px;
    }

    /*会社概要*/
    .company {
        text-align: center;
    }
    .company table {
        display: inline-block;
    }
    .company table th {
        font-weight: normal;
    }
    .company table th,
    .company table td {
        text-align: left;
        display: table-cell;
    }

    /*問い合わせ*/
    .contact table {
        display: inline-table;
    }
     .contact table th {
        text-align: right;
    }

    .main-visual span {
        padding: 1.5% 3.5%;
    }

}

@media only screen and (min-width: 920px) {

    .main-visual h1 {
        font-size: 200%;
        line-height: 160%;
        /*padding: 250px 40px 0 39px;*/
    }
    .header-container h1 a img{
      height: 23px;
      padding: 26px 0;
    }
    .header-visual h1 {
        line-height: 100%;
    }
    nav {
        width: 40%;
    }

    .news ul li .date {
        display: inline-block;
        margin-right: 3rem;
    }

    .main-visual span span.t8 {
        padding-right: 0.4rem;
        padding-left: 0;
    }
    .main-visual span {
        padding: 1.5% 2.5%;
    }
}

@media only screen and (min-width: 1140px) {
    .wrapper {
        width: 1026px;
        margin: 0 auto;
    }

    .pdg-b0 {
        padding-bottom: 0;
    }

    .main-visual span {
        padding: 1% 2%;
    }
}


/* ==========================================================================
   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;
    }
}