@font-face {
  font-family: Emoji;
  src: local("Noto Color Emoji"),
       local("Noto Emoji"),
       local("Apple Color Emoji"),
	   local("Segoe UI Emoji"),
       local("Segoe UI Symbol");
}

.emoji {
  font-family: Emoji;
	font-weight: normal;
}

body {
		padding: 0;
		margin: 0;
	background-image: url('bg3.png');
	background-size:cover;
/*		background-color: #2a2a2a; */
		color: #dddddd;
/*		font-size: 14px; */
		font-size: 15px;
}

#header {
		margin-top: 0;
		padding: 0;
/*		background-image: url('/ja/assets/images/bg01.jpg');
		height: 150px; */
	height: 180px;
		background-size:cover;
}

h1 {
		margin-top: 0;
/*		padding-top: 60px; */
	    padding-top: 60px;
		text-align:center;
		font-size: 22px;
}

#header > h2 {
	margin-top: 0px;
    padding-top: -5px;
    
	text-align:center;
	font-size: 22px;
	border-bottom: solid 0px rgba(255, 255, 255, 0.5);
}

h2 {
		font-size: 22px;
}

#container {
		overflow: hidden;
/*		width: 1000px; */
	width: 1360px;
		background-color: #222;
		margin-right: auto;
		margin-left : auto;
}

#content {
		float: left;
		font-size: 110%;
    padding: 5px;
	    width: 100%;
}

#footer {
		clear: both;
		padding: 5px 0 5px 0;
/*		width: 1000px; */
	width: 1360px;
		margin-right: auto;
		margin-left : auto;
}

p {
		padding-left: 8px;
		padding-right: 5px;
}

ul {
        text-indent: 0em;
        margin-left: 1em;
/*		padding-left: 5px; */
	padding-left: 20px;
		padding-right: 5px;
}
 
li {
		line-height: 180%;
}

dl {
		padding-left: 5px;
}
dt {
		float: left;
		width: 92px;
}
dd {
		margin-left: 112px;
		line-height: 180%;
	padding-bottom: 7px;
}

ul.links {
		list-style: none;
/*		padding: 0; */
	padding: 0 3px 0 0;
		text-indent: -1em;
		border-bottom: solid 1px rgba(255, 255, 255, 0.125);
}

ul.links > li > a {
		border: 0;
		border-top: solid 1px rgba(255, 255, 255, 0.125);
		color: rgba(255, 255, 255, 0.6);
		display: block;
		font-size: 110%;
		line-height: 30px;
		padding-left: 5px;
		text-decoration: none;
}

ul.links > li > a:hover {
		color: #fff;
}

.head { /* 追加 */
    margin:5px 0 5px 10px;
}

.lefttop { /* 追加 */
    float:left;
    width: 160px;
    margin:8px 0 8px 8px;
    padding:8px;
}

.righttop { /* 追加 */
    float:right;
    width: 200px;
    margin:8px 0 8px 8px;
    padding:8px;
}

.rightup { 
  float:right;
  margin-right:10px;
  margin-bottom:10px;
}

.twimg {
		padding-left:10px;
		width: 200px;
}

h2, h3, h4 {
		padding-left: 5px;
		border-bottom: solid 1px rgba(255, 255, 255, 0.5);
}

h2.menu { /* 追加 */
    font-size: 23px;
}

a { color:rgba(255, 255, 255, 0.6); }
a:hover { color:#fff; }

.right, .date {
		text-align:right;
    padding-right: 5px;
}

textarea, input {
		background-color: #aaa;
}

select.mei {
		font-size: 30px;
}

.block {
		display: table;
		width: 100%;
}

table.border {
/*		width: 100%; */
	width: 98%;
		border-collapse:collapse;
}
.border th, .border td {
		border:1px solid #bbb;
		padding: 3px;
}
.border th {
		background-color: midnightblue;
}

 /* 以下追加 */
#ham {
	position: absolute;
	display: none;
}

 /* 以下 .list 系追加 */
.lists {
    width:100%;
    height:200px;
    border:0px solid;
    padding:0;
    margin:2px 0 2px 0;
}

.listtitle {
    font-size:17px;
    padding:3px 10px 3px 10px;
}

.listresume {
    font-size:17px;
    padding:3px 10px 3px 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.listsrc {
    font-size:13px;
    padding:3px 10px 3px 10px;
    text-align:right;
}

.listimg {
	width: 30%;
    height: 100%;
    float: left;
}
.listdesc {
	 width: 70%;
     height: 100%;
     float: left;
}

.story {
    margin-left: auto;
    margin-right: auto;
    width:816px;
    text-indent: 2em;
}

@media only screen and (max-width: 999px) {
    .lists {
        height:200px;
    }
.story {
    width:500px;
}
}

@media only screen and (max-width: 799px) {
    .lists {
        height:200px;
    }
.story {
    width:400px;
}
}

@media only screen and (max-width: 599px) {
    .lists {
        height:190px;
    }
    .listtitle {
        font-size:15px;
        padding:3px 5px 3px 5px;
    }
    .listresume {
        font-size:15px;
        padding:3px 5px 3px 5px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .listsrc {
        font-size:13px;
        padding:2px 5px 2px 5px;
    }
.story {
    width:340px;
}
}

@media only screen and (max-width: 499px) {
    .lists {
        height:190px;
    }
    .listtitle {
        font-size:13px;
        padding:2px 4px 2px 4px;
    }
    .listresume {
        font-size:13px;
        padding:2px 4px 2px 4px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .listsrc {
        font-size:12px;
        padding:1px 4px 1px 4px;
    }
.story {
    width:280px;
}
}

@media only screen and (max-width: 1359px) {
    #container {
	    width: 1000px;
    }
    #footer {
	    width: 1000px;
    }
}

@media only screen and (max-width: 999px) {
	#header {
		height: 150px;
	}
	h1 {
		color: #eee;
		padding-top: 50px;
	}
	#container {
		background-color: #222;
		width:100%;
	}
	#content {
		width: 100%;
	}
	#sidebar {
		width: 100%;
	}
	#footer {
		padding: 5px 0 5px 0;
		width: 100%;
	}
	.googlemap {
		width: 320px;
		height: 320px;
	}
	#sidebar {
		width: 80%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 80;
		background-color: #000;
		opacity: 0.9;
		display: none;
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
	}
    #sidebar::-webkit-scrollbar {
        display:none;
    }
	#ham {
		position: absolute;
		padding: 0;
		margin: 0;
		color: black;
		height: 35px;
		top:0;
		right:0; /* 要変更 */
		display: block;
		z-index:90;
	}
	.menu-btn {
		position: relative;
		top: 0px;
		left: 0px;
		display: flex;
		height: 40px;
		width: 40px;
		justify-content: center;
		align-items: center;
		z-index: 90;
		background-color: gray;
	}
	.menu-btn span,
	.menu-btn span:before,
	.menu-btn span:after {
		content: '';
		display: block;
		height: 3px;
		width: 22px;
		border-radius: 3px;
		background-color: #ffffff;
		position: absolute;
	}
	.menu-btn span:before {
		bottom: 8px;
	}
	.menu-btn span:after {
		top: 8px;
	}
	#menu-btn-check:checked ~ .menu-btn span {
		background-color: rgba(255, 255, 255, 0);/*オープン時真中の線を透明に*/
	}
	#menu-btn-check:checked ~ .menu-btn span::before {
		bottom: 0;
		transform: rotate(45deg);
	}
	#menu-btn-check:checked ~ .menu-btn span::after {
		top: 0;
		transform: rotate(-45deg);
	}
	#menu-btn-check {
		display: none;
	}
}

.alternative {
/*	visibility: hidden; */
	visibility: visible;
}

.sns {
		text-align: center;
}

#content p {
	font-size: 18px;
	line-height: 170%;
}

#content div {
	font-size: 18px;
	line-height: 170%;
}

#content pre {
	font-size: 15px;
/*	line-height: 160%;*/
}

#content blockquote {
	font-size: 17px;
	line-height: 170%;
    background-color: #132f3d;
    padding: 5px;
}

#content dd {
	font-size: 18px;
	line-height: 170%;
}

#content dt {
	font-size: 18px;
	line-height: 170%;
}

#content li {
	font-size: 18px;
	line-height: 170%;
}

#sidebar {
	font-size: 120%;
}

.articles {
	width: 100%;
	border-top: solid 1px rgba(255, 255, 255, 0.2);
}

#likes {
    font-size:14px;
    display:inline-block;
    vertical-align:bottom;
}
#likeButton {
    opacity: 100%;
}
#likeButton:hover {
    opacity: 50%;
}

a.btn {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 120px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #27acd9;
	background: #27acd9;
	color: #fff;
	border-radius: 100vh;
	transition: 0.5s;
}
a.btn:hover {
	color: #27acd9;
	background: #fff;
}

