* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

a {
  text-decoration: none;
}

.clear {
  clear: left;
}

.container {
  max-width: 1170px;
  padding: 0 15px;
  margin: 0 auto;
}

.top-wrapper {
  padding: 180px 0 100px 0;
  background-image: url(../img/top3.jpg);
  background-size: cover;
  width: 100vw;
  height: 100vh;
  text-align: center;
}

.top-wrapper h1 {
  opacity: 0.8;
  font-size: 60px;
  letter-spacing: 5px;
  color: rgba(125, 146, 156, 0.9);;
}

.top-wrapper p {
  opacity: 0.7;
  color: white;
  font-size:18px;
}

.fa {
  margin-right: 5px;
}

header {
  height: 65px;
  width: 100%;
  background-color: rgba(186, 195, 199, 0.9);
  position :fixed;
  top: 0;
  z-index: 10;
}

.logo {
  width: 124px;
  margin-top: 20px;
}

.header-left {
  float: left;
}

.header-right {
  float: right;
  margin-right: -25px;
}

.header-right a {
  line-height: 65px;
  padding: 0 25px;
  color: #ffff;
  display: block;
  float: left;
  transition: all 0.5s;
}

.header-right a:hover {
  background-color: rgba(37, 34, 34, 0.243);
}

.menu-icon{
  color: white;
  float: right;
  font-size: 25px;
  padding: 21px 0;
  display: none;
}

.lesson-wrapper {
  padding-bottom: 80px;
  padding-left: 5%;
  padding-right: 5%;
  background-color: #f7f7f7;
  text-align: center;
}

.heading {
  padding-top: 80px;
  padding-bottom: 50px;
  color: #5f5d60;
}

.heading h2 {
  font-weight: normal;
  border-bottom: 1px solid #000; /* 下線の設定 */
  display: inline-block; /* テキスト幅に合わせるために必要 */
}

.lesson {
  float: left;
  width: 25%;
}

.lesson-icon {
  position: relative;
}

.lesson-icon p {
  position: absolute;
  top: 44%;
  width: 100%;
  color: white;
}

.text-contents {
  width: 80%;
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  color: #5f5d60;
  text-align: left;
}

.text-message{
  width: 80%;
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  color: #5f5d60;
}

.heading {
  font-weight: normal;
}
h4{
  font-weight: normal;
}

.message-wrapper {
  border-bottom: 1px solid #eee;
  padding-bottom: 80px;
  text-align: center;
}

footer img {
  width: 125px;
}

footer p {
  color: #b3aeb5;
  font-size: 12px;
  text-align: center;
}

footer {
  padding-top: 30px;
  padding-bottom: 20px;
}
.company {
  text-align: center;
}

.company-table{
  color: #5f5d60;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:  20px 0;

}
table {
  width: 80%;
  max-width: 600px;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #fff;
}
table, th, td {
  border: 1px solid #ccc;
}
td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}
th, td {
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}

.contact {
  color: #5f5d60;
  font-size: 15px;
  text-align: center;
}