﻿html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* 上部オレンジ帯 */
.orange-line {
  width: 100%;
  background-color: #ffa100;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-left: 12px;
  margin-bottom: 20px;
}

.orange-line a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px !important;
}

/* Page No. 説明帯 */
.page-number {
  font-family:'メイリオ',sans-serif !important;
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  padding: 6px 10px;
  margin-bottom: 10px;
  background-color: #EBE7E1;
  border-left: 6px solid #3A4861;
  display: inline-block;
}

/* グレーの大枠 */
.content-box {
  background: #EBE7E1;
  padding: 10px;
  border-radius: 8px;
  margin: 0 auto 60px;   /* ← フッター重なり防止 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: 1000px;
  text-align: left;
}

/* content-box 内の td 背景を透明化 */
.content-box td {
  background: transparent !important;
  padding-top: 6px;
  margin-top: 0;
}

/* 全体のリンク色（緑／オレンジ） */
a {
  color: #009900;
  text-decoration: none;
}

a:visited {
  color: #ff6600;
}

a:hover {
  text-decoration: underline;
}

/* 表内リンクも同じ色に統一 */
table td a {
  color: inherit !important;
  text-decoration: none !important;
}

/* visit-table（新しい表） */
.visit-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 0px 4px 0px;
  background: #fffefa;
  font-size: 13px;
  font-family:'メイリオ',sans-serif !important;
}

.visit-table td {
  padding: 4px 8px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.visit-table .num { width: 20px; }
.visit-table .time { width: 30px; }
.visit-table .name { width: 200px; }
.visit-table .kana { width: 200px; }
.visit-table .addr { width: 250px; }

/* visit-bank（ゆうちょ銀行直営店の場合） */
.visit-bank {
  width: 100%;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  margin: 4px 0px 4px 0px;
  background: #DDF2CB !important;
  font-size: 13px;
  font-family:'メイリオ',sans-serif !important;
}

.visit-bank td {
  padding: 4px 8px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.visit-bank .num { width: 20px; }
.visit-bank .time { width: 30px; }
.visit-bank .name { width: 200px; }
.visit-bank .kana { width: 200px; }
.visit-bank .addr { width: 250px; }

/* 写真＋本文ブロック */
.visit-photo-block {
  background: #f5f5f5;
  padding: 4px 16px;
  overflow: hidden;
  border-radius: 4px;
}

.visit-photo {
  float: left;
  margin: 0px 20px 0px 0;
  max-width: 45%;
}

.visit-text p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  font-family:'メイリオ',sans-serif !important;
}

/* 下部オレンジ帯（固定） */
.bottom-orange-line {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffa100;
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  z-index: 999;
}

.bottom-orange-line a {
  color: #ffffff !important;   /* ← 白色固定 */
  font-weight: bold;
  text-decoration: none;
}

/* 情報帯 */
.day-info {
  background: #EEC063;
  padding: 4px 16px;
  border-radius: 4px;
  margin: 10px 0;
  font-size: 13px;
  font-family:'メイリオ',sans-serif !important;
}

.toll-info {
  background: #ffeecc;
  padding: 4px 16px;
  border-radius: 4px;
  margin: 10px 0;
  font-size: 13px;
  font-family:'メイリオ',sans-serif !important;
}

/* 写真複数ブロック */
.multi-photo-block {
  background: #dacebd;
  padding: 2px;
  border-radius: 4px;
  margin: 10px 0;
  font-family:'メイリオ',sans-serif !important;
}

.multi-photo-inner img {
  margin: 2px 2px;
  max-width: 30%;
}

.multi-photo-inner p {
  font-size: 13px;
  margin: 0px 4px 2px 4px;
}

.multi-photo-inner img.last-row {
  margin-bottom: 0;
}

/* summary-table */
.visit-table-block {
  background: #FAFAFA;
  padding: 2px;
  border-radius: 4px;
  margin: 10px 0;
  margin-top: 2px;
}

.summary-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  font-family:'メイリオ',sans-serif !important;
}

.summary-table th {
  background: #FFD4CC;
  padding: 2px;
  font-size: 13px;
  border-radius: 4px;
  font-weight: normal;
  text-align: center;
}

.summary-table td {
  background: #e6e6e6 !important;
  padding: 4px;
  font-size: 13px;
  text-align: center;
}

body {
  padding-bottom: 60px;
}
