.register {
  background: var(--base-white);
  padding: 80px 20px 120px;
  color: var(--text-main);
}

.register-inner {
  width: clamp(320px, 90vw, 1200px);
  margin: 0 auto;
}

.register-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--blue-main);
  letter-spacing: 0.05em;
}

/* タブボタン */
.tab-buttons {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  margin-bottom: 40px;
}

.tab-button {
  background: none;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-sub);
  border-bottom: 3px solid transparent;
 /* transition: all 0.3s ease;*/
}

.tab-button:hover {
  color: var(--blue-main);
}

.tab-button.active {
  color: var(--blue-main);
  border-bottom-color: var(--green-main);
  font-weight: 600;
}

/* タブ内容 */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--green-main);
}

.tab-content h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.tab-content p {
  line-height: 2;
  margin-bottom: 24px;
}

.tab-content p2 {
   font-size: 13px;
  color: var(--text-sub);
  margin-top: 12px;
}

.info-list {
  margin-bottom: 32px;
  padding-left: 20px;
  color: var(--text-sub);
}

.info-list li {
  margin-bottom: 10px;
}

/* 登録ボタン */
.register-button {
  display: inline-block;
  padding: 14px 36px;
  background: var(--green-main);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.button-block {
  margin-bottom: 24px;
}


.register-button:hover {
  background: var(--green-main);
}

.register-button.olive {
  background: var(--green-main);
}

.register-button.olive:hover {
  background: var(--green-main);
}

/* スマホ */
@media (max-width: 768px) {
  .tab-buttons {
    flex-direction: column;
  }

  .tab-button {
    padding: 14px 20px;
  }
}

/* 参加費テーブル */
.fee-table {
  margin: -30px 0 24px;
  border-top: 1px solid rgba(0,0,0,0.15);
}

.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 15px;
}

.fee-label {
  color: var(--text-main);
}

.fee-price {
  font-weight: 600;
  color: var(--accent-green);
  white-space: nowrap;
}

.fee-note {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* スマホ微調整 */
@media (max-width: 768px) {
  .fee-row {
    flex-direction: column;
    gap: 6px;
  }

  .fee-price {
    align-self: flex-end;
  }
}


.abstract-section {
  margin-top: 48px;
}

.abstract-section h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--blue-main);
}

.abstract-section.notice {
  background: #f7f9f8;
  padding: 24px;
  border-left: 4px solid var(--green-main);
}

.abstract-section.notice.emphasis {
  background: #fff6f6;
  border-left-color: #c0392b;
}

.notice-list {
  padding-left: 20px;
  margin: 16px 0;
}

.notice-list li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.notice-source {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 12px;
}

.map-container {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.15);
}

.map-note {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 12px;
}

.bus-timetable {
  margin-top: 48px;
}

.bus-timetable h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--blue-main);
}

.bus-timetable iframe {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
}

.bus-note {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 12px;
}


