/* スマホ用CSS */
@media screen and (max-width:480px){

   /* --- レイアウトCSS --- */

body {
    width: 100%;
    font-family: "游ゴシック", "Yu Gothic";
    font-size: 90%;
}

.h3, h3 {
    font-size: 16px;
}

.h4, h4 {
    font-size: 15px;
}

.h5, h5 {
    font-size: 14px;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    font-size: 13px;
}

.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    font-size: 13px;
}

.sub-heading {
    /* background-color: #00479d; */
    background-color: #002853;
    
    color: white;
    padding: 5px 10px;
}

a {
    color: black;
    text-decoration: none !important;
}

a :hover {
    text-decoration: none !important;
}

#toTop {
    display: none;
}

.top-button {
    position: fixed;
    right: 7px;
    bottom: 20px;
    border: 1px solid black;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
}

/* --- ヘッダー --- */

header {
    text-align: center;
    /* margin-top: 25px; */
    margin: 25px 10% 0 10%;
}

.header-title {
    font-size: 25px;
}

.header-explain {
    margin-top: 20px;
}

.header-condition {
    text-align: left;
    margin-top: 20px;
    background-color: rgba(0,0,0,.03);
    padding: 20px 5px;
}

.header-logo {
    height: 25px;
}

.header-contact {
    color: white;
    background-color: #002853;
    font-weight: bold;
    position: absolute;
    right: 10%;
    top: 20px;
    font-size: 14px;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
    
}

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

.phone-num {
    font-size: 35px;
}

.form-group {
    text-align: left;
}

#pc-img {
    display: none;
}

.price-warning {
    text-align: left;
    margin-top: 30px;
}

/* --- 物件情報 --- */

.bukken-container {
    margin-top: 20px;
    margin-right: 10%;
    margin-left: 10%;
    margin-bottom: 50px;
}

.card-header {
    background-color: rgb(214,224,242);
    font-weight: bold;
    /* color: white; */
}

.card-body {
    flex: 1 1 auto;
    /* padding: 0 1.25rem 1rem 1.25rem; */
    padding: 0.75rem 0 0 1rem;
}

.price {
    font-weight:bold; 
    font-size:16px;
    color: red;
    /* background-color: rgb(252, 252, 239); */
}

.parking-group {
    margin-top: 20px;
    width: 100%;
    /* display: inline-block; */
    /* margin-left: 2%; */
}

.table {
    margin-top: 30px;
}


.button-container {
    margin-top: 50px;
    text-align: center;
    margin-right: 30%;
    margin-left: 30%;
    margin-bottom: 50px;
}

.btn {
    width: 100%;
    border: 1px solid black;
    font-size: 13px;
    background-color: #ec2552;
        border-color: #ec2552;
        color: white;
        
}

.btn:hover {
    color: white;
}


.selected {
    background-color: #17a2b8;
    border: 1px solid #17a2b8;
    color: white !important;
}

.selected :hover{
    color: white !important;
}

.radio-group {
    width: 49%;
    display: inline-block;
    /* padding-left: 50px; */
    text-align: center;

}

.detail {
    width: 99%;
    margin-top: 5px;

}

#send_answer {
    width: 100%;
}

.highlight {
    background: linear-gradient(180deg, #FFF 70%, #FFFF99 30%);
    padding: 0 5px;
}

.sorry {
    font-size: 25px;
}

.sorry-message {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 詳細ページ */

.operations {
    margin-top: 20px;
}

.update-form {
    margin-top: 30px;
    display: none;
}

.active {
    display: block !important;
}

.options {
    width: 40%;
    margin-bottom: 10px;
}

.thanks-message, .sorry-message {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    display: none;
}


/* 質問ページ */
.update-form {
    margin-left: 10%;
    margin-right: 10%;
}

.send-question {
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 10px;
}

/* サンクスページ */

.last-message {
    margin-top: 30px;
    margin-left: 20%;
    margin-right: 20%;
    text-align: center;
    line-height: 30px;
}

/* 地図部分 */
#map {
    width: 100%;
    height: 200px !important;
    background-color: grey;
    margin-top: 30px;
}

/* セールページ追加CSS */
.sale-notice {
    color: white;
    font-size: 70px;
    text-align: left;
    font-weight:bold;
}

.sale-notice img {
    height: 300px;
    width: 100%;
}

.areas {
    margin: 30px 10% 0 10%;
}

.area-list {
    /* margin-top: 10px; */
    /* border: solid 1px #dcdcdc; */
    padding: 5px 10px 0 10px;
}

.city-link {
    letter-spacing: 1px;
    font-size: 105%;
    /* border-bottom: 1px solid black; */
    margin-right: 10px;
    /* text-decoration: inherit !important; */
    text-decoration: underline !important;
}

.area-list a {
    text-decoration: none;
    color: black;
}

.prefecture {
    /* background-color: rgba(0,0,0,.03); */
    border-left: solid 5px #002853;
    padding-left: 15px;
    /* font-size: 30px; */
    margin-top: 20px;
}

.city {
    margin-top: 20px;
    border-left: solid 5px #002853;
    padding-left: 15px;
    /* background-color: #002853;
    color: white; */
}

/* ロゴ部分 */
.header-logo {
    width:50%;
    margin: 20px 10% 0 10%;
    margin-bottom: 0px;    
}

.header-top img {
    max-height: 100%;
    max-width: 100%;
}

.header-words {
    text-align: left;
    
}

/* フォーム部分 */
.required-field {
    background-color: #ec2552;
    padding: 5px 8px;
    margin-right: 5px;
    border-radius: 5px;
    color: white;
}

.error-message {
    display: none;
    background-color: yellow;
    padding: 5px;
    width: fit-content;
}

.active-error {
    display: block;
}

/* フッター */
.footer {
    width: 100%;
    margin-top: 30px;
}

.footer-container {
    margin: 0 20%;
    border-top: thin solid grey;
    margin-bottom: 30px !important;
}

.copy-right {
    padding-top: 15px;
    text-align: center;
    font-size: small;
}

.policies  {
    text-align: justify;
    vertical-align: top;
}

.policy-content {
    width: 48%;
    display: inline-block;
    text-align: center;
    font-size: small;
    vertical-align: middle;
}

.policy-content a {
    text-decoration: none;
    color: inherit;
}

}

/* PC用CSS */
@media print, screen and (min-width:481px) and (max-width:1215px){

    /* --- レイアウトCSS --- */

    body {
        width: 100%;
        font-family: "游ゴシック", "Yu Gothic";
    }

    .h5, h5 {
        font-size: 16px;
    }

    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
        font-size: 13px;
    }

    .table td, .table th {
        padding: .75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
        font-size: 13px;
    }

    .sub-heading {
        /* background-color: #00479d; */
        background-color: #002853;
        
        color: white;
        padding: 5px 10px;
    }

    a {
        color: black;
        text-decoration: none !important;
    }

    a :hover {
        text-decoration: none !important;
    }

    .top-button {
        position: fixed;
        right: 1%;
        bottom: 15px;
        border: 1px solid black;
        padding: 5px 10px;
        border-radius: 5px;
    }

    /* --- ヘッダー --- */

    header {
        text-align: center;
        /* margin-top: 25px; */
        margin: 25px 10% 0 10%;
    }

    .header-title {
        font-size: 25px;
    }

    .header-explain {
        margin-top: 20px;
    }

    .header-condition {
        text-align: left;
        margin-top: 20px;
        background-color: rgba(0,0,0,.03);
        padding: 20px 5px;
    }

    .header-logo {
        height: 40px;
    }

    .header-contact {
        color: white;
        background-color: #002853;
        /* rgb(112,173,71) */
        font-weight: bold;
        letter-spacing: 4px;
        position: absolute;
        right: 10%;
        top: 20px;
        font-size: 20px;
        border-radius: 5px;
        padding: 10px 20px 10px 20px;
        display: none;
    }

    .header-contact-text {
        font-weight: 900;
        /* letter-spacing: px; */
        position: absolute;
        right: 10%;
        top: 25px;
        font-size: 20px;
        color:#002853;
    }

    .phone-num {
        font-size: 35px;
    }
    
    .form-group {
        text-align: left;
    }

    #sp-img {
        display: none;
    }
    

    .price-warning {
        text-align: left;
        margin-top: 30px;
    }

    .city-link {
        letter-spacing: 1px;
        font-size: 105%;
        /* border-bottom: 1px solid black; */
        margin-right: 10px;
        /* text-decoration: inherit !important; */
        text-decoration: underline !important;
    }

    #toTop {
        display: none;
        text-align: center;
    }


    /* --- 物件情報 --- */

    .bukken-container {
        margin-top: 20px;
        margin-right: 10%;
        margin-left: 10%;
        margin-bottom: 50px;
    }

    .card-header {
        background-color: rgb(214,224,242);
        font-weight: bold;
        /* color: white; */
    }

    .card-body {
        flex: 1 1 auto;
        /* padding: 0 1.25rem 1rem 1.25rem; */
        padding: 0.75rem 0 0 1.25rem;
        /* text-align: center; */
    }

    .price {
        font-weight:bold; 
        font-size:18px;
        color: red;
        /* background-color: rgb(252, 252, 239); */
    }

    .parking-group {
        margin-top: 20px;
        width: 30%;
        display: inline-block;
        margin-left: 2%;
    }

    /* フッター */

    .footer {
        width: 100%;
        margin-top: 30px;
    }

    .footer-container {
        margin: 0 20%;
        border-top: thin solid grey;
        margin-bottom: 30px !important;
    }

    .copy-right {
        padding-top: 15px;
        text-align: center;
    }

    .policies  {
        text-align: justify;
    }

    .policy-content {
        width: 49%;
        display: inline-block;
        text-align: center;
    }

    .policy-content a {
        text-decoration: none;
        color: inherit;
    }

    .table {
        margin-top: 30px;
    }

    
    .button-container {
        margin-top: 50px;
        text-align: center;
        margin-right: 30%;
        margin-left: 30%;
        margin-bottom: 50px;
    }

    .btn {
        width: 100%;
        border: 1px solid black;
        font-size: 13px;
        background-color: #ec2552;
        border-color: #ec2552;
        color: white;
        
    }

    .btn:hover {
        color: white;
    }


    .selected {
        background-color: #17a2b8;
        border: 1px solid #17a2b8;
        color: white !important;
    }

    .selected :hover{
        color: white !important;
    }

    .radio-group {
        width: 49%;
        display: inline-block;
        /* padding-left: 50px; */
        text-align: center;

    }

    .detail {
        width: 99%;
        margin-top: 5px;

    }

    .detai-bukken {
        margin-right: 20% !important;
        margin-left: 20%;
    }

    #send_answer {
        width: 100%;
    }

    .highlight {
        background: linear-gradient(180deg, #FFF 70%, #FFFF99 30%);
        padding: 0 5px;
    }

    .sorry {
        font-size: 25px;
    }

    .sorry-message {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* 詳細ページ */

    .operations {
        margin-top: 20px;
    }

    .update-form {
        margin-top: 30px;
        display: none;
        margin-right: 10%;
        margin-left: 10%;
    }

    .active {
        display: block !important;
    }

    .options {
        width: 40%;
        margin-bottom: 10px;
    }

    .thanks-message, .sorry-message {
        text-align: center;
        margin-top: 30px;
        font-size: 13px;
        display: none;
    }
    

    .send-question {
        margin-left: 30%;
        margin-right: 30%;
        margin-top: 30px;
    }

    /* サンクスページ */

    .last-message {
        margin-top: 30px;
        margin-left: 20%;
        margin-right: 20%;
        text-align: center;
        line-height: 30px;
    }

    /* 地図部分 */
    #map {
        width: 100%;
        height: 400px;
        background-color: grey;
        margin-top: 30px;
    }

    /* セールページ追加CSS */
    .sale-notice {
        color: white;
        font-size: 70px;
        text-align: left;
        font-weight:bold;
    }

    .sale-notice img {
        height: 350px;
        width: 100%;
    }
    
    .areas {
        margin: 30px 10% 0 10%;
    }

    .area-list {
        /* margin-top: 10px; */
        /* border: solid 1px #dcdcdc; */
        padding: 10px 20px 0 10px;
    }

    .area-list a {
        text-decoration: none;
        color: black;
    }

    .prefecture {
        /* background-color: rgba(0,0,0,.03); */
        border-left: solid 5px #002853;
        padding-left: 15px;
        /* font-size: 30px; */
        margin-top: 20px;
    }

    .city {
        margin-top: 20px;
        /* font-size: 20px; */
        border-left: solid 5px #002853;
        /* margin-left: 20px; */
        padding-left: 15px;
    }

    .detail {
        width: 100%;
    }

    .detai-bukken {
        margin-right: 20% !important;
        margin-left: 20%;
    }

    /* ロゴ部分 */
    .header-logo {
        width:50%;
        margin: 20px 10% 0 10%;
        margin-bottom: 0px;    
    }

    .header-top img {
        max-height: 100%;
        max-width: 100%;
    }

    .header-words {
        text-align: left;
        
    }

    /* フォーム部分 */
    .required-field {
        background-color: #ec2552;
        padding: 5px 8px;
        margin-right: 5px;
        border-radius: 5px;
        color: white;
    }

    .error-message {
        display: none;
        background-color: yellow;
        padding: 5px;
        width: fit-content;
    }

    .active-error {
        display: block;
    }
}

@media screen and (min-width:1215px) and (max-width:2500px){

    /* --- レイアウトCSS --- */

    body {
        width: 100%;
        font-family: "游ゴシック", "Yu Gothic";
    }

    .h5, h5 {
        font-size: 16px;
    }

    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
        font-size: 13px;
    }

    .table td, .table th {
        padding: .75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
        font-size: 13px;
    }

    .sub-heading {
        /* background-color: #00479d; */
        background-color: #002853;
        
        color: white;
        padding: 5px 10px;
    }

    a {
        color: black;
        text-decoration: none !important;
    }

    a :hover {
        text-decoration: none !important;
    }

    .top-button {
        position: fixed;
        right: 1%;
        bottom: 15px;
        border: 1px solid black;
        padding: 5px 10px;
        border-radius: 5px;
    }

    /* --- ヘッダー --- */

    header {
        text-align: center;
        /* margin-top: 25px; */
        margin: 25px 20% 0 20%;
    }

    .header-title {
        font-size: 25px;
    }

    .header-explain {
        margin-top: 20px;
    }

    .header-condition {
        text-align: left;
        margin-top: 20px;
        background-color: rgba(0,0,0,.03);
        padding: 20px 5px;
    }

    .header-logo {
        height: 40px;
    }

    .header-contact {
        color: white;
        background-color: #002853;
        /* rgb(112,173,71) */
        font-weight: bold;
        letter-spacing: 4px;
        position: absolute;
        right: 20%;
        top: 20px;
        font-size: 20px;
        border-radius: 5px;
        padding: 10px 20px 10px 20px;
        display: none;
    }

    .header-contact-text {
        /* font-weight: bold; */
        position: absolute;
        right: 20%;
        top: 25px;
        font-size: 20px;
        font-weight: 900;
        color: #002853;
    }

    .phone-num {
        font-size: 35px;
    }
    
    .form-group {
        text-align: left;
    }

    #sp-img {
        display: none;
    }
    

    .price-warning {
        text-align: left;
        margin-top: 30px;
    }

    .city-link {
        letter-spacing: 1px;
        font-size: 105%;
        /* border-bottom: 1px solid black; */
        margin-right: 10px;
        /* text-decoration: inherit !important; */
        text-decoration: underline !important;
    }

    #toTop {
        display: none;
        text-align: center;
    }


    /* --- 物件情報 --- */

    .bukken-container {
        margin-top: 20px;
        margin-right: 20%;
        margin-left: 20%;
        margin-bottom: 50px;
    }

    .card-header {
        background-color: rgb(214,224,242);
        font-weight: bold;
        /* color: white; */
    }

    .card-body {
        flex: 1 1 auto;
        /* padding: 0 1.25rem 1rem 1.25rem; */
        padding: 0.75rem 0 0 1.25rem;
        /* text-align: center; */
    }

    .price {
        font-weight:bold; 
        font-size:18px;
        color: red;
        /* background-color: rgb(252, 252, 239); */
    }

    .parking-group {
        margin-top: 20px;
        width: 30%;
        display: inline-block;
        margin-left: 2%;
    }

    /* フッター */

    .footer {
        width: 100%;
        margin-top: 30px;
    }

    .footer-container {
        margin: 0 30%;
        border-top: thin solid grey;
        margin-bottom: 30px !important;
    }

    .copy-right {
        padding-top: 15px;
        text-align: center;
    }

    .policies  {
        text-align: justify;
    }

    .policy-content {
        width: 49%;
        display: inline-block;
        text-align: center;
    }

    .policy-content a {
        text-decoration: none;
        color: inherit;
    }

    .table {
        margin-top: 30px;
    }

    
    .button-container {
        margin-top: 50px;
        text-align: center;
        margin-right: 30%;
        margin-left: 30%;
        margin-bottom: 50px;
    }

    .btn {
        width: 100%;
        border: 1px solid black;
        font-size: 13px;
        background-color: #ec2552;
        border-color: #ec2552;
        color: white;
        
    }

    .btn:hover {
        color: white;
    }


    .selected {
        background-color: #17a2b8;
        border: 1px solid #17a2b8;
        color: white !important;
    }

    .selected :hover{
        color: white !important;
    }

    .radio-group {
        width: 49%;
        display: inline-block;
        /* padding-left: 50px; */
        text-align: center;

    }

    .detail {
        width: 99%;
        margin-top: 5px;

    }

    #send_answer {
        width: 100%;
    }

    .highlight {
        background: linear-gradient(180deg, #FFF 70%, #FFFF99 30%);
        padding: 0 5px;
    }

    .sorry {
        font-size: 25px;
    }

    .sorry-message {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* 詳細ページ */

    .operations {
        margin-top: 20px;
    }

    .update-form {
        margin-top: 30px;
        display: none;
    }

    .active {
        display: block !important;
    }

    .options {
        width: 40%;
        margin-bottom: 10px;
    }

    .thanks-message, .sorry-message {
        text-align: center;
        margin-top: 30px;
        font-size: 13px;
        display: none;
    }
    

    /* 質問ページ */
    .update-form {
        margin-left: 20%;
        margin-right: 20%;
    }

    

    .send-question {
        margin-left: 30%;
        margin-right: 30%;
        margin-top: 30px;
    }

    /* サンクスページ */

    .last-message {
        margin-top: 30px;
        margin-left: 20%;
        margin-right: 20%;
        text-align: center;
        line-height: 30px;
    }

    /* 地図部分 */
    #map {
        width: 100%;
        height: 400px;
        background-color: grey;
        margin-top: 30px;
    }

    /* セールページ追加CSS */
    .sale-notice {
        color: white;
        font-size: 70px;
        text-align: left;
        font-weight:bold;
    }

    .sale-notice img {
        height: 350px;
        width: 100%;
    }
    
    .areas {
        margin: 30px 20% 0 20%;
    }

    .area-list {
        /* margin-top: 10px; */
        /* border: solid 1px #dcdcdc; */
        padding: 10px 20px 0 10px;
    }

    .area-list a {
        text-decoration: none;
        color: black;
    }

    .prefecture {
        /* background-color: rgba(0,0,0,.03); */
        border-left: solid 5px #002853;
        padding-left: 15px;
        /* font-size: 30px; */
        margin-top: 20px;
    }

    .city {
        margin-top: 20px;
        /* font-size: 20px; */
        border-left: solid 5px #002853;
        /* margin-left: 20px; */
        padding-left: 15px;
    }

    .detail {
        width: 100%;
        
    }

    /* ロゴ部分 */
    .header-logo {
        width:50%;
        margin: 20px 20% 0 20%;
        margin-bottom: 0px;    
    }

    .header-top img {
        max-height: 100%;
        max-width: 100%;
    }

    .header-words {
        text-align: left;
        
    }

    /* フォーム部分 */
    .required-field {
        background-color: #ec2552;
        padding: 5px 8px;
        margin-right: 5px;
        border-radius: 5px;
        color: white;
    }

    .error-message {
        display: none;
        background-color: yellow;
        padding: 5px;
        width: fit-content;
    }

    .active-error {
        display: block;
    }

}

