@charset "utf-8";
@import "anime.css";

/*
------------
casestudy_index.css
------------
*/

/* title_area */
#title_area::before {
    background-image: url(../../images/content/casestudy/titleBg.webp);
}
@media only screen and (max-width: 768px) {
    #title_area::before {
        background-image: url(../../images/content/casestudy/titleBgSP.webp);
    }
}
/* casestudy_list */
#casestudy_list {
    margin: 85px 0 0 0;   
}
#casestudy_list .inner {
    width: calc(100vw * 1100 / 1400);
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 25px;
}
#casestudy_list .inner article {
    width: 350px;
    display: flex;
    align-items: stretch;
}
#casestudy_list .inner article a {
    display: block;
    padding: 40px;
    background-color: #fff;
    border: 1px solid rgba(132, 115, 68, 0.10);
    box-shadow: 5px 5px 0 0 rgba(132, 115, 68, 0.10);
    border-radius: 10px;
    position: relative;
    transition: all .3s ease;
}
#casestudy_list .inner article figure {
    width: 100%;
    height: auto;
    aspect-ratio: 540 / 364;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}
#casestudy_list .inner article figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#casestudy_list .inner article .item {
    margin: 30px 0 0 0;
}
#casestudy_list .inner article .item p {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
}
#casestudy_list .inner article .item dl {
    margin: 35px 0 0 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 0;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
}
#casestudy_list .inner article .item dl dt {
    width: 6em;
    color: var(--accent_color);
    border-bottom: 1px solid rgba(28, 33, 35, .2);
    padding: 0 0 10px 0;
}
#casestudy_list .inner article .item dl dd {
    width: calc(100% - 6em);
    border-bottom: 1px solid rgba(28, 33, 35, .2);
    padding: 0 0 10px 5px;
}
#casestudy_list .inner article a:hover {
    box-shadow: none;
    background-color: rgba(132, 115, 68, 0.10);
}
@media only screen and (max-width: 768px) {
    #casestudy_list {
        margin: 65px 0 0 0;   
    }
    #casestudy_list .inner {
        width: 85vw;
        max-width: 85vw;
        display: block;
    }
    #casestudy_list .inner article {
        width: 100%;
        display: block;
    }
    #casestudy_list .inner article:not(:first-child) {
        margin: 30px 0 0 0;
    }
    #casestudy_list .inner article a {
        display: block;
        padding: 20px 20px 40px 20px;
    }
    #casestudy_list .inner article .item {
        margin: 25px 0 0 0;
        padding: 0 10px;
    }
    #casestudy_list .inner article .item dl {
        margin: 30px 0 0 0;
    }
    #casestudy_list .inner article .item dl dt {
        width: 5em;
    }
    #casestudy_list .inner article .item dl dd {
        width: calc(100% - 5em);
    }
    #casestudy_list .inner article a:hover {
        box-shadow: 5px 5px 0 0 rgba(132, 115, 68, 0.10);
        background-color: #fff;
    }
}
/* page_nav */
#page_nav {
    margin: 125px 0 0 0;
}
#page_nav nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
#page_nav nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
#page_nav nav ul li {
    width: 2.8em;
    height: 2.8em;
    font-family: "Cinzel", serif;
    font-size: 1.4rem;
    font-weight: 600;
}
#page_nav nav ul li a {
    width: 100%;
    height: 100%;
    background-color: var(--main_bg_color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all .3s ease;
}
#page_nav nav ul li.active a {
    background-color: var(--accent_color);
    border: 1px solid var(--accent_color);
    color: var(--main_bg_color);
    pointer-events: none;
}
#page_nav nav ul li a:hover {
    opacity: .6;
}
#page_nav nav p.btn svg {
    width: 19px;
    height: 15px;
}
#page_nav nav p.btn svg .arrow {
    fill: var(--accent_color);
}
#page_nav nav p.btn a {
    transition: all .3s ease;
}
#page_nav nav p.btn a:hover {
    opacity: .6;
}
@media only screen and (max-width: 768px) {
    #page_nav {
        margin: 45px 0 0 0;
    }
    #page_nav nav {
        gap: 20px;
    }
    #page_nav nav ul li a:hover {
        opacity: 1;
    }
    #page_nav nav p.btn a:hover {
        opacity: 1;
    }
}