/* ======================================================================
 p-law
====================================================================== */
.p-law__article {
  margin: 0 auto;
  padding: 4.1666666667vw 0;
  width: 68.0555555556vw;
}
@media screen and (max-width: 767px) {
  .p-law__article {
    padding: 0 5.1282051282vw 15.3846153846vw;
    width: 100%;
  }
}

.c-title-1__sub_title {
  border-bottom: 1px solid rgba(197, 154, 78, 0.4);
  margin: 0 0 2.7777777778vw;
  padding: 0 0 0.7638888889vw;
  font-size: 2.4rem;
  font-weight: 600;
}
.p-law__list {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.7777777778vw;
  margin: 0;
  padding-top: 2.7777777778vw;
  border-top: none;
}
@media screen and (max-width: 767px) {
  .p-law__list {
    row-gap: 0vw;
  }
}
.p-law__row {
  display: block;
  grid-template-columns: 1fr 44.4444444444vw;
  margin: 0;
  padding: 0 0 2.7777777778vw 0.6944444444vw;
  border-bottom: none;
}
@media screen and (max-width: 767px) {
  .p-law__row {
    grid-template-columns: 1fr;
    row-gap: 1.2820512821vw;
    padding: 3.8461538462vw 0;
  }
}
.p-law__term, .p-law__desc {
  margin: 0;
  color: #111;
  letter-spacing: 0;
  font-size: 1.1111111111vw;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .p-law__term, .p-law__desc {
    font-size: 3.5897435897vw;
    line-height: 2;
  }
}
.p-law__term {
  background: rgba(197, 154, 78, 0.4);
  margin: 0 0 2.7777777778vw;
  font-weight: 500;
  text-align: center;
}
.p-law__text {
  margin: 0;
  font-size: 1.1111111111vw;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .p-law__text {
    font-size: 3.5897435897vw;
    line-height: 2;
  }
}
.p-law__text-row + .p-law__text-row {
  margin-top: 1.3888888889vw;
}
@media screen and (max-width: 767px) {
  .p-law__text-row + .p-law__text-row {
    margin-top: 5.1282051282vw;
  }
}

.btn_wrap {
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 4.1666666667vw auto 0;
  width: 68.0555555556vw;
}
@media screen and (max-width: 767px) {
  .btn_wrap {
    margin: 7.6923076923vw auto 0;
    width: 100%;
  }
}
.btn_wrap:hover {
  background: #fff;
  color: #c59a4e;
}

.btn {
  margin: 0 !important;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 30.5555555556vw;
  height: 6.1111111111vw;
  border: 0.0694444444vw solid #c59a4e;
  border-radius: 0;
  background: #c59a4e;
  color: #fff !important;
  font-weight: bold;
  font-size: 1.6666666667vw;
  line-height: 1.5;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media screen and (max-width: 767px) {
  .btn {
    margin: 0 auto !important;
    max-width: 79.4871794872vw;
    width: 100%;
    height: 12.8205128205vw;
    font-size: 4.1025641026vw;
    line-height: 1.875;
  }
}

/* .tournament-page * { margin: 0; padding: 0; box-sizing: border-box; }
.tournament-page { font-family: 'Noto Sans JP', sans-serif; background: #fff; color: #000; line-height: 1.6; } */
.tournament-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero Slider - 連続スクロール型 */
.tournament-hero-slider { width: 100%; height: 460px; overflow: hidden; position: relative; margin: 20px 0; }
.tournament-slider-track {
  display: flex;
  animation: slideScroll 60s linear infinite;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media screen and (max-width: 767px) {
  /* .tournament-slider-track {
    animation: slideScroll 20s linear infinite;
  } */
}

.tournament-slide {
  min-width: 940px;
  height: 460px;
  margin: 0 15px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}


.tournament-slide img { width: 100%; height: 100%; /*object-fit: cover;*/ }
.tournament-slide-content { width: 100%; height: 100%; background: linear-gradient(135deg, #f6f0e5 0%, #c59a4e 100%); display: flex; align-items: center; justify-content: center; }
.tournament-slide-text { text-align: center; color: #fff; font-size: 48px; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); padding: 20px; }

@keyframes slideScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-5640px); }
}
@media screen and (max-width: 767px) {
  @keyframes slideScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-2580px); }
  }
}
  
  /* ホバーで一時停止 */
  .tournament-hero-slider:hover .tournament-slider-track {
    animation-play-state: paused;
  }
  
  .tournament-title { padding: 60px 0 40px; }
  .tournament-title-en { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 100px; color: rgba(0,0,0,0.1); margin: 0; line-height: 1; }
  .tournament-title-ja { font-size: 36px; color: #050505; margin: 10px 0 0; padding-bottom: 10px; border-bottom: 3px solid #c59a4e; display: inline-block; font-weight: 700; }
  
  .tournament-intro { background: #fffffc; padding: 60px 0; }
  .tournament-intro-content { background: rgba(197,154,78,0.15); padding: 40px; border-radius: 6px; margin-bottom: 40px; }
  .tournament-intro-text { font-weight: 700; font-size: 18px; color: #231815; line-height: 1.8; margin: 0 0 20px; }
  .tournament-intro-note { font-size: 16px; color: #231815; line-height: 1.8; margin: 0; }
  
  .tournament-notice { background: rgba(197,154,78,0.15); padding: 40px; border-radius: 6px; }
  .tournament-notice-title { font-weight: 700; font-size: 24px; color: #c00; margin: 0 0 20px; }
  .tournament-notice-text { font-size: 16px; color: #000; line-height: 2.2; margin: 0; }
  
  .tournament-section-title { font-size: 36px; color: #050505; margin: 0 0 40px; padding-bottom: 10px; border-bottom: 3px solid #c59a4e; font-weight: 700; }
  .tournament-year-title { font-weight: 700; font-size: 24px; color: #000; margin: 40px 0 20px; }
  
  .tournament-overview { padding: 60px 0; }
  .tournament-schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 27px; margin-bottom: 20px; }
  .tournament-schedule-grid.closed { margin-bottom: 30px; }
  
  .tournament-schedule-card { background: #fff; border: 1px solid #c59a4e; border-radius: 6px; overflow: hidden; }
  .tournament-schedule-card.active { min-height: 110px; }
  .tournament-schedule-card.closed { min-height: 90px; }
  
  .tournament-schedule-header { background: #231815; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
  .tournament-grade { font-weight: 700; font-size: 18px; color: #fff; letter-spacing: 1.44px; }
  .tournament-status { background: #fff; padding: 5px 15px; border-radius: 15px; font-weight: 700; font-size: 14px; letter-spacing: 1.12px; }
  .tournament-status.active { color: #06c; }
  .tournament-status.closed { color: #c00; }
  
  .tournament-schedule-date { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 20px; color: #000; padding: 20px; text-align: center; }
  .tournament-schedule-date.small { font-size: 18px; padding: 15px; }
  
  .tournament-schedule-notes { font-size: 16px; color: #000; line-height: 1.8; margin: 30px 0; }
  .tournament-schedule-notes p { margin: 5px 0; }
  
  .tournament-cta-btn { background: #c59a4e; border: 1px solid #c59a4e; color: #fff !important; font-weight: 700; font-size: 24px; padding: 30px 40px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; border-radius: 4px; transition: background 0.3s; margin: 40px auto; display: flex; max-width: 440px; }
  .tournament-cta-btn:hover { background: #b08a3e; color: #fff !important; text-decoration: none; }
  
  .tournament-results { background: #f9f9f9; padding: 60px 0; }
  .tournament-result-item { display: flex; margin-bottom: 20px; border: 1px solid #c59a4e; border-radius: 6px; overflow: hidden; min-height: 90px; }
  .tournament-result-label { background: #f6f0e5; border-right: 1px solid #c59a4e; min-width: 240px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #000; text-align: center; letter-spacing: 1.6px; padding: 20px; }
  .tournament-result-content { background: #fff; flex: 1; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
  .tournament-result-date { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 20px; color: #000; }
  .tournament-result-teams { font-size: 16px; color: #000; line-height: 1.8; letter-spacing: 1.28px; }
  .tournament-result-teams p { margin: 0; }
  .tournament-results-note { font-size: 16px; color: #000; line-height: 1.8; letter-spacing: 1.28px; margin: 30px 0; }
  
  .tournament-target { padding: 60px 0; }
  .tournament-info-box { display: flex; margin-bottom: 30px; border-radius: 6px; overflow: hidden; min-height: 180px; }
  .tournament-info-label { background: #f6f0e5; border: 1px solid #c59a4e; border-right: none; border-top-left-radius: 6px; border-bottom-left-radius: 6px; min-width: 240px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #000; text-align: center; letter-spacing: 1.6px; padding: 20px; }
  .tournament-info-content { background: #fff; border: 1px solid #c59a4e; border-left: none; border-top-right-radius: 6px; border-bottom-right-radius: 6px; flex: 1; padding: 16px 20px; font-size: 16px; color: #000; line-height: 1.8; letter-spacing: 1.28px; }
  .tournament-info-content p { margin: 5px 0; }
  
  .tournament-footer-cta { background: #fff; padding: 80px 0 60px; border-top: 1px solid rgba(197,154,78,0.3); }
  .tournament-footer-title { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 100px; color: rgba(0,0,0,0.1); text-align: center; margin: 0 0 30px; line-height: 1; }
  .tournament-footer-subtitle { font-size: 13px; color: #050505; text-align: center; letter-spacing: 1.04px; line-height: 1.8; margin: 0 0 30px; }
  .tournament-footer-tagline { font-weight: 700; font-size: 24px; color: #050505; text-align: center; margin: 0; }
  .tournament-footer-tagline .highlight { color: #c59a4e; }
  
  .tournament-scroll-top { position: fixed; right: 40px; bottom: 40px; width: 46px; height: 46px; border: none; background: #c59a4e; border-radius: 50%; cursor: pointer; color: #fff; font-size: 24px; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: background 0.3s; z-index: 999; }
  .tournament-scroll-top:hover { background: #b08a3e; }
  .tournament-scroll-top.show { display: flex; }
  
  /* レスポンシブ対応 */
  @media (max-width: 1024px) {
    .tournament-title-en { font-size: 60px; }
    .tournament-title-ja { font-size: 28px; }
    .tournament-schedule-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
    .tournament-result-item { flex-direction: column; }
    .tournament-result-label { min-width: 100%; padding: 15px; }
    .tournament-info-box { flex-direction: column; }
    .tournament-info-label { min-width: 100%; min-height: 60px; border-right: 1px solid #c59a4e; border-bottom: none; border-radius: 6px 6px 0 0; }
    .tournament-info-content { border-left: 1px solid #c59a4e; border-radius: 0 0 6px 6px; }
    .tournament-footer-title { font-size: 60px; }
    .tournament-hero-slider { height: 350px; }
    .tournament-slide { min-width: 700px; height: 350px; }
    @keyframes slideScroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-4380px); }
    }
  }
  
  @media (max-width: 768px) {
    .tournament-hero-slider { height: 250px; margin: 10px 0; }
    .tournament-slide { min-width: calc(100vw - 20px); width: calc(100vw - 20px); height: 250px; margin: 0 10px; }
    .tournament-slide-text { font-size: 32px; }
    @keyframes slideScroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-600vw); }
    }
    .tournament-title { padding: 30px 0 20px; }
    .tournament-title-en { font-size: 40px; }
    .tournament-title-ja { font-size: 24px; }
    .tournament-intro { padding: 30px 0; }
    .tournament-intro-content, .tournament-notice { padding: 20px; }
    .tournament-intro-text { font-size: 16px; }
    .tournament-intro-note, .tournament-notice-text { font-size: 14px; }
    .tournament-notice-title { font-size: 18px; }
    .tournament-section-title { font-size: 24px; margin-bottom: 20px; }
    .tournament-year-title { font-size: 20px; margin: 30px 0 15px; }
    .tournament-overview, .tournament-results, .tournament-target { padding: 30px 0; }
    .tournament-schedule-grid { grid-template-columns: 1fr; gap: 15px; }
    .tournament-grade { font-size: 16px; }
    .tournament-status { font-size: 12px; padding: 4px 12px; }
    .tournament-schedule-date { font-size: 18px; padding: 15px; }
    .tournament-schedule-date.small { font-size: 16px; }
    .tournament-schedule-notes { font-size: 14px; }
    .tournament-cta-btn { font-size: 18px; padding: 20px 30px; max-width: 100%; }
    .tournament-result-date { font-size: 16px; }
    .tournament-result-teams, .tournament-info-content { font-size: 14px; }
    .tournament-results-note { font-size: 14px; }
    .tournament-footer-cta { padding: 40px 0 30px; }
    .tournament-footer-title { font-size: 36px; margin-bottom: 20px; }
    .tournament-footer-subtitle { font-size: 12px; }
    .tournament-footer-tagline { font-size: 18px; }
    .tournament-scroll-top { width: 40px; height: 40px; right: 20px; bottom: 20px; font-size: 20px; }
  }
  
  @media (max-width: 480px) {
    .tournament-container { padding: 0 15px; }
    .tournament-title-en { font-size: 32px; }
    .tournament-title-ja { font-size: 20px; }
    .tournament-intro-text { font-size: 14px; }
    .tournament-section-title { font-size: 20px; }
    .tournament-year-title { font-size: 18px; }
    .tournament-cta-btn { font-size: 16px; padding: 18px 25px; }
    .tournament-footer-title { font-size: 28px; }
  }

.p-tournament a {
  color: #445cd5;
}

/* ======================================================================
 p-tournament (page-tournament.php が実際に参照しているクラス)
 ※ 上記の tournament-* 系ルールの値を、正しいBEMクラス名に付け替えたもの
====================================================================== */

.p-tournament__overview {
  margin: 0 auto;
  padding: 60px 0;
  width: 68.0555555556vw;
}
@media screen and (max-width: 767px) {
  .p-tournament__overview {
    padding: 30px 5.1282051282vw;
    width: 100%;
  }
}

.p-tournament__block + .p-tournament__block { margin-top: 60px; }

.p-tournament__sub-title { }

.p-tournament__year-title { font-weight: 700; font-size: 24px; color: #000; margin: 40px 0 20px; }

/* 日程
------------------------------- */
.p-tournament__schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 27px; margin-bottom: 20px; }
.p-tournament__schedule-grid--closed { margin-bottom: 30px; }

.p-tournament__schedule-card { background: #fff; border: 1px solid #c59a4e; border-radius: 6px; overflow: hidden; }
.p-tournament__schedule-card--active { min-height: 110px; }
.p-tournament__schedule-card--closed { min-height: 90px; }

.p-tournament__schedule-header { background: #231815; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.p-tournament__grade { font-weight: 700; font-size: 18px; color: #fff; letter-spacing: 1.44px; }
.p-tournament__status { background: #fff; padding: 5px 15px; border-radius: 15px; font-weight: 700; font-size: 14px; letter-spacing: 1.12px; }
.p-tournament__status--active { color: #06c; }
.p-tournament__status--closed { color: #c00; }

.p-tournament__schedule-date { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 20px; color: #000; padding: 20px; text-align: center; }
.p-tournament__schedule-date-inr { }
.p-tournament__schedule-date-number { }

.p-tournament__schedule-notes { font-size: 16px; color: #000; line-height: 1.8; margin: 30px 0; }
.p-tournament__schedule-notes p { margin: 5px 0; }

.p-tournament__cta { display: flex; justify-content: center; margin: 40px auto; }

/* 参加チーム実績
------------------------------- */
.p-tournament__block--results { padding: 60px 0; background: #f9f9f9; }

.p-tournament__result { display: flex; margin-bottom: 20px; border: 1px solid #c59a4e; border-radius: 6px; overflow: hidden; min-height: 90px; }
.p-tournament__result-label { background: #f6f0e5; border-right: 1px solid #c59a4e; min-width: 240px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.p-tournament__result-label-inner { text-align: center; }
.p-tournament__result-heading { display: block; font-weight: 700; font-size: 20px; color: #000; letter-spacing: 1.6px; }
.p-tournament__result-date-label { display: block; margin-top: 6px; font-family: 'Roboto', sans-serif; font-size: 14px; color: #666; }

.p-tournament__result-content { background: #fff; flex: 1; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.p-tournament__result-date { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 20px; color: #000; }
.p-tournament__result-teams { font-size: 16px; color: #000; line-height: 1.8; letter-spacing: 1.28px; }

.p-tournament__results-note { font-size: 16px; color: #000; line-height: 1.8; letter-spacing: 1.28px; margin: 30px 0; }
.p-tournament__results-note p { margin: 5px 0; }

/* 対象・球場・宿舎など(情報リピーター)
------------------------------- */
.p-tournament__target { padding: 60px 0; }

.p-tournament__info { display: flex; margin-bottom: 30px; border-radius: 6px; overflow: hidden; min-height: 180px; }
.p-tournament__info-label { background: #f6f0e5; border: 1px solid #c59a4e; border-right: none; border-top-left-radius: 6px; border-bottom-left-radius: 6px; min-width: 240px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #000; text-align: center; letter-spacing: 1.6px; padding: 20px; }
.p-tournament__info-content { background: #fff; border: 1px solid #c59a4e; border-left: none; border-top-right-radius: 6px; border-bottom-right-radius: 6px; flex: 1; padding: 16px 20px; font-size: 16px; color: #000; line-height: 1.8; letter-spacing: 1.28px; }
.p-tournament__info-content p { margin: 5px 0; }

@media (max-width: 1024px) {
  .p-tournament__schedule-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
  .p-tournament__result { flex-direction: column; }
  .p-tournament__result-label { min-width: 100%; padding: 15px; }
  .p-tournament__info { flex-direction: column; }
  .p-tournament__info-label { min-width: 100%; min-height: 60px; border-right: 1px solid #c59a4e; border-bottom: none; border-radius: 6px 6px 0 0; }
  .p-tournament__info-content { border-left: 1px solid #c59a4e; border-radius: 0 0 6px 6px; }
}

@media (max-width: 768px) {
  .p-tournament__year-title { font-size: 20px; margin: 30px 0 15px; }
  .p-tournament__block--results, .p-tournament__target { padding: 30px 0; }
  .p-tournament__schedule-grid { grid-template-columns: 1fr; gap: 15px; }
  .p-tournament__grade { font-size: 16px; }
  .p-tournament__status { font-size: 12px; padding: 4px 12px; }
  .p-tournament__schedule-date { font-size: 18px; padding: 15px; }
  .p-tournament__schedule-notes { font-size: 14px; }
  .p-tournament__result-date { font-size: 16px; }
  .p-tournament__result-teams, .p-tournament__info-content { font-size: 14px; }
  .p-tournament__results-note { font-size: 14px; }
}

@media (max-width: 480px) {
  .p-tournament__year-title { font-size: 18px; }
}
