/*
Theme Name:Neve child
Template: neve
*/

:root {
  --color-gray: #dadada;
  --color-red: #c61717;
}

body {
  margin-top: 120px !important; /*ヘッダーと同じ高さのマージンを追加*/
  @media screen and (max-width: 768px) {
    margin-top: 60px !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
.header .builder-item {
  margin: 0;
  padding: 0;
}

.top-news-posts {
}

.top-news-post {
}

.top-news-post__card {
}

.top-news-post__text {
  margin-bottom: 0;
  margin-top: 20px;
  /* padding: 0 30px; */
}

.top-news-post__title {
  margin-bottom: 25px;
  font-size: 21px;
}

.top-news-post__excerpt {
  margin-bottom: 0.5em;
  line-height: 1.7;
  a {
    display: none;
  }
  p {
    color: #777;
    font-size: 14px;
    line-height: 1.5em;
    margin: 0;
  }
}

.top-news-post__read-more {
  color: var(--color-red);
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1em;
}

.top-news-post__meta-data {
  border-top: 1px solid #eaeaea;
  margin-bottom: 0;
  padding: 0.5em 0 1em;
}

.top-news-post-date {
  color: #adadad;
  font-size: 12px;
  line-height: 1.3em;
}

/* ----------------------------------------
レイアウト
-----------------------------------------*/
.container01 {
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;
}
.lower-header__title {
  text-align: center;
  padding: 8vw 0;
  margin-bottom: 0;
  color: #fff;
  background: url(http://sanjocraft.com/wp/wp-content/uploads/2025/09/DSC02688-scaled.jpg)
    no-repeat center top / 100% auto;
}

/* ----------------------------------------
出展者一覧
-----------------------------------------*/
.page-exhibitors {
  .genre-index {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8em;
    a {
      display: inline-block;
      color: #fff;
      background-color: var(--color-red);
      padding: 0.5em 1em;
      /* border-radius: 50px; */
      line-height: 1;
      font-size: 14px;
      font-weight: bold;
      &:hover {
        color: #fff;
      }
    }
  }
  .category-title {
    font-size: 30px;
    border-bottom: 3px solid #c61313;
    padding: 3em 0 0.2em;
    text-align: center;
  }
  .exhibitors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 50px;
    }
  }
  .exhibitors-list__item {
    flex-basis: calc(25% - 15px);
    font-size: 12px;
    .image-box {
      position: relative;
      .genre {
        position: absolute;
        top: 0;
        left: 0;
        padding: 5px;
        background-color: var(--color-gray);
        font-size: 10px;
        line-height: 1;
        font-weight: bold;
      }
      img {
        vertical-align: middle;
        aspect-ratio: 3 / 2;
        object-fit: cover;
      }
    }
    .name-box {
      margin-bottom: 15px;
    }
    .name {
      margin-top: 0.5em;
      font-size: 20px;
      font-weight: bold;
    }

    .atelier {
    }
    .detail-box {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5em;
    }

    .prefectures {
    }
    .workshop {
      display: inline-block;
      background-color: var(--color-gray);
      padding: 0.4em;
      line-height: 1;
    }

    .insta {
      display: flex;
      align-items: center;
      gap: 0.3em;
      &::before {
        display: block;
        content: "";
        background: url(images/icon-insta.png) no-repeat center / contain;
        width: 1.3em;
        height: 1.3em;
      }
    }

    .other-url {
      display: flex;
      align-items: center;
      gap: 0.3em;
      &::before {
        display: block;
        content: "";
        background: url(images/icon-web.png) no-repeat center / contain;
        width: 1.3em;
        height: 1.3em;
      }
    }
    .message {
    }

    .booth {
      margin-top: 0.3em;
      display: inline-flex;
      align-items: center;
      gap: 0.3em;
      color: #fff;
      font-weight: bold;
      line-height: 1;
      letter-spacing: 0.1em;
      padding: 0.5em;
      &::before {
        display: block;
        content: "";
        background: url(images/icon-map.png) no-repeat center / contain;
        width: 1em;
        height: 1em;
      }
      background-color: var(--color-red);
    }
  }
}
