/*
Theme Name: Project Syn-Aps
Description: Project Syn-Aps 公式サイトの再現テーマ。
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: project-syn-aps
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: Montserrat;
    src: url("assets/montserrat-latin.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent-pink: #ff007b;
    --accent-cyan: #00bcd4;
    --accent-yellow: #ffeb3b;
    --synaps-content-size: 16px;
    font-size: 16px;
    scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    background: #fff;
    color: #333;
    font: 500 1rem/1.6 "Helvetica Neue", Arial, sans-serif;
}

.synaps-home {
    margin-bottom: 6rem;
    background: #f7f7f7;
    font-size: var(--synaps-content-size);
    line-height: 1.8;
}
.synaps-home h1, .synaps-home p { margin: 0; }
.synaps-home h2, .synaps-home h3, .synaps-home h4 {
    position: relative;
    font-weight: 700;
    line-height: 1.4;
}
.synaps-home h2 {
    z-index: 1;
    margin: 4em 0 2em;
    font: 700 1.4em/1.4 Montserrat, sans-serif;
}
.synaps-home h3 { margin: 3em 0 2em; font-size: 1.3em; }
.synaps-home h4 { margin: 3em 0 1.5em; font-size: 1.2em; }
.synaps-home h2:first-child, .synaps-home h4:first-child { margin-top: 0; }
.synaps-home img { max-width: 100%; height: auto; }
.sp-br { display: none; }

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    min-height: 600px;
    height: 85vh;
    background: #000;
    color: #fff;
}
.geo-bg { position: absolute; inset: 0; z-index: 1; }
.hero-flex-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}
.hero-content { flex: 1; margin-bottom: 25vh; }
.hero-logo { margin-bottom: 20px; animation: logo-fade-in 1.5s ease-out; }
.hero-logo img {
    width: 40vw;
    max-width: 600px;
    min-width: 280px;
    filter: drop-shadow(0 0 20px rgba(255, 0, 123, .5))
            drop-shadow(0 0 40px rgba(0, 188, 212, .2));
}
.glitch-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 188, 212, .4));
    font-size: 2em;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.02em;
}
.accent-x {
    display: inline-block;
    margin: 0 .1em;
    transform: rotate(10deg);
    -webkit-text-fill-color: var(--accent-pink);
    filter: drop-shadow(0 0 10px var(--accent-pink));
    font-size: .9em;
    animation: pulse-pink 3s infinite ease-in-out;
}
.hero p { margin-top: 20px; font-size: 1.2rem; letter-spacing: .1em; opacity: .8; }
.hero-image-container { flex: 1.2; display: flex; align-items: flex-end; justify-content: flex-end; }
.main-image {
    display: block;
    width: auto;
    max-height: 98vh;
    filter: drop-shadow(0 0 20px rgba(0, 188, 212, .3));
}

@keyframes logo-fade-in {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-pink {
    0%, 100% { filter: drop-shadow(0 0 10px var(--accent-pink)); opacity: 1; }
    50% { filter: drop-shadow(0 0 20px var(--accent-pink)); opacity: .8; }
}

.split-container { display: flex; height: 300px; }
.split-box {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: .4s;
}
.tech { background: var(--accent-cyan); }
.music { background: var(--accent-yellow); color: #333; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 5%; }
.content-section, .audition-section { padding: 120px 0; text-align: center; }
.concept-bg { background: #fdfdfd; }
.synaps-home .mission-label {
    display: inline-flex;
    align-items: center;
    padding-left: 50px;
    color: var(--accent-cyan);
    letter-spacing: .4em;
}
.mission-label::before {
    position: absolute;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    content: "";
}
.mission-label::after {
    flex-grow: 1;
    width: 100px;
    height: 1px;
    margin-left: 20px;
    background: linear-gradient(to right, var(--accent-cyan), transparent);
    content: "";
}
.mission-title { text-shadow: 0 0 15px rgba(0, 188, 212, .1); }
.synaps-home .lead {
    margin-bottom: 40px;
    color: var(--accent-pink);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .15em;
}
.synaps-home .mission-highlight {
    display: inline-block;
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--accent-pink);
    color: var(--accent-pink);
    font-size: 1.2rem;
    font-weight: 900;
    text-align: left;
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #000; color: #fff; }
.feature-item { padding: 60px 40px; border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.feature-icon { margin-bottom: 20px; color: var(--accent-cyan); font-size: 1.2rem; font-weight: 900; }

.grid-section, .talents-section { padding: 100px 5%; text-align: center; }
.synaps-home .grid-section h2, .synaps-home .talents-section h2 { margin-top: 4em; }
.card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-weight: 700;
}
.synaps-home .card h4 { margin-bottom: 0; }
.talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
}
.talent-card { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 5px 25px rgba(0, 0, 0, .05); }
.talent-img-wrapper { overflow: hidden; aspect-ratio: 1; }
.talent-img-wrapper img { width: 100%; }

.audition-section { background: #000; color: #fff; }
.audition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
    text-align: left;
}
.requirements ul { margin: 0; padding-left: 1.5em; }
.requirements li { margin: .25em 0; line-height: 1.5; }
.apply-btn {
    display: inline-block;
    padding: 20px 80px;
    background: var(--accent-pink);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
}

.synaps-entry {
    width: min(900px, 90%);
    min-height: 50vh;
    margin: 3rem auto 6rem;
    font-size: var(--synaps-content-size);
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.synaps-entry img { max-width: 100%; height: auto; }
.synaps-entry a { color: #1176d4; }

.synaps-footer { padding: 40px; background: #fdfdfd; color: #333; font-size: .8rem; text-align: center; }
.synaps-footer p { margin: 0; padding: .8rem 0; font-size: 12px; }
.synaps-back-to-top {
    position: fixed;
    right: 1rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom) / 2);
    z-index: 99;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid #04384c;
    border-radius: 50%;
    background: #fff;
    color: #04384c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s, visibility .3s, transform .3s, background-color .25s, color .25s;
    cursor: pointer;
}
.synaps-back-to-top.is-visible { opacity: .75; visibility: visible; transform: translateY(0); }
.synaps-back-to-top:hover, .synaps-back-to-top:focus-visible { background: #04384c; color: #fff; opacity: 1; }

@media (min-width: 960px) {
    .synaps-back-to-top { right: 2.5rem; bottom: 2.5rem; }
}
@media (max-width: 768px) {
    .sp-br { display: inline; }
    .pc-br { display: none; }
    .hero { height: auto; min-height: 80vh; padding-top: 60px; }
    .hero-flex-container { flex-direction: column; align-items: center; justify-content: flex-end; }
    .hero-content { z-index: 3; margin-bottom: 50px; text-align: center; }
    .hero-logo img { width: 80vw; max-width: 400px; }
    .hero-image-container { width: 100%; justify-content: center; }
    .main-image { max-height: 50vh; }
    .features-grid, .talent-grid { grid-template-columns: repeat(2, 1fr); }
    .audition-content { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
    :root { --synaps-content-size: 4vw; font-size: 3.6vw; }
    .synaps-home h2 { font-size: 1.2em; }
    .synaps-home h3 { font-size: 1.1em; }
    .synaps-home h4 { font-size: 1.05em; }
}
