/* ヘッダー */
.header {
  background: #fff;
  border-bottom: 1px solid var(--sub-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

/* ロゴ */
.logo-img {
  width: 180px;
  height: auto;
  display: block;
}

/* ナビ */
.nav {
  display: none;
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
}

/* ログインボタン */
.login-btn {
  background: #3e3a3a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* キャンペーンバー */
.campaign-bar {
  background: #3e3a3a;
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: bold;
}

.campaign-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

/* PC表示 */
@media (min-width: 768px) {
  .nav {
    display: block;
  }
}

/* サイトマップ */

.breadcrumb {
  max-width: 1000px;   /* 会社概要と同じ幅 */
  margin: 30px auto 20px;
  padding: 0 20px;
  text-align: left;    /* センターやめる */
  font-size: 14px;
}

.breadcrumb a {
  color: #3e3a3a;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
  color: #666;
}


/* フッター */


.footer {
  background: #3e3a3a;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-row a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  text-align: center;
}

.footer-copy p {
  font-size: 12px;
  color: #ccc;
}

.footer-logo-img {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  display: block;
}

/* ハンバーガー */

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #3e3a3a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
  }

  .logo {
    flex: 1;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    z-index: 9999;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #3e3a3a;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* ----------------基本CSS -----------------------------------*/


.company {
  padding: 60px 20px;
  background: #fff;
}
.company-heading {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.company-heading h1 {
  font-size: 36px;
  color: #3e3a3a;
  margin-bottom: 15px;
  line-height: 1.4;
}

.company-heading p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.company-title {
  text-align: center;
  font-size: 32px;
  color: #3e3a3a;
  margin-bottom: 40px;
}

.company-table {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
}

.company-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}

.company-row .label {
  width: 260px;
  background: #e6e5ef;
  padding: 18px;
  font-weight: bold;
  color: #3e3a3a;
}

.company-row .value {
  flex: 1;
  padding: 18px;
  color: #333;
  line-height: 1.8;
}

.company-row a {
  color: #3e3a3a;
  text-decoration: underline;
}


/* 工場ネットワーク全体 */
.factory {
  padding: 60px 20px;
  background: #e6e5ef;
  text-align: center;
}

/* タイトル */
.factory h2 {
  font-size: 32px;
  color: #3e3a3a;
  margin-bottom: 30px;
}

/* リスト全体 */
.factory-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 700px;
}

/* 各項目 */
.factory-list li {
  background: #fff;
  margin-bottom: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 18px;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ボタン */
.factory-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #3e3a3a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}

.factory-btn:hover {
  opacity: 0.85;
}

/* スマホ対応 */
@media (max-width: 768px) {

  .factory {
    padding: 50px 15px;
  }

  .factory h2 {
    font-size: 26px;
    line-height: 1.4;
  }

  .factory-list li {
    font-size: 16px;
    padding: 14px 16px;
  }

  .factory-btn {
    width: 90%;
    max-width: 320px;
    padding: 14px 0;
  }

}



/* ごあいさつ */
.greeting {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
}

.greeting-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #3e3a3a;
}

.greeting p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 2;
  color: #555;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company-row {
    flex-direction: column;
  }

  .company-row .label {
    width: 100%;
  }

  .company-title {
    font-size: 26px;
  }
}

/* マップ */

.map {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.map-title {
  font-size: 28px;
  color: #3e3a3a;
  margin-bottom: 30px;
}

.map-box {
  max-width: 1000px;
  margin: 0 auto;
}

.map-box iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .map-box iframe {
    height: 300px;
  }
}




