/*
Theme Name: MyTheme
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
Tags: 
*/

@keyframes scroll {
  0% {
    top: 0%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
:is(h1, h2, h3, h4, h5, h6).is-style-decoration-line {
  padding-bottom: 0.5em;
  border: solid 12px transparent;
  border-image: url(assets/images/line.svg);
  border-image-slice: 12;
  /* border-image-repeat: stretch; */
}

.wp-block-categories.is-style-no-listmark {
  list-style: none;
  padding-left: 0;
}

.wp-block-post-date.is-style-clock-icon::before {
  content: url(assets/images/clock-regular.svg);
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 0.4em;
  font-size: 1.25em;
  opacity: 0.3;
}

.wp-block-template-part.is-style-rm-margin-top {
  margin-top: 0;
}

p.is-style-scroll-down {
  position: relative;
  height: 144px;
  border-right: solid 1px var(--wp--preset--color--dark-gray);
  writing-mode: vertical-rl;
}
p.is-style-scroll-down::before {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  width: 12px;
  height: 12px;
  border: solid 1px var(--wp--preset--color--dark-gray);
  border-radius: 50%;
  background-color: var(--wp--preset--color--primary);
  animation: scroll 4s infinite;
}
.wp-block-cover.is-style-fixed-height .wp-block-cover__image-background {
  height: 80%;
}

#category-tabs .tabs {
  display: flex;
  gap: 1rem;
  list-style: none;
}
#category-tabs .tabs li {
  cursor: pointer;
}

.wp-block-group.is-style-absolute-position {
  position: relative;
}
.wp-block-cover.is-style-absolute-position-right {
  width: 100%;
  position: absolute;
  z-index: -1;
  right: 0;
}
.wp-block-cover.is-style-absolute-position-left {
  width: 100%;
  position: absolute;
  z-index: -1;
  left: 0;
}

.gallery-section .wp-block-columns {
  position: relative;
}

.gallery-col1 .wp-block-columns-is-layout-flex {
  position: absolute;
  top: 50%;
  left: 0px;
  width: 41%;
  height: 117%;
  transform: translateY(-50%);
  background: #ff6f00;
}
.first-column-image img {
  position: relative;
  top: 73px;
}
.second-column-inner .wp-block-columns:first-child {
  position: relative;
  left: -36%;
}

.ab-sec > .wp-block-columns {
  gap: 0;
}

.ab-sec .col-1 {
  position: relative;
}

.ab-sec .col-1 .wp-block-columns-is-layout-flex {
  position: absolute;
  top: 50%;
  left: 0px;
  /* width: 41%; */
  height: 117%;
  transform: translateY(-50%);
}

.ab-image-sec > .wp-block-columns {
  gap: 0;
}

/* .ab-image-sec .col-1 {
  position: relative;
}

.ab-image-sec .col-1 figure {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  transform: translate(10%, -10%);
} */

.wp-block-cover,
.wp-block-cover-image {
  overflow: visible;
}

.el_gNavi {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.el_gNavi > li {
  position: relative;
}
.el_gNavi li .el_gNavi__child {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: black;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}
.el_gNavi li:has(.el_gNavi__child):hover .el_gNavi__child {
  opacity: 1;
  pointer-events: all;
}

.el_subNavi {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
}

.ly_header .bl_crossBtn {
  width: 24px;
  aspect-ratio: 1/1;
  display: none;
  z-index: 9999;
  position: relative;
  cursor: pointer;
}
.ly_header .bl_crossBtn .wp-block-button__link {
  display: none;
}
.bl_crossBtn::before,
.bl_crossBtn::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: black;
  display: block;
  transform: rotate(0) translateY(0);
  transition: all 0.3s ease;
}
.wp-block-button.is-style-has-arrow > * {
  display: flex;
  justify-content: space-between;
}
.wp-block-button.is-style-has-arrow > *:hover:after {
  transform: translateX(10px);
  transition: transform 0.3s ease;
}
.wp-block-button.is-style-has-arrow > *::after {
  content: "";
  width: 24px;
  aspect-ratio: 1/1;
  display: block;
  background-image: url(./assets/images/solar_arrow-right-broken.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateX(0px);
  transition: transform 0.3s ease;
}
.lpbLottiePlayer {
  line-height: 1 !important;
}
table {
  border-color: #cccccc;
}
table tbody {
  border-color: #cccccc;
}
table tbody td {
  border-color: #cccccc !important;
}
.is-style-th-topLeft table tr:first-child {
  background-color: #e7eef9;
}
.is-style-th-topLeft table tr td:first-child {
  background-color: #e7eef9;
}

.is-style-th-left table tr td:first-child {
  background-color: #e7eef9;
}
p.is-style-brackets {
  border: none;
  position: relative;
}
p.is-style-brackets::after,
p.is-style-brackets::before {
  content: "";
  display: block;
  width: 64px;
  aspect-ratio: 1/1;
  border-top: solid 8px #1e889b;
  border-left: solid 8px #1e889b;
}
p.is-style-brackets::before {
  position: absolute;
  top: 0%;
  left: 0;
}
p.is-style-brackets::after {
  position: absolute;
  bottom: 0%;
  right: 0;
  transform: rotateZ(180deg);
}
@media screen and (max-width: 1024px) {
  .ab-sec .col-1 .wp-block-columns-is-layout-flex {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  .el_gNavi {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .el_subNavi {
    grid-template-columns: 1fr;
  }
  .ly_header_navi {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #fff;
    display: flex;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
  }
  .ly_header_navi.is-open {
    opacity: 1;
    pointer-events: all;
  }

  .ly_header_navi .ly_header_naviInner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .ly_header .bl_crossBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bl_crossBtn.is-open::before {
    transform: rotate(45deg) translateY(7px);
    transition: all 0.3s ease;
  }
  .bl_crossBtn.is-open::after {
    transform: rotate(-45deg) translateY(-7px);
    transition: all 0.3s ease;
  }
}
@media (max-width: 781px) {
  .wp-block-columns.is-style-reverse {
    flex-direction: column-reverse;
  }
}
