/* 世界ペア碁最強位戦2026 大盤解説会 申込フォーム専用
   ヘッダー・左ナビ・フッターは既存のまま、右側本文のみ調整 */
:root {
  --pg-blue: #0878c9;
  --pg-blue-dark: #045f9f;
  --pg-blue-deep: #034f86;
  --pg-blue-soft: #edf7fd;
  --pg-blue-pale: #f7fbfe;
  --pg-line: #cfe2ef;
  --pg-line-strong: #a9cfe5;
  --pg-ink: #24313a;
  --pg-muted: #5f6d76;
  --pg-white: #ffffff;
  --pg-shadow: 0 10px 28px rgba(34, 76, 104, .09);
}

html,
body {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
}

body {
  color: var(--pg-ink);
  background: #fff !important;
  font-family: Meiryo, "メイリオ", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

/* 右本文内に独立スクロールを作らない */
.main,
.main > .card,
.main > .card > .card-body,
.main .col-12,
#outline,
#outline .row,
#ticketform {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* 左ナビは現状維持 */
#sidebar,
#sidebar .nav,
#sidebar .nav li,
#sidebar .nav a {
  background-color: #fff !important;
}

/* ここから右側コンテンツ */
.main {
  color: var(--pg-ink);
}

.main p,
.main li,
.main td,
.main th,
.main label,
.main input,
.main select {
  color: var(--pg-ink);
}

.main > .card {
  border: 1px solid #dfeaf1;
  border-radius: 18px;
  overflow: hidden !important;
  background: #fff;
  box-shadow: var(--pg-shadow);
}

.main > .card > .card-header {
  position: relative;
  padding: 0;
  border: 0;
  background: #fff;
}

.main > .card > .card-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--pg-blue), #53aee4 70%, #b7dcf1);
}

.main > .card > .card-header .bg_info {
  margin: 0;
  padding: 28px 32px 24px !important;
  color: var(--pg-blue-deep);
  background: #fff !important;
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.45;
}

.main > .card > .card-body {
  padding: 36px 34px 42px;
  background: #fff;
}

#outline .row {
  margin: 0;
}

#outline dl {
  width: 100%;
  margin: 0;
}

#outline dt {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 42px 0 14px;
  padding: 0 0 10px 18px;
  color: var(--pg-blue-dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .025em;
}

#outline dt:first-child {
  margin-top: 0;
}

#outline dt::before {
  content: "";
  position: absolute;
  top: .16em;
  bottom: .42em;
  left: 0;
  width: 5px;
  border-radius: 5px;
  background: var(--pg-blue);
}

#outline dt::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--pg-line-strong), var(--pg-line) 52%, transparent);
}

#outline dd {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 28px !important;
  padding: 26px 28px;
  border: 1px solid var(--pg-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(36, 78, 105, .055);
  font-size: 16px;
}

#outline dd p {
  line-height: 1.95;
}

#outline dd p:last-child {
  margin-bottom: 0;
}

#outline dd > p > strong,
#outline dd strong {
  color: #163f5c;
  font-size: 17px;
}

/* 日程：日付を大きく、表は白＋薄青 */
.schedule-day {
  margin: 22px 0 0;
  padding: 16px 19px;
  border: 1px solid var(--pg-blue);
  border-radius: 11px 11px 0 0;
  background: linear-gradient(135deg, var(--pg-blue-deep), var(--pg-blue));
  color: #fff !important;
  font-size: 21px;
  line-height: 1.55;
  letter-spacing: .015em;
}

.schedule-day:first-of-type {
  margin-top: 12px;
}

.schedule-day strong {
  color: #fff !important;
  font-size: inherit !important;
}

.schedule-table {
  width: 100%;
  margin: 0 0 28px;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 0 0 11px 11px;
  box-shadow: 0 0 0 1px var(--pg-line);
}

.schedule-table td {
  padding: 15px 17px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pg-line) !important;
  background: #fff !important;
  vertical-align: middle;
  line-height: 1.7;
}

.schedule-table tr:last-child td {
  border-bottom: 0 !important;
}

.schedule-table td:first-child {
  width: 31%;
  white-space: nowrap;
  color: var(--pg-blue-deep);
  background: var(--pg-blue-soft) !important;
  font-size: 17px;
  font-weight: 700;
}

/* 既存CSSで html の基準サイズが小さく指定されていても、本文が縮まないようpxで固定 */
#outline dd,
#outline dd p,
#outline dd li,
#outline dd td,
.schedule-table td {
  font-size: 16px !important;
}

#outline dd p,
#outline dd li {
  line-height: 1.9;
}

.schedule-table td:first-child {
  font-size: 17px !important;
}

/* フォーム全体 */
#ticketform {
  margin-top: 18px;
  padding: 32px 30px 36px;
  border: 1px solid var(--pg-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(36, 78, 105, .06);
}


#ticketform .table-responsive {
  display: table;
}

#ticketform table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--pg-line) !important;
  border-radius: 12px;
  background: #fff;
}

#ticketform th,
#ticketform td {
  border: 0 !important;
  border-bottom: 1px solid var(--pg-line) !important;
  vertical-align: middle;
}

#ticketform tr:last-child th,
#ticketform tr:last-child td {
  border-bottom: 0 !important;
}

#ticketform th {
  width: 31%;
  padding: 19px 18px;
  color: var(--pg-blue-deep);
  background: var(--pg-blue-soft);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

#ticketform td {
  padding: 18px 20px;
  background: #fff;
}

#ticketform input[type="text"],
#ticketform select {
  max-width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #b8cbd8;
  border-radius: 7px;
  background: #fff;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}

#ticketform input[type="text"]:focus,
#ticketform select:focus {
  outline: 0;
  border-color: var(--pg-blue);
  box-shadow: 0 0 0 3px rgba(8, 120, 201, .13);
}

#ticketform .event-date-list label {
  display: inline-flex;
  align-items: center;
  margin: 5px 10px 5px 0;
  padding: 10px 14px;
  border: 1px solid var(--pg-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

#ticketform .event-date-list label:hover {
  border-color: var(--pg-line-strong);
  background: var(--pg-blue-pale);
}

#ticketform .event-date-list input,
#ticketform input[name="PI"] {
  width: 20px;
  height: 20px;
  margin: 0 7px 0 0;
  accent-color: var(--pg-blue);
}

/* 個人情報欄 */
.privacy-box {
  margin-top: 12px;
  padding: 26px 28px !important;
  border: 1px solid var(--pg-line) !important;
  border-radius: 12px !important;
  background: var(--pg-blue-pale);
  line-height: 1.95;
}

.privacy-box a {
  color: var(--pg-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-box img {
  max-width: 100%;
  height: auto;
}

.privacy-box + table {
    margin-top: 3px;
}




/* 元の青い申込ボタンは変更しない */
.submit-button {
  padding: 20px !important;
  border: 1px !important;
  border-radius: 5px !important;
  color: #fff !important;
  background-color: #0066ff !important;
  font-size: 1.3em !important;
  font-weight: normal !important;
  letter-spacing: normal !important;
  cursor: pointer;
}

.submit-button:hover,
.submit-button:focus {
  color: #fff !important;
  background-color: #0066ff !important;
  opacity: 1;
}

/* フッターは既存の雰囲気を維持 */
footer.footer {
  margin-top: 35px;
}

@media (max-width: 991px) {
  .main > .card > .card-body {
    padding: 28px 24px 34px;
  }

  #outline dd {
    padding: 22px;
  }
}

@media (max-width: 767px) {
  .main > .card {
    border-radius: 12px;
  }

  .main > .card > .card-header .bg_info {
    padding: 21px 18px 18px !important;
    font-size: 24px;
  }

  .main > .card > .card-body {
    padding: 18px 15px 26px;
  }

  #outline dt {
    margin-top: 34px;
    padding-left: 15px;
    font-size: 21px;
  }

  #outline dd {
    padding: 18px 16px;
    border-radius: 10px;
  }

  .schedule-day {
    padding: 14px 15px;
    font-size: 18px;
  }

  .schedule-table,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td {
    display: block;
    width: 100%;
  }

  .schedule-table td:first-child {
    width: 100%;
    white-space: normal;
    border-bottom: 0 !important;
    font-size: 16px;
  }

  .schedule-table td:last-child {
    padding-top: 12px !important;
  }

  #ticketform {
    padding: 22px 14px 28px;
    border-radius: 12px;
  }

  #ticketform::before {
    font-size: 21px;
  }

  #ticketform table,
  #ticketform tbody,
  #ticketform tr,
  #ticketform th,
  #ticketform td {
    display: block;
    width: 100%;
  }

  #ticketform th {
    padding: 14px;
    border-bottom: 0 !important;
    font-size: 17px;
  }

  #ticketform td {
    padding: 15px 14px 18px;
  }

  #ticketform .event-date-list label {
    display: flex;
    width: 100%;
    margin-right: 0;
  }

  #ticketform input[type="text"] {
    width: 100%;
  }

  #ticketform input[name="age"] {
    width: 90px;
  }

  #ticketform input[name="postalcode"] {
    width: 160px;
  }

  #ticketform select[name="addr1"] {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .privacy-box {
    padding: 20px 16px !important;
  }
}


.section-title{
    position: relative;
    display: block;
    width: 100%;
    margin: 42px 0 16px;
    padding: 0 0 10px 18px;
    color: var(--pg-blue-dark);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .025em;
}

.section-title::before{
    content:"";
    position:absolute;
    top:.16em;
    bottom:.42em;
    left:0;
    width:5px;
    border-radius:5px;
    background:var(--pg-blue);
}

.section-title::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:0;
    height:1px;
    background:linear-gradient(
        90deg,
        var(--pg-line-strong),
        var(--pg-line) 52%,
        transparent
    );
}





.schedule-date{
    font-size:1.3em;
    font-weight:700;
}








.map-link{
    display:inline-flex;
    align-items:center;
    margin-left:.25em;
    color:var(--pg-blue-dark);
    font-weight:600;
    text-decoration:none;
    transition:.2s;
}

.map-link:hover{
    color:var(--pg-blue);
    text-decoration:underline;
}







/* マウスクリック時の黒いフォーカス枠を消す */
a:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

/* キーボード操作時は見やすい青枠を表示 */
a:focus-visible {
  outline: 2px solid var(--pg-blue) !important;
  outline-offset: 2px;
  box-shadow: none !important;
}






/* 解説担当棋士 */
.commentator-layout {
  display: grid;
  grid-template-columns: minmax(250px, 34%) minmax(0, 66%);
  align-items: stretch;
}

/* 左側：日程と担当者 */
.commentator-schedule {
  padding-right: 28px;
  border-right: 1px solid var(--pg-line);
}

.commentator-day {
  padding: 3px 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px dashed var(--pg-line-strong);
}

.commentator-day:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

#outline dd .commentator-date {
  position: relative;
  margin: 0 0 10px;
  padding-left: 13px;
  color: var(--pg-blue-dark);
  font-size: 19px !important;
  font-weight: 700;
  line-height: 1.5;
}

.commentator-date::before {
  content: "";
  position: absolute;
  top: .2em;
  bottom: .2em;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--pg-blue);
}

.commentator-day p:last-child {
  margin: 0;
  line-height: 2;
}

/* 右側：棋士写真 */
.commentator-members {
  display: flex;
  flex-direction: column;
  padding-left: 28px;
}

.commentator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
  align-items: start;
}

.commentator-person {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.commentator-person img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 9px;
}

.commentator-person figcaption {
  color: var(--pg-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

#outline dd .commentator-note {
  margin: 20px 0 0;
  color: var(--pg-muted);
  font-size: 13px !important;
  line-height: 1.6;
  text-align: right;
}

/* タブレット */
@media (max-width: 991px) {
  .commentator-layout {
    grid-template-columns: minmax(220px, 38%) minmax(0, 62%);
  }

  .commentator-schedule {
    padding-right: 20px;
  }

  .commentator-members {
    padding-left: 20px;
  }

  .commentator-grid {
    gap: 20px 12px;
  }

  .commentator-person figcaption {
    font-size: 14px;
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  .commentator-layout {
    display: block;
  }

  .commentator-schedule {
    padding-right: 0;
    padding-bottom: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--pg-line);
  }

  .commentator-members {
    padding: 26px 0 0;
  }

  .commentator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .commentator-person img {
    max-width: 150px;
  }

  .commentator-person figcaption {
    font-size: 14px;
    white-space: normal;
  }

  #outline dd .commentator-note {
    margin-top: 18px;
    font-size: 12px !important;
    text-align: right;
  }
}




.address-label{
    font-weight:400;
    color:var(--pg-muted);
    font-size:0.95em;
}






.event-hero{
    margin:0 0 40px;
}

.event-hero img{
    display:block;
    width:100%;
    height:auto;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.12);
}







.event-lead{
    margin:0 0 48px;
    padding:24px 28px;
    background:#f7fbfe;
    border:1px solid var(--pg-line);
    border-radius:12px;
}

.event-lead p{
    margin:0 0 1em;
    line-height:2;
    font-size:16px;
}

.event-lead p:last-child{
    margin-bottom:0;
}

