/* 前書きエリア　ここから */
.preface {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap:  0 0.5rem;
}
.item_link {
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 1.25rem;
    color: #fff;
    padding: 0.5em 0.5em 0.5em 0.25em;
    text-decoration: none;
    border-radius: 10px;
    background-color: #4877b1;
    gap: 0.5rem;
}
.item_link:hover {
    background-color: #0854b0;
}
.structure_icon {
    font-size: 2.5rem;
}
.structure_text {
    flex:0 1 auto;
    letter-spacing: 0.2em;
    font-weight: bold;
    line-height: 1;
    /* text-align: center; */
}
.item_right img {
    width: 250px;
    border: 1px solid #ccc;
    object-fit: contain;
    vertical-align: top;
}
/* 前書きエリア　ここまで */
/* アシストの仕組み　ここから */
section {
    background-color: rgba(255,255,255,0.3);
}
.disc_list {
    list-style: disc;
}
.photo_layout {
    display: flex;
    flex-wrap: nowrap;
    width: calc(100% - 1rem);
    gap: 0 1rem;
    align-items: flex-start;
    justify-content: space-between;
}
.type_img img {
    width: 170px;
    vertical-align: top;
    object-fit: contain;
}
/* アシストの仕組み　ここまで */
/* テーマエリア　ここから */
.theme_container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 1em;
}
.theme_item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: clamp(0.75rem, 2.1vw, 1.25rem);
    font-weight: bold;
    padding: 0.5em 1em;
    background-color: #fff;
    border-radius: clamp(5px,1vw,10px);
    text-decoration: none;
    cursor: pointer;
}
.theme_item:nth-child(1) {
    /* color: #fff; */
    background-color: #89b7f0;
    border: 4px solid #4877b1;
}
.theme_item:nth-child(2) {
    background-color: #fbf8b7;
    border: 4px solid #f6ec2c;
}
.theme_item:nth-child(3) {
    background-color: #fcdfc9;
    border: 4px solid #ffc292;
}
.theme_item:nth-child(1):hover {
    color: #fff;
    background-color: #4877b1;
}
.theme_item:nth-child(2):hover {
    background-color: #f6ec2c;
}
.theme_item:nth-child(3):hover {
    background-color: #ffc292;
}
.theme_item:nth-child(1).select {
    color: #fff;
    background-color:#4877b1;
}
.theme_item:nth-child(2).select {
    background-color:#f6ec2c;
}
.theme_item:nth-child(3).select {
    background-color:#ffc292;
}
/* テーマエリア　ここまで */
/* 一覧指定　ここから */
.articles {
    display: flex;
    flex-direction: column;
    gap: 2em;
}
.article {
    display: none;
    flex-direction: column;
    width: 90%;
    padding: 1em;
    color: #000;
    font-size: calc(0.9rem, 2.5vw, 1rem);
    background-color: #caedff;
    border: 3px solid #7bccf4;
    border-radius: 1em;
    text-decoration: none;
    gap: 1.5em;
    box-shadow: 5px 5px 5px #aaa;
    transform-origin: bottom left;
    transition: all 0.5s;
}
.article.display {
    display: flex;
}
.article:hover {
    /* scale: 1.1; */
    transform: scale(1.1) ;
}
.article_title {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1;
    border-left: 7px solid #59B023;
    border-bottom: 2px dashed #59B023;
    padding-bottom: 0.5em;
    padding-left: 1em;
    padding-right: 6em;
    gap: 0.25em;
    position: relative;
    @media (width < 900px) {
        padding-right: 0;
    }
}
.article_title.type2{
    padding-top: 0.5em;
    padding-bottom: 0.1em;
}
.article_no {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: bold;
    &::before {
        content: "Vol.";
    }
    &::after {
        content: "：";
    }
}
.article_text_area {
    display: flex;
    flex-wrap: wrap;
}
.article_text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: bold;
}
.article_theme {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 5px;
}
.article[data-theme="like"] .article_theme {
    background-color: #fff85f;
}
.article[data-theme="style"] .article_theme {
    background-color: #ffc292;
}
.article_info {
    display: flex;
    min-height: 130px;
    padding-left: 1em;
    gap: 1em;
}
.info_img {
    display: flex;
    flex-shrink: 0;
    width: min(35%,130px);
    height: min(35%,130px);
    gap: 1em;
    img {
        width: 100%;
    }
}
.info_text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    height: calc(1.5em * 5);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}
/* 一覧指定　ここまで */
/* ページ切り替え　ここから */
.page_switching {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 auto;
    list-style-type: none;
    gap: 0.2em;
}
.page_start,
.page_prev,
.switching_button,
.page_next,
.page_end {
    display: none;
    align-items: center;
    justify-content: center;
    color: #3861ad;
    font-size: 1.5rem;
    width: 1.5em;
    height: 1.5em;
    background-color: #fff;
    border: 1px solid #3861ad;
    border-radius: 10px;
    transition: all 0.3s;
}
.dot_start,
.dot_end {
    display: none;
    color: #3861ad;
    font-size: 1.5rem;

}
.dot_start.display,
.dot_end.display {
    display: block;
}
.page_start.display,
.page_prev.display,
.switching_button.display,
.page_next.display,
.page_end.display {
    display: flex;
}
.page_start:hover,
.page_prev:hover,
.switching_button:hover,
.switching_button.active,
.page_next:hover,
.page_end:hover {
    color: #fff;
    background-color: #3861ad;
    cursor: pointer;
}

/* ページ切り替え　ここまで */
/* view_more配下ページ指定　ここから */
/* ページバック　ここから */
.page_back {
    color: #415890;
    font-size: 1rem;
    background-color: transparent;
    border: none;
    &:hover {
        text-decoration: underline;
    }
}
/* ページバック　ここまで */
#Logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
}
.logo_text {
    font-size: clamp(1rem, 2vw, 1.5rem);
}
.type_area {
    display: flex;
    align-items: center;
    width: 100%;
    height: 120px;
    position: relative;
}
.type_area div {
    display: flex;
    width: 250px;
    height: 100%;
    position: relative;
}
.type_area div img {
    display: flex;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.type_area[data-theme="like"] .like,
.type_area[data-theme="style"] .style {
    opacity: 1;
}
.type_area[data-theme="none"] {
    height: 2rem;
}
.type_area p {
    position: absolute;
    top: 50%;
    left: 210px;
    transform: translateY(-50%);
    font-weight: bold;
    color: #2c4d88;
    opacity: 0;
}
.type_area[data-theme="like"] p {
    opacity: 1;
}

.button_area {
    display: flex;
    justify-content: space-between;
    padding-left: 2em;
}
.prev_next_area {
    display: flex;
    align-items: center;
    gap: 0.5em;
    .button {
        width: fit-content;
        padding: 0.75em;
        font-size: 1rem;
        font-weight: bold;
        line-height: 1;
        background-color: var(--color_assist3);
        border: none;
        transition: all 0.3s;
        &.next {
            position: relative;
            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: -2.43em;
                border-right: 1.25em solid var(--color_assist3);
                border-top: 1.25em solid transparent;
                border-left: 1.25em solid transparent;
                border-bottom: 1.25em solid transparent;
                transition: all 0.3s;
            }
        }
        &.prev {
            position: relative;
            &::after {
                content: "";
                position: absolute;
                top: 0;
                right: -2.43em;
                border-right: 1.25em solid transparent;
                border-top: 1.25em solid transparent;
                border-left: 1.25em solid var(--color_assist3);
                border-bottom: 1.25em solid transparent;
                transition: all 0.3s;
            }
        }
        &:hover {
            color: #fff;
            background-color: var(--color_assist1);
            &.next::before {
                border-right: 1.25em solid var(--color_assist1);
                border-top: 1.25em solid transparent;
                border-left: 1.25em solid transparent;
                border-bottom: 1.25em solid transparent;
            }
            &.prev::after {
                border-right: 1.25em solid transparent;
                border-top: 1.25em solid transparent;
                border-left: 1.25em solid var(--color_assist1);
                border-bottom: 1.25em solid transparent;
            }
        }
    }
}
.back_button {
    padding-block: 0.5em;
    padding-inline: 1em;
    font-size: 1rem;
    margin-right: 0.5em;
    font-weight: bold;
    background-color: var(--color_assist3);
    border: none;
    border-radius: 1em;
    cursor: pointer;
    transition: all 0.3s;
}
/* .back_button.type1 {
    position: absolute;
    bottom: 0.25em;
    right: 0;
} */
.back_button:hover {
    color: #fff;
    background-color: var(--color_assist1);
}
.blue_back {
    background-color: rgba(102,204,255,0.35);
    font-size: 0.88rem;
    padding: 1em;
    border-radius: 10px;
}
.report_container {
    display: flex;
    flex-wrap: nowrap;
    padding: 1em;
    gap: 1em;
}
.report_img {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 150px;
    gap: 1em;
}
.img_pack {
    width: 150px;
}
.img_pack img {
    display: flex;
    width: 100%;
}
.img_pack p {
    font-size: clamp(0.9rem, 4vw ,1rem);
}
.img_pack .center {
    text-align: center;
}
.report_text {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
/* view_more配下ページ指定　ここまで */
    @media (width < 900px) {
        .article {
            width: 100%;
        }
        .article:hover {
            transform: translateY(-10%);
        }
    }
    /* テーマエリア　ここから */
    @media (max-width:800px) {
        .theme_container {
            flex-direction: column;
            gap: 0.5em 0;
        }
        .theme_item {
            width: 100%;
            font-size: 1.25rem;
        }
    }
    /* テーマエリア　ここまで */
    @media (max-width:600px) {
        /* 前書きエリア　ここから */
        .preface {
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            gap: 1rem 0;
        }
        .item_link {
            margin: 0 auto;;
        }
        /* 前書きエリア　ここまで */
        /* view_more配下ページ指定　ここから */
        .report_container {
            flex-direction: column-reverse;
        }
        .report_img {
            flex-direction: row;
            flex-wrap: wrap;
            width: 100%;
        }
        .img_pack {
            width: calc(calc(100% - 1em) /2);
        }
        /* view_more配下ページ指定　ここまで */
    }
    @media(max-width:480px) {
        /* 共通指定上書き　ここから */
        .headline {
            font-size: clamp(1.45rem, 6vw, 1.625rem);
        }
        .subheading {
            display: flex;
            flex-wrap: wrap;
            font-size: clamp(1.1rem, 4.5vw, 1.25rem);
        }
        /* 共通指定上書き　ここまで */
        /* アシストの仕組み　ここから */
        .photo_layout {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem 0;
        }
        .type_img img {
            width: 200px;
        }
        /* アシストの仕組み　ここまで */
    }
