@font-face {
  font-family: "IconFont";
  src: url("../assets/font/icon_font.ttf") format("truetype");
}
.icon {
  font-family: "IconFont";
  font-size: 2em;
}
:root {
  --dark-gray: #2C2C2C;
  --light-gray: #F2F2F2;
  --accent: #FF9147;
  --accent-hover: #FF7F2A;
  --bg-color: white;
  --text-color: #333;
  --card-bg: white;
  --card-text: #666;
  --nav-bg: white;
  --nav-shadow: rgba(0, 0, 0, 0.1);
  --card-shadow: rgba(0, 0, 0, 0.2);
  --overlay-color: rgba(0, 0, 0, 0.5);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #1e1e1e;
    --text-color: #f4f4f4;
    --card-bg: #2b2b2b;
    --card-text: #999;
    --nav-bg: #2b2b2b;
    --nav-shadow: rgba(0, 0, 0, 0.3);
    --card-shadow: rgba(0, 0, 0, 0.3);
    --overlay-color: rgba(0, 0, 0, 0.7);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body {
  background-color: var(--light-gray);
  color: var(--dark-gray);
}
nav {
  background: var(--nav-bg);
  box-shadow: 0 2px 10px var(--nav-shadow);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}
.contact-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-btn:hover {
  background: var(--accent-hover);
}
/* Light mode styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
h2 {
  color: #333;
}
.section {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}
.section h3 {
  margin-top: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
table,
th,
td {
  border: 1px solid #ddd;
}
th,
td {
  padding: 10px;
  text-align: left;
}
th {
  background-color: #f9f9f9;
}
.manual_image {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}
.manual_image img {
  max-width: 100%;
  height: auto;
}
.manual_image_text {
  padding-left: 20px;
  flex: 1;
}
.manual_image_text li {
  list-style: decimal;
  margin-bottom: 8px;
}
.section img {
  margin-top: 20px;
}
.tuner-images {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}
.tuner-images img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0;
}
footer {
  background: var(--dark-gray);
  color: white;
  padding: 3rem 5%;
  margin-top: auto;
  /* メインコンテンツが少ない場合でも下部に固定 */
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.footer-left {
  flex: 1;
}
.footer-logo a {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-decoration: none;
}
.footer-address {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-right {
  flex: 1;
  text-align: right;
}
.footer-links {
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.copyright {
  color: #999;
  font-size: 0.8rem;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1e1e1e;
    color: #f4f4f4;
  }
  .section {
    background: #2b2b2b;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  }
  h2,
  h3 {
    color: #fff;
  }
  table,
  th,
  td {
    border: 1px solid #555;
  }
  th {
    background-color: #333;
  }
}
.footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}
@media screen and (max-width: 768px) {
  .manual_image {
    flex-direction: column;
    align-items: center;
  }
  .manual_image_text {
    padding-left: 0;
    width: 100%;
  }
  .manual_image_text ul {
    padding-left: 20px;
  }
  .section {
    padding: 15px;
  }
  .tuner-images {
    flex-direction: column;
    align-items: center;
  }
  .tuner-images img {
    max-width: 100%;
  }
}
