@charset "UTF-8";
/*-----------------------------------------------------------------------------
共通設定
--------------------------------------------------------------------------------*/
html, body {
    width: 100%;
    font-size: 62.5%;
}

body {
    font-family: -apple-system,"Noto Sans Japanese",Verdana, Meiryo, sans-serif;
    font-size: 1.8rem;
    font-style: normal;
    color: #666;
    line-height: 1.5;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 1.4rem;
    }
}

.for_pc {
    display: block;
}

@media screen and (max-width: 767px) {
    .for_pc {
        display: none;
    }
}

.for_sp {
    display: none;
}

@media screen and (max-width: 767px) {
    .for_sp {
        display: block;
    }
}

img {
    width: 100%;
}

/*リンク文字の設定*/
a {
    text-decoration: none;
}

a:visited {
    color: #999;
}

a:hover, a:active {
    opacity: .8;
}

/*-------------------------------------------------------------------------------
全体の設定
---------------------------------------------------------------------------------*/
section {
    width: 100%;
    text-align: center;
    padding: 0;
}

h2 {
    color: #01b3de;
    font-size: 2rem;
    text-align: left;
    padding: 10px 0 5px;
    margin: 30px 0 20px;
    font-weight: normal;
}

@media screen and (max-width: 640px) {
    h2 {
        font-size: 1.8rem;
        padding: 10px;
    }
}

.cont {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}

@media screen and (max-width: 640px) {
    .cont {
        width: 98%;
        padding: 1%;
    }
}

/*-------------------------------------------------------------------------------
ふわっと
---------------------------------------------------------------------------------*/
.fade {
    transition: all 2000ms;
    opacity: 0;
    visibility: hidden;
    transform: translate(0px, 50px);
}

.fadein {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, 0px);
}

#toTop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 80px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 640px) {
    #toTop {
        bottom: 40px;
    }
}

#toTop a {
    color: #fff;
    font-size: 1.4rem;
    display: block;
    width: 50px;
    height: 50px;
    background: #666;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
}

/*------------------------------------------------------------------------
ヘッダー
-----------------------------------------------------------------------
*/
header {
    width: 100%;
    background: url("../img/hdr_bg.jpg");
}

header .header {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
}

@media (max-width: 640px) {
    header .header {
        flex-wrap: wrap;
    }
}

header .header h1 {
    text-align: left;
}

@media (max-width: 640px) {
    header .header h1 {
        width: 100%;
        text-align: center;
    }
}

header .header h1 img {
    max-width: 420px;
    margin-top: 50px;
}

@media (max-width: 640px) {
    header .header h1 img {
        max-width: 300px;
        margin: 0 auto;
    }
}

header .header .nav {
    margin: 110px 0 50px 50px;
    list-style: none;
    display: flex;
}

@media (max-width: 640px) {
    header .header .nav {
        margin: 0 0 30px 10px;
    }
}

header .header .nav li {
    margin: 20px 10px;
}

header .header .nav li a {
    color: #999;
}

header .header .nav li a:visited {
    color: #999;
}

/*------------------------------------------------------------------------
事業内容
------------------------------------------------------------------------*/
#gaiyo ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

#gaiyo ol li {
    text-align: left;
    position: relative;
    padding: 10px 0.5em 0.5em 33px;
}

#gaiyo ol li:before {
    position: absolute;
    left: 0;
    top: 10px;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    counter-increment: item;
    content: counter(item);
    color: #fff;
    background: #00a0d9;
    display: inline-block;
    border-radius: 50%;
}

/*------------------------------------------------------------------------
会社概要
------------------------------------------------------------------------*/
.about_table {
    color: #777;
}

.about_table td {
    padding: 30px;
}

@media (max-width: 640px) {
    .about_table td {
        padding: 20px;
    }
}

/*------------------------------------------------------------------------
Googleマップ
------------------------------------------------------------------------*/
.gSmap {
    margin-top: 50px;
    margin-bottom: 0;
}

.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 300px;
    position: relative;
}

.gmap iframe {
    position: absolute;
    filter: grayscale(1);
    left: 0;
    top: 0;
    height: 300px;
    width: 100%;
    border-bottom: 2px solid #999;
}

@media (max-width: 640px) {
    .gmap iframe {
        border-right: 2px solid #999;
    }
}

.gmap iframe:hover {
    filter: none;
    opacity: 1;
}

/*------------------------------------------------------------------------
お問い合わせ
------------------------------------------------------------------------*/
table {
    border-collapse: collapse;
}

input[type="submit"],
input[type="text"],
select,
textarea,
button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border: none;
}

input[type="text"],
textarea {
    background: #f8f8f8;
    display: block;
    font-size: 16px;
    padding: 12px 15px;
    width: 100%;
    transition: 0.8s;
}

input[type="text"]:focus,
textarea:focus {
    background: #e9f5fb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea[name="content"] {
    display: inline-block;
    width: 100%;
    height: 200px;
}

input::placeholder,
textarea::placeholder {
    color: #ccc;
}

::-webkit-input-placeholder {
    color: #ccc;
    opacity: 1;
}

::-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #ccc;
    opacity: 1;
}

table {
    width: 100%;
}

table th,
table td {
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    padding: 20px;
    text-align: left;
}

table th {
    background: #f5f5f3;
    padding-left: 50px;
    position: relative;
    width: 300px;
    font-weight: normal;
}

@media (max-width: 640px) {
    table th,
    table td {
        padding: 20px;
        display: block;
        width: 100%;
        border-bottom: none;
    }
}

.btn-area {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .btn-area {
        margin: 10px auto 20px;
    }
}

input[type="submit"] {
    background: linear-gradient(70deg, #00a0d9, #01b3de);
    border: none;
    color: white;
    font-size: 17px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 5px;
}

input[type="reset"] {
    background: #aaa;
    border: none;
    color: white;
    font-size: 17px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 5px;
}

/*------------------------------------------------------------------------
footer
------------------------------------------------------------------------*/
footer {
    width: 100%;
    text-align: center;
    padding: 80px 10px;
}

@media (max-width: 640px) {
    footer {
        border-top: 1px solid #f5f5f3;
    }
}

footer h3 {
    text-align: left;
    padding-bottom: 20px;
}

footer .f_adress {
    font-size: 1.4rem;
    line-height: 2;
    text-align: left;
}

@media (max-width: 640px) {
    footer {
        padding: 20px 10px;
    }
}

#copyright {
    margin-top: 50px;
    font-size: 1.2rem;
    text-align: right;
}
