@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP');


body {
    background-color: #e0e0e0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
}

header {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    z-index: 1;
}

.video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 2;
}

h1 {
    font-size: 28px;
}

.subtitle {
    display: flex;
    margin-top: 20px;
    margin-bottom: 10px;
    gap: 20px;
    width: 100%;
}

.content3-1 {
    width: 38%;
    margin-left: 3%;
}

.kome {
    top: -3%;
    font-size: .7em;
    color: #666;
}

.text-section h2 {
    font-size: 1.8em;
    margin: 0;
    text-align: left;
}

#content3-2 {
    width: 60%;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 3%;
    margin-right: 2%;
}

.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    position: relative;
    display: flex;
    width: max-content;
    transition: transform 0.3s ease;
}


.product {
    flex: 0 0 calc(21%);
    margin: 0 .5%;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5%;
    text-align: center;
    transition: transform 0.5s ease;
}

.product img {
    max-width: 80%;
    max-height: 200px;

    height: auto;
    border-bottom: 2px solid #f1f1f1;
}

.product h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
}

.product p {
    font-size: 0.9em;
    color: #666;
}

.product:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.slider-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.slider-btn.prev {
    left: .5%;
    font-size: 200%;
    max-height: 18%;
}

.slider-btn.next {
    right: .27%;
    font-size: 200%;
    max-height: 18%;
}

.main-content {
    width: 90%;
    margin: auto;
}

.thick-line {
    height: 5px;
    background: grey;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin: 0 auto;
}

.other-title {
    border-left: 5px solid #000;
    padding: .01% 1%;
    font-size: 26px;
}

.imgANDtable {
    display: flex;
    margin-top: 1%;
    margin-bottom: 1%;
    gap: 20px;
    width: 100%;
}

.titleimg {
    max-width: 380px;
    width: 100%;
    height: auto;
    border-radius: 15%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

table {
    width: 60%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px auto;
    font-size: 18px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

thead th {
    color: #000;
    padding: 10px;
}

tbody td {
    border: 1px solid #ddd;
    padding: 10px;
}

/* 交互に背景色を変える */
tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

td {
    border: #666;
}

h4 {
    font-size: 24px;
    margin: auto;
}

.desc1 {
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 25%;
}

.desc2 {
    font-size: 20px;
    font-size: 0.94em;
    margin-left: 10px;
    margin-bottom: 1%;
    display: flex;
    align-items: center;
    left: 2%;
    white-space: break-word;
}

.desc2::before {
    content: "⤷";
    margin-left: 5px;
    font-size: 2.4em;
}

.underline {
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.1em;
    display: inline;
}

.img-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5%;
    width: 800px;
    height: 600px;
    margin: auto;
    margin-bottom: 5%;
    margin-top: 3%;
}

.img-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.img-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15%;
}

.afi {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2%;
}

.button-55 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
    margin: 0 auto;
    padding: .9em 2em;
    border: none;
    border-radius: 25px;
    background-color: #cfae07;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.button-55::after {
    width: 1.25em;
    height: 1.25em;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.button-55:hover {
    background-color: #bf9e00;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #BBBBBB;
    color: #222;
}

.footer-font {
    font-family: 'Caveat', cursive;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .subtitle {
        flex-direction: column;
        margin-top: 1px;
    }

    .content3-1,
    #content3-2 {
        width: 100%;
        margin: 0;
    }

    .slider-track {
        display: flex;
        width: 100%;
        transition: transform 0.3s ease;
    }

    .product {
        margin: 3%;
        flex: 0 0 calc(41%);
        border-radius: 10px;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.5s ease;
    }

    .slider-btn.prev {
        left: 5px;
        font-size: 300%;
        width: 50px;
        height: 70px;
    }

    .slider-btn.next {
        right: 5px;
        font-size: 150%;
        width: 50px;
        height: 70px;
    }

    .slider-btn {
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        padding: 1px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        z-index: 10;
    }

    .slider-btn.prev {
        left: 2%;
        font-size: 200%;
        max-height: 18%;
    }

    .slider-btn.next {
        right: 2%;
        font-size: 200%;
        max-height: 18%;
    }

    .imgANDtable {
        flex-direction: column;
        margin-top: 1px;
    }

    table {
        width: 85%;
    }

    th {
        max-width: 400px;
    }

    td {
        width: 400px;
    }

    .img-container {
        grid-template-columns: 1fr;
        max-width: 360px;
        width: 100%;
        height: auto;
        margin-bottom: 2%;
        gap: 1%;
    }

    .img-item {
        position: relative;
        width: 90%;
        height: 90%;
        border-radius: 10px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}