/* === せんがわ21 カンパフォーム === */

.sn-donate {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: #2a2622;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.sn-donate__intro h3 {
    font-size: 1.6rem;
    margin: 0 0 .5rem;
    color: #2f8fa6;
}
.sn-donate__intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: #5a5650;
    margin: 0 0 1.5rem;
}

.sn-donate__form {
    background: #f5efe4;
    padding: 1.8rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #ead7c4;
}

.sn-donate__field {
    border: none;
    padding: 0 0 1.4rem;
    margin: 0 0 1.4rem;
    border-bottom: 1px dashed #d4c4ae;
}
.sn-donate__field:last-of-type {
    border-bottom: none;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}
.sn-donate__field legend {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: .8rem;
    padding: 0;
}

/* Amount picker */
.sn-donate__amounts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .6rem;
}
.sn-donate__amounts label {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border: 1.5px solid #d4c4ae;
    border-radius: 6px;
    padding: .7rem .8rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    font-weight: 600;
}
.sn-donate__amounts label:has(input:checked) {
    background: #f5e8de;
    border-color: #2f8fa6;
}
.sn-donate__amounts small {
    display: block;
    font-size: .75rem;
    font-weight: normal;
    color: #888;
}
.sn-donate__custom {
    margin-top: .8rem;
    padding: .8rem;
    background: #fff;
    border-radius: 6px;
    border: 1.5px solid #d4c4ae;
}
.sn-donate__custom input[type="number"] {
    width: 200px;
    padding: .5rem;
    font-size: 1rem;
    border: 1px solid #c8a98a;
    border-radius: 4px;
    margin-left: .4rem;
}

/* Generic field labels */
.sn-donate__form label {
    display: block;
    margin-bottom: .6rem;
    font-size: .95rem;
    color: #3a3a3a;
}
.sn-donate__form input[type="text"],
.sn-donate__form input[type="email"],
.sn-donate__form input[type="url"],
.sn-donate__form input[type="number"],
.sn-donate__form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: .55rem .7rem;
    font-size: 1rem;
    border: 1px solid #c8a98a;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    color: #2a2622;
    margin-top: .25rem;
}
.sn-donate__form input:focus,
.sn-donate__form textarea:focus {
    outline: 2px solid #2f8fa6;
    outline-offset: 1px;
    border-color: #2f8fa6;
}
.required {
    color: #2f8fa6;
    font-weight: 600;
}

/* Radio groups (display + methods) */
.sn-donate__display label,
.sn-donate__methods label {
    display: block;
    background: #fff;
    border: 1.5px solid #d4c4ae;
    border-radius: 6px;
    padding: .65rem .85rem;
    margin: .35rem 0;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.sn-donate__display label:has(input:checked),
.sn-donate__methods label:has(input:checked) {
    background: #f5e8de;
    border-color: #2f8fa6;
}
.sn-donate__methods small {
    color: #888;
    margin-left: .3rem;
}

/* Submit */
.sn-donate__submit {
    display: block;
    width: 100%;
    background: #2f8fa6;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 1.2rem;
    cursor: pointer;
    transition: background .15s;
    box-shadow: 0 4px 12px rgba(47, 143, 166, .25);
}
.sn-donate__submit:hover { background: #c4634c; }
.sn-donate__submit:disabled { background: #ccc; cursor: wait; }

.sn-donate__note {
    font-size: .85rem;
    color: #888;
    text-align: center;
    margin: 1rem 0 0;
}

.sn-donate__message {
    margin-top: 1rem;
    padding: .8rem 1rem;
    border-radius: 4px;
    font-size: .95rem;
}
.sn-donate__message.is-error {
    background: #fde6e0;
    color: #a23a1a;
    border: 1px solid #2f8fa6;
}
.sn-donate__message.is-info {
    background: #e8f0e6;
    color: #2a5024;
    border: 1px solid #246073;
}

/* === 領収書についての案内ボックス（カンパ・協賛共通） === */
.sn-rcpt-info {
    margin: 2rem 0 0;
    padding: 1.3rem 1.5rem;
    background: #f5efe4;
    border: 1px solid #ead7c4;
    border-left: 5px solid #c4704f;
    border-radius: 8px;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    color: #2a2622;
    line-height: 1.85;
}
.sn-rcpt-info__title {
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #246073;
}
.sn-rcpt-info__lead { margin: 0 0 0.8rem; font-size: 1.02rem; }
.sn-rcpt-info__when { margin: 0 0 0.8rem; }
.sn-rcpt-info__when dt { font-weight: 700; color: #246073; font-size: 0.98rem; margin-top: 0.5rem; }
.sn-rcpt-info__when dd { margin: 0.1rem 0 0; padding-left: 1.1rem; font-size: 0.98rem; }
.sn-rcpt-info__list { margin: 0 0 0.8rem; padding-left: 1.3rem; }
.sn-rcpt-info__list li { font-size: 0.98rem; margin: 0.25rem 0; }
.sn-rcpt-info__note { margin: 0; font-size: 0.88rem; color: #5a5650; }
