@charset "UTF-8";
body {
  margin: 0;
  padding: 0;
  padding-top: 100px;
  /* ヘッダーの後ろに要素が隠れないようにするため */
  min-height: 100vh;
  position: relative;
  padding-bottom: 50px;
  box-sizing: border-box;
}

li {
  list-style: none;
}

header {
  width: 100%;
  /* 幅いっぱいを指定 */
  height: 70px;
  /* 高さを50pxに指定 */
  background-color: #6495ed;
  padding: 20px 50px;
  /* ヘッダーに上下左右それぞれ余白を指定 */
  box-sizing: border-box;
  /* padding分を含んで幅を100%にするため */
  position: fixed;
  /* ウィンドウを基準に画面に固定 */
  top: 0;
  /* 上下の固定位置を上から0pxにする */
  left: 0;
  /* 左右の固定位置を左から0pxにする */
  display: flex;
  /* 中の要素を横並びにする */
  align-items: center;
  /* 中の要素を上下中央に並べる */
  z-index: 99;
}

h1 {
  margin: 9px;
  color: white;
}

h2 {
  position: relative;
  padding: 0.25em 0;
  font-family: "Yu Mincho";
}

h2:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(71deg, rgb(8, 68, 123), rgb(255, 255, 255));
  background: linear-gradient(71deg, rgb(8, 68, 123), rgb(255, 255, 255));
}

.navigation {
  /* flexboxで要素を真ん中に指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 600px;
}

.button {
  display: block;
  padding: 10px;
  white-space: nowrap;
  height: Code;
  width: 60px;
  float: left;
  /* カーソルを離した際のアニメーションの速度調整 */
  transition: .2s all;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) inset;
}

.button a {
  /* リンク指定した要素のスタイルを削除 */
  text-decoration: none;
}

.navigation:hover .button {
  /* ナビゲーションをマウスオーバーした際のアニメーションの動きを指定 */
  opacity: .5;
  /* 全てのボタンが少し小さくなる */
  transform: scale(1);
}

.navigation:hover .button:hover {
  transition: .5s;
  /* hover時の速度調整 */
  transform: scale(.8);
  /* hoverしたボタンのみサイズを拡大する指定 */
  opacity: 1;
  /* hoverするとボタンが凹むように影を指定 */
  box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.6) inset;
}

.navigation:hover .button:hover>p {
  font-weight: bold;
}

.button2 {
  display: block;
  padding: 10px;
  white-space: nowrap;
  height: Code;
  width: 95px;
  float: left;
  /* カーソルを離した際のアニメーションの速度調整 */
  transition: .2s all;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) inset;
}

.button2 a {
  /* リンク指定した要素のスタイルを削除 */
  text-decoration: none;
}

.navigation:hover .button2 {
  /* ナビゲーションをマウスオーバーした際のアニメーションの動きを指定 */
  opacity: .5;
  /* 全てのボタンが少し小さくなる */
  transform: scale(1);
}

.navigation:hover .button2:hover {
  transition: .5s;
  /* hover時の速度調整 */
  transform: scale(.8);
  /* hoverしたボタンのみサイズを拡大する指定 */
  opacity: 1;
  /* hoverするとボタンが凹むように影を指定 */
  box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.6) inset;
}

.navigation:hover .button2:hover>p {
  font-weight: bold;
}

header>h1:nth-of-type(1) {
  margin-right: auto;
}

header .navigation .menu {
  display: flex;
  /* 中の要素を横並びにする */
}

header .navigation .menu li {
  list-style: none;
  /* リストの[・]を消す */
}

header .navigation .menu li+li {
  margin-left: 40px;
  /* メニューそれぞれに間隔をあけるため */
}

main {
  height: 100vw;
  /* スクロールの演出を見れるようにmainに高さを指定 */
}

table {
  padding: 30px 0px;
  margin: 5% 250px;
  font-family: "Yu Mincho";
}

th, td {
  padding: 5px 10px;
}

th {
  background-color: #FFF;
  width: 250px;
  height: 250px;
}

td {
  background-color: #FFF;
  height: 60px;
}

header {
  font-family: "Yu Mincho";
  color: #000000;
}

h2 {
  margin: 55px 250px;
}

footer {
  width: 100%;
  height: 70px;
  background-color: #6495ed;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-family: "Yu Mincho";
  position: absolute;
  /*←親要素に対して、絶対位置を決める*/
  bottom: 0;
  /*ページの下端からの距離が0の位置*/
}

ul.footer-menu li {
  display: inline;
}

.url {
  color: #00008B;
}

ul.footer-menu li {
  display: inline;
}

a {
  color: white;
  white-space: nowrap;
  text-decoration: none;
}

.btn-horizontal-border {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 12px 0 8px;
  text-decoration: none;
  color: #000000;
  transition: .4s;
  text-align: center;
  width: 150px;
  font-family: "Yu Mincho";
}

.btn-horizontal-border:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  top: 100%;
  left: 0;
  border-radius: 3px;
  background: #00008B;
  transition: .2s;
}

.btn-horizontal-border:after {
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  top: 0;
  left: 0;
  border-radius: 3px;
  background: #00008B;
  transition: .2s;
}

.btn-horizontal-border:hover:before {
  top: -webkit-calc(100% - 3px);
  top: calc(100% - 3px);
}

.btn-horizontal-border:hover:after {
  top: 3px;
}

.mb {
  display: flex;
  justify-content: center;
}

.me {
  padding: 0px 50px;
}

@media screen and (max-width:480px) {
  body {
    padding-top: 50px;
  }
  .com {
    position: relative;
    padding: 0.25em 0;
    font-family: "Yu Mincho";
    margin: 10px 5%;
  }
  .button, .button2 {
    display: none
  }
  h1 {
    font-size: 15px;
  }
  .footer-menu {
    font-size: 5%;
    padding: 0px;
  }
  footer p {
    font-size: 5%;
  }
  footer {
    width: 100%;
    box-sizing: border-box;
  }
  header {
    width: 100%;
    /* 幅いっぱいを指定 */
    height: 7%;
    /* 高さを50pxに指定 */
    padding: 0px 20px;
    /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box;
    /* padding分を含んで幅を100%にするため */
  }
  .btn-horizontal-border {
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 12px 0 8px;
    text-decoration: none;
    color: #000000;
    transition: .4s;
    text-align: center;
    width: 60px;
    font-family: "Yu Mincho";
    font-size: 10%;
  }
  .btn-horizontal-border:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 4px;
    top: 100%;
    left: 0;
    border-radius: 3px;
    background: #00008B;
    transition: .2s;
  }
  .btn-horizontal-border:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    border-radius: 3px;
    background: #00008B;
    transition: .2s;
  }
  .me {
    padding: 4% 6%;
  }
  table {
    margin: 5%;
  }
  td {
    width: 60%;
    padding: 0%;
    font-size: 80%;
  }
  th {
    width: 80%;
    padding: 0%;
    font-size: 80%;
  }
  th img {
    width: 70%;
    height: auto;
  }
  .mb {
    display: flex;
    padding: 0px;
  }
}