@charset "UTF-8";

.pdf-list {
  >li {
    border-top: 1px dotted #ccc;

    i {
      font-style: normal;
      font-size: small;
    }
  }

  >li:first-child {
    border-top: none;
  }
}

.inbody .content_wrap {
  h2 {
    padding-left: 0;
  }

  .class-list {
    counter-reset: item;

    >li {
      margin-top: 24px;
      padding: 40px 24px 24px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      border-radius: 8px;
      counter-increment: item;
      border-top: 4px solid #03a9f4;

      /* カウンターを増加 */
      >.class-title {
        font-size: 2.2rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 16px;
      }

      >.class-title::before {
        content: "3R教室";
        content: "3R教室"counter(item);
        font-size: 1.2rem;
        background: #03a9f4;
        color: #fff;
        font-weight: bold;
        border-top-left-radius: 8px;
        border-bottom-right-radius: 8px;
        padding: 4px 8px;
        line-height: 1.2;
        position: absolute;
        top: -4px;
        left: 0;
      }

      .class-time {
        padding: 0 0 8px 0;
        margin: 0 0 16px 0;
        display: flex;
        align-items: center;
        gap: 16px;

        /* border-bottom: 1px solid #ddd; */
        strong {
          font-size: 1.5rem;
        }

        ul {
          display: flex;
          align-items: center;
          gap: 8px;

          li {
            margin: 0;
            padding: 4px 8px;
            border-radius: 4px;
            background: #ccc;
            color: #fff;
            font-weight: bold;
          }

          li[data-type="1"] {
            background: #9c27b0;
          }

          li[data-type="2"] {
            background: #ff5722;
          }

          li::before {
            display: none;
          }
        }
      }

      .class-image {
        background: linear-gradient(to top, #d7ffcc69, #bfeaff79);
        display: flex;
        justify-content: center;

        >img {
          width: auto;
          max-height: 360px;
        }
      }

      .class-free {
        font-size: 1.2rem;
        margin: 1em 0;
      }

      .class-items {
        margin-bottom: 2em;

        .class-items-title {
          font-size: 1.4rem;
          font-weight: bold;
          display: flex;
          align-items: center;
          gap: 8px;

          >img {
            position: relative;
            top: -2px;
            filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(180deg);
          }
        }

        ul {
          padding: 0 0.5em;

          >li {
            padding-bottom: 0.5em;
            border-bottom: 1px dotted #aaa;
          }
        }
      }

      .class-table {
        width: 100%;
      }

      .class-content-wrapper {}
    }

    >li:first-child {
      margin-top: 0;
    }

    >li:before {
      display: none;
    }
  }
}

.main {
  .info_wrap {
    .info_lower {
      >ul {
        >li {
          >div {
            margin: 0;
          }

          >a {
            margin: 0;
          }
        }
      }
    }
  }
}

.cat_info {
  font-size: 87%;
  line-height: 1.2;
  display: inline-block;
  padding: 4px 8px;
  min-width: 107px;
  text-align: center;
  background-color: #F7FAB5 !important;
  border-radius: 2px;
}

.cat_info {
  &[data-type="3rclass"] {
    background: #fae2b5 !important;
  }

  &[data-type="management"] {
    background: #b5e0fa !important;
  }
}


/* ページネーションのスタイル */
.inbody.archive .pagination {
  padding-top: 30px;
}

.inbody.archive div.wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.inbody.archive div.wp-pagenavi {
  margin-right: 10px;
  padding: 0;
}

.inbody.archive div.wp-pagenavi::before {
  content: none;
}

.inbody.archive div.wp-pagenavi:last-child {
  margin-right: 0;
}

.inbody.archive div.wp-pagenavi span,
.inbody.archive div.wp-pagenavi a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 10px;
  border: 1px solid #00A1F2;
  background-color: #fff;
}

.inbody.archive div.wp-pagenavi span {
  background-color: #00A1F2;
  color: #fff;
}

.inbody.archive div.wp-pagenavi span.dots {
  background: none;
  color: #333;
  border: none;
  padding: 10px 5px;
  width: auto;
  height: auto;
}

.inbody.archive div.wp-pagenavi a {
  text-decoration: none;
  color: #00A1F2;
}

.inbody.archive div.wp-pagenavi a:hover {
  background-color: #F4FBFF;
}

.g_navi {
  .g_navi_in {
    >li {
      width: auto;
      flex: 1 1 auto;
      &.has-child ul{
        width: auto;
        li a {
          white-space: nowrap;
        }
      }
    }
  }
}

.three-r-classes {
  table {
    tbody {
      tr {
        td {
          width: 50%;
          vertical-align: middle;

          img {
            vertical-align: middle;
            margin-right: 0.5em;
          }

          span {
            margin-left: 0.5em;
            font-size: 0.75em;
          }
        }
      }
    }
  }
}

.vr-tour {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  margin: 36px 0 0 0;

  >div {
    margin: 0;
    flex: 1 1 50%;

    .vr-wrapper {
      /* background:#f3f3f3; */
      display: flex;
      justify-content: center;
      padding: 15px;
      border: 1px solid #ccc;
      box-shadow: 0 3px 6px rgba(0, 0, 0, .2);

    }

    p {
      margin: 0;
    }
  }
}

.instagram {
  margin: 0 auto;
  width: 50%;
  padding: 24px;
  /* border: 10px solid transparent; */
  /* 透明なボーダー */
  border-radius: 12px;
  /* 角を丸くする */
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  padding: 10px;

  /* 内側のスペースを確保 */
  .ig-content {
    padding: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);

  }

  .ig-logo {
    display: flex;
    justify-content: center;

    >div {
      display: flex;
      flex-flow: column;
      gap: 4px;
      align-items: center;

      >p {
        margin: 0;
        font-weight: bold;
        color: #e525ac;
      }
    }
  }

  .ig-qr {
    margin: 0;
    width: 120px;
    flex: 0 0 auto;

    >img {
      width: 100%;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
    }
  }

  .ig-guide {
    strong {
      display: block;
      text-align: center;

      span {
        font-size: 30px;
        color: #e525ac;
      }
    }

    p {
      margin: 0;
      font-size: 12px;
      text-align: center;
    }
  }

  .ig-intro {
    margin-top: 24px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 24px;
    border-top: 2px solid #9c27b07d;
  }
}

.wp-block-table{
  .reuse-table{
    width: 600px;
    margin-top: 1em;
  }
}

@media only screen and (max-width: 768px) {
  .vr-tour {
    flex-flow: row wrap;

    >div {
      flex: 1 1 100%;
    }
  }

  .instagram {
    width: 100%;

    .ig-intro {
      flex-flow: column;
    }
  }

  .wp-block-table{
    .reuse-table{
      width: 100%;
    }
  }
}

a.vr-banner {
  display: block;
  width: 100%;
  transition: opacity ease 0.3s;
  &:hover{
    opacity: 0.75;
  }
}