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

body {
    font-family: Montserrat, 'Noto Sans JP', sans-serif;
    background: transparent;
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}


.container {
    max-width: none;
    margin: 0;
    width: 100%;
}

.main-title {
    text-align: center;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
}

.main-title::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.main-title::after {
    display: none;
}

.main-title-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.main-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0;
    animation: float-up 3s ease-out 0.2s forwards;
}

video.main-image {
    filter: brightness(0.8);
}

@keyframes float-up {
    0% {
        opacity: 0;
    }

    75% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.3;
    }
}

@keyframes speed-text {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(-200px);
    }

    60% {
        opacity: 0.8;
        transform: translate(-50%, -50%) translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateX(0);
    }
}

.main-title h1 {
    display: none;
}

.main-title p {
    display: block;
}

.main-title .subtitle {
    font-size: 4.5rem;
    color: #fff;
    font-weight: 900;
    margin-bottom: 0;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
    letter-spacing: 0.2em;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    opacity: 0;
    white-space: nowrap;
    animation: speed-text 2s ease-out 1.5s forwards;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.main-title .brand-name {
    font-size: 7rem;
    color: #fff;
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
    letter-spacing: 0.25em;
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    opacity: 0;
    white-space: nowrap;
    animation: speed-text 2s ease-out 3.8s forwards;
    text-transform: uppercase;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
}

.main-title .description {
    display: none;
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scroll-indicator.show {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 45px;
    height: 45px;
    border: 2px solid #ffeaa7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 71, 87, 0.9);
    box-shadow: 
        0 0 15px rgba(255, 234, 167, 0.5),
        0 0 30px rgba(255, 71, 87, 0.3);
    backdrop-filter: blur(10px);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow i {
    color: #ffeaa7;
    font-size: 1.1rem;
    text-shadow: 
        0 0 8px rgba(255, 234, 167, 0.7),
        0 0 15px rgba(255, 234, 167, 0.5);
}

.scroll-text {
    color: #ffeaa7;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 
        0 0 8px rgba(255, 234, 167, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        filter: brightness(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        filter: brightness(1.2);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
    position: relative;
    z-index: 5;
}

.athletes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.athlete-card {
    display: block;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    height: 400px;
    z-index: 10;
}

.athlete-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff4757;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.athlete-card:hover {
    border-color: #ff4757;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.athlete-card:hover::before {
    opacity: 1;
}

.athlete-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* 顔が中心に来るように上部寄せ */
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.athlete-card:hover .athlete-photo {
    transform: scale(1.05);
}

.athlete-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 40px 20px 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.athlete-card:hover .athlete-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 60%, transparent 100%);
}

.athlete-info {
    position: relative;
}

.athlete-name {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.athlete-sport {
    color: #ff4757;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sport-category {
    margin-bottom: 60px;
}

.sport-category h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: left;
    position: relative;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-left: 30px;
    border-left: 4px solid #ff4757;
}

.sport-category h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #ff4757;
    transition: height 0.3s ease;
}

.sport-category h2:hover::before {
    height: 100%;
}

.sport-category.other-sports {
    margin-bottom: 40px;
    margin-top: 80px;
}

.sport-category.other-sports h2 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    border-left-color: rgba(255, 234, 167, 0.6);
}

.sport-category.other-sports h2::before {
    background: rgba(255, 234, 167, 0.6);
}

.recruitment-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    opacity: 0.8;
    padding: 40px 32px;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 400px;
}

.recruitment-card::before {
    display: none;
}

.recruitment-card::after {
    display: none;
}

.recruitment-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.recruitment-card .athlete-name {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.recruitment-card .athlete-sport {
    color: rgba(255, 234, 167, 0.7);
    text-shadow: none;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.recruitment-card .athlete-description {
    color: rgba(255, 255, 255, 0.6);
    text-shadow: none;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 90%;
}

.recruitment-card .athlete-link {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: none;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    padding: 16px 32px;
    display: inline-block;
}

.recruitment-card .athlete-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 1);
}

.signature-logo {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    display: block;
}

.signature-text {
    font-family: cursive, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 64px;
    fill: transparent;
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation:
        signature-stroke 10s ease forwards,
        signature-fill 0.6s ease forwards 3s;
}

@keyframes signature-stroke {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes signature-fill {
    to {
        fill: #fff;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
        max-width: none;
        margin: 0;
        width: 100%;
    }
    
    .main-title {
        padding: 0;
        margin-bottom: 0;
        height: 100vh;
        min-height: 400px;
        width: 100vw;
    }
    
    .main-image {
        width: 100%;
        height: 100%;
    }
    
    .main-title .subtitle {
        font-size: 1.6rem;
        letter-spacing: 0.08em;
        top: 38%;
        padding: 0 10px;
        max-width: 95vw;
        word-wrap: break-word;
    }
    
    .signature-logo {
        max-width: 98vw;
        width: 98vw;
        padding: 0 5px;
    }
    
    .signature-text {
        font-size: 80px;
    }
    
    .main-title .brand-name {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
        top: 64%;
        padding: 0 10px;
        max-width: 95vw;
        word-wrap: break-word;
        white-space: normal;
        line-height: 1.2;
        word-spacing: 999px;
    }
    
    .sport-category h2 {
        font-size: 1.8rem;
        padding-left: 20px;
    }
    
    .sport-category.other-sports h2 {
        font-size: 1.5rem;
    }
    
    .athletes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 5px;
    }
    
    .athlete-card {
        padding: 0;
        margin: 0 5px;
    }
    
    .recruitment-card {
        padding: 30px 20px;
        margin: 0 5px;
    }
    
    .content-section {
        padding: 60px 10px;
    }
    
    .scroll-indicator {
        gap: 8px;
    }
    
    .scroll-text {
        font-size: 0.65rem;
    }
}


.hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
}

.hero-content h1 {
  font-size: 40px;
  letter-spacing: 0.2em;
  margin: 0 0 16px;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.85;
  margin: 0;
}

/* 背景のベーストーン（ほぼ黒だが、少しだけ差をつけた単色） */
.hero-bg-base {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 斜めライン用レイヤー */
.hero-bg-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-line-wrapper {
  position: absolute;
  width: 2px;
  height: 160px;
  transform-origin: center;
}

.hero-line {
  width: 100%;
  height: 100%;
  background-color: #f44336;  /* 赤系 */
  opacity: 0.3;
  box-shadow: 0 0 12px rgba(244, 67, 54, 0.8);
  animation-name: hero-line-move;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hero-line.hero-line-blue {
  background-color: #00bcd4;  /* シアン系 */
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.8);
}

@keyframes hero-line-move {
  0% {
    transform: translate3d(0, 110vh, 0);
  }

  100% {
    transform: translate3d(0, -160px, 0);
  }
}