@charset "utf-8";

#main-nav a {
    border-bottom: solid 2px transparent;
    transition: all .3s ease-in-out;
}
#main-nav .current_page_item > a, #main-nav .current-menu-item > a {
    border-bottom: solid 2px #0017c1;
}

.posttitle-col {
    background-image: url(https://kobutsu.infomediary.jp/wp-content/uploads/2025/06/clock-rotate-left-solid.svg);
    background-size: auto 100%;
    background-position: left center;
    background-repeat: no-repeat;
}


/*** builder pro menu (単独サイトの場合のみ) ***/
/*
.ui.nav>li:first-child>a,
.ui.nav>li:last-child>a {
    border-radius: 0 !important;
}
*/

.ui.nav li a {
    border-bottom: solid 2px transparent;
}
.ui.nav li a:hover,
.current-menu-item>a,
.current_page_item>a,
.ui.nav>:is(.current_page_item,.current-menu-item)>:is(a,a:hover) {
    background-color: transparent !important;
    border-bottom: solid 2px var(--theme_accent);
}

.ui.nav ul {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,.12) !important;
}
.module-menu:not(.mobile-menu-module) .sub-menu {
    background-color: #fff !important;
}
.ui.nav>li a:hover {
    background-color: transparent !important;
}

.mobile-menu-module .pending-badge {
    left: 12.5em !important;
    right: unset !important;
}
/*** builder pro menu (単独サイトの場合のみ) ここまで ***/


dl.success_info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  margin: 2em 0;
}
dl.success_info dt{
  width: calc(2% + 7em);
  font-weight: bold;
}
dl.success_info dd{
  width: calc(98% - 7em);
}
dl.success_info dd::before {
  content: ":";
  margin-right: .5em;
}


button, input[type=reset], input[type=submit] {
    /* background-color: #333 !important; */
}


.form-actions button {
    border: solid 1px;
    max-width: 12em;
    width: 100%;
}
.form-actions button.back {
    color: var(--theme_accent);
    background-color: transparent;
    font-weight: normal;
    max-width: 8em;
}


.refine-search select, #lh-search-form input[type="date"] {
    border: none !important;
    box-shadow: 1px 1px 2px rgb(0 0 0 / 10%) inset;
    /* background: linear-gradient(70deg, #ffffff, #f4f4f4); */
    background-color: #f3f3f3 !important;
}

form#lh-search-form {
    background-color: #fefefe;
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    margin-bottom: 1em;
}
#lh-search-form select, #lh-search-form input:read-only, #lh-search-form input:read-write {
    margin-bottom: 0;
}
#lh-search-form input[type="date"] {
    margin-right: 0;
}


i.fa-solid {
    margin-right: .25em;
}

.table-operations {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 2em 0 1em;
}

a.logout-button,
a.csv-download {
    color: #666;
    padding: 5px 12px;
    border-radius: 50px;
    transition: all .3s ease-in-out;
    display: inline-block;
}
a.logout-button:hover {
    color: #fff;
    background-color: var(--theme_accent);
    box-shadow: 0 0 8px rgb(0 0 0 / 35%);
}
a.csv-download:hover {
    color: #333;
    background-color: #e2e2e2;
    box-shadow: 2px 2px 2px rgb(0 0 0 / 9%) inset;
}
a.logout-button {
    border: solid 1px rgb(255 255 255 / 25%);
}

.items-displayed a {
    color: #999;
    padding: 5px;
    border-bottom: solid 2px transparent;
    transition: all .3s ease-in-out;
}
.items-displayed a:hover {
    color: #333;
    padding: 5px;
    border-bottom: solid 2px;
}
.items-displayed a.current {
    color: #333;
    font-weight: bold;
    border-bottom: solid 2px;
}

table.history-table {
    width: 100%;
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    margin-bottom: 2em;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
}
table.history-table tr {
    border-bottom: solid 1px #dedede;
}
table.history-table tr:hover {
    background-color: rgb(0 0 0 / 5%);
}
table.history-table tr:last-child {
    border-bottom: none;
}
table.history-table th,
table.history-table td {
    padding: 6px;
    border-right: solid 1px rgb(0 0 0 / 5%);
    text-align: center;
}
table.history-table th:last-child,
table.history-table td:last-child {
    border-right: none;
}
table.history-table th {
    background-color: #f9f9f9;
    /* box-shadow: 0px 2px 6px rgb(0 0 0 / 10%); */
}

.pagination {
    text-align: center;
    margin: -1em 0 2em;
    display: flex;
    justify-content: center;
}
.pagination a {
    color: #666;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50px;
    margin: 0 .2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    transition: all .3s ease-in-out;
}
.pagination a:hover {
    color: #fff;
    background-color: #666;
}
.pagination a.current {
    color: #fff;
    background-color: var(--theme_accent);
}
.pagination a.prev,
.pagination a.next {
    width: 4.5em;
}


.alert,
.error,
.notice,
.note,
.success {
    background: #fff;
    border: 2px solid;
    border-radius: 15px;
    color: #333;
    padding: 1em;
    margin: 1em 0 1.5em 0;
    box-shadow: 0 0 8px rgb(0 0 0 / 50%);
    font-weight: bold;
}

.alert {
    background: #fee;
    color: #ce0000;
    box-shadow: 0 0 8px rgb(206 0 0 / 50%);
}
.error {
    background: #ffeee1;
    color: #fb5b00;
    box-shadow: 0 0 8px rgb(251 91 0 / 50%);
}
.notice,
.success {
    background: #e6f5ec;
    color: #239d63;
    box-shadow: 0 0 8px rgb(35 157 99 / 50%);
}
.note {
    background: #e8f1fe;
    color: #0017c1;
    box-shadow: 0 0 8px rgb(0 23 193 / 50%);
}

.notice p:last-child {
    margin-bottom: 0;
}
.alert button#profile-resend-btn {
    padding: .5em 1.6em;
}

.btn-ar {
    color: #fff;
    font-size: .9em;
    border: none;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
}
.btn-ar.approve {
    margin-right: 6px;
    background: #239d63;
}
.btn-ar.reject {
    background: #ce0000;
}







.pending-badge {
    background: #c00 !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 4px !important;
    font-size: 0.75em !important;
    vertical-align: middle !important;
    margin-left: 2px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    display: flex !important;
    text-align: center !important;
    position: absolute !important;
    top: 1px !important;
    right: -1.1em !important;
    height: 1.3em !important;
    min-width: 1.3em !important;
    justify-content: center !important;
    align-items: center !important;
}




form.login-form,
form.forgot-password-form,
form.reset-password-form {
    box-shadow: 0 0 15px rgb(0 0 0 / 25%);
    border-radius: 15px;
    padding: 20px 20px 25px;
    box-sizing: border-box;
    display: block;
    margin: -1em auto 0;
    width: 100%;
    max-width: 400px;
    background-color: rgb(255 255 255 / 60%);
}

p+form.login-form,
p+form.forgot-password-form,
p+form.reset-password-form {
    margin-top: 1.5em;
}

form.login-form label,
form.forgot-password-form label,
form.reset-password-form label {
    font-size: .8em;
    display: block;
    max-width: 300px;
    width: 100%;
    margin: auto;
}

form.login-form input,
form.forgot-password-form input,
form.reset-password-form input {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 0 auto .5em;
}

form.login-form label input,
form.forgot-password-form label input,
form.reset-password-form label input {
    font-size: 1.2em;
}

form.login-form .pw-wrap {
    width: 100%;
    max-width: 350px;
    margin: auto;
}

form.login-form .cf-turnstile,
form.forgot-password-form .cf-turnstile,
form.reset-password-form .cf-turnstile {
    text-align: center;
}
form.login-form .button-group,
form.forgot-password-form .button-group,
form.reset-password-form .button-group {
    margin-top: 1em;
    display: flex
;
    gap: 1em;
    align-items: center;
    justify-content: center;
}


table .required {
    display: inline-block;
    color: #fff;
    background-color: #ce0000;
    font-size: 70%;
    font-weight: bold;
    line-height: 1;
    padding: 5px;
    margin-left: .25em;
    border-radius: 6px;
}
.user-form table .required {
    position: absolute;
    top: 12px;
    right: 10px;
}
.user-form table td {
    padding: 10px;
    text-align: left;
}
.user-form table td:first-of-type {
    /* vertical-align: top; */
    /* width: 20%; */
    /* min-width: 5em; */
    /* max-width: 6em; */
    /* padding: 10px 3em 10px 10px; */
    /* position: relative; */
}
.user-form table input {
    width: 100%;
    display: inline-block;
    margin: 0;
}
table.user-profile-table th {
    width: 20%;
    position: relative;
    text-align: left;
    min-width: 9em;
}

.pw-wrap {
    position: relative;
}

.user-form table .form-group {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: row;
}
.user-form table .form-group label {
    width: 100%;
}
.user-form table .form-group label:first-child {
    margin-right: .5em;
}
.user-form table .form-group label:last-child {
    margin-left: .5em;
}

.user-form table .notes,
.notes {
    font-size: .85em;
    margin: .25em 0;
    line-height: 1.5em;
}
.user-form table .notes:last-child,
.notes:last-child {
    margin-bottom: 0;
}

.passwordcheck {
    border: solid 1px #ccc;
    border-radius: 6px;
    margin-right: .2em;
    margin-bottom: 3px;
    padding: 2px 4px;
    box-sizing: border-box;
    display: inline-block;
    font-weight: bold;
    color: #666;
    background-color: #fff;
    transition: all .15s ease-in-out;
}
.passwordcheck.ok {
    color: #4CAF50;
    background-color: #e3ffe4;
    border-color: inherit;
}


.passwordcheck:before {
    color: #ccc;
    content: "\f05e";
    --fa: "\f05e";
    width: 1.3em;
    display: inline-block;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}
.passwordcheck.ok:before {
    color: #30a935;
    content: "\f164";
    --fa: "\f164";
}


.ufh-modal {
  background: #fff;
  border: 2px solid #0073aa;
  border-radius: 10px;
  padding: 2em 1.5em;
  max-width: 420px;
  margin: 40px auto;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 1.1em;
}
.ufh-modal h2 {
  color: #0073aa;
  margin-bottom: 1em;
}
.ufh-modal p { margin: 1em 0 0 0; }

/* --- UFH 共通メッセージ/ポップアップ/モーダル --- */
.ufh-alert, .ufh-error, .ufh-success, .ufh-info {
  border-radius: 7px;
  margin: 1em 0;
  padding: 1.2em 1.5em;
  font-size: 1.04em;
  font-weight: 500;
  box-shadow: 0 0 6px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ufh-alert, .ufh-error {
  background: #fee;
  border: 1px solid #f66;
  color: #b00;
}
.ufh-success {
  background: #efe;
  border: 1px solid #5c5;
  color: #070;
}
.ufh-info {
  background: #eef;
  border: 1px solid #44f;
  color: #125;
}
.ufh-modal-bg {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.ufh-modal-box {
  background: #fff; padding: 2em 2.2em; border-radius: 12px; box-shadow: 0 0 20px #aaa;
  min-width: 340px; max-width: 90vw; text-align: center; position: relative;
}
.ufh-modal-close {
  position: absolute; top: 15px; right: 18px; font-size: 1.25em; color: #b33;
  background: none; border: none; cursor: pointer;
}
.ufh-modal-title { font-size: 1.25em; margin-bottom: .7em; font-weight: 700; }
.ufh-modal-content { margin-bottom: 1.5em; }
.ufh-modal-actions { margin-top: 1em; }
.ufh-btn {
  display: inline-block; padding: 0.6em 2em; background: #269; color: #fff;
  border-radius: 6px; text-decoration: none; border: none; font-size: 1em; cursor: pointer; transition: background .15s;
}
.ufh-btn:hover { background: #125; }

.user-profile-table select {
    width: 100%;
}

@media screen and (max-width: 680px) {
    .user-profile-table, .user-profile-table tr, .user-profile-table th, .user-profile-table td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}