@charset "utf-8";

/*============================
#philosophy
============================*/

#philosophy p {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  margin-top: 0;
}

#philosophy p.eng {
  font-size: 36px;
}

.font-red {
  color: #de555f;
}

.font-green {
  color: #3a9495;
}

.font-orange {
  color: #e78265;
}

.font-pink {
  color: #d975a2;
}

@media only screen and (max-width: 768px) {
  #philosophy p {
    text-align: left;
  }

  #philosophy p.eng {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 20px;
  }
}

/*============================
#message
============================*/

#message .name {
  text-align: right;
  font-size: 20px;
  font-weight: 600;
}

#message .name span {
  font-size: 16px;
  margin-right: 10px;
}

@media only screen and (max-width: 768px) {

  #message .name {
    font-size: 18px;
  }

  #message .name span {
    font-size: 14px;
  }

}

/*============================
#history
============================*/

#history dl {
  display: flex;
  background-color: #f8f8f8;
  padding: 14px 20px;
}

#history dl:nth-of-type(n+2) {
  margin-top: 10px;
}

#history dl dt {
  width: 135px;
  font-weight: 600;
  border-right: 1px solid #ccc;
}

#history dl dd {
  margin-left: 30px;
  width: 100%;
  flex: 1;
}

@media only screen and (max-width: 768px) {
  #history dl {
    display: block;
  }

  #history dl:nth-of-type(n+2) {
    margin-top: 10px;
  }

  #history dl dt {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  #history dl dd {
    margin-left: 0;
  }
}
