* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}

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

/* HEADER */
header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* ★ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
}

.logo { width: 340px; }

/* ナビ */
nav {
  z-index: 999;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
}

/* HERO */
.hero {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
}

.hero-text {
  position: absolute;
  right: 60px;
  top: 140px;
  color: white;
  text-align: right;
}

.catch {
  font-size: 22px;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-logo {
  width: 420px;
}

/* CTA */
.hero-cta {
  text-align: center;
  margin: 60px 0;
}

.cta-btn {
  display: inline-block;
  padding: 25px 100px;
  background: linear-gradient(90deg,#1e3a5f,#2b6cb0);
  color: white;
  border-radius: 50px;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* SECTION */
section {
  padding: 100px 0;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #2b6cb0;
  margin: 15px auto 0;
}

/* FEATURES */
.features {
  display: flex;
  gap: 80px;
  justify-content: center;
}

.feature-item {
  text-align: center;
  max-width: 300px;
}

.feature-item h3 {
  font-size: 24px;
}

.feature-item p {
  font-size: 16px;
}

.icon {
  width: 230px;
  height: 230px;
  background: #f5f7fa;
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img { width: 100px; }

/* 安全セクション */
.safety {
  background: #f7f9fc;s
}

.safety .icon {
  background: none;
  width: auto;
  height: auto;
}

.safety .icon img {
  width: 220px;
}

.safety-list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 80px;
}

.safety-item {
  text-align: center;
  max-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}


.safety-item {
  width: 300px; /* ←固定幅にするのがポイント */
}


.safety-item h3 {
  margin-top: 15px;
}

.safety-item p {
  margin-top: 5px;
}

/* SERVICE */
.service-list {
  display: flex;
  gap: 70px;
  justify-content: center;
}

.service-item {
  text-align: center;
}

.service-item img {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
}

/* CONTACT */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 320px;
  height: 70px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}

.btn img { width: 42px; }

.line { background: #06C755; }
.mail { background: #1e3a5f; }

/* FOOTER */
footer {
  background: #1e3a5f;
  color: white;
  padding: 60px 20px;
}

.footer-inner {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  width: 45%;
}

.footer-form {
  width: 45%;
}

.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-form input,
.footer-form textarea {
  padding: 10px;
  font-size: 14px;
}

.footer-form button {
  padding: 10px;
  background: #28a745; /* 緑 */
  color: #fff;
  border: none;
  cursor: pointer;
}


/* MAP */
.map {
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 40px;
}

.map iframe {
  width: 100%;
  height: 300px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
}

/* MOBILE */
@media (max-width:768px){

  .logo { width: 220px; }

  .cta-btn {
    font-size: 18px;
    padding: 18px 50px;
  }

  .features,
  .service-list,
  .safety-list {
    flex-direction: column;
    align-items: center;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    text-align: center;
    padding: 20px 0;
    z-index: 999;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  nav.active {
    display: block;
  }

  .hamburger {
    display: flex;
    z-index: 10000;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .btn {
    width: 90%;
    justify-content: center;
  }

  .footer-form {
    padding: 0 10px;
  }

  .footer-inner {
    flex-direction: column;
  }
	
 .footer-left,
  .footer-form {
    width: 100%;
  }

  .footer-form {
    padding: 0; /* ← これ重要 */
  }



  .hero-text {
    top: 40px;
    right: 15px;
  }

  .catch {
    font-size: 14px;
  }

  .hero-logo {
    width: 220px;
  }

  section {
    padding: 40px 0;
  }
}