html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

/*
Theme Name: IKWORKS
Theme URI: http://ikworks.co.jp/themes/ikworks/
Author: IKWORKS
Author URI: http://ikworks.co.jp/
Version: 1.0
*/
.main h1,
.main h2,
.main h3,
.main h4,
.side-title {
  line-height: 150%;
  font-weight: normal;
  padding-bottom: 1rem;
}

.main h1,
.side-title {
  border-bottom: 7px solid #DDD;
}

.main h2 {
  border-bottom: 3px solid #2692d5;
}

.main h3 {
  font-weight: bold;
  padding-top: 1rem;
}

.eyecatch {
  width: 100%;
  background-color: #e6f0f9;
}

.swiper-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.swiper-container::after {
  clear: both;
  content: "";
  display: table;
}
.swiper-container .swiper-wrapper .swiper-slide {
  position: relative;
}
.swiper-container .swiper-wrapper .swiper-slide img {
  width: 100%;
}
.swiper-container .swiper-wrapper .swiper-slide .slide-text {
  position: absolute;
  bottom: 20px;
  left: 40px;
  color: #FFF;
}
@media screen and (min-width: 1251px) {
  .swiper-container .swiper-wrapper .swiper-slide .slide-text {
    font-size: 1em;
    width: 50%;
  }
}
@media screen and (max-width: 1250px) {
  .swiper-container .swiper-wrapper .swiper-slide .slide-text {
    font-size: 1em;
    width: 90%;
  }
}
@media screen and (max-width: 650px) {
  .swiper-container .swiper-wrapper .swiper-slide .slide-text {
    font-size: 0.8em;
    width: 90%;
  }
}
@media screen and (min-width: 1251px) {
  .swiper-container .swiper-wrapper .swiper-slide .slide-text .slide-title {
    font-size: 2.5em;
    margin-bottom: 2em;
  }
}
@media screen and (max-width: 1250px) {
  .swiper-container .swiper-wrapper .swiper-slide .slide-text .slide-title {
    font-size: 1.3em;
    margin-bottom: 1em;
  }
}
@media screen and (max-width: 650px) {
  .swiper-container .swiper-wrapper .swiper-slide .slide-text .slide-title {
    font-size: 1.3em;
  }
}

.cap-gallery-4 ul {
  margin: 0 auto 2em;
}
@media screen and (min-width: 1251px) {
  .cap-gallery-4 ul {
    display: flex;
  }
}
@media screen and (max-width: 1250px) {
  .cap-gallery-4 ul {
    display: block;
  }
}
.cap-gallery-4 ul li {
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 3px;
  margin-bottom: 1.5em;
  padding: 0.5em;
}
.cap-gallery-4 ul li figure {
  text-align: center;
}
@media screen and (max-width: 650px) {
  .cap-gallery-4 ul li figure img {
    height: 100px;
    width: 100px;
    float: left;
  }
}
.cap-gallery-4 ul li figure figcaption {
  padding: 1em;
  text-align: left;
}
@media screen and (max-width: 650px) {
  .cap-gallery-4 ul li figure figcaption {
    margin-left: 105px;
    padding: 0;
  }
}
@media screen and (min-width: 1251px) {
  .cap-gallery-4 ul li {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 23.23176%;
  }
  .cap-gallery-4 ul li:last-child {
    margin-right: 0;
  }
  .cap-gallery-4 ul li:nth-child(4n) {
    margin-right: 0;
  }
  .cap-gallery-4 ul li:nth-child(4n+1) {
    clear: left;
  }
}
@media screen and (max-width: 1250px) {
  .cap-gallery-4 ul li {
    float: left;
    display: block;
    margin-right: 4.82916%;
    width: 47.58542%;
  }
  .cap-gallery-4 ul li:last-child {
    margin-right: 0;
  }
  .cap-gallery-4 ul li:nth-child(2n) {
    margin-right: 0;
  }
  .cap-gallery-4 ul li:nth-child(2n+1) {
    clear: left;
  }
}
@media screen and (max-width: 650px) {
  .cap-gallery-4 ul li {
    float: left;
    display: block;
    margin-right: 10.1484%;
    width: 100%;
  }
  .cap-gallery-4 ul li:last-child {
    margin-right: 0;
  }
  .cap-gallery-4 ul li:nth-child(1n) {
    margin-right: 0;
  }
  .cap-gallery-4 ul li:nth-child(1n+1) {
    clear: left;
  }
}

.front-news {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 74.41059%;
}
.front-news:last-child {
  margin-right: 0;
}
@media screen and (max-width: 1250px) {
  .front-news {
    float: left;
    display: block;
    margin-right: 4.82916%;
    width: 100%;
    margin-bottom: 2rem;
  }
  .front-news:last-child {
    margin-right: 0;
  }
}
.front-news dt {
  font-weight: bold;
}
.front-news dt.date {
  width: 150px;
}
@media screen and (min-width: 1251px) {
  .front-news dt.date {
    float: left;
  }
}
@media screen and (max-width: 1250px) {
  .front-news dt.date {
    float: left;
  }
}
@media screen and (max-width: 650px) {
  .front-news dt.date {
    float: none;
  }
}
.front-news dt.title {
  margin: 0 0 1em 150px;
}
.front-news dd {
  margin-left: 150px;
  margin-bottom: 1em;
}
@media screen and (max-width: 650px) {
  .front-news dd {
    margin-left: 0;
  }
}
.front-news dd.excerpt:after {
  display: block;
  clear: both;
  margin-left: -150px;
  padding-top: 0.5em;
  border-bottom: 1px dashed #DDD;
  content: "";
}

.post-nav {
  padding-top: 2em;
  margin-top: 2em;
  border-top: 1px dashed #DDD;
}
.post-nav .next,
.post-nav .prev {
  border: 1px solid #DDD;
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 48.82117%;
  height: 5em;
  margin-bottom: 0.5em;
}
.post-nav .next:last-child,
.post-nav .prev:last-child {
  margin-right: 0;
}
@media screen and (max-width: 1250px) {
  .post-nav .next,
  .post-nav .prev {
    height: auto;
    min-height: 5em;
  }
}
@media screen and (max-width: 650px) {
  .post-nav .next,
  .post-nav .prev {
    height: auto;
    float: left;
    display: block;
    margin-right: 10.1484%;
    width: 100%;
  }
  .post-nav .next:last-child,
  .post-nav .prev:last-child {
    margin-right: 0;
  }
}
.post-nav .next a,
.post-nav .prev a {
  display: block;
  padding: 0.8em 1em;
  height: 100%;
}
.post-nav .next a:hover,
.post-nav .prev a:hover {
  background-color: #fafafa;
}
.post-nav .prev {
  border-left-width: 10px;
}
.post-nav .next {
  border-right-width: 10px;
}

.post-archive {
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 3px;
  padding: 0.5em 1em;
  position: relative;
  margin-bottom: 1.5em;
}
.post-archive h1 {
  border-bottom: 3px solid #DDD;
}
@media screen and (min-width: 1251px) {
  .post-archive h1 {
    padding-right: 7em;
  }
}
@media screen and (max-width: 1250px) {
  .post-archive h1 {
    padding-top: 2em;
  }
}
.post-archive time {
  display: inline-block;
  text-align: center;
  line-height: 100%;
  color: #FFF;
  background-color: #2692d5;
  border-radius: 0.5em;
  border: 1px solid #DDD;
  padding: 0.5em 0.5em 0.3em;
  position: absolute;
  top: 1em;
  right: 1em;
}
.post-archive a {
  text-decoration: none;
}

@media screen and (min-width: 1251px) {
  .post-single header h1 {
    padding-right: 7em;
  }
}
.post-single header time {
  display: inline-block;
  text-align: center;
  line-height: 100%;
  color: #FFF;
  background-color: #2692d5;
  border-radius: 0.5em;
  border: 1px solid #DDD;
  padding: 0.5em 0.5em 0.3em;
  margin-bottom: 0.5em;
}
@media screen and (min-width: 1251px) {
  .post-single header time {
    position: absolute;
    top: 0.5em;
    right: 1em;
  }
}
@media screen and (max-width: 1250px) {
  .post-single header time {
    position: relative;
    bottom: 0.5em;
  }
}

.side-banner {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 23.23176%;
}
.side-banner:last-child {
  margin-right: 0;
}
@media screen and (max-width: 1250px) {
  .side-banner {
    float: left;
    display: block;
    margin-right: 4.82916%;
    width: 100%;
  }
  .side-banner:last-child {
    margin-right: 0;
  }
}
.side-banner li {
  text-align: center;
  margin-bottom: 1em;
}
@media screen and (max-width: 1250px) {
  .side-banner li {
    float: left;
    display: block;
    margin-right: 4.82916%;
    width: 30.11389%;
  }
  .side-banner li:last-child {
    margin-right: 0;
  }
  .side-banner li:nth-child(3n) {
    margin-right: 0;
  }
  .side-banner li:nth-child(3n+1) {
    clear: left;
  }
}
@media screen and (max-width: 650px) {
  .side-banner li {
    float: left;
    display: block;
    margin-right: 10.1484%;
    width: 26.56773%;
  }
  .side-banner li:last-child {
    margin-right: 0;
  }
  .side-banner li:nth-child(3n) {
    margin-right: 0;
  }
  .side-banner li:nth-child(3n+1) {
    clear: left;
  }
}
.side-banner li img {
  max-width: 279px;
}
@media screen and (max-width: 1250px) {
  .side-banner li img {
    max-width: 100%;
  }
}

.side-nav li {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px dashed #DDD;
}
.side-nav li a {
  text-decoration: none;
}

.side-contact {
  border: 1px solid #869AA4;
  border-radius: 5px;
  padding: 0;
}
.side-contact h1,
.side-contact h2 {
  font-size: 1rem;
  padding: 1em;
}
.side-contact h1 {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  font-weight: normal;
  background-color: #2692d5;
  color: #FFF;
  margin: 0;
}
.side-contact h2 {
  font-size: 1rem;
  margin: 0;
}
.side-contact dl {
  padding: 0 1em;
  margin: 0 0 0.5em;
}
.side-contact dl::after {
  clear: both;
  content: "";
  display: table;
}
.side-contact dl dt,
.side-contact dl dd {
  margin-bottom: 0.5em;
}
@media screen and (min-width: 1251px) {
  .side-contact dl dt {
    clear: both;
  }
}
@media screen and (max-width: 1250px) {
  .side-contact dl dt {
    float: left;
    display: block;
    margin-right: 4.82916%;
    width: 12.64237%;
  }
  .side-contact dl dt:last-child {
    margin-right: 0;
  }
}
@media screen and (max-width: 1250px) {
  .side-contact dl dd {
    float: left;
    display: block;
    margin-right: 4.82916%;
    width: 30.11389%;
  }
  .side-contact dl dd:last-child {
    margin-right: 0;
  }
  .side-contact dl dd:nth-child(2n) {
    margin-right: 0;
  }
  .side-contact dl dd:nth-child(2n+1) {
    clear: left;
  }
}
@media screen and (max-width: 650px) {
  .side-contact dl dd {
    float: left;
    display: block;
    margin-right: 10.1484%;
    width: 63.28387%;
  }
  .side-contact dl dd:last-child {
    margin-right: 0;
  }
  .side-contact dl dd:nth-child(2n) {
    margin-right: 0;
  }
  .side-contact dl dd:nth-child(2n+1) {
    clear: left;
  }
}
.side-contact dl .tel,
.side-contact dl .fax,
.side-contact dl .address {
  font-size: 0.9em;
  background-color: #444;
  color: #FFF;
  padding: 3px 7px;
  border-radius: 3px;
  line-height: 100%;
  width: 5em;
  text-align: center;
  margin-right: 1em;
}
@media screen and (min-width: 1251px) {
  .side-contact dl .tel,
  .side-contact dl .fax {
    float: left;
  }
}
@media screen and (max-width: 650px) {
  .side-contact dl .fax {
    clear: both;
  }
}
@media screen and (max-width: 1250px) {
  .side-contact dl .address {
    clear: both;
    float: left;
  }
}
@media screen and (max-width: 1250px) {
  .side-contact dl .address + dd {
    float: left;
    display: block;
    margin-right: 4.82916%;
    width: 82.52847%;
  }
  .side-contact dl .address + dd:last-child {
    margin-right: 0;
  }
}
.side-contact .btn-form {
  padding: 0 1em 1em;
  margin: 0;
}
.side-contact .btn-form a {
  text-decoration: none;
  text-align: center;
  line-height: 100%;
  padding: 1em 0.5em;
  border-radius: 3px;
  display: block;
  background-color: #EA5413;
  color: #FFF;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.side-contact .btn-form a:hover {
  background-color: #EEAA39;
}
