/* 
@media (min-width: 1200px)
@media (min-width: 992px)
@media (min-width: 768px)
@media (min-width: 576px) 

*/

:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #32d5f5;
    --bs-secondary: #2F170F;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 0, 255, 255;
    --bs-secondary-rgb: 47, 23, 15;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: Lora, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-2xl: 2rem;
    --bs-border-radius-pill: 50rem;
    --bs-link-color: #e6a756;
    --bs-link-hover-color: #b88645;
    --bs-code-color: #d63384;
    --bs-highlight-bg: #fff3cd;
}

:root {
    --sixTeen: 16px;
    --tewentyFive: 25px;
    --thirtyTwo: 32px;
    --fourty: 40px;
    --eightyFive: 85px;
    --fadeAmimation: fade .5s forwards;
}


.events-link a {
    text-decoration: none;
}


/* LP page */
.product-item>.lp_img_cover.product-item-img {
    width: 200px;
    height: 150px;
    overflow: hidden;
    justify-content: center;
}

.product-item .lp_img_cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    display: flex;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0;
    margin-right: 20px;
    justify-content: flex-end;
    gap: 0 20px;
    align-items: center;

}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
    height: 200px;
    width: calc(100vw / 6);
    margin-bottom: 50px
}

.scroll-infinity__item>img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* 右回転 */
@keyframes infinity-scroll-right {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0%);
    }
}

.scroll-infinity__list--right {
    animation: infinity-scroll-right 80s infinite linear 0.5s both;
}

.news-title {
    text-decoration: none;
}

.news-title .lp_img_cover {
    width: 200px;
    height: 150px;
    overflow: hidden;
    justify-content: center;
}

.product-item-img {
    width: 200px;
    height: 100%;
    object-fit: cover;
}

.content-rap {
    gap: 30px;
}

/* SP用 */
@media (max-width: 576px) {
    .scroll-infinity__item {
        height: 200px;
        width: calc(100vw / 1.5);
    }

    .news-title {
        font-size: 1rem;
    }

    .content-rap {
        flex-wrap: wrap;
        gap: 10px;
    }

    .product-item-img {
        width: 200px;
        height: 100px;
    }
}

/* NEWS PAGE */
.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    gap: 20px;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.product-item-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
}

.news-title-top {
    text-decoration: none;
}

.product-news-date {
    font-size: 0.8rem;
    color: #e6a756;
    display: flex;
    justify-content: flex-end;
}

.product-item-content {
    text-align: center;
}

.section-heading {
    margin: 0;
}

.section-heading-upper {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading-lower {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--bs-link-color);
    text-decoration: none;
}

.section-heading-lower:hover {
    color: var(--bs-link-hover-color);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .product-item {
        margin: 20px 0;
        padding: 15px;
    }

    .section-heading-lower {
        font-size: 1.2rem;
    }
}

/* アバウトページ */
.about-class {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about-class>.container {
    width: 40%;
}

.about-class img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
}

.about-inst-desc {
    padding: 5rem;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .about-class {
        flex-direction: column;
        align-items: center;
    }

    .about-heading .container {
        width: 93%;
        margin-bottom: 20px;
    }

    .blog-title>.section-heading-lower {
        font-size: 1.5rem;
    }

    .about-class img {
        height: auto;
    }

    .about-inst-desc {
        padding: 2rem;
    }
}

.about-inst-desc .inst {
    color: var(--bs-info);
}

.custom-section {
    padding: 40px;
    text-align: center;
}

.image-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.overlay-text {
    position: absolute;
    width: 90%;
    height: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(222, 135, 3, 0.748);
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-contents {
    padding: 3rem;
}

.single-img-wrap {
    width: 55rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.single-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .image-wrapper {
        width: 100%;
    }

    .overlay-text {
        font-size: 1.2rem;
        padding: 12px 16px;
    }

    .single-contents {
        padding: 1rem;
        /* font-size: 12px; */
    }

    .single-img-wrap {
        width: 100%;
    }
}

/* blog page */
.blog_img_cover {
    height: 300px;
}

.blog_img_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SP用 */
@media (max-width: 576px) {
    .blog_img_cover {
        height: 200px;
    }
}