@charset "UTF-8";
/*=============================================================================
  業界ナビ内 共通スタイル
=============================================================================*/
.custum_terms {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  row-gap: 5px;
  margin-bottom: 4rem;
}
.custum_terms a {
  font-size: 1.4rem;
  color: #e60012;
  border-bottom: solid #e60012 1px;
  padding: 0;
  display: block;
}

.custum_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4rem;
}
.custum_tags a {
  font-size: 1.4rem;
  border: solid #aaa 1px;
  border-radius: 10px;
  padding: 0.5rem;
  display: block;
}

.excerpt .custum_terms, .excerpt .custum_tags {
  padding-bottom: 1rem;
  margin-bottom: 0;
}

iframe.wp-embedded-content {
  width: 100%;
}

h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.pagenation {
  margin-bottom: 8rem;
}

/*=============================================================================
  業界ナビ 一覧用
=============================================================================*/
#gyokai_all {
  max-width: 1280px;
  padding: 60px 40px 60px 140px;
  margin: 0 auto;
}
#gyokai_all .kv {
  padding: 0;
  font-size: 40px;
  font-weight: bold;
}
#gyokai_all .kv h2 {
  color: #e50113;
  font-size: 2rem;
  text-indent: -100%;
  overflow: hidden;
  height: 0;
}
#gyokai_all .kv p img {
  width: 100%;
}
#gyokai_all .kv .leadtxt {
  padding: 1rem 0 1rem;
  font-size: 1.6rem;
  line-height: 1.4;
}
#gyokai_all.category .kv h2 {
  text-indent: 0%;
  overflow: initial;
  height: auto;
  line-height: 1.3;
}
#gyokai_all .breadcrumb {
  padding: 2rem 0 2rem;
}
#gyokai_all .breadcrumb .breadcrumb__link {
  line-height: 1.3;
}
#gyokai_all .newsbox {
  padding: 0;
}
#gyokai_all .newsbox .custum_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-bottom: 2rem;
}
#gyokai_all .newsbox .custum_nav li {
  flex-grow: 1;
  align-items: stretch;
}
#gyokai_all .newsbox .custum_nav li a {
  width: 100%;
  height: 100%;
  color: #fff;
  background: #e50113;
  font-size: 1.6rem;
  padding: 0.8rem;
  line-height: 1.2;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 480px) {
  #gyokai_all .newsbox .custum_nav li {
    width: 48%;
  }
}
#gyokai_all .newsbox .newsbox-inner {
  width: 100%;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex-wrap: wrap;
}
#gyokai_all .newsbox .newsbox-inner .news-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px #ccc solid;
  box-shadow: 0 2px 3px 0 #ddd;
}
#gyokai_all .newsbox .newsbox-inner .news-item a {
  display: block;
}
#gyokai_all .newsbox .newsbox-inner .news-item .thumbs {
  display: block;
}
#gyokai_all .newsbox .newsbox-inner .news-item .thumbs img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
#gyokai_all .newsbox .newsbox-inner .news-item .txtbox {
  display: block;
  padding: 4%;
}
#gyokai_all .newsbox .newsbox-inner .news-item .txtbox .date {
  font-size: 1.6rem;
  color: #e41723;
}
#gyokai_all .newsbox .newsbox-inner .news-item .txtbox .ttl {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: bold;
}
#gyokai_all .newsbox .newsbox-inner .news-item .excerpt {
  display: flex;
  flex-direction: column;
  padding: 4%;
  flex: 1;
}
#gyokai_all .newsbox .newsbox-inner .news-item .excerpt p {
  font-size: 1.5rem;
}
#gyokai_all .newsbox .newsbox-inner .news-item .excerpt p a {
  display: block;
  padding-top: 1rem;
  color: #FF3A72;
}

.recommend-items {
  display: flex;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 10px;
}
.recommend-items.withimg {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.recommend-items dt {
  width: 100%;
}
.recommend-items dt a, .recommend-items dd a {
  background: url(../img/common/arw_ico1.png) left 3px no-repeat;
  padding: 0 0 0 22px;
  font-size: 18px;
  font-weight: bold;
  background-size: 18px;
  line-height: 1.2;
  display: block;
  padding-left: 1.2em;
}
.recommend-items li {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: bold;
  border: 1px solid #aaa;
}
.recommend-items li a {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.recommend-items li a img {
  width: 100%;
}
.recommend-items li a p {
  padding: 10px;
}

@media only screen and (max-width: 768px) {
  .recommend_news {
    margin-bottom: 4rem;
  }
  .recommend_news .recommend-items.withimg {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .recommend_news .recommend-items li a {
    font-size: 14px;
    flex-wrap: wrap;
  }
  .recommend_news .recommend-items li a img {
    width: 100%;
    min-width: auto;
  }
  #gyokai_all {
    padding: 0 4vw;
  }
  #gyokai_all .newsbox .newsbox-inner {
    width: 100%;
    padding: 0;
    gap: 10px;
  }
}
@media only screen and (max-width: 480px) {
  #gyokai_all {
    padding: 0 3.3vw;
  }
  #gyokai_all .kv {
    padding: 0;
    font-size: 7vw;
  }
  #gyokai_all .breadcrumb {
    padding: 4vw 0;
  }
  #gyokai_all .newsbox .newsbox-inner {
    padding: 0;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 4vw;
  }
  #gyokai_all .newsbox .newsbox-inner .news-item .txtbox .date {
    font-size: 4vw;
  }
  #gyokai_all .newsbox .newsbox-inner .news-item .txtbox .ttl {
    font-size: 5vw;
  }
}
/*=============================================================================
  記事用
=============================================================================*/
.panel-grid.panel-no-style {
  display: block;
}

#news_dtl {
  font-size: 1.6rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px 60px 140px;
  /*#news_dtl p{padding:10px 0;}*/
}
#news_dtl .breadcrumb {
  padding: 0 0 1rem;
}
#news_dtl .breadcrumb .breadcrumb__link {
  line-height: 1.3;
}
#news_dtl h1 {
  font-size: 36px;
  padding: 0 0 20px 0;
  font-weight: bold;
}
#news_dtl h2 {
  font-size: 28px;
  padding: 20px;
  font-weight: bold;
}
#news_dtl .title h2 {
  font-size: 28px;
  padding: 20px 10px 20px 10px;
  font-weight: bold;
}
#news_dtl h3 {
  font-size: 24px;
  padding: 10px;
  font-weight: bold;
  border: #e50012 solid 1px;
  border-left: #e50012 solid 10px;
}
#news_dtl h4 {
  font-size: 22px;
  padding: 0 0 20px 0;
  font-weight: bold;
}
#news_dtl h5 {
  font-size: 20px;
  padding: 0 0 20px 0;
  font-weight: bold;
}
#news_dtl h6 {
  font-size: 18px;
  padding: 0 0 20px 0;
  font-weight: bold;
}
#news_dtl #news_detail {
  padding-top: 0;
}
#news_dtl #news_detail > .date {
  margin-top: 0;
  margin-bottom: 0;
}
#news_dtl .recommend_news {
  margin-bottom: 4rem;
}
#news_dtl .recommend_news .recommend-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#news_dtl .recommend_news .recommend-item dt {
  width: 100%;
}
#news_dtl .recommend_news .recommend-item dt a, #news_dtl .recommend_news .recommend-item dd a {
  background: url(../img/common/arw_ico1.png) left 3px no-repeat;
  padding: 0 0 0 22px;
  font-size: 18px;
  font-weight: bold;
  background-size: 18px;
  line-height: 1.2;
  display: block;
  padding-left: 1.2em;
}

/*（仮）NEWS用スタイル移植 */
#news_dtl hr.border_03 {
  background-color: #000 !important;
  border: medium none !important;
  color: #000;
  height: 1px !important;
  margin: 30px 0 !important;
}

#news_dtl .minimax_content_area {
  margin: 0 0 16px 0 !important;
  width: 100% !important;
}

#news_dtl .youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
#news_dtl .youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 768px) {
  #news_dtl {
    padding: 0 4vw;
  }
}
@media only screen and (max-width: 480px) {
  #news_dtl {
    padding: 0 3.3vw;
  }
  #news_dtl p.date {
    margin: 0;
  }
  #news_dtl h1 {
    font-size: 6vw;
    padding: 0;
    margin-bottom: 4vw;
  }
  #news_dtl h2 {
    font-size: 5vw;
  }
  #news_dtl .title h2 {
    font-size: 5vw;
  }
  #news_dtl h3 {
    font-size: 4.5vw;
  }
  #news_dtl h4 {
    font-size: 4.2vw;
  }
  #news_dtl h5 {
    font-size: 4vw;
  }
  #news_dtl h6 {
    font-size: 3.5vw;
  }
  #news_dtl p {
    font-size: 4.2vw;
  }
  #news_dtl #news_detail > .date {
    margin-bottom: 2vw;
  }
  #news_dtl .panel-grid {
    margin-bottom: 0;
  }
}