@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;
  /* padding: 0; */

}
@media screen and (max-width: 830px) {
.gyouziitiran-box .tab-wrap {
    margin: 0 0 0 0;
}
}
.gyouziitiran-box .tab-label {
  /* background-color: #b3b3b3; */
background-color: #45546c !important;
border: solid 1px #b0c4de !important;
  border-bottom: none !important;
  border-radius: 6px 6px 0 0;
  /* background: #c3c3c3; */
  color: #f5f4f3;
  cursor: pointer;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  /* margin: 0 2px 0 2px; */
  margin: 2px 2px 0;
  order: -1;
  /* padding: 10px 16px; */
  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: rgba(35,59,108,.2); */
background-color: #939393 !important;
}
.gyouziitiran-box .tab-switch:checked + .tab-label {
  /* アクティブなタブ */
/* background: #45546c; */
background: #416FB3 !important;
border: solid 2px #b0c4de !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-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; /* 記事は見つかりませんでした。*/
}
.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 {
/* margin-top: 10px; */
}
.gyouziitiran-box .tab-comment { /* 該当のタブをタップすることで切替わります */
/* text-align: center; */
	text-align: right;
    /* font-size: 16px; */
    font-size: 14px;
    /* margin-bottom: 10px; */
	margin-bottom: 0px;
    /* color: #fff; */
    /* color: #666; */
    color: #f5f4f3;
    font-weight: bold;
    /* background: #194bb4;
    width: 40%;
    margin: 0 auto 10px;
    border-radius: 6px; */
}	
@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;
}
}