@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
body {
  font-size: 16px;
  margin: 0;
  padding: 0 2vw;
  font-family: serif;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  box-shadow: 0px 5px 10px 0px #aaa;
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  opacity: 0.9;
  height: 70px;
  z-index: 12;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 64px;
  align-items: center;
  text-align: right;
}
.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  color: #117964;
  transition: color 0.3s ease-in-out;
}

.logo {
  order: 1;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    right: 5px;
    text-align: right;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  /* ......./ food /......... */

  .food-container {
    flex-direction: column;
    align-items: stretch;
  }

  .food-type:not(:last-child) {
    margin-bottom: 3rem;
  }

  .food-type {
    box-shadow: 5px 5px 10px 0 #aaa;
  }

  .img-container {
    margin: 0;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 65%;
  }

  .navbar .menu-items li{
      font-size: 1.6rem;
  }

  .testimonial-container {
    flex-direction: column;
    text-align: center;
  }

  .food-menu-container img {
    margin: auto;
  }

  .food-menu-item {
    flex-direction: column;
    text-align: center;
  }

  .form-container {
    width: 90%;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  .contact-img {
    width: 90%;
    margin: 3rem auto;
  }

  .logo {
    position: absolute;
    top: 06px;
    right: 15px;
    font-size: 3rem;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 500;
  }
}

@media (min-width: 1200px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem;
  }

  .img-container .btn {
    font-size: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }
}
ul {
  display: flex;
}
li {
  list-style: none;
  margin: 10px 10px 0 10px;
}
a {
  display: block;
  text-decoration: none;
  color: #000;
  margin-right: 35px;
  font-size: 23px;
}

.sp_br {
    display: none; 
  @media screen and (max-width: 768px) {
    .sp_br {
      display: block; 
    }
  }}
  
  
  
  #content {
    background: url(images/pattern-diamond.png);
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #content-wrap {
    margin: 0 auto;
  }
  #sidebar {
    text-align: center;
  }
  footer {
    background-color: #0088ab;
    text-align: center;
    padding: 30px 0;
  }
  
  .container > h3 {
    color: #fff;
  }
  
  footer p {
    padding: 15px 0;
    color: white;
  }
  #catchphrase {
    margin-bottom: 0;
    padding-bottom: 0.5rem;
    font-size: 13px;
  }


  .Principal {
    background-image:url(images/master.jpg) ;
    background-repeat: no-repeat;
    background-size:70vw ;
    background-position: top 60px left 60px;
    padding: 10px;
    color: #575757;
    height: 400px;
  }

  h1 {
    font-size: 70px;
    margin-left: 10px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 25px;
    margin-left: 10px;
  }

  p {
    font-size: 15px;
  }

  .yamada {
    padding: 10px;
    color: #575757;
  }

    .teacher {
    background-image:url(images/IMG_0929.JPG) ;
    background-repeat: no-repeat;
    background-size: 200% ;
    background-position: top 60px right 20px;
    padding: 10px;
    height: 300px;
    color: #575757;
  }

  :root {
    --primary-color: #0094b9;
    --secondary-color: #00b900;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
}

body {
    font-family: 'Segoe UI', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.Container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.teachers-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
}

.teachers-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.teachers-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* フィルター */
.teacher-filter {
    margin-bottom: 30px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* 講師グリッド */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.teacher-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: white;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-img img {
    transform: scale(1.05);
}

.subject-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.subject-badges span {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.math { background-color: #e74c3c; }
.english { background-color: #3498db; }
.science { background-color: #2ecc71; }
.kokugo { background-color: #9b59b6; }
.social { background-color: #f39c12; }
.syouron { background-color: #585858; }

.teacher-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.teacher-info h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.teacher-info h3 span {
    font-size: 1rem;
    color: var(--primary-color);
    margin-left: 10px;
}

.teacher-bio {
    margin: 0 0 15px;
    color: var(--text-light);
    flex-grow: 1;
}

.teacher-details {
    margin-top: 15px;
    font-size: 0.9rem;
}

.teacher-details p {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.teacher-details i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* 講師メッセージ */
.teacher-message {
    background-color: var(--light-color);
    padding: 60px 0;
}

.teacher-message h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-size: 2rem;
}

.message-Container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.message-video {
    flex: 1;
    min-width: 300px;
}

.message-video iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.message-text {
    flex: 1;
    min-width: 300px;
}

.message-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-contact {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-contact:hover {
    background-color: #00a500;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 185, 0, 0.3);
}

/* フッター */
.teachers-footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.teachers-footer p {
    margin: 5px 0;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .teacher-img {
        height: 200px;
    }
    
    .filter-options {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

        .message-video iframe {
        height: 300px;
    }
    
    .teachers-header h1 {
        font-size: 2rem;
    }
}

@media (min-width: 768px){
  .content1 {
    margin-left: 60px;
  }
  .Principal {
    background-position: top 60px left 120px;
    background-size: 50vw;
  }
}

@media (max-width: 480px) {
    .teachers-header {
        padding: 40px 0;
    }
    
    .teacher-info h3 {
        font-size: 1.3rem;
    }
    
    .teacher-details {
        font-size: 0.8rem;
    }
    
    .message-video iframe {
        height: 250px;
    }

    .Principal {
      height: 250px;
    }

    .content1 {
      margin-left: 0px;
    }
}