@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Zen+Maru+Gothic:wght@500;700&display=swap');

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

body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    background-color: #fffff6;
    color: #333;
    line-height: 1.7;
}

h1,
h2,
h3,
nav a,
button {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

.hero {
    width: 100%;
    height: calc(100vh - 60px);
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    filter:brightness(93%);
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-home,
.hero-about {
    background-image: url('../img/hero_home_main.png');
}

.page-hero {
    position: relative;
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.page-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(42, 28, 82, 0.58), rgba(42, 28, 82, 0.22));
    content: "";
}

.page-hero-news {
    background-image: url('../img/hero_home_main.png');
    background-position: center 70%;
}

.page-hero-about {
    background-image: url('../img/hero_home_main.png');
    background-position: center 70%;
}

.page-hero-characters {
    background-image: url('../img/hero_home_main.png');
    background-position: center 58%;
}

.page-hero-text {
    position: relative;
    width: min(100%, 1120px);
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(34, 22, 66, 0.45);
}

.page-hero-text .section-kicker {
    color: #ffffff;
}

.page-hero-text h1 {
    margin-bottom: 12px;
    font-size: 48px;
    line-height: 1.25;
}

.page-hero-text p {
    max-width: 620px;
    font-size: 18px;
}

.hero-text {
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    transform: translateY(-180px);
}

.hero-logo {
    display: block;
    width: min(860px, calc(100vw - 48px));
    height: auto;
    margin-bottom: 20px;
    animation: hero-logo-enter 720ms ease-out both;
    filter:
        drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34));
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2bceff;
    -webkit-text-stroke: 0.5px #000000;
}

.hero-text p {
    display: inline-block;
    padding: 10px 22px 12px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.82);
    color: #4a327f;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: none;
    box-shadow: 0 8px 20px rgba(42, 28, 82, 0.22);
    -webkit-text-stroke: 0;
    animation: hero-label-enter 680ms ease-out 260ms both;
}

@keyframes hero-logo-enter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

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

@keyframes hero-label-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.content section {
    margin-bottom: 32px;
}

.home-section {
    padding: 56px 0;
    border-bottom: 1px solid rgba(123, 104, 238, 0.14);
}

.home-section:last-child {
    border-bottom: none;
}

.home-intro {
    max-width: 880px;
}

.home-intro h1,
.home-section h2 {
    color: #4a327f;
    line-height: 1.35;
}

.home-intro h1 {
    margin-bottom: 18px;
    font-size: 36px;
}

.home-section h2 {
    margin-bottom: 18px;
    font-size: 30px;
}

.home-section p {
    color: #4b4558;
}

.section-kicker {
    margin-bottom: 8px;
    color: #e35fcf;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.home-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 16px;
    border: 2px solid rgba(123, 104, 238, 0.2);
    border-radius: 999px;
    background-color: #ffffff;
    color: #5e47c4;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.text-link:hover {
    border-color: rgba(227, 95, 207, 0.55);
    box-shadow: 0 8px 18px rgba(78, 58, 145, 0.12);
    transform: translateY(-2px);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.status-card,
.coming-soon-box,
.home-news-item {
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
}

.status-card {
    padding: 22px;
}

.status-card h3 {
    margin-bottom: 8px;
    color: #4a327f;
    font-size: 20px;
}

.character-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 20px;
    align-items: stretch;
}

.character-profile {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: center;
}

.character-profile-visual {
    display: flex;
    min-height: 420px;
    align-items: end;
    justify-content: center;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, #f3efff, #ffffff);
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
    overflow: hidden;
}

.character-profile-visual img {
    display: block;
    width: min(100%, 360px);
    height: auto;
    filter: drop-shadow(0 14px 18px rgba(78, 58, 145, 0.12));
}

.character-profile-body h1 {
    margin-bottom: 8px;
    color: #4a327f;
    font-size: 42px;
    line-height: 1.25;
}

.character-subtitle {
    margin-bottom: 18px;
    color: #7a3a94;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.character-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.character-tags span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background-color: rgba(227, 95, 207, 0.12);
    color: #7a3a94;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.character-detail-grid,
.character-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-character-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.character-detail-card,
.character-card {
    padding: 22px;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
}

.character-detail-card h3,
.character-card h3 {
    margin-bottom: 8px;
    color: #4a327f;
    font-size: 20px;
}

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

.home-character-image {
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    align-items: end;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #f3efff, #ffffff);
    overflow: hidden;
}

.home-character-image img {
    display: block;
    width: 88%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 12px 16px rgba(78, 58, 145, 0.12));
}

.character-placeholder {
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #5f5f5f, #3f3f3f);
    color: #ffffff;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 72px;
    font-weight: 700;
}

.character-preview-image {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    align-items: end;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8f4ff, #ffffff);
    overflow: hidden;
}

.character-preview-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: brightness(0.46) saturate(0.55);
}

.character-preview-image span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 72px;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(42, 28, 82, 0.45);
    transform: translate(-50%, -50%);
}

.coming-soon-box {
    padding: 22px;
}

.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-news-item {
    display: grid;
    grid-template-rows: 160px 1fr;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-news-item:hover {
    box-shadow: 0 14px 28px rgba(78, 58, 145, 0.14);
    transform: translateY(-3px);
}

.home-news-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f5f0ff;
}

.home-news-item div {
    padding: 16px;
}

.home-news-item h3 {
    color: #333;
    font-size: 18px;
    line-height: 1.45;
}

.home-news-date,
.empty-message {
    color: #7a7288;
    font-size: 13px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.store-card {
    min-height: 150px;
    padding: 24px;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(252, 247, 255, 0.94));
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
}

.store-platform {
    margin-bottom: 8px;
    color: #5e47c4;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.store-card h3 {
    margin-bottom: 10px;
    color: #4a327f;
    font-size: 24px;
}

.store-status {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background-color: rgba(227, 95, 207, 0.12);
    color: #7a3a94;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.store-note {
    margin-top: 14px;
    color: #7a7288;
    font-size: 14px;
}

.home-survey-section {
    padding: 28px;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(252, 247, 255, 0.94));
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
}

.about-intro {
    max-width: 920px;
}

.about-intro h1 {
    margin-bottom: 18px;
    color: #4a327f;
    font-size: 36px;
    line-height: 1.35;
}

.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-value-card {
    padding: 22px;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
}

.about-value-card h3 {
    margin-bottom: 8px;
    color: #4a327f;
    font-size: 20px;
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 20px;
    align-items: stretch;
}

.about-roadmap {
    display: grid;
    gap: 14px;
}

.about-roadmap div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.88);
}

.about-roadmap span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background-color: rgba(227, 95, 207, 0.12);
    color: #7a3a94;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.news-article {
    max-width: 880px;
    margin: 0 auto;
}

.news-article-hero {
    display: block;
    width: 100%;
    height: min(620px, 72vh);
    margin-bottom: 28px;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(252, 247, 255, 0.94));
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
    object-fit: contain;
}

.news-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.news-screenshot-grid figure {
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
    overflow: hidden;
}

.news-screenshot-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 12;
    object-fit: cover;
    object-position: top;
    background-color: #f5f0ff;
}

.news-screenshot-grid figcaption {
    padding: 12px 14px 14px;
    color: #4a327f;
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
}

.news-article h1 {
    margin-bottom: 8px;
    color: #4a327f;
    font-size: 36px;
    line-height: 1.35;
}

.news-article p {
    margin-bottom: 16px;
    color: #4b4558;
}

.news-survey-box {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid rgba(123, 104, 238, 0.16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(252, 247, 255, 0.94));
    box-shadow: 0 10px 24px rgba(78, 58, 145, 0.08);
}

.news-survey-box h2 {
    margin-bottom: 8px;
    color: #4a327f;
    font-size: 24px;
}

.news-survey-box .text-link {
    margin-top: 4px;
}

.last-updated {
    color: #7a7288;
    font-size: 14px;
}

.link-section {
    padding-bottom: 24px;
}

.lead {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 420px;
        padding: 0 18px;
    }

    .hero-home,
    .hero-about,
    .page-hero-news,
    .page-hero-about,
    .page-hero-characters {
        background-image: url('../img/hero_home_main_m.png');
    }

    .page-hero {
        min-height: 280px;
        padding: 48px 20px;
    }

    .page-hero-news {
        background-position: center 24%;
    }

    .page-hero-about {
        background-position: center 30%;
    }

    .page-hero-characters {
        background-position: center 30%;
    }

    .page-hero::before {
        background: linear-gradient(180deg, rgba(42, 28, 82, 0.5), rgba(42, 28, 82, 0.2));
    }

    .page-hero-text h1 {
        font-size: 34px;
    }

    .page-hero-text p {
        font-size: 15px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-logo {
        width: min(530px, calc(100vw - 36px));
        margin-bottom: 14px;
    }

    .hero-text {
        transform: translateY(-200px);
    }

    .hero-text p {
        padding: 8px 14px 9px;
        border-width: 2px;
        font-size: 20px;
    }

    .content {
        padding: 32px 20px;
    }

    .home-section {
        padding: 42px 0;
    }

    .home-intro h1 {
        font-size: 28px;
    }

    .about-intro h1 {
        font-size: 28px;
    }

    .home-section h2 {
        font-size: 25px;
    }

    .status-grid,
    .character-feature,
    .character-profile,
    .character-detail-grid,
    .character-card-grid,
    .home-character-grid,
    .home-news-grid,
    .store-grid,
    .about-value-grid,
    .about-split {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-news-item {
        grid-template-rows: 180px 1fr;
    }

    .character-profile-visual {
        min-height: 320px;
    }

    .character-profile-body h1 {
        font-size: 34px;
    }

    .news-screenshot-grid {
        grid-template-columns: 1fr;
    }

    .news-article h1 {
        font-size: 28px;
    }

    .news-article-hero {
        height: min(520px, 62vh);
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .hero-text p {
        animation: none;
    }
}
