/* Main Content Styling */
#main-content {
  background: linear-gradient(135deg, #fff5f0, #fde9e4);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  /* ensures full width */
}

/* Page Title */
.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e2d55;
  border-left: 6px solid #d94b71;
  padding-left: 14px;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* Divider Line */
.section-divider {
  height: 2px;
  background: #d94b71;
  border: none;
  margin-bottom: 25px;
  width: 100%;
  /* now spans full width */
}

/* Body Text */
.page-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  width: 100%;
  /* Full width */
}


/* greeting page!! */

/* Greeting Section Layout */
.greeting-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  /* Tight spacing */
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
  margin-left: 40px;
}

/* Info Block on the Left */
.greeting-info {
  flex: 0 1 auto;
  max-width: 600px;
  text-align: left;
  /* Changed to left for natural reading flow */
}

.event-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1e2d55;
  margin-bottom: 10px;
  font-family: 'Noto Serif JP', serif;
}

.president-name,
.president-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
}

/* Photo on the Right */
.greeting-photo {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-left: 5px;
  /* Just in case we need small buffer */
}

.greeting-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Responsive for Tablets and Mobile */
@media (max-width: 768px) {
  .greeting-block {
    flex-direction: column-reverse;
    align-items: center;
    /* Center all children including the photo */
    gap: 16px;
  }

  .greeting-info {
    max-width: 100%;
    text-align: left;
  }

  .event-name {
    font-size: 1.3rem;
  }

  .president-name,
  .president-title {
    font-size: 1.1rem;
  }

  .greeting-photo {
    width: 100%;
    max-width: 240px;
    margin-left: 0;
    display: flex;
    justify-content: center;
    /* Center the image horizontally */
  }

  .greeting-photo img {
    width: 100%;
    height: auto;
  }

  .greeting-text p {
    font-size: 1rem;
  }
}

/* Extra small devices (optional) */
@media (max-width: 480px) {
  .event-name {
    font-size: 1.15rem;
  }

  .president-name,
  .president-title {
    font-size: 1.1rem;
  }

  .greeting-text p {
    font-size: 0.95rem;
  }
}

/* Greeting Text for PC view only */
@media (min-width: 769px) {
  .greeting-text {
    font-size: 1.1rem;
    line-height: 2.3;
    color: #1c1c1c;
    margin-top: 20px;
    padding: 20px;
  }

  .greeting-text p {
    font-family: 'Noto Sans JP', sans-serif;
  }
}

/* 開催概要 */
/* Overview Table Section */
.overview-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Noto Sans JP', sans-serif;
}

.overview-table th {
  background: linear-gradient(-45deg, #FFD8B1, #FFB38A);
  color: #1e2d55;
  text-align: center;
  padding: 16px;
  vertical-align: top;
  white-space: nowrap;
  width: 140px;
  font-weight: bold;
  font-size: 1.3rem;
  vertical-align: middle;
}

.overview-table td {
  padding: 15px;
  font-size: 1rem;
  color: #333;
  line-height: 2;
  background: #fdfdfd;
}

.overview-table tr:not(:last-child) td,
.overview-table tr:not(:last-child) th {
  border-bottom: 1px solid #ddd;
}

.overview-table a {
  color: #d94b71;
  font-weight: bold;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {

  .overview-table th,
  .overview-table td {
    padding: 12px;
    font-size: 0.95rem;
  }

  .overview-table th {
    width: 120px;
  }
}

/* aaccess page  */
.access-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.venue-block {
  background: #fffdfc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.venue-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1e2d55;
  margin-bottom: 10px;
  font-family: 'Noto Serif JP', serif;
}

.venue-button {
  display: inline-block;
  margin-bottom: 20px;
  background: #d94b71;
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.venue-button:hover {
  background: #c03e61;
}

.map-container {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.venue-address {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}


/* Responsive */
@media (max-width: 768px) {
  .venue-name {
    font-size: 1.2rem;
  }

  .venue-button {
    font-size: 0.95rem;
    padding: 8px 14px;
  }
}

/* Supporter Organization Links in Sidebar */
.supporter-links {
  margin-top: 30px;
}

.supporter-links-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1e2d55;
  margin-bottom: 12px;
  border-left: 4px solid #d94b71;
  padding-left: 10px;
}

.supporter-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.supporter-links-list li a {
  display: block;
  background: #FFE4CC;
  /* warm beige */
  color: #1e2d55;
  /* navy */
  font-weight: 600;
  text-align: center;
  padding: 12px 10px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.supporter-links-list li a:hover {
  background: #fddac0;
  /* soft orange hover */
  color: #005945;
  /* accent green */
}

/* Supporter Toggle Button (Mobile Only) */
.supporter-toggle {
  display: none;
  width: 100%;
  background: #fff;
  color: #c06c84;
  font-weight: bold;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Mobile View */
@media (max-width: 768px) {
  .supporter-toggle {
    display: inline-block;
  }

  .supporter-links-wrapper {
    display: none;
  }

  .supporter-links-wrapper.active {
    display: block;
    margin-top: 10px;
  }
}

/* new cta section for button  */
/* Floating CTA Panel */
.floating-ctas {
  position: fixed;
  bottom: 100px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  /* above everything else */
}

.floating-cta {
  background: #e66085;
  /* your pink accent */
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 18px 20px;
  border-radius: 30px;
  /* pill shape */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  font-size: 1.3rem;
  transition: transform 0.1s ease, background 0.2s ease;
}

.floating-cta:hover {
  background: #c83660;
  /* slightly darker */
  transform: translateY(-2px);
}

/* Tablet & Phone: stack vertically, tuck above back-to-top */
@media (max-width: 768px) {
  .floating-ctas {
    bottom: 80px;
    /* above the back-to-top button */
    left: auto;
    /* reset any previous left */
    right: 16px;
    /* keep it near the right edge */
    transform: none;
    /* remove earlier translateX */
    flex-direction: column;
    /* always vertical */
    align-items: flex-end;
    /* keep buttons flush right */
  }

  .floating-cta {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}

/* Small phones (≤480px): stack, flush right */
@media (max-width: 480px) {
  .floating-ctas {
    bottom: 80px;
    /* above back-to-top */
    right: 16px;
    /* flush to the right edge */
    left: auto;
    /* cancel any centering */
    transform: none;
    /* remove translate */
    align-items: flex-end;
    /* stack flush right */
  }

  .floating-cta {
    /* ensure they don’t exceed screen width */
    max-width: 90vw;
    width: auto;
  }
}