@charset "utf-8";
/*iPhone用の設定*/
@media screen and (max-width: 600px){
    background-color:#cccccc;	/*ページ全体の背景色*/
	background-image:url("images/bg_body.png");	/*ウェブページ全体の背景画像*/
	font-size: 95%;		フォントサイズを95%にする */
	font-family: "ＭＳ ゴシック",sans-serif; /* フォントの種類をゴシック系にする */
	line-height:1.0; 		/* 行の高さを1.5倍にする */
	color:#191818; 			/* 文字色を濃いグレーにする */
    max-width: 1024px;
    }
div#pagebody {
	width:1000px; margin:0 auto;	/*内容全体をセンタリング*/
	background-color:#ffffff;	/*内容全体の背景色*/
	background-image:url("images/bg_pagebody.png");	/*コンテンツ全体の背景画像*/
	background-repeat:repeat-y;	/*背景画像を縦方向に繰り返す*/
}


/*============================================
ヘッダ
============================================*/
div#header {
	height:60px;			/*ヘッダ部分の高さ*/
}
div#header h1 {
	padding:1px 0px 5px 10px;	/*見出しの位置調整*/
	font-size: 5px;			/*フォントのサイズ*/
	font-family:Arial, Helvetica, sans-serif;	/*フォントの種類*/
}
div#header h1 a {text-decoration:none;} /*リンクの下線を無くす*/
img {border:0;} 			/*画像のボーダーを0にする*/

.header {
    display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background: #fff;    
}

.logo{
    font-size:24px;
}

/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #fff;
  transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  left: 0;/* メニューを画面に入れる */
}

.container {
    display: grid;    
    grid-template-columns: 100%;
    grid-template-rows: auto;
    gap: 10px 10px;
    width: 100%;
    max-width: 1024px;    
    }
  

/*============================================
リンクメニュー
============================================*/
nav ul{
	display: grid;
	display: -ms-grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    grid-template-rows:auto auto;
 	gap: 0px 0px 0px 0px;
	margin:0px 10px 0px 0px;
    padding:0px 10px 15px 00px ;/*上パディング*/
    }
nav li {
	list-style-type:none;		/*リストマーカー無しにする*/
    display:inline;			/*リスト項目をインライン表示にする*/
	float:left;			/*リスト項目を横に並べる*/
    padding-left: 0px;/*上パディング*/
    }
nav li a {
    background-color:#2a14a2;		/*背景色*/
	color:#ffffff;			/*文字色*/
	display:block;			/*リンク部分をブロック表示にする*/
    width:100%; height:20%;	/*幅と高さ*/
    padding:5px 10px 10px 10px ;/*上パディング*/
	text-align:center;		/*テキストをセンター揃えにする*/
	text-decoration:none;		/*リンク部分を下線無しにする*/
	background-image:url(images/bg_menu1.png);	/*背景画像を指定*/
	background-repeat:no-repeat; 	/*背景画像を繰り返さない*/
    font-size: 0.7em;                 /*標準値(16px)*/
    	
}
nav li a:hover {  
	background-color:#564eb9; 	/*リンクにマウスが乗ったら背景色を変更する*/
	background-image:url(images/bg_menu2.png); /*リンクにマウスが乗ったら背景画像を変更する*/
}

/*============================================
ヘッダー画像
============================================*/

h1 {
	font-size:14px;			/*フォントサイズ*/
        }  

.headerimage{
    width:100%;
    height: 70%;
    padding-bottom:  40%;
    background-size: cover;
    background-image: url("images/hp04a.png");
    margin-left: 0px;
    margin-bottom: 10px;
}
nav li a {
	
    width:100%; height:40%;	/*幅と高さ*/
    padding:5px 10px 10px 10px ;/*上パディング*/
	text-align:center;		/*テキストをセンター揃えにする*/
	text-decoration:none;		/*リンク部分を下線無しにする*/
	background-image:url(images/bg_menu1.png);	/*背景画像を指定*/
	background-repeat:no-repeat; 	/*背景画像を繰り返さない*/
    font-size: 0.7em;                 /*標準値(16px)*/
    	
}
.main { 
    background-color: #ffffff;
    display: grid; 
    grid-template-columns: 1fr;
    width: 100%;
    line-height:2px; 
    font-size: 2.2vw;
    }

.example li {display:inline;
     font-size: 2.5vw;
   }

.mainright{
    background-color: #ffffff;
    overflow: auto;
    height: 600px;
    zoom:1;
 }

.mainright:after{
    content:"";
    display:block;
    clear:both;
}

.inner{
    float:right;
}
.inner p{
    float:left;
}
}

h2 {
	width:140px; height:20px;	/*幅と高さ*/
	padding:7px 0px 0px 0px;	/*パディング*/
	font-size:0.1vw;			/*フォントサイズ*/
	background-repeat:no-repeat;	/*背景画像を繰り返さない*/	background-color:#ffffff;	/*背景色*/
	color:#ffffff;			/*文字色*/
}




li {
    list-style:none; /*リストイメージの・を表示しない*/
}

h3#info {
    margin-bottom: 0; 
    background-color: rgb(251, 255, 231);
}

ul {
    margin-top: 0;
}
.info { 
    line-height: 1.5em;
    background-color: rgb(251, 255, 231);
    }
.link {
   line-height: 1.5em;
    background-color: rgb(251, 255, 231);
    }   

 .SNS{
     line-height: 10px;
     vertical-align:middle;
            }     
.footer {
     background-color: rgb(251, 255, 231);
    font-size: 2.2vw;
    }

/*PC用の設定*/
@media screen and (min-width: 834px) {}
@media screen and (min-width: 834px) {
 
    
.header {
  
    grid-column: 1/4;
    grid-rows:1;
    width: 100%;
    padding:2px 0px 10px 20px;	/*見出しの位置調整*/
    height: 30px;
    font-size: 10px;    
}	
 
    
    .nav li a {	
    font-size: 1em;                 /*標準値(16px)*/
           
    }
    
    .header {
        
    }
    .article {
        grid-column: 2;
    }
    .main {
        display: grid;     
        grid-column: 1/4;
        grid-row:1/4;
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 10px 10px;
        grid-auto-rows: 
        width: 10px;
        max-width: 2024px;
        font-size: 1.5vw;
        }       
        
        .mainright { 
          display: grid;
          grid-column: 2/4; 
          grid-row:1/3;
          width: 100%;
        }
        .info { 
          grid-column: 1/2; 
          grid-row:1;
            }  
        .link {
          grid-column: 1/2;        
            }  
    .mainright{
      height: 800px;
    }
    
    h2 {
	font-size:16px;			/*フォントサイズ*/
        }  
        .example li {display:inline;
            font-size: 1.5vw;
                    }       
        
    .footer {       
        grid-column: 1 /3;
        font-size: 14px;
    }
 
}

