.cac-wrap,
.cac-wrap * {
    box-sizing: border-box;
}

.cac-wrap {
    width: 100%;
    margin: 15px 0;
    color: #222;
    font-family: inherit;
}

.cac-card {
    width: 100%;
    margin: 15px 0;
    padding: 18px;
    border: 1px solid #d9e3ec;
    background: #fff;
}

.cac-title {
    margin: 0 0 12px;
    color: #222;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.cac-guide {
    margin: 0 0 15px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.cac-field {
    width: 100%;
    margin: 15px 0;
}

.cac-field label {
    display: block;
    margin: 0 0 8px;
    color: #333;
    font-size: 15px;
    font-weight: 700;
}

.cac-input,
.cac-search-input,
.cac-inquiry-text {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid #b7c9da;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 16px;
    outline: none;
}

.cac-input:focus,
.cac-search-input:focus,
.cac-inquiry-text:focus {
    border-color: #628bb4;
    box-shadow: 0 0 0 2px rgba(98, 139, 180, 0.15);
}

.cac-checkline {
    margin-top: 8px;
}

.cac-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 600 !important;
    line-height: 1.5;
}

.cac-checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: #628bb4;
}

.cac-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 15px 0;
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

.cac-main-button:hover,
.cac-main-button:focus {
    background: #222;
}

.cac-result,
.cac-info-result,
.cac-inquiry-message,
.cac-share-message {
    width: 100%;
    margin: 15px 0;
}

.cac-result-row,
.cac-info-row {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 13px 14px;
    border: 1px solid #d9e3ec;
    background: #f8fbfd;
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.cac-result-row strong,
.cac-info-row strong {
    display: block;
    margin-bottom: 4px;
    color: #628bb4;
    font-size: 16px;
    font-weight: 800;
}

.cac-amount-row {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
}

.cac-amount-row strong {
    text-align: center;
    font-size: 20px;
}


.cac-topic-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    width: 100%;
    margin: 15px 0;
}

.cac-topic-button {
    min-height: 54px;
    padding: 12px 10px;
    border: 1px solid #628bb4;
    border-radius: 0;
    background: #fff;
    color: #628bb4;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    text-align: center;
}

.cac-topic-button.is-active {
    background: #628bb4;
    color: #fff;
}

.cac-search-box {
    position: relative;
    width: 100%;
    margin: 15px 0;
}

.cac-option-list {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #b7c9da;
    background: #fff;
}

.cac-search-box.is-open .cac-option-list {
    display: block;
}

.cac-option-item {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #eef3f7;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}

.cac-option-item:hover,
.cac-option-item:focus {
    background: #000;
    color: #fff;
}

.cac-empty {
    display: block;
    width: 100%;
    padding: 13px 14px;
    color: #555;
    font-size: 15px;
}

.cac-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0 0 15px;
    padding: 13px 18px;
    border: 1px solid #555;
    border-radius: 0;
    background: #555;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.cac-share-button:hover,
.cac-share-button:focus {
    background: #333;
}

.cac-inquiry-text {
    display: block;
    min-height: 130px;
    resize: vertical;
}

.cac-message-ok {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfe1d7;
    background: #f4fbf7;
    color: #155d2b;
    font-size: 15px;
    line-height: 1.5;
}

.cac-message-warn {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #f0d1d1;
    background: #fff7f7;
    color: #8a1f1f;
    font-size: 15px;
    line-height: 1.5;
}

a.eitc-apply-button,
a.eitc-apply-button:link,
a.eitc-apply-button:visited,
a.eitc-apply-button:hover,
a.eitc-apply-button:focus,
a.eitc-apply-button:active {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 56px;
padding: 16px 20px;
margin: 15px 0 25px;
border: 1px solid #4d759c;
background: linear-gradient(180deg, #7399c0 0%, #628bb4 48%, #4d759c 100%);
color: #ffffff !important;
font-size: 18px;
font-weight: 800;
letter-spacing: -0.02em;
text-decoration: none !important;
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
overflow: hidden;
transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
animation: eitcApplyPulse 1.7s ease-in-out infinite;
box-sizing: border-box;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button span,
a.eitc-apply-button span:link,
a.eitc-apply-button span:visited,
a.eitc-apply-button span:hover,
a.eitc-apply-button span:focus,
a.eitc-apply-button span:active {
position: relative;
z-index: 2;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button::before {
content: '';
position: absolute;
top: 0;
left: -30%;
width: 24%;
height: 100%;
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0) 100%);
transform: skewX(-18deg);
animation: eitcApplyShine 2.8s linear infinite;
z-index: 1;
}

a.eitc-apply-button:hover,
a.eitc-apply-button:focus {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(-1px);
box-shadow: 0 16px 28px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.25);
filter: saturate(1.05);
}

a.eitc-apply-button:active {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(1px);
box-shadow: 0 8px 16px rgba(98, 139, 180, 0.26), inset 0 2px 6px rgba(0,0,0,0.15);
}

@keyframes eitcApplyPulse {
0%, 100% {
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
}
50% {
box-shadow: 0 16px 30px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.3);
}
}

@keyframes eitcApplyShine {
0% {
left: -30%;
}
100% {
left: 120%;
}
}

@media (max-width: 480px) {
    .cac-card {
        padding: 15px;
    }

    .cac-topic-buttons {
        grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    }

    .cac-title {
        font-size: 20px;
    }
}

.cac-image-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    margin: 15px 0;
}

.cac-image-list img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d9e3ec;
    background: #fff;
}

.cac-region-box .cac-option-item {
    display: block;
}

.cac-region-name,
.cac-region-group {
    display: block;
    width: 100%;
}

.cac-region-name {
    font-weight: 800;
}

.cac-region-group {
    display: none;
    margin-top: 3px;
    color: #667;
    font-size: 13px;
}

.cac-option-item:hover .cac-region-group,
.cac-option-item:focus .cac-region-group {
    color: #fff;
}

.cac-voucher-guide {
    padding: 12px 13px;
    border: 1px solid #d9e3ec;
    background: #f8fbfd;
}

.cac-retro-row {
    border-color: #d6c08c;
    background: #fff8e6;
}

.cac-retro-row strong {
    color: #8a5a00;
}
