@charset "utf-8";

*,
::before,
::after{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.first-view{
  height: calc(110vh - 110px);
  background-image: url(../images/ヘッダー写真/TOP【長方形】.JPG);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.first-view-text{
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text h1{
  font-size: 40px;
  line-height: 72px;
}



.lead {
  color: #622a1e;
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom:  50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;  /* モーダルウィンドウの背景色 */
  margin: 20% auto;
  padding: 10px;
  border: 1px solid #888888;
  width: 35%;  /* モーダルウィンドウの横幅 */
}



.close-button {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}




.lead-logo {
  width: 350px;
  display: block;
  margin-top:  20px;
}


.lead p{
  align-items: center;
}

.yoyaku h2{
  text-align: center;
}

.menu-text{
  flex-shrink: 0;
  display: grid;
  padding-top: 20px;
  padding-bottom: 20px;
}

.menu-course1{
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  
}

.course1{
  width: 500px;
  display: grid;
}

.menu-text h2{
  font-weight: bold;
}

.menu-text p{
  width: 600px;
}

.menu-text h3{
  color: red;
}

.menu-text h6{
  width: 600px;
}

.menu-rei{
  display: flex;
}


.menumei {
  margin-top: 80px;
}

.menu-bar {
  object-fit: cover;
  flex-shrink: 0;
  display: flex;
  height: 40px;
  overflow: hidden;
}

.menu-syousai{
  margin-bottom: 40px;
}


.menu-syousai h4{
  align-items: center;
}

.table th, table td {
  border: 0px none;
  text-align: center;
  padding: 30px;
}

.menu1{
  text-align: left;
  padding: 30px;
}



.td-first{
  width: 65%;
  text-align: left;
  font-size: 20px;
}

.kensyu {
  text-align: left;
  font-size: 20px;
}

.nedan{
  width: 17.5%;
  text-align: left;
  font-size: 15px; 
}




@media (max-width: 1220px) {
  
  .first-view{
    height: calc(80vh - 100px);
    background-image: url(../images/ヘッダー写真/TOP【長方形】.JPG);
    align-items: center;
  }

}

@media (max-width: 1000px) {
  
  .first-view{
    height: calc(80vh - 100px);
    background-image: url(../images/ヘッダー写真/TOP【正方形】.PNG);
    align-items: center;
  }

  .yoyaku{
    width: 350px;
  }

 

 .menu-bar{
  width: 300px;
  height: 20px;
  object-fit: cover;
  }

 .menu-course1{
  flex-direction: column;
  width: 350px;
 }
 
 .course1{
  width: 350px;
  }

 .menu-text {
   width: 300px;
   height: 300px;
 }
 
 .menu-text h2{
  width: 320px;
  font-size: 20px;
 }

 .lead p{
  width: 350px;
  font-size: 15px;
  padding-top: 10px;
 }

 .menu-syousai h4{
  font-size: 12px;
  width: 320px;
}

 .table th, table td {
  border: 0px none;
  text-align: center;
  padding: 15px;
  }

 .menu1{
  padding: 0px;
 } 

 .menu1 h3{
  font-size: 15px;
 } 

 .kensyu {
  text-align: left;
  padding: 0px;
  font-size: small;
  }

  .td-first{
    text-align: left;
    font-size: small;
  }
}

.modal-content {
  background-color: #fefefe;  /* モーダルウィンドウの背景色 */
  margin: 40% auto;
  padding: 10px;
  border: 1px solid #888888;
  width: 50%;  /* モーダルウィンドウの横幅 */
}

