main {
    width: 1100px;
    margin: 3em auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    color: #333;
    padding: 20px;
    max-width: 95%;
    box-sizing: border-box;
}

/* 製品詳細ページ */
.product-main {
    margin: 1em auto 3em;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-img {
    width: 48%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-img-side {
    display: flex;
    flex-direction: column;
    width: 15%;
}

.product-img-side img {
    width: 100%;
    padding-bottom: 0.25em;
}

.product-img-main {
    width: 85%;
}

.product-img-main img {
    max-width: 100%;
}

.product-summary {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: left;
}

.product-tag {
    width: max-content;
    font-size: 15px;
    padding: 0.5em 1em;
    background-color: #e5f2fd;
    color: #0050a4;
    font-weight: bold;
    border-radius: 50px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
}

.product-title span {
    font-size: 32px;
    font-weight: bold;
}

.product-subtitle {
    font-size: 14px;
    margin-top: 1.5em;
}

.product-summary1 {
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 2px;
}

.product-summary p {
    padding-top: 1.5em;
    font-size: 16px;
}

.product-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    max-width: 100%;
    margin-top: 1em;
    padding: 1em 2em;
    overflow: hidden;
    border: none;
    border-radius: 5px;
    background-color: #0050a4;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.product-contact::before {
    display: block;
    position: absolute;
    top: -50%;
    left: -30%;
    transform: rotate(30deg);
    width: 70px;
    height: 100px;
    content: "";
    background-image: linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    background-image: -webkit-gradient(linear, left bottom, right bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
    animation: animation-button-10 2s ease-in-out;
}

@keyframes animation-button-10 {
    17% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

.product-contact:hover {
    background-color: #1579c0;
}

.product-detail {
    display: grid;
    width: 90%;
    margin: 0 auto;
    gap: 2em;
    grid-template-columns: repeat(2, 1fr);
}
.product-single {
    margin: 0 auto;
    width: 80%;
}
.product-item {
    width: 100%;
}

.product-item img {
    width: 100%;
    margin: 2em auto;
}

.product-item-title {
    position: relative;
    padding: 0.5em 0.7em 0.4em;
    border-bottom: 3px solid #1d5279;
    color: #333333;
    font-weight: bold;
}

.product-item-title::before,
.product-item-title::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: "";
}

.product-item-title::before {
    background-color: #1d5279;
}

.product-item-title::after {
    bottom: -11px;
    background-color: #fff;
}

.product-spec .product-download {
    width: 90%;
    margin: 0 auto;
}

.product-pagetitle {
    font-size: 28px;
    font-weight: bold;
    text-shadow: #333333 1px;
    text-align: center;
    margin-top: 3em;
    margin-bottom: 1em;
}

.product-text {
    margin-top: 2em;
}

.spec-table {
    border-collapse: collapse;
    width: 800px;
    max-width: 95%;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(28, 38, 53, 0.1);
    border-radius: 8px;
}
.spec-table th,
.spec-table td {
    padding: 2em;
}
.spec-table th {
    font-weight: bold;
    text-align: left;
    width: 30%;
    min-width: 4em;
    padding-right: 3em;
    position: relative;
}
.spec-table th::after {
    content: "・・";
    color: #777b93;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.download-table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-collapse: collapse;
    font-family: sans-serif;
    text-align: center;
}

.download-table thead th {
    border-bottom: 2px solid #005bac;
    padding: 12px;
    font-weight: bold;
    color: #333;
}

.download-table tbody td {
    padding: 12px 8px;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
    font-size: 14px;
}

.download-table tbody td:first-child {
    text-align: left;
    color: #005bac;
    font-weight: bold;
}

.download-table a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.download-table a:hover {
    transform: scale(1.2);
}

.download-table img {
    width: 24px;
    height: auto;
}

@media (max-width: 768px) {
    .product-detail {
        width: 100%;
        gap: 2em;
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 642px) {
    .product-main {
        margin: 0 auto;
        width: 100%;
        display: block;
    }
    .product-img {
        width: 100%;
        display: block;
    }
    .product-img-main {
        width: 100%;
    }
    .product-img-main img {
        width: 90%;
        margin: 0 auto 1em;
        display: block;
    }
    .product-summary {
        width: 100%;
        display: block;
    }
    .product-summary1 {
        display: block;
    }
    .product-pagetitle {
        font-size: 25px;
        margin-top: 2em;
        margin-bottom: 0.5em;
    }
    .product-single {
        width: 95%;
    }
    .product-item img {
        margin: 2em auto 0em;
    }
    .product-text {
        margin-top: 1em;
    }
    .spec-table {
        box-shadow: none;
    }
    .spec-table tr {
        border-bottom: 0.5px solid #bababa;
    }
    .spec-table th,
    .spec-table td {
        display: block;
        width: 100%;
        min-width: 100%;
        padding: 0em;
    }
    .spec-table th {
        text-align: center;
        padding: 0.5em 0;
    }
    .spec-table th::after {
        display: none;
    }
    .spec-table td {
        margin-bottom: 0.5em;
    }
}
@media (max-width: 470px) {
    .product-single {
        width: 100%;
    }
    .download-table {
        margin: 10px auto;
    }
    .download-table thead {
        display: none;
    }

    .download-table tbody tr {
        display: block;
        margin-bottom: 1em;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 10px;
        background-color: #f9f9f9;
    }

    .download-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        font-size: 14px;
        border: none;
        text-align: left;
    }

    .download-table tbody td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #005bac;
        flex-basis: 40%;
    }

    .download-table tbody td:first-child {
        color: #333;
    }

    .download-table img {
        width: 20px;
    }
}

.spec-title {
    background: #f5f5f5 !important;
    text-align: left !important;
    font-weight: bold !important;
    font-size: 1.05em !important;
    padding: 8px !important;
}
.spec-table .spec-title::after,
.spec-subtable-head::after {
    display: none !important;
}
.spec-subtable {
    border-collapse: collapse !important;
    width: 100% !important;
    text-align: center !important;
}

.spec-subtable-head {
    border: 1px solid #ddd !important;
    padding: 6px !important;
}

.spec-subtable-td {
    border: 1px solid #ddd !important;
    padding: 6px !important;
}

.product-inner {
    margin-top: 1em;
}
.product-sub {
    font-weight: bold;
    color: #1579c0;
}
