@charset "UTF-8";
/* ======================================================
	言語切り替えアラートモーダル
====================================================== */

/* モーダル非表示時 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

/* モーダル表示時 */
.modal.is-open {
  display: block;
}

/* 背景オーバーレイ */
.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* モーダルコンテンツ */
.modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  z-index: 10001;
  border: 1px solid #ccc;
}

/* ヘッダー */
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

/* タイトル */
.modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* 閉じるボタン */
.modal__close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal__close:hover {
  color: #333;
}

.modal__close:focus {
  outline: 2px solid #004190;
  outline-offset: 2px;
  border-radius: 4px;
}

/* テキスト */
.modal__text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* チェックボックスエリア */
.modal__checkbox {
  margin-bottom: 24px;
}

.modal__checkbox label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.modal__checkbox input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

.modal__checkbox span {
  font-size: 14px;
  color: #666;
}

/* ボタンエリア */
.modal__actions {
  text-align: center;
}

.modal__button {
  background: #004190;
  color: #fff;
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  cursor: pointer;
}

.modal__button:hover {
  background: #003070;
}

.modal__button:focus {
  outline: 2px solid #004190;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .modal__content {
    padding: 30px 20px;
    max-width: 90%;
  }

  .modal__text {
    font-size: 14px;
  }

  .modal__button {
    padding: 10px 30px;
    font-size: 14px;
  }
}
