@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f4f4;
  padding-top: 80px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #f4f4f4; /* ← ページ全体と調和させた */
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  z-index: 1000;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.logo {
  font-size: 24px;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

nav a {
  color: #333;
  text-decoration: none;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  margin-left: auto;
  padding-right: 10px;
  z-index: 1001;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: #63768D;
  color: #fff;
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin-top: 60px;
}

.nav-menu li {
  margin: 20px 0;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.close-btn {
  font-size: 30px;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  /* 背景削除 */
  padding: 20px 40px;
  font-size: 36px;
  color: #fff;
  border-radius: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out 1.5s forwards;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4); /* 文字を見やすくするための影だけ残す */
}

.services {
  padding: 50px 20px;
  text-align: center;
  background: #eaeaea;
}

.services h2 {
  margin-bottom: 20px;
  color: #50667A;
  font-size: 28px;
}

.service-box {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-box .box {
  background: #f0f0f0;
  padding: 40px;
  flex: 1;
  min-width: 200px;
}

.about,
.map,
.contact {
  padding: 50px 20px;
  background: #f4f4f4;
}

.about h2,
.map h2,
.contact h2 {
  color: #50667A;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact label {
  margin-top: 10px;
}

.contact input,
.contact textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact button {
  margin-top: 20px;
  padding: 10px;
  background: #63768D;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #89A3BF;
}

footer {
  background: #ffffff; /* 全体の背景と揃えるなら白に */
  color: #333;
  text-align: center;
  padding: 10px 0; /* ← 太さ調整ここ！ */
  font-size: 14px;  /* ← テキストサイズも調和させる */
  border-top: 1px solid #ddd;
}
.news {
  background: #f0ede9;
  padding: 60px 20px;
  text-align: center;
}

.news h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #50667A;
  position: relative;
  display: inline-block;
}

.news h2 .en {
  font-size: 16px;
  font-weight: bold;
  background-color: #63768D;
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  margin-right: 10px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
}

.news-list li {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.6;
}

.news-list .date {
  color: #666;
  margin-right: 10px;
  font-weight: bold;
  font-size: 14px;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 28px;
  }

  .service-box {
    flex-direction: column;
  }

  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-buttons a {
    width: 80%;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  .nav-menu {
    display: flex;
    position: static;
    background: none;
    width: auto;
    height: auto;
    padding: 0;
    align-items: center;
  }

  .nav-menu ul {
    display: flex;
    gap: 20px;
    margin: 0;
  }

  .nav-menu li {
    margin: 0;
  }

  .close-btn {
    display: none;
  }
}

.hero-recruit {
  background: url('images/recruit-main.jpg') center/cover no-repeat;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-recruit .overlay {
  background: rgba(0,0,0,0.5);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
}

.recruit-content {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.recruit-content h1 {
  font-size: 32px;
  color: #50667A;
  margin-bottom: 20px;
}

.recruit-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #50667A;
}

.recruit-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recruit-content ul li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.btn-contact {
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 60px;
  padding: 12px 24px;
  background-color: #63768D;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-contact:hover {
  background-color: #89A3BF;
}

.recruit-message {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.recruit-message h2 {
  font-size: 22px;
  color: #50667A;
  margin-top: 40px;
  margin-bottom: 10px;
}

.recruit-message p,
.recruit-message ul {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-top: 10px;
}

.recruit-message ul {
  list-style: disc;
  padding-left: 20px;
}
.hero-recruit-text {
  background-color: #e5f1fa;
  padding: 80px 20px 40px;
  text-align: center;
}

.hero-recruit-text h1 {
  font-size: 36px;
  color: #2b4e6f;
  margin: 0;
}
.map {
  padding: 60px 20px;
  text-align: center;
  background-color: #e4ecf7;
}

.map h2 {
  font-size: 28px;
  color: #416a9b;
  margin-bottom: 20px;
}

.map .address {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.map-button {
  display: inline-block;
  background-color: #416a9b;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.map-button:hover {
  background-color: #365880;
}

.map-icon {
  margin-right: 8px;
}
/* ハンバーガーボタン調整 */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 28px;
  color: #ffffff; /* ← 白に変更 */
  cursor: pointer;
  z-index: 2000;
  background: transparent;
}

.menu-label {
  font-size: 12px;
  color: #ffffff; /* ← ラベルも白に */
  margin-top: 4px;
  font-weight: bold;
}

/* スマホ表示時 */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: #416a9b; /* ← 背景色濃く */
    color: #fff;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
  }

  .nav-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 60px;
  }

  .nav-menu li {
    margin: 20px 0;
  }

  .nav-menu a {
    color: #fff; /* ← メニュー文字色を白で明瞭に */
    text-decoration: none;
    font-size: 18px;
  }

  .close-btn {
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #fff;
  }
}
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 28px;
  color: #1f3b66; /* 濃いめのブルーに変更 */
  cursor: pointer;
  z-index: 1100;
  background-color: transparent;
}

.menu-label {
  font-size: 12px;
  color: #1f3b66;
  margin-top: 4px;
  font-weight: bold;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: #1f3b66; /* ナビの背景を濃く */
  color: #fff;
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.nav-menu a {
  color: #fff !important; /* 白で見えるように */
  text-decoration: none;
  font-size: 18px;
}
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFadeZoom 2s ease-out forwards;
  opacity: 0; /* 初期状態で非表示 */
  transform: scale(1.05); /* 少しズームして始まる */
}

@keyframes heroFadeZoom {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: heroFadeZoom 2s ease-out forwards;
  opacity: 0;
  transform: scale(1.05);
}

.hero h1 {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  font-size: 36px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out 1.5s forwards;
}

@keyframes heroFadeZoom {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 80px; /* 必要に応じて調整可 */
}
.about-us-box {
  background-color: #ebf4f8;
  color: #333;
  padding: 60px 20px;
  text-align: center;
}

.about-us-box h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-us-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-us-box .lead {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-us-box .desc {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-link {
  display: inline-block;
  border: 1px solid #333;
  padding: 12px 24px;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.about-link:hover {
  background-color: #ffffff;
  color: #4ba3db;
}
/* ハンバーガーメニュー内のリンク文字色 */
.nav-menu a {
  color: #333 !important;
  display: block;
  font-weight: bold;
  padding: 10px 0;
}

/* ナビメニュー背景の調整 */
.nav-menu {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  right: -100%;
  transition: right 0.3s ease;
  position: fixed;
  top: 0;
  height: 100%;
  width: 250px;
  padding: 20px;
  z-index: 1000;
}

/* ハンバーガーボタンの下の "menu" ラベル */
.menu-label {
  font-size: 12px;
  color: #333;
  text-align: center;
  margin-top: -4px;
}
