/* 共通スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "ヒラギノ角ゴ Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Verdana, Helvetica, sans-serif;
  background-color: #EEEEEE;
  color: #1b1b1b;
  width: 100%;
}

#MainBody {
  margin: 10px auto;
  max-width: 800px;
  width: 95%;
  border: 1px #CCC solid;
  padding: 20px;
  background-color: #FFFFFF;
}

#MainBody h1 {
  text-align: center;
  margin: 20px;
}

#MainBody h2 {
  margin: 20px 0;
  padding: 10px 30px;
  background: #333;
  color: #fff;
  font-weight: bold;
}

#MainBody h3 {
  margin: 50px 0 0;
}

#MainBody dd {
  margin: 20px 50px 0;
  font-weight: bold;
  font-size: 1.2em;
}

#MainBody dt {
  margin: 10px 80px 30px;
}

#MainBody section {
  margin-bottom: 100px;
}

p {
  margin: 0 30px 20px;
  line-height: 180%;
}

.menu {
  margin: 20px 100px 50px;
}

.menu li {
  list-style: square;
}

a:link, a:visited, a:hover, a:active {
  color: #0167CC;
}

#team-tejun ol,
#team-a ol,
#team-b ol,
#team-c ol,
#ins ol,
#act ol {
  counter-reset: num;
  list-style-type: none !important;
  padding: 0;
  margin: 30px 0 30px 30px;
}

#team-tejun li,
#team-a li,
#team-b li,
#team-c li,
#ins ol li,
#act ol li {
  position: relative;
  line-height: 1.5em;
  padding: 15px 0.5em 0.5em 50px;
}

#team-tejun li:before,
#team-a li:before,
#team-b li:before,
#team-c li:before,
#ins ol li:before,
#act ol li:before {
  position: absolute;
  counter-increment: num;
  content: counter(num);
  display: inline-block;
  background: #f67d28;
  color: #FFF;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  left: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  top: 10px;
}

.img {
  margin: 50px 0;
  text-align: center;
}

.img img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

#howto ul,
#sup ul {
  margin: 20px 0 30px 50px;
}

#howto li {
  list-style: square;
}

.btn {
  background: #f67d28;
  padding: 10px 30px;
  display: inline-block;
  border-radius: 5px;
  text-decoration: none;
  margin: 10px 0 30px;
  font-weight: bold;
}

a.btn:link,
a.btn:visited {
  color: #fff !important;
}

a.btn:hover {
  color: #fffaf0 !important;
  background: #ff8c00;
}

a.btn:active {
  color: #fff !important;
}

#Footer {
  margin-bottom: 20px;
  text-align: center;
}

.totop {
  margin: 20px;
  color: #555;
  font-size: 0.8em;
  text-align: right;
}

#env dl {
  margin: 20px 30px 40px;
  padding: 0;
}

#env dt {
  font-weight: bold !important;
  margin: 20px 0 5px 0 !important;
  font-size: 1em !important;
  color: #333 !important;
}

#env dd {
  margin: 0 0 25px 20px !important;
  font-weight: normal !important;
  font-size: 1em !important;
  line-height: 1.6 !important;
}

.menu li strong {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1em;
  color: #222;
}

.menu ul {
  margin-left: 1.5em;
  margin-bottom: 15px;
  padding-left: 0;
  list-style-type: disc;
}

.menu li a > strong {
  display: block;
  margin: 20px 0 5px;
  font-size: 1em;
  color: #222;
}

/* モーダル拡大画像 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
  #MainBody {
    width: 95%;
    padding: 10px;
    font-size: 0.95em;
  }

  #MainBody h2 {
    font-size: 1.1em;
    padding: 10px 15px;
  }

  p, li, dd, dt {
    margin-left: 15px;
    margin-right: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .menu {
    margin: 10px;
  }

  .img {
    margin: 30px 0;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 80vh;
  }
#team-tejun ol li,
#act ol li {
  padding-left: 40px;
}

#team-tejun ol li:before,
#act ol li:before {
  left: 5px;
  width: 24px;
  height: 24px;
  font-size: 14px;
  line-height: 24px;
}

}