/*
Theme Name: zousancompany child
Description: WordPressテーマ「zousancompany」の子テーマです。
Template: zousancompany
Author: Hiroshi Ota
Author URI: https://wp.zousanrecords.com/
Version: 1.0.0
*/

/* lang_ul */

#header nav#gnav ul.lang_ul {
  display: flex;
  justify-content: center;
}

#header nav#gnav ul.lang_ul li {
  padding-left: 5px;
  padding-right: 5px;
}

#header ul.lang_ul li:not(:first-child)::before {
  content: '/';
  margin-right: 8px;
}

#header nav#gnav ul.lang_ul a {
  text-decoration: none;
  font-weight: normal;
  color: #999;
}

#header nav#gnav ul.lang_ul .lang_current {
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  #header nav#gnav ul.lang_ul {
    margin-top: 10px;
  }

  #header nav#gnav ul.lang_ul li {
    color: #fff;
  }
}

@media screen and (min-width: 1025px) {
  #header nav#gnav {
    display: flex;
  }

  #header nav#gnav ul.lang_ul {
    margin-left: 20px;
    padding-top: 1px;
    padding-left: 5px;
    padding-right: 5px;
    background: #dfe8ef;
    border-radius: 3px;
  }
}

/* top_banner_area */

#top_banner_area {
  padding-top: 1em !important;
  padding-bottom: 0 !important;
}

ul.banner_slider li {
  margin-left: 5px;
  margin-right: 5px;
}

.top_banner_box a img {
  transition: 0.3s;
  height: auto;
}

.top_banner_box a:hover img {
  opacity: 0.8;
  transition: 0.3s;
}

.top_banner_box .slick-dots li button::before {
  font-size: 6px;
}

@media screen and (max-width: 1024px) {
  .top_banner_box {
    width: 100% !important;
    max-width: none !important;
  }
}

@media screen and (min-width: 1025px) {
  ul.banner_slider {
    width: calc(100% + 10px);
    margin-left: -5px;
  }
}

/* top_topics_area */

#top_topics_area .topics_box .list_cont a {
  text-decoration: none;
}

#top_topics_area .topics_box .list_cont a:hover {
  color: inherit;
}

#top_topics_area .topics_box .list_cont p.topics_date time {
  margin-bottom: 5px;
  font-weight: bold;
  font-style: italic;
  color: #999;
  font-size: 1.4rem;
}

@media screen and (max-width: 599px) {
  #top_topics_area .topics_box ul.topics_ul {
    margin-bottom: 15px !important;
  }

  #top_topics_area .topics_box .list_cont {
    margin-bottom: 0.5em;
  }

  #top_topics_area .topics_box .list_cont .topics_cont {
    display: flex;
    justify-content: space-between;
  }

  #top_topics_area .topics_box .list_cont .topics_cont .pic_cont {
    flex-basis: 40%;
    max-width: 40%;
  }

  #top_topics_area .topics_box .list_cont .topics_cont .topics_caption {
    flex-basis: 58%;
    max-width: 58%;
  }

  #top_topics_area .topics_box .list_cont .topics_title {
    line-height: 1.4em;
  }
}

@media screen and (min-width: 600px) {
  #top_topics_area .topics_box ul.topics_ul {
    margin-bottom: 0 !important;
  }

  #top_topics_area .topics_box .list_cont {
    margin-bottom: 2em;
  }
}

/* top_picslider_area */

#top_picslider_area {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#top_picslider_area ul.picslider_ul li {
	margin-bottom: 0 !important;
}

#top_picslider_area ul.picslider_ul .object_fit::before {
  padding-top: 60%;
}

/* top_works_area */

#top_works_area .works_box ul.works_ul {
  display: flex;
  flex-wrap: wrap;
}

#top_works_area .works_box ul.works_ul li:nth-last-child(-n + 2) {
  margin-bottom: 0;
}

#top_works_area .works_box p.pic {
  margin-bottom: 0;
}

#top_works_area .works_box .works_cont {
  position: relative;
  overflow: hidden;
}

#top_works_area .works_box .works_cont img {
  border: 1px solid #eee;
}

#top_works_area .works_box .works_cont .works_caption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  opacity: 1;
  text-align: center;
  color: #333;
  opacity: 0;
}

#top_works_area .works_box .works_cont .works_caption .caption_cont {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 90%;
}

#top_works_area .works_box .works_cont .works_caption .heading04 {
  font-weight: normal;
  font-size: 1.5rem;
}

#top_works_area .works_box .works_cont:hover .works_caption {
  opacity: 1;
  transition: 0.3s;
}

#top_works_area .works_box .object_fit {
  margin-bottom: 0;
}

@media screen and (max-width: 599px) {
  #top_works_area .works_box .works_cont .works_caption {
    display: none;
  }
}

@media screen and (min-width: 600px) {
  #top_works_area .works_box ul.works_ul li:nth-last-child(-n + 4) {
    margin-bottom: 0;
  }
}

/* pic_cont-category */

.list_cont a .pic_cont {
  position: relative;
  margin-bottom: 5px;
  overflow: hidden;
  border: 1px solid #eee;
}

.list_cont a .pic_cont .object_fit {
  margin-bottom: 0;
}

.list_cont a .pic_cont .category {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 8px 3px;
  font-size: 1rem;
  font-weight: bold;
  z-index: 2;
  color: #fff;
}

.list_cont a .pic_cont .category.cat01 {
  background: #c3003a;
}

.list_cont a .pic_cont .category.cat02 {
  background: #3a546b;
}

.list_cont a .pic_cont .category.cat03 {
  background: #d5a02e;
}

.list_cont a .pic_cont .category.cat04 {
  background: #918d43;
}

.list_cont a .pic_cont .category.cat05 {
  background: #787cac;
}

.list_cont a .pic_cont .category.cat06 {
  background: #604439;
}

.list_cont a .pic_cont .category.cat07 {
  background: #6f2757;
}

.list_cont a .pic_cont .category.cat08 {
  background: #c1541c;
}

.list_cont a .pic_cont .category.cat09 {
  background: #565d63;
}

.list_cont a .pic_cont .category.cat10 {
  background: #baaa52;
}

.list_cont a .pic_cont img {
  transition: 0.5s;
}

.list_cont a:hover .pic_cont img {
  transform: scale(1.1);
  opacity: 0.8;
  transition: 0.5s;
}
