@charset "utf-8";

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  background-color: #f8f9fa;
  line-height: 1.5;
}

a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation Tables (固定幅750px・中央寄せ)
   ========================================================================== */
table.head,
table.type04,
table.pan {
  width: 750px;
  margin: 0 auto;
  border-collapse: collapse;
}

/* 共通セル調整 */
table.head td,
table.type04 td,
table.pan td {
  padding: 0;
  vertical-align: middle;
}

/* ロゴ・右側リンクエリア */
table.head {
  margin-top: 2px;
  margin-bottom: 2px;
}

table.head td.info {
  vertical-align: bottom;
  text-align: right;
  width: 250px;
  font-size: 0.8rem;
  line-height: 1.2;
}

table.head td.info img {
  vertical-align: middle;
  border: none;
}

/* メニューテーブル (.type04) */
table.type04 {
  background-color: #ffffff;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-bottom: 3px;
}

table.type04 td {
  text-align: center;
}

table.type04 img {
  display: block;
  border: none;
  margin: 0 auto;
}

img.me {
  width: 6px;
  height: 18px;
}

img.nu {
  width: 123px;
  height: 18px;
  transition: opacity 0.2s;
}

img.nu:hover {
  opacity: 0.6;
}

/* パンくずリスト (.pan) */
table.pan {
  margin-bottom: 6px;
}

table.pan td {
  font-size: 0.8rem;
  color: #555555;
  padding: 0;
}

/* ==========================================================================
   Main Content Container
   ========================================================================== */
.container {
  width: 750px;
  margin: 0 auto;
  padding-bottom: 25px;
}

/* ヒーロー領域 */
.hero-section {
  background: #ffffff;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 3px solid #0056b3;
}

h1 {
  font-size: 1.4rem;
  color: #1a365d;
  margin: 0 0 6px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
}

h2 {
  font-size: 1.0rem;
  color: #2c3e50;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
}

h3 {
  font-size: 1.05rem;
  color: #1a365d;
  border-left: 4px solid #0056b3;
  padding-left: 8px;
  margin-top: 0;
  margin-bottom: 8px;
}

/* セクションカード */
.card-section {
  background: #ffffff;
  border-radius: 6px;
  padding: 10px 15px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* お悩み・解決セクション */
.solution-section {
  background: #f0f4f8;
}

.trouble-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
}

.trouble-box h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.trouble-box ul {
  margin: 0;
  padding-left: 20px;
  color: #c53030;
  font-weight: bold;
  line-height: 1.5;   
  font-size: 0.95rem;
}

/* 297-01.gif（中央画像）の余白圧縮 */
.solution-img-box {
  text-align: center;
  margin: 10px 0 5px 0;
}

.solution-img-box img {
  max-width: 450px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.arrow-down {
  text-align: center;
  font-size: 1.2rem;
  color: #0056b3;
  font-weight: normal;
  margin: 4px 0;
  line-height: 1;
}

.answer-box {
  background: #ebf8ff;
  border: 2px solid #3182ce;
  border-radius: 6px;
  padding: 10px 15px;
  text-align: center;
}

.answer-box h3 {
  border: none;
  padding: 0;
  color: #2b6cb0;
  margin-bottom: 4px;
}

.answer-box p {
  margin: 0;
}

/* ==========================================================================
   機能一覧テーブル
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
}

.function-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 5px;
}

.function-table th {
  background: #1a365d;
  color: #ffffff;
  padding: 8px 10px;
  font-size: 0.9rem;
  text-align: left;
}

.function-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  font-size: 0.9rem;
}

.function-table tr:nth-child(even) {
  background-color: #f7fafc;
}

.function-table .num {
  text-align: center;
  font-weight: bold;
  color: #0056b3;
}

.function-table .feature-name {
  font-weight: bold;
}

.function-table ul {
  margin: 0;
  padding-left: 18px;
}
/* ==========================================================================
   活用シーン (カード形式)
   ========================================================================== */
.scene-grid {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 10px;
}

.scene-card {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.scene-card h4 {
  font-size: 0.85rem;
  color: #1a365d;
  margin: 0 0 8px 0;
  background: #edf2f7;
  width: 100%;
  padding: 4px;
  border-radius: 4px;
}

/* 画像表示枠 */
.scene-card .img-container {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.scene-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* --- カード内のテキスト指定（pタグ・aタグ共通） --- */
.scene-card p,
.scene-card a {
  display: block;
  font-size: 0.8rem !important;  /* 他のCSS指定に負けないよう !important を付与 */
  line-height: 1.4 !important;
  color: #4a5568;
  margin: 0;
  text-decoration: none;
}

/* リンク付き（aタグ）ホバー時の挙動 */
.scene-card a:hover {
  color: #0056b3;
  text-decoration: underline;
  opacity: 1;
}

/* ==========================================================================
   CTA & Footer
   ========================================================================== */
.test-section {
  background: linear-gradient(135deg, #1a365d, #0056b3);
  color: #ffffff;
  padding: 18px 15px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 15px;
}

.test-section h2 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.test-section p {
  font-size: 0.85rem;
  margin: 0;
}

.contact-cta {
  background: #ffffff;
  border: 2px solid #0056b3;
  border-radius: 6px;
  padding: 15px;
  text-align: center;
}

.contact-cta p {
  font-weight: bold;
  font-size: 0.95rem;
  margin: 0 0 10px 0;
}

.btn-primary {
  display: inline-block;
  background-color: #dd6b20;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 8px 25px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-decoration: none !important;
}

.btn-primary:hover {
  background-color: #c05621;
}

.site-footer {
  text-align: center;
  padding: 15px 0;
  font-size: 0.75rem;
  color: #718096;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}