
/* ========================================
   ReBITA-style Header & Hero
   ======================================== */

body.is-menu-open {
  overflow: hidden;
}

/* Header */
.nk-header {
  background: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: transform 0.3s ease;
}
/* Always visible - no scroll hide */
.nk-header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 20;
  justify-content: space-between;
}
.nk-header__logo {
  margin: 0;
  line-height: 1;
  padding-left: 20px;
  flex-shrink: 0;
}
.nk-header__logo a {
  display: block;
  text-decoration: none;
}
.nk-header__logo a:hover {
  opacity: 0.8;
}
.nk-header__logo a img {
  display: block;
  height: 44px;
  width: auto;
}

/* PC Nav */
.nk-header__nav {
  display: none;
}
.nk-header__menu {
  list-style: none;
  padding: 0;
  display: flex;
  margin: 0;
  font-size: 12px;
}
.nk-header__menu li a {
  text-decoration: none;
  color: #1a1a1a;
  display: block;
  padding: 20px 18px;
  text-align: center;
  line-height: 1.4;
  font-weight: 700;
  transition: opacity 0.3s;
}
.nk-header__menu li a:hover {
  opacity: 0.8;
}
.nk-header__menu li a span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #999;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* Contact button */
.nk-header__contact {
  background-color: #0e6db7;
}
.nk-header__contact a {
  padding-left: 28px !important;
  padding-right: 28px !important;
}
.nk-header__contact a {
  color: #fff !important;
}
.nk-header__contact a span {
  color: rgba(255,255,255,0.6) !important;
}

/* Toggle button (SP) */
.nk-header__toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #0e6eb8;
  border-radius: 0;
  border: none;
  cursor: pointer;
  z-index: 1100;
  display: block;
}
.nk-header__toggle span {
  display: block;
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #fff;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
}
.nk-header__toggle span:nth-child(1) { top: 15px; }
.nk-header__toggle span:nth-child(2) { top: 21px; }
.nk-header__toggle span:nth-child(3) { top: 27px; }

.nk-header__toggle.is-open span:nth-child(1) {
  top: 21px; transform: translateX(-50%) rotate(45deg);
}
.nk-header__toggle.is-open span:nth-child(2) { opacity: 0; }
.nk-header__toggle.is-open span:nth-child(3) {
  top: 21px; transform: translateX(-50%) rotate(-45deg);
}

/* PC: show nav, hide toggle */
@media (min-width: 1025px) {
  .nk-header__nav {
    display: block;
  }
  .nk-header__toggle {
    display: none;
  }
  .nk-header__menu {
    font-size: 14px;
  }
}

/* Mobile menu */
.nk-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.nk-menu.is-open {
  transform: translateY(0);
}
.nk-menu__inner {
  padding: 100px 60px 50px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.nk-menu__logo a {
  font-size: 20px;
  font-weight: 700;
  color: #0e6eb8;
  text-decoration: none;
  margin-bottom: 40px;
  display: block;
}
.nk-menu__list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}
.nk-menu__list li {
  border-bottom: 1px solid #ddd;
}
.nk-menu__list li a {
  display: block;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

/* Hero / FV */
.nk-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.nk-hero__lead {
  position: absolute;
  bottom: 20%;
  left: clamp(30px, 6.25vw, 90px);
  z-index: 10;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.05em;
}
.nk-hero__lead__line {
  display: block;
  overflow: hidden;
}
.nk-hero__lead__line span {
  display: inline-block;
  transform: translateY(110%);
  animation: fv-text-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.nk-hero__lead__line:nth-child(2) span { animation-delay: 0.2s; }

/* Lead subtitle */
.nk-hero__sub {
  position: absolute;
  bottom: 10%;
  left: clamp(30px, 6.25vw, 90px);
  z-index: 10;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  color: #fff;
  line-height: 1.9;
  letter-spacing: 0.03em;
  opacity: 0;
  animation: fv-sub-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}
@keyframes fv-sub-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fv-text-in {
  to { transform: translateY(0); }
}

.nk-hero__slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.nk-hero__slideshow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}
.nk-hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.nk-hero__slide.is-active {
  opacity: 1;
  z-index: 2;
}
.nk-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fv-zoom 12s linear infinite alternate;
}
@keyframes fv-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.nk-hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nk-hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: #fff;
  animation: scroll-line 1.5s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Responsive */
@media (max-width: 1024px) {
  .nk-hero__slideshow {
    border-radius: 8px;
  }
}


/* ========================================
   Mobile Menu Styles
   ======================================== */
.nk-menu__logo {
  margin-bottom: 40px;
}
.nk-menu__logo a {
  display: block;
  text-decoration: none;
}
.nk-menu__logo img {
  display: block;
  height: 50px;
  width: auto;
}
.nk-menu__nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.nk-menu__nav__list li {
  border-bottom: 1px solid #eee;
}
.nk-menu__nav__list li a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.nk-menu__nav__list li a:hover {
  color: #0e6eb8;
}
.nk-menu__info {
  margin-top: 40px;
  font-size: 13px;
  color: #666;
  line-height: 2;
}
.nk-menu__info a {
  color: #666;
  text-decoration: none;
}

/* ========================================
   Footer (ReBITA style)
   ======================================== */
.r-footer {
  background-color: #333;
  color: #ccc;
}
.r-footer__main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Footer Navigation */
.r-footer__navi {
  display: flex;
  flex-flow: row wrap;
  gap: 40px 60px;
  padding: 50px 60px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.r-footer__navi__group {
  flex: 0 0 200px;
}
.r-footer__navi__group__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.r-footer__navi__group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.r-footer__navi__group__list li a {
  display: block;
  font-size: 13px;
  color: #aaa;
  text-decoration: none;
  line-height: 2.2;
  transition: color 0.3s;
}
.r-footer__navi__group__list li a:hover {
  color: #fff;
}

/* Footer Container */
.r-footer__container {
  padding: 50px 60px 30px;
}
.r-footer__meta {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.r-footer__meta__logo {
  flex-shrink: 0;
}
.r-footer__meta__logo img {
  display: block;
  height: 50px;
  width: auto;
}
.r-footer__meta__info {
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
}
.r-footer__meta__info__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

/* Colophone */
.r-footer__colophone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.r-footer__colophone__copyright {
  font-size: 12px;
  color: #666;
}
.r-footer__colophone__nav {
  display: flex;
  gap: 20px;
}
.r-footer__colophone__nav a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}
.r-footer__colophone__nav a:hover {
  color: #fff;
}

/* ========================================
   Responsive
   ======================================== */



@media (max-width: 767px) {
  .r-footer {
    padding: 0 15px;
  }
  .r-footer__navi {
    padding: 30px 20px;
    gap: 24px 0;
  }
  .r-footer__navi__group {
    flex: 0 0 50%;
  }
  .r-footer__container {
    padding: 30px 20px 20px;
  }
  .r-footer__meta {
    flex-direction: column;
    gap: 20px;
  }
  .r-footer__meta__logo img {
    height: 40px;
  }
  .r-footer__colophone {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
  }
}


/* ========================================
   Ashirai (heading decoration override)
   ======================================== */
.l-top__title::before,
.l-top__title::after {
  display: none !important;
}
.l-top__title {
  padding-top: 24px;
}
.l-top__title::before {
  display: block !important;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #1015ff, #44deff);
  border-radius: 1px;
}

.u-subtitle::before,
.u-subtitle::after {
  display: none !important;
}
.u-subtitle {
  padding-left: 0;
  padding-top: 24px;
  position: relative;
}
.u-subtitle::before {
  display: block !important;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #1015ff, #44deff);
  border-radius: 1px;
  margin-top: 0;
}

.r-footer__meta__logo img {
  display: block;
  height: 50px;
  width: auto;
}

/* SP footer padding fix */
@media (max-width: 767px) {
  .r-footer {
    padding: 0;
  }
  .r-footer__main {
    padding: 0 15px;
  }
}




/* Hero text responsive */
@media (max-width: 767px) {
  .nk-hero__lead {
    bottom: 20%;
    font-size: clamp(24px, 7vw, 36px);
  }
  .nk-hero__sub {
    bottom: 12%;
    font-size: 13px;
    line-height: 1.8;
  }
}


/* ========================================
   ReBITA-style Buttons (boxbutton)
   ======================================== */
@keyframes boxbuttonArrowHover {
  0% { transform: translate(6px); }
}

.boxbutton {
  align-items: center;
  background-color: #0e6db7;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  flex-flow: row nowrap;
  font-size: 14px;
  font-weight: 700;
  justify-content: flex-start;
  letter-spacing: 0;
  line-height: 1.125;
  min-height: 55px;
  padding: 10px 65px 10px 20px;
  position: relative;
  text-decoration: none;
  transition: opacity 0.3s;
}
.boxbutton::before {
  background-color: rgba(255,255,255,0.4);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  right: 45px;
  top: 0;
  width: 1px;
}
.boxbutton::after {
  background-color: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
  display: block;
  height: 8px;
  position: absolute;
  right: 18px;
  top: calc(50% - 4px);
  width: 8px;
}
.boxbutton:hover::after {
  animation: boxbuttonArrowHover 1s cubic-bezier(0.19, 1, 0.22, 1) 0s infinite normal both;
}
.boxbutton:hover {
  opacity: 0.85;
}

/* White border variant */
.boxbutton--whiteborder {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  color: #000;
}
.boxbutton--whiteborder::before {
  background-color: #d9d9d9;
}
.boxbutton--whiteborder::after {
  background-color: #000;
}

/* hoverRoll text */
.hoverRoll__text {
  display: block;
  overflow: hidden;
  position: relative;
  padding-right: 100px;
}
.boxbutton {
  width: fit-content;
}
@media (max-width: 767px) {
  .hoverRoll__text {
    padding-right: 60px;
  }
}
.hoverRoll__text > span {
  display: block;
}

/* Override old c-boxlink to use boxbutton style */
.c-boxlink,
.c-boxlink.is-blue {
  align-items: center;
  background-color: #0e6db7;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.125;
  min-height: 55px;
  padding: 10px 65px 10px 20px;
  position: relative;
  text-decoration: none;
  border: none;
  transition: opacity 0.3s;
}
.c-boxlink::before,
.c-boxlink.is-blue::before {
  background-color: rgba(255,255,255,0.4);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  right: 45px;
  top: 0;
  width: 1px;
}
.c-boxlink::after,
.c-boxlink.is-blue::after {
  background-color: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
  display: block;
  height: 8px;
  position: absolute;
  right: 18px;
  top: calc(50% - 4px);
  width: 8px;
}
.c-boxlink:hover::after,
.c-boxlink.is-blue:hover::after {
  animation: boxbuttonArrowHover 1s cubic-bezier(0.19, 1, 0.22, 1) 0s infinite normal both;
}
.c-boxlink:hover,
.c-boxlink.is-blue:hover {
  opacity: 0.85;
}
.c-boxlink .c-boxlink__label {
  display: inline;
}
.c-boxlink .u-tricarrow {
  display: none;
}

/* Google Map section */
.p-map {
  width: 100%;
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.p-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
@media (max-width: 767px) {
  .p-map iframe {
    height: 300px;
  }
}

/* p-fields half height */
.p-fields__slide .p-fields__outer {
  height: auto;
}
.p-fields__image {
  max-height: 240px;
  overflow: hidden;
}
.p-fields__image img {
  height: 240px;
  object-fit: cover;
}

/* Recruit single block */
.p-recruit__single {
  display: block;
}
.p-recruit__single a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.p-recruit__single figure {
  overflow: hidden;
}
.p-recruit__single figure img {
  width: 100%;
  height: auto;
  transition: transform 0.4s;
}
.p-recruit__single a:hover figure img {
  transform: scale(1.05);
}
.p-recruit__single p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
}

/* Menu close button */
.nk-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: #0e6eb8;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nk-menu__close::before,
.nk-menu__close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #fff;
}
.nk-menu__close::before { transform: rotate(45deg); }
.nk-menu__close::after { transform: rotate(-45deg); }

/* Menu responsive */
@media (max-width: 767px) {
  .nk-menu__inner {
    padding: 90px 20px 30px;
  }
  .nk-menu__nav__list {
    grid-template-columns: 1fr;
  }
  .nk-menu__logo {
    display: none;
  }
}


/* ========================================
   Onestop Service List
   ======================================== */
.p-onestop__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: none;
}
.p-onestop__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e6e6e3;
}
.p-onestop__item:first-child {
  border-top: 1px solid #e6e6e3;
}
.p-onestop__num {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0e6eb8;
  line-height: 1;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  width: 48px;
}
.p-onestop__text {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .p-onestop__item {
    gap: 16px;
    padding: 16px 0;
  }
  .p-onestop__num {
    font-size: 24px;
    width: 36px;
  }
  .p-onestop__text {
    font-size: 14px;
  }
}

/* ========================================
   Recruit Half Layout (6:6)
   ======================================== */
.p-recruit__half {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border-radius: 4px;
}
.p-recruit__half__text {
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px;
  background-color: #f5f5f2;
}
.p-recruit__half__copy {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.p-recruit__half__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-top: 16px;
}
.p-recruit__half__text .boxbutton {
  margin-top: 32px;
}
.p-recruit__half__img {
  flex: 0 0 50%;
  width: 50%;
  overflow: hidden;
}
.p-recruit__half__img figure {
  height: 100%;
}
.p-recruit__half__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .p-recruit__half {
    flex-direction: column-reverse;
  }
  .p-recruit__half__text,
  .p-recruit__half__img {
    flex: none;
    width: 100%;
  }
  .p-recruit__half__text {
    padding: 32px 24px;
  }
  .p-recruit__half__copy {
    font-size: 17px;
  }
}


/* Recruit half - ensure proper spacing */
.l-top--recruit .l-top__title {
  margin-bottom: 32px;
}
.l-top--recruit .p-recruit__half {
  margin-top: 0;
}


/* Fields: 1 column on SP */
@media (max-width: 767px) {
  .p-fields__wrapper {
    flex-direction: column !important;
  }
  .p-fields__slide {
    width: 100% !important;
  }
}


/* p-fields spacing */
.p-fields {
  margin-top: 40px !important;
}
.p-fields__slide {
  margin-bottom: 15px;
}


/* Scroll indicator: top on SP */
@media (max-width: 767px) {
  .nk-hero__scroll {
    bottom: auto;
    top: 100px;
    right: 20px;
  }
}


/* SP: nk-hero__sub */
@media (max-width: 767px) {
  .nk-hero__sub {
    bottom: 5%;
    left: 15px;
    right: 15px;
    color: #fff;
  }
}


/* p-fields__summary spacing */
.p-fields__summary {
  margin: 10px 10px 0 !important;
}

/* Userguide images - consistent aspect ratio */
.p-userguide__col figure {
  overflow: hidden;
  aspect-ratio: 386 / 260;
}
.p-userguide__col figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fields text color - subject only */
.p-fields__slide:nth-child(1) .p-fields__subject,
.p-fields__slide:nth-child(3) .p-fields__subject,
.p-fields__slide:nth-child(6) .p-fields__subject {
  color: #0e6db7;
}

/* Userguide heading - 取扱メーカー only */
.p-userguide__col:nth-child(2) h2,
.p-userguide__col:nth-child(2) h2 em {
  color: #0e6db7;
}

/* Menu grid: info left + nav right */
.nk-menu__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 15px 0;
}
.nk-menu__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(0,0,0,0.1);
  padding-right: 40px;
}
.nk-menu__info__logo img {
  width: 180px;
  height: auto;
}
.nk-menu__info__name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.nk-menu__info__address {
  font-size: 12px;
  line-height: 2;
  color: #666;
}
.nk-menu__nav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.nk-menu__nav__list li {
  list-style: none;
}
.nk-menu__nav__list li a {
  display: block;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.2s;
}
.nk-menu__nav__list li a:hover {
  background: rgba(0,0,0,0.05);
}

@media (max-width: 767px) {
  .nk-menu__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 10px 0;
  }
  .nk-menu__info {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .nk-menu__nav__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Sub Pages - Common
   ============================================ */

/* Page Hero */
.nk-page-hero {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}
.nk-page-hero__bg {
  position: absolute;
  inset: 0;
}
.nk-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nk-page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.nk-page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
}
.nk-page-hero__title {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
.nk-page-hero__title em {
  display: block;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

/* Section common */
.nk-section {
  padding: 80px 0;
  border-bottom: 1px solid #eee;
}
.nk-section:last-child {
  border-bottom: none;
}
.nk-section__column {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-bottom: 40px;
}

/* ============================================
   Company Page
   ============================================ */

/* Message */
.nk-message {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.nk-message__text {
  flex: 1;
}
.nk-message__text p {
  font-size: 15px;
  line-height: 2;
  color: #333;
  margin-bottom: 20px;
}
.nk-message__lead {
  font-size: 22px !important;
  font-weight: 700;
  color: #0e6db7 !important;
  margin-bottom: 30px !important;
  line-height: 1.6 !important;
}
.nk-message__sign {
  margin-top: 40px !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 2 !important;
}
.nk-message__photo {
  flex-shrink: 0;
  width: 320px;
}
.nk-message__photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Company Table */
.nk-company-table table {
  width: 100%;
  border-collapse: collapse;
}
.nk-company-table th,
.nk-company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}
.nk-company-table th {
  width: 180px;
  font-weight: 700;
  color: #0e6db7;
  background: #f8fafb;
}
.nk-company-table td {
  color: #333;
}

/* History Timeline */
.nk-history__list {
  position: relative;
  padding-left: 0;
}
.nk-history__item {
  display: flex;
  gap: 40px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  align-items: baseline;
}
.nk-history__item dt {
  flex-shrink: 0;
  width: 140px;
  font-size: 15px;
  font-weight: 700;
  color: #0e6db7;
  white-space: nowrap;
}
.nk-history__item dd {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* Map */
.nk-map {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.nk-map iframe {
  display: block;
}

/* SP */
@media (max-width: 767px) {
  .nk-page-hero {
    height: 260px;
  }
  .nk-page-hero__inner {
    padding-bottom: 30px;
  }
  .nk-section {
    padding: 50px 0;
  }
  .nk-message {
    flex-direction: column;
    gap: 30px;
  }
  .nk-message__photo {
    width: 100%;
    max-width: 320px;
  }
  .nk-company-table th {
    width: 120px;
    padding: 14px 16px;
    font-size: 14px;
  }
  .nk-company-table td {
    padding: 14px 16px;
    font-size: 14px;
  }
  .nk-history__item {
    flex-direction: column;
    gap: 4px;
  }
  .nk-history__item dt {
    width: auto;
  }
}

/* EC Store Banner */
.nk-ec-banner {
  text-align: center;
  padding: 40px 0;
}
.nk-ec-banner a {
  display: inline-block;
}
.nk-ec-banner img {
  width: 60%;
  height: auto;
}
@media (max-width: 1024px) {
  .nk-ec-banner img {
    width: 100%;
  }
  .nk-ec-banner {
    padding: 30px 15px;
  }
}


/* =========================================================
   Lower pages components  (added 2026-09-03)
   ========================================================= */
.nk-page-lead{
  font-size:17px; line-height:2; text-align:center; color:#333;
  max-width:900px; margin:0 auto; padding:8px 0 8px;
}
.nk-note{ margin-top:24px; font-size:13px; color:#777; }

/* --- anchor nav (pills) --- */
.nk-catnav{
  display:flex; flex-wrap:wrap; gap:10px;
  margin:32px 0 48px; padding:20px 24px;
  background:#f5f8fb; border-radius:10px;
}
.nk-catnav a{
  display:inline-block; padding:8px 16px; border-radius:999px;
  background:#fff; border:1px solid #d6e2ee; color:#0e6db7;
  font-size:14px; line-height:1.4; text-decoration:none;
  transition:background .2s, color .2s, border-color .2s;
}
.nk-catnav a:hover{ background:#0e6db7; border-color:#0e6db7; color:#fff; }

/* --- flow diagram --- */
.nk-flow{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(5,1fr); gap:16px;
  counter-reset:none;
}
.nk-flow__item{
  position:relative; background:#fff; border:1px solid #e2e8f0;
  border-top:4px solid #0e6db7; border-radius:8px; padding:28px 18px 22px;
}
.nk-flow__item::after{
  content:""; position:absolute; top:50%; right:-12px; width:10px; height:10px;
  border-top:2px solid #b9cfe4; border-right:2px solid #b9cfe4;
  transform:translateY(-50%) rotate(45deg); z-index:1;
}
.nk-flow__item:last-child::after{ display:none; }
.nk-flow__num{
  display:block; font-family:"Helvetica Neue",Arial,sans-serif;
  font-size:28px; font-weight:700; color:#0e6db7; line-height:1; letter-spacing:.04em;
}
.nk-flow__title{ margin:12px 0 8px; font-size:16px; font-weight:700; color:#111; }
.nk-flow__text{ font-size:13px; line-height:1.8; color:#666; }

/* --- category cards --- */
.nk-cat{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.nk-cat__item{
  scroll-margin-top:120px;
  background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:28px 30px 26px;
}
.nk-cat__head{ display:flex; align-items:center; gap:14px; padding-bottom:14px; border-bottom:2px solid #0e6db7; }
.nk-cat__num{
  font-family:"Helvetica Neue",Arial,sans-serif; font-size:26px; font-weight:700;
  color:#0e6db7; line-height:1;
}
.nk-cat__title{ font-size:19px; font-weight:700; color:#111; margin:0; }
.nk-cat__list{ list-style:none; margin:18px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.nk-cat__list li{
  font-size:13px; line-height:1.5; color:#33475b;
  background:#f2f7fc; border:1px solid #e0eaf4; border-radius:4px; padding:6px 12px;
}

/* --- makers --- */
.nk-mkfeature{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px;
}
.nk-mkfeature li{
  background:#fff; border:1px solid #e2e8f0; border-left:4px solid #0e6db7;
  border-radius:6px; padding:16px 18px; font-size:15px; color:#111;
}
.nk-makers{ display:grid; gap:32px; }
.nk-makers__group{ scroll-margin-top:120px; }
.nk-makers__title{
  font-size:18px; font-weight:700; color:#0e6db7; margin:0 0 14px;
  padding-left:12px; border-left:4px solid #0e6db7;
}
.nk-makers__list{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px 24px;
}
.nk-makers__list li{
  font-size:14px; line-height:1.7; color:#333;
  padding-left:16px; position:relative;
}
.nk-makers__list li::before{
  content:""; position:absolute; left:0; top:.65em;
  width:6px; height:6px; border-radius:50%; background:#b9cfe4;
}

/* --- CTA band --- */
.nk-cta{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  background:linear-gradient(135deg,#0e6db7 0%,#1b4f86 100%);
  border-radius:12px; padding:36px 44px; color:#fff;
}
.nk-cta__text{ font-size:18px; font-weight:700; margin:0; }
.nk-cta__btn{
  flex:none; display:inline-block; background:#fff; color:#0e6db7;
  font-size:15px; font-weight:700; text-decoration:none;
  padding:14px 32px; border-radius:999px; transition:opacity .2s;
}
.nk-cta__btn:hover{ opacity:.85; }

@media only screen and (max-width:999px){
  .nk-page-lead{ font-size:15px; line-height:1.9; text-align:left; }
  .nk-flow{ grid-template-columns:repeat(2,1fr); }
  .nk-flow__item::after{ display:none; }
  .nk-cat{ grid-template-columns:1fr; }
  .nk-mkfeature{ grid-template-columns:repeat(2,1fr); }
  .nk-makers__list{ grid-template-columns:repeat(2,1fr); }
  .nk-cta{ flex-direction:column; align-items:flex-start; padding:28px 24px; }
  .nk-cta__text{ font-size:16px; }
}
@media only screen and (max-width:600px){
  .nk-flow{ grid-template-columns:1fr; }
  .nk-mkfeature{ grid-template-columns:1fr; }
  .nk-makers__list{ grid-template-columns:1fr; }
  .nk-catnav{ padding:16px; gap:8px; }
  .nk-catnav a{ font-size:13px; padding:7px 13px; }
  .nk-cat__item{ padding:22px 20px; }
}


/* --- jobs (recruit) --- */
.nk-jobs{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.nk-jobs__item{ background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:30px 32px; }
.nk-jobs__title{ font-size:20px; font-weight:700; color:#0e6db7; margin:0 0 14px; padding-bottom:12px; border-bottom:2px solid #e6eef7; }
.nk-jobs__text{ font-size:15px; line-height:1.9; color:#444; margin:0 0 16px; }
.nk-jobs__list{ list-style:none; margin:0; padding:0; }
.nk-jobs__list li{ position:relative; padding-left:18px; font-size:14px; line-height:1.9; color:#33475b; }
.nk-jobs__list li::before{ content:""; position:absolute; left:0; top:.75em; width:7px; height:7px; background:#0e6db7; border-radius:50%; }

/* --- contact cards --- */
.nk-contact-cards{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.nk-contact-cards__item{ background:#f5f8fb; border-radius:10px; padding:26px 20px; text-align:center; }
.nk-contact-cards__label{ display:block; font-size:13px; color:#6b7c8f; letter-spacing:.08em; margin-bottom:10px; }
.nk-contact-cards__value{ display:block; font-size:26px; font-weight:700; color:#0e6db7; text-decoration:none; line-height:1.3; }
.nk-contact-cards__value--mail{ font-size:17px; word-break:break-all; }

/* --- form --- */
.nk-form{ background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:36px 40px; }
.nk-form__notice{ font-size:15px; line-height:2; color:#444; margin:0; }
.nk-form input[type=text],.nk-form input[type=email],.nk-form input[type=tel],.nk-form textarea{
  width:100%; box-sizing:border-box; border:1px solid #ccd6e0; border-radius:6px;
  padding:12px 14px; font-size:15px; font-family:inherit; background:#fff;
}
.nk-form textarea{ min-height:180px; resize:vertical; }
.nk-form label{ display:block; font-size:14px; font-weight:700; color:#33475b; margin:20px 0 8px; }
.nk-form input[type=submit],.nk-form .wpcf7-submit{
  display:block; margin:28px auto 0; min-width:240px; cursor:pointer;
  background:#0e6db7; color:#fff; border:0; border-radius:999px;
  padding:15px 40px; font-size:16px; font-weight:700; transition:opacity .2s;
}
.nk-form input[type=submit]:hover,.nk-form .wpcf7-submit:hover{ opacity:.85; }

/* --- policy / generic page body --- */
.nk-policy{ font-size:15px; line-height:2; color:#444; }
.nk-policy h2{ font-size:19px; font-weight:700; color:#111; margin:40px 0 14px; padding-left:14px; border-left:4px solid #0e6db7; }
.nk-policy h2:first-of-type{ margin-top:28px; }
.nk-policy p{ margin:0 0 16px; }
.nk-policy ul{ margin:0 0 16px; padding-left:1.4em; }
.nk-policy li{ margin-bottom:6px; }
.nk-policy a{ color:#0e6db7; text-decoration:underline; }

/* --- news list --- */
.nk-newslist{ list-style:none; margin:0; padding:0; border-top:1px solid #e2e8f0; }
.nk-newslist__item{ border-bottom:1px solid #e2e8f0; }
.nk-newslist__link{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:22px 8px; text-decoration:none; transition:background .2s; }
.nk-newslist__link:hover{ background:#f5f8fb; }
.nk-newslist__date{ font-size:14px; color:#6b7c8f; letter-spacing:.04em; flex:none; }
.nk-newslist__cat{ flex:none; font-size:12px; color:#0e6db7; border:1px solid #b9cfe4; border-radius:999px; padding:3px 12px; }
.nk-newslist__title{ font-size:16px; color:#111; line-height:1.7; flex:1 1 auto; min-width:200px; }
.nk-newslist__link:hover .nk-newslist__title{ color:#0e6db7; }

.nk-pager{ display:flex; justify-content:center; gap:8px; margin-top:40px; }
.nk-pager .page-numbers{ display:inline-block; min-width:40px; text-align:center; padding:9px 12px; border:1px solid #d6e2ee; border-radius:6px; color:#0e6db7; text-decoration:none; font-size:14px; }
.nk-pager .page-numbers.current{ background:#0e6db7; border-color:#0e6db7; color:#fff; }

/* --- article --- */
.nk-article{ max-width:860px; margin:0 auto; }
.nk-article__head{ padding-bottom:20px; border-bottom:2px solid #0e6db7; margin-bottom:32px; }
.nk-article__date{ font-size:14px; color:#6b7c8f; margin-right:12px; }
.nk-article__title{ font-size:28px; font-weight:700; color:#111; line-height:1.6; margin:14px 0 0; }
.nk-article__body{ font-size:16px; line-height:2; color:#444; }
.nk-article__body p{ margin:0 0 20px; }
.nk-article__body img{ max-width:100%; height:auto; }
.nk-backlink{ text-align:center; margin-top:48px; }
.nk-backlink a{ display:inline-block; border:1px solid #0e6db7; color:#0e6db7; border-radius:999px; padding:13px 40px; font-size:15px; text-decoration:none; transition:background .2s,color .2s; }
.nk-backlink a:hover{ background:#0e6db7; color:#fff; }

@media only screen and (max-width:999px){
  .nk-jobs{ grid-template-columns:1fr; }
  .nk-contact-cards{ grid-template-columns:1fr; }
  .nk-form{ padding:24px 20px; }
  .nk-article__title{ font-size:22px; }
  .nk-newslist__link{ gap:10px; padding:18px 4px; }
  .nk-newslist__title{ flex:1 1 100%; font-size:15px; }
}


/* --- sitemap --- */
.nk-sitemap{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px 48px; }
.nk-sitemap__group{ border-top:2px solid #0e6db7; padding-top:18px; }
.nk-sitemap__title{ font-size:18px; font-weight:700; margin:0 0 12px; }
.nk-sitemap__title a{ color:#111; text-decoration:none; }
.nk-sitemap__title a:hover{ color:#0e6db7; }
.nk-sitemap__list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:6px 20px; }
.nk-sitemap__list li a{ position:relative; display:block; padding-left:16px; font-size:14px; line-height:1.9; color:#33475b; text-decoration:none; }
.nk-sitemap__list li a::before{ content:""; position:absolute; left:0; top:.8em; width:6px; height:6px; border-top:2px solid #b9cfe4; border-right:2px solid #b9cfe4; transform:rotate(45deg); }
.nk-sitemap__list li a:hover{ color:#0e6db7; }
@media only screen and (max-width:999px){
  .nk-sitemap{ grid-template-columns:1fr; gap:24px; }
  .nk-sitemap__list{ grid-template-columns:1fr; }
}


/* --- category card thumbnail --- */
.nk-cat__item{ padding:0; overflow:hidden; display:flex; flex-direction:column; }
.nk-cat__thumb{ margin:0; aspect-ratio:16/9; overflow:hidden; background:#eef4fa; }
.nk-cat__thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.nk-cat__item:hover .nk-cat__thumb img{ transform:scale(1.05); }
.nk-cat__head{ margin:22px 30px 0; }
.nk-cat__item .nk-cat__list{ margin:18px 30px 26px; }
@media only screen and (max-width:999px){
  .nk-cat__head{ margin:18px 20px 0; }
  .nk-cat__item .nk-cat__list{ margin:14px 20px 20px; }
}


/* --- job card thumbnail --- */
.nk-jobs__item{ padding:0; overflow:hidden; }
.nk-jobs__thumb{ margin:0; aspect-ratio:3/2; overflow:hidden; background:#eef4fa; }
.nk-jobs__thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.nk-jobs__item:hover .nk-jobs__thumb img{ transform:scale(1.04); }
.nk-jobs__item .nk-jobs__title{ margin:24px 32px 0; padding-bottom:12px; }
.nk-jobs__item .nk-jobs__text{ margin:16px 32px 0; }
.nk-jobs__item .nk-jobs__list{ margin:16px 32px 28px; }
@media only screen and (max-width:999px){
  .nk-jobs__item .nk-jobs__title{ margin:18px 20px 0; }
  .nk-jobs__item .nk-jobs__text{ margin:12px 20px 0; }
  .nk-jobs__item .nk-jobs__list{ margin:12px 20px 20px; }
}
