.admission_fee {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #72c488;
    background: #adf7c1;
}
.admission_fee .admission_fee_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #72c488;
    color: #ffffff;
    border-radius: 5px 5px 0 0;
}
.admission_fee p {
    margin: 0; 
    padding: 0;
}
.bank {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
    background: #fafffes;
}
.bank .bank_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.bank p {
    margin: 0; 
    padding: 0;
}
.blog {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
    background: #fafffes;
}
.blog .blog_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.blog p {
    margin: 0; 
    padding: 0;
}
.blog .blog_index_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: 50px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
tbody.clickable-rows tr {
  cursor: pointer;
}
.nowrap-column {
  max-width: 120px;
  min-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
tbody.small-text {
  font-size: 9pt;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明な黒背景 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.member {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
    background: #fafffes;
}
.member .member_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.member p {
    margin: 0; 
    padding: 0;
}

.search-container {
    display: flex;
    flex-wrap: wrap; /* 画面が狭いときは折り返しを許可 */
    gap: 10px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    justify-content: flex-start;
    align-items: center;
}

.search-container input {
    flex: 1;
    min-width: 150px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.search-container button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.search-container button:hover {
    background-color: #0056b3;
}

@media (max-width: 480px) {
    .search-container {
        flex-direction: column;
        gap: 5px;
        flex-wrap: wrap; /* 画面が狭いときは折り返しを許可 */
        align-items: flex-start; /* スマホでも左寄せ */
    }
}
.membership {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #4287f5;
    background: #87CEFA;
}
.membership .membership_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #4287f5;
    color: #ffffff;
    border-radius: 5px 5px 0 0;
}
.membership p {
    margin: 0; 
    padding: 0;
}
.news {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
    background: #fafffes;
}
.pagination {
  justify-content: center;
}
.privilege {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #ff7d7d;
    background: #ffe6e6;
}
.privilege .privilege_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #ff7d7d;
    color: #ffffff;
    border-radius: 5px 5px 0 0;
}
.privilege p {
    margin: 0; 
    padding: 0;
}
.role {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #ff7d7d;
    background: #ffe6e6;
}
.role .role_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #ff7d7d;
    color: #ffffff;
    border-radius: 5px 5px 0 0;
}
.role p {
    margin: 0; 
    padding: 0;
}
.user {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
    background: #fafffes;
}
.user .user_edit_link {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.user p {
    margin: 0; 
    padding: 0;
}
.user_members {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
    background: #fafffes;
}
@media (max-width: 480px) {
    .search-container {
        flex-direction: column;
        gap: 5px;
        flex-wrap: wrap; /* 画面が狭いときは折り返しを許可 */
        align-items: flex-start; /* スマホでも左寄せ */
    }
}
@charset "UTF-8";
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
body {
  font-size: 20px;
  /* 必要に応じて変更 */
  line-height: 1.6; }

.topnav {
  overflow: hidden;
  background-color: #333; }

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px; }

.topnav a:hover {
  background-color: #ddd;
  color: black; }

.topnav a.active {
  background-color: #04AA6D;
  color: white; }

.topnav .icon {
  display: none; }

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none; }
  .topnav a.icon {
    float: right;
    display: block; } }

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative; }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0; }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left; } }
