@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** テーマのカスタマイズと追加CSS
************************************/

body{
    background-color: transparent;
}
.container{
    overflow: hidden;
}

/* ul{
    padding-left: 12px;
} */

h1.archive-title {
	position: relative;
	text-align: center;
    background: none;
}
h1.archive-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 6px 0 6px;
	border-color: #1967d2 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);
}
.wp-block-button a:hover{
 color: #FFF;
}
.article h2, .article h3, .article h4, .article h5, .article h6 {
    font-weight: 700;
}
.article h2,
h1.archive-title{
    margin-bottom: 2em;
    margin-top: 3em;
    font-size: 26px;
    padding-bottom: 20px;
}

.entry-title, .archive-title{
    margin: 40px 0;
}

.entry-content h2.wp-block-heading,


.entry-content h2.wp-block-heading::after,


.entry-content h3.wp-block-heading {
        position: relative;
        padding: 1rem 0;
        margin-bottom: 3rem;
        font-weight: bold;
        background: linear-gradient(90deg, #b2d5de 0% 50%, #1967d2 50%);
        background-repeat: no-repeat;
        background-size: 4rem 0.2rem;
        background-position: bottom;
        color: #353535;
        text-align: center;
    border: none;
}
.entry-content h4.wp-block-heading {
    border: none;
    padding-bottom: 10px;
    background-image: repeating-linear-gradient(90deg, #b4a983 0, #b4a983 2px, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, 0) 4px);
    background-size: 4px 4px;
    background-repeat: repeat-x;
    background-position: center bottom;
}
.page-id-39 .entry-content h4.wp-block-heading{
    background-image: none;
}

main.main, div.sidebar{
    padding-top: 0;
    padding-left:0;
    padding-right: 0;
}

.wrap {
    max-width: 900px;
}
.menu-header a{
	font-size: 14px !important;
    font-weight: 700;
}
.logo-text a{
    font-weight: 800; 
}
.page .date-tags{
	display: none;
}
.wp-block-image{
 margin-bottom: 0;
}
.content,
.main {
    margin-top: 0;
    padding-top: 0;
}
.wp-block-cover, .wp-block-cover-image{
    width: 100vw;
   margin: 0 calc(50% - 50vw);
}
.wp-block-cover__inner-container{
    max-width: 900px;
    padding: 36px 29px;
}
ul.subpage{
    list-style: none;
    padding-left: 0;
}
.subpage li {
    display: inline-block;
  }
.subpage li:not(:first-child)::before {
    content: "｜";
  }

/* footer */
.footer-title,
h2.widget-title{
padding-bottom: 10px;
background-image: repeating-linear-gradient(90deg, #b4a983 0, #b4a983 2px, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 4px);
background-size: 4px 4px;
background-repeat: repeat-x;
background-position: center bottom;
}
ol, ul {
    padding-left: 0px;
    list-style-position: inside;
}
.widget_recent_entries ul li ul, .widget_categories ul li ul, .widget_archive ul li ul, .widget_pages ul li ul, .widget_meta ul li ul, .widget_rss ul li ul, .widget_nav_menu ul li ul, .widget_block ul li ul {
    padding-left: 0px;
    margin: 0;
}
.widget_nav_menu ul.menu li li a{
    position: relative;
    padding-left: 12px;
  }
 
  .widget_nav_menu ul.menu li li a:before {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #000057;
  }

  .widget_nav_menu ul.menu li:not(:first-child){
    border-top: solid 1px #CCC;
  }
  .widget_nav_menu ul.menu ul{
    border-top: solid 1px #CCC;
  }
    

  #footer .info-list{
    padding:0;
  }

/************************************
** テーマの追加CSS
************************************/

.block-inline{
    display: inline;
}

.title-inline{
    display: inline;
    background-color: #fff;
    color: black !important;
    padding: 20px;
    text-align: left;
}
.article ul.li-center li, .article ol.li-center li {
    text-align: center;
    text-decoration: none;
    list-style-type: none;
}

.position-bottom{
	position: absolute;
	bottom: 0;
}
.position-top{
	position: absolute;
	top: 0;
}
.position-center{
	position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
}
.mt40{
    margin-top:40px;
}
.pt40{
    padding-top:40px;
}

.cover-full{
    height: 100vh;
    height: 100svh;

}
 .cover-width{
	width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.flex-end{
    align-items: flex-end;
}

.hidden{
    display: none;
}
.width100{
    width: 100%;
}
.width500{
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
figure.wp-block-table.width100 table{
    width: 100%;
}
.harf-color.wp-block-cover span.has-background-dim{
    background:none;
    background: linear-gradient(350deg,transparent 0%,transparent 30%,#666 30%,#666 100%);
}

/* モバイルスライドインメニュー */

.fa-times {
color: #000057;/* 閉じるボタンの色 */
font-size: 0.8em;
}
ul.menu-drawer:before {
background-color: #000057;/* Menu背景色 */
font-size: 1.2em;
}
ul.menu-drawer:after {
background-color: #fff;
}
.menu-drawer a {
color: #333 !important;/* 文字色 */
font-size: 1.2em;
font-weight: 900;
}
.menu-drawer a:hover {
background-color: #eff8f9;
}
.menu-drawer a .fas, .menu-drawer a .far,.menu-drawer a .fa,.menu-drawer a .fab {
margin-right: 3px;
}
.sub-menu li {
font-size: 0.8em;
}

.widget h3 {
    font-size: 16px;
}

.is-vertically-aligned-bottom .is-layout-flex {
    gap: 0.5rem;
}

.wp-block-navigation__container{
    gap:unset;
}
.wp-block-navigation-link + .wp-block-navigation-link::before {
    content: "/"; 
    margin-right: .5em;  
  }

.entry-content ul a{
    text-decoration: none;
}

.is-style-stripes table,
.is-style-stripes table th,
.is-style-stripes table td{
    border: 0;
}
.is-style-stripes table th {
    background-color: transparent;
}

/************************************
** カスタム投稿ウィジェット横並べ
************************************/

.rpwe-block{
    position: relative;
    height: 100%;
}
.rpwe-block .rpwe-ul li,
.rpwe-block .rpwe-ul .rpwe-thumb{
    border: 0 !important;
}
ul.rpwe-ul{
    display: flex;
    /* flex-direction: column; */
    row-gap: 1em;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* column-gap: 1%; */
    padding: 0;
    margin: 0;
}
ul.rpwe-ul .rpwe-li{
    width: 25%;
    padding: 7px;
    margin: 0;
    list-style: none;
}
ul.rpwe-ul .rpwe-li a{
    color: #333;
    text-decoration: none;
    font-weight: 700;
}

.rpwe-title span{
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
}

.post-type-archive-job .post-date,
.post-type-archive-voice .post-date{
    display:none;
}


/************************************
** FRONT
************************************/

.home main.main, .home div.sidebar {
    padding-top: 0;
}
.home .header-container{
	position: absolute !important;
	z-index: 3;
	width: 100% !important;
	background-color: transparent;
}
.home .navi {
	background-color: transparent;
}
.home .article-header.entry-header{
	display: none;
}

.header-container.fixed-header{
	position: fixed !important;
	background-color: var(--cocoon-white-color);
}
.header-container.fixed-header .navi{
	background-color: var(--cocoon-white-color);
}

.home .content {
    margin-top: 0;
}
.home .entry-content {
    margin-top: 0;
	}

.home .main {
    padding-top: 0px;
    border: 0;
    position: relative;
    z-index: 0;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

@media screen and (min-width: 1024px){
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){

    .home main.main, div.sidebar {
        padding-top: 0;
    }
    .info-list.is-style-frame-border {
        border: none;
    }
    main.main, div.sidebar{
        padding-top: 0;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
    .content, .content-bottom{
        margin-left: 16px;
        margin-right: 16px;
    }
    .wp-block-cover__inner-container {
        padding-left: 0;
        padding-right: 0;
    }
    .menu-content {
        max-width: 100%;
        background-color:#1967d2;
    }
    .menu-content .menu-drawer a {
        color: #fff !important;
    }
    .menu-content .menu-drawer a:hover {
        color: #b2d5de !important;
    }
    .navi-menu-content .menu-close-button{
        color: #fff !important;
    }
    .menu-drawer{
        margin-top: 4rem
    }
    ul.rpwe-ul .rpwe-li{
        width: 49%;
    }
    .article-header .has-large-font-size,
    .entry-header .has-large-font-size{
        font-size: 24px !important;
        padding:15px;
    }
    .wp-block-cover__inner-container{
        padding-left: 0;
    }
}
