.page-main {
  padding-bottom: 140px;
  overflow: hidden;
}

.page-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.page-mv {
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 200px;
}
.page-mv__logo {
  width: 100px;
}

.news__item {
  background: #F8F8F8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px 20px;
  margin-bottom: 6px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.news__item-unit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}
.news__item-img {
  min-width: 75px;
  margin-right: 30px;
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
}
.news__item-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  top: 0;
  left: 0;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.news__item-date {
  position: relative;
}
.news__item-date::after {
  content: "";
  width: 1px;
  height: 17px;
  background-color: #D9D9D9;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.news__item-heading {
  width: 78%;
}
.news__item:hover {
  background-color: #F6F6F0;
  opacity: 1;
}

.page-garelly__item {
  margin-bottom: 40px;
}
.page-garelly__keyword {
  background: #F6F6F0;
  margin-bottom: 50px;
  padding: 20px 20px;
}
.page-garelly__keyword-ttl {
  font-weight: 600;
  font-size: 1.5rem;
  position: relative;
}
.page-garelly__keyword-ttl::after {
  content: "";
  width: 1px;
  height: 100%;
  background: #CFC670;
  position: absolute;
}
.page-garelly__keyword-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.page-garelly__keyword-list li {
  margin: 5px 30px 5px 0;
}
.page-garelly__keyword-list a {
  display: inline-block;
  font-size: 1.3rem;
}
.page-garelly__keyword-list a.is-current {
  color: #CFC670;
  font-weight: 600;
  border-bottom: solid 1px;
  pointer-events: none;
}

.page-garally-detail__img {
  margin-bottom: 35px;
}
.page-garally-detail__heading {
  font-size: 1.6rem;
  text-align: center;
  font-family: "Shippori Mincho";
  margin-bottom: 30px;
}
.page-garally-detail__free {
  border-bottom: solid 1px;
  padding: 110px 0 70px;
}
.page-garally-detail__free p {
  margin-bottom: 35px;
  font-size: 1.3rem;
}
.page-garally-detail__free p:last-of-type {
  margin-bottom: 0;
}

ul.page-numbers {
  margin-top: 80px;
}

.page-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
}
.page-numbers li {
  margin: 0 5px 10px 0;
  font-size: 2rem;
  font-family: "Lato", sans-serif;
}
.page-numbers li:last-of-type {
  margin-right: 0;
}
.page-numbers li .page-item {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.page-numbers li.prev a, .page-numbers li.next a {
  width: 48px;
  height: 48px;
}
.page-numbers li.prev a::before, .page-numbers li.next a::before {
  content: "";
  width: 8px;
  height: 8px;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
  position: absolute;
  top: calc(50% - 5px);
}
.page-numbers li.prev {
  left: -10px;
}
.page-numbers li.prev a::before {
  border-bottom: #CBCBCB 2px solid;
  border-right: #CBCBCB 2px solid;
  right: 0;
}
.page-numbers li.next {
  right: -10px;
}
.page-numbers li.next a::before {
  border-top: #CBCBCB 2px solid;
  border-left: #CBCBCB 2px solid;
  left: 0;
}
.page-numbers li a, .page-numbers li span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 0 0 1px;
  font-size: 1.4rem;
  min-width: 42px;
}
.page-numbers li span {
  width: 50px;
  height: 50px;
}
.page-numbers li span.current {
  padding: 0;
}
.page-numbers li .current {
  border-radius: 50%;
  background: #CFC670;
  padding: 3px 20px;
  color: #F6F6F0;
}
.page-numbers li a {
  position: relative;
}
.page-numbers li a.prev, .page-numbers li a.next {
  width: 50px;
  height: 50px;
}
.page-numbers li a.prev::before, .page-numbers li a.next::before {
  content: "";
  width: 13px;
  height: 13px;
  background: url(/assets/img/common/icon_arrow.svg) no-repeat center/contain;
}
.page-numbers li a.prev::before {
  right: 0;
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}
.page-numbers li a.next::before {
  left: 0;
}
.page-numbers .page-item {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.page-numbers .page-item.page-item-prev {
  left: -58px;
}
.page-numbers .page-item.page-item-next {
  right: -58px;
}

.page-news__contents {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}

.page-detail__head {
  font-size: 2.8rem;
  border-bottom: dashed 1px #CFC670;
  padding-bottom: 10px;
  margin-bottom: 40px;
}
.page-detail__date {
  font-size: 1.4rem;
  margin-bottom: 5px;
}
.page-detail__contents {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
.page-detail__cat {
  background: #F6F6F0;
  padding: 0px 10px;
  display: inline-block;
  margin-left: 10px;
  font-size: 1.2rem;
}

.page-free strong {
  font-weight: bold;
}
.page-free p {
  margin-bottom: 30px;
  font-size: 1.3rem;
}
.page-free .wp-block-image, .page-free .wp-block-columns {
  margin-bottom: 40px;
  gap: 1em;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.page-free figure {
  margin-bottom: 30px;
}
.page-free figure figcaption {
  font-size: 1.4rem;
  font-weight: 400;
}
.page-free a {
  border-bottom: solid 1px #CFC670;
  padding-bottom: 1px;
}
.page-free a:hover {
  border-color: #fff;
  opacity: 1;
}
.page-free h2 {
  font-size: 1.8rem;
  padding: 0 0 0 15px;
  margin-bottom: 30px;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-left: solid 4px #CFC670;
  line-height: 1.5;
}
.page-free h3 {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: #CFC670;
  padding-bottom: 10px;
}
.page-free h4 {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 500;
}
.page-free ul, .page-free ol {
  margin-bottom: 10px;
}
.page-free .has-text-align-right {
  text-align: right;
}
.page-free .has-text-align-center {
  text-align: center;
}
.page-free .has-text-align-left {
  text-align: left;
}
.page-free ol.wp-block-list {
  padding-left: 1.5em;
}
.page-free ol.wp-block-list li {
  list-style: inherit;
}
.page-free ul.wp-block-list li {
  list-style: none;
  padding-left: 1em;
  position: relative;
}
.page-free ul.wp-block-list li::before {
  content: "";
  min-width: 4px;
  height: 4px;
  background: #CFC670;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  position: absolute;
  left: 0;
  top: 11px;
}

.page-privacy__unit {
  margin-bottom: 30px;
}
.page-privacy__unit dt {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.article {
  overflow: hidden;
}
.article__date {
  color: #666;
  margin-bottom: 30px;
}
.article__heading {
  font-size: 1.5rem;
  font-family: "Shippori Mincho";
  margin-bottom: 80px;
}

.wp-block-code code {
  line-height: 2;
}

@media screen and (max-width: 767px) {
  .page-main {
    padding-bottom: 80px;
  }
  .page-mv {
    margin-bottom: 80px;
  }
  .news__item {
    padding: 10px 15px;
  }
  .news__item-img {
    margin-right: 20px;
  }
  .news__item-date::after {
    display: none;
  }
  .news__item-heading {
    width: 100%;
  }
  .page-garelly__keyword-ttl {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  .page-garelly__keyword-ttl::after {
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
  }
  .page-garelly__keyword-list li {
    margin: 5px 25px 5px 0;
  }
  ul.page-numbers {
    margin-top: 40px;
  }
  .page-numbers li.prev a, .page-numbers li.next a {
    width: 38px;
    height: 38px;
  }
  .page-numbers li.prev a::before {
    right: 12px;
  }
  .page-numbers li.prev {
    left: 0;
  }
  .page-numbers li.next {
    right: 0;
  }
  .page-numbers li.next a::before {
    left: 12px;
  }
  .page-numbers li a, .page-numbers li span {
    min-width: 35px;
    font-size: 1.2rem;
  }
  .page-numbers li a.prev, .page-numbers li a.next {
    width: 38px;
    height: 38px;
  }
  .page-numbers li a.prev::before {
    right: 12px;
  }
  .page-numbers li a.next::before {
    left: 12px;
  }
  .page-numbers .page-item.page-item-prev {
    left: -38px;
  }
  .page-numbers .page-item.page-item-next {
    right: -38px;
  }
  .page-free .wp-block-table {
    overflow-x: scroll;
  }
  .page-free .wp-block-table table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
  }
  .page-free figure figcaption {
    font-size: 1.2rem;
  }
  .page-free h3 {
    font-size: 1.8rem;
  }
  .page-free h4 {
    font-size: 1.6rem;
  }
}

@media screen and (min-width: 768px) {
  .news__item-date {
    padding-right: 30px;
    margin-right: 30px;
  }
  .page-garelly__keyword {
    padding: 25px 40px;
    margin-bottom: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 30px;
  }
  .page-garelly__keyword-ttl {
    padding-right: 30px;
  }
  .page-garelly__keyword-ttl::after {
    top: 0;
    right: 0;
  }
  .page-numbers li {
    margin: 0 5px 10px 0;
  }
  .page-news__list {
    min-height: 200px;
  }
  .page-free a {
    padding-bottom: 2px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .page-free h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    padding: 0 0 0 15px;
    border-width: 5px;
  }
  .page-privacy__unit {
    margin-bottom: 50px;
  }
  .page-privacy__unit dt {
    font-size: 1.8rem;
  }
}