@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

:root {
    --primary-blue: #1e3fcc;
    --text-white: #ffffff;
    --light-blue: #2a4bd0;
    --dark-blue: #152d9e;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body::before {
  content: "";
  background: #2A7B9B;
  background: linear-gradient(45deg,rgb(15, 50, 175) 0%, rgb(11, 29, 91) 20%, rgb(0, 30, 137) 100%);
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index: -99999;
}

.navbar {
  position: fixed;
  width: 100%;
  flex-wrap: wrap;
}

.companyv2 {
  padding-top: 30px;
}

.logo img {
  max-height: 30px;
}

.sidebar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  padding-right: 0;
    padding-top: 2rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 150px;
}

.menu {
  max-width: fit-content;
}

.menu-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}
.menu-item:hover {
  color: #fff;
}
.menu-item.active {
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}
.menu-item.active::before {
  content: '';
  background-image: url('../company/tradomicon.png');
  font-size: 12px;
  margin-right: 12px;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: 18px;
}

.menu-text {
    font-size: 1rem;
}

.menu-item.active .menu-text {
    font-weight: bold;
}

.main-content {
    min-height: 100vh;
    padding: 0;
}

.tab-btn span::before {
  content: '';
  background-image: url(../images/arrow-right-white.png);
  width: 30px;
  height: 30px;
  display: block;
  float: left;
  background-size: 100%;
  background-repeat: no-repeat;
  margin-right: 14px;
}

.top-bar {
  width: 100%;
  max-width: unset;
  padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-selector a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.7;
}

.language-selector a.active {
    opacity: 1;
}

.content-area {
    padding: 2rem 3rem;
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.main-title {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: bold;
}

.tabs-section {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    margin-bottom: 3rem;
}

.tab-btn {
    color: var(--text-white);
    position: relative;
    text-decoration: none;
    margin-right: 2rem;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.tab-btn.active {
  border-bottom: 1px solid #fff;
}

.tab-buttons img {
  max-width: 30px;
  margin-right: 10px;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: #fff;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

.tab-btn:hover {
  color: #fff;
}
.tab-btn span {
  margin-bottom: 12px;
}
.tab-btn:hover::after,
.tab-btn:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

.tab-btn {
  overflow: hidden;
}

.tab-btn::after {
  opacity 1;
  transform: translate3d(-100%, 0, 0);
}

.tab-btn:hover::after,
.tab-btn:focus::after{
  transform: translate3d(0, 0, 0);
}

.mega-menu-item.last {
  border-bottom: 1px solid #647ACE !important;
  margin-bottom: 30px !important;
  padding-bottom: 30px !important;
}

.mega-menu-link {
  font-size: 16px !important;
  width: fit-content !important;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_6 #mega-menu-max_mega_menu_6 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
  width: 100% !important;
  background-color: #0065fb;
}
#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item,
#mega-menu-wrap-max_mega_menu_6 #mega-menu-max_mega_menu_6 > li.mega-menu-item {
  overflow: hidden !important;
  padding-bottom: 3px !important;
}
#mega-menu-wrap-max_mega_menu_3 a.mega-menu-link:hover:before, #mega-menu-wrap-max_mega_menu_3 a.mega-menu-link:focus:before,
#mega-menu-wrap-max_mega_menu_6 a.mega-menu-link:hover:before, #mega-menu-wrap-max_mega_menu_6 a.mega-menu-link:focus:before {
  transform: translate3d(0, 0, 0);
}
#mega-menu-wrap-max_mega_menu_3 a.mega-menu-link:hover:before, #mega-menu-wrap-max_mega_menu_3 a.mega-menu-link:focus:before,
#mega-menu-wrap-max_mega_menu_6 a.mega-menu-link:hover:before, #mega-menu-wrap-max_mega_menu_6 a.mega-menu-link:focus:before {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}
#mega-menu-wrap-max_mega_menu_3 a.mega-menu-link:before,
#mega-menu-wrap-max_mega_menu_6 a.mega-menu-link:before {
  transform: translate3d(-100%, 0, 0);
}
#mega-menu-wrap-max_mega_menu_3 a.mega-menu-link:before,
#mega-menu-wrap-max_mega_menu_6 a.mega-menu-link:before {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 0.1em !important;
  background-color: #fff !important;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

#mega-menu-max_mega_menu_3 .logo .mega-menu-link,
#mega-menu-max_mega_menu_6 .logo .mega-menu-link {
  background-image: url('https://www.tradom.jp/wp-content/themes/gfit_theme/assets/images/common/tradom-solution-logo.png') !important;
  background-repeat: no-repeat !important;
  background-size: 140px auto !important;
  min-height: 100px !important;
  margin: 0 auto !important;
    margin-bottom: 0px;
  margin-bottom: 0px;
  margin-bottom: 0px;
  width: 100% !important;
  margin-bottom: 30px !important;
  overflow: hidden !important;
  text-indent: 9999966px !important;
  white-space: nowrap !important;
  background-position: center !important;
  box-shadow: 2px 0px 45px -4px rgba(0,0,0,0.75) !important;
  -webkit-box-shadow: 2px 0px 15px -6px rgba(0,0,0,0.75) !important;
  -moz-box-shadow: 2px 0px 45px -4px rgba(0,0,0,0.75) !important;
  border-radius: 10px !important;
  transition: all .2s linear !important;
}
#mega-menu-max_mega_menu_3 .logo.ta .mega-menu-link,
#mega-menu-max_mega_menu_6 .logo.ta .mega-menu-link {
  background-image: url('https://www.tradom.jp/wp-content/themes/gfit_theme/assets/images/common/tradom-academy-logo.png') !important;
}
#mega-menu-max_mega_menu_3 .logo .mega-menu-link:hover,
#mega-menu-max_mega_menu_6 .logo .mega-menu-link:hover {
  background-size: 150px auto !important;
}
#mega-menu-max_mega_menu_3,
#mega-menu-max_mega_menu_6 {
  border-radius: 15px 0 0 15px !important;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 li.mega-menu-item.ext a.mega-menu-link::after,
#mega-menu-wrap-max_mega_menu_6 #mega-menu-max_mega_menu_6 li.mega-menu-item.ext a.mega-menu-link::after {
  content: '';
  background-image: url(../images/target-white.png);
  width: 12px;
  height: 12px;
  display: block;
  background-size: 100%;
  background-repeat: no-repeat;
  float: right;
  margin-left: 5px;
  margin-top: 10px;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_6 #mega-menu-max_mega_menu_6 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
  content: '';
  background-image: url('../company/tradomicon.png');
  font-size: 12px;
  margin-right: 12px;
  background-repeat: no-repeat;
  background-size: 18px;
  background-color: unset;
  background-position: left center;
  padding-left: 30px;
}

 #mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle.mega-menu-open::after, #mega-menu-wrap-max_mega_menu_6 .mega-menu-toggle.mega-menu-open::after {
    background: unset !important;
  }

#mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner, #mega-menu-wrap-max_mega_menu_6 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
#mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after, #mega-menu-wrap-max_mega_menu_6 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
  height: 1px;
}
#mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before, #mega-menu-wrap-max_mega_menu_6 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before {
  content: none;
}
#mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle + #mega-menu-max_mega_menu_3, #mega-menu-wrap-max_mega_menu_6 .mega-menu-toggle + #mega-menu-max_mega_menu_6 {
    z-index: 9999999998;
  }
.language-selector, #mega-menu-wrap-max_mega_menu_3 .mega-menu-toggle, #mega-menu-wrap-max_mega_menu_6 .mega-menu-toggle {
  position: relative;
  z-index: 9999999999;
}

.notlink .mega-menu-link {
  cursor: default !important;
  display: list-item !important;
  list-style: square !important;
  list-style-position: inside !important;
}
#mega-menu-wrap-max_mega_menu_3 .notlink a.mega-menu-link::before {
  content: none !important;
}

.trdm {
  font-size: 8pt;
}

.content-title {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.companyv2 {
  margin-top: 60px;
  padding-bottom: 100px;
  height: 100vh;
  overflow: scroll;
  position: fixed;
  z-index: -1;
}

.companyv2 h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 50px;
  line-height: 1.6;
}

.companyv2 .wp-block-table td {
  border: 0;
  border-bottom: 1px solid #647ACE;
  padding: 15px;
}

.hline {
  border-left: 1px solid #8A9CDA;
  padding-left: 30px;
}

.missionp b {
  font-size: 14pt;
}
.missionp span {
  font-size: 8pt;
}

.wp-block-spacer.line {
  margin-bottom: 40px;
  border-bottom: 2px solid #fff;
  max-width: 120px;
  margin-top: 20px;
}

.tabs-section {
  max-width: 650px;
  margin: 0 auto;
}

p, h4 {
  margin-bottom: 20px;
}
p {
  font-size: 14px;
  line-height: 2rem;
}
p strong {
  font-size: 15pt;
}
h4 {
  font-weight: bold;
  line-height: 2rem;
}


.wp-block-themeisle-blocks-posts-grid .is-list .o-posts-grid-post .o-posts-grid-post-image img {
  height: auto;
  object-fit: unset;
  width: 100%;
}

.o-posts-grid-post-meta {
  color: transparent !important;
}
.o-posts-grid-post-meta time {
  color: #fff;
  margin-left: -70px;
}

.o-posts-grid-post-body {
  flex-direction: column-reverse !important;
}

.wp-block-themeisle-blocks-posts-grid .is-list .o-posts-grid-post {
  align-items: center;
}

.gs-grid-style-four .single-member-div .gs_member_info {
  background: transparent !important;
}
.gs-grid-style-four .single-member-div .gs_member_info .gs-member-name, .gs_tm_theme_v_2 .single-member-div .gs_member_info .gs-member-desig {
  color: #fff;
}
.gs-grid-style-four .single-member-div .gs_member_info {
  bottom: unset;
  height: 100%;
}
.gs-grid-style-four .single-member-div .gs_team_image__wrapper {
  border-radius: 8px;
}
.gs_team_area .gs-containeer {
  overflow: hidden;
}
.owl-nav {
  z-index: 99;
  position: relative;
  margin: 0 !important;
  display: flex !important;
  justify-content: space-between;
}

.owl-next, .owl-prev {
  position: relative;
  color: transparent !important;
  background-color: #6a86ff !important;
  width: 40px;
  height: 40px;
  border-radius: 50px !important;
}
.owl-next:hover, .owl-prev:hover {
  background-color: #3057ff !important;
}
.owl-next::before {
  content: ">";
  color: #fff !important;
  font-size: 20pt;
  font-weight: bold;
  position: absolute;
  left: 12px;
  top: -2px;
}
.owl-prev::after {
  content: "<";
  color: #fff !important;
  font-size: 20pt;
  font-weight: bold;
  position: absolute;
  left: 12px;
  top: -2px;
}

.o-posts-grid-post-blog.o-posts-grid-post-plain {
  border-bottom: 1px solid #fff;
  padding-bottom: 30px;
}

.gs-member-desig {
  font-size: 14px !important;
}

.companyv2 td {
  min-width: 114px;
}

.top.menu {
  position: absolute;
  bottom: 3%;
  left: 3%;
}
.frame .top.menu, .frame .content{
  animation: fade 2s linear forwards;
  animation-delay:2s;
  opacity:0;  
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.top.menu .menu-item {
  font-size: 14px;
}

.scrolldown {
  position: absolute;
  bottom: 5%;
  right: 5%;
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 8px 12px;
  width: 45px;
  height: 45px;
}

.related-post.grid {
  display: none;
}
.single-news .main-title {
  font-size: 1.7rem;
}

/**/

@media (max-width: 991px) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        margin-left: 250px;
    }
}

@media (max-width: 767px) {

  .trdm, .top.menu {
    display: none;
  }

  .companyv2 h2 {
      font-size: 2rem;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        min-height: auto;
        padding: 1.5rem;
    }
        
    .logo-container {
        margin-bottom: 2rem;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 1rem;
    }
    
    .col-md-9.offset-md-3 {
        margin-left: 0;
    }
    
    .top-bar {
        padding: 1rem;
    }
    
    .content-area {
        padding: 1.5rem;
    }
    
    .main-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .tab-buttons {
      justify-content: space-around;
    }

    .tab-btn {
      margin: 0;
      padding: 0 14px;
    }
        
    .tab-btn span::before {
      content: unset;
    }
    
    .tab-btn {
        margin-bottom: 1rem;
    }

    .scrolldown {
      display: none;
    }

      .wp-block-themeisle-blocks-posts-grid .is-list .o-posts-grid-post {
        flex-direction: unset;
        padding: 0;
        gap: 10px;
      }
      .o-posts-grid-post-title a {
        font-size: 12pt !important;
      }
}

@media (min-width: 1200px) {
    .content-area {
        padding: 3rem 5rem;
    }
}

/**/
#gs_team_area_14 .gs_team_image__wrapper, #gs_team_area_13 .gs_team_image__wrapper {
  max-height: 140px;
  border-radius: 8px;
}
#gs_team_area_14 .gs_team_member--image.wp-post-image, #gs_team_area_13 .gs_team_member--image.wp-post-image {
  object-fit: contain;
}
.gs-team-popup--default .gs-member-desc.gs-team--scrollbar {
  max-height: unset !important;
}