@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  color: #333;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  color: #2c3034;
  background-color: #f0f2f5;
}

/* utility */
.color-important {
  color: #dc2626;
}

.mt24 {
  margin-top: 24px;
}

.mt32 {
  margin-top: 32px;
}

.mb16 {
  margin-bottom: 16px;
}

.mb32 {
  margin-bottom: 32px;
}

.underline {
  text-decoration: underline;
}

.pointer {
  cursor: pointer;
}

/* 共通スタイル */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrapper {
  width: 100%;
}

.wrapper-main {
  padding-left: 250px;
}

.title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

a {
  cursor: pointer;
}

/* scroll */
.scroll {
  max-width: 100%;
  overflow: auto;
  cursor: pointer;
}

/* input系 */
input {
  font-size: 1.6rem;
  border: solid 1px #ccc;
  padding: 8px;
}

input::placeholder {
  color: #999;
}

textarea {
  font-size: 1.6rem;
  border: solid 1px #ccc;
  padding: 8px;
}

.select {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.select::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #535353;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  pointer-events: none;
}

select {
  font-size: 1.6rem;
  position: relative;
  min-width: 230px;
  border: solid 1px #ccc;
  padding: 8px;
  background-color: #fff;
  cursor: pointer;
}

.button {
  width: 200px;
  padding: 12px;
  background-color: #0284c7;
  color: #fff;
  text-align: center;
  border-radius: 4px;
}

.button._small {
  display: block;
  width: 120px;
  padding: 8px 12px;
}

.button._medium {
  display: block;
  width: 160px;
  padding: 12px;
}

.button._large {
  display: block;
  width: 210px;
  padding: 12px;
}

.button._danger {
  background-color: #dc2626;
}

.button:hover {
  opacity: 0.7;
}

input {
  background-color: #fff;
}

input[type="text"]._small {
  padding: 4px;
  font-size: 1.4rem;
}

input[type="text"]._large,
input[type="email"]._large,
input[type="password"]._large {
  width: 400px;
}

input[type="file"] {
  border: none;
  padding: 0;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0 4px;
  position: relative;
  cursor: pointer;
}

.checkbox::before {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  content: "";
}

.checkbox:has(:checked)::after {
  position: absolute;
  top: 3px;
  left: 7px;
  transform: rotate(45deg);
  width: 6px;
  height: 12px;
  border: solid #535353;
  border-width: 0 2px 2px 0;
  content: "";
}

.checkbox input {
  display: none;
}

.radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  margin-right: 5px;
  position: relative;
  padding: 0;
  cursor: pointer;
}

input[type="radio"]:checked {
  border-color: #535353;
}

input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #535353;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* status */
.status-light {
  color: #ecf0f1;
}

.status-primary {
  color: #2c3e50;
}

.status-secondary {
  color: #95a5a6;
}

.status-danger {
  color: #e74c3c;
}

.status-warning {
  color: #f39c12;
}

.status-info {
  color: #3498db;
}

/* siteTitle */
.siteTitle {
  padding: 60px;
  margin-bottom: 32px;
  font-weight: 200;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(220, 225, 232, 0.5), 0 1px 2px rgba(220, 225, 232, 0.5);
}

.siteTitle h1 {
  font-size: 6rem;
  font-weight: 700;
}

.siteTitle h2 {
  font-size: 1.8rem;
  margin-top: 8px;
}

/* sideMenu */
.sideMenu {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  padding: 24px 0;
  height: 100vh;
  background-color: #fff;
  box-shadow: 0.25rem 0 0.625rem #e4e7ed;
  overflow-y: auto;
  z-index: 9990;
}

.sideMenu-title {
  display: block;
  padding: 16px;
  font-size: 1.8rem;
  font-weight: 700;
}

.sideMenu ul {
  display: flex;
  flex-direction: column;
}

.sideMenu ul li {
  display: flex;
  flex-direction: column;
}

.sideMenu ul li p {
  padding: 12px 16px;
  font-weight: 700;
}

.sideMenu ul li a {
  display: block;
  padding: 12px 16px 12px 32px;
}

.sideMenu ul li a:hover {
  background-color: #f6f7f9;
}

/* login */
.login-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.login-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.login-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* menu */
.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.menu ul li {
  padding: 24px;
  width: calc(50% - 8px);
  display: flex;
  gap: 16px;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(220, 225, 232, 0.5), 0 1px 2px rgba(220, 225, 232, 0.5);
}

.menu ul li p {
  font-size: 1.8rem;
  font-weight: 700;
}

.menu ul li a {
  text-decoration: underline;
}

/* page */
.page {
  max-width: 1280px;
  padding: 32px 40px 32px;
}
.page._full {
  max-width: none;
}
.page-title {
  font-size: 2.4rem;
  margin-bottom: 32px;
}

.page-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.page-navigation {
  margin-top: 24px;
}

/* table */
.table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
  line-height: 1.4;
}

.table th {
  text-align: center;
  padding: 8px;
  background: #f6f7f9;
  border: solid 1px #666666;
}

.table td {
  padding: 12px;
  border: solid 1px #666666;
}

.table td a {
  color: #0284c7;
  text-decoration: underline;
}

.table td a:hover {
  opacity: 0.6;
}

.table._small {
  font-size: 1.4rem;
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.table._al {
  text-align: left;
}

.table._al td:nth-child(1) {
  text-align: center;
}

.table._width {
  min-width: 2000px;
}

/* table styleB */
.table._styleB {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
}

.table._styleB th {
  text-align: left;
  width: 300px;
  padding: 12px;
  background: #f6f7f9;
  border: solid 1px #666666;
}

.table._styleB td:nth-child(2) {
  text-align: left;
}
.table._styleB .table-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table._styleB .table-flex input[type="text"] {
  width: 200px;
}

.table._styleB td input[type="text"],
.table._styleB td input[type="email"] {
  width: 606px;
}
.table._styleB td input[type="text"]#address {
  width: 400px;
}

.table._styleB td textarea {
  width: 606px;
}

.table._styleB td .radio + .radio {
  margin-left: 16px;
}

/* table styleC */
.table._styleC th {
  border-right: none;
  border-left: none;
}
.table._styleC td {
  border-right: none;
  border-left: none;
}

/* table-color */
.table-danger,
.table-info,
.table-primary,
.table-secondary,
.table-success,
.table-warning {
  color: #fff;
}

.table-primary {
  background-color: #2c3e50;
}

.table-secondary {
  background-color: #95a5a6;
}

.table-light {
  background-color: #ecf0f1;
}

.table-dark {
  background-color: #7b8a8b;
}

.table-success {
  background-color: #18bc9c;
}

.table-info {
  background-color: #3498db;
}

.table-danger {
  background-color: #e74c3c;
}

.table-warning {
  background-color: #f39c12;
}

.table-active {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-disabled {
  background-color: #999999;
}
.table._hover .table-primary:hover {
  background-color: #233140;
}

.table._hover .table-secondary:hover {
  background-color: #87999a;
}

.table._hover .table-light:hover {
  background-color: #dde4e6;
}

.table._hover .table-dark:hover {
  background-color: #6f7d7e;
}

.table._hover .table-success:hover {
  background-color: #15a589;
}

.table._hover .table-info:hover {
  background-color: #258cd1;
}

.table._hover .table-danger:hover {
  background-color: #e43725;
}

.table._hover .table-warning:hover {
  background-color: #e08e0b;
}

.table._hover .table-active:hover {
  background-color: rgba(0, 0, 0, 0.075);
}
.table._hover .table-disabled:hover {
  background-color: #bbbbbb;
}

.table._hover tr:hover {
  background-color: #f5f5f5;
}

/* pgaenation */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.pagination li {
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
}

.pagination li a {
  display: block;
  border-radius: 5px;
  width: 32px;
  height: 32px;
}

.pagination li a.active {
  border-radius: 5px;
  background-color: #0284c7;
  color: #fff;
}

.pagination li a:hover:not(.active) {
  opacity: 0.6;
}

/* search */
.search {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* result */
.result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: solid 1px #ccc;
}

/* sale */
.sale {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sale-filter {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sale-search {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.sale input {
  width: 600px;
}

/* modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-bg {
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.8);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 640px;
  padding: 40px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-header {
  text-align: center;
  font-size: 1.8rem;
}

.modal-close {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.modal-btn {
  display: block;
  vertical-align: middle;
  background-color: #2c3034;
  line-height: 1;
  width: 28px;
  height: 2px;
  transform: rotate(45deg);
}

.modal-close::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: #2c3034;
  transform: rotate(-45deg);
}

/* member */
.member {
  width: 100%;
  background-color: #fff;
  padding: 32px 24px 40px;
}

.member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-kana {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.member-name {
  font-size: 2.2rem;
}

.member-check {
  width: 100%;
  border: solid 1px #ccc;
  padding: 20px;
  margin-bottom: 20px;
  margin-top: 24px;
}

.member-box {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.member-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: solid 1px #ccc;
  line-height: 1.4;
}

.member-contact {
  margin-top: 40px;
}

.contact-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.contact-head p {
  font-size: 1.8rem;
}

.contact table {
  width: 100%;
  border-collapse: collapse;
}
.contact table th,
.contact table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.contact table th {
  border-bottom: 2px solid #ccc;
}

.contact table td a {
  color: #0284c7;
  text-decoration: underline;
}

.contact table td a:hover {
  opacity: 0.6;
}

/* filtering */
.filtering {
  border: solid 1px #ccc;
  padding: 20px;
  background-color: #fff;
}

.filtering-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.filtering-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filtering-box input {
  margin-left: 4px;
}

.filtering-box input:disabled {
  background-color: #eee;
}

/* mapping */
.mapping-box {
  display: flex;
}

/* searchButton */
.searchButton {
  width: 220px;
  padding: 8px 12px;
  background-color: #0284c7;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
}
.searchButton:hover {
  opacity: 0.6;
}

/* crop */
.crop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  z-index: 9999;
}

.crop-back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 50%);
}

/* モーダルの擬似要素の指定 */
.crop:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.crop.is-active {
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.crop-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 800px;
  width: 90%;
}

/* モーダルを閉じるボタンの指定 */
.crop-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
.crop-content {
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.crop-content p {
  margin: 1em 0;
}

.crop-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.crop-button .button + .button {
  margin-left: 16px;
}

.crop-area {
  width: 100%;
  height: 500px;
  margin: 4px auto 20px;
}

/* imageUpload */
.imageUpload {
  display: none;
}
