@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

:root {
    --bg: #fffdf9;
    --ink: #2c2521;
    --ink-soft: #8a7d6e;
    --red: #e2001a;
    --red-deep: #a10014;
    --tint: #fffde7;
    --coral: #ff6b5b;
    --gold: #FFF100;
    --pink: #ff8fa3;
    --band: #f2f0ee;
    --rule-soft: #f1e6da;
    --focus: #2a63c9;
    --shadow: rgba(60, 40, 20, 0.1);
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

h1,
h2,
h3 {
    text-wrap: balance;
    margin: 0;
}

a {
    color: inherit;
}

mark {
    background: none;
    color: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

@media (min-width: 768px) {
    .sp-display{
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- confetti ---------- */
.confetti-field {
    width: 100%;
    position: absolute;
    inset: 0;
    /* overflow: hidden; */
    pointer-events: none;
    z-index: 0;
}

.confetti {
    position: absolute;
    animation: bob 5s ease-in-out infinite;
}

.confetti.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.confetti.sq {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.confetti.bar {
    width: 20px;
    height: 7px;
    border-radius: 4px;
}

.confetti.c1 {
    background: var(--red);
}

.confetti.c2 {
    background: var(--coral);
}

.confetti.c3 {
    background: var(--gold);
}

.confetti.c4 {
    background: var(--pink);
}

@keyframes bob {
    0%, 100% {
        transform: translateY(0) rotate(var(--rot, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(var(--rot, 0deg));
    }
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding: 72px 24px 60px;
    text-align: center;
    width: 100%;
    /* overflow: hidden; */
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.partner-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 12px;
    flex-wrap: wrap;
    background-color: var(--bg);
}

.logo-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(40%, 200px);
}

.logo-slot.daily{
    width: min(34%, 150px);
}

.logo-slot img{
    width: 100%;
}

.partner-row .x-mark {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--ink-soft);
}

.sponsor-block {
    margin: 0 0 24px;
    background-color: var(--bg);
}

.sponsor-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sponsor-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
}

.logo-slot.sponsor {
    min-width: 100px;
    min-height: 34px;
    font-size: 0.66rem;
    padding: 10px 16px;
}

.hero__statement {
    font-weight: 900;
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    margin: 0 0 20px;
    color: var(--ink);
    line-height: 1.5;
}

.hero__statement .accent {
    color: var(--red);
}

.hero__title {
    font-weight: 900;
    font-size: clamp(2.3rem, 5.6vw, 3.8rem);
    line-height: 1.24;
    background: linear-gradient(90deg, var(--red-deep), var(--red) 35%, var(--coral) 65%, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 560px;
    margin: 44px auto 0;
}

.hero-photo-grid img {
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 22px var(--shadow);
}

.result-copy {
    max-width: 580px;
    margin: 44px auto 0;
    text-align: left;
}

.result-copy p {
    margin: 18px 0 0;
    font-size: 1rem;
    line-height: 1.95;
    color: var(--ink-soft);
}

.result-copy p:first-child {
    margin-top: 0;
}

.result-copy mark {
    color: var(--ink);
    padding: 2px 6px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    font-weight: 900;
}

.result-copy p.theme-line {
    margin: 26px 0;
    text-align: center;
    white-space: nowrap;
}

.result-copy p.theme-line mark {
    display: inline-block;
    font-size: 1.3rem;
    line-height: 1.5;
    padding: 10px 26px;
    border-radius: 14px;
    box-shadow: 0 6px 16px var(--shadow);
}

@media (max-width: 640px) {
    .partner-row {
        margin: 0;
    }

    .hero-photo-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .result-copy p.theme-line {
        white-space: normal;
    }

    .result-copy p.theme-line mark {
        font-size: 1.08rem;
        padding: 10px 18px;
    }
}

/* ---------- subnav ---------- */
.subnav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule-soft);
}

.subnav__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
}

.subnav a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--ink-soft);
    padding: 8px 18px;
    border-radius: 999px;
    transition: color .15s, background-color .15s;
}

.subnav a:hover {
    background: var(--tint);
    color: var(--ink);
}

.subnav a.active {
    background: var(--red);
    color: #fff;
}

.subnav a:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

main {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section__head {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section__eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--red);
    margin-bottom: 10px;
}

.section__head h2 {
    font-weight: 900;
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
}

.section__head p {
    margin: 16px 0 0;
    color: var(--ink-soft);
    line-height: 1.85;
}

@media (max-width: 640px) {
    .section{
        padding: 40px 0;
    }
}

/* ---------- logo tiles (画像枠) ---------- */
.logo-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--band);
    border: 1px solid var(--rule-soft);
    box-shadow: 0 8px 18px var(--shadow);
    transition: transform .18s ease;
}

.logo-tile.thumbnail{
    cursor: pointer;
}

.logo-tile.thumbnail:hover {
    transform: translateY(-4px) scale(1.02);
}

.logo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-tile.big {
    border-radius: 24px;
}

/* .tile-wordmark {
    margin-top: 8px;
    font-weight: 900;
    font-size: 0.72rem;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
} */

/* ---------- tier banner ---------- */
.tier-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 18px;
    padding: 16px 24px;
    margin: 0 0 40px;
    font-weight: 900;
    font-size: 1.08rem;
    color: var(--ink);
}

.tier-banner svg {
    width: 22px;
    height: 22px;
    color: var(--red);
    flex: none;
}

.tier-banner.gold {
    background: var(--band);
}

.tier-banner.rose {
    background: var(--gold);
}

.tier-banner.top {
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: #fff;
    font-size: 1.32rem;
    padding: 22px 30px;
    margin-bottom: 40px;
    box-shadow: 0 12px 28px var(--shadow);
    letter-spacing: 0.02em;
}

.tier-banner.top svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.tier-banner.rose-prominent {
    background: linear-gradient(135deg, var(--pink), var(--coral));
    color: #fff;
    font-size: 1.32rem;
    padding: 22px 30px;
    margin-bottom: 40px;
    box-shadow: 0 12px 28px var(--shadow);
    letter-spacing: 0.02em;
}

.tier-banner.rose-prominent svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.tier-banner.gold-prominent {
    background: linear-gradient(135deg, var(--gold), #e08e12);
    color: #fff;
    font-size: 1.32rem;
    padding: 22px 30px;
    margin-bottom: 40px;
    box-shadow: 0 12px 28px var(--shadow);
    letter-spacing: 0.02em;
}

.tier-banner.gold-prominent svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.award-tier {
    margin-bottom: 60px;
}

.award-tier:last-child {
    margin-bottom: 0;
}

/* ---------- award entries ---------- */
.award-entry {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 6px 0 34px;
}

.award-entry:not(:last-child) {
    border-bottom: 1px solid var(--rule-soft);
}

.award-entry__media {
    flex: none;
    width: 25%;
    text-align: center;
}

.award-entry__body {
    flex: 1;
}

.award-entry__title {
    font-weight: 900;
    font-size: 1.12rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.award-entry__title .tag {
    color: var(--red);
}

.award-entry__comment {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--ink);
}

.award-entry--feature .award-entry__media {
    width: 30%;
}

.award-entry--feature .award-entry__title {
    font-size: 1.4rem;
}

.sponsor-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sponsor-row {
    display: flex;
    gap: 24px;
    align-items: start;
    padding: 22px 26px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--bg);
    box-shadow: 0 8px 20px var(--shadow);
}

.sponsor-row .logo-tile{
    width: 25%;
}

.sponsor-row__title {
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 6px;
}

.sponsor-row__title .tag {
    color: var(--red);
}

/* .sponsor-row__logo-slot {
    flex: none;
    width: 130px;
    height: 76px;
    border-radius: 12px;
    border: 2px dashed var(--rule-soft);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.5;
} */

.sponsor-row__body {
    flex: 1;
}

.sponsor-row__comment {
    font-size: 0.94rem;
    line-height: 1.85;
    color: var(--ink);
    margin: 0;
}

@media (max-width: 640px) {
    .award-entry,
    .sponsor-row {
        flex-direction: column;
        align-items: center;
        /* text-align: center; */
        gap: 12px;
    }

    .award-entry{
        padding: 0;
    }

    .sponsor-row{
        margin-bottom: 0;
    }

    .award-entry__media,
    .sponsor-row .logo-tile{
        width: 80%;
    }

    .award-entry--feature .award-entry__media{
        width: 100%;
    }
}

/* ---------- excellent carousel ---------- */
/* .excellent-hint {
    text-align: center;
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.excellent-carousel-wrap {
    position: relative;
}

.excellent-carousel-wrap::before,
.excellent-carousel-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 18px;
    width: 46px;
    z-index: 2;
    pointer-events: none;
}

.excellent-carousel-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.excellent-carousel-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
} */

/* .excellent-carousel {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 150px;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 6px 8px 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--rule-soft);
} */

/* .excellent-carousel::-webkit-scrollbar {
    height: 8px;
}

.excellent-carousel::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 4px;
}

.excellent-carousel::-webkit-scrollbar-track {
    background: var(--rule-soft);
    border-radius: 4px;
} */

.excellent-card {
    scroll-snap-align: start;
    background: var(--tint);
    border-radius: 20px;
    /* padding: 14px; */
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 8px 18px var(--shadow);
    transition: transform .18s ease;
}

/* .excellent-card:hover {
    transform: translateY(-4px);
} */

.excellent-card .no {
    font-weight: 800;
    font-size: 0.7rem;
    color: var(--red-deep);
}

/* .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--red);
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px var(--shadow);
    transition: background-color .15s, color .15s;
}

.carousel-nav:hover {
    background: var(--red);
    color: #fff;
}

.carousel-nav:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.carousel-nav.prev {
    left: -4px;
}

.carousel-nav.next {
    right: -4px;
} */

/* @media (max-width: 860px) {
    .carousel-nav {
        display: none;
    }

    .excellent-carousel-wrap::before,
    .excellent-carousel-wrap::after {
        display: none;
    }
} */

/* ---------- gallery / months ---------- */
.tabbar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.tabbar button {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    border: none;
    background: var(--band);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color .15s, color .15s, transform .15s;
}

.tabbar button .n {
    font-weight: 900;
    font-size: 1.05rem;
}

.tabbar button .c {
    font-size: 0.72rem;
    opacity: 0.8;
}

.tabbar button:hover {
    transform: translateY(-2px);
}

.tabbar button[aria-selected="true"] {
    background: var(--red);
    color: #fff;
}

.tabbar button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.month-panel {
    display: none;
}

.month-panel.active {
    display: block;
}

.month-panel__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 24px;
}

.month-panel__head .big {
    font-weight: 900;
    font-size: 2rem;
    color: var(--red);
}

.month-panel__head .cnt {
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(47%, 200px), 1fr));
    justify-content: center;
    gap: 16px;
}

.work-card {
    text-align: center;
    width: 100%;
}

.work-card .logo-tile {
    margin-bottom: 10px;
}

.work-card .school {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ink-soft);
}

/* ---------- footer ---------- */
.site-footer {
    background: var(--band);
    padding: 44px 24px;
    text-align: center;
}

.site-footer .brands {
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.site-footer .fine {
    font-size: 0.78rem;
    color: var(--ink-soft);
}

@media (max-width: 767px) {
    /* .award-entry,
    .sponsor-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    } */

    .tabbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* .work-grid {
        grid-template-columns: repeat(3, 1fr);
    } */
}

/* ==========================================================================
   拡大表示モーダル (Lightbox)
   ========================================================================== */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* 表示状態 */
.image-modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* 背景オーバーレイ */
.image-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

/* モーダルコンテンツ */
.image-modal__content {
    position: relative;
    z-index: 1001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.5s ease;
}

.image-modal.is-open .image-modal__content {
    transform: scale(1);
}

/* 拡大画像 */
.image-modal__img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #fff;
}

/* 閉じるボタン（×） */
.image-modal__close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.image-modal__close:hover {
    opacity: 0.8;
    transform: scale(1.1);
}
