/**
Theme Name: cotovia
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: cotovia
Template: astra
*/

/*----------------------------------------
  iOS端末でアクセス時に横スワイプできてしまう不具合への対応
  意図せず横方向にスワイプできる問題を防止
----------------------------------------*/
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/*----------------------------------------
// アイキャッチ画像がTOPに出てしまう問題
//--------------------------------------*/
.entry-header {
  display: none;
}

/*----------------------------------------
// iPhone 12 Pro/XRで改行せず、スクロールしてしまうバグ対応
//--------------------------------------*/
.elementor-popup-modal .elementor-widget-text-editor {
  white-space: normal;
  word-break: break-word;
}

/*----------------------------------------
// Astra Theme BUG Fix
//--------------------------------------*/
.ast-article-single figure, .ast-article-single img:not(figure img) {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

/*----------------------------------------
// 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);
}

/*----------------------------------------
// mouse selection styles
//--------------------------------------*/
::-moz-selection {
  color: #fff !important
  background-color: #9FD5A0 !important
}
::selection {
  color: #fff !important;
  background-color: #9FD5A0 !important
}

/*----------------------------------------
// 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;
  }
}

/*----------------------------------------
// bg dot
//--------------------------------------*/
.bg-dot1 {
  background-image: radial-gradient(#FAF6DC 30%, transparent 30%);
  background-size: 8px 8px;
}
.bg-dot2 {
  background-image: radial-gradient(#BDD5B1 30%, transparent 30%);
  background-size: 8px 8px;
}
.bg-dot3 {
  background-image: radial-gradient(rgba(89, 183, 91, 0.1) 30%, transparent 30%);
  background-size: 8px 8px;
}
/*----------------------------------------
// marker
//--------------------------------------*/
.marker-green {
  background: linear-gradient(transparent 90%, #5ABC68 90%);
}
.marker-light-green {
  background: linear-gradient(transparent 60%, rgba(89, 183, 91, 0.3) 84%);
}
.marker-orange {
  background: linear-gradient(transparent 90%, #EE8B2C 90%);
}
.marker-light-orange {
  background: linear-gradient(transparent 60%, rgba(244, 169, 123, 0.3) 84%);
}
.marker-yellow {
  background: linear-gradient(transparent 90%, #FFE643 90%);
}
.marker-light-yellow {
  background: linear-gradient(transparent 60%, rgba(252, 198, 14, 0.3) 84%);
}
.marker-grey {
  background: linear-gradient(transparent 90%, #505050 90%);
}
.marker-light-grey {
  background: linear-gradient(transparent 60%, rgba(80, 80, 80, 0.3) 84%);
}

/*----------------------------------------
// 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行分の高さ */
}

/*----------------------------------------
// underline
//--------------------------------------*/
.underline-dotted {
  background-image : linear-gradient(to right, #59B75B 8px, transparent 8px);
  background-size: 18px 1px;
  background-repeat: repeat-x; 
  background-position: left bottom;
}
.underline-dotted .elementor-button-content-wrapper {
  background-image : linear-gradient(to right, #59B75B 8px, transparent 8px);
  background-size: 18px 1px;
  background-repeat: repeat-x; 
  background-position: left bottom;
}

.underline-green {
  border-bottom:solid 2px #59B75B;
  display: inline-block;
  padding:0 0.4em 0.2em;
  margin-left: -0.8em;
}
.underline-yellow {
  border-bottom:solid 2px #FFE643;
  display: inline-block;
  padding:0 0.4em 0.2em;
  margin-left: -0.8em;
}
.underline-gray {
  border-bottom:solid 2px rgba(117, 117, 117, 0.5);
  display: inline-block;
  padding:0 0.4em 0.2em;
  margin-left: -0.8em;
}

/* black */
.underline-arrow {
  width: 30%;
  height: 16px;
  border-bottom: 1px solid #505050;
  border-right: 1px solid #505050;
  transform: skew(45deg);
  margin: -16px 0 0 -8px;
  opacity: 0.5;
  transition: width 1.6s ease-out;
}
.underline-arrow.animate {
  width: 100%;
  opacity: 1;
}

@media (max-width: 767px) {
  .underline-arrow {
    height: 12px;
    margin: -12px 0 0 -8px;
  }
}

/* white */
.underline-arrow-w {
  width: 30%;
  height: 16px;
  border-bottom: 1px solid #fff;
  margin: -16px 0 0 -8px;
  opacity: 0.5;
  transition: width 1.6s ease-out;
}
.underline-arrow-w.animate {
  width: 100%;
  opacity: 1;
}

@media (max-width: 767px) {
  .underline-arrow-w {
    height: 12px;
    margin: -12px 0 0 -8px;
  }
}

/*----------------------------------------
// 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 #5ABC68;
  border-radius: 4px;
  color: #5ABC68;
  background: #fff;
}
.page-numbers:hover {
  color: #fff;
  background-color: #5ABC68;
  border: 1px solid #5ABC68;
}
.current {
  color: #fff;
  background-color: #5ABC68;
  border: 1px solid #5ABC68;
  border-radius: 4px;
}
.current:hover {
  color: #fff;
  background-color: #5ABC68;
  border: 1px solid #5ABC68;
}
.elementor-pagination {
  letter-spacing: 0px !important;
}

/*----------------------------------------
// post info widget styles
//--------------------------------------*/
.tag-mark {
  background: #fff;
  margin: 0;
  padding: 0 12px;
  border-radius: 16px;
  border: #59B75B 1px solid;
  display: inline-block;
}
.tag-mark:hover {
  background: #59B75B;
}
.tag-mark a {
  color: #59B75B;
  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, #59B75B, transparent);
  background: linear-gradient(to right, #59B75B, transparent);
}
.custom-news h2 {
  padding: 0.25em 0.5em;
  background: transparent;
  border-left: solid 5px #59B75B;
}
