/* =============================================
   Flare Corporate Site - Shared Styles
   ============================================= */

/* --- Base --- */
html {
  font-family: "noto-sans-cjk-jp", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  background-color: #e6e7e7;
}

.container {
  overflow-x: hidden;
}

/* --- Color Utilities --- */
.text-deep-red {
  color: #e82752;
}

.text-red {
  color: #f02847;
}

.text-dark {
  color: #000;
}

.text-black-blue {
  color: #0c2d45;
}

.text-yellow {
  color: #fee62c;
}

.text-black {
  color: #000;
}

/* --- Section Backgrounds --- */
.section-bg {
  background: transparent linear-gradient(180deg, #f7f7f7 0%, #ededfc 100%) 0 0 no-repeat padding-box;
}

.section-1 .bg-content {
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.section-1 .bg-content-sp {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.bg-content-2 {
  height: calc(100vh - 46px) !important;
}

.section-1 .flare-overview-img {
  position: relative;
  margin: 0 auto;
}

/* --- Tooltip --- */
.tooltip {
  background: #e82752;
  padding: 6px 56px;
  border-radius: 20px;
  position: relative;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: #e82752 transparent transparent transparent;
}

/* --- Typography --- */
.intro-text.intro-text-1 {
  letter-spacing: 1.3px;
}

/* --- Icons --- */
.icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
}

.icon-braking {
  background-image: url("/img/lp/braking.png");
}

.icon-speeding {
  background-image: url("/img/lp/speeding.png");
}

.icon-smartphone {
  background-image: url("/img/lp/smartphone.png");
}

.icon-turning {
  background-image: url("/img/lp/turning.png");
}

.icon-acceleration {
  background-image: url("/img/lp/acceleration.png");
}

.icon-uturn {
  background-image: url("/img/lp/uturn.png");
}

/* --- Features --- */
.features .feature {
  box-shadow: 0px 3px 8px #e8275280;
}

/* --- World Map Background --- */
.world-bg {
  background-image: url("/img/lp/world-map@2x.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  margin-top: -80px;
}

.world-bg img {
  margin-top: 140px;
}

/* --- Quote --- */
.quote {
  background-image: url("/img/lp/quote.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.quote_pc {
  top: -40px;
  left: calc(50% - 266px);
}

/* --- Form --- */
.form-group .required::after {
  content: "*";
  color: red;
}

.form-group input {
  height: 55px;
}

.form-group input,
.form-group textarea {
  border-style: solid;
  border-width: 2px;
  border-radius: 16px;
  width: 100%;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
}

/* --- Carousel --- */
.carousel-item {
  box-shadow: 0px 3px 8px #e8275280;
}

.carousel-indicator {
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-indicator[aria-current="true"] {
  background-color: #fff;
}

/* --- Header & Menu --- */
.dropdown:hover .dropdown-menu {
  display: block;
}

.header-button-shadow {
  box-shadow: 3px 3px 6px #0c2d4566;
}

.submenu {
  background-color: rgba(232, 39, 82, 0.9);
}

/* --- Loading Overlay --- */
.loading-overlay {
  background-color: rgb(0 0 0 / 60%);
}

/* --- Text Decorations --- */
.text-underline {
  border-bottom: 3px solid #fa7071;
}

/* --- Triangle / Chevron Shapes --- */
.triagle {
  width: 0;
  height: 0;
  border-left: 28px solid #e82752;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  position: absolute;
  top: calc(50% + 10px);
  right: -121px;
}

.chrevon-next {
  width: 0;
  height: 0;
  border-left: 28px solid #fee62c;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  position: absolute;
  top: calc(50% - 12px);
  right: -60px;
  z-index: 2;
}

.chrevon-previous {
  width: 0;
  height: 0;
  border-right: 28px solid #fee62c;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  position: absolute;
  top: calc(50% - 12px);
  left: -52px;
  z-index: 2;
}

.chrevon-down {
  width: 0;
  height: 0;
  border-top: 28px solid #fee62c;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  position: absolute;
  z-index: 2;
  bottom: -17px;
}

/* --- Driving Object --- */
.driving-object {
  width: calc(100vw - 20px);
  margin-left: -24px;
}

/* --- Buttons --- */
.btn-shadow {
  box-shadow: 3px 3px 6px #0c2d4566;
}

/* --- Owl Carousel Overrides --- */
.owl-carousel {
  width: 100vw;
  margin-left: -16px;
}

.owl-item {
  padding-bottom: 10px;
}

.owl-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.owl-dots .owl-dot {
  width: 18px;
  height: 18px;
  margin: 5px 7px;
  background: #fff !important;
  display: block;
  transition: opacity 0.2s ease;
  border-radius: 30px;
}

.owl-dots .owl-dot.active {
  background: #e82752 !important;
}

.owl-carousel .owl-item img {
  width: initial;
}

/* --- Background Colors --- */
.bg-color-red {
  background: #e82752 !important;
}

.about-us-bg {
  background-color: #e82752 !important;
  background-image: url("/img/lp/thai.png");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
}

.advisor-bg {
  background-color: #e82752 !important;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
}

/* --- Scroll Header Behavior --- */
.scroll-down header {
  transform: translate3d(0, -200px, 0);
}

.scroll-up header {
  transform: none;
  background-color: #e82752;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0px 3px 10px #ccc;
}

.scroll-up header .submenu {
  top: -12px;
}

/* --- Cookie Consent Overrides --- */
#cm {
  padding: 12px !important;
}

#cm.bar #c-inr {
  max-width: initial !important;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 32px;
}

.cc_div #c-bns {
  margin-top: 0;
}

#c-bns button {
  padding: 8px 22px;
  margin-left: 12px;
  border-radius: 0 !important;
  background-color: #000 !important;
  color: #fff !important;
  width: initial !important;
}

@media screen and (max-width: 640px) {
  #cm.bar #c-inr {
    flex-direction: column;
    align-items: inherit;
    margin: 0 16px;
  }

  #c-bns button {
    margin-left: 0;
    margin-top: 12px;
  }

  .btn-close-cookie-banner {
    top: 0;
  }
}