*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
}

header {
  background: #003366;
  color: white;
  padding: 1rem 0;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: auto;
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.site-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.logo-link {
  text-decoration: none;
}

.logo-link:hover {
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav .nav-list {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
  }

  nav .nav-list.active {
    display: flex;
  }

  nav .nav-list li {
    text-align: center;
    padding: 1rem 0;
  }
}

.hero-banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-img {
  width: 90%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 8px;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .hero-text {
    padding: 1rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }
}

section {
  padding: 2rem 0;
}

section h2 {
  position: relative;
  display: block;
  padding-bottom: 0.4em;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 3px solid #002B5C;
}

.contact-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  flex-wrap: wrap;
}

.contact-subtext {
  font-size: 0.95rem;
  color: #555;
  font-weight: normal;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 0.7rem;
  border: none;
  background: #111;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #333;
}

.business-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.business-text {
  flex: 1 1 300px;
}

.business-image {
  flex: 1 1 300px;
}

.business-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .business-container {
    flex-direction: column;
  }
}

.business-images {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.business-images img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid #ccc;
}

.placeholder-box {
  background-color: #fff;
  color: white;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

@media (max-width: 600px) {
  .business-images {
    flex-direction: column;
    align-items: center;
  }

  .placeholder-box {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
}

.brand-list {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.brand-item {
  flex: 0 0 45%;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  min-width: 280px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.brand-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 1rem;
}

.brand-item h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.brand-item p {
  font-size: 0.95rem;
  color: #333;
}

.brand-item a {
  text-decoration: none;
  color: inherit;
}

.brand-item a:hover {
  text-decoration: none;
}

.company-info {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.company-info th,
.company-info td {
  border: 1px solid #fff;
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.company-info th {
  background-color: #fff;
  width: 25%;
  font-weight: bold;
}

@media (max-width: 600px) {
  .company-info,
  .company-info thead,
  .company-info tbody,
  .company-info th,
  .company-info td,
  .company-info tr {
    display: block;
    width: 100%;
  }

  .company-info tr {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
  }

  .company-info th {
    background: #f0f0f0;
    padding: 0.6rem;
    font-weight: bold;
  }

  .company-info td {
    padding: 0.6rem;
    background: #fff;
    border-top: none;
  }
}

/* ===== フッター ===== */
footer {
  background: #003366;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

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

.footer-logo {
  font-weight: bold;
}

.footer-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  position: absolute;
  right: 10px;
  top: 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin: 0 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
  /* ヘッダー */
  .nav-list {
    display: none;
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    padding: 10px 0;
  }

  .nav-list.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* フッター */
  .footer-nav {
    display: none;
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 200px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    padding: 10px 0;
  }
  }

  .footer-nav.active {
    display: flex;
  }

  .footer-toggle {
    display: block;
  }

/* ハンバーガーメニュー非表示（デフォルト） */
.nav-list {
  display: none;
  flex-direction: column;
  gap: 10px;
}

/* ハンバーガーメニューがアクティブになったら表示 */
.nav-list.active {
  display: flex;
}

/* PC表示時は常に表示 */
@media (min-width: 768px) {
  .nav-list {
    display: flex !important;
    flex-direction: row;
    gap: 20px;
  }
  .menu-toggle {
    display: none;
  }
}
/* お問い合わせフォーム */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-btn {
  margin-top: 15px;
  padding: 12px 30px;
  background-color: #1a1a1a; /* サイト基調の濃い色 */
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

.contact-btn:hover {
  background-color: #444;
}

/* メッセージデザイン */
.form-message {
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.form-message.success {
  background-color: #e6f7ee;
  color: #2d8a4e;
  border: 1px solid #2d8a4e;
}

.form-message.error {
  background-color: #fdeaea;
  color: #c0392b;
  border: 1px solid #c0392b;
}

.form-message.captcha_error {
  background-color: #fff8e6;
  color: #b36b00;
  border: 1px solid #b36b00;
}
/* =========================================================
   お問い合わせフォーム専用スタイル
   ========================================================= */

/* フォームタイトル */
.page-title {
  font-size: 1.6em;
  font-weight: bold;
  margin: 1.5em 0;
  padding: 0.3em 0.5em;
  border-left: 4px solid #003366;
  color: #003366;
}

/* フォーム全体 */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

/* 入力テーブル */
.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

.form-table th,
.form-table td {
  padding: 0.8em;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
}

.form-table th {
  width: 25%;
  text-align: left;
  background-color: #f5f5f5;
  font-weight: normal;
  color: #333;
}

/* 入力項目 */
.form-table input[type="text"],
.form-table input[type="email"],
.form-table textarea {
  width: 95%;
  padding: 0.6em;
  border: 1px solid #003366;  /* コーポレートカラーに変更 */
  border-radius: 0;           /* 角を四角に */
  font-size: 1em;
  box-sizing: border-box;
}

/* reCAPTCHAエリア */
.g-recaptcha {
  margin-top: 0.5em;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 1.5em;
}

.form-submit .btn {
  background-color: #003366;
  color: #fff;
  padding: 0.8em 2.2em;
  border: none;
  border-radius: 0;  /* 四角ボタン */
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}

.form-submit .btn:hover {
  background-color: #0055a5;
}

/* メッセージ表示 */
.form-message {
  padding: 1em;
  margin-bottom: 1.5em;
  border-radius: 4px;
  font-size: 0.95em;
}

.form-message.success {
  background-color: #e6f5e6;
  color: #006600;
  border: 1px solid #99cc99;
}

.form-message.error {
  background-color: #fcebea;
  color: #cc0000;
  border: 1px solid #f5b5b5;
}

.form-message.captcha_error {
  background-color: #fff8e1;
  color: #996600;
  border: 1px solid #ffd966;
}

/* レスポンシブ対応 */
@media screen and (max-width: 600px) {
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }
  .form-table th {
    background-color: transparent;
    border-bottom: none;
    font-weight: bold;
    margin-top: 1em;
  }
  .form-table td {
    border-bottom: 1px solid #ccc;
  }
}
/* お問い合わせ見出しの文字を黒に */
#contact .contact-heading {
  color: #000;
}

    