/* text */
.txt-upper-right {
    transform: rotate(-3deg)skewx(-3deg);
}

.txt-center {
  text-align: center;
}

.txt-white {
  color: #fff;
}

.txt-yellow {
  color: #fef34e;
}

.txt-pink {
  color: #df0729;
}

.txt-ribbon {
  display: inline-block;
  position: relative;
  height: 55px;
  text-align: center;
  box-sizing: border-box;
  -webkit-transform: rotate(-10deg) skew(-17deg,4deg);
  transform: rotate(-10deg) skew(-17deg,4deg);
}

.txt-ribbon:before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: #FFD600;
  bottom: -7px;
  left: -15px;
  z-index: -2;
}

.txt-ribbon:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: #FFD600;
  bottom: -10px;
  right: -25px;
  z-index: -2;
}

.txt-ribbon p {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0 20px;
  line-height: 55px;
  font-size: 20px;
  color: #004298;
  color: #474747;
  background: #fef34e;
}
.txt-ribbon p:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 7px transparent;
  border-right: solid 25px #c6821e;
}
.txt-ribbon p:after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-left: solid 15px #c6821e;
}

.txt-marker {
  background:linear-gradient(transparent 60%, #fef34e 60%);
}

.txt-square {
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.txt-square span{
  padding: 2px 10px;
  margin: 4px;
  font-size: 1.5rem;
  background: #fff;
  color: #474747;
}

.txt-emphasis{
  text-emphasis: circle #df0729;
  -webkit-text-emphasis: circle #df0729;
}

.label-slant {
  color: #df0729;
}

/* animation */
.fadeLineTrigger {
  opacity: 0;
}

.zoomInTrigger {
  opacity: 0;
}

.zoomIn {
  animation: zoomInAnime .7s ease-in forwards;
  opacity: 1;
}

@keyframes zoomInAnime{
  from { transform: scale(0.2); }
  25% { transform: scale(1.15); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.05); }
  to { transform: scale(1); }
}

.flipLeftTrigger {
  opacity: 0;
}

.flipLeft{
  animation-name:flipLeftAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  perspective-origin:left center;
  opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
   opacity: 0;
  }

  to {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
   opacity: 1;
  }
}

/* margin padding */
.margin-y-min {
  margin: 20px 0;
}

.margin-y-xlarge {
  margin: 100px 0;
}

.margin-y-minus {
  margin: -50px 0;
} 

.margin-top-middle {
  margin-top: 50px;
}

.margin-top-large {
  margin-top: 70px;
}

.margin-top-xlarge {
  margin-top: 100px;
}

.margin-top-minus {
  margin-top: -60px;
}

.padding-top-middle {
  padding-top: 50px;
}

.padding-left-middle {
  padding-left: 50px;
}

.paddings-btm-mid {
  padding-bottom: 50px;
}

/* page top */
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#df0729;
  width: 55px;
  height: 55px;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  transition:all 0.3s;
}

#page-top a:hover{
  background: #fef34e;
}

#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100px);
  }
}

/* bg */
.slant-bg {
    position: relative;
    padding: 30px 0;
}

.slant-bg::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  transform: skewY(-4deg);
  z-index: -1;
}

.slant-bg.bule::before {
  background: #df0729;
}

/* header */
#header{
  position: fixed;
  left: 0;
  top: 15px;
  width:100%;
  z-index: 999;
  padding: 0 40px;
  box-sizing: border-box;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 100px;
  box-sizing: border-box;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  padding: 13px 30px 11px 30px;
  background-color: #fff;
}

.g-nav-box {
  display: flex;
  align-items: center;
}

#g-nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#g-nav li a{
  display: block;
  padding:0 15px;
  font-size: 0.9rem;
}

#g-nav li a:hover {
  color: #df0729;
}

/* hamburger */
.g-nav-openbtn{
  display: none;
}
 
@media screen and (max-width:1060px) {
  #g-nav li a{
    padding:10px;
  }
  #g-nav ul{
    display: block;
    padding: 80px 0;
  }
  #header{
    top: 0;
    padding: 0;
  }
  .header-flex {
    border-radius: 0;
    padding: 13px 8px 11px 8px;
  }
  .g-nav-openbtn{
    display: block;
    z-index: 9999;
    cursor: pointer;
    width: 30px;
    height:50px;
    order: 3;
  }
  .btn-blue {
    order: 1;
  }
  .btn-pink {
    order: 2;
  }
  .g-nav-openbtn .openbtn-area{
      transition: all .4s;
      position: relative;
  }
  .g-nav-openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: #16213E;
    width: 85%;
  }
  .g-nav-openbtn span:nth-of-type(1) {
    top:15px; 
  }
  .g-nav-openbtn span:nth-of-type(2) {
    top:23px;
  }
  .g-nav-openbtn span:nth-of-type(3) {
    top:31px;
  }
  .g-nav-openbtn.active .openbtn-area{
    transform: rotateY(-360deg);
  }
  .g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
  }
  .g-nav-openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .g-nav-openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
  }
  #g-nav{
    position:fixed;
    z-index: 999;
    top:-100vh;
    left:0;
    width:100%;
    background: rgba(255, 255, 255, .95);
    transition: all 0.6s;
  }
  #g-nav.panelactive{
      top: 72px;
  }
}

/* btn */
.btn-nav-cta {
  color: #fff;
  padding: 10px 15px;
  margin-left:10px;
  border-radius: 100px;
  letter-spacing: .1rem;
}

.btn-pink {
  background: #df0729;
}

.btn-blue {
  background: #df0729;
}

@media screen and (max-width:960px) {
  .btn-nav-cta {
    margin-left:5px;
    padding: 10px 5px;
    font-size: .8rem;
  }
}
@media screen and (max-width:460px) {
  .btn-nav-cta {
    border-radius: 10px;
  }
}

.btn-glow a {
  font-size: 1.5rem;
  display: inline-block;
  padding: 20px 40px;
  border-radius: 100px;
  transition: transform .6s ease;
}

.btn-glow.red a {
  background: #df0729;
  color: #fff;
}

.btn-glow.yellow a {
  background: #fef34e;
  color: #474747;
}

.btn-glow a:hover {
  transform: scale(1.1);
}

.btn-glow a{
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-glow a:after{
    position: absolute;
    top: -200%;
    left: -150%;
    content: "";
    height: 500%;
    width: 70px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.6) 40%,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0)
    );
    transform: rotate(60deg);
    animation: 3.5s glow-animation infinite linear;
}

@keyframes glow-animation {
  0% {
    left: -100%;
  }
  80% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

@media (max-width: 960px) {
  .btn-glow a {
    font-size: 1.2rem;
    padding: 20px 30px;
  }
}

.btn-cercle {
  text-align: center;
  background-color: #FFDB39;
  border-radius: 50%;
  width: 100%;
  margin: 0 50px;
}

.white-btn a {
  display: inline-block;
  border: 1px solid #474747;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  width: 60%;
  text-align: center;
  margin: 10px 0;
  padding: 20px 50px;
  transition: .5s ;
}

.white-btn a:hover {
  background: #fff;
  color: #16213E;
}

@media (max-width: 960px) {
  .white-btn a {
    width: 74%;
  }
}

/* effect */
.fadeUp{
  animation-name: fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(30px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* img circle */
.img-circle {
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 12px solid #474747;
  position: relative;
}

/* title */
.section-title {
  text-align: center;
  padding: 10px 0 40px 0;
  font-size: 5rem;
}

.section-title span {
  padding-bottom: 8px;
  position: relative;
}

.section-title::after {
  content: attr(data-en);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-style: italic;
}

.section-title.fadeLine span::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
}

.section-title.fadeLine span:last-child::before{
  animation: lineAnime .4s ease-out forwards;
  animation-delay: .8s;
}

.section-title.fadeLine span:first-child::before{
  animation: lineAnime .4s linear forwards;
  animation-delay: .4s;
}

.section-title.blue span::before{
  border-bottom: double 8px #fff;
}

.section-title.white span::before{
  border-bottom: double 8px #474747;
}

@keyframes lineAnime {
  0%{
    width: 0%;
  }
  100%{
    width: 100%;
  }
}

.section-title.blue::after {
  color: rgba(255,255,255,0.5);
}

.section-title.white::after {
  color: rgba(105, 104, 104,0.3);
}

.section-title.fadeLine {
  animation-name:fadeUpUpperRightAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeUpUpperRightAnime{
  from {
    opacity: 0;
    transform: translateY(100px)rotate(-5deg)skewx(-5deg);
  }

  to {
    opacity: 1;
    transform: translateY(0)rotate(-5deg)skewx(-5deg);
  }
}

@media screen and (max-width:768px) {
  .section-title{
    font-size: 3rem;
  }
  .section-title::after {
    font-size: 2.9rem;
    top: -10px;
  }
}

@media screen and (max-width:460px) {
  .section-title{
    font-size: 2.5rem;
  }
  .section-title::after {
    font-size: 2.9rem;
    top: -16px;
  }
}

/* tab */
.tab{
  display: flex;
  flex-wrap: wrap;
}

.tab li a{
  display: block;
  background:#CCCCCC;
  padding:20px;
  font-weight: bold;
  border-radius: 20px 20px 0 0 ;
}

.tab li.active a{
  background:#fff;
}

.tab li p {
  opacity: 0;
}

.tab li.active p {
  animation-name: displayAnime;
  animation-duration: .5s;
  animation-fill-mode: forwards;
}

.tab-contants {
  display: none;
  opacity: 0;
  background: #fff;
}

.tab-contants.is-active {
  display: block;
  animation-name: displayAnime;
  animation-duration: .5s;
  animation-fill-mode: forwards;
  padding: 50px;
  border-radius: 0 0 20px 20px;
}

@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width:960px) {
  .tab-contants.is-active {
    padding:50px 10px;
  }
}

@media screen and (min-width:1200px) {
  .visual-large {
    display: none;
  }
}

@media screen and (max-width:960px) {
  .hidden-middle {
    display: none;
  }
}

@media screen and (min-width:960px) {
  .visual-middle {
    display: none;
  }
}

@media screen and (min-width:460px) {
  .visual-small {
    display: none;
  }
}