﻿body {
  margin: 0;
  color: #333;
  font-size: 12pt;
  text-align: center;
}

a {
  color: #000;
  text-decoration: border-bottom: dotted 1px;
}

a:hover {
  color: #808;
  text-decoration: border-bottom: dotted 1px;
}

#out {
  width: 100%;
  text-align: center;
}

#main {
  width: 98%;
  text-align: left;
}

#left {
  width: 96%;
  margin: 2px;
}

#right {
  width: 96%;
  margin: 2px;
}

.hwrapper{
   width: 100%;
  text-align: center;
}

.header {
  width: 100%;
  text-align: left;
}

#header_l {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  border-bottom: 1px solid #444;
}

#header_r {
  width: 97%;
  margin: 60px 0 0 0;
  padding: 0 3px 10px 3px;
}

.header_lb {
  float: left;
  width: 50%;
}

.header_rb {
  float: right;
  width: 50%;
}

.works {
  margin: 10px 0 0 0;
  border-bottom: 1px dotted #444;
  width: 99%;
}

.works_pic {
  float: left;
  width: 30%;
}

.works_right {
  float: right;
  width: 60%;
}

h1 {
  text-align: left;
  font-size: 13pt;
  color: #fff;
  font-weight: 700;
  margin: 0 0 10px 0;
}

h2 {
  color: #fff;
  background-color: #444;
  font-size: 15pt;
  margin: 10px 0;
  padding: 4px 6px;
}

h3 {
  color: #000;
  margin: 5px 0;
  font-size: 15pt;
  border-bottom: 1px dotted #444;
  padding: 4px 6px;
}

h4 {
  font-size: 10pt;
  color: #000;
  font-weight: 700;
  margin: 0;
}

.img {
  text-align: center;
}

.content {
  margin-bottom: 10px;
  padding: 5px;
}

.form {
  margin-bottom: 20px;
}

.board {
  border-left: solid 3px #777;
  background-color: #ccf;
  margin-bottom: 10px;
  padding: 5px;
}

.info {
  border-top: dotted 3px #777;
  border-bottom: dotted 3px #777;
  background-color: #fff;
  margin-bottom: 10px;
  padding: 5px;
}

input.submit_button {
  width: 150px;
  height: 50px;
}

.pad {
  padding: 5px;
}

.shop_box {
  border: solid 1px #ccc;
  margin: 10px 0 0;
}

#foot_box {
  color: #000;
  fontsize: 8px;
  border-top: solid 2px #000;
  margin: 10px 0 0;
  padding: 5px;
}

#foot_box ul {
  padding: 0px;
  margin: 0px;
  font-size: 0;
}

#foot_box ul li {
  display: block;
  background-color: #ccc;
} 

#foot_box ul li a {
  background-color: #ccc;
  border-bottom: 1px solid #fff;
  display: block;
  text-decoration: none;
} 

*.float {
  float: left;
  margin-right: 1em;
}

h6, h5 {
  font-size: 9pt;
  font-weight: 500;
  margin: 0;
}

.clear, .c-both {
  clear: both;
}

.topifoot {
  text-align: right;
  font-weight: 300;
}

.logge {
  margin: 10px 0 0;
}

.date {
  float: left;
  width: 100px;
}

.title {
  float: right;
  width: 30%;
}

.banner {
  margin: 0 0 5px;
  border: solid 1px #ccc;
}

.ads {
  margin: 0 0 5px;
}

.topnav {
  text-align: right;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

#nav {
  background-color: #444;
  padding: 3px;
}

#nav ul {
  padding: 0px;
  margin: 0px;
}

#nav ul li {
  display: inline;
  margin: 0px;
  padding: 10px;
  border-right: solid 1px #fff;
}

#nav ul li a {
  color: #fff;
}

#nav ul li a:hover {
  border-bottom: dotted 1px #fff;
}

.area ul {
  padding: 0px;
  margin: 0px;
  font-size: 0;
}

.area ul li {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  background-color: #F7BE81;
  border: solid 1px #f80;
  font-size: 14pt;
  width: 49%;
}

.area ul li a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
}

.area ul li a:hover {
  display: block;
  text-decoration: none;
}

input {
  width: 100%;
  max-width: 400px;
  /* レスポンシブの場合の対策 */
  box-sizing: border-box;
  /* [borde-box]で右の飛び出しを回避 */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

textarea {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

input[type="submit"] {
  max-width: 200px;
  /*送信ボタンの幅を指定*/
}

#cat {
  background-color: #fff;
  padding: 3px;
}

nav.menu {
  width: 30px;
  height: 30px;
  top: 60px;
  right: 10px;
  position: fixed;
  cursor: pointer;
  overflow: hidden;
  z-index: 9999;
}

nav .menu1 {
  width: 30px;
  height: 4px;
  background-color: #fff;
  top: 0px;
  position: absolute;
}

nav .menu2 {
  width: 30px;
  height: 4px;
  background-color: #fff;
  top: 8px;
  position: absolute;
}

nav .menu3 {
  width: 30px;
  height: 4px;
  background-color: #fff;
  top: 16px;
  position: absolute;
}

nav .menu1, nav .menu2, nav .menu3 {
  transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  /* Opera */
  -moz-transition: all 0.5s ease-out;
  /* Firefox */
  -webkit-transition: all 0.5s ease-out;
  /* GoogleChrome, Safari */
  -ms-transition: all 0.5s ease-out;
  /* IE */
}

nav .menuclick1 {
  top: 8px;
  -o-transform: rotate(405deg);
  -moz-transform: rotate(405deg);
  -webkit-transform: rotate(405deg);
  -ms-transform: rotate(405deg);
  transform: rotate(405deg);
}

nav .menuclick2 {
  background-color: rgba(255, 255, 255, 0);
}

nav .menuclick3 {
  top: 8px;
  -o-transform: rotate(-405deg);
  -moz-transform: rotate(-405deg);
  -webkit-transform: rotate(-405deg);
  -ms-transform: rotate(-405deg);
  transform: rotate(-405deg);
}

#menu {
  position: fixed;
  font-weight: bold;
  display: none;
  right: 15px;
  top: 80px;
  list-style-type: none;
  background-color: #fff;
  border: 1px solid #999;
  padding: 20px 20px 20px 20px;
  z-index: 9999;
}

#menu li {
  width: 260px;
}

#menu li a {
  background-color: #ccf;
  border-bottom: 1px solid #fff;
  display: block;
  padding: 10px;
  text-decoration: none;
}

#cat ul {
  padding: 0px;
  margin: 0px;
}

#cat ul li {
  text-align: center;
  font-size: 14pt;
  width: 100%;
}

#cat ul li a {
  background-color: #00f;
  border: solid 1px #ff0;
  color: #ff0;
  display: block;
  text-decoration: none;
}

#cat ul li a:hover {
  display: block;
  text-decoration: none;
}