@charset "UTF-8";
body {
  background-image:url(../img/KM19322A058.jpg);
  background-position: right;
  background-size: cover;
}
main {
  margin: 0 50px
}
.flex-box {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
/* プロフィール */
.flexp {
  width: 480px;
  height: 300px;
  border: rgb(246, 26, 210) solid 1px;
  margin: 0  10px;
  margin-bottom: 60px;
  position: relative;
  background-color:rgb(99, 97, 97, 0.3);
}
/* 選択内容 */
.flex {
  width: 300px;
  height: 250px;
  border: rgb(246, 26, 210) solid 1px;
  margin: 0 10px;
  margin-bottom: 60px;
  position: relative;
  background-color: rgb(99, 97, 97, 0.3);
}
.a8net {
  margin: 0 10px 60px 10px;
}
.a8nets {
  display: none;
}
/* indexのh２仕様 */
.tit {
  font-size: 20px;
  background-color:rgb(218, 231, 177);
  opacity: 0.9;
  height: 80px;
  width: 150px;
  line-height: 80px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  text-align: center;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.flex p {
  margin-top: 65px;
  margin-left: 20px;
  margin-right: 20px;
  width: 260px;
  color:azure;
  line-height: 1.6em;
  height: 100px;
}
.aButoon {
  width: 250px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  margin-top: 10px;
  display: block;
  padding: 15px 30px;
  border-radius: 10px;
  color: white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  opacity: 0.8;
  background-color: rgb(227, 125, 125);
  text-align: center;
}
.aButoon:hover {
  background-color: rgb(136, 226, 19);
  color: black;
}
.aside-content {
  display: flex;
  margin-top: 48px;
  color: white;
}
dl {
  margin: 0;
}
dt {
  margin: 8px 25%;
  width: 100%;
  font-size: 20px;
}
dd {
  margin-left: 50%;
  width: 100%;
  font-size: 18px;
}
.aside-img {
  margin: 3px 25px;
  text-align: center;
}
.aside-radius {
  width: 200px;
  height: 220px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
/* 表　基本設定 */
table {
  margin-top: 20px;
  width: 50%;
  border-collapse: collapse;
  border: 1px solid black;
}
th,
td {
  font-size: 14px;
  line-height: 1.4em;
  text-align: center;
  border: 1px dashed black;
}
th {
  font-weight: 600;
  padding: 10px 5px;
}
td {
  padding: 10px 0.5px;
}
.left{
  text-align: left;
  padding-left: 30px;
}
@media (max-width: 959px) {
  table {
    margin-bottom: 20px;
    margin-left: 0;
    width:450px ;
  }
  .table-boxa {
    margin-left: 2px;
  }
  th,
  td {
    font-size: 14px;
  }
}
@media (max-width: 740px) {
  main, .flexp {
    margin: 0 auto;
  }
  .flex {
    width: 468px;
    height: 250px;
    margin-bottom: 60px;
  }
  .flex p {
    height: 80px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .a8net {
    display: none;
  }
  .a8nets {
    display: block;
    display: flex;
    margin: auto 30px 60px 30px;
    margin-bottom: 80px;
  }
}
@media (max-width: 480px) {
  .flex {
    width: 300px;
    height: 250px;
  }
  .flex p {
    height: 110px;
    width: 260px;
  }
  .a8net {
    display: block;
  }
  .a8nets {
    display: none;
  }
  aside {
    margin-top: 25px;
    padding-bottom: 10px;
  }
  .aside-content {
    display: flex;
    margin-top: 50px;
    color: white;
    width: 298px;
  }
  /* プロフィール */
  .flexp{
    width: 300px;
    height: 250px;
    margin: 0 auto;
  }
  dl {
    margin: 0;
  }
  dt {
    margin: 7px 25%;
    width: 100%;
    font-size: 15px;
  }
  dd {
    margin-left: 40%;
    width: 100%;
    font-size: 14px;
  }
  .aside-img {
    margin: 10px 20px;
    text-align: center;
  }
  .aside-radius {
    width: 110px;
    height: 150px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }
  table {
    width: 98%;
  }
  th,
  td {
    font-size: 10px;
  }
  .table-boxa {
    margin: 20px 0;
  }
}
