/*
Theme Name: Wordpress Newsletter
Author: CBT Employee(Charles & Joey)
Description: A custom WordPress theme to fit the company wordpress articles.
Version: 1.0
*/
/* This is for bigger screens */
*{
  font-family: 'Noto Sans JP', sans-serif;
}
@media (min-width:1441px){
  .error-container{
    padding: 30px;
  }
  .page-wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  main{
    flex-grow: 1;
  }
  #backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #B85151;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  #backToTopBtn:hover {
    background-color: #B85151;
  }
  body{
    margin: 0;
  }
  /* Header */
  header{
      background-color: #D9D9D999;
  }
  /* Search Bar Custom Styles */
  .align-search-button{
      margin: auto;
      display: flex;
      justify-content: right;
      padding: 20px 30px 0px;
  }
  .search-container-custom {
      display: flex;
      border-radius: 5px;
  }
  .search-input-wrapper-custom {
      position: relative;
      display: flex;
      align-items: center;
      background-color: #fff;
      border-radius: 8px 0px 0px 8px;
      overflow: hidden;
  }
  .search-input-custom {
      border: none;
      padding: 0px 10px;
      font-size: 18px;
      outline: none;
      width: 250px;
      color: #333;
      box-sizing: border-box;
  }
  .search-input-custom::placeholder {
      color: black;
  }
  .search-input-custom:focus + .placeholder-text-custom,
  .search-input-custom:not(:placeholder-shown) + .placeholder-text-custom {
      opacity: 0;
  }
  .search-button-custom {
      background-color: #3E3D3F;
      border: none;
      padding: 8px 10px;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 0px 8px 8px 0px;
      margin-left: -1px;
  }
  .search-icon-custom {
      width: 20px;
      height: 20px;
      fill: #fff;
  }
  /* Logo & buttons */
  .align-logo-buttons{
      margin: auto;
      padding: 0px 30px;
  }
  .upper-logo p{
    padding-left: 105px;
    margin: -15px 0px -5px;
  }
  .lower-logo{
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  .lower-logo h1{
    font-family: 'Kozuka Gothic Pr6N', sans-serif;
    font-weight: bold;
  }
  .align-img-logo{
    display: flex;
    align-items: center;
  }
  .align-img-logo img{
    margin-top: -20px;
    padding: 0 10px 0 0;
    width: 10%;
  }
  .two-buttons{
      display: flex;
      gap: 30px;
      padding-right: 30px;
  }
  .two-buttons button{
      background-color: #B85151;
      color: #FFFFFF;
      border: none;
      padding: 8px 25px;
  }
  .sp-hamburger-mode, .hide{
      display: none;
  }
  /* Navigation */
  .main-header-only{
      background-color: #3E3D3F;
  }
  .main-header-menu{
      margin: auto;
      background-color: #3E3D3F;
  }
  .menu{
      display: flex;
      align-items: center;
      justify-content: space-around;
      margin: 0;
      padding: 5px 0px 10px;
  }
  nav ul li{
      list-style-type: none;
  }
  nav ul li a{
      text-decoration: none;
      color: #FFFDFD;
      font-size: 18px;
  }
  /* Navigation home icon */
  .custom-home-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    vertical-align: middle;
    margin: 0 5px;
  }
  .custom-home-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
    display: block;
  }
  /* Navigation home icon */
  .custom-home-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    vertical-align: middle;
    margin: 0 5px;
  }
  .custom-home-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
    display: block;
  }
  /* Footer */
  footer{
    background-color: #D9D9D9;
  }
  .main-footer{
    margin: auto;
    padding: 15px 30px;
  }
  .header-footer p{
    font-size: 20px;
    margin: 0;
    color: #3E3D3F; 
    font-weight: bold;
    padding-left: 100px;
  }
  .copyright-footer hr{
    margin: 0;
    border: 2px solid #FFFFFF;
  }
  .copyright-footer p{
    text-align: center;
    font-size: 14px;
    margin: 10px 0px 0px;
  }
  .footer-columns-wrapper {
    padding: 0 100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer-column {
    width: calc(33.333% - 20px);
    box-sizing: border-box;
  }
  .footer-column-items {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .footer-column-items > li {
    margin-bottom: 5px;
  }
  .footer-column-items a {
    display: block;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    padding: 5px 0 5px 40px;
    line-height: 1.5;
    position: relative;
  }
  .footer-column-items a::before {
    content: '>';
    position: absolute;
    left: 10px; 
    color: #666;
    font-weight: bold;
  }
  /*NEW FOOTER ABOVE COPYRIGHT*/
  .copyright-footer-column-items{
    padding: 10px;
    margin: 0;
    display: flex;
  }
  .copyright-footer-column-items a{
    color: #333;
    font-size: 18px;
    text-decoration: none;
  }
  .copyright-footer-column-items li{
    padding: 0 40px;
    border-right: 1px solid #000000;
  }
  .copyright-footer-column-items li:first-child {
    padding: 0 40px 0 0;
  }
  .copyright-footer-column-items li:last-child {
    padding: 0 0 0 40px;
    border-right: none;
  }
  @media (max-width: 992px) {
    .footer-columns-wrapper {
      flex-wrap: nowrap;
    }
  }
  .sp-footer-mobile {
    display: none;
    background-color: #FFFFFF;
    padding: 15px 10px; 
  }
  .sp-footer-mobile {
    color: #3E3D3F; 
    font-weight: bold;
    font-size: 20px;
  }
  .header-footer{
    padding: 10px;
    background-color: #D9D9D9;
  }
  .header-footer p{
    text-align: left;
    font-weight: 400;
    padding-left: 100px;
  }
  .sp-footer-mobile .sp-footer-menu-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer-mobile-column-items > li { 
    margin-bottom: 2px; 
  }
  .footer-mobile-column-items a { 
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #FFFDFD;
    text-decoration: none;
    font-weight: normal;
    font-size: 1rem;
    background-color: #3E3D3F;
    position: relative;
  }
  .hamburger {
    background-color: #757476;
    padding: 10px 10px 5px;
    cursor: pointer;
    border-radius: 12px;
  }
  .sp-hamburger-mode{
    padding-top: 25px;
    gap: 5px;
  }
  .hamburger .line {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #FFFFFF;
  }
  .sp-mobile-menu {
    display: none;
    position: fixed;
    width: 94%;
    top: 5rem;
    left: 18px;
    background-color: lightblue;
    z-index: 1000;
  }
  .sp-mobile-menu a {
    display: block;
    text-align: center;
    padding: 10px 0;
  }
  .sp-mobile-menu a:hover {
      background-color: lightcoral;
  }
  /**Modal Logout**/
  .modal {
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;

    /* Flexbox for perfect centering */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Modal box */
  .modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    min-width: 450px;
    width: 25%;
  }  
  .modal button {
    width: 100%;
    padding: 6px 14px;
    margin: 8px;
    border: 1px solid #999;
    background: white;
    cursor: pointer;
    border-radius: 4px;
  }
  .modal button:hover {
      background: #f0f0f0;
  }
  /* LOGIN PAGE*/
  main > h1 {
    display: none;
  }
  .login-container{
    width: 1440px;
    padding: 50px 140px 20px;
    margin: 0 auto;
  }
  .login-header{
    display: flex;
    padding-bottom: 10px;
  }
  .header-left h2{
    font-size: 20px;
    padding-right: 40px;
  }
  .header-left, .um-field-label{
    width: 30%;
    text-align: right;
    padding-right: 60px;
  }
  .um-field-label label[for="username-273"], 
  .um-field-label label[for="user_password-273"], 
  .um-field-label label[for="user_password"] ,
  .um-field-label label[for="confirm_user_password"]
  {
    font-size: 16px !important;
    color: #000000;
  }
  .header-right, .um-field-area{
    width: 60%;
  }
  #um_field_273_username{
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 15px;
  }
  #um_field_273_username, #um_field_273_user_password,
  #um_field_0_user_password, #um_field_0_confirm_user_password{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #um_field_273_user_password, 
  #um_field_0_confirm_user_password
  {
    padding-top: 40px;
  }
  .um-field-label label[for="username-273"]::after,
  .um-field-label label[for="user_password-273"]::after,
  .um-field-label label[for="user_password"]::after, 
  .um-field-label label[for="confirm_user_password"]::after
  {
    content: "必須";
    color: white;
    background-color: red;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  }
  #username-273, #user_password-273, #user_password, #confirm_user_password{
    border: 1px solid #000000 !important;
    border-radius: 8px; 
  }
  #um-submit-btn {
    width: 5% !important;
    background-color: #0a89b8;
    font-weight: bold !important;
    color: white;
    font-size: 20px;
    padding: 20px 0 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
  }
  #um-submit-btn:hover {
    background-color: #07678a;
  }
  .reset-pass{
    text-align: right;
    padding-right: 100px;
  }
  .reset-pass a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  .not-yet-reg{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    background-color: #E6E2E2;
    padding: 5px;
  }
  .not-yet-reg img{
    width: 30px;
  }
  .not-yet-reg p{
    font-size: 18px;
    font-weight: bold;
    margin: 0;
  }
  .new-member{
    text-align: center;
    padding: 50px 0 30px;
  }
  .new-member a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  /*REGISTRATION FORM PART*/
  .register-container{
    width: 1440px;
    padding: 50px 140px 20px;
    margin: 0 auto;
  }
  .register-header{
    display: flex;
    padding-bottom: 10px;
  }
  .register-header-left h2{
    font-size: 20px;
    padding-right: 40px;
  }
  .register-header-left{
    width: 50%;
    text-align: right;
    padding-right: 20px;
  }
  .um-field-label, .blank-pass{
    width: 30%;
    text-align: right;
    padding-right: 60px;
  }
  .sp-break {
    display: none;
  }
  .privacy-main{
    padding: 40px 130px 0px;
  }
  .privacy-notice a{
    text-decoration: none;
    color: #16018D;
  }
  #um_field_272_privacy .um-field-area{
    padding-left: 130px;
  }
  .um-field-error {
    width: 20% !important;
    max-width: 100% !important;
    line-height: 20px !important;
    flex-basis: 60%;
    margin: 1% 0 0 30% !important;
  }
  #um_field_0_username_b .um-field-error{
    width: 100% !important;
    margin: 1% 0 0 !important;
  }
  .um-field-arrow{
    display: none;
  }
  .um-field-label label[for="first_name-272"]{
    display: none;
  }
  .um-field-label label[for="user_email-272"], 
  .um-field-label label[for="user_password-272"],
  .um-field-label label[for="confirm_user_password-272"], 
  .um-field-label label[for="company_name-272"],
  .um-field-label label[for="last_name-272"], 
  .um-field-label label[for="department-272"],
  .um-field-label label[for="position-272"], 
  .um-field-label label[for="phone_number-272"],
  .um-field-label label[for="privacy-272"],
  .um-field-label label[for="industry-272"],
  .um-field-checkbox-option,
  .note-pass,
  .privacy-note-title label,
  .privacy-notice p
  {
    font-size: 16px !important;
    color: #000000 !important;
    font-weight: bold;
  }
  .register-header-right, .um-field-area, .note-pass{
    width: 60%;
  }
  /* #um_field_272_user_email, */
  #um_field_272_user_password,
  #um_field_272_company_name,
  #um_field_272_first_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_phone_number,
  #um_field_272_privacy,
  #um_field_272_industry,
  #um_field_0_user_password,
  .password-specifications
  {
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 15px;
  }
  #um_field_272_user_email,
  #um_field_272_user_password,
  #um_field_272_confirm_user_password,
  #um_field_272_company_name,
  #um_field_272_first_name,
  #um_field_272_last_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_phone_number,
  #um_field_272_privacy,
  #um_field_272_industry,
  .password-specifications
  {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #um_field_272_user_password,
  #um_field_272_confirm_user_password,
  #um_field_272_company_name,
  #um_field_272_last_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_industry,
  #um_field_272_phone_number
  {
    padding-top: 40px;
  }
  .um-field-label label[for="user_email-272"]::after, 
  .um-field-label label[for="user_password-272"]::after,
  .um-field-label label[for="confirm_user_password-272"]::after, 
  .um-field-label label[for="company_name-272"]::after,
  .um-field-label label[for="last_name-272"]::after, 
  /* .um-field-label label[for="department-272"]::after,
  .um-field-label label[for="phone_number-272"]::after, */
  .um-field-label label[for="privacy-272"]::after,
  .um-field-label label[for="industry-272"]::after,
  .privacy-note-title label::after
  {
    content: "必須";
    color: white;
    background-color: red;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  }
  /* .um-field-label label[for="position-272"]::after
  {
    content: "   ";
    background-color: none;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  } */
  #user_email-272,
  #user_password-272,
  #confirm_user_password-272,
  #company_name-272,
  #last_name-272,
  #first_name-272,
  #department-272,
  #position-272,
  #phone_number-272,
  .select2-selection,
  .content-textarea .privacy_info textarea
  {
    border: 1px solid #000000 !important;
    border-radius: 8px; 
  }
  .select2.select2-container .select2-selection
  {
    border: 1px solid #000000 !important;
    border-radius: 8px !important; 
    height: 40px;
    padding-left: 10px;
  }
    /*RESET PASSWORD PAGE*/
  .reset-container{
    width: 1440px;
    padding: 50px 140px 20px;
    margin: 0 auto;
  }
  .reset-content{
    padding-top: 20px;
  }
  .cancel-reset{
    text-align: right;
    padding-bottom: 70px;
  }
  .cancel-reset a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  .um-um_password_id.um {
    max-width: 80% !important;
  }
  .um-field-label:has(> label[for="username_b"]) {
    width: 100%;
    text-align: left;
    overflow: hidden; 
    color: #000000;
  }
  .um-field-area:has(> #username_b) {
    width: 100%;      
    border-radius: 5px;        
  }
  .um-form-field .valid {
    border: 1px solid #000000 !important;
  }
  .um-field-label label[for="username_b"] {
    font-size: 18px !important; 
    padding-bottom: 20px;
  }
  .um-field-block div{
    font-size: 20px;
    font-weight: normal;
    color: #000000;
    padding-bottom: 10px;
  }
  .um-field-block h2{
    font-size: 32px;
    padding-bottom: 30px;
  }
}
@media (max-width:1440px){
   .error-container{
    padding: 30px;
  }
  .page-wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  main{
    flex-grow: 1;
  }
  #backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #B85151;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  #backToTopBtn:hover {
    background-color: #B85151;
  }
   body{
      margin: 0;
  }
  /* Header */
  header{
      background-color: #D9D9D999;
  }
  /* Search Bar Custom Styles */
  .align-search-button{
      margin: auto;
      display: flex;
      justify-content: right;
      padding: 20px 30px 0px;
  }
  .search-container-custom {
      display: flex;
      border-radius: 5px;
  }
  .search-input-wrapper-custom {
      position: relative;
      display: flex;
      align-items: center;
      background-color: #fff;
      border-radius: 8px 0px 0px 8px;
      overflow: hidden;
  }
  .search-input-custom {
      border: none;
      padding: 0px 10px;
      font-size: 18px;
      outline: none;
      width: 250px;
      color: #333;
      box-sizing: border-box;
  }
  .search-input-custom::placeholder {
      color: black;
  }
  .search-input-custom:focus + .placeholder-text-custom,
  .search-input-custom:not(:placeholder-shown) + .placeholder-text-custom {
      opacity: 0;
  }
  .search-button-custom {
      background-color: #3E3D3F;
      border: none;
      padding: 8px 10px;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 0px 8px 8px 0px;
      margin-left: -1px;
  }
  .search-icon-custom {
      width: 20px;
      height: 20px;
      fill: #fff;
  }
  /* Logo & buttons */
  .align-logo-buttons{
      margin: auto;
      padding: 0px 30px;
  }
.upper-logo p{
    padding-left: 105px;
    margin: -15px 0px -5px;
  }
  .lower-logo{
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  .lower-logo h1{
    font-family: 'Kozuka Gothic Pr6N', sans-serif;
    font-weight: bold;
  }
  .align-img-logo{
    display: flex;
    align-items: center;
  }
  .align-img-logo img{
    margin-top: -20px;
    padding: 0 10px 0 0;
    width: 10%;
  }
  .two-buttons{
      display: flex;
      gap: 30px;
      padding-right: 30px;
  }
  .two-buttons button{
      background-color: #B85151;
      color: #FFFFFF;
      border: none;
      padding: 8px 25px;
  }
  .sp-hamburger-mode, .hide{
      display: none;
  }
  /* Navigation */
  .main-header-only{
      background-color: #3E3D3F;
  }
  .main-header-menu{
      margin: auto;
      background-color: #3E3D3F;
  }
  .menu{
      display: flex;
      align-items: center;
      justify-content: space-around;
      margin: 0;
      padding: 5px 0px 10px;
  }
  nav ul li{
      list-style-type: none;
  }
  nav ul li a{
      text-decoration: none;
      color: #FFFDFD;
      font-size: 18px;
  }
  /* Navigation home icon */
  .custom-home-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    vertical-align: middle;
    margin: 0 5px;
  }
  .custom-home-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
    display: block;
  }
  /* Navigation home icon */
  .custom-home-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    vertical-align: middle;
    margin: 0 5px;
  }
  .custom-home-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
    display: block;
  }
  /* Footer */
  footer{
    background-color: #D9D9D9;
  }
  .main-footer{
    margin: auto;
    padding: 15px 30px;
  }
  .header-footer p{
    font-size: 20px;
    margin: 0;
    color: #3E3D3F; 
    font-weight: bold;
  }
  .copyright-footer hr{
    margin: 0;
    border: 2px solid #FFFFFF;
  }
  .copyright-footer p{
    text-align: center;
    font-size: 14px;
    margin: 10px 0px 0px;
  }
  .footer-columns-wrapper {
    padding: 0 100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer-column {
    width: calc(33.333% - 20px);
    box-sizing: border-box;
  }
  .footer-column-items {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .footer-column-items > li {
    margin-bottom: 5px;
  }
  .footer-column-items a {
    display: block;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    padding: 5px 0 5px 40px;
    line-height: 1.5;
    position: relative;
  }
  .footer-column-items a::before {
    content: '>';
    position: absolute;
    left: 10px; 
    color: #666;
    font-weight: bold;
  }
  /*NEW FOOTER ABOVE COPYRIGHT*/
  .copyright-footer-column-items{
    padding: 10px;
    margin: 0;
    display: flex;
  }
  .copyright-footer-column-items a{
    color: #333;
    font-size: 18px;
    text-decoration: none;
  }
  .copyright-footer-column-items li{
    padding: 0 40px;
    border-right: 1px solid #000000;
  }
  .copyright-footer-column-items li:first-child {
    padding: 0 40px 0 0;
  }
  .copyright-footer-column-items li:last-child {
    padding: 0 0 0 40px;
    border-right: none;
  }
  @media (max-width: 992px) {
    .footer-columns-wrapper {
      flex-wrap: nowrap;
    }
  }
  .sp-footer-mobile {
    display: none;
    background-color: #FFFFFF;
    padding: 15px 10px; 
  }
  .sp-footer-mobile {
    color: #3E3D3F; 
    font-weight: bold;
    font-size: 20px;
  }
  .header-footer{
    padding: 10px;
    background-color: #D9D9D9;
  }
  .header-footer p{
    text-align: left;
    font-weight: 400;
  }
  .sp-footer-mobile .sp-footer-menu-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer-mobile-column-items > li { 
    margin-bottom: 2px; 
  }
  .footer-mobile-column-items a { 
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-weight: normal;
    color: #FFFDFD;
    text-decoration: none;
    font-size: 1rem;
    background-color: #3E3D3F;
    position: relative;
  }
  .hamburger {
    background-color: #757476;
    padding: 10px 10px 5px;
    cursor: pointer;
    border-radius: 12px;
  }
  .sp-hamburger-mode{
    padding-top: 25px;
    gap: 5px;
  }
  .hamburger .line {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #FFFFFF;
  }
  .sp-mobile-menu {
    display: none;
    position: fixed;
    width: 94%;
    top: 5rem;
    left: 18px;
    background-color: lightblue;
    z-index: 1000;
  }
  .sp-mobile-menu a {
    display: block;
    text-align: center;
    padding: 10px 0;
  }
  .sp-mobile-menu a:hover {
      background-color: lightcoral;
  }
  /**Modal Logout**/
  .modal {
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    /* Flexbox for perfect centering */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Modal box */
  .modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    min-width: 450px;
    width: 25%;
  }  
  .modal button {
    width: 100%;
    padding: 6px 14px;
    margin: 8px;
    border: 1px solid #999;
    background: white;
    cursor: pointer;
    border-radius: 4px;
  }
  .modal button:hover {
      background: #f0f0f0;
  }
 /* LOGIN PAGE*/
  main > h1 {
    display: none;
  }
  .login-container{
    /* width: 1440px; */
    padding: 50px 140px 20px;
    margin: 0 auto;
  }
  .login-header{
    display: flex;
    padding-bottom: 10px;
  }
  .header-left h2{
    font-size: 20px;
    padding-right: 40px;
  }
  .header-left, .um-field-label{
    width: 30%;
    text-align: right;
    padding-right: 60px;
  }
  .um-field-label label[for="username-273"], 
  .um-field-label label[for="user_password-273"], 
  .um-field-label label[for="user_password"] ,
  .um-field-label label[for="confirm_user_password"]
  {
    font-size: 16px !important;
    color: #000000;
  }
  .header-right, .um-field-area{
    width: 60%;
  }
  #um_field_273_username{
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 15px;
  }
  #um_field_273_username, #um_field_273_user_password,
  #um_field_0_user_password, #um_field_0_confirm_user_password{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #um_field_273_user_password, 
  #um_field_0_confirm_user_password
  {
    padding-top: 40px;
  }
  .um-field-label label[for="username-273"]::after,
  .um-field-label label[for="user_password-273"]::after,
  .um-field-label label[for="user_password"]::after, 
  .um-field-label label[for="confirm_user_password"]::after
  {
    content: "必須";
    color: white;
    background-color: red;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  }
  #username-273, #user_password-273, #user_password, #confirm_user_password{
    border: 1px solid #000000 !important;
    border-radius: 8px; 
  }
  #um-submit-btn {
    width: 5% !important;
    background-color: #0a89b8;
    font-weight: bold !important;
    color: white;
    font-size: 20px;
    padding: 20px 0 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
  }
  #um-submit-btn:hover {
    background-color: #07678a;
  }
  .reset-pass{
    text-align: right;
    padding-right: 100px;
  }
  .reset-pass a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  .not-yet-reg{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    background-color: #E6E2E2;
    padding: 5px;
  }
  .not-yet-reg img{
    width: 30px;
  }
  .not-yet-reg p{
    font-size: 18px;
    font-weight: bold;
    margin: 0;
  }
  .new-member{
    text-align: center;
    padding: 50px 0 30px;
  }
  .new-member a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  /*REGISTRATION FORM PART*/
  .register-container{
    padding: 50px 140px 20px;
    margin: 0 auto;
  }
  .register-header{
    display: flex;
    padding-bottom: 10px;
  }
  .register-header-left h2{
    font-size: 20px;
    padding-right: 40px;
  }
  .register-header-left{
    width: 50%;
    text-align: right;
    padding-right: 20px;
  }
  .um-field-label, .blank-pass{
    width: 30%;
    text-align: right;
    padding-right: 60px;
  }
  .sp-break {
    display: none;
  }
  .privacy-main{
    padding: 40px 130px 0px;
  }
  .privacy-notice a{
    text-decoration: none;
    color: #16018D;
  }
  #um_field_272_privacy .um-field-area{
    padding-left: 130px;
  }
  .um-field-error {
    width: 20% !important;
    max-width: 100% !important;
    line-height: 20px !important;
    flex-basis: 60%;
    margin: 1% 0 0 30% !important;
  }
  #um_field_0_username_b .um-field-error{
    width: 100% !important;
    margin: 1% 0 0 !important;
  }
  .um-field-arrow{
    display: none;
  }
  .um-field-label label[for="first_name-272"]{
    display: none;
  }
  .um-field-label label[for="user_email-272"], 
  .um-field-label label[for="user_password-272"],
  .um-field-label label[for="confirm_user_password-272"], 
  .um-field-label label[for="company_name-272"],
  .um-field-label label[for="last_name-272"], 
  .um-field-label label[for="department-272"],
  .um-field-label label[for="position-272"], 
  .um-field-label label[for="phone_number-272"],
  .um-field-label label[for="privacy-272"],
  .um-field-label label[for="industry-272"],
  .um-field-checkbox-option,
  .note-pass,
  .privacy-note-title label,
  .privacy-notice p
  {
    font-size: 16px !important;
    color: #000000 !important;
    font-weight: bold;
  }
  .register-header-right, .um-field-area, .note-pass{
    width: 60%;
  }
  /* #um_field_272_user_email, */
  #um_field_272_user_password,
  #um_field_272_company_name,
  #um_field_272_first_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_phone_number,
  #um_field_272_privacy,
  #um_field_272_industry,
  #um_field_0_user_password,
  .password-specifications
  {
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 15px;
  }
  #um_field_272_user_email,
  #um_field_272_user_password,
  #um_field_272_confirm_user_password,
  #um_field_272_company_name,
  #um_field_272_first_name,
  #um_field_272_last_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_phone_number,
  #um_field_272_privacy,
  #um_field_272_industry,
  .password-specifications
  {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #um_field_272_user_password,
  #um_field_272_confirm_user_password,
  #um_field_272_company_name,
  #um_field_272_last_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_industry,
  #um_field_272_phone_number
  {
    padding-top: 40px;
  }
  .um-field-label label[for="user_email-272"]::after, 
  .um-field-label label[for="user_password-272"]::after,
  .um-field-label label[for="confirm_user_password-272"]::after, 
  .um-field-label label[for="company_name-272"]::after,
  .um-field-label label[for="last_name-272"]::after, 
  /* .um-field-label label[for="department-272"]::after,
  .um-field-label label[for="phone_number-272"]::after, */
  .um-field-label label[for="industry-272"]::after,
  .um-field-label label[for="privacy-272"]::after,
  .privacy-note-title label::after
  {
    content: "必須";
    color: white;
    background-color: red;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  }
  /* .um-field-label label[for="position-272"]::after
  {
    content: "   ";
    background-color: none;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  } */
  #user_email-272,
  #user_password-272,
  #confirm_user_password-272,
  #company_name-272,
  #last_name-272,
  #first_name-272,
  #department-272,
  #position-272,
  #phone_number-272,
  .select2-selection,
  .content-textarea .privacy_info textarea
  {
    border: 1px solid #000000 !important;
    border-radius: 8px; 
  }
  .um-field .select2.select2-container .select2-selection
  {
    border: 1px solid #000000 !important;
    border-radius: 8px !important; 
  }
  .select2.select2-container .select2-selection
  {
    border: 1px solid #000000 !important;
    border-radius: 8px !important; 
    height: 40px;
    padding-left: 10px;
  }
  /*RESET PASSWORD PAGE*/
  .reset-container{
    padding: 50px 140px 20px;
    margin: 0 auto;
  }
  .reset-content{
    padding-top: 20px;
  }
  .cancel-reset{
    text-align: right;
    padding-bottom: 70px;
  }
  .cancel-reset a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  .um-um_password_id.um {
    max-width: 80% !important;
  }
  .um-field-label:has(> label[for="username_b"]) {
    width: 100%;
    text-align: left;
    overflow: hidden; 
    color: #000000;
  }
  .um-field-area:has(> #username_b) {
    width: 100%;      
    border-radius: 5px;        
  }
  .um-form-field .valid {
    border: 1px solid #000000 !important;
  }
  .um-field-label label[for="username_b"] {
    font-size: 18px !important; 
    padding-bottom: 20px;
  }
  .um-field-block div{
    font-size: 20px;
    font-weight: normal;
    color: #000000;
    padding-bottom: 10px;
  }
  .um-field-block h2{
    font-size: 32px;
    padding-bottom: 30px;
  }
}
@media (min-width: 769px) and (max-width:1439px){
  .page-wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  main{
    flex-grow: 1;
  }
  .align-img-logo{
    width: 50%;
    display: flex;
    align-items: center;
  }
  /* .align-img-logo img{
    padding: 0 10px 0 0;
    width: 10%;
  }
   */
   body{
      margin: 0;
  }
  /* Header */
  header{
      background-color: #D9D9D999;
  }
  /* Search Bar Custom Styles */
  .align-search-button{
      margin: auto;
      display: flex;
      justify-content: right;
      padding: 20px 30px 0px;
  }
  .search-container-custom {
      display: flex;
      border-radius: 5px;
  }
  .search-input-wrapper-custom {
      position: relative;
      display: flex;
      align-items: center;
      background-color: #fff;
      border-radius: 8px 0px 0px 8px;
      overflow: hidden;
  }
  .search-input-custom {
      border: none;
      padding: 0px 10px;
      font-size: clamp(0.875rem, 0.5893rem + 0.5952vw, 1.125rem);
      outline: none;
      width: 250px;
      color: #333;
      box-sizing: border-box;
  }
  .search-input-custom::placeholder {
      color: black;
  }
  .search-input-custom:focus + .placeholder-text-custom,
  .search-input-custom:not(:placeholder-shown) + .placeholder-text-custom {
      opacity: 0;
  }
  .search-button-custom {
      background-color: #3E3D3F;
      border: none;
      padding: 8px 10px;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 0px 8px 8px 0px;
      margin-left: -1px;
  }
  .search-icon-custom {
      width: 20px;
      height: 20px;
      fill: #fff;
  }
  /* Logo & buttons */
  .align-logo-buttons{
      margin: auto;
      padding: 0px 30px;
  }
    .upper-logo p {
        padding-left: 100px;
        margin: -15px 0px -5px;
    }
    .align-img-logo img{
    margin-top: -20px;
    padding: 0 10px 0 0;
    width: 105px;
  }
  .lower-logo{
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  .two-buttons{
      display: flex;
      gap: 30px;
      padding-right: clamp(1.875rem, 3.2143rem + -1.4881vw, 2.5rem);
  }
  .two-buttons button{
      font-size: clamp(0.875rem, 0.7321rem + 0.2976vw, 1rem);
      background-color: #B85151;
      color: #FFFFFF;
      border: none;
      padding: 8px 25px;
  }
  .sp-hamburger-mode, .hide{
      display: none;
  }
  /* Navigation */
  .main-header-only{
      background-color: #3E3D3F;
  }
  .main-header-menu{
      margin: auto;
      background-color: #3E3D3F;
  }
  .menu{
      display: flex;
      align-items: center;
      justify-content: space-around;
      margin: 0;
      padding: 5px 0px 10px;
  }
  nav ul li{
      list-style-type: none;
  }
  nav ul li a{
      text-decoration: none;
      color: #FFFDFD;
      font-size: clamp(0.875rem, 0.5893rem + 0.5952vw, 1.125rem);
  }
  /* Navigation home icon */
  .custom-home-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    vertical-align: middle;
    margin: 0 5px;
  }
  .custom-home-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
    display: block;
  }
  /* Navigation home icon */
  .custom-home-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    vertical-align: middle;
    margin: 0 5px;
  }
  .custom-home-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
    display: block;
  }
  /* Footer */
  footer{
    background-color: #D9D9D9;
  }
  .main-footer{
    margin: auto;
    padding: 15px 30px;
  }
  .header-footer p{
    font-size: 20px;
    margin: 0;
    color: #3E3D3F; 
    font-weight: bold;
  }
  .copyright-footer hr{
    margin: 0;
    border: 2px solid #FFFFFF;
  }
  .copyright-footer p{
    text-align: center;
    font-size: 14px;
    margin: 10px 0px 0px;
  }
  .footer-columns-wrapper {
    padding: 0 ;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  .footer-column {
    width: calc(33.333% - 20px);
    box-sizing: border-box;
  }
  .footer-column-items {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .footer-column-items > li {
    margin-bottom: 5px;
  }
  .footer-column-items a {
    display: block;
    color: #333;
    font-size: clamp(0.875rem, 0.5893rem + 0.5952vw, 1.125rem);
    text-decoration: none;
    padding: 5px 0 5px 40px;
    line-height: 1.5;
    position: relative;
  }
  .footer-column-items a::before {
    content: '>';
    position: absolute;
    left: 10px; 
    color: #666;
    font-weight: bold;
  }
  /*NEW FOOTER ABOVE COPYRIGHT*/
  .copyright-footer-column-items a{
    font-size: clamp(0.875rem, 0.5893rem + 0.5952vw, 1.125rem);
  }
  .copyright-footer-column-items li{
    padding: 0 30px;
    border-right: 1px solid #000000;
  }
  .copyright-footer-column-items li:first-child {
    padding: 0 30px 0 0;
  }
  .copyright-footer-column-items li:last-child {
    padding: 0 0 0 30px;
    border-right: none;
  }
  @media (max-width: 992px) {
      .footer-column {
          width: calc(50% - 20px);
      }
  }
  .sp-footer-mobile {
    display: none;
    background-color: #FFFFFF;
    padding: 15px 10px; 
  }
  .sp-footer-mobile {
    color: #3E3D3F; 
    font-weight: bold;
    font-size: 20px;
  }
  .header-footer{
    padding: 10px;
    background-color: #D9D9D9;
  }
  .header-footer p{
    text-align: left;
    font-weight: 400;
  }
  .sp-footer-mobile .sp-footer-menu-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer-mobile-column-items > li { 
    margin-bottom: 2px; 
  }
  .footer-mobile-column-items a { 
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #FFFDFD;
    font-weight: normal;
    text-decoration: none;
    font-size: 1rem;
    background-color: #3E3D3F;
    position: relative;
  }
  .sp-hamburger-mode{
    padding-top: 25px;
    gap: 5px;
  }
  .hamburger .line {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #FFFFFF;
  }
  .sp-mobile-menu {
    display: none;
    position: fixed;
    width: 94%;
    top: 5rem;
    left: 18px;
    background-color: lightblue;
    z-index: 1000;
  }
  .sp-mobile-menu a {
    display: block;
    text-align: center;
    padding: 10px 0;
  }
  .sp-mobile-menu a:hover {
      background-color: lightcoral;
  }
  /* LOGIN PAGE*/
  main > h1 {
    display: none;
  }
  .login-container{
    padding: 50px 50px 20px;
    margin: 0 auto;
  }
  .login-header{
    display: flex;
    padding-bottom: 10px;
  }
  .header-left h2{
    font-size: 20px;
    padding-right: 40px;
  }
  .header-left, .um-field-label{
    width: 35%;
    text-align: right;
    padding-right: 60px;
  }
  .um-field-label label[for="username-273"], 
  .um-field-label label[for="user_password-273"] 
  {
    font-size: 16px !important;
    color: #000000;
  }
  .header-right, .um-field-area{
    width: 50%;
  }
  #um_field_273_username{
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 15px;
  }
  #um_field_273_username, #um_field_273_user_password{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #um_field_273_user_password{
    padding-top: 40px;
  }
  .um-field-label label[for="username-273"]::after,
  .um-field-label label[for="user_password-273"]::after {
    content: " 必須";
    color: white;
    background-color: red;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  }
  #username-273, #user_password-273{
    border: 1px solid #000000 !important;
    border-radius: 8px; 
  }
  #um-submit-btn {
    width: 5% !important;
    background-color: #0a89b8;
    font-weight: bold !important;
    color: white;
    font-size: 20px;
    padding: 20px 0 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
  }
  #um-submit-btn:hover {
    background-color: #07678a;
  }
  .reset-pass{
    text-align: right;
    padding-right: clamp(6.25rem, 6.25rem + 0vw, 6.25rem);
  }
  .reset-pass a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  .not-yet-reg{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    background-color: #E6E2E2;
    padding: 5px;
  }
  .not-yet-reg img{
    width: 30px;
  }
  .not-yet-reg p{
    font-size: 18px;
    font-weight: bold;
    margin: 0;
  }
  .new-member{
    text-align: center;
    padding: 50px 0 30px;
  }
  .new-member a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
   /*REGISTRATION FORM PART*/
  .register-container{
    padding: 50px 50px 20px;
    margin: 0 auto;
  }
  .register-header{
    display: flex;
    padding-bottom: 10px;
  }
  .register-header-left h2{
    font-size: 20px;
    padding-right: 40px;
  }
  .register-header-left{
    width: 50%;
    text-align: right;
    padding-right: 20px;
  }
  @media (max-width:970px){
    .register-header-left{
      width: 80%;
      text-align: right;
      padding-right: 20px;
    }
  }
  .um-field-label, .blank-pass{
    width: 35%;
    text-align: right;
    padding-right: 60px;
  }
  .sp-break {
    display: none;
  }
  .privacy-main{
    padding: 40px 50px 0px;
  }
  .privacy-notice a{
    text-decoration: none;
    color: #16018D;
  }
  #um_field_272_privacy .um-field-area{
    padding-left: 50px;
  }
  .um-field-error {
    width: 25% !important;
    max-width: 100% !important;
    line-height: 20px !important;
    flex-basis: 50%;
    margin: 1% 0 0 35% !important;
  }
  #um_field_0_username_b .um-field-error{
    width: 100% !important;
    margin: 1% 0 0 !important;
  }
  .um-field-arrow{
    display: none;
  }
  .um-field-label label[for="first_name-272"]{
    display: none;
  }
  .um-field-label label[for="user_email-272"], 
  .um-field-label label[for="user_password-272"],
  .um-field-label label[for="confirm_user_pass-272"], 
  .um-field-label label[for="company_name-272"],
  .um-field-label label[for="last_name-272"], 
  .um-field-label label[for="department-272"],
  .um-field-label label[for="position-272"], 
  .um-field-label label[for="phone_number-272"],
  .um-field-label label[for="privacy-272"],
  .um-field-label label[for="industry-272"],
  .um-field-checkbox-option,
  .note-pass,
  .privacy-note-title label,
  .privacy-notice p
  {
    font-size: 16px !important;
    color: #000000 !important;
    font-weight: bold;
  }
  .register-header-right, .um-field-area, .note-pass{
    width: 50%;
  }
  /* #um_field_272_user_email, */
  #um_field_272_confirm_user_pass,
  #um_field_272_company_name,
  #um_field_272_first_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_phone_number,
  #um_field_272_privacy,
  #um_field_272_industry,
  #um_field_0_user_password
  {
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 15px;
  }
  #um_field_272_user_email,
  #um_field_272_user_password,
  #um_field_272_confirm_user_pass,
  #um_field_272_company_name,
  #um_field_272_first_name,
  #um_field_272_last_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_phone_number,
  #um_field_272_privacy,
  #um_field_272_industry,
  .password-specifications
  {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #um_field_272_user_password,
  #um_field_272_company_name,
  #um_field_272_last_name,
  #um_field_272_department,
  #um_field_272_position,
   #um_field_272_industry,
  #um_field_272_phone_number
  {
    padding-top: 40px;
  }
  .um-field-label label[for="user_email-272"]::after, 
  .um-field-label label[for="user_password-272"]::after,
  .um-field-label label[for="confirm_user_pass-272"]::after, 
  .um-field-label label[for="company_name-272"]::after,
  .um-field-label label[for="last_name-272"]::after, 
  /* .um-field-label label[for="department-272"]::after,
  .um-field-label label[for="phone_number-272"]::after, */
  .um-field-label label[for="industry-272"]::after,
  .um-field-label label[for="privacy-272"]::after
  {
    content: "必須";
    color: white;
    background-color: red;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  }
  /* .um-field-label label[for="position-272"]::after
  {
    content: "   ";
    background-color: none;
    padding: 2px;
    margin-left: 5px;
    border-radius: 8px;
    font-weight: bold;
  } */
  #user_email-272,
  #user_password-272,
  #confirm_user_pass-272,
  #company_name-272,
  #last_name-272,
  #first_name-272,
  #department-272,
  #position-272,
  #phone_number-272,
  .content-textarea .privacy_info textarea
  {
    border: 1px solid #000000 !important;
    border-radius: 8px; 
  }
  .select2.select2-container .select2-selection
  {
    border: 1px solid #000000 !important;
    border-radius: 8px !important; 
    height: 40px;
    padding-left: 10px;
  }
   /*RESET PASSWORD PAGE*/
  .reset-container{
    padding: 50px 50px 20px;
    margin: 0 auto;
  }
  .reset-content{
    padding-top: 20px;
  }
  .cancel-reset{
    text-align: right;
    padding-bottom: 70px;
  }
  .cancel-reset a{
    text-decoration: none;
    color: #128369;
    font-size: 18px;
    font-weight: bold;
  }
  .um-um_password_id.um {
    max-width: 100% !important;
  }
  .um-field-label:has(> label[for="username_b"]) {
    width: 100%;
    text-align: left;
    overflow: hidden; 
    color: #000000;
  }
  .um-field-area:has(> #username_b) {
    width: 100%;      
    border-radius: 5px;        
  }
  .um-form-field .valid {
    border: 1px solid #000000 !important;
  }
  .um-field-label label[for="username_b"] {
    font-size: 18px !important; 
    padding-bottom: 20px;
  }
  .um-field-block div{
    font-size: 20px;
    font-weight: normal;
    color: #000000;
    padding-bottom: 10px;
  }
  .um-field-block h2{
    font-size: 32px;
    padding-bottom: 30px;
  }
  /* Modal box */
  .modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    min-width: 450px;
    width: 25%;
  }  
  .modal button {
    width: 100%;
    padding: 6px 14px;
    margin: 8px;
    border: 1px solid #999;
    background: white;
    cursor: pointer;
    border-radius: 4px;
  }
  .modal button:hover {
      background: #f0f0f0;
  }
}
@media (min-width: 320px) and (max-width: 768px) {
  .page-wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  main{
    flex-grow: 1;
  }
  .align-img-logo img{
    display: none;
  }
  .header-right{
    display: none;
  }
  .no-pr h2{
    padding-right: 0px;
  }
  .menu-item-home{
    display: none;
  }
  #menu-item-322{
    display: block;
  }
  .pt-home{
    padding-top:5px;
  }
   /* Search input */
    .search-container {
        position: relative;
        margin: 40px auto 0;
        width: 90%;
        height: 40px;
        border: 1px solid black;
        border-radius: 12px;
        display: flex;
        align-items: center;
        padding: 0 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        background-color: white;
    }
    .search-icon {
        width: 30px;
        height: 30px;
        color: black;
        flex-shrink: 0;
    }
    .search-input {
        flex-grow: 1;
        border: none;
        outline: none;
        font-size: 12px;
        padding: 0;
        background: transparent;
    }
    .search-input::placeholder {
        color: black;
    }
  .main-header-only, .two-buttons button, .align-search-button{
    display: none;
  }
  .upper-logo p{
    display: none;
  }
  .lower-logo h1{
    font-family: 'Kozuka Gothic Pr6N', sans-serif;
    font-size: clamp(0.75rem, 0.2692rem + 2.5641vw, 1.5rem);
  }
  .align-logo-buttons{
    width: auto;
    margin: 0;
    padding: 40px 0px 0px 0px;
  }
  .sp-header-align{
    display: flex;
    justify-content: space-between;
    padding: 10px;
  }
  .sp-mobile-menu {
    position: static;
    width: auto;
    background: none;
  }
  .header-footer p{
   font-size: clamp(0.75rem, 0.4295rem + 1.7094vw, 1.25rem);
    margin: 0;
    color: #3E3D3F; 
    padding-left:10px;
  }
  .hamburger {
    display: block;
  }
  .sp-mobile-menu.hide {
    display: none;
  }
  .sp-mobile-menu:not(.hide) {
    display: block;
  }
  .sp-hamburger-mode {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .my-page-button button{
    color: #FFFFFF;
    font-size:14px;
    font-weight: bold;
    background-color: #B85151;
    border: none;
    border-radius: 12px;
    padding: 9px 10px;
  }
  @media(max-width:340px){
    .my-page-button button{
    color: #FFFFFF;
    font-size:12px;
    font-weight: bold;
    background-color: #B85151;
    border: none;
    border-radius: 12px;
    padding: 11px 10px;
  }
  }
  @media(max-width:325px){
    .my-page-button button{
    color: #FFFFFF;
    font-size:12px;
    font-weight: bold;
    background-color: #B85151;
    border: none;
    border-radius: 12px;
    padding: 11px 10px;
  }
  

  }
  .search-button button{
    background-color: #3E3D3F;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 7px 12px;
     border: none;
  }
  .sp-mobile-menu ul{
    display: flex;
    flex-direction: column;
  }
  .sp-mobile-menu ul li{
    width: 100%;
    list-style-type: none;
    border-bottom: 2px solid #D9D9D9;
  }
  .sp-mobile-menu ul li a{
    display: flex;
    justify-content: space-between;
    color: black;
    font-weight: bold;
    padding: 10px 15px;
    text-decoration: none;
  }
  .custom-home-icon-wrapper {
    background-color: transparent;
  }
  .custom-home-icon {
    margin-left: -20px;
  }
  li.page-item-8{
    display: none ;
  }
  /* .menu-item-home{
    display: none;
  } */
  .modified-home-menu{
    margin: 0;
    padding: 0;
  }
  .align-menu-arrow{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  /* height of menu top-bottom */
  .mobile-menu-content{
      height: 100vh;
  }
  /* Footer SP Upper Navigation */
  /* .footer-mobile-column-items a { 
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 10px 20px;
    color: #FFFDFD;
    text-decoration: none;
   font-size: clamp(0.625rem, 0.4464rem + 0.8929vw, 0.875rem);
    background-color: #3E3D3F; 
    position: relative; 
  }
  .footer-mobile-column-items a::before {
    content: '>';
    margin-right: 10px;
    font-weight: bold;
    color: #FFFDFD;
  } */
  .main-footer {
    display: none;
  }
  .sp-footer-mobile {
    display: block;
    padding: 10px 0px;
  }
    .sp-footer-mobile .header-footer {
    text-align: center;
    margin-bottom: 0;
  }
  .footer-column {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
  .footer-columns-wrapper {
    justify-content: center;
  }
  .footer-mobile-column-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #3E3D3F;
  }
  .footer-mobile-column-items > li {
    margin-bottom: 0;
    box-sizing: border-box;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
  }
  .footer-mobile-column-items a {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-left: 10px;
    font-weight: normal;
    color: #FFFDFD !important;
    text-decoration: none;
    font-size: clamp(0.625rem, 0.4464rem + 0.8929vw, 0.875rem);
    position: relative;
    background-color: #3E3D3F;
  }
  .footer-mobile-column-items a::before {
    content: '>';
    font-weight: bold;
    color: #FFFDFD;
    position: absolute;
    left: 0px;
    margin-right: 10px;
  }
  .footer-mobile-column-items > li:nth-child(2),
  .footer-mobile-column-items > li:nth-child(4){
    border-right: none;
  }
  .footer-mobile-column-items > li:nth-child(4),
  .footer-mobile-column-items > li:nth-child(5) {
    background-color: #3E3D3F;
  }
  .footer-mobile-column-items > li:nth-child(4) a,
  .footer-mobile-column-items > li:nth-child(5) a {
    background-color: transparent;
    color: #FFFFFF;
  }
  .footer-mobile-column-items > li:nth-child(4) a::before,
  .footer-mobile-column-items > li:nth-child(5) a::before {
    color: #FFFFFF;
  }
  .footer-mobile-column-items> li:nth-child(5) {
    border-bottom: none;
  }
  /* Footer SP Lower Navigation */
  .footer-navigation-lower{
    margin-bottom: 10px;
  }
  .footer-mobile-column-items-lower{
    display: flex;
    margin: 0;
    background-color: #D9D9D9;
    border-bottom: 1px solid #000000;
    padding: 5px 30px;
  }
  .footer-mobile-column-items-lower ul{
    margin: 10px;
  }
  .footer-mobile-column-items-lower a{
    font-weight: normal;
    color: #000000;
    font-size: clamp(0.625rem, 0.4464rem + 0.8929vw, 0.875rem);
  }
  .footer-mobile-column-items-lower li {
    position: relative;
    padding: 0 clamp(0.625rem, -0.2679rem + 4.4643vw, 1.875rem);
  }
  .footer-mobile-column-items-lower li::after {
    content: "";
    position: absolute;
    top: 25%; 
    right: 0;
    height: 50%;
    border-right: 1px solid #000000;
  }
  .footer-mobile-column-items-lower li:last-child::after {
    display: none;
  }
  .footer-mobile-column-items-lower li:first-child {
    padding: 0 clamp(0.625rem, -0.2679rem + 4.4643vw, 1.875rem) 0 0;
  }
  /* Footer SP copyright */
  .copyright-footer-mobile{
    background-color: #FFFFFF;
  }
  .copyright-footer-mobile hr {
    width: 80%;
    margin: auto;
    border: 1px solid #000000;
  }
  .copyright-footer-mobile p {
    text-align: center;
    font-size: clamp(0.5rem, 0.2596rem + 1.2821vw, 0.875rem);
    margin: 10px 0px 0px;
  }
  /*LOGIN PART*/
  .login-container{
    padding: 30px 20px 20px;
    margin: 0 auto;
  }
  .header-left, .um-field-label{
    width: 100%;
    text-align: left;
    padding-right: 0px;
  }
  #um_field_273_username, #um_field_273_user_password{
    display: flex;
    flex-direction: column;
  }
  .um-field-area{
    width: 100%;
  }
  #um_field_273_username{
    padding-bottom: 20px;
  }
  #um_field_273_user_password{
    padding-top: 30px;
  }
  #um-submit-btn {
    width: 5% !important;
    font-size: clamp(0.875rem, 0.6071rem + 1.3393vw, 1.25rem);
    padding: 15px 0 !important;
  }
  .reset-pass{
    text-align: right;
    padding-right: 0;
  }
  .new-member{
    text-align: center;
    padding: 40px 0 0;
  }
  .um-field-label label[for="username-273"], 
  .um-field-label label[for="user_password-273"] 
  {
    font-size: clamp(0.75rem, 0.5714rem + 0.8929vw, 1rem) !important;
    color: #000000;
  }
  .reset-pass a, .not-yet-reg p, .new-member a{
    font-size: clamp(0.75rem, 0.4821rem + 1.3393vw, 1.125rem);
  }
  .not-yet-reg{
    align-items: center;
  }
  .not-yet-reg img{
    width: 20px;
  }
   /*REGISTRATION FORM PART*/
  .um-field-error {
    width: 100% !important;
    margin: 12px 0 0 0 !important;
  }
  .um-field-arrow{
    display: block;
  }
  .register-container{
    padding: 30px 20px 20px;
    margin: 0 auto;
  }
  .register-header, .register-header-left{
    width: 100%;
    text-align: left;
    padding-right: 0px;
  }
  .privacy-main{
    padding: 40px 0px 0px;
  }
  .privacy-notice a{
    text-decoration: none;
    color: #16018D;
  }
  #um_field_272_privacy .um-field-area{
    padding-left: 0px;
  }
  .um-field-label label[for="first_name-272"]{
    display: none;
  }
  #um_field_272_user_email,
  #um_field_272_user_password,
  #um_field_272_confirm_user_password,
  #um_field_272_company_name,
  #um_field_272_first_name,
  #um_field_272_last_name,
  #um_field_272_department,
  #um_field_272_position,
  #um_field_272_phone_number,
  #um_field_272_privacy,
  #um_field_272_industry,
  .password-specifications,
  #um_field_0_user_password,
  #um_field_0_confirm_user_password
  {
    display: flex;
    flex-direction: column;
  }
  .blank-pass,.register-header-right, .blank-space, .um-field-label label[for="first_name-272"]{
    display: none;
  }
  .note-pass{
    width: 100%;
  }
  .sp-break{
    display: block;
  }
  .um-field-label label[for="user_email-272"], 
  .um-field-label label[for="user_password-272"],
  .um-field-label label[for="confirm_user_password-272"], 
  .um-field-label label[for="company_name-272"],
  .um-field-label label[for="last_name-272"], 
  .um-field-label label[for="department-272"],
  .um-field-label label[for="position-272"], 
  .um-field-label label[for="industry-272"], 
  .um-field-label label[for="phone_number-272"],
  .um-field-label label[for="privacy-272"],
  .um-field-checkbox-option,
  .note-pass,
  .privacy-note-title label,
  .privacy-notice p
  {
    font-size: clamp(0.75rem, 0.5714rem + 0.8929vw, 1rem) !important;
    color: #000000;
    font-weight: bold;
  }
   /*RESET PASSWORD PAGE*/
  .reset-container{
    padding: 30px 20px 20px;
    margin: 0 auto;
  }
  .reset-content{
    padding-top: 20px;
  }
  .cancel-reset{
    text-align: right;
    padding-bottom: 70px;
  }
  .cancel-reset a{
    text-decoration: none;
    color: #128369;
    font-size: clamp(0.75rem, 0.4821rem + 1.3393vw, 1.125rem);
    font-weight: bold;
  }
  .um-um_password_id.um {
    max-width: 100% !important;
  }
  .um-field-label:has(> label[for="username_b"]) {
    width: 100%;
    text-align: left;
    overflow: hidden; 
    color: #000000;
  }
  .um-field-area:has(> #username_b) {
    width: 100%;      
    border-radius: 5px;        
  }
  .um-form-field .valid {
    border: 1px solid #000000 !important;
  }
  .um-field-label label[for="username_b"] {
    font-size: clamp(0.75rem, 0.4821rem + 1.3393vw, 1.125rem) !important;
    padding-bottom: 20px;
  }
  .um-field-block div{
    font-size: clamp(0.875rem, 0.6071rem + 1.3393vw, 1.25rem);
    font-weight: normal;
    color: #000000;
    padding-bottom: 10px;
  }
  .um-field-block h2{
    font-size: clamp(1.5rem, 1.1429rem + 1.7857vw, 2rem);
    padding-bottom: 30px;
  }
   /* Modal box */
  .modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    min-width: 0px;
    width: 100%;
    margin: 0 20px;
  }  
  .sp-modals{
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .modal button {
    padding: 6px 14px;
    margin: 8px;
    border: 1px solid #999;
    background: white;
    cursor: pointer;
    border-radius: 4px;
  }
  .modal button:hover {
      background: #f0f0f0;
  }
}

/**Hide default locked UM msg in all media **/
 .um-locked-content {
    display: none !important;
}

/**toogle eye for password**/
.um-toggle-pass {
    position: absolute;
    right: 10px;       
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}