    :root {
      --bg: #080808;
      --bg-soft: #101010;
      --bg-card: #141414;
      --line: rgba(201, 162, 74, 0.22);
      --line-soft: rgba(255, 255, 255, 0.08);
      --gold: #c9a24a;
      --gold-soft: rgba(201, 162, 74, 0.12);
      --text: #f4f1ea;
      --muted: #d0cbc1;
      --subtle: #928978;
      --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
      --radius: 24px;
      --max: 1120px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    .brand img {
      height: 60px;   /* ←ここでサイズ調整 */
      width: auto;
      display: block;
      filter:
        drop-shadow(0 2px 5px rgba(0, 0, 0, 0.65))
        drop-shadow(0 0 8px rgba(201, 162, 74, 0.16));
    }

    body {
      margin: 0;
      font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top, rgba(201, 162, 74, 0.09), transparent 28%),
        linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
      line-height: 1.8;
      letter-spacing: 0.01em;
    }

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

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

    .container {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(10px);
      background: rgba(8, 8, 8, 0.82);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .site-header-inner {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 0;
    }

    .brand {
      font-size: 14px;
      letter-spacing: 0.12em;
      color: var(--gold);
      text-transform: uppercase;
      white-space: nowrap;
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .nav a {
      font-size: 14px;
      color: var(--muted);
      transition: color 0.2s ease;
    }

    .nav a:hover {
      color: var(--gold);
    }

    .hero {
      padding: 68px 0 44px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 28px;
      align-items: stretch;
    }

    .hero-copy,
    .hero-visual,
    .section-panel,
    .work-card,
    .link-card,
    .about-card,
    .cta-box {
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)), var(--bg-soft);
      border: 1px solid var(--line-soft);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .hero-copy {
      padding: 36px;
      border-color: var(--line);
    }

    .eyebrow {
      display: inline-block;
      margin-bottom: 14px;
      color: var(--gold);
      font-size: 12px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    h1 {
      margin: 0;
      font-size: clamp(28px, 4vw, 44px);
      line-height: 1.08;
      letter-spacing: 0.01em;
    }
    
    .work-card h3 a {
  color: inherit;
  text-decoration: none;
}

.work-card h3 a:hover {
  text-decoration: underline;
}

    .hero-lead {
      margin: 18px 0 0;
      max-width: 34em;
      color: var(--muted);
      font-size: 16px;
    }

    .hero-message {
      margin: 18px 0 0;
      color: #efe1b3;
      font-size: 15px;
    }

    .hero-actions {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .sub-buttons {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 18px;
      border-radius: 999px;
      border: 1px solid var(--line-soft);
      color: var(--text);
      transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .button:hover {
      transform: translateY(-1px);
      border-color: var(--gold);
    }

    .button.primary {
      background: var(--gold-soft);
      border-color: var(--line);
      color: #f7e8be;
    }

    .button.sub {
      padding: 8px 14px;
      font-size: 13px;
      opacity: 0.85;
    }

    .hero-visual {
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      justify-content: center;
      border-color: var(--line);
    }

    .logo-box {
      min-height: 240px;
      display: grid;
      place-items: center;
      border-radius: 20px;
      border: 1px dashed rgba(201, 162, 74, 0.45);
      background:
        radial-gradient(circle at center, rgba(201, 162, 74, 0.08), transparent 60%),
        rgba(201, 162, 74, 0.03);
      text-align: center;
      padding: 18px;
      color: var(--subtle);
    }

    .main-logo {
      width: 100%;
      height: 200px;          /* ←ここで表示高さ決める */
      object-fit: cover;      /* ←はみ出た部分カット */
      object-position: center;/* ←中央基準で切る */
    }

    .logo-credit {  
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    }

    .logo-credit a {
      color: #c9a24a;
      text-decoration: none;
    }

    .logo-credit a:hover {
      text-decoration: underline;
    }

    .hero-visual p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    section {
      padding: 22px 0;
    }

    .section-panel {
      padding: 28px;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 16px;
      margin-bottom: 22px;
    }

    .section-head h2 {
      margin: 0;
      font-size: clamp(28px, 4vw, 40px);
      line-height: 1.15;
    }

    .section-head p {
      margin: 8px 0 0;
      color: var(--subtle);
      font-size: 14px;
    }

    .more-link {
      color: var(--gold);
      font-size: 14px;
      white-space: nowrap;
    }

    .more-link:hover {
      text-decoration: underline;
    }

    .works-stack {
      display: grid;
      gap: 18px;
    }

    .work-grid {
      display: grid;
      gap: 18px;
      grid-template-columns: repeat(3, minmax(280px, 1fr));
      justify-items: center;
    }

    .tool-grid,
    .about-grid,
    .links-grid,
    .footer-grid {
      display: grid;
      gap: 18px;
    }

    .tool-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
      grid-template-columns: 1.1fr 0.9fr;
    }

    .links-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .work-card {
    padding: 18px;
    background: var(--bg-card);
    transition: transform 0.18s ease, border-color 0.18s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 520px;
    }

    .work-card h3 {
      max-width: 12em;
      line-height: 1.3;
    }

    .work-card p {
      max-width: 26em;
      line-height: 1.8;
    }
 
    .card-links {
      margin-top: auto;
    }

    .work-image {
      width: 100%;
      border-radius: 12px;
      margin: 10px 0 14px;
    }

    .image-row {
      display: flex;
      gap: 10px;
    }

.image-row img {
  width: 50%;
  border-radius: 10px;
}

    @media (max-width: 1100px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 700px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    max-width: 520px;
  }
}

    .work-card:hover,
    .link-card:hover,
    .about-card:hover {
      transform: translateY(-2px);
      border-color: var(--line);
    }

    .work-type {
      display: inline-block;
      margin-bottom: 10px;
      padding: 5px 10px;
      border-radius: 999px;
      background: var(--gold-soft);
      color: #f1da95;
      font-size: 12px;
    }

    .work-card h3,
    .link-card h3,
    .about-card h3,
    .cta-box h3 {
      margin: 0 0 10px;
      font-size: 22px;
      line-height: 1.3;
      color: #f7f1e0;
    }

    .work-card p,
    .link-card p,
    .about-card p,
    .cta-box p,
    .about-card li {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 16px 0;
    }

    .tag {
      padding: 5px 10px;
      border: 1px solid var(--line-soft);
      border-radius: 999px;
      color: var(--subtle);
      font-size: 12px;
    }

    .card-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 14px;
    }

    .text-link {
      color: var(--gold);
      font-size: 14px;
    }

    .text-link:hover {
      text-decoration: underline;
    }

    .status-note {
      margin-top: 10px;
      color: var(--subtle);
      font-size: 13px;
    }

    .link-card,
    .about-card,
    .cta-box {
      padding: 22px;
    }

    .about-card ul {
      margin: 12px 0 0;
      padding-left: 18px;
    }

    .about-card li + li {
      margin-top: 6px;
    }

    .skill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .skill-pill {
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--line-soft);
      color: var(--muted);
      font-size: 13px;
    }

    .cta-box {
      border-color: var(--line);
      background: linear-gradient(180deg, rgba(201, 162, 74, 0.09), rgba(201, 162, 74, 0.02)), var(--bg-soft);
    }

    .contact-button {
      margin-top: 18px;
    }

    .cta-box .contact-address {
      margin-top: 10px;
      color: var(--subtle);
      font-size: 12px;
      word-break: break-all;
    }

    .stream-panel {
      overflow: hidden;
      border-color: var(--line);
    }

    .stream-card {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
      gap: 24px;
      align-items: stretch;
    }

    .stream-thumbnail {
      position: relative;
      min-height: 320px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 20px;
      background:
        linear-gradient(rgba(201, 162, 74, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 74, 0.08) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(201, 162, 74, 0.2), transparent 48%),
        #0b0b0b;
      background-size: 32px 32px, 32px 32px, auto, auto;
    }

    .stream-thumbnail::after {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px dashed rgba(201, 162, 74, 0.32);
      border-radius: 14px;
    }

    .stream-thumbnail p {
      position: absolute;
      left: 34px;
      bottom: 26px;
      z-index: 1;
      margin: 0;
      color: var(--gold);
      font-size: 12px;
      line-height: 1.5;
      letter-spacing: 0.18em;
    }

    .stream-signal {
      position: absolute;
      top: 28px;
      right: 28px;
      z-index: 1;
      padding: 5px 10px;
      border-radius: 999px;
      background: #9f2e2e;
      color: #fff;
      font-size: 11px;
      letter-spacing: 0.12em;
    }

    .stream-card.is-live .stream-signal {
      background: #e33c53;
      box-shadow: 0 0 18px rgba(227, 60, 83, 0.7);
    }

    .stream-mark {
      position: relative;
      z-index: 1;
      width: 72px;
      height: 72px;
      display: grid;
      place-items: center;
      padding-left: 5px;
      border: 1px solid rgba(201, 162, 74, 0.55);
      border-radius: 50%;
      background: rgba(8, 8, 8, 0.72);
      color: #f1da95;
      font-size: 24px;
    }

    .stream-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 14px 4px;
    }

    .stream-info h3 {
      margin: 8px 0 12px;
      color: #f7f1e0;
      font-size: clamp(24px, 3vw, 34px);
      line-height: 1.3;
    }

    .stream-info p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .stream-info .stream-date {
      color: var(--gold);
      font-size: 13px;
    }

    .stream-button {
      align-self: flex-start;
      margin-top: 4px;
    }

    .button.is-disabled {
      cursor: not-allowed;
      opacity: 0.5;
      pointer-events: none;
    }

    .site-footer {
      padding: 24px 0 40px;
      color: var(--subtle);
      font-size: 13px;
    }

    .site-footer p {
      margin: 0;
    }

    @media (max-width: 900px) {
      .hero-grid,
      .stream-card,
      .tool-grid,
      .about-grid,
      .links-grid,
      .footer-grid,
      .work-grid {
        grid-template-columns: 1fr;
        justify-items: center;
      }

      .work-card {
    width: min(100%, 520px);
  }


      .section-head {
        flex-direction: column;
        align-items: start;
      }
    }

    @media (max-width: 640px) {
      .site-header-inner {
        flex-direction: column;
        align-items: start;
      }

      .hero {
        padding-top: 42px;
      }

      .hero-copy,
      .hero-visual,
      .section-panel,
      .link-card,
      .about-card,
      .cta-box,
      .work-card {
        padding: 20px;
      }

      .container {
        width: min(var(--max), calc(100% - 20px));
      }

      .stream-thumbnail {
        min-height: 240px;
      }

      .stream-thumbnail p {
        left: 26px;
        bottom: 22px;
      }
    }
.marshmallow-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 2px;
  font-size: 13px;
}

.marshmallow-label {
  color: var(--subtle);
}

.marshmallow-link {
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.marshmallow-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.stream-tags-area {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.stream-tags-head h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #f7f1e0;
}

.stream-tags-head p {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
}

.stream-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.stream-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

.stream-tag-label {
  color: var(--subtle);
  font-size: 12px;
}

.stream-tag-name {
  color: #f1da95;
  font-size: 13px;
}

/* ========================================
   Stream - Support
======================================== */

.stream-support-area {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.stream-support-head h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #f7f1e0;
}

.stream-support-head p {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.8;
}

.stream-support-button {
  margin-top: 18px;
}


/* ========================================
   Stream - Archive
======================================== */

.stream-card.is-archive .stream-signal {
  letter-spacing: 0.08em;
}


/* ========================================
   Mobile
======================================== */

@media (max-width: 640px) {
  .stream-support-head p br {
    display: none;
  }

  .stream-support-button {
    width: 100%;
    justify-content: center;
  }
}