/**
Theme Name: ativ
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ativ
Template: astra
*/

/*----------------------------------------
  iOS端末でアクセス時に横スワイプできてしまう不具合対応
  意図せず横方向にスワイプできる問題を防止
----------------------------------------*/
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
/*----------------------------------------
// iPhone 12 Pro/XRで改行せず、スクロールしてしまう不具合対応
//--------------------------------------*/
.elementor-popup-modal .elementor-widget-text-editor {
  white-space: normal;
  word-break: break-word;
}

/*----------------------------------------
// アイキャッチ画像がTOPに出てしまう問題
//--------------------------------------*/
.entry-header {
  display: none;
}

/*----------------------------------------
// 投稿タイプの下部の隙間削除
//--------------------------------------*/
.single.ast-page-builder-template .entry-header + .entry-content, .single.ast-page-builder-template .ast-single-entry-banner + .site-content article .entry-content {
  margin-bottom: 0 !important;
}

/*----------------------------------------
// mouse selection styles
//--------------------------------------*/
::-moz-selection {
  color: #fff !important
  background-color: #7A94AD !important
}
::selection {
  color: #fff !important;
  background-color: #7A94AD !important
}

/*----------------------------------------
// under 10px text
//--------------------------------------*/
.size9-txt{
  display:block;
  font-size: 10px;
  transform: scale(0.9);
}
.size8-txt{
  display:block;
  font-size: 10px;
  transform: scale(0.8);
}
.size7-txt{
  display:block;
  font-size: 10px;
  transform: scale(0.7);
}
.size6-txt{
  display:block;
  font-size: 10px;
  transform: scale(0.6);
}
.size5-txt{
  display:block;
  font-size: 10px;
  transform: scale(0.5);
}

/*----------------------------------------
// display
//--------------------------------------*/
/* pc only new line */
.br-pc {
  display: block;
}
@media (max-width: 767px) {
  .br-pc {
    display: none;
  }
}
/* mobile only new line */
.br-sp {
  display: none;
}
@media (max-width: 767px) {
  .br-sp {
    display: block;
  }
}
/* mobile only delete */
.delete-sp {
  display: inline-block;
}
@media (max-width: 767px) {
  .delete-sp {
    display: none;
  }
}

/*----------------------------------------
// title
//--------------------------------------*/
.title-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.8em;
  height: calc(1.8em * 2); /* 2行分の高さ */
}

/*----------------------------------------
// bg scroll
//--------------------------------------*/
.bg-scroll1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url(https://ativ.jp/wp-content/uploads/assets/common/bg-scroll-pc.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed; /* パララックス効果を維持 */
}

@media (max-width: 767px) {
  .bg-scroll1::before {
    background-image: url(https://ativ.jp/wp-content/uploads/assets/common/bg-scroll-sp.jpg);
  }
}

.bg-scroll2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url(https://ativ.jp/wp-content/uploads/assets/common/bg-scroll2-pc.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed; /* パララックス効果を維持 */
}

@media (max-width: 767px) {
  .bg-scroll2::before {
    background-image: url(https://ativ.jp/wp-content/uploads/assets/common/bg-scroll2-sp.jpg);
    background-position: right bottom;
  }
}


/*----------------------------------------
// bg dot
//--------------------------------------*/
.bg-dot1 {
  background-image: radial-gradient(#4E6A8C 30%, transparent 30%);
  background-size: 8px 8px;
}
.bg-dot2 {
  background-image: radial-gradient(#7A94AD 30%, transparent 30%);
  background-size: 8px 8px;
}

/*----------------------------------------
// marker
//--------------------------------------*/
.marker-main {
  background: linear-gradient(transparent 90%, #2B3259 90%);
}
.marker-light-main {
  background: linear-gradient(transparent 60%, rgba(43, 50, 89, 0.3) 84%);
}
.marker-accent1 {
  background: linear-gradient(transparent 90%, #4E6A8C 90%);
}
.marker-light-accent1 {
  background: linear-gradient(transparent 60%, rgba(78, 106, 140, 0.3) 84%);
}
.marker-accent2 {
  background: linear-gradient(transparent 90%, #7A94AD 90%);
}
.marker-light-accent2 {
  background: linear-gradient(transparent 60%, rgba(122, 148, 173, 0.3) 84%);
}
.marker-sub {
  background: linear-gradient(transparent 90%, #9FAAB7 90%);
}
.marker-light-sub {
  background: linear-gradient(transparent 60%, rgb(159, 170, 183, 0.3) 84%);
}

/*----------------------------------------
// container link
//--------------------------------------*/
.box-link {
  text-decoration: none !important;
}

/*----------------------------------------
// image carousel
//--------------------------------------*/
.elementor-image-carousel {
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .elementor-image-carousel {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .elementor-image-carousel {
    margin-bottom: 16px;
  }
}

/*----------------------------------------
// news widget styles
//--------------------------------------*/
/* pagenation */
.page-numbers {
  padding: 8px 12px !important;
  border: 1px solid #4E6A8C;
  border-radius: 4px;
  color: #4E6A8C;
  background: #fff;
}
.page-numbers:hover {
  color: #fff;
  background-color: #4E6A8C;
  border: 1px solid #4E6A8C;
}
.current {
  color: #fff;
  background-color: #4E6A8C;
  border: 1px solid #4E6A8C;
  border-radius: 4px;
}
.current:hover {
  color: #fff;
  background-color: #4E6A8C;
  border: 1px solid #4E6A8C;
}
.elementor-pagination {
  letter-spacing: 0px !important;
}

/*----------------------------------------
// tag bg style
//--------------------------------------*/
.tag-txt {
  background:#4E6A8C;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

/*----------------------------------------
// post info widget styles
//--------------------------------------*/
.tag-mark {
  background: #fff;
  margin: 0;
  padding: 0 12px;
  border-radius: 16px;
  border: #2B3259 1px solid;
  display: inline-block;
}
.tag-mark:hover {
  background: #2B3259;
}
.tag-mark a {
  color: #2B3259;
  text-decoration: none !important;
  display: inline-block;
}
.tag-mark a:hover,
.tag-mark:hover a {
  color: #fff;
}

/*----------------------------------------
// animation button
//--------------------------------------*/
/* down button */
.down-button {
  animation-name:updown1;
  animation-delay:0s;
  animation-duration: 2.4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; 
}
@keyframes updown1 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* flash button */
.flash-loop {
  animation: flash-twice-loop 3s infinite;
}
@keyframes flash-twice-loop {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

/* shine button */
.b-shine {
  position: relative;
  overflow: hidden;
}

.b-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.8), transparent 70%);
  transform: skewX(-30deg);
  opacity: 0;
  animation: sparkle 3s infinite; /* ループ間隔を長く設定 */
  pointer-events: none;
}

@keyframes sparkle {
  0% {
    left: -150%;
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  55% {
    opacity: 1;
  }
  60% {
    opacity: 0.5;
  }
  65% {
    opacity: 0;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/*----------------------------------------
// heading styles
//--------------------------------------*/
.custom-column h2:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, #2B3259, transparent);
  background: linear-gradient(to right, #2B3259, transparent);
}
.custom-news h2 {
  padding: 0.25em 0.5em;
  background: transparent;
  border-left: solid 5px #2B3259;
}
