form {
  margin: 0;
}
img {
  border: 0px;
}

/* 独自評価ボタン */
button.original-evaluation-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
	*display: inline; /*for IE*/
	*zoom: 1; /*for IE*/
	margin: 2px;
	color: #696969;
	padding: 2px 4px;
	border: none;
	background-color: #eee;
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font-size: 11px;
}
button.original-evaluation-btn:hover {
    background-color: #ffffff;
}
button.original-evaluation-btn span {
    color: #f45b5b;
}

/* Youtube */
.youtube_play { position: relative; } /* サムネイル */
.youtube_play:hover { cursor: pointer; } /* サムネイル */
.youtube_btn { /* YouTubeアイコン */
    /* アイコンの画像とサイズ指定 */
    width: 70px;
    height: 49px;
    background-image:url("../img/youtube_icon_dark.png");
    background-size: cover;
    /* 上下左右中央へ配置 */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/* 記事のメッセージボックス */
.log-frame .message {
    margin-top:0.65em;
    margin-bottom:1em;
}

/* 記事の時刻 */
.log-frame .post-date {
    font-size: 14px;
}

/* 記事の投稿者名 */
.log-frame .poster {
    font-size: 14px;
}

/* アンカー記事 */
.anchor-frame {display:none;overflow:auto;overflow-x:hidden;width:100%;max-height:80%;font-size:13.5px;border:1px solid #c0c0c0;border-left:5px solid #c0c0c0;box-sizing:border-box;}
.anchor-frame > .log-frame {margin:0;}

/* 画像選択フォームとプレビュー */
.input-files-box, .input-files-box * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.input-files-box {
    display: inline-block;
    position: relative;
    padding: 7px 20px;
    border: #767676 1px solid;
    border-radius: 3px;
    background-color: #efefef;
    font-size: 0.85rem;
    color: #000000;
}
.input-files-box:hover {
    opacity: 0.8;
}
.input-files-box input[type="file"] {
    filter: alpha(opacity=0);
    -ms-filter: "alpha(opacity=0)";
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.input-files-box input[type="file"]::file-selector-button {
    cursor: pointer;
}
#input-files-preview img {
    display: inline-block;
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 3px;
    margin: 1px;
    vertical-align: middle;
}

/* ページネーション */
ul.pagination, ul.pagination * {
    box-sizing: border-box;
    overflow: hidden;
}
ul.pagination a {
    text-decoration: none;
}
ul.pagination select {
    display: block;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    font-size: 1rem;
}
ul.pagination select:focus {
    border: none;
    box-shadow: none;
    outline: none;
}
ul.pagination {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
ul.pagination li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: block;
}
ul.pagination li.page-select {
    flex: 1;
    position: relative;
}
ul.pagination li.page-select::after {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    right: 1rem;
    top: 45%;
    transform: translateY(-50%) rotate(45deg);
    border-bottom: 2px solid #111;
    border-right: 2px solid #111;
    pointer-events: none;
}
ul.pagination li .pagination-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.8rem;
    padding: 0 1rem;
    background-color: #F2F2F2;
    color: #111111;
    border: 1px solid #b3b3b3;
}
ul.pagination li :not(span).pagination-item:hover {
    background-color: #ebeaea;
}
ul.pagination li:not(.page-select) .pagination-item {
    padding-left: 2.2rem;
    padding-right: 2.2rem;
}
ul.pagination li.page-select .pagination-item {
    padding-right: 2.2rem;
}
ul.pagination li span.pagination-item {
    cursor: not-allowed;
    opacity: 0.2;
}
@media screen and (min-width: 500px) { 
    ul.pagination li.prev {
        flex: 1;
    }
    ul.pagination li.next {
        flex: 1;
    }
}
.pagination-wrap {
    padding-top: 15px;
}

/* アドブロック警告 */
#ab-warning {
    box-sizing: border-box;
    color: #000000;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    margin: 5px;
    padding: 10px;
}

/* 見出し */
.heading-1 {
    box-sizing: border-box;
    position: relative;
    border-top: solid 2px #c0c0c0;
    border-bottom: solid 2px #c0c0c0;
    background: #333333;
    line-height: 1.4;
    padding: 0.4em 0.5em;
    letter-spacing: 0.05rem;
    margin: 1.1rem 0 0 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
}
.heading-1:after {
    position: absolute;
    font-family: 'Quicksand','Avenir','Arial',sans-serif;
    font-weight: 900;
    content: attr(data-en);
    background: #c0c0c0;
    color: #ffffff;
    left: 0px;
    bottom: 100%;
    border-radius: 5px 5px 0 0;
    padding: 5px 7px 3px;
    font-size: 0.7rem;
    line-height: 1;
    letter-spacing: 0.05rem;
}

/* 関連サイト */
.related-sites-container {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    border-top: 2px solid #cccccc;
}
.related-sites-container * {
    box-sizing: border-box;
}
.related-sites-container *::before, .related-sites-container *::after {
    box-sizing: border-box;
}
.related-sites-item {
    flex-basis: 50%;
    background-color: #343a40;
    box-shadow : 0 0 0 1px #454d55;
    white-space: nowrap;
    overflow: hidden;
}
.related-sites-item a {
    display: block;
    padding: 0.75rem;
    color: #ffffff;
    text-decoration: none;
}
.related-sites-item a .item-inner {
    white-space: nowrap;
    overflow: hidden;
}
.related-sites-item a .item-inner .site-name {
    font-size: 85%;
}
.related-sites-item a .item-inner .site-description {
    font-size: 65%;
}
.emoji {
    font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol;
}

/* グローバルナビゲーション */
.global-nav,
.global-nav * {
    box-sizing: border-box;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
.global-nav {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    position: relative;
}
.global-nav .home,
.global-nav .globe,
.global-nav .fontsize,
.global-nav .search,
.global-nav .images,
.global-nav .pin,
.global-nav .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
.global-nav .hamburger {
    flex: 1;
    justify-content: flex-end;
}
.global-nav .home a,
.global-nav .globe a,
.global-nav .fontsize a,
.global-nav .search a,
.global-nav .images a,
.global-nav .pin a
{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    row-gap: 3px;
    padding: 0 16px;
    color: currentColor;
    text-decoration: none;
    height: 100%;
    font-weight: bold;
}
.global-nav .home a span,
.global-nav .globe a span,
.global-nav .fontsize a span,
.global-nav .search a span,
.global-nav .images a span,
.global-nav .pin a span
{
    display: block;
    font-size: 65%;
}
/* ハンバーガーメニュー */
.hamburger-menu {
    list-style: none;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 40px;
    clear: both;
    background: rgba(55, 55, 55, 0.98);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
}
.hamburger-checkbox:checked ~ .hamburger-menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.hamburger-menu a {
    text-decoration: none;
    color: #ddd;
    opacity: 0;
    transition: 0.5s;
}
.hamburger-menu li {
    border-top: 1px solid rgb(75, 75, 75);
    padding: 15px 0;
    margin: 0 15px;
    opacity: 0;
    transition: 0.5s;
}
.hamburger-checkbox:checked ~ .hamburger-menu a,
.hamburger-checkbox:checked ~ .hamburger-menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}
.hamburger-checkbox {
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 0 !important;
    display: none !important;
}
.hamburger-btn {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 18.5px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.hamburger-btn-icon {
    background: currentColor;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.hamburger-btn-icon:before,
.hamburger-btn-icon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: currentColor;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.hamburger-btn-icon:before {
    top: 9px;
}
.hamburger-btn-icon:after {
    bottom: 9px;
}
.hamburger-checkbox:checked ~ .hamburger-btn .hamburger-btn-icon:before {
    transform: rotate(-45deg);
}
.hamburger-checkbox:checked ~ .hamburger-btn .hamburger-btn-icon:after {
    transform: rotate(45deg);
}
.hamburger-checkbox:checked ~ .hamburger-btn:not(.steps) .hamburger-btn-icon:before {
    top: 0;
}
.hamburger-checkbox:checked ~ .hamburger-btn:not(.steps) .hamburger-btn-icon:after {
    bottom: 0;
}
.hamburger-checkbox:checked ~ .hamburger-btn .hamburger-btn-icon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* HOMEアイコン */
.gg-home-alt {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 18px;
    height: 14px;
    border: 2px solid;
    border-top: 0;
    border-radius: 2px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-bottom: -2px;
}
.gg-home-alt::after,
.gg-home-alt::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
}
.gg-home-alt::before {
    border-top: 2px solid;
    border-left: 2px solid;
    border-top-left-radius: 4px;
    transform: rotate(45deg);
    top: -5px;
    border-radius: 3px;
    width: 14px;
    height: 14px;
    left: 0;
}
.gg-home-alt::after {
    width: 6px;
    height: 10px;
    background: currentColor;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    left: 4px;
    bottom: -2px;
}
/* 地球儀アイコン */
.gg-globe-alt,
.gg-globe-alt::after,
.gg-globe-alt::before {
    display: block;
    box-sizing: border-box;
    height: 18px;
    border: 2px solid
}
.gg-globe-alt {
    position: relative;
    transform: scale(var(--ggs,1));
    width: 18px;
    border-radius: 22px
}
.gg-globe-alt::after,
.gg-globe-alt::before {
    content: "";
    position: absolute;
    width: 8px;
    border-radius: 100%;
    top: -2px;
    left: 3px
}
.gg-globe-alt::after {
    width: 24px;
    height: 20px;
    border: 2px solid transparent;
    border-bottom: 2px solid;
    top: -11px;
    left: -5px
}
/* フォントサイズアイコン */
.gg-format-uppercase {
    transform: scale(var(--ggs,1))
}
.gg-format-uppercase,
.gg-format-uppercase::after {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    box-shadow:
    0 -2px 0 0,
    inset 0 0 0 2px
}
.gg-format-uppercase::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 4px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    bottom: 0;
    right: -8px
}
/* 検索アイコン */
.gg-search {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 16px;
    height: 16px;
    border: 2px solid;
    border-radius: 100%;
    margin-left: -4px;
    margin-top: -4px
}
.gg-search::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    height: 8px;
    background: currentColor;
    transform: rotate(-45deg);
    top: 10px;
    left: 12px
}
/* 画像アイコン */
.gg-image {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 20px;
    height: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 2px;
    border-radius: 2px
}
.gg-image::after,
.gg-image::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border: 2px solid
}
.gg-image::after {
    transform: rotate(45deg);
    border-radius: 3px;
    width: 16px;
    height: 16px;
    top: 9px;
    left: 6px
}
.gg-image::before {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    top: 2px;
    left: 2px
}
/* PINアイコン */
.gg-pin {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: rotate(45deg) scale(var(--ggs, 1));
    width: 18px;
    height: 18px;
    border-radius: 100% 100% 0 100%;
    border: 2px solid;
    margin-top: -4px;
}
.gg-pin::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid;
    top: 3px;
    left: 3px;
    border-radius: 40px;
}

/* アクションシート */
/* html {
    scrollbar-gutter: stable;
} */
#comment-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2147483646;
    pointer-events: none;
}
#comment-menu-overlay.show {
    display: block;
    pointer-events: auto;
}
#comment-menu-modal * {
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
#comment-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2147483647;
    padding: 10px;
    overscroll-behavior: contain;
    transform: translateY(-100%);
    transition: transform 0.25s ease-in-out;
}
#comment-menu-modal.open {
    transform: translateY(0);
    transition: transform 0.32s ease-in-out;
}
#close-comment-menu-modal {
    display: block;
    background: #f0f0f0;
    padding: 15px;
    color: #007aff;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    border-radius: 13px;
    margin-bottom: 7px;
}
#comment-menu-modal .action-sheet a {
    display: block;
    background: #ffffff;
    padding: 15px;
    color: #007aff;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    border: none;
    border-bottom: 1px solid #eee;
}
#comment-menu-modal .action-sheet a:first-of-type {
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}
#comment-menu-modal .action-sheet a:last-of-type {
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    border-bottom: none;
}
