@charset "utf-8";

#products #message {
    margin-bottom: 80px;
}

/*============================
製品案内
============================*/

#products #detail nav ul {
    gap: 20px;
}

#products #detail nav ul li a {
    width: 370px;
    display: block;
    background: #0045b4;
    line-height: 60px;
    text-align: center;
    color: #fff;
    border-radius: 2px;
    position: relative;
}

#products #detail nav ul li a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    margin: auto;
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    z-index: 10;
}

#products #detail section h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

#products #detail section p {
    font-size: 14px;
}

#products #detail section h4,
#products #detail section p {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    line-height: 1;
}

#products #detail section .flex {
    gap: 40px;
    margin-top: 20px;
}

#products #detail section .flex img:first-child {
    width: 300px;
}

#products #detail section .flex img:last-child {
    width: 420px;
}

#case01 .box:not(:last-child),
#case02 .box:not(:last-child),
#case03 .box:not(:last-child),
#case04 .box:not(:last-child),
#case05 .box:not(:last-child),
#dummy .box:not(:last-child) {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #c1c1c1;
}

table {
    width: 100%;
    /* 列の幅を強制的に固定する設定 */
    table-layout: fixed;
    border: 1px solid #c1c1c1;
    margin-top: 60px;
}

table tr {
    display: table-row;
    border-bottom: 1px solid #c1c1c1;
}

table th {
    background: #00bfff;
    color: #fff;
    width: auto;
    border-right: 1px solid #c1c1c1;
}

/* 1番目の列（左側）を20% */
th:nth-child(1) {
    width: 210px;
}

/* 2番目の列（右側）を80%にする */
th:nth-child(2) {
    width: calc(100% - 210px);
}

table th,
table td {
    padding: 15px 20px;
}

table td:not(:last-child) {
    border-right: 1px solid #c1c1c1;
}

.contact_banner {
    margin-top: 40px;
    display: block;
    background: url(../images/banner_bg.jpg)no-repeat center right;
    background-size: cover;
    padding: 36px 30px;
}

.contact_banner p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact_banner .btn {
    width: 320px;
}

.contact_banner .btn li {
    display: block;
    line-height: inherit;
    width: 100%;
    padding: 13px 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.06em;
    color: #fff;
    border: none;
    border-radius: 3px;
    background-color: #0045b4;
    position: relative;
}

.contact_banner .btn li::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    margin: auto;
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 10;
}

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

    #products #message {
        margin-bottom: 40px;
    }

    /*============================
製品案内
============================*/

    #products #detail nav ul li {
        width: 100%;
    }

    #products #detail nav ul li a {
        width: 100%;
    }

    #products #detail section .flex {
        gap: 20px;
    }

    #products #detail section .flex img:first-child {
        width: 100%;
    }

    #products #detail section .flex img:last-child {
        width: 100%;
    }

    table {
        font-size: 14px;
    }

    /* 1番目の列（左側）を20% */
    th:nth-child(1) {
        width: 40%;
    }

    /* 2番目の列（右側）を80%にする */
    th:nth-child(2) {
        width: 60%;
    }

    table th,
    table td {
        padding: 15px 10px;
    }

    /*お問い合わせバナー*/
    .contact_banner {
        margin-top: 20px;
        display: block;
        background: url(../images/banner_bg_sp.jpg)no-repeat center top;
        background-size: cover;
        padding: 40% 20px 20px;
    }

    .contact_banner p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .contact_banner .btn {
        width: 100%;
    }
}
