:root {
    /* Colors */
    --primary-red: #E60012;
    --primary-blue: #001E43;
    --secondary-blue: #0B3D91;
    --accent-gold: #D4AF37;
    --accent-cyan: #00FFFF;

    /* Base Theme */
    --dark-bg: #081020;
    /* Deep Navy */
    --text-white: #FFFFFF;
    --text-gray: #B0B8C4;

    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Angle for diagonal lines */
    --skew-angle: -5deg;
}

/* Base Styles with Root Specificity */
.lp-delivery-root {
    --primary-blue: #001e43;
    --primary-red: #d91c1c;
    --accent-gold: #c5a059;
    --text-white: #ffffff;
    --text-black: #333333;
    --bg-light: #f8f9fa;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

.lp-delivery-root {
    font-family: var(--font-body) !important;
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Force Fonts */
.lp-delivery-root h1,
.lp-delivery-root h2,
.lp-delivery-root h3,
.lp-delivery-root .hero-title,
.lp-delivery-root .hero-subtitle,
.lp-delivery-root .section-title,
.lp-delivery-root .concept-sub-title,
.lp-delivery-root .entry-title {
    font-family: var(--font-heading) !important;
    font-style: italic !important;
}

.lp-delivery-root p,
.lp-delivery-root li,
.lp-delivery-root a,
.lp-delivery-root span,
.lp-delivery-root div {
    font-family: var(--font-body) !important;
}

/* Reset & Base */
/* Note: SWELL likely has its own reset, so minimal reset here might be safer, but keeping original for fidelity */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('./images/bg_texture.png');
    background-repeat: repeat;
    background-blend-mode: overlay;
    background-attachment: fixed;
    overflow-wrap: break-word;
    /* Prevent content overflow */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.lp-delivery-root .container {
    width: 90% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Typography Utility */
.lp-delivery-root .ja-sub {
    font-family: var(--font-body) !important;
    font-size: 0.5em !important;
    display: block !important;
    font-weight: normal !important;
    margin-top: 5px !important;
    opacity: 0.8 !important;
}

.ja-sub {
    font-family: var(--font-body);
    font-size: 0.5em;
    display: block;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.8;
}

/* Navigation */
.lp-delivery-root .sticky-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 80px !important;
    background: rgba(8, 16, 32, 0.95) !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 2px solid var(--primary-red) !important;
    backdrop-filter: blur(10px) !important;
}

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(8, 16, 32, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--primary-red);
    backdrop-filter: blur(10px);
}

.sticky-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
}

.lp-delivery-root .nav-btn {
    background: var(--primary-red) !important;
    color: #fff !important;
    padding: 12px 30px !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-style: italic !important;
    border-radius: 0 !important;
    transform: skewX(-20deg) !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.nav-btn {
    background: var(--primary-red);
    color: #fff;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    border-radius: 0;
    transform: skewX(-20deg);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 10px rgba(230, 0, 18, 0.3);
}

.nav-btn:hover {
    background: var(--text-white);
    color: var(--primary-red);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: skewX(-20deg) translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    /* Slightly larger for parallax possibility */
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(8, 16, 32, 0.7) 0%,
            rgba(0, 30, 67, 0.4) 50%,
            rgba(8, 16, 32, 1) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding-top: 60px;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 40px;
    /* Rich multi-layer shadow for visibility and style */
    text-shadow:
        2px 2px 0px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    display: block;
}

.hero-title .line-1 {
    /* Slightly smaller max size and viewport scaling to fit "U-15 & U-13" */
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--accent-gold);
}

.hero-title .line-2 {
    font-size: clamp(1.5rem, 9vw, 4.5rem);
    /* Drastically reduced min size for mobile */
    letter-spacing: clamp(1px, 0.5vw, 5px);
    white-space: nowrap;
    /* Force single line */
}

.hero-title .line-3 {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    letter-spacing: 2px;
}

.hero-title .line-4 {
    font-size: clamp(1rem, 4vw, 2.5rem);
    /* 微調整 */
    color: var(--accent-cyan);
    letter-spacing: clamp(3px, 0.8vw, 12px);
    margin-top: 15px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center vertically */
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.hero-date {
    display: inline-block;
    background: rgba(8, 16, 32, 0.8);
    padding: 15px 40px;
    border: 2px solid var(--text-white);
    /* margin-bottom: 40px; Removed, handled by container */
    font-family: var(--font-heading);
    transform: skewX(-10deg);
    backdrop-filter: blur(5px);
    vertical-align: middle;
}

.hero-date>span {
    display: inline-block;
    transform: skewX(10deg);
}

.year {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.month-day {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.day-suffix {
    font-size: 1.2rem;
    margin-left: 8px;
    color: #ccc;
    font-weight: normal;
}

/* Shimmer Animation Keyframes */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Pulse Animation for constant attention */
@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(230, 0, 18, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 18, 0);
    }
}

.lp-delivery-root .hero-cta {
    display: inline-block !important;
    background: linear-gradient(135deg, #E60012 0%, #ff1a2c 50%, #B3000E 100%) !important;
    background-size: 200% 100% !important;
    color: #fff !important;
    padding: 24px 60px !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    transform: skewX(-10deg) !important;
    border: 2px solid #fff !important;
    box-shadow: 0 10px 40px rgba(230, 0, 18, 0.5) !important;
    position: relative !important;
    text-decoration: none !important;
    animation: btnPulse 2s infinite !important;
}

.hero-cta {
    display: inline-block;
    /* Gradient Background */
    background: linear-gradient(135deg, #E60012 0%, #ff1a2c 50%, #B3000E 100%);
    background-size: 200% 100%;
    color: #fff;
    padding: 24px 60px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    transform: skewX(-10deg);
    /* Border and Shadow */
    border: 2px solid #fff;
    box-shadow: 0 10px 40px rgba(230, 0, 18, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: btnPulse 2s infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    vertical-align: middle;
}

/* Shimmer overlay element */
.hero-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite linear;
    pointer-events: none;
}

.hero-cta:hover {
    transform: skewX(-10deg) translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(230, 0, 18, 0.8);
    background: linear-gradient(135deg, #ff1a2c 0%, #ff4d5a 50%, #E60012 100%);
}

.hero-cta span {
    display: inline-block;
    transform: skewX(10deg);
    /* Counter-skew text */
}



.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-white);
    z-index: 10;
}

/* Fix for fade-up animation conflict on centered element */
.scroll-down.fade-up {
    transform: translateY(40px);
}

.scroll-down.fade-up.is-visible {
    transform: translateY(0);
}

.scroll-down span {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
    opacity: 0.8;
}

.scroll-down .arrow {
    width: 2px;
    height: 70px;
    background: linear-gradient(to bottom, var(--text-white) 0%, transparent 100%);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-down .arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.lp-delivery-root .section {
    padding: 120px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.lp-delivery-root .section-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    font-style: italic !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 80px !important;
    letter-spacing: 2px !important;
    line-height: 1 !important;
    color: var(--text-white) !important;
    display: block !important;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    /* Reduced min size from 2.5rem */
    font-style: italic;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--text-white);
}

.lp-delivery-root .section-title span.ja-sub {
    display: block !important;
    font-style: normal !important;
    font-size: 1.2rem !important;
    margin-top: 15px !important;
    color: var(--accent-gold) !important;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    text-align: center !important;
}

.section-title span.ja-sub {
    display: block;
    font-style: normal;
    font-size: 1.2rem;
    margin-top: 15px;
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-weight: 400;
}

/* Diagonal Box Styles */
.lp-delivery-root .diagonal-box {
    position: relative !important;
    background-color: #F8F9FA !important;
    color: var(--primary-blue) !important;
    transform: skewY(var(--skew-angle)) !important;
    padding: 140px 0 !important;
    margin: 0 !important;
}

body.lp-delivery-root .diagonal-box .section-title {
    color: var(--primary-red) !important;
}

.lp-delivery-root .diagonal-box .section-title span.ja-sub {
    color: var(--primary-blue) !important;
}

/* Specific override for sections that might not be diagonal-box but have light background */
.lp-delivery-root .location-section {
    background: #F8F9FA !important;
    color: var(--primary-blue) !important;
}

body.lp-delivery-root .location-section .section-title {
    color: var(--primary-blue) !important;
}

.lp-delivery-root .location-section .section-title span.ja-sub {
    color: #666666 !important;
}

.diagonal-box {
    position: relative;
    background-color: #F8F9FA;
    color: var(--primary-blue);
    transform: skewY(var(--skew-angle));
    padding: 140px 0;
    margin: 0;
}

.diagonal-box .section-title {
    color: var(--primary-blue);
}

.diagonal-box .content-wrapper {
    transform: skewY(calc(var(--skew-angle) * -1));
}

.diagonal-box::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, var(--primary-blue) 50%);
    z-index: -1;
    display: none;
    /* Removed simpler styling */
}

.diagonal-box-reverse {
    position: relative;
    background-color: var(--primary-blue);
    color: #fff;
    transform: skewY(calc(var(--skew-angle) * -1));
    padding: 140px 0;
    margin: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diagonal-box-reverse .content-wrapper {
    transform: skewY(var(--skew-angle));
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s var(--ease-out-back, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s ease-out;
}

.slide-in-left.is-visible,
.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-item {
    text-align: center;
    border: 1px solid rgba(0, 30, 67, 0.2);
    padding: 40px 20px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: #fff;
}

.info-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 30, 67, 0.15);
    border-color: var(--primary-red);
}

.info-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 5px;
}

.info-item p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Features Section */
.features-section {
    padding-bottom: 0;
    /* Merge with next */
    margin-bottom: -50px;
}

.feature-box {
    display: flex;
    align-items: stretch;
    background: linear-gradient(90deg, #001E43 0%, #081020 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.feature-img {
    flex: 1;
    min-height: 500px;
    position: relative;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: luminosity;
    /* Stylistic choice */
    opacity: 0.9;
    transition: all 0.5s ease;
}

.feature-box:hover .feature-img img {
    mix-blend-mode: normal;
    opacity: 1;
}

.feature-text {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.4;
    border-left: 5px solid var(--accent-gold);
    padding-left: 30px;
    font-weight: 900;
    color: #fff;
    /* Explicitly white */
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Location Section */
.location-section {
    background: #F8F9FA;
    color: var(--primary-blue);
    padding: 150px 0 100px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 60px;
}

.location-item {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 30, 67, 0.1);
    transition: transform 0.4s ease;
}

.location-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 30, 67, 0.15);
}

.location-img {
    height: 300px;
    overflow: hidden;
}

.location-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.location-item:hover .location-img img {
    transform: scale(1.1);
}

.location-content {
    padding: 40px;
}

.location-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-style: italic;
}

.location-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

/* Concept Section Styles */
.lp-delivery-root .concept-content {
    max-width: 900px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.concept-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.lp-delivery-root .concept-lead {
    font-size: 1.15rem !important;
    line-height: 2.3 !important;
    margin-bottom: 80px !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-align: left !important;
    word-break: auto-phrase !important;
    color: var(--text-black) !important;
}

.concept-lead {
    font-size: 1.15rem;
    line-height: 2.3;
    /* 微増 */
    margin-bottom: 80px;
    /* 余白追加 */
    font-weight: 500;
    letter-spacing: 0.08em;
    /* 文字間追加 */
    text-align: justify;
    word-break: auto-phrase;
}

.concept-lead p {
    margin-bottom: 40px;
    /* 段落間追加 */
}

.lp-delivery-root .concept-sub-section {
    margin-top: 60px !important;
    background: #fff !important;
    padding: 50px !important;
    box-shadow: 0 20px 50px rgba(0, 30, 67, 0.05) !important;
    display: block !important;
}

.concept-sub-section {
    margin-top: 60px;
    background: #fff;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 30, 67, 0.05);
}

.lp-delivery-root .concept-sub-title {
    font-size: 1.8rem !important;
    color: var(--primary-blue) !important;
    margin-bottom: 50px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(0, 30, 67, 0.1) !important;
    padding-bottom: 20px !important;
    display: block !important;
    line-height: 1.4 !important;
    letter-spacing: 0.1em !important;
    text-align: left !important;
}

.concept-sub-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 30, 67, 0.1);
    padding-bottom: 20px;
    display: inline-block;
    line-height: 1.4;
    letter-spacing: 0.1em;
}

.concept-img {
    margin-top: 50px;
    /* 余白大幅追加 */
    margin-bottom: 60px;
    /* 余白大幅追加 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.concept-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.concept-img:hover img {
    transform: scale(1.02);
}

.lp-delivery-root .concept-body p {
    font-size: 1.05rem !important;
    line-height: 2.5 !important;
    margin-bottom: 40px !important;
    color: #333 !important;
    letter-spacing: 0.1em !important;
    text-align: left !important;
    word-break: auto-phrase !important;
}

.concept-body p {
    font-size: 1.05rem;
    line-height: 2.5;
    /* 微増 */
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 0.1em;
    /* 文字間拡大 */
    text-align: justify;
    word-break: auto-phrase;
}

@media (max-width: 768px) {
    .concept-sub-section {
        padding: 30px 20px;
    }

    .concept-lead {
        font-size: 1rem;
        line-height: 2.1;
        letter-spacing: 0.06em;
    }

    .concept-sub-title {
        font-size: 1.4rem;
    }
}

/* Recruitment Section Styles */
.recruitment-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.recruitment-lead {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.8;
}

.recruitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.recruit-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.recruit-category h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recruit-category h3 .ja {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-white);
    font-weight: normal;
}

.recruit-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recruit-details li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
    word-break: auto-phrase;
    /* モダンなブラウザで自然な句切りの改行を促す */
}

/* スタッフ募集特有の箇条書きスタイル */
.recruit-category.staff .recruit-details li {
    font-size: 0.9rem;
}

/* 文頭に「・」がつく箇条書きのみぶら下がりインデントを適用 */
.recruit-category.staff .recruit-details li.list-bullet {
    padding-left: 1em;
    text-indent: -1em;
}

.recruit-details li .label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 8px;
    color: var(--accent-gold);
}

.recruit-details li.note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.recruitment-message {
    font-size: 1.0rem;
    line-height: 2.2;
    /* 拡大 */
    margin-top: 60px;
    /* 余白追加 */
    letter-spacing: 0.08em;
    word-break: auto-phrase;
}

.recruitment-message strong {
    color: var(--accent-gold);
    display: block;
    margin-top: 30px;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}

/* Entry Callout Highlight */
.entry-callout {
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
}

.entry-callout p {
    margin-bottom: 0 !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.5 !important;
}

.entry-callout strong {
    color: var(--accent-cyan) !important;
    font-size: 2rem !important;
    display: inline-block !important;
    margin-top: 10px !important;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    animation: pulse-text 2s infinite;
}

@keyframes pulse-text {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Original coming soon styles removed or commented out if no longer needed */
/*
.coming-soon-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}
*/
.location-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    font-weight: 500;
}

/* Recruitment Section */
.recruitment-section {
    background: var(--primary-blue);
}

.recruitment-list {
    background: rgba(255, 255, 255, 0.03);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.recruitment-list dl {
    display: flex;
    flex-wrap: wrap;
}

.recruitment-list dt {
    width: 25%;
    font-weight: 700;
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.recruitment-list dd {
    width: 75%;
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    color: var(--text-white);
}

/* Entry CTA */
.entry-section {
    text-align: center;
    background: linear-gradient(180deg, #081020 0%, #001E43 100%);
    padding-bottom: 120px;
}

.entry-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-style: italic;
    color: var(--primary-red);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.entry-desc {
    font-size: 1.5rem;
    margin-bottom: 60px;
    color: var(--text-gray);
}

.entry-btn {
    display: inline-block;
    width: 100%;
    max-width: 600px;
    background: linear-gradient(45deg, #E60012, #B3000E);
    color: #fff;
    padding: 35px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.entry-btn:hover {
    transform: scale(1.03) translateY(-5px);
    background: linear-gradient(45deg, #ff1a2c, #E60012);
    box-shadow: 0 20px 50px rgba(230, 0, 18, 0.3);
}

.entry-btn span {
    display: block;
}

.entry-btn span:first-child {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
}

.entry-btn span.sub {
    font-size: 1.2rem;
    margin-top: 10px;
    letter-spacing: 2px;
}

.entry-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    background: #001E43;
    /* Navy instead of black */
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid var(--secondary-blue);
}

/* Responsive */

/* Tablet & Small Desktop (1024px) */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-item:last-child {
        grid-column: span 2;
    }

    .gallery-grid,
    .location-grid {
        gap: 30px;
    }

    .feature-text {
        padding: 50px;
    }

    .recruitment-list dt {
        width: 30%;
    }

    .recruitment-list dd {
        width: 70%;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .sticky-nav {
        height: 60px;
    }

    .nav-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .recruitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recruitment-lead {
        font-size: 1rem;
        text-align: left;
    }

    .recruitment-message {
        text-align: left;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .month-day {
        font-size: 1.8rem;
    }

    .hero-cta {
        padding: 15px 40px;
        font-size: 1.2rem;
    }

    /* Ensure hero content doesn't get cut off on short screens */
    .hero {
        min-height: 100dvh;
        padding-top: 60px;
        /* Space for nav */
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item:last-child {
        grid-column: auto;
    }

    /* Reduce heading size in info cards */
    .info-item h3 {
        font-size: 1.6rem;
    }

    .gallery-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-box {
        flex-direction: column;
    }

    .feature-img {
        min-height: 250px;
    }

    .feature-text {
        padding: 40px 20px;
    }

    .feature-text h2 {
        font-size: 1.8rem;
        border-left-width: 3px;
        padding-left: 15px;
    }

    .recruitment-list {
        padding: 30px 20px;
    }

    .recruitment-list dt,
    .recruitment-list dd {
        width: 100%;
        border-bottom: none;
        padding: 15px 10px;
    }

    .recruitment-list dt {
        padding-bottom: 5px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .recruitment-list dt:first-child {
        border-top: none;
    }

    .recruitment-list dd {
        padding-top: 5px;
        padding-bottom: 25px;
    }

    .entry-btn {
        padding: 25px;
    }

    .entry-btn span:first-child {
        font-size: 2.5rem;
    }

    .section,
    .diagonal-box,
    .diagonal-box-reverse {
        padding: 80px 0;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }

    .hero-date {
        padding: 10px 20px;
    }

    .month-day {
        font-size: 2.5rem;
    }

    .day-suffix {
        display: inline-block;
        margin-left: 5px;
    }

    .hero-cta {
        width: 100%;
        max-width: 300px;
        padding: 15px 0;
        text-align: center;
    }

    .scroll-down {
        bottom: 15px;
        /* Move lower to avoid overlap with CTA */
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    /* Better stacking for small screens */
    .location-content {
        padding: 30px 20px;
    }

    /* Ensure safe area for modern phones */
    footer {
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }

    .sticky-nav {
        padding-top: env(safe-area-inset-top, 0px);
        height: calc(60px + env(safe-area-inset-top, 0px));
    }
}

/* Entry Form Styles */
.entry-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    /* Slight rounded corners */
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-white);
    /* 視認性向上のため白に変更 */
    font-size: 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: none;
}

.form-group label .required {
    color: var(--primary-red);
    margin-left: 8px;
    font-size: 0.9em;
    vertical-align: top;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 18px;
    /* Larger interaction area */
    background: rgba(255, 255, 255, 0.95);
    /* Nearly opaque for readability */
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #081020;
    /* Dark text on light bg for max contrast */
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
    color: rgba(8, 16, 32, 0.5);
    /* Dark placeholder for white bg */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.form-group textarea {
    resize: vertical;
}

/* Radio Button Styles (Card UI) */
.radio-group {
    display: flex;
    gap: 20px;
    width: 100%;
}

.radio-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.radio-label input[type="radio"] {
    display: none;
}

/* Custom Checkbox (Hidden in Card UI but kept for structure if needed, or we can remove visual sync) */
.radio-custom {
    display: none;
    /* Hide default circle */
}

/* Active State for Card */
.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.radio-label:has(input[type="radio"]:checked)::after {
    content: '✔';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--accent-gold);
    font-size: 1.2rem;
    line-height: 1;
}

/* Submit Button Style (Replacing .entry-btn) */
.submit-btn {
    display: block;
    width: 100%;
    background: var(--primary-red);
    color: #fff;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transform: skewX(-10deg);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(230, 0, 18, 0.3);
    margin-top: 40px;
}

.submit-btn span {
    display: block;
    transform: skewX(10deg);
    line-height: 1.2;
}

.submit-btn .sub {
    font-size: 0.9rem;
    font-weight: 400;
    font-family: var(--font-body);
    opacity: 0.9;
}

.submit-btn:hover {
    background: var(--text-white);
    color: var(--primary-red);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: skewX(-10deg) translateY(-3px);
}

@media (max-width: 768px) {
    .entry-form-wrapper {
        padding: 30px;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
}

/* Contact Form 7 Compatibility Styles */
/* Force CF7 inputs to match our styles */
.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* CF7 defaults usually need this */
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* CF7 Radio Buttons as Cards */
.cf7-radio-cards .wpcf7-list-item {
    display: inline-block;
    width: calc(50% - 15px);
    /* Gap handling */
    margin: 0;
    vertical-align: top;
}

.cf7-radio-cards .wpcf7-list-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
    height: 140px;
    /* Fixed height for consistency */
}

@media (max-width: 768px) {
    .cf7-radio-cards .wpcf7-list-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

.cf7-radio-cards .wpcf7-list-item label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hide default radio input */
.cf7-radio-cards input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Active State for CF7 Radio */
.cf7-radio-cards .wpcf7-list-item label.is-checked {
    /* クラスベースに変更 */
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* 暫定的な互換性維持のためのセレクタ */
.cf7-radio-cards .wpcf7-list-item label:has(input[type="radio"]:checked) {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.cf7-radio-cards .wpcf7-list-item label:has(input[type="radio"]:checked)::after {
    content: '✔';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--accent-gold);
    font-size: 1.2rem;
    line-height: 1;
}

/* Add Icons via ::before */
/* 1st item = Player (Basketball) */
.cf7-radio-cards .wpcf7-list-item:nth-child(1) label::before {
    content: '🏀';
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

/* 2nd item = Staff (Clipboard) */
.cf7-radio-cards .wpcf7-list-item:nth-child(2) label::before {
    content: '📋';
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

/* Submit Button */
.wpcf7-submit {
    display: block;
    width: 100%;
    background: var(--primary-red);
    color: #fff;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transform: skewX(-10deg);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(230, 0, 18, 0.3);
    margin-top: 40px;
}

.wpcf7-submit:hover {
    background: var(--text-white);
    color: var(--primary-red);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: skewX(-10deg) translateY(-3px);
}

/* Hide CF7 Loader if needed or style it */
.wpcf7-spinner {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* Fallback Styles for Generic Contact Form 7 Structure
   (In case HTML in WP Admin is not updated to match .form-group structure) */

.entry-form-wrapper form p {
    text-align: left;
    margin-bottom: 20px;
    color: #081020;
    /* Dark text for P tags too */
}

.entry-form-wrapper label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #081020;
    /* Dark text */
    font-size: 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-shadow: none;
    /* Removed shadow */
    line-height: 1.2;
    text-align: left;
}

/* Ensure inputs in standard P tags also get styled */
.entry-form-wrapper input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
.entry-form-wrapper textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.95);
    /* High contrast */
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #081020;
    /* Readable dark text */
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-top: 8px;
    border-radius: 4px;
}

.entry-form-wrapper input:focus,
.entry-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.entry-form-wrapper input::placeholder,
.entry-form-wrapper textarea::placeholder {
    color: rgba(8, 16, 32, 0.5);
    /* Dark placeholder */
}

/* Jersey Images Specific Styles */
.jersey-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    margin-top: 50px;
    margin-bottom: 60px;
}

.jersey-images img {
    width: 48%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.jersey-images:hover img {
    transform: none;
    /* Reset parent hover effect if any */
}

.jersey-images img:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .jersey-images {
        flex-direction: column;
        gap: 20px;
    }

    .jersey-images img {
        width: 100%;
    }
}

/* Schedule Section Styles */
.schedule-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.schedule-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 25px;
    border-left: 2px solid var(--accent-gold);
}

.schedule-list .date {
    display: block;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.schedule-list .event {
    display: block;
    font-size: 1rem;
    line-height: 1.6;
}

.schedule-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Entry Deadline Styles */
.entry-deadline {
    margin-top: 50px;
    background: rgba(8, 16, 32, 0.8);
    border: 3px solid var(--primary-red);
    padding: 30px;
    display: inline-block;
    position: relative;
    transform: skewX(-10deg);
    box-shadow: 0 15px 40px rgba(230, 0, 18, 0.2);
    min-width: 300px;
}

.entry-deadline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.deadline-label {
    font-family: var(--font-body);
    color: var(--accent-gold);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    font-weight: 700;
    transform: skewX(10deg);
    line-height: 1.2;
}

.deadline-date {
    font-family: var(--font-heading);
    /* Noto Sans JP handled by fallback/characters */
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    transform: skewX(10deg);
    text-shadow: 0 0 20px rgba(230, 0, 18, 0.6);
}

.deadline-date .day-of-week {
    font-size: 1.8rem;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .entry-deadline {
        padding: 20px;
        width: 100%;
        max-width: 350px;
    }

    .deadline-label {
        font-size: 1.2rem;
    }

    .deadline-date {
        font-size: 2.2rem;
    }

    .deadline-date .day-of-week {
        font-size: 1.5rem;
    }
}