/* html共通部分 */
body {
  font-family: "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ヘッダー */
header {
  background-color: #1e3d59;
  color: #fff;
  padding: 20px 40px;
}

.header-wrapper {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

header h1 a {
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 80px;
  margin: 0;
  margin-right: 40px;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

nav a:hover {
  color: #ff9800;
}

nav a.active {
  color: #e88e00;
  pointer-events: none;
  cursor: default;
}

footer {
  background-color: #1e3d59;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

div h1 a {
  text-decoration: none;
}

/* ロゴ画像のスタイル追加 */
.logo-icon {
  height: 50px;
  vertical-align: middle;
  margin-right: 5px;
}

.hero-button {
  display: inline-block;
  background-color: #ff9800;
  color: #fff;
  padding: 15px 60px;
  font-size: 1.5em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 20px;
    margin: 20px 0 0;
  }

  .header-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  header h1 {
    font-size: 2em;
  }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* ========= index.html========= */
.hero {
  position: relative;
  background-color: #f4f4f4;
  /* 必要なら背景色 */
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 960px;
  margin: 0 auto;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #1e3d59;
}

.hero a {
  margin-top: 30px;
}

.info-section {
  background-color: #fff;
  margin: 40px 0;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-section h3 {
  font-size: 2.2em;
  margin-bottom: 50px;
  text-align: center;
}

.info-section ul {
  font-size: 1.3em;
  text-align: left;
  list-style-position: inside;
  padding-left: 0;
  margin: 0 auto;
  max-width: 800px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 1rem;
    margin-top: 50px;
  }

  .hero .hero-button {
    padding: 10px 40px;
    font-size: 1.0rem;
  }

  .info-section h3 {
    font-size: 1.5rem;
    margin-bottom: 50px;
    text-align: center;
  }

  .info-section ul {
    font-size: 0.6rem;
    text-align: left;
    list-style-position: inside;
    padding-left: 0;
    margin: 0 auto;
  }

  .developer-info p {
    font-size: 0.7rem;
  }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* ========= about.html========= */

#about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.about-image {
  width: 100%;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 800px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: contain;
  display: block;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #1e3d59;
  margin-bottom: 20px;
  text-align: center;
}

.about-text p {
  max-width: none;
  white-space: nowrap;
  overflow-x: auto;
  font-size: 1.5em;
  color: #444;
  margin: 0 auto;
  text-align: center;
  line-height: 2.3;
}

.features-section {
  width: 100%;
  padding: 80px 0;
  background-color: #fff;
}

.features-section h2 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-top: 60px;
  margin-bottom: 20px;
  border-left: 4px solid #3f80ea;
  padding-left: 12px;
  text-align: left;
}

.features-list,
.target-list {
  list-style: none;
  padding-left: 1.5em;
  margin-bottom: 40px;
}

.features-list li,
.target-list li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.6;
}

.features-list li::before,
.target-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #3f80ea;
  font-weight: bold;
}

.features-image,
.target-image {
  text-align: center;
  margin-bottom: 60px;
}

.features-image img,
.target-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta {
  background-color: #f0f6ff;
  padding: 20px 30px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
}

.cta h3 {
  font-size: 1.2rem;
  color: #3f80ea;
  margin-bottom: 8px;
}

.cta h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 12px;
  margin-top: 30px;
  text-align: center;
}

.cta p {
  font-size: 1rem;
  color: #333;
}

.target-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 800px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: contain;
  display: block;
}

.hero-button {
  display: inline-block;
  background-color: #ff9800;
  color: #fff;
  padding: 15px 60px;
  font-size: 1.5em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.hero-button:hover {
  background-color: #e88e00;
}

@media (max-width: 768px) {

  #about .about-image img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
    margin: 0 auto;
  }

  #about .about-text h2 {
    font-size: 2.0rem;
    text-align: center;
  }

  #about .about-text p {
    font-size: 0.7rem;
    max-width: 100%;
    text-align: center;
  }

  #features-section h2 {
    font-size: 1.5rem;
  }

  #features-section li {
    font-size: 0.8rem;
  }

  .cta .hero-button {
    padding: 10px 40px;
    font-size: 1.0rem;
  }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* ========= search.html========= */

#weather-form {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

#weather-form button {
  background-color: #1e3d59;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
}

#weather-form button:hover {
  background-color: #ff9800;
}

.weather-day {
  margin-bottom: 2rem;
}

.weather-day h3 {
  margin-bottom: 1rem;
  border-left: 4px solid #0077cc;
  padding-left: 0.5rem;
  font-size: 1.2rem;
  color: #333;
}

.weather-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.weather-card {
  background: #f4f8ff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  min-width: 150px;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.2s;
}

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

.weather-card img {
  width: 60px;
  height: 60px;
}

.search-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 960px;
  margin: 70px auto;
}

.search-container h1 {
  text-align: center;
}

.search-container form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-container input,
.search-container button {
  padding: 10px;
  font-size: 16px;
}

.search-results {
  margin-top: 50px;
  display: none;
}

/* ========= ハンバーガーメニュー ========= */
/* PCでは非表示 */
.hamburger {
  display: none;
  font-size: 2em;
  cursor: pointer;
  color: white;
}

/* スマホでは表示 */
@media (max-width: 1200px) {
  .hamburger {
    display: block;
    font-size: 30px;
    background: none;
    color: white;
    cursor: pointer;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: 0;
    height: calc(100% - 60px);
    background-color: #1e3d59;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    flex-direction: column;
    overflow-y: auto;
    display: flex;
    z-index: 1000;
  }

  .nav-menu.open {
    display: block;
    transform: translateX(0);
    margin-top: 22px;
  }

  .nav-menu ul {
    display: flex;
    flex-direction: column;
    background-color: #1e3d59;
    padding: 0;
    margin: 0;
    gap: 0;
  }

  .nav-menu ul li {
    text-align: center;
    padding: 15px 20px;
  }

  .header-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ================================================== */

/* ========= contact.html========= */
.contact-container {
  max-width: 600px;
  margin: 60px auto;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.contact-container h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: #1e3d59;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e3d59;
  outline: none;
}

.contact-form button {
  display: block;
  width: 100%;
  margin-top: 30px;
  padding: 14px;
  font-size: 16px;
  background-color: #1e3d59;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-container button:hover {
  background-color: #1582e1;
}

@media screen and (max-width: 600px) {
  .contact-container {
    margin: 20px;
    padding: 24px;
  }
}

/* ================================================== */

/* ========= thanks.html========= */
.thanks-container {
  max-width: 600px;
  margin: 100px auto;
  padding: 40px;
  background-color: #f0f8ff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.thanks-container h1 {
  font-size: 2rem;
  color: #0077b6;
  margin-bottom: 20px;
}

.thanks-container p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.back-to-home {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  color: #fff;
  background-color: #0077b6;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.back-to-home:hover {
  background-color: #005f87;
}

/* ================================================== */
