@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
************************************/
.article p {
	margin-bottom: 0;
}
.entry-content > * {
	margin-bottom: 0;
}
label {
	cursor: default;	
}
/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
body{
 overflow-x: hidden; 
}

.header-container,
.main,
.sidebar,
.navi-in {
  background-color: #ECE6DD;
}

.header-container{
	border-bottom: 2px solid #000;
}

.footer {
  background-color: #000;
  color: #fff;
}

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

.middle-left{
	display: flex;
    justify-content: start;
    align-items: center;
}

.middle-right{
	display: flex;
    justify-content: end;
    align-items: center;
}

.max-width{
  max-width: 1256px;
}

.bg-black{
  background-color:#000;
}
.bg-white{
  background-color:#fff;
}

/************************************
** デザイン
************************************/
/* 画面横幅いっぱい */
.max-view{
  padding:0; margin:0; 
  width:100vw;
  box-sizing:border-box;
  margin-left:calc(-50vw + 50%)
}

/* セクション */
.section {
  font-weight: bold;
  margin-bottom: 0.3em;
  position: relative;
  font-size: 40px;
  width: 100%;
}
.section::after {
  content: '';
  background-size: 10px 10px;
  background-color: #e1eef5;
  background-image: repeating-linear-gradient(-45deg, #000 0, #000 3px, #fff 0, #fff 50%);
  width: 100%;
  height: 7px;
  position: absolute;
  bottom: -5px;
  left: 0;
}

/* 先頭に四角のアクセント */
.square {
	background:none;
	color: #333;
	position: relative;
	padding: .3em 1em 0 40px;
  }
.square::before,
.square::after{
	position: absolute;
	content: '';
}
.square::before {
	top: .6em;
	left: .2em;
	z-index: 2;
	width: 22px;
	height: 22px;
	background: #607d8b;
	opacity: .5;
}
.square::after{
	top: 1.1em;
	left: .8em;
	width: 15px;
	height: 15px;
	background: #607d8b;
	opacity: .5;
}

/* 右向き矢印付きラベル */
.arrow-label {
  position: relative;
  background-color: #000;
  color: #fff;
  padding: 5px 20px;
  font-size: 12px;
  border-radius: 4px 0 0 4px;
  margin-right: 20px;
}

.arrow-label::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 20px solid #000;
}

.arrow-label-container:hover a.arrow-label {
  color: #fff;
  background-color: cornflowerblue;
}

.arrow-label-container:hover .arrow-label:after {
  border-left: 20px solid cornflowerblue;
}

/* 右向き矢印付きラベルの後ろにつく細長い長方形 */
.sticks {
  display: flex;
  gap: 6px;
  margin-right: 6px;
}
.stick {
  width: 8px;
  height: 34px;
  border-radius: 2px;
}
.stick:nth-child(odd) {
  border: 2px solid #000;
}
.stick:nth-child(even) {
  background-color: #000;
}

.arrow-label-container:hover .stick:nth-child(odd) {
  border: 2px solid cornflowerblue;
  cursor: pointer;
}
.arrow-label-container:hover .stick:nth-child(even) {
  background-color: cornflowerblue;
  cursor: pointer;	
}

/* アコーディオン */
.accordion_summary {
  display: block;
  font-weight: bold;
  position: relative;
  list-style: none; /* 矢印を消す */
  cursor: pointer;
}
.accordion_detail {
	transition: height 0.5s ease, opacity 0.5s ease;
}
[open] .accordion_summary {
	display: none;  /* 開いた後はサマリーを非表示 */
}

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

@media screen and (min-width: 980px){
/*981px以上*/
  .font-lg {
    font-size: 54px;
  }
  .space {
    height: 100px;
  }
  .short-space {
    height: 50px;
  }
  .sp-only {
    display: none;
  }
  .except-sp {
    display: block;
  }
}

/*980px以下*/
@media screen and (max-width: 980px){
  .font-lg {
	font-size: 48px;
  }
  .space {
    height: 80px;
  }
  .short-space {
    height: 40px;
  }
  .sp-only {
    display: none;
  }
  .except-sp {
    display: block;
  }
}

/*770px以下*/
@media screen and (max-width: 770px){
  .section {
    font-size: 36px;
  }
  .font-lg {
	font-size:35px;
  }
  .space {
    height: 60px;
  }
  .short-space {
    height: 30px;
  }
  .body, .menu-content {
    font-size: 20px;
  }	
  .sp-only {
    display: none;
  }
  .except-sp {
    display: block;
  }
}

/* 600px以下 */
@media screen and (max-width: 600px){
  #navi-in {
    display: none;
  }	
  .section {
    font-size: 30px;
  }
}
/*480px以下*/
@media screen and (max-width: 480px){
  .section {
    font-size: 24px;
  }
  .font-lg {
    font-size: 24px;
  }
  .space {
    height: 50px;
  }
  .short-space {
    height: 25px;
  }
  .sp-only {
    display: block;
  }
  .except-sp {
    display: none;
  }
}


/************************************
** ヘッダー関連
************************************/
@media screen and (max-width: 1023px) {
  .header-container-in.hlt-top-menu {
    flex-direction: row !important;
  }
  .navi-in .menu-pc {
    display: flex;
  }
}