@charset "utf-8";

/* ---------- 
共通CSS
----------*/
.inner {
    width: clamp(840px, 60vw, 1008px);
}

/* ---------- 
projectstory-header
----------*/
.projectstory-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.projectstory-book-info .page-title-c{
    margin-bottom: 20px;
}

.projectstory-book-info .book-author{
    margin-bottom: 20px;
    font-size: clamp(14px, 1vw, calc(14px * var(--ratio)));
    font-weight: 500;
    line-height: calc(25/14);
}

.projectstory-book-info .book-isbn,
.projectstory-book-info .book-price{
    font-size: clamp(12px, 0.85vw, calc(12px * var(--ratio)));
    font-weight: 500;
    line-height: calc(23/12);
}


.projectstory-header .projectstory-image{
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(256px, 18.21vw, calc(256px * var(--ratio)));
    height: clamp(256px, 18.21vw, calc(256px * var(--ratio)));
}

@media screen and (max-width: 700px) {
    .projectstory-header{
        flex-direction: column-reverse;
        gap: 30px;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .projectstory-header .projectstory-image{
        width: 100%;
        height: auto;
    }
}

/* ---------- 
projectstory-content
----------*/
.projectstory-summary{
    font-size: clamp(16px, 1.14vw, calc(16px * var(--ratio)));
    line-height: calc(34/16);
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 60px;
}

@media screen and (max-width: 700px) {
    .projectstory-summary{
        font-size: calc(15px / var(--fs-base) * 1rem);
        line-height: calc(30/15);
    }
}

/* ---------- 
index-block
----------*/
 .index-list {
    margin-bottom: 40px;

}
 .index-list li {
    position: relative;
    border-bottom: 1px solid var(--color-707070);
}
 .index-list li:nth-child(1){
    border-top: 1px solid var(--color-707070);
}
 .index-list li:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    width: 8.5px;
    height: 8.5px;
    border-top: 1px solid var(--color-text);
    border-right: 1px solid var(--color-text);
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.3s ease;
}
 .index-list li a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 3em;
}

.index-list li a .index-list-item-image{
    width: clamp(145px, 10.36vw, calc(145px * var(--ratio)));
    flex-shrink: 0;
    align-self: stretch;
    max-height: clamp(145px, 10.36vw, calc(145px * var(--ratio)));
    overflow: hidden;
}
 .index-list li a .index-list-item-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.index-list li a .index-list-item-text{
    color: var(--color-text);
}
.index-list li a .index-list-item-title.link-text{
    font-size: clamp(17px, 1.21vw, calc(17px * var(--ratio)));
    font-weight: 500;
    color: var(--color-text);
    line-height: calc(32/17);
    letter-spacing: 0.025em;
    background-image: linear-gradient(var(--color-text), var(--color-text));
    width: fit-content;
    margin-bottom: 14px;
}
 .index-list li a .index-list-item-description {
    font-size: clamp(14px, 0.98vw, calc(14px * var(--ratio)));
    font-weight: 400;
    line-height: calc(26/14);
    letter-spacing: 0.05em;
}


@media screen and (min-width: 701px) {
     .index-list li:hover:after {
        right: 20px;
    }

    .index-list li:hover .index-list-item-title.link-text{
        background-size:100% 1px;
    }
}
@media screen and (max-width: 700px) {
    #projectstory .index-list > li{
        padding-bottom: 25px;
    }

    #projectstory .index-list > li > a {
        display: grid;
        grid-template-columns: minmax(77px, 20px) 1fr 0px;
        grid-template-rows: auto auto;
        grid-template-areas:
            "thumb title chevron"
            "desc desc desc";
        column-gap: 20px;
        row-gap: 15px;
        align-items: stretch;
        padding-right: 0;
    }

    .index-list li:after{
        top: 33.5px;
        right: 20px;
    }

    #projectstory .index-list .index-list-item-text {
        display: contents;
        padding: 0;
    }

    #projectstory .index-list .index-list-item-image {
        grid-area: thumb;
        width: 100%;
        min-width: 0;
        max-width: 77px;
        max-height: 77px;
        align-self: stretch;
    }

    #projectstory .index-list .index-list-item-title.link-text {
        grid-area: title;
        align-self: center;
        margin-bottom: 0;
        font-size: calc(15px / var(--fs-base) * 1rem);
        line-height: 1.5;
    }

    #projectstory .index-list .index-list-item-description {
        grid-area: desc;
        font-size: calc(12px / var(--fs-base) * 1rem);
        line-height: calc(24/12);
    }
}

/* ---------- 
btn-wrap
----------*/
.btn-wrap {
    margin-bottom: 80px;
}
@media screen and (max-width: 700px) {
    .btn-wrap {
        margin-bottom: 60px;
    }
}