/* works-detail / news-detail */

/* 共通ブロック */

.l-page.lower--works-detail [class*="section_content"]:not(:last-child),
.l-page.lower--news-detail [class*="section_content"]:not(:last-child) {
    padding-bottom: 150px;
}

.breadcrumb {
    margin: 15px 0 50px 0;
    width: fit-content;
}

.meta__category {
    font-size: 14px;
    color: var(--sub-color);
    font-weight: 400;
    line-height: calc(14/14);
    margin-bottom: 8px;
    border: 1px solid currentColor;
    padding: 8px 15px;
    width: fit-content;
}

.meta__date {
    font-size: 14px;
    color: var(--sub-color);
    font-weight: 400;
    line-height: calc(14/14);
    border: 1px solid currentColor;
    padding: 8px 10px;
    width: fit-content;
}

/* コンテンツブロック */

.detail_title {
    font-size: 23px;
    color: var(--main-color);
    font-weight: 500;
    line-height: calc(35/23);
    margin-bottom: 25px;
}

.main_detail {
    margin-bottom: 30px;
}


.detail_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.main_detail .detail_photo {
    aspect-ratio: 335 / 250;
    margin: 0 auto 30px;
}

.detail_title--sub {
    font-size: 20px;
    color: var(--main-color);
    font-weight: 500;
    line-height: calc(24/20);
    border-bottom: 1px solid #999999;
    padding-bottom: 25px;
    margin-bottom: 15px;
}

.main_detail h2 {
    font-size: 20px;
    color: var(--main-color);
    font-weight: 500;
    line-height: calc(24/20);
    border-bottom: 1px solid #999999;
    padding-bottom: 25px;
    margin-bottom: 15px;
}

.main_detail h3 {
    font-size: 16px;
    color: var(--main-color);
    font-weight: 500;
    line-height: calc(28 / 16);
    border-bottom: 1px solid #999999;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.main_detail table {
    margin-bottom: 25px;
}

.main_detail table td {
    width: 100% !important;
    display: block !important;
    font-size: 16px;
    color: var(--sub-color);
    line-height: calc(28 / 16);
}

.main_detail table td img {
    margin-bottom: 15px;
}

.detail_text {
    font-size: 16px;
    color: var(--sub-color);
    line-height: calc(28/16);
}

.main_detail p {
    font-size: 16px;
    color: var(--sub-color);
    line-height: calc(28/16);
}

.sub_detail {
    margin-bottom: 30px;
}

.detail_title--section {
    font-size: 18px;
    color: var(--main-color);
    font-weight: 500;
    line-height: calc(28/18);
    border-bottom: 1px solid #999999;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.sub_detail_flex_box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sub_detail .detail_photo {
    aspect-ratio: 335/188;
    margin-bottom: 15px;
}

.mini_detail_box {
    margin-bottom: 50px;
}

.detail_title--mini {
    font-size: 16px;
    color: var(--main-color);
    font-weight: 500;
    line-height: calc(28/16);
    border-bottom: 1px solid #999999;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.sns_bottom_link_list {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.sns_bottom_link_item a {
    font-size: 14px;
    color: var(--point-color);
    font-weight: 600;
    line-height: calc(14/14);
    background: var(--main-color);
    padding: 5px 7px;
    display: flex;
    align-items: center;
    gap: 2px;
    border-radius: 2px;
    pointer-events: none;
}

.sns_bottom_link_item a::before {
    content: "";
    background: url(../images/detail/sns_good_icon.png) center / cover no-repeat;
    width: 14px;
    height: 14px;
}

.sns_bottom_link_item:nth-child(2) a::before {
    content: "";
    background: url(../images/detail/sns_x_icon.png) center / cover no-repeat;
    width: 14px;
    height: 14px;
}

.sns_bottom_link_item:last-child a::before {
    content: "";
    background: url(../images/detail/sns_line_icon.png) center / cover no-repeat;
    width: 14px;
    height: 14px;
}

/* ページャー */
.detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.detail-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(28 / 16);
}

/* 左矢印（前へ） */
.detail-nav__link--prev::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--sub-color);
    border-right: 2px solid var(--sub-color);
    transform: rotate(-135deg);
}

/* 右矢印（次へ） */
.detail-nav__link--next::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--sub-color);
    border-right: 2px solid var(--sub-color);
    transform: rotate(45deg);
}

@media (min-width:768px) {

    /* 共通ブロック */

    .l-page.lower--works-detail [class*="section_content"]:not(:last-child),
    .l-page.lower--news-detail [class*="section_content"]:not(:last-child) {
        padding-inline: 20px;
    }

    .l-page.lower--works-detail .fv,
    .l-page.lower--news-detail .fv,
    .l-page.lower--recruit-detail .fv {
        display: block;
        padding: 0;
    }

    .breadcrumb {
        margin: 40px 0 30px auto;
    }


    /* コンテンツブロック */
    .detail_title {
        font-size: 25px;
        line-height: calc(37 / 25);
    }

    .main_detail {
        margin-bottom: 50px;
    }

    .main_detail .detail_photo {
        aspect-ratio: 16 / 9;
        max-width: 1000px;
    }

    .detail_title--sub {
        padding-bottom: 20px;
    }

    .main_detail h2 {
        padding-bottom: 20px;
        margin-top: 24px;
    }

    .main_detail h3 {
        margin-top: 50px;
    }

    .sub_detail {
        margin-bottom: 0;
    }

    .sub_detail_flex_box {
        gap: 50px;
    }

    .sub_detail_box {
        display: flex;
        gap: 16px;
    }

    .sub_detail .detail_photo {
        flex: 0 0 40%;
        aspect-ratio: 16 / 10;
        /* 800 × 250 と同じ比率 */
        margin: 0;
    }

    .sub_detail .detail_text {
        flex: 1;
    }

    .mini_detail_box {
        margin-bottom: 70px;
    }

    .sns_bottom_link_list {
        margin-bottom: 70px;
    }

    .sns_bottom_link_item a {
        font-size: 14px;
        color: var(--point-color);
        font-weight: 600;
        line-height: calc(14/14);
        background: var(--main-color);
        padding: 5px 7px;
        display: flex;
        align-items: center;
        gap: 2px;
        border-radius: 2px;
    }

    /* ページャー */
    .detail-nav {
        max-width: 700px;
        margin: 0 auto;
    }

    .main_detail table {}

    .main_detail table tr {
        display: flex;
    }

    .main_detail table td:first-child {
        width: 40% !important;
        margin-right: 20px;
    }

    .main_detail table td:last-child {
        width: calc(60% - 20px) !important;
    }

    .main_detail table td img {
        margin-bottom: 0;
    }
}

/* レスポンシブ調整用 */
@media (min-width: 768px) and (max-width: 1120px) {

    .l-page.lower--works-detail .fv,
    .l-page.lower--news-detail .fv,
    .l-page.lower--recruit-detail .fv {
        padding: 0 20px;
    }

}


/* recruit-detail */

.l-page.lower--recruit-detail .fv {
    margin-bottom: 60px;
}

.detail_title--recruit {
    font-size: 26px;
    color: var(--sub-color);
    font-weight: 500;
    line-height: calc(26/26);
    text-align: center;
    margin-bottom: 25px;
}

.information_block {
    margin-bottom: 50px;
}

.information_data {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.information_detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #999999;
}

.information_detail dt {
    font-size: 16px;
    font-weight: bold;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.information_detail dd {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}


@media (min-width:768px) {

    /* 共通ブロック */

    .l-page.lower--recruit-detail {
        padding-inline: 20px;
    }

    /* コンテンツブロック */

    .detail_title--recruit {
        font-size: 33px;
        line-height: calc(33/33);
        margin-bottom: 50px;
    }

    .lower--recruit-detail .main_detail .detail_photo {
        aspect-ratio: 16 / 9;
        max-width: 1000px;
        margin: 0 auto 50px;
    }

    .information_detail {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding-bottom: 15px;
        border-bottom: 1px solid #999999;
    }

    .information_detail dt {
        flex: 0 0 128px;
        max-width: 128px;
        flex-shrink: 0;
    }

}

/* レスポンシブ調整用 */
@media (min-width: 768px) and (max-width: 1120px) {

    .lower--recruit-detail .main_detail {
        padding-inline: 20px;
    }

}

.post-details img {
    /* width: 100%; */
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.post-details a {
    color: var(--red);
    text-decoration: underline;
}

.post-details__social {
    width: 100%;
    /* max-width: 303px; */
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    justify-content: flex-start;
    margin: 50px 0 0 0;
}

.action-button {
    /* background-color: #2a2a2a; */
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.action-button .pld-like-dislike-wrap {
    display: inline-block;
    margin-bottom: 0;
}

body .pld-like-dislike-wrap .pld-common-wrap {
    display: flex;
    align-items: center;
}

.pld-like-wrap.pld-common-wrap a::after {
    position: relative;
    top: 0;
    font-weight: 500;
    content: "いいね！";
    color: white;
    font-size: 12px;
    width: 30px;
}

body .pld-like-dislike-wrap .pld-common-wrap {
    margin-right: 0;
}

.pld-like-wrap.pld-common-wrap a {
    /* position: relative;
  top: 50%;
  transform: translateY(-50%); */
}

.pld-like-dislike-wrap.pld-custom img {
    position: relative;
    max-width: none;
    display: inline-block;
    vertical-align: middle !important;
    margin-right: 2px;
    margin-bottom: 4px;
}

.post-details__social img {
    width: inherit;
    margin-top: inherit;
    margin-bottom: inherit;
}

.post-details__social a {
    text-decoration: none;
}

.social-item {
    display: block;
    width: fit-content;
    height: 26px;
    padding: 4px 8px;
    /* background-color: #2a2a2a; */
    background: var(--main-color);
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    gap: 4px;
    margin-left: 10px;
}

.social-item__icon {
    width: 14px;
    height: auto;
}

.social-item__text,
.social-item__counter,
.pld-like-count-wrap {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.social-item__counter,
.pld-like-count-wrap {
    margin-left: 4px;
}

.detail-nav__link--next {
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 360px) {

    .social-item__counter,
    .pld-like-count-wrap {
        margin-left: 0px;
    }
}

@media (max-width: 375px) {
    .action-button span {
        font-size: 10px;
    }
}

@media (min-width: 768px) {
    .post-details__social {
        margin-top: 70px;
    }
}