
html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: verdana,sans-serif;
    font-size: 1rem;
    line-height: 2em;
    overflow-x: hidden;
}

p, span {
    color: #666666;
}

hr { 
    border-top-color: #cccccc; 
    margin-top: 10px;
    margin-bottom: 10px;
}

.tm-header {
    background-color: #0088cc;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 340px;
    overflow-y: visible;     
}

.tm-header-wrapper {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px;
    width: 100%;
    height: 100%; 
}

.tm-header-wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.tm-site-header {
    margin-top: 25px;
    margin-bottom: 35px;
}

.tm-site-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: white;    
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-profile-logo {
	text-align: center;
}

.tm-profile-logo .logo {
	width: 50%;
	max-width: 150px;
}

.tm-main {
    margin-left: 400px;
    padding: 40px 100px 25px;
}

.tm-post {
    max-width: 470px;
}

.tm-row {
    /*max-width: 980px;*/
    justify-content: space-between;
}

.tm-nav {
    margin-bottom: 50px;
}

.tm-nav-item {
    list-style: none;
    margin-bottom: 12px;
}

.tm-nav-link {
    color: white;
    background-color: transparent;
    height: 50px;
    width: 100%;
    max-width: 335px;    
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    padding: 30px;
}

.tm-nav-item:hover .tm-nav-link,
.tm-nav-item.active .tm-nav-link {
    color: #0088cc;
    background-color: white;
    text-decoration: none;
}

.tm-nav ul {
    position: relative;
}

.tm-nav-item.active:after {
    content: '';
    width: 100%;
    max-width: 335px;    
    height: 70px;
    display: block;
    border: 1px solid white;
    margin-left: 5px;
    margin-top: -65px;
    position: absolute;
    z-index: -1000;
}

ul { 
    margin: 0; 
    padding: 0;
}

pre {
    line-height: 1.2rem;
}

.tm-nav {
    margin-left: -30px;
}

.navbar-toggler {
     display: none;
}

.tm-post-link {
    display: block;
    position: relative;
    cursor: pointer;
}

.tm-post-link-inner {
    overflow: hidden;
    background: #3085a3;
}

.tm-post-link img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
}

.effect-lily img {
    max-width: none;
    width: -webkit-calc(100% + 10px);
    width: calc(100% + 10px);
    opacity: 0.9;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-10px,0, 0);
    transform: translate3d(-10px,0,0);
}

.effect-lily:hover img {
    opacity: 1;
}

.effect-lily:hover img {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.tm-post {
    margin-bottom: 75px;
}

.tm-topic {
    margin-bottom: 1rem;
}

.tm-new-badge {
    top: 25px;
    right: -10px;
    background-color: #0088cc;
    color: white;
    padding: 5px 20px;
}

.tm-new-badge-article {
    top: -10px;
    right: 5px;
    background-color: #0088cc;
    color: white;
    padding: 5px 20px;
}

.pickup {
    color: #0088cc!important;
    background-color: #ffffff!important;
    padding: 0px 7px!important;
    border-radius: 5px;
}

.tm-post-title {
    font-size: 1.7rem;
    transition: all 0.3s ease;
}

.tm-h3 {
    font-size: 1.5rem;
    color: #666666;
}

.tm-post-link:hover .tm-post-title {
    color: #4fc4ff;
}

.tm-btn {
    display: inline-block;
    border-radius: 5px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.tm-btn-primary {
    background-color: #0088cc;
    color: white;  
    padding: 8px 43px;
    border: none;
}

.tm-btn-small {
    padding: 8px 33px;
}

.tm-btn-primary:hover {
    background-color: #4fc4ff;
    color: white;
}

.tm-paging-nav ul li {
    list-style: none;
    display: inline-block;
    margin-right: 10px;
}

.tm-paging-nav ul li:last-child {
    margin-right: 0;
}

.tm-paging-link {
    background-color: #f0f0f0;
    color: #999999;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.tm-paging-item .tm-paging-link:hover,
.tm-paging-item.active .tm-paging-link {
    background-color: #0088cc;
    color: white;
}

.tm-btn.disabled {
    background-color: #f0f0f0;
    color: #999999;
    cursor: not-allowed;
}

.tm-external-link {
    color: #0088cc;
}

.tm-external-link:hover {
    color: #4fc4ff;
    text-decoration: underline;
}

.tm-paging-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tm-prev-next-wrapper,
.tm-paging-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

.tm-copyright {
    text-align: right;
    /*white-space: nowrap;*/
}

hr.tm-hr-primary {
    border-top: 5px solid #0088cc;
}

figure {
    margin: 0;
}

figcaption {
    line-height: 1.4;
}

.tm-post-full {
    max-width: 700px;
}

.tm-pt-20 { padding-top: 20px; }
.tm-pt-30 { padding-top: 30px; }
.tm-pt-45 { padding-top: 45px; }
.tm-pt-60 { padding-top: 60px; }

.tm-mb-40 { margin-bottom: 40px; }
.tm-mb-45 { margin-bottom: 45px; }
.tm-mb-55 { margin-bottom: 55px; }
.tm-mb-60 { margin-bottom: 60px; }
.tm-mb-65 { margin-bottom: 65px; }
.tm-mb-75 { margin-bottom: 75px; }

.tm-mt-40 { margin-top: 40px; }
.tm-mt-100 { margin-top: 100px; }

.tm-mr-20 { margin-right: 20px; }

.tm-color-primary, span.tm-color-primary { color: #0088cc; }
a.tm-color-gray, .tm-color-gray { color: #999999; }
a.tm-color-gray:hover { color: #009999; }

button:focus { outline: none; }

a {
   color: #0088cc;
}

a:hover { 
    text-decoration: none; 
    color: #4fc4ff;
}

a:hover figcaption {
    color: #4fc4ff;
}

.tm-line-height-short {
    line-height: 1.8;
}

.tm-contact-right {
    padding-left: 55px;
}

.tm-contact-form textarea {
    resize: none;
}

@media (max-width: 1540px) {
    .tm-header {
        width: 340px;
    }
    
    .tm-main {
        margin-left: 340px;
        width: calc(100% - 340px);
    }
}

@media (max-width: 991px) {
    .tm-header {
        width: 340px;
        left: -340px;
        transition: all 0.3s ease;
    }

    .tm-header.show {
        left: 0;
    }

    .tm-header-wrapper {
        padding: 15px;
    }

    .navbar-toggler {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        border-radius: 0;
        background-color: #0088cc;
        opacity:0.5;
        top: 5px;
    }

    .tm-header .navbar-toggler .menu-open {
        display: inline;
    }

    .tm-header.show .navbar-toggler .menu-open {
        display: none;
    }

    .tm-header .navbar-toggler .menu-close {
        display: none;
    }
    
    .tm-header.show .navbar-toggler .menu-close {
        display: inline;
    }
    
    .tm-main {
        margin-left: 0;
        padding: 50px 40px;
        width: 100%;
    }

    .tm-contact-left {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .tm-contact-right {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .tm-post-full {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .tm-main {
         padding: 60px 10px;
    }
    
    .tm-prev-next-wrapper,
    .tm-paging-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tm-paging-wrapper {
        margin-top: 50px; 
        justify-content: flex-start;
    }

    .tm-copyright {
        text-align: left;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .tm-contact-left,
    .tm-contact-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tm-contact-right {
        padding-left: 15px;
    }

    .tm-post-col,
    .tm-aside-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 630px) {
    .tm-contact-left,
    .tm-contact-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tm-contact-right {
        padding-left: 15px;
    }
}

.icon {
    width:25px;
}

.tm-site-logo .logo {
    width:70px;
}

.tm-site-logo-tunnelapp {
    width:100%;
}

.tm-site-header .title {
    font-weight: bold;
    font-size: 1.5rem;
}

.tm-site-header .title .sub {
    font-weight: normal;
    font-size: 1rem;
    margin-top: 5px;
    display: block;
    color: #ffffff;
}

.ad-space-side {
    border: #999999 solid 1px;
    width:300px;
    height:250px;
    margin-left: 4px;
    margin-right: 0;
    margin-bottom: 5px;
    background-color:#ffffff;
}

.ad-space-side-sub {
    width:300px;
    line-height:80px;
    margin-left: 4px;
    margin-right: 0;
    margin-bottom: 5px;
    text-align:center;
}

.ad-space-side-sub a {
    color: #ffffff;
}

.ad-space-article {
    border: #999999 solid 1px;
    width:300px;
    height:250px;
    margin-left: auto;
    margin-right: auto;
}

.tm-paging-wrapper .page {
    white-space: nowrap;
}

.disable-ja {
    display: none;
}

.disable-en {
   display: none;
}

.red {
   color:#ff0000;
}

.blue {
   color:#0000ff;
}

blockquote {
    padding: 1rem;
    background-color: #eeeeee;
    border-radius: 10px;
}

blockquote ul {
    padding-left: 2rem;
    padding-right: 2rem;
}

ul.list {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 1rem;
}

.code {
	color:#ffffff;
	background-color: #333333;
	padding: 1rem;
	margin-top:1rem;
}

.referenceLink {
	word-break: break-all;
	padding-left: 1.5rem;
}

.center {
	text-align:center;
}

.caption {
	font-size: 0.6rem;
	margin-left:2rem;
}

.indexPageTitle {
	color: #0088cc;
	font-size: 1rem;
	text-align:right;
}

.youtube_short {
	width: 70%;
	max-width: 400px;
	margin: auto;
}

.youtube_short iframe {
	aspect-ratio: 9 / 16;
	width: 100%;
	height: 100%;
}