/* ===== SHARED RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #ffffff;
  color: #111827;
  line-height: 1.5;
}

.main-content {
  flex-grow: 1;
}

a {
  color: #111827;
}

/* ===== TOP PAGE STYLES ===== */
/* ===== HEADER ===== */
.top-header {
  background-color: #006f37;
  position: sticky;
  top: 0;
  width: 100%;
  flex-shrink: 0;
  z-index: 1000;
  border-bottom: 0.909px solid #005c2e;
}

.top-header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 120px 0.909px 120px;
  position: relative;
  width: 100%;
}

.top-header-container {
  max-width: 1200px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 31.99px 16px 31.98px;
  justify-content: space-between;
  width: 100%;
}

.top-logo-title {
  display: flex;
  gap: 11.98px;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.top-logo-image {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.top-logo-image img {
  position: absolute;
  inset: 0;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.top-logo-text {
  position: relative;
  width: 351px;
}

.top-site-title {
  position: relative;
  width: 100%;
}

.top-site-title p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 24px;
  color: white;
  letter-spacing: 1.2px;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-site-subtitle {
  opacity: 0.9;
  position: relative;
  width: 100%;
}

.top-site-subtitle p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  position: relative;
  font-size: 13.8px;
  color: white;
  white-space: nowrap;
  line-height: 21px;
}

.top-nav {
  display: flex;
  gap: 24px;
  height: 24px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.top-nav-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  flex-shrink: 0;
  cursor: pointer;
}

.top-nav-link p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  position: relative;
  font-size: 16px;
  color: white;
  white-space: nowrap;
  line-height: 24px;
}

.top-nav-link:hover p {
  text-decoration: underline;
}

/* ===== HERO SECTION ===== */
.top-hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: clip;
  padding-bottom: 128px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  background-image: url("../img/main_top.jpg");
  background-size: cover;
  background-position: center;
}

.top-hero-section::after {
  content: "";
  position: absolute;
  background: linear-gradient(to bottom, rgba(0, 111, 55, 0.91), rgba(0, 50, 25, 0.91));
  height: 360px;
  right: 20px;
  top: 130px;
  width: 52%;
  max-width: calc(680px + 2%);
}

.top-hero-container {
  height: 520px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-hero-content {
  flex-direction: column;
  justify-content: center;
  width: 50%;
  max-width: 680px;
  position: absolute;
  z-index: 1;
  right: 40px;
  top: 180px;
  padding-right: 1%;
}

.top-hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 2px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-hero-heading1 {
  margin-bottom: -2px;
  position: relative;
  width: 100%;
}

.top-hero-heading1 p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  position: relative;
  font-size: 34px;
  text-align: center;
  color: white;
  width: 100%;
  line-height: 57.6px;
}

.top-hero-heading2 {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  text-align: center;
}

.top-hero-heading2 p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 42px;
  color: white;
  width: 100%;
  line-height: 57.6px;
}

.top-hero-description {
  /* height: 82px; */
  /* max-width: 672px; */
  position: relative;
  /* width: 627px; */
}

.top-hero-description p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  position: relative;
  font-size: 21px;
  text-align: center;
  color: white;
  width: 100%;
  line-height: 35px;
  white-space: pre-wrap;
}

/* ===== NEWS SECTION ===== */
.top-news-section {
  background-color: #f9fafb;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-news-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px 2em;
  position: relative;
  width: 100%;
}

.top-news-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-news-alumni {
  display: flex;
  flex-direction: column;
  gap: 23.89px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-news-title {
  position: relative;
}

.top-news-title p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-style: normal;
  position: relative;
  font-size: 28px;
  color: #040404;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-news-link {
  height: 24px;
  position: relative;
  flex-shrink: 0;
  width: 176px;
  cursor: pointer;
}

.top-news-link p {
  position: absolute;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  height: 24px;
  left: 7px;
  font-style: normal;
  font-size: 16px;
  color: #006f37;
  top: calc(50% + 0.29px);
  line-height: 24px;
}

.top-news-link:hover p {
  text-decoration: underline;
}

.top-news-items {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-news-item {
  background-color: white;
  flex: 1 0 0;
  min-height: 1px;
  min-width: 1px;
  position: relative;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.top-news-item-inner {
  overflow: clip;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  align-items: flex-start;
  padding: 1px 11px;
  position: relative;
}

.top-news-item-row {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  z-index: 2;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 24px 16px;
  gap: 42px;
}

.top-news-item-row-last {
  z-index: 1;
  border-bottom: none;
}

@media (max-width: 767px) {
  .top-news-item-row {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    z-index: 2;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 24px 16px;
    gap: 22px;
  }
}

.top-news-item-meta {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  width: 175px;
}

.top-news-time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.top-news-time p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  position: relative;
  font-size: 17.2px;
  color: #6b7280;
  white-space: nowrap;
  line-height: 21px;
}

.top-news-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2px 8px;
  position: relative;
  border-radius: 9999px;
  flex-shrink: 0;
  margin-left: 22px;
}

.top-news-tag-blue {
  background-color: #2763db;
}

.top-news-tag-green {
  background-color: #006f37;
}

.top-news-tag p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  position: relative;
  font-size: 14px;
  color: white;
  white-space: nowrap;
  line-height: 18px;
}

.top-news-item-heading {
  position: relative;
}

.top-news-item-heading p {
  flex: 1 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  font-size: 18px;
  color: #1f2937;
  line-height: 24.75px;
}

/* ===== ABOUT SECTION ===== */
.top-about-section {
  background-color: #006f37;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-about-inner {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 2em;
  position: relative;
  width: 100%;
}

.top-about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  gap: 4em;
}

.top-about-text-area {
  position: relative;
}

.top-about-heading p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  color: white;
  line-height: 28.8px;
  margin-bottom: 1em;
}

.top-about-description p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 32px;
  font-style: normal;
  position: relative;
  font-size: 16px;
  color: white;
  width: 100%;
}

.top-about-button {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 30px;
  border: 1px solid white;
  cursor: pointer;
  width: 300px;
  margin-top: 1.5em;
}

.top-about-button p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  font-size: 18px;
  text-align: center;
  color: white;
  white-space: nowrap;
  line-height: 28.8px;
}

@media (max-width: 767px) {
  .top-about-button {
    width: 100%;
    justify-content: center;
  }
}

.top-about-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.top-about-arrow {
  height: 0;
  position: relative;
  flex-shrink: 0;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-about-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.top-about-image {
  height: 172px;
  pointer-events: none;
  position: relative;
  flex-shrink: 0;
  width: 256px;
}

.top-about-image img {
  position: absolute;
  inset: -2px;
  max-width: none;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* ===== ACTIVITIES SECTION ===== */
.top-activities-section {
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-activities-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px 2em;
  position: relative;
  width: 100%;
}

.top-activities-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
}

.top-activities-heading {
  position: relative;
  width: 100%;
}

.top-activities-heading p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 24px;
  color: #006f37;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-activities-desc {
  height: 32px;
  position: relative;
  width: 100%;
}

.top-activities-desc p {
  position: absolute;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  left: 0;
  font-style: normal;
  font-size: 16px;
  color: #333;
  top: 16px;
  width: 1200px;
  line-height: 32px;
}

.top-activity-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-activity-title {
  align-items: center;
  padding: 15px 0 5px 0;
  position: relative;
  width: 100%;
}

.top-activity-title p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-style: normal;
  position: relative;
  font-size: 18px;
  color: black;
  white-space: nowrap;
  line-height: 32px;
}

.top-activity-text {
  height: 16px;
  position: relative;
  width: 1064px;
}

.top-activity-text p {
  position: absolute;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  height: 16px;
  left: 0;
  font-style: normal;
  font-size: 16px;
  color: #333;
  top: 8px;
  width: 1064px;
  line-height: 32px;
}

.top-activities-images {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 30px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  flex-wrap: wrap;
}

.top-activity-img {
  height: 242px;
  overflow: clip;
  position: relative;
  border-radius: 8px;
  flex-shrink: 0;
  width: 260px;
  margin-bottom: 2em;
}

@media (max-width: 767px) {
  .top-activity-img {
    width: 48%;
    height: auto;
    aspect-ratio: 1/1;
  }
  .top-activity-img img {
    aspect-ratio: 1/1;
  }
}

.top-activity-img img {
  position: absolute;
  inset: 0;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  height: auto;
}

/* ===== CLUBS SECTION ===== */
a#clubs {
  display: block;
  height: 1px;
  padding-top: 50px;
  margin-top: -50px;
}
.top-clubs-section {
  background-color: #f9fafb;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-clubs-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px 2em;
  position: relative;
  width: 100%;
}

.top-clubs-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
}

.top-clubs-heading {
  position: relative;
  width: 100%;
}

.top-clubs-heading p {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 700;
  position: relative;
  font-size: 24px;
  color: #006f37;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-clubs-desc {
  padding-bottom: 0.62px;
  position: relative;
  width: 100%;
}

.top-clubs-desc p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-style: normal;
  position: relative;
  font-size: 16px;
  color: #333;
  width: 100%;
  line-height: 24px;
}

.top-clubs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2%;
  width: 100%;
}

.top-clubs-grid a {
  display: block;
  width: 19%;
  text-decoration: none;
}
.top-club-card {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 3em;
}

.top-club-image {
  height: 129px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  background-color: #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: black;
  line-height: 24px;
}

.top-club-image img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.top-clubs-grid a:hover .top-club-image img {
  opacity: 0.8;
}

.top-clubs-grid a .comingsoon {
  pointer-events: none;
}

.top-clubs-grid a:hover .comingsoon img {
  opacity: 1 !important;
}

.top-club-name {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid #006f37;
  border-bottom: 1px solid #006f37;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  color: #006f37;
  white-space: nowrap;
  line-height: 24px;
  cursor: pointer;
}

.top-club-name:hover {
  background-color: rgba(0, 111, 55, 0.05);
}

.top-clubs-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  position: relative;
  flex-shrink: 0;
  background-color: #006f37;
  cursor: pointer;
  align-self: center;
  margin-top: 20px;
}

.top-clubs-button p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: white;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-clubs-button:hover {
  background-color: #005c2e;
}

@media (max-width: 767px) {
  .top-clubs-grid a {
    width: 100%;
  }
  .top-club-image {
    height: 200px;
  }
}

/* ===== SCHEDULE SECTION ===== */
a#schedule {
  display: block;
  height: 1px;
  padding-top: 50px;
  margin-top: -50px;
}
.top-schedule-section {
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-schedule-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px 2em;
  position: relative;
  width: 100%;
}

.top-schedule-container {
  display: flex;
  flex-direction: column;
  gap: 23.99px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
}

.top-schedule-heading {
  position: relative;
  width: 100%;
}

.top-schedule-heading p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 24px;
  color: #006f37;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-schedule-desc {
  position: relative;
  width: 100%;
}

.top-schedule-desc p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  font-size: 16px;
  color: #333;
  width: 100%;
  line-height: 32px;
}


.top-schedule-image img {
  width: 100%;
  height: auto;
}

.top-schedule-sample {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  height: 156px;
  justify-content: center;
  line-height: 0;
  font-style: normal;
  width: 1190px;
}

.top-schedule-sample p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 128px;
  color: black;
  text-align: center;
  line-height: 32px;
}

/* ===== PRESIDENT MESSAGE SECTION ===== */
.top-president-section {
  background-color: #ecefec;
  position: relative;
  flex-shrink: 0;
  margin: 64px 2em;
}

.top-president-inner {
  display: flex;
  flex-direction: column;
  gap: 4em;
  align-items: flex-start;
  padding: 50px 40px;
  position: relative;
  width: 100%;
}

.top-president-container {
  display: flex;
  flex-direction: column;
  gap: 23.99px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.top-president-heading {
  position: relative;
  width: 100%;
}

.top-president-heading p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 24px;
  color: #006f37;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-president-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 0.62px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-president-text-area {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  min-height: 1px;
  min-width: 1px;
  position: relative;
}

.top-president-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
  width: min-content;
  white-space: pre-wrap;
}

.top-president-text p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #333;
  line-height: 32px;
}

.top-president-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 357px;
  background-color: #006f37;
  padding: 15px 30px;
  gap: 10px;
  cursor: pointer;
}

.top-president-button p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  font-size: 18px;
  text-align: center;
  color: white;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-president-button:hover {
  background-color: #005c2e;
}

.top-president-arrow {
  height: 0;
  position: relative;
  flex-shrink: 0;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-president-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.top-president-image img {
  height: 330px;
  width: 298px;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .top-president-content {
    display: block;
  }
  .top-president-image img {
    width: 100%;
    height: auto;
    margin-top: 10px;
  }
  .top-president-button {
    width: 100%;
    justify-content: center;
  }
}

/* ===== OFFICERS & DOCUMENTS SECTION ===== */
.top-officers-section {
  background-color: #eeeeee;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-officers-inner {
  display: flex;
  gap: 90px;
  align-items: flex-start;
  padding: 45px 2em;
  position: relative;
  width: 100%;
}

.top-officers-container {
  display: flex;
  gap: 4em;
  align-items: stretch;
  position: relative;
  width: 100%;
  max-width: 1200px;
}

.top-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 40px;
  background-color: white;
  width: calc(50% - 2em);
}

@media (max-width: 767px) {
  .top-officers-container {
    flex-direction: column;
  }
  .top-card {
    width: auto;
  }
}
.top-card-heading p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 24px;
  color: #006f37;
  line-height: 28.8px;
}

.top-card-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  min-height: 1px;
  min-width: 1px;
  position: relative;
}

.top-card-text p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 32px;
  font-style: normal;
  font-size: 16px;
  color: #333;
}

.top-card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  background-color: #006f37;
  padding: 15px 30px;
  gap: 10px;
  cursor: pointer;
  margin-top: auto;
}

.top-card-button p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  font-size: 18px;
  text-align: center;
  color: white;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-card-button:hover {
  background-color: #005c2e;
}

.top-card-arrow {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-card-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
}

.top-president-button a,
.top-card-button a{
  color: #fff;
  text-decoration: none;
}

/* ===== RELATED LINKS SECTION ===== */
.top-links-section {
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-links-inner {
  display: flex;
  flex-direction: column;
  gap: 90px;
  align-items: flex-start;
  padding: 80px 2em;
  position: relative;
  width: 100%;
}

.top-links-container {
  display: flex;
  flex-direction: column;
  gap: 23.99px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.top-links-heading {
  position: relative;
  width: 100%;
}

.top-links-heading p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 24px;
  color: #006f37;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-links-content h3 {
  margin-top: 2em;
}
.top-links-content h3:first-of-type {
  margin-top: 0;
}


.top-links-content strong {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 18px;
  display: block;
}

.top-links-url {
  font-size: 16px;
  text-decoration: underline;
  display: block;
}

/* ===== CONTACT SECTION ===== */
.top-contact-section {
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-contact-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 2em;
  position: relative;
  width: 100%;
}

.top-contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.top-contact-text-area {
  height: 215px;
  position: relative;
  width: 920px;
}

.top-contact-heading {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.top-contact-heading p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 24px;
  color: #006f37;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-contact-text {
  position: absolute;
  left: 0;
  padding-bottom: 0.62px;
  top: 52.99px;
  width: 1200px;
}

.top-contact-text p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 32px;
  font-style: normal;
  position: relative;
  font-size: 16px;
  color: #333;
  width: 100%;
}

.top-contact-button {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: center;
  left: 0;
  padding: 15px 30px;
  top: 155.6px;
  background-color: #006f37;
  cursor: pointer;
}

.top-contact-button p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  font-size: 18px;
  text-align: center;
  color: white;
  white-space: nowrap;
  line-height: 28.8px;
}

.top-contact-button:hover {
  background-color: #005c2e;
}

.top-contact-image {
  height: 172px;
  pointer-events: none;
  position: relative;
  flex-shrink: 0;
  width: 256px;
  border: 2px solid #006f37;
}

.top-contact-image img {
  position: absolute;
  inset: -2px;
  max-width: none;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* ===== FOOTER ===== */
.top-footer {
  background-color: #262626;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px 120px;
  position: relative;
  width: 100%;
}

.top-footer-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 1200px;
}

.top-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.top-footer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.top-footer-logo {
  height: 60px;
  position: relative;
  flex-shrink: 0;
  width: 60px;
}

.top-footer-logo img {
  position: absolute;
  inset: 0;
  max-width: none;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.top-footer-title {
  position: relative;
}

.top-footer-title p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  color: white;
  line-height: 28.8px;
}

.top-footer-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.top-footer-address p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 21px;
}

.top-footer-links-area {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.top-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.top-footer-col-title {
  padding-bottom: 8px;
  position: relative;
  border-bottom: 1px solid #4b5563;
}

.top-footer-col-title p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  color: white;
  line-height: 24px;
}

.top-footer-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.top-footer-link p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 21px;
}

.top-footer-link:hover p {
  color: white;
  text-decoration: underline;
}

.top-footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 32px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid #374151;
}

.top-footer-copyright p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 18px;
}

/* ===== CLUB DETAIL / COMMON STYLES ===== */
/* ===== HEADER STYLES ===== */
.header {
  background-color: #006f37;
  color: #ffffff;
  border-bottom: 1px solid #005c2e;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 1024px) {
  .header-container {
    padding: 1rem 2rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
  .header-logo-img {
    width: 3rem;
    height: 3rem;
  }
}

.header-title-wrapper {
  display: flex;
  flex-direction: column;
}

.header-title-wrapper a {
  color: #fff;
  text-decoration: none;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .header-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 1rem;
  }
}
.header-subtitle {
  font-size: 0.75rem;
  opacity: 0.9;
  display: none;
}

@media (min-width: 1024px) {
  .header-subtitle {
    font-size: 0.875rem;
    display: block;
  }
}

.header-nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    gap: 1.5rem;
  }
}


.header-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header-nav-link:hover {
  color: #d1d5db;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .header-nav-link {
    font-size: 0.88rem;
  }
}

.header-mobile-btn {
  display: block;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .header-mobile-btn {
    display: none;
  }
}

.header-mobile-nav {
  display: none;
  background-color: #005c2e;
  border-top: 1px solid #004d26;
}

.header-mobile-nav.active {
  display: block;
}

.header-mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.header-mobile-nav-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
}

.header-mobile-nav-link:hover {
  color: #d1d5db;
}

.hidden {
  display: none;
}

/* ===== FOOTER STYLES ===== */
.footer {
  background-color: #262626;
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .footer-container {
    padding: 0 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-main-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  display: inline-block;
}

.footer-address {
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.footer-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 1px solid #4b5563;
  padding-bottom: 0.5rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-copyright {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ===== CLUB DETAIL STYLES ===== */
.cd-wrapper {
  background-color: #fff;
  color: #333;
  line-height: 1.5;
}

/* Container */
.cd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


/* Hero Section */
.cd-hero {
  background: linear-gradient(135deg, #016b36, #001f0f);
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cd-hero {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
}

.cd-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
}

.cd-hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .cd-hero-content {
    flex-direction: row;
    text-align: left;
  }
}

.cd-hero-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .cd-hero-text {
    text-align: left;
  }
}

.cd-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cd-title {
    font-size: 3rem;
  }
}

.cd-description {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cd-description {
    font-size: 1.25rem;
    margin-left: 0;
  }
}

.cd-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cd-hero-buttons {
    justify-content: flex-start;
  }
}

.cd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cd-btn-white {
  background-color: #fff;
  color: #006f37;
}

.cd-btn-white:hover {
  background-color: #f3f4f6;
}

.cd-btn-gradient {
  background: linear-gradient(to right, #a855f7, #ec4899);
  color: #fff;
}

.cd-btn-gradient:hover {
  opacity: 0.9;
}

.cd-hero-image-wrapper {
  flex: 1;
  width: 100%;
  max-width: 36rem;
}

.cd-hero-image-frame {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  background-color: #262626;
  aspect-ratio: 4 / 3;
}

.cd-hero-image-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
/*
.cd-hero-image-frame:hover img {
  transform: scale(1.05);
}
*/
/* Main Layout */
.cd-main-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.cd-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .cd-grid-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.cd-left-column {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.cd-right-column {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.cd-section-wrapper,
.cd-obog-wrapper {
  line-height: 1.8;
}
.cd-section-wrapper p,
.cd-obog-wrapper p {
  margin-bottom: 1.5rem;
}

/* Headings */
.cd-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #006f37;
  margin-bottom: 1.5rem;
  border-left: 4px solid #006f37;
  padding-left: 1rem;
  line-height: 1.2;
}

/* Info Box */
.cd-info-box {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.cd-dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
}

@media (min-width: 768px) {
  .cd-dl-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cd-dl-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.75rem;
}

.cd-dl-full {
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .cd-dl-full {
    grid-column: span 2;
  }
}

.cd-dt {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.cd-dd {
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

/* Lists */
.cd-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.cd-list-item {
  display: flex;
  align-items: flex-start;
}

.cd-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #facc15;
  margin-top: 0.375rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.cd-list-text {
  font-size: 1.25rem;
  font-weight: 500;
}

/* 会長写真 */
.cd-chairman-photo {
  float: right;
  width: 160px;
  height: auto;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

/* SPでは中央 */
@media (max-width: 640px) {
  .cd-chairman-photo {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
  }
}

/* 会長メッセージ */

.cd-message-wrapper::after {
  content: "";
  display: block;
  clear: both;
}

.cd-message-photo {
  float: right;
  width: 240px;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

.cd-message-sign {
  text-align: left;
  margin-top: 1.5rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .cd-message-photo {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
    width: 200px;
  }

  .cd-message-sign {
    text-align: left;
  }
}

/* Schedule */
.cd-schedule-box {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.cd-schedule-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.cd-schedule-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .cd-schedule-row {
    flex-direction: row;
  }
}

.cd-season {
  font-weight: 700;
  width: 7rem;
  color: #1f2937;
  margin-bottom: 0.25rem;
  margin-right: 2em;
}

@media (min-width: 640px) {
  .cd-season {
    margin-bottom: 0;
    text-align: center;
  }
}

/* OBOG Section */
.cd-obog-box {
  background-color: #fff;
  padding: 1.5rem;
  padding-bottom: 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

.cd-obog-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

/* 会費説明テキスト */
.cd-obog-wrapper > p {
  margin-bottom: 0.75rem;
}
.cd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cd-tag {
  padding: 0.5rem 1rem;
  background-color: #006f37;
  color: #fff;
  border-radius: 9999px;
  font-weight: 500;
}

/* Contact */
.cd-contact-section {
  background-color: #262626;
  color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
}

.home .cd-contact-section {
  margin: 64px 2em;
}

.cd-contact-btn {
  display: inline-block;
  background-color: #fff;
  color: #006f37;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: background-color 0.2s;
  text-decoration: none;
}

.cd-contact-btn:hover {
  background-color: #f3f4f6;
}

/* Sidebar: Alumni */
.cd-alumni-box {
  background-color: #f0f9f4;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 111, 55, 0.2);
}

.cd-alumni-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.cd-alumni-item {
  background-color: #fff;
  padding: 1rem;
  border-radius: 0.25rem;
  border: 1px solid #f3f4f6;
}

/* 著名OB画像 */

.cd-alumni-photo {
  margin-bottom: 0.75rem;
}

.cd-alumni-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* Sidebar: Table */
.cd-table-wrapper {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.cd-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

.cd-table th {
  background-color: #f9fafb;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.cd-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
}

/* News Wrapper */
.cd-news-wrapper {
  background-color: #f9fafb;
  padding: 4rem 0;
}

/* News Section Styles */
.cd-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.cd-news-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  border-left: 4px solid #006f37;
  padding-left: 1rem;
  line-height: 1.2;
  margin: 0;
}

.cd-news-link {
  color: #006f37;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.cd-news-link:hover {
  text-decoration: underline;
}

.cd-news-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cd-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cd-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cd-news-card {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.cd-news-card:hover {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cd-news-img-wrapper {
  width: 100%;
  height: 12rem;
  position: relative;
  overflow: hidden;
  background-color: #f3f4f6;
  flex-shrink: 0;
}

.cd-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cd-news-card:hover .cd-news-img {
  transform: scale(1.05);
}

.cd-news-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cd-news-meta {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.cd-news-category {
  margin-left: 0.75rem;
  padding: 0.125rem 0.5rem;
  background-color: #f3f4f6;
  color: #4b5563;
  font-size: 0.75rem;
  border-radius: 9999px;
}

.cd-news-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.375;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cd-news-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.cd-news-item-title a:hover {
  color: #006f37;
}

.cd-news-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.cd-news-more {
  font-size: 0.875rem;
  font-weight: 500;
  color: #006f37;
  text-decoration: none;
}

.cd-news-more:hover {
  text-decoration: underline;
}

/* ===== News section / SP adjustment ===== */
@media (max-width: 640px) {
  .cd-news-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .cd-news-title {
    font-size: 1.375rem;
    line-height: 1.35;
    margin: 0;
    padding-left: 0.75rem;
  }

  .cd-news-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-left: 0.75rem;
  }

  .cd-news-grid {
    gap: 1rem;
  }

  .cd-news-card {
    border-radius: 0.5rem;
  }

  .cd-news-img-wrapper {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .cd-news-content {
    padding: 0.875rem;
  }

  .cd-news-meta {
    flex-wrap: wrap;
    gap: 0.375rem 0.5rem;
    margin-bottom: 0.5rem;
  }

  .cd-news-category {
    margin-left: 0;
  }

  .cd-news-item-title {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .cd-news-more {
    font-size: 0.875rem;
  }
}

/* Utility Helpers */
.cd-spacer-16 {
  height: 4rem;
}
.cd-spacer-8 {
  height: 2rem;
}
.cd-hidden-md {
  display: none;
}
@media (min-width: 768px) {
  .cd-hidden-md {
    display: inline;
  }
}

/* Extracted Styles */
.cd-hero-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}

.cd-hero-fallback-text {
  font-size: 0.875rem;
}

.cd-icon-mr-sm {
  margin-right: 0.5rem;
}

.cd-icon-accent-mr {
  margin-right: 0.25rem;
  color: #006f37;
}

.cd-schedule-dl {
  margin: 0;
}

.cd-schedule-dd {
  margin: 0;
  color: #374151;
  width: 100%;
}

.cd-obog-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cd-obog-text {
  font-size: 1.125rem;
  color: #374151;
  margin: 0;
}

.cd-contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-contact-text {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.cd-sidebar-title {
  border-left: 4px solid #006f37;
  padding-left: 0.75rem;
  font-size: 1.25rem;
}

.cd-alumni-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.cd-alumni-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.cd-alumni-role {
  font-size: 0.875rem;
  font-weight: 400;
}

.cd-table-role {
  font-weight: 700;
  color: #1f2937;
}

.cd-table-name {
  font-weight: 500;
}

.cd-table-year {
  font-size: 0.75rem;
  color: #6b7280;
}

.cd-gallery-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}

.cd-icon-play {
  opacity: 0.9;
}

.cd-news-mb {
  margin-bottom: 3rem;
}

.cd-icon-ml-sm {
  margin-left: 0.25rem;
}

.cd-icon-mr-xs {
  margin-right: 0.25rem;
}

/* ===== GALLERY / SLICK ===== */
.cd-gallery-section {
  margin-top: 4rem;
  position: relative;
}

.cd-gallery-grid {
  margin: 0 -0.5rem;
}

.cd-gallery-grid.slick-initialized {
  display: block;
}

.cd-gallery-grid.slick-slider {
  position: relative;
}

.cd-gallery-grid .slick-list {
  overflow: hidden;
}

.cd-gallery-grid .slick-track {
  display: flex;
}

.cd-gallery-grid .slick-slide,
.cd-gallery-grid .slick-slide > div {
  height: auto;
}

.cd-gallery-grid .slick-slide > div {
  padding: 0 0.5rem;
}

.cd-gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.cd-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cd-gallery-item:hover .cd-gallery-img {
  transform: scale(1.08);
}

.cd-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cd-gallery-item:hover .cd-gallery-overlay {
  opacity: 1;
}

.cd-gallery-caption {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.gallery-clickable {
  cursor: pointer;
}

.gallery-clickable:focus-visible {
  outline: 2px solid #006f37;
  outline-offset: 2px;
}

.cd-gallery-grid .slick-prev,
.cd-gallery-grid .slick-next {
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background-color: #006f37;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.cd-gallery-grid .slick-prev:before,
.cd-gallery-grid .slick-next:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 1;
  font-size: 0;
}

.cd-gallery-grid .slick-prev:before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.cd-gallery-grid .slick-next:before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.cd-gallery-grid .slick-prev:hover,
.cd-gallery-grid .slick-next:hover {
  background-color: #005c2e;
  transform: translateY(-50%) scale(1.08);
}

.cd-gallery-grid .slick-prev {
  left: -18px;
}

.cd-gallery-grid .slick-next {
  right: -18px;
}

.cd-gallery-grid .slick-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.cd-gallery-grid .slick-dots {
  bottom: -2.75rem;
}

.cd-gallery-grid .slick-dots li {
  margin: 0 4px;
}

.cd-gallery-grid .slick-dots li button:before {
  font-size: 12px;
  color: #006f37;
  opacity: 0.35;
}

.cd-gallery-grid .slick-dots li.slick-active button:before {
  color: #006f37;
  opacity: 1;
}

@media (max-width: 767px) {
  .cd-gallery-grid {
    margin: 0 -0.375rem;
  }

  .cd-gallery-grid .slick-slide,
  .cd-gallery-grid .slick-slide > div {
    height: auto !important;
  }

  .cd-gallery-grid .slick-slide > div {
    padding: 0 0.375rem;
  }

  .cd-gallery-grid .cd-gallery-item {
    width: 100% !important;
    height: calc(100vw - 4rem) !important;
    aspect-ratio: auto !important;
  }

  .cd-gallery-grid .cd-gallery-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  .cd-gallery-grid .slick-prev,
  .cd-gallery-grid .slick-next {
    width: 40px;
    height: 40px;
  }

  .cd-gallery-grid .slick-prev {
    left: -8px;
  }

  .cd-gallery-grid .slick-next {
    right: -8px;
  }
}

/* ===== LIGHTBOX STYLES ===== */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: lightbox-fade-in 0.2s ease-out;
}

@keyframes lightbox-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightbox-zoom-in 0.3s ease-out;
}

@keyframes lightbox-zoom-in {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.lightbox-counter {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

@media (max-width: 768px) {
  .lightbox-close {
    width: 40px;
    height: 40px;
    top: 0.5rem;
    right: 0.5rem;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-caption {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .lightbox-image {
    max-height: 70vh;
  }
}

/* ===== FLEX / LAYOUT CLEANUP OVERRIDES ===== */

body {
  overflow-x: hidden;
}

.top-news-container,
.top-about-container,
.top-activities-container,
.top-clubs-container,
.top-schedule-container,
.top-president-container,
.top-officers-container,
.top-links-container,
.top-contact-container,
.top-footer-container,
.header-container,
.footer-container,
.cd-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.top-news-inner,
.top-about-inner,
.top-activities-inner,
.top-clubs-inner,
.top-schedule-inner,
.top-president-inner,
.top-officers-inner,
.top-links-inner,
.top-contact-inner,
.top-footer-inner {
  padding-left: max(10px, 1em);
  padding-right: max(10px, 1em);
}

.top-hero-section {
  overflow: hidden;
}

.top-hero-section::after {
  width: min(52%, 680px);
  max-width: none;
}

.top-hero-container {
  margin-left: auto;
  margin-right: auto;
  height: 520px;
}

.top-hero-content {
  display: block;
  width: min(100% - 40px, 680px);
  max-width: 52%;
  right: 20px;
  padding-right: 0;
}

.top-about-container {
  gap: clamp(24px, 4vw, 64px);
}

.top-activities-desc,
.top-activity-text,
.top-contact-text {
  width: 100%;
  height: auto;
}

.top-activities-desc p,
.top-activity-text p,
.top-contact-text p {
  position: static;
  transform: none;
  width: 100%;
  height: auto;
}

.top-logo-text,
.top-site-title,
.top-site-subtitle,
.top-hero-text-content,
.top-hero-heading1,
.top-hero-heading2,
.top-hero-description,
.top-news-title,
.top-news-item-heading,
.top-activities-heading,
.top-clubs-heading,
.top-clubs-desc,
.top-schedule-heading,
.top-schedule-desc,
.top-president-heading,
.top-links-heading,
.top-contact-heading,
.top-contact-text,
.top-footer-title,
.top-footer-col-title,
.header-title-wrapper {
  display: block;
}

.top-site-title p,
.top-site-subtitle p,
.top-nav-link p,
.top-hero-heading1 p,
.top-hero-heading2 p,
.top-hero-description p,
.top-news-title p,
.top-news-link p,
.top-news-time p,
.top-news-tag p,
.top-news-item-heading p,
.top-about-button p,
.top-activities-heading p,
.top-activities-desc p,
.top-activity-title p,
.top-activity-text p,
.top-clubs-heading p,
.top-clubs-desc p,
.top-schedule-heading p,
.top-schedule-desc p,
.top-president-heading p,
.top-links-heading p,
.top-contact-heading p,
.top-contact-text p,
.top-footer-title p,
.top-footer-col-title p,
.header-title,
.header-subtitle {
  display: block;
}

.cd-gallery-slider-wrap,
.cd-gallery-slider {
  overflow: visible;
}

@media (max-width: 1100px) {
  .top-hero-heading1 p {
    font-size: 26px;
  }
  .top-hero-heading2 p {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .top-hero-section::after {
    right: 20px;
    width: calc(100% - 40px);
    height: 300px;
    top: 150px;
  }

  .top-hero-container {
    height: auto;
    min-height: 520px;
  }

  .top-hero-content {
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .top-hero-heading1 p {
    font-size: 20px;
    line-height: 48px;
  }
  .top-hero-heading2 p {
    font-size: 24px;
    line-height: 48px;
  }
  .top-hero-description p {
    font-size: 16px;
    line-height: 28px;
  }
  .top-about-container {
    display: block;
  }

  .top-about-image {
    margin: 32px auto 0;
  }
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
  .pc-only {
    display: block;
  }
}

@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}

/* =========================================================
   COMMON MOBILE MENU / FINAL OVERRIDES
   - 共通 main.js の hidden / active 制御に対応
   - 開く時：にゅるっと展開 + ほわっと表示
   - 閉じる時：ふわっと戻ってから hidden
========================================================= */
.hidden {
  display: none !important;
}

.header-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.header-mobile-btn svg {
  display: block;
}

.header-mobile-nav[hidden] {
  display: none !important;
}

.header-mobile-nav {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  background-color: #005c2e;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    max-height 0.38s ease,
    opacity 0.28s ease,
    transform 0.38s ease,
    visibility 0s linear 0.38s;
}

.header-mobile-nav.active {
  max-height: 520px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    max-height 0.38s ease,
    opacity 0.28s ease,
    transform 0.38s ease,
    visibility 0s linear 0s;
}

.header-mobile-nav-inner {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 16px;
  gap: 0;
}

.header-mobile-nav-link {
  display: block;
  padding: 14px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    color 0.2s ease;
}

.header-mobile-nav-link:hover,
.header-mobile-nav-link:focus-visible {
  color: #d1d5db;
}

.header-mobile-nav.active .header-mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.header-mobile-nav.active .header-mobile-nav-link:nth-child(1) {
  transition-delay: 0.04s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(2) {
  transition-delay: 0.08s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(3) {
  transition-delay: 0.12s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(4) {
  transition-delay: 0.16s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(5) {
  transition-delay: 0.2s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(6) {
  transition-delay: 0.24s;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

svg {
  display: inline-block;
  vertical-align: middle;
  color: currentColor;
}

.cd-icon-play {
  color: #fff;
}

/* TOPページ：PCナビと共通モバイルメニューの切り替え */
@media (max-width: 1023px) {
  .top-nav,
  .header-nav {
    display: none !important;
  }

  .header-mobile-btn {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .header-mobile-btn {
    display: none !important;
  }

  .header-mobile-nav {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-mobile-nav,
  .header-mobile-nav-link {
    transition: none !important;
    transform: none !important;
  }
}

/* ===== COMMON MOBILE MENU / ANIMATION ===== */

/* SP時はPCナビを隠す */
@media (max-width: 1023px) {
  .top-nav,
  .header-nav {
    display: none !important;
  }
}

/* ヘッダー内でメニューがはみ出せるようにする */
.top-header,
.header,
.top-header-inner,
.top-header-container,
.top-header-content {
  overflow: visible;
}

/* ハンバーガーボタン */
.header-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .header-mobile-btn {
    display: none !important;
  }
}

/* モバイルメニュー本体 */
.header-mobile-nav {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1001;
  width: 100%;
  background-color: #006f37;
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-mobile-nav[hidden] {
  display: none !important;
}

.header-mobile-nav.active {
  max-height: 620px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  animation: mobileMenuOpen 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.header-mobile-nav-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px 24px 20px;
  background-color: #006f37;
}

.header-mobile-nav-link {
  display: block;
  width: 100%;
  padding: 15px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header-mobile-nav.active .header-mobile-nav-link {
  animation: mobileMenuLinkIn 0.28s ease both;
}

.header-mobile-nav.active .header-mobile-nav-link:nth-child(1) {
  animation-delay: 0.04s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(2) {
  animation-delay: 0.08s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(3) {
  animation-delay: 0.12s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(4) {
  animation-delay: 0.16s;
}
.header-mobile-nav.active .header-mobile-nav-link:nth-child(5) {
  animation-delay: 0.2s;
}

@keyframes mobileMenuOpen {
  0% {
    max-height: 0;
    opacity: 0;
    transform: translateY(-48px) scaleY(0.78);
    filter: blur(8px);
  }

  65% {
    opacity: 1;
    transform: translateY(4px) scaleY(1.02);
    filter: blur(0);
  }

  100% {
    max-height: 620px;
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

@keyframes mobileMenuLinkIn {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BREADCRUMB SECTION ===== */
.breadcrumb-section {
  background-color: #f9fafb;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.breadcrumb-container {
  display: flex;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb-link {
  color: #006f37;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: #005c2e;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #9ca3af;
}

.breadcrumb-current {
  color: #111827;
}
@media screen and (max-width: 767px) {
  .breadcrumb-section {
    display: none;
  }
}
/* ===== NEWS DETAIL SECTION ===== */
.news-detail-section {
  padding: 80px 0;
  background-color: #ffffff;
  flex: 1;
}

.news-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}

.news-detail-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Article Header */
.news-detail-header {
  margin-bottom: 48px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.news-detail-time {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #6b7280;
}

.news-detail-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background-color: #f3f4f6;
  color: #4b5563;
}

.news-detail-tag.blue {
  background-color: #3b82f6;
  color: white;
}
.news-detail-tag.green {
  background-color: #006f37;
  color: white;
}

.news-detail-tag.result {
  background-color: #a33ba7;
  color: white;
}

.news-detail-tag-green {
  background-color: #10b981;
  color: white;
}

.news-detail-tag {
}

.news-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin: 0;
}

.news-detail-title p {
  margin: 0;
}

/* Article Content */
.news-detail-content {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
}

.news-detail-content p {
  margin-bottom: 32px;
}

.news-detail-paragraph {
  margin-bottom: 32px;
}

.news-detail-paragraph p {
  margin: 0;
}

.news-detail-subheading {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
  margin-top: 48px;
  padding-bottom: 12px;
  border-bottom: 2px solid #006f37;
}

.news-detail-subheading p {
  margin: 0;
}

/* List Styles */
.news-detail-list {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.news-detail-list-item {
  display: flex;
  margin-bottom: 12px;
  line-height: 1.6;
}

.news-detail-list-item:last-child {
  margin-bottom: 0;
}

.news-detail-list-label {
  font-weight: 600;
  color: #111827;
  min-width: 80px;
  flex-shrink: 0;
}

.news-detail-list-value {
  color: #374151;
}

/* Contact Box */
.news-detail-contact-box {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 24px;
  margin-top: 48px;
}

.news-detail-contact-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.news-detail-contact-title p {
  margin: 0;
}

.news-detail-contact-info {
  font-size: 14px;
  color: #374151;
  line-height: 1.8;
}

.news-detail-contact-info p {
  margin: 0;
}

/* Back to List Link */
.news-detail-back {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.news-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #006f37;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.news-detail-back-link:hover {
  color: #005c2e;
}

.news-detail-back-arrow {
  width: 19px;
  height: 14.73px;
  display: flex;
  align-items: center;
}

.news-detail-back-arrow svg {
  width: 100%;
  height: 100%;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .breadcrumb-inner,
  .news-detail-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .breadcrumb-inner,
  .news-detail-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .news-detail-section {
    padding: 40px 0;
  }

  .news-detail-title {
    font-size: 24px;
  }

  .news-detail-subheading {
    font-size: 20px;
  }
}

/* contact */
.contact .table-like {
  font-size: 19px;
  display: block;
}
.contact .table-like p {
  margin-bottom: 0 !important;
}
@media screen and (max-width: 767px) {
  .contact .table-like {
    padding: 0 2%;
    font-size: 16px;
  }
}
.contact .table-like dt {
  width: 100%;
  padding: 18px 0;
  line-height: 40px;
  border: none;
}
.contact .table-like dd {
  width: 100%;
  min-height: 58px;
  line-height: 40px;
  margin: -58px 0 0 0;
  padding: 0 0 18px 240px;
}
@media screen and (max-width: 1023px) {
  .contact .table-like dd {
    margin: 0 0 0 0;
    padding: 0 0 18px 0;
  }
}
.contact .must {
  margin-right: 10px;
  padding: 1px 5px;
  font-size: 14px;
  color: #fff;
  background-color: #f00;
}
.contact .will {
  margin-right: 10px;
  padding: 1px 5px;
  font-size: 14px;
  color: #fff;
  background-color: #666;
}
.contact .table-like input {
  height: 40px;
  box-sizing: border-box;
  width: 100%;
  padding: 0 10px;
}
.contact .table-like textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 10px;
}
.contact input[type="submit"] {
  width: 60%;
  height: 80px;
  margin: 40px 20% 0;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 80px;
  text-align: center;
  background-image: url("../img/arrow-black.png");
  background-position: top 50% right 20px;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.4);
  background-size: 24px 24px;
  border-radius: 3px;
  cursor: pointer;
}
.contact input.back {
  width: 40%;
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  background-image: none;
  cursor: pointer;
}
@media screen and (max-width: 1023px) {
  .table-like input[type="text"],
  .table-like input[type="email"],
  .table-like textarea {
    width: 100%;
  }
  .table-like input.zip {
    width: auto;
  }
  .contact input[type="submit"] {
    width: 80%;
    margin: 40px 10% 20px;
    font-size: 18px;
    background-size: 30px;
  }
}
.privacy {
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 24px;
}

.single .wp-block-heading{
  margin-top: 2em;
  margin-bottom: 1em;
  color: #000;
}

@media screen and (max-width: 767px) {
.wp-block-image .alignright {
  float: none!important;
} 
}

.wp-block-table td{
  white-space: nowrap;
}

.wp-block-list{
  margin-left: 20px;
}

a.btn{
  text-decoration: none;
}