:root {
  --main-dark: #2b2f33;
  --accent-red: #c00000;
  --light-gray: #f2f3f5;
}

/* =========================
   Base
========================= */

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

body {
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  background-color: var(--light-gray);
  color: #222;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* =========================
   Header
========================= */

.site-header {
 background:var(--main-dark);
color:#fff;
padding:12px 0;

position:fixed;
top:0;
left:0;
width:100%;
z-index:1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.main-nav a {
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #c00000;
}

.contact-btn {
  border: 1px solid #fff;
  padding: 6px 12px;
}
.logo img {
  height: 55px;
  width: auto;
}
/* SNS */

.sns {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.sns-icon {
  opacity: 0.7;
  transition: 0.3s;
}

.sns-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* PHONE */

.header-contact a {
  color: white;
  font-weight: bold;
}
/* =========================
   Hero
========================= */

.hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-text {
  position: absolute;
  bottom: 60px;
  left: 10%;
  color: #fff;
}

.hero-text h1 {
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* =========================
   Card Grid
========================= */

.navigation {
  padding: 80px 0;
}

.navigation h2 {
  font-size: 1.5rem;
  margin-bottom: 40px;
  border-left: 5px solid #c00000;
  padding-left: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  padding-bottom: 20px;
  border: 1px solid #ddd;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #c00000;
}

.card h3 {
  padding: 15px;
  font-size: 1.1rem;
}

.card p {
  padding: 0 15px;
  font-size: 0.9rem;
  color: #555;
}

/* =========================
   Information
========================= */

.information {
  background: #e9ecef;
  padding: 80px 0;
}

.information h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  border-left: 5px solid #c00000;
  padding-left: 15px;
}

.news-list {
  list-style: none;
}

.news-list li {
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
  font-size: 0.95rem;
}

.news-list time {
  display: inline-block;
  width: 120px;
  color: #888;
}

/* =========================
   Certification
========================= */

.certification {
  padding: 80px 0;
  text-align: center;
}

.certification h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.cert-logos {
  background: white;
  padding: 40px 0;
  text-align: center;
}

.cert-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.cert-inner img {
  height: 90px;
  object-fit: contain;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  border: 1px solid #111;
  transition: 0.3s;
}

.btn:hover {
  background: var(--main-dark);
  color: #fff;
}

/* =========================
   Footer
========================= */

.site-footer {
    background: #222;
    color: #fff;
    padding: 5px 0;
    margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-nav a {
  margin-right: 15px;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: #666;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero {
    height: 300px;
  }

  .hero-text {
    bottom: 30px;
  }

}
/* =========================
   Hamburger
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #fff;
}

/* SNS */

.sns a {
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-bottom: 1px solid #555;
  padding-bottom: 3px;
  transition: 0.3s;
}

.sns a:hover {
  color: #c00000;
  border-color: #c00000;
}

.sns-icon {
  opacity: 0.7;
  transition: 0.3s;
}

.sns-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}


/* 電話番号 */

.header-contact a {
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}

/* =========================
   Responsive Menu
========================= */

@media (max-width: 900px) {

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #111;
    padding: 80px 20px;
    transition: 0.4s;
  }

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

  .main-nav.active {
    right: 0;
  }

}
/* =========================
   company
========================= */
.page-hero {
  background: #343a40;
  color: white;
  padding: 80px 0;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.content-section {
  padding: 60px 0;
  background: #fff;
}

.content-section h2 {
  margin-top: 50px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-red);
  padding-left: 15px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.company-table th,
.company-table td {
  border-bottom: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.history-list {
  margin-top: 20px;
  line-height: 1.8;
}
/* =========================
  product
========================= */
.spec-table {
  width:100%;
  border-collapse: collapse;
  font-size:0.9rem;
}

.spec-table th,
.spec-table td {
  border-bottom:1px solid #ddd;
  padding:10px;
}

.table-wrap {
  overflow-x:auto;
  margin-bottom:40px;
}

.cta-box {
  background:#f8f8f8;
  padding:40px;
  text-align:center;
  margin-top:60px;
}

.btn-primary {
  display:inline-block;
  padding:12px 30px;
  background:var(--accent-red);
  color:white;
  text-decoration:none;
}
/* =========================
  access
========================= */
.location-nav {
  text-align:center;
  margin-bottom:40px;
}

.location-nav a {
  margin:0 15px;
  text-decoration:none;
  color:var(--accent-red);
  font-weight:bold;
}

.location-block {
  margin-bottom:80px;
}

.location-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}

.access-info ul {
  padding-left:20px;
  line-height:1.8;
}

@media (max-width:768px) {
  .location-grid {
    grid-template-columns:1fr;
  }
}
/* =========================
  mail
========================= */
.required {
    color: #cc0000;
    margin-left: 4px;
}

.form {
    width: 100%;
    border-collapse: collapse;
}

.form th {
    text-align: left;
    padding: 15px 10px 5px 0;
    vertical-align: top;
    width: 200px;
}

.form td {
    padding: 10px 0;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
    width: 100%;
    max-width: 480px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.form textarea {
    resize: vertical;
}

.form label {
    display: inline-block;
    margin-right: 15px;
}

.formBtn {
    margin-top: 20px;
}

.formBtn button {
    background: #1e73be;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.formBtn button:hover {
    opacity: 0.85;
}
.site-footer p {
    margin: 0;          /* ← これ重要 */
    font-size: 13px;
    line-height: 1.4;   /* 行間も締める */
    text-align: center;
}
/* =========================
  recruit
========================= */
/* --- YouTubeレスポンシブ --- */
.movie {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- 採用リンク --- */
.recruit-links {
    list-style: none;
    padding: 0;
}

.recruit-links li {
    margin-bottom: 10px;
    font-size: 16px;
}

.recruit-links a {
    color: #1e73be;
    text-decoration: none;
    font-weight: bold;
}

.recruit-links a:hover {
    text-decoration: underline;
}
.intro-text {
    margin-bottom: 15px;
    line-height: 1.8;
}

.movie {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.recruit-links {
    list-style: none;
    padding: 0;
}

.recruit-links li {
    margin-bottom: 10px;
    font-size: 16px;
}

.recruit-links a {
    color: #1e73be;
    text-decoration: none;
    font-weight: bold;
}

.recruit-links a:hover {
    text-decoration: underline;
}
/* =========================
   製品スペック表
========================= */

.spec-table{
width:100%;
border-collapse:collapse;
margin:25px 0;
font-size:14px;
background:#fff;
box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.spec-table th{
background:#2c3e50;
color:#fff;
padding:12px;
text-align:center;
font-weight:600;
letter-spacing:0.05em;
}

.spec-table td{
padding:10px;
border-bottom:1px solid #e5e5e5;
text-align:center;
}

.spec-table tr:nth-child(even){
background:#f8f9fb;
}

.spec-table tr:hover{
background:#eef3ff;
transition:0.2s;
}

/* 横スクロール防止 */
.table-wrap{
overflow-x:auto;
}

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

.spec-table{
font-size:13px;
}

.spec-table th,
.spec-table td{
padding:8px;
}

}
/* =========================
製品ページ 共通
========================= */

.product-block{
margin-bottom:60px;
}

.product-block h2{
font-size:28px;
margin-bottom:10px;
border-left:5px solid #c40000;
padding-left:12px;
}

.product-block h3{
font-size:20px;
margin:30px 0 10px;
}

.lead{
color:#555;
margin-bottom:20px;
}

.spec-table td{
letter-spacing:0.03em;
}

/* =========================
テーブルラップ（スマホ対応）
========================= */

.table-wrap{
overflow-x:auto;
margin:20px 0;
}


/* =========================
製品スペック表
========================= */

.spec-table{
width:100%;
border-collapse:collapse;
background:#fff;
font-size:14px;
min-width:600px;
}

.spec-table th,
.spec-table td{
padding:12px 14px;
border:1px solid #ddd;
text-align:center;
}

.spec-table th{
background:#2c3e50;
color:#ffffff;
font-weight:600;
}

.spec-table tr:nth-child(even){
background:#fafafa;
}

.spec-table tr:hover{
background:#f1f7ff;
}


/* =========================
補足説明
========================= */

.spec-note{
font-size:14px;
color:#666;
margin-bottom:10px;
}


/* =========================
画像
========================= */

.responsive-img{
max-width:100%;
height:auto;
display:block;
margin:30px auto;
}


/* =========================
問い合わせCTA
========================= */

.cta-box{
background:#f7f7f7;
padding:40px;
text-align:center;
margin-top:60px;
border-radius:6px;
}

.cta-box h3{
margin-bottom:10px;
}

.btn-primary{
display:inline-block;
background:#c40000;
color:#fff;
padding:14px 26px;
margin-top:15px;
text-decoration:none;
border-radius:4px;
font-weight:bold;
transition:0.3s;
}

.btn-primary:hover{
background:#9f0000;
}
h1,h2,h3{
letter-spacing:0.05em;
}
.product-block h3{
  margin-top:35px;
  font-size:20px;
  border-left:4px solid #0a4aa3;
  padding-left:10px;
}
/* =========================
   製品ナビ
========================= */

.product-nav{
background:#f5f5f5;
border-bottom:1px solid #ddd;
}

.product-nav ul{
display:flex;
justify-content:center;
gap:40px;
padding:15px 0;
margin:0;
list-style:none;
}

.product-nav a{
text-decoration:none;
color:#333;
font-weight:600;
font-size:15px;
padding:6px 10px;
border-bottom:2px solid transparent;
transition:0.2s;
}

.product-nav a:hover{
color:#000;
border-bottom:2px solid #000;
}

/* スマホ */

@media (max-width:768px){

.product-nav ul{
flex-wrap:wrap;
gap:15px;
}

}
html{
scroll-behavior:smooth;
}
/* 製品テーブル修正 */
.tableE th{
background:#0f3a5f;
color:#ffffff;
}

.tableE td{
background:#ffffff;
color:#333333;
}

.tableE{
border-collapse:collapse;
width:100%;
}

.tableE th,
.tableE td{
border:1px solid #d0d7de;
padding:8px 10px;
text-align:center;
}