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

/************************************
** 子テーマ用のスタイルを書く
************************************/

:root { --bk: #0090c2; }

#main {
    border-right: 1px solid #ddd;
    flex-grow: 1;
    background: transparent;
}

.header-container > .header-container-in {
	animation-name: fadeIn;
	animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

.menu-item > a :hover{
  color: blue;
  cursor: pointer;
}

/* ヘッダー背景 */
#header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
	
	z-index: 1;
}
.navi { background: transparent; }
#content { margin: 0 90px; }

#header-container > #header-container-in > .header { z-index: 1; }

#header-container::before {
    content: '';
    display: block; width: 100%; height: 60px;
    position: absolute; top: -60px; left: 0px;
    background: var(--bk);
	transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}
#header-container.active::before { top: 0px; }

#header-container .menu-item > a { color: white; transition: all 0.2s ease; }
#header-container .menu-item > a:hover { background: transparent; }
#header-container.active .menu-item > a { color: black; }



/* アイキャッチ */
.eye-catch { position: relative; margin-bottom: 0; }
.eye-catch > .overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.3);
}
.eye-catch > .overlay > .title {
    position: absolute; top: 50%; left: 50%;
    transform: translateY(-50%) translateX(-50%);
    font-weight: 600;
    font-size: 36px;
    line-height: 1.5;
    text-align: center;
    color: white;
	opacity: 0;
	
	animation: slideUp 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards 0.5s;
}

/* フッター */
.footer {background: var(--bk); }
.footer-bottom { text-align: center; }
.footer-bottom .logo img { display: block; margin: 0 auto; width: 225px; }
.footer-bottom .access { line-height: 1.7; margin: 30px 0; }
.footer-bottom .navi { display: flex; flex-wrap: wrap; justify-content: center; }
.footer-bottom .navi ul { list-style: none; padding: 14px 0; }
.footer-bottom .navi ul li { width: 120px; display: inline-block; font-size: 14px; margin: 0 20px; }
.footer-bottom .navi ul li a { color: #000; text-decoration: none; line-height: 70px; }
.footer-bottom .copyright { height: 60px; font-size: 12px; }

/* サイドバー */
.square_headline { height:160px; padding-left:40px; color:#fff; position:relative; z-index:1; background: #005bac; }
.square_headline div.head { line-height:1.5; position:absolute; top:50%; -ms-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.square_headline div.head span { display:block; }
.square_headline div.head .sub_headline { font-weight:500; }
.square_headline .headline { font-size:24px; }
.square_headline .sub_headline { font-size:14px; }
@media screen and (max-width:750px) {
    .square_headline .headline { font-size:18px; }
    .square_headline .sub_headline { font-size:12px; }
}
#sidebar {z-index: 0;}  
#sidebar { padding: 0; }

#sidebar > .widget_custom_html { margin-bottom: 0; }

#sidebar ul.menu .menu-item > a {
    border-bottom: 1px solid #ddd;
    padding: 0 40px;
    line-height: 70px;
    transition: all 0.35s ease;
}
#sidebar ul.menu .menu-item > a:hover {
    padding-left: 50px;
	color: #00aac3;
}
#sidebar ul.menu .menu-item.current-menu-item {
    background: rgba(0,91,172,0.5);
    color: #fff;
    border-color: #fff;
	pointer-events: none;
}
#sidebar { flex-grow: 0; }


/* 記念ロゴ */
#header-in {display: flex; flex-direction: row;}
#header-in >.anniversary { height: 60px; }
    
.footer-bottom > .logo { flex-direction: row; margin: 0 auto; }
.footer-bottom > .logo > * { display: inline-block; vertical-align: middle; padding: 0; }
.footer-bottom > .logo > .anniversary { height: 106.25px; width: 106.25px; transform: none; display: inline-block;}


/* カテゴリ */
.card-content > div.admin-pv {
    display: none;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/* 1023px以下*/
@media screen and (max-width: 1023px) { }

/* スマホ向け UI */
@media screen and (max-width: 1024px) {
	.mobile-header-menu-buttons {background: var(--bk); display: flex; flex-direction: row;}
	.mobile-header-menu-buttons > .anniversary { height: 60px; }
	.mobile-header-menu-buttons > .spacer {flex-grow: 1;}
	
	.footer-bottom .navi ul li { font-size: 12px; margin: 0 10px; }
	.navi-menu-content {left: auto; right: 0; transform: translateX(105%); width: 200px; background-color: black;}
    .navi-menu-close-button { display:none; }
    .navi-menu-content .menu-drawer { margin: 0; padding: 0; }
    .navi-menu-content .menu-drawer a { border-bottom: #444444 1px solid; color: #888; height: 60px; line-height: 60px; padding: 0 60px 0 20px;}
	.navi-menu-content .menu-drawer a:hover { background: #444; }
    #content {margin: 20px;}
	li.logo-menu-button {flex-grow: 0;}
}

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