@charset "UTF-8";

/************************************
** 即納車ページ用CSS
************************************/
body, p{
    font-size: 18px;
}
a{
    text-decoration: none;
}
.tx-orenge{
    color: #dd5700;
}

.mishiyousya-top{
    background-color: #d7f1f9;
    text-align: center;
    padding: 30px 0;
    margin-top: 30px;
}
.mishiyousya-top img{
    width: auto;
}
.mishiyousya-block{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    justify-content: space-between;
    padding: 30px 0;
}
.mishiyousya-card{
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #ccc;
    font-weight: bold;
    padding: 20px 15px;
    margin-bottom: 15px;
}
.mishiyousya-card:hover{
    background-color: #d7f1f9;
}
.mishiyousya-subtitle{
    display: flex;
    justify-content: space-between;
    color: #0077a8;
    border-bottom: 2px solid #0077a8;
}
.mishiyousya-subtitle .mishiyousya{
    font-size: 15px;
    background-color: #0077a8;
    color: #fff;
    padding: 5px 5px 0 5px;
}
.mishiyousya-name{
    font-size: 1.5em;
    line-height: 1.2;
    color: #555;
    padding-top: 15px;
}
.mishiyousya-name span{
    display: block;
    font-size: 0.8em;
    color: #aaa;
}
.mishiyousya-img{
    padding-bottom: 10px;
}
.sougaku{
    display: flex;
    align-items: center;
    line-height: 1;
    color: #dd5700;
}
.sougaku-item{
    width: fit-content;
    height: fit-content;
    background-color: #dd5700;
    color: #fff;
    border-radius: 3px;
    font-size: 15px;
    padding: 10px;
    margin-right: 15px;
}
.sougaku-item2{
    display: flex;
    align-items: flex-end;
}
.sougaku-item2 p{
    font-size: 50px;
}
.sougaku-item2 .small{
    font-size: 25px;
}
.hiyou{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    color: #555;
}
.hiyou p{
    text-align: center;
    border-bottom: 2px solid #ddd;
}
/* table */
table:not(.has-border-color) :where(th,td){
    border: 2px solid #ccc;
}
.mishiyousya-info table tr th,
.mishiyousya-info table tr td{
    padding: 0 5px;
}
.mishiyousya-info table tr th{
    background-color: #ddd;
    color: #555;
}
.mishiyousya-info table tr td{
    background-color: #fff;
    color: #555;
}
.link-button{
    position: relative;
    background-color: #0077a8;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 5px 20px 5px 5px;
    margin-top: 5px;
}
.link-button::after{
    content:"▲";
    position: absolute;
    right: 20px;
    transform: rotate(90deg);
}
.tx-note{
    font-size: 14px;
}
.mishiyousya-bottom{
    padding: 30px 0;
}
.balloon{
    position: relative;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    color: #0077a8;
    background-color: #fff;
    border: 3px solid #0077a8;
    padding: 15px 50px;
    margin: 15px 0;
    left: 50%;
    transform: translate(-50%, 0%);
}
.balloon::before{
    content: "";
    position: absolute;
    bottom: -24px;
    left: 50%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-top: 12px solid #fff;
    z-index: 2;
}
.balloon:after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -17px;
    border: 14px solid transparent;
    border-top: 14px solid #0077a8;
    z-index: 1;
}
.contact-block{
    max-width: 650px;
    padding: 15px 15px 30px 15px;
    margin: auto;
}
.mishiyousya-item{
    font-weight: bold;
    background-color: #d7f1f9;
    padding: 30px;
}
.mishiyousya-item div{
    text-align: center;
}
.mishiyousya-item .title{
    display: inline-block;
    background: linear-gradient(transparent 50%, #fff 30%);
    color: #0077a8;
    font-size: 1.2em;
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1em;
}

/* 950px以下 */
@media screen and (max-width: 950px){
    body, p{
        font-size: 15px;
    }
    .so-wrap{
        padding: 15px;
    }
    .mishiyousya-top{
        padding: 15px 0;
        margin: 0;
    }
    .mishiyousya-top img{
        width: 90%;
    }
    .mishiyousya-block{
        gap: 10px;
        padding: 15px 0;
    }
    .mishiyousya-card{
        box-shadow: 1px 1px 2px #ccc;
        padding: 15px 10px;
    }
    .mishiyousya-subtitle .mishiyousya{
        font-size: 12px;
    }
    .mishiyousya-name{
        font-size: 1em;
        padding-top: 10px;
    }
    .mishiyousya-img{
        padding-bottom: 5px;
    }
    .sougaku{
        display: block;
        font-size: 35px;
    }
    .sougaku-item{
        font-size: 12px;
        padding: 8px;
        margin-bottom: 5px;
    }
    .sougaku-item2 p{
        font-size: 35px;
    }
    .sougaku-item2 .small{
        font-size: 15px;
    }
    .hiyou{
        display: block;
    }
    .link-button{
        font-size: 14px;
    }
    .mishiyousya-info table tr th{
        width: 45%;
    }
    .balloon{
        padding: 15px;
    }
    .mishiyousya-item{
        font-size: 15px;
        padding: 20px;
    }

    /* 即納車子ページ */
}

/* 480px以下 */
@media (max-width: 480px) {
    body, p{
        font-size: 14px;
    }
    .so-wrap{
        padding: 10px;
    }
    .mishiyousya-card{
        padding: 10px;
    }
    .mishiyousya-subtitle .mishiyousya{
        font-size: 10px;
    }
    .sougaku-item{
        padding: 5px;
        margin-bottom: 3px;
    }
    .sougaku-item2 p{
        font-size: 30px;
    }

    .link-button{
        font-size: 12px;
    }
}