* {
  box-sizing: border-box;
}

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

a {
  text-decoration: none;
}

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

.fa {
  margin-right: 5px;
}

header {
  height: 55px;
  width: 100%;
  background-color: #ffff;
  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: 55px;
  padding: 0 25px;
  color: black;
  display: block;
  float: left;
  transition: all 0.5s;
}

.header-right a:hover {
  background-color: rgba(48, 66, 74, 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; */
  color: black;
}

.heading h2 {
  font-weight: normal;
  border-bottom: 1px solid #000; 
  display: inline-block; 
}

.text-message{
  width: 80%;
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  color: black;
  padding:30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.message-wrapper {
  border-bottom: 1px solid #eee;
  padding-bottom: 80px;
  text-align: center;
  background-color: #BAD3FF;
}
.philosophy-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-bottom: 1px solid #ccc;
}
td {
  border-bottom: 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;
  border-bottom: #99CCFF;
}

.service {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
  align-items: stretch;
}

.lesson {
  width: 28%;
  background-color: #D7EEFF;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  justify-content: space-between;  /* コンテンツ間のスペースを均等に */
}

.lesson-image {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 20px;
}

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

.lesson p{
  text-align: left;
}

#top-ss{
	position: relative;
    overflow:hidden;
    width:100%;
    height: 600px;
}

#top-ss img{
    position:absolute;
    left:50%;
    width:1280px;
    height: 600px;
    margin-left:-640px;
}

#catchphrase{
	position: absolute;
  top: 50%;
	width: 100%;
	-webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
	color: #fff;
	line-height: 1.2;
	text-align: center;
}

#catchphrase h1{
	font-size: 40px;
	font-family: "Hiragino Kaku Gothic ProN", sans-serif;
	margin-bottom: 20px;
	font-weight:normal;
}

#catchphrase h2{
	font-size: 20px;
	font-weight:normal;
}

.Privacy{
  float: right;
  padding:10px;
  color: black;
  border-bottom: #8EB8FF;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

section {
	padding-top: 50px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  float:left;
  background: linear-gradient(transparent 70%, #8EB8FF 70%);
}