/*
Theme Name: Medaka Theme
Theme URI: https://example.com
Author: Tomo
Description: めだかサポーターの会用テーマ
Version: 1.0
*/

body {
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
}
h1 {
  font-size: 3rem;
  line-height: 1.4;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  line-height: 1.6;
  font-weight: 700;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.7;
  font-weight: 700;
}

/* =========================
   HEADER
========================= */
.mobile-menu,
.custom-toggler {
  display: none;
}

.site-header {
　background-color: #ffffff;
  width: 100%;
  z-index: 1000;
}

.site-header .container-fluid {
  padding-left: 3rem;
  padding-right: 3rem;
}

.navbar {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.site-logo {
  height: 48px;
  width: auto;
}
/* PC header menu */
.pc-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-menu li {
  margin: 0;
  padding: 0;
}

.pc-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.pc-menu a:hover {
  color: #28b7bc;
}

/* Contactだけボタン化 */
.pc-menu > li:last-child > a {
  display: inline-block;
  background-color: #28b7bc;
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
}

.pc-menu > li:last-child > a:hover {
  color: #fff;
  opacity: 0.85;
}
.btn-contact {
  background: #28b7bc;
  color: white;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
	margin-left: 0.75rem;
}

.btn-contact:hover {
  background: #159c9c;
  color: white;
}

.divider-fish {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.divider-fishicon {
  width: 56px; !important;
  height: auto;
 }

.divider-dotline {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 4rem 0;
}

.divider-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28b7bc;
  flex-shrink: 0;
}

.divider-dashed-line {
  flex: 1;
  border-top: 2px dashed #28b7bc;
  margin: 0 0.6rem;
}

.hero-section {
  width: 100%;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.top-info-section {

}
.section-title {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.marker-title {
  display: inline;
  font-weight: 700;
  background-repeat: no-repeat;
  background-size: 90% 0.6em;
  background-position: 0 85%;
  padding-right: 0.2em;
  padding-bottom: 0.1em;
  padding-left: 0.3em;
}

.marker-blue {
  background-image: linear-gradient(#BEE9EB, #BEE9EB);
}

.marker-yellow {
  background-image: linear-gradient(#FBD580, #FBD580);
}

.partner-box,
.sns-box,
.x-embed-box {
  height: 100%;
}

.sns-title {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  background: #FBD580;
  padding: 0.1em 0.35em;
  margin-bottom: 1.5rem;
}

.sns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.4rem;
}

.sns-button {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 64px;
  min-width: 220px;
  max-width: 260px;

  background-color: #28b7bc;
  color: #fff;

  text-decoration: none;
  border-radius: 999px;
  overflow: hidden;

  font-weight: 700;
  transition: 0.2s ease;
}

.sns-button:hover {
  background: #159c9c;
  color: #fff;
}

.sns-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sns-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.sns-label {
  padding-left: 1.0rem;
  padding-right: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}

.x-embed-box {
  min-height: 260px;
  background: rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

  .top-info-section {
    text-align: left;
  }

  .sns-button {
    justify-content: center;
  }
}

.about-section {
  background: #fff7f7;
}

.section-title {
  margin-bottom: 2rem;
}

.section-divider {
  text-align: center;
  margin: 2rem 0;
}

.section-divider img {
  width: 36px;
  height: auto;
}

.about-content {
  line-height: 2;
}

.about-image {
  margin-top: 3rem;
}

.dot-title {
  position: relative;
  padding-left: 1.6em;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.6;
}

.dot-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: #28b7bc;
}

.topic-card {
  border: 3px solid #28b7bc;
  border-radius: 42px;

  padding: 3rem;

  margin-bottom: 4rem;
}

.fish-title {
  position: relative;

  padding-left: 2.8rem;

  font-size: 1.5rem;
  font-weight: 700;

  margin-bottom: 2rem;
}
.fish-title::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0.3em;

width: 36px;
height: 36px;

  background-image: url('https://medasapo.org/wp-content/uploads/2026/04/logo1_fish_005_03_05.png');

  background-size: contain;
  background-repeat: no-repeat;
}

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

.pdf-link:hover {
  color: #28b7bc;
}

/* =========================
   HISTORY
========================= */

.history-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.history-row {
  display: grid;
  grid-template-columns: 90px 1fr;

  gap: 2.0rem;
  align-items: stretch;
}

.history-year {
  background: #E9F8F8;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.2rem;
  min-height: 24px;
}

.history-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.history-event {
  padding-left: 1.5rem;
  margin-top: 0.8rem;
  margin-bottom:0.2rem;
  background: #E9F8F8;
  min-height: 24px;}

/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: 6rem;
  width: 100%;
}

.footer-inner {
  width: 100%;
  box-sizing: border-box;

  background: #2fb6bb;
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding-left: 3rem;
  padding-right: 5rem;
}

.footer-copy {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}


/* =========================
   MOBILE
========================= */
@media (max-width: 991px) {
  .mobile-menu,
  .custom-toggler {
    display: block;
  }

  .pc-menu {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    width: 52vw;
    max-width: 260px;
    background: transparent;
    border: none;
  }

  .mobile-menu .offcanvas-header {
    height: 125px;
    background: #fff;
    justify-content: flex-end;
    padding-right: 1.2rem;
  }

  .mobile-menu-close {
    font-size: 1.8rem;
    opacity: 1;
  }

  .mobile-menu .offcanvas-body {
    background: #28b7bc;
    padding: 2.8rem 1.5rem;
  }

  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .mobile-menu-list li + li {
    margin-top: 2rem;
  }

  .mobile-menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
}
@media (max-width: 991px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
  }

  body {
    padding-top: 125px;
  }
}
@media (max-width: 768px) {
  .sns-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .site-header .container-fluid,
  .footer-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 991px) {
  .sns-grid {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
  }
  .sns-button {
    width: 56px;
    height: 56px;
    min-height: 56px;
    min-width: 56px;
    padding: 0;
    border-radius: 50%;
    background: #28b7b7;
  }
  .sns-icon-wrap {
    width: 56px;
    height: 56px;
  }
  .sns-icon {
    width: 44px;
    height: 44px;
  }
  .sns-label {
    display: none;
  }
}
@media (max-width: 768px) {
  .dot-title {
    font-size: 1.1rem;
    padding-left: 1.5em;
  }

  .dot-title::before {
    width: 0.9em;
    height: 0.9em;
  }
}
@media (max-width: 768px) {

  .topic-card {
    padding: 2rem;
    border-radius: 28px;
  }

  .topic-images {
    flex-direction: column;
  }

}