@charset "UTF-8";

.contents-area {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 991.98px) {
  .contents-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* テーブルのヘッダー行をSP・タブレットで非表示 */
  .u-table-sp-hide {
    display: none !important;
  }

  /* participant.html: 学会関連行事テーブルの横はみ出し防止 */
  .participant-doc .u-table-content.u-table-stack {
    width: calc(100% - 1em) !important;
    max-width: calc(100% - 1em) !important;
    margin-left: 0.5em !important;
    margin-right: 0.5em !important;
  }
}

.section-head {
  background: #fff;
  border-left: 6px solid #078e6c;
  padding: 10px 14px;
  z-index: 1 !important;
}
.section-head__title {
  font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
  font-weight: 700;
}

/* ----- 全ページ本文の文字組み共通 ------- */
#society-main p,
#society-main li,
#society-main dd,
#society-main td {
  text-align: justify;
  text-justify: inter-ideograph;
}

/* ----- 会長挨拶ページ専用スタイル greeting.html ------- */

/* 上段：メタ（左）＋写真（右） */
.greeting-top {
  display: flex;
  justify-content: flex-end; /* 右寄せの塊 */
  align-items: end;
  gap: 10px;
}

/* メタ情報：右寄せ */
.greeting-top__meta {
  text-align: right;
  max-width: 520px;
}
.greeting-top__conf {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}
.greeting-top__conf > span {
  display: inline-block;
}
.greeting-top__role {
  font-weight: 700;
  font-size: 14px;
  line-height: 2;
}
.greeting-top__role > span {
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  padding-left: 0.5em;
}

.greeting-top__org {
  font-size: 12px;
  line-height: 1.25;
}

/* 写真 */
.greeting-top__photo {
  width: 120px;
  height: auto;
  overflow: hidden;
}
.greeting-top__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本文 */
.greeting-body {
  padding: 25px 5px 65px;
  line-height: 1.8;
}
.greeting-body p {
  text-align: justify;
  text-justify: inter-ideograph;
  text-align-last: left;
  margin-bottom: 1.2rem;
}

/* SP：写真を左、テキストを右 */
@media (max-width: 576px) {
  .greeting-top {
    flex-direction: row-reverse; /* ← ここがポイント */
    justify-content: flex-start;
    align-items: end;
    gap: 12px;
  }

  .greeting-top__photo {
    flex: 0 0 110px;
    height: auto;
  }

  .greeting-top__meta {
    text-align: left;
    flex: 1;
  }
}

/* ----- 開催概要ページ専用スタイル outline.html ------- */

.overview {
  margin: 0;
  padding-bottom: 65px;
}
.overview__row {
  padding: 0 0 35px;
}
.overview__dt {
  border-top: 2px solid #cfd6de;
  border-bottom: 2px solid #cfd6de;
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 0.5em;
  line-height: 2;
}
.overview__dd {
  margin: 0;
  line-height: 1.65;
  padding-left: 0.5em;
}

/* ----- 会場のご案内ページ専用スタイル acce会場.html ------- */

/* アクセス */
.access-info {
  font-size: 14px;
  line-height: 1.8;
}

/* 地図 */
.access-map {
  margin-top: 12px;
  border: 1px solid #dcdcdc;
}
.access-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* SP */
@media (max-width: 576px) {
  .access-map iframe {
    height: 260px;
  }
}

/* ----- 広報用スライドダウンロードボタン ----- */
.btn-slide-dl {
  background-color: #3764af;
  border-color: #3764af;
  color: #fff;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.btn-slide-dl:hover,
.btn-slide-dl:focus {
  background-color: #264d8c;
  border-color: #264d8c;
  color: #fff;
}

.txt-indent {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.45;
}

/* ----- 演題募集ページ専用スタイル abstracts.html ------- */
.abstracts-tabs .nav-link {
  border-radius: 0;
  font-weight: 700;
  background-color: #078e6c15;
  border-color: #078e6c15;
  color: #078e6c;
}

.abstracts-tabs .nav-link:hover {
  background-color: #078e6c;
  border-color: #078e6c;
  color: #fff;
}

.abstracts-tabs .nav-link.active {
  background-color: #078e6c;
  border-color: #078e6c;
  color: #fff;
}

.abstracts-field-grid {
  margin-bottom: 2.5em;
  font-size: 0.95em;
  letter-spacing: -0.01em;
}

.jwc-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.55rem;
  border: 1px solid #d3c14b;
  background: linear-gradient(135deg, #fff8cd 0%, #ffe899 55%, #ffd85b 100%);
  color: #4e3d00;
  box-shadow: 0 4px 14px rgb(120 95 0 / 18%);
  font-weight: 700;
  line-height: 1.35;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.jwc-cta:hover,
.jwc-cta:focus {
  color: #3f3200;
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 7px 16px rgb(120 95 0 / 24%);
}

.jwc-cta__lead {
  white-space: nowrap;
}

.jwc-cta__text {
  flex: 1;
}

.jwc-cta__icon {
  font-size: 1.15rem;
  opacity: 0.9;
}

.abstracts-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.75rem 0.5em 0.5rem;
}

.abstracts-action-btn {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  min-width: 220px;
  padding: 0.62rem 3.05rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.25;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.abstracts-action-btn .bi-box-arrow-up-right {
  position: absolute;
  top: 0.38rem;
  right: 0.5rem;
  font-size: 0.78rem;
  line-height: 1;
}

.abstracts-action-btn:hover,
.abstracts-action-btn:focus {
  transform: translateY(-1px);
}

.abstracts-action-btn--new {
  background: #0d896a;
  border-color: #0b6f56;
  color: #fff;
  box-shadow: 0 4px 10px rgb(13 137 106 / 22%);
}

.abstracts-action-btn--new:hover,
.abstracts-action-btn--new:focus {
  background: #0b745a;
  color: #fff;
}

.abstracts-action-btn--edit {
  background: #f3f7fb;
  border-color: #9db3c8;
  color: #274866;
  box-shadow: 0 4px 10px rgb(39 72 102 / 14%);
}

.abstracts-action-btn--edit:hover,
.abstracts-action-btn--edit:focus {
  background: #e8f0f8;
  color: #1f3a53;
}

.abstracts-action-btn--coming {
  background: #f5f5f5;
  border-color: #c8c8c8;
  color: #666;
  box-shadow: none;
  cursor: not-allowed;
}

.abstracts-action-btn--coming:hover,
.abstracts-action-btn--coming:focus {
  transform: none;
  background: #f5f5f5;
  color: #666;
}

@media (max-width: 576px) {
  .jwc-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.45rem;
    row-gap: 0.1rem;
    align-items: center;
  }

  .jwc-cta__lead,
  .jwc-cta__text {
    grid-column: 1;
    min-width: 0;
  }

  .jwc-cta__icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-left: 0;
  }

  .abstracts-action-btn {
    width: 100%;
  }
}

.contact-box {
  background: #f6fbf9;
  border: 1px solid #d5e8e1;
  border-radius: 0.4rem;
  padding: 0.9rem 1rem;
  margin: 0.75rem 0.5em 0.5rem;
}

.contact-box p {
  margin-left: 0;
}

.contact-box__title {
  font-weight: 700;
  color: #0b6f56;
}

.contact-box__tel a {
  font-weight: 700;
}

/* ----- 利益相反ページ専用スタイル coi.html ------- */
.coi-download a {
  font-weight: 700;
}

.coi-meta {
  margin: 0;
  padding: 0;
  font-size: 0.9em;
}

.coi-note {
  font-size: 0.9em;
}

/* ----- 協賛ページ専用スタイル sponsors.html ------- */
.sponsors-body p {
  line-height: 1.9;
}

.sponsors-download a {
  font-weight: 700;
}

/* ----- 座長・発表者へのご案内ページ専用スタイル presenter.html ------- */
.presenter-doc ol {
  list-style: none;
  padding-left: 0;
}

.presenter-doc ol li {
  margin-bottom: 0.4rem;
}

.presenter-filename-example {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.18rem 0.6rem;
  white-space: nowrap;
  border: 1px solid #f0b824;
  border-radius: 0.45rem;
  background: #fff8dd;
  color: #3b4550;
  font-weight: 700;
  font-size: 0.93em;
  letter-spacing: 0.01em;
}

.presenter-ol-numeric {
  counter-reset: presenter-item;
}

.presenter-ol-numeric li {
  position: relative;
  padding-left: 1.2em;
}

.presenter-ol-numeric li::before {
  counter-increment: presenter-item;
  content: counter(presenter-item) ')';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2em;
  line-height: inherit;
}

.presenter-ol-numeric li .presenter-time-table {
  margin-left: 0;
}

.presenter-time-table th {
  width: 60%;
}

/* ----- 参加登録ページ専用スタイル registration.html ------- */
/* .registration-table th {
  width: 34%;
} */

.registration-table-note {
  margin: 0.15rem 0.5em 0.9rem;
  padding: 0.5rem 0.65rem;
  border-left: 3px solid #d9e2ea;
  background: #fff;
}

.registration-table-note__item {
  margin: 0;
  padding-left: 2.35em;
  text-indent: -2.35em;
  line-height: 1.55;
  font-size: 0.93em;
  color: #333;
  font-weight: 400;
}

.registration-table-note__item + .registration-table-note__item {
  margin-top: 0.45rem;
}

.registration-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0.5em 0.25rem;
}

.registration-action-btn {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  min-width: 230px;
  padding: 0.62rem 1.75rem 0.62rem 1.3rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.25;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.registration-action-btn__external {
  position: absolute;
  top: 0.36rem;
  right: 0.48rem;
  font-size: 0.76rem;
  line-height: 1;
}

.registration-action-btn:hover,
.registration-action-btn:focus {
  transform: translateY(-1px);
}

.registration-action-btn--new {
  background: #0d896a;
  border-color: #0b6f56;
  color: #fff;
  box-shadow: 0 4px 10px rgb(13 137 106 / 22%);
}

.registration-action-btn--new:hover,
.registration-action-btn--new:focus {
  background: #0b745a;
  color: #fff;
}

.registration-action-btn--mypage {
  background: #f3f7fb;
  border-color: #9db3c8;
  color: #274866;
  box-shadow: 0 4px 10px rgb(39 72 102 / 14%);
}

.registration-action-btn__label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.registration-action-btn__note {
  margin-top: 0.08rem;
  font-size: 0.78em;
  color: #5f6b76;
  font-weight: 500;
}

.registration-action-btn--mypage:hover,
.registration-action-btn--mypage:focus {
  background: #e8f0f8;
  color: #1f3a53;
}

.registration-action-btn--coming {
  background: #f5f5f5;
  border-color: #c8c8c8;
  color: #666;
  box-shadow: none;
  cursor: not-allowed;
}

.registration-action-btn--coming:hover,
.registration-action-btn--coming:focus {
  transform: none;
  background: #f5f5f5;
  color: #666;
}

@media (max-width: 576px) {
  .registration-action-btn {
    width: 100%;
  }
}

/* ----- プログラムページ専用スタイル program.html ------- */
.program-people .row dt,
.program-people .row dd {
  line-height: 1.25;
}

.program-term-btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.program-speaker-label {
  max-width: 4em !important;
  font-size: 0.95em;
  font-weight: 500 !important;
}

.accommodation-doc > p {
  text-align: justify;
}

.accommodation-doc .table th {
  text-align: justify;
  text-justify: inter-ideograph;
  text-align-last: justify;
  white-space: nowrap;
}

.accommodation-doc .table th.nojustify {
  text-align: left;
  text-justify: none;
  text-align-last: auto;
  white-space: nowrap;
}

.accommodation-doc .table th,
.accommodation-doc .table td {
  padding: 0.35em 0.5em;
  line-height: 1.45;
  font-size: 0.975em;
}

.accommodation-link-panel--coming {
  border: 1px solid #d3d8de;
  background: #f7f8fa;
}

.accommodation-link-panel__coming-text {
  display: inline-flex;
  align-items: center;
  color: #666;
  cursor: not-allowed;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .accommodation-doc .table,
  .accommodation-doc .table tbody,
  .accommodation-doc .table th,
  .accommodation-doc .table td {
    display: block;
    width: 100%;
  }

  .accommodation-doc .table th br {
    display: none !important;
  }

  .accommodation-doc .table {
    border: 0;
  }

  .accommodation-doc .table tr {
    display: block;
    width: 100%;
    border: 1px solid #dee2e6;
    border-bottom: 0;
  }

  .accommodation-doc .table tr:last-child {
    border-bottom: 1px solid #dee2e6;
  }

  .accommodation-doc .table th {
    text-align: left;
    text-align-last: auto;
    border: 0;
    border-bottom: 1px solid #dee2e6;
  }

  .accommodation-doc .table td,
  .accommodation-doc .table th {
    margin: 0;
  }

  .accommodation-doc .table td {
    border: 0;
  }
}
