/* 
==================================================
  SHONIN PARK Tourism Ambassador 2026
================================================== 
*/

:root {

    --primary-color: #8c7fb0;
    --primary-dark: #5c4a8a;
    --primary-light: #f4ecf7;
    --secondary-color: #80a9b8;
    --accent-color: #d1b87a;

    --text-main: #54504e;
    --text-light: #8c8886;
    --bg-color: #fafbfc;
    --bg-white: #ffffff;
    --bg-soft-gray: #f7f5f2;

    --font-base: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    --font-heading: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;

    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--text-main);
    background-color: var(--primary-color);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.sp,
.sp-s {
    display: none;
}

.pc {
    display: block;
}

ul,
ol {
    list-style: none;
}

.text-center {
    text-align: center;
}

.pt-5 {
    padding-top: 3rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.fw-bold {
    font-weight: 700;
}

.text-large {
    font-size: 1.1rem;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.highlight-date {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9em;
    margin: 0 10px;
    display: inline-block;
}

.bg-theme-light {
    background: linear-gradient(135deg, #f8f4ff 0%, #ebf8fa 100%);
}

.bg-soft-gray {
    background-color: var(--bg-soft-gray);
}

.main-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-white);
    background-image:
        radial-gradient(var(--bg-soft-gray) 1px, transparent 1px),
        radial-gradient(var(--bg-soft-gray) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    min-height: 100vh;
    border-left: 1px solid rgba(140, 127, 176, 0.2);
    border-right: 1px solid rgba(140, 127, 176, 0.2);
    overflow: hidden;
}


.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10%;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    text-align: center;
    overflow: hidden;
}

.hero__image-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.hero__image {
    height: auto;
    width: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================
   Sections & Titles
   ========================================= */

.section-title {
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
}

.bg-stretch-pc {
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .bg-stretch-pc {
        margin: 0 -11%;
        padding: 3rem 11%;
        background-color: var(--bg-soft-gray);
        border-radius: 40px;
    }
}

.section-title::before,
.section-title::after {
    content: '✤';
    display: inline-block;
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0.6;
    margin: 0 10px;
    font-family: var(--font-base);
}

.section-title__small {
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    position: relative;
}

.section-title__small::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 15px auto 0;
}

/* =========================================
   Cards
   ========================================= */
.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(140, 127, 176, 0.05);
    border: 1px solid rgba(140, 127, 176, 0.2);
    overflow: hidden;
    position: relative;
}

.card::before,
.card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-color);
    opacity: 0.5;
    pointer-events: none;
}

.card::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.card::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* =========================================
   Unified Overview Table Layout
   ========================================= */
.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table th,
.req-table td {
    padding: 1.5rem 3rem;
    border-bottom: 1px dashed #e8eaf0;
    text-align: left;
    vertical-align: top;
}

.req-table tr:last-child th,
.req-table tr:last-child td {
    border-bottom: none;
}

.req-table th {
    width: 30%;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary-color);
    background-color: rgba(244, 236, 247, 0.5);
    letter-spacing: 1px;
    position: relative;
}

.req-table th::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(140, 127, 176, 0.3);
    display: none;
}

.req-table td {
    color: var(--text-main);
    line-height: 1.8;
}

@media (min-width: 600px) {
    .req-table th::after {
        display: block;
    }
}

@media (max-width: 600px) {

    .req-table th,
    .req-table td {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    .req-table th {
        padding-bottom: 0.2rem;
        background-color: rgba(244, 236, 247, 0.3);
        border-bottom: none;
    }

    .req-table td {
        padding-top: 0.5rem;
        padding-bottom: 1.2rem;
    }
}

/* =========================================
   Lists
   ========================================= */
.dot-list li::before {
    content: '✧';
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: normal;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

.dot-list li {
    padding-left: 1em;
    margin-bottom: 0.5rem;
}

.info-split {
    display: flex;
    flex-direction: column;
}

.info-block {
    flex: 1;
    padding: 1.5rem;
    position: relative;
}

.info-block+.info-block {
    border-top: 1px dashed rgba(209, 200, 235, 0.6);
}

.block-title {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 2px;
}

.block-title--alt {
    color: var(--secondary-color);
}

.check-list li {
    position: relative;
    padding: 1.2rem 1rem 1.2rem 2.5rem;
    margin-bottom: 1rem;
    background: var(--bg-white);
    border: 1px solid rgba(140, 127, 176, 0.2);
    border-radius: 12px;
}

.check-list li::before {
    content: '＊';
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    color: var(--primary-color);
    font-weight: 400;
    opacity: 0.5;
}

.star-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
}

.star-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

.tag {
    display: inline-block;
    background-color: var(--bg-soft-gray);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    margin-top: 10px;
    border: 1px solid rgba(140, 127, 176, 0.2);
}

/* =========================================
   Prize Grid
   ========================================= */
.prize-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.flow-wrapper-bg {
    margin: 0;
    padding: 0;
}



.prize-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 5rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(140, 127, 176, 0.08);
    flex: 1 1 100%;
    min-width: 250px;
    margin-bottom: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(140, 127, 176, 0.1);
    overflow: hidden;
}



.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(140, 127, 176, 0.15);
    border-color: rgba(140, 127, 176, 0.3);
}

.prize-card--grand {
    flex: 1 1 100%;
    background: linear-gradient(135deg, #ffffff 0%, rgba(209, 184, 122, 0.05) 100%);
    padding: 5rem 2.5rem 2rem 2.5rem;
    border: 1px solid rgba(209, 184, 122, 0.4);
    border-radius: 30px;
}

.prize-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(140, 127, 176, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.prize-card__badge-sub {
    font-size: 0.9em !important;
    font-weight: 500 !important;
    margin-top: 2px;
    color: var(--text-light);
    display: inline-block;
}

.prize-card--grand .prize-card__badge {
    background: var(--accent-color);
    color: #fff;
    font-size: 1.3rem;
    padding: 12px 24px;
    border: none;
}

.prize-card--second .prize-card__badge {
    background: #aab2bd;
    color: #fff;
    border: none;
    padding: 12px 24px;
}

.prize-card--third .prize-card__badge {
    background: #cba382;
    color: #fff;
    border: none;
    padding: 12px 24px;
}

.prize-card--special .prize-card__badge {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
}

.prize-card__desc {
    font-weight: 700;
    color: var(--text-main);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.prize-card__amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    width: max-content;
    margin: 0 auto 0.5rem auto;
}

.prize-card__amount>span:not(.prize-card__sticker) {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 5px;
    line-height: 1;
    font-family: "Zen Maru Gothic", sans-serif;
}

.prize-card--grand .prize-card__amount>span:not(.prize-card__sticker) {
    font-size: 4.5rem;
}

.prize-card__sticker {
    position: absolute;
    top: -10px;
    right: -45px;
    width: 46px;
    height: 46px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(209, 184, 122, 0.4);
    z-index: 2;
}

.prize-card__bonus {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-soft-gray);
    padding: 8px 30px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 20px;
}

.prize-notes {
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* =========================================
   Selection Flow
   ========================================= */
.flow-container {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flow-step {
    background: var(--bg-white);
    padding: 2rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(140, 127, 176, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid rgba(140, 127, 176, 0.15);
    flex: 1 1 100%;
}



.flow-container::before {
    display: none;
}

.flow-step__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-style: italic;
    opacity: 0.8;
}

.flow-step__content {
    flex: 1;
}

.flow-step__title {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.flow-step__tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 5px;
}

.flow-step__tag--accent {
    background: var(--primary-color);
}

.flow-step__desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

.flow-step__note {
    background-color: rgba(244, 236, 247, 0.5);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    padding: 12px 10px;
    border-radius: 8px;
    line-height: 1.6;
    display: block;
}

.flow-event-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-top: 1.5rem;
    padding: 0.85rem 1.8rem;
    background: linear-gradient(135deg, rgba(244, 236, 247, 0.7) 0%, rgba(235, 248, 250, 0.7) 100%);
    border: 1px dashed rgba(140, 127, 176, 0.35);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.flow-event-detail__icon {
    font-size: 1rem;
    margin-right: 0.2rem;
    opacity: 0.75;
}

.flow-event-detail__sep {
    color: rgba(140, 127, 176, 0.4);
    font-size: 1rem;
    line-height: 1;
}

.flow-event-detail__label {
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 3px 30px;
    border-radius: 20px;
    letter-spacing: 1px;
    width: fit-content;
    margin: 0 auto;
    display: block;
}

/* =========================================
   Apply Section
   ========================================= */
.apply-box {
    padding: 3rem 2rem;
    text-align: center;
    background: #ffffff;
}

.apply-title {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
}

.apply-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.apply-req-list {
    background: var(--bg-soft-gray);
    padding: 2rem;
    border-radius: 30px;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.apply-req-list ol {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}



.apply-req-list li {
    font-weight: 500;
    color: var(--text-main);
    background: white;
    padding: 12px 20px;
    border-radius: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-apply {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 4.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    box-shadow: 0 8px 20px rgba(140, 127, 176, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(100, 75, 140, 0.4);
    background: var(--primary-dark);
    color: white;
}

.btn-apply__text {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.pulse-anim {
    animation: soft-pulse 2.5s infinite;
}

@keyframes soft-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(163, 120, 235, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(163, 120, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(163, 120, 235, 0);
    }
}

/* =========================================
   Notes & Footer
   ========================================= */
.notes-box {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
}


.notes-list {
    max-width: 800px;
    margin: 0 auto;
    margin-left: 15%;
}

.notes-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.notes-list li::before {
    content: '※';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.btn-template {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(140, 127, 176, 0.4);
    box-shadow: 0 4px 10px rgba(140, 127, 176, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-template:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(140, 127, 176, 0.2);
}

.organizer-box {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px dashed #e8eaf0;
}

.organizer-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 700;
}

.organizer-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.organizer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-main);
}

.organizer-contact a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* =========================================
   Header
   ========================================= */
.header {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header a {
    display: inline-block;
    margin-bottom: -10px;
}

.header img {
    height: 22px;
    width: auto;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: rgb(63, 63, 63);
    color: #c8cdd2;
    font-size: 0.8rem;
    line-height: 1.6;
    padding: 2.5rem 4% 1.5rem;
}

.footer__block {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0 1.2rem;
}

.footer__block-line {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1.2rem;
}

.footer__block-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.footer__block-title::before {
    content: '●';
    margin-right: 0.4em;
    font-size: 0.7rem;
}

.footer__link {
    color: #c8cdd2;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: #ffffff;
}

.footer__block-line .footer__link::after {
    content: '｜';
    margin: 0 0.1em;
    color: rgba(255, 255, 255, 0.3);
}

.footer__block-line .footer__link:last-of-type::after {
    content: '';
}

.footer__block>.footer__link::after {
    content: '｜';
    margin: 0 0.1em;
    color: rgba(255, 255, 255, 0.3);
}

.footer__block>a:last-of-type::after,
.footer__block>br~a:last-of-type::after {
    content: '';
}

.footer__snslink {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.footer__snslink:hover {
    opacity: 0.7;
}

.footer__snslink svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

.footer__snslink .cls-1 {
    fill: #ffffff;
}

.footer__copyright-text {
    max-width: 960px;
    margin: 1rem auto 0;
    text-align: right;
    font-size: 0.75rem;
    color: #a0a7ad;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
   Apply Button (Mobile)
   ========================================= */
.floating-apply {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: none;
}

.btn-apply--small {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 0;
    text-align: center;
}

.btn-apply--small span {
    font-size: 1.1rem;
    font-weight: bold;
}

/* =========================================
   Form Styles
   ========================================= */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: left;
    border-top: 1px solid #ccc;
    font-size: 0.95rem;
}

.form-table th,
.form-table td {
    padding: 1.2rem;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.form-table th {
    width: 35%;
    font-weight: bold;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

.form-hint-th {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--text-light);
    margin-top: 5px;
}

.req {
    color: #e60000;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 5px;
}

.radio-label {
    margin-right: 1.5rem;
    cursor: pointer;
}

.radio-label input {
    margin-right: 5px;
}

.phone-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input {
    width: 80px;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.py-5 {
    padding: 3rem 0;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-secondary {
    display: inline-block;
    background: #bbb;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: #999;
    transform: translateY(-2px);
}

#btn-confirm,
#btn-submit {
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

@media (max-width: 768px) {

    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
        padding: 0.8rem 0;
    }

    .form-table th {
        border-bottom: none;
        padding-bottom: 0.2rem;
    }

    .form-table td {
        padding-top: 0;
        margin-bottom: 0.5rem;
    }
}

.confirm-table td {
    background: transparent;
    border-radius: 4px;
}

/* =========================================
   responsive (min-width: 768px)
   ========================================= */
@media (min-width: 768px) {
    .info-split {
        flex-direction: row;
    }

    .info-block {
        padding: 2.5rem;
    }

    .info-block+.info-block {
        border-top: none;
        border-left: 1px dashed #d1c8eb;
    }

    .flow-wrapper-bg {
        background-color: var(--bg-soft-gray);
        border-radius: 40px;
        padding: 2rem 11%;
        margin: var(--spacing-md) -11% 0;
    }

    .prize-card {
        flex: 1 1 calc(33.333% - 1.5rem);
        max-width: none;
        margin: 0;
        margin-bottom: 0;
    }

    .prize-card--grand {
        flex: 1 1 100%;
    }

    .flow-container {
        flex-direction: row;
    }

    .flow-step {
        flex: 1 1 calc(33.333% - 1rem);
    }
}

@media (min-width: 600px) {
    .apply-req-list ol {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .container {
        padding: 2rem 4%;
    }

    .main-wrapper {
        border-left: none;
        border-right: none;
    }

    .section-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .card {
        border-radius: 16px;
    }

    .card::before,
    .card::after {
        display: none;
    }

    .prize-grid {
        gap: 0;
    }

    .prize-card__sticker {
        margin-top: 10px;
        right: -55px;
    }

    .info-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .check-list,
    .star-list {
        width: fit-content;
        margin: 0 auto;
    }

    .block-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .check-list li {
        padding: 1rem 1rem 1rem 2.2rem;
        margin-bottom: 0.6rem;
        border-radius: 10px;
    }

    .prize-card {
        border-radius: 16px;
        padding: 4rem 1rem 1rem 1rem;
        min-width: auto;
        margin-bottom: 1rem;
    }

    .prize-card--grand {
        padding: 4.5rem 1rem 1.5rem 1rem;
        border-radius: 20px;
    }

    .prize-card__badge {
        padding: 10px 16px;
        font-size: 1rem;
    }

    .prize-card__amount>span:not(.prize-card__sticker) {
        font-size: 2.8rem;
    }

    .prize-card--grand .prize-card__amount>span:not(.prize-card__sticker) {
        font-size: 3.5rem;
    }

    .prize-card__bonus {
        padding: 6px 16px;
        font-size: 0.85rem;
        margin-top: 12px;
    }

    .flow-step {
        padding: 1.5rem 1rem;
        border-radius: 14px;
    }

    .flow-step__number {
        font-size: 2.5rem;
    }

    .flow-step__title {
        font-size: 1.05rem;
    }

    .flow-event-detail {
        padding: 0.7rem 1rem;
        border-radius: 16px;
        gap: 0;
        font-size: 0.9rem;
        flex-direction: column;
    }

    .flow-event-detail__sep {
        display: none;
    }

    .flow-event-detail__row {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .flow-event-detail__label {
        padding: 3px 28px;
    }

    .flow-container {
        padding: 0 0 2rem 0;
    }

    .apply-box {
        padding: 2rem 1rem;
    }

    .apply-title {
        font-size: 1.3rem;
    }

    .apply-req-list {
        padding: 1rem;
        border-radius: 16px;
    }

    .apply-req-list li {
        padding: 10px 14px;
        border-radius: 16px;
        font-size: 0.9rem;
    }

    .btn-apply {
        padding: 1rem 3rem;
    }

    .btn-apply__text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .notes-box {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .notes-list {
        width: fit-content;
        margin: 0 auto;
    }

    .organizer-box {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .organizer-name {
        font-size: 0.95rem;
    }

    .organizer-contact {
        gap: 0.8rem;
        font-size: 0.9rem;
    }

    .header img {
        height: 18px;
    }

    .footer {
        padding: 1.5rem 4% 5rem;
        font-size: 0.75rem;
    }

    .footer__copyright-text {
        text-align: center;
    }

    .floating-apply {
        display: block;
    }
}

@media (max-width: 400px) {
    .section-title {
        font-size: 1.4rem;
    }

    .highlight-text {
        font-size: 1rem;
    }

    .sp-s {
        display: block;
    }
}

/* =========================================
   Terms Modal
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-title {
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
    margin: 0;
}

.modal-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.6;
}

.modal-body ol {
    margin: 0;
}

.modal-body li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-footer button,
.modal-footer a {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    display: inline-block;
    box-sizing: border-box;
}

.btn-cancel {
    background: #f1f1f1;
    color: var(--text-main);
    border: none;
}

.btn-cancel:hover {
    background: #e1e1e1;
}

.btn-agree {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(140, 127, 176, 0.3);
}

.btn-agree:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(140, 127, 176, 0.4);
}

@media (max-width: 600px) {
    .modal-body {
        padding: 1.2rem;
        font-size: 0.85rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 0.8rem;
    }

    .modal-footer button,
    .modal-footer a {
        width: 100%;
    }
}