@charset "UTF-8";
@import url("grid.css");

img {
    max-width: 100%;
    height: auto;
    /*高さ自動*/
}

a {
    display: block;
    color: #8c6239;
    text-decoration-line: none;
}

a:hover {
    color: #8c6239;
    opacity: 0.8;
}



@media screen and (min-width: 769px) {
    .br-pc {
        display: block;
    }

    .br-sp {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}

@media (min-width: 769px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/*ヘッダー
-------------------------------------*/
.header {
    display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}

.header h1 {
    width: 100%;
}

.header-box {
    /*margin-left: auto;*/
    margin-top: 0;
}

.flex-end {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.contact-button {
    padding: 1rem;
    border: 2px solid #000;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 0 auto;
}

nav li {
    flex: 1 0 auto;
}

nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
    color: #fff;
    background-color: #8c6239;
}

nav a:hover {
    background-color: #fff;
    color: #8c6239:
}

nav a {
    padding: 1rem 0.5rem;
}



@media screen and (min-width: 769px) {

    /* PC時はMENUボタンを非表示 */
    #open,
    #close {
        display: none !important;
    }

    #navi {
        display: block !important;
        background-color: #8c6239;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        margin-bottom: 10px;
        padding: 1rem 8rem;
    }

    .header #open,
    #close {
        position: absolute;
        top: 20px;
        right: 12px;
    }

    nav ul {
        flex-direction: column;
        padding: 0 0 2rem;
    }

    .header li {
        padding-top: 0;
    }

    /* スマホ時はMENUボタンを表示 */
    #open {
        display: block;
        background: url(../img/button.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: calc(((100vw - 375px) / 5.1487) + 111.67px);
        height: calc(((100vw - 375px) / 7.3335) + 78.41px);
        border: none;
        position: absolute;
        top: 1rem;
        right: 10rem;
    }

    #close {
        display: block;
        background: url(../img/button2.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: calc(((100vw - 375px) / 5.1487) + 111.67px);
        height: calc(((100vw - 375px) / 7.3335) + 78.41px);
        border: none;
        position: absolute;
        top: 1rem;
        right: 10rem;
    }

    /* スマホ時はメニューを非表示 */
    #navi {
        display: none;
    }

    .flex-end {
        justify-content: center;
    }
}

/*メイン画像
-------------------------------------*/
.mainimg {
    position: relative;
}

.mainimg img {
    width: 100%;
}

.message {
    position: absolute;
    top: 50%;
    left: calc(((100vw - 769px) / 2.0927) + 350px);
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.fadeIn {
    animation-name: fadeInAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*メインコンテンツ
-------------------------------------*/
main {
    padding: 5rem 0;
}

section {
    margin: 5rem auto;
    padding: 3rem 0;
    max-width: 800px;
}

.gray-back {
    background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    padding: 5rem 0;
}

.catch h2 {
    padding-bottom: 1rem;
}

.under {
    border-bottom: 0.8rem solid #8c6239;
    padding: 0;
}

.center {
    text-align: center;
    margin-bottom: 4rem;
}

.sub-ttl {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #8c6239;
    font-size: calc(((100vw - 560px) / 226.6667) + 24px);
    text-align: center;
}

.main-text {
    font-size: calc(((100vw - 560px) / 226.6667) + 18px);
    line-height: 1.8;
    text-align: center;
}

.main-ttl {
    font-size: calc(((100vw - 560px) / 75.5556) + 28px);
    color: #8c6239;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    text-align: center;
    margin-bottom: 4rem;
}

.sub-text {
    font-size: calc(((100vw - 560px) / 340) + 14px);
    line-height: 1.8;
    text-align: left;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
    margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    /*background-color: #f7f7f7;*/
    padding: 5rem 0;
}

footer h4 {
    font-size: 1.6em;
    /* border-bottom: 3px solid #ccc; */
}

footer p {
    margin-bottom: 0;
}

footer picture img {
    vertical-align: bottom;
    margin-top: .5em;
}

.foot-nav a {
    color: #999;
}

.foot-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 0 auto;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #8c6239;
    color: #fff;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 35px;
    right: 15px;
}

#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}

#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {

    /*ヘッダー
-------------------------------------*/
    /*.header-box {
	display: none;
}	*/

    .header h1 {
        width: 60%;
    }

    section {
        margin: 2rem auto;
        padding: 2rem 0;
    }

    .message {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        max-width: 697px;
        width: 100%;
        height: auto;
        padding: 3rem;
    }

    .catch {
        width: 50%;
        padding: 3rem 0 0;
        margin: 0 auto;
    }

    .main-text {
        text-align: left;
    }

}



/* 幅560px以下の表示
-------------------------------------*/
@media screen and (max-width: 560px) {
    /* スマホ時はMENUボタンを表示 */

    .header {
        padding: 1rem 0 0;
    }

    #open {
        right: 2rem;
    }

    #close {
        right: 2rem;
    }

    .foot-nav ul {
        display: block;
        text-align: center;
    }

    #pagetop {
        position: fixed;
        bottom: 60px;
        right: 15px;
    }

}

/*サブページ
-------------------------------------*/

.message.sub_ttl {
    left: calc(((100vw - 1869px) / 2.0927) + 350px);
    /* left: 20%; */
}

@media screen and (max-width: 1200px) {
    .message.sub_ttl {
        width: 30%;
        left: 5%;
    }
}

@media screen and (max-width: 768px) {
    .message.sub_ttl {
        top: 50%;
        left: 0;
        transform: translate(0, -50%);
        width: 50%;
    }
}



/*お問い合わせ
-------------------------------------*/
.formTable {}

span.form_hissu {
    background-color: #64af1e;
    color: #fff;
    padding: 0 .5em .2em;
    border-radius: 3px;
    margin-right: 1em;
}

span.form_blank {
    padding: 0 2em;
}

.formTable th {
    padding: 2em 3%;
}

.formTable td {
    padding: 2em 3% 2em 5%;
}

.form_input_flex {
    display: flex;
}

.form_input_flex label {
    display: block;
}

.form_input_inner_l {
    margin-left: 2em;
    margin-right: 3em;
}

input[type="date"] {
    margin-bottom: .5em;
}

input[type="text"].input_short {
    width: 150px;
}

label.nowrap {
    white-space: nowrap;
    margin-right: .6em;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {
    span.form_hissu {
        margin-right: .5em;
    }

    span.form_blank {
        padding: 0;
    }

    .formTable th {
        width: 100%;
        display: block;
        border-bottom: none;
        padding: 1em 0;
    }

    .formTable td {
        display: block;
        padding: 0 0 1em;
    }

    .button,
    button,
    input[type="submit"],
    input[type="reset"],
    input[type="button"] {
        display: block;
        font-size: 1.2em;
    }

    .form_input_inner_l {
        margin-left: 0;
    }

}


/*-------------------------------------
会社概要
-------------------------------------*/

#corporate .container {
    padding-bottom: 5vw;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {
    .company_tbl th{
        padding: 1em 2%;
    }

    .company_tbl td{
        padding: 1em 2%;
    }
}

/*-------------------------------------
お問い合わせ, 無料見積り, 査定物件
-------------------------------------*/

#contact_1,
#quotation_1,
#sell_1 {
    margin-top: 0;
}

#contact_2 {
    margin: 0 auto;
    padding: 0;
}

#contact .container,
#quotation .container,
#sell .container {
    padding-bottom: 2vw;
}


/*-------------------------------------
販売物件
-------------------------------------*/

section#for_sale_1 {
    margin: 0 auto;
}

section#for_sale_2,
section#for_sale_detail_1 {
    margin-top: 0;
    max-width: 1000px;
}

ul#bukken_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
}

.report {
    width: 49%;
    margin-bottom: 2%;
    padding: .5em;
    border: 1px solid #999;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {

    ul#bukken_list {
        flex-direction: column;
    }

    .report {
        width: 100%;
        margin-bottom: 1em;
    }

}

.report h3 {
    font-size: 1.5em;
    margin-bottom: .5em;
    text-align: left;
}

.list_price {
    color: #64af1e;
    font-size: 1.2em;
    margin-bottom: 0;
}

.list_address {
    color: #999;
}

.thumbNailWrap {
    display: flex;
    justify-content: center;
    align-content: center;
    height: 170px;
}

p.pager {
    display: flex;
    justify-content: center;
}

p.pager a {
    margin: 0 1em;
}

.data_cont {
    display: flex;
    justify-content: space-between;
}

.pic_area {
    width: 52%;
}

.pic_area img {
    width: 100%;
    object-fit: cover;
}

.txt_area {
    width: 46%;
}

@media screen and (max-width: 500px) {
    .data_cont {
        flex-direction: column;
    }

    .pic_area,
    .txt_area {
        width: 100%;
        margin-bottom: .5em;
    }
}


.btn_cont {
    display: flex;
    justify-content: center;
}

.toiawase_btn,
.return_btn {
    display: block;
    /* text-align: center; */
    width: auto;
    margin: 3vw auto 5vw;
    padding: .3em 1.5em .4em;
}

.btn_cont .return_btn,
.btn_cont .toiawase_btn {
    margin: 3vw 1rem 5vw;
}

.toiawase_btn a,
.return_btn a {
    color: #fff;
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 1.2em;
}

.toiawase_btn a::after {
    content: url(../images/for_sale/toiawase.png);
    padding-left: .3em;
    padding-top: 3px;
}

/* 詳細ページ */

.report_detail h2 {
    margin: 3rem auto;
}

.detail_wrapper {
    width: 85%;
    margin: 0 auto;
}

.detail_point {
    background-color: #dae5d0;
    border-radius: 10px;
    margin: 5rem auto;
    padding: 2em 10% 2em 15%;
    position: relative;
}

.detail_point::before {
    content: "";
    position: absolute;
    background-image: url(../images/for_sale/point.png);
    width: 100px;
    height: 70px;
    background-size: 100%;
    top: -20px;
    left: -2%;
}

.detail_point{
    color: #8c6239;
}

.detail_point p {
    margin-bottom: 0;
}

.map_link {
    display: inline-block;
    padding: .1em .8em 0;
    border: #8c6239 solid 1px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 3em;
}

.map_link:hover {
    background-color: rgb(140, 98, 57, 0.2);
}

@media screen and (max-width: 768px) {

    .detail_wrapper {
        width: 100%;
    }

    .detail_point {
        margin: 5rem auto 1rem;
        padding: 1em 5% 1em 15%;
    }

    .detail_point::before {
        width: 70px;
        height: 40px;
    }

    .detail_table th {
        width: 30%;
        padding: 1em 2%;
    }

    .detail_table td {
        padding: 1em 3%;
    }

    .map_link {
        display: inline-block;
        margin-left: 0;
    }

    .btn_cont {
       flex-direction: column;
    }
}

/* 詳細ページ slick*/

/*==================================================
スライダーのためのcss
===================================*/

/*画像の横幅を100%にしてレスポンシブ化*/
.gallery img {
    width: 100%;
    height: 50vw;
    object-fit: cover;
    vertical-align: bottom;
    /*画像の下にできる余白を削除*/
}

.choice-btn img {
    width: 100%;
    height: 15vw;
    object-fit: cover;
    vertical-align: bottom;
    /*画像の下にできる余白を削除*/
}

/*メイン画像下に余白をつける*/
.gallery {
    margin: 0 0 5px 0;
}

.gallery li {
    list-style: none;
}

.slick-list {
    width: 87%;
    margin: 0 auto;
    height: 15vw;
}

.gallery .slick-list {
    width: 70%;
    height: 50vw;
}

@media screen and (min-width: 1000px) {

    .gallery img {
        max-height: 500px;
    }

    .choice-btn img {
        max-height: 150px;
    }

    .slick-list {
        max-height: 150px;
    }

    .gallery .slick-list {
        max-height: 500px;
    }
}

@media screen and (max-width: 500px) {

    .gallery .slick-list {
        width: 100%;
    }

}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    z-index: 3;
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #8c6239;
    /*矢印の色*/
    border-right: 2px solid #8c6239;
    /*矢印の色*/
    height: 25px;
    width: 25px;
}

.gallery .slick-prev,
.gallery .slick-next {
    top: 48%;
    border-top: 2px solid #fff;
    /*矢印の色*/
    border-right: 2px solid #fff;
    /*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: 2.5%;
    transform: rotate(-135deg);
}

.gallery .slick-prev {
    left: 17.5%;
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: 2.5%;
    transform: rotate(45deg);
}

.gallery .slick-next {
    right: 17.5%;
}

@media screen and (max-width: 500px) {
    .choice-btn .slick-prev {
        /*戻る矢印の位置と形状*/
        left: 0;
        top: 35%;
    }

    .choice-btn .slick-next {
        /*戻る矢印の位置と形状*/
        right: 0;
        top: 35%;
    }

    .gallery .slick-prev {
        left: 2.5%;
    }

    .gallery .slick-next {
        right: 2.5%;
    }
}


/*選択するサムネイル画像の設定*/

.choice-btn li {
    cursor: pointer;
    outline: none;
    background: #333;
    list-style: none;
}

.choice-btn li img {
    opacity: 0.4;
    /*選択されていないものは透過40%*/
}

.choice-btn .slick-current img {
    opacity: 1;
    /*選択されているものは透過しない*/
}