/* =====================================
   ABCシリーズ（テンプレ）デザイン
   ===================================== */

.abc-template .entry-header{ display:none; } /* タイトル重複を抑える（テーマ側） */

.abc6{
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) 14px 26px;
}

.abc6__hero{
  margin-bottom: 0;
}

.abc6__heroContent{
  display:grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(18px, 2.6vw, 34px);
  align-items:center;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,0)) #fff;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.6vw, 26px) 0;
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
  margin-bottom: 0;
  position: relative;
}


@media (max-width: 860px){
  .abc6__heroContent{
    grid-template-columns: 1fr;
  }
}

.abc6__media{ 
  margin:0;
  margin-bottom: 0;
  margin-top: 0;
  align-self: start;
  overflow: hidden;
  /* レイアウトシフト防止 */
  min-height: 0;
  position: relative;
}
.abc6__media img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
  object-fit: cover;
  max-width: 100%;
  vertical-align: middle;
  /* スクロール時のパフォーマンス最適化 */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.abc6__mediaBtn{
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.4em;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(139, 111, 71, 0.9), rgba(160, 130, 109, 0.9));
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(139, 111, 71, 0.4);
  transition: all .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  white-space: nowrap;
}

.abc6__mediaBtn:hover {
  background: linear-gradient(135deg, rgba(160, 130, 109, 0.95), rgba(139, 111, 71, 0.95));
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 111, 71, 0.5);
  color: #fff !important;
}

@media (max-width: 860px) {
  .abc6__mediaBtn {
    top: 16px;
    padding: 0.7em 1.2em;
    font-size: 0.8rem;
  }
}

.abc6__head{
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .abc6__head{
    text-align: center;
  }
}

/* ヒーロー内のボタンエリア */
.abc6__headBtn{
  margin-top: 2.5rem;
  margin-bottom: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.abc6__ticketLabel{
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  opacity: 0.85;
  letter-spacing: 0.05em;
  text-align: center;
}

@media (max-width: 767.98px) {
  .abc6__headBtn{
    align-self: center;
    width: 100%;
    align-items: center;
  }
  
  .abc6__ticketLabel{
    text-align: center;
  }
}

/* ヒーロー内のロゴ */
.abc6__heroLogo{
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  right: clamp(16px, 2.6vw, 26px);
  z-index: 10;
}

.abc6__logoImg{
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

@media (max-width: 860px) {
  .abc6__heroLogo{
    position: static;
    margin-top: 1.5rem;
    text-align: center;
  }
  
  .abc6__logoImg{
    margin: 0 auto;
  }
}

/* ヒーロー用のボタンスタイル（詳細度を上げて確実に適用） */
.abc6__headBtn .abc6__applyBtn.abc6__applyBtn--hero,
.abc6__headBtn .abc6__applyBtn--hero,
.abc6__applyBtn.abc6__applyBtn--hero,
.abc6__applyBtn--hero{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.9rem 1.8rem !important;
  margin-bottom: 0 !important;
  background: linear-gradient(135deg, #8b6f47, #a0826d) !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 4px 16px rgba(139, 111, 71, 0.3) !important;
  transition: all .25s ease !important;
  white-space: nowrap !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  border: none !important;
  vertical-align: middle !important;
}

.abc6__headBtn .abc6__applyBtn.abc6__applyBtn--hero:hover,
.abc6__headBtn .abc6__applyBtn--hero:hover,
.abc6__applyBtn.abc6__applyBtn--hero:hover,
.abc6__applyBtn--hero:hover{
  background: linear-gradient(135deg, #a0826d, #8b6f47) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4) !important;
}

@media (max-width: 767.98px) {
  .abc6__headBtn .abc6__applyBtn.abc6__applyBtn--hero,
  .abc6__headBtn .abc6__applyBtn--hero,
  .abc6__applyBtn.abc6__applyBtn--hero,
  .abc6__applyBtn--hero{
    width: 100% !important;
    padding: 0.9rem 1.5rem !important;
  }
}

.abc6__title{
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  line-height: 1.3;
  margin: clamp(8px, 1.5vw, 16px) 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .abc6__title{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
  }
}
.abc6__series{
  font-size: 1.02rem;
  font-weight: 750;
  opacity:.9;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.6;
}
.abc6__subtitle{
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  opacity:.85;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}
.abc6__lead{
  margin: 14px 0 0;
  margin-bottom: 0;
  line-height: 2.1;
  opacity:.92;
}

/* 情報カード（統一デザイン） */
.abc6__infoCard{
  margin-top: 18px;
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  padding: clamp(16px, 2.4vw, 26px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.abc6__infoRow{
  display: flex;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  gap: 1rem;
}

.abc6__infoRow:last-child{
  border-bottom: none;
}

.abc6__infoLabel{
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  min-width: 80px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .abc6__infoLabel{
    min-width: 100px;
    font-size: 1.0625rem;
  }
}

.abc6__infoSeparator{
  color: rgba(0,0,0,.3);
  font-weight: 600;
  flex-shrink: 0;
  margin: 0 0.5rem;
}

@media (max-width: 767.98px) {
  .abc6__infoSeparator{
    display: none;
  }
  .abc6__infoRow{
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* モバイル版のフォントサイズを大きく */
  .abc6__infoLabel{
    font-size: 1.05rem;
  }
  
  .abc6__infoValue{
    font-size: 1.05rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.2) transparent;
    word-break: keep-all;
    white-space: pre-line;
  }
  
  .abc6__infoValue::-webkit-scrollbar {
    height: 4px;
  }
  
  .abc6__infoValue::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .abc6__infoValue::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 2px;
  }
  
  /* 長い行は横スクロール可能に（brタグは改行を維持） */
  .abc6__infoValue {
    word-break: keep-all;
    display: block;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
  }
  
  /* brタグは改行を維持（ブロック要素として強制改行） */
  .abc6__infoValue br {
    display: block;
    white-space: normal;
    width: 100%;
    content: "";
  }
  
  .abc6__series{
    font-size: 1.08rem;
  }
  
  .abc6__subtitle{
    font-size: clamp(1.2rem, 2vw, 1.35rem);
  }
  
  .abc6__lead{
    font-size: 1.05rem;
  }
}

.abc6__infoValue{
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  flex: 1;
  min-width: 0;
}

.abc6__infoValue br{
  display: block;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .abc6__infoValue{
    font-size: 1.0625rem;
  }
}

.abc6__infoNote{
  font-size: 0.875rem;
  color: #666;
  display: block;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* 情報カードフッター（ボタンエリア） */
.abc6__infoCardFooter{
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.abc6__applyBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: background .25s ease, transform .15s ease, box-shadow .15s ease;
}

/* ヒーロー用ボタンは通常のボタンスタイルを上書き（詳細度を上げる） */
.abc6__headBtn .abc6__applyBtn.abc6__applyBtn--hero,
.abc6__headBtn .abc6__applyBtn--hero{
  padding: 0.9rem 1.8rem !important;
  background: linear-gradient(135deg, #8b6f47, #a0826d) !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 16px rgba(139, 111, 71, 0.3) !important;
}

/* ヒーロー用ボタンは通常のボタンスタイルを上書き（詳細度を上げる） */
.abc6__headBtn .abc6__applyBtn.abc6__applyBtn--hero,
.abc6__headBtn .abc6__applyBtn--hero{
  padding: 0.9rem 1.8rem !important;
  background: linear-gradient(135deg, #8b6f47, #a0826d) !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 16px rgba(139, 111, 71, 0.3) !important;
}

.abc6__applyBtn:hover{
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}

@media (max-width: 767.98px) {
  .abc6__infoCardFooter{
    justify-content: center;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }
  .abc6__applyBtn{
    width: 100%;
    padding: 0.9rem 1.5rem;
  }
}

.abc6__cards{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.abc6__card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,.92);
}
.abc6__cardLabel{
  font-size: .92rem;
  letter-spacing: .08em;
  opacity: .68;
  margin-bottom: 10px;
}
.abc6__cardValue{ line-height: 1.7; }
.abc6__strong{ font-weight: 850; }
.abc6__small{ margin-top: 8px; font-size: .95rem; opacity:.8; }
.abc6__muted{ opacity:.72; }

.abc6__link{
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.abc6__link:hover{ border-bottom-color: rgba(0,0,0,.6); }

.abc6__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-weight: 800;
  letter-spacing:.02em;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.abc6__btn:hover{ opacity:.92; }
.abc6__btn--wide{
  width:100%;
  border-radius: 16px;
  padding: 14px 18px;
}
.abc6__btn--ghost{
  background: transparent;
  color:#111;
  border: 1px solid rgba(0,0,0,.16);
  box-shadow: none;
}

.abc6__section{
  margin-top: 18px;
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  padding: clamp(16px, 2.4vw, 26px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.abc6__h{
  font-size: 1.22rem;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.abc6__h3{
  font-size: 1.08rem;
  margin: 18px 0 10px;
}

.abc6__text{ line-height: 1.85; opacity:.92; }

.abc6__seat{ margin: 14px 0 0; }
.abc6__seat img{
  width:100%;
  height:auto;
  border-radius: 16px;
  display:block;
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
  object-fit: cover;
  max-width: 100%;
  vertical-align: middle;
  /* スクロール時のパフォーマンス最適化 */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.abc6__ctaRow{ margin-top: 14px; }

/* デフォルトの投稿ナビゲーションを非表示 */
body.abc-template .post-navigation,
body.abc-template .nav-links,
body.abc-template .entry-footer .post-navigation,
body.abc-template .entry-footer .nav-links,
body.abc-template .entry-content .post-navigation,
body.abc-template .entry-content .nav-links,
body.abc-template article .post-navigation,
body.abc-template article .nav-links,
body.abc-template .post-navigation .nav-links,
body.abc-template .nav-links .nav-previous,
body.abc-template .nav-links .nav-next,
body.abc-template .entry-content > .post-navigation,
body.abc-template .entry-content > .nav-links,
body.abc-template .mainSection .post-navigation,
body.abc-template .mainSection .nav-links,
body.abc-template .site-body .post-navigation,
body.abc-template .site-body .nav-links,
.abc6 ~ .post-navigation,
.abc6 ~ .nav-links,
.abc6 ~ .entry-footer .post-navigation,
.abc6 ~ .entry-footer .nav-links {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
}

.abc6__nav{
  margin-top: 24px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.abc6__navItem{
  display:flex;
  flex-direction: column;
  text-decoration:none;
  color: inherit;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .2s ease;
}
.abc6__navItem:hover{
  border-color: rgba(0,0,0,.15);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.abc6__navLabel{ 
  display:block; 
  font-size:.85rem; 
  opacity:.65; 
  margin-bottom: 8px; 
  font-weight: 600;
  letter-spacing: 0.05em;
}
.abc6__navTitle{ 
  display:block; 
  font-weight: 700; 
  line-height: 1.5; 
  font-size: 0.95rem;
  color: #111;
}

@media (max-width: 860px){
  .abc6__cards{ grid-template-columns: 1fr; }
  .abc6__nav{ 
    grid-template-columns: 1fr; 
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
  }
  .abc6__navItem{
    padding: 14px 16px;
  }
  .abc6__navTitle{
    font-size: 0.9rem;
  }
}