@charset "UTF-8";

/* 青ボタン（角丸版） */
.st-Btn5-curve {
  background-color: #085ba6;
  position: relative;
  border-radius: 14px;
  width: 100% !important;
  white-space: normal !important;
  word-wrap: break-word;
  margin: 24px 0 24px 0;
}

/* 青ボタン（角丸版）- 非活性時 */
.st-Btn5.st-Btn5-curve:disabled {
  background-color: #94a3b8;
  border-color: #94a3b8;
}

/* 白ボタン（青枠・角丸） */
.st-Btn2-curve {
  border: 2px solid #000099;
  padding: 16px;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  width: 100% !important;
  white-space: normal !important;
  word-wrap: break-word;
  margin: 24px 0 24px 0;
}

/* 白ボタン（青枠・角丸）- ホバー時 */
.st-Btn2-curve:hover {
  background-color: #f6f6f6;
}

/* 画像付き白ボタン（青枠・角丸版）
   ベース: st-Btn2-curve を画像付き用にカスタマイズ */
.st-Btn2-arrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 12px;
  min-height: 56px;
}

/* 2行テキスト用スタイル
   st-Btn2-arrow 内で使用 */
.st-Btn2-text {
  display: flex;
  flex-direction: column;
}

/* st-Btn2-arrow 内のメインタイトル*/
.st-Btn2-title {
  color: #000099;
  line-height: 1.5;
}

/* st-Btn2-arrow 内のサブタイトル*/
.st-Btn2-subtitle {
  color: #666666;
  line-height: 1.5;
}

/* アイコン部分（固定幅） */
.st-Btn2-arrow > img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* st-Btn2-arrowとの組み合わせ時は必ずflexレイアウト */
.st-Btn2.st-Btn2-curve.st-Btn2-arrow,
.st-Btn2.st-Btn2-gray.st-Btn2-arrow {
  display: flex;
  padding: 16px 12px;
}

/* グレーボタン（角丸版）
   ベース: st-Btn2（style.css）をグレー枠にカスタマイズ*/
.st-Btn2-gray {
  border-color: #666666;
  color: #666666;
  position: relative;
  border-radius: 14px;
  width: 100% !important;
  white-space: normal !important;
  word-wrap: break-word;
  margin: 24px 0 24px 0;
}

/* グレーボタン内のテキスト */
.st-Btn2-gray .st-Btn2-title {
  color: #666666;
}

/*********************************************************
  Youid Title Component
  memo: ゆうID用タイトルコンポーネント
*********************************************************/

/* タイトルグループ全体 */
.youidComp-h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0;
}

/* アイコン部分（固定幅） */
.youidComp-h1__icon {
  flex-shrink: 0;
  width: 54px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youidComp-h1__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* テキストグループ */
.youidComp-h1__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

/* メインタイトル */
.youidComp-h1__main {
  color: #000099;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0.0703px;
  font-weight: 500;
}

/* サブタイトル */
.youidComp-h1__sub {
  color: #666666;
  font-size: 16px;
  margin-top: 4px;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
}

/* モバイル対応 */
@media screen and (max-width: 767px) {
  .youidComp-h1 {
    margin: 0 0 24px 0;
  }

  .youidComp-h1__main {
    font-size: 24px;
  }

  .youidComp-h1__sub {
    font-size: 14px;
  }
}

.youidComp-pageComp-h1 {
  color: #000099;
  text-align: center;
  margin-bottom: 8px;
}

/*********************************************************
  Checkbox
  構造: .st-CheckModern > input[type="checkbox"] + label
  - input要素は非表示（視覚的には::before/::afterで表現）
  - ::before = チェックボックスの枠
  - ::after = チェックマーク
*********************************************************/

/* コンテナ */
.st-CheckModern {
  display: flex;
  align-items: center;
  position: relative;
}

/* input要素（非表示） */
.st-CheckModern__input {
  position: absolute;
  opacity: 0;
}

/* ラベルテキスト */
.st-CheckModern__label {
  position: relative;
  padding-left: 32px;
  cursor: default;
  user-select: none;
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.3125px;
  font-weight: 400;
  display: inline-block;
}

/* チェックボックスの枠（::before） */
.st-CheckModern__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #085ba6;
  border-radius: 3px;
  background-color: #ffffff;
}

/* チェックマーク（::after）*/
.st-CheckModern__label::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg) scale(0);
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transition: all 0.2s ease;
  opacity: 0;
}

/* --- 状態: ホバー（未チェック・有効時のみ） --- */
.st-CheckModern__input:not(:disabled):not(:checked)
  + .st-CheckModern__label:hover::before {
  border-color: #085ba6;
  background-color: rgba(8, 91, 166, 0.05);
}

/* --- 状態: チェック済み --- */
.st-CheckModern__input:checked + .st-CheckModern__label::before {
  background-color: #085ba6;
  border-color: #085ba6;
  box-shadow: 0 2px 4px rgba(8, 91, 166, 0.3);
}

/* チェックマークを表示 */
.st-CheckModern__input:checked + .st-CheckModern__label::after {
  transform: translateY(-50%) rotate(45deg) scale(1);
  opacity: 1;
}

/* --- 状態: フォーカス --- */
.st-CheckModern__input:focus + .st-CheckModern__label::before {
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 91, 166, 0.2);
}

/* --- 状態: 無効 --- */
.st-CheckModern__input:disabled + .st-CheckModern__label {
  cursor: default;
  color: #aaaaaa;
}

.st-CheckModern__input:disabled + .st-CheckModern__label::before {
  background-color: #f5f5f5;
  border-color: #dddddd;
  cursor: default;
  box-shadow: none;
}

.st-CheckModern__input:disabled:checked + .st-CheckModern__label::before {
  background-color: #cccccc;
  border-color: #cccccc;
}

/*********************************************************
  Checkbox Bordered
  枠線付きのチェックボックス
*********************************************************/

.st-CheckModern--bordered {
  position: relative;
  border: 1px solid #aaaaaa;
  border-radius: 14px;
  background-color: #ffffff;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.st-CheckModern--bordered:hover {
  border-color: #999999;
}

.st-CheckModern--bordered .st-CheckModern {
  margin: 0;
}

/*********************************************************
  Panel
*********************************************************/

/* 基本パネルスタイル（共通） */
.st-Panel {
  position: relative;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3125px;
  color: #333333;
  margin-bottom: 24px;
}

/* 左強調ラインありのバリエーション */
.st-Panel--bordered {
  padding-left: 20px;
  border-left-width: 4px;
}

/* テキスト配置バリエーション */
.st-Panel--left {
  text-align: left;
}

/*********************************************************
  Panel color variations
*********************************************************/

/* グレー - 左強調ラインあり */
.st-Panel--info {
  background-color: #f6f6f6;
  border-color: #cccccc;
  border-left-color: #aaaaaa;
  border-radius: 10px;
}

/* グレー - 左強調ラインなし、枠線なし */
.st-Panel--info-plain {
  background-color: #f6f6f6;
  border: none;
  padding: 10px;
  margin-bottom: 24px;
  box-shadow: none;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3125px;
}

/* 黄色 - 左強調ラインなし */
.st-Panel--yellow {
  background-color: #fff9bb;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0px;
  font-weight: 400;
  padding: 10px;
  margin-bottom: 16px;
}

/*********************************************************
  Panel text
*********************************************************/
.asterisk-red {
  color: #bb4346;
  font-weight: bold;
  margin-right: 0.4em;
}

/*********************************************************
  Card
*********************************************************/

/* カード本体 */
.st-Card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  width: 100% !important;
  max-width: none !important;
  font-family: sans-serif;
}

/* ステップ表示 */
.st-Card__step {
  display: inline-block;
  background: #1e40af;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 12px;
}

/* タイトル */
.st-Card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

/*********************************************************
  hissu
  memo: 既存の hissu-icon コンポーネントをカスタマイズ
*********************************************************/

.hissu-rounded {
  cursor: default;
}

.hissu-rounded span {
  border-radius: 4px;
  font-size: 12px;
  background: #bb4346;
}

/*********************************************************
  IconButton
*********************************************************/

/* グリッドコンテナ（デフォルト: 横並び） */
.st-IconBtn-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* グリッド縦並び */
.st-IconBtn-grid--col {
  flex-direction: column;
}

/* アイコン付きボタン（デフォルト: アイコン・テキスト縦並び） */
.st-IconBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #085ba6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 12px 16px;
  text-align: center;
  line-height: 1.4;
}

/* ボタン内横並び */
.st-IconBtn--row {
  flex-direction: row;
  width: 100%;
  height: 48px;
}

/* ホバー時 */
.st-IconBtn:hover:not(:disabled) {
  background-color: #074a8a;
}

/* フォーカス時 */
.st-IconBtn:focus {
  outline: none;
}

/* 無効時 */
.st-IconBtn:disabled {
  background-color: #aaaaaa;
  cursor: not-allowed;
}

/* アイコン付きボタン白抜き */
.st-IconBtn-white {
  background-color: white;
  border: 1px solid #085ba6;
  color: #085ba6;
  border-color: #085ba6;
}

/* アイコン付きボタン白抜き */
.st-IconBtn-white:hover:not(:disabled) {
  background-color: #f6f6f6;
}

/* アイコン */
.st-IconBtn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* テキスト */
.st-IconBtn__text {
  white-space: normal;
  word-wrap: break-word;
}

/* アウトライン版（白背景・青枠・青文字） */
.st-IconBtn--outline {
  background-color: #ffffff;
  color: #085ba6;
  border: 2px solid #085ba6;
}

.st-IconBtn--outline:hover:not(:disabled) {
  background-color: #f6f6f6;
}

.st-IconBtn--outline:disabled {
  background-color: #ffffff;
  color: #aaaaaa;
  border-color: #aaaaaa;
}

/* モバイル対応（デフォルトボタンのみ） */
@media screen and (max-width: 767px) {
  .st-IconBtn:not(.st-IconBtn--row) {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/*********************************************************
  sso post-app web-step05 / Card
  memo: st-Card をカスタマイズ
**********************************************************/
/* ゆうIDアカウント用カードカスタム */
.st-Card--yuuid {
  background: #edf3f3;
  border-radius: 16px;
  border: 1px solid #cccccc;
  padding: 24px;
  margin-bottom: 24px;
  margin-top: 24px;
  box-shadow: none;
}

.st-Card__title--yuuid {
  font-size: 20px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 30px;
}

.st-Card__fields {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.st-Card__field {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.st-Card__field-label {
  font-size: 16px;
  color: #666666;
  font-weight: 400;
}

.st-Card__field-value {
  font-size: 16px;
  color: #333333;
  font-weight: 400;
  word-break: break-all;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .st-Card--yuuid {
    padding: 16px;
  }
  .st-Card__title--yuuid {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .st-Card__fields {
    gap: 20px;
  }
  .st-Card__field-label,
  .st-Card__field-value {
    font-size: 14px;
  }
}
