/* add 2023/07/19 datapot*/
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 0px;
}

.scroll-top img {
    width: 50%;
}

.grecaptcha-badge {
    margin-bottom: 70px;
}

.form_pp_head {
    padding-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.form_pp_check {
    padding-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.form_pp {
    background: #FFF;
    overflow: auto;
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
    padding: 25px;
    box-sizing: border-box;
}

.form_pp::-webkit-scrollbar {
    width: 8px;
}

.form_pp::-webkit-scrollbar-thumb {
    background: #1999D7;
    border-radius: 4px;
}

.form_pp::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.form_pp::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.p-idx_case {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.p_idx_case__inner {
    margin: 0px auto 80px auto;
    text-align: left;
    background-image: url('../img/index/case_pc.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    height: 326px;
    width: 100%;
}

.p_idx_case__inner .c-ttl01 {
    text-align: left;
}

.p_idx_case__inner p {
    padding-bottom: 15px;
}

.p_idx_case__inner .p_idx_case_text {
    position: absolute;
    top: 20%;
    left: 5%;
}

.p_idx_case__inner_sp {
    display: none;
}

.p-search_filter__btn {
    display: none;
}

/* news */
ul.c-news_list_tab {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
    gap: 10px;
}

ul.c-news_list_tab li {
    flex: 1 0 calc(25% - 10px);
    box-sizing: border-box;
}

ul.c-news_list_tab li a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

ul.c-news_list_tab li a:hover {
    opacity: 0.7;
}

ul.c-news_list_tab li a img {
    display: block;
    width: 235px;
    height: 200px;
    border: 1px solid #CCC;
    object-fit: cover;
    margin: 0 auto 0 auto;
}

ul.c-news_list_tab li a .title {
    text-align: left;
    display: block;
    margin-top: 15px;
}

ul.c-news_list_tab li a .time-term-container {
    display: flex;
    align-items: center;
    margin-top: 0px;
}

ul.c-news_list_tab li a time {
    margin-top: 20px;
    margin-right: 20px;
}

ul.c-news_list_tab li a .term {
    display: block;
    background: #009be6;
    color: #fff;
    font-size: .75em;
    line-height: 1;
    height: 22px;
    padding: 4px 0;
    width: 7em;
    margin-top: 20px;
    text-align: center;
}

ul.c-news_list_tab li a .term.-product {
    background: #1999d7
}

ul.c-news_list_tab li a .term.-news {
    background: #2152b7
}

ul.c-news_list_tab li a .term.-event {
    background: #27b4c9
}

/* news detail */
ul.p-topics_archive__list.c-news_list li {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

ul.p-topics_archive__list.c-news_list li a.c-flex {
    display: flex;
    flex-direction: row;
    width: 100%;
    text-decoration: none;
}

ul.p-topics_archive__list.c-news_list li a.c-flex .image {
    flex-shrink: 0;
    margin-right: 20px;
    width: 200px;
    height: 150px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.p-topics_archive__list.c-news_list li a.c-flex .image img {
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    border: 1px solid #CCC;
}

ul.p-topics_archive__list.c-news_list li a.c-flex .info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: calc(100% - 220px);
}

ul.p-topics_archive__list.c-news_list li a.c-flex .info time,
ul.p-topics_archive__list.c-news_list li a.c-flex .info .term {
    margin-bottom: 10px;
}

ul.p-topics_archive__list.c-news_list li a.c-flex .title {
    margin-top: 0;
}

ul.p-topics_archive__list.c-news_list li a:hover {
    opacity: 0.7;
}

ul.p-topics_archive__list.c-news_list li a .term {
    display: block;
    background: #009be6;
    color: #fff;
    font-size: .75em;
    line-height: 2;
    padding: 0 1em;
    width: 7em;
    margin-right: 3rem;
    text-align: center
}

ul.p-topics_archive__list.c-news_list li a .term.-product {
    background: #1999d7
}

ul.p-topics_archive__list.c-news_list li a .term.-news {
    background: #2152b7
}

ul.p-topics_archive__list.c-news_list li a .term.-event {
    background: #27b4c9
}

/* 202502 */
.hd_logout a {
    position: relative;
    padding-left: 1.5em;
    display: inline-block;
}

.hd_logout a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2em;
    height: 1.2em;
    background: url(../img/common/icon_logout.svg) no-repeat center/contain;
}

@media screen and (min-width: 992px) {
    .l-gnavi__list>li>a {
        /* font-weight: 600;
        font-size: 1.34rem; */
    }

    .logout-link {
        /* font-size: 1.22rem !important; */
    }

    .language-link {
        /* font-size: 1.34rem !important; */
    }
}

@media screen and (min-width: 992px) {
    .p-member_anchor {
        flex-wrap: wrap;
        gap: 1.3rem 0;
    }

    .p-member_anchor__item:not(:first-child) {
        margin-left: 0!important;
    }

    .p-member_anchor__item {
        width: 25%;
    }
}

/* 202502 */

@media screen and (max-width:991px) {
    .p-idx_case {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 0px auto;
    }

    .p_idx_case__inner {
        display: block;
        position: relative;
        width: 95%;
        padding-top: 110%;
        margin: 0 auto;
        background: url('../img/index/case_sp.jpg') no-repeat;
        background-size: contain;
        background-position: center;
    }

    .p_idx_case__inner .c-ttl01 {
        text-align: center;
    }

    .p_idx_case__inner .p_idx_case_text {
        width: 100%;
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    ul.c-news_list_tab {
        margin-top: 25px;
    }

    ul.c-news_list_tab li a .title {
        margin-bottom: 50px !important;
    }

}

@media print {
    script {
        display: none;
    }

    .l-main {
        width: 100% !important;
    }

    .scroll-top,
    .l-header__inner,
    .l-side,
    .p-search_single_relation,
    .l-footer {
        display: none;
    }
}

/* 20250226 */
/* Cookie同意プロンプトのスタイル */
        /* Cookie同意プロンプトのスタイル */
        .cookie-consent {
            position: fixed;
            bottom: 20px;
            left: 20px;
            max-width: 360px;
            background-color: white;
            color: #333;
            padding: 20px;
            text-align: left;
            z-index: 999;
            display: none; /* 初期状態では非表示 */
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            font-family: 'Arial', sans-serif;
            line-height: 1.5;
            animation: slideIn 0.5s forwards;
        }

        @keyframes slideIn {
            from {
                transform: translateY(100px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .cookie-consent h3 {
            margin-top: 0;
            color: #333;
            font-size: 18px;
        }

        .cookie-consent p {
            margin-bottom: 15px;
            font-size: 14px;
        }

        .cookie-consent .buttons {
            display: flex;
            justify-content: space-between;
        }

        .cookie-consent button {
            background-color: #4361ee;
            color: white;
            border: none;
            padding: 10px 16px;
            cursor: pointer;
            border-radius: 4px;
            font-weight: bold;
            transition: background-color 0.3s;
            font-size: 14px;
        }

        .cookie-consent button:hover {
            background-color: #3a56d4;
        }

        .cookie-consent .cookie-icon {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .cookie-consent .cookie-icon svg {
            width: 24px;
            height: 24px;
            margin-right: 10px;
        }