@charset "utf-8";
/*
Theme Name: base-theme
Description:  CUSTOM
Version: 1.0
*/

/* ------------------------------------
// common
------------------------------------ */
body {
    color: #333;
    font-size: 16px;
    font-family: Verdana, "游ゴシック Medium", "Yu Gothic Medium", YuGothic, "游ゴシック体", sans-serif;
    line-height: 1.6;
}

.wrapper {
    overflow: hidden;
}

a {
    color: #3c3c3c;
    text-decoration: none;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
}

a:hover,
a:active {
    color: #3c3c3c;
    text-decoration: underline;
}

a:visited {
    color: #3c3c3c;
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

.none {
    display: none;
}

.mainarea [class*='col-'] {
    overflow: hidden;
}

.customize-partial-edit-shortcuts-shown [class*='col-'] {
    overflow: visible;
}

.breadcrumb {
    background-color: #e6e6e6;
    border-radius: 0;
    padding: .5em 1em;
    line-height: 1.2;
}
.breadcrumb li {
    overflow: hidden;
}
.breadcrumb li.active {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-transform: ellipsis;
    -webkit-transform: ellipsis;
    -o-transform: ellipsis;
    -ms-transform: ellipsis;
}
.breadcrumb li.active a {
    pointer-events: none;
    color: inherit;
}

.rwdwrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.rwdwrap iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

.navbar {
    margin-bottom: 0;
    padding: 0 !important;
    border-radius: 0;
    background-color: transparent;
    box-shadow: 0px 3px 6px -3px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 3px 6px -3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 6px -3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0px 3px 6px -3px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0px 3px 6px -3px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    padding-left: 0;
}

.navbar-nav a {
    font-size: small;
    display: block;
    padding: 1rem 1rem;
    text-decoration:none;
}

.navbar li {
    border-bottom: 1px solid transparent;
}

.nav .menu-item-has-children>ul, .nav .page_item_has_children>ul {
    display: none;
}
.nav .open>ul {
    display: flex !important;
	justify-content: center;
}

.logo {
    font-size: x-large;
}



.navbar-nav .nav-item+.nav-item {
    margin-left: 0;
}


.dropdown-menu {
    padding: 0;
}
.dropdown-item {
    padding: 0;    
}

/* multilevel */
.nav .sub-menu .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}
.nav .sub-menu .dropdown-toggle:after{
    position: absolute;
    right: .25rem;
    top: 45%;
    transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
}
.nav .nav_ttl > a {
    pointer-events: none;
}

blockquote {
    border-left: 4px solid #e6e6e6;
    padding-left: 1em;
}

blockquote:before {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
    content: "\e977";
    color: rgba(119, 119, 119, 0.5);
    font-size: large;
}

.screen-reader-text {
    display: none !important;
}

table.table thead th, table.table thead td {
	background-color: #f9f9f9;
}
table.table thead th {
    border-top: 0 none;
    border-bottom: 0 none;
}
table.table-bordered-none, table.table-bordered-none th, table.table-bordered-none td {
    border: 0 none;
}


/* ------------------------------------
// bootstrap
------------------------------------ */


/* navbar-toggle */

.navbar-toggler {
    position: absolute;
    top: 0;
    left: 0;
    padding: 19px .75rem 2px !important;
    background-color: transparent;
    background-image: none;
    border: none;
    border: none;
    background: transparent !important;
    cursor: pointer;
    width: 18%;
    text-align: center;
}

.navbar-toggler:focus {
    outline: 0;
}

.navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin:0 auto;
}

.navbar-toggler .icon-bar+.icon-bar {
    margin-top: 5px;
}

.navbar-toggler:hover {
    background: transparent !important;
}

.navbar-toggler .icon-bar {
    background-color: #555 !important;
    width: 26px;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
    -moz-transform: rotate(45deg);
    -moz-transform-origin: 10% 10%;
    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: 10% 10%;
    -o-transform: rotate(45deg);
    -o-transform-origin: 10% 10%;
    -ms-transform: rotate(45deg);
    -ms-transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
    -moz-transform: rotate(-45deg);
    -moz-transform-origin: 10% 90%;
    -webkit-transform: rotate(-45deg);
    -webkit-transform-origin: 10% 90%;
    -o-transform: rotate(-45deg);
    -o-transform-origin: 10% 90%;
    -ms-transform: rotate(-45deg);
    -ms-transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
    -moz-transform: rotate(0);
    -webkit-transform: rotate(0);
    -o-transform: rotate(0);
    -ms-transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
    -moz-transform: rotate(0);
    -webkit-transform: rotate(0);
    -o-transform: rotate(0);
    -ms-transform: rotate(0);
}


/* carousel */

.carousel-item img {
    width: 100%;
}

.carousel-indicators {
    bottom: -3rem;
}

.carousel-indicators li {
    background-color: #ccc;
    border: 0 none;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    cursor: pointer;
}
.carousel-indicators li.active {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    margin-top: -2px;
}
.carousel-indicators .active {
    background-color: #b61c22;
}
.carousel-control
.carousel-indicators li {
    margin: 0 .2em !important;
}

/* ------------------------------------
// main
------------------------------------ */

.headline {
    padding: 0rem 1rem;
}

header .ttl,
header .subttl {
    margin: 0;
    padding: 0;
    font-size: 11px;

}

.cover_inner {
    position: relative;
    line-height: 0;
}

.cover video {
    width: 100%;
    height: auto;
}

.main {
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%) translateX(0%);
    transform: translateY(-50%) translateX(0%);
    z-index: 999;
    transition: all 3s ease 0s;
    width:100%;
    padding:0 60px;
}


.mainpost {
    margin-top: 3rem;
}

article.card {
    margin-bottom: 2em;
    border: 0 none;
    border-radius: 0;
    background-color: transparent;
}

.archive article.card {
	margin-bottom:2em;
}

article.card .card-block {
    padding: 0;
}

article.card .card-title {
    font-size: 100%;;
    font-weight: bold;
    overflow: hidden;
/*    text-overflow: ellipsis;
    height: 2.2em;*/
    line-height: 1.3em;
    margin: .8rem 0;
    display: box;
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    box-orient: vertical;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-box-orient: vertical;
    -moz-line-clamp: 2;
    -o-box-orient: vertical;
    -o-line-clamp: 2;
    -ms-box-orient: vertical;
    -ms-line-clamp: 2;
}

article.card .card-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    font-size:11px;
    line-height: 1.2em;
    height: 1.2em;
    margin: .5rem 1rem .5rem 0;
}

article.card  a:hover {
    text-decoration: none;
}

article.card  .post_links {
    display: block;
}

article.card  .post_links:hover {
}

article.card  .post_thumb {
    width: 100%;
    height: 12rem;
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    -ms-background-size: 100% auto;
}

article.card  a:hover .post_thumb {
    opacity: 0.8;
}

.post_meta {
    margin-bottom: 1rem;
}

.post_time,
.post_cat {
    font-size: small;
    margin-right: .5em;
    opacity: 0.8;
    color: #333;
}

.post_body {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.widget h1,
.widget h2 {
    border-bottom: 4px solid #e6e6e6;
    margin-bottom: .8rem;
    text-align:center;
}

.widget h1>span,
.widget h2>span {
    border-bottom: 4px solid #b61c22;
    display: inline-block;
    padding: .7rem 0;
    margin-bottom: -4px;
}

.widget h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.post_body hr,
.widget hr {
    clear: both;
}

.cat_info {
    margin-bottom: 1rem;
}

.cat_info img {
    width: 100%;
}

.ttl {
    font-size: medium;
    font-weight: bold;
    background-color: #e6e6e6;
    border-radius: 0;
    margin-bottom: 1rem;
}

ul.post-categories,
.widget ul,
ul.page-numbers {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

ul.page-numbers {
    padding-left: 0;
    margin-left: -.5em;
    list-style: none;
}

ul.post-categories li {
    display: inline-block;
    padding-right: .5em;
    padding-left: .5em;
}

ul.page-numbers li {
    display: inline-block;
}

.sidebar {
    padding-top: 1rem;
}

.sidebar .widget:first-child .ttl {
    margin-top: 0;
}

.widget {
    margin-bottom: 1.4rem;
}

.widget .ttl {
    font-size: medium;
    font-weight: bold;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 1rem;
}

.sidebar .widget .ttl {
    border-bottom: 4px solid #e6e6e6;
    margin-bottom: .8rem;
    text-align:center;
    background: transparent;
}
.ttl span {
    display: inline-block;
    padding: .5em 1em;
    border-bottom: 4px solid #b61c22;
    margin-bottom: -4px;
}

footer .widget .ttl span {
    display: inline-block;
    position: relative;
    font-weight: bold;
    vertical-align: top;
    border-bottom: none;
    border-left: solid 6px #c8251d;
    margin-bottom: -5px;
    font-size: 14px;
    line-height: 14px;
    padding-top:0;
    padding-bottom:0;
    padding-left: 8px;
    padding-bottom: 1px;
    margin-top: -1px;
    letter-spacing: .08rem;
}

.widget ul li {
    display: block;
    padding-left: 0;
}

.widget ul li ul {
    margin-left: .5rem;
    padding-left: .5rem;
}

.widget ul li ul li {
    border-bottom: 0 none;
}

.widget ul li a {
    padding: .2rem 0;
    display: inline-block;
}

.wrapper>.widget {
    margin-bottom: 0;
}

.sidebar .newpost a {
    display: table;
    width: 100%;
}

.sidebar .newpost a .post_thumb {
    display: table-cell;
    vertical-align: top;
    width: 90px;
}

.sidebar .newpost a .post_thumb span {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    background-color: rgba(119, 119, 119, 0.1);

}

.sidebar .newpost a .post_thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.sidebar .newpost a .post_ttl {
    display: table-cell;
    vertical-align: top;
}

ul.post-categories a,
ul.tag a {
    display: inline-block;
    padding: .5em 1em;
    text-align: center;
    border: 1px solid #e6e6e6;
    margin: 0 .5rem .5rem 0;
}

.pagination li>a {
    display: inline-block;
    padding: .5em 1em;
    text-align: center;
    border: 1px solid #e6e6e6;
    margin: 0 .5rem .5rem 0;
}




.snslist{
    position: relative;
    top: -15px;
}


.share {
    margin-bottom: 1rem;
}

.share a {
    display: inline-block;
    padding: 0;
    color: #fff;
    font-size: 14px;
    margin: .5em 7px 0;
    opacity: 0.8;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
}

.share a:hover {
    opacity: 1;
    color: #fff !important;
    text-decoration: none;
}

.share_facebook {
    background: #39599F;
}

.share_twitter {
    background: #45B0E3;
}

.share_line {
    color: #18b703 !important;
    font-size: 34px !important;
    position: relative;
    top: 7px;
    margin-left: 9px !important;
}
a.share_line:hover {
    opacity: 1;
    color: #18b703 !important;
    text-decoration: none;

}


.share_line i{
	font-size:normal;
}



.share_google {
    background: #DB4437;
}

.share_hatena {
    background: #00A4DE;
}

.headline .sns {
    text-align: right;
}

.headline .sns a {
    font-size: large;
    display: inline-block;
    margin: 0 .2rem;
}

.foot .sns {
    text-align: center;
    padding: 4em 0;
}

.foot .sns a {
    font-size: xx-large;
    display: inline-block;
    margin: 0 .5rem;
}

.home .detail {
    padding-top: 0;
}

.detail {
    padding-top: 3rem;
}

.ttl_h1 {
    margin-bottom: 1rem;
}

.archive .ttl_h1,
.search .ttl_h1 {
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 1rem;
}

.clearfix,
.post_body {
    zoom: 1;
}

.clearfix:after,
.post_body:after {
    content: ".";
    display: block;
    height: 0px;
    clear: both;
    visibility: hidden;
}

.pagination li>a,
.pagination li>span {
    border-radius: 0;
    background-color: transparent;
}

.page-numbers {
    clear: both;
    text-align: center;
}

.page-numbers a {
    display: inline-block;
    background-color: transparent;
    border: solid 1px #e6e6e6;
    padding: .5em 8px;
    margin: 2px;
    text-decoration: none;
}

span.current {
    display: inline-block;
    background: #fff;
    border: solid 1px #e6e6e6;
    padding: .5em 8px;
    margin: 2px;
    text-decoration: none;
    background-color: #e6e6e6;
}

.pagetop {
    text-align: center;
    padding-bottom: 1em;
    font-size: x-large;
}

footer {
    background-color: #e6e6e6;
    padding: 2em 0;
}

.copy {
    padding: 2em;
    text-align: center;
    font-size: 10px;
}

.eg {
    background-color: #e6e6e6;
    padding: 2rem 1rem;
    text-align: center;
    font-weight: bold;
}

.sidebar .eg {
    width: 100%;
    height: 250px;
    border: 1px solid #e6e6e6;
}

/* ------------------------------------
// wp
------------------------------------ */

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alignright {
    float: right;
    margin-left: 1.5em !important;
    margin-bottom: 1em !important;
}

.alignleft {
    float: left;
    margin-right: 1.5em !important;
    margin-bottom: 1em !important;
}

.attachment-post-thumbnail,
.ttl_h1+img {
    margin-bottom: 1em;
}

.attachment-post-thumbnail {
    width: 100%;
}

.wp-caption,
.wp-caption-text,
.gallery-caption {
    font-size: small;
    max-width: 100%;
    height: auto;
}

.sticky article.card .card-block {
    background: #f0ffc8;
}

.bypostauthor {
    font-weight: bold;
}

.form-allowed-tags {
    font-size: small;
}

.searchform>div {
    text-align: center;
}

.searchform input[type="text"] {
    width: calc(100% - 6rem);
    float: left;
}

.searchform input[type="submit"] {
    width: 5rem;
    float: none;
    clear: both;
}

#cse-search-box input[name="q"] {
    width: 74%;
}

/* ------------------------------------
// wpp
------------------------------------ */

.popular-posts .wpp-thumbnail {
    margin-right: 10px;
    max-width: initial !important;
    float: none;
}

.popular-posts .wpp-list li {
    display: table;
    width: 100%;
}

.popular-posts .wpp-list li a {
    display: table-cell;
    vertical-align: top;
}

.popular-posts .wpp-list li .wpp-post-title {
    width: 100%;
}

.popular-posts .wpp-list li .post-stats,
.popular-posts .wpp-list li .wpp-excerpt {
    display: table-cell;
    vertical-align: top;
}

.wpp-no-data {
    display: none;
}


/* ------------------------------------
// @media
------------------------------------ */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    article.card .post_thumb {
        height: 10rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    article.card .post_thumb {
        height: 7rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    article.card .post_thumb {
        height: 8rem;
    }
    .logo_text {
		width: 280px;
		text-align: center;
		left: 50%;
		transform: translate(-50%, 0%);
		-webkit-transform: translate(-50%, 0%);
		-ms-transform: translate(-50%, 0%);
    }
    .navbar-nav {
        width: 100%;
    }
    .navbar li {
        display: none;
    }
	.navbar-nav a{
		padding: 1rem .34rem !important;
	}

    .head-open .navbar li {
        display: block;
    }
    .nav .sub-menu, .nav .sub-menu .sub-menu {
        position: static;
        border: 0 none;
    }
    .nav .dropdown-toggle {
        position: relative;
    }

    .nav .sub-menu .dropdown-toggle:after {
        transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        -o-transform: none;
        -ms-transform: none;
    }

}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .alignright {
        float: none;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
    }
    .alignleft {
        float: none;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
    .navbar .menu-item {
        float: none;
    }

    .navbar .sub-menu {
        padding-left: 1rem;
    }
    .navbar .container {
        padding: 0 .9375rem;
    }
    .main h3 {
        font-size: large;
    }
    .breadcrumb {
        font-size: small;
    }
    article.card .post_thumb {
        height: 10rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2,
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.3rem;
    }
}