/* Scss Document */
.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
  color: #000;
}

.header-logo {
  margin: 0 auto;
}

.header-sns-list {
  position: absolute;
  right: 0;
  top: 3rem;
  margin-right: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media only screen and (max-width: 640px) {
  .header-sns-list {
    position: static;
    margin-right: 6rem;
  }
}

.header-sns-list li {
  margin-left: 1.5rem;
}

@media only screen and (max-width: 640px) {
  .header-sns-list li {
    margin-left: 1rem;
  }
}

.header-sns-list li a {
  display: block;
  width: 4rem;
}

@media only screen and (max-width: 640px) {
  .header-sns-list li a {
    width: 2.5rem;
  }
}

.global-nav {
  display: none;
}

@media only screen and (max-width: 640px) {
  .global-nav {
    padding: 5vw;
    display: inherit;
  }
}

@media only screen and (max-width: 640px) {

  .global-nav-menu-item,
  .global-nav-menu-item:before,
  .global-nav-menu-item:after {
    background: #000;
  }
}

.main {
  overflow: visible;
}

.blog-head {
  padding: 4rem 0 6rem;
  background: url(../img/blog/bg_visual.jpg) no-repeat center center;
  background-size: cover;
}

@media only screen and (max-width: 640px) {
  .blog-head {
    padding: 2rem 0 3rem;
  }
}

.blog-slider-item {
  padding: 1.5rem;
  width: 79rem;
}

@media only screen and (max-width: 640px) {
  .blog-slider-item {
    padding: 1.5rem;
    width: 100%;
  }
}

.blog-slider-item a {
  margin: 1rem;
  display: block;
  position: relative;
  -webkit-box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.2);
  width: 76rem;
  height: 57rem;
  overflow: hidden;
}

@media only screen and (max-width: 640px) {
  .blog-slider-item a {
    margin: 0;
    width: 100%;
    height: auto;
  }
}

.blog-slider-item a img {
  max-width: auto;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.blog-slider-meta {
  padding: 1rem;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  line-height: 1.3;
}

.blog-slider-meta-inner {
  padding: 3rem;
  background: rgb(255, 255, 255);
}

@media only screen and (max-width: 640px) {
  .blog-slider-meta-inner {
    padding: 3vw;
  }
}

.blog-slider-meta-head {
  margin-bottom: 0.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.blog-slider-meta-head time {
  width: 6em;
}

@media only screen and (max-width: 640px) {
  .blog-slider-meta-head time {
    font-size: 1.3rem;
  }
}

.blog-slider-meta-head h3 {
  width: calc(100% - 6em);
  font-size: 2.2rem;
  font-weight: normal;
}

@media only screen and (max-width: 640px) {
  .blog-slider-meta-head h3 {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 640px) {
  .blog-slider-meta p {
    font-size: 1.3rem;
  }
}

.blog-slider-meta .cat {
  padding: 0.25em 0.5em;
  font-size: 1.3rem;
  background: #ccc;
  color: rgb(255, 255, 255);
  display: inline-block;
}

.blog-container {
  padding: 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  background: rgba(245, 245, 240, 0.75);
}

@media only screen and (max-width: 640px) {
  .blog-container {
    display: block;
    padding: 5vw;
  }
}

.blog-contents {
  margin: 0 auto;
  width: 100%;
  max-width: 133rem;
}

@media only screen and (max-width: 640px) {
  .blog-contents {
    padding: 0;
    max-width: initial;
  }
}

.blog-wrapper {
  margin-bottom: 5rem;
  padding: 5rem;
  background: rgb(255, 255, 255);
}

@media only screen and (max-width: 640px) {
  .blog-wrapper {
    margin-bottom: 5vw;
    padding: 5vw;
  }
}

.blog-index-title {
  margin-bottom: .5em;
  text-align: center;
  font-size: 2.4rem;
}

@media only screen and (max-width: 640px) {
  .blog-index-title {
    margin-bottom: 1em;
    font-size: 2rem;
  }
}

.blog-index-title:after {
  margin: 0.5em auto 0;
  content: "";
  display: block;
  width: 34.2rem;
  height: 2.2rem;
  background: url(../img/blog/parts_green.svg) no-repeat center top;
  background-size: 100% auto;
}

@media only screen and (max-width: 640px) {
  .blog-index-title:after {
    width: 24rem;
    height: 2rem;
  }
}

.blog-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

@media only screen and (max-width: 640px) {
  .blog-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.blog-list:after {
  content: "";
  height: 0;
  width: 30%;
}

.blog-item {
  margin-bottom: 5rem;
  width: 30%;
  font-size: 1.5rem;
  line-height: 1.3;
}

@media only screen and (max-width: 640px) {
  .blog-item {
    margin-bottom: 3rem;
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  .blog-item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

.blog-item figure {
  margin-bottom: 2.5rem;
}

@media only screen and (max-width: 640px) {
  .blog-item figure {
    margin-bottom: 0;
    width: 35%;
  }
}

.blog-item figure img {
  width: 100%;
  height: 22rem;
  -o-object-fit: cover;
  object-fit: cover;
}

@media only screen and (max-width: 640px) {
  .blog-item figure img {
    height: 22vw;
  }
}

.blog-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media only screen and (max-width: 640px) {
  .blog-meta {
    width: 60%;
  }
}

.blog-meta time {
  color: #003166;
}

.blog-meta .cat {
  padding: 0.25em 0.5em;
  border: solid 1px #003166;
  font-size: 1.3rem;
  color: #003166;
}

.blog-title {
  margin-top: 1em;
  width: 100%;
}

.blog-post {
  margin-bottom: 10rem;
}

.blog-post .blog-meta {
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

@media only screen and (max-width: 640px) {
  .blog-post .blog-meta {
    width: auto;
  }
}

.blog-post .blog-meta time {
  margin-right: 1em;
  font-size: 1.8rem;
}

@media only screen and (max-width: 640px) {
  .blog-post .blog-meta time {
    font-size: 1.5rem;
  }
}

.blog-post .blog-meta .cat {
  font-size: 1.4rem;
}

@media only screen and (max-width: 640px) {
  .blog-post .blog-meta .cat {
    font-size: 1rem;
  }
}

.blog-post .blog-meta h1 {
  margin-top: 0.5em;
  font-size: 3rem;
  font-weight: normal;
}

@media only screen and (max-width: 640px) {
  .blog-post .blog-meta h1 {
    font-size: 1.8rem;
  }
}

.blog-body p {
  margin: 1.5em 0;
}

.wp-block-list {
  margin-left: 1.5em;
  list-style: disc;
}

.blog-sidebar {
  margin-left: 5rem;
  width: 28.5rem;
  position: sticky;
  top: 0;
}

@media only screen and (max-width: 640px) {
  .blog-sidebar {
    margin: 5vw 0 0;
    width: auto;
  }
}

@media only screen and (max-width: 640px) {
  .blog-sidebar {
    position: relative;
    width: 100%;
  }
}

.blog-sidebar h3 {
  margin: 4rem 0 1em;
  font-size: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.blog-sidebar h3:after {
  margin-left: 1.5em;
  content: "";
  height: 1px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.1);
}

.blog-sidebar .category-list li {
  margin-top: 0.5em;
}

.blog-sidebar .category-list li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.blog-sidebar .category-list li a:before {
  margin-right: 0.5em;
  content: "";
  width: 0.9rem;
  height: 0.3rem;
  background: #251d1a;
}

.blog-sidebar .ranking-list li {
  margin-bottom: 2rem;
}

.blog-sidebar .ranking-list li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

.blog-sidebar .ranking-list li a:before {
  padding: 0.25em 0 0 0.45em;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #CAA846 0%, #CAA846 50%, transparent 50%, transparent 100%);
  background-size: 100% auto;
  width: 4.8rem;
  height: 4.8rem;
  color: rgb(255, 255, 255);
  font-size: 2rem;
  line-height: 1;
}

.blog-sidebar .ranking-list li a figure {
  width: 40%;
}

@media only screen and (max-width: 640px) {
  .blog-sidebar .ranking-list li a figure {
    width: 35%;
  }
}

.blog-sidebar .ranking-list li a p {
  width: 55%;
}

@media only screen and (max-width: 640px) {
  .blog-sidebar .ranking-list li a p {
    width: 60%;
  }
}

.blog-sidebar .ranking-list li:first-child a:before {
  content: "1";
  background: linear-gradient(135deg, #003166 0%, #003166 50%, transparent 50%, transparent 100%);
}

.blog-sidebar .ranking-list li:nth-child(2) a:before {
  content: "2";
}

.blog-sidebar .ranking-list li:nth-child(3) a:before {
  content: "3";
}

.blog-sidebar .ranking-list li:nth-child(4) a:before {
  content: "4";
}

.blog-sidebar .ranking-list li:nth-child(5) a:before {
  content: "5";
}