/* 共通化パーツ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1B2053;
    min-height: 100vh; /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;
    padding-bottom: 250px;
}

body #left_side .left_box {
    background-color: white;
    border-radius: 10px;
}

body #left_side .active {
    font-weight: 900;
}

body #right_side .event_box {
    position: relative;
}

body #right_side .event_box .event_link {
    background-color: white;
    padding: 8px 20px;
    border-radius: 10px;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;

    &:hover .event_title {
        color: #327E9E;
    }
}

section a {
    text-decoration: none;
}

#events {
    /* margin-bottom: 20px; */
}

.event_type {
    color: gray;
}

.flex-wrap {
    flex-wrap: wrap;
}

.calendar_wrapp {
    width: 100%;
}

.c_contents_wrapp {
    max-width: 1141px;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    margin: 3rem auto;
    padding: 30px 20px;
}

.c_content_back {
    color: #696969;
    font-style: normal;
    font-weight: 700;
}

.custom-alert::before {
    content: "✔";/* 成功時 */
    margin-right: 8px;
}

.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    display: none;
    z-index: 9999;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.custom-alert.show {
    display: block;
    opacity: 1;
}

.custom-alert.hide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body #right_side .liked, .bookmarked {
    color: #1a1f52;
}


body #right_side .event_box .hamburger {
    position: absolute;
    top: 15px;
    right: 0px;

    button {
        z-index: 2;
        position: relative;
        width: 20px;
        height: 20px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        color: #696969;
    }

    details {
        z-index: 2;
        position: relative;
    }

    details span {
        display: block;
        width: 100%;
        height: 100%;
    }

    details[open] .open {
        display: none;
    }

    details:not([open]) .close {
        display: none;
    }

    details summary {
        list-style: none;
        width: 50px;
        height: 50px;

        i {
            font-size: 20px;
            display: flex;
            height: 100%;
            align-items: center;
            justify-content: center;
        }
    }

    details div {
        background-color: white;
    }

    .circle {
        width: 100%;
        height: 100%;
        background-color: red;
        /* まん丸の背景色 */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        &:hover {
            background-color: magenta;
        }
    }

    .button_text {
        background-color: white;
        -webkit-box-shadow: 0px 10px 82px 0px rgba(122, 122, 122, 1);
        -moz-box-shadow: 0px 10px 82px 0px rgba(122, 122, 122, 1);
        box-shadow: 0px 10px 82px 0px rgba(122, 122, 122, 1);
    }

}

button.btn-copy {
    color: #327E9E;
    padding: 8px 16px;
    border-radius: 5px;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 5px;
}

button.btn-copy:hover {
    background: rgba(50, 126, 158, 0.30);
}

button.btn-caution {
    font-size: 14px;
    font-style: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #696969;
    background-color: #fff;
    border: none;
}

button.btn-caution:hover {
    color: #696969;
    background: rgba(50, 126, 158, 0.30);
}
/*  */
/* ヘッダーパーツ */
.header_container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 52px;
}

header .header_cotents {
    display: flex;
    justify-content: center;
    gap: 4px;
    background-color: white;
    padding: 0 15px;
}

header .header_cotents a {
    font-family: Arial;
    color: #1B2053;
    font-size: 14px;
    font-weight: 700;
}

header .header_cotents a:hover {
    color: rgba(27, 32, 83, 0.50);
    text-decoration: none;
}

header .header_cotents .active {
    color: #efd704;
    position: relative;
}

header .header_cotents .active a {
    color: rgba(27, 32, 83, 0.50);
}

header .header_cotents .active::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: #efd704;
    bottom: 0;
    left: 0;
}

header .header_right {
    display: flex;
    justify-content: end;
    align-items: center;
}

header .header_right a {
    text-decoration: none;
}

.header-admin_box {
    display: flex;
    flex-wrap: wrap;
    padding-left: 1.5rem;
    gap: 7px;
}

.header-admin_box a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 2px;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.search-container {
    position: relative;
    width: 19em;
}

.search-container input {
    padding-right: 30px;
    width: 100%;
    border-radius: 4px;
}

.search-container .fa-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
}
.icon-wrapper .badge {
    position: absolute;
    top: 2px;
    right: -10px;
    background-color: #F75959;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    font-style: normal;
    width: 17px;
    border: 2px solid #1B2053;
    height: 17px;
    padding: 0;
    padding-top: 1px;
}

.header_input_none {
    color: #fff; /* 初期表示の薄文字色 */
    /* background-color: transparent;
    border: none; */
    background-color: #fff;
    border: 1px solid #ccc;
    outline: none; /* フォーカス時のアウトラインを消す */
}

.header_input_none:focus {
    color: #000; /* フォーカス時の文字色 */
    background-color: #fff; /* フォーカス時の背景色 */
    border: 1px solid #ccc; /* フォーカス時のボーダー */
    border-radius: 3px;
}
/* .search-container button {
    display: none;
} */

.search-container input:focus + button {
    display: block; /* フォーカス時に表示 */
}
#profile-popup {
    position: absolute;
    top: 100%;
    left: 2rem;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: none;
    z-index: 1000;
}

#profile-link:hover + #profile-popup,
#profile-popup:hover {
    display: block;
}

@media (max-width: 768px) {
    .header_input_none {
        display: none;
    }
}

/*  */

/* メインビジュアル */
.main_visual{
    width:100%;
    height: auto;
    object-fit: cover;
}
/*  */

/* フッターパーツ */

footer a:hover {
    text-decoration: none;
}

footer {
    position: absolute;
    bottom: 0;
    padding: 40px 60px;
    background-color: #efefef;
    width: 100%;
    height: 250px;
}

footer .up_side img {
    max-width: 237.908px;
    width: 100%;
}

footer .w-34 {
    width: 100%;
}

footer .up_side {
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

footer .footer-contents {
    display: flex;
    justify-content: space-between;
}

footer .footer-contents-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .down_side_contents {
    display: flex;
    justify-content: space-between;
}

footer .down_side_contents_links {
    display: flex;
    justify-content: space-between;
    width: 40%;
    max-width: 280px;
}

footer .up_side_link a {
    color: #1B2053;
    font-family: 'Poppins';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.upside_share_link {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

footer .upside_share_link_circle {
    width: 28px;
    height: 28px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .down_side p {
    color: #1B2053;
    font-family: 'Poppins';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

footer .down_side a {
    color: #1B2053;
    font-family: 'Poppins';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/*  */
@media screen and (max-width: 767px) {
    .header_container {
        display: none;
    }

    header .header_cotents {
        display: none;
    }

    .icon-wrapper {
        margin-right: 0;
    }

    .icon-wrapper .badge {
        top: 11px;
        left: 25%;
        width: 30px;
        border-radius: 0%;
    }

    footer .footer-contents {
        display: block;
    }

    footer .footer-contents-links {
        justify-content: left;
        margin-top: 1.5rem;
    }

    footer .down_side_contents {
        display: block;
    }

    footer .down_side_contents_links {
        display: block;
    }

    .fc-theme-standard td {
        border: none;
        width: 35.263px;
        height: auto;
    }
}
