@charset "UTF-8";

footer{
    width: 100%;
    background-image: url(../../img/23349316.jpg);
    background-repeat: repeat;
    padding: 10px 0;
}

footer > div {
    background-image: url(../../img/265012_pc.png);
    background-size: 100% 100%; /* 横幅100%、縦幅100% に引き伸ばし */
    width: 95%;
    margin: 0 auto;
    padding: 70px 20px 30px;
}
footer > div > div {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.footer_logo{
    width: 150px;
}

.footer_logo img{
    width: 100%;
}
.footer_list{
    list-style: none;
    width: 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    border-left: 2px solid rgb(206, 206, 206);
    padding-left: 30px;
}
.footer_right {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #666;
}
/* 共通設定 ── 下線アニメーションの準備 */
.footer_list li:not(:last-child) a,
.footer_btn1 a {
    position: relative;          /* 疑似要素の基点 */
    text-decoration: none;       /* 既存の下線は消す */
    color: inherit;              /* 現在の文字色を継承（既存指定を優先） */
    padding-bottom: 3px;
}

.footer_list li:not(:last-child) a::after,
.footer_btn1 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;                 /* 下線の太さ */
    background: currentColor;    /* 文字色と同じ色で下線 */
    transform: scaleX(0);        /* 初期状態：下線を0％ */
    transform-origin: left;      /* 左端を起点に伸ばす */
    transition: transform 0.3s ease;
}

/* ホバー時に下線が左→右へフル表示 */
.footer_list li:not(:last-child) a:hover::after,
.footer_btn1 a:hover::after {
    transform: scaleX(1);
}

/* ── 既存の色指定を維持 ── */
.footer_list li:not(:last-child) a {
    color: rgb(65, 65, 65);
}
.footer_btn1 a{
    color: #4171af;
}

@media (max-width: 700px) {

footer > div {
    background-image: url(../../img/265012.png);
    background-size: 100% 100%; /* 横幅100%、縦幅100% に引き伸ばし */
    width: 95%;
    margin: 0 auto;
    padding: 70px 20px 30px;
}
footer > div > div {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}
.footer_list{
    list-style: none;
    width: 250px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    border-left: none;
    border-top: 2px solid rgb(206, 206, 206);
    padding-top: 30px;
    padding-left: 30px;
}

}
