@charset "UTF-8";

@media screen and (max-width: 767px) {
  #header #vantan-logo {
    margin-top: -1.5em;
    position: relative;
  }
  #header #vantan-logo img {
    height: 7.8vw;
    max-width: 282px;
  }
}
@media screen and (min-width: 768px) {
  #header #vantan-logo {
    margin-top: -1.5em;
    position: relative;
  }
  #header #vantan-logo img {
    height: 65px;
  }
}

#footer {
  position: relative;
  z-index: 1000;
}

.re-zero {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'sans-serif';
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 133px;
  position: relative;

  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  *::before, *::after {
    box-sizing: border-box;
  }
  ul, ol {
    list-style-type: none;
  }
  a {
    text-decoration: none;
  }
  a {
    transition: .3s;
    color: inherit;
  }
  @media screen and (min-width: 767px) {
    a:hover {
      opacity: .7;
    }
  }
  img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    border: 0;
  }
  button {
  	border: none;
  	outline: none;
  	-webkit-appearance: none;
  	-moz-appearance: none;
  	appearance: none;
    cursor: pointer;
  }
  br.pc {
    display: block;
  }
  br.sp {
    display: none;
  }
  .sp-only {
    display: none;
  }
  .wrap {
    min-width: 1126px;
    overflow: hidden;
    margin: 0 auto;
  }
  .inner {
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    position: relative;
  }
  .inner-wide {
    width: 1065px;
    height: 100%;
    margin: 0 auto;
    position: relative;
  }
  
  .mv {
    position: relative;
    overflow: hidden;
    
    .mv-bg {
      position: relative;
      padding: 70px 0;
      background: url(../img/mv-bg-line.webp) center bottom / 100% 172px no-repeat, url(../img/mv-bg.webp) center center / cover no-repeat;    
      
      .title {
        width: 390px;
        
        .schedule {
          width: 365px;
          margin: -20px auto 0;
        }
      }
      .poster {
        width: 603px;
        position: absolute;
        top: 30px;
        right: 0;
        z-index: 2;
      }
      p {
        font-size: 12px; 
        text-align: right;
        margin-top: 5px;
      }
    }
    .mv-bottom {
      position: relative;
      background: url(../img/mv-bottom-bg.png) center center / cover no-repeat;
      padding-bottom: 90px;
      
      .box {
        position: relative;
        padding: 80px 0 0;
        
        h2 {
          font-family: 'Noto Serif JP', 'serif';
          font-size: 46px;
          font-weight: 700;
          line-height: 1.2;
          text-align: center;
          margin-bottom: 30px;
          position: relative;
          z-index: 2;
          
          .dot {
            background-image: radial-gradient(circle at center, #CF346C 20%, transparent 20%);
            background-position: left top;
            background-repeat: repeat-x;
            background-size: 1em .6em;
            padding-top: .3em;
            
            @supports (-webkit-hyphens: none) and (not (-ms-ime-align: auto)) {
              padding-top: .6em;
            }
          }
          .gothic {
            font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'sans-serif';
            font-weight: 700;
          }
        }
        p {
          font-family: 'Noto Serif JP', 'serif';
          font-size: 24px;
          font-weight: 500;
          text-align: center;
          letter-spacing: -.02em;
          line-height: 2;
          position: relative;
          z-index: 2;
          
          .color {
            color: #CF356C;
          }
          .bg {
            background: #fff;
            color: #796CAF;
          }
        }
      }
    }
  }
  .special {
    padding: 35px 0 10px;
    position: relative;
    background: url(../img/special-bg.webp) center top / cover no-repeat;
      
    .line {
      width: 100%;
      height: 147px;
      position: absolute;
      left: 0;
      top: -90px;
      z-index: 2;
      
      img {
        width: 100%;
        height: 100%;
      }
    }
    .ca1 {
      width: 193px;
      position: absolute;
      top: -230px;
      left: calc(50% - 466px);
      z-index: 3;
    }
    .ca2 {
      width: 123px;
      position: absolute;
      top: -240px;
      left: calc(50% + 329px);
      z-index: 3;
    }
  
    .scroll {
      .title {
        h2 {
          width: 218px;
          margin: 0 auto;
        }
        p {
          font-family: 'Noto Serif JP', 'serif';
          font-size: 26px;
          font-weight: 700;
          text-align: center;
          letter-spacing: -.02em;
          margin: -10px 0 20px;
        }
      }
      .goods {
        background: #fff;
        border: 1px solid #EABA60;
        border-top: 8px solid #EABA60;
        border-bottom: 8px solid #EABA60;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 40px;
        position: relative;
        
        .top {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          
          &::before {
            content: "";
            display: block;
            background: #EABA60;
            width: 34px;
            height: 34px;
            clip-path: polygon(0 0, 0% 100%, 100% 0);
            position: absolute;
            top: -1px;
            left: 0;
          }
          &::after {
            content: "";
            display: block;
            background: #EABA60;
            width: 34px;
            height: 34px;
            clip-path: polygon(0 0, 100% 100%, 100% 0);
            position: absolute;
            top: -1px;
            right: 0;
          }
        }
        .bottom {
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          
          &::before {
            content: "";
            display: block;
            background: #EABA60;
            width: 34px;
            height: 34px;
            clip-path: polygon(0 0, 0 100%, 100% 100%);
            position: absolute;
            bottom: -1px;
            left: 0;
          }
          &::after {
            content: "";
            display: block;
            background: #EABA60;
            width: 34px;
            height: 34px;
            clip-path: polygon(100% 0, 0 100%, 100% 100%);
            position: absolute;
            bottom: -1px;
            right: 0;
          }
        }
        
        .text {
          width: 47%;
          font-weight: 500;
          
          h3 {
            font-size: 30px;
            font-weight: 700;
            line-height: 1.6;
            text-align: center;
            color: #CF346C;
            margin: 15px 0;
            
            span {
              background: linear-gradient(to top, #FEC7E1 10px, transparent 10px);
            }
          }
        }
        
        .item {
          width: 49%;
          
          .image {
            width: 450px;
            margin: 0 auto;
          }
        }
        .kome {
          font-size: 13px;
          font-weight: 400;
          text-indent: -1em;
          padding-left: 1em;
        }
      }
    }
  }
  .bar {
    padding: 10px 0;
    background: url(../img/lines-b.webp) center center / 100% 100% no-repeat;
    position: relative;
    z-index: 3;
    
    .btn {
      display: block;
      width: 529px;
      margin: 0 auto;
    }
  }
  
  .experience {
    background: url(../img/experience-bg.webp) center top / cover no-repeat;
    padding: 30px 0 80px;
    margin-bottom: -70px;
    
    .head {
      position: relative;
      padding-top: 40px;
      width: 750px;
      margin: 0 auto;
      
      .text {
        display: table;
        
        h2 {
          width: 266px;
          margin: 0 auto;
        }
        p {
          font-family: 'Noto Serif JP', 'serif';
          font-size: 24px;
          font-weight: 500;
          text-align: center;
        }
      }
      .ca3 {
        width: 200px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 3;
      }
    }
    .frames {
      display: flex;
      justify-content: space-between;
      margin-top: 45px;
      
      .item {
        width: 335px;
        border-radius: 10px;
        padding: 20px 15px 10px;
        background: #fff;
        box-shadow: 0 0 6px rgba(0,0,0,0.1);
        
        h3 {
          font-family: 'Rounded Mplus 1c', 'sans-serif';
          font-size: 20px;
          font-weight: 700;
          color: #fff;
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 10px;
          border: 1px solid #fff;
          box-shadow: 4px 4px 0 #d1d1ce;
          
          &::before {
            content: "";
            display: block;
            width: 70px;
            height: 50px;
            background: url(../img/experience-deco.webp) center center / cover no-repeat;
          }
          &::after {
            content: "";
            display: block;
            width: 70px;
            height: 50px;
            background: url(../img/experience-deco.webp) center center / cover no-repeat;
          }
        }
        &.item1 {
          border: 1px solid #3A7DB6;
        }
        &.item2 {
          border: 1px solid #983C9B;
        }
        &.item3 {
          border: 1px solid #18768D;
        }
        &.item1 h3 {
          background: linear-gradient(to bottom, #176FBE 0%, #0D4474 100%);
        }
        &.item2 h3 {
          background: linear-gradient(to bottom, #BC98B9 0%, #612964 100%);
        }
        &.item3 h3 {
          background: linear-gradient(to bottom, #5B9FAF 0%, #1F5765 100%);
        }
        .photo {
          margin: 10px 0 5px;
        }
        p {
          line-height: 1.4;
        }
        .kome {
          font-size: 13px;
          text-align: center;
        }
      }
    }
  }
  .timeschedule {
    background: url(../img/timeschedule-bg.webp) center center / cover no-repeat;
    padding: 30px 0 50px;
    
    .frame {
      border: 1px solid #796CAF;
      border-radius: 13px;
      padding: 20px 0 20px;
      position: relative;
      z-index: 3;
      
      h2 {
        width: 398px;
        margin: 0 auto 10px;
      }
      .flow {
        display: table;
        margin: 0 auto;
        
        p {
          width: 360px;
          background: #D95685;
          border-radius: 100px;
          font-size: 24px;
          font-weight: 700;
          color: #fff;
          text-align: center;
          padding: 5px;
          margin-bottom: 30px;
          position: relative;
          
          &:nth-child(2n) {
            background: #9488C6;
          }
        
          &:not(:last-child)::after {
            content: "";
            display: block;
            background: #C2B9E8;
            clip-path: polygon(50% 100%, 0 0, 100% 0);
            width: 25px;
            height: 20px;
            position: absolute;
            bottom: -25px;
            left: calc(50% - 12px);
          }
        }
      }
      .kome {
        font-size: 16px;
        text-align: center;
      }
      .cac1 {
        width: 124px;
        position: absolute;
        top: 50px;
        left: 120px;
        z-index: 3;
      }
      .cac2 {
        width: 135px;
        position: absolute;
        top: 50px;
        right: 120px;
        z-index: 3;
      }
    }
  }
  .introduction {
    background: url(../img/lines-w.webp) center bottom / 100% 147px no-repeat, url(../img/introduction-bg.webp) center top / 1581px auto no-repeat;
    
    .inner {
      background: rgba(255,255,255,0.3);
      padding: 140px 0 80px;
    }
    
    h2 {
      width: 436px;
      margin: 0 auto;
    }
    h3 {
      font-size: 25px;
      font-weight: 500;
      line-height: 1.2;
      text-align: center;
      margin-bottom: 80px;
    }
    p {
      max-width: 780px;
      font-family: 'Noto Serif JP', 'serif';
      font-size: 18px;
      font-weight: 400;
      margin: 0 auto 30px;
    }
    .youtube-frame {
      width: 650px;
      margin: 40px auto 0;
      
      .youtube {
        width: 100%;
        height: 0;
        padding-top: 56.25%;
        position: relative;
        
        iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
  .info-bg {
    background: url(../img/bottom-bg1.webp) center center / cover no-repeat;
    padding-top: 70px;
    position: relative;
    
    &::before {
      content: "";
      display: block;
      background: #fff;
      width: 1126px;
      height: calc(100% - 70px);
      position: absolute;
      top: 70px;
      left: calc(50% - 563px);
    }
    
    section {
      position: relative;
      z-index: 1;
    }
  }
  .access {
    padding: 40px 0;
    
    h2 {
      font-size: 24px;
      font-weight: 700;
      color: #1F286F;
      text-align: center;
      padding-bottom: 5px;
      border-bottom: 4px double #1F286F;
      margin-bottom: 15px;
    }
    .tab-btns {
      display: flex;
      gap: 1px;
      margin-bottom: 15px;
      
      a {
        flex: 1;
        background: rgba(31,40,111,0.25);
        font-weight: 500;
        text-align: center;
        color: #fff;
        padding: 15px;
        
        &.tab-active {
          background: #1F286F;
        }
      }
    }
    .item {
      .flex {
        display: flex;
        justify-content: space-between;
        
        .text {
          width: 48%;
          
          h3 {
            font-size: 18px;
            font-weight: 700;
            color: #1F286F;
            margin-top: 10px;
          }
          .bold {
            font-weight: 700;
          }
          .tel {
            display: table;
            margin-top: 5px;
            font-size: 18px;
            
            &::before {
              content: "";
              display: inline-block;
              background: url(../img/tel.webp) center center / contain no-repeat;
              width: 12px;
              height: 15px;
              margin-right: 5px;
            }
          }
          .gray {
            color: #959595;
          }
        }
        .map {
          width: 48%;
          height: 344px;
          
          iframe {
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
  .about {
    .head {
      background: #1F286F;
      height: 113px;
      
      h2 {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        height: 100%;
        display: flex;
        align-items: center;
      }
    }
    .body {
      padding: 30px 0 40px;
      
      .flex {
        display: flex;
        justify-content: space-between;
      }
      
      .text {
        width: 40%;
        color: #1F286F;
      }
      .value {
        width: 56%;
        margin-top: -110px;
        
        .items1 {
          gap: 15px;
          
          .item {
            flex: 1;
            border: 1px solid #1F286F;
            border-radius: 12px;
            background: #E8EDF0;
            padding: 13px;
            text-align: center;
            color: #1F286F;
            line-height: 1.4;
            
            dt {
              font-size: 20px;
            }
            dd {
              display: inline;
              font-size: 32px;
              font-weight: 700;
              background: linear-gradient(to top, #FFFD2E 10px, transparent 10px);
            }
            sup {
              font-size: 16px;
            }
          }
        }
        .kome {
          font-size: 13px;
          text-align: right;
          margin: 10px 0;
        }
        .items2 {
          flex-wrap: wrap;
          gap: 24px;
          
          .item {
            width: calc(50% - 12px);
            border: 1px solid #1F286F;
            border-radius: 12px;
            background: #E8EDF0;
            padding: 13px;
            text-align: center;
            color: #1F286F;
            line-height: 1.4;
            
            dt {
              font-size: 24px;
            }
            dd {
              display: inline;
              font-size: 24px;
              font-weight: 700;
              background: linear-gradient(to top, #FFFD2E 10px, transparent 10px);
              
              span {
                font-size: 32px;
              }
            }
            p {
              font-size: 16px;
              margin-top: 5px;
            }
            &.rows {
              display: flex;
              justify-content: center;
              align-items: center;
              
              dl {
                background: linear-gradient(to top, #FFFD2E 10px, transparent 10px);
                
                dt {
                  display: inline;
                  font-weight: 700;
                }
                dd {
                  background: none;
                }
              }
            }
          }
        }
      }
    }
  }
  .kadokawa {
    background: url(../img/bottom-bg2.webp) center center / cover no-repeat;
    padding: 40px 0 80px;
    color: #fff;
    
    h2 {
      font-size: 24px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 30px;
    }
    .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 40px;
      
      .image {
        width: 395px;
      }
      .text {
        width: 395px;
        line-height: 1.7;
      }
    }
  }
  #CTA {
    background: rgba(255,255,255,0.8);
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    transition: bottom .3s;
    
    .btn {
      display: block;
      width: 529px;
      margin: 0 auto;
    }
  }
  #CTA.bottom {
    bottom: 120px;
  }
}



@media screen and (max-width: 767px) {

html {
  font-size: calc(100vw / 375 * 10);
}

.re-zero {
  font-size: 1.6rem;
  margin-bottom: 9rem;
  
  br.pc {
    display: none;
  }
  br.sp {
    display: block;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .wrap {
    min-width: initial;
  }
  .inner {
    width: 100%;
    padding: 0 2rem;
  }
  .inner-wide {
    width: 100%;
    padding: 0 2rem;
  }
  .mv {
    .mv-bg {
      background: url(../img/mv-bg-sp.webp) center bottom / 60rem no-repeat;
      padding: 0;
      
      .title {
        width: 100%;
        
        h1 {
          width: 29.4rem;
          margin: 0 auto;
        }
        .schedule {
          width: calc(100% + 4rem);
          margin: -1rem -2rem 0;
        }
      }
      .poster {
        width: calc(100% + 4rem);
        margin: 0 -2rem 1rem;
        position: relative;
        top: auto;
        right: auto;
      }
      p {
        font-size: 1rem;
        text-align: center;
      }
    }
    .mv-bottom {
      background: url(../img/mv-bottom-bg-sp.png) center top / cover no-repeat;
      padding-bottom: 8rem;
      
      .box {
        padding: 5rem 0 0;
        
        h2 {
          font-size: 2.5rem;
          margin-bottom: 2rem;
        }
        p {
          font-size: 1.55rem;
          width: calc(100% + 4rem);
          margin: 0 -2rem;
        }
      }
    }
  }
  .special {
    padding: 6rem 0 6rem;
    background: url(../img/special-bg-sp.webp) center top / cover no-repeat;
    margin-top: -5rem;
    z-index: 1;
    
    .line {
      height: 7.2rem;
      top: -2.5rem;
    }    
    .ca1 {
      width: 11.4rem;
      top: 2rem;
      left: 1rem;
    }
    .ca2 {
      width: 7.3rem;
      top: 2rem;
      left: auto;
      right: 1rem
    }
    
    .scroll {
      .title {
        h2 {
          width: 15rem;
        }
        p {
          font-size: 1.9rem;
          line-height: 1.2;
          margin: 0 0 2rem;
        }
      }
      .goods {
        padding: 2rem 1rem;
        flex-wrap: wrap;
        gap: 1rem;
        
        .text {
          width: 100%;
          font-size: 1.5rem;
          padding-top: 1rem;
          text-align: center;
          
          h3 {
            font-size: 1.6rem;
            margin-top: 1rem;
          }
        }
        .item {
          width: 100%;
          
          .image {
            width: 100%;
          }
        }
      }
      .kome {
        font-size: 1.3rem;
        text-indent: -1em;
        padding-left: 1em;
        margin: 0 auto;
      }
    }
  }
  .bar {
    background: none;
    
    .btn {
      width: 100%;
      background: none;
      margin: -4.5rem auto;
    }
  }
  .experience {
    background: url(../img/experience-bg-sp.webp) center top / cover no-repeat;
    margin: 4rem 0 -5rem;
    padding: 0 0 10rem;
    
    .head {
      padding-top: 0;
      width: calc(100% + 4rem);
      height: 26rem;
      margin: 0 -2rem;
      
      .text {
        display: block;
        height: 100%;
        position: relative;
        
        h2 {
          width: 18rem;
          position: absolute;
          top: 4rem;
          left: 3rem;
        }
        p {
          position: absolute;
          left: 0;
          bottom: 2rem;
          width: 100%;
          font-size: 1.6rem;
          text-align: center;
        }
      }
      .ca3 {
        width: 11.9rem;
        right: 4rem;
      }
    }
    .frames {
      flex-flow: column nowrap;
      gap: 2rem;
      margin-top: 0;
      
      .item {
        width: 100%;
        height: auto;
        padding: 1.5rem;
        
        h3 {
          font-size: 2rem;
          margin-bottom: 1rem;
          
          &::before {
            width: 7rem;
            height: 5rem;
          }
          &::after {
            width: 7rem;
            height: 5rem;
          }
        }
        .photo {
          margin: .5rem 0;
        }
        .kome {
          font-size: 1.3rem;
        }
      }
    }
  }
  .timeschedule {
    background: url(../img/timeschedule-bg-sp.webp) center center / cover no-repeat;
    padding: 5rem 0 4rem;
    
    .frame {
      border: 2px solid #796CAF;
      border-left: none;
      border-right: none;
      border-radius: 0;
      width: calc(100% + 4rem);
      padding: 2rem;
      margin: 0 -2rem;
      
      h2 {
        width: 22rem;
        margin-bottom: 1rem;
      }
      .flow {
        position: relative;
        z-index: 5;
        
        p {
          width: 16rem;
          border-radius: 100rem;
          font-size: 2rem;
          padding: .1rem;
          margin-bottom: 3rem;
        
          &:not(:last-child)::after {
            width: 2rem;
            height: 1.6rem;
            bottom: -2.2rem;
            left: calc(50% - 1rem);
          }
        }
      }
      .kome {
        display: table;
        margin: -1rem auto 0;
        font-size: 1.3rem;
        text-align: left;
        text-indent: -1em;
        padding-left: 1em;
      }
      .cac1 {
        width: 8.1rem;
        top: 14rem;
        left: 1rem;
      }
      .cac2 {
        width: 8.8rem;
        top: 14rem;
        right: 1rem;
      }
    }
  }
  .introduction {
    background: url(../img/introduction-bg-sp.webp) center top / 120% no-repeat;
    
    .inner {
      background:none;
      padding: 5rem 2rem 4rem;
    }
      
    h2 {
      width: 29.4rem;
    }
    h3 {
      font-size: 1.8rem;
      margin-bottom: 4rem;
    }
    p {
      font-size: 1.6rem;
      margin-bottom: 3rem;
    }
    .youtube-frame {
      width: 100%;
      margin-top: 2rem;
    }
  }
  .info-bg {
    background: #fff;
    padding-top: 0;
    
    &::before {
      content: none;
    }
  }
  .access {
    padding: 2rem 0;
    
    .tab-btns {
      gap: .1rem;
      margin-bottom: 0;
      
      a {
        padding: 1.2rem;
      }
    }
    .item {
      .flex {
        flex-flow: column nowrap;
        
        .text {
          width: 100%;
          
          h3 {
            font-size: 1.8rem;
            margin-top: 1rem;
          }
          .tel {
            margin-top: .5rem;
            font-size: 1.8rem;
            
            &::before {
              width: 1.2rem;
              height: 1.5rem;
              margin-right: .5rem;
            }
          }
        }
        .map {
          margin-top: 1rem;
          width: 100%;
          height: 24rem;
        }
      }
    }
  }
  .about {
    .head {
      height: auto;
      padding: 1.4rem 0;
      
      h2 {
        font-size: 2.1rem;
        line-height: 1.4;
        text-align: center;
        display: block;
      }
    }
    .body {
      padding: 2rem 0;
      
      .flex:not(.items1):not(.items2) {
        flex-flow: column nowrap;
      }
      
      .text {
        width: 100%;
      }
      .value {
        width: 100%;
        margin-top: 1rem;
        
        .items1 {
          gap: 1rem;
          
          .item {
            border-radius: 1.2rem;
            padding: 1.3rem .5rem;
            
            dt {
              font-size: 1.4rem;
            }
            dd {
              font-size: 2rem;
            }
            sup {
              font-size: 1rem;
            }
          }
        }
        .kome {
          font-size: 1.3rem;
          margin: 1rem 0;
          text-align: left;
        }
        .items2 {
          gap: 1rem;
          
          .item {
            width: calc(50% - .5rem);
            border-radius: 1.2rem;
            padding: 1rem .5rem;
            
            dt {
              font-size: 1.5rem;
            }
            dd {
              font-size: 1.5rem;
              
              span {
                font-size: 2rem;
              }
            }
            p {
              font-size: 1.3rem;
              margin-top: .5rem;
            }
          }
        }
      }
    }
  }
  .kadokawa {
    padding: 2rem 0;
    
    h2 {
      font-size: 1.5rem;
      margin-bottom: 2rem;
    }
    .flex {
      flex-flow: column nowrap;
      gap: 1rem;
      
      .image {
        width: 17rem;
      }
      .text {
        width: 100%;
      }
    }
  }
  #CTA {
    
    &::before {
      content: none;
    }
    &::after {
      content: none;
    }
    
    .btn {
      width: 100%;
    }
  }
  #CTA.bottom {
    bottom: 94px;
  }
}

} /*@*/


/* video modal */

.video-card-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  overflow: hidden;
}

.video-card-button:focus-visible {
  outline: 3px solid rgba(31, 40, 111, 0.8);
  outline-offset: 2px;
}
img.video-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 41, 0.1) 0%, rgba(10, 16, 41, 0.35) 100%);
  transition: background 0.4s ease;
}

.video-card-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: rgba(31, 40, 111, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-card-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.video-card-button:hover .video-card-thumb,
.video-card-button:focus-visible .video-card-thumb {
  transform: scale(1.05);
}

.video-card-button:hover .video-card-overlay,
.video-card-button:focus-visible .video-card-overlay {
  background: linear-gradient(180deg, rgba(10, 16, 41, 0.2) 0%, rgba(10, 16, 41, 0.55) 100%);
}

.video-card-button:hover .video-card-play,
.video-card-button:focus-visible .video-card-play {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: rgba(241, 64, 148, 0.9);
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 16, 41, 0.65);
  backdrop-filter: blur(2px);
}

.video-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  background-color: #040617;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 48px rgba(10, 16, 41, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-modal__title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: transparent;
}

.video-modal__close::before,
.video-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

.video-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.video-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video-modal__close:focus-visible {
  outline: 3px solid rgba(255, 224, 3, 0.85);
  outline-offset: 4px;
}

.video-modal__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.video-modal__content {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
}

.video-modal__content iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

body.video-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .video-modal {
    padding: 24px;
  }

  .video-modal__dialog {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .video-modal__title {
    font-size: 1.125rem;
    text-align: center;
    padding-right: 40px;
  }

  .video-modal__close {
    top: 12px;
    right: 12px;
  }
}

@media screen and (max-width: 480px) {
  .video-modal {
    padding: 16px;
  }

  .video-modal__dialog {
    padding: 20px 12px;
  }

  .video-modal__title {
    font-size: 1rem;
  }

  .video-modal__close {
    width: 36px;
    height: 36px;
  }

  .video-card-play {
    width: 56px;
    height: 56px;
  }

  .video-card-play::before {
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }
}

