/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #29b6c8;
  --teal-dark: #1e9aaa;
  --teal-light: #e0f5f8;
  --black: #111;
  --gray-text: #444;
  --gray-border: #d8d8d8;
  --gray-row: #f5fbfc;
  --white: #fff;
  --font: 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--black);
  background: #f0f0f0;
  font-size: 14px;
  line-height: 1.7;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== ヘッダー ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.social-nav {
  display: flex;
  gap: 6px;
}

.social-nav a {
  display: inline-block;
  padding: 4px 14px;
  border: 1.5px solid var(--teal);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal);
  transition: background var(--transition), color var(--transition);
}

.social-nav a:hover {
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}

/* ===== ページ本体 ===== */
.page-body {
  padding: 28px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== インフォメーション ===== */
.info-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #e0f9fc;
  border: 1px solid #b8eef5;
  border-top: none;
  text-decoration: none;
  transition: background var(--transition);
}

.info-banner:hover { background: #c8f3f9; }

.info-banner-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a7a88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-banner-link {
  font-size: 0.78rem;
  color: #1a9aaa;
  font-weight: 400;
}

.info-banner-date {
  font-size: 0.78rem;
  color: #1a9aaa;
  margin-top: 3px;
}

.info-banner-btn {
  flex-shrink: 0;
  background: var(--teal);
  color: #fff;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 99px;
  margin-left: 16px;
  white-space: nowrap;
}

.info-heading {
  background: var(--teal);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  letter-spacing: 0.05em;
}

.info-list {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: none;
  list-style: none;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-border);
}

.info-item:last-child { border-bottom: none; }

.info-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.info-text {
  flex: 1;
  font-size: 0.92rem;
}

.info-date {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
}

.info-arrow {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 8px;
}

/* ===== 活動歴 ===== */
.works-section {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 0;
}

.works-header {
  padding: 20px 20px 4px;
}

.works-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--teal-dark);
}

.works-since {
  font-size: 0.78rem;
  color: #888;
  font-weight: 400;
  margin-left: 12px;
  vertical-align: middle;
}

.table-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.works-count {
  flex: 1;
  font-size: 0.82rem;
  color: #888;
  line-height: 1.6;
}

.table-controls input {
  border: 1px solid var(--gray-border);
  padding: 4px 8px;
  font-size: 0.85rem;
  font-family: var(--font);
  width: 200px;
  outline: none;
}

.table-controls input:focus {
  border-color: var(--teal);
}

.works-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  table-layout: fixed;
}

.works-table thead tr {
  background: var(--teal-light);
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid var(--gray-border);
}

.works-table th {
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  color: #555;
}

.works-table th:hover { background: #cff0f5; }

.col-title { width: auto; }
.col-media { width: 110px; }
.col-date  { width: 130px; }

.sort-arrows {
  font-size: 0.75rem;
  color: #aaa;
}

.works-table tbody tr {
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.1s;
}

.works-table tbody tr:hover { background: var(--gray-row); }

.works-table td {
  padding: 10px 16px;
  vertical-align: middle;
}

.works-table td:first-child {
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

@media (max-width: 640px) {
  .works-table td:first-child { cursor: pointer; }
  .works-table td:first-child.expanded {
    white-space: normal;
    overflow: visible;
  }
}

.works-table td:nth-child(3) {
  color: #666;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 8px;
  padding-right: 8px;
}

.media-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.tag-net   { background: #e0f5f8; color: #0a7a88; }
.tag-tv    { background: #fde8e8; color: #9b2a2a; }
.tag-radio { background: #eeedfe; color: #3c3489; }
.tag-live  { background: #faeeda; color: #633806; }
.tag-book  { background: #eaf3de; color: #3b6d11; }
.tag-cm    { background: #fbeaf0; color: #72243e; }
.tag-other { background: #f0f0f0; color: #555; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 20px 14px;
}

.filter-btn {
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  border: 1px solid var(--gray-border);
  background: transparent;
  color: var(--gray-700);
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.filter-btn:hover { background: var(--gray-100); }
.filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ===== もっと見る ===== */
.new-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: #e74c3c;
  border-radius: 3px;
  padding: 1px 5px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.load-more-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  border-top: 1px solid var(--gray-border);
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--teal);
  cursor: pointer;
  transition: background 0.15s;
}
.load-more-btn:hover { background: var(--gray-row); }

/* ===== お問い合わせ ===== */
.contact-section {
  background: var(--white);
  border: 1px solid var(--gray-border);
}

.contact-note {
  padding: 16px 20px 4px;
  font-size: 0.88rem;
  color: var(--gray-text);
}

.contact-form {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 600px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
}

.req { color: #c0392b; }

.form-row input,
.form-row textarea {
  border: 1px solid var(--gray-border);
  padding: 7px 10px;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--teal);
}

.submit-btn {
  align-self: flex-start;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 8px 24px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover { background: var(--teal-dark); }

/* ===== フッター ===== */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  text-align: center;
  padding: 16px 0;
  font-size: 0.78rem;
  color: #999;
}

/* ===== モバイルのみ改行 ===== */
.mobile-br { display: none !important; }

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .mobile-br { display: inline !important; }
  .new-badge { font-size: 0.55rem; padding: 1px 4px; margin-right: 4px; }
  .media-tag { font-size: 0.65rem; padding: 1px 6px; }
  .site-title { font-size: 0.95rem; }
  .social-nav { gap: 0.8rem; }
  .social-nav a { font-size: 0.78rem; }

  .info-thumb { width: 56px; height: 56px; font-size: 0.65rem; }

  .col-media,
  .works-table td:nth-child(2) { display: none; }
  .col-date { width: 130px; }
  .table-controls input { width: 140px; }

  .works-table td, .works-table th { padding: 8px 10px; }
}
