/* =========================
  Header
========================= */
header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: #333;
  transition: 0.5s;
}

header a,
header button {
  color: #fff;
  font-size: 0.9rem;
}

header ul {
  display: flex;
}

header .wrapper {
  align-items: center;
  gap: 30px;
  margin-right: 30px;
}

header .search-container {
  width: 230px;
}

header .row {
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap !important;
}

header .row div {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1280px) {
  header .row {
    padding-left: 20px;
  }
}

@media (max-width: 1024px) {
  header .row {
    height: 68px;
    justify-content: space-between;
  }
}

header .container .contact {
  display: none;
}

@media (max-width: 768px) {
  header .container .contact {
    display: block;
  }
}

/* =========================
  Header scroll
========================= */
.header-scroll {
  transform: translateY(-60px);
  transition: 0.5s;
}

@media (max-width: 1024px) {
  .header-scroll {
    transform: none;
  }
}

/* =========================
  Logo
========================= */
.logo {
  display: inline-block;
  transition: 0.5s;
  padding-top: 0 !important;
}

@media (max-width: 1024px) {
  .logo {
    width: auto;
    padding-top: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .logo,.contact_header {
    display: none;
  }
}

.logo-small {
  display: none;
}

.logo-small img {
  max-width: 188px;
}

@media (max-width: 768px) {
  .logo-small {
    display: inline;
  }
}

/* =========================
  Header parts
========================= */
.freedial-logo {
  align-self: center;
}

@media (max-width: 1024px) {
  .freedial-logo {
    display: none;
  }
}

.list-center {
  padding: 0 30px;
  margin: 0 30px;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

.header-left {
  flex-wrap: nowrap;
}

@media screen and (max-width: 1700px) {
  .header-left {
    display: none;
  }
}

.header-right {
  height: 100%;
}

.header-right a,
.header-right button {
  font-size: 0.75rem;
}

.header-right li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 100%;
  padding: 5px;
  box-sizing: border-box;
  margin: 0 !important;
}

.header-right .favorite,
.header-right .menu-item {
  width: 72px;
}

.header-right li img {
  display: block;
  margin: 0 auto;
  height: 26px;
}

.header-right li.mail {
  background-color: #f05d5b;
  padding: 0px;
}

.header-right li.mail a {
  color: #fff;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  .header-right li.mail {
    display: none;
  }
}

.header-right li a {
  display: flex;
  flex-direction: column;
  color: #fff;
  row-gap: 8px;
}

@media (max-width: 1024px) {
  .header-right {
    margin: 0;
  }

  .header-right a,
  .header-right button {
    font-size: 0.6rem;
  }

  .header-right li {
    width: 74px;
  }

  .header-right li img {
    width: 24px;
    height: 24px;
  }
  .header-right .train,
  .header-right .area,
  .header-right .map {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-right li,
  .header-right .favorite,
  .header-right .menu-item {
    width: 56px;
  }
}

/* =========================
  Menu
========================= */
.menu {
  display: none;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .menu {
    background-color: inherit;
  }
}

.menu .container {
  padding: 0;
}

.menu a {
  display: block;
  padding: 20px;
  white-space: nowrap;
  transition: 0.3s;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.menu ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

@media (max-width: 1024px) {
  .menu ul {
    flex-direction: column;
  }

  .menu ul li {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid #333;
  }
}

.menu .sp-header-search {
  display: none;
}

@media (max-width: 1024px) {
  .menu .sp-header-search {
    display: block;
  }
}

.menu .sp-header-search ul {
  display: flex;
  flex-direction: row;
  padding: 0 5px;
}

.menu .sp-header-search ul li {
  margin: 0 5px;
  border-radius: 10px;
}

.menu .sp-header-search ul li a {
  display: flex;
  flex-direction: column;
  padding: 10px;
  font-size: 0.75rem;
}

.menu .sp-header-search ul li img {
  width: 32px;
  height: 32px;
  margin: 0 auto 9px;
}

.menu .sp-header-search .search-container {
  width: 95%;
  margin: 20px auto;
}

