@charset "utf-8";
/* CSS Document */


:root {
	/* 色設定 */
	--os1: #f0d5d6;
	--os2: #608cce;
	--main-text-color: #2B3B65;
	--main-text-rgb:43, 59, 101;
	--sub-bg-color: #fff8f7;
	--sub-bg-color2: #fff8f780;
	--accent: #2276AD;
	--accent2: #2276AD55;
	--main-bg-design: var(--os2) linear-gradient(160deg, var(--os1) 20%, var(--os2) 80%) fixed;
}


/* ===== Header image ===== */
.siteheaderimg{
	text-align: center;
	margin: 12px 0 8px;
}
.siteheaderimg img{
	max-width: 900px;  /* 900×300想定 */
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* 下に固定バー分の余白（超重要） */
body{
	padding-bottom: 70px;
}

/* 投稿フォーム：管理人専用 表示 */
.postarea summary{
  font-weight: bold;
  cursor: pointer;
}


.postarea .post-note{
  font-weight: normal;
  color: rgba(0,0,0,0.45); /* 薄め */
  font-size: 0.9em;
}

/* ===== Taskbar (Unified / shared) ===== */
.w95-taskbar{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 48px;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
  z-index: 9999;
}


.w95-taskbar-inner{
  height: 100%;
  margin: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
}


/* 重要：スマホで潰れないように、アイコンは縮められる */
.task-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 6px;


  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;


  flex: 0 1 auto;   /* ←潰れ対策 */
  min-width: 0;     /* ←潰れ対策 */
}


.task-icon:active{
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  box-shadow: inset -1px -1px 0 #dfdfdf, inset 1px 1px 0 #808080;
}


.task-icon img{
  height: 28px;
  width: auto;
  display: block;
  image-rendering: pixelated;
}


/* 本文がタスクバーに隠れないように */
body{
  padding-bottom: 60px;
}


/* スマホ微調整：横スクロール無し・ぎゅうぎゅう回避 */
@media (max-width: 430px){
  .w95-taskbar-inner{
    gap: 6px;
    padding: 0 6px;
  }
  .task-icon{
    padding: 0 4px;
  }
  .task-icon img{
    height: 26px;
  }
}

/* tegalog保険：強制で固定 */
.w95-taskbar{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 99999 !important;
}
