@charset "UTF-8";

/*==========================
トップページの設定
============================*/

.Tnews-wrapper{
    height:300px;
    overflow: scroll;
}

.Tnews{
    margin-bottom:30px;
    padding:0 1em;
}

.Tnews dt{
    font-size:1.2rem;
}

.Tnews dd{
    border-bottom:1px dashed #fff;
    margin-bottom:10px;
    padding-bottom:10px;
}

.top-info{
    border:1px solid #fff;
    padding:20px;
    margin-bottom:20px;
}

.top-info-cont{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    @media(max-width:767px){
        flex-wrap:wrap;
    }
}

.top-info-title{
    color:#f00;
    text-align: center;
    font-size:1.8rem !important;
    margin-bottom:10px;

}

.top-info-img{
    margin-inline:auto;
}

@media(min-width:768px){

.top-info-text{
    flex-basis:90%;
}

.top-info-img{
    flex-basis:10%;
    text-align: right;

}

}

.top-info-att{
    text-decoration: underline;
    font-size:1.8rem;
}
.top-info-att span{
    color:#ffdd00;
}

/* トップ緊急情報 */
.e-info{
    text-align: center;
    border:1px solid #ccc;
    padding:10px;
    margin-bottom:20px;
}

.e-info-hagaki{
    width:50%;
    margin: auto;
}

@media(max-width:480px){
    .e-info-hagaki{
        width:100%;
    }
}

/* CLUB MAZDA セクション 2023/10/24追加 */

.top-clubmazda {
    background-color:#ccc;
    color:#000;
    padding: 40px 20px;
    margin-bottom: 20px;
}

.top-clubmazda h3 {
    font-size:24px;
}
.top-clubmazda p {
    color:#000;
    margin-bottom:20px;
}

.top-clubmazda .right {
    text-align: right;
}

.top-clubmazda a {
    padding:10px;
    text-decoration: none;
    color:#ccc;
    background-color:#000;
    transition: all 0.5s;
}

.top-clubmazda a:hover  {
    background-color:#666;
    color:#fff;
}