.header-rec-login {
  background-image:
    url(../../img/common/header/transparent/rec_before.png),
    url(../../img/common/header/background/rec_before.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

.header-rec-login__inner {
  display: flex;
  justify-content: center;
  height: 136px;
  text-align: center;
  align-items: center;
}

.header-rec-login__ttl {
  width: 228px;
  height: 68px;
}

@media screen and (max-width: 767px) {
  .header-rec-login {
    position: static;
  }
}


.header-rec-common {
  background-image:
    url(../../img/common/header/transparent/rec_after.png),
    url(../../img/common/header/background/rec_after.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

.header-rec-common__inner {
  display: flex;
  justify-content: space-between;
  height: 136px;
  text-align: center;
  align-items: center;
}

.header-rec-common__ttl-main {
  margin-left: 136px;
}

.header-rec-common__ttl {
  width: 228px;
  height: 68px;
}

.header-rec-common-nav {
  width: 100%;
  max-width: 500px;
  height: 136px;
  align-content: end;
}

.header-rec-common-nav__logout {
  padding: 8px 0;
  display: flex;
  justify-content: right;
  align-items: center;
  flex-wrap: wrap;
}

.header-rec-common-nav__links {
  padding: 8px 0;
  display: flex;
  justify-content: right;
  align-items: center;
  flex-wrap: wrap;
}

.header-rec-common-nav__logout-item {
  display: flex;
  padding: 4px 24px 2px;
  text-align: center;
  align-items: center;
  color: #1A1A1A;
  border-right: 1px solid #1A1A1A;
}

.header-rec-common-nav__logout-item:last-child {
  border-right: none;
}

.header-rec-common-nav .user-name {
  font-size: 2rem;
  margin-right: 8px;
}

.header-rec-common-nav .logout {
  margin-right: 24px;
  font-size: 1.6rem;
}

.header-rec-common-nav__links-item {
  padding: 2px 16px 1px;
  text-align: center;
  color: #1A1A1A;
  font-size: 1.6rem;
}

@media screen and (max-width: 867px) {
  .header-rec-common__ttl-main {
    margin-left: 36px;
  }
}

@media screen and (max-width: 767px) {
  .header-rec-common-nav {
    position: static;
  }

  .header-rec-common-nav {
    max-width: 345px;
  }

  .header-rec-common__ttl {
    width: 182.4px;
    height: 54.4px;
  }

  .header-rec-common-nav__logout-item {
    padding: 4px 12px 2px;
  }

  .header-rec-common-nav .logout {
    margin-right: 10px;
    font-size: 1.3rem;
  }

  .header-rec-common-nav__links-item {
    padding: 2px 12px 1px;
    text-align: center;
    color: #1A1A1A;
    font-size: 1.3rem;
  }
}


.header-mod-login {
  background-image:
    url(../../img/common/header/transparent/mod_before.png),
    url(../../img/common/header/background/mod_before.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  border-bottom: 4px solid var(--primary);
}

.header-mod-login__inner {
  display: flex;
  justify-content: center;
  height: 132px;
  text-align: center;
  align-items: center;
}

.header-mod-login__ttl {
  width: 264px;
  height: 68px;
}

@media screen and (max-width: 767px) {
  .header-mod-login {
    position: static;
  }
}


.header-mod-common {
  background-image:
    url(../../img/common/header/transparent/mod_after.png),
    url(../../img/common/header/background/mod_after.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  border-bottom: 4px solid var(--primary);
}

.header-mod-common__inner {
  display: flex;
  justify-content: space-between;
  height: 92px;
  text-align: center;
  align-items: center;
}

.header-mod-common__ttl-main {
  margin-left: 136px;
}

.header-mod-common__ttl {
  width: 205px;
  height: 52px;
}

.header-mod-common-nav {
  width: 100%;
  max-width: 500px;
  align-content: center;
}

.header-mod-common-nav__logout {
  padding: 8px 0;
  display: flex;
  justify-content: right;
  align-items: center;
  flex-wrap: wrap;
}

.header-mod-common-nav__logout-item {
  display: flex;
  padding: 4px 24px 2px;
  text-align: center;
  align-items: center;
  color: #1A1A1A;
  border-right: 1px solid #1A1A1A;
}

.header-mod-common-nav__logout-item:last-child {
  border-right: none;
}

.header-mod-common-nav .user-name {
  font-size: 2rem;
  margin-right: 8px;
}

.header-mod-common-nav .logout {
  margin-right: 24px;
  font-size: 1.6rem;
}

@media screen and (max-width: 867px) {
  .header-mod-common__ttl-main {
    margin-left: 36px;
  }
}

@media screen and (max-width: 667px) {
  .header-mod-common-nav {
    position: static;
  }

  .header-mod-common-nav {
    max-width: 320px;
  }

  .header-mod-common__ttl {
    width: 164px;
    height: 41.6px;
  }

  .header-mod-common-nav__logout-item {
    padding: 4px 12px 2px;
  }

  .header-mod-common-nav .logout {
    margin-right: 10px;
    font-size: 1.3rem;
  }
}