@charset "UTF-8";
/* =============================================== 
  イナバノート 一覧
=============================================== */
#main {
  display: grid;
  grid-template-columns: 1fr 420px;
  direction: rtl;
  padding-bottom: 0;
}
@media screen and (max-width: 768px) {
  #main {
    display: block;
  }
}

.contents_wrap {
  direction: initial;
  padding-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .contents_wrap {
    padding-bottom: 30px;
  }
}
.contents_wrap .contents_list li {
  border-bottom: 1px solid #ddd;
  position: relative;
  word-break: break-all;
}
.contents_wrap .contents_list li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 19px 35px 19px 35px;
}
.contents_wrap .contents_list li a::after {
  content: "";
  background: url(../img/arrow_bl.svg) no-repeat center/contain;
  width: 6px;
  height: 11px;
  position: absolute;
  -webkit-transform: translate(0, -50%) rotate(180deg);
          transform: translate(0, -50%) rotate(180deg);
  top: 50%;
  right: 20px;
}
@media screen and (max-width: 768px) {
  .contents_wrap .contents_list li a {
    display: block;
    padding: 20px 30px 20px 20px;
    font-size: 14px;
  }
  .contents_wrap .contents_list li a::after {
    right: 15px;
  }
}
.contents_wrap .contents_list li .item_ph {
  width: 300px;
  margin-right: 35px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .contents_wrap .contents_list li .item_ph {
    width: 120px;
    position: absolute;
    top: 20px;
    left: 20px;
  }
}
.contents_wrap .contents_list li .item_ph::before {
  padding-top: 72%;
}
.contents_wrap .contents_list li .txt_wrap {
  max-width: 370px;
}
.contents_wrap .contents_list li .item_name {
  margin-bottom: 17px;
  color: #2A68B0;
  font-size: 20px;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .contents_wrap .contents_list li .item_name {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 768px) {
  .contents_wrap .contents_list li .date,
  .contents_wrap .contents_list li .item_name {
    padding-left: 140px;
    font-size: 14px;
  }
}
.contents_wrap .contents_list li .txt {
  line-height: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.contents_wrap .tags {
  padding: 0 22px;
}
.contents_wrap .btn_more {
  margin: 50px auto;
}
@media screen and (max-width: 768px) {
  .contents_wrap .btn_more {
    margin: 30px auto 0;
  }
}

.date {
  margin-bottom: 17px;
  color: #888;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}
.date .tag {
  display: inline-block;
  border: 1px solid #2A68B0;
  border-radius: 50px;
  padding: 0 10px;
  margin-left: 10px;
  color: #2A68B0;
  font-family: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 768px) {
  .date {
    margin-bottom: 8px;
  }
}

.ttl_wrap .lead {
  margin-top: 10px;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .ttl_wrap {
    background: #FAFAFA;
    border-bottom: 1px solid #ddd;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px;
  }
  .ttl_wrap .ttl_img {
    width: 49%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    margin-right: 20px;
  }
  .ttl_wrap .lead {
    margin: 0;
    font-size: 14px;
  }
}

aside {
  border-right: 1px solid #ddd;
  background: #FAFAFA;
  direction: initial;
  height: 100%;
}
aside > div {
  max-width: 246px;
  width: 100%;
  margin: 74px auto 30px;
}
@media screen and (max-width: 768px) {
  aside {
    border: none;
    background: none;
  }
  aside > div {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto 60px;
  }
  aside .ttl_wrap {
    display: none !important;
  }
}

.list_ttl {
  border-bottom: 2px solid #2A68B0;
  padding-bottom: 5px;
  margin: 45px 0 10px;
  color: #2A68B0;
  font-size: 20px;
  font-weight: 500;
}

.tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.tags li {
  border: 1px solid #2A68B0;
  border-radius: 50px;
  background: #fff;
  margin: 6px 5px 0 0;
  color: #2A68B0;
  overflow: hidden;
}
.tags li a {
  display: block;
  padding: 3px 11px;
}
.tags li a:hover {
  background: #2A68B0;
  color: #fff;
  opacity: 1;
}

.ranking li {
  padding-top: 9px;
  letter-spacing: 0;
  font-size: 14px;
  position: relative;
}
.ranking li:before {
  background: #2A68B0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.ranking li:nth-child(1):before {
  content: "1";
}
.ranking li:nth-child(2):before {
  content: "2";
}
.ranking li:nth-child(3):before {
  content: "3";
}
.ranking li:not(:last-child) {
  margin-bottom: 30px;
}
.ranking li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 768px) {
  .ranking li a {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.ranking li a p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
@media screen and (max-width: 768px) {
  .ranking li a p {
    -webkit-line-clamp: 2;
  }
}
.ranking li .item_ph {
  border-radius: 5px;
  width: 97px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 18px;
  overflow: hidden;
}
.ranking li .item_ph::before {
  padding-top: 72%;
}

/* =============================================== 
  イナバノート 詳細
=============================================== */
.contents_wrap {
  overflow: hidden;
}
.contents_wrap .tags {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 40px;
}
.contents_wrap .tags li {
  margin: 10px 3px 0;
}
.contents_wrap .tags li a {
  text-align: center;
}

.main_area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 800px;
  width: 100%;
  padding: 20px 25px 30px;
  margin: 0 auto;
  position: relative;
}
.main_area::after {
  content: "";
  border-bottom: 1px solid #ddd;
  width: 100vw;
  position: absolute;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  left: 50%;
  bottom: 0;
}
@media screen and (max-width: 768px) {
  .main_area {
    display: block;
    padding: 30px 25px 0;
  }
  .main_area::after {
    display: none;
  }
}
.main_area .txt_wrap {
  width: 41%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 33px;
}
@media screen and (max-width: 768px) {
  .main_area .txt_wrap {
    width: 100%;
    margin: 0 0 29px;
  }
}
.main_area .txt_wrap h1 {
  color: #2A68B0;
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .main_area .txt_wrap h1 {
    font-size: 18px;
    line-height: 1.8;
  }
}
.main_area .ph {
  border-radius: 5px;
  overflow: hidden;
}

.editor {
  max-width: 800px;
  width: 100%;
  padding: 0 25px;
  margin: 0 auto 40px;
  text-align: center;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 768px) {
  .editor {
    font-size: 14px;
  }
}
.editor h2 {
  margin-top: 50px;
  color: #2A68B0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}
.editor h2:first-of-type {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .editor h2 {
    margin-top: 33px;
    font-size: 16px;
  }
  .editor h2:first-of-type {
    margin-top: 33px;
  }
}
.editor p {
  margin-top: 30px;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .editor p {
    margin-top: 20px;
  }
}
.editor img {
  max-width: 600px;
  width: 100%;
  height: auto !important;
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .editor img {
    margin-top: 28px;
    max-width: 100%;
  }
}
.editor ol {
  border-top: 1px solid #2A68B0;
  border-bottom: 1px solid #2A68B0;
  padding: 25px 0;
  margin-top: 30px;
  color: #2A68B0;
  counter-reset: count 0;
}
@media screen and (max-width: 768px) {
  .editor ol {
    padding: 18px 0;
    margin-top: 28px;
  }
}
.editor ol li {
  /*&:before {
    content: counter(count) ". ";
    counter-increment: count 1;
    font-size: 18px;
    font-family: $Montserrat;
    font-weight: bold;
  }*/
}
.editor ol li:not(:last-child) {
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .editor ol li:not(:last-child) {
    margin-bottom: 15px;
  }
}
.editor ol li a {
  display: inline;
  text-decoration: underline;
}
.editor ol li a:hover {
  opacity: 1;
}

.sns_share {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.sns_share p {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 10px;
}
.sns_share ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.sns_share ul li {
  margin-left: 20px;
}

.detail section {
  padding-top: 70px;
}
.detail .item_list {
  grid-template-columns: repeat(3, 1fr);
  gap: 0 25px;
  max-width: 809px;
  padding: 0 25px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .detail .item_list {
    gap: 0 15px;
    font-size: 14px;
  }
}
.detail .item_list a {
  display: block;
}
.detail .item_list .item_ph {
  border: 1px solid #ddd;
  border-radius: 0;
}
.detail .contents_list {
  border-top: 1px solid #ddd;
}