/* ==========================================================
   JASMIST サイト用スタイル（cocoon-child-master）
   ベースは demo/css/style.css。Cocoon本体（cocoon-master/style.css）と
   クラス名が衝突すると本体側のCSSに打ち消されるため、汎用的な
   クラス名には "jasmist-" プレフィックスを付けている（詳細は
   docs/handover-note.md 参照）。
   ========================================================== */

/* --- リセット・共通ベース --- */
* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #16202c;
  background: #fff;
  -webkit-font-smoothing: antialiased
}

img {
  display: block;
  max-width: 100%
}

a {
  color: #32998e;
  text-decoration: none
}

a:hover {
  color: #32998e
}

::selection {
  background: #cdeafa
}

button {
  font: inherit
}

#main {
  border: none;
}

/*webfont*/
.f01 {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.005em;
}

.f01B {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.005em;
}

/* --- 背景装飾テキスト --- */
.bg-words {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: #eaeff4;
  white-space: nowrap;
  letter-spacing: 0.01em
}

.bg-words span {
  position: absolute;
  top: 0;
  will-change: transform;
  opacity: 1.0
}

.bg-words span:nth-child(1) {
  left: 23%;
  font-size: clamp(52px, 7vw, 104px)
}

.bg-words span:nth-child(2) {
  right: 1%;
  font-size: clamp(58px, 8vw, 120px);
  color: #f0f4f2
}

.bg-words span:nth-child(3) {
  left: 8%;
  font-size: clamp(70px, 11vw, 168px);
  color: #eef4f1
}

.bg-words span:nth-child(4) {
  left: 34%;
  font-size: clamp(40px, 5vw, 76px)
}

.bg-words span:nth-child(5) {
  left: 4%;
  font-size: clamp(56px, 8vw, 116px);
  color: #eef2f6
}

.bg-words span:nth-child(6) {
  right: 2%;
  font-size: clamp(48px, 6.5vw, 96px)
}

.bg-words span:nth-child(7) {
  left: 20%;
  font-size: clamp(50px, 7vw, 100px);
  color: #f0f3f6
}

.bg-words span:nth-child(8) {
  left: 1%;
  font-size: clamp(54px, 7.5vw, 110px)
}

.bg-words span:nth-child(9) {
  right: 3%;
  font-size: clamp(52px, 7vw, 104px);
  color: #eff3f5
}

.bg-words span:nth-child(10) {
  left: 26%;
  font-size: clamp(44px, 6vw, 88px)
}

.bg-words span:nth-child(11) {
  right: 6%;
  font-size: clamp(46px, 6.4vw, 92px);
  color: #f0f2f4
}

.bg-words span:nth-child(12) {
  font-size: clamp(100px, 100vw, 200px);
}

.bg-words span:nth-child(13) {
  font-size: clamp(100px, 80vw, 160px);
}

.bg-words span.large-green {
  right: inherit;
  left: 0%;
  color: #CAEEE1;
  opacity: 0.4
}

.home .bg-words {
  display: block;
}

/* --- サイドバーナビ（PC） --- */
.jasmist-sidebar {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 268px;
  z-index: 20;
  border-right: 1px solid #e4eaf1;
  flex-direction: column;
  padding: 30px 26px 24px
}

.sidebar-logo {
  display: block;
  margin-bottom: 34px
}

.sidebar-logo img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 11px 10px 11px 42px;
  border-radius: 3px;
  border-left: 2px solid transparent;
  transition: background .15s, border-color .15s
}

/*.nav-link:hover{background:#f3f7fb;border-left-color:#00a5e3}*/
.nav-link.is-active {
  color: rgba(9, 200, 179, 1)
}

.nav-link .label {
  font-size: 15px;
  font-weight: 600;
  color: #16202c;
  letter-spacing: 0.02em;
  transition: 0.5s ease
}

.nav-link:hover .label,
.nav-link.is-active .label {
  color: #32998e
}

.nav-link .sub {
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93a2b3;
  transition: 0.5s ease
}

.nav-link:hover .sub,
.nav-link.is-active .sub {
  color: #32998e
}

.nav-divider {
  height: 1px;
  background: #e9eef4;
  margin: 12px 0px
}

.nav-link.disabled {
  pointer-events: none;

  & .label,
  .sub {
    color: #ccc;
  }
}

.nav-link:before {
  content: '';
  position: absolute;
  left: 0px;
  top: 20px;
  display: block;
  background-image: url(../images/icon-symbol2.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  aspect-ratio: 345/258;
}

.nav-link:hover:before,
.nav-link.is-active:before {
  background-image: url(../images/icon-symbol-hover.apng);
}

.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 2px;
  background: linear-gradient(96deg, #0a2f6b, #0b6ab4);
  color: #fff;
  transition: background .15s
}

.login-btn:hover {
  background: linear-gradient(96deg, #072454, #0b57a4);
  color: #fff
}

.login-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.login-btn .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em
}

.login-btn .sub {
  font-family: 'Barlow', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9d6f4
}

.login-btn .arrow {
  font-family: 'Barlow', sans-serif;
  font-size: 14px
}

.sidebar-tagline {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 6.9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a7b3c1
}

/* --- モバイルヘッダー・モバイルメニュー --- */
.mobile-header {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e4eaf1;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px
}

.mobile-header img {
  height: 40px;
  width: auto
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.mobile-login-btn {
  padding: 13px 14px;
  border-radius: 2px;
  background: linear-gradient(96deg, #0a2f6b, #0b6ab4);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid #d9e2ec;
  background: #fff;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0a2f6b
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(7, 36, 84, 0.96);
  backdrop-filter: blur(6px);
  padding: 24px 20px;
  flex-direction: column;
  gap: 6px;
  overflow: auto
}

.mobile-menu.is-open {
  display: flex
}

.mobile-menu-head {
  display: flex;
  justify-content: flex-end
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 20px;
  border-radius: 2px;
  cursor: pointer
}

.mobile-menu a {
  color: #fff;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px
}

.mobile-menu a.is-active {
  color: #09c8b3
}

.mobile-menu a span {
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #8fc4ea;
  margin-left: 10px
}

.mobile-menu a.disabled {
  pointer-events: none;
  color: #ccc;
  opacity: 0.5;
}

/* --- 全体レイアウト（左：サイドバー／右：メインカラムの2カラム化） --- */
#container {
  position: relative;
  background: #fff;
  overflow-x: hidden
}

.wrap-main-column {
  position: relative
}

#content {
  padding: 0;
  margin: 0
}

#content-in.wrap,
#content-in {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0
}

main#main {
  width: 100%;
  float: none;
  background-color: inherit;
  padding: 0
}

@media (min-width:1040px) {
  .jasmist-sidebar {
    display: flex
  }

  .mobile-header {
    display: none
  }

  #container {
    display: flex;
    align-items: flex-start
  }

  #header-container {
    flex: 0 0 268px;
    width: 268px
  }

  .wrap-main-column {
    flex: 1 1 auto;
    min-width: 0;
    width: auto
  }
}

/* --- セクション見出し（グラデーション帯・背景の浮遊ワード） --- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap
}

.section-dot {
  width: 6px;
  height: 6px;
  background: #2fb9a4;
  transform: translateY(-4px)
}

.section-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(28px, 10vw, 74px);
  color: #0a2f6b;
  line-height: 1
}

.section-lead {
  display: none;
  margin: 0;
  font-weight: 500;
  font-size: clamp(13px, 1.5vw, 16px);
  color: #2b323b;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex: 0 0 auto
}

.section-head.gradation {
  position: relative;
  background: linear-gradient(to bottom, rgba(0, 167, 238, 1) 0%, rgba(112, 199, 177, 1) 50%, rgba(255, 255, 255, 0) 100%);
  padding: 0 0 50px 20px;
  border-radius: 30px 0 0 0;
  overflow: hidden
}

.section-head.gradation .section-title {
  color: rgba(255, 255, 255, 0.5);
  line-height: 0.7;
}

.section-head.gradation .section-dot {
  display: none;
}

.section-head.gradation .heading-words {
  position: absolute;
  left: 0;
  top: 0;
  color: #858585;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.5;
}

/*MISSION*/
#about .section-head.gradation .heading-words:nth-child(1) {
  left: 10%;
  top: 60%;
  font-size: clamp(16px, 5vw, 36px);
}

#about .section-head.gradation .heading-words:nth-child(2) {
  left: 42%;
  top: 40%;
  font-size: clamp(10px, 3vw, 24px);
}

#about .section-head.gradation .heading-words:nth-child(3) {
  left: 43%;
  top: 70%;
  font-size: clamp(10px, 3vw, 24px);
}

#about .section-head.gradation .heading-words:nth-child(4) {
  left: 74%;
  top: 30%;
  font-size: clamp(10px, 3vw, 24px);
}

#about .section-head.gradation .heading-words:nth-child(5) {
  left: 68%;
  top: 60%;
  font-size: clamp(12px, 4.5vw, 36px);
}

/*INFORMATION*/
#information .section-head.gradation .heading-words:nth-child(1) {
  left: 5%;
  top: 60%;
  font-size: clamp(16px, 4vw, 36px);
}

#information .section-head.gradation .heading-words:nth-child(2) {
  left: 43%;
  top: 65%;
  font-size: clamp(10px, 3vw, 24px);
}

#information .section-head.gradation .heading-words:nth-child(3) {
  left: 72%;
  top: 20%;
  font-size: clamp(10px, 3vw, 36px);
}

#information .section-head.gradation .heading-words:nth-child(4) {
  left: 68%;
  top: 60%;
  font-size: clamp(12px, 5vw, 24px);
}

/*MOVIE*/
#movie .section-head.gradation .heading-words:nth-child(1) {
  left: 10%;
  top: 60%;
  font-size: clamp(16px, 5vw, 36px);
}

#movie .section-head.gradation .heading-words:nth-child(2) {
  left: 42%;
  top: 40%;
  font-size: clamp(10px, 3vw, 24px);
}

#movie .section-head.gradation .heading-words:nth-child(3) {
  left: 43%;
  top: 70%;
  font-size: clamp(10px, 3vw, 24px);
}

#movie .section-head.gradation .heading-words:nth-child(4) {
  left: 74%;
  top: 30%;
  font-size: clamp(10px, 3vw, 24px);
}

#movie .section-head.gradation .heading-words:nth-child(5) {
  left: 68%;
  top: 60%;
  font-size: clamp(12px, 4.5vw, 36px);
}

/*RELATED*/
#related .section-head.gradation .heading-words:nth-child(1) {
  left: 5%;
  top: 60%;
  font-size: clamp(16px, 4vw, 36px);
}

#related .section-head.gradation .heading-words:nth-child(2) {
  left: 43%;
  top: 65%;
  font-size: clamp(10px, 3vw, 24px);
}

#related .section-head.gradation .heading-words:nth-child(3) {
  left: 72%;
  top: 20%;
  font-size: clamp(10px, 3vw, 36px);
}

#related .section-head.gradation .heading-words:nth-child(4) {
  left: 68%;
  top: 60%;
  font-size: clamp(12px, 5vw, 24px);
}

/* --- ボタン・テキストリンク共通パーツ --- */
.btn-outline {
  position: relative;
  display: block;
  line-height: 1;
  text-align: center;
  padding: 25px 52px 25px 26px;
  border: 1px solid #0a2f6b;
  color: #0a2f6b;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  transition: background .15s, color .15s;
  width: fit-content;
  white-space: nowrap
}

.btn-outline:hover {
  background: #0a2f6b;
  color: #fff !important
}

.btn-outline:after {
  content: "→";
  font-family: 'Barlow', sans-serif;
  position: absolute;
  right: 26px;
  line-height: 1;
}

.btn-outline.large {
  width: clamp(220px, 80vw, 360px);
  margin: 0 auto
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0b6ab4;
  border-bottom: 1px solid #cfe2f2;
  padding-bottom: 6px;
  width: fit-content;
  transition: color .15s, border-color .15s
}

.text-link:hover {
  color: #00a5e3;
  border-bottom-color: #00a5e3
}

.text-link .arrow {
  font-family: 'Barlow', sans-serif
}

/* --- お知らせ抜粋（トップページのINFORMATIONセクション） --- */
.news-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 20px 12px;
  border-bottom: 1px solid #e9eef4;
  transition: background .15s
}

.news-row:hover {
  background: #eefbf8
    /*#f4f8fc*/
}

.news-row .date {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #0b6ab4;
  min-width: 86px
}

.news-row .cat {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  background: #eaf4fb;
  color: #0a2f6b;
  min-width: 78px;
  text-align: center
}

.news-row .title {
  flex: 1 1 260px;
  font-size: 16px;
  color: #16202c;
  line-height: 1.7
}

.news-row .arrow {
  font-family: 'Barlow', sans-serif;
  color: #93a2b3
}

/* MOVIEセクションのリンク本体（詳細パーツは後述の.movie-*） */
.movie-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #072454;
  transition: opacity .15s
}

.movie-link:hover {
  opacity: .94
}

/* --- 共通リンクカラー（フッター・パンくず） --- */
.footer-link {
  color: #e4eef8 !important;
  white-space: nowrap;
  transition: color .15s
}

.footer-link:hover {
  color: #09c8b3 !important
}

.footer-link.disabled {
  color: #666 !important;
  pointer-events: none;
}

.breadcrumb-link {
  color: #2b323b;
  white-space: nowrap;
  transition: color .15s
}

.breadcrumb-link:hover {
  color: #09c8b3
}

.breadcrumb-current {
  white-space: nowrap
}

/* --- お知らせ絞り込みタブ・ページネーションリンク --- */
.filter-pill {
  padding: 9px 18px;
  border: 1px solid #d9e2ec;
  background: #fff;
  border-radius: 999px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  color: #2b323b;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s
}

.filter-pill.is-active {
  background: #09c8b3;
  color: #fff;
  border-color: #09c8b3
}

.filter-pill.is-active:hover {
  color: #fff
}

.page-link {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #2b323b;
  border: 1px solid #e4eaf1;
  transition: color .15s, border-color .15s
}

.page-link:hover {
  border-color: #0b6ab4;
  color: #0b6ab4
}

.page-link.is-current {
  color: #fff;
  background: #0a2f6b;
  border-color: #0a2f6b
}

/* --- お知らせ一覧アイテム（カテゴリーアーカイブ：category.php） --- */
.news-item {
  display: none;
  grid-template-columns: 96px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 6px 20px;
  padding: 22px 12px;
  border-bottom: 1px solid #e9eef4;
  transition: background .15s
}

.news-item.is-visible {
  display: grid
}

.news-item:hover {
  background: #eefbf8
}

.news-item-date {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #0b6ab4;
  padding-top: 2px
}

.news-item-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0
}

.news-item-cat {
  display: flex;
  align-items: center;
  gap: 8px
}

.news-item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2fb9a4
}

.news-item-cat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #2b323b
}

.news-item-title {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.75;
  color: #16202c;
  text-wrap: pretty
}

.news-item-arrow {
  font-family: 'Barlow', sans-serif;
  color: #c3ced9;
  padding-top: 2px
}

/* --- Heroスライダー（トップページ） --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 900ms ease
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-dot {
  width: 34px;
  height: 3px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4)
}

.hero-dot.is-active {
  background: #fff
}

.hero-section {
  padding: clamp(16px, 3vw, 40px) clamp(16px, 4vw, 56px) 0
}

.hero-frame {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  aspect-ratio: 1.7;
  max-height: 660px;
  overflow: hidden;
  background: #072454
}

.hero-slide-split {
  display: flex;
  background: #072454
}

.hero-slide-mist {
  background: #12234a
}

.hero-slide-text {
  flex: 1 1 30%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(20px, 4vw, 30px)
}

.hero-slide-media {
  flex: 1 1 70%;
  min-width: 0
}

.hero-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: #7ec8f0
}

.hero-slide-heading {
  margin: 0;
  font-weight: 700;
  color: #fff;
  font-size: clamp(10px, 2.0vw, 34px);
  line-height: 1.5;
  text-wrap: pretty;
  white-space: nowrap;
}

.hero-accent-bar {
  width: 48px;
  height: 2px;
  background: #2fb9a4
}

/*
.hero-banner{position:absolute;left:0;right:0;bottom:0;display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;padding:clamp(14px,2.4vw,26px) clamp(18px,3vw,34px);background:linear-gradient(to top,rgba(4,20,48,0.88),rgba(4,20,48,0))}
.hero-banner-date{font-family:'Barlow',sans-serif;font-size:13px;letter-spacing:0.18em;color:#8fd3f5}
.hero-banner-venue{font-size:13px;color:#fff;font-family:'Zen Kaku Gothic New',sans-serif}
.hero-banner-link{margin-left:auto;color:#fff;border-bottom:1px solid rgba(255,255,255,0.5)}
*/
.hero-link-text {
  position: absolute;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(14px, 2.4vw, 24px);
  background-color: rgba(255, 255, 255, 1.0);
  color: #000;
  font-size: 13px;
  line-height: 1;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  padding: 10px 15px;
  border-radius: 20px;
}

.hero-dots {
  position: absolute;
  left: clamp(16px, 3vw, 30px);
  bottom: clamp(14px, 2.4vw, 24px);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3
}

/* --- セクション共通レイアウト（padding・幅など） --- */
.section {
  padding: clamp(32px, 9vw, 64px) clamp(16px, 4vw, 56px) 0
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto
}

.section-head-lg {
  margin-bottom: clamp(28px, 4vw, 48px)
}

.section-head-sm {
  margin-bottom: clamp(24px, 3vw, 36px)
}

.section-head-md {
  margin-bottom: clamp(24px, 3vw, 40px)
}

/* MISSION（トップページ：学会について概要＋理事長写真） */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px
}

.about-lead {
  margin: 0;
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.65;
  color: #0a2f6b;
  text-wrap: pretty
}

.about-lead small {
  display: block;
  font-size: clamp(12px, 1.6vw, 18px);
  margin-bottom: 1em;
}

.about-lead strong {
  display: block;
  font-weight: 700
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 2;
  color: #2b323b
}

.about-body p {
  margin: 0;
  text-wrap: pretty
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px solid #e4eaf1;
  font-size: 13px;
  color: #2b323b;
  line-height: 1.9
}

.about-signature-date {
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.1em;
  color: #93a2b3;
  padding-top: 14px
}

.about-signature-name {
  font-weight: 700;
  font-size: 17px;
  color: #16202c;
  letter-spacing: 0.04em
}

.about-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.about-figure img {
  width: 100%;
  height: auto;
  object-fit: cover
}

.about-figure-caption {
  font-size: 11.5px;
  color: #93a2b3;
  letter-spacing: 0.04em
}

/* INFORMATION（トップページ：お知らせ抜粋リスト） */
.jasmist-info-list {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid #dbe3ec
}

.jasmist-info-list-more {
  margin-top: 26px !important
}

/* MOVIE（トップページ：紹介映像リンクの詳細パーツ） */
.movie-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(105deg, rgba(7, 36, 84, 0.78), rgba(7, 36, 84, 0.12) 62%)
}

.movie-overlay span {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(16px, 2.4vw, 40px);
  color: #fff;
}

.movie-content {
  position: absolute;
  left: clamp(18px, 3.4vw, 44px);
  bottom: clamp(18px, 3.4vw, 40px);
  display: flex;
  align-items: center;
  gap: 18px
}

.movie-play-icon {
  width: clamp(52px, 6vw, 68px);
  height: clamp(52px, 6vw, 68px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px
}

.movie-text {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.movie-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: #8fd3f5
}

.movie-title {
  font-weight: 700;
  color: #fff;
  font-size: clamp(17px, 2.4vw, 28px);
  line-height: 1.45
}

.movie-link img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: 50% 30%
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000
}

/* RELATED SITES（トップページ：関連サイトカード） */
.jasmist-related-list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px)
}

.related-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e4eaf1;
  padding: clamp(18px, 2.6vw, 30px)
}

.related-card-visual {
  aspect-ratio: 16/9
}

.related-card-visual--gradient {
  background: linear-gradient(120deg, #072454, #0b57a4 70%, #0b6ab4);
  display: flex;
  align-items: center;
  padding: clamp(16px, 2.4vw, 28px)
}

.related-card-visual--image {
  position: relative;
  overflow: hidden;
  background: #12234a
}

.related-card-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.related-card-visual--image a {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.related-card-visual-text {
  position: absolute;
  left: 5%;
  top: calc(50% - 1.5em);
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(13px, 1.6vw, 17px);
  line-height: 1.7;
  text-wrap: pretty
}

.related-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.related-card-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 19px);
  color: #0a2f6b;
  line-height: 1.6
}

.related-card-desc {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #2b323b;
  text-wrap: pretty
}

/* --- スポンサーロゴ（トップページ） --- */
.sponsors-section {
  background: #f4f7fa;
  border-top: 1px solid #e4eaf1;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 4vw, 56px);
  margin-top: 4vw
}

.sponsors-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 10px)
}

.sponsors-inner a:hover {
  opacity: 0.8;
}

.sponsors-inner img {
  height: clamp(30px, 9vw, 80px);
  width: auto
}

.sponsors-inner img.sponsor-sm {
  height: clamp(30px, 3.6vw, 40px)
}

/* --- フッター（全ページ共通） --- */
#footer {
  background: #0a2f6b;
  color: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 56px) clamp(24px, 3vw, 36px);
  margin-top: 0
}

#footer-in.wrap,
#footer-in {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px)
}

.footer-secretariat {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.footer-sitemap {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.footer-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: #8fc4ea
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.9;
  color: #e4eef8
}

.footer-tel {
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.04em
}

.footer-tel a {
  color: #fff !important
}

.footer-tel a:hover {
  color: #09c8b3 !important
}

.footer-email {
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.02em
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px
}

.jasmist-footer-bottom {
  max-width: 1120px;
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between
}

.jasmist-footer-bottom-label {
  font-family: 'Barlow', sans-serif;
  font-size: 9px;
  letter-spacing: 0.10em;
  color: #8fb8dd
}

.footer-copy {
  font-size: 11px;
  color: #a8c6e2
}

/* --- 下層ページ共通：ページヘッダー帯（page-hero） --- */
.page-hero {
  position: relative;
  height: clamp(80px, 12vw, 280px);
  overflow: hidden;
  background: #072454;
  border-radius: 0 0 0 50px;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%
}

.page-hero-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 36, 84, 0.9), rgba(11, 87, 164, 0.62))
}

.page-hero-inner {
  position: relative;
  height: 100%;
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px
}

.page-hero-title {
  margin: 45px 0 0 0;
  font-weight: 700;
  color: #fff;
  font-size: clamp(14px, 2.6vw, 32px);
  letter-spacing: 0.04em;
  line-height: 1.3
}

.page-hero-eyebrow {
  font-family: 'Barlow', sans-serif;
  color: #8fd3f5;
  font-size: clamp(8px, 1.2vw, 12px);
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  /*margin-top:1em*/
}

@media screen and (max-width: 750px) {
  .page-hero {
    height: inherit;
    aspect-ratio: 2308/384;
  }

  .page-hero img {
    object-fit: inherit;
    height: inherit
  }

  .page-hero-title {
    position: absolute;
    bottom: 20px;
    left: 5vw;
    margin: 0
  }

  .page-hero-eyebrow {
    position: absolute;
    bottom: 10px;
    left: 5vw;
  }
}

/* --- パンくずリスト --- */
.jasmist-breadcrumb {
  border-bottom: 1px solid #e9eef4;
  background: rgba(255, 255, 255, 0.88)
}

.breadcrumb-inner {
  margin: 0 auto;
  padding: 12px 4vw;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: #93a2b3
}

/* --- ページ内サブメニュー（例：学会について配下のページ切替タブ） --- */
.page-sub-menu {
  max-width: 1120px;
  margin: 4vw 4vw 0;
  padding: 0;
  border-bottom: 1px solid #e9eef4;

  & ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0 10px;

    & li {
      margin-right: 10px;

      & a {
        display: block;
        color: #32998e;
        background: #fff;
        white-space: nowrap;
        padding: 10px 20px;
        border: 1px solid #e9eef4;
        border-bottom: none;
        border-radius: 0 0 0 0;
      }

      &.is-active a {
        background-color: #32998e;
        color: #fff;
      }
    }
  }
}

/* --- 定款ページ（/about/teikan/） --- */
.page-teikan ol.parenthesized-list {
  list-style: none;
}

.page-teikan ol.parenthesized-list {
  /*list-style-type: none;*/
  counter-reset: item;
}

.page-taiken ol.parenthesized-list>li {
  list-style-type: none;
  counter-increment: item;
}

.page-taiken ol.parenthesized-list>li::before {
  content: "(" counter(item) ") ";
}


/* --- お知らせ・活動について一覧（category.php） --- */
.list-section {
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 56px) clamp(56px, 8vw, 110px)
}

.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dbe3ec
}

.category-label {
  font-family: 'Barlow', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #93a2b3;
  margin-right: 6px;
  white-space: nowrap
}

.category-count {
  margin-left: auto;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: #93a2b3;
  white-space: nowrap
}

.news-list {
  display: flex;
  flex-direction: column
}

.jasmist-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px)
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 4px
}

.pagination-ellipsis {
  min-width: 24px;
  text-align: center;
  font-family: 'Barlow', sans-serif;
  color: #c3ced9
}

/* --- 投稿ページ（single.php） --- */
.single-section {
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 56px) clamp(56px, 8vw, 110px)
}

.single-section .entry-header {
  margin: 0 0 2em 0;
}

.post-date {
  font-size: 16px;
  line-height: 1;
  color: #8fd3f5;
}

.single-section .entry-body {
  font-size: 16px;
  line-height: 2;
  color: #3c4a5a;
}

.single-section .entry-body h3,
.single-section .entry-body h4,
.single-section .entry-body h5,
.single-section .entry-body h6 {
  margin: 2em 0 1em 0;
}

.single-section .entry-body p {
  margin-bottom: 1.5em;
}

/* --- トップへ戻るボタン（Cocoon標準パーツの上書き） --- */
.go-to-top {
  right: 0 !important;
  bottom: 0 !important;
}

.go-to-top-button {
  background-color: #32998e !important;
  border-radius: 80% 0 0 0 !important;
}

.go-to-top-button:after {}

.go-to-top-button span.fa {
  content: "\f106";
  font-size: 16px;
  color: #fff;
  transform: rotate(-45deg);
}

.go-to-top-button:hover {}

/* --- セクションボディ --- */
.section-body {
  font-size: 16px;
  line-height: 2;
  color: #2b323b;
  margin: 0 0 50px 0;

  & h3,
  h4,
  h5,
  h6 {
    margin: 2em 0 1em 0;
  }

  & p {
    /*text-align: justify;*/
  }

  & ul,
  ol {
    margin: 2em 0;
    padding: 0 0 0 1.2em;
  }

  & table {
    & th {
      background-color: #0a2f6b;
      color: #fff;
      line-height: 1.5;
      padding: 10px;
    }

    & td {
      line-height: 1.5;
      padding: 10px;
    }
  }
}

/* 本文中のtableをアコーディオン開閉にする（js/site.js setupAccordionTables()と対） */
.table-accordion-head {
  cursor: pointer;
  user-select: none
}

.table-accordion-toggle {
  float: right;
  font-weight: 700
}

.section-body tbody.is-collapsed,
.about-body tbody.is-collapsed {
  display: none
}

/* --- 汎用見出し（.section-headとは別物：本文内の小見出し用） --- */
.section-heading {
  width: 100%;
  border-bottom: 2px solid var(--color-blue-light);
  padding: 0 0 10px;
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--color-navy);
  margin: 0 0 30px 0;

  &.gradation {
    color: #FFF;
    background: linear-gradient(to bottom, rgba(26, 66, 147, 1) 0%, rgba(0, 158, 229, 1) 70%, rgba(255, 255, 255, 0) 100%);
    padding: 10px 25px 30px 25px;
    border-radius: 25px 0 0 0;

    & .section-title {
      color: rgba(255, 255, 255, 0.7);
      line-height: 0.8;
      padding: 0;
    }
  }

}

/* --- 2カラム用 --- */
.section.column2 {

  padding: 0 0 50px 0;

  .section-card:last-child {
    margin-top: 70px;
  }

  .section-body {
    display: flex;
    column-gap: 50px;
    width: calc(100% - 50px);
    margin: 0 auto;
    padding: 15px 0 0;
  }

  .section-image {
    width: 39%;

    &.dummy {
      background-color: var(--color-gray);
      aspect-ratio: 1 / 1;
    }

  }

  .section-text {
    display: flex;
    flex-direction: column;
    width: calc(100% - 39% - 50px);

    & p {
      flex-grow: 1;
      margin: 0 0 1em;
      line-height: 2.0;
    }

    .section-author {
      text-align: right;
      line-height: 1.8;

      & strong {
        font-size: 20px;
        font-weight: 700;
      }

    }

  }

}

/* 入会案内 */
.page-guidance {

  & .section-body table {

    & tr {
      background-color: #fff;
    }

    & td {
      white-space: nowrap;
    }

  }
}

/*751px以上*/
@media screen and (min-width: 751px) {

  /*必要ならばここにコードを書く*/
  .pc-only {
    display: block
  }

  .sp-only {
    display: none
  }
}

/*750px以下*/
@media screen and (max-width: 750px) {

  /*必要ならばここにコードを書く*/
  .pc-only {
    display: none
  }

  .sp-only {
    display: block
  }

  #header-container {
    height: 64px;
  }

  .page-hero {
    border-radius: 0 0 0 20px;
  }

  .page-sub-menu {

    & ul {

      & li {

        & a {
          font-size: 12px;
          padding: 10px 10px;
        }
      }
    }
  }

  .section-head.gradation {
    border-radius: 20px 0 0 0;
  }

  .btn-outline {
    width: 80%;
    margin: 0 auto;
  }

  .section-heading {
    &.gradation {
      padding: 10px 25px 20px 20px;
      border-radius: 20px 0 0 0;
    }

  }

  .section.column2 {

    .section-body {
      flex-direction: column;
      gap: 15px 0;
      width: 90%;
      padding: 15px 0 0;
    }

    .section-image {
      width: 100%;
    }

    .section-text {
      width: 100%;
    }

  }

  .section-body {
    font-size: 13px;

    & h3,
    h4,
    h5,
    h6 {}

    & p {}

    & ul,
    ol {}

    & table {
      & th {}

      & td {}
    }
  }

  .category-bar {
    position: relative;
    gap: 10px 5px;
  }

  .category-label {
    display: block;
    width: 100%;
  }

  .filter-pill {
    font-size: 10px;
    padding: 5px 10px;
  }

  .category-count {
    position: absolute;
    top: 0;
    right: 0;
  }

  /* 役員名簿 */
  .page-board-members .section-body table {
    & tbody td:nth-child(1) {
      width: 25%;
      white-space: nowrap
    }

    & tbody td:nth-child(2) {
      width: 25%;
      white-space: nowrap
    }
  }

}