/* contents.books.register */
.form-box {
    max-width: 360px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-label {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 16px;
}

.form-control {
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
}

.btn-submit {
    display: inline-block;
    background-color: #f18b94;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 0 #d86a71;
    transition: background-color 0.3s;
    margin-top: 10px;
}
.btn-submit:hover {
    background-color: #e3747d;
}

.button-center {
    text-align: center;
}

/* contents.books.log */
 .page-navi {
     text-align: center;
     margin-top: 20px;
 }

.page-navi ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.page-navi li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: background 0.3s;
}

.page-navi li a,
.page-navi li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    font-weight: normal;
}

.page-navi li:hover {
    background: #f7f7f7;
}

.page-navi li span.fwb {
    background: #ffb320;
    color: #fff;
    font-weight: bold;
    border-color: #ffb320;
    border-radius: 4px;
}

.page-navi li.pre a,
.page-navi li.next a {
    width: 36px;
    height: 36px;
    background-image: url("/common/img/ic_arrow01.svg");
    background-size: 10px 16px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.page-navi li.next a {
    transform: rotate(180deg);
}

.page-navi li.pre a:hover,
.page-navi li.next a:hover {
    opacity: 1;
}

.book-entry-btn--mini {
    text-align: center;
    margin-top: 20px;
}
.book-entry-btn--mini a {
    display: inline-block;
    background-color: #f18b94;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 0 #d86a71;
    transition: background-color 0.3s;
}
.book-entry-btn--mini a:hover {
    background-color: #e3747d;
}
.btn-delete {
    background-color: #f87c7c;
    border: none;
    color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-delete:hover {
    background-color: #d44a4a;
}

/* Tooltip */
.help-wrapper {
    position: relative;
    display: inline-block;
}

.help-icon-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.help-icon-circle {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #7a5000; /* 茶色背景 */
    color: white;
    font-weight: bold;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
}

.help-text {
    color: #01b4fe;
}

.help-tooltip {
    visibility: hidden;
    opacity: 0;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: opacity 0.2s ease;
    text-align: left;
}

.help-wrapper:hover .help-tooltip {
    visibility: visible;
    opacity: 1;
}

/* menu */
.link-button-v5 {
    list-style: none;      /* ← 「・」を消す */
    padding-left: 0;       /* ← 左の余白も消す（任意） */
    display: flex;         /* ← 横並びにするなら必要 */
    gap: 12px;             /* ← ボタン間の余白（任意） */
}
