﻿@charset "UTF-8";

/*----------------------------------------------------------------default*/
html {
    font-size: 62.5%;
}

a {
    color: #000;
    text-decoration: none;
    -webkit-transition: 0.5s;
    /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
    transition: 0.5s;
}

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);
}


/*===============================================================スマホ*/
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.2rem;
    text-align: left;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}


.inner {
    width: 94%;
    margin: 0 auto;
}

#service {
    padding: 15px 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: 30%;
    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;

}



main .inner h2 {
    clear: both;
    margin-bottom: 8px;
    font-size: 1.8rem;
    color: #d95b13d8;
    /*文字色*/
    padding: 5px 10px;
    /*上下、左右への余白*/
    overflow: hidden;/*はみ出した部分を表示しない*/
    white-space: nowrap;/*テキストを折り返さない*/
    text-overflow: ellipsis;/*省略して「…」をつける*/
}

/*mainコンテンツのh2タグの１文字目への設定*/
main .inner h2::first-letter {
    border-left: 4px solid #d95b13d8;
    /*左側のアクセント用ラインの幅、線種、色*/
    padding-left: 10px;
    /*アクセントラインと文字の間にとる余白*/
}

.inner {
    width: 98%;
    margin: 0 auto;
}

.inner .index-title {
    font-size: 2.0rem;
    font-family: sans-serif;
    text-align: center;
    margin-bottom: 0;
}

#service {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}

#service .box {
    width: calc(calc(94% - 10px) / 2);
    margin: 0 10px 10px 0;
    align-items: stretch;
    box-sizing: border-box;
    border: solid 1px #ffff;
    min-width: 160px;
}

#service .box .index {
    font-weight: bold;
    font-size: 1.7rem;
    color: #3f6d8c;
    line-height: 1.5;
    padding: 5px;
}

#service .box li {
    font-size: 1.4rem;
}

/*各アーティクルの設定*/

#contents {
    display: flex;
    flex-wrap: wrap;
    text-align: start;
    justify-content: center;
    margin-bottom: 0;
    background-color: #fff;
    padding-top: 10px;
}

#contents .list,
#needs-land {
    width: 100%;
    margin-bottom: 10px;
    padding: 15px;
}

#contents .list article {
    padding: 5px 5px 15px 5px;
    margin-bottom: 15px;
    text-decoration: none;
    box-sizing: border-box;
    border: solid 1px rgb(255, 115, 0);
}


/*アーティクル内の段落タグ設定*/

#contents .list h4 {
    margin-left: 0;
    font-size: 1.6rem;
}

#contents .list h4 .brs {
    display: none;
}

#contents .list h4 img {
    display: none;
}

#contents .list h5 {
    font-size: 1.4rem;
}

#contents figure {
    margin: 0;
}

#contents .list article li {
    font-size: 1.2rem;
}

#contents article .accshow {
    font-size: 1.2rem;
}

#contents article .accshow li {
    font-size: 1.2rem;
}

.list-box {
    border: 1px solid #CCC;
    padding: 0.5em;
}

.list-box li {
    font-size: 1.1rem;
}

#contents article p {
    font-size: 1.2rem;
}

/*アーティクル内の写真設定*/
#contents figure img {
    width: 30%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: #999;
    /*画像の背景色。ここでは枠線と画像の間の色になります。*/
    padding: 1px;
    /*余白。ここに上の行で設定した背景色が出ます。*/
    border: 1px solid #CCC;
    /*枠線の幅、線種、色*/
    float: right;
    /*画像を右へ回り込み*/
    margin-right: 0;
    /*写真の右側に空ける余白*/
}


a.btn-color {
    margin-bottom: 6px;
    color: #433d3c;
    background-color: #f5f5dc;
    border-bottom: 5px solid #9e9478;
    border-radius: 5px;
    padding: 5px;
}

a.btn-color:hover {
    margin-bottom: 6px;
    color: #3b82c4;
    background: #f5f5dc;
    border-bottom: 2px solid #9e9478;
}

section {
    padding-bottom: 10px;
}


footer {
    clear: both;
    background: #2c3e4a;
    /*背景色*/
    color: #ccc;
    /*文字色*/
    font-size: 85%;
    /*文字サイズ*/
    max-width: 100%;
}

footer .inner {
    display: flex;
    justify-content: center;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    background: #2c3e4a;
}

footer .copyright {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ccc;
    background: #2c3e4a;
    text-align: center;
}


table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}

main section.list table {
    font-size: 12px;
    /*文字サイズ*/
    background: #FFF;
    /*背景色*/
    width: 76%;
    /*テーブル幅*/
    margin-bottom: 5px;
}

main section.list table,
main section.list table td,
main section.list table th {
    border: 1px solid #bcbcbc;
    /*枠線の幅、線種、色*/
}

main section.list table td,
main section.list table th {
    padding: 1%;
    /*テーブル内の余白*/
}

/*色のついた見出しブロック*/
main section.list table th {
    width: 20%;
    /*幅*/
    text-align: center;
    /*文字をセンタリング*/
    font-weight: normal;
    /*デフォルトの太字を標準にする設定*/
    background: #dfe0c8;
    /*背景色ベージュ*/
}

/*白い説明用ブロック*/
main section.list table td {
    width: 30%;
    /*幅*/
}
.table-b {
    display: none;
}

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%;
}

footer .copyright {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ccc;
    background: #2c3e4a;
    text-align: center;
}

#page-top {
    display: flex;
    position: fixed;
    right: 40px;
    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 print {
    header {
        display: none;
    }
}


/*===============================================================PC*/
@media all and (min-width:540px) {
    main .inner .index-title {
        font-size: 2.5rem;
    }

    main .inner h2 {
        font-size: 2.2rem;
    }
    #service .box li {
        font-size: 1.5rem;
    }

    /*各ボックスの設定*/
    #contents .list {
        padding-left: 10px;
        position: relative;
        overflow: hidden;
    }

    #contents .list article {
        padding: 10px;
        /*ボックス内の余白*/
        text-decoration: none;
        display: block;
        overflow: hidden;
        padding-top: 1px;
    }

    #contents .list article li {
        font-size: 1.5rem;
    }

    .list article p {
        padding: 1px;
        margin-left: 1%;
        /*左側の写真幅とのバランスをとって設定*/
    }



    /*アーティクル内の写真設定*/
    #contents .list article figure img {
        float: right;
        /*画像を右へ回り込み*/
        width: 30%;
        /*写真の幅*/
        margin-right: 0.1%;
        /*写真の右側に空ける余白*/
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        background: #999;
        /*画像の背景色。ここでは枠線と画像の間の色になります。*/
        padding: 4px;
        /*余白。ここに上の行で設定した背景色が出ます。*/
        border: 1px solid #CCC;
        /*枠線の幅、線種、色*/
    }



    #contents .list h4 {
        margin-bottom: 0.5em;
        color: #000;
        /*文字色*/
        border-bottom: 1px solid #CCC;
        /*下線の幅、線種、色*/
    }

    #contents .list h4 img {
        display: inline;
        vertical-align: middle;
    }

    #contents article .accshow {
        font-size: 1.4rem;
    }

    #contents article .accshow li {
        font-size: 1.5rem;
    }

    .list-box li {
        font-size: 1.3rem;
    }

    #contents article p {
        font-size: 1.3rem;
    }

    #contents article table td {
        font-size: 1.3rem;
    }

    #contents .list h5 {
        font-size: 1.6rem;
    }

    .table-s {
        display: none;
    }
    .table-b {
        display: block;
    }

}

@media all and (min-width:800px) {
    main .inner .index-title {
        font-size: 2.8rem;
    }


    /*アーティクル内の写真設定*/
    #contents .list article figure img {
        float: right;
        /*画像を右へ回り込み*/
        width: 25%;
        /*写真の幅*/
        margin-right: 0.1%;
        /*写真の右側に空ける余白*/
    }

    #contents .list article li {
        font-size: 1.6rem;
    }

    #contents .list article p {
        font-size: 1.5rem;
    }

    #contents article table td {
        font-size: 1.5rem;
    }

    #contents .list h5 {
        font-size: 1.7rem;
    }

}

/*===============================================================PC*/
@media all and (min-width:1024px) {
    body {
        font-size: 1.4rem;
        line-height: 1.615384615;
    }

    main {
        margin-top: 15px;
    }

    main .inner .index-title {
        margin: 0;
        font-size: 3.0rem;
    }

    main .inner h2 {
        margin-bottom: 5px;
        font-size: 2.1rem;
        padding: 0 15px;
        /*上下、左右への余白*/
        border-radius: 4px;
        /*角丸のサイズ*/
    }

    #service h1 {
        margin: 0 0 30px;
        font-size: 4.0rem;
    }

    #service .lead {
        margin-bottom: 40px;
    }


    .btn a {
        display: inline-block;
        padding: 0 10px;
        line-height: 43px;
    }

    .inner {
        width: 1024px;
    }

    section .btn {
        width: 1024px;
    }

    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.7rem;
    }

    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.4rem;
        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;
        /*同上*/
    }

    #service .box li {
        font-size: 1.6rem;
    }


    /*アーティクル内の写真設定*/
    #contents .list article figure img {
        float: right;
        /*画像を右へ回り込み*/
        width: 25%;
        /*写真の幅*/
        margin-right: 0.5%;
        /*写真の右側に空ける余白*/
    }

    #contents .list article li {
        font-size: 1.7rem;
    }

    #contents .list article p {
        font-size: 1.6rem;
    }


    #contents .list h4 {
        font-size: 1.9rem;
    }


    #contents article .accshow {
        font-size: 1.4rem;
    }

    #contents article .accbox label {
        font-size: 1.5rem;
    }

    #contents article .accshow li {
        font-size: 1.5rem;
    }

    #contents article p {
        font-size: 1.6rem;
    }

    #contents article .accbox .la {
        font-size: 1.6rem;
    }

    #contents article table td {
        font-size: 1.6rem;
    }

    /*ボックス全体*/
    #footermenu {
        display: flex;
        margin: 35px 0;
        justify-content: center;
    }

    /*１行分の設定*/
    #footermenu ul {
        margin: 0 0 0 90px;
    }

    #footermenu li {
        margin: 0 0 10px;
    }

    footer .copyright {
        padding: 20px 0;
    }

    #page-top {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

}