﻿* {
    /* font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    line-height: 2em;
    font-weight: 540; */
    /* margin: 0px;
    padding: 0px; */
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    /* adobe fonts 使える場合こちら推奨：a-otf-futo-min-a101-pr6n */
    line-height: 2;
}

body {
    color: #353535;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #050505;
    line-height: 1.45;
    font-weight: 540;
}

@media (max-width: 768px) {
    body {
        color: #5E5E5E;
        font-weight: 100;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #353535;
    }
}

body {
    margin: 0px;
    background-color: white;
    font-size: 16px;
}


/* ロード時fadeIn Start */


/* body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
} */

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}


/* ロード時fadeIn End */

hr {
    margin: 0.7rem;
    border-style: solid;
    border-color: #ddd;
}

table,
tr,
td,
th {
    word-break: break-all;
}

input[type="search"],
input[type="submit"],
select {
    padding: 5px;
}

footer {
    /* background-color: #efefef; */
}

.wp-block-columns {
    margin-bottom: 0px !important;
}

.widget {
    list-style: none !important;
}

.widget figure {
    margin-bottom: 0 !important;
}

figure {
    margin: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.widgettitle {
    font-size: 1.17em;
}


/* @media (max-width: 768px) {
    .wp-block-column{
        margin-bottom: 1em;
    }
} */

#comment {
    max-width: 97.5%;
}


/* ----- original start ----- */

.eci-page-max-width {
    width: 966px;
    max-width: 100%;
    margin: auto;
}

.eci-outer-div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 97.5%;
    margin: auto;
}

    .eci-outer-div iframe {
        max-width: 100%;
        width: 100%;
    }

.eci-outer-div-main,
.eci-outer-div-sub {
    /* border: 1px solid silver; */
    /* margin:5px;
    padding:5px; */
    align-self: flex-start;
}

.eci-outer-div-main {
    width: 720px;
    max-width: 95%;
    padding: 10px;
    margin-right: 4px;
    margin-bottom: 1em;
}

.eci-outer-div-sub {
    width: 190px;
    max-width: 100%;
    padding-left: 6px;
}

@media (max-width: 768px) {
    .eci-outer-div-main {
        margin-right: 0px;
        margin-bottom: 10px;
        padding-bottom: 1em;
        border-bottom: 1px solid #ddd;
    }
    .eci-outer-div-sub {
        width: 100%;
        padding: 10px;
    }
    .eci-outer-div {
        justify-content: flex-start;
    }
}


/* カテゴリなど 一覧表示用 */

.eci-list-item {
    display: flex;
}

.eci-list-text {
    padding: 0px 10px;
}

.eci-list-text * {
    line-height: 1.6;
}

.eci-list-header {
    margin-bottom: 8px;
    font-size: 12px;
}

.eci-list-category {
    display: inline-block;
    border-radius: 3px;
    background: #f7a400;
    width: fit-content;
    padding: 1px 5px;
    color: white;
}

.eci-list-date {
    display: inline-block;
    margin-left: 8px;
}

.eci-list-author {
    /* display: inline-block; */
    display: none;
    margin-left: 8px;
}

.eci-list-title {
    margin-bottom: 8px;
}

.eci-list-title a {
    font-weight: bold;
}

.eci-list-expl {
    font-size: 12px;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .eci-list-img img {
        width: 100px;
        height: auto;
    }
    /* .eci-list-expl {
        display: none;
    } */
    .eci-list-text * {
        line-height: 1.4;
    }
}


/* --- START [インライン左右ブロックデザイン] --- */

.ecin_inline_Outer {
    display: flex;
}

.ecin_inline_Left {
    margin-left: 0;
    margin-right: auto;
}

.ecin_inline_Right {
    margin-left: auto;
    margin-right: 0;
}


/* --- END --- */


/* <!-- template */

a {
    text-decoration: none;
    color: black;
}

@media (min-width:769px) {
    a:hover {
        opacity: 0.5;
    }
}

.wp-block-image {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    line-height: 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    /* max-height: 100%; */
}

.wp-block-pullquote {
    border-top: 4px solid #555d66;
    border-bottom: 4px solid #555d66;
}


/* .wp-block-image img{
    object-fit: contain;
} */

.eci-default-singular .eci-outer-div-main-read .wp-block-image,
.eci-page-item .eci-outer-div-main-read .wp-block-image {
    margin: initial !important;
}

/* .eci-page-item .eci-outer-div-main-read, */
.eci-default-singular .eci-outer-div-main-read {
    width: 550px;
    max-width: 100%;
    margin: auto;
}

p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.eci-default-singular .eci-outer-div-main-read p,
.eci-page-item .eci-outer-div-main-read p {
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.eci-page-onecolumn .eci-outer-div-main {
    width: 100% !important;
}

.eci-page-onecolumn .eci-outer-div-sub {
    width: 100% !important;
}

.entry-title {
    display: none;
}

.eci-default-singular .entry-title {
    display: block;
}

/* メニュー START */

.menu-item {
    white-space: nowrap;
}


/* PC用メニュー */

#pc_menu {
    margin-bottom: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#pc_menu_list,
#pc_menu_list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#pc_menu_list {
    width: 100%;
    /* border: 1px solid #222;
    background-color: #111;
    background-image: linear-gradient(#444, #111);
    border-radius: 6px;
    box-shadow: 0 1px 1px #777; */
}

#pc_menu_list:before,
#pc_menu_list:after {
    content: "";
    display: table;
}

#pc_menu_list:after {
    clear: both;
}

#pc_menu_list {
    zoom: 1;
}

#pc_menu_list li {
    float: left;
    /* border-right: 1px solid #222;
    box-shadow: 1px 0 0 #444; */
    position: relative;
}

#pc_menu_list a {
    float: left;
    padding: 12px 30px;
    color: black;
    text-decoration: none;
    font-size: 90%;
    /* text-shadow: 0 1px 0 #000; */
    /* font-size:12px; */
}

#pc_menu_list li:hover>a {
    opacity: 0.5;
}


/* --- 子要素 ---*/

#pc_menu_list ul {
    margin: 20px 0 0 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 1;
    /* background: #444; 
    background: linear-gradient(#444, #111);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);  */
    background-color: #ddd;
    border-radius: 3px;
    transition: all .2s ease-in-out;
}

#pc_menu_list li:hover>ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

#pc_menu_list ul ul {
    top: 0;
    left: 150px;
    margin: 0 0 0 20px;
    box-shadow: -1px 0 0 rgba(255, 255, 255, .3);
}

#pc_menu_list ul li {
    float: none;
    display: block;
    border: 0;
    /* box-shadow: 0 1px 0 #111, 0 2px 0 #666; */
}

#pc_menu_list ul li:last-child {
    box-shadow: none;
}

#pc_menu_list ul a {
    padding: 10px;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

#pc_menu_list ul a:hover {
    /* background-color: #0186ba; */
    /* background-image: linear-gradient(#04acec, #0186ba); */
    opacity: 0.5;
}

#pc_menu_list ul li:first-child>a {
    border-radius: 3px 3px 0 0;
}

#pc_menu_list ul li:first-child>a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

#pc_menu_list ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}


/* #pc_menu_list ul li:first-child a:hover:after {
    border-bottom-color: #04acec;
}

#pc_menu_list ul ul li:first-child a:hover:after {
    border-right-color: #0299d3;
    border-bottom-color: transparent; 
} */

#pc_menu_list ul li:last-child>a {
    border-radius: 0 0 3px 3px;
}


/* スマホ用ナビゲーションラベル */

#smp_menu {
    display: block;
    /* position: absolute; */
    position: fixed;
    top: 6px;
    right: 0px;
    opacity: 0.96;
    z-index: 995;
}

#spnavi {
    list-style-type: none;
    margin: 0;
    padding: 0px 12px;
}

#spnavi li {
    /* border: 1px solid #ddd; */
    padding-left: 6px;
    /* background: white; */
    border-radius: 5px;
}

.icon-bar {
    display: block;
    width: 16px;
    /* width: 26px; */
    height: 2px;
    border-radius: 1px;
    /* background-color: #888; */
    background-color: #261612;
    margin: 3px auto;
}

.icon-text {
    padding: 0;
    margin: 0;
    font-family: rift-soft, sans-serif;
    letter-spacing: 0.05em;
    /* letter-spacing: 0.15em; */
    text-indent: -0.04em;
    /* color: #666; */
    color: #261612;
    text-align: center;
    opacity: 1.0;
    font-size: 11px;
    transition: .35s ease;
}

#spnavi.active .icon-bar-top {
    transform: translateY(4px) translateX(0) rotate(45deg);
}

#spnavi.active .icon-bar-middle {
    display: none;
}

#spnavi.active .icon-bar-bottom {
    transform: translateY(-1px) translateX(0) rotate(-45deg);
}

#spnavi::after {
    content: "";
    display: block;
    clear: both;
}

#smp_menu ul {
    list-style: none;
    padding-inline-start: 20px;
}

#smp_menu li {
    padding: 3px 5px 0px 5px;
}

#smp_menu a {
    text-decoration: none;
    color: black;
}

#smp_menu .sub-menu {
    font-size: 90%;
}

#dorp_menu_hidden {
    display: none;
    overflow: auto;
    word-break: keep-all;
    width: 240px;
    height: 400px;
    margin: auto;
}

#dorp_menu_hidden li {
    margin-bottom: 15px;
    padding: 0px;
}

#dorp_menu_hidden .sub-menu li {
    margin-bottom: 0px !important;
}

@media (max-width: 768px) {
    #pc_menu {
        display: none;
    }
    #smp_menu {
        display: block;
    }
}

@media (min-width:769px) {
    /* PCサイトでは、スマホ用ドロップダウンメニュー非表示 */
    #smp_menu {
        display: none;
    }
    #spnavi {
        display: none;
    }
    #pc_menu {
        display: block;
    }
}


/* メニューEND */


/* template --> */


/* ----- original end ----- */


/* 管理バー非表示 */

#wpadminbar {
    display: none !important;
}


/* ============================ */


/* ============================ */

/* WordPress 5.7 ボタン中央揃えにならない不具合対応 */
.wp-block-buttons.aligncenter {
    justify-content: center;
}

/* ======= 外部プラグイン ====== */


/* List Category Posts - START */

.lcp_catlist {
    padding: 0;
}

.lcp_catlist li {
    display: flex;
}

.lcp_catlist li a:first-child {
    order: 2;
    height: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0px 10px;
}

.lcp_catlist li a {
    display: block;
}

.lcp_catlist li a img {
    width: 100px;
    height: auto;
}

.eci-outer-div-sub .lcp_catlist li a img {
    width: 48px;
}

.eci-outer-div-sub .lcp_catlist li a:first-child {
    font-size: 80%;
}


/* List Category Posts - END */