html,
body{
  margin:0;
  padding:0;
}
body{
  font-family: "Noto Sans JP","游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  background:#f3ede7; 
}

.site-main{
  margin:0;
  padding:0;
}

/* =========================
Blog Hero
========================= */

.blog-hero{
  position:relative;
  width:100%;
  max-width:390px;
  margin:0 auto;
  padding:4px 20px 0;
  box-sizing:border-box;
  z-index:0;
}

.blog-block{
  position:relative;
  margin-bottom:20px;
  z-index:2;
}

.blog-slash{
  position:absolute;
  left:-4px;
  top:-10px;
  width:28px;
  height:auto;
}

.blog-label{
  margin:56px 12px -4px;
  font-weight:700;
  font-size:14px;
  color:#5E698F;
}

.blog-title{
  margin:0 0 48px;
  font-weight:700;
  font-size:40px;
  line-height:1.2;
  color:#39446D;
}

.blog-hero__shape{
  position:absolute;
  display:block;
  height:auto;
  pointer-events:none;
}

.blog-hero__shape--yellow{
  top:0;
  left:0;
  width:160px;
  z-index:1;
}

/* =========================
Blog Card
========================= */

.blog-card{
  width:312px;
  margin:0 auto 40px;
  text-align:center;
}

.blog-card__img{
  width:312px;
  height:194px;
  margin:0 auto 12px;
  overflow:hidden;
}

.blog-card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.blog-card__date{
  width:312px;
  margin:0 auto 4px;

  font-weight:500;
  font-size:20px;
  line-height:30px;
  letter-spacing:0;

  color:#8E8E8E;
  text-align:center;
}

.blog-card__title{
  width:312px;
  margin:0 auto;

  font-weight:400;
  font-size:20px;
  line-height:30px;
  letter-spacing:0;

  color:#000000;
  text-align:center;
}

.blog-card a{
  text-decoration:none;
  color:inherit;
}

.blog-card__date{
  text-align:left;
}

.blog-card__title{
  text-align:left;
}

/* =========================
Pagination
========================= */

.pagination--custom{
  width:118px;
  margin:40px auto 40px;
  text-align:center;
}

.pagination--custom .page-numbers{
  display:inline-block;
  font-weight:400;
  font-size:20px;
  line-height:30px;
  letter-spacing:0;
  color:#000;
  text-decoration:none;
}

.pagination--custom .page-numbers:not(:last-child)::after{
  content:" / ";
}

.pagination--custom .current{
  font-weight:400;
}

.pagination--custom .next::after{
  content:" >";
}

.pagination--custom .prev{
  display:none;
}

.pagination--custom .current{
  font-weight:500;
}

.single-post{
  width:100%;
  max-width:390px;
  margin:0 auto;
  padding:0;
  box-sizing:border-box;
}

.single-page .blog-card__img{
  width:312px;
  height:194px;
  margin:0 auto 12px;
  overflow:hidden;
}

.single-page .blog-card__img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.single-page .blog-card__date{
  width:312px;
  margin:0 auto 4px;
}

.single-page .blog-card__title{
  width:312px;
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  margin:0 auto 20px;
}

.single-post__content{
  width:312px;
  margin:0 auto;

  font-weight:500;
  font-size:20px;
  line-height:30px;
  letter-spacing:0;
  color:#000000;
}

.single-post__content p{
  margin:0 0 20px;
}

.single-post__content ul{
  margin:0 0 20px 24px;
  padding:0;
}

.single-post__content li{
  margin:0 0 4px;
}

.single-page .blog-hero{
  padding-left:20px;
  padding-right:0;
}

.single-page .blog-hero__shape--yellow{
  left:-20px;
}

/* =========================
関連する記事
========================= */

.related-posts{
  width:353px;
  margin:80px auto 80px;
  }

.related-posts__title{
  text-align:center;
  font-weight:700;
  font-size:24px;
  margin-bottom:32px;
}

.related-posts__list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.related-post{
  display:block;
  background:#FFF;
  border-radius:16px;
  padding:0 20px;
  text-decoration:none;
  color:#000;
}

.related-post__date{
  font-size:20px;
  color:#8E8E8E;
}

.related-post__text{
  font-size:20px;
  line-height:1.6;
}

@media screen and (min-width: 1024px){

   .blog-hero{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:140px 0 0;
    box-sizing:border-box;
  }

  .blog-block{
    width:984px;
    margin:0 auto 24px;
    position:relative;
  }

  .blog-hero__shape--yellow{
    display:none;
  }

  .blog-slash{
    width:40px;
    left:0;
    top:0;
  }

  .blog-label{
    margin:0 0 0 48px;
    font-weight:700;
    font-size:20.48px;
    line-height:1;
    color:#5E698F;
  }

  .blog-title{
    margin:0 0 60px;
    font-weight:700;
    font-size:64px;
    line-height:1;
    color:#39446D;
  }

  .blog-list{
    width:984px;
    margin:0 auto;
    padding:0;
    min-height:500px;
  }

  .blog-card{
    width:984px;
    margin:0 0 48px;
    text-align:left;
  }

  .blog-card a{
    display:grid;
    grid-template-columns:312px 1fr;
    column-gap:40px;
    align-items:start;
    text-decoration:none;
    color:inherit;
  }

  .blog-card__img{
    grid-column:1;
    grid-row:1 / 3;
    width:312px;
    height:194px;
    margin:0;
    overflow:hidden;
  }

  .blog-card__img img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .blog-card__date{
    grid-column:2;
    grid-row:1;
    width:auto;
    margin:60px 0 0;
    font-weight:500;
    font-size:20px;
    line-height:30px;
    letter-spacing:0;
    color:#8E8E8E;
    text-align:left;
  }

  .blog-card__title{
    grid-column:2;
    grid-row:2;
    width:auto;
    max-width:766px;
    margin:0;
    font-weight:400;
    font-size:20px;
    line-height:30px;
    letter-spacing:0;
    color:#000000;
    text-align:left;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    display:block;
  }

  .pagination--custom{
    width:766px;
    margin:40px auto 40px;
    text-align:center;
  }

  .single-post{
    max-width:none;
    width:100%;
    max-width:none;
    margin:0 auto;
    padding:0;
    box-sizing:border-box;
  }

  .single-page .blog-card__img,
  .single-page .blog-card__date,
  .single-page .blog-card__title,
  .single-post__content{
    width:766px;
    margin-left:auto;
    margin-right:auto;
  }

  .single-page .blog-card__img{
    height:420px;
    margin-bottom:24px;
  }

  .single-page .blog-card__img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .single-page .blog-card__date{
    margin-bottom:12px;
    font-size:20px;
    line-height:1;
    color:#8E8E8E;
  }

  .single .blog-card__title{
    width:766px;
    margin:0 auto 40px;
    text-align:left;

    white-space:normal;
    overflow:visible;
    text-overflow:clip;
  }

  .single-post__content{
    width:766px;
    margin:0 auto;
    font-weight:500;
    font-size:20px;
    line-height:36px;
    letter-spacing:0;
    color:#000;
  }

  .single-post__content p{
    margin:0;
    width:100%;
    max-width:none; 
  }

  .single-post__content h2{
    margin:48px 0 16px;
    font-weight:700;
    font-size:28px;
    line-height:1.4;
    color:#39446D;
  }

  .single-post__content h3{
    margin:32px 0 12px;
    font-weight:700;
    font-size:22px;
    line-height:1.4;
    color:#39446D;
  }

  .single-post__content ul{
    margin:0 0 24px 24px;
    padding:0;
  }

  .single-post__content li{
    margin:0 0 8px;
    line-height:1.8;
  }

  .single-post__content img{
    width:100%;
    height:auto;
    margin:24px 0;
    display:block;
  }

  .related-post{
    width:353px;
    padding:0 20px;
    box-sizing:border-box;
 }

  .related-posts{
    width:766px;
    margin:80px auto;
 }

.related-posts__list{
   flex-direction:row;
   display:flex;
   gap:40px;
   justify-content:center;
 }
}