@charset "utf-8";
  html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {margin: 0;padding: 0;	border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {	quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {	content: '';content: none;}
table {	border-collapse: collapse;border-spacing: 0;} .article-title:after,#amazon:after,article:only-child section:after,header:after,body > nav:after,.clearfix:after{
content:" ";
display:block;
clear:both;
} body {
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
color: #111;
background:#fafafa;
}
a {
color: #e94053;	
}
img {
max-width: 100%;
height: auto;
}
.font,h1,header li,#sidebar h2,#page-article .article-title,body.page h2{
font-family: 'Montserrat', "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}
#header-nav {
background: #333;
height:60px;
}
#header-nav p{
padding: 1px 0 0 27px;
margin: 25px 0 0 0;
font-size: 12px;
height: 18px;
display: block;
float: left;
background: url(//moralhazard.jp/wp-content/themes/mh/img/sprite.png) no-repeat 0 -100px;
color: #efefef;
}
#header-nav p a{
color:#fff;
text-decoration: none;
border-bottom: dashed 1px #666;
}
#header-nav p a:hover {
border-bottom: dashed 1px #e94053;
}
#header-nav ul {
float:right;
}
#header-nav li {
float: left;
}
#header-nav li a{
height: 21px;
width: 22px;
margin: 21px 0 0 12px;
background: url(//moralhazard.jp/wp-content/themes/mh/img/sprite.png) no-repeat 0px -65px;
text-indent: -9999px;
display: block;
transition: 0.4s;
}
#header-nav li a:hover {
opacity:0.5;
}
#header-nav li:nth-child(2) a{
background: url(//moralhazard.jp/wp-content/themes/mh/img/sprite.png) no-repeat -42px -65px;
}
#header-nav li:nth-child(3) a{
background: url(//moralhazard.jp/wp-content/themes/mh/img/sprite.png) no-repeat -84px -65px;
width:25px;
}
#searchform {
float: right;
width: 165px;
padding-left: 25px;
margin: 20px 5px 0 0;
background: url(//moralhazard.jp/wp-content/themes/mh/img/sprite.png) no-repeat -127px -65px;
}
#searchform input {
width:160px;
}
header,#wrapper,#header-nav div {
width:1060px;
margin:auto;
clear:both;
}
header div{
float:left;
margin:70px 0;
}
header h1 a{
display: block;
color:#333;
font-size:50px;
text-decoration:none;
transition: 0.4s;
padding-bottom:5px;
text-shadow:2px 2px 0 #fff;
}
header h1 a:hover {
opacity:0.5;
}
header h2 {
font-size: 12px;
color: #454545;	
}
header ul {
float:right;
margin:80px 0 0 0;
}
header li{
float:left;
}
header li a{
display:block;
padding:10px;
margin-left:10px;
transition:0.4s;
color:#333;
text-decoration:none;
}
header li a:last-child {
padding-right:0;
}
header li a:hover {
color:#e94053;
}
article {
width:730px;
margin:0 30px 0 0;
float:left;
background: #fff;
max-width: 100%;
overflow-x: hidden;
}
section {
padding: 20px 0;
margin: 0 30px;
border-bottom: 1px solid #cfcfcf;
}
section:last-child {
border-bottom: none;
}
section h3,section h4,section h5,section h6 {
font-weight: bold;
margin: 20px 0;
}
section h3 {
font-size: 20px;
line-height: 24px;
margin: 30px 0;
padding: 5px 0;
border-bottom: solid 1px #eee;
}
article p {
line-height: 1.6;
font-size: 16px;
margin:20px 0;
}
@media screen and (max-width: 768px) {
article p {
line-height: 1.4;
font-size: 13px;
margin:15px 0;
}
}
article nav:last-child {
background: #333;
line-height: 50px;
text-align: center;
font-size: 14px;
color: #FFF;
}
article nav:last-child a{
text-decoration: none;	
}
article nav:last-child a:hover{
text-decoration: underline;	
}
.article-title {
background:#333;
padding:10px 15px;
font-size:12px;
}
.article-title a{
color:#e94053;
text-decoration:none;
}
.article-title a:hover{
text-decoration: underline;
}
.article-title time {
color:#ccc;
}
.article-title h2 {
font-size: 20px;
margin:10px 0 15px 0;
color: #fff;
}
body.page .article-title h2 {
margin:10px 0;
}
.article-title h2 a{
color: #fff;
text-decoration: none;	
display:block;
}
.article-title time,.article-title .comments,.article-title .category,.article-title .tag {
float:left;
margin:0 10px 0 0;
}
#sidebar {
width: 300px;
float: left;
background: #fff;
padding:20px;
box-sizing: border-box;
}
#sidebar h2 {
padding: 20px 0;
font-size:20px;
line-height: 22px;
text-align:center;
}
#sidebar ul {
margin:0 20px 20px;
padding-bottom: 30px;
border-bottom: 1px solid #cfcfcf;	
}
#sidebar ul:last-child{
border-bottom: none;
}
#recent-comments section:first-child {
border-top-style: none;	
}
#recent-comments section:last-child {
border-bottom-style: none;	
}
#sidebar li {
font-size: 13px;
color: #454545;
margin: 10px 0;
line-height: 1.3;
}
#sidebar-now-catgories li,#sidebar-catgories li{
margin: 5px 0;
}
footer {
padding: 30px 0 ;
clear: both;
font-size: 12px;
text-align:center;
color:#666;
}
footer nav a{
position: fixed;
display:block;
right: 5%;
bottom: 0;
color: #FFF;
background: #e94053;
text-decoration:none;
padding: 10px;
transition: 0.4s;
}
footer nav a:hover{
opacity: 0.7;
}
aside {
margin:0 30px;
padding:30px 0;
border-top: 1px solid #fff;
}
aside h2 {
margin:30px 0;
}
aside h3 {
margin:20px 0;
font-size:13px;
}
aside ul ~ h2 {
border-top: 1px solid #cfcfcf;
padding:30px 0 0 0;	
}
.comments_number {
font-size: 12px;
color: #666;
}
aside p {
font-size: 13px;
line-height: 17px;
margin:5px 0;
}
aside form {
margin:30px 0;
}
aside input,textarea {
border: 1px solid #D8D8D8;
background: none repeat scroll 0 0 #FFFFFF;
box-shadow: 0 1px 1px 0 rgba(180, 180, 180, 0.1);
font-size:12px;
padding:5px;
margin:5px;
}
aside #author,aside #url {
width:200px;
}
aside textarea {
width:90%;
height:150px;
}
aside #submit {
background: #e94053;
color:#fff;
padding:10px;
} #page-article {
width:1060px;
}
.page-archives-year{
padding: 20px 0;
clear: both;
}
.page-archives-ul h4 {
padding-right: 20px;
width:40px;
}
.page-archives-ul h4,.page-archives-ul ul {
float:left;
}
#page-article li {
margin:0 5px 5px 0;
float:left;
}
#category-list li a{
color: #FFF;
background: #e94053;
display: block;
padding: 10px;
margin:0 5px 5px 0;
font-size: 13px;
text-decoration: none;
}
#category-list li a:hover{
background: #f4f4f4;
color: #454545;
}
.alignleft {
margin: 0px 15px 25px 0px;
float: left;	
}
.alignright {
margin: 0px 0 15px 15px;
float: right;	
}
.default-table {
border-collapse:collapse;
margin:10px 0;
}
.default-table,.default-table tr,.default-table td {
border: 1px solid #ccc;
vertical-align: middle;
padding: 5px;
font-size: 13px;
}
.default-table td.left {
width:50px;
}
.wpcf7-text,.wpcf7-submit {
border: 1px solid #d8d8d8;
padding: 10px;
}
.wpcf7-submit{
padding:10px 20px;
}
.wpcf7-textarea {
width: 90%;
}
.button{
text-align: center;
}
#menu-button {
display: none;
}
.video-container{
max-width:640px;
} .video {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
overflow: hidden;
max-width: 100%;
height: auto;
} .video iframe,
.video object,
.video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
} #amazon {
margin: 30px 0 0;
font-size: 11px;
line-height: 12px;
}
#amazon li {
float:left;
width:20%;
text-align:center;
margin: 0 0 10px 0
}
@media screen and (max-width: 1059px) {
#page-article{
width: 100%;
}
header,#wrapper,#header-nav div,footer {
width: auto;
max-width:90%;
margin: auto;
}
article{
width: auto;
margin-right: 0;
}
#sidebar {
width:100%;
}
}
@media screen and (max-width: 768px) {
#menu-button {
display: block;
position: absolute;
right: 3%;
top:15px;
color: #e94053;
font-size: 30px;
}
header li {
float: none;
display: inline-block;
}
header li a {
margin: 0 0 20px 0;
color: #e94053;
}
header li a:last-child{
padding: 10px;
}
header ul {
text-align: center;
float: none;
margin: 0;
}
header h1 a {
font-size: 30px;
}
header ul,#header-nav ul {
display: none;
}
#header-nav form,#header-nav ul{
display: none;
}
header div {
margin: 40px 0;
float: none;
}
#amazon li {
width:33%;
}
.page-archives-ul h4, .page-archives-ul ul{
float: none;
margin: 20px 0;
}
}
@media screen and (max-width: 480px) {
header,#wrapper,#header-nav div {
width: 100%;
max-width:90%;
}
section{
margin:0 3%;
}
#header-nav li a {
margin-left: 6px;
}
.article-title time,.article-title .comments {
float:none;
display: block;
}
.article-title time, .article-title .comments, .article-title .category, .article-title .tag {
padding: 2px 0;
}
#amazon li {
width:50%;
}
.wpcf7-text {
width: 90%;
}
}