/* ========================================================= */
/*  有限会社マルヨシ建設工業 ホームページ                     */
/*  スタイルシート  ver 1.02                                  */
/*  作成 : 管理人 (息子)   最終更新 : 平成15年4月2日          */
/*  ※ネットスケープでもずれないように調整済みです             */
/* ========================================================= */

body {
  background-color: #ccddee;
  /* 背景のタイルもよう */
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, .55) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .55) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, .55) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .55) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  color: #000000;
  font-family: "ＭＳ Ｐゴシック", "MS PGothic", "Osaka", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  padding: 8px 0 24px 0;
  text-align: center;
}

a:link { color: #0000ff; }
a:visited { color: #800080; }
a:hover { color: #ff0000; background-color: #ffff99; }
a:active { color: #ff0000; }

img { border: 0; }

/* ---------- 全体のわく ---------- */

.wrapper {
  width: 760px;               /* 800×600でも横スクロールが出ない幅です */
  margin: 0 auto;
  background-color: #ffffff;
  border: 2px solid #003366;
  text-align: left;
}

/* ---------- 一番上のかんばん ---------- */

.head {
  background-color: #003366;
  background-image: linear-gradient(#00477f, #002b52);
  color: #ffffff;
  padding: 10px 12px;
  border-bottom: 4px solid #ffcc00;
  display: flex;
  align-items: center;
  gap: 12px;
}

.head .helmet { flex: 0 0 auto; }

.head h1 {
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 26px;
  letter-spacing: 3px;
  margin: 0;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000000;
}

.head .yomi {
  font-size: 11px;
  letter-spacing: 1px;
  color: #ffcc00;
  margin: 2px 0 0 0;
}

.head .sougyou {
  margin-left: auto;
  font-size: 11px;
  text-align: right;
  color: #cfe3ff;
  line-height: 1.4;
}

/* ---------- 流れる文字 ---------- */

.nagare {
  background-color: #ffff00;
  border-bottom: 2px solid #003366;
  overflow: hidden;
  white-space: nowrap;
  padding: 3px 0;
  font-weight: bold;
  color: #cc0000;
}

.nagare span {
  display: inline-block;
  padding-left: 100%;
  animation: nagareru 18s linear infinite;
}

@keyframes nagareru {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ---------- 本体（表くみ） ---------- */

table.layout {
  width: 100%;
  border-collapse: collapse;
}

td.menu {
  width: 170px;
  background-color: #eef3f8;
  border-right: 2px solid #003366;
  padding: 10px 8px;
  vertical-align: top;
}

td.honbun {
  padding: 12px 16px 20px 16px;
  vertical-align: top;
  background-color: #ffffff;
}

/* ---------- 左メニュー ---------- */

.menu-title {
  background-color: #003366;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding: 3px 0;
  letter-spacing: 2px;
}

ul.menu-list {
  list-style: none;
  margin: 6px 0 14px 0;
  padding: 0;
  font-size: 12px;
}

ul.menu-list li {
  border-bottom: 1px dotted #99aabb;
  padding: 4px 2px 4px 14px;
  background-image: url("img/yajirushi.svg");
  background-repeat: no-repeat;
  background-position: 2px 7px;
}

ul.menu-list li.ima {
  background-color: #ffffcc;
  font-weight: bold;
}

.menu-box {
  border: 1px solid #99aabb;
  background-color: #ffffff;
  padding: 6px;
  margin-bottom: 12px;
  font-size: 11px;
  text-align: center;
}

/* ---------- 見出し ---------- */

h2 {
  font-size: 15px;
  color: #003366;
  margin: 0 0 10px 0;
  padding: 4px 4px 4px 26px;
  background-color: #ffcc00;
  background-image: url("img/helmet-small.svg");
  background-repeat: no-repeat;
  background-position: 5px center;
  border-left: 6px solid #cc0000;
  letter-spacing: 1px;
}

h3 {
  font-size: 13px;
  color: #cc0000;
  margin: 16px 0 6px 0;
  padding-left: 4px;
  border-left: 4px solid #cc0000;
  border-bottom: 1px dotted #999999;
}

p { margin: 0 0 10px 0; }

/* ---------- 部品いろいろ ---------- */

.kugiri {
  display: block;
  width: 100%;
  height: 12px;
  margin: 14px 0;
  background-image: url("img/kugiri.svg");
  background-repeat: repeat-x;
}

.new {
  color: #ff0000;
  font-weight: bold;
  font-size: 11px;
  animation: chikachika 1s steps(1) infinite;
}

@keyframes chikachika {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.aka { color: #ff0000; font-weight: bold; }
.chuuki { font-size: 11px; color: #666666; }

/* 更新履歴 */

dl.rireki {
  margin: 0;
  font-size: 12px;
  border: 1px solid #99aabb;
  background-color: #f7fbff;
  padding: 8px 10px;
  height: 118px;
  overflow-y: scroll;
}

dl.rireki dt {
  float: left;
  clear: left;
  width: 9em;
  color: #003366;
  font-weight: bold;
}

dl.rireki dd {
  margin: 0 0 4px 9em;
  border-bottom: 1px dotted #ccddee;
  padding-bottom: 4px;
}

/* ふつうの表 */

table.hyou {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin-bottom: 12px;
  background-color: #ffffff;
}

table.hyou th,
table.hyou td {
  border: 1px solid #6688aa;
  padding: 5px 8px;
  vertical-align: top;
}

table.hyou th {
  background-color: #dde8f2;
  color: #003366;
  text-align: left;
  white-space: nowrap;
  width: 8em;
}

table.hyou.jisseki th { width: auto; text-align: center; }
table.hyou tr:nth-child(even) td { background-color: #f7fbff; }

/* 写真のかわり */

.shashin {
  width: 100%;
  height: 110px;
  background-color: #e8e8e8;
  border: 1px solid #999999;
  color: #888888;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.jisseki-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.jisseki-list .koma {
  width: 168px;
  font-size: 11px;
}

/* 工事中 */

.kouji {
  text-align: center;
  border: 2px dashed #ff8800;
  background-color: #fff8ee;
  padding: 14px;
  margin: 12px 0;
}

.kouji img { vertical-align: middle; margin: 0 6px; }
.kouji .moji { font-weight: bold; color: #cc6600; }

/* カウンター */

.counter {
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 2px;
  background-color: #000000;
  color: #00ff00;
  border: 2px inset #cccccc;
  padding: 2px 5px;
}

/* ボタン */

.botan {
  font-family: "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 11px;
  padding: 2px 8px;
  background-color: #dddddd;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  cursor: pointer;
}

.botan:active {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

/* ---------- 下のほう ---------- */

.foot {
  border-top: 4px solid #ffcc00;
  background-color: #003366;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.6;
}

.foot a:link, .foot a:visited { color: #ffff99; }
.foot .copy { margin-top: 6px; color: #99bbdd; }

.suishou {
  text-align: center;
  font-size: 11px;
  color: #444444;
  margin: 8px auto 0 auto;
  width: 760px;
}

.modoru {
  text-align: right;
  font-size: 11px;
  margin-top: 14px;
  border-top: 1px dotted #999999;
  padding-top: 6px;
}
