@charset "Shift_JIS";

/*--------------------------------------------------------
  フルCSSプロフェッショナルテンプレート部品設定
--------------------------------------------------------*/

.hpb-parts-cnt-style{
    border-color: #9c87b6 !important;
}

.hpb-parts-hl-style{
    border-color: #9c87b6 !important;
	clear: both;
	background-image: none !important;
	padding: 5px !important;
	margin-bottom: 5px !important;
	font-size: 1em !important;
}

.hpb-parts-cbox-style{
    border-color: #9c87b6 !important;
}

.hpb-parts-hr-style{
    border-color: #9c87b6 !important;
}

.hpb-parts-pbox-style{
    background-color: #f3f3f3;
    border-color: #9c87b6 !important;
}
.hpb-parts-pbox-style h4{
    padding: 0px !important;
}
.hpb-parts-pbox-style img{
    background-color: #f3f3f3;
}

.hpb-parts-blist-style{
    background-color: #f3f3f3;
    border-color: #9c87b6 !important;
}
a.hpb-parts-blist-style:link {

}
a.hpb-parts-blist-style:visited {

}
a:hover.hpb-parts-blist-style{
    color: #5c4aa1;
}
a:active.hpb-parts-blist-style{
    color: #5c4aa1;
}

/*--------------------------------------------------------
  hpbparts
--------------------------------------------------------*/
/* 飾りなし 幅自動 */
.hpb-parts-cnt-01{
    margin-bottom: 5px;
	margin-right: 10px;
    padding: 5px;
}

/* 飾りなし 幅60px */
.hpb-parts-cnt-01-060{
    margin-bottom: 5px;
    padding: 5px;
}

/* 飾りなし 幅120px */
.hpb-parts-cnt-01-120{
    margin-bottom: 5px;
    padding: 5px;
}

/* 飾りなし 幅180px */
.hpb-parts-cnt-01-180{
    margin-bottom: 5px;
    padding: 5px;
}

/* 飾りなし 幅240px */
.hpb-parts-cnt-01-240{
    margin-bottom: 5px;
    padding: 5px;
}

/* 飾りなし 幅360px */
.hpb-parts-cnt-01-360{
    margin-bottom: 5px;
    padding: 5px;
}

/* 線囲み 幅自動 */
.hpb-parts-cnt-02{
    margin-bottom: 5px;
    padding: 5px;
}

/* 線囲み 幅60px */
.hpb-parts-cnt-02-060{
    margin-bottom: 5px;
    padding: 5px;
}

/* 線囲み 幅120px */
.hpb-parts-cnt-02-120{
    margin-bottom: 5px;
    padding: 5px;
}

/* 線囲み 幅180px */
.hpb-parts-cnt-02-180{
    margin-bottom: 5px;
    padding: 5px;
}

/* 線囲み 幅240px */
.hpb-parts-cnt-02-240{
    margin-bottom: 5px;
    padding: 5px;
}

/* 線囲み 幅360px */
.hpb-parts-cnt-02-360{
    margin-bottom: 5px;
    padding: 5px;
}

/******************************
 * 見出し (h1-h6)
 ******************************/

/* 飾りなし */
.hpb-parts-hl-01 {
}

/* 下線 1 */
.hpb-parts-hl-02 {
}

/* 下線 2 (2重線) */
.hpb-parts-hl-03 {
}

/* 線囲み 1 */
.hpb-parts-hl-04 {
   
}

/* 線囲み 2 (2重線) */
.hpb-parts-hl-05 {

}

/* 飾りつき 1 (左■付き) */
.hpb-parts-hl-06{
    padding-left: 0.5em !important;
	padding-top: 4px !important;
    border-left-width: 0.5em !important;
	background-image: none !important;
}

/* 飾りつき 2 (左■付き＆下線) */
.hpb-parts-hl-07{
    padding-left: 0.5em !important;
	padding-top: 4px !important;
    border-left-width: 0.5em !important;
	border-left-color: #9c87b6 !important;
	border-bottom-width: 1px !important;
	border-bottom-color: #ccc !important;
	border-bottom-style: dotted !important;
	background-image: none !important;
}

/* 飾りつき 3 (左■付き＆線囲み) */
.hpb-parts-hl-08{
	padding-top: 4px !important;
	padding-left: 0.5em !important;
    border-left-width: 0.5em !important;
	border-left-color: #9c87b6 !important;
	border-top-width: 1px !important;
	border-top-color: #ccc !important;
	border-top-style: dotted !important;
	border-bottom-width: 1px !important;
	border-bottom-color: #ccc !important;
	border-bottom-style: dotted !important;
	border-right-width: 1px !important;
	border-right-color: #ccc;
	background-image: none !important;
}

/******************************
 * 文章枠 (div)
 ******************************/

/* 装飾なし */
.hpb-parts-cbox-01{
    margin-bottom: 5px;
}

/* 線囲み 1 (実線) */
.hpb-parts-cbox-02{
    margin-bottom: 5px;
}

/* 線囲み 2 (点線) */
.hpb-parts-cbox-03{
    margin-bottom: 5px;
}

/* 線囲み 3 (2重線) */
.hpb-parts-cbox-04{
	margin-bottom: 5px;
}

/******************************
 * 写真/画像 (img)
 ******************************/

/* 余白なし */
.hpb-parts-img-01 {
}

/* 余白あり */
.hpb-parts-img-02 {
}

/* 写真ボックス 左寄せ配置用 */
.hpb-parts-img-03 {
}

/* 写真ボックス 右寄せ配置用 */
.hpb-parts-img-04 {
}

/* 複数写真ボックス 左端用 */
.hpb-parts-img-05 {
}

/* 複数写真ボックス 2列目用 */
.hpb-parts-img-06 {
}

/* 複数写真ボックス 左端・2行目用 */
.hpb-parts-img-07 {
}

/* 複数写真ボックス 2行目用 */
.hpb-parts-img-08 {
}

/******************************
 * 水平線 (hr)
 ******************************/

/* 水平線 1 (実線・細) */
.hpb-parts-hr-01 {
}

/* 水平線 2 (実線・太) */
.hpb-parts-hr-02 {
}

/* 水平線 3 (点線・細) */
.hpb-parts-hr-03 {
}

/* 水平線 4 (点線・太) */
.hpb-parts-hr-04 {
}

/* 水平線 5 (破線・細) */
.hpb-parts-hr-05 {
}

/* 水平線 6 (破線・太) */
.hpb-parts-hr-06 {
}

/* 水平線 7 (2重線) */
.hpb-parts-hr-07 {
}

/******************************
 * 写真ボックス (div)
 ******************************/

/* 飾りなし */
.hpb-parts-pbox-01 {
}

.hpb-parts-pbox-01 h4{
	margin-bottom: 0.5em;
}

/* 飾りなし 画像幅60px */
.hpb-parts-pbox-01-060 {
}

/* 飾りなし 画像幅120px */
.hpb-parts-pbox-01-120 {
}

/* 飾りなし 画像幅180px */
.hpb-parts-pbox-01-180 {
}

/* 飾りなし 画像幅240px */
.hpb-parts-pbox-01-240 {
}

/* 線囲み */
.hpb-parts-pbox-02 {
}

.hpb-parts-pbox-02 h4{
	margin-bottom: 0.5em;
}

/* 線囲み 画像幅60px */
.hpb-parts-pbox-02-060 {
}

/* 線囲み 画像幅120px */
.hpb-parts-pbox-02-120 {
}

/* 線囲み 画像幅180px */
.hpb-parts-pbox-02-180 {
}

/* 線囲み 画像幅240px */
.hpb-parts-pbox-02-240 {
}

/* 写真ボックス用 文章領域 */
.hpb-parts-pbox-desc {
}

.hpb-parts-pbox-desc h4{
	margin-bottom: 0.5em;
}

/******************************
 * 複数写真ボックス (div)
 ******************************/

/* 飾りなし 画像幅60px 横2x縦1 */
.hpb-parts-mpbox-01-2060 {
}

/* 飾りなし 画像幅60px 横3x縦1 */
.hpb-parts-mpbox-01-3060 {
}

/* 飾りなし 画像幅60px 横4x縦1 */
.hpb-parts-mpbox-01-4060 {
}

/* 飾りなし 画像幅120px 横2x縦1 */
.hpb-parts-mpbox-01-2120 {
}

/* 飾りなし 画像幅120px 横3x縦1 */
.hpb-parts-mpbox-01-3120 {
}

/* 飾りなし 画像幅120px 横4x縦1 */
.hpb-parts-mpbox-01-4120 {
}

/* 飾りなし 画像幅180px 横2x縦1 */
.hpb-parts-mpbox-01-2180 {
}

/* 飾りなし 画像幅180px 横3x縦1 */
.hpb-parts-mpbox-01-3180 {
}

/* 飾りなし 画像幅180px 横4x縦1 */
.hpb-parts-mpbox-01-4180 {
}

/* 飾りなし 画像幅240px 横2x縦1 */
.hpb-parts-mpbox-01-2240 {
}

/* 飾りなし 画像幅240px 横3x縦1 */
.hpb-parts-mpbox-01-3240 {
}

/* 飾りなし 画像幅240px 横4x縦1 */
.hpb-parts-mpbox-01-4240 {
}

/* 線囲み 画像幅60px 横2x縦1 */
.hpb-parts-mpbox-02-2060 {
}

/* 線囲み 画像幅60px 横3x縦1 */
.hpb-parts-mpbox-02-3060 {
}

/* 線囲み 画像幅60px 横4x縦1 */
.hpb-parts-mpbox-02-4060 {
}

/* 線囲み 画像幅120px 横2x縦1 */
.hpb-parts-mpbox-02-2120 {
}

/* 線囲み 画像幅120px 横3x縦1 */
.hpb-parts-mpbox-02-3120 {
}

/* 線囲み 画像幅120px 横4x縦1 */
.hpb-parts-mpbox-02-4120 {
}

/* 線囲み 画像幅180px 横2x縦1 */
.hpb-parts-mpbox-02-2180 {
}

/* 線囲み 画像幅180px 横3x縦1 */
.hpb-parts-mpbox-02-3180 {
}

/* 線囲み 画像幅180px 横4x縦1 */
.hpb-parts-mpbox-02-4180 {
}

/* 線囲み 画像幅240px 横2x縦1 */
.hpb-parts-mpbox-02-2240 {
}

/* 線囲み 画像幅240px 横3x縦1 */
.hpb-parts-mpbox-02-3240 {
}

/* 線囲み 画像幅240px 横4x縦1 */
.hpb-parts-mpbox-02-4240 {
}

/******************************
 * バナーリスト
 ******************************/

/* 文字型 1 */
.hpb-parts-blist-01{
	clear: both;
}
.hpb-parts-blist-01 ul{
	margin-bottom: 5px;
}
.hpb-parts-blist-01 li{
	border-bottom: none !important;
	padding: 2px !important;
	padding-left: 0 !important;
	background-image: none !important;	
}
.hpb-parts-blist-01 li a{
     padding: 7px !important;
}

/* 文字型 2 */
.hpb-parts-blist-02{
	clear: both;
}
.hpb-parts-blist-02 ul{
	margin-bottom: 5px;
}
.hpb-parts-blist-02 li{
	border-bottom: none !important;
	padding: 2px !important;
	padding-left: 0 !important;
	background-image: none !important;	
}
.hpb-parts-blist-02 li a{
	border-style: dotted;
}

/* 文字型 3 */
.hpb-parts-blist-03{
	 
	clear: both;
}
.hpb-parts-blist-03 ul{
	margin-bottom: 5px;
}
.hpb-parts-blist-03 li{
    border-bottom: none !important;
	padding: 2px !important;
	padding-left: 0 !important;
	background-image: none !important;	
}
.hpb-parts-blist-03 li a{
    border-left-width: 1em;
    border-right-width: 1em;
    border-right-style: solid;
    border-top-style: dotted;
    border-bottom-style: dotted;
}

/* 画像付き 1 */
.hpb-parts-blist-04 {
}
.hpb-parts-blist-04 ul{
    margin-bottom: 5px;
}
.hpb-parts-blist-04 li{
	border-bottom: none !important;
	padding: 2px !important;
	padding-left: 0 !important;
	background-image: none !important;
}
.hpb-parts-blist-04 li a {
}
.hpb-parts-blist-04 li a img {
}

/* 画像付き 2 */
.hpb-parts-blist-05 {
}
.hpb-parts-blist-05 ul {
}
.hpb-parts-blist-05 li{
    border-bottom: none !important;
	padding: 2px !important;
	padding-left: 0 !important;
	background-image: none !important;	
}
.hpb-parts-blist-05 li a{
    border-style: dotted;
}
.hpb-parts-blist-05 li a img {
}


/* ここからはちひろがいじったとこ */
/* ===== 協賛ページの体裁 ===== */
#hpb-title .lead{
  font-size: 15px;
  line-height: 1.9;
  color: #222;
  margin-bottom: 2rem;
}
#hpb-title .lead p{
	margin: 0 0 1rem;
}
#hpb-title h3{
	margin-top: 1.5rem; font-size: 18px;
}

#hpb-title .bullet{
  margin: .5rem 0 1rem 1.2em;
  padding: 0;
}
#hpb-title .bullet li{
	list-style: disc; margin: .3rem 0;
}

/* 見出しのビジュアル整形（任意） */
#hpb-title h2{
  margin: 1.5rem 0 .75rem;
  padding-bottom: .25rem;
  border-bottom: 2px solid #eee;
}

/* 協賛グリッド */
#access .sponsor-grid{
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}
#access .sponsor-grid li{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* 横幅に応じてカラム増加 */
@media (min-width: 480px){
  #access .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px){
  #access .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px){
  #access .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 注意書き */
#access .note{
  margin-top: 1rem;
  font-size: 12px;
  color: #666;
}

/* ヘッダー/フッター 文字の視認性（任意） */
#hpb-headerLogo a{
	text-decoration: none;
}
#hpb-footerMain p{
  margin: 0;
  padding: .75rem 0;
  font-size: 12px;
  color: #888;
  text-align: center;
}

/* ナビのli閉じタグ漏れ対策で崩れた場合に備え（保険） */
#hpb-nav ul{
	list-style: none; padding-left: 0;
}
#hpb-nav li{
	margin-bottom: .25rem;
}
#hpb-nav a{
	text-decoration: none;
}

/* ===== 協賛：段階表示 ===== */
#access{
	margin-top: 1rem;
}

/* 見出し */
#access .tier-title{
  margin: 1.25rem 0 .5rem;
  font-size: 18px;
  line-height: 1.4;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f5f7;
  color: #333;
  border: 1px solid #e6eaee;
}

/* ベースのグリッド / カード */
#access .sponsor-grid{
  list-style: none;
  margin: .75rem 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}
#access .sponsor-grid li{
  background: #fff;
  border: 1px solid #eaecef;
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* 画面幅に応じた列数（下位ほど多カラム） */
@media (min-width: 480px){
  #access .tier-6 .sponsor-grid,
  #access .tier-7 .sponsor-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 768px){
  #access .tier-5 .sponsor-grid { grid-template-columns: repeat(3,1fr); }
  #access .tier-6 .sponsor-grid,
  #access .tier-7 .sponsor-grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 1024px){
  #access .tier-5 .sponsor-grid { grid-template-columns: repeat(4,1fr); }
  #access .tier-6 .sponsor-grid { grid-template-columns: repeat(4,1fr); }
  #access .tier-7 .sponsor-grid { grid-template-columns: repeat(4,1fr); }
}

/* 上位ほど“目立つ”調整 */
/* tier-1：特別大きく、帯あり、1〜2カラムでドン */
#access .tier-1 .tier-title{
  background: linear-gradient(90deg,#fff7d6,#fff);
  border-color: #f2d675;
}
#access .tier-1 .sponsor-grid { gap: 12px; }
#access .tier-1 .sponsor-grid li{
  border-width: 2px;
  border-color: #f2d675;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 16px;
}
@media (min-width: 480px){
  #access .tier-1 .sponsor-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 768px){
  #access .tier-1 .sponsor-grid { grid-template-columns: repeat(2,1fr); }
}

/* tier-2：太枠＆フォントやや大きめ */
#access .tier-2 .tier-title{
  background: linear-gradient(90deg,#eef7ff,#fff);
  border-color: #a7c8f2;
}
#access .tier-2 .sponsor-grid li{
  border-width: 2px;
  border-color: #a7c8f2;
  font-weight: 600;
  font-size: 16px;
}
@media (min-width: 768px){
  #access .tier-2 .sponsor-grid { grid-template-columns: repeat(2,1fr); }
}

/* tier-3：アクセント枠 */
#access .tier-3 .tier-title{
  background: #f7fbff;
  border-color: #c9def7;
}
#access .tier-3 .sponsor-grid li{
  border-color: #c9def7;
  font-weight: 600;
}

/* tier-4：軽めのアクセント */
#access .tier-4 .tier-title{
  background: #f8f9fb;
  border-color: #e2e8f0;
}
#access .tier-4 .sponsor-grid li{
  border-color: #e2e8f0;
}

/* tier-5：標準カード（列数多めで数を見せる） */
#access .tier-5 .tier-title { opacity: .95; }

/* tier-6,7：軽量表示 */
#access .tier-6 .sponsor-grid li,
#access .tier-7 .sponsor-grid li{
  background: #fcfdff;
}

/* 備考 */
#access .note{
  margin-top: .5rem;
  font-size: 12px;
  color: #666;
}

/* 見出しラベルは出さない */
#access .tier-title{
	display: none;
}

/* セクション間の余白と薄い区切り（控えめ） */
#access .sponsor-tier{
	margin-top: 1.25rem;
}
#access .sponsor-tier:not(:first-child){
  border-top: 1px dashed #e6eaee;
  padding-top: 1rem;
}

<style>
/* 画像をデフォルトで表示する */
.thumbnail {
  max-width: 100%;
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 4px;
}

/* モーダルの背景 */
.modal{
  display: none; /* 最初は非表示 */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* モーダル内の画像 */
.modal-content{
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

/* 閉じるボタン */
.close{
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
</style>

/*リンクの色いじる*/
/* 共通リンクスタイル */
a {
  color: #0066cc;           /* 通常時の文字色 */
  text-decoration: underline; /* 下線をつけてリンク感を出す */
}

/* ホバーしたとき */
a:hover{
  color: #ff6600;           /* ホバー時はオレンジに */
  background-color: #f0f0f0; /* 背景に薄いグレーをつけてボタン風に */
  text-decoration: none;    /* 下線は消す */
}

/* 画像リンクの場合 */
a img{
  border: 2px solid transparent; /* 通常時は枠なし */
  border-radius: 4px;
  transition: border 0.2s;
}

a:hover img{
  border: 2px solid #ff6600; /* ホバー時に枠色が変わる */
}
/* デフォルトで色付き＆下線あり */
a{
  color: #0066cc;          /* 濃いめの青 */
  text-decoration: underline;
  font-weight: bold;       /* 太字にするとさらに目立つ（お好みで） */
}

/* ホバーしたときに強調 */
a:hover{
  color: #ff6600;          /* オレンジに変化 */
  background-color: #f5f5f5; /* 背景薄グレーでボタンっぽく */
  text-decoration: none;   /* 下線は消す（スッキリ） */
}
*/リンクの色いじった*/
<!-- </head> の直前か、user.css に追記 -->
<style>
/* 画像（サムネイル）?横幅に合わせて拡大縮小、中央寄せ */
.thumbnail{
  display:block;
  max-width: min(100%, 1000px); /* ページ幅内で最大1000pxまで。必要なら数値を調整 */
  width: 100%;
  height: auto;                 /* アスペクト比維持して縮む */
  margin: 8px auto;             /* 中央寄せ */
}

/* サムネイルの高さを揃えたい派（任意）
   コメントアウトを外すと“同じ高さの枠に収める”に変わります
.thumbnail{
  display:block;
  width: min(100%, 1000px);
  height: clamp(200px, 40vw, 520px);  // 画面幅に応じて高さ可変
  object-fit: contain;                // 画像全体を見せる
  background:#f5f5f5;                 // 余白色（好みで）
  margin: 8px auto;
}
*/

/* モーダルの基本 */
.modal{
  display:none;               /* jQueryで .show() / .hide() */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 10000;
  cursor: zoom-out;
}

/* 閉じるボタン（×） */
.modal .close{
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* モーダル内の画像?画面に収める・中央表示 */
.modal-content{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  max-width: 92vw;   /* 画面幅の92%まで */
  max-height: 92vh;  /* 画面高の92%まで */
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: #000;
}

/* モーダル表示中は背面のスクロールを止める */
body.no-scroll{
  overflow: hidden;
}
</style>

/* 画像サムネイル：スマホは幅いっぱい、PCは幅に上限 */
#hpb-main img.thumbnail{
  display:block;
  width: 100% !important;       /* 親幅に合わせる */
  height: auto !important;      /* アスペクト維持 */
  max-width: 820px !important;  /* ←PCでの最大幅（好みで調整 720~1000px） */
  margin: 8px auto;             /* 中央寄せ */
}

/* PC以上のときは少し小さめにしたい場合の例（任意） */
@media (min-width: 1024px){
  #hpb-main img.thumbnail{
    max-width: 760px !important; /* ここを変えればPC時の見た目が決まる */
  }
}
/*ここまでちひろがいじったとこ　*/

/*--------------------------------------------------------
  ユーザー設定スタイル
--------------------------------------------------------*/