#denso-home {
    color: #4163B1;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.index-main {
    padding-bottom: 0px !important;
}

.main-ttl {
    color: #666;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}

#grid-container {
    margin-bottom: 64px;
}

.index-block-grid {
    display: grid;
    grid-template-columns: repeat(4, 237px);
    gap: 10px;
    justify-content: center;
    grid-auto-rows: 64px;
    max-width: 100%;
    margin: 0 auto;
}

.index-block-grid .block {
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #DC0032;
    font-size: 14px;
    text-align: center;
    border: 1px solid #DC0032;
    box-sizing: border-box;
    padding: 10px;
    cursor: pointer;
}

.index-block-grid .block:hover {
    background-color: #DC0032;
    color: #FFF;
}

.index-block-grid .block .text1 {
    margin: 0;
}

.index-block-grid .block .text2 {
    margin: 0;
}

/* Responsive behavior for when there's not enough space */
@media screen and (max-width: 1024px) {
    .index-block-grid {
        grid-template-columns: repeat(3, 237px);
    }
}

@media screen and (max-width: 800px) {
    .index-block-grid {
        grid-template-columns: repeat(2, 237px);
    }
}

@media screen and (max-width: 600px) {
    .index-block-grid {
        grid-template-columns: 237px;
    }
}

.index-redline {
    width: 60px;
    height: 4px;
    background-color: red;
    margin-bottom: 32px;
}

#tbl-for-japan,
#tbl-for-china,
#tbl-for-outside-jp-ch {
    margin: 32px 0px 40px 0px;
}

.index-responsive-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    justify-content: center;
    height: 108px;
}

.index-responsive-left {
    width: 60%;
    border-bottom: 1px solid #666666;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #666;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.left-first-row {
    border-top: 1px solid #666666;
}

.index-responsive-right {
    width: 40%;
    border-bottom: 1px solid #DDDDDD;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #666;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.right-first-row {
    border-top: 1px solid #DDDDDD;
}

.index-responsive-right-item {
    position: relative;
    padding-left: 35px;
    padding-right: 35px;
    display: inline-block !important;
}

.index-responsive-right-item::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(../images/circle_arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.index-responsive-right-item::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url(../images/top-link-rectangle.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.index-responsive-right-item:hover,
.index-responsive-right-item.active {
    color: #DC0032 !important;
}

.index-responsive-right-item:hover::before,
.index-responsive-right-item.active::before {
    background-image: url(../images/circle_arrow_active.png);
}

.mb-16 {
    margin-bottom: 16px;
}

.contactus-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}

.contactus-container a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 64px;
    color: #DC0032;
    text-decoration: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    line-height: 22px;
    border: 1px solid #DC0032;
}

.contactus-container a:hover {
    color: #FFF;
    background-color: #DC0032;
}

@media screen and (max-width: 600px) {
    .index-responsive-row {
        flex-direction: column;
        height: auto;
        gap: 0;
        padding-left: 40px;
        padding-right: 40px;
    }

    .index-responsive-left {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .index-responsive-right {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}