@charset "UTF-8";

/* ===== 年内入試スタートライブ 会場ページ ===== */

.nennai-venue {
  text-align: left;
}

/* Override reset.css margin: 0 auto on inner divs */
.nv-card div,
.nv-card span,
.nv-card h1,
.nv-card p,
.nv-card hr,
.nv-card a,
.nv-card img {
  margin-left: 0;
  margin-right: 0;
}

/* main背景色 - 会場ページ用 */
main:has(.nennai-venue) {
  background-color: #e8f4ff;
  margin-top: 30px;
}

/* White card wrapper */
.nv-card {
  background: #fff;
  border-radius: 0 0 8px 8px;
  padding: 0 50px 50px;
  margin-bottom: 24px;
  border-top: 4px solid #12A4FF;
}

/* Venue Header */
.nv-header {
  padding: 24px 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nv-header-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.nv-title {
  font: 700 40px/1.3 'Noto Sans JP', sans-serif;
  color: #333;
}

.nv-tags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nv-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 4px;
  font: 700 13px/1.4 'Noto Sans JP', sans-serif;
}

.nv-tag-img {
  height: 28px;
  width: auto;
}

.nv-tag--yellow {
  background: #fff3b0;
  color: #996600;
  border: 1px solid #e6c200;
}

.nv-tag--pink {
  background: #ffe0e8;
  color: #cc0044;
  border: 1px solid #ff8da8;
}

.nv-tag--green {
  background: #2eab5a;
  color: #fff;
}

.nv-tag--blue {
  background: #12A4FF;
  color: #fff;
}

/* Header Logo (right side) */
.nv-header-logo {
  flex-shrink: 0;
}

.nv-logo-img {
  height: 70px;
  width: auto;
}

/* Venue Info */
.nv-info {
  padding: 16px 0;
  margin-bottom: 0;
  
}

.nv-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.nv-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 500 18px/1.5 'Noto Sans JP', sans-serif;
}

.nv-info-label {
  background: #12A4FF;
  color: #fff;
  padding: 5px 16px;
  border-radius: 4px;
  font: 700 15px/1.4 'Noto Sans JP', sans-serif;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.nv-info-label--outline {
  background: #fff;
  color: #12A4FF;
  border: 2px solid #12A4FF;
}

.nv-info-value {
  font-weight: 700;
  font-size: 24px;
  color: #333;
}

.nv-info-value strong {
  background: #f9f101;
  color: #333;
  font-weight: 900;
}

.nv-divider {
  border: none;
  border-top: 1px dashed #a0c4e8;
  margin: 16px 0;
}

/* Access Link Button */
.nennai-venue a.nv-access-link,
.nennai-venue a.nv-access-link:link,
.nennai-venue a.nv-access-link:visited {
  display: inline-block;
  background: #fff;
  color: #12A4FF;
  border: 1px solid #12A4FF;
  border-radius: 4px;
  padding: 2px 14px;
  font: 600 13px/1.4 'Noto Sans JP', sans-serif;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nennai-venue a.nv-access-link:hover {
  background: #12A4FF;
  color: #fff;
  text-decoration: none;
}

/* Action Button */
.nv-action {
  margin-top: 20px;
  padding: 16px 0;
}

.nennai-venue a.nv-btn-primary,
.nennai-venue a.nv-btn-primary:link,
.nennai-venue a.nv-btn-primary:visited {
  display: block;
  background: #12A4FF;
  color: #fff;
  padding: 18px 48px;
  border-radius: 12px;
  font: 700 18px/1.4 'Noto Sans JP', sans-serif;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s;
}

.nennai-venue a.nv-btn-primary:hover,
.nennai-venue a.nv-btn-primary:active {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

/* Benefit Section on venue page */
.nv-benefit-section {
  margin-bottom: 30px;
}

.nv-benefit-section .benefit-card {
  margin-bottom: 0;
}

.nennai-venue .benefit-cta,
.nennai-venue .benefit-cta:link,
.nennai-venue .benefit-cta:visited {
  background: #2eab5a;
  color: #fff;
  text-decoration: none;
}


.nennai-venue .benefit-cta:hover {
  opacity: 0.85;
  color: #fff;
}

/* Override booth title for nennai */
.nv-booth-title {
  background: #12A4FF !important;
  border-color: #12A4FF !important;
  box-shadow: 3px 3px 0px #d4e7f6 !important;
}

/* Override placeBox for nennai */
.nennai-venue .placeBox {
  border-color: #12A4FF;
}

.nennai-venue .placeBox .date.firstbox dl dt.placeDetail {
  background-color: #12A4FF;
}

.nennai-venue .placeBox .date dl dt {
  color: #12A4FF;
}

/* Override boxtitle link for nennai */
.nennai-venue .boxtitle a,
.nennai-venue .boxtitle a:link,
.nennai-venue .boxtitle a:visited {
  background: #12A4FF;
  color: #fff;
  box-shadow: 3px 3px 0px #d4e7f6;
}

/* ===== Corner List Section ===== */
.nv-corners {
  margin-bottom: 40px;
}

.nv-corners-header {
  background: #12A4FF;
  color: #fff;
  font: 700 18px/1.4 'Noto Sans JP', sans-serif;
  padding: 14px 24px;
}

/* 2-column layout for corner groups */
.nv-corners-grid {
  columns: 2;
  column-gap: 12px;
  padding: 50px 0;
}

.nv-corners-grid > .nv-corner-group {
  break-inside: avoid;
  margin-bottom: 12px;
}

/* Corner Group */
.nv-corner-group {
  border-radius: 16px;
  padding: 10px;
  columns: 2;
  column-gap: 10px;
}

.nv-corner-group .nv-corner-card,
.nv-corner-group .nv-corner-group-header {
  break-inside: avoid;
}

/* Corner Group Header (1列目のみ) */
.nv-corner-group-header {
  margin-top: -20px;
}

.nv-corner-group-header--bottom {
  margin-top: 20px;
  text-align: right;
}

.nv-corner-group-header--bottom .nv-corner-group-title-img {
  width: 100px;
  max-width: none;
  margin-right: 60px;
}

.nv-corner-group-title {
  font: 900 28px/1.4 'Noto Sans JP', sans-serif;
  margin: 0;
}

.nv-corner-group-title-img {
  height: auto;
  max-width: 100%;
}

.nv-corner-group-title--yellow {
  color: #b8860b;
}

.nv-corner-group--blue {
  background: url('../images/g1_bg.png') no-repeat top center;
  background-size: 100% auto;
}

.nv-corner-group--yellow {
  background: url('../images/g3_bg.png') no-repeat top center;
  background-size: 100% 100%;
  padding-bottom: 50px;
}

.nv-corner-group--pink {
  background: url('../images/g2_bg.png') no-repeat top center;
  background-size: 100% auto;
}

.nv-corner-group--green {
  background: url('../images/g4_bg.png') no-repeat top center;
  background-size: 100% auto;
}

.nv-corner-group--gray {
  background: #f0ece8;
}

/* Override reset.css for corners */
.nv-corners div,
.nv-corners span,
.nv-corners h3,
.nv-corners p,
.nv-corners strong {
  margin-left: 0;
  margin-right: 0;
}

/* Corner Card */
.nv-corner-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-top: 30px;
}

/* Negative margin-top for pulling card up */
.nv-corner-card--pull-up {
  margin-top: -15px;
}

/* Full-width card (spans both columns) */
.nv-corner-card--full {
  column-span: all;
}


/* Speech Bubble */
.nv-corner-bubble {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 20px;
  font: 600 12px/1.4 'Noto Sans JP', sans-serif;
  text-align: center;
  position: relative;
  top: -30px;
  margin-bottom: 2px;
  box-sizing: border-box;
}

.nv-corner-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-width: 14px;
}

.nv-corner-bubble--blue {
  background: #e0f0ff;
  color: #12A4FF;
}
.nv-corner-bubble--blue::after {
  border-top-color: #e0f0ff;
}

.nv-corner-bubble--pink {
  background: #ffd6e4;
  color: #cc0044;
}
.nv-corner-bubble--pink::after {
  border-top-color: #ffd6e4;
}

.nv-corner-bubble--green {
  background: #d4f0de;
  color: #1a8a42;
}
.nv-corner-bubble--green::after {
  border-top-color: #d4f0de;
}

.nv-corner-bubble--yellow {
  background: #fff3b0;
  color: #b8860b;
}
.nv-corner-bubble--yellow::after {
  border-top-color: #fff3b0;
}

.nv-corner-bubble--gray {
  background: #e8e0d8;
  color: #6b5e50;
}
.nv-corner-bubble--gray::after {
  border-top-color: #e8e0d8;
}

/* Corner Name */
.nv-corner-name {
  font: 900 16px/1.4 'Noto Sans JP', sans-serif;
  color: #333;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #333;
}

.nv-corner-name--blue {
  color: #12A4FF;
  border-color: #12A4FF;
}

.nv-corner-name--pink {
  color: #cc0044;
  border-color: #cc0044;
}

.nv-corner-name--green {
  color: #1a8a42;
  border-color: #1a8a42;
}

.nv-corner-name--yellow {
  color: #b8860b;
  border-color: #b8860b;
}

.nv-corner-name--gray {
  color: #6b5e50;
  border-color: #6b5e50;
}

.nv-corner-name--no-border {
  border-bottom: none;
  padding-bottom: 0;
}

.nv-corner-name--sm {
  font-size: 15px;
}

/* Corner Description */
.nv-corner-desc {
  font: 500 14px/1.8 'Noto Sans JP', sans-serif;
  color: #333;
}

.nv-corner-desc--sm {
  font-size: 13px;
  line-height: 1.7;
}

/* AI-m Card */
.nv-corner-card--aim {
  padding: 0;
  overflow: hidden;
  text-align: center;
  margin-top: -30px;
}

.nv-aim-image {
  background: #f5c518;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nv-aim-img {
  max-width: 100%;
  height: auto;
}

.nv-aim-body {
  padding: 20px 24px;
}

.nv-aim-title {
  border-bottom: none;
  text-align: center;
  font-size: 20px;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.nv-aim-desc {
  text-align: center;
}

/* Stamp Rally Card */
.nv-stamp-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.nv-stamp-text {
  flex: 1;
  min-width: 0;
}

.nv-stamp-text .nv-corner-desc strong {
  font-size: 24px;
  color: #2eab5a;
}

.nv-stamp-image {
  flex-shrink: 0;
}

.nv-stamp-img {
  height: 160px;
  width: auto;
}

/* Corner Notes */
.nv-corner-notes {
  font: 400 12px/1.6 'Noto Sans JP', sans-serif;
  color: #666;
  margin-top: 8px;
}

/* ===== Access & Contact Section ===== */
.nv-access-section,
.nv-contact-section {
  margin-bottom: 24px;
}

.nv-section-header {
  background: #12A4FF;
  color: #fff;
  font: 700 18px/1.4 'Noto Sans JP', sans-serif;
  padding: 14px 24px;
}

.nv-access-body {
  background: #fff;
  padding: 30px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.nv-access-body div {
  margin-left: 0;
  margin-right: 0;
}

.nv-access-map {
  flex-shrink: 0;
  width: 50%;
}

.nv-access-map iframe {
  display: block;
  border-radius: 4px;
}

.nv-access-info {
  flex: 1;
  min-width: 0;
}

.nv-access-place {
  font: 700 22px/1.4 'Noto Sans JP', sans-serif;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.nv-access-address {
  font: 500 16px/2 'Noto Sans JP', sans-serif;
  color: #333;
}

.nv-contact-body {
  background: #fff;
  padding: 14px 30px;
}

.nv-contact-body p {
  margin-left: 0;
  margin-right: 0;
}

.nv-contact-text {
  font: 500 15px/2 'Noto Sans JP', sans-serif;
  color: #333;
}

.nennai-venue a.nv-contact-email,
.nennai-venue a.nv-contact-email:link,
.nennai-venue a.nv-contact-email:visited {
  color: #12A4FF;
  text-decoration: none;
}

.nennai-venue a.nv-contact-email:hover {
  text-decoration: underline;
}

.nv-back-link {
  margin: 30px 0;
}

/* SP Layout */
@media screen and (max-width: 768px) {
  .nv-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }

  .nv-header-main {
    flex-wrap: wrap;
  }

  .nv-title {
    font-size: 24px;
  }

  .nv-info {
    padding: 12px 0;
  }

  .nv-info-row {
    flex-wrap: wrap;
  }

  .nennai-venue a.nv-btn-primary {
    padding: 14px 20px;
    font-size: 16px;
  }

  .nv-benefit-section .benefit-columns {
    flex-direction: column;
    gap: 16px;
  }

  .nv-benefit-section .benefit-left {
    justify-content: center;
  }

  .nv-benefit-section .benefit-badge-img {
    height: 140px;
  }

  .nv-benefit-section .benefit-amount {
    font-size: 48px;
  }

  .nv-benefit-section .benefit-card {
    padding: 24px 20px;
  }

  .nv-access-body {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .nv-access-map {
    width: 100%;
  }
}
