/* ==========================================================================
   Beyond Angiography Japan XXXI — style.css
   Palette drawn from the official flyer:
   navy #0a1628 / #0f2440, accent lime #c6d92e, ink #101820, paper #f5f6f3
   Type: system Gothic sans (Hiragino / Noto Sans JP) — bold display, regular body
   ========================================================================== */

:root{
  --navy-950: #0a1628;
  --navy-900: #0e1f38;
  --navy-800: #14294a;
  --navy-700: #1c3660;
  --line: #2c4468;
  --lime: #c6d92e;
  --lime-dark: #9fb018;
  --ink: #16202c;
  --paper: #f6f7f4;
  --paper-dim: #eceee7;
  --muted: #5b6472;
  --white: #ffffff;
  --radius: 2px;
  --content-w: 1000px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 18px;
}

img{ max-width: 100%; display: block; }
a{ color: var(--navy-700); text-decoration: none; }
a:hover{ text-decoration: underline; }

.wrap{
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip-link a{
  position: absolute; left: -999px; top: 0;
  background: var(--lime); color: var(--ink);
  padding: 10px 16px; z-index: 200;
}
.skip-link a:focus{ left: 8px; top: 8px; }

/* ---------- header / nav ---------- */
.site-header{
  background: var(--navy-950);
  border-bottom: 3px solid var(--lime);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand{
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.brand:hover{ text-decoration: none; }
.brand-en{ font-size: 19px; letter-spacing: .01em; }
.brand-num{ color: var(--lime); font-size: 19px; letter-spacing: .04em; }

.nav-toggle{
  display: none;
  width: 40px; height: 36px;
  background: transparent; border: 0;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-toggle span{
  display: block; height: 2px; background: var(--white); border-radius: 1px;
}

.site-nav ul{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
}
.site-nav a{
  display: block;
  color: #cfd8e6;
  font-size: 16px;
  font-weight: 600;
  padding: 22px 14px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover{
  color: var(--white);
  text-decoration: none;
  border-bottom-color: var(--line);
}
.site-nav a.is-current{
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ---------- hero (index only) ---------- */
.hero{
  background: linear-gradient(100deg, var(--navy-950) 40%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-inner{
  display: flex;
  align-items: stretch;
  min-height: 440px;
}
.hero-text{
  flex: 1 1 55%;
  padding: 56px 24px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow{
  color: var(--lime);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.hero-title{
  font-size: 45px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: .01em;
}
.hero-title .roman{ color: var(--lime); }
.hero-theme{
  margin: 20px 0 28px;
  max-width: 46ch;
  border-left: 4px solid var(--lime);
  padding-left: 16px;
}
.hero-theme-title{
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}
.hero-theme-sub{
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: #cfd8e6;
  margin-top: 4px;
}
.hero-meta{
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  font-size: 17px;
}
.hero-meta li{
  display: flex;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.hero-meta li:last-child{ border-bottom: 0; }
.hero-meta .k{
  flex: 0 0 84px;
  color: #93a3bc;
  font-weight: 600;
}
.hero-meta .v{ font-weight: 600; }

.hero-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: var(--radius);
}
.hero-cta:hover{
  background: var(--white);
  text-decoration: none;
}

.hero-art{
  flex: 1 1 45%;
  position: relative;
  background-image: linear-gradient(90deg, var(--navy-950) 0%, rgba(10,22,40,0) 30%), url('../images/hero-texture.png');
  background-size: cover;
  background-position: center;
  /* チラシを中央に配置 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

/* チラシ（hero-art内） */
.hero-flyer{
  display: block;
  width: 240px;
  color: var(--white);
  text-align: center;
}
.hero-flyer img{
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: opacity .2s;
}
.hero-flyer:hover{ text-decoration: none; }
.hero-flyer:hover img{ opacity: .85; }
.hero-flyer:focus-visible{ outline: 2px solid var(--lime); outline-offset: 6px; }
.hero-flyer-label{
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #cfd8e6;
}
.hero-flyer:hover .hero-flyer-label{ color: var(--lime); }

/* 演題登録ボタン */
.hero-call{
  margin-top: 36px;
}
.hero-call-period{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #cfd8e6;
}
.hero-call-period .k{
  color: var(--lime);
  margin-right: .5em;
}
.btn-call{
  display: block;
  width: 100%;
  padding: 20px 24px;
  background: #e5352a;
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 22px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: center;
  transition: background-color .2s;
}
.btn-call:hover{
  background: #c4271d;
  color: var(--white);
  text-decoration: none;
}
.btn-call:focus-visible{
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

@media (max-width: 780px){
  .hero-inner{ flex-direction: column; min-height: 0; }
  .hero-art{ min-height: 200px; order: -1; padding: 28px 20px; }
  .hero-flyer{ width: 180px; }
  .hero-call{ margin-top: 28px; }
  .btn-call{ font-size: 19px; padding: 16px 20px; border-radius: 16px; }
  .hero-text{ padding: 36px 20px; }
  .hero-title{ font-size: 34px; }
}

/* ---------- news / info blocks on index ---------- */
.section{ padding: 56px 0; }
.section + .section{ border-top: 1px solid #e3e4dc; }
.section-title{
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 28px;
  padding-left: 14px;
  border-left: 6px solid var(--navy-800);
  color: var(--navy-950);
}

.news-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #dfe1d9;
}
.news-list li{
  display: flex;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid #dfe1d9;
  align-items: baseline;
  flex-wrap: wrap;
}
.news-date{
  flex: 0 0 108px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.news-tag{
  flex: 0 0 auto;
  background: var(--navy-800);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
}
.news-body{ flex: 1 1 260px; }

.notice-box{
  background: var(--white);
  border: 1px solid #dfe1d9;
  border-left: 6px solid var(--lime-dark);
  padding: 20px 24px;
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- generic content pages ---------- */
.page-hero{
  background: var(--navy-950);
  color: var(--white);
  padding: 44px 0;
  border-bottom: 3px solid var(--lime);
}
.page-hero h1{
  margin: 0;
  font-size: 32px;
  font-weight: 800;
}
.breadcrumb{
  margin: 0 0 10px;
  font-size: 15px;
  color: #93a3bc;
}
.breadcrumb a{ color: #93a3bc; }

.content{
  padding: 48px 0 72px;
}
.content h2{
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-950);
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-950);
}
.content h2:first-child{ margin-top: 0; }
.content p{ margin: 0 0 16px; }

.content h3{
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-950);
  margin: 30px 0 12px;
}
.greeting-theme{
  font-weight: 700;
  color: var(--navy-800);
  border-left: 4px solid var(--lime-dark);
  padding-left: 14px;
  margin: 0 0 24px;
}
.greeting-indent{
  margin: 0 0 16px;
  padding-left: 22px;
}
.greeting-indent p{ margin: 0 0 6px; }
.greeting-sign{
  margin: 28px 0 0;
  line-height: 1.9;
  color: var(--navy-950);
  font-weight: 600;
}

.placeholder-note{
  background: #fff8e0;
  border: 1px dashed #c9b45a;
  color: #6b5a10;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 0 0 32px;
}

.info-table{
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 32px;
  font-size: 17px;
}
.info-table th, .info-table td{
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid #dfe1d9;
}
.info-table th{
  width: 190px;
  color: var(--navy-950);
  font-weight: 700;
  background: var(--paper-dim);
}

.card-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}
.card{
  background: var(--white);
  border: 1px solid #dfe1d9;
  padding: 22px 22px;
}
.card h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-950);
}
.card p{ margin: 0; color: var(--muted); font-size: 16px; }

@media (max-width: 640px){
  .card-grid{ grid-template-columns: 1fr; }
  .info-table th{ width: 120px; font-size: 15px; }
}

/* program table */
.program-table{
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 40px;
  font-size: 16px;
}
.program-table caption{
  text-align: left;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy-950);
  padding: 0 0 12px;
}
.program-table th, .program-table td{
  border: 1px solid #dfe1d9;
  padding: 10px 12px;
  text-align: left;
}
.program-table thead th{
  background: var(--navy-950);
  color: var(--white);
  font-weight: 700;
}
.program-table tbody tr:nth-child(even){ background: var(--paper-dim); }
.program-time{ white-space: nowrap; color: var(--muted); width: 110px; }
.session-theme{ display: inline-block; margin-top: 4px; font-size: 15px; color: var(--muted); }

.venue-label{
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-950);
  margin: 0 0 20px;
}
.map-embed{
  border: 1px solid #dfe1d9;
  line-height: 0;
}
.map-caption{
  font-size: 15px;
  color: var(--muted);
  margin: 10px 0 32px;
}

/* contact form-ish block */
.contact-block{
  background: var(--white);
  border: 1px solid #dfe1d9;
  padding: 28px 26px;
  margin-bottom: 24px;
}
.contact-block h3{
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--navy-950);
}
.contact-block p{ margin: 0; }

/* ---------- footer ---------- */
.site-footer{
  background: var(--navy-950);
  color: #b9c3d4;
  margin-top: 40px;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 24px;
}
.footer-brand{
  font-weight: 800;
  color: var(--white);
  font-size: 18px;
}
.footer-brand span{ color: var(--lime); }
.footer-brand p{
  margin: 10px 0 0;
  font-weight: 400;
  color: #93a3bc;
  font-size: 15px;
  max-width: 32ch;
}
.footer-office p{ margin: 0 0 6px; font-size: 15px; }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  font-size: 14px;
  color: #6d7a90;
  text-align: center;
}

/* ---------- responsive nav ---------- */
@media (max-width: 780px){
  .nav-toggle{ display: flex; }
  .site-nav{
    display: none;
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open{ display: block; }
  .site-nav ul{ flex-direction: column; }
  .site-nav a{ padding: 14px 4px; border-bottom: 1px solid var(--line); }
}
