@charset "utf-8";
/*
 Theme Name:   koei-Child
 Template:     koei
*/

/****Common****/

body { font-size:16px; font-family: "Noto Sans JP"; color:#4a5148; }
a img:hover { opacity: 0.7; }
@-ms-viewport { width: auto; initial-scale: 1; }

/****flexbox Copyright (c) 2018 Vladimir Carrer****/

* {box-sizing: border-box;}

.flex{display: flex; display: -ms-flexbox; -ms-flex-flow: row wrap; flex-flow: row wrap;  width: 94%; margin: 0 auto}

.dp10,.dp12,.dp17,.dp20,.dp25,.dp33,.dp40,.dp50,.dp60,.dp67,.dp75,.dp80,.dp83,.dp100,.fluid{margin:0 0 0 15px}

.dp10{width:calc(10% - 15px)}
.dp12{width:calc(12.5% - 15px)}
.dp17{width:calc(16.6667% - 15px)}
.dp20{width:calc(20% - 15px)}
.dp25{width:calc(25% - 15px)}
.dp33{width:calc(33.3334% - 15px)}
.dp40{width:calc(40% - 15px)}
.dp50{width:calc(49% - 15px)}
.dp60{width:calc(60% - 15px)}
.dp67{width:calc(66.6667% - 15px)}
.dp75{width:calc(75% - 15px)}
.dp80{width:calc(80% - 15px)}
.dp83{width:calc(83.3334% - 15px)}
.dp100{width:calc(100% - 15px)}

.fluid{-ms-flex: 2;flex:2}
.clear{width: 100%}
.nomargin{display: flex; flex-flow: row wrap; -ms-flex-flow: row wrap; padding:0 !important; margin:0 !important}
.f-center{justify-content: center;align-items: center;}
.f-right{justify-content: flex-end;align-items: center;}

@media (max-width: 600px) {
  .dp10,.dp12,.dp17,.dp20,.dp25,.dp33,.dp40,.dp50,.dp60,.dp67,.dp75,.dp80,.dp83,.dp100,.fluid {width:100%; margin:0}}

/****見出し・テキスト****/

h1{font-size : 3rem;}
h2{font-size : 2.8rem;}
h3{font-size : 2.6rem;}
h4{font-size : 2.4rem;}
h5{font-size : 2.2rem;}
h6{font-size : 2rem;}

.min-text {
    font-size: 1.2rem;
}
h1.entry__title {
    color: #226a61;
}
.entry h3,h3.inharitance-h3 {
    color: #226A61;
    font-weight: normal;
    padding: 0 10px 10px;
    position: relative;
    font-size: 2.6rem;
    display: inline-block;
    top:0;
    margin:0 auto 0 3%;
}

.entry h3:before,.entry h3:after,h3.inharitance-h3:before,h3.inharitance-h3:after{ 
  position: absolute;
  top: -5px;
  content:'';
width: 8px;
height: 100%;
display: inline-block;
}
.entry h3:before,h3.inharitance-h3:before{
border-left: solid 1px #A1A888;
border-top: solid 1px #A1A888;
border-bottom: solid 1px #A1A888;
  left: 0;
}
.entry h3:after,h3.inharitance-h3:after{
  content: '';
  border-top: solid 1px #A1A888;
  border-right: solid 1px #A1A888;
  border-bottom: solid 1px #A1A888;
  right: 0;
}
.entry h3 + p, .entry h3 + div, .entry h3 + article,h3.inharitance-h3 + div {
    border-top: 1px solid #236a62;
    margin-top: 10px;
    padding-top: 15px;
}
.entry__content h3 {
    margin: 50px 0 0;
}
.entry h4 {
    background: #b0c8bd;
    padding: 5px;
    font-size: 1.6rem;
    color: #226a61;
}
.entry h5 {
    font-size: 1.6rem;
    border-left: 20px solid #226a61;
    color: #226a61;
    padding: 0px 10px;
    margin-left: 0;
}


/****G-navi****/
ul.g-nav-list {
    width: 100%;
    margin: 10px auto;
}
li.g-topitem a {
    font-size: 1.8rem;
}
ul.g-nav-list li:nth-of-type(-n+5) {
    font-size: 1.8rem !important;
    width: 20%;
}
.global-nav-wrapper {
    position: relative;
    border-bottom: 1px solid #b0c8bd;
}
.Toggle {
    display: none;
}
nav.NavMenu {
    display: inherit;
    position: inherit;
    width: auto;
}
nav.NavMenu ul li {
    list-style-type: none;
    text-align: center;
    padding: 5px;
}
nav.NavMenu ul li a {
    padding: 5px;
    display: block;
}
nav.NavMenu ul li a:hover {
    background: #b0c8bd;
    color: #226a61;
}


/****Right header****/
.phone-num {
    font-size: 3.4rem;
    font-weight: bold;
    text-align: left;
}
.phone-num span {
    margin-left: 5px;
}
.sns-icons p {
    margin: 10px 3px;
}
.header-right-container p.min-tex {
    padding: 0px 40px;
    line-height: 1.2;
    font-size: 1.4rem;
}
.contact-btn a,.more-list a {
    display: block;
    background: #b0c8bd;
    text-align: center;
    padding: 5px;
}
.contact-btn a:hover,.more-list a:hover {
    background: #226a61;
    color:#fff;
}
.signup-btn a {
    display: block;
    color:#555555;
    background: #D5C184;
    text-align: center;
    padding: 5px;
}
.signup-btn a:hover,.c-more-list a:hover {
    background: #555555;
    color:#fff;
}

/****Front-Page****/
.front-entry {
    width: 1080px;
    margin: auto;
}
.front-widget-a, .front-widget-b {
    width: 50%;
    margin: 0 auto;
    display: block;
    padding-bottom: 20px;
}
.front-a>.textwidget,.front-b>.textwidget {
    width: 100%;
}
.front-widget-a h2,.front-widget-b h2 {
    text-align: center;
    width: 100%;
    font-size: 2rem;
    color: #FFF;
}
.front-widget-a {
    background: #d5c184;
}
.front-widget-b {
    background: #b0c8bd;
}
.front-ban-area-a {
    text-align: center;
}
.front-ban-area-a img {
    max-width: 100%;
    margin: 10px auto;
    box-shadow: 2px 3px 2px #767676;
}

.card-a-day {
    font-size: 1.3rem;
    color: #D5C184;
}
.card-a-title h4 {
    font-size: 1.7rem;
    margin: 0;
    background: none !important;
}
.front-summary {
    margin: 20px auto;
}
.front-news-area .front-summary {
    margin: 0px auto 10px;
}
.front-container {
    margin: 10px auto 150px;
    align-items: flex-start;
}
.more-list {
    text-align: right;
    margin: 30px auto;
}
.more-list a {
    display: initial;
    padding: 5px 20px;
}
.front-container .dp25 h3 {
    font-size: 2rem;
    margin: 5px auto 0;
}
.front-container>.dp25 {
    padding: 0px 5px;
}
h4.front-post-title {
    font-size: 1.8rem;
    border-bottom: 2px solid #CCC;
    padding-bottom: 10px;
    background: none !important;
}
ul.post-categories {
    padding-inline-start: 0;
    font-size: 1.2rem;
}
ul.post-categories li {
    list-style-type: none;
    margin: 0 5px 0 0px;
}
ul.post-categories li a,.front-tag a {
    color: #d5c184;
}
.front-category ul {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
}
.front-tag a {
    font-size: 1.2rem;
}
.front-post-morebtn {
    text-align: center;
}
.front-post-morebtn a {
    width: 140px;
    border: solid 1px;
    display: block;
    margin: auto;
}
article.front-container .flex>div.dp25 {
    position: relative;
}
.front-post-morebtn {
    position: absolute;
    bottom: 0;
    width: 100%;
}
article.post-card {
    margin-bottom: 40px;
}
.front-news-area .post-card {
    margin-bottom: 0px;
}
.front-post-morebtn a:hover {
    background: #b1c9bc;
    border: solid 1px #226a61;
    color: #FFF;
}
.c-more-list {
    text-align: center;
    margin: 30px auto 50px;
}
.c-more-list a {
    background: #d5c184;
    color: #FFF;
    width: 200px;
    display: block;
    margin: auto;
    padding: 5px;
}
ul.update-info {
    font-size: 2.2rem;
    padding-inline-start: 0px;
}
ul.update-info li {
    list-style-type: none;
}
h3.top-midashi-adjust {
    margin-left: 3%;
}


/****Footer****/
.copyright {
    background-color: #226A61;
    color: #ffffff;
    font-size: 12px;
    padding: 15px 0;
    text-align: center;
}
ul.f-nav-list li {
    list-style-type: none;
    margin: 5px;
}
ul.f-nav-list li:after {
    content: '|';
    margin: 0px 20px;
}
ul.f-nav-list li:last-child:after {
    display:none;  
}
.f-menu-margin {
    margin-bottom: 50px;
}
.f-nav-list {
    border-top: 1px solid #b0c8bd;
    width: 100%;
}

/****Archive****/
h1.entry__title.entry-title.h3 {
    border-bottom: 2px solid #CCC;
    padding: 5px 0;
    font-size: 2.4rem;
}
a.archive-cat {
    background: #b0c8bd;
    padding: 1px 5px;
    text-align: center;
    display: inline-block;
    margin: 2px auto;
}
ul.entry-meta__list li {
    margin-right: 10px;
}
span.has-media-nonimg {
    width: 150px;
    height: 150px;
    background: #CCC;
    display: block;
    background: url(/wp-content/themes/koei/images/noimg.jpg);
}
.entry__summary {
    font-size: 1.2rem;
}

/****Single****/
a.flex.under-post-block {
    background: #b1c9bc;
    justify-content: center;
    align-items: center;
    height: 150px;
    text-align: center;
    color: #226a61;
    margin: 5px auto;
}
a.flex.under-post-block:hover {
    background: #226a61;
    color: #FFF;
}
.under-post-box {
    margin: 30px auto;
}
.under-post-box>.dp50 {
    text-align: center;
    margin: 5px auto;
}
.article--single .entry__content h3 {
    font-size: 2.2rem;
    display: block;
    padding: 0px;
    color: #4a5048;
    font-weight: bold;
    margin-top: 23px;
    margin-bottom: 11.5px;
}
.article--single .entry__content h3:before,
.article--single .entry__content h3:after {
    border: none;
    width: 0px;
}
.article--single .entry__content h4 {
    background-color: initial;
    padding: 0px;
    font-size: 1.8rem;
    color: #4a5048;
}
.article--single .entry__content h3 + p,
.article--single .entry__content h3 + div,
.article--single .entry__content h3 + article {
    border: none;
    margin: 0px;
    padding: 0px;
}

/**** Sidebar ****/
.side-search-list img {
    margin: 5px auto;
}
.sidebar h2 {
    border-bottom: 2px solid #b1c9bc;
    border-left: 6px solid #b1c9bc;
    padding: 5px 7px;
	font-size: 1.2em;
}
.twitterbox {
    border: 1px solid #CCC;
    height: 300px;
    overflow: hidden;
    overflow-y: scroll;
    margin: 20px auto;
}
.tagcloud a {
    display: block;
    font-size: 1.5rem !important;
    line-height: 1.6;
}

/****Page****/

/*search*/

.search-btn a,.qa-btn a {
    border: 1px solid #CCC;
    display: block;
    text-align: center;
    margin: 5px;
    padding: 5px 20px;
}
.search-btn a:hover,.qa-btn a:hover {
    background: #b0c8bd;
    color: #226a61;
}
.question,.answer {
    margin: 10px auto 20px;
}
.question:before {
    content: url(/wp-content/themes/koei-child/images/question.png);
  display: block;
}
.answer:before {
    content: url(/wp-content/themes/koei-child/images/answer.png);
  display: block;
}
.wp-block-image figcaption {
    text-align: inherit;
}
.inheritance-box {
    width: 100%;
}
.inheritance-box>.dp25 {
    position: relative;
}
.inheritance-btn {
    text-align: center;
    margin: 50px auto;
}
article.inharitance-container {
    margin-top: 100px;
}
.overview-box>.dp33 {
    background: #A1A888;
    border: 1px solid #D5C184;
    padding: 5px;
    color: #fFF;
    text-align: center;
}
.overview-box>.dp67 {
    border: 1px solid #D5C184;
    padding: 5px;
    margin: 0;
}
.overview-container {
    padding: 20px 0 !important;
}
.sp-inherit {
    display: none;
}
td.work-a, td.work-b {
    width: 20%;
}
td.work-c {
    width: 60%;
}
td.work-a, td.work-b, td.work-c {
    border: 1px solid #D5C184;
    padding: 2px 10px;
}
td.work-b {
    background: #E0E8C4;
}
td.work-a {
    background: #A1A888;
    color: #FFF;
}
h3.voice-title {
    border-bottom: 1px solid #b1c9bc;
    padding: 5px 0;
    margin: 20px auto;
}



/****レスポンシブ****/
  @media (max-width: 1200px) {
.header-right-container>.flex>.dp67,.header-right-container>.flex>.dp33 {
    width: auto;
}
.f-center.sns-icons {
    justify-content: flex-start;
}    
.sns-icons p {
    margin: 0px 2px;
}
.header-right-container p.min-tex {
    padding: 5px 25px;
    line-height: 1.2;
    font-size: 1.4rem;
    margin: 0;
}
.header-right-container {
    padding: 10px 0;
}
/*ナビメニューのスタイルを指定*/
nav.NavMenu {
    display: none;
    position: relative;
    z-index: 2;
    top: 0;
    left: 0;
    background: #fff;
    color: #000;
    text-align: center;
    width: 100%;
    float: left;
}
nav.NavMenu ul {
    background: #ffffff;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 1px solid #226a61;
    box-shadow: 0px 7px 7px #5f5f5f;
}
nav.NavMenu ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    width: 50%;
    border-bottom: 1px solid #b0c8bd;
    border-left: 1px solid #b0c8bd;
    border-right: 1px solid #b0c8bd;
}
nav.NavMenu ul li:last-child{
padding-bottom: 0;
border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a {
    display: block;
    color: #226a61;
    padding: 5px;
}
/*トグルボタンのスタイルを指定*/
.Toggle {
    display: block;
    position: relative;
    width: 100%;
    height: 42px;
    cursor: pointer;
    z-index: 3;
    color: #FFF;
    background: #226a61;
    text-align: center;
    font-size: 1.8rem;
    line-height: 2.2;
}
ul.g-nav-list li:nth-of-type(-n+5) {
    font-size: 1.6rem !important;
    width: 100%;
}    
.Toggle:hover {
    color: #226a61;
    background: #b0c8bd;
}  
nav.NavMenu.active {
    display: block;
}
}
@media (max-width: 1080px) {
.front-entry {
    width: 100%;
}
}
@media (max-width: 992px) {
.front-entry,.container {
    width: 100%;
}
.signup-btn a, .contact-btn a {
    font-size: 1.2rem;
}
}
@media (max-width: 992px) {
.front-entry,.container {
    width: 100%;
}
.signup-btn a, .contact-btn a {
    font-size: 1.2rem;
}
  .more-list a {
    display: block;
}
}
@media (max-width: 768px) {
.header__content{
    display: block;
}
.front-ban-area-a>div {
    text-align: center;
    width: 48%;
    margin: 1%;
}
.more-list a {
    display: block;
    padding: 5px 10px;
}
.front-container>article.dp25,article.front-container>.flex>.dp25 {
    position: relative;
    margin: 50px auto;
    width: 45%;
}  
  .front-thumbnail {
    text-align: center;
}
}
@media (max-width: 720px) {
.header__content > .flex > div {
    width: 100%;
}
}
@media (max-width: 600px) {
.front-ban-area-a>div,.front-container>article.dp25, article.front-container>.flex>.dp25 {
    width: 98%;
    margin: 1%;
    text-align: left;
}
.front-post-morebtn,.more-list {
    margin-bottom: 50px;
    position: inherit;
}  
.front-ban-area-a>div {
    text-align: center;
}
.header__content>.flex {
    display: flex;
    display: -ms-flexbox;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  width:100%;
}  
.header__content>.flex>.dp50 {
    width: 50%;
}
.contact-btn {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 40%;
    z-index: 5;
}  
.signup-btn {
    display: block;
    position: fixed;
    top: 0;
    left: 40%;
    width: 40%;
    z-index: 5;
}
.phone-num {
    display: block;
    position: fixed;
    top: 0;
    left: 80%;
    width: 20% !important;
    background: #226a61;
    font-size: 1.7rem;
    padding: 1px;
    z-index: 5;
}
  .phone-num span {
    display: none;
}
  .phone-num a {
    display: block;
    width: 100%;
    color: #FFF;
    text-align: center;
}
.header__content {
    margin-top: 30px;
}  
.f-center.sns-icons {
    justify-content: center;
}
  .dp50>.widget {
    width: 100%;
}
 .footer-logo {
    margin-bottom: 30px;
} 
.sp-inherit {
    display: inherit;
}
.flex.sp-flex {
    display: flex;
    display: -ms-flexbox;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
  .wp-block-image img {
    max-width: 100%;
    width: 100%;
}
.dp20.sp-dp20 {
    width: calc(20% - 15px);
}  
.dp80.sp-dp80 {
    width: calc(80% - 15px);
    padding: 0 0 0 15px;
}
  table.work-list tr {
    display: flex;
    flex-flow: row wrap;
}
td.work-a, td.work-b, td.work-c {
    width: 100% !important;
  display: block;
}
 table.work-list tbody>tr {
    width: auto;
} 
  table.work-list {
    width: 600px;
}
.work-list-scroll {
    overflow-x: scroll;
}
.more-list.more-list-adjust {
    margin: 10px 0px;
}
}
@media (max-width: 500px) {
ul.f-nav-list li {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 1.4rem;
}
ul.f-nav-list li:after {
    display:none;
} 
.header__content>.flex>.dp50 {
    width: 100%;
}
 .site-branding {
    padding: 20px 0 0px;
} 
.entry--has_media__body {
    padding: 0px 10px;
}
h1.entry__title.entry-title.h3 {
    font-size: 1.8rem;
}
.front-container h3 {
    font-size: 2.0rem;
}
ul.update-info {
    font-size: 1.8rem;
    padding-inline-start: 0px;
}
.footer-submenu .f-nav-list {
    padding: 0px;
}
.footer-submenu .f-nav-list li {
    text-align: center;
}
}

@media (max-width: 450px) {
    .g-nav-list .g-subitem {
        font-size: 0.9em;
    }
    .nomargin div .title-top {
        font-size: 1.7rem;
    }
}

input[type="text"],textarea{
	width: 100%;
}
