/* ==========================================
   第61回 日本小児外科学会関東甲信越地方会
   共通スタイルシート
========================================== */


/* ==========================================
   色・サイズの基本設定
========================================== */

:root {

  --gunjo: #143a73;

  --deep-gunjo: #0b2855;

  --kawagoe-brown: #8b5a2b;

  --kawagoe-gold: #c9a646;

  --soft-blue: #eaf2fb;

  --pale-gold: #fbf5df;

  --text: #1f2937;

  --muted: #6b7280;

  --line: #d8e0ea;

  --white: #ffffff;

  --background: #f4f7fb;

  --shadow:
    0 14px 35px rgba(10, 31, 68, 0.14);

}


/* ==========================================
   全体リセット
========================================== */

* {

  box-sizing: border-box;

}


html {

  scroll-behavior: smooth;

}


body {

  margin: 0;

  color: var(--text);

  font-family:
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    Meiryo,
    sans-serif;

  line-height: 1.75;

  background:
    radial-gradient(
      circle at top left,
      rgba(201, 166, 70, 0.14),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #f7fbff 0%,
      #ffffff 45%,
      #f8fafc 100%
    );

  overflow-x: hidden;

}


img {

  display: block;

  max-width: 100%;

  height: auto;

}


a {

  color: inherit;

  text-decoration: none;

}


/* ==========================================
   サイト全体の枠
========================================== */

.site-wrap {

  width: min(1180px, calc(100% - 32px));

  min-height: 100vh;

  margin: 0 auto;

  background: var(--white);

  box-shadow: var(--shadow);

}


/* ==========================================
   最上部
========================================== */

.top-bar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 10px 20px;

  padding: 8px 22px;

  color: var(--white);

  background:
    linear-gradient(
      90deg,
      var(--deep-gunjo),
      var(--gunjo)
    );

  font-size: 13px;

  letter-spacing: 0.03em;

}


/* ==========================================
   ヘッダー
========================================== */

.main-header {

  position: relative;

  overflow: hidden;

  padding: 22px 28px 18px;

  border-bottom:
    5px solid var(--kawagoe-gold);

  background:
    linear-gradient(
      135deg,
      rgba(20, 58, 115, 0.06),
      rgba(201, 166, 70, 0.12)
    ),
    var(--white);

}


.main-header::after {

  content: "";

  position: absolute;

  top: -75px;

  right: -70px;

  width: 230px;

  height: 230px;

  border-radius: 50%;

  background:
    rgba(20, 58, 115, 0.08);

}


.meeting-label {

  position: relative;

  z-index: 1;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 10px;

  padding: 5px 14px;

  color: var(--white);

  background: var(--gunjo);

  border-radius: 999px;

  font-size: 14px;

  font-weight: 700;

}


.meeting-title {

  position: relative;

  z-index: 1;

  margin: 0;

  color: var(--deep-gunjo);

  font-size:
    clamp(26px, 4.4vw, 46px);

  line-height: 1.22;

  letter-spacing: 0.04em;

  font-weight: 800;

}


.meeting-subtitle {

  position: relative;

  z-index: 1;

  margin: 8px 0 0;

  color: var(--kawagoe-brown);

  font-size:
    clamp(18px, 2.2vw, 25px);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight: 700;

  letter-spacing: 0.05em;

}


.theme {

  position: relative;

  z-index: 1;

  margin: 16px 0 0;

  color: var(--deep-gunjo);

  font-size: 18px;

  font-weight: 700;

}


/* ==========================================
   左メニュー＋本文
========================================== */

.content-grid {

  display: grid;

  grid-template-columns:
    245px minmax(0, 1fr);

  align-items: stretch;

}


/* ==========================================
   左側メニュー
========================================== */

.side-nav {

  position: sticky;

  top: 0;

  align-self: start;

  min-height: 100vh;

  padding: 20px 16px 28px;

  color: var(--white);

  background:
    linear-gradient(
      180deg,
      var(--deep-gunjo),
      var(--gunjo)
    );

}


.nav-heading {

  margin: 0 0 12px;

  font-size: 13px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  opacity: 0.78;

}


.menu {

  display: grid;

  gap: 8px;

  margin: 0;

  padding: 0;

  list-style: none;

}


.menu li {

  margin: 0;

  padding: 0;

}


.menu a {

  display: block;

  padding: 11px 12px;

  color: var(--white);

  background:
    rgba(255, 255, 255, 0.10);

  border:
    1px solid rgba(255, 255, 255, 0.18);

  border-radius: 10px;

  font-size: 15px;

  font-weight: 700;

  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;

}


.menu a:hover {

  color: var(--gunjo);

  background: var(--white);

  transform: translateX(3px);

}


/* 現在開いているページ */

.menu a[aria-current="page"] {

  color: var(--gunjo);

  background: var(--white);

  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.16);

}


/* ==========================================
   メイン本文
========================================== */

main {

  min-width: 0;

  padding: 26px 28px 42px;

}


/* ==========================================
   メイン画像
========================================== */

.hero {

  position: relative;

  overflow: hidden;

  padding: 0;

  border:
    1px solid rgba(20, 58, 115, 0.12);

  border-radius: 22px;

  box-shadow: var(--shadow);

  background: var(--deep-gunjo);

}

.hero img {

  display: block;

  width: 100%;

  height: auto;

  border-radius: 22px;

}

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 80% 22%,
      rgba(201, 166, 70, 0.28),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      transparent 35%,
      rgba(0, 0, 0, 0.28)
    );

}


.hero-inner {

  position: relative;

  z-index: 1;

  max-width: 650px;

}


.hero-kicker {

  display: inline-block;

  margin-bottom: 12px;

  padding: 6px 14px;

  color: var(--deep-gunjo);

  background:
    rgba(255, 255, 255, 0.92);

  border-radius: 999px;

  font-size: 14px;

  font-weight: 800;

}


.hero h2 {

  margin: 0;

  font-size:
    clamp(30px, 4vw, 48px);

  line-height: 1.25;

  letter-spacing: 0.04em;

  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.28);

}


.hero p {

  margin: 12px 0 0;

  font-size: 18px;

  font-weight: 700;

}


/* ==========================================
   会期・会場・会長
========================================== */

.info-cards {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;

  margin: 20px 0 24px;

}


.info-card {

  min-width: 0;

  min-height: 116px;

  padding: 17px 18px;

  background: var(--soft-blue);

  border: 1px solid var(--line);

  border-radius: 16px;

}


.info-card:nth-child(2) {

  background: var(--pale-gold);

}


.info-card h3 {

  margin: 0 0 8px;

  padding-bottom: 5px;

  color: var(--deep-gunjo);

  border-bottom:
    2px solid rgba(20, 58, 115, 0.16);

  font-size: 15px;

  letter-spacing: 0.08em;

}


.info-card p {

  margin: 0;

  font-size: 16px;

  font-weight: 700;

  line-height: 1.65;

}


/* ==========================================
   共通セクション
========================================== */

.section {

  margin-top: 26px;

  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--line);

  border-radius: 18px;

}


.section-title {

  display: flex;

  align-items: center;

  gap: 10px;

  margin: 0;

  padding: 13px 18px;

  color: var(--white);

  background:
    linear-gradient(
      90deg,
      var(--deep-gunjo),
      var(--gunjo)
    );

  font-size: 19px;

  letter-spacing: 0.05em;

}


.section-title::before {

  content: "";

  display: inline-block;

  flex: 0 0 auto;

  width: 9px;

  height: 24px;

  background: var(--kawagoe-gold);

  border-radius: 999px;

}


.section-body {

  padding: 18px 20px 20px;

}


.section-body p:first-child {

  margin-top: 0;

}


.section-body p:last-child {

  margin-bottom: 0;

}


/* ==========================================
   お知らせ
========================================== */

.news-list {

  margin: 0;

  padding: 0;

  list-style: none;

}


.news-list li {

  display: grid;

  grid-template-columns:
    120px minmax(0, 1fr);

  gap: 14px;

  padding: 12px 0;

  border-bottom:
    1px solid #edf1f6;

}


.news-list li:last-child {

  border-bottom: 0;

}


.date {

  color: var(--kawagoe-brown);

  font-weight: 800;

  white-space: nowrap;

}


/* ==========================================
   ボタン
========================================== */

.button-row {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 18px;

}


.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 46px;

  padding: 8px 18px;

  color: var(--white);

  background: var(--gunjo);

  border-radius: 999px;

  box-shadow:
    0 8px 18px rgba(20, 58, 115, 0.20);

  font-weight: 800;

  text-align: center;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;

}


.btn:hover {

  opacity: 0.88;

  transform: translateY(-2px);

}


.btn.secondary {

  background: var(--kawagoe-brown);

}


/* ==========================================
   注記枠
========================================== */

.note-box {

  margin-top: 16px;

  padding: 18px 20px;

  background:
    linear-gradient(
      135deg,
      rgba(20, 58, 115, 0.05),
      rgba(201, 166, 70, 0.14)
    );

  border-left:
    6px solid var(--kawagoe-gold);

  border-radius: 14px;

}


/* ==========================================
   開催概要表
========================================== */

.overview-table {

  width: 100%;

  border-collapse: collapse;

  font-size: 15px;

}


.overview-table th,
.overview-table td {

  padding: 12px 10px;

  vertical-align: top;

  text-align: left;

  border-bottom:
    1px solid #edf1f6;

}


.overview-table tr:last-child th,
.overview-table tr:last-child td {

  border-bottom: 0;

}


.overview-table th {

  width: 150px;

  color: var(--deep-gunjo);

  background: #f7fbff;

  font-weight: 800;

}


/* ==========================================
   下層ページ用
========================================== */

.breadcrumb {

  margin: 0 0 14px;

  color: var(--muted);

  font-size: 14px;

}


.breadcrumb a {

  color: var(--gunjo);

  text-decoration: underline;

  text-underline-offset: 3px;

}


.page-heading {

  margin: 0 0 20px;

  padding: 16px 20px;

  color: var(--white);

  background:
    linear-gradient(
      90deg,
      var(--deep-gunjo),
      var(--gunjo)
    );

  border-radius: 14px;

  font-size:
    clamp(24px, 3vw, 34px);

  letter-spacing: 0.04em;

}


/* ==========================================
   フッター
========================================== */

.footer {

  padding: 24px 28px;

  color:
    rgba(255, 255, 255, 0.88);

  background: #0b1f3e;

  font-size: 13px;

  line-height: 1.8;

}


.footer strong {

  color: var(--white);

}


.footer a {

  color: var(--white);

  text-decoration: underline;

  text-underline-offset: 3px;

}


/* ==========================================
   タブレット表示
========================================== */

@media (max-width: 900px) {

  .site-wrap {

    width: 100%;

  }


  .content-grid {

    grid-template-columns: 1fr;

  }


  .side-nav {

    position: static;

    min-height: auto;

  }


  .menu {

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

  }


  .info-cards {

    grid-template-columns: 1fr;

  }


  main {

    padding: 20px 18px 36px;

  }


  .hero {

    min-height: 360px;

    padding: 24px;

  }

}


/* ==========================================
   スマートフォン表示
========================================== */

@media (max-width: 560px) {

  .top-bar {

    display: block;

    padding-left: 16px;

    padding-right: 16px;

  }


  .top-bar span {

    display: block;

  }


  .top-bar span + span {

    margin-top: 4px;

  }


  .main-header {

    padding-left: 16px;

    padding-right: 16px;

  }


  .meeting-title br {

    display: none;

  }


  .theme {

    font-size: 15px;

  }


  .menu {

    grid-template-columns: 1fr;

  }


  .hero {

    min-height: 320px;

    padding: 20px;

    border-radius: 16px;

  }


  .hero h2 {

    font-size: 30px;

  }


  .hero p {

    font-size: 15px;

  }


  .news-list li {

    grid-template-columns: 1fr;

    gap: 2px;

  }


  .overview-table,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td {

    display: block;

    width: 100%;

  }


  .overview-table tr {

    margin-bottom: 10px;

    border:
      1px solid #edf1f6;

    border-radius: 10px;

    overflow: hidden;

  }


  .overview-table th {

    padding-bottom: 6px;

    border-bottom: 0;

  }


  .overview-table td {

    padding-top: 8px;

    border-bottom: 0;

  }


  .button-row {

    display: grid;

    grid-template-columns: 1fr;

  }


  .btn {

    width: 100%;

  }

}


/* ==========================================
   小さいスマートフォン
========================================== */

@media (max-width: 380px) {

  main {

    padding-left: 12px;

    padding-right: 12px;

  }


  .main-header {

    padding-left: 12px;

    padding-right: 12px;

  }


  .side-nav {

    padding-left: 12px;

    padding-right: 12px;

  }


  .hero {

    padding: 18px;

  }


  .hero h2 {

    font-size: 27px;

  }

}


/* ==========================================
   動きを減らす設定
========================================== */

@media (prefers-reduced-motion: reduce) {

  * {

    scroll-behavior: auto !important;

    transition: none !important;

  }

}

/* ==========================================
   会長挨拶プロフィール
========================================== */

.president-profile {

  display: grid;

  grid-template-columns: 220px minmax(0, 1fr);

  gap: 34px;

  align-items: center;

  margin-bottom: 28px;

  padding: 8px 0 26px;

  border-bottom:
    1px solid #edf1f6;

}


.president-photo img {

  display: block;

  width: 220px;

  height: auto;

  border-radius: 4px;

  box-shadow:
    0 10px 24px rgba(10, 31, 68, 0.18);

}


.president-info {

  text-align: right;

  font-size: 18px;

  line-height: 1.9;

}


.president-info p {

  margin: 0 0 8px;

}


.president-name {

  margin-top: 12px !important;

  font-size: 28px;

  font-weight: 700;

  letter-spacing: 0.14em;

}


/* ==========================================
   会長挨拶プロフィール：スマートフォン対応
========================================== */

@media (max-width: 560px) {

  .president-profile {

    grid-template-columns: 1fr;

    gap: 18px;

    padding-bottom: 22px;

  }


  .president-photo img {

    width: min(220px, 100%);

    margin: 0 auto;

  }


  .president-info {

    text-align: left;

    font-size: 16px;

  }


  .president-name {

    font-size: 24px;

  }

}