main {
    padding-bottom: 30vh;
    position: relative;
    overflow: hidden;
}
main::after {
    position: absolute;
    content: "";
    width: 100%;
    height: -webkit-fill-available;
    background-image: url(../img/top/top-wave-end.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}
/**---------------------------------
firstview
----------------------------------**/
.firstview {
    height: 95vh;
    overflow: hidden;
    position: relative;
}
.firstview_bg {
    background-image: url("../img/top/top-back.webp");
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}
.firstview_video_wrap {
    position: absolute;
    top: 70px;
    right: 0;
    width: 65%;
    height: 65vh;
}
.firstview_video_wrap::before {
    position: absolute;
    content: "";
    background-color: #000;
    opacity: 0.3;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.firstview_video_wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.firstview_txt {
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 50%;
    z-index: 2;
    pointer-events: auto;
}
.firstview_txt_inner {
    background: #ffffff36;
    padding: 2em;
}
.firstview_bg,
.firstview_video_wrap {
    pointer-events: none;
}

/** firstview typewriter **/
.typewriter {
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
}

#cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: white;
    vertical-align: text-top;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
/**---------------------------------
main contents
----------------------------------**/
.ttl p {
    color: #636363;
    font-size: 20px;
    margin-top: 1em;
}
.ttl_main {
    color: #5792ff;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 2px #b1b1b1;
    font-size: 64px;
}
.ttl_sub {
    color: #5792ff;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 2px 2px 2px #b1b1b1;
}

/** slider **/
.wrapper {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-block: 50px;
}
@media screen and (max-width: 1000px) {
    .wrapper {
        margin-right: 4.375%;
        margin-left: 4.375%;
    }
}

.container {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
.main-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3em 5em;
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box;
}
.right {
    width: 350px;
    max-width: 100%;
}
.new {
    display: inline-block;
    background: linear-gradient(135deg, #d43f37, #ff0d00);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1;
}

.label {
    display: inline-block;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    margin-left: 10px;
    line-height: 1;
}

.product-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.main-slogan {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.5em;
}
.sub-slogan {
    font-size: 15px;
    color: #333;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, 130px);
    gap: 20px;
    margin-top: 2em;
    justify-content: left;
}

.feature-item {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

.feature-icon.water {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
}

.feature-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.feature-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.footer-note {
    position: absolute;
    bottom: 20px;
    left: 60px;
    font-size: 10px;
    color: #888;
    max-width: 800px;
    line-height: 1.4;
}

@media (max-width: 850px) {
    .main-content {
        padding: 1em;
        display: block;
    }
    .new {
        margin-bottom: 5px;
    }
    .product-title {
        margin-bottom: 5px;
        font-size: 38px;
    }
    .left {
        margin-bottom: 2em;
    }
    .right {
        margin: 0 auto;
    }
    .features {
        justify-content: center;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, 110px);
    }
    .feature-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 850px) {
    .product-title {
        font-size: 28px;
    }
    .main-slogan {
        font-size: 18px;
    }
    .right {
        width: 150px;
    }
}

/** product **/
.product_wrap {
    padding: 70px 0;
}
.product_wrap .ttl {
    text-align: center;
}
.products {
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.product-wrap {
    padding-top: 100px;
    margin-top: -100px;
}
.category-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 2em auto 1.5em;
    text-align: center;
    position: relative;
    letter-spacing: -1px;
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #3b82f6;
    border-radius: 3px;
}

.category-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 60px;
    justify-content: center;
    max-width: 95%; /* 4つ並んだときの最大幅を制限 */
    margin-left: auto;
    margin-right: auto;
}

.product-link {
    text-decoration: none;
}

.product-card {
    width: 250px; /* 固定幅を明示的に指定 */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.product-image {
    width: 100%;
    height: 180px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
}
.product-image img {
    width: auto;
    height: 100%;
}

.product-info {
    padding: 1em;
    position: relative;
    z-index: 2;
    background: white;
}

.product-code {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-name {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.product-description {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px; /* モバイルでは1列固定 */
    }

    .product-card {
        width: 100%; /* モバイルでは幅を100%に */
    }

    .category-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .product-card {
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .product-card {
        width: 100%;
    }

    .product-info {
        padding: 25px 20px;
    }
}

/* .product-grid {
    display: grid;
    gap: 2em;
    grid-template-columns: repeat(2, 1fr);
}

.product-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    padding: 1em 1.5em;
    width: auto;
    height: auto;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background-color: #e7efff;
}

.product-image {
    width: 100px;
    height: auto;
    margin-right: 1em;
}

.product-text {
    flex: 1;
    letter-spacing: 0.05em;
}

.card-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-bottom: 30px solid #5792ff;
} */

/** notice **/
.notice_wrap {
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: 95%;
    margin: 0 auto;
    gap: 2em;
    padding: 70px 0;
    position: relative;
}

.notice_wrap::after {
    position: absolute;
    content: url("../img/top/worldmap.png");
    z-index: -2;
    bottom: 0;
    left: 0;
    width: 450px;
}
.notice_wrap .ttl {
    padding-left: 3em;
}
.notice_list {
    width: 95%;
    margin: 0 auto;
}

.notice_item {
    border-bottom: 1px solid #e9e9e9;
}

.notice__link {
    padding: 1.5em;
    display: flex;
    gap: 15px;
    align-items: start;
    transition: 0.4s;
}
.notice__link:hover {
    background-color: #e7efff;
}
.notice__img {
    flex-shrink: 0;
    width: 250px;
    height: 160px;
    margin-right: 25px;
    border-radius: 8px;
    overflow: hidden;
}
.notice__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.notice__link:hover .notice__img img {
    transform: scale(1.05);
}

.notice-content-top {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 0.5em;
    margin-bottom: 0.5em;
}

.notice-content {
    flex: 1;
}

.cat {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    border-radius: 50px;
    color: white;
    background-color: #007bff;
}

.date {
    font-size: 14px;
    color: #555;
}

.title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

/** company **/
.company_wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    width: 100%;
    gap: 2em;
    padding: 70px 0;
    position: relative;
}
.company_wrap::after {
    position: absolute;
    content: url("../img/top/wave1.png");
    z-index: -2;
    bottom: 0;
    right: 0;
    width: 980px;
}
.company_image__svg {
    width: 100%;
    height: 43vh;
    display: block;
}
.company_image__img {
    clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
}
.company_wrap .ttl {
    max-width: 95%;
    margin: 0 auto;
}
.company_wrap .ttl a.btn {
    margin: 2em auto 2em 0;
}

/** mvv **/
.mvv_wrap {
    padding: 5em 0 0 0;
    position: relative;
}
.mvv {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 3em 5em;
    box-sizing: border-box;
    position: relative;
}

.mvv:after {
    position: absolute;
    content: url(../img/top/top-mvv-back.png);
    z-index: -2;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}

.mvv_image img {
    display: block;
    margin: 0 auto;
    max-width: 450px;
}
.mvv_deco {
    position: absolute;
    width: 43vh;
    height: 40vh;
}
.mvv_deco.deco_top {
    top: 0;
    right: 4%;
}
.mvv_deco_1,
.mvv_deco_3 {
    height: auto;
    position: absolute;
    width: 50%;
}

.mvv_deco_2,
.mvv_deco_4 {
    height: auto;
    border-radius: 2em;
    position: absolute;
    width: 40%;
}
.deco_1,
.deco_2,
.deco_3,
.deco_4 {
    width: 100%;
    height: 30vh;
    object-fit: cover;
    border-radius: 2em;
}
.mvv_deco_1 {
    top: 0;
    right: 0;
}
.mvv_deco_2 {
    bottom: 0;
    left: 0;
}
.mvv_deco.deco_bottom {
    bottom: -10%;
    left: 4%;
}
.mvv_deco_3 {
    bottom: 0;
    right: 0;
}

@media (max-width: 1747px) {
}
@media (max-width: 1391px) {
    .mvv {
        padding: 3em 1em;
    }
    .mvv_deco {
        display: none;
    }
    .firstview_txt_inner {
        padding: 1em;
    }
}
@media (max-width: 1081px) {
    .firstview_video_wrap {
        width: 95%;
        height: 85vh;
    }
    .firstview_txt {
        bottom: 3%;
    }
    .typewriter {
        font-size: 1.75rem;
    }
}
@media (max-width: 767px) {
    .firstview_txt {
        width: 70%;
    }
    .ttl_main {
        font-size: 40px;
    }
    .product_wrap,
    .notice_wrap,
    .company_wrap,
    .mvv_wrap {
        padding: 20px 0;
    }
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .product-image {
    }
    .notice_wrap {
        display: block;
    }
    .notice_wrap .ttl {
        padding-left: 0;
    }
    .notice_item {
        padding: 0em;
    }
    .notice__link {
        display: block;
        padding: 0.5em;
    }
    .notice__img {
        width: 100%;
        margin-right: 0;
    }
    .notice img {
        width: 100%;
    }
    .notice-content {
        margin-top: 0.5em;
    }
    .notice_wrap::after {
        bottom: -70px;
    }
    .company_wrap {
        display: block;
    }
    .company_image {
        margin-bottom: 1em;
    }
    .company_image__svg {
        height: 20vh;
    }
    .company_wrap .ttl a.btn {
        margin: 2em auto;
    }
    .company_wrap::after {
        width: 100%;
    }
}
@media (max-width: 450px) {
    .firstview_txt {
        width: 91%;
    }
}
