@charset "UTF-8";

:root {
    --ihlPage_color-basic: #e6002d;
    --ihlPage_color-light: #f9bfca;
    --ihlPage_indent_padding: 0 20px;
    --ihlPage_indent_padding-left: 20px;
    --ihlPage_indent_padding-right: 20px;
    --ihlPage_indent_padding-vertical: 20px 0;
    --ihlPage_indent_margin-left: 20px;
    --ihlPage_indent_margin-right: 20px;
}
body{
  counter-reset: rankNum; 
}
/*
  base/layout
____________________*/

#base {
    width: 1220px;
}

@media screen and (max-width: 768px) {
    #base {
        width: 100%;
    }
}

#cont {
    display: flex;
    justify-content: space-between;
}

.l_main_container {
    order: 2;
    width: 970px;
}

@media screen and (max-width: 768px) {
    .l_main_container {
        width: 100%;
    }
}

.l_left_container {
    order: 1;
    width: 200px;
}

@media screen and (max-width: 768px) {
    .l_left_container {
        display: none;
    }
}

/*
  p_/module
____________________*/
.p_article_container {
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.l_sec + .l_sec {
    margin-top: 57px;
}

.l_sec__item {
    margin-top: 30px;
}

.m_heading__ttl {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
    border-left: 10px solid #333;
    border-color: var(--ihlPage_color-basic);
    padding-left: 10px;
}

/* 人気の記事 */

.m_popular__item {
    margin-top: 30px;
    border: 1px solid #A1A1A1;
}

.m_popular__item__link {
    display: flex;
    padding: 20px;
    color: #A1A1A1;
    transition: .3s;
}

.m_popular__item__link:hover {
    color: #333;
    text-decoration: none;
    opacity: .6;
}

.m_popular__item__cont{
  width: 100%;
}

.m_popular__item__ttl {
    font-size: 16px;
}

.m_popular__item__desc {
    font-size: 14px;
    margin-top: 5px;
}
.m_popular__item__footer{
    display: flex;
    justify-content: space-between;
}
.m_popular__item__date{
    color: #d66c00;
    font-size: 14px;
}
.m_popular__item__continue {
    text-align: right;
    color: #CCCCCC;
    font-size: 14px;
}

.m_popular__item__img {
    max-width: 465px;
    padding-left: 20px;
}

.m_popular__item__imgMain {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .m_popular__item__link {
        flex-direction: column-reverse;
    }
    .m_popular__item__img {
        max-width: 100%;
        padding-left: 0;
    }
}

/* 記事一覧 */

.m_lineup {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.m_lineup_item {
    width: calc(100% / 3 - (30px * 2 / 3));
    padding: 0 5px;
}

.m_lineup__item__Cont {
    padding: 0px;
}

.m_lineup__item__date {
    font-size: 12px;
    color: #d66c00;
}

.m_lineup__item__ttl {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/*
ディスクリプション
.m_lineup__item__desc {
    font-size: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
*/

.m_lineup__item__date + .m_lineup__item__ttl {
    margin-top:0px;
}

.m_lineup__item__link {
    color: #333;
    transition: .3s;
}

.m_lineup__item__link:hover {
    color: #333;
    text-decoration: none;
    opacity: .6;
}

@media screen and (max-width: 768px) {
    .m_lineup {
        flex-direction:column;
    }
    .m_lineup_item{
        width: 100%;
    }
}

/* 検索フィールド */
/* 検索ボックス */
.searchField{
  margin-bottom: 0;
  padding: 0;
  margin-top: 16px;
}
.searchField__wrap{}
.searchField__inner{
  padding: 16px;
  background: #F8F3ED;
}
.searchField__body{
  display: flex;
  align-items: center;
}
.searchField__heading{
  flex: 0 0 140px;
  position: relative;
  margin-right: 30px;
  background: #9E2730;
}
.searchField__heading::before{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  border-top: 15px solid rgba(255, 255, 255, 0);
  border-bottom: 15px solid rgba(255, 255, 255, 0);
  border-left: 15px solid #9E2730;
  transform: translateX(100%);
}
.searchField__ttl{
  position: relative;
  padding: 0 16px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 30px;
}
.searchField__ttl::after{
  content: "";
  position: absolute;
  right: 8px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  border-top: 15px solid rgba(255, 255, 255, 0);
  border-bottom: 15px solid rgba(255, 255, 255, 0);
  border-left: 15px solid #EEEEEE;
  transform: translateX(100%);
}
.searchField__ttl::before{
  content: "";
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  z-index: 1;
  margin: auto 0;
  border-top: 15px solid rgba(255, 255, 255, 0);
  border-bottom: 15px solid rgba(255, 255, 255, 0);
  border-left: 15px solid #9E2730;
  transform: translateX(100%);
}
.searchField__fieldWrap{
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  border: 2px solid;
  border-radius: 4px;
  overflow: hidden;
}

.searchField__field{
  width: calc(100% - 28px);
  display: flex;
  align-items: stretch;
}
.searchField__field input{
  /* outline: none; */
  width: 100%;
  padding: 0;
  margin: 0;
  height: 100%;
  border-right: none;
  border-radius: 0;
  border: none;
  outline: none;
  line-height: 100%;
  text-indent: .5em;
}
.searchField__btn{
  background: #EEEEEE;
  width: 28px;
  height: 28px;
  padding: 6px;
  border: none;
  line-height: 0;
  cursor: pointer;
  transition: .3s opacity;
}
.searchField__btn img{
  max-width: 100%;
  height: auto;
}
.searchField__btn:hover{
  opacity: .7;
}
.searchField__footer{
  margin-top: 16px;
}
.searchField__reset{
  display: flex;
  justify-content: flex-end;
}
.searchField__resetTarget{
  position: relative;
  display: block;
  padding-left: 1.5em;
  font-size: 14px;
  text-decoration: underline;
  color: inherit;
  transition: .3s opacity;
}
.searchField__resetTarget:hover{
  opacity: .7;
}
.searchField__resetTarget::before{
  content:"";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  width: 6px;
  height: 6px;
  margin: auto 0;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: rotate(45deg);
}
@media screen and (max-width: 768px){
  .searchField{
    margin: 40px auto 0;
  }
  .searchField__body{
    flex-wrap: wrap;
  }
  .searchField__heading{
    margin: 0 0 8px 0;
  }
  .searchField__fieldWrap{
    width: 100%;
  }
}

/* 検索サンプルワード */
.searchWordBox{
  display: flex;
  align-items: center;
}
.searchWordBox__ttl{
  flex: 0 0 160px;
  position: relative;
  padding-left: 32px;
  font-weight: bold;
  font-size: 15px;
}
.searchWordBox__ttl::before{
  content: url(/resource/img/lineup/icon_koushi-top_keyword.svg);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  height: 23px;
  margin: auto 0;
  line-height: 0;
}

.searchWordBox__words{
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  padding-left: 12px;
  border-left: 4px solid #9E2730;
}
.searchWordBox__word{
  padding: 4px 6px;
  line-height: 1;
}
.searchWordBox__wordTarget{
  font-size: 14px;
  text-decoration: underline;
  color: inherit;
  transition: .3s opacity;
}
.searchWordBox__wordTarget:hover{
  opacity: .7;
}
@media screen and (max-width: 768px){
  .searchWordBox{
    display: block;
  }
  .searchWordBox__ttl{
    margin: 0 0 12px 0;
  }
}

/*
  p_/state
____________________*/
.js_ranking{
  counter-reset: rankNum;
}
.js_ranking .m_lineup__item__link{
  position: relative;
  display: block;
  padding: 15px 0 0 20px;
  color: inherit;
  counter-increment: rankNum;
}
.js_ranking .m_lineup__item__link::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 0;
  height: 0;
  border: 24px solid rgba(255, 255, 255, 0);
  border-top-color: #dbcacb;
  border-left-color: #dbcacb;
}
.js_ranking .m_lineup__item__link::after{
  content: counter(rankNum, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  padding: 8px 0 0 8px;
  line-height: 1;
  color: #a11f24;
  font-size: 28px;
}
.js_ranking .m_lineup__item__link--em::before{
  border-top-color: #a11f24;
  border-left-color: #a11f24;
}
.js_ranking .m_lineup__item__link--em::after{
  color: #fff;
  text-shadow: 2px 0 0 #a11f24, -2px 0 0 #a11f24, 0 2px 0 #a11f24, 0 -2px 0 #a11f24;
}
.js_ranking .m_lineup__item__ttl{
  line-height: 1.5;
  font-size: 20px;
  -webkit-line-clamp: 3;
}
.js_ranking .m_lineup__item__view{
  margin-bottom: 8px;
  color: #d66c00;
  line-height: 1;
  text-align: right;
  font-size: 28px;
}
.js_ranking .m_lineup__item__unit{
  font-size: 14px;
}

/* 検索フィールド */
.js_ihlSearch{}
.js_ihlSearch__hide{
  display: none;
}

/* 固定ナビ */
.js_fixNav{
  height: var(--nav_h);
  @media screen and (max-width: 768px){
    height: auto;
  }
}
.js_fixNav__nav.is_fixed{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999999;
  width: 100%;
  @media screen and (max-width: 768px){
    position: static;
  }
}
.js_fixNav__nav.is_fixed .searchField__wrap{
  width: 1200px;
  margin: 0 auto;
  padding-left: calc(1200px - 970px);
}
@media screen and (max-width: 768px){
  .js_fixNav__nav.is_fixed .searchField__wrap{
    width: 100%;
    padding-left: 0;
  }
}

/*
  p_/utility
____________________*/
/* 上付き */
.u_super{
  vertical-align: super;
  line-height: 0;
  font-size: 12px;
}

/* 脚注 */
.u_footnote{
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  padding-left: 1em;
  font-size: 12px;
}
.u_footnote::before{
  content: "※";
  position: absolute;
  left: 0;
  display: block;
}