/*
Theme Name: hueman_child
Template: hueman
*/

@import url('../hueman/style.css');

.hu-blog-subheading {display:none;}

.post-byline {visibility:hidden;}

.wpcf7 label {min-width:300px;}

.wpcf7 textarea {min-width:300px;}

.entry img.amazon {
    margin: 5px auto;
    clear: both;
    display: block;}

.page-title {text-transform:none;}

.post-category {text-transform:none;}

.widget h3 {text-transform:none;}

#footer-bottom #credit {display:none;}

.entry ins {background:#fff;}

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

.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before{
padding-top: 0;
}
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper::before{
 padding-top: 0; 
}
.youtube-jds{
  max-width: 700px;
}



h1.post-title.entry-title {font-size: 2em; }

.thumb-icon {display:none;}



/*yamamoto 202302移設より*/

.bmaga-book-link-box{
    margin-top: 20px;
}

.bmaga-book-link-box a.wp-block-button__link{
    padding: 5px;
}

.bmaga-book-link-box .wp-block-button:nth-child(2){
    background: #f60;
}



/*cabletvのLP用*/
#wrapper .container.cabletv{
    padding: 0!important;
}
.cabletv-box{
    padding:20px;
}

.pt20{
  padding: 20px 0 0 0;
}

h3.cabletv-top {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  width: 60%;
  font-size: 2em;
color: #023782;
}

h3.cabletv-top:before, h3.cabletv-top:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 20%;
  height: 2px;
  border-top: solid 1px #269edd;
  border-bottom: solid 1px #269edd;
}

h3.cabletv-top:before {
  left:0;
}
h3.cabletv-top:after {
  right: 0;
}


.fullwidth-bg {
    background: url('/wp-content/uploads/cabetv-bg.jpg') no-repeat center center fixed; 
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.fullwidth-bg-2024 {
    background: url('/wp-content/uploads/cabetv-bg-2024.jpg') no-repeat center center; 
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.content-wrapper {
    display: flex;
    align-items: center;
    max-width: 100%;
    flex-wrap: nowrap; 
    height: 280px;
}
.text-content {
    flex: 1;
    overflow-wrap: break-word;
    max-width: calc(90% - 560px);
}
  .video-content {
    flex: 1;
    padding: 30px;
    min-width: 560px;  /* 新しいプロパティ: 最小幅を指定 */
    position: absolute;
    right: 0;
    top: 0;
}
.lineup-corp{
    padding: 200px 0 0 0;
    width: 100%;
    text-align: center;
}
.lineup-corp-b{
    width: 100%;
    text-align: center;
}

.lead-bg{
    background: #ffffffa3;
    padding: 30px;
    margin: 0 !important;
    font-weight:700;
    font-size:16px;
    color:#333;
    line-height: 1.6;
}



@media (max-width: 1170px) {
    .video-content {
        min-width: 480px;
        }
    .text-content {
        max-width: calc(90% - 480px);
        }
    .lineup-corp{
        padding: 120px 0 0 0;
        }
}
@media (max-width: 1000px) {
    .video-content {
        position: static;
        padding: 10px;
        }
    .text-content {
        max-width: 100%;
        }
    .content-wrapper {
        height: auto;
        }
    .lineup-corp{
        padding: 70px 0 0 0;
        }
}
@media (min-width: 781px) {
    .wp-block-column.odd-number-block{display: none;}
}
@media (max-width: 780px) {
    .wp-block-column.odd-number-block{display: initial;}
}
@media (max-width: 600px) {
    .content-wrapper {
        flex-direction: column;
        }
    .video-content {
        min-width: 100%;
        padding: 10px 0 0 0;
        }
}

.category-cabletv h2.wp-block-heading.new{
  font-size: 1.75em;
  font-weight: 700;
}

/*.category-cabletv h3.wp-block-heading{
font-size: 1.5em;
font-weight: 700;
color: #6594e0;
border-bottom: dashed 2px #6594e0;
margin-top: 50px;
background: #6594e01c;
padding: 10px;
}*/



.category-cabletv h3.wp-block-heading.new{
  position: relative;
  overflow: hidden;
  padding: 1.2rem 2rem 1.2rem 120px;
  border-top: 3px solid #6594e0;
  margin-top: 50px;
}

.category-cabletv h3.wp-block-heading.new:before{
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #6594e0;
}

.category-cabletv h3.wp-block-heading.new span{
    font-size: 3.2rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 25px;
    padding-left: 12px;
    color: #fff;
    font-weight: 700;
}
.category-cabletv h3.wp-block-heading.new div.s2{
display: block;
color: #0471d0;
margin-bottom: 0;
}

.category-cabletv h4.wp-block-heading.new{
  font-size: 1.1em;
  font-weight: 700;
  margin-top:30px;
  margin-bottom: 5px;
}


.category-cabletv .otoiawase{
    font-size: 1.1em;
    padding: 10px;
    position: relative;
    color: #444;
    border: 2px solid #6495ed;
    margin-top: 80px;
}
.category-cabletv .otoiawase:before{
    content: 'お問い合わせ';
    position: absolute;
    top: -32px;
    left: -2px;
    background: #6495ed;
    padding: 3px 10px;
    color: #fff;
}

@media screen and (max-width: 698px) {
    .category-cabletv .otoiawase:before{
        top: -28px;
        left: -2px;
    }
}


.category-cabletv .midashi-s {
    position: relative; /* カウンターの基準位置をこの要素にする */
    padding-left: 40px; /* カウンターの幅 + マージンを考慮したパディング */
    color: #6495ed;
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;
}

.category-cabletv .midashi-s:before {
    counter-increment: item-number;
    content: counter(item-number);
    background-color: #6495ed;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-block;
    text-align: center;
    line-height: 28px; /* heightと同じ値に調整して上下中央に */
    font-weight: 100;
    position: absolute; /* カウンターを絶対位置で配置 */
    left: 0; /* カウンターを左端に配置 */
    top: 50%; /* 上端から50%の位置に配置 */
    transform: translateY(-50%); /* 上方向にカウンターの高さの50%分ずらす（上下中央配置の補正） */
}

.midashi{
    line-height: 1.4;
    font-weight: 700;
    color: #6c6c6c;
    font-size: 1.2em;
}


.vertical-center{
  display: flex;
  justify-content: center;
  align-items: center;
}


.category-cabletv h4.wp-block-heading.voice{
position: relative;
padding: .5rem 2rem 1rem .5rem;
border-bottom: 5px solid #0cc481;
border-left: 5px solid #0cc481;
/*border-radius: 0 0 0 16px;*/
display: inline-block;
color: #01784d;
margin-top: 30px;
}

.category-cabletv h4.wp-block-heading.voice:before {
  position: absolute;
  right: 50px;
  bottom: -21px;
  width: 0;
  height: 0;
  content: '';
  border-width: 21px 24px 0 0;
  border-style: solid;
  border-color: #0cc481 transparent transparent transparent;
}

.category-cabletv h4.wp-block-heading.voice:after {
  position: absolute;
  right: 54px;
  bottom: -14px;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 14px 0 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.interview-comment{
  background: #edf4ff;
  padding: 2px 10px;
  border-radius: 25px;
  display: inline-block;
  font-size: 14px;
}


.spotA img{
    padding: 39px 0;
}
@media screen and (max-width: 698px) {
    .spotA img{
        padding: 0;
    }
}

.spotB img{
    padding: 45px 0;
}
@media screen and (max-width: 698px) {
    .spotB img{
        padding: 0;
    }
}

/*オーエスエスブローネット*/
.spotC{
  position: absolute;
  bottom: 0;
  width: 50%;
}
@media screen and (max-width: 1199px) {
  .spotC{
    position: initial;
    bottom: 0;
    width: 100%;
    text-align: right;
    margin-top: 10px;
  }
}
@media screen and (max-width: 764px) {
  .spotC{
    position: initial;
    bottom: 0;
    width: 100%;
    text-align: left;
    margin-top: 10px;
    padding-left: 10px;
  }
}


/*投稿リスト３列*/
.post-list .grid-item, .post-list .page, .post-list .post {
  width: 32%;
  float: left;
}

@media screen and (max-width: 702px) {
  .post-list .grid-item, .post-list .page, .post-list .post {
    width: 100%;
    float: left;
  }

}


/*グローバルメニュー*/
#custom-gm ul.g1 {    
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
#custom-gm ul.g2 {    
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#custom-gm .col-1,
#custom-gm .col-2,
#custom-gm .col-3,
#custom-gm .col-4,
#custom-gm .col-5 {
    flex: 1;
}

#custom-gm .col-11,
#custom-gm .col-12,
#custom-gm .col-13,
#custom-gm .col-14,
#custom-gm .col-15,
#custom-gm .col-16 {
    flex: 1;
}

#custom-gm .btn {    
    display: block;
    padding: 10px 10px;
    margin: 2.5px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
}
#custom-gm .btn.p1 {background-color: #006fc8; color: #fff;}
#custom-gm .btn.p2 {background-color: #ee59590f; color: #666; padding: 5px; border: 1px solid #ee59598f;}

#custom-gm .btn.p1:hover {
    background-color: #0690ff; /* ホバー時の背景色の変更 */
}
#custom-gm .btn.p2:hover {
    background-color: #ee5959;color: #fff; /* ホバー時の背景色の変更 */
}
.news-br{display: initial;}
@media screen and (max-width: 620px) {
.news-br{display: none}
}

/*トップ記事リスト*/
.img-cate-base{position: relative;}
.img-cate{
position: absolute;
top: 0px;
background: #33333370;
padding: 1px 5px;
}
.img-cate a{color:#fff;}


.post-meta .post-date {
  float: initial;
}
p.post-tags.tag {margin-bottom: 10px;}
p.post-tags.tag a{font-size: 12px;}



/*固定ページ書籍一覧１行４列*/

#page .col4box{
  justify-content: flex-start;
display: flex;
margin: 30px auto;
}

#page .col4box .block4{
  justify-content: center;
  display: flex;
}

@media (max-width: 781px){
#page .col4box{
  width: 86%;
  }
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
  flex-basis: 45% !important;
  }
}


.pagelist-midashi {
  position: relative;
  padding: 5px 5px 5px 42px;
  font-size: 20px;
  color: white;
  margin-left: -30px;
  line-height: 1.3;
  z-index:-1;
  outline: dashed 1px #fff;
outline-offset: -3px;
}

.pagelist-midashi:after {
  position: absolute;
  content: '';
  right: 0px;
  top: 0px;
  border: none;
  border-right: solid 40px white;
  border-bottom: solid 40px transparent;
  z-index:-2
}

.pagelist-midashi.c1{background: #042940;}
.pagelist-midashi.c2{background: #005C53;margin-top: 4em;}
.pagelist-midashi.c3{background: #57C131;margin-top: 4em;}
.pagelist-midashi.c4{background: #A9BB1D;margin-top: 4em;}
.pagelist-midashi.c5{background: #B7B678;margin-top: 4em;}



/*B-maga*/
.pagelist-midashi.bmaga{background: #012699;margin-top: 4em;}
ul.bmaga-backno li{padding:4px 0;}


.new-mark{position: relative;}
.new-mark span.new{position: absolute;
top: -5px;
font-size: 12px;
padding: 0 6px;
background: #ff0000b2;
color: #FFF;}