/*共通の仕様*/
html {
    font-size : 100%; 
}
body {
    background-color: #fff4e0;
    color: #333;
    /* width:900px;
    margin:20px auto;  ←上下マージン20px、左右はautoでセンター合わせに*/
    font-family:"Helvetica Neue", Helvetica, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size:1em;
}
body a {
    color: #c02;
    text-decoration: none;
}
body a:hover {
    color: #f84;
}

.clearfix:after {
  content: "";
  clear: both;
  display: block;
  height: 0;
}
.clearfix {display: inline-block;}
.mincho {
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}
header, nav, article, aside, section, footer {
    display:block;  /*←新要素はデフォルトではinline要素なのでこの指定が必要。*/
}

figure {
    margin: 0px;
}

    
@media print, screen and (min-width: 641px){

header {
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
    background-color: transparent;
}
header h1 {
    text-align: left;
    font-size: 1em;
    margin: 0px;
    padding: 80px 0 0 0;
}
header h4 {
    text-align: right;
    font-size: 0.85em;
    font-weight: normal;
    margin: 4px 20px 0 0;
}
#mainpic {
    float: left;
    text-align: left;
    height: 180px;
    width: 156px;
    margin: 0px;
    padding: 40px 40px 0 40px;
}
.maintitle-prefix {
    font-size: 1em;
    letter-spacing: 0.1em;
    font-weight: normal;
    color: #740;
}
.maintitle {
    font-family: "Genjuu Gothic Custom";
    font-size: 3em;
    letter-spacing: 0.2em;
    font-weight: bold;
    color: #740;
}
#subtitle {
	text-align: left;
    font-size: 1em;
    font-weight: normal;
    color: #000;
    margin: 0px;
    padding: 10px 0px 0px 245px;
}
#title {
    /* width: 600px; */
}
header p {
    clear: both;
    float: right;
    text-align: right;
    color: #370;
    margin: 0 20px 0 0;
}

#teln {
    clear: both;
    text-align: right;
    font-family: "Genjuu Gothic Custom";
    font-size: 2.5em;
    font-weight: normal;
    letter-spacing: 3px;
    color: #a44;
    margin: 0px 0px;
    padding-right: 20px;
}
#teln:after{
    content:"";
    display: block;
    height: 0px;
    clear: both;
}

nav {
    float:left;
    text-align:left;
    width:220px;
    margin: 0 0 0.8em 0;
}
nav ul, nav li {
    list-style-type: none;
}
ul#mainnav {
    margin: 0px;
    padding: 0px;
}
ul#mainnav li {
    list-style: none;
    height: 48px;
    border-radius: 15px;
    margin: 6px 14px 6px 17px;
    font-size: 14px;
    background-color: #ac8;
}
ul#mainnav li.email {
    background-color: #7cf;
}
ul#mainnav li a {
    display:block;
    padding: 14px 22px 13px 22px;
    color: black;
    text-decoration: none;
}
ul#mainnav li a:hover {
    color: white;
    background-color: #F90;
    border-radius: 15px;
    -webkit-transition-property: background-color;  
    -webkit-transition-duration: 0.5s;  
    -webkit-transition-timing-function: linear;  
}

nav p {
    display:block;
    color: black;
    margin: 0px 10px 0px 10px;
    padding: 10px 10px;
}
img.sozai {
    max-width: 100%;
    height: auto;
    box-shadow: 7px 7px 10px rgba(0,0,0,0.4);
    margin: 0 0 10px 0;
}
#homewords{
    padding: 10px 3% 10px 3%;
    font-size: 1.05em;
    letter-spacing: 0.1em;
    line-height: 2em;
    color: black;
    background-color: transparent;
}
#homewords-kojin{
    padding: 10px 3% 10px 3%;
    font-size: 1em;
    letter-spacing: 0em;
    line-height: 2em;
    color: black;
    background-color: transparent;
}

section {
    float: none;
    width: auto;
    margin: 0px 10px 10px 260px; /* 上 右 下 左*/
    font-size : 1em; 
    background-color: transparent;
}

article h3:before{content: url(pomedot.png);}
article h3:after{content: url(pomedot.png);}

p.tabletitle {
    font-size: 1em;
    font-weight: bold;
    margin-left: 5%;
}
article p.tabletitle:before{content: url(pomedot.png);}
article p.tabletitle:after{content: url(pomedot.png);}

p.zeikomi {
    text-align: right;
    margin: 0 10% 0 0;
}
table {
    border-top: 1px solid #999;
    border-right: 1px solid #444;
    width: 85%;
    border-spacing: 0;
    margin: 5px 10% 5px auto;
}
table.price {
    }
th, td {
    border-bottom: 1px solid #444;
    border-left: 1px solid #999;
    text-align: center;
    font-weight: normal;
    padding: 5px;
}
thead {
    background-color: #fe8;
    color: black;
    font-weight: normal;
}
tbody {
    background-color: transparent;
    color: black;
    font-weight: normal;
}
.col12{width: 37%;}
.col1m{width: 26%;}
.col60m{width: 18%;}
.colplus1 {
    text-align: right;
    padding-right: 0;
    border-right: 0;
    white-space: nowrap;
    width: 20%;
}
.colplus2 {
    text-align: left;
    padding-left: 0;
    border-left: 0;
    white-space: nowrap;
    width: 15%;
}
.collan1 {
    text-align: right;
    padding-right: 0;
    border-right: 0;
    white-space: nowrap;
}
.collan2 {
    text-align: left;
    padding-left: 0;
    border-left: 0;
    white-space: nowrap;
}

/* th.okoshikata, td.okoshikata {
    width: 90px;
}
th.oyouto {
    width: 24%;
}
td.opoint, td.oyouto {
    text-align: left;
}
 */
table.otype {
    width: 96%;
    margin: 0;
    border-width: 0px;
}
table.otype td {
    border-width: 10px;
    border-color: transparent;
    text-align: left;
}
span.bunrei {
    display: block;
    font-size: 0.85em;
    color: #881;
    padding-top: 0.85em;
}
span.oyouto {
    display: block;
    font-size: 0.85em;
    color: #33a;
}
td.osozai {
    vertical-align: baseline;
}
p.youyaku {
    padding: 0 0 0 20px;
}

table.office th {
    background-color: #fe8;
}
table.office td {
    text-align: left;
    background-color: transparent;
    padding-left: 5px;
    font-weight: normal;
}
ul.okomari li {
    margin: 0 0 20px 2%;
}
ul.tokucho li {
    margin: 0 10% 20px 2%;
}
p.undertable {
    margin: 0 10% 0 5%;
}

figure.hint {
    float: right;
    width: 320px;
    margin: 10px 5% 10px 10px;
}

span.nobreak {
    white-space: nowrap;
}
span.dot-short {
    display: none;
}
span.dot-long {
    display: inline;
}
span.underline {
    text-decoration: underline;
}
span.pomekakko:before{content: url(pomedot.png);}
span.pomekakko:after{content: url(pomedot.png);}

aside {
    border: solid 1px black;
}
aside p {
    padding: 0;
    text-align: center;
    font-size: 1em;
    margin-top: 5px;
}
aside h4 {
    text-align: center;
    font-size: 1em;
    margin: 0;
}
aside h4:before{content: url(pomedot.png);}
aside h4:after{content: url(pomedot.png);}


footer {
    clear: both;
    text-align: center;
    background-color: transparent;
    color: #a44;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
footer figure {
    display: inline-block;
    margin: 0 auto;
    vertical-align: middle;
}

footer h1 {
    font-size: 1.5em;
}
footer h2 {
    font-size: 1.2em;
    color: #691;
}
footer h3 {
    font-size: 1em;
}
footer h4{
    clear: both;
    text-align: center;
    font-size: 0.75em;
}
footer table {
    width: auto;
    margin: 0;
    border: 0;
}
footer thead {
    font-size: 1.2em;
    font-weight: normal;
    background-color: transparent;
}
footer tbody {
    background-color: transparent;
    font-size: 1em;
}
footer th {
    text-align: right;
    color: #691;
    border: 0;
}
footer td {
    text-align: left;
    color: #718;
    border: 0;
}
.bottompic {
    height: 60px;
    width: 52px;
    margin: 100px 1em 0 1em;
}

}
@media print, screen and (max-width: 1000px){
.bottompic2 {
    height: 0px;
    width: 0px;
    visibility: hidden;
}
}
@media screen and (max-width: 800px){
.bottompic {
    height: 0px;
    width: 0px;
    visibility: hidden;
}
}

@media print {
nav {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}
nav ul, nav li{
    display: inline;
}
ul#mainnav li a {
    display: inline;
}
img.homeimg {
    display: none;
}
div.torihiki {
    margin: 0;
}
.torihiki li:before {content:"　";}
section {
    margin: 0;
}

}