﻿@charset "UTF-8";

/*----------------------------------------------------------------default*/
html {
    font-size: 62.5%;
}

a {
    color: black;
    text-decoration: none;
    -webkit-transition: 0.5s;
    /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
    transition: 0.5s;
}

a :hover {
    color: rgb(35, 227, 245);
}


p {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: top;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style-type: none;
    padding: 0;
}

ol {
    padding: 0 0 0 1.5em;
}

ol li {
    list-style-type: decimal;
}

dl,
dt,
dd {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
}

input {
    cursor: pointer;
}

/*----------------------------------------------------------------fade*/
a,
input {
    transition: .3s ease-in-out;
}

a:hover,
input:hover {
    color: #20b1e1;
    opacity: .7;
    filter: alpha(opacity=70);
}

.c {
    text-align: center;
    }


/*===============================================================スマホ*/
body {
    margin: 0;
    padding: 0;
    background: #f5f5dc;

    color: #444;
    font-family: Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    font-size: 1.1rem;
    text-align: left;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

#page {
    background: #fff;
}

.inner {
    width: 94%;
    margin: 0 auto;
}

section {
    padding: 30px 0;
}



header {
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 45px;
    margin: -45px 0 0;
    background: #f5f5dc;
}

header .logo {
    position: absolute;
    top: 7px;
    left: 3%;
    width: 170px;
}

header h1+i {
    display: block;
    position: absolute;
    top: 14px;
    right: 45px;
    font-size: 1.8rem;
    cursor: pointer;
}


header .menu {
    position: fixed;
    z-index: 4;
    top: 45px;
    right: 0;
    width: 250px;
    height: auto;
    background: rgba(255, 255, 255, .9);
}

header .btn-menu {
    position: absolute;
    top: -33px;
    right: 20%;
    width: 25px;
    height: 25px;
    border: 1px solid #656565;
    border-radius: 5px;
}

header .btn-menu span {
    display: block;
    position: absolute;
    left: 5px;
    width: 15px;
    border-bottom: solid 2px #656565;
}

header .btn-menu span:nth-child(1) {
    top: 6px;
}

header .btn-menu span:nth-child(2) {
    top: 12px;
}

header .btn-menu span:nth-child(3) {
    top: 18px;
}

header .header-menu {
    display: none;
}

header .header-menu .global {
    margin: 0 0 15px;
    text-align: center;
}

header .header-menu .global ul {
    text-align: left;
    margin-left: 20px;
}

header .header-menu .global li {
    border-bottom: 1px solid #959595;
}

header .header-menu .global li a {
    display: block;
    height: 45px;
    font-size: 1.5rem;
    line-height: 30px;
}


main {
    margin: 45px 0 0;
}

#kv {
    position: relative;
}

#kv:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    content: "";
}

#kv .catch {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    width: 100%;
    color: #f5fffa;
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.4;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#kv .catch>span {
    display: block;
}

#kv .catch>span>span {
    display: inline-block;
    position: relative;
}

#kv .catch span span span {
    position: absolute;
    top: -14px;
    left: 50%;
    width: 100%;
    font-size: 1rem;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

#kv .btn {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 10px;
}

#service h1 {
    margin: 0 0 5px;
    font-size: 1.8rem;
    font-weight: normal;
    text-align: center;
    letter-spacing: .1em;
    color: #cc6600;
    /* テキストの色を指定 */
    font-family: "メイリオ", sans-serif;
    /* テキストフォントの種類を指定 */
}

.shadow {
    color: #AAAAAA;
    text-shadow:
        2px 2px 3px #ffd700
        /* 影を指定（[右][下][ぼかし][影の色]） */
}

#service .lead {
    width: 94%;
    margin: 0 auto 25px;
    color: #535252;
    font-size: 1.4rem;
}


#service .contact {
    height: 10em;
    position: relative;
}

#service .contact p {
    width: 300px;
    text-align: center;
    border: solid 2px #000080;
    font-size: 18px;
    color: #f5fffa;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
    margin: 0;
    background: #000080;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

#service .contact p a {
    color: #f5fffa;
}

#service .contact p a:hover {
    color: #95d2ec;
}

.btn-tel {
    position: relative;
    display: block;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    text-align: center;
    background: #f75065;
    padding: 5px 0;
    margin: auto;
    max-width: 250px;
}

.btn-tel::after {
    content: "";
    background: url(img/telephone.svg) no-repeat center;
    background-size: contain;
    width: 24px;
    height: 24px;
    position: absolute;
    top: calc(50% - 12px);
    left: 15px;
}

#service .appeal {
    display: none;
}


#service .inner {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

#service .inner div {
    width: calc(calc(100% - 20px) / 2);
    margin: 0 20px 20px 0;
    box-sizing: border-box;
    border: solid 7px #ffff;
}

#service .inner div:nth-child(2n) {
    margin: 0 0 20px;
}

#service .inner div h2 {
    font-size: 1.35rem;
    font-weight: normal;
    margin-top: 1px;
}

#service .inner div img {
    display: block;
    margin: 0 0 5px;
}

/*マウスオン時のボックス*/
#service .box a:hover {
    background: #fff;
    /*背景色*/
}

#service .box img {
    opacity: 1;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

#service .box:hover img {
    opacity: .5;
}

#service .box .desp {
    color: #2c3e4a;
    font-size: 1.0rem;
}



footer {
    clear: both;
    padding: 30px 0 0;
    background: #2c3e4a;
    /*背景色*/
    color: #ccc;
    /*文字色*/
    font-size: 85%;
    /*文字サイズ*/
}

footer .inner {
    display: flex;
    margin: 0 auto 10px;
    justify-content: center;
}

footer .address-blk .logo {
    width: 150px;
    margin: 0 0 15px;
}


footer .address-blk p {
    margin: 0 0 15px;
    color: #ccc;
}

footer .address-blk p i {
    margin: 0 5px 0 0;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #7da5bf;
}

footer .pr {
    display: block;
    font-size: 80%;
}

#footermenu {
    display: none;
}


footer .copyright {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ccc;
    text-align: center;
}

#page-top {
    display: flex;
    position: fixed;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgb(255, 115, 0);
    color: #fff;
    font-size: 1.6rem;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media all and (min-width:500px) {
    #service .inner {
        width: 800px;
        max-width: 90%;
        margin: 0 auto;
        padding: 15px;
    }

    #service h1 {
        font-size: 2.5rem;
    }

    #service .inner div {
        width: calc(calc(100% - 20px) / 2);
        margin: 0 20px 20px 0;
        box-sizing: border-box;
        border: solid 7px #ffff;
    }

    #service .inner div:nth-child(2n) {
        margin: 0 0 20px;
    }

    #service .inner div h2 {
        font-size: 1.6rem;
    }

    #service .box .desp {
        font-size: 1.3rem;
    }


}

@media (min-width: 751px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }

    #service h1 {
        margin: 0 0 25px;
        font-size: 3.0rem;
    }

    #service .contact {
        display: none;
    }

    #service .appeal {
        display: block;
        height: 10em;
        position: relative;
    }

    #service .appeal p {
        width: 300px;
        text-align: center;
        border: solid 2px #000080;
        font-size: 18px;
        color: #f5fffa;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        margin-bottom: 20px;
        margin: 0;
        background: #000080;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
    }

}




/*===============================================================PC*/
@media all and (min-width:1025px) {
    body {
        font-size: 1.3rem;
        line-height: 1.615384615;
    }

    main {
        margin: 0;
    }

    section {
        padding: 60px 0;
    }

    header {
        display: flex;
        position: relative;
        width: 1024px;
        height: 60px;
        margin: 0 auto;
        padding: 15px 0;
    }

    header .logo {
        position: relative;
        top: 0;
        left: 0;
        margin: 15px 50px 0 0;
    }

    header h1+i {
        top: 40px;
        right: 0;
        font-size: 1.6rem;
    }

    header .menu {
        position: relative;
        top: 0;
        width: auto;
        background: transparent;
    }

    header .header-menu {
        display: block !important;
    }

    header .btn-menu,
    header .sub-menu {
        display: none !important;
    }


    header .header-menu .global {
        margin: 0;
        text-align: left;
    }

    header .header-menu .global ul {
        display: flex;
    }

    header .header-menu .global li {
        border: none;
    }

    header .header-menu .global li a {
        display: inline-block;
        height: 60px;
        padding: 0 20px;
        border-right: 1px solid rgba(0, 0, 0, .1);
        border-bottom: 2px solid rgba(0, 0, 0, .1);
        border-radius: 10%;
        font-size: 1.3rem;
        line-height: 60px;
    }

    /*マウスオン時*/
    header .header-menu .global a:hover,
    header .header-menu .global .current a {
        background: #2c3e4a;
        /*背景色*/
        color: #fff;
        /*文字色*/
        -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1) inset;
        /*影の設定。右・下・ぼかし幅・色(rgba)の設定。rgba値は左３つが色指定(この場合は黒)で最後の小数点が透明度。insetは内側に向かっての影。*/
        box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1) inset;
        /*同上*/
    }

    #kv img {
        width: 100%;
        height: 100%;
    }

    #kv .catch {
        font-size: 4.2rem;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    #service h1 {
        margin: 0 0 30px;
        font-size: 4.0rem;
    }

    #service .lead {
        margin-bottom: 40px;
        width: 50%;
        text-align: center;
        font-size: 1.7rem;
    }

    #service .inner {
        width: 1000px;
        max-width: 95%;
        margin: 0 auto 40px;
        justify-content: space-between;
    }



    .btn a {
        display: inline-block;
        padding: 0 10px;
        line-height: 43px;
    }

    #service .inner div {
        border: solid 10px #ffff;
    }


    #service .inner div {
        width: 240px;
        margin: 0;
    }

    #service .inner div:nth-child(2n) {
        margin: 0;
    }

    #service .inner div img {
        margin: 0 0 5px;
    }

    #service .inner div h2 {
        font-size: 2rem;
    }

    #service .box .desp {
        font-size: 1.5rem;
    }


    /*フッターメニュー
---------------------------------------------------------------------------*/
    /*ボックス全体*/
    #footermenu {
        display: flex;
        margin: 35px 0;
        justify-content: center;
    }

    /*１行分の設定*/
    #footermenu ul {
        margin: 0 0 0 90px;
    }

    #footermenu li {
        margin: 0 0 10px;
        font-size: 1.2rem;
    }

    footer .address-blk p {
        font-size: 1.3rem;
    }

    footer .copyright {
        padding: 20px 0;
        font-size: 1.1rem;
    }

    #page-top {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

}