/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

/* Main container and sections */
.container {
  max-width: 767px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Header Styles */
.header {
  background-color: #ffffff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 6000;
}

.header-container {
  max-width: 767px;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 30px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.2s ease;
}

.hamburger-icon {
  height: 32px;
  width: auto;
  display: block;
}

/* Navigation Drawer */
.drawer {
  position: fixed;
  top: 0;
  left: 50%;
  bottom: 0;
  transform: translateX(100%) translateX(-50%);
  background-color: #a72122;
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  max-width: 767px;
  width: 100%;
  padding: 0;
}

.drawer.open {
  transform: translateX(-50%);
}

/* Hide drawer on desktop when closed */
@media screen and (min-width: 768px) {
  .drawer:not(.open) {
    display: none;
  }
}

.drawer-header {
  background-color: #ffffff;
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-logo {
  height: 30px;
  width: auto;
  display: block;
}

.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close img {
  width: 32px;
  height: 32px;
}

.drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.drawer-list li {
  width: 80%;
  border-bottom: 1px solid white;
}

.drawer-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 10px 20px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  transition: background-color 0.2s ease;
  position: relative;
}

.drawer-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.drawer-list a img {
  width: 16px;
  height: 16px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
  background-color: #ffffff;
  padding: 0;
  margin: 0;
}

.hero-container {
  max-width: 767px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive adjustments for hero */
@media screen and (max-width: 480px) {
  .hero-container {
    padding: 0 15px;
  }
}

/* LINE Button Section */
.line-button-section {
  background-color: #ffffff;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.line-button-container {
  max-width: 767px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.line-button-container a {
  display: inline-block;
}

.line-button-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
  will-change: transform;
}

.line-button-container a:hover .line-button-image {
  transform: scale(1.02);
}

/* Concern Section */
.concern-section {
  background-color: #ffffff;
  padding: 0;
  margin: 0;
}

.concern-container {
  max-width: 767px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.concern-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Merit Section */
.merit-section {
  background: #ffffff;
  margin: 0 auto;
  max-width: 767px;
  width: 100%;
}

.merit-container {
  background: linear-gradient(to bottom, #dd060a, #f67d00);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 30px;
  padding-bottom: 80px;
}

.merit-title {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.merit-title-image {
  width: 100%;
  height: auto;
  display: block;
}

.merit-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.merit-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Interview Section */
.interview-section {
  background-color: #eaeaea;
  padding: 0;
  margin: 0 auto;
  max-width: 767px;
  width: 100%;
}

.interview-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.interview-title {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.interview-title-image {
  width: 100%;
  height: auto;
  display: block;
}

.interview-persons {
  overflow: hidden;
  background-color: #eaeaea;
  min-height: 1080px;
}

.interview-persons::-webkit-scrollbar {
  display: none;
}

.interview-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 767px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 5%;
}

.interview-scroll-container {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  width: max-content;
  position: relative;
  flex: 1;
  justify-content: center;
}

.interview-item { display:flex; flex-direction:column; gap:20px; }
.interview-item > * { margin:0; }
@media (max-width:767px){ .interview-item{ gap:12px; } }

.interview-item {
  position: relative;
  width: 767px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
}

.interview-person-photo {
  width: 80%;
  height: auto;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  margin: 0 auto;
  padding-bottom: 100px;
}

.interview-text-wrap {
  width: 100%;
  height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.interview-person-text {
  width: 100%;
  height: auto;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
}

.interview-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 10;
  position: absolute;
  top: 25%;
  transform: translateY(-50%);
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  max-height: 60px;
}

.interview-arrow-left {
  left: 1%;
}

.interview-arrow-right {
  right: 1%;
}

.interview-arrow:hover {
  opacity: 0.7;
}

.interview-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.interview-arrow img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: none;
}

/* Interview Numeric Pager */
.interview-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 20px;
  background: #eaeaea;
}

.pager-number {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.pager-number.active {
  color: #f67d00;
}

.pager-number.active::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #f67d00;
  border-radius: 50%;
}

.pager-number.active:hover {
  color: #f67d00;
}

.pager-separator {
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Large screens - desktop */
@media screen and (min-width: 1025px) {  
  .interview-item {
    max-width: 82%;
  }
  
  .interview-person-photo {
    width: 70%;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .interview-text-wrap {
    height: 570px;
  }

  .interview-arrow {
    top: 22%;
  }

  .interview-arrow img {
    width: 120px;
    height: 120px;
  }

  .interview-arrow-left {
    left: 3%;
  }
  
  .interview-arrow-right {
    right: 3%;
  }
}

/* Medium screens - tablets */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .interview-person-photo {
    width: 70%;
    margin: 0 auto;
    padding-bottom: 25px;
  }

  .interview-arrow {
    top: 22%;
  }
  
  .interview-arrow img {
    width: 120px;
    height: 120px;
  }
  
  .interview-item {
    max-width: 80%;
  }
  
  .interview-arrow-left {
    left: 3%;
  }
  
  .interview-arrow-right {
    right: 3%;
  }
}

/* Responsive adjustments for interview */
@media screen and (max-width: 767px) {
  .interview-navigation {
    max-width: 100%;
    padding: 0 3%;
  }

  .interview-persons {
    min-height: 500px;
  }

  .interview-item {
    width: 100%;
    max-width: 90%;
  }

  .interview-person-photo {
    width: 70%;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .interview-text-wrap {
    width: 100%;
    height: 350px;
    display: block;
  }

  .interview-person-text {
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    display: block;
  }

  .interview-arrow {
    touch-action: manipulation;
    top: 20%;
    transform: translateY(-50%);
    outline: none;
    user-select: none;
  }

  .interview-arrow-left {
    left: 1%;
  }

  .interview-arrow-right {
    right: 1%;
  }

  .interview-arrow:active {
    transform: translateY(-50%) scale(0.95);
  }

  .interview-arrow img {
    width: 75px;
    height: 75px;
  }

  .interview-pager {
    gap: 4px;
    margin-top: 12px;
    padding-bottom: 12px;
  }

  .pager-number {
    font-size: 14px;
    padding: 4px 8px;
  }

  .pager-separator {
    font-size: 14px;
  }
}

/* ≤390px */
@media (max-width: 390px) {
  .interview-text-wrap { height: 400px; }
  .interview-arrow img { width: 70px; height: 70px; }
  .interview-arrow-left { left: 0.05%; }
  .interview-arrow-right { right: 0.05%; }
  .interview-arrow { top: 18%; }
}

/* ≤375px */
@media (max-width: 375px) {
  .interview-person-photo { padding-bottom: 10px; }
  .interview-text-wrap { height: 300px; }
  .interview-arrow { top: 20%; }
}

/* ≤320px */
@media (max-width: 320px) {
  .interview-text-wrap { height: 100px; }
  .interview-arrow { top: 30%; }
}

/* Project Section */
.project-section {
  background-color: #ffffff;
  padding: 0;
  margin: 0 auto;
  max-width: 767px;
  width: 100%;
}

.project-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.project-title {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.project-title-image {
  width: 100%;
  height: auto;
  display: block;
}

.project-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 20px;
  background-color: #ffffff;
}

.project-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  cursor: pointer;
}

.project-content {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 20px 0 0 0;
}

.netsui-idea-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Training Section */
.training-section {
  background-color: #ffffff;
  padding: 0;
  margin: 0 auto;
  max-width: 767px;
  width: 100%;
}

.training-container {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.training-title {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.training-title-image {
  width: 100%;
  height: auto;
  display: block;
}

.training-images {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.training-images::-webkit-scrollbar {
  display: none;
}

.training-scroll-container {
  position: relative;
  padding: 20px 0;
  margin: 0;
  width: 100%;
  min-height: 1300px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.training-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 60px);
  max-width: 707px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1;
}

.training-image.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.training-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 767px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.training-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 10;
  position: relative;
  flex-shrink: 0;
}

.training-arrow:hover {
  opacity: 0.7;
}

.training-arrow:active {
  transform: scale(0.95);
}

.training-arrow img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
}

/* Responsive adjustments for training */
@media screen and (max-width: 767px) {
  .training-scroll-container {
    padding: 10px 0;
    min-height: calc((100vw - 30px) * 1.405);
    max-height: 100vh;
  }

  .training-navigation {
    max-width: 100%;
    gap: 5px;
    padding: 0 10px;
  }

  .training-arrow {
    padding: 3px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 100;
    background: transparent;
    border: none;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .training-arrow img {
    width: 25px;
    height: 25px;
  }

  .training-image {
    width: calc(100vw - 30px);
    max-width: 100%;
  }

  .training-indicators {
    margin-top: 15px;
  }
}

/* Training Indicators */
.training-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #737578;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator-dot.active {
  background-color: #dd060a;
  border-color: #dd060a;
  transform: scale(1.2);
}

/* Flow Section */
.flow-section {
  background-color: #ffffff;
  padding: 0;
  margin: 0 auto;
  max-width: 767px;
  width: 100%;
}

.flow-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.flow-title {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.flow-title-image {
  width: 100%;
  height: auto;
  display: block;
}

.flow-images {
  overflow: hidden;
}

.flow-images::-webkit-scrollbar {
  display: none;
}

.flow-scroll-container {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  width: max-content;
}

.flow-item {
  position: relative;
  width: 100vw;
  max-width: 767px;
}

.flow-image {
  width: 90%;
  height: auto;
  flex-shrink: 0;
  display: block;
  margin: 0 auto;
}

.flow-arrow {
  position: absolute;
  left: 85%;
  top: 40%;
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 120px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.flow-arrow:hover {
  opacity: 0.7;
}

/* Flow Numeric Pager */
.flow-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

/* Large screens - desktop */
@media screen and (min-width: 1024px) {  
  .flow-arrow {
    max-width: 150px;
    max-height: 150px;
    top: 35%;
    left: 88%;
  }
}

/* Responsive adjustments for flow */
@media screen and (max-width: 767px) {
  .flow-item {
    width: 100vw;
  }

  .flow-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    display: block;
  }

  .flow-arrow {
    left: 90%;
    top: 40%;
    max-width: 70px;
    max-height: 70px;
  }

  .flow-pager {
    gap: 4px;
    margin-top: 12px;
    padding-bottom: 12px;
  }
}

/* ≤375px */
@media (max-width: 375px) {
  .flow-arrow {
    left: 88%;
    top: 35%;
  }
}

/* ≤320px */
@media (max-width: 320px) {
  .flow-arrow {
    left: 88%;
    top: 30%;
  }
}

/* QA Section */
.qa-section {
  background-color: #ffffff;
  padding: 0;
  margin: 0 auto;
  max-width: 767px;
  width: 100%;
}

.qa-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.qa-title {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.recruit {
  padding: 70px 0 0 0;
}

.qa-title-image {
  width: 100%;
  height: auto;
  display: block;
}

.qa-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 20px;
  background-color: #ffffff;
}

.qa-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: #750b0d;
  padding: 40px 0 20px;
  margin: 30px auto 0;
  text-align: center;
  min-height: 70px;
  display: flex;
  align-items: flex-end;
  max-width: 767px;
}

.footer p {
  color: #ffffff;
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
