@charset "utf-8";

/* ブログページの基本設定
　　1セクションに1つの挿絵、説明文がセットになった構成（flexで横並びにしている)　*/
.main {
  background-color: #f8f8f8;
}

.first-view {
  background-color: #ffffff;
  padding-top: 20px;
  border-bottom: solid 2px #767575;
}

.first-view img {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
  height: 100px;
}

.first-view-text {
  max-width: 90%;
  width: 550px;
  margin: 20px auto;
  text-align: center;
  line-height: 1.5;
}

.first-view-text p {
  margin-top: 5px;
}

.second-view p,
.third-view p ,
.last-view p {
  max-width: 90%;
  padding: 20px;
  line-height: 30px;
}

.second-view-item {
  display: flex;
  align-items: center;
}

.second-view-item img {
  padding-left: 20px;
}

.second-view-item p {
  line-height: 30px;
  border: solid 4px #70a6f8;
  padding: 20px;
  border-radius: 15px;
  background-color: #ffffff;
}

.blog-item {
  max-width: 90%;
  padding: 20px;
  line-height: 1.5;
}

.blog-item-main {
  padding-left:30px;
}

.blog-item-main p {
  max-width: 90%;
  padding: 10px 0;
  line-height: 2.0;
}

/* この辺り　テーブル設定　*/
.blog-table {
  max-width: 90%;
  border: inherit;
  border-collapse: collapse;
}

td,
th {
  vertical-align: top;
  padding: 10px;
}

.blog-table thead {
  display: none;
}

.blog-table tbody tr {
  background-color: #dceaf1;
  border-bottom: 2px solid #ffffff;
}

.blog-table tbody tr:last-child {
  border: none;
}

.blog-table tbody th {
  width: 20%;
  background-image: linear-gradient(120deg, #c3fcdd 0%, #8eb1fc 100%);
  color: #231481;
  text-shadow: 1px 1px 3px #ffffff;
}
/*　テーブル設定　ここまで*/

.blog-item h3 {
  background-color: #aaeafd;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  box-shadow: 0px 0px 0px 10px #aaeafd;
  border-radius: 10px 0px 0px 10px;
  padding: 5px 8px;
  margin-bottom: 20px;
}

.blog-item h3 span {
  color: #ffffff;
  margin-right: 10px;
}

.blog-item-inner {
  display: flex;
  align-items: flex-start;
  margin-left: 20px;
}

.blog-item-inner img {
  width: 180px;
  height: 180px;
}

.blog-item-inner p {
  margin-left: 20px;
  line-height: 30px;
}

.blog-item-inner a {
  color: #616df3;
  border-bottom: solid 1px #616df3;
}

.blog-item-inner span {
  font-weight: bold;
  background-color: #aaeafd;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
}

.last-view h4 {
  margin-left: 20px;
  border-bottom: dashed 3px #70a6f8;
  width: 300px;
}

.profile {
  border: solid 5px #eeaae4;
  background-color: #f8e3f5;
  border-radius: 30px;
  display: flex;
  max-width: 40%;
  margin: 20px;
  padding-left: 20px;
  align-items: center;
}

.profile img {
  width: 80px;
  height: 80px;
}

.profile p {
  margin-left: 20px;
}

.change-page {
  margin-left: 30px;
  padding-bottom: 5px;
  display: flex;
}

.change-page a:hover {
  font-weight: bold;
}

@media (max-width: 800px) {
  .second-view-item {
    flex-direction: column;
  }

.second-view p,
.third-view p ,
.last-view p {
  line-height: 1.5;
  max-width: 100%;
  padding: 10px;
}

.second-view-item img {
  padding-left: 0;
  height: 200px;
  width: 200px;
}

.second-view-item p {
  line-height: 1.5;
  padding: 10px;
  max-width: 100%;
}

.third-view img {
  max-width: 80%;
}

.blog-item {
  max-width: 100%;
  padding: 15px;
}

.blog-item-main {
  padding-left: 0;
}

.blog-item-main p {
  max-width: 100%;
  padding: 15px;
  line-height: 1.5;
}

.blog-item-main img {
  max-width: 100%;
  padding: 15px;
}

/* この辺り　テーブル設定　*/
.blog-table {
  max-width: 100%;
}

.blog-table tbody tr {
  display: block;
  margin-bottom: 10px;
}

.blog-table tbody th {
  display: block;
  text-align: center;
  width: 100%;
}

.blog-table tbody td {
  display: block;
  text-align: left;
  position: relative;
}
/* この辺りまで　テーブル設定　*/

.blog-item-inner {
  flex-direction: column;
  margin-left: 0;
}

.blog-item-inner p {
  margin-left: 0;
  line-height: 1.5;
  padding-top: 5px;
}

.blog-item-inner img {
  margin-left: auto;
  margin-right: auto;
  width: 130px;
  height: 130px;
}

.last-view h4 {
  margin-left: 10px;
  margin-top: 10px;
  width: 300px;
}

.profile {
  max-width: 90%;
}

}