@charset "UTF-8";

/*
 Theme Name: ひらた地域ファンづくり協議会Webサイト-テーマテンプレート
 Version: 1.0
*/

/*====================
  Common
====================*/

:root {
  --font-family-base: "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", "MS PGothic", "Roboto", "Droid Sans", sans-serif;
  --font-family-mincho: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "Meiryo", "MS PMincho", "Times New Roman", serif;
  --font-size-base: 1.6rem;
  --font-wight-base: 500;

  --color-primary: #42210b;
  --color-secondary: #ffa20d;
  --color-accent: #c1272d;
  --color-text: #000;

  --color-cate-news: #000;
  --color-cate-feature: #915da3;

  --background-color1: rgba(255, 162, 13, .42);
  --background-color2: rgba(66, 33, 11, .05);

  --max-width-container: 1535px;

  @media (max-width: 1280px) {
    --max-width-container: 1080px;
  }

  --hover-duration: .3s;
}

html {
  font-size: 10px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family-base);
  font-weight: var(--font-wight-base);
  font-size: var(--font-size-base);
  color: var(--color-primary);
  letter-spacing: 1px;
  position: relative;
  overflow-x: hidden;
}

a {
  text-decoration: none;

  &:hover {
    opacity: 0.7;
    transition: all .3s;

    @media (max-width: 800px) {
      opacity: 1;
      text-decoration: none;
    }
  }
}

@media (min-width: 801px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 800px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 601px) {
  .sp-only--600 {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .pc-only--600 {
    display: none !important;
  }
}

.img-none {
  display: block;
  border: 1px solid #f1f1f1;
}

/** フォント設定 **/
.f-mincho {
  font-family: var(--font-family-mincho);
  font-style: normal;
}

/** フォームリセット **/
input,
button,
textarea,
submit {
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.breadcrumbs {
  max-width: var(--max-width-container);
  margin-inline: auto;
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  column-gap: 15px;
  flex-wrap: wrap;

  @media (max-width: 800px) {
    padding-inline: 20px;
  }

  a {
    color: var(--base-color);
  }
}

/* 見出し設定 */
.top-ttl,
.page-ttl {
  margin-bottom: 45px;

  @media (max-width: 600px) {
    margin-bottom: 30px;
  }

  .top-ttl--eg,
  .page-ttl--eg {
    color: var(--color-secondary);
    font-size: 80px;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1;

    @media (max-width: 800px) {
      font-size: clamp(45px, 11vw, 80px);
    }
  }

  .top-ttl--text,
  .page-ttl--text {
    font-size: 18px;
    font-weight: bold;
  }
}

.top-ttl--center {
  text-align: center;
}

/* リンクボタン */
.link-btn {
  width: fit-content;
  min-width: 320px;
  margin-inline: auto;

  @media (max-width: 600px) {
    min-width: auto;
    max-width: 320px;
    width: 100%;
  }

  >a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 72px;
    color: #fff;
    background-color: var(--color-accent);
    border: 2px solid transparent;
    border-radius: 100px;
    text-align: center;
    position: relative;
    padding: 15px;
    font-weight: bold;
    transition: all var(--hover-duration);

    &::after {
      content: '';
      position: absolute;
      right: 35px;
      top: 50%;
      width: 12px;
      height: 12px;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      transform: rotate(45deg) translateY(-50%);
      transition: all var(--hover-duration);
    }

    &:hover {
      border-color: var(--color-accent);
      background-color: #fff;
      color: var(--color-accent);
      text-decoration: none;
      opacity: 1;

      &::after {
        border-color: var(--color-accent);
      }
    }
  }
}

.link-btn--sinple {
  @media (max-width: 800px) {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
  }

  >a {
    display: block;
    padding: 15px 10px;
    background-color: var(--background-color2);
    text-align: center;
    position: relative;
    font-weight: bold;
    color: #ff0000;
    transition: all .3s;

    &:hover {
      text-decoration: none;
      opacity: 1;
      background-color: #f3d4d5;
    }

    &::after {
      content: '';
      background: url("./assets/img/common/icon_link.svg") 0 0 no-repeat;
      background-size: 18px;
      height: 18px;
      width: 18px;
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
    }
  }
}

/* ページトップ */
#pagetop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: none;
  transition: all .3s;

  &:hover {
    opacity: .7;
  }

  >span {
    background-color: var(--color-secondary);
    border-radius: 100%;
    position: relative;
    border: 1px solid #fff;
    display: block;
    width: 100%;
    height: 100%;

    &::after {
      content: '';
      position: absolute;
      top: 5px;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      width: 18px;
      height: 18px;
      border-top: 4px solid #fff;
      border-left: 4px solid #fff;
      transform: rotate(45deg);
    }
  }

}

/** ===================
ヘッダー
=================== **/
.header {
  position: relative;
  z-index: 999;
  background-color: #fff;
  padding-bottom: 25px;

  .header__content {
    display: flex;
    justify-content: space-between;

    .header__logo {
      border-top: 7px solid #fbb03b;
      padding: 12px 46px 0;
      margin: 0;

      @media (max-width: 1000px) {
        img {
          width: max(18vw, 150px);
        }
      }

      @media (max-width: 600px) {
        padding: 10px 30px 0;
      }
    }

    .header__navi {
      flex: 1;

      .header__navi__list {
        display: flex;
        justify-content: flex-end;
        column-gap: 3%;
        margin-right: 118px;
        margin-bottom: 0;

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

        >li {
          padding-top: 35px;
          flex: 0 1 auto;
          position: relative;

          &.active,
          &:hover {
            &::before {
              content: '';
              background-color: #fbb03b;
              height: 7px;
              width: 100%;
              position: absolute;
              top: 0;
              left: 0;
            }
          }

          >a {
            color: var(--color-primary);
            font-size: 18px;
            font-weight: bold;

            &:hover {
              opacity: 1;
              font-weight: bold;
              color: #231815;
              text-decoration: none;
            }
          }
        }
      }
    }

    .header__navi__hamburger {
      position: fixed;
      top: 15px;
      right: 20px;
      background-color: #000;
      height: 60px;
      width: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: all var(--hover-duration);

      &:hover {
        background-color: var(--color-accent);
      }
    }
  }
}

.humburger-menu__close {
  position: fixed;
  right: 20px;
  top: 15px;
  cursor: pointer;
}

.humburger-menu {
  width: 100%;
  height: 100vh;
  text-align: center;
  position: fixed;
  background-color: rgba(255, 255, 255, .8);
  z-index: 999;
  overflow: auto;
  padding-bottom: 30px;
  transition: all .3s;
  opacity: 0;
  visibility: hidden;
  top: 0;
  left: 0;

  &.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .humburger-menu__inner {
    padding: 80px 50px;
    display: flex;
    align-items: center;
    height: 100%;
    overflow-y: auto;
  }

  .humburger-menu__content {
    max-width: 404px;
    width: 100%;
    margin-inline: auto;
    position: relative;

    &::after {
      content: '';
      background: url("./assets/img/common/illst_kura.png") 0 0 no-repeat;
      background-size: 80px 104px;
      height: 104px;
      width: 80px;
      position: absolute;
      bottom: -100px;
      right: 0;
    }

    >img {
      display: block;
      margin-bottom: 40px;
      margin-inline: auto;
    }

    .humburger-menu__list {
      margin-bottom: 0;
      border-top: 1px solid var(--color-primary);

      >li {
        padding-top: 60px;

        @media (max-width: 600px) {
          padding-top: 40px;
        }

        a {
          font-style: normal;
          font-size: 18px;
          font-weight: 600;
          line-height: 1.7;
          letter-spacing: 0.1em;
          color: var(--color-text);
          display: block;
          width: 100%;
          position: relative;

          &:hover {
            text-decoration: none;
            opacity: 1;
            color: var(--color-accent);
          }
        }
      }
    }
  }
}

/** ===================
フッター
=================== **/
.footer {
  background-color: #ffeccf;
  padding: 25px 0;
  overflow-x: hidden;

  @media (max-width: 1000px) {
    padding-inline: 20px;
  }

  .footer__content {
    @media (max-width: 800px) {
      max-width: 585px;
      margin-inline: auto;
    }
  }

  .footer__logo {
    max-width: 1080px;
    margin-inline: auto;
    margin-bottom: 17px;

    @media (max-width: 1000px) {
      img {
        width: 150px;
      }
    }

    @media (max-width: 800px) {
      margin-bottom: 30px;
    }
  }

  .footer__navi {
    max-width: 1080px;
    margin-inline: auto;
    margin-bottom: 40px;

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

    .footer__navi__list {
      display: flex;
      column-gap: 2%;
      position: relative;
      max-width: 783px;
      margin-left: auto;
      margin-bottom: 0;
      z-index: 0;

      @media (max-width: 800px) {
        text-align: center;
      }

      &::after {
        content: '';
        background-color: var(--color-primary);
        height: 2px;
        width: 100vw;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
      }

      >li {
        flex: 0 1 auto;
        position: relative;
        z-index: 1;
        width: fit-content;

        >a {
          display: block;
          background-color: #ffe3b6;
          border: 2px solid var(--color-primary);
          font-weight: bold;
          padding: 8px 25px;
          color: var(--color-primary);

          &:hover {
            opacity: 1;
            text-decoration: none;
            background-color: #fff6e7;
            color: var(--color-accent);
            border-color: var(--color-accent);
          }
        }
      }
    }
  }

  .footer--illst {
    max-width: 1160px;
    margin-inline: auto;
    margin-bottom: 30px;
  }

  .footer__access {
    max-width: 890px;
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    column-gap: 3%;
    margin-bottom: 30px;
    justify-content: center;

    @media (max-width: 1000px) {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }

    .footer__access__ttl {
      font-size: 22px;
      font-weight: bold;

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

    .footer__access__text {
      font-weight: bold;
      line-height: 1.75;
      margin-bottom: 0;
    }
  }

  .footer__copyright {
    text-align: center;

    >small {
      font-size: 12px;
      color: var(--color-primary);
      font-weight: bold;
    }
  }
}

/** ===================
トップページ
=================== **/
.top-content {
  max-width: var(--max-width-container);
  padding-left: 70px;
  margin-inline: auto;

  @media (max-width: 1000px) {
    max-width: calc(var(--max-width-container) + 40px);
    padding-inline: 20px;
  }

  .top-content__lead {
    line-height: 2;
    margin-bottom: 45px;
    color: var(--color-text);
  }
}

/** メインスライダー **/
.main {
  display: flex;
  justify-content: space-between;

  @media (max-width: 1000px) {
    align-items: flex-start;
  }

  @media (max-width: 600px) {
    position: relative;
  }

  .main__ttl {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -150px;

    @media (max-width: 1000px) {
      margin-top: 0;
      display: flex;
      flex-direction: column;
      row-gap: 20px;
      align-items: center;
    }

    @media (max-width: 600px) {
      z-index: 10;
      position: absolute;
      bottom: 90px;
      left: 15px;
    }

    &::after {
      content: '';
      background: url("./assets/img/common/illst_kura.png") 0 0 no-repeat;
      background-size: 80px auto;
      width: 80px;
      height: 104px;
      position: absolute;
      bottom: 10px;
      left: 0;
      right: 0;
      margin-inline: auto;

      @media (max-width: 1000px) {
        bottom: 0;
        position: relative;
        left: auto;
        width: 50px;
        background-size: 50px auto;
      }

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

    .main__ttl--text {
      writing-mode: vertical-rl;
      color: var(--color-secondary);
      font-size: 18px;
      letter-spacing: 0.12em;
      line-height: 3;

      @media (max-width: 1000px) {
        font-size: clamp(14px, 2vw, 22px);
      }

      @media (max-width: 600px) {
        writing-mode: unset;
        font-size: 6vw;
        text-align: left;
        line-height: 1.4;
        color: #fff;
        text-shadow: 0 0 5px var(--color-secondary);
      }
    }
  }
}

.main__slider {
  margin-inline: auto;
  max-width: calc((var(--max-width-container) / 2) + var(--max-width-container) - 70px);
  width: 86vw;

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

  .main__slider__item {
    position: relative;
    z-index: 10;
    padding-bottom: 43px;

    .slide-caption {
      display: block;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 1270px;
      margin-inline: auto;
      text-align: right;

      @media (max-width: 1000px) {
        padding-inline: 20px;
      }
    }
  }
}

.slick-img img {
  width: 100%;
}

.slide-img {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.add-animation {
  animation: zoomOut 10s linear 0s normal both;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}


.top-concept {
  margin-top: 87px;
  background: var(--background-color1) url("./assets/img/top/bg_decoration.png") 0 0 repeat;
  padding: 50px 50px 50px 0;

  @media (max-width: 800px) {
    margin-top: 50px;
    padding: 50px 0;
  }

  .top-concept__inner {
    background-color: rgba(255, 255, 255, .8);
    padding-top: 95px;

    @media (max-width: 800px) {
      padding-top: 80px;
      padding-inline: 20px;
    }
  }

  .top-concept__content {
    max-width: var(--max-width-container);
    padding-left: 70px;
    margin-inline: auto;

    @media (max-width: 1000px) {
      max-width: calc(var(--max-width-container) + 40px);
      padding-inline: 20px;
    }

    .top-ttl--eg {
      margin-bottom: 15px;
    }
  }

  .top-concept__text {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
    transform: translateY(25px);

    >p {
      margin-bottom: 30px;
      line-height: 1.6;
      color: var(--color-text)
    }
  }
}

.top-pickup {
  background: var(--background-color2) url("./assets/img/top/bg_decoration.png") 0 0 repeat;
  padding: 65px 0 85px;

  .top-ttl {
    margin-bottom: 33px;

    .top-ttl--eg {
      margin-bottom: 13px;
    }
  }

  .pickup-slider {
    margin-bottom: 72px;

    &:not(:has(:nth-child(4))) {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      column-gap: 30px;

      @media (max-width: 800px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
      }

      @media (max-width: 600px) {
        grid-template-columns: repeat(1, 1fr);
      }

      .pickup-slider__item {
        margin-inline: 0;
      }
    }

    .pickup-slider__item {
      margin-inline: 20px;

      a {
        color: var(--color-text);

        .pickup-img {
          overflow: hidden;

          >img {
            transition: all var(--hover-duration);
          }
        }

        .pickup-desc {
          margin-top: 30px;

          .item-name {
            font-size: 18px;
            font-weight: bold;
            color: var(--color-text);
            margin-bottom: 5px;
            transition: all var(--hover-duration);
          }

          >p {
            font-size: 14px;
            margin-bottom: 0;
            line-height: 2;
          }
        }

        &:hover {
          text-decoration: none;
          opacity: 1;

          .pickup-img {
            >img {
              scale: 1.2;
            }
          }

          .pickup-desc {
            .item-name {
              color: var(--color-accent);
            }
          }
        }
      }

    }
  }
}

.top-store {
  margin: 100px 0 117px;

  .top-content {
    background: url("./assets/img/common/illst_kura2.png") top right no-repeat;
    background-size: 491px auto;
    padding-right: 20px;

    @media (max-width: 1050px) {
      background-position: top 80px right;
      background-size: clamp(300px, 40vw, 491px) auto;
      padding-right: 20px;
    }
  }

  .top-ttl {
    position: relative;
    margin-bottom: 68px;
  }
}

.top-store__list,
.store-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 30px;
  margin-bottom: 47px;

  @media (max-width: 1280px) {
    gap: 50px 25px;
  }

  @media (max-width: 1000px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (max-width: 500px) {
    gap: 40px 25px;
    grid-template-columns: repeat(1, 1fr);
  }

  .top-store__list__item,
  .store-list__item {
    a {
      .store-img {
        overflow: hidden;

        >img {
          transition: all var(--hover-duration);
        }
      }

      .store-info {
        margin-top: 22px;

        .store-info__name {
          font-size: 18px;
          font-weight: bold;
          margin-bottom: 5px;
          color: #000;

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

        .store-info__type {
          font-weight: bold;
          color: var(--color-accent);

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

      .store-link {
        margin-top: 25px;
        padding: 15px 10px;
        background-color: var(--background-color2);
        text-align: center;
        position: relative;
        font-weight: bold;
        color: var(--color-primary);
        transition: all var(--hover-duration);

        &::after {
          content: '';
          background: url("./assets/img/common/icon_link.svg") 0 0 no-repeat;
          background-size: 18px;
          height: 18px;
          width: 18px;
          position: absolute;
          right: 15px;
          top: 50%;
          transform: translateY(-50%);
        }
      }

      &:hover {
        text-decoration: none;
        opacity: 1;

        .store-img {
          background-color: var(--color-accent);

          >img {
            -webkit-filter: grayscale(100%) contrast(200%);
            filter: grayscale(100%) contrast(200%);
            mix-blend-mode: screen;
          }
        }

        .store-link {
          background-color: #f3d4d5;
          color: var(--color-accent);
        }
      }
    }
  }
}

.top-news {
  margin-bottom: 100px;

  .top-ttl {
    margin-bottom: 45px;

    @media (max-width: 1000px) {
      margin-bottom: 30px;
    }
  }
}

.tabs {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
  max-width: 1080px;
  margin-inline: auto;

  .tab-btn {
    font-weight: bold;
    padding: 13px 10px;
    position: relative;
    width: 100px;
    text-align: center;
    cursor: pointer;

    >a {
      display: block;
      height: 100%;
      color: var(--color-primary);
    }

    &:hover {

      >a,
      &:not(.active) {
        text-decoration: none;

        &::after {
          content: '';
          background-color: var(--color-accent);
          height: 5px;
          width: 100%;
          position: absolute;
          bottom: 0;
          left: 0;
          transition: all var(--hover-duration);
        }
      }
    }

    &.active {
      &::after {
        content: '';
        background-color: var(--color-accent);
        height: 5px;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: all var(--hover-duration);
      }
    }
  }
}

.page-news {
  .tabs {
    .tab-btn {
      cursor: default;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;

      >a {
        display: block;
        padding: 13px 10px;
        color: var(--color-primary);
      }
    }
  }
}

.tab-content {
  margin-bottom: 50px;
  max-width: 1080px;
  margin-inline: auto;

  &:not(.active) {
    display: none;
  }

  .news-feature__list {
    margin-top: 30px;
  }
}

.news__list {
  border-top: 1px solid var(--background-color2);

  >li {
    padding: 20px 15px;
    display: flex;
    align-items: center;
    column-gap: 40px;
    border-bottom: 1px solid var(--background-color2);

    @media (max-width: 1000px) {
      flex-wrap: wrap;
    }

    >time {
      font-weight: bold;
      font-size: 13px;
      width: 65px;
      color: var(--color-text);

      @media (max-width: 1000px) {
        flex: 0 0 auto;
      }
    }

    .cate {
      font-size: 14px;
      padding: 5px;
      text-align: center;
      width: 115px;
      color: #fff;
      margin-bottom: 0;

      @media (max-width: 1000px) {
        flex: 0 0 auto;
      }
    }

    >a {
      display: block;
      flex: 1;
      color: #000;
      font-weight: bold;
      transition: all .3s;

      @media (max-width: 1000px) {
        margin-top: 5px;
        flex: 1 1 100%;
      }
    }
  }
}

.cate-news {
  background-color: var(--color-cate-news);
}

.cate-feature {
  background-color: var(--color-cate-feature);
}

.news-feature__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  @media (max-width: 1000px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (max-width: 500px) {
    gap: 25px;
  }

  a {
    color: #000;

    &:hover {
      text-decoration: none;
      opacity: 1;

      .news-img {
        >img {
          scale: 1.2;
        }
      }
    }
  }

  .news-img {
    overflow: hidden;

    >img {
      transition: all var(--hover-duration);
    }
  }

  .news-ttl {
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 10px;
  }

  time {
    font-weight: bold;
    font-size: 13px;
  }
}

/** ===================
下層ページ
=================== **/
.page-content {
  max-width: calc(var(--max-width-container) - 60px);
  padding-inline: 30px;
  width: 100%;
  margin-inline: auto;

  @media (max-width: 1000px) {
    max-width: calc(var(--max-width-container) + 40px);
    padding-inline: 20px;
  }
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  min-height: 75px;
  position: relative;

  .prev,
  .next {
    position: absolute;

    >a {
      display: block;
      color: #231815;
      position: relative;

      &:hover {
        text-decoration: none;
        opacity: 1;
        color: var(--color-accent);
        font-weight: bold;
      }
    }
  }

  .prev {
    left: 0;

    >a {
      padding-left: 40px;

      &::before {
        content: '';
        background: url("./assets/img/common/icon_arrow_prev.svg") 0 0 no-repeat;
        background-size: 35px 70px;
        height: 70px;
        width: 35px;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
      }
    }
  }

  .next {
    right: 0;

    >a {
      padding-right: 40px;

      &::before {
        content: '';
        background: url("./assets/img/common/icon_arrow_next.svg") 0 0 no-repeat;
        background-size: 35px 70px;
        height: 70px;
        width: 35px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
      }
    }
  }

  .pager--list {
    text-align: center;
    display: flex;
    align-items: center;

    >a {
      color: #231815;
      padding-top: 40px;
      position: relative;

      &:hover {
        text-decoration: none;
        opacity: 1;
        color: var(--color-accent);
        font-weight: bold;
      }

      &::before {
        content: '';
        background: url("./assets/img/common/icon_list.svg") 0 0 no-repeat;
        background-size: 25px;
        height: 25px;
        width: 25px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin-inline: auto;
      }
    }
  }
}

.wp-pagenavi {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 70px;
  align-items: center;
  column-gap: 20px;
  margin-top: 80px;
  max-width: 730px;
  margin-inline: auto;
  font-weight: 500;

  @media (max-width: 600px) {
    margin-top: 60px;
    min-height: auto;
  }

  >a,
  >span {
    color: var(--color-text);
    font-size: 18px;
  }

  a {
    &:hover {
      text-decoration: none;
      color: #ff0000;
      font-weight: bold;
    }
  }

  a[rel="prev"],
  a[rel="next"] {
    position: absolute;
    width: fit-content;
    top: 50%;
    transform: translateY(-50%);
    min-height: 70px;
    display: flex;
    align-items: center;

    @media (max-width: 600px) {
      top: 10px;
      transform: none;
    }
  }

  a[rel="prev"] {
    left: 0;
    padding-left: 40px;

    @media (max-width: 600px) {
      padding-right: 35px;
    }

    &::before {
      content: '';
      background: url("./assets/img/common/icon_arrow_prev.svg") 0 0 no-repeat;
      background-size: 35px 70px;
      height: 70px;
      width: 35px;
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);

      @media (max-width: 600px) {
        background-size: auto 45px;
        height: 45px;
        width: 25px;
      }
    }
  }

  a[rel="next"] {
    right: 0;
    padding-right: 40px;

    @media (max-width: 600px) {
      padding-right: 35px;
    }

    &::before {
      content: '';
      background: url("./assets/img/common/icon_arrow_next.svg") 0 0 no-repeat;
      background-size: 35px 70px;
      height: 70px;
      width: 35px;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);

      @media (max-width: 600px) {
        background-size: auto 45px;
        height: 45px;
        width: 25px;
      }
    }
  }
}

/* 404ページ */
.page-404 {
  max-width: 1080px;
  margin-inline: auto;
  background-color: #ece9e7;
  padding: 70px 30px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 100px;

  .page-404__title {
    color: var(--color-secondary);
    font-size: 80px;
    line-height: 1;
    font-weight: bold;
    margin-bottom: 25px;
  }

  .page-404__text {
    font-weight: bold;
    line-height: 2;
    margin-bottom: 50px;
  }
}

/* ひらたについて */
.page-about {
  background: var(--background-color2) url("./assets/img/top/bg_decoration.png") 0 0 repeat;
  padding: 85px 0 125px;

  @media (max-width: 600px) {
    padding: 60px 0 80px;
  }
}

.about-area {
  margin-bottom: 200px;

  @media (max-width: 1000px) {
    margin-bottom: 80px;
  }
}

.about-block {
  .page-ttl {
    margin-bottom: -20px;

    @media (max-width: 600px) {
      margin-bottom: 30px;
    }
  }

  .link-btn {
    margin-top: 127px;

    @media (max-width: 600px) {
      margin-top: 60px;
    }
  }
}

.about-block__content {
  display: flex;
  column-gap: 30px;

  @media (max-width: 600px) {
    flex-direction: column;
    row-gap: 30px;
  }

  .about-block__text {
    flex: 1;
    margin-top: 40px;

    @media (max-width: 600px) {
      margin-top: 0;
    }

    >p {
      margin-bottom: 30px;
      line-height: 2;
      color: var(--color-text);

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

  .about-block__img {
    width: 50%;

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

/* お問い合わせ */
.contact-block {
  margin-top: 75px;
  margin-bottom: 97px;

  @media (max-width: 600px) {
    margin-top: 60px;
    margin-bottom: 80px;
  }

  .page-ttl {
    margin-bottom: 70px;

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

  .contact__content {
    border-top: 1px solid #d9d3ce;
    padding-top: 60px;
  }

  .contact__tel {
    max-width: 870px;
    margin-inline: auto;
    margin-bottom: 80px;
    background-color: var(--background-color2);
    padding: 55px;
    text-align: center;

    @media (max-width: 600px) {
      padding: 30px;
      margin-bottom: 60px;
    }

    .contact__tel__ttl {
      color: var(--color-secondary);
      font-size: 28px;
      font-weight: bold;

      @media (max-width: 600px) {
        font-size: 24px;
      }
    }

    .contact__tel__text {
      font-size: 28px;
      font-weight: bold;
      color: var(--color-primary);
      line-height: 2;
      margin-bottom: 0;

      @media (max-width: 600px) {
        font-size: 24px;
      }

      a {
        color: var(--color-primary);
      }
    }
  }

  .contact__email {
    color: var(--color-primary);
    max-width: 720px;
    margin-inline: auto;

    .contact__email__ttl {
      font-weight: bold;
      font-size: 28px;
      text-align: center;
      margin-bottom: 25px;

      @media (max-width: 600px) {
        font-size: 24px;
      }
    }

    .contact__email__text {
      >a {
        background-color: var(--background-color1);
        padding: 55px;
        text-align: center;
        font-size: 21px;
        font-weight: bold;
        border-radius: 10px;
        color: var(--color-primary);
        transition: all .3s;
        display: block;

        @media (max-width: 600px) {
          font-size: 18px;
          padding: 30px;
        }

        &:hover {
          background-color: #ecbec0;
          color: var(--color-accent);
          opacity: 1;
          text-decoration: none;
        }
      }
    }
  }
}

/* ひらたの店舗 */
.page-store {
  margin-top: 85px;
  margin-bottom: 100px;

  @media (max-width: 600px) {
    margin-top: 60px;
    margin-bottom: 80px;
  }

  .page-content {
    background: url("./assets/img/common/illst_kura2.png") top right no-repeat;
    background-size: 491px auto;

    @media (max-width: 1000px) {
      background-position: top 80px right;
      background-size: clamp(300px, 40vw, 491px) auto;
    }
  }

  .page-ttl {
    margin-bottom: 65px;

    @media (max-width: 600px) {
      margin-bottom: 40px;
    }
  }
}

/* ひらたの店舗詳細 */
.store-detail {
  max-width: 1010px;
  margin-inline: auto;
  margin-top: 80px;
  margin-bottom: 100px;

  @media (max-width: 1000px) {
    max-width: calc(1010px - 40px);
    padding-inline: 20px;
  }

  @media (max-width: 800px) {
    margin-top: 60px;
    margin-bottom: 80px;
  }

  .store-detail__inner {
    display: flex;
    column-gap: 60px;

    @media (max-width: 800px) {
      flex-direction: column;
      row-gap: 60px;
    }

    .store-info {
      order: 2;
      width: 32%;

      @media (max-width: 800px) {
        order: 1;
        max-width: 600px;
        width: 100%;
        margin-inline: auto;
      }

      .store-info__ttl {
        font-weight: bold;
        margin-bottom: 30px;
      }

      .store-name {
        color: #000;
        font-size: 18px;
        font-weight: bold;
      }

      .store-type {
        font-weight: bold;
        color: #ff0000;
        margin-bottom: 30px;
      }

      .store-hours,
      .store-desc {
        color: #000;
        line-height: 1.8;
        margin-bottom: 30px;
        font-weight: bold;
      }

      .store-links {
        display: flex;
        flex-direction: column;
        row-gap: 20px;

        @media (max-width: 800px) {
          max-width: 500px;
        }

        >li {
          >a {
            display: block;
            background-color: #ece9e7;
            padding: 15px 5px;
            position: relative;
            color: #ff0000;
            font-weight: bold;
            text-align: center;
            border-radius: 3px;

            &:hover {
              text-decoration: none;
              opacity: 1;
              background-color: #f3d4d5;
              color: var(--color-accent);
            }

            &::after {
              content: '';
              background: url("./assets/img/common/icon_link.svg") 0 0 no-repeat;
              background-size: 18px;
              height: 18px;
              width: 18px;
              position: absolute;
              right: 15px;
              top: 50%;
              transform: translateY(-50%);

              @media (max-width: 600px) {
                background-size: 14px;
                height: 14px;
                width: 14px;
              }
            }
          }
        }
      }

      .store-access {
        margin-top: 90px;

        @media (max-width: 800px) {
          margin-top: 50px;
        }

        >h2 {
          font-size: 16px;
          margin-bottom: 24px;
        }

        .store-access__gmap {
          >iframe {
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 14;

            @media (max-width: 800px) {
              aspect-ratio: 16 / 9;
            }
          }
        }
      }

      .store-message {
        margin-top: 50px;
        border-top: 1px solid var(--color-primary);
        border-bottom: 1px solid var(--color-primary);
        padding: 25px;
        line-height: 1.6;
      }
    }

    .store-content {
      order: 1;
      flex: 1;
      @media (max-width: 800px) {
        margin-top: 50px;
        order: 2;
      }

      img {
        height: 420px;
        width: auto;
        margin-inline: auto;
        display: block;
        object-fit: contain;

        @media (max-width: 800px) {
          height: auto;
        }
      }

      .store-img {
        margin-bottom: 30px;
      }

      .lead {
        color: var(--color-text);
        margin-bottom: 60px;
        line-height: 1.6;
      }

      .store-product {
        .store-product__ttl {
          font-weight: bold;
          font-size: 18px;
          margin-bottom: 20px;
        }

        .store-product__img {
          margin-bottom: 30px;
        }

        >p {
          color: var(--color-text);
          line-height: 1.6;
          margin-bottom: 40px;
        }
      }
    }
    @media (max-width: 800px) {
      > .store-content {
        margin-top: 0;

        .pager {
          margin-top: 0;
        }
      }
    }
  }
}

/* お知らせ一覧 */
.page-news {
  margin-top: 80px;
  margin-bottom: 100px;

  @media (max-width: 600px) {
    margin-top: 60px;
    margin-bottom: 80px;
  }
}

.page-news__content {
  max-width: 1080px;
  margin-inline: auto;

  @media (max-width: 1000px) {
    max-width: calc(1080px - 40px);
    padding-inline: 20px;
  }
}

/* お知らせ詳細 */
.single-news {
  margin-top: 80px;
  margin-bottom: 100px;

  @media (max-width: 600px) {
    margin-top: 60px;
    margin-bottom: 80px;
  }
}

.single-detail {
  max-width: 1080px;
  margin-inline: auto;
  display: flex;
  column-gap: 60px;

  @media (max-width: 1000px) {
    max-width: calc(1080px - 40px);
    padding-inline: 20px;
  }

  @media (max-width: 800px) {
    flex-direction: column;
    row-gap: 40px;
  }
}

.single-content {
  flex: 1;
}

.single-heading {
  margin-bottom: 30px;

  .single-heading__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .single-page-ttl {
    font-weight: bold;
    color: var(--color-primary);
  }

  .cate {
    font-size: 14px;
    padding: 5px;
    text-align: center;
    width: 115px;
    color: #fff;
    margin-bottom: 0;
  }

  >time {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
  }

  .single-heading__ttl {
    font-size: 21px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #ff0000;
  }
}

.single-body {
  word-break: break-all;

  >p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: normal;
  }

  h2 {
    color: var(--color-primary);
    font-size: 2.6rem;
    margin: 30px 0 20px;
    text-align: left;
    line-height: 1.5;

    @media (max-width: 800px) {
      font-size: 26px;
    }
  }

  h3 {
    background: var(--background-color1);
    border-radius: 6px;
    font-size: 20px;
    margin: 30px 0 20px;
    padding: 0.3em 0.5em;
    line-height: 1.5;

    @media (max-width: 800px) {
      font-size: 22px;
    }
  }

  h4 {
    border-bottom: var(--color-primary) 4px double;
    color: var(--color-primary);
    font-size: 20px;
    margin: 30px 0 20px;
    padding: 0.35em 0.5em;
    line-height: 1.5;

    @media (max-width: 800px) {
      font-size: 18px;
    }
  }

  h5 {
    color: var(--color-primary);
    font-size: 18px;
    margin: 20px 0;
    line-height: 1.5;
  }

  ul {
    margin-bottom: 30px;
    line-height: 2;
    font-weight: normal;

    li {
      list-style-type: disc;
      margin-left: 2em;
    }
  }

  ol {
    margin-bottom: 30px;
    line-height: 2;
    font-weight: normal;
    list-style-type: decimal;

    li {
      margin-left: 2em;
    }
  }

  .is-provider-youtube {
    margin-bottom: 30px;

    iframe {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
    }
  }

  .wp-block-image {
    margin-bottom: 30px;
  }

  > img {
    display: block;
    margin-bottom: 30px;
  }

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


.single-side {
  width: 25%;

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

  .single-side__box {
    margin-bottom: 65px;

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

    &.category {
      margin-bottom: 40px;
    }

    .single-side__ttl {
      font-weight: bold;
      padding-bottom: 5px;
      border-bottom: 1px solid var(--color-primary);
      margin-bottom: 30px;
    }

    .archive-list {
      display: flex;
      flex-direction: column;
      row-gap: 15px;
      margin-left: 20px;
      margin-bottom: 0;

      time {
        font-size: 13px;
        font-weight: bold;
        color: #ff0000;
      }

      a {
        display: block;
        font-weight: bold;
        color: #231815;
      }
    }

    .category-list {
      display: flex;
      flex-direction: column;
      row-gap: 15px;
      margin-left: 35px;
      margin-bottom: 0;

      >li {
        list-style: disc;

        >a {
          font-weight: bold;
          color: #231815;

          &:hover {
            text-decoration: none;
            opacity: 1;
            color: #ff0000;
          }
        }
      }
    }
  }
}