@charset "utf-8";

.post-content {
  padding-top: 80px;
  padding-bottom: 100px;
}

#main {
  position: relative;
  z-index: 2;
  display: block;
}
.works-main {
  width: 68.18%;
}
.news-main {
  width: 73.64%;
}

.works-side {
  width: 26%;
}
.news-side {
  width: 21.82%;
}

.search_msg {
  margin: 2.5em 0;
}

/* side ------ */
.wp-block-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 1.2em;
  padding: .85em 0 .75em 1.8em;
  font-size: 1.2857rem;
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-main);
  letter-spacing: .05em;
  border-top: 1px solid var(--color-main);
  border-bottom: 1px solid var(--color-main);
}
.wp-block-heading em {
  display: block;
  font-size: .667em;
  font-weight: bold;
  font-style: normal;
  font-family: var(--font-en);
  line-height: 1;
}

.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.7em;
  width: 1.111em;
  height: 1.111em;
  background: no-repeat center / 100%
}
.category .wp-block-heading::before {
  background-image: url(../img/common/icon-cat-blu.svg);
}
.archives .wp-block-heading::before {
  background-image: url(../img/common/icon-archive-blu.svg);
}
.newposts .wp-block-heading::before {
  background-image: url(../img/common/icon-time-blu.svg);
}

.widget {
  margin-bottom: 3.5rem;
}
.widget li {
  position: relative;
  margin-bottom: .5em;
}
.widget li a {
  display: block;
  padding: .15em 0;
  font-weight: bold;
  line-height: 1.6;
  text-decoration: none;
  transition-duration: .5s;
}
.widget ul:not(.widget-newposts) li a:hover {
  transform: translateX(.5em);
}

/* @widget-newposts */
.newposts .wp-block-heading {
  margin-bottom: 1.8em;
}
.widget-newposts li {
  margin-bottom: 1.3em;
}
.widget-newposts li a {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: end;
  align-items: flex-end;
  will-change: transform;
}
.widget-newposts .thumb {
  width: 28.26%;
  max-width: 80px;
  overflow: hidden;
  margin-right: 15px;
  aspect-ratio: 1/1;
}
.widget-newposts .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}
.widget-newposts .date {
  -webkit-box-flex: 1;
  flex: 1;
  margin: 0;
  color: var(--color-main);
  font-size: 1.1429rem;
}
.widget-newposts .ttl {
  width: 100%;
  margin-top: .85em;
  line-height: 1.5;
}


/* works-side */
.works-side.st-column {
  width: 100%;
  padding: 76px 0 86px;
}
.works-side.st-row {
  padding-top: .3rem;
}
.st-column .works-side-item {
  width: 29.09%;
}
.st-row .works-side-item {
  margin-bottom: 1.8rem;
}
.works-side-ttl {
  margin-bottom: 1.3em;
  font-size: 1.1429rem;
  font-weight: bold;
  line-height: 1.4;
}
.works-side-list {
  font-size: 1.1429rem;
  font-weight: bold;
  line-height: 1.4;
}
.works-side-list li {
  margin-bottom: 1rem;
}
.works-side-list a {
  display: block;
  padding: .56em 1em;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--color-main);
  background: #fff;
}
.works-side-list a:hover {
  background: var(--color-main-lite-bg);
}

/* 検索フォーム */
.entry-search {
  margin-bottom: 40px;
  border: 2px solid #ccbc98;
}

.entry-search .search-input {
  width: 82%;
  width: calc(100% - 46px);
  height: 32px;
  margin: 0;
  padding: 0 8px;
  line-height: 31px;
  border: none;
  border-radius: 0;
  font-size: 13px;
  border-right: 1px solid #ccbc98;
}

.entry-search .search-input:focus {
  outline: none;
}

.entry-search .search-input::placeholder {
  color: #aaa;
}

.entry-search .search-submit {
  position: relative;
  width: 46px;
  height: 32px;
  margin: 0;
  font-size: 0;
  vertical-align: bottom;
  border: none;
  background: #fff;
  cursor: pointer;
  transition: all .5s;
  -webkit-transition: all .5s;
}

.entry-search .search-submit:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 15px;
  height: 15px;
  margin: auto;
  background: url(../img/common/ico_search.svg) no-repeat center / 100%;
}

.entry-search .search-submit:hover {
  background: #f1e5ca;
}

/* searchform works */
.works-searchform {
  padding: 1.55rem 0;
  font-size: 1.1429rem;
  background: var(--color-main-bg);
}
.works-searchform-form {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
}
.search-filed {
  width: 27.27%;
  margin-right: 20px;
  color: #333;

}
.search-filed .s-label {
  margin-bottom: .5em;
  font-weight: bold;
  line-height: 1.5;
}
.search-filed .select-custom {
  display: block;
}
.search-filed select {
  width: 100%;
}

.search-btn {
  min-width: 124px;
  padding: .6em 1.5em;
  color: #fff;
  font-weight: bold;
  border: none;
  line-height: 1;
  background: var(--color-main);
  -webkit-transition:all .5s;
  transition:all .5s;
}
.search-btn:hover {
  text-shadow: none;
  background: var(--color-main-hover);
}
.search-btn::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  margin-right: .55em;
  vertical-align: -.35em;
  background: url(../img/common/icon-search-wht.svg)
}

/* search-count */
.search-count {
  margin-bottom: 5.3rem;
  text-align: right;
}
.search-result .search-count {
  margin-bottom: 1.6rem;
}

/* search-keyword */
.search-keyword {
  margin-bottom: 1.4em;
}
.search-keyword li {
  margin: 0 5px 5px 0;
  padding: .2em 1.2em;
  font-size: .875rem;
  font-weight: bold;
  background: var(--color-main-bg);
}

/* post-list */
.post-list > li {
  overflow: hidden;
  width: 23.64%;
  margin-right: 1.812%;
  margin-bottom: 50px;
}
.news-list > li {
  width: 32.1%;
}
.post-list a {
  position: relative;
  z-index: 2;
  display: block;
  height: 100%;
  text-decoration: none;
  background: var(--color-main-bg);
}
.post-list a:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(52%, 48%);
  width: 91.82%;
  padding-top: 91.82%;
  z-index: -1;
  background: url(../img/common/diag.svg) no-repeat 0 0 / 100%;
}
.post-list .thumb {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
}
.post-list .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}

.post-list .con {
  padding: 1.4286em 1.2em 1.2em;
}

.post-list .con-cat li {
  margin: 0 5px 5px 0;
  padding: 0.4em 1em;
  font-size: .875rem;
  line-height: 1.5;
  font-weight: bold;
  background: #fff;
}

.post-list .con-ttl {
  margin-top: .6em;
  padding-top: .6em;
  border-top: 1px solid var(--color-main);
  font-size: 1.2857rem;
  line-height: 1.3;
  font-weight: bold;
}
.post-list .date {
  display: block;
  margin-bottom: .55em;
  color: var(--color-main);
  font-size: 1.2857rem;
  font-weight: bold;
  line-height: 1;
}

.news-list .con-ttl {
  margin-top: 1.2em;
  padding-top: .8em;
  padding-bottom: 1em;
}


/* PageNavi */
.wp-pagenavi,
.em-pagination {
  display: block;
  margin-top: 2em;
  text-align: center;
}

#contents .wp-pagenavi a,
#contents .wp-pagenavi span,
.em-pagination .page-numbers {
  display: inline-block;
  padding: .3em .8em;
  line-height: 1.6;
  text-decoration: none;
  border: 1px solid #ccc;
  background: #fff;
}

#contents .wp-pagenavi a:hover,
#contents .wp-pagenavi .current,
.em-pagination a.page-numbers:hover,
.em-pagination .page-numbers.current {
  font-weight: 500;
  border-color: #d0a316;
  color: #fff;
  background: #d0a316;
}

.em-pagination strong {
  font-size: 1em;
}


/* article list */
.article-card_item {
  width: 48%;
}

.article-card_item:nth-child(n + 3) {
  margin-top: 4%;
}


/* 記事設定 */
.entry-header {
  margin-bottom: 3.3rem;
}
.entry-header-info {
  margin-bottom: 1em;
}
.entry-header-info .date {
  margin-right: 1.1em;
  color: var(--color-main);
  font-size: 1.4286rem;
  font-weight: bold;
  line-height: 1.4;
}
.entry-header-cat li {
  margin: 0 5px 5px 0;
}
.entry-header-cat a {
  display: block;
  padding: .2em 1.2em;
  font-size: .875rem;
  font-weight: bold;
  text-decoration: none;
  background: var(--color-main-bg);
}
.entry-header-cat a:hover {
  background: #cdcce0;
}
.entry-title {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-bottom: .75em;
  padding: .54em 1em;
  font-size: 1.7143rem;
  font-weight: bold;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-main);
  background: var(--color-main-bg);
}
.entry-title::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(52%, 48%);
  width: 32.93%;
  padding-top: 32.93%;
  z-index: -1;
  background: url(../img/common/diag.svg) no-repeat 0 0 / 100%;
}

/* pagenav */
.entry-pagenav {
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  border-top: 1px solid var(--color-main-menu);
  border-bottom: 1px solid var(--color-main-border);
  margin-top: 6rem;
  border-top: 1px solid var(--color-main-border);
}
.entry-pagenav a {
  text-decoration: none;
  color: #333;
}
.entry-pagenav a:hover {
  color: #252F32;
}
.entry-pagenav .next,
.entry-pagenav .prev {
  width: 42%;
  line-height: 1.4;
}
.entry-pagenav .next a,
.entry-pagenav .prev a {
  position: relative;
  display: block;
  padding: .65em 0 1em;
}
.entry-pagenav .next a {
  padding-left: 2em;
}
.entry-pagenav .prev a {
  padding-right: 2em;
  text-align: right;
}

.entry-pagenav .prev {
  -webkit-box-ordinal-group: 3;
  order: 2;
}
.entry-pagenav .next a:before,
.entry-pagenav .prev a:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1rem;
  height: 1rem;
  background: var(--icon-arrow-main) no-repeat center / 100%;
}
.entry-pagenav .next a:before {transform: scale(-1, 1);
  left: 0;
  transform: scale(-1, 1);
}
.entry-pagenav .prev a:after {
  right: 0;
}

.entry-pagenav .list {
  position: relative;
  width: 15%;
}
.entry-pagenav .list a {
  display: block;
  padding-top: 1.8em;
  text-align: center;
}
.entry-pagenav .list a:before
.entry-pagenav .next a:before,
.entry-pagenav .prev a:after {
  top: .9em;
}
.entry-pagenav .list a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 1.6429rem;
  height: 1.6429rem;
  font-size: 14px;
  margin: 0 auto;
  background: url(../img/common/icon-list-blu.svg) no-repeat center /100%;
}
.entry-pagenav .list {
  padding-top: 1px solod var(--color-main-border);
}
.entry-pagenav .next a:before,
.entry-pagenav .prev a:after {
  top: .9em;
}

/* タグ　*/
.tags-list {
  margin-top: 2em;
  padding: .8em 1.2em;
  background: #35303b;
}
.tags-list li {
  display: inline-block;
}
.tags-list li + li:before {
  margin: 0 .8em;
  color: #ccbc98;
  content: '/';
}
.tags-list li a {
  color: #fff;
  text-decoration: none;
}
.tags-list li a:before {
  content: "#";
  margin-right: .15em;
  color: #252F32;
  font-weight: bold;
}
.tags-list li a:hover {
  opacity: .8;
}

/* sns button */
.social-area {
  position: relative;
  margin-top: 4em;
  padding: 1.5em 1em 1em;
}
.social-ttl {
  margin: 0 0 1em;
  color: #252F32;
  text-align: center;
  letter-spacing: .1em;
}
.social-btn li:not(:last-child) {
  margin-right: .5em;
}

.social-btn li a {
  position: relative;
  z-index: 2;
  display: block;
  min-width: 2.5em;
  min-height: 2.5em;
  padding: .5em .4em .3em;
  color: #fff;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.social-btn li a i {
  -webkit-transition: all .5s;
  transition: all .5s;
  font-size: 1.125em;
}
.social-btn li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(0,0,0,.2);
  -webkit-transition:opacity .5s ease-out; transition:opacity .5s ease-out;
}
.social-btn li a:hover::before {
  opacity: 1;
}

.social-btn .twitter {
  background-color: #1da1f2;
}
.social-btn .facebook {
  background-color: #3b5998;
}
.social-btn .pocket {
  background-color: #ea5a6c;
}
.social-btn .hatena {
  background-color: #008fde;
}
.social-btn .line {
  background-color: #00c300;
}
.social-btn .rss {
  background-color: #ff8c00;
}
/* はてブ */
.fa-hatena:before {
  font-family: Verdana;
  font-weight: bold;
  content: 'B!';
  letter-spacing: -.05em;
}


/* 本文設定 */
.entry-content p {
  line-height: 2;
}

.entry-content em {
  font-style: italic;
  font-weight: normal;
}

.entry-content strong {
  font-size: 1em;
}

.has-normal-font-size,
.has-regular-font-size {
  font-size: inherit !important;
}

.entry-content h1,
h1[class^=is-style] {
  font-size: 1.65em;
}

.entry-content h2,
h2[class^=is-style] {
  font-size: 1.4em;
}

.entry-content h3,
h3[class^=is-style] {
  font-size: 1.2em;
}

.entry-content h4,
h4[class^=is-style] {
  font-size: 1.15em;
}

.entry-content h5,
h5[class^=is-style] {
  font-size: 1.1em;
}

.entry-content h6,
h6[class^=is-style] {
  font-size: 1.05em;
}

/* 投稿画像等設定 */
.wp-block-gallery {
  margin: 2.5em 0 !important;
  padding-left: 0 !important;
}

.wp-caption {
  max-width: 100%;
  margin: 3em auto;
}

.wp-caption-text {
  margin: .8em 0;
  font-size: .9em;
  text-align: center;
}

.img_box .wp-caption {
  margin: 0 auto;
}

.alignright div,
.alignleft div {
  margin: 0 auto;
}

.gallery .gallery-item {
  padding: .5em .8em;
}

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
  max-width: 100%;
  height: auto;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 12px;
}

#content .attachment img {
  display: block;
  margin: 0 auto;
}

#contents .gallery {
  margin-top: 2em;
  margin-bottom: 2em;
}

[id^="gallery-"] img,
[id*=" gallery-"] img {
  border: none !important;
}

/* new-entry */
.new-entry {
  margin-top: 60px;
}

/* archives */
.archives-ttl {
  margin-bottom: 1em;
  font-size: 1.5rem;
  line-height: 1.5;
}

@media screen and (min-width: 600px) {

  .alignleft,
  img.alignleft {
    display: inline;
    float: left;
    margin: 6px 20px 0 0;
  }

  .alignright,
  img.alignright {
    display: inline;
    float: right;
    margin: 0 0 0 20px;
  }
}

@media screen and (min-width: 960px) {
  .works-list > li:nth-child(4n) {
    margin-right: 0;
  }
  .news-list > li:nth-child(3n) {
    margin-right: 0;
  }
}

/* 959px 以下 (タブレット縦以下) */
@media screen and (max-width: 959px) {
  #main, #side  {
    width: 100%;
  }
  #side {
    margin-top: 60px;
  }

  .post-list {
    justify-content: space-between;
  }
  .post-list > li {
    width: 48%;
    margin-right: 0;
  }

}

@media screen and (max-width: 599px) {
  .post-content {
    padding-top: 60px;
  }

  .post-list > li {
    width: 100%;
    margin-bottom: 2rem;
  }

  /* searchform */
  .works-searchform-form {
    display: block;
    text-align: center;
  }
  .search-filed {
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0;
  }
  .st-column .works-side-item {
    width: 100%;
  }


  .entry-header {
    margin-bottom: 2em;
  }
  .entry-header-info.flex {
    flex-direction: column;
  }
  .entry-header-info .date {
    margin-right: 0;
    margin-bottom: .5em;
  }

  .entry-header .entry-title {
    font-size: 1.3em;
  }
  .post-content {
    padding-bottom: 2em;
  }

  .entry-pagenav {
    border-bottom: none;
  }
  .entry-pagenav .next, .entry-pagenav .prev {
    width: 50%;
  }
  .entry-pagenav .next {
    margin-bottom: .5em;
  }
  .entry-pagenav .list {
    width: 100%;
    -webkit-box-ordinal-group: 3;
    order: 2;
    margin-top: 1em;
  }
  .entry-pagenav .list a {
    padding: .8em 1em;
    text-indent: 0;
    color: #333;
    border: 1px solid #252F32;
  }
  .entry-pagenav .list a:before {
    display: inline-block;
    position: static;
    margin-right: 1em;
    vertical-align: -.4em;
  }

  /* archives */
  .archives-ttl {
    text-align: center;
    font-size: 1.4rem;
  }
}
