@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);

/* reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th {
    text-align: left;
}

q:before, q:after {
    content: '';
}

object, embed {
    vertical-align: top;
}

legend {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

img, abbr, acronym, fieldset {
    border: 0;
}

body {
    font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;
    font-weight: 300;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    color: #000;
    background: #fff;
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
}

a {
    color: #0066ff;
    text-decoration: none;
}

a:hover, .active {
    text-decoration: underline;
}

a:active, a:focus, input:active, input:focus {
    outline: 0;
}

.info_images {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info_images .info_images_box {
    width: auto;
    padding: 5px;
    display: block;
}

.info_images .w100 {
    width: 100%;
}

.info_images .info_images_box img {
    width: 100%;
    display: block;
}

/* ヘッダー
------------------------------------------------------------*/
#header {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 70vh;
    min-height: 568px;
    max-height: 800px;
    background-image: url(/images/main.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

#header img {
    position: absolute;
    left: 50%;
    width: 1280px;
    height: 568px;
    margin-left: -640px;
}

#slogan {
    position: absolute;
    top: 70%;
    width: 100%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #fff;
    line-height: 1.2;
    text-align: center;
}

#slogan h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.basic {
    background: none;
    text-shadow: 3px 6px 6px rgba(0, 0, 0, 0.3);
}


#slogan h2 {
    font-size: 20px;
    font-weight: normal;
}


/* フッター
------------------------------------------------------------*/
#footer {
    clear: both;
    padding: 50px 10px 50px 0;
    text-align: center;
    font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2 {
    font-family: 'Josefin Sans', 'Noto Sans JP', serif;
}

img {
    width: 100%;
    height: auto;
}

section {
    clear: both;
}

section h2 {
    font-size: 22px;
    font-weight: normal;
    text-align: center;
}

.inner {
    width: 94%;
    margin: 0 auto;
    padding-bottom: 50px;
}

.col2 li {
    display: inline-block;
    width: 100%;
    margin: 20px 0 20px 0;
}

ul.circle {
    margin-left: 30px;
}

ul.circle li {
    list-style: circle;
}


.icon_pdf:after {
    content: "　";
    width: 1em;
    height: 1em;
    display: inline-block;
    background: url(../images/pdf.gif) bottom no-repeat;;
    background-size: cover;
    position: relative;
    top: 0.3em;
}

.icon_word:after {
    content: "　";
    width: 1em;
    height: 1em;
    display: inline-block;
    background: url(/images/word.gif) bottom no-repeat;;
    background-size: cover;
    position: relative;
    top: 0.3em;
}

/* VISION
------------------------------------------------------------*/

.vision {
    width: 65%;
    min-width: 340px;
    margin: 0 auto;
    padding-bottom: 80px;
    font-size: 1.2em;
    text-align: center;
}


/* CONTENTS
------------------------------------------------------------*/
.wrap {
    clear: both;
    width: 100%;
}

.wrap img {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    display: block;
}

.bg {
    line-height: 0;
}

.txt h2 {
    padding: 0 0 20px !important;
}


.col3 li {
    margin-bottom: 50px;
}

.col3 img {
    max-width: 288px;
    display: block;
    margin: -5px auto 20px;
}

.txt_pdd {
    width: 70%;
    max-width: 440px;
    min-width: 340px;
    height: auto;
    margin: 0 auto;
    padding: 3em 0 3em;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* PROFILE
------------------------------------------------------------*/
#profile {
    padding-top: 50px;
}

.tenpo_wrap {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.tenpo_box {
    width: 25%;
    min-width: 320px;
    padding: 0 20px 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
}

@media only screen and (max-width: 1200px) {
    .tenpo_box {
        width: 33.33%;
        min-width: inherit;
        padding: 0 10px 40px;
    }
}

@media only screen and (max-width: 639px) {
    .tenpo_box {
        width: 100%;
        min-width: inherit;
        padding: 10px;
    }
}

.information_container {
    width: auto;
    height: auto;
    max-height: 700px;
    overflow-y: scroll;
    display: block;
}

.dl_table_title {
    text-align: center;
    margin: 0 0 0.5em;
    display: block;
    border-bottom: solid 1px #333;
}

.dl_table {
    width: 100%;
    height: auto;
    display: block;
    line-height: 1.2;
}

.dl_table::after {
    content: "";
    display: block;
    clear: both;
}

.dl_table dt {
    clear: left;
    float: left;
    display: block;
    width: 25%;
    margin-right: 5%;
    margin-bottom: 20px;
    text-align: right;
    line-height: 1.6em;
}

.dl_table dd {
    width: 70%;
    float: left;
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.6em;
}

#profile header {
    display: none;
}

#map {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

#map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}


/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px) {
    .inner {
        width: 1024px;
        padding-bottom: 120px;
    }

    section h2 {
        padding: 70px 0 20px;
    }

    .txt h2 {
        padding: 0 0 20px !important;
    }
}

@media only screen and (min-width: 800px) {
    body {
        font-size: 14px;
    }

    a#menu {
        display: none;
    }

    .panel {
        display: block !important;
    }

    #mainnav {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 500;
    }

    #mainnav ul {
        text-align: right;
        padding-right: 30px;
    }

    #mainnav li {
        display: inline-block;
        padding: 45px 10px 20px;
        font-size: 14px;
        font-weight: bold;
    }

    #mainnav a {
        color: #000;
    }

    #mainnav.changeNav {
        transition: 0.4s;
        background: rgba(255, 255, 255, .9);
        border-bottom: 1px solid #d1d1d1;
    }

    #mainnav.changeNav li {
        transition: 0.4s;
        padding: 20px 10px;
    }

    #mainnav.changeNav li a {
        color: #000;
    }

    /* SEC02 MESSAGE
    -----------------*/
    .txt, .bg {
        width: 50%;
        float: right;
        display: table;
    }

    #sec02_02 {
        padding-top: 10em;
    }

    #sec02_02 .txt, #sec02_02 .bg {
        float: left;
    }

    .vMid {
        display: table-cell;
        padding: 0 100px;
        vertical-align: middle;
    }

    /* SEC03 SERVICE MESSAGE STORY
    -----------------*/
    .col3 {
        text-align: center;
    }

    .col3 li {
        display: inline-block;
        width: 30%;
        padding: 0 1.5%;
        margin-bottom: 0;
        vertical-align: top;
        text-align: left;
    }

    /* SEC05 PROFILE
    -----------------*/
    #profile {
        padding-top: 120px;
    }

    #footer {
        padding: 30px 10px 70px 0;
    }
}

@media only screen and (min-width: 641px) {
    .col2 li {
        width: 40%;
        padding: 0 3%;
        vertical-align: top;
    }
}

@media only screen and (max-width: 640px) {
    #map iframe {
        width: 96% !important;
        left: 2%;
    }

    .vision {
        width: 100%;
        min-width: inherit;
        padding: 0 10px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .txt_pdd {
        width: 100%;
        min-width: inherit;
    }
}

@media only screen and (max-width: 799px) {
    #slogan h1 {
        font-size: 31px;
    }

    #slogan h2 {
        font-size: 16px;
    }

    a#menu {
        display: inline-block;
        position: relative;
        width: 40px;
        height: 40px;
        margin: 10px;
    }

    #menuBtn {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 2px;
        margin: -1px 0 0 -7px;
        background: #000;
        -webkit-transition: .2s;
        transition: .2s;
    }

    #menuBtn:before, #menuBtn:after {
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 18px;
        height: 2px;
        background: #000;
        -webkit-transition: .3s;
        transition: .3s;
    }

    #menuBtn:before {
        margin-top: -7px;
    }

    #menuBtn:after {
        margin-top: 5px;
    }

    a#menu .close {
        background: transparent;
    }

    a#menu .close:before, a#menu .close:after {
        margin-top: 0;
    }

    a#menu .close:before {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    a#menu .close:after {
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
    }

    .panel {
        width: 100%;
        display: none;
        overflow: hidden;
        position: relative;
        left: 0;
        top: 0;
        z-index: 100;
    }

    #mainnav { /*-バーガーボタン-*/
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        text-align: right;
        z-index: 500;
    }

    #mainnav ul {
        border-bottom: 1px solid #ccc;
        background: #fff;
        text-align: left;
    }

    #mainnav li a {
        position: relative;
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid #ccc;
        color: #000;
        font-weight: 400;
    }

    #mainnav li a:before {
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 5px;
        width: 6px;
        height: 6px;
        margin: -4px 0 0 0;
        border-top: solid 2px #000;
        border-right: solid 2px #000;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .col3 li {
        margin: 0 auto;
        display: block;
        max-width: 288px;
    }

    .inq_lawyer {
        text-align: left !important;
    }
}

@media only screen and (max-width: 1199px) {
    section h2 {
        padding: 50px 0 20px 0;
    }

    #sec01 h2 {
        padding: 70px 0 20px;
    }

    .vMid {
        padding: 0 20px;
    }
}

.inq_lawyer {
    display: inline-block;
    position: relative;
    margin-bottom: -10px;
    width: 100%;
    /* max-width: 300px; /* ボタン幅 */
    padding: 0.4em;
    background-color: #F88400; /* 背景色 */
    box-shadow: 0 3px 0 0 #995100; /* 影の色 */
    border-radius: 8px;
    /* font-weight: bold; /* 文字の太さ */
    color: #fff; /* 文字の色 */
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 0.3s;
}

.inq_lawyer::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    transition: 0.2s;
    animation: shiny_btn01 3s ease-in-out infinite;
}

/* マウスオーバーした際のデザイン */
.inq_lawyer:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

/* 光るアニメーション */
@-webkit-keyframes inq_lawyer {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }
    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}
