/*
 Theme Name:   Kadence Child
 Theme URI:    https://example.com/kadence-child/
 Description:  Kadence Child Theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* Theme customization starts here
-------------------------------------------------------------- */
@view-transition {
  navigation: auto;
}
a {
  transition: .3s;
}
a:hover {
  opacity: 0.8;
}
.main-slide .kb-splide .splide__pagination, .main-slide .kb-splide ul.splide__pagination.splide__pagination {
  bottom: 2%;
}
.main-slide .kb-splide .splide__pagination__page {
  width: 8px;
  height: 8px;
  border-width: 4px;
  margin-inline: 9px;
}
.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger:after, .kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger:before, .kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger:after, .kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger:before {
  height: 2px;
}
.justify-content-start {
  justify-content: flex-start !important;
}
.text-left {
  text-align: left !important;
}
.ssbp-wrap {
  width: 100% !important;
  padding: 14px 16px !important;
  margin: 10px 0 0;
}
.ssbp-wrap > div {
  text-align:left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ssbp-wrap .ssbp-list {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.ssbp-wrap .ssbp-list li {
  margin: 0 !important;
}
.nav-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.nav-toggle::after {
  content: 'メニュー';
  display: block;
  font-size: 10px;
}
.nav-search-button button {
  box-shadow: none;
  padding: 0;
}
.mobile-nav {
  width: 100%;
}
.mobile-nav .sub-menu.sub-menu.sub-menu.sub-menu.sub-menu {
  margin: 0;
}
.top-news {
  gap: 20px;
}
.top-news li {
  position: relative;
  padding-left: 50px;
}
.top-news li:first-child::before {
  content: '';
  display: block;
  background: url('/wp-content/uploads/new.png');
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 8px;
}
.top-news .entry-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 35px;
  margin: 0;
}
.top-news .entry-header .entry-title,
.top-news .entry-header .entry-meta {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}
.top-column .kb-splide .splide__track {
  padding: 1em !important;
}
.top-column .kb-splide .splide__slide {
  position: relative;
  overflow: visible;
}
.top-column .kb-splide #splide02-slide01::before,
.top-column .kb-splide #splide02-clone09::before {
  content: '';
  display: block;
  background: url('/wp-content/uploads/new_slider_icon.png');
  width: 53px;
  height: 53px;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 99;
}
.top-column .kt-blocks-post-grid-item .entry-title,
.top-column .kt-blocks-post-grid-item .entry-content,
.top-products .kt-blocks-post-grid-item .entry-title,
.top-products .kt-blocks-post-grid-item .entry-content{
  display: -webkit-box;           
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}
.top-column .kt-blocks-post-grid-item .entry-title {
  font-weight: 500;
  padding: 0;
  margin-block: 10px 5px;
}
.top-column .kt-blocks-above-categories a {
  text-decoration: none;
  pointer-events: none;
}
.products-accordion .entry-header {
  margin: 0;
}
.products-accordion ul.kadence-posts-list, .products-accordion .single-content ul.kadence-posts-list {
  gap: 20px;
}
.media-title mark {
  position: relative;
}
.media-title mark::before,
.media-title mark::after
{
  content: '';
  display: block;
  background: #626363;
  width: 120px;
  height: 1px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
}
.media-title mark::before {
  right: calc(100% + 50px);
}
.media-title mark::after {
  left: calc(100% + 50px);
}
#gt_float_wrapper {
  display: flex;
  align-items: center;
}
.gt_float_switcher {
  border-radius: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.gt_float_switcher .gt-selected {
  background: url('/wp-content/uploads/icon_language.png') no-repeat center / contain;
  width: 110px;
    height: 28px;
}
.gt_float_switcher .gt-selected .gt-current-lang {
  padding: 0 !important;
  opacity: 0 !important;
}
.gt_float_switcher .gt_options {
  position: absolute !important;
    transform: none !important;
    right: 0;
    background: #fff;
  transition: none !important;
}
.gt_float_switcher .gt_options.gt-open {
  box-shadow: 0px 4px 15px 0.1px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}
.gt_float_switcher .gt_options a {
  font-size: 16px;
}
.post-archive .type-post .entry-content-wrap .entry-header {
  display: flex;
  flex-direction: column-reverse;
}
.post-archive .type-post .entry-summary p, .post-archive .type-post .entry-header .entry-meta {
  margin: 0.5em 0;
}
.comment-navigation, .post-navigation {
    border-top: 1px solid #ddd;
    padding-top: 2em;
}
.entry-hero .title-align-center {
  letter-spacing: 2px;
}
.entry-hero .title-align-center .archive-description p {
  font-size: 13px;
  margin-block: 0.5em;
}
.entry-hero .title-align-center .page-title {
  font-weight: 400;
  font-size: 24px;
}
.step-tab .kb-splide .splide__pagination, .step-tab .kb-splide ul.splide__pagination.splide__pagination {
  top: 0;
  bottom: auto !important;
}
.step-tab .kb-splide .splide__pagination__page {
  background: #d9d9d9;
  width: 50px;
  height: 50px;
  border-radius: 0;
  opacity: 0.5 !important;
  border: none !important;
  box-shadow: none;
  margin: 0 6px;
}
.step-tab .kb-splide .splide__pagination__page.is-active {
  background: #d9d9d9;
  opacity: 1 !important;
  border: 1px solid #000 !important;
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-wrap .kb-table-of-content-list {
  position: relative;
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-wrap .kb-table-of-content-list::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translate(-50%, -50%);
  width: 2px;
  height: calc(100% - 16px);
  background: #ddd;
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-list li {
  padding-left: 26px;
  position: relative;
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-list li::before {
  content: '';
  display: block;
  background: #ccc;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 4px;
  left: 0;
  transition: .3s;
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-list li.active {
  font-weight: 700;
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-list li.active::before {
  background: #ea5752;
  box-shadow: 0 0 6px rgba(234, 87, 82, 0.4);
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-list li:hover::before {
  background: #ea5752;
  transform: scale(1.1);
}
.step-tab .kb-table-of-content-nav .kb-table-of-content-list li:hover a,
.step-tab .kb-table-of-content-nav .kb-table-of-content-list li a:hover {
  color: #ea5752 !important;
  font-weight: 700;
}
.single-entry.column .entry-content.single-content h2 {
  padding-left: calc(15px + 0.5em);
  position: relative;
}
.single-entry.column .entry-content.single-content h2::before {
  content: '';
  display: block;
  background: #626363;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0 100%, 0 0);
  width: 15px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.single-entry.column .entry-content.single-content h3 {
  padding-left: 0.5em;
  border-left: 2px solid #626363;
}
.single-entry.column .entry-content.single-content .style-none h2 {
  padding-left: 0;
}
.single-entry.column .entry-content.single-content .style-none h2::before {
  content: none;
}
.single-entry.column .entry-content.single-content .style-none h3 {
  padding-left: 0;
  border: none;
}
input[type="button"].wpcf7-form-control, input[type="submit"].wpcf7-form-control {
  margin: 0 auto;
  display: block;
}
.entry-list-item article.products.type-products {
  border: 1px solid transparent;
  padding: 1em;  
  border-radius: 0;
  transition: .3s;
}
.entry-list-item article.products.type-products:hover {
  border: 1px solid rgba(234, 87, 82, 0.6);
  opacity: 0.8;
}
#latestEntries li.thumbnailBox .postImage>a img {
  aspect-ratio: 1;
}
header .kb-search,
header .kb-search .kb-buttons-wrap {
  justify-content: center;
  width: 100%;
}
header .kb-search .kb-button.kb-btn-global-fill {
  background: url('/wp-content/uploads/footer_search.png') no-repeat center / contain;
  width: 100%;
  height: auto;
  padding: 0;
  border-radius: 0;
}
header .kb-search .kb-button.kb-btn-global-fill span {
  font-size: 0;
}
header .kb-search .kb-search-close-btn {
  font-size: 0;
  padding: 0;
}
header .kb-search .kb-search-close-btn svg {
  font-size: 38px;
}
header .kb-search .kb-search-modal-content form {
  max-width: 80%;
}
header .kb-search .kb-search-icon-submit {
  padding: 0;
  box-shadow: none !important;
}
header .kb-off-canvas-close:hover {
  color: #fff !important;
}
header .kb-off-canvas-close svg {
  width: 1em;
  height: 1em;
  font-size: 38px !important;
}
header .wp-block-kadence-off-canvas-trigger1373_e4e61a-96, .wp-block-kadence-off-canvas-trigger1373_e4e61a-96:hover {
  color: #fff !important;
}
.products-archive .entry-summary {
  text-align: right;
}
.column.type-column .kb-splide.splide-initial .splide__list {
  justify-content: center;
}
.column.type-column .kb-splide .splide__slide img {
  background: #fff;
}
@media (max-width: 1024px) {
  .site-footer {
    padding-bottom: 5em;
  }
}
@media (max-width: 767px) {
  .top-news .entry-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 5px;
  }
  .step-tab .kb-splide .splide__pagination__page {
    width: 40px;
    height: 40px;
  }
  .step-tab .kb-table-of-content-nav .kb-table-of-content-wrap .kb-table-of-content-list {
    position: fixed;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    margin: 0;
  }
  .step-tab .kb-table-of-content-nav .kb-table-of-content-list li {
    padding: 0;
  }
  .step-tab .kb-table-of-content-nav .kb-table-of-content-list li a {
    font-size: 0 !important;
    width: 14px;
    height: 14px;
    display: block;
  }
  .product-category .kt-row-column-wrap {
    gap: 0 !important;
  }
  .product-category .wp-block-kadence-column {
    border-top: 1px solid #ccc;
  }
  .product-category .wp-block-kadence-column:last-child {
    border-bottom: 1px solid #ccc;
  }
  .product-category .kt-inside-inner-col .wp-block-kadence-image figure {
    display: flex;
    align-items: center;
    gap: 1em;
  }
  .product-category .kt-inside-inner-col .wp-block-kadence-image figure img {
    width: 40%;
  }
  .product-category .kt-inside-inner-col .wp-block-kadence-image figure figcaption {
    margin: 0;
  }
}
@media (max-width: 575px) {
  #archive-container,
  .post-archive,
  .column-archive,
  .products-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1em;
  }
}