@charset "utf-8";

.yarigai {
  color: var(--title);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--title);
  border-radius: 5px;
  padding: 2px 5px;
}
.page2 img {
  width: 100%;
}

:root {
  --title: #0086e4;
  --bg: #dff2fc;
}

.page2 .title {
  margin-bottom: 10px;
}

.page2 .message {
  margin-bottom: 50px;
}
.page2 .message .wrap {
  display: flex;
  margin-bottom: 10px;
}
.page2 .message .wrap .img {
  max-width: 500px;
  width: calc(100%*2/5);
margin-right: 20px;
}
.page2 .message .wrap .text {
  width: calc(100%*3/5);
}
.page2 .message .wrap .text .lead {
  font-size: 20px;
    font-weight: 600;
    color: var(--title);
    margin-bottom: 10px;
}
.page2 .message .wrap .text .name {
  color: var(--title);
  font-weight: 600;
  margin-bottom: 10px;
}
.page2 .message .wrap .text .name span {
  font-size: 18px;
}
.page2 .message .wrap .list {
  width: calc(100%*1/3);
  height: fit-content;
  background-color: var(--title);
  border-radius: 20px;
  padding: 10px 5px 5px;
  margin-right: 20px;
}
.page2 .message .wrap .list .lead {
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}
.page2 .message .wrap .list table {
  background-color: var(--bg);
  border-radius: 20px;
  padding: 5px;
  width: 100%;
}
.page2 .message .wrap .img-robo {
  width: calc(100%*2/3);
}
.page2 .message:nth-of-type(2) {
  display: grid;
  grid-template-columns: 400px 1fr 350px;
}
.page2 .message:nth-of-type(2) .img {
  margin-right: 20px;
}
.page2 .message:nth-of-type(2) .text {
  margin-right: 20px;
}
.page2 .message:nth-of-type(2) .text .lead {
  font-size: 20px;
    font-weight: 600;
    color: var(--title);
    margin-bottom: 10px;
}
.page2 .message:nth-of-type(2) .text .name {
  color: var(--title);
  font-weight: 600;
  margin-bottom: 10px;
}
.page2 .message:nth-of-type(2) .text .name span {
  font-size: 18px;
}
.page2 .message:nth-of-type(2) .list {
  background-color: var(--title);
  border-radius: 20px;
  padding: 10px 5px 5px;
  height: fit-content;
}
.page2 .message:nth-of-type(2) .list .lead {
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}
.page2 .message:nth-of-type(2) .list table {
  background-color: var(--bg);
  padding: 5px;
  width: 100%;
  border-radius: 20px;
}
.page2 .message:nth-of-type(3) {
  display: flex;
}
.page2 .message:nth-of-type(3) .img {
  width: calc(100%*2/5);
  margin-right: 20px;
}
.page2 .message:nth-of-type(3) .text {
  width: calc(100%*3/5);
}
.page2 .message:nth-of-type(3) .text .lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--title);
    margin-bottom: 10px;
}

@media screen and (max-width:768px) {
  .page2 .message:nth-of-type(1) .wrap:last-of-type {
    flex-direction: column;
    align-items: center;
  }
  .page2 .message .wrap .img {
    margin-right: 10px;
  }
  .page2 .message:nth-of-type(2) .img {
    margin-right: 10px;
  }
  .page2 .message .wrap .list {
    margin: 20px 0 20px;
    width: 350px;
  }
  .page2 .message .wrap .img-robo {
    width: 90%;
    margin: 0 auto;
  }
  .page2 .message:nth-of-type(2) {
    grid-template-columns: 1fr 1fr;
  }
  .page2 .message:nth-of-type(2) > :nth-child(3) {
    grid-column: 1/ -1;
    justify-self: center;
    width: 350px;
    margin-top: 20px;
  }
  .page2 .message:nth-of-type(2) .text {
    margin-right: 0;
  }
}