@charset "utf-8";

.home #lead {
  background: url(../parts/home/header_slider_bg.png) no-repeat center top;
  background-size: cover;
  border-bottom: none;
  padding: 24px 2%;
}
.home #lead > div {
  width: 100%;
}
.home #lead p {
  text-align: center;
  margin-bottom: 10px;
}
.home #lead ul {
  margin-left: 0;
}
.home #lead ul li::before {
  content: none;
}
@media (min-width: 768px) {
  .home #lead {
    background-size: auto;
    padding: 24px 0;
  }
  .home #lead > div {
    width: 980px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
  }
  .home #lead p {
    position: absolute;
    left: 0;
    top: 78px;
    padding: 0;
  }
  .home #lead #slicker {
    width: 550px;
    float: right;
  }
  .home #slider {
    opacity: 0;
    transition: opacity 0.3s linear;
  }
  .home #slider .slick-slide {
    width: 100%;
  }
  .home #slider.slick-initialized {
    opacity: 1;
  }
  .home #slider .slick-dots {
    text-align: right;
  }
  .home #slider .slick-dots .slick-active button {
    background-color: #00d6ff;
  }

  .home #slider {
    width: 100%;
    margin: 0 auto 57px;
  }
  .home #slider .slide a {
    display: block;
  }
  .home #slider .slick-slide {
    transition: opacity 0.2s ease-in-out;
  }
  .home #slider .slick-slide[tabindex='0'] {
    opacity: 1;
  }
  .home #a-main_slider .slick-slide.slick-current {
    opacity: 1;
  }
  .home .slick-prev,
  .slick-next,
  .home .slick-prev:focus,
  .slick-next:focus {
    width: 40px;
    height: 60px;
    background: url(../parts/home/icon_arrow.png) no-repeat center center
      rgba(20, 182, 102, 0.5);
    background-size: 12px auto;
    top: calc(50% - 30px);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    transform: translate(0, 0);
    z-index: 1000;
  }
  .home .slick-prev {
    left: calc(50% - 480px);
  }
  .home .slick-next,
  .home .slick-next:focus {
    -webkit-transform: scale(-1, 1);
    transform: scale(-1, 1);
    right: calc(50% - 480px);
  }
  .home .slick-prev:hover,
  .slick-next:hover {
    background: url(../parts/home/icon_arrow.png) no-repeat center center
      rgba(20, 182, 102, 1);
    background-size: 15px auto;
  }
  .home .slick-prev::before,
  .slick-next::before {
    content: '';
  }
}

/* -------------------------------------------------------------- */
/* コンテンツ */
/* -------------------------------------------------------------- */
.home section {
  width: 100%;
  border-bottom: 1px solid #174e9d;
  padding: 48px 2%;
  font-family: 'Noto Serif JP', 'メイリオ', Meiryo, sans-serif;
  font-weight: 500;
}
.home section:nth-last-of-type(1) {
  border-bottom: none;
}
.home section h2 {
  text-align: center;
  color: #174e9d;
  font-size: 3.4rem;
  line-height: 1.4;
  margin-bottom: 6px;
}
.home section h2 + p {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1.4;
}
.home section h2 + p + div {
  width: 100%;
}
.home section li::before {
  content: '';
  margin-left: 0;
  padding: 0;
  display: inherit;
}
.home #works ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 6px;
  margin-inline: auto;
  margin: 0;
}
.home #works li {
  border: 1px solid #174e9d;
  box-shadow: 5px 5px 0 #174e9d;
  line-height: 1;
  margin-bottom: 16px;
}
.home #works li:last-child {
  margin-right: 0;
}
.home #products a {
  text-decoration: none;
  color: #174e9d;
}
.home #products ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-left: 0;
}
.home #products li {
  text-align: center;
  width: calc(100% / 2 - 5%);
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.home #products li:last-child {
  margin-bottom: 0;
}
.home #products li p::after {
  content: url(../parts/home/products_linkicon.png);
  display: inline-block;
  width: 14px;
  height: 18px;
  margin: 0 0 0 6px;
}
.home #products .ec h3 {
  text-align: center;
  margin-bottom: 20px;
}
.home #products .ec ul {
  display: block;
}
.home #products .ec li {
  width: 60%;
  margin: 0 auto 16px;
}
.home #products .ec li:last-child {
  margin-bottom: 0;
}
.home #exhibit ul {
  width: 100%;
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.home #exhibit li {
  background-color: #fff;
  margin: 0 0 10px 0;
  width: calc(100% / 2 - 5px);
  font-size: 1.3rem;
}
.home #exhibit li:nth-child(4n) {
  margin-right: 0;
}
.home #exhibit li:nth-last-child(1) {
  margin-bottom: 0;
}
.home #exhibit li img {
  border: 1px solid #c8c8c9;
}
.home #news .log,
.home #news .sns {
  width: 100%;
}
.home #news h2 + div {
  width: 100%;
  margin: 18px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.home #news .log {
  margin-bottom: 24px;
}
.home #news dl {
  border-top: 1px dashed #174e9d;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.home #news dl div {
  padding: 10px 0;
  border-bottom: 1px dashed #174e9d;
}
.home #news dd {
  margin-left: 0;
}
.home #license ul {
  width: 100%;
  margin: 18px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.home #license li {
  width: calc(50% - 8px);
}
.home #license li::before {
  content: none;
}
.home #license a {
  display: block;
  border: 1px solid #c8c8c9;
}
.home #license p {
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 2px;
}
/* .home #license li:nth-child(4n) {
  margin-right: 0;
}
.home #license li:nth-last-child(1) {
  margin-bottom: 0;
} */

@media (min-width: 768px) {
  .home section {
    padding: 48px 0;
  }
  .home section h2 {
    line-height: 1.2;
  }
  .home section h2:before,
  .home section h2:after {
    content: url(../parts/home/icon_title.png);
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0 8px;
  }
  .home section h2 + p {
    text-align: center;
    font-size: 2.4rem;
  }
  .home section h2 + p + div {
    width: 980px;
    margin: 0 auto;
  }
  .home #works ul {
    justify-content: center;
    gap: 0 24px;
    margin: 0 0 6px 0;
  }
  .home #works li {
    margin-bottom: 0;
    max-width: 306px;
  }
  .home #works li:last-child {
    margin-right: 0;
  }
  .home #products a {
    text-decoration: none;
    color: #174e9d;
  }
  .home #products ul {
    justify-content: space-between;
    margin-bottom: 30px;
  }
  .home #products li {
    width: 25%;
    font-size: 2.3rem;
    margin-bottom: 24px;
  }
  /* .home #products li p::after {
    content: url(../parts/home/products_linkicon.png);
    display: inline-block;
    width: 14px;
    height: 18px;
    margin: 0 0 0 6px;
  } */
  .home #products li img {
    margin-bottom: 6px;
  }
  .home #products .ec ul {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
  .home #products .ec li {
    width: calc(100% / 3 - 16px);
    text-align: center;
    margin: 0;
  }
  .home #exhibit ul {
    width: 980px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .home #exhibit li {
    width: calc(100% / 4 - 15px);
    margin: 0 20px 0 0;
    text-align: center;
  }
  .home #exhibit li:nth-child(4n) {
    margin-right: 0;
  }
  .home #exhibit li img {
    height: 96px;
    width: auto;
    margin-bottom: 4px;
  }
  .home #news h2 + div {
    width: 980px;
  }
  .home #news .log,
  .home #news .sns {
    width: calc(100% / 2);
    margin-bottom: 0;
  }
  .home #news dl div {
    display: flex;
    flex-wrap: wrap;
  }
  .home #news dt {
    width: calc(100% - 76%);
  }
  .home #news dd {
    width: calc(100% - 24%);
    margin-left: 0;
  }
  .home #news .sns {
    padding: 0 0 0 3%;
  }
  .home #license ul {
    width: 980px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 24px;
  }
  .home #license li {
    width: calc(25% - 18px);
  }
  .home #license p {
    font-size: 1.2rem;
  }
  /* .home #license li:nth-child(4n) {
    margin-right: 0;
  }
  .home #license li:nth-last-child(1),
  .home #license li:nth-last-child(2),
  .home #license li:nth-last-child(3) {
    margin-bottom: 0;
  } */
}

/*----------------------------------------------------
GIF anime
----------------------------------------------------*/
.home #products > div {
  position: relative;
}
.home #products > div::before {
  /*縦*/
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: -50px;
  content: url(../parts/home/okamaru_anime2.gif);
  z-index: -1;
}
.home #products > div::after {
  /*横*/
  display: inline-block;
  position: absolute;
  right: 0;
  top: -210px;
  content: url(../parts/home/okamaru_anime1.gif);
  z-index: -1;
}
@media (max-width: 767px) {
  .home #products > div::before {
    display: none;
  }
  .home #products {
    padding-top: 120px;
  }
}
@media (min-width: 768px) {
  .home #products > div::before {
    left: -100px;
    bottom: -20px;
  }
  .home #products > div::after {
    right: -60px;
    top: -120px;
  }
}
