/* ----------- */
/* ▼位置設定  */
/* ----------- */
body{
  margin:0px;                 /* ページ全体のmargin */
  padding:0px;                /* ページ全体のpadding */
  text-align:center;          /* 下記のautoに未対応用のセンタリング */
}

#main{
  top: 150px;
  margin-left:auto;           /* 左側マージンを自動的に空ける */
  margin-right:auto;          /* 右側マージンを自動的に空ける */
  text-align:left;            /* 中身を左側表示に戻す */
  width:1000px;               /* 幅を決定する */
}

header{
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 10000;
}

#logo{
  padding: 0px 0 0px 0px;
  font-weight: bold;
  text-align: left;
}

/* -------------------- */
/* ▼メニューバーの装飾 */
/* -------------------- */
ul{
  list-style: none;
  width: 100%;
}
ul.ddmenu{
   text-align:center;
   margin: 0px;               /* メニューバー外側の余白 */
   padding: 0px 0px 0px 0px;  /* メニューバー内側の余白 */
   background-color: #191970; /* バーの背景色(midnightblue) */
}

/* -------------------------- */
/* ▼メインメニュー項目の装飾 */
/* -------------------------- */
ul.ddmenu li{
   width: 120px;              /* メニュー項目の横幅 */
   display: inline-block;     /* ★横並びに配置する */
   list-style-type: none;     /* ★リストの先頭記号を消す */
   position: relative;        /* ★サブメニュー表示の基準位置にする */
}
ul.ddmenu a{
   background-color: #191970; /* メニュー項目の背景色(mediumblue) */
   color: white;              /* メニュー項目の文字色(白色) */
   line-height: 35px;         /* メニュー項目のリンクの高さ */
   text-align: center;        /* メインメニューの文字列の配置(中央寄せ) */
   text-decoration: none;     /* メニュー項目の装飾(下線を消す) */
   font-size: 14px;           /* フォントサイズ
   font-weight: bold;         /* 太字にする */
   display: block;            /* ★項目内全域をリンク可能にする */
}
ul.ddmenu a:hover{
   background-color: #0000ff; /* メニュー項目にマウスが載ったときの背景色(blue) */
   color: white;              /* メニュー項目にマウスが載ったときの文字色(white) */
}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- */
ul.ddmenu li:hover ul{
   display: block;            /* ★マウスポインタが載っている項目の内部にあるリストを表示する */
}

/* -------------------- */
/* ▼サブメニューの装飾 */
/* -------------------- */
ul.ddmenu ul{
   margin: 0px;               /* ★サブメニュー外側の余白 */
   padding: 0px;              /* ★サブメニュー内側の余白 */
   display: none;             /* ★標準では非表示にする */
   position: absolute;        /* ★絶対配置にする */
}

/* ------------------------ */
/* ▼サブメニュー項目の装飾 */
/* ------------------------ */
ul.ddmenu ul li{
   width: 180px;               /* サブメニュー1項目の横幅 */
   border-top: 1px solid pink; /* 項目上側の枠線(ピンク色で1pxの実線) */
}
ul.ddmenu ul li a{
   line-height: 35px;          /* サブメニュー1項目の高さ */
   text-align: left;           /* 文字列の配置 */
   padding-left: 5px;          /* 文字列前方の余白 */
   font-weight: normal;        /* 太字にはしない */
}
ul.ddmenu ul li a:hover{
   background-color: #0000ff;  /* サブメニュー項目にマウスが載ったときの背景色(blue) */
   color: #white;              /* サブメニュー項目にマウスが載ったときの文字色(white) */
}

/* -------- */
/* ▼メイン */
/* -------- */
main{
  top: 150px;
}

.container{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* .maincenter{               */
/*   margin: 0 auto;          */
/*   width: 1000px;           */
/* }                          */
/* .tblmain{                  */
/*   display: flex;           */
/*   align-items: flex-start; */
/* }                          */

/* ---------------- */
/* ▼フッターの装飾 */
/* ---------------- */
footer{
  padding: 0px 0px 0px 0px;  /* メニューバー内側の余白 */
  text-align: center;         /*文字の位置*/
  background: #191970;        /*背景の色*/
  color: white;               /*文字の色*/
  max-width: 1000px;
}

/* ---------------- */
/* ▼指定箇所対応   */
/* ---------------- */
.section h2 {
    padding-top: 500px;
    margin-top: -500px;
}
/* ---------------- */
/* ▼画像対応       */
/* ---------------- */
.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 80%;
}

.modal-content img {
    width: auto;
    height: 100%;
    margin: 0 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 30px;
    color: #f1f1f1;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
