@charset "utf-8";

/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #666;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 15px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #eee url(../images/bg.png);	/*背景色、背景画像の読み込み*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;	/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #000;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*containerブロック
---------------------------------------------------------------------------*/
#container {
	border-top: 5px solid #000;	/*上の線の幅、線種、色*/
	margin: 0 auto;
	max-width: 1200px;	/*サイトの最大幅*/
	background: #fff;	/*背景色*/
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);	/*ボックスの影。右に、下に、広げる幅。0,0,0は黒の事で0.2は透明度20%の事。*/
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	overflow: hidden;
	height: 100px;	/*ブロックの高さ*/
	position: relative;     /* ← 協賛者ボタン/3本線の基準 */
}
/*ロゴ画像*/
header #logo img {
	width: 300px;	/*画像幅*/
	float: left;	/*左に回り込み*/
	margin-top: 36px;	/*上下のバランスをとって下さい*/
	margin-left: 4%;	/*左に空けるスペース*/
}

/* ヘッダーメニュー（協賛者ボタン） */
#headermenu {
	position: absolute;
	top: 36px;      /* ロゴの高さに合わせて調整 */
	right: 4%;      /* 右端に寄せる */
	margin: 0;
	padding: 0;
	z-index: 1000;
}
#headermenu li {
	list-style: none;
	margin: 0;
	padding: 0;
}
#headermenu li a {
	text-decoration: none;
	display: block;
	background: #ff8a00;
	background: linear-gradient(#ffa600, #ff8a00);
	color: #FFF;
	padding: 3px 15px;
	border-radius: 4px;
	border: 1px solid #ff8a00;
	font-size: 12px;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	overflow: hidden;
	border-top: 1px solid #d2d2d2;		/*上の線の幅、線種、色*/
	border-bottom: 1px solid #d2d2d2;	/*下の線の幅、線種、色*/
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;	/*左に回り込み*/
	line-height: 1.6;	/*行間*/
	width: 14.1%;	/*幅*/
}
#menubar li a {
	display:  block;text-decoration: none;
	position: relative;
	text-align: center;	/*文字をセンタリング*/
	padding: 12px 0px;	/*上下、左右へのボックス内の余白*/
	border-left: 1px solid #d2d2d2;	/*左側の線の幅、線種、色*/
	font-weight: bold;	/*太字にする設定*/
}
/*１つ目のメニューへの追加設定*/
#menubar li:first-child {
	width: 15%;	/*幅。６個メニューなので、16.6で割り切れない分をここで再設定。*/
}
#menubar li:first-child a {
	border-left: none;	/*左側の線を消す設定*/
}
/*英語表記（飾り文字）*/
#menubar li a span {
	display: block;
	font-size: 9px;	/*文字サイズ*/
	color: #bababa;	/*文字色*/
	font-weight: normal;	/*太字を標準に戻す設定*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くする設定*/
}
/*マウスオン時と、現在表示中メニューの設定*/
#menubar li a:hover, #menubar li.current a {
	background: #e8e8e8;	/*背景色*/
}
/*左側のアクセントライン*/
#menubar li a:hover::before, #menubar li.current a::before {
	content: "";
	position: absolute;
	left: 5px;
	width: 3px;
	height: 22px;
	background: linear-gradient(#666, #121212);	/*グラデーション*/
}

/*スマホ用メニューを表示させない（PC初期状態）*/
#menubar-s {display: none;}
/*３本バーアイコンを表示させない（PC初期状態）*/
#menubar_hdr {display: none;}

/* アニメーション（@mediaの外に出して事故防止） */
@keyframes menu1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

/*コンテンツ（mainとsubを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	clear: both;overflow: hidden;
	padding: 3%;	/*ボックス内の余白*/
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: left;	/*左に回り込み*/
	width: 72%;		/*幅*/
}
/*１カラム利用時の設定*/
.c1 #main {
	float: none;
	width: auto;
}

/* 年間行事 PDF 表示用 */
#nenkan .pdf-frame {
  width: 100%;
  height: 1250px;
  margin: 0 0 20px;
}
#nenkan .pdf-frame embed {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/*h2タグの設定*/
#main h2 {
	clear: both;
	margin-bottom: 20px;	/*見出しの下にとるスペース*/
	font-size: 18px;	/*文字サイズ*/
	padding: 5px 20px;		/*上下、左右への余白*/
	background: #000;	/*背景色（古いブラウザ用）*/
	background: linear-gradient(#303030, #121212);			/*グラデーション*/
	box-shadow: 1px 2px 5px #ccc;	/*影の設定*/
	color: #FFF;		/*文字色*/
	border-radius: 4px;	/*角丸のサイズ*/
}
/*h2タグの１文字目の設定*/
#main h2::first-letter {
	border-left: 3px solid rgba(255,255,255,0.5);
	padding-left: 20px;
}

/* 問い合わせの表を幅いっぱいにする*/
#main table {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

/* 個人情報の取り扱い：スクロール枠 */
.privacy-scroll {
  max-height: 30em;        /* 約15行分（line-height:2 を想定） */
  overflow-y: auto;
  padding: 10px 15px;
  border: 1px solid #ccc;
  background: #f9f9f9;
}

/* 所属団体メニュー */
.dojo-menu {
  margin: 0 20px 20px;
  padding: 10px;
  background: linear-gradient(#FFF, #f7f7f7);
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0px 2px 5px #ccc;
}
.dojo-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dojo-menu li {
  margin: 0;
  padding: 0;
}
.dojo-menu a {
  display: block;
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 3px;
  border: 1px solid #d2d2d2;
  background: #f8f8f8;
  text-decoration: none;
}
.dojo-menu a:hover {
  background: #fff;
  border-color: #999;
  color: #000;
}

/*h3タグの設定*/
#main h3 {
	clear: both;
	margin-bottom: 20px;
	font-size: 18px;
	padding: 6px 20px;
	background: linear-gradient(#fff, #eee);
	border: 1px solid #ccc;
	border-radius: 4px;
}
/*段落タグ設定*/
#main p {
	padding: 0px 20px 15px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section+section {
	margin-top: 20px;
}

/*ボックス（list）設定
---------------------------------------------------------------------------*/
#main .list {
	position: relative;overflow: hidden;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	padding: 20px;
	background: linear-gradient(#FFF, #eee);
	box-shadow: 0px 2px 5px #ccc;
}
#main .list a {
	overflow: hidden;display: block;text-decoration: none;
	margin: -20px;
	padding: 20px;
	background: linear-gradient(#FFF, #eee);
}
#main .list a:hover {
	background: #fff;
}
#main .list a::before {
	content: "→";
	position: absolute;
	right: 20px;
	top: 20px;
	background: #999;
	background: rgba(0,0,0,0.5);
	color: #fff;
	border: 1px solid #fff;
	border-radius: 4px;
	width: 30px;
	line-height: 30px;
	text-align: center;
}
#main .list a:hover::before {
	background: #000;
}
#main .list .img {
	width: 30%;
	float: left;
	margin-right: 10px;
}
#main .list h4 {
	font-size: 18px;
	color: #000;
}
#main .list p {
	padding: 0;
}

/* 会長より：画像を左に回り込ませる */
#main section figure img {
  float: left;
  margin: 0 15px 10px 20px;
  width: 16%;
}

.pdficon a{
	font-size: 70%;	
	border:thin solid #ff0000;
    border-radius: 5px;
    color: #FFFFFF;
    background-color: #FF0000;
	line-height: 1.7;
	padding: 1px 4px;
	margin-left: 3px;
	vertical-align:text-top;
	text-decoration: none
}

.excelicon a{
    font-size: 70%;
    border: thin solid #018228;
    border-radius: 5px;
    color: #018228;
    background-color: #ffffff;
    line-height: 1.7;
    padding: 1px 4px;
    margin-left: 3px;
    vertical-align: text-top;
    font-weight: bolder;
	text-decoration: none
}

.wordicon a{
    font-size: 70%;
    border: thin solid #4169E1;
    border-radius: 5px;
    color: #4169E1;
    background-color: #ffffff;
    line-height: 1.7;
    padding: 1px 4px;
    margin-left: 3px;
    vertical-align: text-top;
    font-weight: bolder;
	text-decoration: none
}
/*subコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: right;
	width: 24%;
}
.c1 #sub {
	display: none;
}
#sub h2 {
	padding: 15px 10px;
	background: #eee;
	border-bottom: 1px solid #d2d2d2;
	border-top: 5px solid #000;
	font-weight: bold;
}
#sub .box {
	border: 1px solid #d2d2d2;
	padding: 10px;
	margin-bottom: 20px;
	background: linear-gradient(#fff, #eaeaea);
	box-shadow: 0px 0px 0px 1px #FFF inset;
}
iframe {width: 100%;}

/* Facebookページプラグインを親ブロックの幅いっぱいに広げる */
#sub .box .fb-page,
#sub .box .fb-page > span,
#sub .box .fb-page iframe,
#sub .box .fb_iframe_widget,
#sub .box .fb_iframe_widget > span,
#sub .box .fb_iframe_widget iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}
.fb-wrap { width: 100%; }
.fb-wrap * { box-sizing: border-box; }


/*subコンテンツ内のメニュー
---------------------------------------------------------------------------*/
#sub ul.submenu {
	margin-bottom: 20px;
}
#sub ul.submenu li a {
	text-decoration: none;display: block;
	padding: 5px 10px;
	border-bottom: 1px solid #d2d2d2;
}
#sub ul.submenu li a:hover {
	background: #fff;
}
#sub .box ul.submenu {
	margin-bottom:  0;
}

/*サブコンテンツ内の一覧ブロック
---------------------------------------------------------------------------*/
#sub .list {
	position: relative;overflow: hidden;
	font-size: 11px;
	line-height: 1.2;
}
#sub .list a {
	text-decoration: none;display: block;overflow: hidden;
	padding: 10px;
	border-bottom: 1px solid #d2d2d2;
}
#sub .list a:hover {
	background: #fff;
}
#sub .list h4 {
	color: #000;
}
#sub .list figure img {
	float: left;
	width: 20%;
	margin-right: 5px;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;
	padding: 10px 0;
	background: #000;
	color: #fff;
}
footer a {
	text-decoration: none;
	color: #fff;
}
footer .pr {
	display: block;
	font-size: 80%;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
#new dl {
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 20px;
	max-height: 20em;
	overflow-y: auto;
}
#new.no-scroll dl {
  max-height: none;
  overflow-y: visible;
}
#new dt {
	float: left;
	width: 9em;
	color: #000;
	letter-spacing: 0.1em;
}
#new dd {
	padding-left: 9em;
	border-bottom: 1px solid #ccc;
}

/*「所属一覧」ブロック
---------------------------------------------------------------------------*/
#shozoku dl {
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 20px;
	max-height: none;
}
#shozoku dt {
	float: left;
	width: 9em;
	color: #000;
	letter-spacing: 0.1em;
}
#shozoku dd {
	padding-left: 9em;
}

/* 所属団体：写真ギャラリー（横並び + 自動調整） */
#shozoku .dojo-photos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px auto;
  padding-left: 0 !important;
}
#shozoku dd.dojo-photos {
  padding-left: 0 !important;
}
#shozoku .dojo-photos figure {
  margin: 0;
  flex: 1 1 48%;
}
#shozoku .dojo-photos img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/*「大会」ブロック
---------------------------------------------------------------------------*/
#taikai dl {
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 20px;
	max-height: none;
}
#taikai dt {
	float: left;
	width: 9em;
	color: #000;
	letter-spacing: 0.1em;
}
#taikai dd {
	padding-left: 9em;
}

/*よく頂く質問ページ
---------------------------------------------------------------------------*/
.faq {
	padding: 0px 20px;
}
.faq dt {
	color: #000;
	padding-top: 15px;
}
.faq dt a {
	color: #000;
}
.faq dd {
	border-bottom: 1px solid #ccc;
	overflow: hidden;
	padding-bottom: 15px;
}

/*テーブル（ta1）
---------------------------------------------------------------------------*/
.ta1 {
	width: 100%;
	margin: 0 auto 20px;
}
.ta1, .ta1 td, .ta1 th {
	border: 1px solid #ccc;
	padding: 10px 15px;
	word-break: break-all;
}
.ta1 th.tamidashi {
	width: auto;
	text-align: left;
}
.ta1 th {
	width: 140px;
	text-align: center;
	font-weight: normal;
}
.ta1 th img {
	width: 100%;
}

/*inputボタン
---------------------------------------------------------------------------*/
#main input[type="submit"].btn,
#main input[type="button"].btn,
#main input[type="reset"].btn {
	padding: 5px 10px;
	border: 1px solid #ccc;
	font-size: 15px;
	border-radius: 3px;
	background: linear-gradient(#fff, #eee);
}
#main input[type="submit"].btn:hover,
#main input[type="button"].btn:hover,
#main input[type="reset"].btn:hover {
	border: 1px solid #999;
	background: #fff;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #ccc;color: #333;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb30 {margin-bottom: 30px !important;}
.p0 {padding:0 !important;}
.clear {clear: both;}
ul.disc {padding: 0em 25px 15px;list-style: disc;}
.color1, .color1 a {color: #F00;}
.bg1 {background: #f6f5f2;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
img.fr {float: right;margin-left: 10px;margin-bottom: 10px;}
img.fl {float: left;margin-right: 10px;margin-bottom: 10px;}
.big1 {font-size: 20px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}


/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){

	/*コンテンツ（mainとsubを囲むブロック）*/
	#contents {
		padding: 0 3%;
	}

	/* スマホでは写真を縦並びに */
	#shozoku .dojo-photos {
		display: block;
		margin: 15px 0;
	}
	#shozoku .dojo-photos figure {
		margin-bottom: 10px;
		width: 100%;
	}

	/* 年間行事PDF */
	#nenkan .pdf-frame {
		margin: 0 0 15px;
		height: 520px;
	}

	/* ★ table レイアウトを強制的に復活させる */
	#main table {
		display: table;
		width: 100%;
		table-layout: fixed;
	}
	#main tr { display: table-row; }
	#main th,
	#main td {
		display: table-cell;
		vertical-align: middle;
	}

	#main input[type="text"],
	#main textarea {
		width: 100%;
		box-sizing: border-box;
	}

	/* 年齢だけ幅を小さくする（スマホ） */
	#main input[name="年齢"]{
		width: 4em !important;
		display: inline-block;
	}

	/* PC用メニューを非表示にする */
	#menubar { display: none; }

	/* スマホ用メニューブロック */
	#menubar-s {
		display: block;
		overflow: hidden;
		position: absolute;
		top: 105px;
		border-top: 1px solid #fff;
		width: 100%;
		z-index: 10;
		animation-name: menu1;
		animation-duration: 0.5s;
		animation-fill-mode: both;
	}
	#menubar-s li a {
		display: block;
		text-decoration: none;
		padding: 15px 10px 15px 20px;
		border-bottom: 1px solid #fff;
		background: rgba(0,0,0,0.8);
		color: #fff;
		font-size: 20px;
	}
	#menubar-s li a span {
		display: block;
		font-size: 12px;
	}

	/* ３本バーアイコン */
	#menubar_hdr {
		display: block;
		position: absolute;
		top: 28px;
		right: 3%;
		border: 1px solid #000;
	}
	#menubar_hdr.close,
	#menubar_hdr.open {
		width: 50px;
		height: 50px;
	}
	#menubar_hdr.close {
		background: #fff url(../images/icon_menu.png) no-repeat center top/50px;
	}
	#menubar_hdr.open {
		background: #fff url(../images/icon_menu.png) no-repeat center bottom/50px;
	}

	/* main,subを1カラム化 */
	#main, #sub {
		float: none;
		width: auto;
	}

	/* 協賛者ボタン位置（スマホ時） */
	header {
		height: auto;
		overflow: visible;
	}
	#headermenu {
		top: 28px;
		right: 70px;
	}
	#headermenu li a {
		font-size: 11px;
		padding: 3px 10px;
	}

	/* その他 */
	body.s-n #sub,body.s-n #footermenu,.m-n {display: none;}
}


/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

	/*ロゴ画像*/
	header #logo img {
		width: 200px;
		margin-top: 40px;
	}

	/*全体*/
	body {
		font-size: 12px;
		line-height: 1.5;
	}

	/*見出し*/
	#main h2, #main h3 {
		font-size: 14px;
		padding-left: 10px;
		padding-right: 10px;
	}
	#main h2::first-letter {
		padding-left: 8px;
	}
	#main p {
		padding: 0px 10px 15px;
	}

	/*ボックス内のh4*/
	#main .list h4 {
		font-size: 14px;
	}

	/*更新情報*/
	#new dl {
		padding-left: 10px;
		padding-right: 10px;
		overflow-y: auto;
	}

	/*所属一覧*/
	#shozoku dl {
		padding-left: 10px;
		padding-right: 10px;
	}

	/*ta1*/
	.ta1, .ta1 td, .ta1 th {
		padding: 5px;
	}
	.ta1 th {
		width: 100px;
	}

	/*その他*/
	.ws,.wl {width: 94%;}
	.big1 {font-size: 16px;}
	img.fr,img.fl {float: none;margin: 0;width: 100%;}
	.sh {display:block;}
	.pc {display:none;}

	/* 所属団体メニュー：スマホでは縦並び */
	.dojo-menu {
		margin: 0 10px 15px;
	}
	.dojo-menu ul {
		display: block;
	}
	.dojo-menu li + li {
		margin-top: 5px;
	}
	.dojo-menu a {
		width: 100%;
		text-align: center;
		font-size: 12px;
	}
}
