:root {
  --color-primary: #FE9525;
  --color-primary-light: #e0a21e;
  --color-text: #333333;
  --color-bg-light: #F5F5F5;
  --color-white: #FFFFFF;
  --color-border: #EEEEEE;
  --color-gray: #888888;
  --color-gray-dark: #2B2D4C;
  --font-base: "lucida grande", tahoma, verdana, arial, 'Hiragino Kaku Gothic Pro', Meiryo, 'MS PGothic', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-white);
  background-image: url("../images/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  body {
    background-position: top right;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: all 0.3s ease;
}
@media screen and (max-width: 767px) {
  .site-header {
    padding: 0 20px 0 10px;
  }
}
.site-header .site-logo img {
  height: 40px;
  display: block;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  height: 60px;
  padding: 0 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.site-header.scrolled .site-logo img {
  height: 30px;
}

.main-navigation {
  /* Ensure top-level UL is flex */
}
.main-navigation > ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-navigation {
  /* List items styling */
}
.main-navigation li {
  list-style: none;
  position: relative;
  /* Context for sub-menu positioning */
  /* Show Sub-menu on Hover */
}
.main-navigation li:hover > ul.sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.main-navigation {
  /* Link Styling */
}
.main-navigation a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  display: block;
  /* Ensure padding works nicely */
}
.main-navigation a:not(.header-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
.main-navigation a:not(.header-cta):hover::after {
  width: 100%;
}
.main-navigation {
  /* Handle CTA (button style) for both <a> (hardcoded) and <li> (WP Menu) */
}
.main-navigation .header-cta,
.main-navigation li.header-cta a {
  background-color: var(--color-gray-dark);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  border-radius: 2px;
  margin-left: 10px;
  /* Remove underline effect override if caught by general selector */
}
.main-navigation .header-cta::after,
.main-navigation li.header-cta a::after {
  display: none;
}
.main-navigation {
  /* Sub-Menu Styles (Dropdown) */
}
.main-navigation ul.sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  /* Adjust alignment relative to parent */
  min-width: 220px;
  background-color: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  border-radius: 4px;
  z-index: 999;
  flex-direction: column;
  /* Stack items vertically */
  gap: 0;
  align-items: stretch;
  /* Hidden State */
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.main-navigation ul.sub-menu li {
  width: 100%;
}
.main-navigation ul.sub-menu li a {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--color-text);
  font-weight: normal;
  white-space: nowrap;
}
.main-navigation ul.sub-menu li a:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
}
.main-navigation ul.sub-menu li a::after {
  display: none;
  /* No underline for sub-menu items */
}

/* Specific override to prevent underline on menu items that are CTAs */
.main-navigation li.header-cta a::after {
  display: none;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}
.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-gray-dark);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.hamburger-menu span:nth-child(1) {
  top: 0;
}
.hamburger-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-menu span:nth-child(3) {
  bottom: 0;
}
.hamburger-menu.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }
}

/* Navigation Overlay for Mobile */
@media (max-width: 768px) {
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .main-navigation.active {
    right: 0;
  }
  .main-navigation ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    /* Mobile override for sub-menu */
  }
  .main-navigation ul li.menu-item-has-children {
    position: relative;
    /* Toggle button positioning context */
    /* Prevent link from spanning full width if we want a separate toggle, 
       or keep full width and handle click. 
       Let's assume the whole row can be clickable or we add an arrow.
    */
  }
  .main-navigation ul li.menu-item-has-children > a {
    margin-right: 0;
    display: inline-block;
  }
  .main-navigation ul li.menu-item-has-children {
    /* Add an arrow indicator (simple css) */
  }
  .main-navigation ul li.menu-item-has-children::after {
    content: "+";
    /* Plus sign for closed */
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: transform 0.3s;
  }
  .main-navigation ul li.menu-item-has-children.open::after {
    content: "-";
    /* Minus for open */
    transform: rotate(180deg);
  }
  .main-navigation ul ul.sub-menu {
    display: none;
    /* Hidden by default on mobile */
    position: static;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0;
    background: #f9f9f9;
    /* Slightly different bg for contrast */
    min-width: auto;
    border-radius: 4px;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .main-navigation ul ul.sub-menu li {
    width: 100%;
    display: block;
    border-bottom: 1px solid #eee;
  }
  .main-navigation ul ul.sub-menu li:last-child {
    border-bottom: none;
  }
  .main-navigation ul ul.sub-menu a {
    padding: 10px 0;
    font-size: 13px;
    color: #666;
    background: transparent;
    display: block;
  }
  .main-navigation ul ul.sub-menu a:hover {
    background: transparent;
    color: var(--color-primary);
  }
  .main-navigation ul {
    /* Show when open class is applied via JS */
  }
  .main-navigation ul li.menu-item-has-children.open > ul.sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Hero Section */
.page-hero {
  padding: 100px 40px 60px;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.page-title {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-subtitle {
  font-size: 14px;
  color: #999;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 0 40px;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto 40px;
  font-size: 12px;
  color: #999;
}

/* Event Grid */
.event-container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px 100px;
}
@media screen and (max-width: 767px) {
  .event-container {
    padding: 0 20px 60px;
  }
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: stretch;
  /* Ensure cards stretch to same height */
}
@media (max-width: 1000px) {
  .event-grid {
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

/* Event Card */
.event-card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: var(--color-white);
  transition: transform 0.2s ease;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  flex-direction: column;
  height: 100%;
  /* Fill grid cell */
  /* Make the link fill the card */
}
.event-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.event-card:hover {
  transform: translateY(-5px);
}

.event-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1.91/1;
  /* Modern aspect ratio */
  background-color: #eee;
  overflow: hidden;
}
.event-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-thumbnail .status-closed {
  display: none;
}
.event-thumbnail.is-finished .status-closed {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #111;
  color: #fff;
  font-size: 16px;
  /* Slightly smaller for cards */
}
@media screen and (min-width: 768px) {
  .event-thumbnail.is-finished .status-closed {
    font-size: 20px;
  }
}
.event-thumbnail.is-finished .status-closed {
  font-weight: bold;
  padding: 10px 20px;
  z-index: 10;
  white-space: nowrap;
}
.event-thumbnail.is-finished::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

.seminar-status-wrap {
  display: flex;
  gap: 20px;
  margin: 5px 0 10px;
  align-items: center;
}
.seminar-status-wrap .seminar-status {
  font-size: 14px;
  line-height: 1.4;
}
.seminar-status-wrap .seminar-status .status-open {
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 2px;
  background-color: var(--color-primary);
}
.seminar-status-wrap .seminar-status .status-closed {
  color: #FFFFFF;
  background-color: var(--color-gray);
  padding: 4px 10px;
  border-radius: 2px;
}
.seminar-status-wrap .seminar-prefecture {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.4;
}

.event-status {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--color-white);
  color: var(--color-gray-dark);
  padding: 5px 15px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}
.event-status.closed {
  background-color: #999;
}

.event-content {
  padding: 20px;
  flex-grow: 1;
  /* Fill remaining space */
  display: flex;
  flex-direction: column;
}

.seminar-date {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-text);
  line-height: 1.4;
}

.seminar-time {
  font-size: 13px;
  line-height: 1.4;
}

.event-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-tags {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #999;
  margin-top: auto;
  /* Push to bottom if desired */
  flex-wrap: wrap;
}

.event-tag:before {
  content: "#";
}

/* Pagination */
.pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.pagination .page-numbers.current {
  background-color: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

/* Pre-Footer CTA */
.pre-footer-cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 80px 20px;
}

.cta-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  padding: 15px 60px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s;
}
.cta-button:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* Global Image Link Hover */
a:has(img) {
  transition: opacity 0.3s ease;
}
a:has(img):hover {
  opacity: 0.7;
}

/* Consultation Section */
.consultation-section {
  background: linear-gradient(135deg, #3D70A1, #0F748F);
  padding: 60px 20px;
  color: #fff;
  position: relative;
  /* Context for absolute particles */
}
.consultation-section .consultation-inner {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}
.consultation-section .consultation-title {
  margin-top: 0;
  font-size: 28px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .consultation-section .consultation-title {
    font-size: 24px;
    text-align: center;
  }
}
.consultation-section .consultation-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .consultation-section .consultation-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
.consultation-section .consultation-image {
  width: 300px;
  flex-shrink: 0;
}
.consultation-section .consultation-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .consultation-section .consultation-image {
    width: 100%;
    width: 400px;
    max-width: 100%;
  }
}
.consultation-section .consultation-text-area {
  flex: 1;
}
.consultation-section .consultation-text-area p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.consultation-section .consultation-button {
  display: block;
  width: 100%;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
  color: #0F748F;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  transition: opacity 0.3s;
  text-decoration: none;
}
.consultation-section .consultation-button:hover {
  opacity: 0.8;
}

/* Footer Top Banners */
.footer-top-banners {
  padding: 40px 20px 0;
}
.footer-top-banners .banner-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .footer-top-banners .banner-grid {
    flex-direction: column;
    align-items: center;
  }
}
.footer-top-banners .banner-item {
  flex: 1;
  width: 480px;
  max-width: 100%;
}
.footer-top-banners .banner-item a {
  display: block;
  /* Global hover applies */
}
.footer-top-banners .banner-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mapitch Banner Section */
.mapitch-banner-section {
  padding: 40px 20px 0;
  text-align: center;
}
.mapitch-banner-section img {
  width: 1000px;
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s;
}
.mapitch-banner-section img:hover {
  opacity: 0.7;
}

/* Footer CTA */
.footer-cta {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1000px;
  max-width: 100%;
}

.cta-sub-banners {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 600px) {
  .cta-sub-banners {
    flex-wrap: wrap;
  }
}

.sub-banner-item {
  display: block;
  flex: 1;
}
@media (max-width: 600px) {
  .sub-banner-item {
    flex: 1 1 45%;
  }
}
.sub-banner-item:hover {
  opacity: 0.7;
}
.sub-banner-item img {
  width: 100%;
  height: auto;
  display: block;
}
.sub-banner-item img:hover {
  transition: 0.3s;
  opacity: 0.7;
}

/* Footer */
.site-footer {
  background-color: var(--color-gray-dark);
  color: #fff;
  padding: 40px 20px;
  font-size: 12px;
}

.footer-nav {
  justify-content: center;
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-bottom {
  justify-content: center;
  display: flex;
}

/* Single Event Hero */
.single-event-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  color: #fff;
  padding: 80px 40px;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-content {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left {
  flex: 1;
}

.event-number {
  font-size: 80px;
  font-weight: 900;
  opacity: 0.2;
  line-height: 1;
}

.hero-catch {
  font-size: 32px;
  font-weight: 700;
  margin-top: -20px;
  line-height: 1.4;
}

.hero-right {
  display: flex;
  align-items: center;
}

.speaker-card {
  position: relative;
  text-align: center;
}
.speaker-card img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.1);
}

.speaker-info {
  margin-top: 10px;
  text-align: left;
}
.speaker-info span {
  display: block;
}
.speaker-info .company,
.speaker-info .job {
  font-size: 12px;
  opacity: 0.8;
}
.speaker-info .name {
  font-size: 18px;
  font-weight: bold;
}

/* Single Event Content */
.single-event-container {
  border-radius: 12px;
  width: 800px;
  margin: 40px auto 60px;
  overflow: hidden;
  padding: 20px 20px;
  max-width: 100%;
  background: #fff;
}
@media screen and (min-width: 768px) {
  .single-event-container {
    padding: 40px;
  }
}
.single-event-container .posted-on {
  text-align: right;
  font-size: 13px;
}
.single-event-container a:hover {
  text-decoration: underline;
}

.entry-header {
  margin-bottom: 40px;
  text-align: center;
}

.entry-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .entry-title {
    font-size: 22px;
  }
}

.entry-date-large {
  font-size: 20px;
  font-weight: bold;
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
}
.entry-content h2 {
  font-size: 24px;
  font-weight: bold;
  border-left: 5px solid var(--color-gray-dark);
  padding: 5px 15px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 767px) {
  .entry-content h2 {
    font-size: 20px;
  }
}
.entry-content {
  /* List Styling */
}
.entry-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}
.entry-content ul li {
  margin-bottom: 10px;
}
.entry-content ol {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}
.entry-content ol li {
  margin-bottom: 10px;
}

/* Event Details Table */
.seminar-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .seminar-details-table {
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
  }
}
.seminar-details-table th,
.seminar-details-table td {
  padding: 15px;
}
@media screen and (min-width: 768px) {
  .seminar-details-table th,
  .seminar-details-table td {
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
  }
}
.seminar-details-table th,
.seminar-details-table td {
  vertical-align: top;
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .seminar-details-table th,
  .seminar-details-table td {
    display: block;
    width: 100%;
    border-left: none;
    border-right: none;
    padding: 10px;
  }
}
.seminar-details-table th {
  background-color: #f7f7f7;
}
@media screen and (min-width: 768px) {
  .seminar-details-table th {
    width: 25%;
  }
}
.seminar-details-table th {
  font-weight: bold;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .seminar-details-table th {
    font-size: 16px;
    padding: 5px 10px;
    border-bottom: none;
    text-align: left;
    /* Combine with cell below visually */
  }
}
@media screen and (max-width: 767px) {
  .seminar-details-table td {
    font-size: 14px;
    padding: 10px 10px 20px;
  }
}

.map-link {
  margin-top: 10px;
}
.map-link a {
  display: inline-block;
  color: var(--color-gray-dark);
  text-decoration: underline;
  font-weight: bold;
}
.map-link a:hover {
  text-decoration: none;
  opacity: 0.8;
}
.map-link a i {
  margin-left: 5px;
}

.application-button-container {
  text-align: center;
  margin: 40px 0;
}
.application-button-container a:hover {
  text-decoration: none;
}

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

/* Event Details Table */
.event-details-section {
  margin: 60px 0;
}

.section-title {
  font-size: 24px;
  border-left: 5px solid var(--color-primary);
  padding-left: 15px;
  margin-bottom: 30px;
}

.price-info {
  margin-bottom: 20px;
  font-weight: bold;
}

.apply-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  padding: 20px 80px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 4px;
  transition: opacity 0.3s;
}
.apply-button:hover {
  opacity: 0.8;
}

.back-link {
  margin-top: 30px;
}
.back-link a {
  border: 1px solid #333;
  padding: 10px 40px;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s;
}
.back-link a:hover {
  background: #333;
  color: #fff;
}

/* Simple Button */
a.btn-simple {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s;
  text-align: center;
}
a.btn-simple:hover {
  opacity: 0.8;
}

/* Related Events */
.related-events {
  padding: 80px 0;
}

.related-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

/* WP-PageNavi Styling */
.wp-pagenavi {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 10px;
  clear: both;
}
.wp-pagenavi a,
.wp-pagenavi span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}
.wp-pagenavi span.current {
  background-color: var(--color-gray-dark);
  color: var(--color-white);
  border-color: var(--color-gray-dark);
}
.wp-pagenavi a:hover {
  background-color: #f5f5f5;
  border-color: var(--color-text);
}
.wp-pagenavi .pages {
  display: none;
}
.wp-pagenavi {
  /* Arrows */
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  width: auto;
  padding: 0 15px;
}

/* Single Blog Refactor */
.entry-thumbnail-full {
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.entry-thumbnail-full img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  /* Removes bottom gap */
}
.entry-thumbnail-full .status-closed {
  display: none;
}
.entry-thumbnail-full.is-finished .status-closed {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #111;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 30px;
  z-index: 10;
  white-space: nowrap;
}
.entry-thumbnail-full.is-finished::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: 8px;
  /* Match image border radius */
  pointer-events: none;
}

.entry-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
}
.entry-meta-top .meta-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.entry-meta-top {
  /* Category Link Styling */
}
.entry-meta-top .cat-links a {
  background-color: var(--color-gray-dark);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}
.entry-meta-top {
  /* Tags Styling */
}
.entry-meta-top .tags-links a {
  color: #666;
  text-decoration: none;
  margin-right: 5px;
}
.entry-meta-top .tags-links a:before {
  content: "#";
}
.entry-meta-top {
  /* Date Styling */
}
.entry-meta-top .posted-on {
  margin-left: auto;
  /* Push date to the right if desired, or keep generic */
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mail Box (Subscription Form) */
/* SNS Share Buttons */
.sns-share-section {
  max-width: 800px;
  margin: 60px auto 40px;
  text-align: center;
  padding: 0 20px;
}

.sns-share-title {
  font-size: 14px;
  font-weight: bold;
  color: #999;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.sns-share-title::before, .sns-share-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: #ddd;
}
.sns-share-title::before {
  right: 100%;
  margin-right: 15px;
}
.sns-share-title::after {
  left: 100%;
  margin-left: 15px;
}

.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, opacity 0.2s;
}
.sns-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}
.sns-btn svg {
  width: 24px;
  height: 24px;
}

.sns-facebook {
  background-color: #1877f2;
}

.sns-x {
  background-color: #000;
}

.sns-line {
  background-color: #06c755;
}

.sns-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.mail_box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 60px 40px 40px;
  text-align: center;
  margin: 60px auto;
  max-width: 800px;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .mail_box {
    padding: 40px 20px;
    margin: 40px 20px;
    width: auto;
  }
}
.mail_box h5 {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-gray-dark);
  margin: 0 0 20px;
  line-height: 1.4;
}
.mail_box h5 div {
  font-size: 14px;
  color: var(--color-text);
  font-weight: normal;
  margin-bottom: 10px;
  display: block;
}
.mail_box > div {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}
.mail_box fieldset {
  padding: 0 !important;
  margin-bottom: 20px !important;
  border: none !important;
}
.mail_box fieldset label {
  display: block;
  text-align: left !important;
  margin-bottom: 8px !important;
  font-weight: bold !important;
  font-size: 14px !important;
  color: var(--color-text) !important;
  font-family: var(--font-base) !important;
}
.mail_box fieldset input[type=text] {
  width: 100% !important;
  padding: 12px 15px !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  background: #f9f9f9 !important;
  box-sizing: border-box !important;
  height: auto !important;
  font-family: var(--font-base) !important;
}
.mail_box fieldset input[type=text]:focus {
  border-color: var(--color-primary) !important;
  background: #fff !important;
  outline: none !important;
}
.mail_box fieldset:last-child div {
  padding: 20px !important;
  border-radius: 6px !important;
  font-size: 18px !important;
  font-weight: bold !important;
  background-color: var(--color-gray-dark) !important;
  margin-bottom: 0 !important;
}
.mail_box fieldset:last-child div:hover {
  opacity: 0.8 !important;
  transition: 0.3s;
}
.mail_box {
  /* Button reset */
}
.mail_box .mail_box input[type=submit] {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: bold !important;
  padding: 15px 60px !important;
  border-radius: 30px !important;
  width: auto !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: opacity 0.3s;
  height: auto !important;
  line-height: 1.4 !important;
  border: none !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 10px rgba(224, 107, 30, 0.3) !important;
}
.mail_box .mail_box input[type=submit]:hover {
  opacity: 0.8 !important;
}
.mail_box {
  /* Hide Benchmark branding/extras if possible or style them */
}
.mail_box .formbox-title {
  margin-bottom: 20px !important;
}
.mail_box .formbox-title small {
  font-size: 12px !important;
  color: #999 !important;
}

/* Fixed Application Button */
.application-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 15px 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.application-fixed .apply-button {
  display: block;
  width: 300px;
  max-width: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: pulseBtn 2s infinite ease-in-out;
}
.application-fixed .apply-button:hover {
  opacity: 0.8;
  text-decoration: none;
  animation: none;
  /* Stop animation on hover if desired, or keep it */
}
@media screen and (max-width: 767px) {
  .application-fixed .apply-button {
    font-size: 16px;
  }
}

@keyframes pulseBtn {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(224, 107, 30, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}
.category-label {
  background: var(--color-gray-dark);
  padding: 5px;
  color: #FFF;
  border-radius: 5px;
}

.seminar-date-wrap {
  margin: 0 0 10px;
}
@media screen and (min-width: 768px) {
  .seminar-date-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
  }
}

.fv {
  background: url(../images/fv-bg.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  height: 400px;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .fv {
    height: 200px;
  }
}
.fv .container {
  width: 1100px;
  margin: auto;
  max-width: 100%;
  padding: 20px;
}
.fv .container figure.fv-img {
  background-color: #FFF;
  width: 380px;
  padding: 30px;
}
@media screen and (max-width: 767px) {
  .fv .container figure.fv-img {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
}

/*# sourceMappingURL=common.css.map */
