﻿/* CSS layout */
body {
  margin: 0;
  padding: 0;
}

#masthead {
  color: white;
  font-size: xx-large;
  padding: 10px 10px 10px;
  /* background-image: url(images/bgimage2.jpg); */
  /* background-color: #1E90FF; */
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7abcff+0,60abf8+44,4096ee+100;Blue+3D+%2314 */
  background: #7abcff;
  /* Old browsers */
  background: -moz-linear-gradient(top,
      #7abcff 0%,
      #60abf8 44%,
      #4096ee 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top,
      #7abcff 0%,
      #60abf8 44%,
      #4096ee 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,
      #7abcff 0%,
      #60abf8 44%,
      #4096ee 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7abcff', endColorstr='#4096ee', GradientType=0);
  /* IE6-9 */
  position: fixed;
  width: 100%;
  height: 60px;
}

@media screen and (min-width: 769px) {
  #top_nav {
    top: 20px;
    left: 220px;
    position: fixed;
  }

  .nav-container {
    display: flex;
    /* 横並びにする */
    flex-wrap: wrap;
    /* 幅が足りない時に折り返す */
    gap: 4px;
    /* ボタン同士の隙間 */
    max-width: 600px;
    /* PCでの最大幅（お好みで） */
  }

  #container {
    min-width: 600px;
  }

}

/* --- モバイル用設定 (768px以下) --- */
@media screen and (max-width: 768px) {
  #top_nav {
    top: 5px;
    left: 200px;
    position: fixed;
  }

  .nav-container {
    /* 左右に少し余白 */
    display: flex;
    flex-wrap: wrap;
    /* 【重要】勝手に折り返させない */
    gap: 4px;
    /* ボタン同士の隙間を最小限に */
    width: 100%;
  }

}


#left_col {
  margin: 70px 0;
  width: 200px;
  float: left;
  position: fixed;
}

#page_content {
  /* padding: 70px 0 80px 200px; */
  /*左コンテンツがある場合*/
  padding: 70px 0 80px 20px;
}

/*
#footer {
  clear: both;
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 80px;
  background: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0, #fff),
      color-stop(1, #cecece));
  background: -webkit-linear-gradient(#fff, #cecece);
  background: -moz-linear-gradient(#fff, #cecece);
  background: -o-linear-gradient(#fff, #cecece);
  background: -ms-linear-gradient(#fff, #cecece);
  background: linear-gradient(#fff, #cecece);
}
*/
.title_link {
  text-decoration: none;
  color: white;
}

/* 角を丸くしたボタン */
.btn {
  width: 120px;
  text-align: center;
  display: block;
  text-decoration: none;

  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 5px 0 5px;
  color: #111;

  background: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0, #b6e2fd),
      color-stop(0.2, #91bae4),
      color-stop(0.5, #8fbff0),
      color-stop(0.51, #6ba8e4),
      color-stop(0.75, #87c2fb),
      color-stop(1, #bcf4fd));
  background: -webkit-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: -moz-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: -o-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: -ms-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: linear-gradient(to bottom,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
}

.btn:hover {
  color: white;
}

.large_btn {
  width: 320px;
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 8px 0 10px;
  color: #111;
  background-color: #49a9d4;
  border-radius: 5px;
  font-weight: bold;

  background: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0, #b6e2fd),
      color-stop(0.2, #91bae4),
      color-stop(0.5, #8fbff0),
      color-stop(0.51, #6ba8e4),
      color-stop(0.75, #87c2fb),
      color-stop(1, #bcf4fd));
  background: -webkit-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: -moz-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: -o-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: -ms-linear-gradient(top,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
  background: linear-gradient(to bottom,
      #b6e2fd 0%,
      #91bae4 20%,
      #8fbff0 50%,
      #6ba8e4 51%,
      #87c2fb 75%,
      #bcf4fd 100%);
}

.large_btn:hover {
  color: white;
}

@media screen and (max-width: 768px) {
  .btn {
    /* モバイルで線が消えにくい対策 */
    width: 80px;
    border: 1.5px solid #000;
    font-size: 12px;
    /* 2列ずつ並ぶように調整 */
    flex: calc(50% - 8px);
  }

}

h3 {
  font-size: large;
  color: rgb(51, 51, 204);
  padding: 0px 0px 0px 12px;
  text-align: left;
  border-left-color: rgb(70, 70, 200);
  border-left-style: solid;
  border-left-width: 10px;
  background-color: rgb(255, 255, 255);
}

.indent {
  padding-left: 1em;
}

.history-style {
  margin-left: 20px;
}

@media screen and (min-width: 769px) {
  .image-container {
    display: flex;
    /* 横並びにする */
    gap: 10px;
    /* 画像同士の隙間 */
  }

  .image-container img {
    width: 25%;
    /* 2つで100%になるように調整 */
    height: auto;
    /* 比率を維持 */
  }
}

/* --- スマホ（Android/iPhone）用の設定 --- */
@media screen and (max-width: 768px) {
  .image-container {
    display: flex;
    max-width: 100%;
  }

  .image-container img {
    width: 50%;
    max-width: 50% !important;
    /* 2つで100%になるように調整 */
    height: auto;
    /* 比率を維持 */
  }
}

@media screen and (min-width: 769px) {
  .engine-table {
    border-collapse: collapse;
    border: 1px solid #000000;
  }

  .engine-table td {
    border: 1px solid #000000;
    padding: 4px 8px;
    vertical-align: top;
  }

  .engine-table td:first-child {
    width: 200px;
  }
}

/* --- スマホ（Android/iPhone）用の設定 --- */
@media screen and (max-width: 768px) {
  .engine-table {
    /* スマホで線が消える対策として設定を微調整 */
    border-collapse: separate;
    border-spacing: 0;
  }

  .engine-table td:first-child {
    width: 100px;
    /* スマホは画面が狭いので1列目を細くする */
  }

  .engine-table td {
    font-size: 14px;
    /* スマホで見やすい文字サイズに */
    border: 1px solid #000000;
  }
}

@media screen and (min-width: 769px) {
  .apk-table {
    border-collapse: collapse;
    border: 1px solid #000000;
  }

  .apk-table td {
    border: 1px solid #000000;
    padding: 4px 8px;
    vertical-align: top;
  }

  .apk-table td:first-child {
    width: 200px;
  }
}


/* --- スマホ（Android/iPhone）用の設定 --- */
@media screen and (max-width: 768px) {
  .apk-table {
    /* スマホで線が消える対策として設定を微調整 */
    border-collapse: separate;
    border-spacing: 0;
  }

  .apk-table td:first-child {
    width: 100px;
    /* スマホは画面が狭いので1列目を細くする */
  }

  .apk-table td {
    font-size: 14px;
    /* スマホで見やすい文字サイズに */
    border: 1px solid #000000;
  }
}