* {
    box-sizing: border-box;
}
.sauna-rally-logo {
    height: 70px;
}
body {
    margin: 0;
    background: #f1f1f1;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium",
        "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}
form {
    margin: 0;
}
ul,
ol {
    margin: 0;
    padding: 0;
}
li {
    list-style-type: none;
}
h1 {
    font-size: 24px;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.2rem;
}
h1 small {
    font-size: 12px;
    display: block;
    font-weight: normal;
    margin-bottom: 5px;
    letter-spacing: 0rem;
}
input {
    border: none;
    cursor: pointer;
}
a {
    color: #3ab0cf;
    text-decoration: none;
}
.header {
    background: #3ab0cf;
    color: #fff;
    height: 70px;
    position: fixed;
    width: 100%;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 100%;
}
.main {
    display: flex;
    padding-top: 70px;
    align-items: stretch;
    min-height: 100vh;
}
.sidebar {
    width: 300px;
    background: #333;
    padding: 20px;
    color: #fff;
    flex-shrink: 0;
}
.sidebar h2 {
    margin: 0 0 20px;
    font-size: 16px;
    border-left: 3px solid gray;
    padding-left: 10px;
    color: gray;
}
.menu-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(94, 94, 94);
}
.contents {
    flex-grow: 1;
    background: #fff;
    margin: 20px 30px;
    width: 100%;
    padding: 20px 40px;
}
.contents h2 {
    color: #3ab0cf;
}
.contents h2::after {
    content: "";
    width: 80px;
    height: 2px;
    background: #3ab0cf;
    display: block;
    margin-top: 10px;
}
.tbl {
    width: 100%;
    border-collapse: collapse;
}
th,
td {
    text-align: left;
    padding: 10px;
}
th {
    color: #114c81;
}
tr {
    border-bottom: 1px solid rgb(228, 228, 228);
}
thead tr {
    border-bottom: 3px solid rgb(228, 228, 228);
}
.action {
    display: flex;
    gap: 12px;
}
.tbl-btn {
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 4px;
}
.tbl-btn.edit, .c-btn--primary {
    background: #3ab0cf;
    color: #fff;
}
.tbl-btn.delete, .c-btn--delete {
    background: #cf3a3a;
    color: #fff;
}
.tbl-stock-btn {
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 4px;
    margin: 0 4px;
}
.input-border {
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: auto;
}
.search-btn {
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 4px;
    background: #3ab0cf;
    color: #fff;
}
.sauna-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px;
}

.sauna-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.sauna-card:hover {
    transform: translateY(-5px);
}

.sauna-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
}

.sauna-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sauna-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sauna-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-detail {
    margin-top: auto;
    background: #007bff;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
}

.ck-content {
    margin-top: 30px;
}

.ck-content h2 {
    border-left: 5px solid #007bff;
    padding-left: 15px;
}
.ck-content img {
    max-width: 100%;
    height: auto;
}
.empty-message {
    color: #cf3a3a;
}
.sauna-rating {
    margin-bottom: 10px;
}
.sauna-rating-flex {
    display: flex;
    align-items: center;
    gap: 4px;
}
.sauna-rating-star {
    color: #f1c40f;
    font-size: 1.2rem;
}
.sauna-rating-score {
    font-weight: bold;
    font-size: 1.1rem;
}

.sauna_first_image {
    max-width: 100%;
    height: auto;
    border-radius: 5%;
}
