:root {
  --main-color: #ffffff;
  --text-color: #1F2A3C;
  --bg-color: #FFFFFF;
  --accent-color: #121826;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

.pc-only {
  display: inline;
}
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .mobile-only {
    display: inline;
  }
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

header {
  background-color: var(--main-color);
  color: white;
  padding: 2rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 2rem;
}

h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--main-color);
}

h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }
  p {
    text-align: left;
  }
}

.section-cta {
  background: #fff;
  padding: 2rem 2rem 6rem 2rem;
  text-align: center;
}

.cta-catch {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #1F2A3C;
}

.cta-sub {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
  font-family: 'Noto Sans JP', sans-serif;
}

.cta-button {
  display: inline-block;
  background-color: #ff6f3c; /* 明るく目立つオレンジ系 */
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background-color: #e65c2a;
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .cta-catch {
    font-size: 1.6rem;
  }

  .cta-sub {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    position: relative;
    z-index: 10000;
  }
}

main {
  padding: 2rem;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.hero-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 4rem;
  box-sizing: border-box;
  text-align: left;
}

.hero-title {
  font-size: 6rem;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.1;
  margin: 0;
  color: white;
  max-width: 800px;
}

.hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  margin-top: 1rem;
  color: white;
  max-width: 800px;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-sub {
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hero-overlay {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
    margin-top: -50%;
  }

  .hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    white-space: pre-line;
    word-break: keep-all;
    max-width: 90%;
  }

  .hero-sub {
    font-size: 1.4rem;
    text-align: left;
    max-width: 90%;
    margin-top: 0;
  }
}

/* 共感セクション */
.section-empathy {
  background-color: var(--accent-color);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.section-empathy h2 {
  margin-bottom: 2rem;
  color: var(--main-color);
}

.empathy-catch {
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-out;
}

.empathy-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.empathy-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1 1 360px; /* ← 幅を指定しつつ、柔軟に並ぶように */
  max-width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.empathy-item:hover {
  transform: translateY(-5px);
}

.empathy-item img {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-bottom: 1rem;
}

.empathy-item p {
  margin: 0.3rem 0 0.8rem 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  color: #1F2A3C;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.3s;
}

.empathy-item:nth-child(1) { animation-delay: 0.2s; }
.empathy-item:nth-child(2) { animation-delay: 0.4s; }
.empathy-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .section-empathy .empathy-item p {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .section-empathy .empathy-item {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .section-empathy .empathy-content {
    gap: 1rem;
    padding-bottom: 0;
  }

  .section-empathy .empathy-item img {
    margin-bottom: 0.3rem;
  }
}

/* 仕事内容紹介セクション */
.section-job {
  background: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}

.job-catch {
  font-weight: 500;
  margin-bottom: 4rem;
  color: #1F2A3C;
}

.job-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.job-block.reverse {
  flex-direction: row-reverse;
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
}

.job-text {
  flex: 1;
  text-align: left;
}

.job-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #1F2A3C;
}

.job-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333333;
}

.job-image {
  flex: 1;
  text-align: center;
}

.job-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  transition: transform 0.6s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.job-block:hover .job-image img {
  transform: scale(1.03) translateY(-5px);
}

.job-note {
  font-size: 1.7rem;
  color: #1F2A3C;
  margin-top: 3rem;
}

/* アニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .job-block {
    flex-direction: column;
    text-align: center;
  }

  .job-block.reverse {
    flex-direction: column;
    padding: 0;
    border-radius: 0;
  }

  .job-text {
    padding: 0 1.5rem;
    text-align: left;
  }
}

/* 働くメリットセクション */
.section-merit {
  background: #f0f4f8;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.merit-catch {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 4rem;
  color: #1F2A3C;
}

.merit-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.merit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  text-align: left;
}

.merit-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  color: #0077cc;
}

.merit-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #1F2A3C;
}

.merit-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .merit-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .merit-text {
    text-align: center;
  }
}

/* 募集要項 */
.section-recruit {
  background: #f0f4f8;
  padding: 2rem 2rem 6rem;
  text-align: center;
}

.recruit-catch {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 4rem;
  color: #1F2A3C;
  font-family: 'Noto Sans JP', sans-serif;
}

.recruit-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.recruit-table th,
.recruit-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e0e6ed;
}

.recruit-table th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #1F2A3C;
  width: 30%;
  white-space: nowrap;
}

.recruit-table td {
  color: #333333;
}

.recruit-table tr:last-child td,
.recruit-table tr:last-child th {
  border-bottom: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .recruit-table th,
  .recruit-table td {
    padding: 1rem;
    font-size: 1rem;
  }
}

/* 会社紹介 */
.section-company {
  background: #f9fafb;
  padding: 5rem 2rem;
  text-align: center;
}

.company-catch {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #1F2A3C;
}

.company-lead {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}

.company-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.value-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 260px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.value-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1F2A3C;
}

.value-item p {
  font-size: 1rem;
  color: #555;
}

.company-subheading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1F2A3C;
}

.company-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.company-table th,
.company-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e0e6ed;
}

.company-table th {
  background-color: #eef2f7;
  font-weight: 600;
  color: #1F2A3C;
  width: 30%;
  white-space: nowrap;
}

.company-table td {
  color: #333333;
}

.company-table tr:last-child td,
.company-table tr:last-child th {
  border-bottom: none;
}

/* よくある質問 */
.section-faq {
  padding: 4rem 2rem 2rem;
  background-color: #fff;
  text-align: center;
  margin-bottom: 3rem;
}

.faq-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #1F2A3C;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #1F2A3C;
  cursor: default;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: inherit;
}

.faq-answer {
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  transition: none !important;
}


.faq-answer.open {
  max-height: 500px; /* 内容量に応じて調整可能 */
  opacity: 1;
}

/* フッター */
.site-footer {
  background-color: #1F2A3C;
  color: #ffffff;
  padding: 1rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0.3rem 0;
  font-family: 'Noto Sans JP', sans-serif;
}
