/* メインスタイル */

/* 共通スタイル */
:root {
  --primary-color: #2196f3;
  --secondary-color: #ffeb3b;
  --text-color: #333333;
  --light-bg: #f5f7fa;
  --dark-bg: #2c3e50;
  --accent-color: #03a9f4;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 70px;
}

.logo img {
  height: 100%;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-item a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-item a:hover {
  color: var(--primary-color);
}

.nav-item a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* ヒーローセクション */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #555;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-color);
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* セクション共通 */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  color: var(--text-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

/* 会社概要 */
.about-section {
  background-color: var(--light-bg);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.company-profile-simple {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.profile-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 0;
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-label {
  width: 30%;
  font-weight: 600;
  color: var(--text-color);
  padding-right: 15px;
  background-color: rgba(255, 235, 59, 0.1);
  padding: 15px;
}

.profile-value {
  width: 70%;
  color: #333;
  padding: 15px;
  background-color: white;
}

@media (max-width: 768px) {
  .profile-row {
    flex-direction: column;
  }
  
  .profile-label, .profile-value {
    width: 100%;
  }
}

.about-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.about-table th, .about-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
  vertical-align: middle;
}

.about-table th {
  width: 30%;
  color: var(--text-color);
  font-weight: 600;
  background-color: rgba(255, 235, 59, 0.1);
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

/* サービス */
.services-section {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: none;
}

.service-card:hover {
  transform: none;
  box-shadow: var(--box-shadow);
}

.service-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.service-content {
  margin-bottom: 20px;
  color: #555;
}

.service-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.service-more:hover {
  color: var(--secondary-color);
}

/* 理念・ビジョン */
.philosophy {
  background-color: var(--light-bg);
  text-align: center;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-subtitle {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.philosophy-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.philosophy-description {
  margin-bottom: 40px;
  color: #555;
}

.philosophy-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.keyword {
  background-color: var(--secondary-color);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.keyword:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

/* 採用情報 */
.recruit-section {
  background-color: white;
}

.recruit-subtitle {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-color);
}

.position-title {
  font-size: 1.3rem;
  margin: 30px 0 20px;
  color: var(--text-color);
}

.position-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.position-card {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.position-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.requirements-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
  text-align: center;
  list-style-position: inside;
}

.requirements-list li {
  margin-bottom: 10px;
  color: #555;
}

.process-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  width: 18%;
  min-width: 150px;
  text-align: center;
  margin-bottom: 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  font-weight: 600;
}

.step-content {
  color: #555;
}

.recruit-cta {
  text-align: center;
  margin-top: 50px;
}

/* お知らせ */
.news-section {
  background-color: var(--light-bg);
}

.news-list {
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  transition: var(--transition);
}

.news-item:hover {
  background-color: rgba(33, 150, 243, 0.05);
}

.news-date {
  width: 120px;
  color: #777;
}

.news-category {
  width: 100px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.news-title {
  flex: 1;
  margin-left: 20px;
  color: var(--text-color);
}

.news-more {
  text-align: center;
}

/* お問い合わせ */
.contact-section {
  background-color: white;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-form-container {
  flex: 2;
  min-width: 300px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

.required {
  color: var(--error-color);
}

.privacy-agreement {
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-agreement input {
  width: auto;
}

.form-submit {
  margin-top: 30px;
}

.contact-address {
  margin-bottom: 30px;
}

.contact-address h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.map-placeholder {
  height: 200px;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #555;
  cursor: pointer;
  transition: var(--transition);
}

.map-placeholder:hover {
  background-color: #e4e8f0;
}

.map-icon {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* フッター */
.footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-info {
  flex: 2;
  min-width: 300px;
}

.footer-logo {
  margin-bottom: 20px;
  height: 50px;
}

.footer-logo img {
  height: 100%;
  filter: brightness(0) invert(1);
}

.footer-links {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  margin-right: 20px;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .process-step {
    width: 45%;
  }
  
  .about-content, .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .process-step {
    width: 100%;
  }
  
  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .news-category, .news-title {
    margin-left: 0;
    margin-top: 5px;
  }
}

/* フッターテキストロゴスタイル */
.footer-logo {
  margin-bottom: 20px;
}

.footer-text-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
