@import url("/common/css/sp/keyvisual.css");

.kv {
    margin-top: 6.5vw;
}

.kv_wrap_bg {
    background-image: url(/common/img/garage/kv_garage_bg.jpg) !important;
    background-position: 99% 47%;
    background-size: 74cqw;
}

body.garage_top .gray {
    background-color: #f7f8f8;
    margin-top: 5vw;
    padding: 5vw 0 3vw 0;
    width: 100%;
}

body.garage_top .white {
    background-color: #fff;
    padding: 100px 0;
    width: 100%;
}

body.garage_top .link_arrow_wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    background-image: url(../img/common/arrow_box.svg);
    background-size: 100% 100%;
    height: 48px;
    width: 48px;
    padding: 8.3px 8px;
    display: block;
}

body.garage_top .link_arrow {
    background-image: url(../img/index/btn_arrow_white2.svg);
    background-size: 100% 100%;
    height: 10px;
    width: 12px;
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 0;
}

.garage_top h2 {
    font-weight: 500;
    margin-bottom: 3vw;
}

.garage_box {
    width: 100%;
    padding: 0vw;
    margin-bottom: 5vw;
    position: relative;
    display: block;
    gap: 7vw;
    border-bottom: solid 1px #ccc;
    padding-bottom: 3vw;
}

.garage_box.right {
    /*    flex-direction: row-reverse;*/
}

.garage_box img {
    width: 100%;
    height: fit-content;
    height: auto;
}

.garage_box div {
    width: 100%;
    display: block;
    flex-direction: column;
    justify-content: center;
    height: auto;
}

.garage_box div h3 {
    font-weight: 500;
}

.garage_box div p {
    font-weight: 500;
}

.garage_box:last-child {
    margin-bottom: 10vw;
}

/* --------------------------------------------
    content_link
-------------------------------------------- */

.content_links {
    width: 100%;
    overflow: hidden;
    padding-left: 0px;
    display: block;
    gap: 40px;
    flex-direction: row;
    flex-wrap: wrap;
}

.content_links .content_link {
    width: 100%;
    flex: 1 1 calc((100% - 80px) / 3);
    /* 3列配置 */
    /* 最大幅を指定 */
    box-sizing: border-box;
    /* パディングやボーダーを幅に含む */
    position: relative;
    margin-bottom: 6vw;
    border-bottom: solid 1px #ccc;
    padding-bottom: 3vw;

}

.content_links .content_link:hover {}

.content_link img {
    margin-bottom: 0.5vw;
    width: 100%;
    height: fit-content;
    height: auto;
}

.content_link div {}

.content_link h3 {
    font-weight: 500;
    line-height: 1.6;
}

.content_link p {
    font-weight: 500;
}

.content_link span {
    opacity: 1;
    color: #222;
    margin-top: 1vw;
    z-index: 1;
    font-weight: 600;
    font-size: 3vw;
    border: none;
    width: unset;
}

.content_link span:hover {
    opacity: 0.5;
}

.content_link:hover {
    opacity: 1;
}

.content_link img:hover {
    transform: scale(1.03);
}

.content_link div:hover {}

.content_link a:hover {
    opacity: 1;
}

.content_link * {
    transition: all 0.5s;
}

.container {}

li.content_link h3 {
    margin-bottom: 0.4vw;
}

/* --------------------------------------------
    tab
-------------------------------------------- */
.tag {
    margin-bottom: 1vw;
}

.tag li {
    display: inline;
    margin-right: 0.3vw;
}

.tag li a {
    font-weight: 500;
    font-size: 3vw;
    background-color: #f1f1f1;
    padding: 0.3em 0.6em;
}