body {  
    background: #fafafa;  
    color: #333333;  
    margin-top: 5rem;  
  }  
    
  h1, h2, h3, h4, h5, h6 {  
    color: #444444;  
  }  
    
  .bg-steel {  
    background-color: #5f788a; 
  }  
    
  .site-header .navbar-nav .nav-link {  
    color: #cbd5db;
  }  
    
  .site-header .navbar-nav .nav-link:hover {  
    color: #ffffff;  
  }  
    
  .site-header .navbar-nav .nav-link.active {  
    font-weight: 500;  
  }  

  .content-section {  
    background: #ffffff;  
    padding: 10px 20px;  
    border: 1px solid #dddddd;  
    border-radius: 3px;  
    margin-bottom: 20px;
  }  
    
  .article-title {  
    color: #444444;  
  }  
    
  a.article-title:hover {  
    color: #428bca;  
    text-decoration: none;  
  }  
    
  .article-content {  
    white-space: pre-line;  
  }  
    
  .article-img {  
    height: 65px;  
    width: 65px;  
    margin-right: 16px;  
  }  

    .member-edit-card {
      align-items: flex-start;
    }

    .member-status-column {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 0 0 90px;
    }

    .member-status-column .article-img {
      margin-right: 0;
      margin-bottom: 8px;
    }

    .member-status-badges {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      width: 100%;
    }

    .member-status-badges .badge {
      white-space: nowrap;
    }

  .member-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    background: #f3f5f7;
  }

  .member-card .card-body {
    padding: 0.75rem;
  }

  .profile-cropper-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
  }

  .profile-cropper-canvas {
    flex: 1 1 260px;
    min-height: 240px;
    max-width: 360px;
    border: 1px solid #d8dee5;
    border-radius: 8px;
    background: #f7f9fb;
    overflow: hidden;
  }

  .profile-cropper-canvas img {
    display: block;
    max-width: 100%;
  }

  .profile-cropper-side {
    flex: 0 0 150px;
  }

  .profile-cropper-preview {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid #d8dee5;
    overflow: hidden;
    background: #f2f4f6;
  }

  .profile-cropper-panel .cropper-view-box,
  .profile-cropper-panel .cropper-face {
    border-radius: 50%;
  }

  .profile-cropper-panel .cropper-view-box {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 0;
  }
    
  .article-metadata {  
    padding-bottom: 1px;  
    margin-bottom: 4px;  
    border-bottom: 1px solid #e3e3e3  
  }  
    
  .article-metadata a:hover {  
    color: #333;  
    text-decoration: none;  
  }  
    
  .article-svg {  
    width: 25px;  
    height: 25px;  
    vertical-align: middle;  
  }  
    
  .account-img {  
    height: 125px;  
    width: 125px;  
    margin-right: 20px;  
    margin-bottom: 16px;  
  }  
    
  .account-heading {  
    font-size: 2.5rem;  
  }



/*こっから下追加*/

dt {
    width: 10em;
}

dd {
    margin-top:-1.6em ;
    padding-left: 10em;
}

.member-filter-form {
  display: grid;
  gap: 6px;
}

.member-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  margin-bottom: 4px;
}

.member-filter-label {
  min-width: 96px;
  margin-top: 4px;
  color: #5b6672;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.member-filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #b7cfe6;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  color: #2f6f9f;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease-in-out;
}

.filter-chip:hover {
  border-color: #5da2d7;
  box-shadow: 0 2px 6px rgba(43, 120, 189, 0.16);
}

.filter-chip.is-active {
  border-color: #0f69b5;
  background: linear-gradient(180deg, #1b83d9 0%, #0f69b5 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 105, 181, 0.24);
}

.filter-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.single-mode-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 2px;
}

.single-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  color: #5b6672;
  cursor: pointer;
  user-select: none;
}

.single-mode-switch input {
  margin: 0;
}

.single-mode-hint {
  margin: 0;
  color: #8a94a1;
  font-size: 0.74rem;
}

.schedule-target-summary {
  white-space: pre-line;
}

.schedule-target-line {
  display: flex;
  align-items: flex-start;
}

.schedule-target-line-label {
  flex: 0 0 auto;
  margin-right: 0.2rem;
  white-space: nowrap;
}

.schedule-target-line .schedule-target-summary {
  flex: 1 1 auto;
  min-width: 0;
}

.account-status-media {
  align-items: center;
}

.account-detail-list {
  margin-bottom: 0;
}

.account-detail-list dt,
.account-detail-list dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.account-status-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.account-status-actions .btn {
  max-width: 100%;
  white-space: normal;
}

.ym-filter-form {
  gap: 0.5rem;
}

.ym-filter-select {
  max-width: 230px;
  flex: 0 1 230px;
}

.ym-filter-clear-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.schedule-form .form-control,
.schedule-form .custom-select,
.schedule-form input[type="date"],
.schedule-form input[type="time"],
.schedule-form select,
.schedule-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.schedule-form {
  max-width: 100%;
  overflow-x: visible;
}

.schedule-form .form-group {
  max-width: 100%;
  min-width: 0;
}

.schedule-form .btn-group-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.schedule-form .btn-group-toggle .btn {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  max-width: 100%;
}

.schedule-form .schedule-toggle-btn.active.btn-outline-primary,
.schedule-form .schedule-toggle-btn.active.btn-outline-primary:hover,
.schedule-form .schedule-toggle-btn.active.btn-outline-primary:focus,
.schedule-form .schedule-toggle-btn.active.btn-outline-primary:active {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.schedule-form .schedule-toggle-btn.active.btn-outline-secondary,
.schedule-form .schedule-toggle-btn.active.btn-outline-secondary:hover,
.schedule-form .schedule-toggle-btn.active.btn-outline-secondary:focus,
.schedule-form .schedule-toggle-btn.active.btn-outline-secondary:active {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

@media (hover: none) {
  .schedule-form .schedule-toggle-btn.btn-outline-primary:not(.active):hover,
  .schedule-form .schedule-toggle-btn.btn-outline-primary:not(.active):focus,
  .schedule-form .schedule-toggle-btn.btn-outline-primary:not(.active):active {
    color: #007bff;
    background-color: #fff;
    border-color: #007bff;
    box-shadow: none;
  }

  .schedule-form .schedule-toggle-btn.btn-outline-secondary:not(.active):hover,
  .schedule-form .schedule-toggle-btn.btn-outline-secondary:not(.active):focus,
  .schedule-form .schedule-toggle-btn.btn-outline-secondary:not(.active):active {
    color: #6c757d;
    background-color: #fff;
    border-color: #6c757d;
    box-shadow: none;
  }
}

.schedule-form .form-control-label {
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.schedule-form .schedule-control {
  height: 2.15rem;
  padding: 0 0.6rem;
  font-size: 1rem;
  line-height: 2.15rem;
}

.schedule-form legend {
  margin-bottom: 1rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #2f3f52;
}

.schedule-form .form-group {
  margin-bottom: 0.95rem;
}

.schedule-form .schedule-toggle-btn {
  border-radius: 999px;
  font-weight: 600;
  min-width: 96px;
  padding: 0.34rem 0.9rem;
}

.schedule-form .schedule-toggle-btn.active {
  box-shadow: 0 4px 14px rgba(38, 119, 186, 0.28);
}

.schedule-target-builder {
  border: 1px solid #dbe6f1;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9fd 100%);
  padding: 0.8rem;
}

.schedule-target-selector {
  border: 1px solid #d8e3ef;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.65rem;
}

.schedule-target-selector-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #607389;
  margin-bottom: 0.32rem;
}

.schedule-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.schedule-chip-grid-tight {
  gap: 0.38rem;
}

.schedule-chip {
  display: inline-block;
  position: relative;
  margin: 0;
}

.schedule-chip-input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.schedule-chip-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.76rem;
  border-radius: 999px;
  border: 1px solid #c3d2e2;
  background: #ffffff;
  color: #2f4f6a;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.12;
  transition: all 0.14s ease;
}

.schedule-chip-input:hover + .schedule-chip-text {
  border-color: #5d9ad1;
  box-shadow: 0 2px 8px rgba(46, 129, 199, 0.16);
}

.schedule-chip-input:focus + .schedule-chip-text {
  box-shadow: 0 0 0 3px rgba(40, 132, 211, 0.18);
  border-color: #2f88d8;
}

.schedule-chip-input:checked + .schedule-chip-text {
  border-color: #0f69b5;
  background: linear-gradient(180deg, #1d84d7 0%, #0f69b5 100%);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(15, 105, 181, 0.25);
}

.schedule-chip.schedule-chip-grade .schedule-chip-text {
  background: #fffdf8;
  border-color: #e7d8b5;
  color: #7a6230;
}

.schedule-chip.schedule-chip-grade .schedule-chip-input:checked + .schedule-chip-text {
  border-color: #c48f21;
  background: linear-gradient(180deg, #e0ad45 0%, #c48f21 100%);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(174, 119, 14, 0.25);
}

.schedule-chip.schedule-chip-gender .schedule-chip-text {
  min-width: 72px;
}

.schedule-rule-panel {
  border-color: #d7e4f0;
  border-radius: 10px;
  overflow: hidden;
}

.schedule-rule-panel-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #2f4d67;
  margin-bottom: 0.56rem;
}

.schedule-rule-step {
  padding: 0.46rem 0.5rem;
  border-radius: 8px;
  background: #f8fbff;
}

.schedule-rule-step-title {
  font-size: 0.79rem;
  font-weight: 700;
  color: #5f7388;
  margin-bottom: 0.33rem;
}

.schedule-form select.schedule-control {
  padding-top: 0;
  padding-bottom: 0;
}

.schedule-form textarea.schedule-control {
  height: auto;
  min-height: 2.15rem;
  line-height: 1.35;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.schedule-form input[type="date"].schedule-control,
.schedule-form input[type="time"].schedule-control {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 2.15rem;
}

.schedule-form input[type="date"]::-webkit-date-and-time-value,
.schedule-form input[type="time"]::-webkit-date-and-time-value,
.schedule-form input[type="date"]::-webkit-datetime-edit,
.schedule-form input[type="time"]::-webkit-datetime-edit {
  line-height: 2.15rem;
  padding-top: 0;
  padding-bottom: 0;
}

.schedule-time-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.schedule-time-wrap {
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.schedule-time-col {
  flex: 0 0 calc((100% - 8px) / 2) !important;
  max-width: calc((100% - 8px) / 2) !important;
  min-width: 0;
  margin-bottom: 0;
  box-sizing: border-box;
}

.schedule-time-col {
  padding-left: 0;
  padding-right: 0;
}

.home-quick-nav-section {
  border-color: #d5e4f1;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.home-quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.home-quick-nav-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.34rem;
  position: relative;
  padding: 0.62rem 0.5rem 0.52rem;
  min-height: 5.1rem;
  border: 1px solid #bfd4e7;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  color: #2f4f6a;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

.home-quick-nav-link::after {
  content: none;
}

.home-quick-nav-icon {
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  background: linear-gradient(180deg, #4f9dd8 0%, #1f6fab 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(52, 122, 183, 0.2), 0 4px 12px rgba(31, 111, 171, 0.28);
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.home-quick-nav-icon .bi {
  font-size: 1.12rem;
  line-height: 1;
}

.home-quick-nav-label {
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #5d7185;
  line-height: 1.2;
  text-align: center;
}

.home-quick-nav-link:hover {
  color: #0f69b5;
  border-color: #5d9ad1;
  background: linear-gradient(180deg, #f3f9ff 0%, #e6f1fb 100%);
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(24, 119, 193, 0.14);
  transform: translateY(-1px);
}

.home-quick-nav-link:hover::after {
  border-color: inherit;
}

.home-quick-nav-link:hover .home-quick-nav-icon {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 0 0 1px rgba(52, 122, 183, 0.32), 0 7px 16px rgba(31, 111, 171, 0.32);
}

.home-quick-nav-link:hover .home-quick-nav-label {
  color: #355976;
}

@media (min-width: 1200px) {
  .site-header .navbar > .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header .navbar-nav .nav-link {
    white-space: nowrap;
  }
}

@media (max-width: 991.98px) {
  .account-section {
    margin-top: 1.25rem;
  }

  .schedule-form .btn-group-toggle .btn {
    white-space: normal;
  }

  .schedule-chip-text {
    font-size: 0.83rem;
    padding-left: 0.68rem;
    padding-right: 0.68rem;
  }
}

@media (max-width: 576px) {
  .member-filter-label {
    min-width: auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: 1px;
  }

  .account-status-media {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .account-status-media .account-img {
    margin-right: 0;
  }

  .account-status-media .media-body {
    width: 100%;
  }

  .account-status-media .h4 {
    margin-top: 0.5rem !important;
  }

  .account-detail-list dt {
    width: auto;
    margin-bottom: 0.15rem;
  }

  .account-detail-list dd {
    margin-top: 0;
    margin-bottom: 0.85rem;
    padding-left: 0;
  }

  .account-status-actions {
    justify-content: stretch;
  }

  .account-status-actions .btn {
    width: 100%;
  }

  .ym-filter-select {
    max-width: 200px;
    flex-basis: 200px;
  }

  .profile-cropper-canvas {
    max-width: 100%;
    min-height: 210px;
  }

  .profile-cropper-side {
    flex-basis: 100%;
  }

  .profile-cropper-preview {
    margin-left: 0;
  }

  .home-quick-nav-section {
    padding: 8px 10px;
  }

  .home-quick-nav-header {
    margin-bottom: 6px !important;
  }

  .home-quick-nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .home-quick-nav-link {
    min-height: 4.2rem;
    gap: 0.22rem;
    padding: 0.42rem 0.35rem 0.35rem;
    border-radius: 8px;
    font-size: 0.75rem;
    line-height: 1.1;
    text-align: center;
  }

  .home-quick-nav-link::after {
    content: none;
  }

  .home-quick-nav-icon {
    flex-basis: 1.58rem;
    width: 1.58rem;
    height: 1.58rem;
    box-shadow: none;
  }

  .home-quick-nav-icon .bi {
    font-size: 0.82rem;
  }

  .home-quick-nav-label {
    font-size: 0.68rem;
    line-height: 1.14;
  }

}