@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 100%;
}
body {
  color: #333;
  font-size: 1.2rem;
  font-family: "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
a:link {
  color: #0000cc;
  text-decoration: none;
}
a:visited, a:hover, a:active {
  color: #6f5436;
  text-decoration: none;
}
/* --------------------------------
 * parts
 * -------------------------------- */
.heading {
  padding: 10px 12px;
  background: url('../images/bg-slash.gif');
  letter-spacing: 1px;
  font-size: 1.6rem;
}
.hidden {
  display: none;
}

/* --------------------------------
 * grid layout
 * -------------------------------- */
body {
	display: grid;
	grid-template-columns: 3fr 1fr; 
	grid-template-rows: 192px 1fr 103px;
	grid-template-areas:
		"header header"
		"main sidebar"
		"footer footer";
	justify-content: center; 
}
.main-list {
	display:grid;
	grid-template-columns: 1fr; 
	grid-template-rows: 330px 1fr;
	grid-template-areas:
		"hot"
		"article-list";
	justify-content: center; 
	margin-right:10px;
}
.article-list {
	grid-area:article-list;
	display:grid;
	grid-auto-rows: 390px;
	grid-template-columns: repeat(auto-fit, 325px); 
	justify-content: center; 
}
@media screen and (max-width: 478px) {
html {
  font-size: 70%;
}
body {
	display: grid;
	grid-template-columns: 1fr; 
	grid-template-rows: 182px 1fr 1fr 103px;
	grid-template-areas:
		"header"
		"main"
		"sidebar"
		"footer";
	justify-content: center; 
}
.main-list {
	display:grid;
	grid-template-columns: 1fr; 
	grid-template-rows: 330px 1fr;
	grid-template-areas:
		"hot"
		"article-list";
	justify-content: center; 
	margin-right:0px;
}
}

/* --------------------------------
 * header
 * -------------------------------- */
.header {
  grid-area: header;
  width: 100%;
  padding: 5px 0 5px;
  margin-bottom:10px;
  background: url('../images/bg-header.gif') repeat-x;
  box-shadow: 0 0 10px 1px #000000;
}
.logo {
  width: 422px;
  height: 100px;
  margin: 0 auto;
  background: url('../images/logo.png') no-repeat;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.logo a {
  display: block;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 422px) {
.logo{ width:90%;background-size:contain; }
}
.subtitle {
  line-height: 20px;
  text-align: center;
  margin-bottom: 15px;
}
.global-nav {
  text-align: center;
}
.global-nav .nav-item {
  display: inline-block;
  margin: 0 10px;
}
.global-nav .nav-item a {
  display: inline-block;
  width: 100px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 8px;
  color: #666;
  font-size: 1.0rem;
  letter-spacing: 1px;
  transition: 0.15s;
}

.global-nav .nav-item.active a,
.global-nav .nav-item a:hover {
  background-color: #6f5436;
  color: #fff;
}

@media screen and (max-width: 768px) {
.global-nav {
  margin: 0;
}

.global-nav .nav {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  width: 100%;
}

.global-nav .nav .nav-item {
    flex: auto;
    width: 33%;
}

.global-nav .nav .nav-item a {
  background: #fff;
  border: 1px solid #ccc;
  border-right: none;
  color: #333;
  display: block;
  text-align: center;
  text-decoration: none;
  height: 30px;
}

.global-nav .nav .nav-item a:hover {
  background-color: #6f5436;
  color: #ffffff;
}

.global-nav .nav .nav-item:last-child a {
  border-right: 1px solid #ccc;
}
.global-nav .nav .nav-item:nth-child(3n) a {
  border-right: 1px solid #ccc;
}
.global-nav .nav .nav-item:nth-child(n + 4) a {
  border-top: none;
}
}


/* --------------------------------
 * main
 * -------------------------------- */
.main {
  grid-area:main;
  display: block;
  min-width:0;
  width: 80%;
  margin: 0 auto;
}
.main-list {
  grid-area:main;
  display: block;
}
.hot {
  grid-area:hot;
}
.hot-topic {
  display: block;
  height: 300px;
  margin-bottom: 30px;
  box-shadow: 0 6px 4px -4px rgba(0, 0, 0, 0.15);
  transition: opacity 0.15s;
}
.hot-topic:hover {
  opacity: 0.85;
}
.hot-topic .image {
  float: left;
  width: 330px;
  height: 100%;
}
.hot-topic .content {
  position: relative;
  float: left;
  width: calc(100% - 330px);
  height: 100%;
  padding: 105px 25px 0;
  background-color: #6f5436;
  line-height: 1.6;
}
.hot-topic .title {
  margin-bottom: 15px;
  color: #fff;
  font-weight: normal;
  font-size: 2.0rem;
}
.hot-topic .desc {
  color: #ddc;
}
.hot-topic .date {
  position: absolute;
  top: 60px;
  left: 0;
  width: 140px;
  padding: 4px;
  background-color: #fff;
  color: #24140e;
  text-align: center;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.article-box {
  position: relative;
  display: block;
  width: 315px;
  height: 370px;
  margin-right: 10px;
  margin-bottom: 20px;
  padding: 190px 15px 0;
  box-shadow: 6px 6px 8px -4px rgba(0, 0, 0, 0.15);
  transition: opacity 0.15s;
}
.article-box:hover {
  opacity: 0.8;
}
.article-box .title {
  margin-top: 10px;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.2;
}
.article-box .desc {
  margin-top: 10px;
  color: #333;
  overflow: hidden;
  font-size: 1.0rem;
/*
  text-overflow: ellipsis;
  white-space: nowrap;
*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.article-box .date {
  position: absolute;
  right: 0;
  bottom: 15px;
  display: block;
  width: 160px;
  padding: 4px;
  background-color: #caac71;
  color: #24140e;
  text-align: center;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 1.1rem;
}
.article-box .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

@media screen and (max-width: 478px) {
.article-box .desc {
  font-size: 1.2rem;
}
}
@media screen and (max-width: 800px) {
.hot-topic .image {
  width: 220px;
}
.hot-topic .content {
  width: calc(100% - 220px);
}
}
@media screen and (max-width: 478px) {
.hot-topic .image {
  width: 160px;
}
.hot-topic .content {
  width: calc(100% - 160px);
}
}

/* --------------------------------
 * sidemenu
 * -------------------------------- */
.sidemenu {
  grid-area: sidebar;
  width: 100%;
}
.ranking {
  margin-bottom: 30px;
  list-style-type: none;
  counter-reset: ranking;
}
.ranking .ranking-item {
  margin-top: 15px;
}
.ranking .ranking-item a {
  display: block;
  font-size: 0;
  transition: opacity 0.15s;
}
.ranking .ranking-item a:hover {
  opacity: 0.8;
}
.ranking .image {
  width: 70px;
  height: 55px;
}
.ranking .spacer {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 10px;
}
.ranking .order {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 10px;
  border: 1px solid #ccc;
  color: #aaa;
  vertical-align: 20px;
  text-align: center;
  font-weight: bold;
  line-height: 16px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.ranking .order::before {
  content: counter(ranking);
  display: inline-block;
  counter-increment: ranking;
  font-size: 1.0rem;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.ranking .ranking-item:nth-of-type(1) .order,
.ranking .ranking-item:nth-of-type(2) .order,
.ranking .ranking-item:nth-of-type(3) .order {
  border: none;
  color: #fff;
  font-weight: normal;
  line-height: 18px;
}
.ranking .ranking-item:nth-of-type(1) .order {
  background-color: #dab413;
}
.ranking .ranking-item:nth-of-type(2) .order {
  background-color: #6e7b84;
}
.ranking .ranking-item:nth-of-type(3) .order {
  background-color: #a0541a;
}
.ranking .text {
  display: inline-block;
  width: calc(100% - 130px);
  color: #000;
  vertical-align: top;
  font-size: 1.2rem;
  line-height: 1.5;
}
/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  grid-area:footer;
  width: 100%;
  padding: 20px 0 30px;
  background: #efe4b0 url('../images/bg-footer.gif');
  color: #fff;
}
.horizontal-list {
  width: 100%;
  margin: 0 auto;
  text-align: right;
  font-size: 0;
}
.horizontal-list .horizontal-item {
  display: inline-block;
  padding: 0 15px;
  letter-spacing: 1px;
}
.horizontal-list .horizontal-item + .horizontal-item {
  border-left: 1px solid #bbb;
}
.horizontal-list .horizontal-item a {
  border-bottom: 1px dashed #777;
  color: #bbb;
  font-size: 1.1rem;
  transition: color 0.15s;
}
.horizontal-list .horizontal-item a:hover {
  color: #ddd;
}
.copyright {
  margin-top: 30px;
  text-align: center;
  letter-spacing: 1px;
}
/* --------------------------------
 * content page
 * -------------------------------- */
.entry-content {
   font-family: Merriweather;
   font-size: 1.2rem;
   line-height: 1.84;
   color: rgba(0, 0, 0, .8);
   padding: 0rem 1rem;
   border-style:dotted;
   border-color:#cccccc;
   border-width: 0px 1px 1px 1px;
}

.entry-content ol,
.entry-content ul {
   margin-bottom: 1.5rem;
}

.entry-content ol ol,
.entry-content ul ul {
   list-style: disc;
   margin-bottom: 0rem;
}

.entry-content p,
.entry-content blockquote {
   margin:1rem 0 1rem 0;
}
.entry-content pre {
  margin:auto;
  width:95%;
}
.entry-content pre code,
.entry-content pre code span {
  line-height: 1.5rem;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  margin-top: 1.0rem;
}

@media screen and (max-width: 478px) {
.entry-content,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-size: 1.4rem;
}
}
h1.chapter {
  color : #525252;
  font-size : 2.0rem;
  padding-left : 2rem;
  margin-left: 1rem;
  margin-top : 1rem;
  border-color: #c2894b;
  border-left-width : 1.0rem;
  border-left-style : solid;
  margin-bottom: 25px;
  font-weight: 700;
}

img.eyecatch{
  display:block;
  width:80%;
  box-shadow: 6px 6px 8px -4px rgba(0, 0, 0, 0.15);
  margin: 0 auto 20px;
}

.entry-footer{
	text-align:right;
}

.content-tags ul.tags {
    list-style: none;
    padding-left: 0;
    margin: 0 0 3rem 0;
}

.content-tags ul.tags li {
    display: inline-block;
    font-size: 0.9rem;
}

.content-tags ul.tags li a {
    background: rgba(0, 0, 0, .05);
    color: rgba(0, 0, 0, .6);
    border-radius: 3px;
    padding: 5px 10px;
}

.content-tags ul.tags li a:hover {
    background: rgba(0, 0, 0, .07);
    text-decoration: none;
}

table
{
  font-size: 16px;
  border-collapse: collapse;
  margin: 10px 0 0;
  padding: 0;
}

table tr
{
  border-top: 1px solid #ccc;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

table tr:nth-child(2n)
{
  background-color: #f8f8f8;
}
table tr th[align="center"], table tr td[align="center"] {
  text-align: center;
}
table tr th[align="right"], table tr td[align="right"] {
  text-align: right;
}
table tr th, table tr td
{
  border: 1px solid #ccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}

.entry-content h2 {
  padding: 0.25rem 0.5rem 0.25rem 30px;
  position: relative;
  background: #d2b48c;
  border-bottom: solid 3px #ffe4cc;
}
.entry-content h2::before,
.entry-content h2::after{
  content: "□";
  position: absolute;
}
.entry-content h2::before{
  left:0;
  top:-3px;
}
.entry-content h2::after{
  left: 5px;
  top: 3px;
  color: #24140e;
}
.entry-content h3 {
  padding: 0.25rem 0.5rem;
  color: #efefef;
  background: #6f5436;
  border-left: solid 5px #e6b47d;
}
.entry-content ul, ol {
  background: #f1f8ff;
  box-shadow: 0px 0px 0px 10px #f1f8ff;/*線の外側*/
  border: dashed 2px #668ad8;/*破線*/
  border-radius: 9px;
  margin-left: 10px;/*はみ出ないように調整*/
  margin-right: 10px;/*はみ出ないように調整*/
  padding: 0.5rem 0.5rem 0.5rem 2rem;
}

.entry-content ul li ul {
  border: none;
}

.entry-content ul li, ol li {
  line-height: 1.5;
  padding: 0.5rem 0;
}
/* 吹き出し */
.entry-content .l-fuki,
.entry-content .r-fuki {
position: relative;
width: 80%;
box-sizing: border-box;
-webkit-box-sizing: border-box;
padding: 20px;
border-radius: 6px;
border: 2px solid #999;
box-shadow: 1px 1px 5px #aaa;
background-color: #fff;
z-index: 1;
}
.entry-content .l-fuki {
margin: 20px 20% 40px 0;
}
.entry-content .r-fuki {
margin: 20px 0 40px 19%;
}
.entry-content .l-fuki::before,
.entry-content .r-fuki::before {
position: absolute;
content: "";
top: 16px;
width: 10px;
height: 10px;
border-right: 2px solid #999;
border-bottom: 2px solid #999;
background-color: #fff;
z-index: 2;
}
.entry-content .l-fuki::before {
right: -7px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}
.entry-content .r-fuki::before {
left: -7px;
transform: rotate(135deg);
-webkit-transform: rotate(135deg);
}
.entry-content .l-fuki::after,
.entry-content .r-fuki::after {
position: absolute;
content: "";
width: 80px;
height: 80px;
top: -10px;
border-radius: 40px;
border: 3px solid #fff;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
box-shadow: 1px 1px 5px #aaa;
}
.entry-content .l-fuki::after {
right: -110px;
}
.entry-content .r-fuki::after {
left: -110px;
}
@media screen and (max-width: 620px) {
.entry-content .l-fuki,
.entry-content .r-fuki {
width: 70%
}
.entry-content .l-fuki {
margin-right: 30%;
}
.entry-content .r-fuki {
margin-left: 30%;
}
}
@media screen and (max-width: 478px) {
.entry-content .l-fuki::after,
.entry-content .r-fuki::after {
width: 60px;
height: 60px;
border-radius: 30px;
}
.entry-content .l-fuki::after {
right: -84px;
}
.entry-content .r-fuki::after {
left: -84px;
}
}

/* blog card */

h3.heisakuCard {background:#ffffff;}
.entry-content .heisakuCard {min-height:90px;width:auto;border: solid 1px #aaa;padding: 10px;box-sizing:content-box;position: relative;}
.entry-content .heisakuCard:after {content:"";clear:both;display:block;}
.entry-content .heisakuCard img {height:135px;width:240px;}
.entry-content .heisakuCard a {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.entry-content .heisakuCard_content {float:left;padding:0px 10px;box-sizing:border-box;width: calc(100% - 260px);}
.entry-content .heisakuCard_title {font-weight: bold;font-size: 16px;}
.entry-content .heisakuCard_desc {font-size: 16px;}
@media screen and (max-width: 478px) {
.entry-content .heisakuCard { display:block; width:80%; box-shadow: 6px 6px 8px -4px rgba(0, 0, 0, 0.15); margin: 0 auto 20px;}
.entry-content .heisakuCard_content {padding:0px 0px;box-sizing:border-box;width:auto;line-height:1.6rem;}
.entry-content .heisakuCard img {height:auto;width:80%;}
.entry-content .heisakuCard_desc {font-size: 12px;line-height:1.2rem;}
}
/* tag cloud */
.sidemenu ul.tagcloud{
	padding: 0rem 0rem;
	width:95%;
	background-color : white ;
	color : Blue ;
}
.sidemenu ul.tagcloud li{
	list-style-type: none;
    display: inline-block;
	line-height: 2.0rem;
        margin: 5px 10px;
}
.sidemenu ul.tagcloud li.tag0{ font-size: 1.0rem; font-weight: 100; }
.sidemenu ul.tagcloud li.tag1{ font-size: 1.1rem; font-weight: 200; }
.sidemenu ul.tagcloud li.tag2{ font-size: 1.2rem; font-weight: 300; }
.sidemenu ul.tagcloud li.tag3{ font-size: 1.3rem; font-weight: 400; }
.sidemenu ul.tagcloud li.tag4{ font-size: 1.4rem; font-weight: 500; }
.sidemenu ul.tagcloud li.tag5{ font-size: 1.5rem; font-weight: 600; }
.sidemenu ul.tagcloud li.tag6{ font-size: 1.6rem; font-weight: 700; }
.sidemenu ul.tagcloud li.tag7{ font-size: 1.7rem; font-weight: 800; }
.sidemenu ul.tagcloud li.tag8{ font-size: 1.8rem; font-weight: 900; }
.sidemenu ul.tagcloud li.tag9{ font-size: 1.9rem; font-weight: 900; }
.sidemenu ul.tagcloud li.tag10{ font-size: 2.0rem; font-weight: 900; }

/* --------------------
 sns icon from icomoon 
---------------------- */
@font-face {
  font-family: 'icomoon';
  src:  url('../images/icomoon.eot?v48zc7');
  src:  url('../images/icomoon.eot?v48zc7#iefix') format('embedded-opentype'),
    url('../images/icomoon.ttf?v48zc7') format('truetype'),
    url('../images/icomoon.woff?v48zc7') format('woff'),
    url('../images/icomoon.svg?v48zc7#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  font-size:32px;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-pinterest:before {
  content: "\e900";
  color: #bd081c;
}
.icon-pocket:before {
  content: "\e901";
  color: #ef3f56;
}
.icon-twitter:before {
  content: "\e902";
  color: #1da1f2;
}
.icon-hatenabookmark:before {
  content: "\e903";
  color: #00a4de;
}
.icon-feedly:before {
  content: "\e904";
  color: #2bb24c;
}
