* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #E3F0F1;
    color: #555555;
}

a {
    color: inherit;
    text-decoration: none;
}


/* -----↓↓↓-----サイドメニュー部分-----↓↓↓----- */
.side_menu {
    width: 75px;
    height: 100vh;
    text-align: center;
    background-color: #3AA4AB;
    color: white;
    position: sticky;
    top: 0;
    display: flex;
    padding: 20px 0;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: flex-start;
    gap: clamp(15px, 3.5vh, 28px);

}

.main_content {
    width: calc(100% - 75px);
}

.side_menu_content {
    margin: 0 10px;
}

.side_menu_icon {
    display: block;
    font-size: 23px;
    position: relative;
}

.side_menu_icon:hover {
    color: silver;
}

.side_menu_tips {
    position: absolute;
    background-color: black;
    font-size: 14px;
    padding: 3px 7px;
    border-radius: 5px;
    top: 50px;
    right: -35px;
    display: none;
}

/* -----↑↑↑-----サイドメニュー部分-----↑↑↑----- */


/* -----↓↓↓-----ヘッダー部分-----↓↓↓----- */
header {
    height: 70px;
    background-color: white;
}

.header_logo {
    margin: 10px 0 10px 20px;
}

.header_menu {
    width: 180px;
}

.menu_drop {
    height: 100%;
    font-size: 18px;
    font-weight: bold;
    display: block;
    text-align: center;
    margin: 0;
    padding: 20px 0;
    color: #3AA4AB;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-left: 2px solid #3AA4AB;
    box-sizing: border-box;
    text-align: center;
}

.menu_drop:hover {
    opacity: 0.7;
}

.menu_sub {
    display: none;
    padding-left: 0;
}

.menu_sub li {
    width: 100%;
    margin-right: 3px;
    list-style: none;
    position: relative;
    background-color: #fff;
}

/* ドロップダウンの１番下 */
.menu_sub li:last-child a {
    margin-right: 0;
    border: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: #3AA4AB solid 2px;
}

.menu_sub li:last-child a:hover {
    margin-right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.menu_sub li:last-child {
    margin-right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.menu_sub a {
    font-size: 18px;
    display: block;
    padding: 10px 0 10px 30px;
    color: #3AA4AB;
    transition: opacity 0.3s ease;
    text-decoration: none;
    border-left: #3AA4AB solid 2px;
    border-right: #3AA4AB solid 2px;
    border-top: #3AA4AB solid 2px;
}

.menu_sub a:hover {
    text-decoration: none;
    background-color: #3AA4AB;
    border-left: #3AA4AB solid 2px;
    border-right: #3AA4AB solid 2px;
    border-top: #3AA4AB solid 2px;
    color: #fff;
}

/* -----↑↑↑-----ヘッダー部分-----↑↑↑----- */

.company_card {
    background-color: white;
    padding: 50px 60px;
    margin: 50px 50px 60px 50px;
}

@media print,
screen and (max-width: 768px) {
    .company_card {
        padding: 5px 10px;
        margin: 5px 10px;
    }
}

.title {
    border-bottom: #3AA4AB solid 2px;
    font-size: 20px;
    font-weight: bold;
}

.btn_sm {
    width: 90px;
}

.btn_md {
    width: 120px;
}

.btn_lg {
    width: 200px;
}

.border_blue {
    border-bottom: #33D2E2 solid 2px;
}


.btn_green {
    background-color: #3AA4AB;
    color: white;
    font-weight: bold;
    border: #3AA4AB solid 2px;
}

.btn_green:hover {
    background-color: #fff;
    color: #3AA4AB;
    border: #3AA4AB solid 2px;
}

.border_green_notOpacity {
    border-bottom: #3AA4AB solid 2px;
}

.border_green {
    border-bottom: #3AA4AB solid 2px;
}

.border_green:hover {
    color: #3AA4AB;
    opacity: 0.7;
}

.accent_green {
    accent-color: #3AA4AB;
}

.btn_pink {
    background-color: #D96EA1;
    color: white;
    font-weight: bold;
    border: #D96EA1 solid 2px;
}

.btn_pink:hover {
    background-color: #fff;
    color: #D96EA1;
    border: #D96EA1 solid 2px;
}

.btn_gray {
    background-color: #808080;
    color: white;
    font-weight: bold;
    border: #808080 solid 2px;
}

.btn_gray:hover {
    background-color: #fff;
    color: #808080;
    border: #808080 solid 2px;
}

.btn_silver {
    background-color: silver;
    color: #fff;
    font-weight: bold;
    border: silver solid 2px;
}

.btn_silver:hover {
    background-color: #fff;
    color: silver;
    border: silver solid 2px;
}

.btn_orange {
    background-color: #FFB800;
    color: #fff;
    font-weight: bold;
    border: #FFB800 solid 2px;
}

.btn_orange:hover {
    background-color: #fff;
    color: #FFB800;
    border: #FFB800 solid 2px;
}

.btn_orange_white {
    background-color: white;
    color: #FFB800;
    font-weight: bold;
    border: #FFB800 solid 2px;
}

.btn_orange_white:hover {
    background-color: white;
    color: #FFB800;
    font-weight: bold;
    border: #FFB800 solid 2px;
    cursor: default;
}


.btn_white {
    background-color: white;
    color: #3AA4AB;
    font-weight: bold;
    border: #3AA4AB solid 2px;
}

.btn_white:hover {
    background-color: #3AA4AB;
    color: white;
    border: white solid 2px;
}


.time_select_btn {
    background-color: #3AA4AB;
    border: solid 2px #3AA4AB;
    color: white;
    width: 100%;
    font-size: 20px;
    margin-bottom: 15px;
}

.color_red {
    color: crimson;
}

.color_orange {
    color: #FFB800;
}

.color_blue {
    color: #46C0E7;
}

.color_green {
    color: #3AA4AB;
}

.color_pink {
    color: #D96EA1;
}

.color_gray {
    color: gray;
}

.color_gray:hover {
    opacity: 0.7;
}

.input_file {
    color: #ffffff;
    background-color: #3AA4AB;
    cursor: pointer;
    font-weight: bold;
    transition: .3s;
    border-radius: 5px;
    border: #3AA4AB solid 2px;
}

.input_file:hover {
    background-color: #fff;
    color: #3AA4AB;
    border: #3AA4AB solid 2px;
    border-radius: 5px;
}

.csv_file_select_input input[type="file"] {
    display: none;
}

.circle_icon {
    color: #3AA4AB;
    font-size: 16px;
    margin-right: 10px;
}

/* タイトル部分の位置調整 */
.modal-csv-title {
    font-weight: bold;
    padding-left: 10px;
}

.account_info {
    color: #3AA4AB;
    border-bottom: silver 1px solid;
}

.account_info_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 25% 25% 25%;
    gap: 80px;
}

/* データが長すぎて画面から飛び出すときに折り返す */
.long_date_return {
    word-wrap: break-word;
}

/* -----↓↓↓-----カレンダー部分-----↓↓↓----- */

.calendar_wrap {
    border: solid 1px #3AA4AB;
    border-radius: 10px;
}

.calendar_table {
    width: 100%;
    table-layout: fixed;
}

.calendar_tr {
    border-bottom: solid 1px #3AA4AB;
}

.calendar_td {
    border: solid 1px #3AA4AB;
}

.calendar_date_btn {
    height: 100%;
    width: 100%;
}

.calendar_arrow_btn {
    color: #3AA4AB;
    font-size: 30px;
}

.calendar_title_month {
    font-size: 20px;
    padding-top: 7px;
}

.calendar_booked_label {
    background-color: #3AA4AB;
    color: white;
    border-radius: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.calendar_no_booked_label {
    background-color: transparent;
    color: transparent;
    border-radius: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.booked_box_parent {
    position: relative;
    height: 80px;
    margin-bottom: 10px;
}

.booked_box {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #3AA4AB;
    color: white;
    margin: 10px 0;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
    cursor: pointer;
    word-break: break-all;
}

.booked_box:hover {
    opacity: 0.7;
}

.booked_detail {
    position: absolute;
    top: 100px;
    left: 0;
    width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 2;
    display: none;
}

.booked_detail_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 60px 60px;
    text-align: right;
}

.facility_col {
    width: 170px;
    /* writing-mode: vertical-rl; */
    padding: 10px 20px 10px 20px;
    position: sticky;
    left: -15px;
}

.calendar_border_bottom {
    border-bottom: solid 3px #dee2e6;
}

.calendar_detail_time_row {
    width: 200vw;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 101;
}

/* -----↑↑↑-----カレンダー部分-----↑↑↑----- */

.calendar_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 100px 200px 145px 1fr 30px;
    border-bottom: solid 1px #D3D3D3;
    padding: 0 50px 20px 50px;
}

.remote_lock_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 100px 200px 145px 1fr 110px 30px;
    border-bottom: solid 1px #D3D3D3;
    padding: 0 50px 20px 50px;
}

.kintone_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 150px 200px 145px 1fr 110px 30px;
    border-bottom: solid 1px #D3D3D3;
    padding: 0 50px 20px 50px;
}

.akerun_authentication_code_btn {
    font-weight: bold;
    background-color: white;
    color: #3AA4AB;
    line-height: 22px;
    padding: 5px;
    border: solid 1px #3AA4AB;
    border-radius: 5px;
}

.akerun_authentication_code_btn:hover {
    opacity: 0.5;
}

.toggle-button {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 30px;
    border-radius: 50px;
    background-color: #dddddd;
    cursor: pointer;
    transition: background-color .4s;
}

.toggle-button:has(:checked) {
    background-color: #3AA4AB;
}

.toggle-button::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: #fff;
    content: '';
    transition: left .4s;
}

.toggle-button:has(:checked)::after {
    left: 30px;
}

.toggle-button input {
    display: none;
}

.calendar_setting_icon {
    font-size: 30px;
    color: dimgrey;
    padding-top: 5px;
}

.input_calendar_icon {
    color: #3AA4AB;
    font-size: 18px;
    margin-right: 10px;
}

.garoon_img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.company_info {
    color: #3AA4AB;
    border-bottom: silver 1px solid;
}

.company_info_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 25% 25% 25%;
    gap: 80px;
}

.border_circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

.custum-checkbox {
    position: relative;
    padding-left: 30px;
    padding-right: 20px;
    cursor: pointer;
    user-select: none;
}

.custum-checkbox input {
    display: none;
}

.custum-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    border: solid 1px silver;
    border-radius: 5px;
    box-sizing: border-box;
}

.custum-mark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 9px;
    height: 14px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.custum-checkbox input:checked+.custum-mark {
    background: #3AA4AB;
    border-color: #3AA4AB;
}

.custum-checkbox input:checked+.custum-mark:after {
    opacity: 1;
}

.calendar_guide_modal_btn {
    color: #3AA4AB;
    font-weight: bold;
}

.calendar_guide_modal_btn:hover {
    color: #3AA4AB;
    opacity: 0.5;
}

.guide_modal_body {
    font-weight: bold;
    font-size: 16px;
}

.send_twilio_password_mail_btn {
    color: white;
    background-color: #3AA4AB;
    border-radius: 50px;
    font-size: 15px;
    padding: 0;
    width: 28px;
    height: 28px;
    margin-right: 5px;
}



.range_visitor_history_btn {
    color: white;
    background-color: #3AA4AB;
    border-radius: 50px;
    padding: 0;
    width: 37px;
    height: 37px;
    margin-right: 5px;
}

.visitor_history_grid {
    display: grid;
    grid-template-columns: 17% 30% 5% 30% 8%;
    gap: 15px;
    margin: 0 15%;
}

.footer_layout {
    color: #BFBEBE;
    text-align: center;
}

.footer_inazou_logo {
    text-align: center;
    opacity: 0.8;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid transparent;
    border-top: 4px solid #3AA4AB;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}

/* ラジオボタン */
.radio-input {
    appearance: none;
    position: absolute;
}

.radio-text::before {
    content: '';
    display: block;
    border-radius: 50%;
    border: 1px solid #3AA4AB;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.radio-text {
    position: relative;
    display: flex;
    align-items: center;
}

.radio-input:checked+.radio-text::after {
    content: '';
    position: absolute;
    left: calc(10px - 7px);
    display: block;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    background-color: #3AA4AB;
}

.extension_outside_flag_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 300px 350px;
}

.update_reception_outside_number_btn {
    border-radius: 50px;
    font-size: 13px;
    padding: 0;
    width: 25px;
    height: 25px;
    margin-left: 15px;
}

.copied_tip {
    display: none;
    position: absolute;
    top: 7px;
    left: 50px;
    color: white;
    background-color: black;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 16px;
}

#front_url_copy_btn {
    color: #3AA4AB;
    font-size: 20px;
}

.check_in_link_copy_btn {
    color: #3AA4AB;
    font-size: 20px;
}

.setting_allow_time_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 170px 135px 100px 1fr;
}

.terms_card {
    height: 400px;
    overflow-y: scroll;
}

.check_in_link_card {
    width: 80%;
    margin: auto;
    margin-top: 30px;
}

@media print,
screen and (min-width: 768px) {
    .check_in_link_card {
        width: 400px;
    }
}

/* ページネーションcss */
.paginate {
    text-align: center;
}

.paginate nav>div:first-child {
    display: none;
}

.paginate nav>div:nth-child(2)>div:first-child {
    display: none;
}

.paginate nav>div:nth-child(2)>div:nth-child(2)>span>span[aria-current="page"]>span {
    background-color: #E3F0F1 !important;
    margin-right: -5px;
}

.paginate svg {
    width: 30px;
}

.plan_note {
    color: dimgray;
    font-size: 14px;
}

/* セレクトボックスの矢印を非表示 */
.no_heckling {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
}

.scrollable-text {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

input:disabled+.custum-mark {
    opacity: 0.5;
    cursor: not-allowed;
}

.custum-checkbox .custum-mark.scrolled {
    border-color: #3AA4AB;
    box-shadow: 0 0 5px #3AA4AB;
}

/* 予約フォームの出席者追加span生成用 */
.selected_span {
    display: inline-flex;
    align-items: center;
    background-color: #f0ffff;
    border: 1px solid #bfdbfe;
    color: #000000;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 400;
    margin: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.delete_circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ec4899;
    color: white;
    border: none;
    margin-left: 8px;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delete_circle:hover {
    background-color: #be185d;
}

/* 出席者を追加選択列の長さを調整 */
.custom_scroll {
    max-height: 200px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.dropdown_item {
    background: white;
    border: none;
    padding: 5px 10px;
    margin: 0;

    font-family: inherit;
    font-size: inherit;
    color: black;
    text-align: left;
    display: block;
    width: 100%;

    cursor: pointer;
}

.dropdown_item:hover {
    background-color: #f0f0f0;
}