﻿/* ================================
   基本設定
================================ */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f8fc;
  color: #333;
  font-size: 24px;
}

/* ロゴ画像 */
.sitelogo {
  width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 横幅固定コンテナ（スマホ対応） */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 20px;
}

/* ================================
   ヘッダー・ナビゲーション
================================ */
header {
  background-color: #003366;
  color: white;
  padding: 20px;
  text-align: center;
}

/* ナビゲーションバー */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  background-color: #003366;
}

nav li {
  position: relative;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
}

/* プルダウンメニュー */
nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #005599;
  min-width: 160px;
  z-index: 1000;
  flex-direction: column;
}

nav ul ul li {
  width: 100%;
}

nav ul ul a {
  padding: 10px;
  color: white;
  white-space: nowrap;
}

nav li:hover > ul {
  display: flex;
}

/* ================================
   メインコンテンツ
================================ */
main {
  padding: 40px;
}

/* ================================
   フッター
================================ */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 10px;
}

/* ================================
   About セクション
================================ */
.about-section {
  margin: 60px 0;
  line-height: 3;
}

.about-section h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 24px;
  border-left: 6px solid #4a90e2;
  padding-left: 12px;
}

.about-section p {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 18px;
}

.about-section strong {
  color: #2a6fbd;
}

/* ================================
   Excel風 会社概要テーブル
================================ */
.excel-section {
  margin: 60px 0;
}

.excel-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  color: #003366;
}

.excel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15rem;
  background: #ffffff;
  line-height: 1.8;
  table-layout: fixed;
}

.excel-table th,
.excel-table td {
  border: 1px solid #333;
  padding: 12px 16px;
}

.excel-table th {
  width: 25%;
  background-color: #d9e3f5;
  font-weight: bold;
  color: #003366;
  text-align: left;
}

.excel-table td {
  background-color: #f9fbff;
  color: #333;
  vertical-align: top;
}

.excel-table td ul {
  margin: 0;
  padding-left: 20px;
}

.excel-table td ul li {
  margin-bottom: 6px;
}

/* ================================
   経営理念・ポリシー
================================ */
.policy-section {
  margin: 60px 0;
}

.policy-title {
  font-size: 2rem;
  margin-bottom: 30px;
  border-left: 6px solid #4a90e2;
  padding-left: 12px;
  color: #333;
}

.policy-block {
  padding: 20px;
  margin: 40px 80px;
  background: #f7faff;
  border-left: 4px solid #4a90e2;
  border-radius: 6px;
}

.policy-block h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #003366;
}

.policy-block p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #444;
}

/* 会社精神キーワード（強調帯） */
.policy-keywords {
  background: #4A90E2;
  color: #ffffff;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 24px 180px;
  margin: 40px 80px;
  letter-spacing: 0.15em;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ================================
   事業一覧
================================ */
.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  border-left: 6px solid #4a90e2;
  padding-left: 12px;
  color: #333;
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.services-table th,
.services-table td {
  border: 1px solid #ccc;
  padding: 10px 14px;
}

.services-table th {
  background: #003366;
  color: #fff;
  text-align: left;
}

.services-table td {
  background: #f9fbff;
}

.services-table .col1 { width: 18%; }
.services-table .col2 { width: 57%; }
.services-table .col3 { width: 25%; }

/* 各事業詳細 */
.service-detail {
  margin-bottom: 50px;
}

.service-detail p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 15px;
}

.service-detail h3 {
  font-size: 1.3rem;
  margin: 18px 0 8px;
  color: #003366;
}

.service-detail ul {
  margin: 0 0 10px 18px;
}

.service-detail ul li {
  margin-bottom: 5px;
}

/* ================================
   お問い合わせフォーム
================================ */
.contact-form {
  max-width: 700px;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.form-group .required {
  color: red;
  margin-left: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}


/* ▼ form-submit を確実に横並びにし、送信ボタンを右端へ */
.form-submit {
  margin-top: 25px;
  display: flex;
  justify-content: space-between; /* 左右に配置 */
  align-items: center;
  width: 100%; /* 念のため追加：flex が効く領域を確保 */
}


/* ▼ ボタンデザイン（既存） */
.form-submit button {
  background: #003366;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
}

.form-submit button:hover {
  background: #002244;
}

/* ▼ 送信ボタンだけ右端へ強制移動 */
.form-submit button[type="submit"] {
  font-size: 1rem; /* 16px 相当 */
  margin-left: auto;
}

/* ================================
   マーケットリンク
================================ */
.market-links {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.market-links li {
  margin-bottom: 8px;
}

.market-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

.market-links a:hover {
  opacity: 0.8;
}

.market-icon {
  width: 40%;
  margin-right: 8px;
  border-radius: 4px;
}

/* ================================
   ヒーロー動画
================================ */
.hero-video-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.hero-text {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.hero-subtext {
  margin-top: 1rem;
  font-size: 1.3rem;
  opacity: 0.9;
}


.product-list {
  display: flex;
  gap: 20px;
}

.product-card {
  width: 30%;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.product-card img {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #003366;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.detail-img {
  width: 300px;
  display: block;
  margin-bottom: 20px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th, .cart-table td {
  border: 1px solid #ccc;
  padding: 10px;
}
