@charset "UTF-8";

/*
Theme: Name: MY THEME
Author: Hiroshi Fukui
Description: This is my original theme
Version: 1.0
Hello World!
*/

/*　------------------------　全体　------------------------　*/

body {
  margin: 0;
  font-family: 'メイリオ','Hiragino Kaku Gothic Pro', 'sans-serif';
  line-height: 1.5;
  word-wrap : break-word;
}

/* 画像縮尺を変える */
img {
  height: auto;
}

pre {
  background: #eee;
  padding: 0.5em;
  border-radius: 2px;
  overflow: auto;
}

/*.text h1 {
  word-wrap: break-word;
}*/

/*　------------------------　基本構造　------------------------　*/

/* ヘッダーとフッターをバーの形にする設定 */
header {
  border-bottom: 1px solid  #dddddd;
  background-color: #f6f6f6;
}

footer {
  border-top: 1px solid  #dddddd;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #F5F5F5;
}

/* ボックスの上下に関する設定 */
.contents {
  padding-top: 30px;
  padding-bottom: 20px;
}

.sub {
  padding-top: 30px;
  padding-bottom: 20px;
}

@media(max-width: 599px) {
  .contents {
    padding-top: 10px;
  }
}

/* ボックスの左右の余白 */
header, footer, .container, .sub-header {
  padding-left: 10px;
  padding-right: 10px;
}


@media (min-width: 768px) {
  /* コンテンツとサイドバーを横に並べる設定 */
  .container:after {
    content: "";
    display:block;
    clear:both;
  }
  .contents {
    float: left;
    width: 70%;
  }
  .sub {
    float: left;
    width: 30%;
  }
  /* コンテンツとサイドバーの間隔に関する設定 */
  .contents {
    padding-right: 50px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

}
@media(min-width: 1040px) {
  /* 全体の横幅 */
  .container, .header-inner, .footer-inner, .sub-header  {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*　------------------------　ヘッダー　------------------------　*/

/* ヘッダー　*/

.site h1 a {
  display:inline-block;
  padding: 10px;
  background-color: #00a0e9;
  color: #ffffff;
  text-decoration: none;
}

.site h1 {
  margin: 0;
  font-family: 'Noto Sans Japanese', sans-serif;
  font-size: 24px;
}

/*　------------------------　フッター　------------------------　*/

/* フッター　*/
.copyright p {
  margin: 0;
  color: #666666;
  font-size: 14px;
}

.widget_categories {
  list-style:none;
}
.widgettitle {
  font-size: 18px;
}

.widget_categories ul {
  list-style:none;
}

.cat-item a {
  padding: 3px 5px;
  border-radius:2px;
  background-color: #75dbe7;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

@media (min-width: 599px) {
	/*
	カテゴリー ウィジェットの 3 段組
	*/
	.widget_categories > ul > li {
		float: left;
		width: calc(100% / 3);
	}
}

/*　------------------------　記事の概要　------------------------　*/

/* 概要　*/
.gaiyou a {
  padding: 20px 0;
  border-bottom: dotted 2px #000000;
  display: block;
  color: #000000;
  text-decoration: none;
}

.gaiyou a:hover {
  background-color: #eeeeee;
}

.gaiyou a:after {
  content: "";
  display: block;
  clear: both;
}

.gaiyou img {
  float: left;
  width: 200px;
}

.gaiyou .text {
  float: none;
  width : auto;
  margin-left: 230px;
}

.gaiyou h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.gaiyou p {
  margin: 0;
  font-size: 14px;
}

.gaiyou .kiji-date {
  margin-bottom: 8px;
}

@media (max-width: 599px) {
  .gaiyou a {
    padding: 10px 0;
  }
  .gaiyou img {
    width: 100px;
  }
  .gaiyou .text {
    margin-left: 110px;
  }
  .gaiyou h1 {
    font-size 16px;
  }
  .gaiyou p {
    visibility: hidden;
    height: 0;
  }
  .gaiyou .kiji-date {
    margin-bottom: 0;
  }
}

/* 概要(大サイズ) */
.gaiyou-large a {
  display: block;
  padding: 20px 0;
  border-bottom: 2px dotted #dddddd;
  color: #000000;
  text-decoration: none;
}

.gaiyou-large a:first-child {
  padding-top: 0;
}

.gaiyou-large a:hover {
  background-color: #eeeeee;
}

.gaiyou-large h1 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 26px;
}

.gaiyou-large p {
  margin: 0;
  font-size: 14px;
}

.gaiyou-large .kiji-date {
  margin-bottom: 8px;
}

.gaiyou-large .thumb {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: 50% 50%;
}

@media (max-width: 599px) {
  .gaiyou-large a {
    padding: 10px 0;
  }
  .gaiyou-large h1 {
    font-size: 18px;
  }
  .gaiyou-large p {
    font-size: 12px;
  }
  .gaiyou-large .thumb {
    height: 200px;
  }
}

/*　------------------------　記事　------------------------　*/

/* 記事 */
.kiji h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 36px;
  /*word-wrap: break-word;*/
}

.kiji p {
  margin-top: 0;
  margin-bottom: 20px;
}

/* 小見出し */
.kiji h2 {
  position: relative;
  margin-top: 40px;
  padding-left: 32px;
  padding-bottom: 5px;
  border-bottom: 2px solid #00a0e9;
  font-size: 24px;
  clear: both;
}

/* 補足情報 */
.point {
  position: relative;
  margin: 40px 0 30px;
  padding: 25px 20px 20px;
  border-radius: 10px;
  background-color: #cfedb7;
  font-size: 14px;
  clear: both;
}

.point:before	{position: absolute;
	left: 15px;
	top: -15px;
	content: '\f0eb';
	z-index: 2;
	width: 32px;
	height: 32px;
	padding-top: 3px;
	border-radius: 16px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #5ab80e;
	color: #ffffff;
	font-family: 'FontAwesome';
	font-size: 26px;
	line-height: 1;
	text-align: center;
}

.point:after	{position: absolute;
	left: 32px;
	top: -8px;
	z-index: 1;
	content: 'POINT';
	padding: 3px 10px 3px 20px;
	border-radius: 5px;
	background-color: #5ab80e;
	color: #ffffff;
	font-family: Verdana, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 1;
}

/* 注意書き */
.attention	{position: relative;
	margin: 40px 0 30px;
	padding: 20px;
	border-radius: 10px;
	border: dotted 2px #ff0000;
	background-color: #ffefef;
	font-size: 14px;
	clear: both;
}

.attention:before	{position: absolute;
	left: 20px;
	top: -15px;
	content: '\f071';
	background-color: #ffffff;
	color: #ff0000;
	font-family: 'FontAwesome';
	font-size: 26px;
	line-height: 1;
}

.kiji h2:before {
  position: absolute;
  left: 0px;
  top: 3px;
  content: '\f14a';
  color: #00a0e9;
  font-family: 'FontAwesome';
  font-size: 28px;
  line-height: 1;
}

.kiji h3 {
  margin-top: 25px;
  padding-left: 10px;
  border-left: 10px solid #a5e2fe;
  font-size: 18px;
  clear: both;
}

@media(max-width: 599px) {
  .kiji h1 {
    font-size: 24px;
  }
  .kiji p {
    font-size: 14px;
  }
}
  }
  .kiji h2 {
    padding-left: 21px;
    font-size: 18px;
  }
  .kiji h2:before {
    font-size: 20px;
  }
  .kiji h3:before {
    padding-left: 6px;
    font-size: 15px;;
  }
}

/* 番号なしリスト */
.kiji-body ul {
  /*list-style: none;*/
}

.kiji-body li {
  list-style: none;
  position: relative;
  padding-left: 20px;
}


.kiji-body li:before {
  position: absolute;
  list-style: none;
  left: 0px;
  top: 3px;
  content: '\f152';
  color: #aaaaaa;
  font-family: 'FontAwesome';
  line-height: 1;
}

.amazonjs_item .amazonjs_info ul li {
  padding-left: 1.5em;
}

.kiji-body .amazonjs_info li:before {

}

/* 引用 */
blockquote {
  position: relative;
  margin: 30px auto;
  padding: 20px 40px 1px 50px;
  max-width: 460px;
  color: #444444;
  font-size: 18px;
  line-height: 1.8;
}

blockquote:before {
  position: absolute;;
  left: 10px;
  top: 10px;
  content: '\f10d';
  color: #aaaaaa;
  font-size: 30px;
  font-family: 'FontAwesome';
  line-height: 1;
}

blockquote:after {
  position: absolute;;
  right: 10px;
  bottom: 10px;
  content: '\f10e';
  color: #aaaaaa;
  font-size: 30px;
  font-family: 'FontAwesome';
  line-height: 1;
}


/* 投稿日・更新日　*/
.kiji-date {
  margin-bottom: 15px;
  color: #666666;
  font-size: 12px;
}

@media(max-width: 599px) {
  .kiji h1 {
    font-size: 24px;
  }
  .kiji p {
    font-size: 14px;
  }
  .kiji-date {
    font-size:10px;
  }
}

/* タグ　*/
.kiji-tag {
  margin-bottom: 18px;
}

.kiji-tag ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kiji-tag li a {
  display: block;
  margin-right: 5px;
  margin-bottom: 2px;
  padding: 3px 5px;
  border-radius:2px;
  background-color: #75dbe7;
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}

.kiji-tag li a:hover {
  background-color: #94ecf6;
}

.kiji-tag ul:after {
  content: "";
  display: block;
  clear: both;
}

.kiji-tag li {
  float: left;
  width: auto;
}

/* パンくずリスト */
.bread ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bread li a {
  display: inline-block;;
  padding: 5px 5px;
  color: #888888;
  font-size: 12px;
  text-decoration: none;
}

.bread li a[href]:hover {
  background-color: #eeeeee;
}

.bread ol:after {
  content: "";
  display: block;
  clear: both;
}

.bread li {
  float: left;
  width: auto;
}

.bread li:after {
  content: '\003e';
  margin-left: 2px;
  margin-right: 2px;
  color: #888888;
}

.bread li:last-child:after {
  content:none;
}

.bread i {
  font-size: 14px;
}

.bread span {
  display: inline-block;
  text-indent: -9999px;
}

/* シェアボタン */

.share {
  margin-top: 40px;
  clear: both;
}

.share ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.share li a {
  display: block;
  padding: 8px 17px;
  border-radius: 10px;
  color:#ffffff;
  font-size: 12px;
  text-decoration: none;
}

.share li a:hover {
  opacity: 0.8;
}

.share ul:after {
  content: "";
  display: block;
  clear: both;
}

.share li {
  float: left;
  width: auto;
  margin-right: 5px;
}

.share-tw {
  background-color: #55acee;
}

.share-fb {
  background-color: #3b5988;
}

.share-hatena {
  background-color: #008fde;
}

@media(max-width: 599px) {
  .share span {
    display: inline-block;
    text-indent: -9999px;
    /*overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;*/
  }
  .share li a {
    padding: 8px 10px;
  }
}

/* ページネーション */
.pagination  {
  margin: 40px 0 30px;
  text-align: center;
}

.pagination ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination li a, .pagination li > span {
  display: block;
  margin: 0 5px;
  padding: 6px 8px;
  border: solid 1px #cccccc;
  color: #000000;
  font-size: 14px;
  text-decoration: none;
}

.pagination li > span {
  background-color: #efefef;
}

.pagination li a:hover {
  background-color: #eeeeee;
}

.pagination ul:after {
  content: "";
  display: block;
  clear: both;
}

.pagination li {
  float: left;
  width: auto;
}

/* 記事一覧のページネーション */
.pagination-index li .dots {
  padding: 6px 2px;
  border-color: transparent;
  background-color: transparent;
}

@media (max-width: 599px) {
  .pagination-index li a,
  .pagination-index li > span {
    margin: 0;
    padding: 6px 7px;
    border-left: none;
    font-size: 12px;

  }
  .pagination-index li:first-child a,
  .pagination-index li:first-child > span {
    border-left: 1px solid #cccccc;
  }
  .pagination-index li .dots {
    border-right-color: #cccccc;
  }

}

/*　------------------------　サイドバー　------------------------　*/

/* メニュー */

.mymenu {
  margin-bottom: 30px;
}

.mymenu-large li a {
  /*position: relative;*/
  margin-bottom: 10px;
  padding: 0px;
  width:100%;
}

.mymenu-large li a:hover {
  opacity: 0.8;
}

.mymenu-large li .thumb {
  width: 100%;
  height: 130px;
  background-size: cover;
  background-position: 50% 50%;
}

.mymenu-large li .text {
  /*position: absolute;*/
  padding: 5px 10px;
  /*width: 100%;*/
  background-color: rgba(0,0,0,0.5);
  color: #ffffff;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*word-wrap: break-word;*/
}

@media(min-width: 400px) and (max-width: 767px) {
  .mymenu-large ul:after {
    content: "";
    display: block;
    clear: both;
  }
  .mymenu-large li {
    float:left;
    width:50%;
    /*-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;*/
  }
  /*.mymenu-large li:nth-child(odd) {
    clear:both;
    padding-right: 7px;
  }
  .mymenu-large li:nth-child(even) {
    clear:both;
    padding-left: 7px;
  }*/
}


.mymenu h2 {
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: solid 2px #dddddd;
  color: #666666;
  font-size: 18px;
}

.mymenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mymenu li a {
  display: block;
  padding: 10px 5px;
  color: #000000;
  font-size: 14px;
  text-decoration: none;
}

.mymenu li a:hover {
  background-color: #eeeeee;
}

/* サムネイル画像を付けたメニューのデザイン */
.mymenu-thumb li a {
  padding: 5px 0;
  border-bottom: 1px dotted #dddddd;
  color: #2288bb;
}

.mymenu-thumb li a:after {
  content: "";
  display: block;
  clear: both;
}

.mymenu-thumb li .thumb {
  float: left;
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: 50% 50%;
}

.mymenu-thumb li .text {
  float: none;
  width: auto;
  margin-left: 75px;
}

.mymenu-thumb li span {
  display: block;
  color: #666666;
  font-size: 12px;
}

.mymenu-related {
  margin: 40px 0 0;
  padding: 20px;
  border: 1px solid #dddddd;
  background-color: : #f6f6f6;
}

.mymenu-related h2 {
  padding: 0 0 0 7px;
  border-left: 8px solid #bac6cb;
  border-bottom: none;
  font-size: 20px;
  font-weight: normal;
}

.mymenu-related h2:before {
  content: none;
}

.mymenu-related li a {
  border: none;
  color: #000000;
}

/* スタイルシートが反映されない
.mymenu-archivess {
  font-size: 10px;
}*/

@media (max-width: 599px) {
  .mymenu-related {
    padding: 10px;
  }
  .mymenu-related li .thumb {
    width: 80px;
    height: 50px;
  }
  .mymenu-related li .text {
    margin-left: 95px;
  }
}

@media (min-width: 600px) {
  .mymenu-related ul:after {
    content: "";
    display: block;
    clear: both;
  }
  .mymenu-related li {
    float: left;
    width: 25%;
    padding: 0 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }
  .mymenu-related li .thumb {
    width: 100%;
    height: 80px;
    margin-bottom: 5px;
  }
  .mymenu-related li .text {
    margin-left: 0;
  }
}

/* フォーム */
.search-field {
  width: 100%;
  height: 44px;
  padding: 5px;
  border: 2px solid #dddddd;
  background-image: none;
  font-family: inherit;
  border-radius: 0;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.search-form span {
  display: none;
}

.screeen-reader-text, .search-submit {
  display: block;
  visibility: hidden;
  height: 0;
}

/* テキストウィジェット */
.admin {
  margin-left: 5px;
}

.textwidget {
  font-size: 12px;
  color: #000000;
}

.textwidget a {
  /*text-decoration: none;*/
  color: #000000;
}

.textwidget img {
  border-radius: 5px;
}

/* ウィジェット */
.widget_archive li a {
  font-size: 14px;
  padding: 3px 5px;
}

/* タグクラウド  間違い */
/*.tag-cloud-link li a {
  display: block;
  margin-right: 5px;
  margin-bottom: 2px;
  padding: 3px 5px;
  border-radius:2px;
  background-color: #75dbe7;
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}

.tag-cloud-link li a:hover {
  background-color: #94ecf6;
}

.tag-cloud-link ul:after {
  content: "";
  display: block;
  clear: both;
}

.tag-cloud-link li {
  float: left;
  width: auto;
}*/


/* タグクラウド  正解 */
a.tag-cloud-link {
  float: left;
  width: auto;
  display: block;
  margin-right: 5px;
  margin-bottom: 2px;
  padding: 3px 5px;
  border-radius:2px;
  background-color: #75dbe7;
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}

a.tag-cloud-link:hover {
  background-color: #94ecf6;
}

.tagcloud {
  overflow:hidden;
}

/*月別アーカイブリスト*/
/*.mymenu-archives li {
  list-style:none;
  margin: 0;
}

.mymenu-archives a {
  margin: 0;
}*/

/* アーカイブ */
label.screen-reader-text {
  display: none;
}

/* 広告 */

.myad {
  text-align: center;
}

/* Google Adsence */

.google-mobile {
  padding: 0;
}

.google-mobile:after {
  content:none;
  display: block;
  clear: both;
}

.ad1 {
  text-align: center;
}

@media (min-width: 768px) {
  .ad1 {
    display: none;
  }
}

/*
こちらを有効にすると記事タイトルの下に広告表示が出現する
@media (max-width: 768px) {
  .ad1 {
    display: none
  }
}
*/

/* 広告ユニットと「おすすめ記事」の間に出現する広告を非表示にする */
@media (max-width: 768px) {
  #text-10 {
    display: none;
  }
}

.google-ad {
  padding: 15px 0;
  margin-bottom: 10px 0;
}

.google-ad:after {
  content:none;
  display: block;
  clear: both;
}

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

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

@media (max-width: 768px) {
  .ad2 {
    float:none;
    width:100%;
  }
  .ad2 p {
    text-align: center;
  }
  .ad3 p {
    display: none;
  }
}



/*　------------------------　画像　------------------------　*/

/* 画像のキャプション */
.wp-caption-text {
  margin: 0;
  color: #666666;
  font-size: 10px;
  text-align: center;
}

.wp-caption-text a {
  color: #666666;
}

/* 画像の配置 */
.aligncenter {
  display: block;
  margin-top: 30px;
  margin-bottom: : 30px;
  margin-left: auto;
  margin-right: auto;
}

/* Internet Explorer用の設定 */
a img {
  border: none;
}

/* 大きい画像用の設定 */
img, .wp-caption {
  max-width: 100%;
  height: none;
}

. catch {
  margin-top: 30px;
  margin-bottom: 30px;
}

/*　------------------------　外部コンテンツ　------------------------　*/

iframe {
  max-width: 100%;
}

/* YouTubeのビデオ(キャッシュをクリアした場合いらない) */
/*
.ytvideo	{
  position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	overflow: hidden;
	margin-top: 30px;
	margin-bottom: 30px;
}

.ytvideo iframe	{
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
*/

/*　------------------------　カテゴリー　/ タグ　------------------------　*/

.contents > h1 {
  margin-top: 0;
  font-size: 34px;
}

@media (max-width: 599px) {
  .contents > h1 {
    font-size: 22px;
  }
  .archive .bread li:last-child {
    text-indent: 0
  }
}

/*　------------------------　ナビゲーションメニュー　------------------------　*/

#mainmenu {
  display: none;
}

.mainmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mainmenu ul a {
  display: block;
  padding: 10px 5px;
  color: #000000;
  font-size: 14px;
  text-decoration: none;
}

.mainmenu li a:hover {
  background-color: #eeeeee;
}

.menu-item-has-children {
  position: relative;
}

.sub-menu {
  display: none;
  top: 100%;
  left: 0;
  background-color: #ccc;
  /* サブメニューの幅を長くする */
  min-width: 12em;
  /* メニューを広告の前にだす */
  z-index: 9;
}

.sub-menu li {
  position: relative;
}

.menu-item-has-children:hover .sub-menu {
  display: block;
}

@media (min-width: 768px) {
  /* サイト名とナビゲーションを横に並べる設定 */
  .header-inner:after {
    content: "";
    display:block;
    clear: both;
  }
  .site {
    float: left;
    width: auto;
  }
  .sitenav {
    float: right;
    width: auto;
  }
  /* ナビゲーションメニューのリンクを横に並べる設定 */
  #mainmenu {
    display: block !important;
  }
  .mainmenu {
    margin-top: 10px;
  }
  .mainmenu:after {
    content: "";
    display:block;
    clear: both;
  }
  .mainmenu .menu > li {
    float: left;
    width: auto;
  }
  .mainmenu li a {
    padding: 10px 15px;
  }
  /* スマホのサブメニューが被らないようにする */
  .sub-menu {
    position: absolute;
    min-width: none;
  }
  /* トグルボタン */
  #navbtn {
    display: none;
  }
}
/*　------------------------　トグルボタン　------------------------　*/

.header-inner {
  position: relative;
}

#navbtn {
  position: absolute;
  top: 15px;
  right: 0px;
  padding: 6px 12px;
  border: 1px solid #aaaaaa;
  border-radius: 5px;
  background-color: #ffffff;
  cursor: pointer;
}

#navbtn:hover {
  background-color: #dddddd;
}

#navbtn:focus {
  outline: none;
}

#navbtn i {
  color: #888888;
  font-size: 18px;
}

#navbtn span {
  display: inline-block;
  text-indent: -9999px;
}
