@charset "UTF-8";

/* --- 管理者側/会員側画面 フォーム 共通CSS --- */

/* --- Bootstrap Grid ラベルカラム --- */

.col-form-label {
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

/* --- 入力要素テーブル --- */

.form-table,
.form-table-lg {
  border: 2px solid #B2D9F2;
  margin-bottom: 1.4rem;
}

.form-table th,
.form-table td,
.form-table-lg th,
.form-table-lg td {
  border-top: 2px solid #B2D9F2;
  border-bottom: 2px solid #B2D9F2;
  padding: 0.5em;
}

.form-table th,
.form-table-lg th {
  background: #6cb2eb;
}

.form-table-lg td {
  padding: 0.8em 0.4em;
}

.form-table th {
  width: 30%;
  text-align: right;
  vertical-align: middle;
}

/* --- 必須アイコン --- */

.required {
  font-size: 0.8em;
  font-weight: normal;
  display: inline-block;
  margin-left: 2px;
  padding: 0.3em 0.3em 0.2em;
  background: #FF7E00;
  border-radius: 2px;
  color: #FFF;
  white-space: nowrap !important;
}

/* --- 入力欄（テキスト、メールアドレス） --- */

input[type=text],
input[type=password],
textarea {
  background: #e9f5fb;
  border: 1px solid #7CBDE8;
  padding: 0.5em;
  margin: 0.2em 0;
  width: 100%;
}

/*入力欄にフォーカスしたら変化*/

input[type=text]:focus,
input[type=password]:focus,
textarea:focus,
textarea.form-control:focus {
  background: #FFFFCC;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  outline: none;
  transition: 0.8s;
}

/* --- form-control --- */

.form-control {
  color: inherit !important;
  border: 1px solid #7CBDE8;
  background-color: #e9f5fb;
}

/* --- プルダウンボックス --- */

select {
  font-size: 1.6rem;
  line-height: 1.15;
  padding: 5px 20px 5px 10px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid #7CBDE8;
  border-radius: 3px;
  background: #F8F8F8;
  background: #F8F8F8 url(/aymms/public/images/icon_arrow.png?dc919cc8bf944e33c94ae0bb47266a58) right 50% no-repeat;
  background-size: 20px, 100%;
  margin: 0.2em 0;
  outline: none;
  max-width: 100% !important;
}

select:focus {
  background: #E9F5FB url(/aymms/public/images/icon_arrow.png?dc919cc8bf944e33c94ae0bb47266a58) right 50% no-repeat;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

option {
  max-width: 8em;
  white-space: normal;
}

select.option-max-width-auto option {
  max-width: initial;
}

/* --- 入力欄・プルダウンボックス 共通設定 --- */

input,
select {
  vertical-align: middle;
}

/* --- ファイルセレクトボタン --- */

.file-select-group .logo-file-select-btn {
  background: #CCC;
  margin: 0;
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.file-select-group .logo-file-select-btn::after {
  content: "\9078\629E\3055\308C\3066\3044\307E\305B\3093";
  font-size: 14px;
  height: 20px;
  line-height: 20px;
  position: absolute;
  right: -140px;
  top: calc(50% - 10px);
}

.file-select-group.changed .logo-file-select-btn::after {
  content: "";
}

.file-select-group .logo-file-select-btn .file-select-icon {
  color: #666;
  font-size: 2rem;
}

/* --- ファイルセレクトボタン（会員コンテンツ用） --- */

.file-select-group-2 {
  display: flex;
  align-items: center;
  /* 垂直方向の中央揃え */
  justify-content: flex-start;
  /* 左側寄せ */
  width: 100%;
  gap: 10px;
  /* 要素間の間隔を調整 */
}

.file-select-group-2 .logo-file-select-btn-2 {
  background: #CCC;
  margin: 0;
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.file-select-group-2 .logo-file-select-btn-2::after {
  content: "";
  font-size: 14px;
  height: 20px;
  line-height: 20px;
  position: absolute;
  right: -140px;
  top: calc(50% - 10px);
}

.file-select-group-2.changed .logo-file-select-btn-2::after {
  content: "";
}

.file-select-group-2 .logo-file-select-btn-2 .file-select-icon {
  color: #666;
  font-size: 2rem;
}

/* --- チェックボックス --- */

.form-check-inline {
  /* margin-right: 2rem; */
  padding: 3px 0;
  margin: 0.2em 0.5em 0.2em 0;
}

.form-check-input {
  display: none;
}

.form-check-input + .inline-check-label i {
  display: inline-block;
  font-size: 2.4rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
  color: #7CBDE8;
}

.form-check-input + .inline-check-label:after {
  content: "\4E0D\53EF";
}

.form-check-input:checked + .inline-check-label i {
  color: #FF288C;
}

.form-check-input:checked + .inline-check-label:after {
  content: "\53EF";
}

.inline-check-label.no-content:after {
  content: "" !important;
}

/* --- チェックボックス（表示用ラベル） --- */

.checkbox-label,
.checkbox-checked-label {
  margin-bottom: 0;
}

.checkbox-label i,
.checkbox-checked-label i {
  display: inline-block;
  font-size: 2.4rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.checkbox-label i {
  color: #7CBDE8;
}

.checkbox-checked-label i {
  color: #FF288C;
}

/* --- ラジオボタン --- */

.form-radio-input {
  display: none;
}

.form-radio-label {
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-left: 20px;
  /*padding: 10px 20px;*/
  padding-left: 20px;
  border-radius: 2px;
  text-align: left;
  line-height: 1;
}

.form-radio-label::before {
  position: absolute;
  content: "";
  top: 50%;
  left: -10px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid #7CBDE8;
  border-radius: 50%;
}

.form-radio-input:checked + .form-radio-label::after {
  position: absolute;
  content: "";
  top: 50%;
  left: -6px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #FF288C;
}

/* --- 区切り線（実線） --- */

.hr-solid {
  border-top: 1px solid #BBB;
  border-bottom: 1px solid #FFF;
}

/* --- 区切り線（破線） --- */

.hr-dashed {
  border-top: 1px dashed #BBB;
}

/* --- バリデーションエラー --- */

.validation-error {
  background-color: #FF0808;
  color: #FFFFFF;
  font-weight: bold;
  padding: 0.3rem;
  margin-bottom: 0.2rem;
}

.validation-error::before {
  content: "\25BC";
  background-color: #FF0808;
  color: #FFFFFF;
  font-weight: bold;
  padding: 0.3rem 0 0.3rem 0.3rem;
  margin-right: 0.8rem;
}

/* --- マスタ設定：会費入力欄用 --- */

input.typekbns_fee {
  width: 80px;
}

@media (max-width: 768px) {
  .form-table-blc td,
  .form-table-blc th {
    width: 100%;
    display: block;
    text-align: left;
    border-right: none;
    border-left: none;
    border-bottom: none;
  }

  .form-table-blc th:first-of-type {
    border-top: none;
  }
}

/* --- 年会費納入納入状況 --- */

.receipt-button {
  max-width: 100%;
  overflow-wrap: break-word;
  display: inline-block;
  text-align: center;
  border: 1px solid #8AA65C;
  text-decoration: none;
  line-height: 1.1em;
  font-weight: normal;
  color: #FFFFFF;
  background-color: #73B10E;
  box-shadow: inset 0 0 1px 1px #95e512, 0 0 1px 3px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 5px 15px;
  margin: 5px auto;
}

.receipt-button:hover {
  color: #FFFFFF;
  background-color: #7cbf0f;
  box-shadow: inset 0 0 1px 1px #9eed1e, 0 0 1px 3px rgba(0, 0, 0, 0.15);
}

.receipt-button:active {
  color: #FFFFFF;
  background-color: #6aa30d;
}

.receipt-button:disabled {
  color: #FFFFFF;
  background-color: lightgrey;
  box-shadow: inset 0 0 1px 1px grey, 0 0 1px 3px rgba(0, 0, 0, 0.15);
  opacity: 0.8;
}

.invoice-button {
  max-width: 100%;
  overflow-wrap: break-word;
  display: inline-block;
  text-align: center;
  border: 1px solid #CB809F;
  text-decoration: none;
  line-height: 1.1em;
  font-weight: normal;
  color: #FFFFFF;
  background-color: #FF69A8;
  box-shadow: inset 0 0 1px 1px #ffabce, 0 0 1px 3px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 5px 15px;
  margin: 5px auto;
}

.invoice-button:hover {
  color: #FFFFFF;
  background-color: #ff78b1;
  border-color: #CB84A2;
  box-shadow: inset 0 0 1px 1px #ffbfda, 0 0 1px 3px rgba(0, 0, 0, 0.15);
}

.invoice-button:active {
  color: #FFFFFF;
  background-color: #ff5a9f;
}

.nyukin_header > th {
  overflow-wrap: break-word;
}

/* 投票受付：資料アップロード用のスタイル */

/* --- ファイルセレクトボタン --- */

.file-select-group-vote .logo-file-select-btn-vote {
  background: #CCC;
  margin: 0;
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.file-select-group-vote .logo-file-select-btn-vote::after {
  content: "";
  font-size: 14px;
  height: 20px;
  line-height: 20px;
  position: absolute;
  right: -140px;
  top: calc(50% - 10px);
}

.file-select-group-vote.changed .logo-file-select-btn-vote::after {
  content: "";
}

.file-select-group-vote .logo-file-select-btn-vote .file-select-icon-vote {
  color: #666;
  font-size: 2rem;
}

.dropzone {
  height: 20rem;
  border: 2px dashed #ccc;
}

.file-select-icon-vote {
  color: #666;
  font-size: 2rem;
}

/* .file-btn {
  height: 6rem;
  background-color: #E5ECF8;
  border: 1px solid #E5ECF8;
  margin-top: 1rem;
}

.file-btn .deleteFileBtn {
  background: #0e6eb8;
  position: absolute;
  right : 6rem;
  margin-top: 0.8rem;
}

.file-btn .file-text {
  color: #0e6eb8;
  position: absolute;
  left : 8rem;
  margin-top: 2.0rem;
}

.deleteFileBtn {
  color: #E5ECF8;
  padding: 8px 15px;
  border-radius: 5px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1.6rem;
} */

.file-wrapper {
  display: flex;
  align-items: center;
  height: 6rem;
  padding: 0 4rem;
  /* 左右4remの余白 */
  background-color: #E5ECF8;
  border: 1px solid #E5ECF8;
  margin-top: 1rem;
}

.vote-sort-no {
  /* 必要に応じて幅を調整 */
  /* 例: width: 10rem; */
  width: 6rem !important;
  text-align: center;
}

.file-text {
  margin-left: 2rem;
  /* テキストボックスから2rem離す */
}

.deleteFileBtn {
  margin-left: auto;
  /* 右端に寄せる */
  /* 必要に応じて他のスタイル（背景色、パディングなど）を設定 */
  background: #0e6eb8;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.file-upload-title {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  padding-left: 1.2rem;
}

.file-text-none {
  color: #CE006C;
  font-weight: bold;
  margin-top: 1.8rem;
  height: 5.2rem;
}

/* --- CSS利用可ラベル --- */

.css-available {
  font-size: 0.8em;
  font-weight: normal;
  display: inline-block;
  margin-top: 0.4em;
  padding: 0.3em 0.7em;
  background: #663399;
  color: #fff;
  white-space: nowrap !important;
  border-radius: 4px;
}

