body {
  margin: 0;
  background: #C1C1C1;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

/* link colors */
a:link { color:#ff0000; }
a:visited { color:#008000; }
a:active { color:#ffff00; }

/* =========================
   共通レスポンシブ
========================= */

img {
  max-width: 100%;
  height: auto;
}

iframe {
  width: 100%;
  border: none;
}

/* =========================
   Slider
========================= */

/* スマホ・タブレット（通常表示） */
.slider img {
  width: 100%;
}

/* PCのみ：表示エリアを半分に */
@media (min-width: 1024px) {
  .bx-wrapper,
  .bx-viewport {
    height: 125px !important;   /* 250px → 半分 */
  }

  .slider img {
    height: 125px;
    object-fit: contain;        /* 文字切れ防止 */
    background: #000;           /* 余白対策 */
  }
}

/* =========================
   YouTube 共通（1本）
========================= */

.video {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  width: 100%;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================
   YouTube レイアウト
========================= */

/* スマホ：1列 */
.youtube-grid {
  display: block;
  max-width: 100%;
  margin: 1.5rem auto;
}

/* PC：2列 & サイズアップ */
@media (min-width: 1024px) {
  .youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;

    max-width: 1200px;  /* ← 全体を広げる（重要） */
    margin: 2rem auto;
  }

  .video {
    padding-top: 56.25%; /* そのまま */
  }
}



/* =========================
   NEWS
========================= */

.section-title {
  text-align: center;
  color: white;
  font-size: clamp(1.2rem, 4vw, 2rem);
}

/* スマホ用 table 崩し */
@media (max-width: 768px) {
  table, tr, td {
    display: block;
    width: 100%;
  }

  tr {
    border-bottom: 1px solid #aaa;
    margin-bottom: 0.8rem;
  }

  td {
    padding: 0.3rem 0;
  }
}

.news-list {
  margin: 0 auto;
}

/* ラベル共通 */
.label {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid #000;
  white-space: nowrap;
}

/* 種別ごと */
.label.event { background: #e0f2fe; }
.label.work  { background: #dcfce7; }
.label.news  { background: #fef3c7; }
.label.exhibit { background: #f3e8ff; }

/* もっと見る */
.more-news {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.more-news a {
  text-decoration: none;
  font-weight: bold;
}


/* =========================
   MENU
========================= */

.menu-body {
  background: #fff;
  margin: 0;
  padding: 10px;
}

/* 上段 */
.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: 200px;
  height: auto;
}

/* SNS */
.sns img {
  width: 32px;
  height: auto;
  margin-left: 6px;
}

/* キャッチ */
.menu-catch {
  color: #B04D48;
  font-size: 0.9rem;
  margin: 6px 0 10px;
}

/* ナビ */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-nav a img {
  width: 120px;
  height: auto;
}

/* =========================
   スマホ調整
========================= */
@media (max-width: 768px) {

  .logo {
    width: 160px;
  }

  .menu-nav {
    justify-content: center;
  }

  .menu-nav a img {
    width: 45%;   /* ← 2列になる */
  }

  .menu-catch {
    font-size: 0.8rem;
  }
}

/* =========================
   Header Logo Size
========================= */

.logo {
  width: 180px;   /* 元200px → 半分 */
  height: auto;
}

@media (max-width: 768px) {
  .logo {
    width: 80px;
  }
}

/* =========================
   MENU NAV 強制横並び
========================= */

.menu-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;     /* ← 絶対改行しない */
  white-space: nowrap !important;

  overflow-x: auto !important;      /* 横スクロール */
  overflow-y: hidden !important;

  gap: 4px;
  padding: 4px 0;
}

/* ボタン */
.menu-nav a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto !important;        /* 縮まない・改行しない */

  min-width: 68px;                  /* ← スマホで収まるサイズ */
  height: 28px;

  font-size: 11px;
  font-weight: bold;

  border: 1px solid #333;
  background: #fff;
  color: #333;
  text-decoration: none;

  padding: 0 3px;                   /* 文字差吸収 */
}

/* PCでは少し大きく */
@media (min-width: 769px) {
  .menu-nav a {
    min-width: 90px;
    height: 32px;
    font-size: 13px;
  }
}

.blog-top {
  padding: 0 12px;
}

.blog-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-top li {
  margin-bottom: 6px;
}

.blog-top a {
  color: #333;
  text-decoration: none;
}

.blog-top a:hover {
  text-decoration: underline;
}

.blog-more {
  margin-top: 10px;
  text-align: right;
  font-size: 13px;
}

/* =========================
   Archive : Production
========================= */

.archive-section {
  margin: 24px 12px 12px;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding: 0 12px 24px;
}

.archive-card {
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease;
}

.archive-card:hover {
  transform: translateY(-2px);
}

.archive-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.archive-info {
  padding: 6px 2px;
}

.archive-title {
  font-size: 13px;
  font-weight: bold;
}

.archive-meta {
  font-size: 11px;
  color: #777;
}

/* スマホ最適化 */
@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
}


/* ===== 全体 ===== */
.archive-title-main {
  text-align: center;
  margin: 40px 0 30px;
  font-size: 26px;
  letter-spacing: 0.05em;
}

/* ===== カテゴリ ===== */
.archive-category {
  max-width: 1100px;
  margin: 0 auto 20px;
}

.archive-toggle {
  width: 100%;
  background: #222;
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  text-align: left;
}

.archive-content {
  display: none;
  background: #f9f9f9;
  padding: 15px;
}

.archive-content.open {
  display: block;
}

/* ===== 年代フィルター ===== */
.year-filter {
  margin-bottom: 15px;
}

.year-filter button {
  margin-right: 5px;
  padding: 6px 12px;
  border: none;
  background: #ddd;
  cursor: pointer;
}

.year-filter button.active {
  background: #222;
  color: #fff;
}

/* ===== グリッド ===== */
.archive-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.archive-grid.active {
  display: grid;
}

.archive-card {
  background: #fff;
  text-decoration: none;
  color: #000;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s;
}

.archive-card:hover {
  transform: translateY(-4px);
}

.archive-card img {
  width: 100%;
  display: block;
}

.archive-info {
  padding: 8px;
}

.archive-title {
  font-size: 14px;
  font-weight: bold;
}

.archive-meta {
  font-size: 12px;
  color: #666;
}

/* ===============================
   CONTACT ページ レスポンシブ対応
================================ */

#container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 15px;
}

form {
  width: 100%;
}

/* 入力エリア */
.input-area {
  width: 100%;
}

/* テキスト・メール・テキストエリア共通 */
.input-area input,
.input-area textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px; /* スマホで拡大されない */
}

/* textarea */
.input-area textarea {
  resize: vertical;
}

/* ボタン */
.btn-border {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
}

/* ===== スマホ最適化 ===== */
@media (max-width: 768px) {

  h2 {
    font-size: 20px;
    text-align: center;
  }

  h4 {
    font-size: 14px;
  }

  #titleLine {
    font-size: 18px;
    text-align: center;
  }

}

/* ===============================
   CONTACT フォーム 見た目改善
================================ */

/* フォーム全体を中央に */
#container {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

/* 入力ブロック */
.input-area {
  max-width: 520px;
  margin: 0 auto 30px; /* 中央寄せ */
}

/* ラベル */
.input-area h4 {
  margin-bottom: 8px;
  font-weight: normal;
  text-align: left; /* 視認性重視 */
}

/* 入力欄 */
.input-area input,
.input-area textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  font-size: 16px;
}

/* 送信ボタン */
#right_area {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.btn-border {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

.input-area h4 {
  font-size: 13px;
  color: #777;
}

.input-area input:focus,
.input-area textarea:focus {
  outline: none;
  border: 2px solid #B04D48;
}



