@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.7
*/

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


/************************************************************************
** ●島根県スキー連盟 Top stylesheet(styl.css)ファイルを共用
https://ski-shimane.org/wordpress/wp-content/themes/cocoon-child-master/style.css
Cocoon Child > tmp-user > head-insert.php で設定
************************************************************************/


/************************************************************************
** ●教育部 独自 stylesheet(styl.css)ここから下）
************************************************************************/


/************************************
** ●アピールエリア モバイル画像 （教育部）
************************************/
@media screen and (max-width: 480px) {
  .appeal {
    /* background-image: url(https://ski-shimane.org/kyoikubu/wordpress/wp-content/uploads/2024/06/ap_kyoikubu_1200_680_20240607.jpg); */
	/* background-image: url(https://ski-shimane.org/kyoikubu/wordpress/wp-content/uploads/2024/07/ap_kyoikubu_1200_680_20240731.jpg); */
	/* background-image: url(https://ski-shimane.org/kyoikubu/wordpress/wp-content/uploads/2025/06/ap_kyoikubu_1000_820_2020622.png); */
  	   background-image: url(https://ski-shimane.org/kyoikubu/wordpress/wp-content/uploads/2025/07/ap_kyoikubu_1000_1200_20250717.png);
}
}
/************************************
** ●タブ表示（新着記事　教育部 行事一覧） 
************************************/
.gyouziitiran-box .tab-wrap {
background: transparent;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  overflow: hidden;
}
@media screen and (max-width: 830px) {
.gyouziitiran-box .tab-wrap {
    margin: 0 0 0 0;
}
}
.gyouziitiran-box .tab-label {
background-color: #45546c !important;
border: solid 1px #e5e4e3 !important;	
  border-bottom: none !important;
  border-radius: 6px 6px 0 0;
  color: #f5f4f3;
  cursor: pointer;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 2px 2px 0;
  order: -1;
  padding: 5px 16px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  transition: cubic-bezier(.4, 0, .2, 1) .2s;
  user-select: none;
  white-space: nowrap;
	line-height: 1.4;
	display: flex;
    justify-content: center;
	align-items: center;
	height: 45px;
}
.gyouziitiran-box .shinchaku {
font-size: 12px;
}
@media screen and (max-width: 768px) {
.gyouziitiran-box .tab-label {
    font-size: 14px;  
    letter-spacing: 1px;
    padding: 8px 14px;
  }
}
@media screen and (max-width: 480px) {
.gyouziitiran-box .tab-label {
    font-size: 13px;  
    letter-spacing: 1px;
    padding: 5px 2px;
	width: calc(94% / 4);
	line-height: 1.3;
	height: 35px;
  }
.gyouziitiran-box .shinchaku {
font-size: 12px;
}
}
.gyouziitiran-box .tab-label:hover {
background-color: #939393 !important;
}
.gyouziitiran-box .tab-switch:checked + .tab-label {
  /* アクティブなタブ */
   background: #007ee5 !important;
	border: solid 2px #d5d4d3!important;	
	border-bottom: none !important;
  border-radius: 6px 6px 0 0;
  color: #f5f4f3;
  font-size: 20px;
  font-weight: 700;
height: 55px;
top: -10px;
z-index: 2;
border: solid 0px #999;
border-bottom: none;
	padding: 10px 0 0;
}
.gyouziitiran-box .tab-switch:checked + .tab-label:hover {
   background: #007ee5 !important;
opacity: .7;
}
.gyouziitiran-box .tab-label:not(:checked) {
    margin-top: 10px;
}
.gyouziitiran-box .shinchaku {
font-size: 12px;
}
@media screen and (max-width: 768px) {
.gyouziitiran-box .tab-switch:checked + .tab-label {
    font-size: 16px;
    padding: 5px 35px;
height: 50px;
top: -5px;
  }
}
@media screen and (max-width: 480px) {
.gyouziitiran-box .tab-switch:checked + .tab-label {
    font-size: 14px;  
    padding: 8px 3px 0;
height: 40px;
top: -5px;
}
.gyouziitiran-box .shinchaku {
font-size: 8px;
}
}
.gyouziitiran-box .tab-label::after {
  background: #45546c;
  display: block;
  height: 3px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(100%);
  transition: cubic-bezier(.4, 0, .2, 1) .2s 80ms;
  width: 100%;
  z-index: 1;
}
.gyouziitiran-box .tab-switch:checked ~ .tab-label::after {
  transform: translateX(-100%);
}
.gyouziitiran-box .tab-switch:checked + .tab-label::after {
  opacity: 1;
  transform: translateX(0);
}
.gyouziitiran-box .tab-content {
  height: 0;
  margin-top: 2px;
  opacity: 0;
  padding: 0 0;
  pointer-events: none;
  transform: translateX(-30%);
  transition: transform .3s 80ms, opacity .3s 80ms;
  width: 100%;
}
.gyouziitiran-box .tab-switch:checked ~ .tab-content {
  transform: translateX(30%);
}
.gyouziitiran-box .tab-switch:checked + .tab-label + .tab-content {
  height: auto;
  opacity: 1;
  order: 1;
  pointer-events: auto;
  transform: translateX(0); 
  color: #f5f4f3; /* 記事は見つかりませんでした。*/
font-weight: bold;	
}
.gyouziitiran-box .tab-switch {
  display: none;
}
.gyouziitiran-box .post a:hover {
text-decoration:none;	
}
.gyouziitiran-box .tab-content .new-entry-cards {
margin-bottom: 0px !important;	
}
.gyouziitiran-box .new-entry-cards .display-none { /* 部行事　日付非表 */
display: none;
}
.gyouziitiran-box .tab-content .new-entry-cards {
}
.gyouziitiran-box .tab-content .widget-entry-card-thumb, .entry-card-thumb {
}
/* .gyouziitiran-box .tab-comment { /* 該当のタブをタップすることで切替わります */
/*     text-align: right;
    font-size: 14px;
	margin-bottom: 0px;
	margin-right: 20px;
	color: #f5f4f3;
	font-weight: bold;
}	
@media screen and (max-width: 768px) {
.gyouziitiran-box .tab-comment {
font-size: 14px;
}
}	
@media screen and (max-width: 480px) {
.gyouziitiran-box .tab-comment {
text-align: center;
font-size: 11px;
}
} */
/************************************
** ●研修会　お申込み方法　タイトル
************************************/
.wp-block-cocoon-blocks-blank-box-1{
width: 100%;
margin: 0 auto;
}
@media screen and (max-width: 480px) {
.wp-block-cocoon-blocks-blank-box-1{
width: 100%;
margin: 0 auto!important;
}
}
/************************************
** ●フルワイドエリア margin削除
************************************/
#custom_html-84{ /* Top　イベント　フルワイドエリア　下部　*/
margin-bottom: 0px;	
}
#custom_html-86{ /* Top　イベント　フルワイドエリア　下部　*/
margin-bottom: 0px;	
}
/************************************
** ●アコーディオン表示（教育部 行事一覧） 20251220
************************************/
.toggle-button {
    display: block;
    cursor: pointer;
    /* padding: 3px 10px; */
    padding: 5px 30px;
    /* text-align: center; */
    text-align: left;
    position: relative;
    width: 35%;
    margin: 0 auto;
	border: solid 2px #e5e4e3;
	background: #007ee5;
    color: #f5f4f3;
	font-size: 20px;
    font-weight: 700;
    height: 55px;
	/* border-radius: 6px; */
	border-radius: 10px;
}
.toggle-checkbox:checked ~ .toggle-content {
    visibility: visible;
    opacity: 1;
    height: 100%;
    transition: all 0.3s ease-in-out;
    padding: 1em;
	/* border-color: #007ee5; */
	border: none;
	/* background: #007ee5; */
    /* border-radius: 6px; */
}
/* .toggle-button::before {
    content: "\f067";
	font-family: "Font Awesome 5 Free";
    margin-right: 0.8em;
    font-size: 0.8em;
    opacity: 0.5;
    color: #f5f4f3;
} */
.gyouziitiran-box .tab-comment { /* 該当のタブをタップすることで切替わります */
	/* text-align: right; */
	text-align: center;
    /* font-size: 14px; */
    font-size: 11px;
    /* margin-bottom: 20px; */
    margin-bottom: 10px;
	/* margin-right: 20px; */
    color: #f5f4f3;
    /* font-weight: bold; */
    font-weight: normal;
}
.toggle-button:hover {
opacity: .7;
}
.gyouziitiran-box .block-box {
/*margin-bottom: 12px; */
margin-bottom: 4px;
}
@media screen and (max-width: 840px) {
.toggle-button {
font-size: 18px;
height: 50px;	
width: 60%;	
}
}	
@media screen and (max-width: 480px) {
.toggle-button {
font-size: 16px;
height: 40px;
width: 70%;
}
}
.toggle-button { /* アイコン */
    position: relative;  
    padding-right: 40px;    /* アイコン分の余白 */
}
.toggle-button::before {
    content: "\f067"; /* ＋ */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;            /* 右端位置 */
    top: 45%;
    transform: translateY(-50%);
    font-size: 0.7em;
    opacity: 0.5;
    color: #f5f4f3;
}
/* ===============================
 基本（通常時・チェック中）
=============================== */
.toggle-button {
    background: #007ee5;
    color: #f5f4f3;
}
.toggle-group-frame:has(.toggle-checkbox:checked)
.toggle-checkbox:not(:checked) + .toggle-button {
    background: #0060ae;
}