﻿/* Main Content Styles */

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Main Content Layout */
.main-content {
  margin-top: 70px;
}

.section {
  padding: var(--spacing-20) 0;
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
  width: 100%;
  overflow-x: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
  position: relative;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-sm);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin: 0 auto;
  line-height: 1.6;
}

/* Overview Section */
.overview-section {
  background: var(--background-light);
}

.notice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-6);
  margin-top: var(--spacing-12);
}

.notice-card {
  display: flex;
  gap: var(--spacing-4);
  padding: var(--spacing-6);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border-left: 4px solid transparent;
}

.notice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.notice-card.important {
  border-left-color: var(--error-color);
}

.notice-card.info {
  border-left-color: var(--primary-color);
}

.notice-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xl);
}

.notice-card.important .notice-icon {
  background: #fef2f2;
  color: var(--error-color);
}

.notice-card.info .notice-icon {
  background: #eff6ff;
  color: var(--primary-color);
}

.notice-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
}

.notice-content ul {
  list-style: none;
  padding: 0;
}

.notice-content li {
  position: relative;
  padding-left: var(--spacing-5);
  margin-bottom: var(--spacing-2);
  color: var(--text-secondary);
  line-height: 1.6;
}

.notice-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: var(--font-size-lg);
}

.notice-content a {
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-all;
  font-weight: 500;
}

.notice-content a:hover {
  text-decoration: underline;
}

/* Requirements Section */
.requirements-section {
  background: white;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-12);
}

.requirement-card {
  background: white;
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid var(--border-light);
}

.requirement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-4);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-xl);
}

.requirement-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
}

.requirement-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.requirement-card small {
  display: block;
  margin-top: var(--spacing-2);
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-6);
}

.info-card {
  background: var(--background-light);
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-color);
}

.info-card h4 {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
}

.info-card i {
  color: var(--accent-color);
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  background: var(--background-light);
}

.pricing-card {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-12);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.main-price {
  border: 3px solid var(--primary-color);
}

.price-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: var(--spacing-8);
  text-align: center;
}

.price-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--spacing-2);
}

.currency {
  font-size: var(--font-size-2xl);
  font-weight: 500;
}

.amount {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.price-details {
  padding: var(--spacing-6);
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Additional Costs Section - シンプル2列レイアウト */
.additional-costs {
  background: white;
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-8);
}

.additional-costs h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
  text-align: center;
}

/* デスクトップ時は2列グリッド */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-3);
  max-width: 700px;
  margin: 0 auto var(--spacing-4) auto;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-3);
  background: var(--background-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--secondary-color);
  min-height: 60px;
}

.cost-label {
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
  padding-right: var(--spacing-2);
  line-height: 1.3;
  font-size: var(--font-size-sm);
}

.cost-value {
  font-weight: 600;
  color: var(--primary-color);
  font-size: var(--font-size-base);
  white-space: nowrap;
  text-align: right;
}

.cost-note {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  text-align: center;
  line-height: 1.4;
  padding: var(--spacing-3);
  background: var(--background-light);
  border-radius: var(--radius-md);
  margin: 0;
}

/* タブレット時 */
@media (max-width: 1024px) {
  .additional-costs {
    padding: var(--spacing-4);
  }
  
  .cost-grid {
    gap: var(--spacing-2);
    max-width: 600px;
  }
  
  .cost-item {
    padding: var(--spacing-2);
    min-height: 50px;
  }
  
  .cost-label {
    font-size: var(--font-size-xs);
  }
  
  .cost-value {
    font-size: var(--font-size-sm);
  }
}

/* モバイル時は1列に */
@media (max-width: 768px) {
  .cost-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .cost-item {
    flex-direction: column;
    gap: var(--spacing-1);
    text-align: center;
    padding: var(--spacing-2);
    min-height: auto;
  }
  
  .cost-label {
    padding-right: 0;
    text-align: center;
  }
  
  .cost-value {
    text-align: center;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .additional-costs {
    padding: var(--spacing-3);
  }
  
  .cost-item {
    padding: var(--spacing-2);
  }
  
  .cost-note {
    padding: var(--spacing-2);
    font-size: 10px;
  }
}

/* 奇数個のアイテム（5個目）を中央配置 */
@media (min-width: 769px) {
  .cost-item:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 350px;
    margin: 0 auto;
  }
}
/* ADFEST Registration */
.adfest-registration {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: var(--spacing-2);
  border-radius: var(--radius-xl);
  border: 2px solid #0ea5e9;
  margin-top: var(--spacing-12);
}

.adfest-registration h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
  text-align: center;
}

.registration-note {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-6);
  font-weight: 500;
  font-size: var(--font-size-lg);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--spacing-6) 0;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modern-table thead {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.modern-table th {
  padding: var(--spacing-4) var(--spacing-6);
  text-align: center;
  font-weight: 600;
  color: white;
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modern-table td {
  padding: var(--spacing-4) var(--spacing-6);
  border-bottom: 1px solid var(--border-light);
border-right: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--font-size-base);
	text-align: center;
}

.modern-table tbody tr:hover {
  background-color: var(--background-light);
}

.modern-table tbody tr:last-child td {
  border-bottom: none;
}

.registration-notes {
  margin-top: var(--spacing-6);
  padding: var(--spacing-6);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.registration-notes h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.registration-notes p {
  margin-bottom: var(--spacing-3);
  color: var(--text-secondary);
  line-height: 1.6;
}

.included-list {
  list-style: none;
  padding: 0;
}

.included-list li {
  position: relative;
  padding-left: var(--spacing-6);
  margin-bottom: var(--spacing-2);
  color: var(--text-secondary);
  line-height: 1.6;
}

.included-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: var(--font-size-lg);
}

/* Inclusion Section */
.inclusion-section {
  margin-top: var(--spacing-12);
}

.inclusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-6);
}

.inclusion-card {
  background: white;
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.inclusion-card.included {
  border-left: 4px solid var(--success-color);
}

.inclusion-card.not-included {
  border-left: 4px solid var(--warning-color);
}

.inclusion-card h4 {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.inclusion-card.included h4 i {
  color: var(--success-color);
}

.inclusion-card.not-included h4 i {
  color: var(--warning-color);
}

.inclusion-card ol {
  padding-left: var(--spacing-5);
  color: var(--text-secondary);
}

.inclusion-card li {
  margin-bottom: var(--spacing-2);
  line-height: 1.6;
}

/* Schedule Section - レスポンシブ対応強化 */
.schedule-section {
  background: white;
}

.schedule-container {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
}

.schedule-scroll-hint {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: var(--spacing-4);
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.schedule-scroll-hint i {
  margin-right: var(--spacing-2);
  animation: bounce 2s infinite;
}

.schedule-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--spacing-2);
  background: var(--background-light);
}

.schedule-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.schedule-table th {
  background: linear-gradient(135deg, var(--text-primary), #374151);
  color: white;
  padding: var(--spacing-4) var(--spacing-3);
  text-align: center;
  font-weight: 600;
  font-size: var(--font-size-sm);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.schedule-table th:last-child {
  border-right: none;
}

.schedule-table td {
  padding: var(--spacing-4) var(--spacing-3);
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  vertical-align: top;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  background: white;
  min-height: 60px;
}

.schedule-table td:last-child {
  border-right: none;
}

.schedule-table tbody tr:hover {
  background-color: var(--background-light);
}

.schedule-table tbody tr:hover td {
  background-color: var(--background-light);
}

.schedule-day {
  background: var(--primary-color) !important;
  color: white;
  text-align: center;
  font-weight: 700;
  font-size: var(--font-size-base);
  width: 60px;
  min-width: 60px;
}

.schedule-date {
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: var(--text-primary);
  width: 100px;
  min-width: 100px;
}

.schedule-city {
  color: var(--text-secondary);
  width: 180px;
  min-width: 180px;
  line-height: 1.4;
}

.schedule-transport {
  text-align: center;
  font-weight: 500;
  color: var(--text-secondary);
  width: 100px;
  min-width: 100px;
}

.schedule-time {
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-secondary);
  width: 120px;
  min-width: 120px;
}

.schedule-details {
  color: var(--text-secondary);
  width: 300px;
  min-width: 300px;
  line-height: 1.5;
}

.schedule-details strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: var(--spacing-1);
}

.schedule-meals {
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  white-space: nowrap;
  width: 80px;
  min-width: 80px;
	vertical-align: middle;
}

.adfest-highlight {
  color: var(--error-color);
  font-weight: 700;
  background: rgba(220, 38, 38, 0.1);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.schedule-notes {
  padding: var(--spacing-4);
  background: var(--background-light);
  border-top: 1px solid var(--border-light);
}

.schedule-notes p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.5;
  font-size: var(--font-size-sm);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .schedule-table {
    min-width: 900px;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: var(--spacing-3) var(--spacing-2);
    font-size: var(--font-size-xs);
  }
  
  .schedule-day {
    width: 50px;
    min-width: 50px;
  }
  
  .schedule-date {
    width: 90px;
    min-width: 90px;
  }
  
  .schedule-city {
    width: 150px;
    min-width: 150px;
  }
  
  .schedule-transport {
    width: 80px;
    min-width: 80px;
  }
  
  .schedule-time {
    width: 100px;
    min-width: 100px;
  }
  
  .schedule-details {
    width: 250px;
    min-width: 250px;
  }
  
  .schedule-meals {
    width: 70px;
    min-width: 70px;
  }
}

@media (max-width: 768px) {
  .schedule-scroll-hint {
    padding: var(--spacing-3);
    font-size: var(--font-size-xs);
  }
  
  .schedule-table-container {
    padding: var(--spacing-1);
  }
  
  .schedule-table {
    min-width: 800px;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: var(--spacing-2) var(--spacing-1);
    font-size: 10px;
    line-height: 1.3;
  }
  
  .schedule-day {
    width: 40px;
    min-width: 40px;
    font-size: 10px;
  }
  
  .schedule-date {
    width: 80px;
    min-width: 80px;
    font-size: 9px;
  }
  
  .schedule-city {
    width: 120px;
    min-width: 120px;
    font-size: 9px;
  }
  
  .schedule-transport {
    width: 60px;
    min-width: 60px;
    font-size: 9px;
  }
  
  .schedule-time {
    width: 80px;
    min-width: 80px;
    font-size: 9px;
  }
  
  .schedule-details {
    width: 200px;
    min-width: 200px;
    font-size: 9px;
  }
  
  .schedule-meals {
    width: 60px;
    min-width: 60px;
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .schedule-table {
    min-width: 700px;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: var(--spacing-1);
    font-size: 12px;
    line-height: 1.6;
  }
  
  .schedule-day {
    width: 35px;
    min-width: 35px;
  }
  
  .schedule-date {
    width: 70px;
    min-width: 70px;
  }
  
  .schedule-city {
    width: 100px;
    min-width: 100px;
  }
  
  .schedule-transport {
    width: 50px;
    min-width: 50px;
  }
  
  .schedule-time {
    width: 70px;
    min-width: 70px;
  }
  
  .schedule-details {
    width: 180px;
    min-width: 180px;
  }
  
  .schedule-meals {
    width: 50px;
    min-width: 50px;
  }
  
  .adfest-highlight {
    
    padding: 1px var(--spacing-1);
  }
}

/* スクロールバーのスタイリング強化 */
.schedule-table-container::-webkit-scrollbar {
  height: 12px;
}

.schedule-table-container::-webkit-scrollbar-track {
  background: var(--background-light);
  border-radius: var(--radius-md);
  margin: 0 var(--spacing-2);
}

.schedule-table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-md);
  border: 2px solid var(--background-light);
}

.schedule-table-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}

/* Firefox用スクロールバー */
.schedule-table-container {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--background-light);
}

/* テーブル内のテキスト調整 */
.schedule-table p {
  margin: 0;
  padding: 0;
}

.schedule-table br {
  line-height: 1.2;
}

/* ホバー効果の改善 */
.schedule-table tbody tr {
  transition: var(--transition-fast);
}

.schedule-table tbody tr:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 印刷時の調整 */
@media print {
  .schedule-scroll-hint {
    display: none;
  }
  
  .schedule-table-container {
    overflow: visible;
    padding: 0;
  }
  
  .schedule-table {
    min-width: auto;
    width: 100%;
    font-size: 8px;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: 2px;
    border: 1px solid #000;
  }
}

/* Travel Documents Section */
.travel-docs-section {
  background: var(--background-light);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-12);
}

.doc-card {
  background: white;
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.doc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-4);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-2xl);
}

.doc-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.doc-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
  margin-bottom: var(--spacing-3);
}

.doc-card .note {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  font-style: italic;
}

.insurance-section,
.safety-section {
  background: white;
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-8);
}

.insurance-section h3,
.safety-section h3 {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.insurance-section i {
  color: var(--success-color);
}

.safety-section i {
  color: var(--warning-color);
}

.insurance-content p,
.safety-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-4);
}

.insurance-link {
  text-align: center;
  margin-top: var(--spacing-6);
}

.insurance-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-6);
  background: linear-gradient(135deg, var(--success-color), #059669);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.insurance-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.safety-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-top: var(--spacing-4);
}

.safety-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: var(--spacing-2) 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.safety-links a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-color);
}

/* Cancellation Section */
.cancellation-section {
  background: white;
}

.cancellation-content {
  max-width: 900px;
  margin: 0 auto;
}

.cancellation-content > p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--spacing-8);
}

/* デスクトップ用取消テーブル */
.cancellation-table {
  margin-bottom: var(--spacing-8);
  width: 100%;
}

.cancellation-table .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: white;
}

.cancellation-table .modern-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: white;
  margin: 0;
}

.cancellation-table .modern-table th {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: var(--spacing-4) var(--spacing-6);
  font-weight: 600;
  font-size: var(--font-size-base);
  text-align: center;
  border: none;
}

.cancellation-table .modern-table td {
  padding: var(--spacing-4) var(--spacing-6);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  vertical-align: top;
}

.cancellation-table .modern-table th:first-child,
.cancellation-table .modern-table td:first-child {
  width: 70%;
}

.cancellation-table .modern-table th:last-child,
.cancellation-table .modern-table td:last-child {
  width: 30%;
  text-align: center;
  font-weight: 600;
  color: var(--warning-color);
}

.cancellation-table .modern-table tbody tr:hover {
  background-color: var(--background-light);
}

.cancellation-table .modern-table tbody tr:last-child td {
  border-bottom: none;
}

/* モバイル用カードレイアウト（デフォルトは非表示） */
.cancellation-cards {
  display: none;
}

.cancellation-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-4);
  margin-bottom: var(--spacing-4);
  border-left: 4px solid var(--warning-color);
}

.cancellation-card-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-2);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.cancellation-card-value {
  font-weight: 600;
  color: var(--warning-color);
  font-size: var(--font-size-lg);
  text-align: center;
  padding: var(--spacing-2);
  background: var(--background-light);
  border-radius: var(--radius-md);
}

.cancellation-notes {
  background: var(--background-light);
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--warning-color);
}

.cancellation-notes p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-3);
}

.adfest-cancellation {
  margin-top: var(--spacing-6);
  padding: var(--spacing-4);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.adfest-cancellation h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
}

.adfest-cancellation ul {
  list-style: none;
  padding: 0;
}

.adfest-cancellation li {
  position: relative;
  padding-left: var(--spacing-5);
  margin-bottom: var(--spacing-2);
  color: var(--text-secondary);
font-size: 90%;
}

.adfest-cancellation li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--warning-color);
  font-weight: bold;
}

/* Application Section */
.application-section {
  background: var(--background-light);
}

.application-steps {
  display: grid;
  gap: var(--spacing-8);
}

.step-container {
  display: flex;
  gap: var(--spacing-6);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.step-content {
  flex: 1;
  background: white;
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.step-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.step-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-4);
  line-height: 1.6;
}

.step-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-4);
}

.step-list li {
  position: relative;
  padding-left: var(--spacing-5);
  margin-bottom: var(--spacing-3);
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.step-list li.important {
  color: var(--error-color);
  font-weight: 500;
}

.step-list li.important::before {
  content: '⚠';
  color: var(--error-color);
}

.application-button {
  display: block;
text-align: center;
	margin: 0 auto;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-4) var(--spacing-8);
  background: linear-gradient(135deg, var(--accent-color), var(--success-color));
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  transform: translateY(0);
}

.application-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--success-color), var(--accent-color));
  color: white;
}

.payment-info {
  background: var(--background-light);
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  margin: var(--spacing-4) 0;
}

.payment-info h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
}

.bank-info {
  background: white;
  padding: 12px 2px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  margin-bottom: var(--spacing-4);
}

.bank-info p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
	padding-left: 10px;
}

.payment-notes {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.payment-notes p {
  margin-bottom: var(--spacing-2);
}

/* Contact Section */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-12);
}

.contact-info {
  background: var(--background-light);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--primary-color);
}

.contact-info h3 {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.contact-info i {
  color: var(--primary-color);
}

.contact-details {
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-details strong {
  color: var(--text-primary);
  font-weight: 600;
}

.address-info {
  margin: var(--spacing-4) 0;
}

.address-info p {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-2);
}

.address-info i {
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
}

.business-hours {
  background: white;
  padding: var(--spacing-4);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-4);
}

.business-hours p {
  margin-bottom: var(--spacing-2);
}

.business-hours .note {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.manager-info {
  background: white;
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.manager-info h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
}

.manager-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-3);
}

.manager-note {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  line-height: 1.5;
}

.company-info {
  background: var(--background-light);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
}

.company-details {
  display: flex;
  gap: var(--spacing-6);
  align-items: flex-start;
  margin-bottom: var(--spacing-6);
}

.company-details h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.company-logo {
  flex-shrink: 0;
}

.knt-logo {
  max-width: 250px;
  height: auto;
}

.company-text {
  flex: 1;
  color: var(--text-secondary);
  line-height: 1.6;
  min-width: 0;
text-align: left!important;
font-size: var(--font-size-sm);
}

.company-text p {
  margin-bottom: var(--spacing-3);
}

.company-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.privacy-info {
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-6);
}

.privacy-info h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--text-primary);
}

.privacy-content {
  display: flex;
  gap: var(--spacing-4);
  align-items: flex-start;
}

.privacy-mark {
  flex-shrink: 0;
  max-width: 80px;
  height: auto;
}

.privacy-text {
  flex: 1;
  color: var(--text-secondary);
  line-height: 1.6;
  min-width: 0;
}

.privacy-text p {
  margin-bottom: var(--spacing-3);
text-align:left!important;
font-size: var(--font-size-sm);
}

.privacy-text .note {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.registration-info {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  text-align: center;
  margin-top: var(--spacing-4);
  padding-top: var(--spacing-4);
  border-top: 1px solid var(--border-light);
}

.hoken ul li{
	  font-size: var(--font-size-sm);
  color: var(--text-secondary);
margin-left: 1rem;
}

/* YES/NOボタン共通 */
.yes_no {
  display: flex;
  justify-content: center;
  gap: 24px; /* ボタンの間隔を広めに */
  margin: 28px 0 12px;

}
/* 説明文 */
.yes_no-caption {
  text-align: center;
  font-size: 1rem;
  color: #555;
}

.mokofo {
  display: inline-block;
  padding: 16px 40px; /* 大きめサイズ */
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
text-align: center;
}
/* 色指定 */
.mokofo.yes {
  background: #007bff; /* 青 */
}

.mokofo.no {
  background: #dc3545; /* 赤 */
}

.mokofo:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}


/* スマホでは縦並び */
@media (max-width: 600px) {
  .yes_no {
    flex-direction: column;
    gap: 16px;
  }
  .mokofo {
    text-align: center;
  }
}