.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;
}
.pharmacy-directory {
  font-size: 0.9rem;
}

.pharmacy-directory__header {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pharmacy-directory__header p {
  color: #555;
  margin: 0;
}

.pharmacy-directory__table {
  min-width: 1100px;
}

.pharmacy-directory__search {
  align-items: end;
  background: #fff;
  border: 1px solid #d7dee7;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(18rem, 1fr) auto auto;
  margin-bottom: 1.2rem;
  padding: 1rem;
}

.pharmacy-directory__search-field label {
  color: #444;
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.pharmacy-directory__checkbox {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  white-space: nowrap;
}

.pharmacy-directory__checkbox input {
  height: 1.1rem;
  width: 1.1rem;
}

.pharmacy-directory__search-actions {
  display: flex;
  gap: 0.5rem;
}

.pharmacy-directory__result-count {
  color: #444;
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.pharmacy-directory__intro {
  background: #f7f9fb;
  border-left: 0.3rem solid #0b5ed7;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
}

.pharmacy-directory__intro p {
  margin: 0;
}

.pharmacy-directory__intro p + p {
  margin-top: 0.6rem;
}

.pharmacy-directory__notice {
  color: #5f3b00;
  font-weight: 700;
}

.pharmacy-directory__table th {
  white-space: nowrap;
}

.pharmacy-directory__name {
  font-weight: 700;
  min-width: 13rem;
}

.pharmacy-directory__name a {
  color: #0b5ed7;
  text-decoration: none;
}

.pharmacy-directory__name a:hover {
  text-decoration: underline;
}

.pharmacy-directory__phone {
  white-space: nowrap;
}

.pharmacy-directory--detail {
  max-width: 1100px;
}

.pharmacy-directory__section {
  margin-bottom: 2rem;
}

.pharmacy-directory__section h4 {
  border-left: 0.3rem solid #0b5ed7;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding-left: 0.6rem;
}

.pharmacy-directory__detail-table th {
  background: #f7f9fb;
  min-width: 16rem;
  width: 32%;
}

.pharmacy-directory__hours {
  display: grid;
  gap: 0.2rem 0.75rem;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  margin: 0;
}

.pharmacy-directory__hours div {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 3.2rem 1fr;
}

.pharmacy-directory__hours dt,
.pharmacy-directory__hours dd {
  margin: 0;
}

.pharmacy-directory__hours dt {
  color: #555;
  font-weight: 700;
}

@media screen and (max-width: 900px) {
  .pharmacy-directory__search {
    grid-template-columns: 1fr;
  }

  .pharmacy-directory__checkbox {
    white-space: normal;
  }
}
.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.
 *


 */
.pharmacy-directory {
  font-size: 0.9rem; }

.pharmacy-directory__header {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem; }

.pharmacy-directory__header p {
  color: #555;
  margin: 0; }

.pharmacy-directory__table {
  min-width: 1100px; }

.pharmacy-directory__search {
  align-items: end;
  background: #fff;
  border: 1px solid #d7dee7;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(18rem, 1fr) auto auto;
  margin-bottom: 1.2rem;
  padding: 1rem; }

.pharmacy-directory__search-field label {
  color: #444;
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem; }

.pharmacy-directory__checkbox {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  white-space: nowrap; }

.pharmacy-directory__checkbox input {
  height: 1.1rem;
  width: 1.1rem; }

.pharmacy-directory__search-actions {
  display: flex;
  gap: 0.5rem; }

.pharmacy-directory__result-count {
  color: #444;
  font-weight: 700;
  margin: 0 0 0.8rem; }

.pharmacy-directory__intro {
  background: #f7f9fb;
  border-left: 0.3rem solid #0b5ed7;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem; }

.pharmacy-directory__intro p {
  margin: 0; }

.pharmacy-directory__intro p + p {
  margin-top: 0.6rem; }

.pharmacy-directory__notice {
  color: #5f3b00;
  font-weight: 700; }

.pharmacy-directory__table th {
  white-space: nowrap; }

.pharmacy-directory__name {
  font-weight: 700;
  min-width: 13rem; }

.pharmacy-directory__name a {
  color: #0b5ed7;
  text-decoration: none; }

.pharmacy-directory__name a:hover {
  text-decoration: underline; }

.pharmacy-directory__phone {
  white-space: nowrap; }

.pharmacy-directory--detail {
  max-width: 1100px; }

.pharmacy-directory__section {
  margin-bottom: 2rem; }

.pharmacy-directory__section h4 {
  border-left: 0.3rem solid #0b5ed7;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding-left: 0.6rem; }

.pharmacy-directory__detail-table th {
  background: #f7f9fb;
  min-width: 16rem;
  width: 32%; }

.pharmacy-directory__hours {
  display: grid;
  gap: 0.2rem 0.75rem;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  margin: 0; }

.pharmacy-directory__hours div {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 3.2rem 1fr; }

.pharmacy-directory__hours dt,
.pharmacy-directory__hours dd {
  margin: 0; }

.pharmacy-directory__hours dt {
  color: #555;
  font-weight: 700; }

@media screen and (max-width: 900px) {
  .pharmacy-directory__search {
    grid-template-columns: 1fr; }
  .pharmacy-directory__checkbox {
    white-space: normal; } }

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; } }
