/* archive */
.archive-section {
    text-align: left;
    margin: 0 0 36px 0;
}

.archive-section h2 {
    font-family: 'Tenali Ramakrishna', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
    margin-bottom: -26px;
}

.archive-section h3 {
    font-family: 'Tenali Ramakrishna', sans-serif;
    font-size: 2.0rem;
    font-weight: normal;
    margin-bottom: -10px;
    text-align: left;
}

.archive-section h4 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 12px;
}

.archive {
    padding: 0.5em 0;
}

.archive-contents {
    margin: 0 auto;
    padding: 0 1.2rem;
}

/*
.archive-content {
    display: grid;
    grid-template-columns: repeat(3, 31%);
    gap: 2rem;
    margin: 0.5rem 0;
}

.archive-content .open::after {
    top: 10%;
    transform: rotate(-90deg);
    transition: .2s;
}
*/

.archive__item {
    padding: 10px 20px;
    border-bottom: 1px solid #666060;
    list-style-type: none;
}

.archive__item .open::after {
    top: 10%;
    transform: rotate(-90deg);
    transition: .2s;
}

.archive__title {
    position: relative;
    padding-left: 25px;
    font-size: 18px;
    cursor: pointer;
}

.archive__title::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 24px;
    height: 14px;
    transform: translateY(-50%) rotate(90deg);
    transition: .2s;
    background: url("../images/common/ico_arrow_gray.svg") no-repeat center center/100% 100%;
    content: "";
}

.archive__title::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #666060;
    content: "";
}

.archive-img {
    position: relative;
    width: 100%;
    /*　トリミングしたい枠の幅（固定にしたい場合はサイズを入力）　*/
    padding-top: 75%;
    /*　トリミングしたい枠の高さを比率で指定。（固定にしたい場合はサイズを入力）　*/
    margin: 0 auto;
}

.archive-img img {
    /* 画像を上下左右に中央配置する（絶対指定） */
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: cover;
}

.archive-img span {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #fff;
    font-size: 1.4rem;
    padding: 0.3rem 0.6rem;
}

.archive-text {
    margin: 0.2rem 0;
    padding: 0 0rem;
}

.archive-text span {
    font-size: 0.9rem;
    font-weight: 300;
    display: block;
}

.archive-text h3 {
    padding: 0;
    font-size: 1.3rem;
    font-weight: 500;
}

.archive-text p {
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.90;
    padding-bottom: 1.2rem;
}

.archive-text a {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--dark);
    display: inline-block;
    color: #fff;
    padding: 0;
    transition: all 0.5s ease;
}

.archive-text a:hover {
    background: var(--exDark);
}

.archive-text-img span {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--exDark);
    color: #fff;
    font-size: 1.4rem;
    padding: 0.3rem 0.6rem;
}

.archive__res {
    display: grid;
    grid-template-columns: repeat(3, 31%);
    gap: 2rem;
    margin: 0.5rem 0;
}


/* Media Queries */
@media(max-width:1300px) {
    .archive-content {
        display: grid;
        grid-template-columns: repeat(2, 48%);
        gap: 2rem;
    }
}

@media screen and (max-width: 700px) {
    .archive-content {
        display: grid;
        grid-template-columns: repeat(1, 100%);
        gap: 2rem;
    }
}