/* フッター用カスタムCSS - EC-CUBEアップデート時に保護されます */

.ec-footerRole {
    background-color: #525252;
    color: #fff;
    padding: 20px 0 ;
    border-top: none !important;
}

.ec-footerRole__inner {
    max-width: 1130px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

/* フッターのグリッドレイアウト */
.ec-footerGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #525252;
}

.ec-footerGrid__left {
    width: 70%;
}

.ec-footerGrid__right {
    width: 28%;
    /* display: flex; */
    align-items: center;
}

.ec-footerBanner {
    width: 100%;
}

.ec-footerBanner img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}


/* フッターバナーの画像にホバー効果を追加 */
.ec-footerBanner img {
    transition: all 0.3s ease;
    
}


.ec-footerBanner img:hover {
    opacity: 0.9;
}

.ec-grid3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ec-footerColumn {
    width: 30%;
}

.ec-footerMenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-footerMenu li {
    margin-bottom: 30px;
}

.ec-footerMenu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.ec-footerMenu li a:hover {
    color: #d3d3d3;
}

.ec-footerTitle {
    text-align: center;
    padding: 20px 0!important;
    background-color: #262626;

}

.ec-footerTitle__logo {
    margin-bottom: 10px;
}

.ec-footerTitle__logo a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.ec-footerTitle__logo a:hover {
    color: #d3d3d3;
}

.ec-footerTitle__copyright {
    font-size: 14px !important ;
    color: #ccc;
    padding: 10px 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .ec-footerGrid__left,
    .ec-footerGrid__right {
        width: 100%;
    }
    
    .ec-footerGrid__right {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .ec-footerColumn {
        width: 100%;
    }
}

.ec-footerCarchs {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0px ;
}

.ec-footerRole__inner2{
    background-color: #333;
}
/* アガスタロゴとカーチスロゴ（横並び） */
.ec-footerCarchs__logoRow {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.ec-footerCarchs__agasta {
    flex: 0 0 auto;
    max-width: 300px;
    border-radius: 5px;
}

.ec-footerCarchs__carchs {
    flex: 0 0 auto;
    max-width: 300px;
    border-radius: 5px;
}

.ec-footerCarchs__agasta img,
.ec-footerCarchs__carchs img {
    max-width: 100%;
    height: auto;
}

/* 下部メッセージ（枠で囲まれたテキスト） */
.ec-footerCarchs__bottomMessage {
    border-radius: 5px;
    text-align: center;
}

.ec-footerCarchs__bottomMessage p {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* インラインロゴ */
.ec-footerCarchs__inlinelogo {
    margin: 0 5px;
    vertical-align: middle;
}

.ec-footerCarchs__logoRow img {
    transition: all 0.3s ease;
}

.ec-footerCarchs__logoRow img:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.ec-footerCarchs__bottomMessage img {
    transition: all 0.3s ease;
    max-width: 90%;
}

.ec-footerCarchs__bottomMessage img:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    
}



@media screen and (max-width: 767px) {
    .ec-footerCarchs__logoRow {
        flex-direction: column;    }
    
    .ec-footerCarchs__agasta,
    .ec-footerCarchs__carchs {
        margin-bottom: 10px;
    }
    
    .ec-footerCarchs__bottomMessage p {
        font-size: 14px;
    }
    
    .ec-footerCarchs__inlinelogo {
width: 100%;    }
}