/*
 Theme Name:   earth1174
 Version:      1.1.1 - 190729
 Description:  Virtue customized by PENGUIN DESIGN
 Author:       PENGUIN DESIGN
 Author URI:   http://penguin-design.jp
 Template:     virtue
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

Primary Color #f39c12

20% lighter than Primary Color

*/

/* リセット */

html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  vertical-align:baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article, header, footer, aside, figure, figcaption, nav, section {
  display:block;
}



/* 全体
****************************************************** */

body {
    font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "sans-serif";
    font-size: 16px;
    line-height: 28.8px;
}

img{
     margin-bottom: 10px;
}

/* フォント */
.font-s {
    font-family: "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

p {
    margin-bottom: 16px;
}

/* ヘッダー */
.h3, .h4 {
    margin-bottom: 10px;
}


/* 構造 content.containerリセット */

.home div#content.container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 767px) {
.home div#content.container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
}

@media screen and (min-width: 768px) {
.home div#content.container {
    width: 100%;
    max-width: 100%;
}
}

@media screen and (min-width: 992px) {
.home div#content.container {
    width: 100%;
    max-width: 100%;
}
}

@media screen and (min-width: 1200px) {
.home div#content.container {
    width: 100%;
    max-width: 100%;
}
}

.home div#content.container > .row,
.home div#content.container > .row > .main.col-md-12 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }/* テーマ仕様ではそれぞれ左右に20px */
}

/* フッター上位置調整 */
.contentclass {
    padding-bottom: 70px;
}

.home .contentclass {
    padding-bottom: 0;
}

/* 基本構造 */
.s-wrapper {
    padding-top: 50px;
    padding-bottom: 50px;
}

@media screen and (min-width: 992px) {
.s-wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
}
}

.s-inner50{
    margin-bottom: 50px;
}

/* ギャラリー ガーターなし */
.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}

/* 随時 */
.pd-mb50 {
    margin-bottom: 50px!important;
}

.pd-mb25 {
    margin-bottom: 25px!important;
}

.pd-mb8 {
    margin-bottom: 8px!important;
}

.pd-mb0 {
    margin-bottom: 0!important;
}

.pd-m0 {
    margin: 0!important;
}


/* テキスト */
.entry-content p {
    margin: 0 0 10px;
}

.pd-bigger {
    font-size: 120%;
    line-height: 1.4;
}

.pd-strong {
    font-weight: 700;
}

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

.text-center {
  text-align: center;
}

@media screen and (max-width: 991px) {
.br-del br {
    display: none;
}
}

/* 画像 */
.img-circle {
  border-radius: 50%;
}
.img-border01 {
    border: 5px solid #dddddd;
}

/* 背景・文字色 */

.bgc01 {
    background-color: #ffffff;
}

.bgc02 {
	background:
		-webkit-linear-gradient(45deg, hsla(359, 0%, 86%, 1) 0%, hsla(359, 0%, 86%, 0) 70%),
		-webkit-linear-gradient(315deg, hsla(359, 17%, 92%, 1) 10%, hsla(359, 17%, 92%, 0) 80%),
		-webkit-linear-gradient(225deg, hsla(122, 0%, 100%, 1) 10%, hsla(122, 0%, 100%, 0) 80%),
		-webkit-linear-gradient(135deg, hsla(359, 0%, 93%, 1) 100%, hsla(359, 0%, 93%, 0) 70%);
	background:
		linear-gradient(45deg, hsla(359, 0%, 86%, 1) 0%, hsla(359, 0%, 86%, 0) 70%),
		linear-gradient(135deg, hsla(359, 17%, 92%, 1) 10%, hsla(359, 17%, 92%, 0) 80%),
		linear-gradient(225deg, hsla(122, 0%, 100%, 1) 10%, hsla(122, 0%, 100%, 0) 80%),
		linear-gradient(315deg, hsla(359, 0%, 93%, 1) 100%, hsla(359, 0%, 93%, 0) 70%);
	}

.bgc03 {
    background-color: #D5C9B1;
}

.bgc04 {
    background-color: #FFDCE1;
    position: relative;
}
.bgc04:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: #FFDCE1;
    margin-left: -80px;
    display: block;
    border-width: 35px 80px 0 80px;
}

.bgc05 {
    background-color: #fff8dc;
}


.bgc06 {
    background-color: #333333;
    color: #FFFFFF;
}


/* 背景画像full */
.bgi-basic {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    width: 100%;
}

.bgi-only {
    height: 50vh;
}

@media screen and (min-width: 992px) {
.bgi-basic.bg-fixed,
.bgp-basic.bg-fixed{
    background-attachment: fixed;
}
}

.bgi01 {
    background-image: url("/images/bgi01.jpg");
}

.bgi02 {
    background-image: url("/images/bgi02.jpg");
}

.bgi03 {
    background-image: url("/images/bgi03.jpg");
}


/* 背景パターン */
.bgp-basic {
    background-repeat: repeat;
    background-attachment: scroll;
}

.bgp01 {
    background-image: url("/images/bgp01.png");
}

.bgp25 {
    background-image: url("/images/bgp25.png");
}

.bgp26 {
    background-image: url("/images/bgp26.png");
    background-size: 12px;
    background-position: center center;
    color: #FFF;
}

.bgp27 {
    background-image: url("/images/bgp27.png");
    background-size: 12px;
    background-position: center center;
    color: #FFF;
}

.bgp28 {
    background-image: url("/images/bgp28.png");
    background-size: 12px;
    background-position: center center;
}


/* スクロール a */

.scroll-down {
    position: relative;
    padding-top: 50px;
}

.scroll-down a {
    color: #FFF;
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-decoration: none;
}

.scroll-down a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 1.5s infinite;
  animation: sdb 1.5s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}


/* google-map */
.g-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
}
.g-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    /* !important? */
    height: 100%;    /* !important? */
}


/* 注意書き */
.pd-comment {
    border: 1px solid #1abc9c;
    color: #1abc9c;
    padding: 15px;
    margin: 8px 0;
}

/* アクセント */
.ea-accent01 {
    color: #ed1c24;
}




/* ボタン
****************************************************** */

/* ボタン01 */


a.btn-ea01  {
    display: inline-block;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none!important;
    border-radius: 24px;
    color: #FFF;
    background-image: linear-gradient(45deg, #FFC107 0%, #f39c12 100%);
    transition: .4s;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

a.btn-ea01:hover {
    background-image: linear-gradient(45deg, #FFC107 0%, #f39c12 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

.btn-ea01.btn-ea01small {
    padding: 6px 16px;
    border-radius: 22px;
}


/* ボタンcta */

a img.btn-ea02-or {
    box-shadow: 0px 5px 3px -3px #b5380c;
    border-radius: 6px;
}


a img.btn-ea02-bl {
    box-shadow: 0px 5px 3px -3px #003e67;
    border-radius: 6px;
}

/* メニュー */
.sf-menu a span {
    font-weight: 700;
}


/* フッター
****************************************************** */

footer.footerclass {
    position: relative;
}

footer.footerclass:before {
    content: '';
    position: absolute;
    display: block;
    top: -39px;
    left: 0;
    height: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-image: url(/images/town01.png);
    background-size: 387px 40px;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-attachment: scroll;
}

/* フッターメニュー h3 */

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 5px;
    border-bottom: 1px solid #FFF;
}


/* 会社情報等 */

.ea-address:before {
    font-family: "Font Awesome 5 Free";
    content: '\f5a0';
    padding-right: 7px;
    font-weight: 900;
}

.ea-address span {
    padding-left: 25px;
}

.ea-tel:before {
    font-family: FontAwesome;
    content: '\f095';
    padding-right: 13px;
}

.ea-fax:before {
    font-family: FontAwesome;
    content: '\f1ac';
    padding-right: 10px;
}

.ea-mail:before {
    font-family: FontAwesome;
    content: '\f0e0';
    padding-right: 10px;
}


/* フッターメニュー */

ul.ea-f-menu01 {
    margin: 0 0 25px;
    padding: 0;

}

ul.ea-f-menu01 li {
    list-style-type: none!important;
    padding: 3px;
    margin-bottom: 5px;
    line-height: 1.6;
    vertical-align: middle;
}

ul.ea-f-menu01 li a {
    text-decoration: none;
    color: #FFF;
}
    
ul.ea-f-menu01 li:before {
    font-family: "Font Awesome 5 Free";
    content: '\f0da';
    font-weight: 900;
    margin: 0;
    padding:0 10px 0 0;
}        




/* トップページ
****************************************************** */


/* ボックス */

.ea-box01{
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow:1px 1px 6px 0px #ccc;
    -moz-box-shadow:1px 1px 6px 0px #ccc;
    -webkit-box-shadow:1px 1px 6px 0px #ccc;
    -o-box-shadow:1px 1px 6px 0px #ccc;
    margin: 20px 5px;
    padding: 30px 20px 20px 20px;
    position: relative;
    z-index: 0;
}

.ea-box01:after{
    background-color: #d9ccb3;
    background-image: linear-gradient(45deg, #dfd4be 25%, transparent 25%, transparent 75%, #dfd4be 75%, #dfd4be), linear-gradient(45deg, #dfd4be 25%, transparent 25%, transparent 75%, #dfd4be 75%, #dfd4be);
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
    border-left: 2px dotted rgba(255,255,255,0.9);
    border-right: 2px dotted rgba(255,255,255,0.9);
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
    content: 'Information';
    display: block;
    margin: 0 0 10px 0;
    padding: 5px 20px;
    color: #fff;
    text-align: center;
    position: absolute;
    top: -10px;
    left: 20px;
    transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -webkit-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
}

.ea-box02 {
    padding: 15px;
    background-color: rgba(255,255,255,0.2);
}






/* h1 */
.top-title {
    position: relative;
    display: inline-block;
    padding: 0 55px;
    font-size: 30px;
    text-align: center;
}

.top-title:before, .top-title:after{
content: '';
position: absolute;
top: 50%;
display: inline-block;
width: 45px;
height: 1px;
background-color: black;
}

.top-title:before {left:0;}
.top-title:after {right: 0;}

@media screen and (max-width: 520px) {
    .top-title {
        padding: 0 30px;
        font-size: 22px;
    }
   .top-title:before, .top-title:after{
        width: 25px;
    } 
}


/* ボックス */

figure.ea-colorbox01 {
    color: #FFF;
    text-align: center;
}

figure.ea-colorbox01 figcaption {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

@media screen and (max-width: 767px) {
    figure.ea-colorbox01 img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }
}

@media screen and (max-width: 520px) {
    figure.ea-colorbox01 img {
        height: 200px;
    }
}

figure.ea-colorbox01 .ea-colorbox01-title {
    color: #FFF;
    font-size: 22px;
    margin-top: 15px;
}

figure.ea-colorbox01:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: transparent;
    margin-left: -120px;
    display: block;
    border-width: 10px 120px 0 120px;
}

figure.ea-colorbox01.ea-colorbox-st {
    background-color: #FF6881;
}
figure.ea-colorbox01.ea-colorbox-st:after {
    border-top-color: #FF6881;
}

figure.ea-colorbox01.ea-colorbox-bl {
    background-color: #643D94;
}
figure.ea-colorbox01.ea-colorbox-bl:after {
    border-top-color: #643D94;
}

figure.ea-colorbox01.ea-colorbox-ap {
    background-color: #DC332A;
}
figure.ea-colorbox01.ea-colorbox-ap:after {
    border-top-color: #DC332A;
}

/* flexbox */

.ea-flbox01 {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    text-align: center;
}

.ea-flbox01.ea-flbox01-fs-bigger {
    font-size: 1.3em;
}

.ea-flbox01 .ea-flbox01-title, .ea-flbox01 .ea-flbox01-content {
    padding-top: 10px;
    padding-bottom: 8px;
}

.ea-flbox01 .ea-flbox01-title {
    background-color: #295890;
    color: #FFF;
}

.ea-flbox01 .ea-flbox01-content {
    background-color: #f8f8f8;
}

@media screen and (min-width: 768px) {
    .ea-flbox01 {
        flex-direction: row;
    }
    .ea-flbox01 .ea-flbox01-title {
        flex-basis: 25%;
    }
    .ea-flbox01 .ea-flbox01-content {
        padding-left: 15px;
        flex-basis: 75%;
        text-align: left;
}  
}





/* top info flexbox */

.ea-flbox03 {
    display: flex;
    flex-direction: column;
    margin: 0;
    text-align: center;
}

.ea-flbox03 img {
    margin: 0 auto;
    padding: 0;
}

@media screen and (min-width: 820px) {
    .ea-flbox03 {
        flex-direction: row;
    }
    .ea-flbox03 .ea-flbox03-left {
        margin: 0;
        float: right;
    }
    .ea-flbox03 .ea-flbox03-right {
        margin: 0;
        float: left;
    }
}

/* whatsnew */

div.whatsnew {
    margin-top: 0;
}

.whatsnew hr {
    border-top: none;
}


/* h2 */
.top-ea-h2 img {
    width: 280px;
}

h2.top-ea-h2 {
    display: block;
    background-color: transparent;
    padding: 0;
}

h2.top-ea-h2:before {
    content: none;
}


/* 地域のボックス */
.top-region01 {
    font-size: 17px;
    text-align:justify;
    line-height: 1.4;
}

@media screen and (min-width: 612px) {
    .top-region01 {
        padding: 15px;
        font-size: 24px
    }
}


/* アイキャッチ */

.top-eyecatch01-s,
.top-eyecatch01-l {
    width: 100%;
    margin: 0 auto !important; 
}

.top-eyecatch01-l {
    display: none;
}


@media screen and (min-width: 496px) {
    .top-eyecatch01-s {
        display: none;
    }  
    .top-eyecatch01-l {
        display: block;
    }
}






/* 個別ページ
****************************************************** */

.page .titleclass,
.archive .titleclass {
    padding-top: 35px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    background-color: rgba(255,255,255,0.2);
    /* background-image: url("/wp-content/uploads/bgp01.png");  */
    background-repeat: repeat;
    background-attachment: scroll;
}

@media screen and (min-width: 992px) {
    .page .titleclass,
    .archive .titleclass {
        padding-top: 80px;
        padding-bottom: 65px;
        background-attachment: fixed;
    }
}

@media screen and (max-width: 520px) {
    .page .titleclass,
    .archive .titleclass {
        background-size: 15%;
    }
}

.page .titleclass .page-header,
.archive .titleclass .page-header {
    border: none;
    margin: 0;
    padding: 0;
}

/* エントリータイトル */
h1.entry-title {
    font-size: 22px;
}

@media screen and (min-width: 521px) {
    h1.entry-title {
        font-size: 32px;
    }
    
    .single-post.postid-21 h1.entry-title,
    .single-post.postid-23 h1.entry-title,
    .single-post.postid-28 h1.entry-title,
    .single-post.postid-1679 h1.entry-title,
    .single-post.postid-3538 h1.entry-title,
    .single-post.postid-3541 h1.entry-title {
        text-align: center;
    }
}



/* フレックスボックス02 アクセス */

.ea-flbox02 {
    display: flex;
}

.ea-flbox02-inner {
    margin: 0;
    padding: 0;
}

.ea-flbox02-inner:first-child {
    margin-right: 8px;
}


/* ビフォア・アフター */

.ba-wrapper {
    display: flex;
    flex-direction: row;
    margin: 0 0 8px 0;
    padding: 0;
}

.ba-before img,
.ba-after img {
    margin: 0;
    padding: 0;
}

.ba-before,
.ba-after {
    flex-basis: 50%;
    margin: 0;
    padding: 0;
    position: relative;
}

.ba-before:after,
.ba-after:after {
    background-color: rgba(0, 0, 0, 0.75);
    color: #FFF;
	font-size:14px;
    font-weight: bold;
    padding: 0 0.5em;
    position: absolute;
    width: 60px;
    text-align: center;
}

.ba-before:after {
    content: "Before";
    right: 0;
    top: 0;
}

.ba-after:after {
    content: "After";
    left: 0;
    bottom: 0;
}

.ba-after.no-photo {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ba-after.no-photo p {
    color: #FFF;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: 0;
}




/* QA */

.panel-default > .panel-heading {
    padding: 10px;
    border: none;
}

.panel-heading a.accordion-toggle {
    border: none;
    padding: 0;
}

.panel-heading a.accordion-toggle.collapsed {
    border-left: none;
}

h3.h3.acc01-title {
    border: none;
    padding: 0;
    margin: 0;
    font-size: 16px!important;
}

h3.h3.acc01-title:before {
    font-family: FontAwesome;
    content: '\f2c4';  
    color: rgb(35,81,128);
    margin: 0;
    padding:0 7px 0 0;
    border: none;
    width: auto;
    display: inline;
    line-height: 1.8;
    position: relative;  
}

.panel-collapse.collapse .panel-body p {
    margin-bottom: 0;
}

.panel-heading .accordion-toggle i {
    margin-top: 8px;
    margin-left: 8px;
}


/* お問い合わせ */

.contact-flex {
    display: flex;
    flex-direction: column;
}

.contact-flex-r {
    margin-bottom: 25px;
}

@media (min-width: 992px) {
.contact-box {
    padding: 50px;
}
.contact-flex {
    flex-direction: row;
}
.contact-flex-l {
    flex:0 1 350px;
}
.contact-flex-r {
    flex: 0 1 100%;
}
}

.contact-flex-l .h3 {
    margin-bottom: 10px;
}

.wpcf7-submit.ea-submit01 {
    font-weight: 700;
}

.mbl {
    border-left: solid 3px #f19500;
    padding-left: 5px;
}




/* cta
****************************************************** */

.cta-cam01 {
    margin-top: 50px;
    margin-bottom: 25px;
    margin-left: -15px;
    margin-right: -15px;
    padding: 45px 15px;
    background-image: url("/images/bgp28.png");
    background-size: 12px;
    background-position: center center;
    background-repeat: repeat;
    background-attachment: scroll;
}

@media screen and (min-width: 992px) {
    .cta-cam01 {
        background-attachment: fixed;
        margin-left: 0;
        margin-right: 0;
    }
}




/* コンテンツ・ヘッダー
****************************************************** */

.single-post.postid-21 .postmeta,
.single-post.postid-21 .subhead,
.single-post.postid-23 .postmeta,
.single-post.postid-23 .subhead,
.single-post.postid-28 .postmeta,
.single-post.postid-28 .subhead,
.single-post.postid-1679 .postmeta,
.single-post.postid-1679 .subhead,
.single-post.postid-3538 .postmeta,
.single-post.postid-3538 .subhead,
.single-post.postid-3541 .postmeta,
.single-post.postid-3541 .subhead 
{
    display: none;
}

.single-article .post header {
    padding: 30px 0;
}


/* 次へボタン　関連投稿
****************************************************** */

.single-post.postid-21 .kad-post-navigation,
.single-post.postid-21 .carousel_outerrim,
.single-post.postid-23 .kad-post-navigation,
.single-post.postid-23 .carousel_outerrim,
.single-post.postid-28 .kad-post-navigation,
.single-post.postid-28 .carousel_outerrim,
.single-post.postid-1679 .kad-post-navigation,
.single-post.postid-1679 .carousel_outerrim,
.single-post.postid-3538 .kad-post-navigation,
.single-post.postid-3538 .carousel_outerrim,
.single-post.postid-3541 .kad-post-navigation,
.single-post.postid-3541 .carousel_outerrim 
{
    display: none;
}


/* 関連投稿 */

#blog_carousel_container h3 {
    background-color: #f19500;
    color: #fff;
    overflow: hidden;
    padding: .3em;
    margin-bottom: 8px;
    font-size: 16px;
}

#blog_carousel_container h3:before {
    font-family: FontAwesome;
    content: '\f103';  
    padding:0 5px 0; 
}


/* サイドバータイトル */
.sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    padding: 5px 8px;
    background-color: #f19500;
}

.sidebar h3:before {
    font-family: FontAwesome;
    content: '\f111';
    padding-right: 7px;
}

