/** @format */

@charset "utf-8";

/*  home.css
Roboto
Regular 400
Medium 500
Bold 700
Black 900
---------------------------------------------- */

/*  pc
---------------------------------------------- */

/* mv */
#mv {
  padding: 130px 0 60px;
}
#mv .txt {
  width: 92%;
  max-width: 1360px;
  margin: 0 auto 20px;
  font-size: 4.5rem;
  text-align: center;
  font-weight: 700;
  line-height: 56px;
}

/* create */
#create .inner {
  max-width: 1500px;
  padding: 85px 120px;
  border: 1px solid #d4d5d7;
  border-radius: 20px;
  background: #ffffff;
}
#create .chg_body h2 {
  margin-top: 60px;
  font-size: 5.5rem;
  text-align: center;
}
#create .chg_body .notes {
  font-size: 1.6rem;
}
#create .chg_body .lists {
  display: flex;
  justify-content: space-between;
  gap: 90px;
  margin: 40px 0 30px;
  text-align: center;
}
#create .chg_body .lists li {
  width: calc((100% - 180px) / 3);
}
#create .chg_body .lists .ttl {
  margin: 35px 0 10px;
  font-size: 3.2rem;
  font-weight: 700;
}
#create .chg_body .lists .txt {
  font-size: 1.8rem;
  color: #707788;
}

/* blog */
#blog .lists li {
  position: relative;
  float: left;
  width: calc((100% - 40px) / 2);
  height: 310px;
  border-radius: 20px;
  overflow: hidden;
}
#blog .lists li.first {
  height: 660px;
  margin-right: 40px;
}
#blog .lists li:nth-child(2) {
  margin-bottom: 40px;
}
#blog .lists li .img {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#blog .lists li .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#blog .lists li::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/home/blog_overlay.png") no-repeat center / cover;
  z-index: 1;
}
#blog .lists li .content {
  position: absolute;
  display: block;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.05);
  z-index: 2;
}
#blog .lists li.first .content {
  left: 0;
  bottom: 0;
  padding: 25px 40px;
}
#blog .lists li:not(.first) .content {
  right: 0;
  top: 0;
  max-width: 360px;
  height: 100%;
  padding: 35px;
}
#blog .lists li .head {
  display: flex;
  margin-bottom: 15px;
}
#blog .lists li .head .time,
#blog .lists li .head .date {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 15px;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.8);
}
#blog .lists li .head .time {
  position: relative;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px 0 0 20px;
}
#blog .lists li .head .date {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0 20px 20px 0;
}
#blog .lists li .head .time::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ffffff;
}
#blog .lists li .body {
  margin-bottom: 20px;
  color: #fff;
}
#blog .lists li.first .body {
  width: calc(100% - 200px);
}
#blog .lists li .body .ttl {
  margin-bottom: 10px;
  font-size: 2.6rem;
  font-weight: 700;
}
#blog .lists li .body .txt {
  font-size: 1.6rem;
  opacity: 0.8;
}
#blog .lists li .link {
  width: 180px;
  height: 50px;
  font-size: 1.8rem;
}
#blog .lists li.first .link {
  position: absolute;
  right: 35px;
  bottom: 35px;
}

/* announcements */

#announcements .lists li:not(:last-child) {
  margin-bottom: 10px;
}
#announcements .lists li a {
  display: block;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #d4d5d7;
  border-radius: 20px;
  font-size: 1.9rem;
}
#announcements .lists li .date {
  display: inline-block;
  width: 110px;
  color: #707788;
}
#announcements .lists li .ttl {
  display: inline-block;
  width: calc(100% - 110px);
  font-weight: 500;
  color: #8935c5;
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 959px) {
  #mv {
    padding: 220px 0 70px;
  }
  #mv .txt {
    margin: 0 auto 10px;
    font-size: 2.8rem;
    line-height: 1.1;
  }

  /* featured */

  #featured .card_lists {
    flex-wrap: nowrap;
  }
  #featured .card_lists li {
    width: inherit;
  }
  #featured .card_lists .card_head {
    width: 260px;
  }

  #create .inner {
    max-width: inherit;
    padding: 0;
    border: none;
  }
  #create .tab {
    flex-direction: column;
    gap: 10px;
  }
  #create .tab li {
    width: 100%;
  }
  #create .chg_body h2 {
    margin: 50px 0 10px;
    font-size: 3rem;
    font-weight: 700;
  }
  #create .chg_body .lists {
    margin: 30px 0;
    flex-direction: column;
    gap: 20px;
  }
  #create .chg_body .lists li {
    width: 100%;
  }
  #create .chg_body .lists li img {
    width: 65%;
    max-width: 190px;
  }
  #create .chg_body .lists .ttl {
    margin: 10px 0 5px;
    font-size: 2.6rem;
    line-height: 1.1;
  }
  #create .chg_body .lists .txt {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  /* blog */
  #blog .lists li {
    float: none;
    width: 100%;
    height: 225px;
    margin-bottom: 15px;
  }
  #blog .lists li.first {
    height: 225px;
    margin-right: 0;
  }
  #blog .lists li:nth-child(2) {
    margin-bottom: 15px;
  }
  #blog .lists li .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
  }
  #blog .lists li.first .content {
    padding: 25px 20px;
  }
  #blog .lists li:not(.first) .content {
    max-width: inherit;
    padding: 25px 20px;
  }
  #blog .lists li .content .sp_img {
    width: 110px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
  }
  #blog .lists li .content .sp_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #blog .lists li .info {
    width: calc(100% - 125px);
  }
  #blog .lists li .info .head {
    margin-bottom: 10px;
  }
  #blog .lists li .info .head .time,
  #blog .lists li .info .head .date {
    padding: 0 10px;
    height: 25px;
    font-size: 1.3rem;
    font-weight: 700;
  }
  #blog .lists li .info .head .time {
    white-space: nowrap;
  }
  #blog .lists li .info .head .time::before {
    width: 14px;
    height: 14px;
  }
  #blog .lists li .info .body {
    margin-bottom: 0;
  }
  #blog .lists li.first .info .body {
    width: 100%;
  }
  #blog .lists li .info .body .ttl {
    margin-bottom: 3px;
    font-size: 1.6rem;
  }
  #blog .lists li .info .body .txt {
    font-size: 1.5rem;
  }
  #blog .lists li .info .link {
    width: 130px;
    height: 30px;
    font-size: 1.8rem;
  }
  #blog .lists li .info .link {
    margin-top: 10px;
    position: relative;
    right: inherit;
    bottom: inherit;
    font-size: 1.5rem;
  }
  #blog .lists li .info .link::after {
    right: 13px;
  }

  /* announcements */
  #announcements .lists li a {
    padding: 10px 20px;
    border-radius: 10px;
  }
  #announcements .lists li .date {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    font-size: 1.6rem;
  }
  #announcements .lists li .ttl {
    width: 100%;
    font-size: 1.5rem;
  }
}
