@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/





.header-in {
  --logo-gap: 16px;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: var(--logo-gap);
}

.tagline {
  flex-basis: 100%;
}

.logo-header {
display: flex;
flex-basis: calc(50% - var(--logo-gap) / 2);
padding-top:50px;
padding-bottom:0px;
}

.logo-header.kids-logo {
justify-content: flex-end;
padding-right:16px;
padding-top:60px;
padding-bottom:0px;
}

/* ヘッダーモバイルボタン */
.mobile-header-menu-buttons {
  align-items: center;
  gap: 8px;
}

.mobile-header-menu-buttons .logo-menu-button {
  min-width: auto;
}

/* 検索アイコンを非表示にする */
.mobile-header-menu-buttons .search-menu-button {
  display: none;
} 

/* 検索アイコンの非表示の時に子会社ロゴを右端に寄せる */
.mobile-header-menu-buttons .logo-kids-button img {
  margin: 0 0 0 auto;
}

/* フッターモバイルボタン */
.mblt-footer-mobile-buttons .mobile-footer-menu-buttons {
  justify-content: space-around;
}

.mobile-footer-menu-buttons .logo-kids-button {
  display: none;
}


.tagline{
font-weight: bold;
}


.header-in .logo {
text-align:right ;
	padding-left: 16px ;
	width:200%;
	height:100%;
}

.logo img {
height: 225％px!important; /* PC時のロゴの画像タテサイズ */
width:400px;
margin: .5em auto;
background-size: 40%;
}
}
	
}　

/*スライドインメニューをカスタマイズ*/
.navi-menu-content{
	border: rgba(230,0,0,0.5);
	background-color: rgba(230,0,0,0.5);
}

.menu-drawer a{
	font-size: 1.1em;/*文字の大きさ*/
	color: #fff;/*文字の色*/
	height: 1.5em;/*行の高さ*/
}

.menu-drawer a:hover{
	color:#fff;
	background-color:#5f5f5f;
}

/*グローバルナビメニューの上だけを赤い太字にする*/





#navi .navi-in > ul li{
	height:60px;
	line-height:60px;
}



.header-in .tagline {
text-align:left;
	padding-left: 10px;
}

.header-in .logo {
text-align:right ;
	padding-left: 15px ;
	width:100%;
	height:100%;
}







.header-in .tagline {
text-align:right;
	padding-top: 1em;
	padding-right: 280px;
	margin-bottom: 0;
}

/*グローバルナビを太字にする*/
nav#navi, .menu-header .sub-menu{
	font-weight: bold;
}



/*クリック（もしくはマウスオーバーしたメニュー）の色を変更*/
.menu-header .current-menu-item,
.menu-h/*グローバルナビを太字にする*/
nav#navi, .menu-header .sub-menu{
	font-weight: bold;
}eader .current-post-item,
.menu-header .current-menu-ancestor,
.menu-header .current-post-ancestor,
.menu-header .menu-item:hover {
border-bottom: 3px solid #e60000; /*下線色*/
background: #f5f5f5; /*背景色*/
}
.menu-header .current-menu-item .item-label,
.menu-header .current-post-item .item-label,
.menu-header .current-menu-ancestor .item-label,
.menu-header .current-post-ancestor .item-label,
.menu-header .menu-item .item-label:hover {
color:#e60000; /*文字色*/
}







/*画面いっぱいの画像*/
.full-wide-screen{
margin:0 calc(50% - 50vw);	
}
.image {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image img {
	display: block;
	width: 100%;
	height: auto;
}


/*見出し3をカスタマイズ*/
.article h3{
    border: none;
    background: none;
    margin-left: 0px;
    padding: 0.6em;
    border-left: solid 6px #e60000 /*teal 700*/
}

/*見出し2をカスタマイズ*/
.article h2{
	color:#000;
	font-size:28px;
    border: none;
    background: none;
    margin-left: 0px;
    padding: 0.6em;
	border-bottom: solid 2px #d4d4d4;
    border-left: solid 6px #e60000 /*teal 700*/
}

/*見出し4をカスタマイズ*/
.article h4{
	color:#000;
	font-size:24px;
    border: none;
    background: none;
    margin-left: 0px;
    padding: 0.6em;
	border-bottom: solid 2px #d4d4d4;
    border-left: solid 6px #CFCFCF /*teal 700*/
}



/*画面いっぱいの画像*/
.full-wide-screen{
margin:0 calc(50% - 50vw);	
}
.image {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image img {
	display: block;
	width: 100%;
	height: auto;
}

.image {
border-top:solid 3px #ccc;
border-bottom:solid 3px #ccc;
}









.menu-btn {
    position: fixed;
    top: 240px;
    right: 20px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #e60000;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}

.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #e60000;
    transition: all 0.5s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}















































nav#navi {
     border-top:6px solid #e60000;
}

.footer {
    border-top: 6px solid #e60000;
}

















/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/

}

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

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

	
}
