/*
Theme Name: First Step Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: first-step-theme
*/

html {
  scroll-behavior: smooth;
}

/* 共通設定 */
body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  color: #000;
  line-height: 1.6;
  background-color: #fff;
}

h1,
h2 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.logo img {
  max-width: 100px;
  height: auto;
  background-color: transparent;
  margin-top: 10px;
}

/* ナビゲーション */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /*background-color: #0052cc;*/
  background-color: #013A6A;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(165, 208, 26, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px 40px;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* ハンバーガーアイコン */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* メインビジュアル */
.main-visual {
  background-image: url('img/main_visual.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-content {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.header-content h1 {
  font-size: 2.5rem;
  line-height: 1.4;
  font-weight: bold;
}

.header-content p {
  font-size: 1.5rem;
  margin-top: 15px;
}

.button-group {
  margin-top: 25px;
}

.button-group a {
  margin: 10px 20px;
}

.blue-button {
  background-color: #013A6A;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* 特徴セクション */
.features {
  padding: 60px 20px;
  text-align: center;
}

.features h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.features-container {
  display: flex;
  justify-content: center;
  gap: 92px;
  flex-wrap: wrap;
  padding: 0px;
}

.feature-box {
  max-width: 350px;
  text-align: center;
}

.feature-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 5px;
}

.feature-box p {
  margin-bottom: 30px;
  font-size: 1rem;
}

/* CTAリンク */
.cta-container {
  display: flex;
  justify-content: center;
  gap: 95px;
  flex-wrap: wrap;
}

.cta-links-company,
.cta-links-recruiter,
.cta-links-student {
  border: 2px solid;
  border-image: linear-gradient(360deg, #013A6A, #3a7bd5) 1;
  color: #013A6A;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.cta-links-company p,
.cta-links-recruiter p,
.cta-links-student p {
  margin: 0px;
  font-weight: normal;
  color: #000;
}

/* 導入の流れ */
.flow {
  background-color: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.flow h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  font-weight: bold;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
}

.step-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.arrow {
  font-size: 2rem;
  color: #333;
}

/* フッター */
.footer {
  padding: 30px 20px;
  background-color: #fff;
  border-top: 1px solid #ccc;
  text-align: center;
  font-size: 0.9rem;
}

.footer h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.footer-box {
  font-family: "Helvetica Neue", sans-serif;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid;
  border-radius: 12px;
  border-image: linear-gradient(360deg, #013A6A, #3a7bd5) 1;
  padding: 20px;
  text-align: left;
  gap: 0px;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 400px;
}

.footer-left p,
.footer-right p {
  margin: 5px 0;
}

/* ======================
   会社概要ページ専用スタイル
   ====================== */
.about-page {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Helvetica Neue", sans-serif;
  color: #333;
}

.about-page h1.page-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #013A6A;
}

.about-page section {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.about-page section:hover {
  transform: translateY(-5px);
}

.about-page h2 {
  font-size: 1.8rem;
  color: #013A6A;
  position: sticky;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.about-page h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: #013A6A;
  border-radius: 2px;
}

.about-page ul,
.about-page ol {
  margin-left: 20px;
}

.about-page ol li {
  margin-bottom: 15px;
  padding-left: 0;
  list-style: none;
  /* デフォルト数字を消す */
}

.executives {
  gap: 0px;
}

.executives li {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0px;
  flex: 1 1 250px;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.executives li:hover {
  transform: translateY(-5px);
}

.executives li strong {
  display: block;
  margin-bottom: 10px;
  color: #013A6A;
  font-size: 1.1rem;
}

.blue-button {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(90deg, #013A6A, #3a7bd5);
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
}

.blue-button:hover {
  background: linear-gradient(90deg, #3a7bd5, #013A6A);
  transform: translateY(-3px);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    padding: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #013A6A;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    align-items: flex-start;
    padding: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: left;
    padding: 10px 20px;
  }

  .features-container,
  .cta-container,
  .flow-steps,
  .footer-box {
    flex-direction: column;
    align-items: center;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .blue-button {
    display: block;
    margin: 10px auto;
  }

  .about-page {
    padding: 80px 15px;
  }

  .executives {
    flex-direction: column;
    gap: 15px;
  }

  .about-page section {
    padding: 20px 15px;
  }

  .about-page h1.page-title {
    font-size: 1.8rem;
  }

  /* ======================
   求職者登録ページ専用スタイル
   ====================== */
  .jobseeker-page {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Helvetica Neue", sans-serif;
    color: #333;
  }

  .jobseeker-page h1.page-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #013A6A;
  }

  .jobseeker-page section {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
  }

  .jobseeker-page section:hover {
    transform: translateY(-5px);
  }

  .jobseeker-page h2 {
    font-size: 1.8rem;
    color: #013A6A;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
  }

  .jobseeker-page h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #013A6A;
    border-radius: 2px;
  }

  .jobseeker-page ul,
  .jobseeker-page ol {
    margin-left: 20px;
    padding-left: 10px;
  }

  .jobseeker-page ol li,
  .jobseeker-page ul li {
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .jobseeker-page .faq ol {
    margin-left: 25px;
    padding-left: 15px;
    list-style: decimal;
  }

  .jobseeker-page .faq ol li {
    margin-bottom: 18px;
    line-height: 1.7;
  }

  .jobseeker-page .faq ol li strong {
    color: #013A6A;
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
  }

  .jobseeker-page .contact-links {
    text-align: center;
    margin-top: 40px;
  }

  .jobseeker-page .contact-links a {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(90deg, #013A6A, #3a7bd5);
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    margin: 10px;
  }

  .jobseeker-page .contact-links a:hover {
    background: linear-gradient(90deg, #3a7bd5, #013A6A);
    transform: translateY(-3px);
  }

  .jobseeker-page .contact-links p {
    margin-top: 15px;
    font-size: 1rem;
  }

  /* レスポンシブ調整 */
  @media (max-width: 768px) {
    .jobseeker-page {
      padding: 80px 15px;
    }

    .jobseeker-page h1.page-title {
      font-size: 1.8rem;
    }

    .jobseeker-page section {
      padding: 20px 15px;
    }
  }

  .popup {
    display: none; /* 初期は非表示 */
    position: fixed; /* 画面全体に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* 半透明背景 */
    justify-content: center; /* 中央寄せ */
    align-items: center;     /* 中央寄せ */
    z-index: 9999;
    display: flex; /* 表示時に flex で中央に */
  }
  
  .popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
  }
  
  #entryForm label {
    font-family: "Helvetica Neue", sans-serif;
    color: #333;
      display: block;
    margin-top: 10px;
  }
  
  #entryForm input,
  #entryForm textarea {
    font-family: "Helvetica Neue", sans-serif;
    color: #333;
    width: 100%;
    padding: 5px;
    margin-top: 5px;
  }

  .about-page .note {
    margin-top: 10px;
    font-weight: bold;
    color: #d9534f;
  }  
  
}