/* hero */
.hero {
  position: relative;
  padding-bottom: 45%;
}
.hero-mobile {
  padding-bottom: 53.3333333333%;
}
.hero .hero-swiper {
  position: absolute;
  inset: 0;
}
.hero .hero-swiper .swiper-pagination {
  --swiper-pagination-bullet-inactive-color: var(--white);
  --swiper-pagination-color: var(--white);
}
.hero .swiper-slide {
  background-color: var(--secondary);
}
.hero .swiper-slide a {
  position: relative;
  display: block;
  height: 100%;
}
.hero .swiper-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.hero .text-inner h1 {
  font-size: 28px;
  font-weight: 700;
  color: #231815;
  line-height: 1.12;
  margin-bottom: 8px;
}
.hero .text-inner p {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-green);
}
.hero .text-inner .hero-link {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  height: 32px;
  margin-top: 20px;
  padding: 0 32px;
  background-image: linear-gradient(130deg, #009844, #00a199);
  align-items: center;
  justify-content: center;
}

.login-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
  padding: 48px 28px 40px;
  border-radius: 16px;
  background-color: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.login-info p {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: -0.02em;
  line-height: 1.52;
}
.login-info .info-link {
  font-size: 14px;
  color: var(--gray-500);
}
.login-info .info-link + .info-link::before {
  content: "/";
  display: inline-block;
  color: var(--gray-300);
  margin: 0 6px 0 4px;
}

.order-link--group {
  margin-bottom: 30px;
}
.order-link--group .order-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 170px;
  padding: 0 52px 0 28px;
  border-radius: 12px;
  background-color: var(--white);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}
.order-link--group .order-link--text {
  color: var(--black);
  letter-spacing: -0.04em;
}
.order-link--group .order-link--text h4 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 12px;
}
.order-link--group .order-link--text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}
.order-link--group .order-link--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.09);
}
.order-link--group .order-link--icon img {
  height: 72px;
}

.page-link--group {
  margin-bottom: 64px;
  padding: 16px 16px;
  border-radius: 10px;
  background-color: #e9e9e9;
}
.page-link--group a {
  display: block;
  padding: 12px 4px;
}
.page-link--group a .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}
.page-link--group a .icon img {
  max-width: 64px;
  max-height: 64px;
}
.page-link--group a span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-800);
  text-align: center;
  letter-spacing: -0.02em;
}

.news-group h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.news-group--items li {
  font-size: 15px;
  margin-bottom: 10px;
}
.news-group--items li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 24px;
  border: 1px solid #ced4da;
  border-radius: 12px;
}
.news-group--items li a:hover {
  border-color: var(--gray-500);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.news-group--items li a .subject {
  flex: 0 0 calc(100% - 160px);
  font-size: 14px;
  color: #9d9d9d;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.news-group--items li a .date {
  font-size: 14px;
  color: var(--gray-300);
}
.news-group--items li a .badge {
  --bs-badge-padding-x: 5px;
  background-color: var(--primary-green);
  vertical-align: 1px;
}

#mainMenu {
  padding: 16px;
  background-color: var(--white);
}

/* contents */
.contents {
  position: relative;
  padding-top: 24px;
  padding-bottom: 16px;
  z-index: 20;
}

/* content swiper */
.content-swiper {
  --swiper-pagination-color: var(--primary-green);
}
.content-swiper .swiper-slide {
  padding-bottom: 40px;
}
.content-swiper .swiper-pagination {
  bottom: 0;
}

/* mymenu */
.mymenu {
  padding-top: 16px;
}
.mymenu .tip .button-tooltip {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  color: #b4b4b5;
  letter-spacing: -0.03em;
  padding: 2px 2px 2px 18px;
  border: 0;
  background-image: url(../images/tooltip_icon.svg);
  background-size: 13px 13px;
  background-position: left center;
  background-repeat: no-repeat;
  background-color: transparent;
}
.mymenu .tip .button-tooltip::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 18px;
  right: 2px;
  height: 2px;
  background-color: #b4b4b5;
}
.mymenu .menu-items .menu-item {
  text-align: center;
}
.mymenu .menu-items .menu-item a {
  display: block;
}
.mymenu .menu-items .menu-item .icon {
  position: relative;
  height: 52px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mymenu .menu-items .menu-item .icon img {
  display: block;
  max-width: 40px;
  max-height: 40px;
  user-select: none;
}
.mymenu .menu-items .menu-item .icon.add-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  right: 6px;
  bottom: 0;
  max-width: 48px;
  margin: auto;
  border: 1px dashed #adb5bd;
  border-radius: 12px;
}
.mymenu .menu-items .menu-item .icon.add-item i {
  font-size: 28px;
  color: var(--primary-green);
}
.mymenu .menu-items .menu-item p {
  font-size: 12px;
  font-weight: 600;
  color: #3e3a39;
  letter-spacing: -0.01em;
}
.mymenu .button-toggle {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  height: 20px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background-color: #5caa94;
  outline: 0;
}
.mymenu .button-toggle:active {
  background-color: #519b86;
}
.mymenu .button-toggle::before, .mymenu .button-toggle::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  border: 6px solid transparent;
  border-top-color: #5caa94;
  transform: translateY(-4px);
}
.mymenu .button-toggle::before {
  left: -18px;
}
.mymenu .button-toggle::after {
  right: -18px;
}
.mymenu-top {
  margin-bottom: 24px;
}
.mymenu-top a {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  min-height: 100px;
  padding: 12px;
  text-align: left;
  flex-direction: column;
  border-radius: 12px;
  background-color: var(--white);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.08);
  background-position: bottom 6px right 6px;
  background-repeat: no-repeat;
}
.mymenu-top a h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.mymenu-top a p {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: -0.02em;
  line-height: 1.48;
}
.mymenu-top a.menu-order {
  background-image: url(../images/main_icon_product.png);
  background-size: 28px auto;
}
.mymenu-top a.menu-stock {
  background-image: url(../images/main_icon_stock.png);
  background-size: 36px auto;
}
.mymenu-top a.menu-status {
  background-image: url(../images/main_icon_status.png);
  background-size: 36px auto;
}
.mymenu-bottom .menu-item {
  position: relative;
  padding: 10px 0;
  text-align: center;
}
.mymenu-bottom .menu-item a {
  display: block;
}
.mymenu-bottom .menu-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: auto auto 4px;
}
.mymenu-bottom .menu-item .icon img {
  max-width: 42px;
  max-height: 42px;
}
.mymenu-bottom .menu-item .icon .icon-badge {
  position: absolute;
  top: 10px;
  left: calc(50% + 4px);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  padding: 3px 6px;
  border-radius: 12px;
  background-color: #e03131;
  z-index: 5;
}
.mymenu-bottom .menu-item p {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-800);
  letter-spacing: -0.02em;
}
.mymenu-bottom .menu-item.pns-menu p {
  font-weight: 700;
  color: #1bac82;
}
.mymenu-bottom.is-editing .menu-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  bottom: 0;
  right: 0;
  border: 1px dashed #ced4da;
  pointer-events: none;
  animation: icon-edit 1s linear infinite;
}

@keyframes icon-edit {
  0% {
    border-color: #ced4da;
  }
  50% {
    border-color: var(--secondary-green);
  }
  100% {
    border-color: #ced4da;
  }
}
/* news clipping */
.news-clipping {
  margin-top: 28px;
}
.news-clipping a {
  display: block;
  height: 160px;
}
.news-clipping a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* dashboard group */
.dashboard-group + .dashboard-group {
  margin-top: 24px;
}
.dashboard-group .group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dashboard-group .group-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.02em;
}
.dashboard-group .group-header h4 small {
  font-size: 75%;
  font-weight: 500;
  color: var(--gray-400);
}
.dashboard-group .group-header h4 .icon {
  display: none;
  margin-right: 4px;
  width: 28px;
  height: 28px;
  font-size: 15px;
  color: var(--white);
  line-height: 1;
  border-radius: 50%;
  background-color: var(--secondary-green);
}
.dashboard-group .group-header h4 .icon.complete {
  background-color: var(--primary-blue);
}
.dashboard-group .group-header .button-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
}

/* dashboard card */
.dashboard-card {
  border-radius: 12px;
  background-color: var(--white);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
}
.dashboard-card.delivery-card {
  padding: 12px 8px;
}
.dashboard-card.delivery-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.dashboard-card.delivery-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 14px;
  line-height: 1;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: middle;
}
.dashboard-card.delivery-card strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}
.dashboard-card.delivery-card.card-01 .icon {
  color: #f59f00;
  background-color: #fff9db;
}
.dashboard-card.delivery-card.card-02 .icon {
  color: #4263eb;
  background-color: #edf2ff;
}
.dashboard-card.delivery-card.card-03 .icon {
  color: var(--primary-green);
  background-color: var(--bg-green);
}
.dashboard-card.request-card {
  padding: 16px 12px;
}
.dashboard-card.request-card .card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-card.request-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
}
.dashboard-card.request-card strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}
.dashboard-card.request-card.estimate .icon {
  color: #f59f00;
  background-color: #fff9db;
}
.dashboard-card.request-card.product .icon {
  color: #4263eb;
  background-color: #edf2ff;
}
.dashboard-card.purchase-card {
  cursor: default;
}
.dashboard-card.purchase-card .header {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background-color: var(--secondary-green);
}
.dashboard-card.purchase-card .header .column {
  width: 33.333334%;
  flex: 0 0 33.333334%;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  padding: 8px;
}
.dashboard-card.purchase-card .header .column:nth-child(1) {
  text-align: left;
  padding-left: 28px;
}
.dashboard-card.purchase-card .card-content {
  padding: 22px 18px;
}
.dashboard-card.purchase-card .amount-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
  background-color: #f8f9fa;
}
.dashboard-card.purchase-card .amount-group + .amount-group {
  margin-top: 10px;
}
.dashboard-card.purchase-card .amount-group > div {
  width: 33.333334%;
  flex: 0 0 33.333334%;
  font-size: 14px;
  font-weight: 500;
  padding: 8px;
}
.dashboard-card.purchase-card .amount-group .title {
  padding-left: 20px;
}
.dashboard-card.purchase-card .amount-group .amount {
  font-weight: 700;
  color: var(--gray-600);
  text-align: right;
}
.dashboard-card.purchase-card .amount-group .amount-2 {
  font-weight: 700;
  color: var(--gray-600);
  text-align: center;
}
.dashboard-card.purchase-card .amount-group .amount:nth-child(3) {
  color: var(--gray-800);
}
.dashboard-card.purchase-card .amount-group.total {
  background-color: var(--bg-green);
}
.dashboard-card.purchase-card .amount-group.total .title,
.dashboard-card.purchase-card .amount-group.total .amount {
  color: var(--primary-green);
}

/* news list */
.news-list > li {
  border-radius: 12px;
  background-color: var(--white);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 8px;
  border-radius: 10px;
}
.news-list > li > a {
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: -0.02em;
  padding: 12px 28px 12px 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.news-list > li > a::after {
  content: "\f1c5";
  position: absolute;
  top: 50%;
  right: 16px;
  font-family: "bootstrap-icons";
  font-size: 12px;
  color: var(--secondary-green);
  transform: translateY(-50%);
}

#newsModal {
  --swiper-pagination-color: var(--secondary-green);
  --swiper-pagination-bullet-inactive-color: var(--white);
  --swiper-navigation-size: 36px;
  --swiper-navigation-color: var(--white);
}
#newsModal .swiper-button-next,
#newsModal .swiper-button-prev {
  width: var(--swiper-navigation-size);
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.32);
  outline: 0;
}
#newsModal .swiper-button-next::after,
#newsModal .swiper-button-prev::after {
  font-size: 15px;
}
#newsModal .swiper-pagination {
  position: static;
}

.status-summary {
  margin-bottom: 30px;
}
.status-summary .status_list {
  gap: 26px;
  grid-template-columns: repeat(5, 1fr);
}
.status-summary .status_list .status_card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  border-radius: 15px;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}
.status-summary .status_list .status_card .text_container {
  color: var(--black);
  letter-spacing: -0.04em;
}
.status-summary .status_list .status_card .text_container h5 {
  font-size: 20px;
  font-weight: 700;
}
.status-summary .status_list .status_card .text_container p {
  font-weight: 300;
}
.status-summary .status_list .status_card .skeleton-container {
  font-size: 64px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

@media (min-width: 768px) {
  .hero-swiper {
    border-radius: 12px;
    overflow: hidden;
  }
  .login-info.user {
    text-align: left;
    background-color: #16877b;
    color: var(--white);
    letter-spacing: -0.04em;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .login-info.user p {
    font-weight: 500;
    margin-bottom: 8px;
  }
  .login-info.user .user_type {
    text-align: left;
    color: #fff;
  }
  .login-info.user .name {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 16px;
  }
  .login-info.user a.button {
    background-color: #bad9d4;
    color: #16877b;
    border-radius: 16px;
    height: 32px;
    margin-top: 0.5rem;
    margin-bottom: 32px;
  }
  .login-info.user ul > li {
    text-align: center;
  }
  .login-info.user ul > li span {
    margin-bottom: 0.75rem;
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    color: #000;
    background-color: #fff;
    border-radius: 50%;
    font-size: 40px;
    line-height: 4.5rem;
  }
  .login-info.user ul > li strong {
    display: block;
    font-weight: 500;
    color: var(--white);
  }
  .shortcut-row {
    margin-bottom: 30px;
  }
  .content-swiper {
    display: none;
  }
  .purchase_in_main {
    display: none;
  }
  .css_grid_container.is_company {
    display: grid;
    gap: 82px;
    grid-template-columns: repeat(2, 1fr);
  }
  .css_grid_container.is_company .purchase_in_main {
    display: block;
  }
  .css_grid_container.is_company .purchase_in_main .group-header {
    margin-bottom: 20px;
  }
  .css_grid_container.is_company .purchase_in_main .group-header h4 {
    font-size: 20px;
    font-weight: 600;
  }
  .css_grid_container.is_company .purchase_in_main .group-header small, .css_grid_container.is_company .purchase_in_main .group-header a {
    display: none;
  }
  .css_grid_container.is_company .purchase_in_main .dashboard-card .header {
    padding: 9px 15px;
  }
  .css_grid_container.is_company .purchase_in_main .dashboard-card .header > div {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.4px;
  }
  .css_grid_container.is_company .purchase_in_main .dashboard-card .card-content .amount-group {
    padding: 4px;
  }
  .css_grid_container.is_company .purchase_in_main .dashboard-card .card-content .amount-group > div {
    font-size: 20px;
    font-weight: 400;
  }
  .css_grid_container.is_company .news-group > div {
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  .css_grid_container.is_company .news-group > div > div {
    width: 100%;
  }
  .css_grid_container.is_company .news-group > div > div > ul li:nth-child(n+4) {
    display: none;
  }
  .page-link--group .row {
    justify-content: space-around;
  }
  .page-link--group .menu-item {
    width: 60px;
  }
  .page-link--group a .icon {
    width: 100%;
    height: 80px;
    object-fit: contain;
  }
  .page-link--group p {
    font-size: 0.75rem;
    text-align: center;
    font-weight: bold;
  }
}
