/* variable
-------------------------------------------------------------------------------------------------------------------- */

/* mixin
-------------------------------------------------------------------------------------------------------------------- */

/*
Theme Name: template
Theme URI:
Author: Universal Interactive
Author URI:
Version: 1.0
License: Universal Interactive
License URI: https://www.u-active.jp/
*/

#mainContents {
  margin-top: 210px;
}

/* site common style
-------------------------------------------------------------------------------- */

#sideContents {
  width: 1100px;
  margin: 0 auto;
}

/* content style
-------------------------------------------------------------------------------- */

/* column
---------------------------------------- */

.ui_column01 > .col02 {
  width: calc(100% / 2 - 100px / 2);
  margin-bottom: 70px;
}

/* heading
---------------------------------------- */

.ui_tit02 {
  margin-bottom: 25px;
  line-height: 1.4;
  text-align: left;
}

.ui_tit02 a {
  text-decoration: none;
  color: #000;
}

/* single
---------------------------------------- */

.single01 {
  width: 920px;
  margin: 0 auto;
}

.single01 > p {
  margin: 25px 0;
}

/* btnDetali
---------------------------------------- */

.btnDetail {
  margin-top: 25px;
  text-align: center;
}

.btnDetail .ui_btn01 {
  color: #000;
  width: 250px;
  padding: 21px 0;
  line-height: 0;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.2em;
  border: 1px solid #f19149;
  border-radius: 30px;
}

.btnDetail .ui_btn01:after {
  border: 1px solid #f19149;
  border-width: 2px 2px 0 0;
  width: 6px;
  height: 6px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  vertical-align: 0.2em;
  margin-left: 0.4em;
}

.btnDetail .ui_btn01:hover {
  background-color: #fff;
}

.btnDetail .ui_btn01:hover:after {
  border-color: #f19149;
  -webkit-transform: translateX(6px) rotate(45deg);
          transform: translateX(6px) rotate(45deg);
}

/* post_meta
---------------------------------------- */

.post_meta {
  margin-bottom: 19px;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

.post_meta > p {
  padding: 4px 16px;
  margin-bottom: 6px;
  color: #fff;
}

.post_meta > .date {
  margin-right: 8px;
  background-color: #f19149;
}

.post_meta > .cat {
  background-color: #d70b18;
}

.post_meta > .cat a {
  color: #fff;
}

.post_meta > .cat a:hover {
  text-decoration: none;
}

.single01 .post_meta {
  margin: 0 0 20px;
}

.single01 .post_meta p {
  margin: 0 0 10px;
}

.single01 .post_meta > .date {
  margin-right: 15px;
}

/* img
---------------------------------------- */

.thumbnailWrap {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.thumbnailWrap img {
  max-width: 100%;
  height: auto;
}

.single01 img[class*='wp-image'] {
  display: block;
  max-width: 100%;
  height: auto;
}

.single01 img.alignnone {
  display: inline-block;
}

.single01 img.alignright {
  float: right;
  margin: 5px 0 20px 60px;
}

.single01 img.aligncenter {
  float: none;
  margin: 0 auto 25px;
}

.single01 img.alignleft {
  float: left;
  margin: 5px 60px 20px 0;
}

.single01 .gallery {
  margin-bottom: 30px !important;
}

.single01 .gallery .gallery-item {
  margin-top: 30px !important;
}

.single01 .gallery .gallery-item .gallery-icon {
  padding: 0 10px;
}

.single01 .gallery .gallery-item .gallery-icon img {
  max-width: 100%;
  width: auto;
  height: auto;
  border: none !important;
}

.single01 .gallery .gallery-item .gallery-caption {
  padding: 10px 10px 0;
  line-height: 1.5;
}

/* pager index
------------------------------------------ */

#pager {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
}

#pager > * {
  display: block;
  font-size: 110%;
  width: 54px;
  height: 54px;
  line-height: 50px;
  text-align: center;
  border-radius: 50px;
  border: 2px solid #f19149;
  color: #f19149;
  text-decoration: none;
}

#pager > *:nth-child(n + 2) {
  margin-left: 10px;
}

#pager > .dots {
  border-color: transparent;
  width: 30px;
}

#pager > .prev,
#pager > .next {
  width: 120px;
}

#pager > a {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #f19149;
  border-color: #f19149;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#pager > a:hover,
#pager > .current {
  color: #fff;
  background-color: #f19149;
}

#pager > .current {
  background-color: #f19149;
}

/* pager single
------------------------------------------ */

#pager.single > a {
  width: 240px;
}

/* aside style
-------------------------------------------------------------------------------- */

/* aside global
---------------------------------------- */

#asideBoxWrap {
  margin: 100px 0 100px;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.asideBox {
  -webkit-box-flex: 0;
          flex: 0 0 auto;
  width: 320px;
}

.asideBox .ui_tit03 {
  margin-bottom: 30px;
}

/* aside list
---------------------------------------- */

.asideList li {
  border-top: 1px solid #dfdfdf;
  background-color: #ffffff;
}

.asideList li:last-child {
  border-bottom: 1px solid #dfdfdf;
}

.asideList li a {
  display: block;
  padding: 11px 10px 11px 42px;
  color: #000;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.asideList li a:hover {
  background-color: #fdece0;
}

.asideList li a:after {
  content: '';
  display: block;
  position: absolute;
  left: 22px;
  top: 50%;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  background-color: #d70b18;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.asideList li a:hover:after {
  border-color: transparent transparent transparent #fff;
}

/* news
---------------------------------------- */

.asideBox.wFull {
  margin-bottom: 60px;
  -webkit-box-ordinal-group: 0;
          order: -1;
}

.asideListNews ul {
  display: -webkit-box;
  display: flex;
}

.asideListNews ul li {
  width: 245px;
  margin-left: 40px;
}

.asideListNews ul li:nth-child(4n + 1) {
  margin-left: 0;
}

.asideListNews ul li a {
  display: block;
  width: 100%;
  line-height: 1.5;
  text-decoration: none;
  color: #000000;
  font-size: 110%;
}

.asideListNews ul li a:hover {
  text-decoration: underline;
}

.asideListNews ul li a img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.asideListNews ul li a:hover img {
  opacity: 0.7;
}

.asideListNews ul li a p {
  text-align: center;
}

/* aside calender
------------------------------------------ */

#wp-calendar {
  width: 100%;
  line-height: 1;
}

#wp-calendar caption {
  font-size: 22px;
  color: #000;
  margin-bottom: 12px;
}

#wp-calendar th,
#wp-calendar td {
  padding: 15px 0;
  text-align: center;
  width: 14.29%;
  width: calc(100% / 7);
  color: #000;
  background-color: #ffffff;
}

#wp-calendar a {
  text-decoration: none;
}

#wp-calendar a:hover {
  text-decoration: underline;
}

#wp-calendar thead th {
  background-color: #f19149;
  color: #ffffff;
  font-weight: normal;
  padding: 12px 0;
}

/* #wp-calendar tbody:before,
#wp-calendar tbody:after {
    content: "";
    display: table-row;
    height: 6px;
} */

#wp-calendar tbody td {
  position: relative;
}

#wp-calendar tbody td a {
  display: block;
  position: relative;
  z-index: 1;
  color: #fff;
}

#wp-calendar tbody td a:before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px;
  border-radius: 50px;
  background-color: #d70b18;
  z-index: -1;
}

#wp-calendar tfoot td {
  background-color: #f19149;
  padding: 12px 0;
}

#wp-calendar tfoot a {
  color: #ffffff;
}

@media (max-width: 750px) {
  #mainContents {
    margin-top: 88px;
  }

  /* column
    ---------------------------------------- */

  .ui_column01 > .col02 {
    width: 100%;
    margin-bottom: 100px !important;
  }

  /* heading
    ---------------------------------------- */

  .ui_tit02 {
    margin-bottom: 30px;
  }

  /* single
    ---------------------------------------- */

  .single01 {
    width: 100%;
  }

  .single01 > p {
    margin: 30px 0;
  }

  /* btnDetali
    ---------------------------------------- */

  .btnDetail .ui_btn01 {
    color: #000;
    width: 500px;
    padding: 40px 0 40px;
    line-height: 0;
    font-size: 30px;
    letter-spacing: 0.2em;
    border-radius: 60px;
  }

  .btnDetail .ui_btn01:after {
    border-width: 3px 3px 0 0;
    width: 15px;
    height: 15px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    vertical-align: 0.2em;
    margin-left: 0.4em;
  }

  /* post_meta
    ---------------------------------------- */

  .post_meta {
    margin-bottom: 20px;
  }

  .post_meta > p {
    padding: 5px 19px;
    margin-bottom: 10px;
  }

  .post_meta > .date {
    margin-right: 15px;
  }

  .single01 .post_meta {
    margin: 0 0 20px;
  }

  .single01 .post_meta > p {
    margin: 0 0 10px;
  }

  .single01 .post_meta > .date {
    margin-right: 20px;
  }

  /* img
    ---------------------------------------- */

  .thumbnailWrap {
    margin-bottom: 25px;
  }

  .thumbnailWrap img {
    width: 100%;
  }

  .single01 img[class*='wp-image'] {
    width: 100%;
  }

  .single01 img.alignright,
  .single01 img.aligncenter,
  .single01 img.alignnone,
  .single01 img.alignleft {
    display: block;
    float: none;
    margin: 30px auto;
  }

  .single01 .gallery {
    margin-bottom: 40px !important;
  }

  .single01 .gallery .gallery-item {
    float: none !important;
    width: 100% !important;
    margin-top: 40px !important;
  }

  .single01 .gallery .gallery-item .gallery-caption {
    font-size: 30px;
    margin-top: 15px;
  }

  .single01 .gallery br {
    display: none;
  }

  /* pager
    ---------------------------------------- */

  #pager > * {
    height: 80px;
    line-height: 74px;
    border-width: 3px;
    display: none;
    font-size: 100%;
  }

  #pager > *:nth-child(n + 2) {
    margin-left: 10px;
  }

  #pager > .current {
    display: block;
    width: 300px;
  }

  #pager > .prev,
  #pager > .next {
    display: block;
    width: 150px;
  }

  /* pager single
    ------------------------------------------ */

  #pager.single > a {
    display: block;
    width: 200px;
  }

  /* aside style
    -------------------------------------------------------------------------------- */

  /* aside global
    ---------------------------------------- */

  #sideContents {
    width: 750px;
    margin: 0 auto;
  }

  #asideBoxWrap {
    display: block;
    width: 750px;
    margin: 100px 0 157px;
    padding: 0 45px;
  }

  .asideBox {
    width: 100%;
  }

  .asideBox + .asideBox {
    margin: 80px 0 0;
  }

  /* aside list
    ---------------------------------------- */

  .asideList li a {
    padding: 20px 30px 20px 65px;
  }

  .asideList li a:after {
    left: 20px;
    margin-top: -10px;
    width: 20px;
    height: 20px;
  }

  /* news
    ---------------------------------------- */

  .asideBox.wFull {
    margin-bottom: 0;
  }

  .asideListNews {
    margin-bottom: 60px;
  }

  .asideListNews ul {
    display: block;
  }

  .asideListNews ul li {
    width: 100%;
    margin: 0 0 35px;
  }

  .asideListNews ul li a {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
  }

  .asideListNews ul li a img {
    width: 220px;
    margin: 0 25px 0 0;
  }

  .asideListNews ul li a p {
    text-align: left;
  }

  /* aside calender
    ------------------------------------------ */

  #wp-calendar caption {
    font-size: 38px;
    margin: 10px 0 20px;
  }

  #wp-calendar th,
  #wp-calendar td {
    padding: 25px 0;
    font-size: 110%;
  }

  #wp-calendar thead th,
  #wp-calendar tfoot td {
    padding: 22px 0;
  }

  #wp-calendar tbody:before,
  #wp-calendar tbody:after {
    height: 10px;
  }

  #wp-calendar tbody td:nth-child(n + 2):before {
    left: -1px;
    top: 20px;
    bottom: 20px;
    width: 2px;
  }

  #wp-calendar tbody td a:before {
    width: 60px;
    height: 60px;
    margin: -30px;
  }
}