@charset "utf-8";

/* reset */
* {
    box-sizing: border-box;
}

html,body,h1,h2,h3,p,ul,li {
    margin: 0;
    padding: 0;
}

h2,h3 {
    line-height: 1;
}

ul,li {
    list-style: none;
}

body {
    font-size: 2.667vw;
    color: #000000;
    margin: 0 auto;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    text-decoration: none;
}

@media screen and (min-width:767px) {
    body {
        font-size: 16px;
    }
}

@media screen and (min-width:1162px) {
    body {
        font-size: 20px;
    }
}

/* modules */
body {
    color: #333;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    /* font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif; */
}

a {
    color: #333;
    transition: all .5s ease;
}

a:hover {
    opacity: 0.7;
}

.title-default {
    font-size: 5.333vw;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.title-default:before,
.title-default:after {
    content: "";
    position: relative;
    top: -5px;
    display: inline-block;
    width: 3.2vw;
    height: 4.8vw;
    background-size: cover;
}

.title-default:before {
    background-image: url("images/Group 2.png");
    margin-right: 5px;
}

.title-default:after {
    background-image: url("images/Group 1.png");
    margin-left: 5px;
}

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

}

@media screen and (min-width:1162px) {
    .title-default {
        font-size: 63px;
        margin-bottom: 163px;
    }

    .title-default:before,
    .title-default:after {
        width: 42px;
        height: 53px;
    }

    .title-default:before {
        margin-right: 35px;
    }

    .title-default:after {
        margin-left: 35px;
    }
}

/* ヘッダー */
header {
    width: 100%;
    padding: 0 139px;
    margin: 0 auto;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

h1 {
    font-size: 36px;
}

.header-contact {
    font-weight: bold;
    font-size: 25px;
}

.header-contact img {
    width: 24px;
    height: 24px;
}

.header-tel {
    margin-right: 20px;
}

.header-tel::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url(../images/icon/phone.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 5px;
}

.header-mail {
    background: transparent linear-gradient(270deg, #4CDE68 0%, #48B586 100%) 0% 0% no-repeat padding-box;
    box-shadow: 3px 3px 6px #00000029;
    width: 220px;
    height: 50px;
    padding: 14px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
}

/* メインビュー */
.main-view {
    background: url(../images/25543394_m.jpg);
    width: 100%;
    height: 955px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-left: 60px;
}

.main-view::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent linear-gradient(90deg, #000000 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    opacity: 0.1;
}

.main-view .mv {
    position: relative;
    padding-bottom: 165px;
}

.main-view .mv img {
    width: 220px;
    padding-top: 219px;
    padding-left: -30px;
}

.mv p {
    position: absolute;
    left: 55px;
    top: 240px;
    font-size: 40px;
    font-weight: bold;
    color: #378D4F;
    /* 非対応のブラウザでの文字色を設定 */
    background: -webkit-linear-gradient(270deg, #378D4F, #22462B);
    /* 背景色にグラデーションを指定 */
    -webkit-background-clip: text;
    /* テキストでくり抜く */
    -webkit-text-fill-color: transparent;
    /* くり抜いた部分は背景を表示 */
    background-clip: text;
}

.mv h2 {
    font-size: 70px;
    color: #378D4F;
    /* 非対応のブラウザでの文字色を設定 */
    background: -webkit-linear-gradient(270deg, #378D4F, #22462B);
    /* 背景色にグラデーションを指定 */
    -webkit-background-clip: text;
    /* テキストでくり抜く */
    -webkit-text-fill-color: transparent;
    /* くり抜いた部分は背景を表示 */
    padding-top: 10px;
    padding-left: 30px;
    text-shadow: 3px 3px 5px rgba(255, 255, 255, 0.05);
    background-clip: text;
}

.main-view .mark {
    font-size: 30px;
    background: linear-gradient(transparent 55%, #8EE567 55%);
    font-weight: bold;
    border-radius: 4px;
}

.mv-bg {
    background-repeat: no-repeat;
    height: auto;
    width: auto;
    padding: 10px;
    display: inline-block;
}

.mv-text {
    width: auto;
    height: auto;
    word-wrap: break-word;
    background-color: rgba(255,255,255,0.4);
    padding: 10px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone; 
}

/* メインコンテンツ */
.problem {
    margin-bottom: 100px;
}

.problem .ttl {
    /* position: absolute; */
    width: 100%;
    height: 140px;
    background-color: #D2E7C8;
}

.problem h3 {
    font-size: 30px;
    text-align: center;
    padding: 53px 0;
    margin: 0 auto;
}

.problem h3 span {
    font-size: 35px;
}


.main-content {
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content img {
    width: 110px;
}

.main-content p {
    text-align: center;
}

.main-content li {
    padding-right: 50px;
}

.main-content li:last-child {
    padding-right: 0;
}

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

.mc-btn {
    background: transparent linear-gradient(270deg, #4CDE68 0%, #48B586 100%) 0% 0% no-repeat padding-box;
    box-shadow: 3px 3px 6px #00000029;
    width: 280px;
    height: 70px;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}

/* 当事務所が選ばれる理由 */
.reason {
    color: #fff;
    background-image: linear-gradient(180deg, rgba(78, 183, 133, 1), rgba(113, 196, 130, 1) 60%, rgba(210, 231, 200, 1));
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 100px;
}

.reason .reason-ttl {
    text-align: center;
    padding-top: 100px;
}

.reason h4 {
    font-size: 40px;
    text-align: center;
    padding-bottom: 20px;
}

.reason .reason-ttl p {
    font-size: 23px;
    padding-top: 40px;
}

.reason .reason-ttl p .sp_br {
    display: none;
}

.r-content h5 {
    font-size: 30px;
    padding-bottom: 0.7em;
    padding-left: 45px;
}

.r-content p {
    font-weight: normal;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 1em;
}

.box1,
.box2 {
    padding: 1em 0.5em;
    margin: 90px;
    font-weight: bold;
    border: solid 1px #fff;
    position: relative;
    top: 50px;
}

.r-content img {
    position: absolute;
    padding-left: 20px;
    z-index: 10;
}

.r-content {
    display: block;
    width: 90%;
    margin: 0 auto;
}

/* バナー */
.banner {
    background-color: #6DB2C1;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.banner .banner-left {
    text-align: center;
}

.banner .banner-left .text {
    font-size: 30px;
}

.banner .banner-left .border {
    display: inline-block;
    border-top: 1px solid #FFFFFF;
}

.banner-right {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.banner-right .banner-btn-tel {
    color: #fff;
    font-size: 26px;
    padding-bottom: 20px;
    vertical-align: middle;

}

.banner-btn-tel img {
    height: 27px;
    padding-right: 10px;
    vertical-align: middle;
}

.banner-right .banner-btn-link {
    display: block;
    width: 300px;
    height: 50px;
    background: #FFF;
    border-radius: 25px;
    font-size: 25px;
    box-shadow: 3px 3px 6px #00000029;
    text-align: center;
    line-height: 50px;
}

.banner-btn-link img {
    height: 23px;
    padding-left: 10px;
    vertical-align: middle;
}

.banner-btn-link:hover {
    background-color: #6DB2C1;
    opacity: 1;
}

/* 中間コンテンツ */
.m-content {
    text-align: center;
    padding: 120px 0;
}

.m-content img {
    border-radius: 15px;
    width: 60%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 40px;
}

/* 料金 */
.ttl-box {
    width: 100%;
    height: 141px;
    background: transparent linear-gradient(180deg, #FFFFFF 0%, #D2E7C8 53%, #D2E7C8 100%) 0% 0% no-repeat padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 20px solid #D2E7C8;
}
    

/* 料金共通 */
.container {
    text-align: center;
}

.container h6 {
    margin-top: 50px;
    margin-bottom: -40px;
    font-size: 20px;
}

.container table {
    margin: 50px auto;
    margin-top: 70px;
}

.container table th {
    padding: 3px 10px;
    background: #D6EBCD;
}

.container table td {
    padding: 3px 10px;
    background: #E4F5DC;
}

.container table .deco {
    background: #F5FCF2;
}

.price-subtext {
    margin: 0 auto;
    width: 60%;
    text-align: left;
    padding-bottom: 100px;
}

/* 詳細 */
.contents {
    margin-top: 130px;
    margin-bottom: 130px;
}

.content1 {
    display: flex;
    justify-content: space-evenly;
}

.content1 img {
    width: auto;
    max-height: 300px;
}

.content1-text .name {
    font-family: serif;
    padding-bottom: 40px;
}

.content1-text .name span {
    font-size: 25px;
}

.content1 .bio {
    max-width: 700px;
}

.content-ttl {
    font-family: serif;
    border-bottom: 1px solid #9CB0A4;
    margin-bottom: 20px;
    max-width: 700px;
}

.content1 .bio table th,
.content1 .bio table td {
    padding: 5px 20px;
}

.content1 .bio table th {
    font-weight: normal;
}

.content1 .bio .bio-text {
    padding-top: 20px;
}


.content2 {
    display: flex;
    justify-content: space-evenly;
    padding-top: 100px;
}

.content2-text {
    max-width: 700px;
}

.content2-text .station {
    margin-top: 50px;
}

.content2-text .station table {
    padding-bottom: 20px;
}

.content2-text .station table th,
.content2-text .station table td {
    padding: 5px 15px;
}

.content2-text .station table th {
    text-align: left;
    font-weight: normal;
}

/* フッター */
footer {
    color: #fff;
    height: auto;
    width: auto;
    background-image: linear-gradient(180deg, #6AB548, #49B486);
    text-align: center;
}

footer h4 {
    font-size: 30px;
    padding-top: 150px;
    padding-bottom: 20px;
}

.footer-contact .line {
    margin-bottom: 70px;
}

.footer-c-tel,
.footer-c-mail {
    color: #333;
    background-color: #fff;
    width: 35%;
    padding: 30px;
    margin: 0 auto;
}

.footer-c-tel {
    margin-bottom: 50px;
}

.footer-c-tel img {
    padding-right: 10px;
}

.footer-c-tel a,
.footer-c-mail a {
    margin-top: 20px;
}

/* お問い合わせ */
.bgleft {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #333;
    padding: 10px 30px;
    text-align: center;
    outline: none;
    transition: ease .2s;
}

.bgleft span {
    position: relative;
    z-index: 3;
    color: #333;
}

.bgleft:hover span {
    color: #fff;
}

.bgleft:before {
    content: '';
    /*絶対配置で位置を指定*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    background:#4EB785;/*背景色*/
    width: 100%;
    height: 100%;
    /*アニメーション*/
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
    transform-origin:left top;
    transform:scale(1, 1);
}

/* フッター */
.footer {
    margin-top: 160px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 139px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 25px;
}

.footer-tel::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../images/icon/phone.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 5px;
}

.footer-mail {
    color: #333;
    margin-left: 10px;
}

.footer-tel,
.footer-mail {
    background-color: #fff;
    padding: 15px;
    border-radius: 25px;
}

/* コピーライト */
.copyright {
    padding-bottom: 50px;
}


/* タブレット */
@media screen and (max-width:1162px) {
    header {
        padding: 0 20px;
        margin: 0 auto;
    }

    .header-logo {
        font-size: 24px;
    }

    .header-contact {
        font-size: 22px;
    }

    .main-view {
        padding: 0 20px;
    }

    .mv h2 {
        font-size: 50px;
    }

    .mv-bg .mv-text {
        width: 100%;
    }

    .mc-btn {
        font-size: 23px;
    }

    .reason-ttl h4 {
        font-size: 30px;
    }

    .content2-text {
        max-width: 500px;
    }
}



/* SP */
@media screen and (max-width:767px) {
    header {
        padding: 0 5px;
        font-size: 20px;

    }

    .header-wrapper {
        height: 60px;
    }

    .header-contact .header-mail {
        display: none;
    }

    .header-contact .header-tel span {
        display: none;
    }

    .header-contact .header-tel {
        border: 1px solid #48B586;
        padding: 13px;
        border-radius: 5px;
        margin-right: 0;
    }

    .header-contact .header-logo {
        margin: 0;
    }

    .header-tel::before {
        background-size: 25px;
        margin: 0;
    }

    /* メインビュー */
    .main-view {
        height: 700px;
    }

    .main-view .mv {
        top: -60px;
    }

    .main-view .mv img {
        width: 120px;
    }

    .main-view .mv p {
        font-size: 20px;
        top: 230px;
        left: 30px;
    }

    .main-view .mv h2 {
        font-size: 2rem;
    }

    .main-view .mark {
        font-size: 18px;
    }

    /* メインコンテンツ */
    .problem h3 {
        font-size: 20px;
    }

    .problem h3 span {
        font-size: 27px;
    }

    .main-content {
        flex-wrap: wrap;
        align-content: stretch;
    }

    .main-content li {
        padding-right: 0;
        padding: 0 20px;
    }

    .main-content li:last-child {
        padding-right: 20px;
    }

    /* ボタン */
    .btn .mc-btn {
        display: inline-block;
        width: 80%;
    }

    /* 当事務所が選ばれる理由 */
    .reason {
        padding-bottom: 100px;
    }

    .reason .reason-ttl h4 {
        font-size: 1.8rem;
    }

    .reason-ttl img {
        width: 80%;
    }

    .reason .reason-ttl p {
        font-size: 1rem;
        display: inline-block;
    }

    .reason .reason-ttl p .sp_br {
        display: block;
    }

    .r-content img {
        width: 15%;
        padding-left: 0;
    }

    .box1,
    .box2 {
        margin : 0;
        top: 30px;
        margin-right: 20px;
        margin-bottom: 40px;
        margin-left: 40px;
    }

    .r-content p {
        font-size: 1.2rem;
    }

    /* バナー */
    .banner {
        display: block;
    }

    .banner-left {
        margin-bottom: 30px;
    }

    .banner .banner-left .text {
        font-size: 23px;
    }

    .banner-right .banner-btn-link {
        width: 80%;
        margin: 0 auto;
    }

    /* 詳細 */
    .content1,
    .content2 {
        display: block;
        text-align: center;
    }

    .content1 img {
        padding-bottom: 30px;
    }

    .content1-text {
        text-align: center;
    }

    .content-ttl {
        text-align: left;
        padding-left: 10px;
        width: initial;
    }

    .content1 .bio {
        margin: 0 auto;
    }

    .content1 .bio table {
        text-align: left;
        margin-left: 20px;
    }

    .content1 .bio .bio-text {
        text-align: left;
        margin-left: 30px;
    }

    .content2 {
        padding-top: 50px;
    }

    .content2-text {
        text-align: left;
        width: initial;
        margin: 0 auto;
    }

    .content2 .content2-text .access {
        margin: 0 auto;
    }

    .content2-text .address {
        margin-left: 20px;
    }

    .content2-text .station .st-text {
        margin-left: 20px;
        margin-bottom: 30px;
    }

    .content2-text .station table {
        margin-left: 10px;
    }

    /* お問い合わせ */
    .footer-contact h4 {
        padding-top: 80px;
    }

    .footer-contact img {
        width: 80%;
    }

    .footer-c-tel,
    .footer-c-mail {
        width: 85%;
    }

    /* ボタン */
    .bgleft {
        width: 80%;
        font-size: 14px;
        font-weight: bold;
    }

    .bgleft img {
        width: 35px;
    }

    /* フッター */
    .footer {
        display: block;
        padding: 0 10px;
        margin-top: 80px;
    }

    .footer .footer-logo {
        font-size:20px;
        margin-bottom: 30px;
    }

    .footer-tel,
    .footer-mail {
        width: 80%;
    }
}