@charset "utf-8";

body {
    background-color: #F3F1E1;
}

/* ＝＝＝＝＝＝＝家づくりメインheaderタイトル＝＝＝＝＝＝＝＝ */

header .header_inner h1.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .header_inner h1.logo img {
    width: 240px;
}

header .header_inner .three_authority {
    width: 100%;
    max-width: 240px
}

/*タブレット用*/
@media screen and (min-width:641px) and (max-width:1024px) {

    header .header_inner h1.logo img {
        width: 200px;
    }

    header .header_inner .three_authority {
        max-width: 200px
    }
}

/*スマホ用*/
@media screen and (max-width: 640px) {
    header .header_inner h1.logo img {
        width: 170px;
    }

    header .header_inner .three_authority {
        max-width: 150px;
    }
}

/*スマホ用*/
@media screen and (max-width: 450px) {
    header .header_inner h1.logo img {
        width: 150px;
        padding:5px 0;
    }

    header .header_inner .three_authority {
        max-width: 130px
    }
}

/*スマホ用*/
@media screen and (max-width: 375px) {
    header .header_inner h1.logo img {
        width: 130px;
    }

    header .header_inner .three_authority {
        max-width: 110px
    }
}

/* ＝＝＝＝＝＝＝吹き出しカスタム＝＝＝＝＝＝＝＝ */

.chat_msg .msg_chara .balloon_msg {
    border: 2px solid #fff !important;
    box-shadow: 4px 4px 0px 0 rgb(202, 200, 193);
}

.chat_msg .msg_chara .balloon_msg:before {
    border-right: 15px solid #fff !important;
}

.chat_msg_myself .msg_chara .balloon_msg {
    background-color: #50A449;
    color: #fff;
}

.choicebox {
    background-color: #50A449;
}

.dl_detail {
    background-color: #50A449;
}

.dl_detail ,.add_title .indent .add_annotation {
    color: #fff;
}

.div_detail {
    background-color: #50A449;
}

.choicebox_company li{
    margin-left: 20px;
    margin-bottom: 5px;
    list-style: disc;
    line-height: 1.3;
}

.choicebox_company li:last-of-type{
    margin-bottom: 0;
}

.choicebox_place li{
    margin-left: 20px;
    margin-bottom: 5px;
    list-style: disc;
    line-height: 1.3;
}

.choicebox_place li:last-of-type{
    margin-bottom: 0;
}

/* ＝＝＝＝＝＝＝ 成功する家づくり7つの法則 ＝＝＝＝＝＝＝＝ */

.first_comment {
    display: block;
    width: 90%;
}

.book {
    position: absolute;
    top: -15px;
    right: -10px;
    z-index: 2;
}

.book img {
    width: 125px;
}

/*タブレット用*/
@media screen and (min-width:768px) and (max-width:940px) {
    .book {
        top: -28px;
    }

    .book img {
        width: 120px;
    }
}

/*タブレット用*/
@media screen and (min-width:641px) and (max-width:767px) {
    .book {
        right: -20px;
    }

    .book img {
        width: 100px;
    }
}

/*スマホ用*/
@media screen and (max-width: 640px) {
    .book {
        top: -12px;
    }

    .book img {
        width: 85px;
    }
}

/*スマホ用*/
@media screen and (max-width: 450px) {
    .first_comment {
        width: 80%;
    }

    .book {
        top: 0;
        right: -5px;
    }

    .book img {
        width: 80px;
    }
}

/*スマホ用*/
@media screen and (max-width: 375px) {
    .book {
        top: -10px;
        right: -10px;
    }

    .book img {
        width: 80px;
    }
}

/*スマホ用(360px以下)*/
@media screen and (max-width: 360px) {

    .book img {
        width: 80px;
    }
}

/*スマホ用(320px以下)*/
@media screen and (max-width: 320px) {
    .book {
        top: -10px;
        right: -10px;
    }

    .book img {
        width: 65px;
    }
}

/* ＝＝＝＝＝＝＝計画書＝＝＝＝＝＝＝＝ */

.info_plan {
    display: block;
    margin-top: 10px;
}

.info_plan img.pc_plan {
    display: block;
    width: 100%;
}

.info_plan .sp_plan {
    display: none;
}

/*スマホ用*/
@media screen and (max-width: 640px) {
    .info_plan {
        margin-top: 5px;
    }

    .info_plan img.pc_plan {
        display: none;
    }

    .info_plan .sp_plan {
        display: block;
        width: 100%;
    }
}

/* ＝＝＝＝＝＝＝ボタン画像＝＝＝＝＝＝＝＝ */

.choicebox label {
    border: none !important;
    box-shadow: 0 -6px 0 0 #29662d inset !important;
}


/*住まいのタイプ*/
/*戸建て*/
.bg_genre01 {
    background-image: url(../../img/form/bg_house.svg);
}

/*マンション*/
.bg_genre02 {
    background-image: url(../../img/form/bg_condominium.svg);
}

/*間取り*/
/*2LDK*/
.bg_ldk101 {
    background-image: url(../../img/form/bg_two-dlk.svg);
}

/*3LDK*/
.bg_ldk102 {
    background-image: url(../../img/form/bg_three-dlk.svg);
}

/*4LDK*/
.bg_ldk103 {
    background-image: url(../../img/form/bg_four-dlk.svg);
}

/*5LDK以上*/
.bg_ldk104 {
    background-image: url(../../img/form/bg_five-dlk.svg);
}

/*大人の人数*/
/*1人*/
.bg_adult1 {
    background-image: url(../../img/form/bg_adult-one.png);
}

/*2人*/
.bg_adult2 {
    background-image: url(../../img/form/bg_adult-two.png);
}

/*3人*/
.bg_adult3 {
    background-image: url(../../img/form/bg_adult-three.png);
}

/*4人*/
.bg_adult4 {
    background-image: url(../../img/form/bg_adult-four.png);
}

/*5人*/
.bg_adult5 {
    background-image: url(../../img/form/bg_adult-five.png);
}

/*6人以上*/
.bg_adult6 {
    background-image: url(../../img/form/bg_adult-six.png);
}

/*子どもの人数*/
/*0人*/
.bg_children0 {
    background-image: url(../../img/form/bg_child-zero.png);
}

/*1人*/
.bg_children1 {
    background-image: url(../../img/form/bg_child-one.png);
}

/*2人*/
.bg_children2 {
    background-image: url(../../img/form/bg_child-two.png);
}

/*3人*/
.bg_children3 {
    background-image: url(../../img/form/bg_child-three.png);
}

/*4人*/
.bg_children4 {
    background-image: url(../../img/form/bg_child-four.png);
}

/*5人以上*/
.bg_children5 {
    background-image: url(../../img/form/bg_child-five.png);
}

/*▼▼ボタン行高さ調整▼▼*/

.icon_2line-height {
    height: 180px;
    padding-top: 20px !important;
    font-weight: bold;
    justify-content: normal !important;
    background-repeat: no-repeat;
    background-size: 45%;
    background-position: bottom center;
}

.icon_2line-height-m_ldk {
    height: 180px;
    padding-top: 20px !important;
    font-weight: bold;
    justify-content: normal !important;
    background-repeat: no-repeat;
    background-size: 45%;
    background-position: bottom center;
}

.icon_2line-height-ppl {
    height: 160px;
    padding-top: 20px !important;
    font-weight: bold;
    justify-content: normal !important;
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: bottom center;
}

.icon_3line-height {
    height: 180px;
    padding-top: 20px !important;
    font-weight: bold;
    justify-content: normal !important;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: bottom center;
}

.icon_3line-height-floor {
    height: 180px;
    padding-top: 20px !important;
    font-weight: bold;
    justify-content: normal !important;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: bottom center;
}

.icon_3line-height-ppl {
    height: 180px;
    padding-top: 20px !important;
    font-weight: bold;
    justify-content: normal !important;
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: bottom 10px center;
}

/*タブレット*/
@media screen and (max-width: 768px) {
    .icon_2line-height {
        height: 170px;
        background-size: 50%;
    }

    .icon_2line-height-m_ldk {
        height: 170px;
        background-size: 50%;
    }

    .icon_2line-height-ppl {
        height: 160px;
        background-size: 65%;
    }

    .icon_3line-height {
        height: 170px;
        background-size: 75%;
    }

    .icon_3line-height-floor {
        height: 170px;
        background-size: 75%;
    }

    .icon_3line-height-ppl {
        height: 160px;
        background-size: 65%;
    }
}

/*スマホ用*/
@media screen and (max-width: 640px) {
    .icon_2line-height {
        height: 80px;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        background-size: 20%;
        background-position: center right 5%;
    }

    .icon_2line-height-m_ldk {
        height: 180px;
        background-size: 50%;
        background-position: bottom 10px center;
    }

    .icon_2line-height-ppl {
        height: 80px;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        background-size: 22%;
        background-position: center right 5%;
    }

    .icon_3line-height {
        height: 80px;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        background-size: 20%;
        background-position: center right 5%;
    }

    .icon_3line-height-floor {
        height: 156px;
        background-size: 60%;
        background-position: bottom 10px center;
    }

    .icon_3line-height-ppl {
        height: 146px;
        background-size: 60%;
        background-position: bottom 10px center;
    }
}

/*スマホ用*/
@media screen and (max-width: 550px) {
    .icon_2line-height-m_ldk {
        height: 146px;
        background-size: 45%;
    }

    .icon_3line-height-floor {
        height: 126px;
    }

    .icon_3line-height-ppl {
        height: 126px;
    }
}

/*スマホ用*/
@media screen and (max-width: 450px) {
    .icon_2line-height-m_ldk {
        height: 115px;
        background-size: 35%;
    }

    .icon_3line-height-floor {
        height: 100px;
        background-size: 52%;
    }

    .icon_3line-height-ppl {
        height: 100px;
        background-size: 52%;
    }
}

/*スマホ用*/
@media screen and (max-width: 390px) {
    .icon_2line-height-m_ldk {
        height: 105px;
        background-size: 32%;
    }

    .icon_3line-height-floor {
        height: 90px;
        background-size: 50%;
    }

    .icon_3line-height-ppl {
        height: 90px;
        background-size: 47%;
    }
}

/* ＝＝＝＝＝＝＝ 地図&エリアボタン ＝＝＝＝＝＝＝＝ */
.jpmap {
    position: relative;
    height: 430px;
    max-height: 430px;
    background-image: url(../../img/form/jpmap.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    margin-bottom: 40px;
}

.jpmap label {
    cursor: pointer;
    text-align: center;
    color: #554f4e;
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid #ccc;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 -4px 0 0 #E4E4E4 inset;
}

.choicebtn:checked+label {
    color: #554f4e;
    font-weight: bold;
    background-color: #ffff47;
    padding: 10px 10px 5px;
    box-shadow: inset 0 6px 0 #29662d !important;
}

.area_btn {
    position: absolute;
    font-size: 1.4rem !important;
    width: 100%;
    max-width: 120px !important;
    height: 60px;
    text-align: left;
    line-height: 1.5;
}

.hokaidou-touhoku_area {
    top: 20%;
    right: 5%;
}

.kanto_area {
    top: 58%;
    right: 15%;
}

.hokuriku-koushinetsu_area {
    top: 32%;
    right: 35%;
}

.toukai_area {
    bottom: 3%;
    right: 28%;
}

.kansai_area {
    bottom: 22%;
    left: 40%;
}

.tyugoku_area {
    bottom: 40%;
    left: 28%;
}

.shikoku_area {
    bottom: 10px;
    left: 25%;
}

.kyushu-okinawa_area {
    bottom: 20%;
    left: 8%
}

/*タブレット用 700px*/
@media screen and (max-width: 700px) {
    .jpmap {
        height: 330px;
        max-height: 330px;
    }

    .area_btn {
        font-size: 1.4rem !important;
        max-width: 60px !important;
        height: 60px;
    }

    .hokaidou-touhoku_area {
        max-width: 70px !important;
        top: 20%;
        right: 10%;
    }

    .toukai_area {
        bottom: 5%;
        right: 32%;
    }

    .shikoku_area {
        bottom: 3%;
        left: 28%;
    }
}

/*スマホ用 500px*/
@media screen and (max-width: 500px) {

    .jpmap {
        margin-bottom: 10px;
    }

    .kanto_area {
        top: 55%;
        right: 10%;
    }

    .hokuriku-koushinetsu_area {
        top: 32%;
        right: 38%;
    }

    .toukai_area {
        bottom: 8%;
        right: 28%;
    }

    .kansai_area {
        bottom: 18%;
        left: 38%;
    }

    .tyugoku_area {
        bottom: 38%;
        left: 20%;
    }

    .shikoku_area {
        bottom: 7%;
        left: 20%;
    }

    .kyushu-okinawa_area {
        bottom: 28%;
        left: 2%
    }
}

/*スマホ用 450px*/
@media screen and (max-width: 450px) {
    .jpmap {
        height: 280px;
        max-height: 280px;
        margin-bottom: 30px;
    }

    .hokaidou-touhoku_area {
        top: 15%;
        right: 2%;
    }

    .kanto_area {
        top: 45%;
        right: 8%;
    }

    .hokuriku-koushinetsu_area {
        top: 28%;
        right: 30%;
    }

    .shikoku_area {
        bottom: -7%;
        left: 20%;
    }

    .kyushu-okinawa_area {
        bottom: 20%;
        left: 2%
    }
}

/*スマホ用 420px*/
@media screen and (max-width: 420px) {
    .jpmap {
        margin-bottom:10px;
    }

    .toukai_area {
        bottom: 8%;
        right: 24%;
    }

    .shikoku_area {
        bottom: 0%;
        left: 20%;
    }
}

/*スマホ用 390px*/
@media screen and (max-width: 390px) {
    .hokaidou-touhoku_area {
        top: 5%;
        right: 5%;
    }

    .kanto_area {
        top: 50%;
        right: 5%;
    }

    .toukai_area {
        bottom: 12%;
        right: 28%;
    }

    .kansai_area {
        bottom: 30%;
        left: 35%;
    }

    .hokuriku-koushinetsu_area {
        top: 22%;
        right: 30%;
    }

    .tyugoku_area {
        bottom: 45%;
        left: 14%;
    }

    .shikoku_area {
        bottom: 4%;
        left: 20%;
    }

    .kyushu-okinawa_area {
        bottom: 22%;
        left: 2%
    }
}

/*スマホ用 375px*/
@media screen and (max-width: 375px) {
    .jpmap {
        margin-bottom:0;
    }

}

/*スマホ用 360px*/
@media screen and (max-width: 360px) {
    .hokaidou-touhoku_area {
        right: 5%;
    }

    .hokuriku-koushinetsu_area {
        top: 20%;
        right: 30%;
    }

    .toukai_area {
        bottom: 15%;
        right: 25%;
    }

    .kanto_area {
        top: 40%;
        right: 5%;
    }

    .kansai_area {
        bottom: 35%;
        left: 38%;
    }

    .tyugoku_area {
        bottom: 50%;
        left: 18%;
    }

    .shikoku_area {
        bottom: 8%;
        left: 20%;
    }

    .kyushu-okinawa_area {
        bottom: 28%;
        left: 2%
    }
}

/*スマホ用 340px*/
@media screen and (max-width: 340px) {
    .area_btn {
        font-size: 1.2rem !important;
        max-width: 55px !important;
        height: 55px;
    }

    .hokaidou-touhoku_area {
        max-width: 65px !important;
        top: 7%;
        right: 3%;
    }

    .hokuriku-koushinetsu_area {
        top: 20%;
        right: 28%;
    }

    .kanto_area {
        top: 40%;
        right: 5%;
    }

    .toukai_area {
        bottom: 20%;
        right: 24%;
    }

    .kansai_area {
        bottom: 42%;
        left: 38%;
    }

    .shikoku_area {
        bottom: 15%;
        left: 20%;
    }

    .kyushu-okinawa_area {
        bottom: 30%;
        left: 1%
    }

}

/* ＝＝＝＝＝＝＝ 合間の女性イラスト ＝＝＝＝＝＝＝＝ */

.interval_li {
    text-align: center;
    margin: 0 auto;
}

.interval_li img {
    width: 100%;
    max-width: 300px;
}

/* ＝＝＝＝＝＝＝追従ボタン＝＝＝＝＝＝＝＝ */

.follow_btn {
    position: relative;
}

.all-choice_item {
    position: sticky;
    bottom: 20px;
    margin: 40px 0 40px;
    left: calc(100vw - 12em);
    max-width: 192px;
    animation: fadein 3s forwards;
    z-index: 2;
}

@keyframes fadein {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}


/*labelの場合*/
.all-choice_item label {
    display: inline-block;
    position: relative;
    border: none;
    border-radius: 30px;
    padding: 10px 15px 5px;
    background-color: #f35610;
    border-bottom: 5px solid #f35610;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.8rem;
    line-height: 1.2;
    cursor: pointer;
    overflow: hidden;
    animation: btn_animation 1s infinite;
}

.all-choice_item label .count_item {
    font-size: 1.4rem;
}

.all-choice_item label .count_item_number {
    font-weight: bold;
    font-size: 1.6rem;
    color: #eef525;
}

.all-choice_item label:before {
    content: 'まとめて選択する';
}

.all-choice_item input:checked+label {
    background-color: #f0820b;
    color: #FFF;
    animation: none;
}

.all-choice_item input:checked+label:before {
    content: 'まとめて解除する';
}

.all-choice_item input {
    display: none;
}

/*buttonの場合*/
.all-choice_item button {
    display: inline-block;
    position: relative;
    border: none;
    border-radius: 30px;
    padding: 10px 15px 5px;
    background-color: #f35610;
    border-bottom: 5px solid #f35610;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.8rem;
    line-height: 1.2;
    cursor: pointer;
    overflow: hidden;
    animation: btn_animation 1s infinite;
}

.all-choice_item button .count_item {
    font-size: 1.4rem;
}

.all-choice_item button .count_item_number {
    font-weight: bold;
    font-size: 1.6rem;
    color: #eef525;
}

.all-choice_item button:before {
    content: 'まとめて選択する';
}

@keyframes btn_animation {
    0% {
        box-shadow: 0 3px 0 rgb(0, 0, 0, 0);
        top: 0px;
    }

    10% {
        box-shadow: 0 0 0 rgb(0, 0, 0, 0);
        top: 3px;
    }

    20% {
        box-shadow: 0 3px 0 rgb(0, 0, 0, 0);
        top: 0px;
    }

    30% {
        box-shadow: 0 0 0 rgb(0, 0, 0, 0);
        top: 3px;
    }

    40% {
        box-shadow: 0 3px 0 rgb(0, 0, 0, 0);
        top: 0px;
    }
}

@media screen and (max-width: 430px) {
    .all-choice_item {
        margin: 20px 0 20px;
        max-width: 170px;
    }

    .all-choice_item label {
        padding: 10px 15px 8px;
        font-size: 1.6rem;
    }

}

/* ＝＝＝＝＝＝＝店舗レイアウト＝＝＝＝＝＝＝＝ */

.wrap_companylist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    background-color: #50A449;
    padding: 15px;
    gap: 10px;
    border-radius: 20px;
}

.company-item {
    width: calc(50% - 5px);
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
}

.company-item.co-pic {
    position: relative;
    background-color: #fbfaee
}

/*店舗名*/
.company-check {
    padding: 10px 5px;
    border-bottom: 1px solid #ccc;
}

.company-check label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4
}

.icon_pic{
    display: inline-block;
    position: absolute;
    background-color: #d5304b;
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 1.8rem;
    top:-7px;
    font-weight:500;
}

.company-check input[type="checkbox"] {
    position: relative;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border: 1px solid #000;
    background-color: #fff;
    vertical-align: -5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.company-check input[type="checkbox"]:checked {
    background-color: #00ccf7;
    border: 1px solid #00ccf7;
}

.company-check input[type="checkbox"]:checked:before {
    position: absolute;
    top: 1px;
    left: 12px;
    transform: rotate(50deg);
    width: 15px;
    height: 30px;
    border-right: 5px solid #fff;
    border-bottom: 5px solid #fff;
    content: '';
}

/*キャッチ*/
.company-catch {
    display: block;
    padding: 15px 0;
}

.company-catch p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
}

/*店舗名-テキスト情報*/
.company-info {
    display: flex;
}

.company-img {
    max-width: 190px;
    margin-right: 5px;
}

.company-img .pic01 {
    margin-bottom: 4px;
}

.company-img .pic01 .pic_item {
    width: 100%;
    max-height: 170px;
    object-fit: cover;
    font-family: 'object-fit: cover;'
}

.company-img .pic02 {
    display: flex;
    width: 100%;
}

.company-img .pic02 a.pic {
    width: 50%;
    margin-right: 4px;
}

.company-img .pic02 img.pic_item {
    width: 100%;
    height: 91px;
    object-fit: cover;
    font-family: 'object-fit: cover;'
}

.company-img .pic02 a.pic:last-of-type {
    margin-right: 0;
}

.company-txt {
    display: block;
    max-width: 160px;
}

.company-txt p {
    font-size: 1.4rem;
    line-height: 1.5em;
}

/*アイコン-ボタン*/

.company-icon-list {
    width: 100%;
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 105px);
    gap: 6px;
}

.company-icon-list li{
    line-height:1;
}

.ver-pickup .company-icon-list li {
    line-height:1;
}

@media screen and (max-width: 1024px) {
    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 95px);
    }
}


@media screen and (max-width: 800px) {
    .company-img {
        max-width: 210px;
        margin-right: 5px;
    }

    .company-img .pic02 img.pic_item {
        height: 86px;
    }

    .company-txt {
        max-width: 140px;
    }

    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 90px);
    }
}

@media screen and (max-width: 750px) {
    .company-img .pic02 img.pic_item {
        height: 71px;
    }

    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 85px);
    }
}

@media screen and (max-width: 700px) {
    .company-img .pic02 img.pic_item {
        height: 62px;
    }

    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 75px);
    }
}

@media screen and (max-width: 640px) {
    .wrap_companylist {
        display: block;
    }

    .company-item {
        width: 100%;
        margin-bottom: 15px;
    }

    .company-item:last-of-type {
        margin-bottom: 0;
    }

    .icon_pic{
        font-size: 1.6rem;
        top:-10px;
    }


    /*キャッチ*/
    .company-catch p {
        font-size: 1.4rem;
    }

    /*店舗名-テキスト情報*/
    .company-info {
        display: block;
    }

    .company-img {
        max-width: 100%;
        margin-right: 0;
    }

    .company-img .pic01 {
        max-width: 250px;
        margin: 0 auto 15px;
    }


    .company-img .pic02 {
        display: none;
    }

    .company-txt {
        display: none;
    }

    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 65px);
    }

}

@media screen and (max-width: 440px) {
    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 72px);
        gap: 3px;
    }
}

@media screen and (max-width: 420px) {
    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 65px);
    }
}

@media screen and (max-width: 390px) {
    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 60px);
        gap: 2px;
    }
}

@media screen and (max-width: 360px) {
    .company-icon-list {
        grid-template-columns: repeat(auto-fit, 55px);
        gap: 2px;
    }
}

/* ＝＝＝＝＝＝＝ 不動産項目 ＝＝＝＝＝＝＝＝ */
.wrap_realtor {
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #088dd2;
    box-sizing: border-box;
  }
  
  .wrap_realtor .tit_realtor {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: bold;
    padding-left: 15px;
    color: #fff;
    border-left: 5px solid #fff;
  }
  
  .wrap_realtor .tit_realtor span.txt {
    font-size: 1.4rem;
  }
  
  .wrap_realtor .tit_realtor span.impo {
    color: #fbe35d;
    font-weight: bold;
    font-size: 1.4rem;
  }
  
  @media screen and (max-width:640px) {
    .wrap_realtor {
      margin-bottom: 10px;
      padding: 10px 10px;
    }
  
    .wrap_realtor .tit_realtor {
      font-size: 1.6rem;
      line-height: 1;
      font-weight: bold;
      padding-left: 10px;
    }
  
    .wrap_realtor .tit_realtor span.txt {
      font-size: 1.1rem;
    }
  
    .wrap_realtor .tit_realtor span.impo {
      font-size: 1.2rem;
    }
  }

/* ＝＝＝＝＝＝＝ 同意テキスト用  ＝＝＝＝＝＝＝＝ */
.txt-act_wrap{
    margin-bottom: 20px;
    font-size: 1.4rem;
    width: 87%;
    margin-left: 13%;
}

.label-wrap{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.label-wrap input[type=checkbox]{
    transform: scale(1.5);
    margin: 3px;
}

.txt-note {
    display: block;
    text-align: start;
    margin:0 10px;
    width: 100%;
}

@media screen and (max-width: 640px){
    .chat_msg .txt-act_wrap{
        width: 100%;
        margin-bottom: 20px;
        margin-left: 0;
    }

    .txt-note{
        font-size: 1.2rem;
    }
}

/* ＝＝＝＝＝＝＝ ファイル添付用 ＝＝＝＝＝＝＝＝ */
#attachment {
  text-align: center;
  margin: 0 auto;
}

#attachment label {
  display: inline-block;
  position: relative;
  background: #0d93b7;
  color: #fff;
  padding: 3px 18px;
  margin: 10px 0 0;
  border-radius: 5px;
  font-size: 1.8rem;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

#attachment label:hover {
  background: #0e6982;
  transition: all 0.4s;
}

#attachment label img {
    max-width: 12px;
    width: 100%;
    vertical-align:middle;
    margin-right:2px;
}

#attachment label input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#attachment p.txt {
  margin: 10px 0 10px;
  text-align: center;
}

#attachment .filename {}

.attachment_ex_txt span {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 1.2rem;
}

/*スマホ用*/
@media screen and (max-width: 640px) {
  #attachment label {
    margin: 5px 0 0;
  }
}

/* ＝＝＝＝＝＝＝ ファイル添付用モーダル ＝＝＝＝＝＝＝＝ */
.alertmodal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.alertmodal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 95vw;
    width: auto;
    max-height: 70vh;
    padding: 3rem 2.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    overflow-y: auto;
    text-align: left;
    word-break: break-all;
}

.alertmodal-footer {
    display: flex;
    justify-content: flex-end; 
}

.alertclose-btn-outside {
    margin-top: 1em;
    background: #2972e6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    padding: 0.3em 0;
    width: 5vw;
    max-width: 600px;
    cursor: pointer;
}

/*タブレット用*/
@media screen and (min-width:768px) and (max-width:940px) {
    .alertmodal-content {
        width: 500px;
        max-height: 60vh;
    }

    .alertclose-btn-outside {
        width: 10vw;
        padding-top: 0.4em;
    }
}

/*スマホ用*/
@media screen and (max-width: 640px) {
    .alertmodal-content {
        width: 280px;
        max-height: 50vh;
        padding: 2rem;
    }

    .alertclose-btn-outside {
        width: 15vw;
        margin-top: -0.5em;
        padding-top: 0.4em;
    }
}

/*スマホ用(360px以下)*/
@media screen and (max-width: 360px) {
    .alertmodal-content {
        width: 250px;
        max-height: 50vh;
        padding: 1.5rem 2.5rem;
    }

    .alertclose-btn-outside {
        margin-top: 0.5em;
        padding-top: 0.4em;
    }
}

/* ＝＝＝＝＝＝＝ 利用規約モーダル ＝＝＝＝＝＝＝＝ */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 95vw;
    width: 600px;
    max-height: 70vh;
    padding: 3rem 3.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    overflow-y: auto;
    text-align: left;
    word-break: break-all;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 16px;
}

.close-btn-outside {
    margin-top: 20px;
    background: #2972e6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    padding: 0.8em 0;
    width: 90vw;
    max-width: 600px;
    cursor: pointer;
    font-weight: bold;
}

/*タブレット用*/
@media screen and (min-width:768px) and (max-width:940px) {
    .modal-content {
        width: 500px;
        max-height: 60vh;
    }

    .close-btn-outside {
        max-width: 500px;
    }
}

/*スマホ用*/
@media screen and (max-width: 640px) {
    .modal-content {
        width: 350px;
        max-height: 50vh;
    }

    .close-btn-outside {
        max-width: 350px;
    }
}

/*スマホ用(360px以下)*/
@media screen and (max-width: 360px) {
    .modal-content {
        width: 300px;
        max-height: 50vh;
    }

    .close-btn-outside {
        max-width: 300px;
    }
}

/* ＝＝＝＝＝＝＝ 対象の建物　背景BOX用 ＝＝＝＝＝＝＝＝ */

/*スマホ用*/
@media screen and (max-width: 640px) {
    .choicebox.box-width-w {
            width: 100%;
            margin-left: 0;
    }
}

/* ＝＝＝＝＝＝＝ 利用規約リンクテキスト色用 ＝＝＝＝＝＝＝＝ */

.before_submit_txt_less a {
    color:#1AAAE8;
    text-decoration:none;
}

/* ＝＝＝＝＝＝＝ delay_part不使用（読み込みしない）1行目の吹き出し表示用 ＝＝＝＝＝＝＝＝ */
.chat_msg .msg_chara .balloon_msg.d_block p {
    display: block;
}
