@charset "UTF-8";
/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/

/************************************
** タブ切り替え
************************************/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0px 20px 0px;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 2px;
  background: #245eaf;
  display: block;
  order: -1;
}
.tab-label {
  color: #777;
  background: #eee;
  white-space: nowrap;
  text-align: center;
  padding: 7px 2px 3px 2px !important;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  color: #fff;
  background: #245eaf;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 20px 0px 0px 0px !important;
  opacity: 1;
}
/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}

/************************************
** タブ切り替え（アコーディオンメニュー）
************************************/
.tab-wrap2 {
	display: block;
	margin-bottom: 20px;
}
.tab-label2 {
  color: #777;
  background: #eee;
  font-weight: bold;
  padding: 10px 20px 8px 20px !important;
  border: 1px solid #ddd;
  cursor: pointer;
  display: block;
}
.tab-label2:before {
  content: '▼';
  margin-right: 8px;
  display:inline-block;
  transform:rotate(-90deg);
}
.tab-switch2:checked+.tab-label2:before {
  transform:rotate(0);
}
.tab-content2 {
  height: 0;
  padding: 0 15px !important;
  overflow: hidden;
  opacity: 0;
}
/* アクティブなタブ */
.tab-switch2:checked+.tab-label2 {
  color: #fff;
  background: #245eaf;
}
.tab-switch2:checked+.tab-label2+.tab-content2 {
  height: auto;
  overflow: auto;
  padding: 15px 0px 0px 0px !important;
  opacity: 1;
}
/* ラジオボタン非表示 */
.tab-switch2 {
  display: none;
}

/************************************
** 汎用ボックス共通
************************************/
.block-box-label {
  display: flex;
}
.block-box-label::before {
  margin-right: 0.3em;
}


/************************************
** ラベルボックス
************************************/
.wp-block-cocoon-blocks-label-box-1 .label-box-label {
  background-color: #ff5733 !important; /* Example color */
  color: #fff !important; /* Text color */
  border-radius: 5px !important; /* Rounded corners */
  padding: 5px 10px !important; /* Spacing */
}

/* ラベル部分の背景色と文字色を変更 */
.label-box-label {
  background-color: #333 !important; /* 好みの背景色に変更 */
  color: #fff !important; /* 好みの文字色に変更 */
  padding: 5px 10px !important; /* 内側の余白を調整 */
}

/* ボックス内のコンテンツのパディング（内部余白）を調整 */
.label-box-content {
  padding: 20px !important; /* 好みの余白サイズに変更 */
}

/************************************
**  囲み枠
************************************/
/******* ボックス1（囲み枠） ********/
.entry-content .box-point {
    border: 2px solid #df8182;
    border-radius: 4px;
    margin: 2em 0;
    padding: 1.3em 1em 1em 1em !important;
    position: relative;
}
.entry-content .box-point::before {
    background-color: #fff;
    color: #cb6f6f;
    content: "あわせて読みたい";
    font-weight: bold;
    left: 1em;
    padding: 0 0.5em !important;
    position: absolute;
    top: -1em;
}

/******* ボックス2（囲み枠） ********/
.entry-content .box-point2 {
    border: 2px solid #3dc68b;
    border-radius: 4px;
    margin: 2em 0;
    padding: 1.3em 1em 1em 1em !important;
    position: relative;
}
.entry-content .box-point2::before {
    background-color: #fff;
    color: #3eb983;
    content: "大会結果";
    font-weight: bold;
    left: 1em;
    padding: 0 0.5em !important;
    position: absolute;
    top: -1em;
}

/******* ボックス3（囲み枠） ********/
.entry-content .box-point3 {
    border: 2px solid #4dbce0;
    border-radius: 4px;
    margin: 2em 0;
    padding: 1em !important;
    position: relative;
}

/******* ボックス4（囲み枠） ********/
.entry-content .box-point4 {
    border: 2px solid #d94ade;
    border-radius: 4px;
    margin: 2em 0;
    padding: 1em !important;
    position: relative;
}

/************************************
** Cocoon Gutenberg（ラベルボックス）
************************************/
.label-box-content {
  padding: 1em .8em .8em !important;
}
.has-text-color a {
    color: #1967d2;
}
.has-text-color a:hover {
  color: #e53900;
}