/* Material Digital トンマナ — セミナー詳細ページ */

:root {
  --md-red: #c82c2c;
  --md-red-hover: #a82424;
  --md-red-light: #fdf2f2;
  --md-black: #1a1a1a;
  --md-gray-900: #333333;
  --md-gray-700: #555555;
  --md-gray-500: #888888;
  --md-gray-300: #d4d4d4;
  --md-gray-100: #f5f5f5;
  --md-white: #ffffff;
  --md-radius: 8px;
  --md-radius-lg: 16px;
  --md-radius-pill: 999px;
  --md-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --md-shadow-btn: 0 4px 12px rgba(200, 44, 44, 0.35);
  --container: min(1080px, 92%);
  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--md-gray-900);
  background: var(--md-white);
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.l-content {
  font-size: 16px;
}

/* Hero */
.seminar-hero {
  position: relative;
  padding: 40px 0 72px;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  top: 120px;
  right: -80px;
  width: 280px;
  height: 2px;
  background: var(--md-black);
  transform: rotate(-35deg);
  opacity: 0.12;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8em;
  color: var(--md-gray-500);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--md-gray-700);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--md-red);
}

.seminar-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  background: var(--md-red);
  color: var(--md-white);
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.seminar-title {
  margin: 0 0 16px;
  font-size: clamp(1.5em, 3.5vw, 2.25em);
  font-weight: 900;
  line-height: 1.45;
  color: var(--md-black);
  letter-spacing: 0.02em;
}

.title-accent {
  color: var(--md-red);
}

.seminar-datetime {
  margin: 0 0 32px;
  font-size: clamp(1.1em, 2vw, 1.35em);
  font-weight: 700;
  color: var(--md-black);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.seminar-thumbnail {
  position: relative;
  margin: 0;
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  box-shadow: var(--md-shadow);
}

.thumbnail-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 45%, #c82c2c 100%);
}

.thumbnail-visual-text {
  font-size: clamp(2em, 6vw, 4em);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.25);
}

.thumbnail-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 12px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: var(--md-white);
  font-size: 0.85em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 0.95em;
  color: var(--md-gray-700);
}

.hero-note {
  margin: 12px 0 0;
  font-size: 0.8em;
  color: var(--md-gray-500);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--md-radius-pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--md-red);
  color: var(--md-white) !important;
  padding: 14px 32px;
  box-shadow: var(--md-shadow-btn);
}

.btn-primary:hover {
  background: var(--md-red-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--md-white);
  color: var(--md-red);
  border: 2px solid var(--md-red);
  padding: 12px 30px;
}

.btn-outline:hover {
  background: var(--md-red-light);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1em;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  font-size: 0.75em;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 40px;
}

.section-heading-en {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1;
  color: var(--md-black);
}

.section-heading-en::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--md-red);
  margin-top: 12px;
}

.section-heading-ja {
  font-size: 1em;
  font-weight: 700;
  color: var(--md-gray-700);
  letter-spacing: 0.08em;
}

/* Overview */
.section-overview {
  background: var(--md-gray-100);
}

.overview-body p {
  margin: 0 0 32px;
  font-size: 0.95em;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.overview-card {
  background: var(--md-white);
  border-radius: var(--md-radius-lg);
  padding: 28px;
  box-shadow: var(--md-shadow);
}

.overview-card h3 {
  margin: 0 0 16px;
  font-size: 1.05em;
  font-weight: 700;
  color: var(--md-black);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--md-red);
}

.overview-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.overview-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.92em;
}

.overview-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--md-red);
  border-radius: 50%;
}

.program-block {
  background: var(--md-white);
  border-radius: var(--md-radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--md-shadow);
}

.program-title {
  margin: 0 0 20px;
  font-size: 1.05em;
  font-weight: 700;
  color: var(--md-black);
}

.program-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.program-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--md-gray-300);
  font-size: 0.92em;
}

.program-list li:last-child {
  border-bottom: none;
}

.program-list .time {
  font-weight: 700;
  color: var(--md-red);
}

.detail-table {
  display: grid;
  gap: 0;
  margin: 0;
  background: var(--md-white);
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  box-shadow: var(--md-shadow);
}

.detail-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--md-gray-300);
}

.detail-table div:last-child {
  border-bottom: none;
}

.detail-table--full {
  grid-column: 1 / -1;
}

.detail-table dt,
.detail-table dd {
  margin: 0;
  padding: 16px 20px;
  font-size: 0.92em;
}

.detail-table dt {
  background: var(--md-gray-100);
  font-weight: 700;
  color: var(--md-black);
}

/* Inline CTA */
.section-cta-inline {
  padding: 48px 0;
  background: var(--md-white);
}

.cta-inline-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  background: var(--md-red-light);
  border-left: 4px solid var(--md-red);
  border-radius: var(--md-radius-lg);
}

.cta-inline-text {
  margin: 0;
  font-weight: 700;
  font-size: 1em;
  color: var(--md-black);
}

/* Speakers */
.section-speakers {
  background: var(--md-white);
}

.speaker-list {
  display: grid;
  gap: 24px;
}

.speaker-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: var(--md-gray-100);
  border-radius: var(--md-radius-lg);
  transition: 0.2s ease;
}

.speaker-item:hover {
  box-shadow: var(--md-shadow);
}

.speaker-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--md-white);
  border: 3px solid var(--md-gray-300);
  font-size: 2em;
  font-weight: 900;
  color: var(--md-gray-700);
  overflow: hidden;
}

.speaker-photo--accent {
  border-color: var(--md-red);
  color: var(--md-red);
  background: var(--md-red-light);
}

.speaker-info h3 {
  margin: 0 0 10px;
  font-size: 1.25em;
  font-weight: 900;
  color: var(--md-black);
}

.honorific {
  font-size: 0.85em;
  font-weight: 500;
  margin-left: 4px;
}

.speaker-org {
  margin: 0;
  font-size: 0.88em;
  color: var(--md-gray-700);
  line-height: 1.6;
}

/* Bottom CTA */
.section-cta-bottom {
  background: var(--md-gray-100);
  padding-bottom: 96px;
}

.cta-bottom-card {
  background: var(--md-white);
  border-radius: var(--md-radius-lg);
  padding: 48px;
  box-shadow: var(--md-shadow);
  text-align: center;
}

.cta-bottom-eyebrow {
  margin: 0 0 12px;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--md-red);
  letter-spacing: 0.06em;
}

.cta-bottom-title {
  margin: 0 0 16px;
  font-size: clamp(1.4em, 3vw, 2em);
  font-weight: 900;
  line-height: 1.4;
  color: var(--md-black);
}

.cta-bottom-lead {
  margin: 0 0 28px;
  color: var(--md-gray-700);
  font-size: 0.95em;
}

.cta-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.entry-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  padding-top: 32px;
  border-top: 1px solid var(--md-gray-300);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 0.88em;
  font-weight: 700;
  color: var(--md-black);
}

.form-group input {
  height: 48px;
  border: 1px solid var(--md-gray-300);
  border-radius: var(--md-radius);
  padding: 0 14px;
  font-family: var(--font);
  font-size: 1em;
  transition: 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--md-red);
  box-shadow: 0 0 0 3px rgba(200, 44, 44, 0.15);
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.82em;
  color: var(--md-gray-500);
  text-align: center;
}

.form-message {
  min-height: 1.2em;
  text-align: center;
  font-weight: 700;
  margin-top: 8px;
}

.form-message.success {
  color: #1a7a42;
}

.form-message.error {
  color: var(--md-red);
}

/* Footer */
.site-footer {
  background: var(--md-black);
  color: var(--md-gray-300);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  margin: 0;
  font-size: 0.82em;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.82em;
  color: var(--md-gray-300);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--md-white);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

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

  .speaker-item {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 24px;
  }

  .speaker-photo {
    width: 80px;
    height: 80px;
    font-size: 1.4em;
  }
}

@media (max-width: 640px) {
  .sp-hidden {
    display: none;
  }

  .header-nav .header-link:not(.header-link--primary) {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .program-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-table div {
    grid-template-columns: 1fr;
  }

  .detail-table dt {
    border-bottom: 1px solid var(--md-gray-300);
  }

  .cta-inline-wrap {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .cta-bottom-card {
    padding: 28px 20px;
  }

  .cta-bottom-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-bottom-actions .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}