body{
  margin: 0;
}
.container{
  background-color: white;
}
br.pc{
  display: none;
}
br.smp{
  display: inherit;
}
@media (min-width: 768px) {
  br.pc{
    display: inherit;
  }
br.smp{
  display: none;
}
}
main{
  line-height: 1.5;
}
/*ボタン*/

.cta-container{
  margin-top: 1.5rem;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem .5rem;
  background-color: #fff;
  border: none;
  border-radius: 9999px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0.75rem;
  border: 2px solid #745399;
  color: #745399;
  width: 100%;
}

.cta-button img{
  width: 7px;
  vertical-align: baseline;
}

.cta-button:hover {
  background-color: rgb(116, 83, 153,0.5);
}

.cta-button.outline {
  background-color: transparent;
  border: 2px solid #6a4c93;
  color: #6a4c93;
}

.cta-button.outline:hover {
  background-color: #f0e6ff;
}

.cta-button.white-btn {
  background-color: white;
  color: #6a4c93;
  border: 2px solid #6a4c93;
}

.cta-button.white-btn:hover {
  background-color: #f0e6ff;
}

@media (min-width: 768px) {
  .cta-button a {
    padding: 1rem 0;
    font-size: calc(17vw/12);
  }

  
}
@media (min-width: 1201px) {
  .cta-button {
    padding: 1rem 0;
    font-size: 17px;
  }
  .cta-button img{
    width: 8px;
  }

}

/* headerセクション */
.header {
  align-items: center;
  position: relative;
  padding: 0;
  background-color: #fff;
}


.header-content {
  background: url('img/main.png') no-repeat center top;
  background-size: contain;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  height: calc(680vw / 12);
}

.header h1 {
  font-size:.9rem;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.4;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.header-image {
  display: none;
}

@media (min-width: 1201px) {
  .header-content {
  height: 680px;
  }
  
}


/* STEPナビゲーション */
.step-nav {
  margin:0 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1.5rem 0;

}

.step-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 0;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.3s;
  text-align: center;
  color: #483959;
}
.step-btn span{
  font-size: 1.1rem;
  font-weight: 400;
}
.step1-btn {
  background-color: #E3F7D2;
  border: 1px solid #A3DD76;
}

.step2-btn {
  background-color: #C2E9ED;
  border: 1px solid #69D5E0;

}

.step3-btn {
  background-color: #FBD1BB;
  border: 1px solid #FE8A4C;

}

.step-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .step-nav{
    max-width: 700px;
    margin: 0 auto;
  }
  .header .cta-button.play-btn {
    padding: 0.9rem .9rem;
    font-size: 1.2rem;
  }
}

/* ステップセクション共通 */
.step {
  padding: 2rem .63rem;
  border-radius: 20px;
  margin-bottom: 30px;
}

.steps-header {
  text-align: center;
  margin-bottom: 2rem;
}

.steps-header h2 {
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
  margin:0 auto 0.5rem;
  line-height: 1.5;
}

.steps-header h3 {
  font-size: 1.4rem;
  color: #6a4c93;
  font-weight: normal;
}

@media (min-width: 768px) {
  .steps-header h2 {
    font-size: 2rem;
  }
  
}


/* STEP 1 */
.step-1 {
  background-color: #E3F7D2;
}

.qanda-boxes {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.qanda-box {
  display: flex;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}


.qanda-image {
  width: 140px;
  flex-shrink: 0;
  overflow: hidden;
}
.qanda-image .lazy{
  height: 100%;
}

.qanda-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qanda-content {
  flex-grow: 1;
  padding: 1.4rem .8rem;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.em{
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #C99B20 0%, #AA7701 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qanda-content h3 {
  margin-bottom: 0.8rem;
  background-color: #E3F7D2;
  padding: 0.8rem 1rem;
  border-radius: 15px;
  position: relative;
  font-weight: 400;
  font-size: .9rem;
  line-height: 1.5;
}

.qanda-content h3:after {
  content: "";
  position: absolute;
  top: 0;
  left: 88%;
  border-style: solid;
  border-width: 0 7.5px 17px 7.5px;
  border-color: transparent transparent #E3F7D2;
  translate: -50% -100%;
  transform: skew(-29deg);
  transform-origin: bottom;
}

.qanda-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.qanda-content .cta-button{
  padding: 0.6rem .6rem;
  width: auto;
  min-width: 60%;
}

@media (min-width: 768px) {
  .qanda-boxes{
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 3fr);
  }
  .qanda-image{
    width: calc(240vw / 12);
  }
  .qanda-content h3{
    font-size: calc(17vw / 12);
  }
  .qanda-content{
    justify-content: flex-start;
    padding: calc(40vw/12) calc(30vw/12);
  }
  .qanda-content p{
    font-size: calc(16vw / 12);
  }
  .qanda-content .cta-button{
    padding: 0.6rem 1.5rem;
    font-size: calc(14vw / 12);
  }
}

@media (min-width: 1201px) {

  .qanda-image{
    width: 240px;
  }
  .qanda-content h3{
    font-size: 17px;
  }
  .qanda-content{
    justify-content: flex-start;
    padding: 40px 30px;
  }
  .qanda-content p{
    font-size: 16px;
  }
  .qanda-content .cta-button{
    font-size: 14px;
  }
}


/* STEP 2 */
.step-2 {
  background-color: #C2E9ED;
  padding-left:0 ;
  padding-right: 0;
}
.step-2 .cta-container{
  margin-bottom: 3rem;
}
.step-2 .cta-button{
  border-color:#483959 ;
  color: #483959;
  width: auto;
  padding: .8rem 2rem;
  font-size: .9rem;
}





.events-types{
  background: url(img/bg_events.jpg) no-repeat center top;
  background-size: cover;
  padding: 30px 20px 30px;
}
.events-types, .athletes {
  max-width: 650px;
  margin: 0 10px 1rem;
  border-radius: 30px;
}

.events-types h4, .athletes h4 {
  margin: 0;
  text-align: center;
  color: #483959;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.events-types h4{
  color: #fff;

}

.events-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.7rem 1rem;
  max-width: 650px;
  margin: 0 auto;
}

.events-option {
  position: relative;
  text-align: center;
}

.events-option-icon {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
}

.events-option img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.events-option p {
  font-size: 0.75rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}


/* 種目のポップアップ */
#popup.events-popup {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 15px;
  z-index: 9;
  border-radius: 8px;
  width: 90vw;
  max-width: 400px;
  
}
#popup h5{
  color: #745399;
  font-size: 1.2rem;
  margin: 1rem 0 1.5rem;
}


#popup dl{
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem; 
  row-gap: 0.8rem;  
  }
  #popup dd {
    margin: 0; 
  }
  #popup a {
    display: inline-block; 
    margin-bottom: 1rem; 
    text-decoration: underline;
  }
  
  #popup dd a:last-child {
    margin-bottom: 0;
  }

  #popup .event-content{
    display: grid;
        grid-template-columns: auto auto;
        justify-items: center;
  }
@media (max-width: 767px) {
  #popup.events-popup {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #000;
}

@media (min-width: 768px) {
  .events-types{
max-width: 1200px;
  }
  .events-types h4, .athletes h4{
    font-size: 2rem;
  }
  .events-options{
    grid-gap: 1rem 6.5rem;
    max-width: 800px;
  }
  .events-option p{
    font-size: 1.2rem;
  }
  #popup a:hover {
    color:#745399;
  }
  .step-2 .cta-container{
    margin: 60px auto 100px;
  }
  .step-2 .cta-button{
    padding: 1.2rem 5rem;
    font-size: 1.4rem;
  }
  .step-btn{
    padding: 1rem 0;
    font-size: 1.2rem;
  }
  .step-btn span{
    font-size: 1.4rem;
  }
  .events-types, .athletes {
    max-width: 1200px;
    margin: 0 auto 1rem;
  }
}

/*選手スライダー*/

.slider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

a.player-card {
  width: 250px;
  margin: 0 10px;
}



.slider-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
button {
  all: unset;
  cursor: pointer;
}
.slider-arrow {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  z-index: 9!important;
  position: static!important;
  transform: initial!important;
}

.slider-arrow img {
  width: 40px; 
  height: auto;
  display: block;
}

.slider .lazy{
  aspect-ratio: 514/914;
}

.slider .lazy img{
height: 100%;
width: 100%;
}
.slider .slick-list {
  padding: 0 50px !important;
}





/* STEP 3 */
.step-3 {
  background-color: #FBD1BB;
}

.cheering {
  max-width: 960px;
  margin: 0 auto;
}

.cheer-conts {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}

.cheer-image {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;

}
.cheer-image .lazy{
  aspect-ratio: 16/9;
}

.cheer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cheer-video{position: relative;}
.cheer-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
  border-radius: 10px;
}

.cheer-video::after {
  content: '▶';
  font-size: 3rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.cheer-txt {
  padding: 1rem;
}
.cheer-txt a{
  text-decoration: underline;
  text-decoration-color:#745399;
  color: #745399;
}


.cheer-conts h3 {
  color: #000;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.cheer-conts p {
  margin-bottom: 1rem;
}

.cheer-conts .cta-container {
  margin-top:0;
}

.cta-button.cheer-btn {
  background-color: white;
  color: #FE8A4C;
  border: 3px solid #FE8A4C;
  font-size: 1.2rem;
  width: inherit;
  padding: .8rem 2.5rem;
}

.cta-button.cheer-btn:hover {
  background-color: #fff2eb;
}
@media (min-width: 768px) {
  .cheer-conts{
    display: grid;
    grid-template-columns: 1.5fr 1fr;
  gap: 10px;
  margin-bottom: 100px;
  align-items: center;
  }
  .cheer-conts .cta-container{
    grid-column: 1 / 3;
    margin-top: 30px;
  }
  .cheer-conts h3 {
    font-size: 1.5rem;
  }
  .cheer-conts p {
    font-size: 1.125rem;
  }
  .cta-button.cheer-btn{
    padding: .8rem 6rem;
  }
  .cheer-txt a{
    text-decoration: underline;
    border: none;
    color: #000;
  }
  .cheer-txt a:hover{
    color: #745399;
  }
}


/******* Uniweb ********/
.accessibility--FITT header .alt{
  width: inherit;
  height: inherit;
  position: static;
  color: #666;
  font-weight: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 BLACK;
}

.accessibility--FITT .em, .accessibility--FIH .em{
  background-color:#AA7701;
}
