@import url('https://fonts.googleapis.com/css2?family=Zen+Antique&display=swap');

/* common */

/* Basic reset and body styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body */
body {
  position: relative;
  line-height: 1.6;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #302d2d;
  font-family: 'Noto Sans JP', sans-serif;
  background: linear-gradient(135deg, #FFECC7, #FFB8B0, #FFBEAE);

}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

body * {
  position: relative;
  z-index: 2;
}


/* --------------------body-------------------- */
/* ---------Header styles--------- */
header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  font-family: "Zen Antique", serif;
  font-style: normal;
}

/* Header main title styles */
header h1 {
  margin-top: 30px;
  font-size: 4em;
  margin-bottom: 10px;
  font-weight: 600;
  background: linear-gradient(120deg, #F72C5B, #FF748B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #685757;
  font-family: "Zen Antique", serif;
  font-style: normal;
}


/* Header theme subtitle styles */
header h2 {
  font-size: 2em;
  margin-top: 0;
  font-weight: 400;
  color: #e71d7c;
  text-shadow: 2px 2px 5px rgba(177, 162, 162, 0.8);
  -webkit-text-stroke: 0.4px #AC1754;
}




/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    padding: 30px 15px;
  }

  header h1 {
    margin-top: 25px;
    font-size: 2.2em;
    background-color: white;
  }

  header h2 {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 10px;
  }

  header h1 {
    margin-top: 25px;
    font-size: 1.8em;
  }

  header h2 {
    font-size: 1.2em;
  }
}

header h1,
h2,
h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* ---------Header styles--------- */


/* ---------Main container styles--------- */
.container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5px;
}

/* ---------navigation bar--------- */

/* Sidebar styles */
.sidebar {
  width: 330px;
  background: linear-gradient(30deg, #ffc3cd, #ffa8b8);
  padding: 20px;
  text-align: left;
  border-radius: 8px 0px 0px 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sidebar navigation list styles */
.sidebar nav ul {
  list-style-type: none;
  padding: 0;
}

.sidebar nav ul li {
  margin-bottom: 10px;
  position: relative;
}

.sidebar nav ul li a {
  display: block;
  text-decoration: none;
  color: #a02c48;
  padding: 12px 20px;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.2em;
  font-weight: 600;
  -webkit-text-stroke: 0.01px #ffffff;
  border-bottom: 1px solid #fc8ca8;
}

.sidebar nav ul li a:hover {
  background: linear-gradient(175deg, #ffa8b8, #ffc3cd);
  color: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 22px rgba(255, 163, 185, 0.3);
}

.sidebar nav ul li a:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  bottom: 0;
}

.menu-toggle {
  display: none;
  background: #f26f8d;
  color: #ffffff;
  border: solid 1px #fcb0c0;
  padding: 10px 15px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-toggle:hover {
  background: linear-gradient(100deg, #ffa8b8, #ffc3cd);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    width: 100%;
  }

  .nav {
    display: none;
  }

  .nav.active {
    display: block;
  }
}

.sidebar nav ul li a.active {
  background: linear-gradient(100deg, #ff88a0, #ffc1cf);
  color: #ffffff;
  font-weight: bold;
  border-left: 4px solid #ffffff;
}

/* ---------navigation bar--------- */




/* ---------------Poster--------------- */
/* Main Poster Section Styles */
.poster {
  text-align: center;
}

.poster img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Sidebar Poster Thumbnail Section */
.download-poster {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(200deg, #ff5e79, #ffb3b3);
}

/* Hover effect for the entire thumbnail section */
.download-poster:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  background: linear-gradient(200deg, #ff5e79, #ffb3b3);
}

/* Sidebar Poster Thumbnail Image */
.download-poster img {
  width: 100px;
  height: auto;
  border-radius: 5px;
  margin: 10px 0;
  transition: transform 0.3s ease;
}

/* Hover effect for the image */
.download-poster:hover img {
  transform: scale(1.05);
}

/* Download Button within Sidebar */
.download-poster .pdf-download-button {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  font-size: 17px;
  background: #ec3c71;
  color: #ffffff;
  border: solid 1px rgb(235, 87, 87);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for the download button */
.download-poster .pdf-download-button:hover {
  background-color: #ffffff;
  color: #ec3c71;
  transform: translateY(-2px);
}

/* Responsive adjustments for the main poster and sidebar thumbnail */
@media (max-width: 768px) {
  .poster img {
    max-width: 100%;
    height: auto;
  }

  .poster img {
    width: 100%;
  }

  .download-poster img {
    width: 80px;
  }

  /* Adjust the size and padding of the download button on smaller screens */
  .download-poster .pdf-download-button {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/*--- Footer styles ----- */
footer {
  background: linear-gradient(2200deg, #ffc3cd, #ffa8b8);
  padding: 30px 0;
  text-align: left;
  margin: 0;
}

/* Footer container */
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* Footer info section */
.footer-info-left,
.footer-info-right {
  width: 45%;
}

.footer-info-left {
  flex: 0 0 150px;
  max-width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;

}

.footer-info-left {
  flex: 1;
  min-width: 300px;
}

.footer-info-left img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Footer rights section */
.footer-rights {
  width: 100%;
  background-color: #ff88a0;
  color: #ffffff;
  padding: 15px 0;
  text-align: center;
  font-size: 1.1em;
}

.footer-container h4 {
  color: #8d193b;
  font-size: 1.4em;
}

.footer-container p {
  color: rgb(0, 0, 0);
}

.footer-container a {
  color: #000000;
  text-decoration: none;
}

.footer-container a:hover {
  color: #ffffff;
  text-decoration: wavy;
}


/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-info-left,
  .footer-info-right {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-rights {
    font-size: 0.8em;
  }

  footer {
    padding: 20px 0;
  }

  .footer-info-left img {
    max-width: 60%;
    height: auto;
    display: block;
  }
}


/*--- End Footer styles ----- */


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {

  /* Adjust sidebar width on smaller screens */
  .sidebar {
    width: 200px;
    margin-right: 15px;
  }

  /* Adjust font size for links in the sidebar */
  .sidebar nav ul li a {
    font-size: 1em;
    padding: 10px 15px;
  }
}

@media (max-width: 768px) {

  /* Full width for smaller screens */
  .sidebar {
    width: 100%;
    margin: 0 0 20px;
  }

  /* Adjust main content area */
  .container {
    flex-direction: column;
  }

  /* Adjust font size for links in the sidebar */
  .sidebar nav ul li a {
    font-size: 1em;
    padding: 10px;
  }
}

@media (max-width: 480px) {

  /* Further adjustments for extra small screens */
  header {
    padding: 15px;
  }

  footer {
    padding: 8px;
  }
}

/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fd5288;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 1em;
  font-weight: bolder;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

/* Show button when scrolled down */
.back-to-top.show {
  display: block;
}

/* Optional: Hover effect */
.back-to-top:hover {
  background-color: #ffffff;
  color: #fd5288;
}

/* ------- 001100 --------- */


/* ------------ Enhanced お知らせ Styles (Pink Version) ------------ */
.announcements {
  margin: 50px 0;
  padding: 30px 25px;
  background: linear-gradient(to bottom right, #ffeaf0, #fffafd);
  border: 1px solid #f4c8d6;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
}

.announcements h3 {
  font-size: 2.2em;
  margin-bottom: 25px;
  color: #c62860;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: linear-gradient(to right, #ec3c71, #f779a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 12px;
  border-bottom: 3px solid #ec3c71;
  display: inline-block;
}

.news-scroll-box {
  max-height: 350px;
  overflow-y: auto;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #f8d8e3;
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.02);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  margin-bottom: 18px;
  padding: 18px 20px;
  background: linear-gradient(to right, #ffffff, #fff6f9);
  border-left: 6px solid #ec3c71;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.news-list li:hover {
  background: #ffe3ed;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(236, 60, 113, 0.15);
}

.news-icon {
  font-size: 1.3em;
  color: #ec3c71;
  margin-top: 3px;
  flex-shrink: 0;
}

.news-date {
  font-weight: bold;
  color: #ec3c71;
  margin-right: 8px;
  font-size: 0.95em;
  min-width: 80px;
}

.news-item {
  color: #2c3e50;
  font-size: 1.05em;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  flex: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .announcements {
    padding: 20px 15px;
  }

  .announcements h3 {
    font-size: 1.7em;
  }

  .news-scroll-box {
    max-height: 220px;
    padding: 15px;
  }

  .news-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-date {
    margin-bottom: 5px;
  }
}

/* ------------ お知らせ Styles ------------ */


/* ---------common--------- */

/* ----------- Main Content -----------*/
main {
  flex-grow: 1;
  color: black;
}



/* ーーーーーーー aisatsu pageーーーーーーーーーー */
/* Greeting Section Styles */
.greeting-content {
  display: flex;
  align-items: center;
  margin-top: 30px;
  background-color: #f4f8fb8c;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Greeting Photo Styles */
.greeting-photo {
  width: 220px;
  /* bigger size */
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  /* border: 6px solid #F72C5B; vibrant pink */
  box-shadow: 0 4px 12px rgba(61, 61, 61, 0.4);
  transition: transform 0.3s ease;
  margin: 0 auto;
  /* center horizontally in mobile */
}

.affiliation {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: #D93B4C;
  /* deeper pink-red */
}

.society-name {
  font-weight: 600;
  font-size: 1.4rem;
  color: #F86A53;
  /* warm orange-pink */
  border-left: 4px solid #F72C5B;
  padding-left: 12px;
  margin-bottom: 1rem;
}

.kaicho-greeting .row {
  display: flex;
  align-items: left;
  /* vertically center photo and text */
  flex-wrap: nowrap;
  gap: 2rem;
  /* space between photo and text */
}

/* .col-md-8 {
  flex: 1;

} */

.greeting-message {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  padding: 2rem;
  margin-right: 1.5rem;
  text-align: justify;
}

/* Greeting Info Styles */
.greeting-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Styles for specific h2 elements with the class greeting-title */
.greeting-title {
  font-size: 2rem;
  color: #cf1965;
  border-bottom: 2px solid #cf1965;
  text-align: left;
  margin: 20px 0;
  position: relative;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .kaicho-greeting .row {
    display: column;
    flex-direction: column;
    /* stack photo and text */
    align-items: center;
    /* center horizontally */
    text-align: left;
    /* center text */
  }

  .greeting-message {
    font-size: 1em;
  }

  .container {
    flex-direction: column;
  }

  .col-md-8 {
    width: 100%;
  }

  .society-name {
    border-left: none;
    /* remove left border on mobile */
    padding-left: 0;
  }

  .sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  main {
    width: 100%;
  }

  .greeting-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .greeting-photo {
    width: 180px;
    /* smaller on mobile */
    height: 180px;
    margin-bottom: 1rem;
    border-width: 4px;
  }
}

main {
  flex: 1;
  /* Allow main content to grow */
  padding: 20px;
  /* Add padding for spacing */
  background-color: #ffffff;
  /* White background for the main area */
}

/* ーーーーーーー aisatsu pageーーーーーーーーーー */

/* ーーーーーーー gaiyou pageーーーーーーーーーー */

/* Keep your existing greeting-title style as is */
/* Example from your current CSS */

.greeting-title {
  font-size: 2rem;
  color: #cf1965;
  border-bottom: 2px solid #cf1965;
  text-align: left;
  margin: 20px 0;
  font-weight: 700;
}

/* kokokara */

/* Info Block Styling */
.info-block {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background-color: #ffffff;
}

.info-heading {
  background: linear-gradient(240deg, #ff7c96, #ff9db1);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 15px;
  font-size: 1.4rem;
}

.info-content {
  padding: 10px 15px;
  font-size: 1.2rem;
  color: black;
  font-weight: bold;
}

.normal-weight {
  font-weight: normal;
}

.info-content a {
  text-decoration: none;
  color: #D93B4C;
}

.info-content a:hover {
  color: black;
  font-weight: bold;
}

.info-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 2px solid #D93B4C;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-btn:hover {
  background-color: #D93B4C;
  color: white;
}


/* Responsive Enhancements */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 15px;
  }

  .greeting-title {
    font-size: 1.5rem;
  }

  .info-heading {
    font-size: 1rem;
    padding: 8px 12px;
  }

  .info-content {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}



/* ーーーーーーー gaiyou pageーーーーーーーーーー */

/* ------------ Modern Language Selector ------------ */
.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 1000;
  flex-wrap: wrap;
  padding: 5px;
}

.language-selector button {
  background-color: #ec3c71;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.language-selector button:hover {
  background-color: #ffffff;
  color: #ec3c71;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(236, 60, 113, 0.3);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .language-selector {
    top: 10px;
    right: 10px;
    padding: 4px;
    gap: 6px;
    backdrop-filter: blur(4px);
  }

  .language-selector button {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
  }
}

/* ------------ Modern Language Selector ------------ */


/* sponsorship */
.page-section {
  margin-bottom: 2.5em;
}

.section-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 0.8em;
  color: #F72C5B;
  text-align: center;
}

.section-text {
  font-size: 1em;
  line-height: 1.6;
  text-align: center;
}

.center-button {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
}

.btn-primary {
  display: flex;
  justify-content: center;
  background-color: #F72C5B;
  color: white;
  padding: 0.8em 1.5em;
  font-size: 1em;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
  align-items: center;
}

.btn-primary:hover {
  background-color: #ffffff;
  color: #F72C5B;
  border: solid 2px #F72C5B;
  font-weight: bold;
}

.sponsorship-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 2em;
}

.sponsorship-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
  min-width: 720px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.sponsorship-table thead {
  background-color: #F72C5B;
  color: white;
}

.sponsorship-table th,
.sponsorship-table td {
  border: 1px solid #ddd;
  padding: 1em;
  text-align: left;
  vertical-align: top;
}

.sponsorship-table th {
  font-weight: 600;
}

.sponsorship-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.sponsorship-table tbody tr:hover {
  background-color: #fff5f8;
}

@media screen and (max-width: 600px) {
  .sponsorship-table {
    font-size: 0.9em;
    min-width: 100%;
  }

  .sponsorship-table-wrapper {
    border: 1px solid #eee;
    border-radius: 6px;
  }

  .sponsorship-table th,
  .sponsorship-table td {
    padding: 0.7em;
  }
}

/* sponsorship */

/* sponsor details   */
.sponsorship-details-section {
  margin-top: 3em;
}

.sponsorship-list {
  list-style: none;
  padding: 0;
}

.sponsorship-item {
  background: #f9f9f9;
  color: #f10139;
  border: 1px solid #ddd;
  padding: 1em 2em;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
  position: relative;
}

/* Arrow icon before text */
.sponsorship-item::before {
  content: "■";
  /* right-pointing triangle */
  position: relative;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #bd0058;
  transition: transform 0.3s ease;
  padding-right: 1em;
}


.sponsorship-detail {
  font-weight: normal;
  display: none;
  font-size: 0.95em;
  line-height: 1.6;
  border-top: 1px solid #eee;
}

/* sponsor details  */
/* donation  */
.donation-guidelines-section {
  margin-top: 3em;
  margin-bottom: 3em;
  padding: 1.5em 2em;
  background-color: #fff9f9;
  border: 1px solid #f2c0c9;
  border-radius: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  max-width: 900px;
  box-shadow: 0 4px 8px rgba(247, 44, 91, 0.1);
}

.dg-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #f72c5b;
  margin-bottom: 1em;
  letter-spacing: 0.05em;
}

.dg-content {
  font-size: 1em;
  line-height: 1.7;
}

.dg-list {
  padding-left: 1.2em;
  margin: 0;
}

.dg-list li {
  margin-bottom: 1.1em;
}

.dg-list strong {
  color: #c51c48;
  font-weight: 600;
}

.dg-list a {
  color: #f72c5b;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.dg-list a:hover {
  color: #c51c48;
}

@media screen and (max-width: 600px) {
  .donation-guidelines-section {
    padding: 1em 1.2em;
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .dg-title {
    font-size: 1.4em;
  }

  .dg-content {
    font-size: 0.95em;
  }

  .dg-list li {
    margin-bottom: 0.9em;
  }
}

/* morning section  */
.morning-session-section {
  border-radius: 12px;
  padding: 2em 2.5em;
  max-width: 960px;
  margin: 1em auto;
  font-family: 'Noto Sans JP', sans-serif;
  color: #4a4a4a;
}

.ms-title {
  font-size: 1.8em;
  color: #f72c5b;
  font-weight: 700;
  margin-bottom: 0.5em;
  letter-spacing: 0.05em;
}

.ms-content {
  font-size: 1em;
  line-height: 1.7;
}

.ms-list {
  padding-left: 1.3em;
  margin: 0;
}

.ms-list>li {
  margin-bottom: 1.2em;
  list-style-type: none;
}

.ms-list strong {
  font-weight: 600;
  color: #c51c48;
}

.ms-list a {
  color: #f72c5b;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.ms-list a:hover {
  color: #c51c48;
}

.ms-sublist {
  margin-top: 0.6em;
  padding-left: 1.3em;
}

.ms-sublist>li {
  margin-bottom: 0.6em;
}

.ms-sublist ul {
  list-style-type: disc;
  margin-left: 1.2em;
  padding-left: 0;
}

.ms-sublist ul li {
  font-weight: normal;
  margin-bottom: 0.4em;
  color: #555;
}

/* Responsive */
@media (max-width: 720px) {
  .morning-session-section {
    padding: 1.3em 1.5em;
    margin: 2em 1em;
  }

  .ms-title {
    font-size: 1.5em;
  }

  .ms-content {
    font-size: 0.95em;
  }

  .ms-list>li {
    margin-bottom: 1em;
  }

  .ms-sublist {
    padding-left: 1em;
  }
}

@media (max-width: 400px) {
  .morning-session-section {
    padding: 1em 1em;
  }

  .ms-title {
    font-size: 1.3em;
  }

  .ms-content {
    font-size: 0.9em;
  }

  .sponsorship-detail {
    overflow-x: auto;
  }

  .ms-table {
    min-width: 600px;
    /* テーブルが狭くなりすぎないように設定 */
  }

}

.ms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.ms-table th,
.ms-table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.ms-table thead {
  background-color: #f5f5f5;
  font-weight: bold;
}

.ms-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.morning-apply-button {
  margin-top: 1em;
  display: flex;
  justify-content: left;
}

.morning-apply-button a {
  color: white;
  text-decoration: none;

}

.moushikomi {
  text-align: center;
  background: linear-gradient(120deg, #f98ca5, #f72c5b, #ff6b90, #f98ca5);
  background-size: 400% 400%;
  animation: movingGradient 5s ease infinite;
  padding: 1em 1em;
  color: white;
}

@keyframes movingGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.moushikomi p {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 20px;
}

.moushikomi a {
  display: inline-block;
  color: #F72C5B;
  background-color: white;
  border: #F72C5B solid 2px;
  padding: 0.8em 1.6em;
  font-size: 1.3em;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-bottom: 1rem;

}

.moushikomi a:hover {
  color: rgb(255, 255, 255);
  background-color: #f98ca5;
  transform: translateY(-2px);
  border: #ffffff solid 2px;
}

.btn-morning-apply {
  display: inline-block;
  background: linear-gradient(135deg, #F72C5B, #ff6b8f);
  color: white;
  padding: 0.8em 1.6em;
  font-size: 1em;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-morning-apply:hover {
  background-color: #c51c48;
  transform: translateY(-2px);
}


/* morning section  */
/* ーーーーーーー kaijouannnai pageーーーーーーーーーー */

/* Address section */
.venue-address h3 {
  font-size: 1.6rem;
  /* Font size for headings */
  margin-bottom: 10px;
  /* Space below headings */
  color: #F72C5B;
  /* Heading color */
}

.venue-address p {
  font-size: 1.3em;
  line-height: 1.8;
  color: #333;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  margin-bottom: 10px;
}

.venue-address p:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Link styling in address section */
.venue-address a {
  display: inline-block;
  font-size: 1.1em;
  background: linear-gradient(135deg, #F72C5B, #ff6b8f);
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border: 2px solid #F72C5B;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin: 20px 0;

}

.venue-address a:hover {
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Map section styling */
.venue-map {
  margin-bottom: 40px;
}

.venue-map h3 {
  font-size: 1.6em;
  color: #F72C5B;
  margin-bottom: 20px;
  font-weight: bold;
}

.map-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 4px solid #F72C5B;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.map-image:hover {
  transform: scale(1.16);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Notes section styling */
.venue-notes {
  margin-bottom: 50px;
}

.venue-notes h3 {
  font-size: 1.5em;
  color: #2a5ca9;
  margin-bottom: 20px;
  font-weight: bold;
}

.venue-notes p {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.venue-notes ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.2em;
  color: #333;
}

.venue-notes li {
  background: #f7fafc;
  margin-bottom: 15px;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  line-height: 1.8;
  transition: all 0.3s ease-in-out;
}

.venue-notes li:hover {
  background: #e8f5ff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

  .venue-address p,
  .venue-notes li {
    font-size: 1em;
  }

  .map-image {
    max-width: 100%;
  }

  .venue-address a {
    font-size: 1em;
    padding: 8px 12px;
  }
}

.map-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  border: 2px solid #F72C5B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.map-wrapper:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.map-wrapper iframe {
  width: 100%;
  max-width: 1290px;
  height: 450px;
  border: none;
}

/* ーーーーーーー kaijouannnai pageーーーーーーーーーー */