@charset "UTF-8";

/* ========================================
   中央寄せコンテナ
======================================== */
.centerContainer {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ページタイトル
======================================== */
.pageTitle {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

/* ========================================
   画像コンテナ
======================================== */
.imageContainer {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px;
}

.imageContainer img {
    width: 100%;
    height: auto;
}

/* 中央寄せ画像（PC/SP切り替え用） */
.errorImage {
    max-width: 100%;
    height: auto;
    margin-left: auto !important;
    margin-right: auto !important;
}

.errorImage {
    display: block;
}

/* ========================================
   テキスト
======================================== */
.textGray {
    font-size: 14px;
    color: #656565;
}

.textGray.-break {
    word-break: break-all;
}

.textGray.-marginTop {
    margin-top: 10px;
}

/* ========================================
   リンクボタン
======================================== */
.linkButton {
    margin-top: 20px;
    flex-shrink: 0;
    min-width: max-content;
}

.linkButton a {
    display: inline-block;
    color: #627069;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    padding-bottom: 2px; /* 文字と下線の間に余白を追加 */
    border-bottom: 1px solid transparent; /* 通常時は透明 */
}

/* ボタンとリンクを縦並びにする */
.buttonBlock.vertical-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.buttonBlock.vertical-layout + .linkButton {
  margin-top: 20px;
}

/* ========================================
   フォームアイテムの下線対応
======================================== */
.formBlock__item.no-border + *,
.formBlock__item:not(.accordion) + * {
  border-top: none !important;
}


/* ========================================
   ボタン調整
======================================== */
.buttonRounded {
    border-radius: 8px;
}

.buttonWithIcon span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   チェックボックス
======================================== */
input[type="checkbox"] {
  accent-color: #17A462 !important;
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
}

/* ========================================
   カード（基本）
======================================== */
.card {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
}

.card.-white {
    background: #fff;
}

/* ========================================
   プログレスバー
======================================== */
.progressBarContainer {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.progressBar {
    height: 100%;
    background: linear-gradient(90deg, #ff9800 0%, #ff6b35 100%);
    width: 0%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ========================================
   トースト通知
======================================== */

.toastNotification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

.toastNotification__icon {
    width: 24px;
    height: 24px;
    background: #17A462;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toastNotification__icon span {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.toastNotification__message {
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.error-notes-container {
    background-color: #F4F4F4;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.error-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.error-notes-list li {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.error-notes-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.error-notes-list li:last-child {
    margin-bottom: 0;
}

/* ========================================
   レスポンシブ
======================================== */
/* PC表示：横並び（キャンセル 更新する） */
@media (min-width: 769px) {
    .buttonBlock.-marginTopSmall.-spTypeA > div {
        flex-direction: row-reverse !important;
        justify-content: center;
        align-items: center;
        max-width: 100% !important;
    }
    
    .buttonBlock.-marginTopSmall.-spTypeA .buttonA.-sizeMiddle {
        width: auto !important;
    }
    
    .buttonBlock.-marginTopSmall.-spTypeA .linkButton {
        margin-right: 20px;
    }

    .buttonBlock.-fixed .buttonA.-sizeMiddle {
        margin-left: 40px;
    }

    .error-notes-outer {
        position: relative;
        left: 10%;
        transform: translateX(-50%);
    }

    .error-notes-container {
        width: 1000px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .error-notes-list {
        column-count: 2;
        column-gap: 80px;
    }
    
    .error-notes-list li {
        break-inside: avoid;
    }
}

@media (max-width: 768px) {
    .buttonRounded {
        width: 90%;
        max-width: 320px;
        white-space: nowrap;
        font-size: 13px;
    }
    
    .buttonWithIcon img {
        width: 19px;
        height: 19px;
    }

    /* ボタンエリア：縦並び（更新する キャンセル） */
    .buttonBlock.-marginTopSmall.-spTypeA > div {
        flex-direction: column !important;
    }
    
    .buttonBlock.-marginTopSmall.-spTypeA .buttonA.-sizeMiddle {
        width: 100% !important;
        order: 1;
    }
    
    .buttonBlock.-marginTopSmall.-spTypeA .linkButton {
        order: 2;
    }

    .toastNotification {
        width: 270px;
        padding: 10px 15px;
    }
    
    .toastNotification__message {
        font-size: 14px;
    }

    .error-notes-container {
        width: auto;
    }
}