html, body {
  overflow-x: hidden;
}

.backg_top{
	background: #ffffff;
}
.backg_menu{
	background: #F0F6F6;
}
.backg_pg1 {
	background: #F0F6F6;
}
footer { 
	background: linear-gradient(0deg ,#0C52A4 0px, #0C52A4 50px, #F0F6F6 50px, #F0F6F6 110px );
	height: 110px;
	position: relative;
}



a:link {
	color: #111;
	text-decoration: none;
}
   
a:visited {
	color: #111;
	text-decoration: none;
}

.backg_pg1 a:link {
	color: #111;
	text-decoration: underline;
}
   
.backg_pg1 a:visited {
	color: #111;
	text-decoration: underline;
 }


.img_m, .img_mpc{
	border: solid 1px;
	margin-top: 5px; margin-left:54px; margin-bottom:30px;
	cursor: pointer;
}
.img_ol{
	border: solid 1px;
	margin-top: 5px; margin-left:0px; margin-bottom:30px;
	cursor: pointer;
}

.img_ol2{
	border: solid 1px;
	margin-top: 5px; margin-left:20px; margin-bottom:30px;
	cursor: pointer;
}

.img_c{
	border: solid 1px;
	margin-top: 5px; margin-left:80px; margin-bottom:30px;
	cursor: pointer;
}
.img_c2{
	border: solid 1px;
	margin-top: 5px; margin-left:40px; margin-bottom:30px;
	cursor: pointer;
}


/*検索*/
#search{
	border-top-left-radius:24px;
	border-top-right-radius:24px;
	border-bottom-left-radius:24px;
	border-bottom-right-radius:24px;
	width:70%; height:50px;
	border: none;
	box-shadow: inset 2px 2px 4px gray;
	margin-top: 16px; margin-left:60px; margin-bottom:24px;
	font-size: 24px;
	padding-left: 30px;
}
/*manual_top*/
#kakoi{
	margin-left:60px; margin-bottom:20px;
}
/*manual_top　4カテゴリ*/
.t_mj{
	text-align:center
}


/*ページ内 table*/
table.kakoi_s {
	margin-left:60px;
}
.kakoi_s tr td{
	border: solid 1px;
}
.kakoi_s td{
	padding: 5px 10px;
}

/*各ページタイトル文字*/
.moji_k h1{
	font-size: clamp(1.5rem, 4vw, 2.8rem);
	font-weight:normal;
	font-family:"Yu Gothic UI";
	color:#f0f0f0 ;
	background: #0C52A4;
	margin: 0;
	padding-top: clamp(20px, 20vw, 200px);
	padding-left: clamp(8px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 20px);
	padding-bottom: 24px;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	box-sizing: border-box;
}
.moji_k p{
	font-size:52px;
	font-weight:lighter;
	font-family:"Yu Gothic UI";
	margin-top: 0px; margin-left:60px; margin-bottom:20px;
	color:#FFF ;
}
/*トップページの画像高さ*/
.topimg{
	height:400px;
	border:0;
}

/*各ページサブタイトル文字*/
.moji_k2 p{
	font-size: clamp(1.2rem, 4vw, 1.5rem);
	font-weight:normal;
	font-family:"monospace";
	letter-spacing: 5px;
	padding-top: 0px;
	padding-left: clamp(8px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 0px;
	color:#111 ;
}

/*各ページサブタイトル文字*/
.moji_k3 p{
	font-size:clamp(1.2rem, 4vw, 1.5rem);
	font-weight:normal;
	font-family:"monospace";
	padding-left: clamp(8px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 8px);
	color:#111 ;
}

/*manual_top文字、各ページのツリー情報*/
.moji_s{
	font-size: 1rem;
	font-weight: 300;
	padding-top: 12px;
	padding-left: clamp(8px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 12px;
	color:#111 ;
	background: #ffffff;
	overflow-wrap: break-word;
}
/*manual_top文字、はじめての方*/
.moji_s2{
	font-size:1.3em;
	font-weight:300;
	padding-top: 8px;
	padding-left: clamp(8px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 8px;
	color:#111 ;
	background: #F0F6F6;
	letter-spacing: 5px;
}
/*各説明ページ 本文*/
.moji_s3{
	font-size:1.1rem;
	font-weight:300;
	padding-top: 0px;
	padding-left: clamp(8px, 4vw, 50px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 0px;
	line-height: 1.8;
	color:#111 ;
}

/*各説明ページ　画像番号付き時の文　*/
.moji_s4{
	font-size:1rem;
	font-weight:300;
	margin-left: 16px;
	padding-top: 0px;
	padding-left: clamp(16px, 6vw, 60px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 20px;
	line-height: 1.8;
	color:#111 ;
}
/*各説明ページ　ul,ol時の文　*/
.moji_s5{
	font-size:1.1rem;
	font-weight:300;
	margin-top: 0px; margin-left:0px;
	color:#111 ;
}

/*対象ファイル拡張子一覧　*/
.moji_s6{
	font-size:1rem;
	font-weight:300;
	padding-top: 0px;
	padding-left: clamp(24px, 4vw, 50px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 20px;
	color:#111 ;
}

/*各説明ページ*/
.moji_ss{
	font-size:0.9rem;
	margin-left: 8px;
	padding-top: 20px;  
	padding-left: clamp(8px, 4vw, 32px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 20px;
	line-height: 1.8;
	color:#111;
	background:#E0E6E6;
	margin: 0px 20px 20px 32px;
}
/*各説明ページ　ul,ol時の文　*/
.moji_ssol{
	font-size:0.9rem;
	color:#111;
	background:#E0E6E6;
	padding-top: 20px;  
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 20px;
}

/*各説明ページ　（１）画像番号付き時*/
.moji_c{
	font-size:1.08rem;
	font-weight:300;
	padding-top: 0px;
	margin-left: clamp(8px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 20px;
	color:#111 ;
	
}
/*manual_top文字*/
.moji_a{
	font-size:20px;
	font-weight:lighter;
	margin-top: 5px; 
	color:#111 ;
	letter-spacing: 5px;
}

/*manual_top文字ボタン*/
.moji_b{
	font-size:clamp(1.2rem, 3vw, 1.5rem);
	font-weight:300;
	padding-top: 15px;
	padding-left: 0px;
	margin-left: clamp(8px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 12px;
	margin-bottom: 48px;
	color:#111 ;
	letter-spacing: 5px;
	border-left:6px solid #555;
	padding:10px 20px;
}
/*web setのtop分割用 250417*/
.top_sec {
    margin-top: 5px;
    padding: 0px;
	padding-bottom: 12px;
}
/*web setのtop分割用 250417*/
.top_sec2 {
    list-style: none;
	padding-top: 0px;
	margin-left: clamp(12px, 4vw, 48px);
	padding-right: clamp(8px, 4vw, 8px);
	padding-bottom: 20px;
}
/*web setのtop分割用 250417*/
.top_sec2 li {
    font-size:1.1rem;
    font-weight:300;
    margin-bottom: 20px;
    color:#111 ;
    letter-spacing: 4px;
}
/*web setのtop分割用 250417*/
.top_sec2 li:first-child {
    margin-top: 30px;
}

/*footerのcopyright文字*/
.moji_ft{
	font-size:0.8rem;
	font-weight:lighter;
	margin-top: 0px; margin-left:60px;
	margin-left: clamp(16px, 4vw, 48px);
	color:#eee ;
	position: absolute;
	bottom: 10px;
}

/*検索のハイライト*/
.search_highlight {    
	background-color:paleturquoise;
	color:#111 ;
}

/*検索結果のタイトル*/
.search_title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
    text-decoration: underline;
    background-color: #eaf6fd; /* 背景色を指定 */
    display: block; /* 横幅いっぱいに適用するためにブロック要素に */
    padding: 10px 0; /* 上下のパディングで視覚的な余白を追加 */
	padding-left: 8px; padding-right: 8px;
    width: 100%; /* 横幅を親要素いっぱいに */
    box-sizing: border-box; /* パディングやボーダーを含むボックスサイズに */
}

/*検索結果の本文*/
.search_content {
	font-size:1rem;
	font-weight:300;
	margin-top: 0px; margin-left:15px; margin-bottom:80px;
	color:#111 ;
}
		
/*検索結果の背景*/
.backg_search {
	background: #ffffff;
}

/*タグ表示*/
.tags{
	font-size:0.9rem;
	font-weight:normal;
	margin-top: 0px; 
	margin-left: clamp(8px, 4vw, 48px);
	color:#eee ;
	position: absolute;
	bottom: 64px;
}
.tag {
	display: inline-block;              /* 行内に並べる */
	padding: 6px 18px;                  /* 文字まわりの余白 */
	border: 2px solid #4A90E2;          /* 枠線の色/太さ */
	border-radius: 8px;                 /* 角の丸み、四角がいいなら0 */
	background: #fff;                   /* 背景色 */
	color: #222;
	text-decoration: none;
	font-size: 1em;
	transition: background 0.2s, color 0.2s;
}
.tag:hover {
	background: #4A90E2;
	color: #fff;
}

/* モーダルの背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* 拡大画像 */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}