/* === せんがわ21 協賛申込フォーム === */

.sn-sponsor-apply {
    max-width: 840px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: #2a2622;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.sn-sponsor-apply__intro h3 {
    font-size: 1.6rem;
    margin: 0 0 .5rem;
    color: #2f8fa6;
}
.sn-sponsor-apply__intro p {
    color: #5a5650;
    margin: 0 0 1.5rem;
    line-height: 1.7;
}

/* Tier cards */
.sn-sponsor-apply__tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
.sn-tier-card {
    border: 2px solid #d4c4ae;
    border-radius: 8px;
    padding: 1.2rem;
    background: #fff;
    text-align: center;
}
.sn-tier-card:nth-child(1) { background: linear-gradient(180deg, #fef6e8 0%, #fff 60%); border-color: #d4a04a; }
.sn-tier-card:nth-child(2) { background: linear-gradient(180deg, #f4f4f4 0%, #fff 60%); border-color: #aaa; }
.sn-tier-card:nth-child(3) { background: linear-gradient(180deg, #fbeed5 0%, #fff 60%); border-color: #c4895a; }

.sn-tier-card__name {
    font-size: 1.3rem;
    margin: 0 0 .3rem;
    color: #1a1a1a;
}
.sn-tier-card__price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2f8fa6;
    margin: .3rem 0;
}
.sn-tier-card__price small { font-size: .7rem; color: #888; font-weight: normal; }
.sn-tier-card__perks {
    list-style: none;
    padding: 0;
    margin: .8rem 0 0;
    text-align: left;
    font-size: .9rem;
    color: #4a4a4a;
}
.sn-tier-card__perks li { padding: .25rem 0; border-bottom: 1px dotted #d4c4ae; }
.sn-tier-card__perks li:last-child { border-bottom: none; }

/* Form (shares much styling with donate form) */
.sn-sponsor-apply__form {
    background: #f5efe4;
    padding: 1.8rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #ead7c4;
}
.sn-sponsor-apply__field {
    border: none;
    padding: 0 0 1.4rem;
    margin: 0 0 1.4rem;
    border-bottom: 1px dashed #d4c4ae;
}
.sn-sponsor-apply__field:last-of-type {
    border-bottom: none;
    margin-bottom: .5rem;
    padding-bottom: 0;
}
.sn-sponsor-apply__field legend {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: .8rem;
    padding: 0;
}
.sn-sponsor-apply__form label {
    display: block;
    margin-bottom: .8rem;
    font-size: .95rem;
    color: #3a3a3a;
}
.sn-sponsor-apply__form input[type="text"],
.sn-sponsor-apply__form input[type="email"],
.sn-sponsor-apply__form input[type="url"],
.sn-sponsor-apply__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-sponsor-apply__form input:focus,
.sn-sponsor-apply__form textarea:focus {
    outline: 2px solid #2f8fa6;
    outline-offset: 1px;
    border-color: #2f8fa6;
}

/* Tier radios */
.sn-sponsor-apply__tier-radios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .5rem;
}
.sn-sponsor-apply__tier-radios label,
.sn-sponsor-apply__methods label {
    display: block;
    background: #fff;
    border: 1.5px solid #d4c4ae;
    border-radius: 6px;
    padding: .65rem .85rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.sn-sponsor-apply__tier-radios label:has(input:checked),
.sn-sponsor-apply__methods label:has(input:checked) {
    background: #f5e8de;
    border-color: #2f8fa6;
}
.sn-sponsor-apply__methods label {
    margin: .35rem 0;
}

/* Display checkbox */
.sn-sponsor-apply__display {
    display: flex !important;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    background: #fff;
    border: 1.5px solid #d4c4ae;
    border-radius: 6px;
    font-weight: 500;
}

/* Logo upload */
.sn-sponsor-apply__upload-btn {
    background: #246073;
    color: #fff;
    border: none;
    padding: .65rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: .95rem;
    font-family: inherit;
}
.sn-sponsor-apply__upload-btn:hover { background: #3a5232; }
.sn-sponsor-apply__logo-preview {
    margin-top: .8rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #d4c4ae;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sn-sponsor-apply__logo-preview img {
    max-width: 240px;
    max-height: 80px;
    object-fit: contain;
}
.sn-sponsor-apply__remove-logo {
    background: #c84a3a;
    color: #fff;
    border: none;
    padding: .4rem .8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: .85rem;
}
.sn-sponsor-apply__hint {
    font-size: .85rem;
    color: #888;
    margin-top: .8rem;
    line-height: 1.6;
}

.required { color: #2f8fa6; font-weight: 600; }

.sn-sponsor-apply__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-sponsor-apply__submit:hover { background: #c4634c; }
.sn-sponsor-apply__submit:disabled { background: #ccc; cursor: wait; }

.sn-sponsor-apply__note {
    font-size: .85rem;
    color: #888;
    text-align: center;
    margin: 1rem 0 0;
}
.sn-sponsor-apply__message {
    margin-top: 1rem;
    padding: .8rem 1rem;
    border-radius: 4px;
    font-size: .95rem;
}
.sn-sponsor-apply__message.is-error {
    background: #fde6e0;
    color: #a23a1a;
    border: 1px solid #2f8fa6;
}

/* === 領収書についての案内ボックス（カンパ・協賛共通） === */
.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; }
