/*
Theme Name: 佐賀さいこうフェス
Description: 佐賀さいこうフェス公式サイト用WordPressテーマ
Version: 1.0
*/

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans CJK JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

.only-pc {
  display: block;

  @media (max-width: 768px) {
    display: none;
  }
}

.only-sp {
  display: none;

  @media (max-width: 768px) {
    display: block;
  }
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
}

.header-top {
  background: #000;
  color: #fff;
  height: 60px;
  padding-left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media (max-width: 768px) {
    height: 56px;
  }

  .header-brand {
    position: relative;
    z-index: 1;
    img {
      height: 17px;
      width: auto;

      @media (max-width: 768px) {
        height: 14px;
      }
    }
  }

  .menu-button {
    position: fixed;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
  }

  .header-nav {
    display: flex;

    @media (max-width: 768px) {
      /* display: none; */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #000;
      flex-direction: column;
      padding: 100px 20px;
      gap: 16px;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }

    &.active {
      @media (max-width: 768px) {
        opacity: 1;
        pointer-events: auto;
      }
    }

    .nav-item {
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 220px;
      text-align: center;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.78px;
      background: #000;
      color: #fff;
      border-left: 1px solid #fff;

      @media screen and (max-width: 768px) {
        height: auto;
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #fff;

        path {
          fill: #fff;
        }
      }

      a {
        text-decoration: none;
        color: inherit;

        @media screen and (max-width: 768px) {
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          padding: 16px 0;
        }
      }
    }

    .nav-item.active {
      background: #ffee00;
      color: #000;

      @media screen and (max-width: 768px) {
        background: #000;
        color: #ffee00;
        border-bottom: 1px solid #ffee00;

        path {
          fill: #ffee00;
        }
      }
    }
  }
}

.header-main {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  height: 56px;
  overflow: auto;
  z-index: 2;

  @media (max-width: 768px) {
    top: 56px;
  }

  .main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    white-space: nowrap;

    ul {
      display: flex;
      list-style: none;
      gap: 32px;
    }

    .nav-item {
      a {
        position: relative;
        font-size: 14px;
        font-weight: 500;
        color: #000;
        text-decoration: none;
        letter-spacing: 0.84px;
        padding: 13px 0;
        border-bottom: 4px solid transparent;
        transition: all 0.3s ease;

        span {
          position: relative;
        }
      }

      a::before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        width: 0;
        height: 4px;
        background-color: #FFEE00;
        transition: width 0.3s ease, left 0.3s ease;
      }

      &.active a::before {
        left: 0;
        width: 100%;
      }

      &:hover a::before {
        left: 0;
        width: 100%;
      }
    }
  }

  .copyright {
    position: fixed;
    bottom: 8px;
    right: 10px;

    img {
      width: 13px;
      height: auto;
    }
  }
}

/* Main Content */
.site-main {
  margin-top: 116px;
}

.top-hero {
  overflow: hidden;

  @media screen and (max-width: 768px) {
    margin-bottom: 44px;
  }

  .top-hero-logo {
    position: relative;
    text-align: center;
    z-index: 1;
    img {
      width: 1101px;
      margin: auto;

      @media (max-width: 768px) {
        width: 327px;
      }
    }
  }
}

.top-hero-gallery {
  position: relative;
  height: 500px;
  margin-top: -17px;

  @media (max-width: 768px) {
    height: 320px;
    margin-top: 16px;
  }

  .top-hero-gallery-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    
    .top-hero-gallery-container {
      display: flex;
      gap: 33px;
      padding: 0 15px;

      @media screen and (max-width: 768px) {
        gap: 20px;
      }
    }

    .gallery-items {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .gallery-items {
        flex-direction: row;
      }
    }

    .gallery-item {
      flex-shrink: 0;
      position: relative;

      .mask-1 {
        -webkit-mask-image: url('../img/10th/mask-1.svg');
        mask-image: url('../img/10th/mask-1.svg');
      }

      .mask-2 {
        -webkit-mask-image: url('../img/10th/mask-2.svg');
        mask-image: url('../img/10th/mask-2.svg');
      }

      .mask-3 {
        -webkit-mask-image: url('../img/10th/mask-3.svg');
        mask-image: url('../img/10th/mask-3.svg');
      }

      .mask-4 {
        -webkit-mask-image: url('../img/10th/mask-4.svg');
        mask-image: url('../img/10th/mask-4.svg');
      }

      .mask-5 {
        -webkit-mask-image: url('../img/10th/mask-5.svg');
        mask-image: url('../img/10th/mask-5.svg');
      }

      .mask-6 {
        -webkit-mask-image: url('../img/10th/mask-6.svg');
        mask-image: url('../img/10th/mask-6.svg');
      }

      .mask-7 {
        -webkit-mask-image: url('../img/10th/mask-7.svg');
        mask-image: url('../img/10th/mask-7.svg');
      }

      .mask-8 {
        -webkit-mask-image: url('../img/10th/mask-8.svg');
        mask-image: url('../img/10th/mask-8.svg');
      }

      .mask-9 {
        -webkit-mask-image: url('../img/10th/mask-9.svg');
        mask-image: url('../img/10th/mask-9.svg');
      }

      .mask-10 {
        -webkit-mask-image: url('../img/10th/mask-10.svg');
        mask-image: url('../img/10th/mask-10.svg');
      }

      .mask-11 {
        -webkit-mask-image: url('../img/10th/mask-11.svg');
        mask-image: url('../img/10th/mask-11.svg');
      }
    }

    .mask-container {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
    }

    .parallax-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 120%;
      /* パララックス効果のため少し大きく */
      transform: translateY(0);
      /* transition: transform 0.2s ease-out; */
    }

    .parallax-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.2s ease-out;
      opacity: 0;
    }

    .mask-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }
  }

  .top-hero-gallery-wrapper-1 {
    .gallery-item-1,
    .gallery-item-5 {
      width: 500px;
      height: 500px;

      @media (max-width: 768px) {
        width: 320px;
        height: 320px;
      }
    }

    .gallery-item-4 {
      width: 233px;
      height: 500px;

      @media (max-width: 768px) {
        width: 150px;
        height: 320px;
      }
    }

    .gallery-item-2,
    .gallery-item-3 {
      width: 233px;
      height: 233px;

      @media (max-width: 768px) {
        width: 150px;
        height: 150px;
      }
    }
  }

  .top-hero-gallery-wrapper-2 {
    .gallery-item-1 {
      width: 500px;
      height: 233px;

      @media (max-width: 768px) {
        width: 320px;
        height: 150px;
      }
    }
    
    .gallery-item-4,
    .gallery-item-5 {
      width: 500px;
      height: 500px;

      @media (max-width: 768px) {
        width: 320px;
        height: 320px;
      }
    }

    .gallery-item-2,
    .gallery-item-3 {
      width: 233px;
      height: 233px;

      @media (max-width: 768px) {
        width: 150px;
        height: 150px;
      }
    }
  }

  .top-hero-gallery-wrapper-3 {
    .gallery-item-3,
    .gallery-item-6 {
      width: 500px;
      height: 500px;

      @media (max-width: 768px) {
        width: 320px;
        height: 320px;
      }
    }

    .gallery-item-1,
    .gallery-item-2,
    .gallery-item-4,
    .gallery-item-5 {
      width: 233px;
      height: 233px;

      @media (max-width: 768px) {
        width: 150px;
        height: 150px;
      }
    }
  }
}

.js-loop {
  overflow: hidden;

  .js-loop-wrapper {
    display: flex;
    width: 100%;
    will-change: transform;
  }
}

/* Hero Section */
.hero-section {
  position: relative;

  .hero-content {
    img {
      width: 100%;
      height: auto;
    }
  }
}

/* Section Styles */
.section-title {
  text-align: center;

  img {
    max-width: 100%;
    height: auto;
  }
}

.about-section#main {
  padding: 0;

  .about-gallery {
    margin: 0;
  }
}

/* About Section */
.about-section {
  padding: 120px 0;
  background: #fff;

  @media (max-width: 768px) {
    padding: 76px 0;
  }

  .section-title {
    text-align: center;
    margin-bottom: 73px;

    @media (max-width: 768px) {
      margin-bottom: 50px;
    }

    img {
      width: 443px;

      @media (max-width: 768px) {
        width: 251px;
      }
    }
  }

  .about-content {
    text-align: center;

    h3 {
      margin-bottom: 40px;
      font-weight: bold;
      font-size: 24px;
      line-height: 1.6;
    }

    p {
      font-size: 20px;
      line-height: 2;
      letter-spacing: 1.2px;

      @media (max-width: 768px) {
        font-size: 15px;
        letter-spacing: 0.5px;
      }
    }

  }

  .about-gallery {
    display: flex;
    gap: 30px;
    margin: 80px auto 0;
    flex-shrink: 0;
    padding: 0 15px;

    @media screen and (max-width: 768px) {
      margin-top: 54px;
      gap: 20px;
    }

    .gallery-items {
      display: flex;
      flex-direction: column;
      gap: 30px;

      @media screen and (max-width: 768px) {
        gap: 20px;
      }
    }

    .gallery-item {
      flex-shrink: 0;
      position: relative;

      .mask-container {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
      }

      .mask-1 {
        -webkit-mask-image: url('../img/10th/mask-1.svg');
        mask-image: url('../img/10th/mask-1.svg');
      }

      .mask-2 {
        -webkit-mask-image: url('../img/10th/mask-2.svg');
        mask-image: url('../img/10th/mask-2.svg');
      }

      .mask-3 {
        -webkit-mask-image: url('../img/10th/mask-3.svg');
        mask-image: url('../img/10th/mask-3.svg');
      }

      .mask-4 {
        -webkit-mask-image: url('../img/10th/mask-4.svg');
        mask-image: url('../img/10th/mask-4.svg');
      }

      .mask-5 {
        -webkit-mask-image: url('../img/10th/mask-5.svg');
        mask-image: url('../img/10th/mask-5.svg');
      }

      .mask-6 {
        -webkit-mask-image: url('../img/10th/mask-6.svg');
        mask-image: url('../img/10th/mask-6.svg');
      }

      .mask-7 {
        -webkit-mask-image: url('../img/10th/mask-7.svg');
        mask-image: url('../img/10th/mask-7.svg');
      }

      .mask-8 {
        -webkit-mask-image: url('../img/10th/mask-8.svg');
        mask-image: url('../img/10th/mask-8.svg');
      }

      .parallax-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* パララックス効果のため少し大きく */
        transform: translateY(0);
        transition: transform 0.2s ease-out;
      }

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

      .mask-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
      }
    }

    .gallery-item-1,
    .gallery-item-4,
    .gallery-item-7 {
      width: 450px;
      height: 450px;

      @media (max-width: 768px) {
        width: 300px;
        height: 300px;
      }
    }

    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-5,
    .gallery-item-6,
    .gallery-item-8 {
      width: 210px;
      height: 210px;

      @media (max-width: 768px) {
        width: 140px;
        height: 140px;
      }
    }

  }
}

.news-section#news {
  background: rgba(242, 255, 0, 0.2);

  .btn::before {
    background: #FCFFCC;
  }
}

/* News Section */
.news-section {
  padding: 80px 60px;

  @media (max-width: 768px) {
    padding: 64px 20px;
  }

  .section-title {
    margin-bottom: 80px;

    @media screen and (max-width: 768px) {
      margin-bottom: 46px;
    }

    img {
      width: 311px;

      @media (max-width: 768px) {
        width: 176px;
      }
    }
  }

  .news-list {
    max-width: 1160px;
    margin: 0 auto;
  }

  .news-item {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 40px;
    border-bottom: 1px solid #000;
    color: #000;

    @media (max-width: 768px) {
      align-items: flex-start;
      flex-direction: column;
      gap: 18px;
      padding-bottom: 16px;
      margin-bottom: 16px;
    }

    &:first-child {
      border-top: 1px solid #000;

      @media (max-width: 768px) {
        border-top: none;
      }
    }

    .news-image {
      display: flex;
      width: 240px;
      flex-shrink: 0;

      @media (max-width: 768px) {
        width: 100%;
      }

      img {
        width: 100%;
        height: auto;
      }
    }

    .news-content {
      flex: 1;
    }

    .news-date {
      display: block;
      font-family: 'Noto Serif JP', serif;
      font-size: 16px;
      font-weight: 300;
      color: #000;
      margin-bottom: 6px;

      @media (max-width: 768px) {
        margin-bottom: 2px;
      }
    }

    .news-title {
      font-size: 24px;
      line-height: 1.6;

      @media (max-width: 768px) {
        font-size: 16px;
      }
    }
  }

  .news-more {
    display: flex;
    justify-content: center;
    margin-top: 73px;

    @media (max-width: 768px) {
      margin-top: 65px;
    }
  }
}

.btns {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 375px;
  padding: 19px 30px;
  border: 1px solid #000;
  border-radius: 0 0 20px 0;
  color: #000;
  background: white;

  @media screen and (max-width: 768px) {
    width: 100%;
  }

  &::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-top: 1px solid #FCFFCC;
    border-left: 1px solid #FCFFCC;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    z-index: 1;
  }
}

/* Overview Section */
.overview-section--bg-yellow {
  background: rgba(242, 255, 0, 0.2) !important;
}

.overview-section#entry {
  .section-title {
    img {
      width: 802px;
      margin: auto;

      @media (max-width: 768px) {
        width: 221px;
      }
    }
  }
}

.overview-section {
  padding: 80px 60px 120px;
  background: #fff;

  @media (max-width: 768px) {
    padding: 64px 20px;
  }

  .section-title {
    margin-bottom: 16px;

    @media (max-width: 768px) {
      margin-bottom: 9px;
    }

    img {
      width: 546px;

      @media (max-width: 768px) {
        width: 259px;
      }
    }
  }

  .overview-subtitle {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 80px;
    letter-spacing: 1.2px;

    @media (max-width: 768px) {
      margin-bottom: 56px;
      font-size: 18px;
    }
  }

  .overview-table {
    max-width: 1160px;
    margin: 0 auto;

    .table-row {
      display: flex;
      padding: 24px 0;
      border-bottom: 1px solid #000;

      @media (max-width: 768px) {
        padding: 19px 0;
        flex-direction: column;
      }

      &:first-child {
        border-top: 1px solid #000;
      }

      .table-label {
        width: 196px;
        font-family: 'Noto Serif JP', serif;
        font-size: 16px;
        font-weight: 600;
        color: #000;
        flex-shrink: 0;

        h3 {
          @media (max-width: 768px) {
            font-size: 24px;
            margin-bottom: 8px;
          }
        }

        @media (max-width: 768px) {
          width: 100%;
          margin-bottom: 1px;
        }
      }

      .table-content {
        flex: 1;
        font-size: 16px;
        font-weight: 400;
        color: #000;
        line-height: 1.6;
        letter-spacing: 0.4px;

        a {
          color: #000;
          text-decoration: underline;
        }

        .download-links {
          display: flex;
          flex-direction: column;
        }

        .download-link,
        .email-link  {
          display: inline-flex;
          align-items: center;
          margin-top: 16px;
          gap: 12px;
          color: #000;
          background: rgba(255, 238, 0, 0.3);

          span {
            text-decoration: underline;
          }
        }

        strong {
          background: rgba(255, 238, 0, 0.3);
        }

        small {
          color: #999999;
          font-size: 12px;
        }

        ul {
          li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 16px;

            &:last-child {
              margin-bottom: 0;
            }

            &::before {
              content: '';
              position: absolute;
              left: 0;
              top: 8px;
              width: 8px;
              height: 8px;
              background-color: #FFEE00;
              border-radius: 50%;
            }
          }
        }

        ol {
          li {
            margin-bottom: 19px;
            position: relative;
            padding-left: 24px;
            counter-increment: item;

            &:last-child {
              margin-bottom: 0;
            }

            &::before {
              content: "①";
              margin-left: -24px;
              position: absolute;
            }

            &:nth-child(2)::before { content: "②"; }
            &:nth-child(3)::before { content: "③"; }
            &:nth-child(4)::before { content: "④"; }
            &:nth-child(5)::before { content: "⑤"; }
            &:nth-child(6)::before { content: "⑥"; }
            &:nth-child(7)::before { content: "⑦"; }
            &:nth-child(8)::before { content: "⑧"; }
            &:nth-child(9)::before { content: "⑨"; }
            &:nth-child(10)::before { content: "⑩"; }
          }
        }

        .prize-list {
          margin-top: 18px;
          line-height: 2;
        }

        b {
          font-weight: bold;
        }

        dl {
          margin-bottom: 17px;

          &:last-child {
            margin-bottom: 0;
          }

          dt {
            font-weight: bold;
            font-size: 20px;
          }
        }
      }
    }
  }
}

.exhibition-hero-section {
  position: relative;
  height: calc(100vh - 116px);

  .hero-flyer {
    position: absolute;
    bottom: 0;
    left: 60px;
    transition: opacity 0.3s ease;
    
    &:hover {
      opacity: 0.6;
    }

    @media screen and (max-width: 768px) {
      left: 20px;
    }
    
    a {
      display: flex;

      img {
        width: 120px;

        @media screen and (max-width: 768px) {
          width: 96px;
        }
      }
    }
  }

  .hero-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    img {
      width: 1091px;
      height: auto;

      @media (max-width: 768px) {
        width: 335px;
      }
    }
  }

  .hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 58px;

    .hero-images-content {
      position: relative;
      height: 100%;
      overflow: hidden;

      img {
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        height: 100%;
      }


      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
      }
    }
  }
}

/* Footer */
.site-footer {
  background: #000;
  padding: 48px 60px;
  color: #fff;

  @media (max-width: 768px) {
    padding: 48px 20px;
  }

  .footer-logo {
    width: 374px;
    height: auto;
    margin-bottom: 65px;

    img {
      width: 100%;
      height: auto;
    }

    @media (max-width: 768px) {
      width: 277px;
    }
  }

  .contact-info {
    line-height: 2;
    letter-spacing: 1.28px;

    @media (max-width: 768px) {
      font-size: 14px;
    }
  }

  .contact-label {
    font-weight: 300;
  }
}

.contact-section {
  background: rgba(242, 255, 0, 0.2);
  padding: 63px 0 121px;

  .section-title {
    margin-bottom: 7px;

    @media (max-width: 768px) {
      margin-bottom: 9px;
    }

    img {
      width: 414px;

      @media (max-width: 768px) {
        width: 259px;
      }
    }
  }

  .contact-subtitle {
    text-align: center;
    letter-spacing: 1px;
  }

  .contact-content {
    text-align: center;
    margin-top: 34px;

    h3 {
      margin-bottom: 8px;
      font-size: 24px;
      font-weight: bold;
      letter-spacing: 1.7px;

      @media (max-width: 768px) {
        font-size: 20px;
      }
    }

    p {
      letter-spacing: 0.5px;
    }
  }

  .contact-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
    padding: 0 20px;

    @media (max-width: 768px) {
      flex-direction: column;
      gap: 24px;
    }
  }
}

.p-article-10th__header {
  position: relative;
  padding-top: 60px;
  overflow: hidden;

  .p-article-10th__header-loop {
    height: 305px;

    @media screen and (max-width: 768px) {
      height: 274px;
    }

    .js-loop-wrapper {
      height: 100%;
    }

    img {
      width: auto;
      height: 100%;
    }
  }

  .wrapper {
    position: relative;
  }

  .p-article-10th__head {
    position: absolute;
    top: 117px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;

    @media screen and (max-width: 768px) {
      top: 107px;
    }

    img {
      width: 311px;

      @media screen and (max-width: 768px) {
        width: 178px;
      }
    }

    p {
      margin-top: 7px;
      font-size: 20px;
    }
  }

  .p-article-10th__breadcrumb {
    position: absolute;
    top: 13px;
    left: 60px;
    overflow: auto;
    white-space: nowrap;
    width: 100%;

    @media screen and (max-width: 768px) {
      top: 9px;
      left: 20px;
    }

    .p-article-10th__breadcrumb-nav {
      display: flex;
      gap: 8px;
      a, span {
        font-size: 10px;
        font-weight: 500;
      }

      a::after {
        margin-left: 8px;
        content: "▶";
        color: #000;
      }
    }
  }
  
  .container {
    position: relative;
    max-width: 964px;
    margin: -154px auto 0;

    @media screen and (max-width: 768px) {
      margin: -169px 0 0;
    }
  }

  .p-article-10th__date {
    margin-bottom: 16px;
    font-family: "Noto Serif JP", serif;

    @media screen and (max-width: 768px) {
      padding: 0 20px;
    }
  }

  .p-article-10th__title {
    margin-bottom: 48px;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 1.6px;

    @media screen and (max-width: 768px) {
      margin-bottom: 39px;
      padding: 0 20px;
      font-size: 32px;
    }
  }

  .p-article-10th__thumbnail {

    @media screen and (max-width: 768px) {
      padding-right: 20px;
    }

    img {
      width: 100%;
      height: auto;
      max-width: 100%;
    }
  }
}

.p-article-10th {
  max-width: 964px;
  padding-bottom: 120px;
  font-feature-settings: "palt";
  margin: auto;

  @media screen and (max-width: 768px) {
    padding: 0 20px 120px;
  }

  h1, h2 {
    margin: 91px 0 40px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 4px;

    @media screen and (max-width: 768px) {
      margin: 68px 0 32px;
      font-size: 24px;
      letter-spacing: 1px;
    }
  }

  h3 {
    margin: 56px 0 40px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 3.2px;

    @media screen and (max-width: 768px) {
      margin: 48px 0 32px;
      font-size: 20px;
      letter-spacing: 1px;
    }
  }

  p {
    margin: 40px 0;
    font-size: 20px;
    line-height: 1.8;
    letter-spacing: 1px;
    letter-spacing: 2px;

    @media screen and (max-width: 768px) {
      font-size: 16px;
      letter-spacing: 1px;
      margin: 32px 0;
    }
  }

  a {
    text-decoration: underline;
    color: #000;
    letter-spacing: 3px;
  }

  .aligncenter {
    text-align: center;
  }

  .alignright {
    text-align: right;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  figcaption {
    font-size: 12px;
    color: #999999;
    letter-spacing: 2px;
  }

  strong {
    font-weight: bold;
  }

  ul {
    margin: 40px 0;
    @media screen and (max-width: 768px) {
      margin: 32px 0;
    }
    li {
      margin-bottom: 8px;
      position: relative;
      padding-left: 16px;
      font-size: 20px;
      letter-spacing: 2px;

      @media screen and (max-width: 768px) {
        margin-bottom: 19px;
        font-size: 16px;
        letter-spacing: 1px;
      }

      &:last-child {
        margin-bottom: 0;
      }

      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 8px;
        height: 8px;
        background-color: #FFEE00;
        border-radius: 50%;
      }
    }
  }

  ol {
    margin: 40px 0;
    @media screen and (max-width: 768px) {
      margin: 32px 0;
    }
    li {
      margin-bottom: 19px;
      position: relative;
      padding-left: 24px;
      counter-increment: item;
      font-size: 20px;
      letter-spacing: 2px;

      @media screen and (max-width: 768px) {
        margin-bottom: 19px;
        font-size: 16px;
        letter-spacing: 1px;
      }

      &:last-child {
        margin-bottom: 0;
      }

      &::before {
        content: "①";
        margin-left: -24px;
        position: absolute;
      }

      &:nth-child(2)::before { content: "②"; }
      &:nth-child(3)::before { content: "③"; }
      &:nth-child(4)::before { content: "④"; }
      &:nth-child(5)::before { content: "⑤"; }
      &:nth-child(6)::before { content: "⑥"; }
      &:nth-child(7)::before { content: "⑦"; }
      &:nth-child(8)::before { content: "⑧"; }
      &:nth-child(9)::before { content: "⑨"; }
      &:nth-child(10)::before { content: "⑩"; }
    }
  }

  .p-article-10th__button {
    margin-top: 120px;
    display: flex;
    justify-content: center;

    .btn {
      text-decoration: none;
    }

    .btn::before {
      background: white;
    }
  }
}
