@charset "UTF-8";

/* --- 1. 変数設定（共通） --- */
:root {
  /* 変更点：少し明るく、透明感のある「技術屋ブルー」にしました */
  --primary: #38b1f2;       /* 明るめのセルリアンブルー（清潔感・水・知性） */
  --primary-hover: #84cbf4; /* ホバー時はさらに明るく */
  
  --dark: #111111;          /* ほぼ黒に近いグレー */
  --gray: #f4f4f4;          /* 背景用グレー */
  --text: #333333;          /* 本文色 */
  --white: #ffffff;
  
  --gold: #4DD0E1;       /* アクセント（明るいシアン・青焼き図面色） */
  --dark-bg: #2b2b2b;    /* 真っ黒すぎないダークグレー */
  --light-bg: #f4f4f4;   /* 落ち着いたライトグレー */
  --text-on-dark: #e0e0e0;
  
  --font-main: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
}

/* --- 2. リセット & 基本設定 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #fff;
  font-family: var(--font-main);
  scroll-behavior: smooth;
  color: #333;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; height: auto; vertical-align: bottom; }
ul { list-style: none; }

/* --- 3. 共通レイアウトクラス --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-gray { background-color: var(--gray); }
.bg-dark { background-color: var(--dark); color: var(--white); }

/* --- 4. 見出しデザイン --- */
.section-header { text-align: center; margin-bottom: 60px; }

.section-title-en {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title-jp {
  font-size: 32px;
  font-weight: 900;
  position: relative;
  padding-bottom: 20px;
}

.section-title-jp::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--primary);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* --- 5. ボタン --- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary);
  color: var(--white);
  font-weight: bold;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: 0.05em;
}
.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 130, 200, 0.3); /* 青い影 */
}

/* --- 6. ヘッダー (Right-Fit Style) --- */
.header {
  height: 80px;
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  top: 0;
  left: 0;
}

.header-inner {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 40px;
  padding-right: 0;
}

/* ロゴ */
.header-logo a { 
  font-family: "Oswald", sans-serif;
  font-size: 32px; 
  font-weight: 700; 
  letter-spacing: 0.05em; 
  color: var(--dark);
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* ナビゲーション */
.header-nav {
  margin-left: auto; 
  margin-right: 30px;
}

.header-nav ul { 
  display: flex; 
  gap: 25px; 
  align-items: center;
}

.header-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
}

.header-nav .jp {
  font-size: 14px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.header-nav .en {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: #999;
  letter-spacing: 0.05em;
  line-height: 1;
}

.header-nav li a:hover .jp { color: var(--primary); }
.header-nav li a:hover .en { color: var(--primary); }

/* PC用CTAボタンエリア */
.header-cta {
  display: flex;
  gap: 0; 
  height: 100%;
  align-items: center;
}

.cta-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80px;
  padding: 0 40px;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn .text {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.cta-btn .sub {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: bold;
  opacity: 0.8;
}

/* 募集要項ボタン（明るい青） */
.cta-btn.btn-recruit {
  background: var(--primary);
  color: #fff;
}
.cta-btn.btn-recruit:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* お問い合わせボタン（黒） */
.cta-btn.btn-contact {
  background: #000;
  color: #fff;
}
.cta-btn.btn-contact:hover {
  background: #333;
}

/* スマホ専用要素はPCで隠す */
.sp-cta-box { display: none; }


/* --- 7. フッター --- */
.footer { 
  background: #1a1a1a; 
  color: #ccc; 
  padding-top: 80px; 
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 60px !important;
  border-bottom: 1px solid #333;
}

.footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-address {
  font-size: 14px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: flex-end; 
  gap: 60px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.footer-links a {
  font-size: 14px;
  transition: 0.3s;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-action {
  text-align: right; 
}
.footer-action p {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--white);
  font-weight: bold;
  text-align: start;
}
.footer-btn {
  display: block;
  text-align: center;
  padding: 15px;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 14px;
  margin-left: auto;
}
.footer-btn.btn-recruit {
  background: var(--primary);
  color: var(--white);
}
.footer-btn.btn-contact {
  background: transparent;
  border: 1px solid #fff;
  color: var(--white);
}
.footer-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 11px;
  background: #111;
}
.footer-copy { margin-top: 0; }


/* --- 8. 下層ページ用ヘッダー --- */
.page-header {
  background: var(--dark-bg);
  background-image: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
  background-repeat: repeat;
  color: var(--white);
  padding: 180px 0 80px;
  text-align: center;
  margin-bottom: 0;
}

.page-header h1 {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.jp-subtitle {
  display: block;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
  color: var(--primary); /* ここも青に */
  letter-spacing: 0.05em;
  opacity: 0.9;
}


/* --- 9. スマホ対応 --- */
@media (max-width: 900px) {

  .header-inner { padding: 0 20px; }
  .header-cta { display: none; }
  
  .hamburger {
    display: block;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 9999;
  }
  .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: all 0.4s;
  }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 10px; }
  .hamburger span:nth-child(3) { bottom: 0; }

  .header.active .hamburger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .header.active .hamburger span:nth-child(2) { opacity: 0; }
  .header.active .hamburger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  .header-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    margin: 0;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 9000;
    overflow-y: auto;
  }
  
  .header.active .header-nav { opacity: 1; visibility: visible; }

  .header-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }
  
  .header-nav li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
  }
  .header.active .header-nav li { opacity: 1; transform: translateY(0); }
  
  .header.active .header-nav li:nth-child(1) { transition-delay: 0.1s; }
  .header.active .header-nav li:nth-child(2) { transition-delay: 0.15s; }
  .header.active .header-nav li:nth-child(3) { transition-delay: 0.2s; }
  .header.active .header-nav li:nth-child(4) { transition-delay: 0.25s; }
  .header.active .header-nav li:nth-child(5) { transition-delay: 0.3s; }
  .header.active .header-nav li:nth-child(6) { transition-delay: 0.35s; }

  .header-nav .jp { font-size: 18px; margin-bottom: 5px; }
  .header-nav .en { font-size: 12px; color: #ccc; }

  .sp-cta-box {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  .sp-btn {
    display: block;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    border-radius: 4px;
  }
  .sp-btn.btn-recruit { background: var(--primary); color: #fff; }
  .sp-btn.btn-contact { background: #000; color: #fff; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    gap: 30px;
  }
  .footer-links ul {
    text-align: left;
  }

  .footer-action { text-align: center; margin-bottom: 40px; }
  .footer-action p { text-align: center; }
  .footer-btn { margin-left: 0; margin: 0 auto 15px; }
}