@charset "UTF-8";

body{
  color: #2f2f2f;
}

/* fonts */
.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  &.medium {
    font-weight: 500;
  }
  &.bold {
    font-weight: 700;
  }
  &.black {
    font-weight: 900;
  }
}

.zen-maru-gothic {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  &.medium {
    font-weight: 500;
  }
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  &.bold {
    font-weight: 700;
  }
  &.black {
    font-weight: 900 !important;
  }
}

/* googleicon */
.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

/* display */
.for_pc {
  display: block;
}
.for_tab,
.for_sp {
  display: none;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .for_pc {
    display: none;
  }
  .for_sp,
  .for_tab {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .for_pc {
    display: none;
  }
  .for_sp,
  .for_tab {
    display: block;
  }
}

/* link */
header a,
header a:link,
footer a,
footer a:link {
  text-decoration: none;
  @media screen and (max-width: 1024px) {
    text-decoration: underline;
    color: #3178FF;
  }
}
header a:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-underline-position: under;
  color: #3178FF;
  @media screen and (max-width: 1024px) {
    text-decoration: underline;
  }
}

/* header */
header {
  width: 100%;
  max-width: 1920px;
  height: 75px;
  padding: 0 24px;
  line-height: 75px;
  .list_container{
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
  }
}
@media screen and (max-width: 1024px) {
  header{
    width: 100%;
    max-width: 1920px;
    padding: 18px 24px;
    .list_container{
      grid-template-columns: auto auto;
    }
  }
}

header .website_title_img {
  width: calc(449 / 1920 * 100vw);
  height: auto;
  aspect-ratio: 449 / 56;
  @media screen and (min-width: 768px) and (max-width: 1024px) {
      width: calc(380 / 1024 * 100vw);
  }
  @media screen and (min-width: 391px) and (max-width: 767px) {
      width: calc(340 / 767 * 100vw);
  }
  @media screen and (max-width: 390px) {
      width: calc(208 / 390 * 100vw);
  }
}

.language_select_container {
  position: relative;
  cursor: pointer;
  caret-color: transparent;
  @media screen and (max-width: 1024px) {
    &.for_sp.for_tab{
      display: inline-block;
    }
  }
  .menu_container {
      position: absolute;
      z-index: 100;
      top: 100%;
      display: none;
      background: #FFF;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 260px;
      border-radius: 20px;
      border: 1px solid #E8E8E8;
      a {
        display: block;
        width: 100%;
        height: 24px;
        border-radius: 20px;
        line-height: 24px;
        font-family: 'Montserrat', sans-serif;
        text-decoration: none;
        &:hover {
          background: #E8EFFC;
        }
      }
  }
  &.selected .menu_container {
    position: absolute;
    z-index: 100;
    top: 100%;
    display: block !important;
    width: 180px;
  }
  .inner_language_container { 
    position: relative;
    display: block;
    width: 100%;
    padding: 5px;
    text-align: center;
    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 10%;
      width: 80%;
      border-bottom: 1px dashed rgba(0, 0, 0, 0.5);
    }
    &.vi::after {
      border: none;
    }
    a,a:link,a:hover {
      color: #2f2f2f;
    }
  }
  .language_bar_container {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-evenly;
    justify-items: center;
    align-items: center;
    width: 180px;
    background: #E8EFFC;
    height: 39px;
    line-height: 39px;
    border-radius: 100px;
  }
  .language_select {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 10px;
    justify-items: center;
    align-items: center;
  }
  .arrow_down_icon {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-top: 2px solid #2f2f2f;
    border-right: 2px solid #2f2f2f;
    transform: rotate(135deg);
    background: transparent;
    transition: transform 0.6s, background-color 0.6s !important;
  }
  &.selected .arrow_down_icon {
    transform: rotate(315deg);
  }
}

#hamburgerBtn{
  display: none;
  @media screen and (min-width: 768px) and (max-width: 1024px) {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    span {
      position: relative;
      transition: transform 0.3s ease, opacity 0.3s ease;
      font-size: 12px;
    }
    .menu--icon {
      display: block;
      height: 4px;
      width: 40px;
      background: #2f2f2f;
      border-radius: 100px;
      transition: transform 0.3s, background-color 0.3s !important;
      position: relative;
      bottom: 0;
      &::before,
      &::after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        background: #2f2f2f;
        border-radius: 100px;
        position: absolute;
        transition: transform 0.3s, background-color 0.3s !important;
      }
      &::before {
        top: 12px;
      }        
      &::after {
        bottom: 12px;
      }        
    }
    &.active {
      position: fixed;
      right: 0;
      z-index: 1100;
      span{
        background: transparent !important;
        transition: transform 0.3s ease, opacity 0.3s ease;
      }
      .menu--icon {
        right: 24px;
        bottom: 0px;
        &::before,
        &::after {
          content: "";
          display: block;
          background: #382C02;
          border-radius: 100px;
          position: absolute;
          transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        }
        &::before {
          transform: translateY(9px) rotate(45deg);
          top: -14px;
        }
        &::after {
          transform: translateY(-9px) rotate(-45deg);
          bottom: -4px;
        }
      }
    }
  }
  @media screen and (max-width: 767px) {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    span {
      position: relative;
      transition: transform 0.3s ease, opacity 0.3s ease;
      font-size: 12px;
    }
    .menu--icon {
      display: block;
      height: 4px;
      width: 40px;
      background: #2f2f2f;
      border-radius: 100px;
      transition: transform 0.3s, background-color 0.3s !important;
      position: relative;
      bottom: 0;
      &::before,
      &::after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        background: #2f2f2f;
        border-radius: 100px;
        position: absolute;
        transition: transform 0.3s, background-color 0.3s !important;
      }
      &::before {
        top: 12px;
      }        
      &::after {
        bottom: 12px;
      }        
    }
    &.active {
      position: fixed;
      right: 0;
      z-index: 1100;
      span{
        background: transparent !important;
        transition: transform 0.3s ease, opacity 0.3s ease;
      }
      .menu--icon {
        right: 24px;
        bottom: 0px;
        &::before,
        &::after {
          content: "";
          display: block;
          background: #382C02;
          border-radius: 100px;
          position: absolute;
          transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        }
        &::before {
          transform: translateY(9px) rotate(45deg);
          top: -14px;
        }
        &::after {
          transform: translateY(-9px) rotate(-45deg);
          bottom: -4px;
        }
      }
    }
  }
}

.button_container {
  display: none;
}
@media screen and (max-width: 1024px) {
  .button_container {
    display: block;
    margin: 0 auto 32px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    a,a:link{
      display: block;
      font-weight: bold;
      color: #fff;
      cursor: pointer;
    }
    .btn_box.grid {
      display: grid;
      grid-template-columns: auto auto auto;
      column-gap: 0;
      justify-content: center;
      justify-items: center;
      align-content: center;
      align-items: center;
      height: 60px;
      line-height: 60px;
      background: #F21D4B;
      border-radius: 100px;
      box-shadow: 2.5px 2.5px 0px 0px rgba(123, 57, 11, 0.1);
    }
    .btn_box.grid.big_block {
      .btn_txt {
        .btn_name{
          margin-bottom: 4px;
          font-size: 1rem;
        }
        .btn_info{
          padding: 0 8px;
          background: #fff;
          font-size: 0.688rem;
          color: #F21D4B;
        }
      }
    }
    span {
      display: block;
    }
    .btn_arrow{
      position: relative;
      display: inline-block;
      width: 11px;
      height: 17px;
      margin-left: 8px;
      &::before,
      &::after {
        content: "";
        position: absolute;
        top: calc(50% - 3px);
        right: 0;
        width: 13px;
        height: 3px;
        border-radius: 9999px;
        background: #fff;
        transform-origin: calc(100% - 1px) 50%;
      }
      &::before {
        transform: rotate(45deg);
      }
      &::after {
        transform: rotate(-45deg);
      }
    }
    .btn_txt {
      line-height: normal;
      .btn_name{
        font-size: clamp(1.125rem, 1.079rem + 0.19vw, 1.25rem);
      }
      .btn_info{
        padding: 0 8px;
        background: #fff;
        font-size: 0.75rem;
        color: #F21D4B;
      }
    }
  }
}

#navArea {
  z-index: 10000;
  .menu_list {
    display: grid;
    grid-template-columns: repeat(6, auto);
    column-gap: 24px;
    justify-items: center;
    align-items: center;
    font-size: clamp(1.5rem, 1.407rem + 0.38vw, 1.5rem);
    text-decoration: none !important;
      /* 高DPI環境（スケール125%〜150%以上）向け */
      @media (min-resolution: 144dpi) {
        font-size: clamp(1.125rem, 1.079rem + 0.19vw, 1.25rem);
      }
    .active {
      color: #3178FF;
    }
    .menu_kana {
      display: none;
    }
    li {
      display: block;
      width: 100%;
      text-align: left;
      &.has_sub {
        position: relative;
      }
    }
  }
  /* サブメニューの基本形（非表示） */
  .service_content_menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 0;
    width: 240px;
    padding: 16px 8px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
      /* 高DPI環境（スケール125%〜150%以上）向け */
      @media (min-resolution: 144dpi) {
        width: 220px;
      }
    li {
      list-style: none;
    }
    li a {
      display: block;
      padding: 10px 15px;
      color: #333;
      text-decoration: none;
    }
    li a:hover {
      background: rgb(49 120 255 / 12%);
    }
  }
  /* サブメニューを開く状態 
  .has_sub.open .service_content_menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .has_sub.open .service_content_menu li{
    line-height: normal;
  }
  .has_sub.open .service_content_menu li a,
  .has_sub.open .service_content_menu li a:link{
    font-weight: normal;
    font-size: 1rem;
    color: #5F5F5F;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    text-underline-position: under;
  }*/
}
#navOverlay {
  display: none;
}

/* PC：hover でサブメニューを表示 */
@media screen and (min-width: 1025px) {
  #navArea .has_sub:hover .service_content_menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  #navArea .has_sub .service_content_menu li,
  #navArea .has_sub:hover .service_content_menu li {
    line-height: normal;
  }
  #navArea .has_sub .service_content_menu li a,
  #navArea .has_sub .service_content_menu li a:link,
  #navArea .has_sub:hover .service_content_menu li a,
  #navArea .has_sub:hover .service_content_menu li a:link{
    font-weight: normal;
    font-size: clamp(1.125rem, 1.079rem + 0.19vw, 1.25rem);
    color: #5F5F5F;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    text-underline-position: under;
      /* 高DPI環境（スケール125%〜150%以上）向け */
      @media (min-resolution: 144dpi) {
        font-size: 1rem;
      }
  }
}


@media screen and (max-width: 1024px) {
  #navArea {
    display: block;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.7s ease;
    visibility: hidden; /* ★SPメニューは閉じている間は完全に非表示にする */
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    padding: 80px 40px;
    margin: 0 auto;
    text-align: center;
    z-index: 1000;
    grid-template-columns: none;
    grid-template-rows: repeat(4, auto);
    row-gap: 24px;
    line-height: 1.5;
    &.big_block {
      padding: 80px 24px;
    }
    &.active {
      transform: translateX(0) !important;
      visibility: visible !important; /* ★開いているときだけ表示 */
      pointer-events: auto;
      transition: transform 1.0s ease !important;
      overflow-y: scroll;
    }
    .menu_list {
      display: grid;
      grid-template-columns: none;
      grid-template-rows: repeat(4, auto);
      row-gap: 24px;
      justify-items: center;
      align-items: center;
      font-size: clamp(1.125rem, 1.079rem + 0.19vw, 1.5rem);
      text-decoration: none !important;
      margin: 0 auto 40px;
    }
    .menu_kana {
      display: block !important;
      font-size: .875rem;
      font-weight: bold;
      color: #2f2f2f;
    }
    a,
    a:link {
      text-decoration: none;
    }
    .service_content_menu {
      position: static;
      /* max-height: 0;
      padding: 0;
      overflow: hidden; SPで常に開かない場合（この3行のコメントアウトを外す） */
      opacity: 1;
      pointer-events: auto;
      transform: none;
      box-shadow: none;
      border: none;
      transition: max-height .3s ease;
    }
    .has_sub.open .service_content_menu,
    .has_sub:hover.open .service_content_menu {
      max-height: 500px;
    }
    .has_sub .service_content_menu li a,
    .has_sub .service_content_menu li a:link,
    .has_sub:hover .service_content_menu li a,
    .has_sub:hover .service_content_menu li a:link{
      font-weight: normal;
      font-size: 1rem;
      color: #5F5F5F;
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 2px;
      text-underline-position: under;
      cursor: pointer !important;
    }
  }
  #navOverlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease !important;
  }
  #navOverlay.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgb(49 120 255 / 12%);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 999;
  }
}

/* footer */
footer {
  width: 100%;
  margin: 0 auto;
  border-top: 1px dashed #2f2f2f;
  font-size: clamp(0.75rem, 0.704rem + 0.19vw, 0.875rem);
  a, a:link {
    text-decoration: none;
    color: #2f2f2f;
  }
  @media screen and ( max-width: 1024px){
    margin: 0 auto 80px;
  }
}
footer .footer_nav_container {
  padding: 24px;
  color: #5F5F5F;
  .nav_link_list {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    grid-template-rows: repeat(2, auto);
    row-gap: 16px;
    grid-template-areas:
      "area_aboutA area_serviceA area_newsA area_magazineA area_campanyA"
      "area_aboutB area_serviceB area_newsB area_magazineB area_campanyB";
    max-width: 1000px;
    margin: 0 auto;
  }
  .nav_link_list_menu p {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 900;
    font-size: clamp(1rem, 0.861rem + 0.57vw, 1.375rem);
  }
    .nav_link_list_menu ul.nav_link_list_submenu {
      margin-left: 1rem;
    }
  .nav_link_list_menu ul.nav_link_list_submenu li {
    margin: 0 auto 6px;
    font-size: clamp(0.875rem, 0.829rem + 0.19vw, 1rem);
    list-style-type: disc;
  }
  .nav_link_list_menu ul.nav_link_list_submenu li a,
  .nav_link_list_menu ul.nav_link_list_submenu li a:link {
    color: #5F5F5F;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    text-underline-position: under;
  }
  .nav_link_list_menu ul.nav_link_list_submenu li a:hover {
    color: #5F5F5F;
    text-decoration: none;
  }
  .nav_link_list_menu p {
    margin-bottom: 16px;
  }
  .areaA {
    grid-area: area_aboutA;
  }
  .areaB {
    grid-area: area_serviceA;
  }
  .areaC {
    grid-area: area_newsA;
  }
  .areaD {
    grid-area: area_magazineA;
  }
  .areaE {
    grid-area: area_campanyA;
  }
}

/* copyrights */
footer .copyright_container {
  width: 100%;
  padding: 8px 0;
  margin: 0 auto;
  background: #3178FF;
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  footer .footer_nav_container {
    .nav_link_list {
      display: flex;
      flex-direction: column;
      row-gap: 8px;
      width: auto;
      padding: 0 16px;
      margin: 0 auto;
    }
    .nav_link_list_menu p {
      margin-bottom: 8px;
    }
    .nav_link_list_menu p a,
    .nav_link_list_menu p a:link{
      /* color: #3178FF; */
    }
    .nav_link_list_menu ul.nav_link_list_submenu {
      margin-left: 1rem;
      margin-bottom: 24px;
    }
    .nav_link_list_submenu li {
      list-style-type: disc;
    }
    .nav_link_list_menu ul.nav_link_list_submenu li a,
    .nav_link_list_menu ul.nav_link_list_submenu li a:link {
      color: #5F5F5F;
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 2px;
      text-underline-position: under;
    }
  }
}


/* page top link */  
.page_to_top {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  &.is-visible{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #3178FF;
    text-align: center;
    line-height: 50px;  /* 要素の高さと合わせることで縦中央揃え */
    font-size: 24px;
    border-radius: 50%; /* 円形にする */
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: auto;
    z-index: 800;
    @media screen and (min-width:768px) and (max-width:1023px){
      bottom: 240px;
    }
    @media screen and (max-width: 767px) {
      bottom: 100px;      
    }
    .arrow {
      position: relative;
      display: inline-block;
      width: 40px;
      height: 40px;
      top: 25%;
      &::before,
      &::after {
        content: "";
        position: absolute;
        top: 0;
        left: calc(50% - 2px);
        width: 4px;
        height: 24px;
        border-radius: 9999px;
        background-color: #fff;
        transform-origin: 50% 2px;
      }
      &::before {
        transform: rotate(45deg);
      }
      &::after {
        transform: rotate(-45deg);
      }
    }
    &:hover{
      opacity: 1;
    }
  }
}

/* cta button fixed_right */
.cta_button_container.fixed_right {
  position: fixed;
  top: 200px;
  right: 0;
  z-index: 120;
  background: #F21D4B;
  border-radius: 16px 0 0 16px;
  box-shadow: 0px 3px 0px 0px #2F2F2F30;
  a,a:link {
    display: block;
    text-decoration: none;
    color: #fff;
  }
  .cta_button_box {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    row-gap: 6px;
    grid-template-areas:
      "areaA areaB"
      "areaC areaC";
    justify-content: center;
    justify-items: center;
    align-items: center;
    padding: 16px;
    line-height: normal;
  }
  .cta_button_box.small_block {
    .btn_name {
      grid-area: areaB;
      width: 100%;
    }
  }
  img {
    grid-area: areaA;
  }
  .btn_name {
    grid-area: areaB;
    font-size: 1.25rem;
  }
  .btn_info {
    grid-area: areaC;
    padding: 0 24px;
    background: #fff;
    color: #F21D4B;
    font-size: .875rem;
  }
  @media screen and (max-width: 1024px) {
    display: none;
  }
  &.noactive {
    display: none;
  }
}

/* cta button fixed_bottom */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .cta_button_container {
      background: #F21D4B;
      border-radius: 16px 16px 0 0;
      &.fixed_bottom {
        /*display: block;
        position: fixed;
        bottom: 0;
        left: calc(50% - 150px); 
        z-index: 120;
        width: 100%;
        max-width: 300px; */
      }
      a,a:link {
        display: block;
        text-decoration: none;
        color: #fff;
      }
      .cta_button_box {
        display: grid;
        grid-template-columns: 35px auto;
        grid-template-rows: auto auto;
        row-gap: 6px;
        grid-template-areas:
          "areaA areaB"
          "areaC areaC";
        justify-content: center;
        justify-items: center;
        align-items: center;
        padding: 8px 16px;
        line-height: normal;
      }
      img {
        grid-area: areaA;
      }
      .btn_name {
        grid-area: areaB;
        font-size: 1.25rem;
      }
      .btn_info {
        grid-area: areaC;
        padding: 0 24px;
        background: #fff;
        color: #F21D4B;
        font-size: .875rem;
      }
  }
  
  html[lang="en"] .btn_name {
    font-size: 1rem;
    text-align: center;
  }
  html[lang="en"] .btn_info {
    font-size: .8rem;
    text-align: center;
  }
  
  html[lang="vi"] .btn_name {
    font-size: .9rem;
    text-align: center;
  }
  html[lang="vi"] .btn_info {
    font-size: .6rem;
    text-align: center;
  }
}

@media screen and (min-width: 321px) and (max-width: 767px) {
  .cta_button_container {
      width:100%;
      background: #F21D4B;
      border-radius: 16px 16px 0 0;
      a,a:link {
        display: block;
        text-decoration: none;
        color: #fff;
      }
      .cta_button_box {
        display: grid;
        grid-template-columns: 35px auto;
        grid-template-rows: auto auto;
        row-gap: 6px;
        grid-template-areas:
          "areaA areaB"
          "areaC areaC";
        justify-content: center;
        justify-items: center;
        align-items: center;
        padding: 8px 16px;
        line-height: normal;
      }
      img {
        grid-area: areaA;
      }
      .btn_name {
        grid-area: areaB;
        font-size: 1rem;
      }
      .btn_info {
        grid-area: areaC;
        padding: 0 24px;
        background: #fff;
        color: #F21D4B;
        font-size: .65rem;
      }
  }
  
  html[lang="en"] .btn_name {
    font-size: 1rem;
    text-align: center;
  }
  html[lang="en"] .btn_info {
    font-size: .65rem;
    text-align: center;
  }
  
  html[lang="vi"] .btn_name {
    font-size: .9rem;
    text-align: center;
  }
  html[lang="vi"] .btn_info {
    font-size: .6rem;
    text-align: center;
  }
}

@media screen and (max-width: 320px) {
  .cta_button_container {
      background: #F21D4B;
      border-radius: 16px 16px 0 0;
      a,a:link {
        display: block;
        text-decoration: none;
        color: #fff;
      }
      .cta_button_box {
        display: grid;
        grid-template-columns: 35px auto;
        grid-template-rows: auto auto;
        row-gap: 6px;
        grid-template-areas:
          "areaA areaB"
          "areaC areaC";
        justify-content: center;
        justify-items: center;
        align-items: center;
        padding: 8px 16px;
        line-height: normal;
      }
      img {
        grid-area: areaA;
      }
      .btn_name {
        grid-area: areaB;
        font-size: 1rem;
      }
      .btn_info {
        grid-area: areaC;
        padding: 0 16px;
        background: #fff;
        color: #F21D4B;
        font-size: .7rem;
      }
  }
  
  html[lang="en"] .btn_name {
    font-size: 1rem;
    text-align: center;
  }
  html[lang="en"] .btn_info {
    font-size: .8rem;
    text-align: center;
  }
  
  html[lang="vi"] .btn_name {
    font-size: 1rem;
    text-align: center;
  }
  html[lang="vi"] .btn_info {
    font-size: .56rem;
    text-align: center;
  }
}

/* footer fixed area language + cta button */
.fixedarea_container {
  display: none;
}
@media screen and (min-width: 321px) and (max-width: 1024px) {
  .fixedarea_container {
      display: grid;
      grid-template-columns: auto minmax(auto, 1fr);
      /* column-gap: 4%; */
      justify-content: center;
      justify-items: center;
      align-items: center;
      width: 100%;
      padding: 4% 2% 0;
      margin: 0 auto;
      background: #ffffff90;
      position: fixed;
      bottom: 0;
      z-index: 120;
      &.usually {
        display: flex;
        /* grid-template-columns: 40% auto; */
        justify-content: start;
        justify-items: end;
      }
  }
  .fixedarea_container .language_select_container {
    position: relative;
    cursor: pointer;
    caret-color: transparent;
    transform: scale(.8);
    @media screen and (max-width: 1024px) {
      &.for_sp.for_tab{
        display: inline-block;
      }
    }
    .menu_container {
        position: absolute;
        z-index: 100;
        top: 100%;
        display: none;
        background: #FFF;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 260px;
        border-radius: 20px;
        border: 1px solid #E8E8E8;
        a {
          display: block;
          width: 100%;
          height: 24px;
          border-radius: 20px;
          line-height: 24px;
          font-family: 'Montserrat', sans-serif;
          text-decoration: none;
          &:hover {
            background: #E8EFFC;
          }
        }
    }
    &.selected .menu_container {
      position: absolute;
      z-index: 140;
      top: initial;
      bottom: 50px;
      display: block !important;
      width: 180px;
    }
    .inner_language_container { 
      position: relative;
      display: block;
      width: 100%;
      padding: 10px 5px;
      text-align: center;
      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.5);
      }
      &.vi::after {
        border: none;
      }
      a,a:link,a:hover {
        color: #2f2f2f;
      }
    }
    .language_bar_container {
      display: grid;
      grid-template-columns: auto auto;
      justify-content: space-evenly;
      justify-items: center;
      align-items: center;
      width: 180px;
      background: #E8EFFC;
      height: 50px;
      line-height: 50px;
      border-radius: 100px;
    }
    .language_select {
      display: grid;
      grid-template-columns: auto auto;
      column-gap: 10px;
      justify-items: center;
      align-items: center;
    }
    .arrow_down_icon {
      display: inline-block;
      width: 13px;
      height: 13px;
      border-top: 2px solid #2f2f2f;
      border-right: 2px solid #2f2f2f;
      transform: rotate(135deg);
      background: transparent;
      transition: transform 0.6s, background-color 0.6s !important;
    }
    &.selected .arrow_down_icon {
      transform: rotate(315deg);
    }
  }
  .footer_z-btn__container {
    width: 100%;
    background: none;
    .footer_z-btn {
      /* max-width: 180px; */
      background: #FF9D00;
      border-radius: 20px 20px 0 0;
    }    
    .footer_z-btn a {
      display: grid;
      grid-template-columns: auto auto;
      column-gap: 4px;
      justify-content: center;
      justify-items: center;
      align-items: center;
      height: 60px;
      padding: 0 2%;
      color: #fff;
      text-decoration: none;
    }
    .footer_z-btn p {
      font-size: 1rem;
      font-weight: bold;
      letter-spacing: 1px;
      line-height: 1.2;
      text-align: center;
    }

    .footer_z-btn .z-btn-span {
      font-size: 0.6rem;
    }
  }
}
@media screen and (max-width: 320px) {
  .fixedarea_container {
      display: grid;
      grid-template-columns: auto 1fr;
      column-gap: 4%;
      justify-content: center;
      justify-items: center;
      align-items: center;
      width: 100%;
      padding: 4% 2% 0;
      margin: 0 auto;
      background: #ffffff90;
      position: fixed;
      bottom: 0;
      z-index: 120;
      &.usually {
        display: flex;
        /* grid-template-columns: 40% 1fr; */
        justify-content: start;
        justify-items: end;
      }
  }
  .fixedarea_container .language_select_container {
    width: 100px;
    &.selected .menu_container {
      position: absolute;
      z-index: 140;
      top: initial;
      bottom: 35px;
      display: block !important;
      width: 100px;
    }
  }
}