@charset "UTF-8";
*, ::before, ::after{
  padding : 0;
  margin : 0;
  box-sizing: border-box;
}

ul,ol{list-style: none;}

a{color: inherit; text-decoration: none; }

h1{
   text-shadow:
      1px 1px 0 #808080, -1px 1px 0 #808080,
      1px -1px 0 #808080, -1px -1px 0 #808080;
}

body{
   font-family: sans-serif; font-size: 16px;
  color: #000000; line-height: 1;
  background-color: #f4f4f4;
}

.header{
  background-color:  #e1ecfb;
}
.header-in{max-width: 900px; height: 80px;
  margin-left : auto; margin-right : auto;
  padding-left: 40px; padding-right: 40px;
  display: flex;
  justify-content: space-between; align-items: center;
}

.p-title{
  height: 100px; background-image: url(../gazou/title_bk.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #ffffff;
  display: flex; justify-content: center; align-items: center;
}

#view{
   background-color: #ffffff;
  width: 900px; margin-left: auto; margin-right: auto;
  padding-top: 20px; padding-bottom: 10px;
  text-align: center;
}

#view h2{
  font-size: 20px; padding-bottom: 10px;
}

.anbun{
   display: flex; justify-content: center;
}

.anbun p{
   line-height: 20px;
}

.anbun p a{
  color: #0000ff;
}

/* ▼メニューバーの装飾 */
/* -------------------- */
ul.smenu {
   height: 40px; margin-top: 20px;
/*   margin: 0;             */  /* メニューバー外側の余白(ゼロ) */
/*   padding: 0;*/ /* メニューバー内側の余白(0) */
   background-color: #a4cbfe; /* バーの背景色(濃い青色) */
}

/* -------------------------- */
/* ▼メインメニュー項目の装飾 */
/* -------------------------- */
ul.smenu li {
   width: 120px;           /* メニュー項目の横幅(120px) */
   height: 40px;
   display: inline-block;  /* ★1:横並びに配置する */
   list-style-type: none;  /* ★2:リストの先頭記号を消す */
   position: relative;     /* ★3:サブメニュー表示の基準位置にする */
}
ul.smenu a {
   background-color: #a4cbfe; /* メニュー項目の背景色(濃い青色) */
   color: white;              /* メニュー項目の文字色(白色) */
   line-height: 40px;         /* メニュー項目のリンクの高さ(30px) */
   text-align: center;        /* メインメニューの文字列の配置(中央寄せ) */
   text-decoration: none;     /* メニュー項目の装飾(下線を消す) */
   font-weight: bold;         /* 太字にする */
   display: block;            /* ★4:項目内全域をリンク可能にする */
}
ul.smenu a:hover {
   background-color: #74acf4; /* メニュー項目にマウスが載ったときの背景色(淡い青色) */
   color: white;            /* メニュー項目にマウスが載ったときの文字色(濃い青色) */
}

/* ▼サブメニューは、とりあえず非表示にしておく */
ul.smenu ul {
   display: none;         /* ★5:非表示にする */
}
/* -------------------- */
/* ▼サブメニューの装飾 */
/* -------------------- */
ul.smenu ul {
   display: none;       /* ★1:標準では非表示にする */
/*   margin: 0;       */  /* ★2:サブメニュー外側の余白(ゼロ) */
/*   padding: 0;       */ /* ★3:サブメニュー内側の余白(ゼロ) */
   position: absolute;  /* ★4:絶対配置にする */
}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- */
ul.smenu li:hover ul {
   display: block;      /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
}
/* ------------------------ */
/* ▼サブメニュー項目の装飾 */
/* ------------------------ */
ul.smenu ul li {   /* ※A */
   width: 120px;               /* サブメニュー1項目の横幅(120px) */
   height: 40px;
/*   border: 1px solid gray; /* 項目の枠線(灰色で1pxの実線) */
}
ul.smenu ul li a {   /* ※B */
   line-height: 40px;   /* サブメニュー1項目の高さ(30px) */
   text-align: center;    /* 文字列の配置(中央寄せ) */
   /* padding-left: 5px;    文字列前方の余白(5px) */
   font-weight: normal; /* 太字にはしない */
}
ul.smenu ul li a:hover {   /* ※C */
   background-color: lavender; /* サブメニュー項目にマウスが載ったときの背景色(ラベンダー) */
   color: black;            /* サブメニュー項目にマウスが載ったときの文字色(黒色) */
   cursor:pointer;
}

.button-haiti {
   margin-top: 15px; margin-bottom: 15px;
   display: grid; justify-content: center;
   grid-template-columns: 250px 250px;
   grid-template-rows: 25px;
   row-gap: 20px;
   grid-template-areas:
      "a b"
      "c d";
}

.yoko1{
   display: flex;
   grid-area: a;
}

.yoko2{
   display: flex;
   grid-area: b;
}

.yoko3{
   display: flex;
   grid-area: c;
}

.yoko4{
   display: flex;
   grid-area: d;
}

.keika{
   margin-left: 10px; margin-right: 10px;
}

.jikan{
   margin-right: 10px;
}

.iro{
   margin-left: 40px; margin-right: 20px;
}

.iro, .keika, .jikan{
   line-height: 25px;
}

.shokyo{
   margin-left: 40px; margin-right: 30px;
}

.modoru{
   margin-left: 10px; margin-right: 20px;
}

.susumu{
   margin-right: 30px;
}

.p-ban{
   font-size: 14px;
   display: flex; justify-content: center;
}

.p-ban div{
   margin-left: 10px; margin-right: 20px;
}

.sbutton{
	display: inline-block;
	cursor: pointer;
	font-size: 12pt;
	padding: 3px;
	margin: 0;
	border-radius: 3px;
	border: 1px solid #dcdcdc;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
	background: linear-gradient(#fffafa 30%, #dcdcdc);
}

.hbutton{
	display: inline-block;
	cursor: pointer;
	font-size: 12pt;
	padding: 3px;
	margin-left: 10px; margin-right: 10px;
	border-radius: 3px;
	border: 1px solid #99ccff;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
	background: linear-gradient(#ddeeff 40%, #99ccff);
}

.p-space{
   background-color : #ddeeff;
   padding-top: 20px; padding-bottom: 20px;
   overflow: scroll;
}

.sosa{
   width: 400px;
   margin-left: auto; margin-right: auto;
   padding-top: 20px; padding-left: 50px;
   font-size: 14px; text-align: left;
}

.sosa tr{
   height: 20px;
}

.gyo1{
   width: 120px;
}

.footer{background-color: silver; text-align: center;
  margin-left : auto; margin-right : auto;
  padding-top: 10px; padding-bottom: 15px;
}

.footer p{color: #000000; font-size: 12px;
  margin-top: 10px;
}

.counter{
   display: flex; justify-content: center;
}

.kesu {visibility: hidden;}

@media (max-width: 900px){
   #view{
      width: 100%;
   }
}

@media (max-width:700px){
   .header{
      height: 30px;
   }
   
   .header-in{
      display: none;
   }
   
   .p-title{
      display: none;
   }
   
   .anbun{
      display: block;
   }
   
   ul.smenu ul li a {
      color: black;
   }
   
   .button-haiti {
      display: block;
   }
   
   .yoko1, .yoko2, .yoko3, .yoko4{
      width: 250px; margin-left: auto; margin-right: auto;
      margin-bottom: 10px;
   }
   
   .yoko2 {
      display: none;
   }

   .iro{
      margin-left: 25px; margin-right: 50px;
   }

   .shokyo{
      margin-left: 35px; margin-right: 50px;
   }

   .modoru{
      margin-left: 15px; margin-right: 25px;
   }

   .susumu{
      margin-right: 40px;
   }
   
   .sosa{
      width: 300px; padding-left: 0;
   }
   
   .gyo1{
      width:100px;
   }
   
   .timeb{
      display: none;
   }
   
}