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

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #f7f7f7;
}

a { color: #0066cc; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 3px solid #005bac;
  padding: 16px 0;
}
.site-header .logo { height: 48px; }

/* Footer */
.site-footer {
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 24px 0;
  margin-top: 60px;
  font-size: 13px;
}
.site-footer a { color: #aaa; }

/* Event header */
.event-header {
  text-align: center;
  padding: 48px 0 24px;
}
.event-label {
  display: inline-block;
  background: #005bac;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: .08em;
}
.event-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}
.event-meta {
  font-size: 14px;
  color: #666;
}

/* Intro box */
.intro-box {
  background: #eef4fb;
  border-left: 4px solid #005bac;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 40px;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

/* Page title */
.page-title {
  font-size: 24px;
  margin: 40px 0 10px;
  color: #005bac;
  border-left: 5px solid #005bac;
  padding-left: 12px;
}
.page-desc {
  margin: 0 0 40px;
  color: #555;
}

/* Products */
.products h2, .howto h2 {
  font-size: 20px;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.product-card--set {
  border-color: #005bac;
  box-shadow: 0 4px 16px rgba(0,91,172,.15);
}
.set-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #e06000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 14px;
  border-radius: 20px;
}
.product-category {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}
.product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}
.product-speaker {
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.5;
}
.product-note {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}
/* Session details */
.session-details h2 {
  font-size: 20px;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}
.session-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.session-num {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: #005bac;
  border-radius: 4px;
  padding: 8px 6px;
  text-align: center;
  letter-spacing: .1em;
}
.session-body { flex: 1; min-width: 0; }
.session-speaker-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.session-photo-wrap { flex-shrink: 0; }
.session-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 3px solid #e8f0fa;
}
.session-meta { flex: 1; }
.session-title {
  font-size: 17px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 8px;
}
.session-speaker-name {
  font-size: 13px;
  color: #555;
}
.session-facilitators {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.facilitator { text-align: center; }
.facilitator-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 3px solid #e8f0fa;
  display: block;
  margin: 0 auto 6px;
}
.facilitator-role { font-size: 11px; color: #888; margin-bottom: 2px; }
.facilitator-name { font-size: 13px; font-weight: bold; color: #333; }
.session-abstract {
  font-size: 14px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 16px;
}
.btn-buy-link {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: #005bac;
  text-decoration: none;
  border: 1px solid #005bac;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  background: none;
}
.btn-buy-link:hover { background: #005bac; color: #fff; }

@media (max-width: 600px) {
  .session-card { flex-direction: column; gap: 12px; }
  .session-num { writing-mode: horizontal-tb; width: fit-content; padding: 4px 10px; }
  .session-speaker-row { flex-direction: column; }
}

.product-price {
  font-size: 28px;
  font-weight: bold;
  color: #c00;
  margin: 12px 0 16px;
}
.product-price span {
  font-size: 13px;
  color: #888;
  font-weight: normal;
}

/* Buttons */
.btn-purchase {
  display: block;
  width: 100%;
  background: #005bac;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background .2s;
}
.btn-purchase:hover { background: #004090; }

.btn-back {
  display: inline-block;
  margin-top: 20px;
  background: #888;
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 6px;
}

/* How to */
.howto-steps {
  list-style: none;
  margin: 0 0 20px;
}
.howto-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #005bac;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-top: 2px;
}
.step-body { line-height: 1.7; }
.step-note { font-size: 13px; color: #666; }
.howto-note {
  font-size: 13px;
  color: #666;
  background: #f0f0f0;
  padding: 12px 16px;
  border-radius: 4px;
}
.howto-note p { margin-bottom: 4px; }
.howto-note p:last-child { margin-bottom: 0; }

/* Message box */
.message-box {
  background: #fff;
  border-radius: 8px;
  padding: 48px 32px;
  text-align: center;
  margin: 48px auto;
  max-width: 560px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.message-box--success { border-top: 6px solid #2a9d2a; }
.message-box--error   { border-top: 6px solid #cc0000; }
.message-icon {
  font-size: 48px;
  color: #2a9d2a;
  margin-bottom: 16px;
}
.message-box h1 { font-size: 22px; margin-bottom: 16px; }
.message-box p  { color: #555; margin-bottom: 10px; }
.message-box .note { font-size: 13px; color: #888; }

/* View page */
.view-meta {
  margin: 10px 0 32px;
  color: #555;
  font-size: 14px;
}
.video-section { margin-bottom: 48px; }
.video-title {
  font-size: 18px;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid #005bac;
}
.video-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.video-placeholder {
  background: #eee;
  padding: 40px;
  text-align: center;
  color: #888;
  border-radius: 4px;
}
.view-note {
  font-size: 13px;
  color: #888;
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 20px; }
}
