@charset "utf-8";

.main{
  margin-top: 90px;
}

.title{
  height: 400px;
  background-image: url(../images/about-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #000000;
  font-family: "Zen Old Mincho", serif;
  font-style: normal;
}

.title h1{
  margin-left: 35px;
  font-size: 50px;
}

.title p{
  font-size: 20px;
  line-height: 1.6;
  margin-top: 60px;
  margin-left: 40px;
}

.intro{
  margin-right: 40px;
  margin-left: 40px;
  margin-top: 30px;
}

.intro h1{
  margin-top: 20px;
  font-size: 37px;
}

.intro h2{
  margin-top: 25px;
  font-weight: normal;
  font-size: 25px;
  display: inline-block;
  padding: 8px;
  padding-left: 15px;
  border-left: 5px solid #fff100;
}

.intro h2:first-child{
  margin-top: 0;
}

.yellow{
  color: #d8cd02;
}

.intro p{
  margin-left: 10px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
}

.pc{
  display: block;
}

.smartphone{
  display: none;
}

.msg-box{
  /* background-color: #171602; */
  background-color: #202020;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  width: 95%;
  align-items: flex-start;
  width: 100%;
  border-radius: 10px;
  flex-basis: auto;
}

.msg h3{
  margin-left: 15px;
  margin-top: 25px;
  font-size: 25px;
  margin-bottom: 20px;
}

.name{
  color: #fff100;
  font-size: 35px;
  /* color: #fff100; */
}

.achievements li{
  font-weight: bold;
  color: #000000;
  font-size: 15px;
  text-align: center;
  line-height: 1.5;
  margin-top: 10px;
}

.achievements li span{
  color: #9c9511;
}

.msg p{
  font-weight: normal;
  margin-left: 20px;
  margin-right: 10px;
  margin-top: 0;
}

.msg p:last-child{
  margin-bottom: 20px;
}

.img-box{
  flex-basis: 300px;
  margin-right: 15px;
}

.img{
  position: relative;
  margin-top: 50px;
  width: 300px;
  height: 400px;
}

.img-box .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-box p{
  color: #000000;
  margin-left: 0;
}

.achievements{
  font-weight: bold;
  border-radius: 5px;
  background-color: #ffffff;
  text-align: center;
  margin-bottom: 15px;
}

.shapes-1{
  position: absolute;
  top: -5px;
  left: -5px;
  border-left: 50px solid #fff100;
  border-bottom:  50px solid transparent;
}
.shapes-2{
  position: absolute;
  bottom: -5px;
  right: -5px;
  border-bottom: 50px solid #fff100;
  border-left:  50px solid transparent;
}


.msg li:last-child{
  margin-bottom: 20px;
}

@media (max-width: 767px){

.main{
  /* margin-top: 90px; */
  padding-top: 0px;
  margin-top: 60px;
}

.title{
  height: 400px;
}

.link{
  color: #fff100;
}

.title h1{
  margin-left: 25px;
  font-size: 30px;
}

.title p{
  font-size: 16px;
  line-height: 1.6;
  margin-top: 60px;
  margin-right: 25px;
  margin-left: 25px;
  margin-right: 20px;
}

.intro{
  margin-left: 25px;
  margin-right: 25px;
}

.pc{
  display: none;
}

.smartphone{
  display: block;
}

.msg{
  order: 2;
}

.msg-box{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  padding-top: 25px;
}

.msg h3{
  margin-left: 8px;
  padding-top: 15px;
  font-size: 25px;
}

.name{
  font-size: 30px;
}

.achievements{
  order: 3;
  margin: 15px;
  margin-top: 20px;
}

.achievements li{
  margin-left: 10px;
  margin-right: 10px;
  font-size: 15px;
}

.achievements li:last-child{
  margin-bottom: 10px;
}

.achievements p{
  color: #000000;
  margin-top: 10px;
  margin-bottom: 5px;
}

.msg p{
  margin-left: 10px;
  font-size: 16px;
}

.img-box{
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.img{
  position: relative;
  margin-top: 30px;
  width: 300px;
  height: 400px;
  order: 1;
  margin-top: 0;
}

.img img{
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

}