/*
Theme Name:kds-theme2025
Template:rumble_tcd058
Description:child-theme「RUMBLE」
Author:koriyamazidoshagakko.co.jp
Version:1.1
*/

/*CSS CUSTOM BACKUP
--------------------------------*/

/*▼TCD基本設定*/

.p-entry__body h3, .pb-widget-headline h3.pb_headline {
    font-weight: bold;
    color: #ffffff;
    position: relative;
    padding: 12px 15px;
    margin-bottom: 15px;
    background-color: #000000;
}

.p-entry__body h3::before,
.p-entry__body h3::after {
    position: absolute;
    content: '';
    border-radius: 100%
}
/* .p-entry__body h3::before {
    top: .5em;
    left: .4em;
    z-index: 2;
    width: 18px;
    height: 18px;
    background: #27ae60;
}
.p-entry__body h3::after {
    top: 1em;
    left: 0.9em;
    width: 13px;
    height: 13px;
    background: #fff364;
} */

.p-entry__body h4 {
    color: #333333;
    font-size: 120%;
    font-weight: bold;
    position: relative;
    padding: 10px 10px 10px 0;
    border-bottom: 2px solid #212121;
    margin-bottom: 15px;
}
/* .p-entry__body h4::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 2;
    content: '';
    width: 20%;
    height: 4px;
    background-color: #27ae60;
} */

.p-entry__body h5 {
    font-size: 120%;
    font-weight: bold;
    padding: 0.4em 0.5em;
    color: #ffffff;
    background: #27ae60;
    margin-bottom: 15px;
}

.p-entry__body h6 {
    font-size: 100%;
    font-weight: bold;
    background: #ffffff;
    border: 1px solid #000000;
    padding: 0.5em 0.5em;
    color: #454545;
    margin-bottom: 15px;
}

.p-entry__body p {
    line-height: 2;
    margin-bottom: 1em;
}

.shadow-main  {
    /* box-shadow: 5px 5px #81d742 !important; */
}
.shadow-yallow {
    /* box-shadow: 5px 5px #fff364 !important; */
}

/*************************
header
**************************/

.p-header-description {
  display: none;
}
.p-header__logo {
    /* color: #ffffff;
    background-color: #27ae60; */
}
.check {
    background-size: 20px 20px;
    background-color: #43A047;
    background-image:
    linear-gradient(45deg, rgba(56, 142, 60, 0.5) 25%, transparent 25%,
      transparent 50%, rgba(56, 142, 60, 0.5) 50%, rgba(56, 142, 60, 0.5) 75%,
      transparent 75%, transparent),
    linear-gradient(-45deg, rgba(56, 142, 60, 0.5) 25%, transparent 25%,
      transparent 50%, rgba(56, 142, 60, 0.5) 50%, rgba(56, 142, 60, 0.5) 75%,
      transparent 75%, transparent);
}

.phone-text {
    color:#007b39;
    font-weight: bold;
    font-size: 24px;
    margin: 10px 0;
}
.p-header__ad .phone-text img {
    display: inline-block;
}
.p-header-band {
    background: #27ae60;
}

.kds-button {
    background: #007b39;
    color: #fff;
    border-radius: 3px;
    box-shadow: none;
}

.skk-button {
    background: #ffa800;
    color: #fff;
    border-radius: 3px;
    box-shadow: none;
}

/* 最上部ヘッダーメニュー */
.p-header__top .l-inner #menu-header-menu li a {
}
/* ソーシャルアイコン */
.p-header__top .l-inner .p-social-nav li a {
}
/* 検索アイコン */
.p-header__top .l-inner .u-right .p-header-search .c-search-button::before {
}
/* タイトル */
.l-inner .p-logo a {
}
/* グローバルメニュー部 */
.l-header a, .p-global-nav > li > a {
}

.p-index-blog__item-thumbnail {
    float: left;
    overflow: hidden;
    position: relative;
    width: 25%;
}

.p-index-blog__item-info {
    float: right;
    width: 70%;
}
/*************************
nav
**************************/
.l-header a, .p-global-nav > li > a {
    color: #007b39;
}

.p-global-nav > li:hover > a, .p-global-nav > li.current-menu-item > a {
    color: #27ae60;
}

.l-header__bar {
    border-bottom: 5px solid #27ae60;
}

.phone-text span {
    font-size: 12px;
    padding: 3px;
    background: #ffffff;
    color: #007b39;
    vertical-align: middle;
}

.p-index-carousel {
    /* background-color: #27ae60 !important; */
}

.p-index-carousel__item-title {
    /* background-color: #ffffff;
    padding: 5px;
    line-height: 1.4;
    box-shadow: 4px 4px #fff364; */
}

.p-index-carousel__item-thumbnail {
    border-radius: 10px;
    height: 100px;
    margin-right: 20px;
    overflow: hidden;
    padding-top: 0;
    width: 100px;
    -ms-flex-negative: 1;
    -webkit-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}
.p-index-carousel__item a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    margin: 10px 5px;
}

/*************************
p-header-band
**************************/
.p-header-band__item a, .p-header-band__item h1 {
    display: block;
    font-weight: 700;
    line-height: 1.31;
    min-width: 200px;
    padding: 0 20px;
    text-align: center;
}

/*************************
slider
**************************/
.p-index-slider__item-content {
    top: 80%;
    z-index: 3;
}

#js-index-slider .slick-list, .p-index-slider__item-youtube {
    max-height: 700px !important;
}

.p-index-slider__item-inner, .p-index-slider__item-image {
    max-height: 700px;
}

.p-index-slider__item--type2 .p-index-slider__item-content,
.p-index-slider__item--type3 .p-index-slider__item-content {
    top: 30%;
}

.home .p-index-slider--type2 .p-index-slider__item-inner:hover img {
    /* -webkit-transform: scale(1.2) rotate(2deg);
    transform: scale(1.2) rotate(2deg); */
}

.home .p-index-slider--type2 .p-index-slider__item-inner img {
    -webkit-transform: scale(1);
    -webkit-transition-property: -webkit-transform, transform, opacity;
    -webkit-transition-duration: 0.75s;
    transform: scale(1);
    transition-property: transform, opacity;
    transition-duration: 0.75s;
    vertical-align: middle;
}

.p-index-slider::before {
    content: url(./img/kds-catch3.svg);
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0px;
    height: auto;
    z-index: 20;
    max-width: 900px;
}

.p-index-slider::after {
    content: "";
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: transparent;
    background: linear-gradient(22deg, rgb(175 244 115/ 90%) 25%, transparent calc(25% + 1px));
}

/*************************
metaslider
**************************/
.home .metaslider {
    background: #aff473;
    margin-bottom: 80px!important;
    background: url(./img/slide-bg.jpg)no-repeat center center #aff473;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home .metaslider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    /* background-color: rgba(175, 244, 115, 0.5); */
  }

.home .metaslider .flexslider {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/*************************
l-primary
**************************/
.l-primary .p-entry__thumbnail {
display: none;
}

.single-post h1.p-entry__title {
    position: relative;
    padding: 0.8em 0.5em;
    border-top: 4px solid #81d742;
    border-bottom: 4px solid #81d742;
}

.p-cb__item-header {
    border-bottom: 3px solid #81d742;
    padding-bottom: 5px;
}

.p-blog-archive__item-title {
    color: #007b39;
    border-top: 2px solid #9ae662;
    border-bottom: 2px solid #9ae662;
    padding: 5px 0;
}

.p-cb__item--news .p-cb__item-archive-link,
.p-cb__item--wysiwyg .p-cb__item-archive-link {
    color: #fff;
    line-height: 44px;
    min-width: 170px;
    padding: 0 20px;
    text-align: center;
    margin-bottom: -5px;
    background-color: #32af67;
}


h2.p-cb__item-headline {
    color: #32af67;
}

.p-entry-news__header {
    border: 3px solid #81d742;
}

.p-index-news__item {
    border: 3px solid #ffffff;
    background-color: #f4fff0;
}

.p-index-news__item:nth-child(-n+3) {
    border-top: 3px solid #ffffff;
}

.p-index-news__item:nth-child(3n+1) {
    border-left: 3px solid #ffffff;
}

.p-index-news {
    border: 3px solid #81d742;
}

.sub-title {
    padding: 5px;
    display: block;
    line-height: 1.6;
}

.tcd-pb-col {
    overflow: hidden;
}



/*************************
well
**************************/
.well-1 {
    margin-bottom: 15px;
    padding: 1em 1.5em;
    line-height: 2.0;
    border-bottom: 1px solid #dddddd;
}


/*************************
sidebar
**************************/
h2.p-widget__title {
    padding: 5px;
    color: #fff;
    background: #000000;
    border-left: solid 4px #000000;
    font-size: 14px;
}


.p-widget ul ul {
    padding-left: 0;
}

.p-sidebar li a {
    font-weight:bold;
    position: relative;
    display: block;
    padding: 1em 0;
    border-bottom: 2px dotted #ccc;
    color: #666666;
}


.p-sidebar li.current-menu-item a {
     color: #222222;
}

.p-sidebar li a::before,
.p-sidebar li.current-menu-item a::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: '';
    height: 4px;
}

.p-sidebar li a::before {
    z-index: 2;
    width: 100%;
    background-color: #f4e01b;
}

.p-sidebar li.current-menu-item a::before {
    z-index: 2;
    width: 100%;
    background-color: #81d742;
    height: 4px;
}

.p-sidebar ul li.current-menu-item ul a {
    font-weight: normal;
}

.p-sidebar li.current-menu-parent a::before {
    background-color: #81d742;
}

.p-sidebar ul li.menu-item ul a::before {
    width: 1em;
    height: 2px
}
.p-sidebar ul ul li.current-menu-item a::before {
    width: 100%;
    height: 2px
}
.p-sidebar ul li.menu-item ul a:hover::before {
  	width: 100%;
  	height: 2px;
  	transition: all 0.5s ease-out;
  	-o-transition: all 0.5s ease-out; /* opera */
  	-moz-transition: all 0.5s ease-out; /* firefox */
  	-webkit-transition: all 0.5s ease-out; /* chrome, safari */
  	-ms-transition: all 0.5s ease-out; /* ie */
}

.p-sidebar li.current-menu-item a::after {
}



/*************************
btn
**************************/
.btn-push {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  background-color: #ffa300;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 4px;
  border-bottom: 4px solid #d37800;
}

.btn-push:active {
    transform: translateY(4px);
    border-bottom: none;
}

.btn-massage {
    display: block;
    min-width: 130px;
    text-align: center;
    background-color: #27ae60;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 16px 10px 40px;
    position: relative;
    transition: .9s;
    border: 4px solid #27ae60;
    border-radius: 5px;
}

.btn-massage:before {
    font-weight:normal;
    font-size:40px;
    font-family: "design_plus";
    content: "\e920";
    position: absolute;
    left: 20px;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform : translateY(-50%);
    transform : translateY(-50%);
}

.btn-massage span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    font-size: 15px;
    line-height: 34px;
    border-radius: 0 0 8px 0;
    z-index: -1;
    transition: .5s;
    color: #f44336;
    font-weight: bold;
}

.btn-massage:hover {
    border-radius: 5px;
    color: #ffffff;
}

.btn-massage:hover span {
    transform: translateY(50px);
}

/*************************
btn-thumb
**************************/
.btn-thumb-wrap {
    padding: 5px;
}

.btn-thumb-wrap .post_col {
    margin-bottom: 15px;
    padding: 0 10px;
}

.btn-thumb-wrap p {
    margin-bottom: 0;
}

.btn-thumb {
    border: 1px solid #ffffff;
    position: relative;
    background: #000000;
}

.btn-thumb a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -999px;
}

.btn-thumb-img {
    float: left;
    overflow: hidden;
    position: relative;
    width: 85px;
    border: 5px solid #27ae60;
    box-sizing: border-box;
    border-radius: 0;
}

.btn-thumb-img-inner {
    padding-top: 100%;
}

.btn-thumb-img-inner img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.btn-thumb-text {
    font-size: 14px;
    line-height: 1.2;
    color: #ffffff;
    margin-right: 5px;
    position: absolute;
    top: 50%;
    left: 95px;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}

.btn-thumb-text p {

}

/*************************
gallery-caption
**************************/
.gallery-caption {
    background-color: rgb(112, 193, 52, 0.8);
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 50%;
    opacity: 1;
    padding: 6px 8px;
    position: relative;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
}
.p-entry__body .wp-caption-text {
    text-align: center;
    font-size: 12px;
    font-style: normal;
    line-height: 1.5;
    margin: 0 auto;
}

/*************************
footer
**************************/
.p-footer-widget-area {
    width: 100%;
    background-color: #eee;
    background-image: repeating-linear-gradient(-45deg, #f1f1f1, #f1f1f1 7.5px, transparent 0, transparent 15px);
}
.p-pagetop a {
    background: #27ae60;
    color: #fff;
}

/*************************
etc-content
**************************/
a[href$=".pdf"],
a[href$=".xlsx"],
a[href$=".doc"],
a[href$=".docx"]{
    color: #ffffff;
    display: inline-block;
    font-size: 14px;
    vertical-align: middle;
    background: #eaeef1;
    text-decoration: none;
    position: relative;
    padding: 10px 10px 10px 60px;
		margin-bottom: 10px;
}
a[href$=".pdf"]::before,
a[href$=".xlsx"]::before,
a[href$=".doc"]::before,
a[href$=".docx"]::before {
    content: "\e91d ";
    font-family: "design_plus";
    color: #ffffff;
    width: 50px;
    height: 100%;
    text-align: center;
    background: #fd7171;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 3;
}
a[href$=".xlsx"]::before {
    background: #4cc38d;
}
a[href$=".doc"]::before,
a[href$=".docx"]::before {
    background: #2793e6;
}
.gmap {
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 30px;
		height: 0;
		overflow: hidden;
}
.gmap iframe,
.gmap object,
.gmap embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
}

/*************************
bg-custom
**************************/
.fc-main { color:#27ae60!important;}
.bg-main { background-color:#27ae60!important;}
.fc-white { color:#ffffff!important;}
.bg-white { background-color:#ffffff!important;}
.bdr-main { border-bottom: 4px solid #81d742!important; }
.bdr-main2 { border-bottom: 4px solid #e88b00!important; }
.bg-main-ptn {
    color: #ffffff;
    background-color: #32af67!important;
    background-size: 25px 25px;
    background-image: repeating-linear-gradient(135deg, #27ae60 0, #27ae60 10px, #48b577 0, #48b577 50%);
    background-position: 0 0, 10px 10px;
}
.bg-main2-ptn {
		color: #ffffff;
		background-color: #f8b500!important;
    background-size: 25px 25px;
    background-image: repeating-linear-gradient(135deg, #f8b500 0, #f8b500 10px, #f9bd1a 0, #f9bd1a 50%);
		background-position: 0 0, 10px 10px;
}

/*************************
contact-form
**************************/
.wpcf7 select, .wpcf7 input[type=checkbox], .wpcf7 input[type=radio] {
    border: 1px solid #ddd;
    max-width: 97%;
    padding: 8px;
    width: auto !important;
    display: inline-block;
}
.wpcf7 p {
		margin-bottom: 1em;
		font-size: 14px;
}

.wpcf7 .minw5em { min-width: 5em; }
.wpcf7 .minw10em { min-width: 10em; }

.wpcf7 .mw5em { max-width: 5em; }
.wpcf7 .mw10em { max-width: 10em; }
.wpcf7 .mw20em { max-width: 20em; }
.wpcf7 .mw30em { max-width: 30em; }

.wpcf7 span.wpcf7-list-item {
		display: inline-block;
		margin: 0 0 0 1em;
		min-width: 7em;
}

.wpcf7 textarea {
    height: auto;
}
.wpcf7 .required {
		color: #fff;
    background: #E91E63;
    padding: 2px 10px;
    font-size: 80%;
}
@media only screen and (min-width: 992px) {
/* footer widget 1036 */
.p-footer-widget-area .p-widget.widget_nav_menu { padding-right: 0; width: 25%; }
}


/*************************
2022 custom
**************************/

.link-icon {
    color: #000000;
    display: block;
    font-weight: bold;
}
.link-icon::before {
    content: "\e904";
}
.l-header a, .p-global-nav > li > a {
    vertical-align: middle;
    padding-left: 10px;
}

.p-global-nav .menu-item a::before {
  content: "";
  background-color: #000000;
  display: inline-block;
  height: 1.5em;
  width: 1.5em;
  margin-right: 10px;
  -webkit-mask: url("./icon/base-icon.svg");
  mask: url("./icon/base-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
  vertical-align: middle;
}
.p-global-nav .menu-item .sub-menu a::before {
  content: "";
  background-color: #ffffff;
  display: inline-block;
  height: 1em;
  width: 1em;
  margin-right: 10px;
  -webkit-mask: url("./icon/base-icon.svg");
  mask: url("./icon/base-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
  vertical-align: middle;
}

.p-global-nav .home-icon a::before {
  -webkit-mask: url("./icon/home-icon.svg");
  mask: url("./icon/home-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.p-global-nav .license-icon a::before {
  -webkit-mask: url("./icon/license-icon.svg");
  mask: url("./icon/license-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.p-global-nav .staff-icon a::before {
  -webkit-mask: url("./icon/staff-icon.svg");
  mask: url("./icon/staff-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.p-global-nav .sanki-icon a::before {
  -webkit-mask: url("./icon/sanki-icon.svg");
  mask: url("./icon/sanki-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.p-global-nav .drone-icon a::before {
  -webkit-mask: url("./icon/drone-icon.svg");
  mask: url("./icon/drone-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.p-global-nav .about-icon a::before {
  -webkit-mask: url("./icon/about-icon.svg");
  mask: url("./icon/about-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.p-global-nav .guide-icon a::before {
  -webkit-mask: url("./icon/guide-icon.svg");
  mask: url("./icon/guide-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.menu-item .sub-menu .license-car-icon a::before {
  -webkit-mask: url("./icon/license-car-icon.svg");
  mask: url("./icon/license-car-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.menu-item .sub-menu .license-car4-icon a::before {
  -webkit-mask: url("./icon/license-car4-icon.svg");
  mask: url("./icon/license-car4-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.menu-item .sub-menu .license-car5-icon a::before {
  -webkit-mask: url("./icon/license-car5-icon.svg");
  mask: url("./icon/license-car5-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.menu-item .sub-menu .license-bike-icon a::before {
  -webkit-mask: url("./icon/license-bike-icon.svg");
  mask: url("./icon/license-bike-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.menu-item .sub-menu .license-lesson-icon a::before {
  -webkit-mask: url("./icon/license-lesson-icon.svg");
  mask: url("./icon/license-lesson-icon.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
}