@charset "UTF-8";

/* --- ここからヘッダー調整用CSS（HTMLに対応） --- */

body.header-fixed .navbar.fixed-top {
  top: 0;
}

.navbar.fixed-top {
  top: 70px;
 transition: top 0.3s ease;
  z-index: 1030;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.navbar-brand img {
  height: 40px;
  object-fit: contain;
}

.navbar .nav-link {
  color: #fff !important;
  font-size: 14px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar .nav-link.active {
  border-bottom: 2px solid #fff;
}

/* --- スマホ --- */
@media (max-width: 991px) {
  .navbar {
    background: transparent !important;
    box-shadow: none;
  }

  .navbar-toggler {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 8px;
  }

  .side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #212529;
    transition: left 0.3s ease;
    z-index: 1050;
    padding-top: 80px;
  }

  .side-menu.active {
    left: 0;
  }

  .overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* --- ここまでヘッダー関連 --- */

header img {
  height: 65px;
  object-fit: contain;
  display: block;
}

.fixed-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 100vh;
  background-color: #212529;
  border-right: 1px solid #444;
  z-index: 1030;
  padding-top: 20px;
}

.nav-link {
  color: #fff !important;
  font-size: 16px;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/*スマホ*/
@media (max-width: 991px) {
  .fixed-left {
    width: 100%;
    height: auto;
    position: relative;
  }

  .side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #212529;
    transition: left 0.3s ease;
    z-index: 1050;
    padding-top: 80px;
  }

  .side-menu.active {
    left: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1040;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .navbar-toggler {
    position: absolute;
    top: 15px;
    left: 15px;
  }

  .navbar .nav-link.active {
    border-left: #fff 2px solid;
    border-bottom: none !important;
  }

  .side-menu .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    flex-wrap: nowrap !important;
    white-space: normal !important;
    align-items: center !important;
  }

  .navbar-brand {
    display: none !important;
  }

  .navbar {
    background: transparent !important;
    height: auto;
    padding: 10px 0;
    margin: 0;
    border: none;
    box-shadow: none;
  }

  .navbar-toggler {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 8px;
    display: block !important;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h22M4 15h22M4 23h22'/%3E%3C/g%3E%3C/svg%3E");
  }

  .news-item {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 15px;
    text-align: left;
  }

  .navbar-brand {
    white-space: normal !important;
  }
}

.navbar .nav-link {
  font-size: 14px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar .nav-link.active {
  border-bottom: #fff 2px solid
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../font/static/NotoSansJP-Light.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

body {
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

h2.information {
  font-size: 35px;
  padding: 5px;
  text-align: center;
  letter-spacing: 10px;
  width: 100%;
}

.text-center {
  text-align: center;
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex !important;
    white-space: nowrap;
    flex-wrap: nowrap !important;
  }

  .navbar-toggler {
    display: none !important;
  }
}

.navbar-toggler {
  display: block;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/*information*/
.news-section {
  width: 90%;
  max-width: 900px;
  margin: 60px auto;
}

.news-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  letter-spacing: 3px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.news-item:hover {
  background: #efefef;
}

.news-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: #fff;
  border-radius: 4px;
  margin-right: 15px;
  flex-shrink: 0;
}

/*採用情報　色*/
.tag-recruit {
  background-color: #493f63;
}

/*お知らせ　色*/
.tag-notice {
  background-color: #6a869d;
}

.news-link {
  text-decoration: none;
  color: #222;
  font-size: 16px;
}

.news-link:hover {
  text-decoration: underline;
}