/*
Theme Name: twentyseventeen-child
Template: twentyseventeen
Theme URI: https://wordpress.org/themes/twentyseventeen/
Description: Twenty Seventeen の子テーマ
Author: minnohome
Author URI: http://hawai-oneself.info/
*/

/*記事中のリンク文字を変更*/
.entry-content a {
	color: #00f;
}
a:hover,
a:active {
	color: #f00;
}

.entry-content a,
.entry-summary a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
	-webkit-box-shadow: inset 0 0px 0 rgba(15, 15, 15, 1);/*下線の太さと色*/
	box-shadow: inset 0 0px 0 rgba(15, 15, 15, 1);/*下線の太さと色*/
}

/*ボタンの領域*/
#re-top {
	position:fixed; /*画面に固定*/
	bottom:10%; /*画面下へ*/
	right:5%; /*画面右へ*/
	z-index:10; /*レイヤー順序を上に*/
	background-color:transparent; /*領域の背景色（透明）*/
}

/*丸ボタン*/
.re-topB {
	position:relative;
	display:block; 
	background-color:rgba(0,0,0,0.7); /*丸ボタンの色*/
	color:rgb(255,255,255); /*三角と文字色*/
	text-decoration:none;
	font-weight:bold;
	font-size:12px;
	width:60px;
	height:60px;
	text-align:center;
	line-height:24px;
	border-radius:30px;
	padding-top:30px;
	box-sizing:border-box;
}

/*三角部分*/
.re-topB:before {
	content:'\25B2';
	position:absolute;
	top:10px;
	left:0;
	width:100%;
	text-align:center;
	font-size:20px;
}

/* 記事の背景色と枠線 */
.post {
	border: 1px solid rgb(204, 204, 204);/*記事の枠線の太さと色①*/
	background-color: #fff;/*記事の背景色①*/
	padding: 2% 4%;/*記事の余白*/
}

/* 記事以外の背景色 */
.site-header {
	background-color: rgb(235,245,250);/*トップ画像部分の背景色②*/
	position: relative;
}
.single-featured-image-header {
	background-color: rgb(235,245,250);/*アイキャッチ画像左右の背景色③*/
	border-bottom: 1px solid rgb(204, 204, 204);/*アイキャッチ画像下の線色③*/
}
.site-content-contain {
	background-color: rgb(235,245,250);/*記事周りの背景色④*/
}

.wrap {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

.navigation-top {
	background: rgba(2, 112, 172, 0.08);/*背景色*/
	border-bottom: 1px solid rgba(49,80,150,0.25); /*上線の太さと色*/
	border-top: 1px solid rgba(49,80,150,0.25); /*下線の太さと色*/
}
.navigation-top a {
	color: rgb(255, 255, 255);/*文字色*/
	-webkit-transition: color 0.3s; /*文字色の変化に要する時間*/
	transition: color 0.3s; /*文字色の変化に要する時間*/
}
.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
	color: rgb(0, 0, 205);/*訪問後文字色*/
}
.main-navigation ul {
	background: transparent;/*スマホのメニューバー背景色*/
}
.menu-toggle {
	color: rgb(255, 255, 255);/*スマホのドロップダウン背景色*/
}
.navigation-top a:hover {
	color: #f00; /*マウスオーバーの文字色*/
	background: rgba(55, 118, 255, 0.35) /*マウスオーバーの背景色*/
}
.dropdown-toggle {
	color: rgb(255, 255, 255);/*スマホのドロップダウンアイコン*/
}

@media screen and (min-width: 48em) {
	.main-navigation ul ul {
		background: rgba(55, 118, 255, 0.35);/*背景色*/
		border: 0px solid rgba(55, 118, 255, 0.35);/*枠線の太さと色*/
		left: -999em;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 99999;
	}
	.main-navigation ul li.menu-item-has-children:before,
	.main-navigation ul li.menu-item-has-children:after,
	.main-navigation ul li.page_item_has_children:before,
	.main-navigation ul li.page_item_has_children:after {
		border-style: solid;
		border-width: 0 0px 0px;/*吹き出し三角部分の大きさ*/
		content: "";
		display: none;
		height: 0;
		position: absolute;
		right: 1em;
		bottom: -1px;
		width: 0;
		z-index: 100000;
	}
	.main-navigation ul li.menu-item-has-children:before,
	.main-navigation ul li.page_item_has_children:before {
		border-color: transparent transparent rgba(55, 118, 255, 0.35);/*吹き出し三角部分の線色*/
		bottom: 0;
	}
	.main-navigation ul li.menu-item-has-children:after,
	.main-navigation ul li.page_item_has_children:after {
		border-color: transparent transparent rgba(55, 118, 255, 0.01);/*吹き出し三角部分の背景色*/
	}
	.main-navigation li li:hover,
	.main-navigation li li.focus {
		background: rgba(55, 118, 255, 0.35);/*マウスオーバーの背景色*/
	}
	.main-navigation li li a {
		color: #f00;/*文字色*/
		-webkit-transition: color 0.3s ease-in-out; /*文字色の変化に要する時間*/
		transition: color 0.3s ease-in-out; /*文字色の変化に要する時間*/
	}
	.main-navigation li li.focus > a,
	.main-navigation li li:focus > a,
	.main-navigation li li:hover > a,
	.main-navigation li li a:hover,
	.main-navigation li li a:focus,
	.main-navigation li li.current_page_item a:hover,
	.main-navigation li li.current-menu-item a:hover,
	.main-navigation li li.current_page_item a:focus,
	.main-navigation li li.current-menu-item a:focus {
		color: #f00;/*マウスオーバーの文字色*/
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: 2em;/*サブメニュー横位置*/
		right: auto;
	}
}

.mokuji {
	max-width:380px;/*目次表の最大幅*/
	padding: 16px 16px 0px 16px;
	border: solid 1px #CCC;/*目次表の枠線*/
	background-color: rgba(255,255,230,1);/*目次表の背景色*/
}
.mokuji p {
	text-align: center;
	margin: 0 0 0em;
}
.mokuji ol {
	margin: 10px 0% 16px 6%;
}


#tile-list {
		width: 100%;
		overflow: hidden;
}
.tile-entry {
		float: left;
		margin: 0 1% 1em;/*余白（上、左右、下）*/
		width: 48%;/*横2列表示*/
		padding-bottom: 0;
		background-color: #fff;/*各記事の背景色*/
		border: 1px solid #eee;/*各記事の枠線*/
		box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7);/*各記事の影*/
}
@media screen and (min-width: 30em) {
.tile-entry {
		width: 31.33%; /*横3列表示*/
}
}
@media screen and (min-width: 48em) {
.tile-entry {
		width: 48%;/*横2列表示*/
}
}
@media screen and (min-width: 60em) {
.tile-entry {
		width: 31.33%; /*横3列表示*/
}
}
#tile-list .entry-title {
	font-size: 12px;/*タイトル文字サイズ*/
	font-size: 0.75rem;/*タイトル文字サイズ*/
}
#tile-list .entry-header {
	padding: 0.5em 8% 0.5em;/*投稿日とタイトルの周辺余白*/
	border-top: 3px solid #46b450;/*アイキャッチと文字の間の線*/
}
.post-thumbnail {
	margin-bottom: 0em;
	font-size: 0px;
}

.beach_rank_side
{
	color: blue;
}

/**********************************************/
/* アイキャッチ画像 */
/**********************************************/
.thumbnail-origin-class {
	display: table;
}

img.attachment-thumbnail.size-thumbnail.wp-post-image {
 	display: table-cell;
 	vertical-align: middle;
	width: auto;
	height: auto;
}

.home .entry-title,
.archive .entry-title {
	display: table-cell;
  	vertical-align: top;
	width: 75%;
	padding-left: 0.5em;
}

@media screen and (min-width: 48em) {
	.wrap {
		max-width: 1100px;/*記事・サイドバー・余白の全幅*/
		padding-left: 2em;/*記事の左余白*/
		padding-right: 2em;/*サイドバーの右余白*/
	}
	.has-sidebar:not(.error404) #primary {
		float: left;
		width: 67%;/*記事幅*/
	}
	.has-sidebar #secondary {
		float: right;
		padding-top: 0;
		width: 29%;/*サイドバー幅*/
	}
	.navigation-top .wrap {
		max-width: 1100px;/*メニューバー幅*/
		padding: 0.75em 3.4166666666667em;
	}
	.site-content {
		padding: 2.5em 0 0;/*メニューバーと記事の間隔*/
	}
}

/* 縦にダブル */
.double-rectangle {
	text-align: center;
	overflow: hidden;
	margin-bottom: 30px;
	padding-top: 30px;
	border-top: 1px solid #eee;
}

.double-rectangle-page {
	text-align: center;
	overflow: hidden;
	margin-bottom: 30px;
	padding-top: 30px;
	border-top: 1px solid #eee;
}

.double-rectangle-three {
	text-align: center;
	overflow: hidden;
	margin-bottom: 30px;
	padding-top: 30px;
	border-top: 1px solid #eee;
}

/* スマホ向け表示 */
@media screen and (max-width: 670px) {

	/* 3つのうち1つ表示パターン */
	.left-rectangle-page {
		float: left;
		margin-left: 0px;/* 左に0pxの余白 */
	}
	.right-rectangle-page {
		display: none;	/* 右側は非表示にする */
	}

	/* 3つのうち2つ表示パターン */
	.left-rectangle-three {
		float: left;
		margin-left: 10px;/* 左に10pxの余白 */
	}
	.center-rectangle-three {
		float: left;
		margin-left: 10px;/* 左に10pxの余白 */
	}
	.right-rectangle-three {
		display: none;	/* 右側は非表示にする */
	}
}

/* 1100px以上で横にダブル */
@media screen and (min-width: 1100px) {
	.left-rectangle {
		float: left;
		margin-left: 10px;/* 左に10pxの余白 */
	}
	.right-rectangle {
		float: right;
		margin-right: 10px;/* 右に10pxの余白 */
	}
	.left-rectangle-page {
		float: left;
		margin-left: 0px;/* 左に0pxの余白 */
	}
	.right-rectangle-page {
		float: right;
		margin-right: 0px;/* 右に0pxの余白 */
	}

	.left-rectangle-three {
		float: left;
		margin-left: 20px;/* 左に20pxの余白 */
	}
	.center-rectangle-three {
		float: left;
		margin-left: 20px;/* 左に20pxの余白 */
	}
	.right-rectangle-three {
		float: left;
		margin-left: 20px;/* 左に20pxの余白 */
	}

}

/* 固定ページに記事一覧 */
.indenx2itembox {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap:         wrap;
    -webkit-justify-content: space-between;
    justify-content:         space-between;
    margin-bottom: 25px;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 20px;
}
 
.indenx2itembox .imgbox {
    width: 225px;
}
 
.indenx2itembox .titlebox{
    width: 360px;
}
 
.indenx2itembox .titlebox_time {
    font-size: 11px;
    display:block;
    line-height: 100%;
}
 
.indenx2itembox .titlebox_title {
    margin-top: 5px;
}
 
.indenx2itembox .titlebox_contentin {
    font-size: 13px;
}
}
 
.indenx2itembox .titlebox_title a,
.indenx2itembox .titlebox_title a:hover,
.indenx2itembox .titlebox_title a:link,
.indenx2itembox .titlebox_title a:visited {
    text-decoration:none !important;
    color: #000000;
}
