@charset "UTF-8";
/* CSS Document */
.layout {
  display: flex;
  min-height: 100vh;
}

.layout__sidebar {
  width: 240px;
  background-color: #fff;
  border-right: 1px solid #d0d0d0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.layout__logo {
  padding: 20px;
  border-bottom: 1px solid #d0d0d0;
}

.layout__logo:hover {
  opacity: 0.7;
}

.layout__toggle {
  display: none;
}

.layout__toggle--active {
  left: 240px;
}
.layout__toggle--active .layout__toggle-icon {
  transform: rotate(180deg);
}

.layout__main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.layout__inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.layout__overlay--active {
  opacity: 1;
  visibility: visible;
}

.layout__sp-logo {
  display: none;
}

.layout__hamburger {
  display: none;
}

.layout__mega {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #D70039;
  color: #fff;
  transition: right 0.3s ease;
  z-index: 40;
}

.layout__mega--active {
  right: 0;
}

.layout__close {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  color: #fff;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-radius: 0 0 0 5px;
  z-index: 30;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.layout__close-text {
  font-size: 10px;
  line-height: 1;
  margin-top: 2px;
}

@media (max-width: 1440px) {
  .layout__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    transform: translateX(-100%);
    z-index: 20;
  }
  .layout__sidebar--active {
    transform: translateX(0);
  }
  .layout__toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.3s ease, transform 0.3s ease;
    width: 40px;
    height: 60px;
    background: #fff;
    border-top: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    border-radius: 0 5px 5px 0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
  }
  .layout__toggle-icon {
    transition: 0.3s;
  }
  .layout__toggle--active {
    left: 240px;
  }
  .layout__inner {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .layout {
    padding-top: 50px;
  }
  .layout__sidebar {
    display: none;
  }
  .layout__logo {
    display: none;
  }
  .layout__toggle {
    display: none;
  }
  .layout__sp-logo {
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 6px 10px;
    z-index: 10;
    width: 240px;
    background: #fff;
    transition: opacity 0.4s ease;
  }
  .layout__sp-logo.is-hidden {
    opacity: 0;
  }
  .layout__sp-logo-link {
    display: block;
  }
  .layout__hamburger {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #303030;
    border-left: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    border-radius: 0 0 0 5px;
    z-index: 30;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .layout__hamburger-text {
    font-size: 10px;
    line-height: 1;
    margin-top: 2px;
  }
}
/* navi */
.layout__nav-link {
  display: block;
  padding: 12px 24px;
  margin: 0;
  text-align: left;
  color: #303030;
  transition: 0.2s;
}

.layout__nav-link:hover {
  background: #D70039;
  color: #fff;
}

.layout__nav-item--child .layout__nav-link {
  padding-left: 40px;
  position: relative;
}
.layout__nav-item--child .layout__nav-link::before {
  content: "└";
  position: absolute;
  left: 16px;
}

.layout__nav-item.is-active .layout__nav-link {
  background: #ffe6ee;
  color: #303030;
}

/* banner */
.layout__banner {
  padding: 16px;
}

.layout__banner-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  margin-bottom: 8px;
  background: #d0d0d0;
  color: #fff;
  transition: 0.2s;
}

.layout__banner-link:last-child {
  margin-bottom: 0;
}

.layout__banner-link--green:hover {
  background: #2e7d32;
}

.layout__banner-link--blue:hover {
  background: #1565c0;
}

@media (max-width: 768px) {
  /* mega menu */
  .layout__mega {
    display: block;
    padding: 80px 40px;
  }
  .layout__mega .layout__nav-list {
    border-top: 1px solid #fff;
  }
  .layout__mega .layout__nav-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #fff;
    position: relative;
    color: #fff;
    transition: 0.2s;
  }
  .layout__mega .layout__nav-link:hover {
    background: #fff;
    color: #D70039;
  }
  .layout__mega .layout__nav-link::after {
    font-family: "Font Awesome 6 Free";
    content: "\f054";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
  }
  .layout__mega .layout__banner {
    max-width: 240px;
    width: 100%;
    margin: 40px auto 0;
  }
  .layout__mega .layout__banner-link {
    display: block;
    padding: 12px 24px;
    margin-bottom: 12px;
    background: #fff;
    color: #D70039;
    text-align: center;
    border: 1px solid transparent;
    transition: 0.3s;
  }
  .layout__mega .layout__banner-link:hover {
    background: #D70039;
    color: #fff;
    border-color: #fff;
  }
  .layout__mega .layout__banner-link:last-child {
    margin-bottom: 0;
  }
}
/* breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
  color: #303030;
  padding: 0 10px;
}
.breadcrumb .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb .breadcrumb__item {
  display: flex;
  align-items: center;
}
.breadcrumb .breadcrumb__link {
  color: #D7003A;
  text-decoration: none;
  transition: 0.2s;
}
.breadcrumb .breadcrumb__link:hover {
  text-decoration: underline;
}
.breadcrumb .breadcrumb__separator {
  margin: 0 8px;
  color: #999;
}

/* footer */
.layout__footer {
  border-top: 1px solid #d0d0d0;
  padding: 60px 0;
  text-align: center;
}
.layout__footer .layout__footer-logo {
  margin-bottom: 24px;
}
.layout__footer .layout__footer-logo-link {
  display: inline-block;
}
.layout__footer .layout__footer-logo-link:hover {
  opacity: 0.7;
}
.layout__footer .layout__footer-logo-image {
  display: block;
  width: 300px;
  height: 47px;
}
.layout__footer .layout__footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-bottom: 24px;
}
.layout__footer .layout__footer-link {
  position: relative;
  color: #333;
  text-decoration: none;
}
.layout__footer .layout__footer-link::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #d0d0d0;
}
.layout__footer .layout__footer-link:last-child::after {
  display: none;
}
.layout__footer .layout__footer-link:hover {
  text-decoration: underline;
}
.layout__footer .layout__footer-copy {
  font-size: 12px;
  color: #999;
}

@media (max-width: 768px) {
  .layout__footer {
    border-top: none;
    padding: 0;
  }
  .layout__footer .layout__footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #f9f9f9;
  }
  .layout__footer .layout__footer-link {
    display: block;
    width: 100%;
    padding: 16px;
    border-top: 1px solid #d0d0d0;
    text-align: left;
    position: relative;
  }
  .layout__footer .layout__footer-link:last-child {
    border-bottom: 1px solid #d0d0d0;
  }
  .layout__footer .layout__footer-link::after, .layout__footer .layout__footer-link:last-child::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #D70039;
    background-color: transparent;
    display: block;
  }
}
/*pagetpp*/
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 51px;
  height: 51px;
  background: #D7003A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pagetop i {
  color: #fff;
  font-size: 24px;
  transform: rotate(-90deg);
}

.pagetop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .pagetop {
    right: 16px;
    bottom: 16px;
  }
}/*# sourceMappingURL=layout.css.map */