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

html {
    font-size: 62.5%;
}

:root {
    --primary-color: #8B5CF6;
    --secondary-color: #EC4899;
    --accent-color: #F59E0B;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --bg-color: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #FFFFFF;
    line-height: 1.6;
    background-color: hsla(240,100%,23%,1);
    background-image:
        radial-gradient(at 14% 93%, hsla(280,75%,22%,1) 0px, transparent 50%),
        radial-gradient(at 10% 16%, hsla(224,92%,23%,1) 0px, transparent 50%),
        radial-gradient(at 62% 26%, hsla(258,40%,57%,1) 0px, transparent 50%),
        radial-gradient(at 52% 74%, hsla(355,24%,64%,1) 0px, transparent 50%),
        radial-gradient(at 90% 56%, hsla(219,100%,17%,1) 0px, transparent 50%);
    background-attachment: fixed;
    background-size: 100vw 100vh;
    background-position: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 星空アニメーション */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background-color: #F8CFFF;
    border-radius: 50%;
    box-shadow: 0 0 4px 2px rgba(248, 207, 255, 0.2);
    opacity: 0;
    animation: twinkle 2.5s infinite;
}

@keyframes twinkle {
    0% { opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { opacity: 0; transform: scale(1); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growIn {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* 共通クラス - セクション */
.section {
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title-img {
    width: 84%;
    max-width: 201.6px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.section-subtitle {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    pointer-events: none;
}

.section-content {
    padding: 0;
}

/* 共通クラス - フェードインアニメーション */
.fade-in-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-item--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Award - メインコンテナ */
.award {
    height: 100vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Award Header - ヘッダーセクション */
.award-header {
    text-align: center;
    margin-bottom: 0;
    padding: 80px 20px 0 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.award-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://content-cf.reality.app/219ff680d103c8126186bcacf7033d87b8b1b130.png?t=1769668025');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.1s forwards;
}

.award-header__highlight {
    margin-bottom: 0 !important;
}

.award-header__logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.award-header__logo {
    max-width: 288px;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.award-header__divider {
    width: 1px;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    margin: 24px 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scaleY(0);
    animation: growIn 0.5s ease-out 0.5s forwards;
}

.award-header__text {
    text-align: center;
    position: relative;
    z-index: 1;
}

.award-header__intro {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.6rem !important;
    font-weight: 400;
    margin-bottom: 4px !important;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease-out 0.7s forwards;
}

.award-header__highlight {
    font-family: 'Zen Old Mincho', serif;
    font-size: 2.6rem !important;
    font-weight: 400;
    margin-bottom: 40px !important;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease-out 0.9s forwards;
}

/* Award About - 概要セクション */
.award-about__content {
    text-align: center;
}

.award-about__content p {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #FFFFFF;
    font-size: 1.4rem;
}

.award-about__content p:last-child {
    margin-bottom: 0;
}

.award-about__divider {
    display: block;
    margin: 0 auto 40px;
    width: 64px;
    height: auto;
}

/* Schedule - スケジュールセクション */

.schedule__content {
    max-width: 480px;
    margin: 0 auto;
}

.schedule__block {
    margin-bottom: 24px;
    text-align: center;
}

.schedule__block:last-child {
    margin-bottom: 0;
}

.schedule__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.schedule__heading:before,
.schedule__heading:after {
    content: "";
    height: 1px;
    flex-grow: 1;
}

.schedule__heading:before {
    margin-right: 1rem;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
}

.schedule__heading:after {
    margin-left: 1rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
}

.schedule__detail {
    text-align: center;
}

.schedule__date-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
}

.schedule__date {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.4rem !important;
    color: #FFFFFF;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0;
}

.schedule__note {
    font-size: 1.4rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 0;
}

.schedule__description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0 !important;
}

.schedule__venue-image {
    width: 80%;
    max-width: 80%;
    height: auto;
    border-radius: 0;
    margin-top: 12px;
}

/* Category - 表彰部門セクション */

.category__container {
    background: linear-gradient(180deg, #6244ad66, #4d69cf66, #4c81cc66);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 40px 20px 80px 20px;
    position: relative;
}

.category__container .section-header {
    position: relative;
}

.category__header-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-20px);
    width: 120%;
    max-width: 500px;
    height: auto;
    z-index: 10;
    opacity: 0;
    transition: opacity 1.2s ease-out 0.5s, transform 1.2s ease-out 0.5s;
    pointer-events: none;
}

.category__header-img.fade-in-item--visible {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(20px);
}

.category__group {
    margin-bottom: 24px;
}

.category__group:nth-child(2)::after,
.category__group:nth-child(3)::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0.4) 80%, transparent);
    margin: 32px auto 0;
    width: 100%;
}

.category__group:last-child {
    margin-bottom: 0;
}

.category__item {
    padding: 12px 0;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category__item:last-child {
    margin-bottom: 0;
}

.category__item--divider::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0.4) 80%, transparent);
    margin: 32px auto 0;
    width: 100%;
}

.category__icon {
    width: 80px;
    height: auto;
    margin-bottom: 12px;
}

.category__name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, transparent 0%, #CFDFFF 20%, #F9D2FF 80%, transparent 100%);
    color: #493F88;
    padding: 0 48px;
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.category__item--primary .category__name {
    font-size: 2rem;
}

.category__name--animate {
    clip-path: inset(0 0 0 0);
}

.category__desc {
    font-size: 1.4rem;
    color: #FFFFFF;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
    padding: 0 16px;
    text-align: left;
}

.category__desc--animate {
    opacity: 1;
    transform: translateY(0);
}

.category__note {
    font-size: 1.2rem;
}

.category__subheading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 16px 0 8px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.category__subheading:first-child {
    margin-top: 0;
}

.category__subheading:not(:first-child) {
    margin-top: 32px;
}

.category__number {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.4rem;
    font-weight: 700;
    display: inline-block;
}

.category__title {
    display: block;
}

.category__text {
    margin: 0 0 12px 0;
    text-align: left;
    color: #FFFFFF;
}

.category__text:last-child {
    margin-bottom: 0;
}

.category__desc-en {
    display: block;
    margin-top: 12px;
    padding: 1em 32px;
    position: relative;
    box-sizing: border-box;
    color: #FFFFFF;
}

.category__desc-en::before,
.category__desc-en::after {
    content: '';
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.category__desc-en::before {
    left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.category__desc-en::after {
    right: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

/* Benefit - 受賞特典セクション */

.benefit {
    margin-bottom: 80px;
}

.benefit__list {
    list-style: none;
    text-align: center;
}

.benefit__item {
    padding: 12px 0;
    color: #FFFFFF;
    font-size: 1.4rem;
    line-height: 1.6;
    position: relative;
}

.benefit__item strong {
    font-size: 1.8rem;
}

.benefit__note {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-top: 4px;
}

/* Notice - 注意事項セクション */
.notice__divider {
    display: block;
    margin: 0 auto 40px;
    width: 64px;
    height: auto;
}

.notice__title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    text-align: center;
}

.notice__list {
    list-style: disc;
    padding-left: 20px;
}

.notice__item {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Accordion - アコーディオンセクション */
.accordion {
    margin-bottom: 80px;
}

.accordion__container {
    max-width: 480px;
    margin: 0 auto;
}

.accordion__item {
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion__item--active .accordion__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion__item--active .accordion__content {
    max-height: 2000px;
    opacity: 1;
}

.accordion__header {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s ease;
}

.accordion__header:hover {
    opacity: 0.7;
}

.accordion__icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background-color: #FFFFFF;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.accordion__icon::before {
    width: 14px;
    height: 1px;
}

.accordion__icon::after {
    width: 1px;
    height: 14px;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    background: transparent;
    opacity: 0;
}

.accordion__content p {
    padding: 0;
    margin: 12px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    line-height: 1.6;
}

.accordion__content p:first-child {
    padding-top: 0;
}

.accordion__content p:last-child {
    padding-bottom: 20px;
}

.accordion__subheader {
    padding: 0;
    margin: 20px 0 8px 0;
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 600;
}

.accordion__link-text {
    margin-top: 16px !important;
}

.accordion__link {
    color: #8FDDFF;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.accordion__link:hover {
    color: #A8E6FF;
}

/* Footer - フッター */
.footer {
    padding: 40px 20px 60px;
    text-align: center;
}

.footer__copyright {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

@media (min-width: 480px) {
    .award {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .notice__title {
        font-size: 2.6rem;
    }
}
