@charset "utf-8";
/*
post.css
*/

/****************
Shared Style
****************/
.sec_mv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  height: 300px;
  height: 200px;
}
.sec_mv h1,
.sec_mv p {
  font-size: 3.4rem;
  font-weight: 400;
  text-align: center;
  text-shadow: 2px 2px 2px #fff;
  line-height: 1.3;

  @media (width < 520px) {
    font-size: 3rem;
  }
}
/*.sec_mv h1 span,
.sec_mv p span {
  display: block;
  font-size: 2.4rem;
  font-weight: 400;
  font-family: "Times New Roman";
  letter-spacing: .1rem;
}*/

.sec_posts .inner,
.sec_post .inner {
  display: flex;
  justify-content: space-between;
  margin: 20px auto 40px;
  width: min(1100px, 98%);

  @media (width < 1100px) {
    flex-direction: column;
    align-items: center;
  }
}
.sec_posts .inner .main,
.sec_post .inner .main {
  width: min(760px, 98%);
}
.sec_posts .inner .sidebar,
.sec_post .inner .sidebar {
  width: 300px;
}
.sec_posts .inner .sidebar .widget,
.sec_post .inner .sidebar .widget {
  margin: 0 0 40px 15px;
}
.sec_posts .inner .sidebar h3,
.sec_post .inner .sidebar h3 {
  margin: 0 0 20px -15px;
  padding-left: 10px;
  border-bottom: 2px solid var(--color-blue);
  font-size: 2rem;
  color: var(--color-blue);

  @media (width < 1100px) {
    margin-top: 40px;
  }
}
.sec_posts .inner .sidebar h3,
.sec_post .inner .sidebar h3,
.sec_posts .inner .sidebar li,
.sec_post .inner .sidebar li {
  line-height: 1.5;
}
.sec_posts .inner .sidebar li,
.sec_post .inner .sidebar li {
  margin-bottom: .5em;
}


/****************
archive, post

beginning
manners
****************/
#archive .sec_mv,
#single .sec_mv {
  background: url('../images/posts/cat1_mv.jpg') no-repeat center 1px;
  background-size: 1512px 300px;

  @media (width > 1512px) {
    background-size: cover;
    background-position: center 80%;
  }
}
/*.beginning #archive .sec_mv,
.beginning #single .sec_mv {
  background: url('../images/posts/beginning_mv.jpg') no-repeat center 1px;
  background-size: 1512px 300px;

  @media (width > 1512px) {
    background-size: cover;
    background-position: center 80%;
  }
}
.blog #archive .sec_mv,
.blog #single .sec_mv {
  background: url('../images/posts/manners_mv.jpg') no-repeat center 1px;
  background-size: 1512px 300px;

  @media (width > 1512px) {
    background-size: cover;
    background-position: center 80%;
  }
}*/

/****************
archive
****************/
#archive .sec_posts .recent_posts li a {
  display: flex;
  justify-content: start;
  column-gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dotted var(--color-blue);
}
#archive .sec_posts .recent_posts li a figure {
  display: flex;
  justify-content: center;
  width: 260px;
  height: 260px;

  @media (width < 520px) {
    width: 160px;
    height: 160px;
  }
}
#archive .sec_posts .recent_posts li a figure img {
  object-fit: contain;
}
#archive .sec_posts .recent_posts li a .date {
  padding-right: 40px;
  font-size: 1.4rem;
  text-align: right;
  color: var(--color-blue);

  @media (width < 768px) {
    padding-right: 0;
  }
}
#archive .sec_posts .recent_posts li a div {
  width: min(460px, 100%);

  @media (width < 520px) {
    width: min(200px, 100%);
  }
}
#archive .sec_posts .recent_posts li a h2 {
  font-size: 2rem;
  color: var(--color-blue);
  line-height: 1.5;

  @media (width < 520px) {
    font-size: 1.8rem;
  }
}
#archive .sec_posts .recent_posts li a .excerpt {
  padding: 1em;

  @media (width < 520px) {
    display: none;
  }
}


/*ページャー───*/
.archive .pager {
  font-size: 0;
  text-align: center;
  margin: 70px 0;
  font-weight: 400;
}
.archive .pager span, .archive .pager a {
  font-size: 1.8rem;
  font-weight: 500;
  background: #ffffff;
  border: var(--color-blue) 1px solid;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border-radius: 50%;
  margin: 0 7px 0 0;
  color: var(--color-blue);
}
.archive .pager .current {
  background: var(--color-blue);
  color: #fff;
}
@media screen and (width < 510px) {
  .archive .pager  {
    margin: 50px 0;
  }
}

.single .pager {
  display: flex;
  justify-content: space-around;
  margin: 100px 0;
}
.single .pager li {
  list-style: none;
  width: 45%;
  display: flex;
}
.single .pager li a {
  width: 100%;
  border-radius: 40px;
  padding: 12px 15px;
  position: relative;
  color: var(--main-text);
  font-weight: 400;
  display: flex;
  align-items: center;
  line-height: 1.5;
  min-height: 55px;
}
.single .pager li.next-left a {
  padding-left: 35px;
}
.single .pager li.next-right a {
justify-content: flex-end;
  padding-right: 35px;
}
.single .pager li a:before {
    content: '';
    width: 14px;
    height: 14px;
    border: 0px;
    border-top: 2px solid var(--main-text);
    border-right: 2px solid var(--main-text);
    position: absolute;
    top: 45%;
    margin-top: -4px;
}
.single .pager li.next-left a:before {
    -ms-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    left: 16px;
}
.single .pager li.next-right a:before {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 16px;
}
@media screen and (width < 768px) {
  .single .pager li {
      width: 48%;
  }
}
@media screen and (width < 520px) {
  .single .pager {
      flex-direction: column;
      margin: 1em auto;
      row-gap: 1em;
  }
  .single .pager li {
    width: 100%;
  }
}


/****************
#single .sec_post
投稿箇所への対応
****************/
#single .sec_post {
  h1 {
    margin: 0 0;
    font-size: 3rem;
    color: var(--color-blue);
    line-height: 1.5;
  }
  h2 {
    font-size: 2.6rem;
  }
  h3 {
    font-size: 2.2rem;
  }
  h4 {
    font-size: 1.8rem;
  }

  a {
    border-bottom: 1px solid;
    color: var(--color-blue);
  }
  .pager a,
  .sidebar a {
    border: unset;
  }
  figure {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  img {
    width: unset;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }

  p.date {
    padding-right: 1em;
    color: var(--color-blue);
    text-align: right;
    line-height: 1.5;
    font-size: 1.4rem;
  }

  @media all and (width < 768px) {
    h1 {
      padding-left: 5px;
      font-size: 2rem;
    }
    h2, h3 {
      font-size: 1.8rem;
    }
  }
}
