/* =================================================================
                    products / 製品一覧
===================================================================*/

/* ■ セクション全体のレイアウト設定 */
.products {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 40px 160px;
}

.products__inner {
    margin: 0 auto;
}

.products__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10%;
    row-gap: 50px;
}

li.products__item {
    max-width: 400px;
}

.products__item__link {
    transition: opacity 0.3s ease;

}

.products__item__link:hover {
    opacity: .5;
}

.products__item img {
    margin-bottom: 16px;
}

.products__name {
    font-size: var(--font-size-title-sm);
    font-weight: 700;
    line-height: 1.45;
    padding-bottom: 1.5238em;
}

.products__text-link {
    position: relative;
    padding-right: 2.625em;
    font-weight: 700;
    text-align: right;
    color: var(--text-color-blue);
}

.products__text-link::before {
    position: absolute;
    bottom: 2px;
    right: 3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--text-color-blue);
    border-right: 2px solid var(--text-color-blue);
    content: '';
    transition: 0.3s;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 99;
}

.products__text-link::after {
    position: absolute;
    /* left: 50%; */
    right: 0;
    bottom: 0px;
    width: 20px;
    height: 20px;
    background-color: #D9D9D9;
    border-radius: 50%;
    content: '';
    transition: 0.3s;
}

.products__item__link:hover > .products__text-link::before {
    right: -1px;
}

.products__item__link:hover > .products__text-link::after {
    right: -4px;
}


/* ========================= タブレット・レスポンシブ対応（1024px以下） ========================= */

/* PC → タブレット */
@media (max-width: 1024px) {
    .news {
        padding: 80px 40px;
    }

    .news__list,
    .news__item {
        width: 100%;
    }
}

/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {
    .products {
        margin: 0 auto;
        padding: 70px 24px 80px;
    }

    .products__list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 50px;
        padding: 0;
    }

    .products__text-link::before {
        bottom: -2px;
        right: 3px;
    }
    .products__text-link::after {
        bottom: -4px;
    }
}


/* =================================================================
                    products_details / 製品詳細
===================================================================*/

/* ■ セクション全体 */
.products-detail {
    padding: 160px 40px 120px;
    margin: 0 auto;
    max-width: 920px;
    color: var(--text-color-black);
}

.products-detail__inner {
    margin: 0 auto;
    max-width: 900px;
}

.products-detail__title {
    margin-bottom: 1.22em;
    padding-bottom: 0.25em;
    border-bottom: 4px solid var(--text-color-blue);
    font-size: var(--font-size-title-xl);
    font-weight: bold;
    line-height: 1.45;
    color: var(--text-color-blue);
}

/* ■ 記事本文 */
.products-detail__content {
    width: 100%;
    font-size: var(--font-size-body-md);
    font-weight: 400;
    line-height: 1.75;
}

.products-detail__image-main {
    width: 100%;
    padding: 0 30px 24px;
}

.products-detail__image-main img {
    width: 100%;
    height: auto;
}

/* サブ画像 */
.products-detail__image-sub {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    padding: 0 40px 24px;
}

.products-detail__image-sub img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

/* 説明文 */
.products-detail__description {
    padding: 0 40px 50px;
    font-size: var(--font-size-body-md);
    line-height: 1.8;
}

/* セクションブロック */
.products-detail__section {
    margin-bottom: 80px;
}

.products-detail__section-title {
    padding-bottom: 20px;
    font-size: var(--font-size-title-md);
    font-weight: bold;
    color: var(--text-color-blue);
}

.products-detail__section-title span {
    position: relative;
    display: inline-block;
}

.products-detail__section-title span::after {
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: 20px;
    width: 224px;
    height: 1px;
    background-color: var(--text-color-blue);
    content: "";
    font-size: var(--font-size-title-md);
    font-weight: bold;
    color: var(--text-color-blue);
}

.products-detail__section-image img {
    display: block;
    margin: 0 auto;
    width: 75%;
    max-width: 100%;
    height: auto;
}

.products-detail__section-description {
    padding: 0 24px 1em;
    font-size: var(--font-size-body-md);
    line-height: 1.8;
}

.products-detail__section-list {
    padding-left: 2em;
}

.products-detail__section-item {
    position: relative;
    padding-left: 1em;
    font-size: var(--font-size-body-lg);
    font-weight: 700;
    color: var(--text-color-blue);
}

.products-detail__section-item::before {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--text-color-blue);
    content: "";
}

.products-detail__section-link {
    position: relative;
    transition: opacity 0.3s ease;
}

.products-detail__section-link::before {
    position: absolute;
    bottom: 4px;
    right: -2em;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--text-color-blue);
    border-right: 2px solid var(--text-color-blue);
    transform: translate(-50%, -50%) rotate(45deg);
    content: '';
    z-index: 99;
    transition: 0.3s;
}

.products-detail__section-link::after {
    position: absolute;
    bottom: 2px;
    right: -2.2em;
    width: 20px;
    height: 20px;
    background-color: #D9D9D9;
    border-radius: 50%;
    content: '';
    transition: 0.3s;
}

.products-detail__section-link:hover {
    opacity: 0.5;
}

.products-detail__category {
    margin-bottom: 10px;
    padding-left: 0.4em;
    position: relative;
    font-size: var(--font-size-body-lg);
    font-weight: 700;
    color: var(--bg-color-blue);
}

.products-detail__category::before {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--text-color-blue);
    content: "";
}

/* 仕様テーブル */
.spec-table01,
.spec-table02 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0.9em;
    letter-spacing: 0em;
}

.spec-table01 table,
.spec-table02 table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: var(--font-size-body-md);
    text-align: center;
    -webkit-text-size-adjust: 100%;
}

.spec-table01 th,
.spec-table01 td,
.spec-table02 th,
.spec-table02 td {
    border: 2px solid var(--text-color-white);
    padding: 0.6875em 1em;
    font-size: var(--font-size-body-md);
    font-weight: 700;
    background-color: var(--bg-color-blue);
    -webkit-text-size-adjust: 100%;
}

.spec-table01 th,
.spec-table02 thead tr:first-child,
.spec-table02 thead tr:nth-child(2) {
    background-color: var(--bg-color-blue);
    color: var(--text-color-white);
    -webkit-text-size-adjust: 100%;
}

.spec-table01 td {
    min-width: 160px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    background-color: #EAEAEA;
}

.spec-table01 td:nth-child(2),
.spec-table01 td:nth-child(3) {
    width: 308px;
    vertical-align: middle;
    background-color: #F5F5F5;
}

.spec-table02 tbody td:first-child {
    background-color: #EAEAEA;
    font-weight: 500;
}

.spec-table02 tbody td {
    background-color: #F5F5F5;
    font-weight: 500;
}

/* スクロール用ラッパー */
.spec-table01__scroll {
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* テーブルは横幅固定でスライド表示される */
.spec-table01 {
    min-width: 776px;
    width: 100%;
    padding-bottom: 8px;
}

/* ========================= タブレット・レスポンシブ対応（1024px以下） ========================= */
@media (max-width: 1024px) {

}

/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {

    .products-detail {
        padding: 100px 24px 80px;
    }

    .products-detail__title {
        border-bottom: 1px solid var(--text-color-blue);
    }

    .products-detail__image-main {
        width: 100%;
        padding: 0 0 24px;
    }

    .products-detail__image-sub {
        flex-direction: column;
        gap: 8px;
        padding: 0 0 24px;
    }

    .products-detail__description {
        padding: 0 0 40px;
    }

    .products-detail__section {
        margin-bottom: 40px;
        padding: 0;
    }

    .products-detail__section-title {
        padding-bottom: 20px;
    }

    .products-detail__section-title span::after {
        position: absolute;
        top: 50%;
        left: 100%;
        margin-left: 10px;
        width: 164px;
        height: 1px;
        background-color: var(--text-color-blue);
        content: "";
        font-size: var(--font-size-title-md);
        font-weight: bold;
        color: var(--text-color-blue);
    }

    .products-detail__section-image img {
        width: 100%;
        max-width: 477px;
    }

    .products-detail__image-sub img {
        width: 100%;
    }

    .products-detail__category {
        margin-bottom: 10px;
    }

    .products-detail__section-table {
        margin-left: 0;
    }

    .spec-table01 td {
        min-width: 160px;
        font-size: 1.4rem;
    }

    .spec-table01, .spec-table02 {
        margin: 0 auto 0;
        padding: 0;
    }

    .spec-table01 td:nth-child(2),
    .spec-table01 td:nth-child(3) {
        min-width: 308px;
    }

    .products-detail__section-link::before {
        bottom: 2px;
    }

    .products-detail__section-link::after {
        bottom: 0px;
    }
    .spec-table01 th, .spec-table01 td, .spec-table02 th, .spec-table02 td {
        font-size: 1.4rem !important;
    }

}