@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/*#########################################################
■ 共通系
#########################################################*/

/*ページタイトル（swell+直h1）*/
h1 .c-pageTitle__inner, h1.page-title{
	display:block;
	padding:20px 30px;
	font-size:30px;
	font-weight:bold;
	color:#fdfdfd;
	background: repeating-linear-gradient( -45deg, #26A239 0, #26A239 5px, #51AB47 5px, #51AB47 10px);
	border-radius:7px;
	line-height:1.2;
	}
@media screen and (max-width:599px) {
h1 .c-pageTitle__inner, h1.page-title{
	padding:15px 20px;
	font-size:25px;
	}	
}

/*h2 左緑（swell+直h2）*/
.post_content h2{
	border-left:12px solid #26A239;
	padding-left:0.6em;
	font-size:25px;
	}
@media screen and (max-width:599px) {
.post_content h2{
	border-left:12px solid #26A239;
	margin-left:0;
	padding-left:0.6em;
	font-size:22px;
	}
}

/*h3 （swell）*/
.post_content h3{
	border-bottom:1px solid #bbb;
	padding-bottom:0.2em;
	font-size:22px;
	}


/* =========================================
■ 大会書類PDFエリア ※ショトコ囲用official-area+inner
========================================= */

/* 背景エリア */
.official-area {
  width: 100%;
  background: #f3f3f3;
  padding: 25px 0;
  box-sizing: border-box;
}

/* 中央配置 */
.official-area-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ボタン共通 */
.official-area-inner a {
  display: inline-flex;
  align-items: center;

  /* 一番長い文言に幅を揃える */
  width: max-content;
  min-width: 380px;
  max-width: 480px;

  padding: 4px 20px;
  border: 2px solid #9c9c9c;
  background: #ffffff;

  font-size: 18px;
  font-weight: bold;
  color: #333333;
  text-decoration: none;
  box-sizing: border-box;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* hover（有効時） */
.official-area-inner a:hover {
  color: #26A239;
  border-color: #26A239;
}

/* PDFアイコン */
.official-area-inner a::before {
  content: "";
  width: 2.3em;
  height: 2.3em;
  margin-right: 8px;
  background-color: #d63e13;
  -webkit-mask: url("/wp-content/themes/swell_child/images/icon-pdf1.svg") no-repeat center / contain;
          mask: url("/wp-content/themes/swell_child/images/icon-pdf1.svg") no-repeat center / contain;
  flex-shrink: 0;
}
/* 無効リンク */
.official-area-inner a.official-disabled {
  color: #aaaaaa;
  border-color: #9c9c9c;
  background: #ffffff;
  cursor: not-allowed;
  pointer-events: none;
}
/* 無効リンクのアイコン */
.official-area-inner a.official-disabled::before {
  background-color: #aaaaaa;
}

/*------------------
スマートフォン対応
------------------- */
@media screen and (max-width: 599px) {
  .official-area {
    padding: 30px 0;
  }
  .official-area-inner a {
    width: 80%;
    min-width: unset;
    max-width: unset;
	padding: 4px 12px;
    font-size: 16px;
    justify-content: flex-start;
  }
.official-area-inner a::before {
  width: 1.8em;
  height: 1.8em;
}
}

/************************************************
■ ページ別
*************************************************/


/* ===============================
   HOME：公式書類ボタンエリア(緑)
================================ */

.home-doc-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 30px auto 50px;
  max-width: 960px;
}
.home-doc-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 40%;
  height: 64px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #fdfdfd;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  background-color: #2ea836;
}
.home-doc-wrap a:not(.official-disabled):hover {
  opacity: 0.9;
}
.home-doc-wrap a::before {
  content: "";
  width: 1.3em;
  height: 1.3em;
  background-color: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
.home-doc-wrap a:first-child::before {
  mask-image: url("/wp-content/themes/swell_child/images/icon-documents.svg");
}
.home-doc-wrap a:last-child::before {
  mask-image: url("/wp-content/themes/swell_child/images/icon-calendar.svg");
}
.home-doc-wrap a.official-disabled {
  background-color: #aaaaaa;
  cursor: default;
  pointer-events: none;
  opacity: 1;
}
@media screen and (max-width: 599px) {
  .home-doc-wrap {
    flex-direction: column;
    gap: 25px;
    margin: 30px auto;
  }
  .home-doc-wrap a {
    width: 75%;
    height: 55px;
  }
}



/* ==============================
   HOMEお知らせ
   ============================== */
/*title*/
h4#home_news_title{
	margin:80px 0 10px;
	text-align:center;
	font-size:35px;
	font-weight:bold;
	}
@media screen and (max-width:599px) {
h4#home_news_title{
	margin:45px 0 10px;
	font-size:28px;
	}	
}
/*お知らせエリア*/
.home-news {
	margin-bottom: 50px;
}
dl.home-news-list {
	box-sizing: border-box;
	padding: 20px 30px;
	border: 1px solid #bbb;
	height: 350px;   /* スクロール枠高さ */
	overflow-y: auto;
	overflow-x: hidden;
}
dl.home-news-list dt,
dl.home-news-list dd {
	margin: 0;
	box-sizing: border-box;
}
dl.home-news-list dt {
	display: inline-flex;
	align-items: flex-start;
	width: 8em;
	padding: 10px 0;
	font-weight: normal;
	vertical-align: top;
}
dl.home-news-list dd {
	display: inline-flex;
	align-items: flex-start;
	width: calc(100% - 8em);
	padding: 10px 0;
	border-bottom: 1px dotted #333;
}
dl.home-news-list dd a {
	text-decoration: underline;
}
@media screen and (max-width: 599px) {
	dl.home-news-list dt,
	dl.home-news-list dd {
		display: block;
		width: auto;
	}
	dl.home-news-list dt {
		padding: 10px 0 0 0;
	}
	dl.home-news-list dd {
		padding: 0 0 10px 0;
		border-bottom: 1px dotted #333;
	}
}



/* ==============================
   HOMEピクトグラム
   ============================== */
.home-pictlink{
display:flex;
justify-content:center;
gap:3%;
margin-bottom:50px;
}
.home-pictlink a{
width:17%;
margin:0;
}
.home-pictlink a img{
width:100%;
height:auto;
}
@media screen and (max-width:599px) {
.home-pictlink{flex-wrap:wrap; gap:15px 7%;}
.home-pictlink a{width:35%;}	
}
	

/* ===============================
   競技ページ：コンテンツ幅揃え
================================ */

/*横幅：　タイトル枠・書類枠・リスト枠*/
.page-header , .page-content , .sports-list{
	max-width:1000px;
	margin:0 auto;
}
/*競技P 書類枠 マージン*/
.summer-doc-wrap , .autumn-doc-wrap , .winter-doc-wrap{
	margin:30px 0 30px;
}




/* =====================================
   競技種目リスト 共通
===================================== */

.sports-list {
  width: 100%;
  box-sizing: border-box;
}

/* 1競技ブロック */
.kyougi-shumoku {
  padding: 40px 0;
  border-bottom: 1px solid #cccccc;
}

/* 競技名 */
.kyougi-shumoku h3{
	border-left:12px solid #26A239;
	padding-left:0.6em;
	font-size:27px;
	font-weight: bold;
	margin-bottom: 24px;
	}
@media screen and (max-width:599px) {
.kyougi-shumoku h3{
	border-left:12px solid #26A239;
	margin-left:0;
	padding-left:0.6em;
	font-size:20px;
	}
}


/* PDFリンク一覧 */
.kyougi-shumoku ul {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: nowrap;
	padding-left: 30px;
}

/* PDFリンク（li） */
.kyougi-shumoku .shumoku-filelink {
  width: 170px; /* 目安サイズ */
}

/* PDFリンク（a） */
.kyougi-shumoku .shumoku-filelink a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  padding: 6px 14px 6px 6px; /* ← 左だけ少し詰める */

  border: 1px solid #777777;
  border-radius: 999px;
  background: #ffffff;

  font-size: 16px;
  font-weight: bold;
  color: #444444;
  text-decoration: none;
  box-sizing: border-box;

  transition: color 0.2s ease, border-color 0.2s ease;
}

/* hover（有効時） */
.kyougi-shumoku .shumoku-filelink a:hover {
  color: #26A239;
  border-color: #26A239;
}

/* PDFアイコン */
.kyougi-shumoku .shumoku-filelink a::before {
  content: "";
  width: 1.8em;
  height: 1.8em;
  margin-right: 6px;

  background-color: #d63e13;
  -webkit-mask: url("/wp-content/themes/swell_child/images/icon-pdf1.svg") no-repeat center / contain;
          mask: url("/wp-content/themes/swell_child/images/icon-pdf1.svg") no-repeat center / contain;

  flex-shrink: 0;
}

/*    無効リンク（is-disabled） */

.kyougi-shumoku .shumoku-filelink.is-disabled a {
  color: #aaaaaa;
  border-color: #9c9c9c;
  cursor: not-allowed;
  pointer-events: none;
}

/* 無効時アイコン */
.kyougi-shumoku .shumoku-filelink.is-disabled a::before {
  background-color: #aaaaaa;
}

/************************************************
■ スマートフォン対応
*************************************************/


@media screen and (max-width: 599px) {

  .kyougi-shumoku ul {
    flex-wrap: wrap; /* 2行構成 */
    gap: 12px;
	  padding-left: 0;
  }

  .kyougi-shumoku .shumoku-filelink {
    width: calc(50% - 6px); /* 2列 */
  }

  .kyougi-shumoku .shumoku-filelink a {
    justify-content: flex-start;
    padding: 6px 10px;
    font-size: 15px;
  }

  .kyougi-shumoku .shumoku-filelink a::before {
    width: 1.6em;
    height: 1.6em;
  }
}


/*スマホメニュー文字サイズ*/
.p-spMenu__nav ul li a{
	font-size:17px;
}
	


