@charset "Shift_JIS";

* {
  margin: 0;
  padding: 0;
}

html,
body {
  font-size: 13px;
  line-height: 1.5;
}

h2 {
  align-items: center;
  background-image: repeating-linear-gradient(90deg, #36F, #36F 1px, #4875FF 1px, #4875FF 2px);
  border: 1px solid #999;
  clip-path: polygon(0% 0%, 94% 0%, 100% 40%, 100% 100%, 0% 100%);
  color: #FFF;
  display: flex;
  font-family: sans-serif;
  font-size: 1.17rem;
  font-weight: normal;
  margin-top: 10px;
  padding: 1px 0 0 18px;
  position: relative;
  width: 208px;
}

h2::before {
  background-color: #9A3300;
  content: "";
  height: 16px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 11px;
}

h2::after {
  background-color: #999;
  content: "";
  height: 20px;
  position: absolute;
  right: 5px;
  top: -5px;
  transform: rotate(125deg);
  width: 1px;
}

h2.offset {
  left: -1px;
  position: absolute;
  top: -26px;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  padding: 0 0 0 13px;
  position: relative;
}

h4::before {
  background-color: #DD5800;
  border-radius: 6px;
  content: "";
  height: 11px;
  left: 0;
  position: absolute;
  top: 3px;
  width: 11px;
}

a {
  color: #039;
  text-decoration: none;
}

a:hover {
  color: #039;
  text-decoration: underline;
}

a:visited {
  color: #06C;
}

img {
  vertical-align: -0.3rem;
}

input[type=button],
input[type=submit],
input[type=reset] {
  font-size: 1rem;
  padding: 0.1rem 0.3rem;
}

input[type=text] {
  padding: 0.29rem 0.3rem;
}

textarea {
  padding: 2px;
}

#adminlogin {
  padding: 70px 0;
  text-align: center;
}

#bbs_category {
  padding: 10px 0 20px;
}

#bbs_category dt {
  background: url(../img/bbs_category.png) no-repeat left top;
  font-weight: bold;
  padding: 7px 0 5px 40px;
}

#bbs_category dt a {
  color: #000;
  text-decoration: underline;
}

#bbs_category dt a:hover {
  text-decoration: none;
}

#bbs_category dt span {
  color: #333;
  font-size: 0.9rem;
}

#bbs_category dd {
  background-color: #FAFAFA;
  border: 1px solid #DDD;
  margin: 10px 0 10px 30px;
  padding: 10px;
}

#bbs_data:after {
  clear: both;
  content: "";
  display: block;
  height: 10px;
}

#bbs_data dt,
#bbs_data dd {
  float: left;
  padding: 3px 0;
  width: 47%;
}

#bbs_data dt.page {
  background: url(../img/page.gif) no-repeat left center;
  padding: 3px 0 2px 22px;
}

#bbs_data dt.dir {
  background: url(../img/dir.gif) no-repeat left center;
  padding: 3px 0 2px 22px;
}

#bbs_data dt.border {
  border-bottom: 1px solid #CCC;
  clear: both;
  float: none;
  line-height: 0.1;
  margin: 0 0 5px;
  padding: 0 0 5px;
  width: 100%;
}

#bbs_data dd {
  text-align: right;
}

#bbs_data dd span {
  margin: 0 0 0 10px;
}

#contents {
  background: url(../img/bg_menu.gif) repeat-y left top;
  border-right: 1px solid #999;
  padding: 0 0 15px;
  width: 780px;
}

#contents:after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}

#counter {
  font-size: 0.9rem;
  text-align: right;
}

#footer {
  background: url(../img/bg_footer.gif) repeat-x left top;
  border-bottom: 1px solid #999;
  border-right: 1px solid #999;
  clear: both;
  padding: 15px 0 5px;
  text-align: center;
  width: 780px;
}

#form_list {
  border-collapse: collapse;
}

#form_list th,
#form_list td {
  border: 1px solid #999;
  padding: 4px 3px 3px;
}

#form_list th {
  background-color: #36F;
  color: #FFF;
}

#form_list tr.bg1 td {
  background-color: #FFF;
}

#form_list tr.bg2 td {
  background-color: #E6F3FF;
}

#header {
  border-right: 1px solid #999;
  width: 780px;
}

#icon_desc {
  border-bottom: 1px dashed #999;
  border-top: 1px dashed #999;
  display: flex;
  margin: 10px 0 0;
}

#icon_desc dt {
  align-self: center;
  margin-right: auto;
  padding: 10px 5px;
}

#icon_desc dd {
  align-self: center;
  display: block;
  padding: 5px;
}

#icon_desc dd img {
  margin: 0 5px 0;
  vertical-align: -0.3rem;
}

#icon_desc2 {
  border-bottom: 1px dashed #999;
  display: flex;
  justify-content: center;
  margin: 4px 0 12px;
}

#icon_desc2 dd {
  display: inline-block;
  padding: 5px 5px 7px;
}

#icon_desc2 dd img {
  margin-right: 5px;
  vertical-align: -5px;
  width: 20px;
}

#login {
  background-color: #FFF;
  border: 1px solid #999;
  font-size: 0.9rem;
  padding: 3px 0 0 3px;
  width: 149px;
}

#login div {
  margin: 0 0 5px;
}

#login div.btn {
  margin: 0 0 1px;
}

#login div input {
  padding: 1px;
}

#main {
  float: left;
  padding: 6px 20px 0 0;
  width: 570px;
}

#menu {
  float: left;
  padding: 15px 0 0 15px;
  width: 175px;
}

#menu_list {
  margin: 0 0 10px;
}

#menu_list li {
  border: 1px solid #999;
  list-style-type: none;
  margin: 0 0 3px;
  width: 152px;
}

#menu_list li a {
  background-color: #FFF;
  color: #000;
  display: block;
  font-family: sans-serif;
  padding: 1px 1px 1px 18px;
  position: relative;
  text-decoration: none;
}

#menu_list li a:hover {
  background-color: #36F;
  color: #FFF;
}

#menu_list li a::before {
  background-color: #FECC02;
  content: "";
  height: 12px;
  left: 5px;
  position: absolute;
  top: 5px;
  width: 9px;
}

#menu_list li a:hover::before {
  background-color: #9A3300;
  border-right: 1px solid #999;
  height: 100%;
  left: 0;
  top: 0;
  width: 13px;
}

#menu_list li span.narrow {
  display: block;
  transform: scale(0.84, 1);
  transform-origin: top left;
  width: 160px;
}

#menu_box {
  background-color: #FFF;
  border-bottom: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  margin: 0 0 5px;
  width: 152px;
}

#menu_box div {
  padding: 0 0 3px 0.5rem;
}

#menu_box div.separate {
  border-top: 1px solid #999;
  padding: 4px 0 3px 0.5rem;
}

#menu_box div span {
  background-color: #FC0;
  display: inline-block;
  height: 0.8rem;
  margin-right: 3px;
  width: 0.8rem;
}

#ob_list td {
  padding: 7px 0 0;
}

#ob_comment {
  background-color: #FFE;
  border: 1px solid #999;
  padding: 10px;
}

#senpai_category {
  width: 100%;
}

#senpai_category:after {
  clear: both;
  content: "";
  display: block;
}

#senpai_category a {
  color: #000;
  text-decoration: underline;
}

#senpai_category li {
  background: url(../img/dir.gif) no-repeat left center;
  display: block;
  float: left;
  padding: 5px 0 3px 22px;
  width: 45%;
}

#senpai_category li span {
  color: #333;
  font-size: 0.9rem;
}

#topics_list td {
  padding: 2px 0;
}

#topics_details {
  background-color: #FFE;
  border: 1px solid #999;
  border-collapse: separate;
  border-spacing: 2px;
  padding: 5px;
}

#topics_details th {
  background-color: #36F;
  color: #FFF;
  font-weight: bold;
  padding: 5px;
  text-align: left;
}

#topics_details td {
  padding: 4px;
}

#topics_details td.info {
  background-color: #9CF;
}

.img-responsive {
  max-width: 100%;
  width: auto;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.red {
  color: #F00;
}

.small {
  font-size: 0.9rem;
}

.mt10 {
  margin-top: 10px;
}

.mt25 {
  margin-top: 25px;
}

.mb0 {
  margin-bottom: 0 !important;
}

.mb10 {
  margin-bottom: 10px;
}

.mb25 {
  margin-bottom: 25px;
}

.mx-auto {
  margin: 0 auto;
}

div.dot_box {
  border-bottom: 1px dashed #999;
  border-top: 1px dashed #999;
  padding: 10px 0;
}

div.e_title {
  background-color: #CCF;
  color: #33F;
  font-weight: bold;
}

div.e_lead {
  color: #333;
  font-size: 0.9rem;
  line-height: 1;
  margin: 10px;
}

div.e_name {
  font-weight: bold;
  margin: 10px;
  text-align: right;
}

.frame {
  border: 1px solid #999;
  border-radius: 10px;
  padding: 1rem;
  position: relative;
}

div.optbox {
  border-top: 1px dashed #999;
  margin: 10px 0 0;
  padding: 10px 0 0;
}

div.youko_title {
  background-color: #9CF;
  margin: 5px 0;
  padding: 5px 10px 4px;
}

div.youko {
  padding: 5px;
}

div.warning {
  color: #F00;
  line-height: 1.5;
  padding: 15px 0;
  text-align: center;
}

div.warning span {
  background: url(../img/warning.gif) no-repeat 10px center;
  display: inline-table;
  padding: 20px 0 20px 55px;
  text-align: left;
}

div.hr {
  border-top: 1px solid #999;
  margin: 10px 0 0;
  padding: 10px 0 0;
}

dl.hyosyo dt {
  background-color: #9CF;
  font-weight: bold;
  margin: 0 0 5px;
  padding: 2px 8px;
}

dl.hyosyo dd {
  padding: 2px 20px;
}

table.basic {
  border-collapse: collapse;
}

table.basic th,
table.basic td {
  background-color: #FFE;
  border: 1px solid #999;
  padding: 5px 3px 4px;
}

table.basic th {
  background-color: #9CF;
  white-space: nowrap;
}

table.shikaku {
  border-collapse: collapse;
  margin: 0 0 20px;
}

table.shikaku th,
table.shikaku td {
  background-color: #FFF;
  border: 1px solid #36F;
  padding: 4px 3px 3px;
  vertical-align: top;
}

table.shikaku th {
  background-color: #9CF;
}

th.sub_title {
  background-color: #36F !important;
  color: #FFF;
  text-align: left;
}

table.taiken {
  width: 100%;
}

table.taiken th {
  background-color: #9CF;
  padding: 5px 3px 4px;
  white-space: nowrap;
}

table.taiken td {
  border-bottom: 1px solid #CCC;
  padding: 6px 3px 5px;
}

table.taiken tr:last-child td {
  border-bottom: 0;
  padding-bottom: 0;
}
