/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.6;
  color: #0277bd;
  background: #ffffff;
  min-height: 100vh;
}
html.no-scroll { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
}

.section-title { 
  font-weight: 700; 
  margin: 0 0 12px; 
  background: linear-gradient(135deg, #00acc1 0%, #26c6da 50%, #4dd0e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title { 
  font-weight: 800; 
  margin: 0 0 12px; 
  background: linear-gradient(135deg, #0277bd 0%, #0288d1 50%, #03a9f4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1.hero-title { font-size: clamp(24px, 5vw, 40px); }
.section-title { font-size: clamp(18px, 3.4vw, 28px); }

/* ===== Header & Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(6px);
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #4dd0e1 0%, #26c6da 50%, #00acc1 100%) 1;
  box-shadow: 0 2px 8px rgba(77,208,225,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}
.logo-link { 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800; 
  text-decoration: none; 
}
.logo-img {
  height: 36px;
  width: auto;
}
.logo-text {
  background: linear-gradient(135deg, #00acc1 0%, #26c6da 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .logo-text { display: none; }
}

.header-nav ul {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 16px;
}
.header-nav a {
  display: inline-block;
  padding: 8px 10px;
  text-decoration: none;
  color: #0277bd;
  font-weight: 600;
  transition: color .2s ease;
  position: relative;
}
.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, #4dd0e1 0%, #26c6da 100%);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-nav a:hover { color: #00acc1; }

/* Hamburger */
#menu-btn-check { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}
.menu-btn:hover { background: #e1f5fe; }
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: linear-gradient(90deg, #00acc1 0%, #26c6da 100%);
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-btn span::before { transform: translateY(-7px); }
.menu-btn span::after  { transform: translateY(7px); }
#menu-btn-check:checked + .menu-btn span { transform: rotate(45deg); }
#menu-btn-check:checked + .menu-btn span::before { transform: rotate(90deg); }
#menu-btn-check:checked + .menu-btn span::after { opacity: 0; }

/* Drawer menu */
.menu-wrapper { position: relative; }
.menu-content {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  background: #ffffff;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #4dd0e1 0%, #26c6da 100%) 1;
  box-shadow: 0 8px 24px rgba(77,208,225,.15);
  display: none;
  z-index: 999;
}
.menu-content ul {
  list-style: none; padding: 8px 12px; margin: 0;
  display: grid; gap: 4px;
}
.menu-content a {
  display: block; padding: 12px; border-radius: 8px;
  text-decoration: none; color: #0277bd; font-weight: 600;
}
.menu-content a:hover { 
  background: linear-gradient(135deg, #e1f5fe 0%, #b2ebf2 100%);
}

#menu-btn-check:checked ~ .menu-content { display: block; }

/* ===== Sections spacing ===== */
main > section { padding: 24px 0; }
@media (min-width: 768px) {
  main > section { padding: 40px 0; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #e1f5fe 0%, #b2ebf2 50%, #80deea 100%);
  border-radius: 16px;
  padding: 32px 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(77,208,225,0.15);
  border: 2px solid;
  border-image: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%) 1;
}
.hero p { margin: 12px 0; }

/* ===== Grids ===== */
.creators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .creators-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 960px) {
  .creators-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.news-list {
  display: grid;
  gap: 12px;
}
@media (min-width: 768px) {
  .news-list { gap: 16px; }
}

/* ===== Cards ===== */
.creator-card, .news-item {
  padding: 16px;
  border: 2px solid;
  border-image: linear-gradient(135deg, #4dd0e1 0%, #26c6da 50%, #00acc1 100%) 1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(77,208,225,0.1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.creator-card:hover, .news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(77,208,225,0.2);
}
.news-item h3 {
  margin: 8px 0 4px;
  color: #0277bd;
}
.news-item time {
  color: #00acc1;
  font-weight: 600;
}

/* ===== News Item Image ===== */
.news-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 2px solid #80deea;
}

/* ===== Forms ===== */
.contact-form { display: grid; gap: 12px; }
.form-row { display: grid; gap: 6px; }
.form-row label {
  color: #0277bd;
  font-weight: 600;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #80deea;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #26c6da;
  box-shadow: 0 0 0 3px rgba(77,208,225,0.1);
}
.is-invalid { border-color: #e00; }
.form-actions { margin-top: 4px; }
.btn-primary {
  appearance: none;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38,198,218,0.3);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 2px solid;
  border-image: linear-gradient(90deg, #80deea 0%, #4dd0e1 100%) 1;
  background: #ffffff;
}
.footer-inner { 
  padding: 16px 0; 
  color: #0277bd;
  text-align: center;
}

/* ===== Sitemap ===== */
.sitemap { 
  background: #ffffff;
  border-top: 2px solid;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #80deea 0%, #4dd0e1 50%, #26c6da 100%) 1;
}
.sitemap-list {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 16px; padding-left: 0; list-style: none;
}
.sitemap-list a {
  color: #0277bd;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}
.sitemap-list a:hover { 
  color: #00acc1;
  text-decoration: underline;
}
@media (min-width: 640px) { .sitemap-list { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 960px) { .sitemap-list { grid-template-columns: repeat(5, minmax(0,1fr)); } }

/* ===== Pagination ===== */
.pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.pagination a,
.pagination .current {
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.pagination a {
  color: #0277bd;
  border: 2px solid #80deea;
  transition: background .2s ease;
}
.pagination a:hover {
  background: linear-gradient(135deg, #e1f5fe 0%, #b2ebf2 100%);
}
.pagination .current {
  background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
  color: #fff;
  border: 2px solid transparent;
}

/* ===== Desktop nav ===== */
@media (min-width: 768px) {
  .header-nav ul { display: flex; }
  .menu-btn { display: none; }
  .menu-content { display: none !important; }
}

/* ===== Animations (AOS-like) ===== */
:root{
  --anim-dur:.72s;
  --anim-ease:cubic-bezier(.22,.61,.36,1);
}
.anim{
  opacity:0;
  will-change:opacity,transform,filter;
  transition:
    opacity var(--anim-dur,.72s) var(--anim-ease,cubic-bezier(.22,.61,.36,1)),
    transform var(--anim-dur,.72s) var(--anim-ease,cubic-bezier(.22,.61,.36,1)),
    filter var(--anim-dur,.72s) var(--anim-ease,cubic-bezier(.22,.61,.36,1));
}
.anim[data-anim="fade-up"]{ transform:translateY(16px); }
.anim[data-anim="fade-down"]{ transform:translateY(-16px); }
.anim[data-anim="fade-left"]{ transform:translateX(16px); }
.anim[data-anim="fade-right"]{ transform:translateX(-16px); }
.anim[data-anim="zoom-in"]{ transform:scale(.96); }
.anim[data-anim="zoom-out"]{ transform:scale(1.06); }
.anim[data-anim="slide-in"]{ transform:translateX(-24px); }
.anim[data-anim="blur-in"]{ filter:blur(8px); }
.anim[data-anim="rotate-in"]{ transform:perspective(800px) rotateX(-10deg); transform-origin:top center; }
.anim[data-anim="flip-in"]{ transform:perspective(800px) rotateY(-14deg); transform-origin:left center; }

.anim.is-visible{
  opacity:1;
  transform:none;
  filter:none;
}

.hover-float{ transition:transform .3s var(--anim-ease); }
.hover-float:hover{ transform:translateY(-2px); }
.hover-scale{ transition:transform .25s var(--anim-ease); }
.hover-scale:hover{ transform:scale(1.02); }

.menu-content{
  opacity:0; transform:translateY(-6px);
  transition:opacity .3s var(--anim-ease), transform .3s var(--anim-ease);
}
#menu-btn-check:checked ~ .menu-content{
  opacity:1; transform:none;
}

@media (prefers-reduced-motion: reduce){
  .anim,
  .menu-content{
    transition:none !important;
  }
  .anim{ opacity:1 !important; transform:none !important; filter:none !important; }
}

/* ===== Creator Profile ===== */
.creator-profile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.creator-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid;
  border-image: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%) 1;
}

.creator-info {
  width: 100%;
}

.creator-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
  background: linear-gradient(135deg, #00acc1 0%, #26c6da 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.creator-handle {
  font-size: 14px;
  color: #00acc1;
  margin: 0 0 12px;
}

.creator-bio {
  font-size: 15px;
  line-height: 1.6;
  color: #0277bd;
  margin: 0 0 16px;
}

.creator-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #e1f5fe 0%, #b2ebf2 100%);
  color: #0277bd;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #80deea;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77,208,225,0.2);
  border-color: #26c6da;
}

.social-link svg {
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .creator-profile {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  
  .creator-links {
    justify-content: flex-start;
  }
}

/* ===== Circular Carousel ===== */
.circular-carousel {
  padding: 60px 0;
  position: relative;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid;
  border-image: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%) 1;
  box-shadow: 0 8px 32px rgba(77,208,225,0.3);
}

/* ===== Slideshow ===== */
.slideshow-section {
  padding: 60px 0;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(77,208,225,0.2);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ナビゲーションボタン */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(38,198,218,0.8);
  color: white;
  border: none;
  font-size: 48px;
  padding: 16px 24px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  border-radius: 8px;
}

.slide-nav:hover {
  background: rgba(0,172,193,0.9);
}

.slide-prev {
  left: 16px;
}

.slide-next {
  right: 16px;
}

/* ドットインジケーター */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b2ebf2;
  border: 2px solid #26c6da;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-dot.active {
  background: linear-gradient(135deg, #00acc1 0%, #26c6da 100%);
  transform: scale(1.3);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .slideshow-wrapper {
    max-width: 90%;
    border-radius: 12px;
  }
  
  .slide-nav {
    font-size: 36px;
    padding: 12px 16px;
  }
  
  .slide-prev {
    left: 8px;
  }
  
  .slide-next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .slideshow-wrapper {
    max-width: 95%;
  }
  
  .slide-nav {
    font-size: 28px;
    padding: 8px 12px;
  }
}

/* アニメーション停止（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }
}

/* ===== Members Page ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.video-card {
  background: linear-gradient(135deg, #e1f5fe 0%, #b2ebf2 100%);
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #80deea;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77,208,225,0.3);
}

.video-card h3 {
  font-size: 16px;
  color: #0277bd;
  margin: 12px 0 4px;
}