.evt {
  box-sizing: border-box;
  padding: 10rem 2rem;

  @media screen and (max-width: 561px) {
    row-gap: 4rem;
  }

  .evt-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 6rem;
    overflow: auto;
  }

  .evt-ttl1 {
    font-family: 'mymintyou';
    font-size: 3.2rem;
    text-align: center;
    letter-spacing: 1px;

    @media screen and (max-width: 561px) {
      font-size: 25px;
      line-height: 1.5;
    }
  }

  .evt-ttl2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #000;

    >small {
      font-size: 2rem;
      line-height: 1;
    }

    >span {
      display: flex;
      flex-direction: column;
      text-align: center;

      >strong {
        > i {
          font-size: 6rem;
          font-weight: bold;
          font-style: normal;
        }

        >small {
          font-weight: bold;
          font-size: 4rem;
        }
      }

      >b {
        font-weight: bold;
        font-size: 2rem;
      }
    }
  }

  .evt-txt1 {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 1px;
    line-height: 2;

    @media screen and (max-width: 561px) {
      font-size: 12px;
    }
  }

  .evt-icons {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    column-gap: 5rem;
    padding: 2rem 4rem;
    border-top: solid 1px #D3D3D3;
    border-bottom: solid 1px #D3D3D3;
    box-sizing: border-box;

    @media screen and (max-width: 1100px) {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    @media screen and (max-width: 561px) {
      padding: 3rem 0;
      gap: 3rem;
    }

    >span,
    >i {
      display: flex;
      column-gap: 1.5rem;
      font-size: 1.8rem;
      line-height: 1.2;
      align-items: center;

      &::before {
        content: '';
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
      }
    }

    >span:first-of-type::before {
      background-image: url('/img/evt/icons/01.svg');
      width: 4rem;
      height: 3.5rem;
    }

    >span:nth-of-type(2)::before {
      background-image: url('/img/evt/icons/02.svg');
      width: 2.6rem;
      height: 4.7rem;
    }

    >span:nth-of-type(3),
    >span:last-of-type {
      border-radius: 8px;
      padding: 2rem;
      font-weight: bold;
    }

    >span:nth-of-type(3) {
      background-color: #FFE5CD;
      color: #DA7218;

      &::before {
        background-image: url('/img/evt/icons/03.svg');
        width: 4.1rem;
        height: 4.5rem;
      }
    }

    >span:last-of-type {
      background-color: #DAF1E4;
      color: #53A16A;

      &::before {
        background-image: url('/img/evt/icons/04.svg');
        width: 1.5rem;
        height: 4.2rem;
      }
    }

    >i:first-of-type::before {
      background-image: url('/img/evt/icons/05.svg');
      width: 3.8rem;
      height: 3rem;
    }

    >i:last-of-type::before {
      background-image: url('/img/evt/icons/06.svg');
      width: 2.6rem;
      height: 4rem;
    }
  }

  .evt-cal {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    
    .evt-cal-inner {
      display: flex;
      flex-direction: column;
      row-gap: 5rem;
    }

    .slick-arrow {
      cursor: pointer;
      display: flex;
      align-items: center;
      column-gap: 1rem;
      position: absolute;
      top: 5rem;
      left: 1rem;
      border: none;
      background-color: #fff;
      color: #fff;
      z-index: 1;
      font-size: 2rem;

      &::before {
        content: '';
        width: 2.5rem;
        height: 2.5rem;
        border: 5px solid #000;
        border-right: none;
        border-bottom: none;
        transform: rotate(-45deg);
        background-color: #fff;
      }
    }
    .slick-next {
      right: 1rem;
      left: auto;
      flex-direction: row-reverse;
      &::before {
        transform: rotate(135deg);
      }
    }

    .evt-cal-cont {
      @media screen and (max-width: 561px) {
        overflow: auto;
      }
      >table {
        font-size: 1.6rem;
        table-layout: fixed;
        width: 100%;

        @media screen and (max-width: 561px) {
          width: 250%;
          font-size: 12px;
        }

        th,
        td {
          &:first-of-type {
            color: #B90000;
          }

          &:last-of-type {
            color: #0770B8;
          }
        }

        th {
          padding-bottom: 2rem;
        }

        td {
          border: solid 1px #ACACAC;
          padding: 1rem;
          box-sizing: border-box;
          height: 13rem;
          position: relative;

          &::before {
            content: attr(data-day);
            font-size: 2.2rem;
            line-height: 0;
          }

          &.res:has(span)>span::before {
            width: 3rem;
            height: 2.6rem;
            background-image: url('/img/evt/icons/01.svg');
          }

          &.wint:has(span)>span::after {
            width: 2rem;
            height: 3.6rem;
            background-image: url('/img/evt/icons/02.svg');
          }

          &.tomo:has(span)>span::before {
            width: 3.4rem;
            height: 2.7rem;
            background-image: url('/img/evt/icons/05.svg');
          }

          &.kiyo:has(span)>span::after {
            width: 2.4rem;
            height: 3.7rem;
            background-image: url('/img/evt/icons/06.svg');
          }

          &.empday {
            color: #ACACAC;
            background-color: #f5f5f5;
          }

          &::after {
            display: flex;
            column-gap: 5px;
            font-size: 10px;
            padding: 5px 5px 5px 25px;
            font-weight: bold;
            box-sizing: border-box;
            align-items: center;
            bottom: 1rem;
            position: absolute;
            right: 0;
            left: 0;
            width: 90%;
            margin: 0 auto;

            @media screen and (max-width: 561px) {
              padding: 1px 1px 1px 25px;
            }
          }

          &.off::after {
            content: 'オフシーズン';
            background: url('/img/evt/icons/04.svg') no-repeat 8px center / 5px 14px;
            background-color: #DAF1E4;
            color: #53A16A;
          }

          &.high::after {
            content: 'ハイシーズン';
            background: url('/img/evt/icons/03.svg') no-repeat 8px center / 13px 14px;
            background-color: #FFE5CD;
            color: #DA7218;
          }


          >span {
            display: flex;
            justify-content: center;
            align-items: center;
            column-gap: 1rem;
            height: 6rem;

            &::before,
            &::after {
              content: '';
              background-repeat: no-repeat;
              background-position: center;
              background-size: contain;
            }
          }
        }
      }
    }
  }
}