@charset "UTF-8";
/* ===================================================================
 CSS Document

 file name  : page.css
 style info : Page Style
=================================================================== */
/* ====================
page-works
======================= */
.page-works__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.page-works__row::after {
  content: "";
  width: 33.333333%;
}

.page-works__nav {
  margin: 60px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

.page-works__nav-item {
  position: relative;
  margin-bottom: 10px;
  padding: 0 5%;
}

.page-works__nav-item::after {
  content: "";
  width: 1px;
  height: 110%;
  background: #000;
  position: absolute;
  right: 0;
  top: 0
}

.page-works__nav-item:last-of-type::after {
  display: none
}

.page-works__nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.7rem;
  font-weight: bold;
  padding: 0px 7px;
  letter-spacing: .09em;
  text-align: center;
  position: relative;
  line-height: 1.3;
  margin: 0 auto;
  opacity: .4
}

.page-works__nav-link.is-current {
  opacity: 1;
  pointer-events: none
}
.page-works-detail__head .ttl-02 b {
  display: block;
  font-weight: 500;
}
.page-workd-detail__thumb {
  margin-bottom: 20px;
}

.page-works-detail__cat {
  font-size: 1.2rem;
  background: #fdbdbd;
  display: inline-block;
  padding: 2px 20px;
}

/* ====================
news
======================= */
.news__link {
  display: block;
  border-bottom: solid 1px #ccc;
  position: relative;
  transition: color .5s ease;
  padding: 20px 0;
}
.news__unit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: opacity .5s ease;
  font-size: 1.4rem;
}
.news__ttl {
  width: 85%;
  padding-left: 30px
}

/* ====================
page-free
======================= */
.page-free {
  padding-bottom: 40px; 
}

.page-free p,.page-free figure,.page-free ul,.page-free ol {
  margin-bottom: 20px;
}
.page-free ul,.page-free ol {
  padding-left: 1em;
}

.page-free li {
  list-style-type: inherit;
}
.page-free h2,
.page-free h3,
.page-free h4,
.page-free h5,
.page-free h6 {
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-free h2 {
  font-size: 2.4rem;
  background: #000000;
  padding: 5px 10px;
  border-radius: 5px;
  color: #FFF;
}

.page-free h3 {
  font-size: 2.2rem;
  border-bottom: solid 1px #ccc;
  padding-bottom: 8px;
}

.page-free h4 {
  font-size: 2rem;
}

.page-free h5 {
  font-size: 1.8rem;
}

.page-free h6 {
  font-size: 1.6rem;
}

.page-free a {
  text-decoration: underline;
  color: #d9b184; 
}

.page-free strong {
  font-weight: bold;
}

.page-free em {
  font-style: italic;
}

/* ====================
page-numbers
======================= */
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-top: 20px;
}

.page-numbers li {
  margin: 0 5px 10px 0;
  font-size: 2rem;
  font-weight: bold
}

.page-numbers li:last-of-type {
  margin-right: 0
}

.page-numbers li .page-item {
  position: absolute;
  top: 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;
  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: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 1px;
  font-size: 1.6rem;
  min-width: 42px
}

.page-numbers li span {
  width: 42px;
  height: 42px
}

.page-numbers li span.current {
  padding: 0
}

.page-numbers li .current {
  border-radius: 50%;
  background: #000000;
  padding: 3px 20px;
  color: #FFF;
}

.page-numbers li a {
  position: relative
}

.page-numbers li a.prev,.page-numbers li a.next {
  width: 42px;
  height: 42px
}

.page-numbers li a.prev::before,.page-numbers li a.next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: #000000 2px solid;
  border-left: #000000 2px solid;
  transform: rotate(135deg);
  position: absolute;
  top: calc(50% - 5px);
  right: 0;
}

.page-numbers li a.prev::before {
  right: 0;
  transform: rotate(-45deg);
}

.page-numbers li a.next::before {
  left: 0
}

.page-numbers .page-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%)
}

.page-numbers .page-item.page-item-prev {
  left: -58px
}

.page-numbers .page-item.page-item-next {
  right: -58px
}


/* ====================
contact
======================= */

.contact {
  background: #f7f7f7;
  padding: 80px 0;
  text-align: center;
}

.contact__txt {
  margin-bottom: 20px;
}

.contact__btn {
  display: inline-block;
  background: #000000;
  padding: 20px 60px;
  border-radius: 30px;
  color: #FFF;
}
.contact .ttl-01 {
  margin-bottom: 20px;
}

/* ============================================
snow-monkey-form 
(それ以外のフォームを使う場合は削除)
=============================================== */
.snow-monkey-form  {
  max-width: 780px;
  margin: 0 auto;
}

.snow-monkey-form .smf-action .smf-button-control__control {
  display: inline-block;
  background: #000;
  color: #FFF;
  font-weight: 600;
  padding: 25px 50px;
  border-radius: 50px;
  line-height: 0;
  font-size: 1.4rem;
  cursor: pointer;
}
.snow-monkey-form  .smf-form .smf-text-control__control {
  width: 100%;
}


/*-------------------------------------------
SPのみ適用
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /* ====================
  news
  ======================= */
  .news__link {
    padding: 15px 0;
  }
  .news__date {
    width: 100%;
    margin-bottom: 5px;
  }
  .news__ttl {
    width: 100%;
    padding-left: 0;
  }


  /* ====================
  page-works
  ======================= */
  .page-works__nav {
    margin: 30px 0;
  }
  .page-works__nav-link {
    font-size: 1.4rem;
  }
  .page-works__nav-item {
    padding: 0 3%;
  }

  /* ====================
  page-free
  ======================= */
  .page-free h2 {
    font-size: 2rem;
  }
  
  .page-free h3 {
    font-size: 1.8rem;
  }
  
  .page-free h4 {
    font-size: 1.7rem;
  }
  
  .page-free h5 {
    font-size: 1.6rem;
  }
  
  .page-free h6 {
    font-size: 1.5rem;
  }
  
/* ====================
page-top
======================= */
  .page-top {
    right: 10px;
    width: 45px;
    height: 45px;
  }
  .page-top a {
    padding: 10px 0px 0;
  }
  .page-top a:before {
    top: 28%;
    left: 42%;
  }
}
