@charset "UTF-8";

/* ==== root ========================== */
:root {
  --color-black: #555555;
  --color-white: #ffffff;
  --color-primary: #FF7F00;
  --color-bg: #F2F2F2;

  --noto-sans: "Noto Sans JP", serif;
  --shippori-m: "Shippori Mincho B1", serif;
  --montserrat: "Montserrat", sans-serif;

}


/*================================================
 * #subVisual
 ================================================*/
#subVisual.works::before {
  background-image: url(../../images/works/sub_vis.jpg);
}

#subVisual.news {
  height: auto;
  padding-bottom: 7rem;
}

#subVisual.news::before,
#subVisual.news::after {
  content: none;
}

#subVisual.news h2 {
  padding-top: 5rem;
  text-align: left;
}

#subVisual.news h2 span::before {
  right: auto;
  left: 0;
}

@media screen and (max-width:767px) {}


/*================================================
 * works
 ================================================*/
#works .wrap {
  width: 113rem;
}

.works_list {
  display: grid;
  gap: 7rem;
  grid-template-columns: repeat(3, 1fr);
}

.works_list img {
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 331/208;
  width: 100%;
  height: auto;
  border-radius: 3rem;
}

.works_list a div {
  background: var(--color-white);
  padding: 1rem;
  border-radius: 1rem;
  width: 82%;
  margin: -3rem auto 0;
  position: relative;
  z-index: 1;
}

.works_list a div p {
  color: #7C7C7C;
  font-size: 1.4rem;
}

.works_list a div p span {
  display: inline-block;
  line-height: 1;
  padding: 0.3rem 1rem;
  background: var(--color-black);
  border-radius: 10000px;
  font-size: 1rem;
  color: var(--color-white);
}

#postArea .area,
.works_list a div p.area {
  margin: 0.5rem 0;
  color: #7C7C7C;
}

.works_list a div h3 {
  font-size: 1.3rem;
}

.pnavi {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  margin-top: 6rem;
}

.pnavi span,
.pnavi a {
  display: grid;
  place-content: center;
  width: 3.2rem;
  height: 3.2rem;
  aspect-ratio: 1/1;
  border-radius: 10000px;
}

.pnavi a:hover,
.pnavi span {
  background: var(--color-black);
  color: var(--color-white);
}

.pnavi a.next.page-numbers,
.pnavi a.prev.page-numbers {
  display: none;
}

@media screen and (max-width:767px) {
  #works .wrap {
    width: 34.5rem;
  }

  .works_list {
    gap: 4rem;
    grid-template-columns: repeat(1, 1fr);
  }
}



/*================================================
 *  news
 ================================================*/
#news .wrap {
  width: 75rem;
}

.news_list li {
  border-bottom: 0.1rem solid #707070;
  margin-bottom: 2rem;
}

.news_list a {
  padding: 0 1rem 1rem;
}

.news_list p {
  color: #7C7C7C;
}

.news_list h3 {
  font-size: 1.8rem;
  font-weight: 600;
  transition: all .4s;
}

.news_list a:hover h3 {
  color: var(--color-primary);
}

.news_pnavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  margin: 6rem auto;
}

.news_pnavi a {
  width: 20rem;
  height: 5rem;
  display: grid;
  place-content: center;
  border-radius: 10000px;
  color: var(--color-white);
  font-size: 1.6rem;
  background: var(--color-black);
  position: relative;
  line-height: 1;
}

.news_pnavi a:hover {
  background: var(--color-primary);
}


.news_pnavi a::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
}

.news_pnavi a.prev::before {
  background-image: url(../../images/news/prev_arrow.png);
  left: 1.8rem;
}

.news_pnavi a.next::before {
  background-image: url(../../images/news/next_arrow.png);
  right: 1.8rem;
}

@media screen and (max-width:767px) {
  #news .wrap {
    width: 34.5rem;
  }

  .news_pnavi {
    gap: 2rem;
    margin: 6rem auto;
  }

  .news_pnavi a {
    width: 18rem;
    height: 4rem;
    font-size: 1.4rem;
  }
}

/*================================================
 * blog
 ================================================*/


.blog_list {
  display: grid;
  gap: 2.8rem;
  grid-template-columns: repeat(3, 1fr);
}

.blog_list a {
  background: var(--color-white);
  padding-bottom: 4rem;
  border-radius: 3rem 3rem 0 0;
}

.blog_list a img {
  border-radius: 3rem 3rem 0 0;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 305/173;
  height: auto;
}

.blog_list p {
  margin: 1rem 0 0.5rem;
  padding: 0 1rem;
}

.blog_list h3 {
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0 1rem;
  transition: all .4s;
}

.blog_list a:hover h3 {
  color: var(--color-primary);
}

@media screen and (max-width:767px) {
  .blog_logo {
    margin: 0 auto 4rem;
  }

  .blog_list {
    grid-template-columns: repeat(1, 1fr);
  }
}




/*================================================
 * postVisual
 ================================================*/
#postVisual {
  padding-top: 14rem;
  padding-bottom: 0;
}

#postVisual .wrap {
  width: 115rem;
  border-bottom: 0.1rem solid #707070;
  padding-bottom: 1.5rem;
}

#postVisual h2 {
  margin-bottom: 0;
}

#postVisual h2 span {
  display: block;
}


@media screen and (max-width:767px) {
  #postVisual .wrap {
    width: 34.5rem;
  }
}

/*================================================
 * postArea
 ================================================*/
#postArea .wrap {
  width: 115rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-top: 4rem;
}

.post_ttl {
  width: 42rem;
}

.post_ttl .date {
  color: #7C7C7C;
}

.post_ttl h2 {
  font-size: 3.6rem;
  font-weight: 600;
  margin: 1.5rem 0 2rem;
}

.post_ttl .thumbnail img {
  aspect-ratio: 390/244;
  overflow: hidden;
  object-fit: cover;
  height: auto;
  width: 90%;
}

.post_cnt {
  width: 70rem;
  padding-top: 1rem;
}

.post_cnt img {
  margin-bottom: 3rem;
  height: auto;
}

.post_cnt * {
  font-size: 1.5rem;
}

.post_cnt h2,
.post_cnt h4,
.post_cnt h5 {
  font-weight: 700;
  margin-bottom: 1em;
}

.post_cnt h2 {
  font-size: 2.2rem;
  font-weight: 700;
  padding: 0 0 1rem;
  position: relative;
  border-bottom: 0.3rem solid #cbcbcb;
}

.post_cnt h2::before {
  position: absolute;
  content: "";
  width: 13rem;
  height: 0.3rem;
  left: 0;
  bottom: -0.25rem;
  background: var(--color-black);
}

.post_cnt h3 {
  font-size: 2rem;
  position: relative;
  font-weight: 600;
  padding-bottom: 1rem;
  margin-bottom: 4rem;
}

.post_cnt h3::before {
  position: absolute;
  content: "";
  width: 13rem;
  height: 0.3rem;
  background: var(--color-black);
  left: 0;
  bottom: 0;
}

.post_cnt h4 {
  font-size: 1.8rem;
}

.post_cnt h5 {
  font-size: 1.6rem;
}

.post_cnt p {
  margin: 2em 0;
  line-height: 1.8;
}

.post_cnt ul {
  margin: 2rem 0;
}

.post_cnt ol {
  margin: 2rem 0 2rem 2rem;
}

.post_cnt ul li {
  position: relative;
  padding-left: 1em;
}

.post_cnt ul li::before {
  position: absolute;
  content: "・";
  left: 0;
  top: 0;
}

@media screen and (max-width:767px) {
  #postArea .wrap {
    width: 34.5rem;
    flex-wrap: wrap;
  }

  .post_ttl .thumbnail img {
    width: 100%;
  }

  .post_ttl {
    width: 100%;
  }

  .post_ttl h2 {
    font-size: 3rem;
  }

  .post_cnt {
    width: 100%;
    padding-top: 2rem;
  }
}