:root {
  --accent: #436aa8;
  --bg: #ffffff;
  --text-main: #111111;
  --text-sub: #666666;
}

html[data-theme="dark"] {
  --bg: #0f0f0f;
  --text-main: #f2f2f2;
  --text-sub: #9a9a9a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 64px;
  background: var(--bg);
  color: var(--text-main);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  transition: background 0.3s, color 0.3s;
}

/* =========================
   Main layout
========================= */

.container {
  max-width: 800px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-text {
  font-size: 28px;
  letter-spacing: 0.08em;
}


/* =========================
   Hero Carousel
========================= */

.carousel {
  position: relative;
  width: min(1400px, calc(100% - 80px));
  aspect-ratio: 16 / 10;
  max-height: 720px;
  margin: 32px auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
}

.slide picture,
.slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* =========================
   Arrow
========================= */

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 24px;
}

.next {
  right: 24px;
}


/* =========================
   Dots
========================= */

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dots span.active {
  background: #fff;
}


/* =========================
   Smartphone / Tablet
========================= */

@media (max-width: 768px) {

  .carousel {
    width: calc(100% - 24px);
    aspect-ratio: 9 / 16;
    max-height: none;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .prev {
    left: 12px;
  }

  .next {
    right: 12px;
  }

}


/* =========================
   Theme toggle
========================= */

.theme-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-sub);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
}

.theme-icon {
  transition: transform 0.4s ease;
}

.rotated {
  transform: rotate(180deg);
}


/* =========================
   Footer
========================= */

#footer {
  width: 100%;
}

.site-footer {
  width: 100%;
  border-top: 1px solid rgba(0,0,0,.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-size: .85rem;
  color: var(--text-sub);
}


/* =========================
   Top News
========================= */

.news-section {
  padding: 64px 20px;
}

.news-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.news-inner h2 {
  margin-bottom: 28px;
  font-size: 2rem;
  text-align: center;
}

#news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  grid-template-columns: 130px 120px 1fr 30px;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  transition: .2s;
}

.news-item:hover {
  background: rgba(0,0,0,.03);
}

.news-date {
  color: var(--text-sub);
  font-size: .9rem;
}

.news-category {
  color: var(--text-sub);
  font-size: .9rem;
  font-weight: 500;
}

.news-title {
  font-weight: 500;
}

.news-arrow {
  text-align: right;
  color: var(--text-sub);
  font-size: 1.2rem;
}

.news-more {
  margin-top: 24px;
  text-align: right;
}

.news-more a {
  color: var(--accent);
  text-decoration: none;
}


/* =========================
   News - Smartphone
========================= */

@media (max-width: 768px) {

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news-arrow {
    display: none;
  }

  .news-more {
    text-align: center;
  }

}


/* =========================
   About
========================= */

.about-section {
  padding: 80px 20px;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 80px;
  align-items: center;
}

.about-text {
  min-width: 0;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.profile-list {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  row-gap: 22px;
}

.profile-list dt {
  color: var(--text-sub);
  font-weight: 600;
}

.profile-list dd {
  margin: 0;
  line-height: 1.8;
  min-width: 0;
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 260px;
  height: auto;
}


/* =========================
   About - Tablet
========================= */

@media (max-width: 1000px) {

  .about-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

  .about-image img {
    max-width: 240px;
  }

}


/* =========================
   About - Smartphone
========================= */

@media (max-width: 768px) {

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    max-width: 280px;
  }

  .profile-list {
    grid-template-columns: 90px minmax(0, 1fr);
  }

}


/* =========================
   About More
========================= */

.about-more {
  margin-top: 32px;
}

.about-more a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.about-more a:hover {
  opacity: 0.7;
}


/* =========================
   Movie
========================= */

.movie-section {
  padding: 80px 20px;
}

.movie-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.movie-inner h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.movie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.movie-box h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* =========================
   Movie - Smartphone
========================= */

@media (max-width: 768px) {

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

}


/* =========================
   About Timeline
========================= */

.page-title {
  padding: 80px 20px 40px;
  text-align: center;
}

.page-title h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-title p {
  color: var(--text-sub);
}

.timeline-section {
  padding: 80px 20px;
}

.timeline-inner {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-inner h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  margin-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-date {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content {
  padding: 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: rgba(67,106,168,.05);
}

.timeline-content h3 {
  margin-top: 0;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--text-sub);
}

html[data-theme="dark"] .timeline-content {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}


/* =========================
   Timeline - Smartphone
========================= */

@media (max-width: 768px) {

  .timeline {
    margin-left: 12px;
  }

  .timeline-item {
    padding-left: 35px;
  }

  .timeline-item::before {
    width: 14px;
    height: 14px;
    left: 4px;
  }

  .timeline-content {
    padding: 16px;
  }

}

/* SNS */
.sns-section {
  padding: 10px 20px;
}

.sns-inner {
  max-width: 900px;
  margin: 0 auto;
}

.sns-inner h2 {
  margin: 0 0 40px;
  text-align: center;
  font-size: 2rem;
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sns-button {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 72px;
  padding: 20px;

  border-radius: 12px;

  color: #fff;
  text-decoration: none;

  font-size: 1.05rem;
  font-weight: 600;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}

.sns-button:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* YouTube */
.sns-youtube {
  background: #ff0000;
}

/* X */
.sns-x {
  background: #000;
}

/* Instagram */
.sns-instagram {
  background: linear-gradient(
    135deg,
    #833ab4 0%,
    #c13584 35%,
    #fd1d1d 65%,
    #fcb045 100%
  );
}

/* Smartphone */
@media (max-width: 768px) {

  .sns-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sns-button {
    min-height: 64px;
  }

}

/* =========================
Guideline
========================= */

.guideline-page {
width: 100%;
}

.guideline-section {
padding: 80px 20px 100px;
}

.guideline-inner {
max-width: 900px;
margin: 0 auto;
}

.guideline-inner > h1 {
margin: 0 0 20px;
text-align: center;
font-size: 2.2rem;
letter-spacing: 0.08em;
}

.guideline-lead {
margin: 0 auto 60px;
text-align: center;
line-height: 1.9;
}

/* 各項目 */

.guideline-block {
margin-bottom: 48px;
}

.guideline-block h2 {
margin: 0 0 20px;
padding-left: 14px;
border-left: 4px solid #436aa8;
font-size: 1.35rem;
}

.guideline-block p {
margin: 0 0 18px;
line-height: 1.9;
}

.guideline-block ul {
margin: 0;
padding-left: 1.5em;
}

.guideline-block li {
margin-bottom: 10px;
line-height: 1.8;
}

/* お願い */

.guideline-note {
padding: 28px 30px;
border-radius: 10px;
background: rgba(67, 106, 168, 0.08);
}

.guideline-note h2 {
margin-top: 0;
}

/* 更新について */

.guideline-update {
margin: 50px 0 0;
text-align: center;
font-size: 0.85rem;
opacity: 0.7;
}

/* Dark mode */

[data-theme=“dark”] .guideline-note {
background: rgba(67, 106, 168, 0.15);
}

/* Mobile */

@media (max-width: 768px) {

.guideline-section {
padding: 55px 18px 70px;
}

.guideline-inner > h1 {
font-size: 1.8rem;
}

.guideline-lead {
margin-bottom: 45px;
font-size: 0.95rem;
}

.guideline-block {
margin-bottom: 40px;
}

.guideline-block h2 {
font-size: 1.15rem;
}

.guideline-block li {
font-size: 0.95rem;
}

.guideline-note {
padding: 22px 20px;
}
}

/* Privacy Policy / Common Page */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}
.page-header {
  text-align: center;
  margin-bottom: 50px;
}
.page-header h1 {
  margin-bottom: 8px;
}
.page-header p {
  opacity: 0.6;
}
.content-section {
  line-height: 1.9;
}
.content-section h2 {
  margin-top: 45px;
  margin-bottom: 15px;
  font-size: 1.25rem;
}
.content-section p {
  margin: 0 0 20px;
}
.content-section ul {
  padding-left: 1.5em;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .page-content {
    padding: 40px 18px 70px;
  }
  .page-header {
    margin-bottom: 35px;
  }
  .content-section h2 {
    margin-top: 35px;
    font-size: 1.15rem;
  }
}
