/* === common.css === */

body {
  font-family: "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background: #F0FAFE;
  color: #333;
}

a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  opacity: 0.8;
}

/* ヘッダー共通 */
.site-header {
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 19px;
  width: auto;
}

.logo-text {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
  align-items: center;
}

.menu a {
  margin-left: 20px;
  font-size: 0.95rem;
  color: #333;
}

.menu a:hover {
  color: #007bff;
}

/* セクション共通 */
.wrapper {
  max-width: 960px;
  margin: 60px auto 50px;
  padding: 0 20px;
}

.section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 5px solid #007bff;
  display: inline-block;
}

/* ヘッダー内検索フォーム */
.header-search-form {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 20px;
}

.header-search-form input {
  padding: 6px 10px;
  width: 24vw;
  border-radius: 13px;
  border: 1px solid #ccc;
  background-color: #E8EDF2;
  font-size: 0.85rem;
  text-align: center;
}

.header-search-form button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
}

.header-search-form button:hover {
  background-color: #0056b3;
}

@media screen and (max-width: 600px) {

  .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo-img {
    height: 22px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .menu {
    display: none;
  }

  .menu a {
    font-size: 0.9rem;
    margin-left: 0;
  }

  .header-search-form {
    width: 100%;
    margin: 0;
  }

  .header-search-form input {
    width: 50%;
  }

  .header-search-form button {
    width: 30%;
  }

  h2{
    margin-top: 80px;
  }
}

