/* ========================================
   PICKLEBALL OITA - Style Sheet
   Colors: Yellow #FFDE59 / Black #1A1A1A
   ======================================== */

:root {
  --yellow: #FFDE59;
  --yellow-dark: #E6C84E;
  --yellow-light: #FFF5D4;
  --black: #1A1A1A;
  --gray-900: #2D2D2D;
  --gray-700: #555555;
  --gray-400: #999999;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --font-en: 'Montserrat', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 208, 78, 0.4);
}

.btn-secondary {
  background: var(--black);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-img-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.header.scrolled .logo-text {
  color: var(--black);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--white);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.header.scrolled .nav-link {
  color: var(--black);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.header.scrolled .hamburger span {
  background: var(--black);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--yellow);
  top: -100px;
  right: -100px;
  opacity: 0.9;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--yellow-dark);
  bottom: -80px;
  left: -80px;
  opacity: 0.6;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--yellow-light);
  top: 50%;
  left: 30%;
  opacity: 0.3;
}

/* Paddle Animation */
.hero-paddle {
  position: absolute;
  left: 8%;
  bottom: 15%;
  width: 140px;
  z-index: 1;
  transform-origin: 50% 90%;
  animation: paddleSwing 3s ease-in-out infinite;
  opacity: 0.55;
}

.hero-paddle svg {
  width: 100%;
  height: auto;
}

@keyframes paddleSwing {
  0%, 100% { transform: rotate(-15deg); }
  35% { transform: rotate(25deg); }
  40% { transform: rotate(30deg); }
  45% { transform: rotate(25deg); }
  80% { transform: rotate(-15deg); }
}

/* Ball Bounce Animation */
.hero-ball {
  position: absolute;
  right: 12%;
  bottom: 20%;
  width: 70px;
  z-index: 1;
  animation: ballBounce 3s ease-in-out infinite;
  opacity: 0.7;
}

.hero-ball svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-ball-shadow {
  position: absolute;
  right: calc(12% + 10px);
  bottom: 12%;
  width: 30px;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  z-index: 0;
  animation: ballShadow 3s ease-in-out infinite;
}

@keyframes ballBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  15% { transform: translateY(-120px) rotate(60deg); }
  30% { transform: translateY(0) rotate(120deg); }
  40% { transform: translateY(-50px) rotate(180deg); }
  50% { transform: translateY(0) rotate(220deg); }
  55% { transform: translateY(-20px) rotate(240deg); }
  60% { transform: translateY(0) rotate(260deg); }
  70%, 95% { transform: translateY(0) rotate(260deg); }
}

@keyframes ballShadow {
  0%, 100% { transform: scaleX(1); opacity: 0.3; }
  15% { transform: scaleX(0.4); opacity: 0.1; }
  30% { transform: scaleX(1.2); opacity: 0.4; }
  40% { transform: scaleX(0.6); opacity: 0.15; }
  50% { transform: scaleX(1.1); opacity: 0.35; }
  55% { transform: scaleX(0.8); opacity: 0.2; }
  60% { transform: scaleX(1); opacity: 0.3; }
  70%, 95% { transform: scaleX(1); opacity: 0.3; }
}

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

.hero-tag {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 32px;
}

.hero-title-main {
  display: block;
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: 0.08em;
}

.hero-title-sub {
  display: block;
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
  letter-spacing: 0.08em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-bottom: 48px;
  letter-spacing: 0.1em;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gray-400);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--yellow-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* ========================================
   MEMBER
   ======================================== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.member-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.member-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 4rem;
  color: var(--gray-200);
  background: var(--gray-100);
}

.member-photo img:not([style*="display: none"]) + .member-photo-placeholder {
  display: none;
}

.member-info {
  padding: 32px;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.member-name-en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.member-role {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.member-credential {
  background: var(--yellow-light);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.member-credential-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow-dark);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.member-credential-value {
  font-size: 0.85rem;
  color: var(--black);
  line-height: 1.7;
}

.member-message {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.9;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

/* ========================================
   PHOTO STRIP
   ======================================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.photo-strip-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-strip-item:hover img {
  transform: scale(1.05);
}

/* ========================================
   ABOUT
   ======================================== */
.section-about {
  background: var(--gray-100);
}

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

.about-card {
  background: var(--white);
  padding: 48px 32px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.about-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--yellow-dark);
}

.about-card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.about-card-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.9;
}

/* ========================================
   ACTIVITY
   ======================================== */
.activity-content {
  max-width: 720px;
  margin: 0 auto;
}

.activity-info {
  margin-bottom: 48px;
}

.activity-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.activity-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.activity-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
  min-width: 100px;
  padding-top: 2px;
}

.activity-value {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.activity-value small {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.activity-cta {
  text-align: center;
  padding: 48px;
  background: var(--gray-100);
  border-radius: 16px;
}

.activity-cta p {
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

/* ========================================
   INSTAGRAM
   ======================================== */
.section-instagram {
  background: var(--black);
  color: var(--white);
}

.section-instagram .section-tag {
  color: var(--yellow);
}

.section-instagram .section-title {
  color: var(--white);
}

.instagram-embed {
  display: flex;
  justify-content: center;
}

.instagram-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px;
  border: 2px solid var(--gray-700);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.instagram-icon {
  width: 64px;
  height: 64px;
  color: var(--yellow);
}

.instagram-icon svg {
  width: 100%;
  height: 100%;
}

.instagram-handle {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
}

.instagram-follow {
  font-size: 0.85rem;
  color: var(--gray-400);
  padding: 8px 24px;
  border: 1px solid var(--gray-700);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.instagram-link:hover .instagram-follow {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ========================================
   CONTACT
   ======================================== */
.section-contact {
  background: var(--gray-100);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-desc {
  text-align: center;
  color: var(--gray-700);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
}

.required {
  color: #E53E3E;
  font-size: 0.8rem;
}

.form-input {
  font-family: var(--font-ja);
  font-size: 1rem;
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--yellow);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  align-self: center;
  min-width: 200px;
  font-family: var(--font-ja);
  font-size: 1rem;
}

.contact-success {
  display: none;
  text-align: center;
  padding: 64px 24px;
}

.contact-success.show {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.success-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 2;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-700);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-name {
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-policy {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-policy:hover {
  color: var(--yellow);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  /* Header */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s ease;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -60px;
    right: -60px;
  }

  .hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -40px;
    left: -40px;
  }

  .hero-shape-3 {
    width: 100px;
    height: 100px;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-paddle {
    width: 60px;
    left: 5%;
    bottom: 12%;
    opacity: 0.2;
  }

  .hero-ball {
    width: 32px;
    right: 8%;
    bottom: 16%;
    opacity: 0.3;
  }

  .hero-ball-shadow {
    width: 20px;
    right: calc(8% + 6px);
    bottom: 10%;
  }

  /* Photo Strip */
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip-item {
    aspect-ratio: 16 / 9;
  }

  /* Sections */
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Member */
  .member-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-card {
    padding: 36px 24px;
  }

  /* Activity */
  .activity-item {
    flex-direction: column;
    gap: 8px;
  }

  .activity-cta {
    padding: 32px 24px;
  }

  /* Instagram */
  .instagram-link {
    padding: 48px 24px;
  }

  .instagram-handle {
    font-size: 1.1rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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