/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 27 2026 | 10:11:06 */
/* =========================================================
   クロネコWebコレクト：カード情報ダイアログ専用デザイン
   SWELLのtable/input/buttonデザイン崩れ対策
========================================================= */

/* ダイアログ全体 */
#kuroneko_web-dialog.ui-dialog {
  box-sizing: border-box;
  width: 420px !important;
  max-width: calc(100vw - 24px);
  height: auto !important;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  z-index: 99999;
}

/* タイトルバー */
#kuroneko_web-dialog .ui-dialog-titlebar {
  position: relative;
  box-sizing: border-box;
  display: block;
  min-height: 44px;
  padding: 10px 48px 10px 14px;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 8px 8px 0 0;
  background: #f7f7f7;
  color: #333;
  font-weight: 700;
}

/* タイトル */
#kuroneko_web-dialog .ui-dialog-title {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

/* 閉じるボタン */
#kuroneko_web-dialog .ui-dialog-titlebar-close {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  left: auto !important;
  transform: translateY(-50%);
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* jQuery UI側のアイコンが残る場合の対策 */
#kuroneko_web-dialog .ui-dialog-titlebar-close .ui-icon {
  display: none;
}

/* ×マーク */
#kuroneko_web-dialog .ui-dialog-titlebar-close::before {
  content: "×";
  display: block;
  width: 28px;
  height: 28px;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  color: #666;
  text-align: center;
}

/* 閉じるボタン hover */
#kuroneko_web-dialog .ui-dialog-titlebar-close:hover {
  background: #e9e9e9;
}

/* コンテンツエリア */
#kuroneko_web-token-dialog.ui-dialog-content {
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 120px);
  padding: 18px;
  overflow-y: auto;
  background: #fff;
}

/* フォーム全体 */
#kuroneko_web-token-form {
  box-sizing: border-box;
  width: 100%;
}

/* テーブルリセット */
#kuroneko_web-dialog table#kuroneko_web,
#kuroneko_web-dialog table#kuroneko_web tbody,
#kuroneko_web-dialog table#kuroneko_web tr,
#kuroneko_web-dialog table#kuroneko_web th,
#kuroneko_web-dialog table#kuroneko_web td {
  box-sizing: border-box;
  border: none;
  background: transparent;
}

/* テーブル */
#kuroneko_web-dialog table#kuroneko_web {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 12px;
}

/* 行 */
#kuroneko_web-dialog table#kuroneko_web tr {
  display: block;
}

/* 見出しセル */
#kuroneko_web-dialog table#kuroneko_web th {
  display: block;
  width: 100%;
  padding: 0 0 5px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  white-space: normal;
}

/* 入力セル */
#kuroneko_web-dialog table#kuroneko_web td {
  display: block;
  width: 100%;
  padding: 0;
  font-size: 14px;
  color: #333;
}

/* input / select 共通 */
#kuroneko_web-dialog input[type="text"],
#kuroneko_web-dialog input[type="tel"],
#kuroneko_web-dialog select {
  box-sizing: border-box;
  max-width: 100%;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
  appearance: auto;
  -webkit-appearance: auto;
}

/* 入力欄の幅 */
#kuroneko_web-dialog #kuroneko_web_cardno,
#kuroneko_web-dialog #kuroneko_web_cardowner {
  width: 100%;
}

#kuroneko_web-dialog #kuroneko_web_seccd {
  width: 140px;
}

/* 有効期限セレクト */
#kuroneko_web-dialog #kuroneko_web_expmm,
#kuroneko_web-dialog #kuroneko_web_expyy {
  width: auto;
  min-width: 90px;
  margin-right: 4px;
}

/* フォーカス時 */
#kuroneko_web-dialog input[type="text"]:focus,
#kuroneko_web-dialog input[type="tel"]:focus,
#kuroneko_web-dialog select:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

/* 注意文 */
#kuroneko_web-dialog .attention {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #d33;
}

/* ボタンエリア */
#kuroneko_web-dialog .settlement_form_send,
#kuroneko_web-dialog .send {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  text-align: center;
}

/* ボタン共通 */
#kuroneko_web-dialog input[type="button"] {
  box-sizing: border-box;
  min-width: 120px;
  height: 44px;
  margin: 0;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 44px;
  cursor: pointer;
  box-shadow: none;
  transition: opacity 0.2s ease;
}

/* キャンセル */
#kuroneko_web-dialog #kuroneko_web_token_cancel {
  border: 1px solid #bbb;
  background: #fff;
  color: #333;
}

/* 次へ */
#kuroneko_web-dialog #kuroneko_web_token_next {
  border: 1px solid #222;
  background: #222;
  color: #fff;
}

/* ホバー */
#kuroneko_web-dialog input[type="button"]:hover {
  opacity: 0.82;
}

/* jQuery UIのリサイズハンドルが邪魔な場合 */
#kuroneko_web-dialog .ui-resizable-handle {
  display: none;
}

/* スマホ対応 */
/* スマホ対応：全画面表示 */
@media screen and (max-width: 480px) {
  #kuroneko_web-dialog.ui-dialog {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    border-left: none;
    border-right: none;
    transform: none !important;
  }

  #kuroneko_web-dialog .ui-dialog-titlebar {
    border-radius: 0;
  }

  #kuroneko_web-token-dialog.ui-dialog-content {
    width: 100% !important;
    height: calc(100vh - 44px) !important;
    max-height: calc(100vh - 44px) !important;
    padding: 16px;
    overflow-y: auto;
  }

  #kuroneko_web-dialog .settlement_form_send,
  #kuroneko_web-dialog .send {
    flex-direction: column-reverse;
    gap: 10px;
  }

  #kuroneko_web-dialog input[type="button"] {
    width: 100%;
  }

  #kuroneko_web-dialog #kuroneko_web_seccd {
    width: 100%;
  }
}