:root {
  --bg-main: #f8f7f6;
  --bg-off: #faf8f7;
  --bg-gray: #e0e0e0;
  --text-main: #1a1a1a;
  --text-sub: #555;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Noto Sans JP", "Montserrat", sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* header */
header {
  background: #fff;
  padding: 20px 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.logo-row { display: flex; justify-content: center; margin-bottom: 18px; }
.logo-row img { height: 44px; width: auto; }
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}
nav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2.1px;
}

/* hero */
.hero { width: 100%; overflow: hidden; }
.hero img { width: 100%; height: auto; }

/* section shell */
section { padding: 90px 0; }
.bg-off { background: var(--bg-off); }
.bg-gray { background: var(--bg-gray); }

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 46px;
}
.section-label {
  writing-mode: vertical-rl;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 4px;
  border-right: 2px solid var(--text-main);
  padding-right: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* aisatsu */
.aisatsu-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 1px;
}
.heading-icon-link {
  display: inline-block;
  font-size: 22px;
  vertical-align: middle;
  text-decoration: none !important;
}
.heading-icon-link:hover { opacity: 0.7; }
.aisatsu-body {
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 16px;
  color: var(--text-main);
}
.aisatsu-body p + p { margin-top: 28px; }
.aisatsu-illust {
  max-width: 720px;
  margin: 60px auto 0;
}

/* katsudo */
.katsudo-flex {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.katsudo-text { flex: 0 0 300px; }
.katsudo-label { font-size: 16px; margin-bottom: 4px; }
.katsudo-title { font-size: 40px; font-weight: 700; margin-bottom: 26px; }
.katsudo-desc { font-size: 15px; color: var(--text-main); margin-bottom: 34px; }
.btn-black {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 40px;
  border-radius: 999px;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}
.btn-black:hover { opacity: 0.75; }
.btn-outline {
  display: inline-block;
  border: 1px solid #999;
  color: var(--text-main);
  font-style: italic;
  font-size: 15px;
  padding: 14px 44px;
  border-radius: 999px;
  transition: background 0.2s;
  cursor: pointer;
  background: none;
}
.btn-outline:hover { background: rgba(0,0,0,0.05); }

.photo-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.photo-grid a { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo-grid a:hover img { transform: scale(1.06); }

/* news */
.news-flex { display: flex; gap: 18px; }
.news-list { flex: 1; min-height: 60px; }
.news-item {
  display: flex;
  gap: 28px;
  padding: 24px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.news-thumb-link {
  display: block;
  flex: 0 0 260px;
}
.news-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eeece9;
  color: #999;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.news-info { flex: 1; min-width: 0; }
.news-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1c8a9c;
  background: rgba(28,138,156,0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.news-date { font-size: 13px; color: var(--text-sub); letter-spacing: 1px; margin-bottom: 10px; }
.news-title { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.news-title:hover { text-decoration: underline; }
.news-excerpt { font-size: 14px; color: var(--text-sub); line-height: 1.8; }
.news-more { text-align: center; margin-top: 50px; }
.news-loading { padding: 10px 0 30px; color: var(--text-sub); font-size: 14px; }

/* bands */
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.band-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.band-card:hover { transform: translateY(-3px); }
.band-logo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 14px;
}
.band-logo img { width: 100%; height: 100%; object-fit: cover; }
.band-logo.band-noimage,
.band-detail-logo.band-noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eeece9;
  color: #999;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.band-name { font-size: 16px; font-weight: 700; }

.band-detail-wrap { max-width: 820px; margin: 0 auto; padding: 100px 24px 120px; text-align: center; }
.band-detail-logo { margin: 0 auto 30px; text-align: center; }
.band-detail-logo img {
  display: inline-block;
  width: 320px;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
}
.band-detail-logo.band-noimage {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}
.band-detail-name { font-size: 26px; font-weight: 700; margin-bottom: 22px; }
.band-detail-social { display: flex; justify-content: center; gap: 14px; margin: -8px 0 22px; }
.social-icon-link { display: inline-flex; opacity: 0.9; transition: opacity 0.2s; }
.social-icon-link:hover { opacity: 1; }
.band-detail-desc { max-width: 600px; margin: 0 auto 30px; font-size: 15px; line-height: 2; text-align: left; white-space: pre-line; }
.band-detail-members { max-width: 600px; margin: 0 auto 40px; text-align: left; }
.band-detail-members-label { font-size: 13px; font-weight: 700; color: var(--text-sub); letter-spacing: 1px; margin-bottom: 10px; }
.band-detail-members ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.band-detail-members li {
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  text-align: center;
}
.band-detail-members .member-name { font-size: 14px; font-weight: 700; }
.band-detail-members .member-note { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.band-detail-back { display: inline-block; }

@media (max-width: 480px) {
  .band-grid { gap: 14px; }
  .band-card { padding: 14px; }
}

/* article detail page */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 100px 24px 120px; }
.article-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1c8a9c;
  background: rgba(28,138,156,0.1);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.article-date { font-size: 13px; color: var(--text-sub); letter-spacing: 1px; margin-bottom: 14px; }
.article-title { font-size: 28px; font-weight: 700; margin-bottom: 30px; line-height: 1.5; }
.article-image { margin-bottom: 34px; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-noimage {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eeece9;
  color: #999;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.article-body { font-size: 15px; line-height: 2; white-space: pre-line; }
.article-back { display: inline-block; margin-top: 50px; }

/* sub page hero */
.sub-hero { position: relative; width: 100%; overflow: hidden; }
.sub-hero img { width: 100%; height: auto; display: block; }
.sub-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 65%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.sub-hero-text {
  position: absolute;
  left: 0; right: 0; top: 0;
  padding: 32px 24px 24px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  z-index: 1;
}
.sub-hero-text .wrap { max-width: 1100px; margin: 0 auto; }
.sub-hero-title { font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.sub-hero-lead { font-size: 15px; }

.breadcrumb {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #999;
}
.breadcrumb a { color: #999; }
.breadcrumb .current { color: #2b5aa8; }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* timeline (introduce page) */
.timeline { padding-top: 20px; padding-bottom: 100px; }
.timeline-item {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}
.timeline-item.reverse { flex-direction: row-reverse; }
.timeline-photo { flex: 0 0 50%; border-radius: 4px; overflow: hidden; }
.timeline-photo img { width: 100%; height: auto; display: block; }
.timeline-text { flex: 1; }
.timeline-title { font-size: 30px; font-weight: 700; margin-bottom: 22px; }
.timeline-body { font-size: 15px; line-height: 2; }
.timeline-noimage {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eeece9;
  color: #999;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 820px) {
  .timeline-item, .timeline-item.reverse { flex-direction: column; gap: 24px; padding: 40px 0; }
  .timeline-photo { flex-basis: auto; width: 100%; }
  .sub-hero-title { font-size: 24px; }
}

/* contact page */
.contact-page { padding: 70px 0 20px; }
.contact-page .wrap { max-width: 760px; }

.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
}
.contact-card-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1c8a9c;
  background: rgba(28,138,156,0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.contact-card p { font-size: 15px; line-height: 1.9; }
.contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.contact-card-actions .btn-black,
.contact-card-actions .btn-line { font-size: 14px; padding: 14px 32px; }

.btn-line {
  display: inline-block;
  border: 1.5px solid #1c8a9c;
  color: #1c8a9c;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.btn-line:hover { background: #1c8a9c; color: #fff; }

.contact-form-section { background: #1c8a9c; color: #fff; padding: 80px 0 90px; text-align: center; }
.contact-form-section .wrap { max-width: 640px; }
.contact-form-title { font-size: 32px; font-weight: 700; margin-bottom: 22px; }
.contact-form-lead { font-size: 15px; margin-bottom: 46px; }
.form-field { text-align: left; margin-bottom: 26px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.form-field .required { display: inline-block; background: #0b2f6b; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.form-field input, .form-field textarea {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-submit {
  display: inline-block;
  background: #0b2f6b;
  color: #fff;
  border: none;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 60px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 2px;
}
.form-submit:hover { opacity: 0.85; }

/* private page */
.private-gate { padding: 100px 0; }
.gate-form { max-width: 400px; margin: 0 auto; text-align: center; }
.gate-title { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.gate-input {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  margin-bottom: 16px;
}
.gate-error { color: #c0392b; font-size: 13px; margin-top: 14px; }
.gate-archive-link { margin-top: 28px; font-size: 13px; }
.gate-archive-link a { color: #999; text-decoration: underline; }
.gate-archive-link a:hover { color: #1c8a9c; }

.private-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 60px 0;
}
.private-main { flex: 1; min-width: 0; }
.private-main section {
  padding: 50px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.private-link-list { list-style: none; }
.private-link-list li {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.private-link-list a { font-weight: 600; color: #1c8a9c; }
.private-link-list a:hover { text-decoration: underline; }
.private-link-placeholder { color: #999; }
.private-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.private-link-icon { flex-shrink: 0; font-size: 20px; line-height: 1; text-decoration: none !important; }
.private-link-icon:hover { opacity: 0.7; }

.video-tree { max-width: 720px; }
.video-tree ul { list-style: none; padding-left: 20px; }
.video-tree > details.video-year { padding-left: 0; }
.video-tree details {
  margin-bottom: 6px;
}
.video-tree summary {
  cursor: pointer;
  padding: 10px 14px;
  background: #fff;
  border-radius: 6px;
  font-weight: 600;
  list-style: none;
}
.video-tree summary::-webkit-details-marker { display: none; }
.video-tree summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  color: #999;
  transition: transform 0.15s;
}
.video-tree details[open] > summary::before { transform: rotate(90deg); }
.video-tree .video-year > summary { font-size: 17px; background: #1a1a1a; color: #fff; }
.video-tree .video-year > summary a { color: #fff; }
.video-tree .video-leaf { padding: 8px 14px; }
.video-tree .video-leaf a { color: #1c8a9c; font-weight: 500; }
.video-tree .video-leaf a:hover { text-decoration: underline; }
.video-tree .video-leaf-flat {
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 6px;
}
.video-tree .video-leaf-flat::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  visibility: hidden;
}
.video-tree .video-leaf-flat a { color: #1c8a9c; font-weight: 600; }
.video-tree .video-leaf-flat a:hover { text-decoration: underline; }

/* webchief notes (private page) */
.webchief-notes { font-size: 14px; line-height: 1.8; scroll-margin-top: 140px; }
.webchief-notes > * + * { margin-top: 14px; }
.webchief-notes h3, .webchief-notes h4, .webchief-notes h5, .webchief-notes h6 { font-weight: 700; line-height: 1.5; }
.webchief-notes h3 { font-size: 20px; margin-top: 44px; padding: 10px 16px; background: #1a1a1a; color: #fff; border-radius: 8px; }
.webchief-notes > h3:first-child { margin-top: 0; padding: 0; background: none; color: inherit; font-size: 22px; }
.webchief-notes h4 { font-size: 17px; margin-top: 30px; padding-bottom: 6px; border-bottom: 2px solid var(--text-main); }
.webchief-notes h5 { font-size: 15px; margin-top: 22px; }
.webchief-notes ul { padding-left: 1.3em; }
.webchief-notes ol { padding-left: 1.6em; }
.webchief-notes ol + ol, .webchief-notes ol + pre, .webchief-notes pre + ol { margin-top: 8px; }
.webchief-notes pre { background: #1a1a1a; color: #f1efe9; border-radius: 8px; padding: 12px 16px; overflow-x: auto; font-size: 13px; line-height: 1.7; }
.webchief-notes pre code { background: none; padding: 0; color: inherit; overflow-wrap: normal; }
.webchief-guide { margin-top: 56px; padding-top: 40px; border-top: 2px dashed #ccc; }
.webchief-guide:empty { display: none; }
.webchief-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.webchief-jump a { background: #fff; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: #1c8a9c; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.webchief-jump a:hover { text-decoration: underline; }
.webchief-notes code { font-family: ui-monospace, Consolas, monospace; background: #eeece9; padding: 1px 6px; border-radius: 4px; font-size: 0.92em; overflow-wrap: anywhere; }
.webchief-notes a { color: #1c8a9c; text-decoration: underline; overflow-wrap: anywhere; }
.webchief-notes blockquote { background: #fbf1de; border: 1px solid #edd9ae; color: #6b4a10; border-radius: 8px; padding: 12px 16px; }
.webchief-notes blockquote > * + * { margin-top: 8px; }
.webchief-table { overflow-x: auto; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.webchief-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.webchief-table th, .webchief-table td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid #eee; }
.webchief-table th { color: var(--text-sub); font-size: 12px; white-space: nowrap; }
.webchief-table tr:last-child td { border-bottom: none; }

/* meibo page */
.meibo-note { font-size: 13px; color: var(--text-sub); margin-top: 14px; }

.meibo-gen-list, .meibo-role-list { display: flex; flex-direction: column; gap: 12px; }
.meibo-gen-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.meibo-gen-head { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.meibo-gen-count { font-size: 13px; font-weight: 500; color: var(--text-sub); }

.meibo-role-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 4px 22px;
}
.meibo-role-card > summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}
.meibo-role-card > summary::-webkit-details-marker { display: none; }
.meibo-role-card > summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 10px;
  color: #999;
  transition: transform 0.15s;
}
.meibo-role-card[open] > summary::before { transform: rotate(90deg); }
.meibo-gen-sub { padding: 6px 0 18px; border-top: 1px solid #eee; }
.meibo-gen-sub-label { font-size: 13px; font-weight: 700; color: var(--text-sub); margin: 12px 0 8px; }

.meibo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.meibo-chip {
  display: inline-block;
  background: var(--bg-off);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
}
.meibo-chip-leave { color: var(--text-sub); font-weight: 500; background: #eeece9; }

/* footer */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 40px 24px;
  font-size: 13px;
  letter-spacing: 1px;
}
footer .fname { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 10px; }
.footer-social { margin-top: 18px; }
.footer-x-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-x-link:hover { opacity: 1; }

@media (max-width: 820px) {
  section { padding: 60px 0; }
  .katsudo-flex { flex-direction: column; }
  .katsudo-text { flex: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { flex-direction: column; gap: 16px; }
  .news-thumb-link { flex-basis: auto; width: 100%; }
  .aisatsu-heading { font-size: 24px; }
  .katsudo-title { font-size: 30px; }
  nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 10px;
    justify-items: center;
  }
  .article-wrap { padding: 70px 24px 90px; }
  .section-head { flex-direction: column; gap: 10px; }
  .section-label {
    writing-mode: horizontal-tb;
    border-right: none;
    padding-right: 0;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 6px;
    display: inline-block;
  }
  .news-flex { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .contact-card { padding: 28px 20px; }
  .news-item { padding: 18px; }
}

@media (max-width: 600px) {
  .private-layout { flex-direction: column; padding: 40px 0; }
}
