@charset "utf-8";
/*
Theme Name: polestar2024
Theme URI: https://roku-design.jp/
Version: 1.0
Author: Y.T
*/




/* ==============================
    共 通
    ==============================*/
body {
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}

main {
    background: #efefef;
}

h2 {
    font-family: noto-sans-extracondensed, sans-serif;
    font-weight: 800;
    font-style: normal;
}

section {
    padding: 40px 0;
}

section h2 {
    padding-bottom: 24px;
}

.post__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post__list a {
    flex-basis: calc(100%/3);
    position: relative;
}

.post__list a::after {
    content: "";
    display: block;
    width: calc(100%/3);
}

.post__list a:hover {
    background: #fff;
}

.post__list a:hover img {
    scale: 1.04;
    opacity: 0.64;
}

.post__list a img {
    max-width: 100%;
    height: 240px;
    transition: .3s;
}

.post__content {
    position: relative;
    padding: 16px;
    font-weight: 600;
}

.post__content .date {
    position: absolute;
    bottom: 24px;
    text-align: right;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.post__content .ttl {
    position: relative;
    top: -18px;
    width: 84%;
    margin-left: auto;
    background: #fff;
    padding: 8px;
    transition: .3s;
}

.post__list a:hover .ttl {
    background: #F0ECBA;
}

.more__link {
    display: block;
    width: 160px;
    margin: 40px auto 0;
    padding: 8px;
    text-align: center;
    font-weight: 900;
    letter-spacing: 2px;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.more__link:hover {
    border: 1px solid;
    background: #F0ECBA;
    letter-spacing: 4.8px;
}

@media screen and (max-width: 1000px) {
    .post__list a {
        flex-basis: 50%;
    }

}

@media screen and (max-width: 767px) {

    .post__list {
        flex-direction: column;
    }

}

/* ==============================
    SLIDER
    ============================== */

.slider {
    position: relative;
    background: #1A2B4F;
}

.top__img {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48%;
    max-width: 480px;
}

.sp-slide a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #000;
    z-index: 1;
    opacity: 0.24;
}

.sp-txt {
    position: absolute;
    bottom: 64px;
    left: 50%;
    translate: -50% 0;
    width: 640px;
    max-width: 80%;
    z-index: 3;
}

.sp-txt__cat {
    position: relative;
    top: 48px;
    font-size: 4rem;
    padding: 8px 2px;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    font-family: miller-text, serif;
    font-style: italic;
}

.sp-txt__ttl {
    font-size: 2.4rem;
    color: #fff;
}

.sp-txt__date {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 2px;
    text-align: right;
    color: #fff;
    font-family: miller-text, serif;
    font-style: italic;
    font-weight: 400;
}

.sp-txt__date::before {
    content: "";
    flex-basis: 50%;
    height: 1px;
    margin-right: 16px;
    background: #fff;
}

.sp-buttons {
    position: absolute !important;
    bottom: 0;
    z-index: 3;
}

.sp-button {
    border: 1px solid #fff !important;
    width: 8px !important;
    height: 8px !important;
    margin: 16px !important;
}

.sp-selected-button {
    background: #fff !important;
}

@media screen and (max-width: 768px) {
    .sp-txt__cat {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        bottom: 0;
        left: -40px;
    }

    .sp-txt__ttl {
        font-size: 1.4rem;
    }

}


/* ==============================
    INDEX
    ============================== */
.top {
    padding: 24px 0;
}

.top h2 {
    font-size: 4rem;
}

.top h2 span {
    margin-left: 8px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.top__img-2 {
    display: block;
    margin: auto;
    object-fit: contain;
}


@media screen and (max-width: 768px) {
    .top h2 {
        font-size: 2.4rem;
        line-height: 1rem;
    }

    .top h2 span {
        font-size: 0.8rem;

    }

}


/* ==============================
    CATEGORY TOP
    ============================== */
.category {
    padding: 40px 0;
}

.category h2 {
    font-size: 4rem;
}

.category h2 span {
    margin-left: 8px;
    font-size: 1rem;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
    .category h2 {
        font-size: 2.4rem;
        line-height: 1rem;
    }

    .category h2 span {
        font-size: 0.8rem;

    }
}


/* ==============================
    SINGLE PAGE
    ============================== */

.single__post {
    padding: 40px 0;
}

.single__post .wrap {
    width: 840px;
}

.single__post img {
    max-width: 100%;
}

.single__post .flex__box {
    margin-bottom: 40px;
}

.single__post--img img {
    height: 480px;
    margin: auto;
}

.single__post--date {
    margin: 24px 0 8px;
    text-align: right;
}

.single__post--ttl {
    font-size: 2.4rem;
    margin-bottom: 8px;
    font-family: noto-sans-extracondensed, sans-serif;
    font-weight: 600;
    font-style: normal;
}

.single__post--cat a {
    font-weight: 900;
    margin-right: 16px;
    border-bottom: 2px solid;
}

.single__post--cat a:hover {
    opacity: 0.8;
    border-color: #efefef;
    letter-spacing: 1.6px;
}

.single__post--content {
    margin: 16px 0;
    padding: 16px 0 0;
    border-top: 1px solid;
}

.single__post--content p {
    margin-bottom: 16px;
    font-size: 1.16rem;
    line-height: 32px;
}

.single__post--content h2 {
    font-size: 1.8rem;
    margin: 0 0 16px;

}

.single__post--content h3 {
    font-size: 1.6rem;
    margin: 0 0 16px;
}

.single__post--content h4 {
    font-size: 1.4rem;
    margin: 0 0 16px;
    font-weight: 900;
    border-bottom: 2px solid;
}

.single__post--content h5 {
    font-size: 1.16rem;
    margin: 0 0 16px;
    font-weight: 900;
    display: inline-block;
    border-bottom: 2px solid;
}

.single__post--content h6 {
    font-size: 1.16rem;
    margin: 0 0 16px;
    font-weight: 900;
    color: #fff;
    background: #1A2B4F;
    padding: 8px 16px;
}

@media screen and (max-width: 768px) {
    .single__post .flex {
        flex-direction: column;
    }

    .single__post .flex__box {
        width: 400px;
        max-width: 100%;
        margin: 0 auto 40px;
    }

    .single__post .flex img {
        width: 100%;
        height: 240px;
    }

    .single__post--img img {
        height: 240px;
    }

    .single__post--date {
        margin: 8px 0;
    }

    .single__post--ttl {
        font-size: 1.88rem;
    }

    .single__post--content p {
        margin-bottom: 8px;
        font-size: 0.8rem;
        line-height: 22px;
    }
}

/* ==============================
    FIXED PAGE
    ============================== */

.fixed__page h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.fixed__page h1 span {
    font-size: 1rem;
    margin-left: 8px;
}

.fixed__page .single__post--content {
    border: 0;
    margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
    .fixed__page h1 {
        font-size: 2rem;
    }

    .fixed__page h1 span {
        font-size: 0.64rem;
        margin-left: 8px;
    }
}

/* ==============================
    BREADCRUMBS
    ============================== */

.breadcrumbs {
    padding: 16px 0;
    border-top: 1px solid;
    font-size: 0.64rem;
}

.breadcrumbs a {
    font-weight: 600;
    padding: 0 4px;
}

.breadcrumbs a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 768px) {
    .breadcrumbs {
        font-size: 0.64rem;
    }
}


/* ==============================
    MEMBER
    ============================== */

.member .flex::after {
    content: '';
    flex-basis: 48%;
}

.member .flex {
    max-width: 100%;
    flex-wrap: wrap;
}

.member .flex__box {
    flex-basis: 48%;
}

.member .flex__box p {
    margin: 0;
    font-size: 0.88rem;
    line-height: inherit;
}

.member img {
    max-width: 100%;
    margin-bottom: 24px;
}

.member h2 {
    font-size: 1.6rem
}

.member h3 {
    font-size: 1rem;
    border-bottom: 1px solid;
}



/* ==============================
    COMPANY
    ============================== */
.table-container {
    max-width: 100%;
    background: #fff;
    padding: 24px 48px;
    margin: auto;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
}

.table-row:last-child {
    border: 0;
}

.table-cell {
    padding: 8px;
}

.table-title {
    flex: 3;
    font-weight: 600;
}

.table-content {
    flex: 7;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .table-row {
        flex-direction: column;
        padding: 8px 0 4px;
        font-size: 0.8rem;
    }

    .table-cell {
        padding: 0;
    }

}