html, body {
	height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* flexは削除 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ヘッダー */
header {
  background: #000;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
  box-sizing: border-box;
}

main {
  flex: 1;
}

.logo img {
  height: 50px; /* 基本サイズ */
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 13px;
}

/* ロゴホバー */
.logo img {
  height: 60px;
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.08);
}

/* ホバー */
nav a:hover {
  color: #4fc3f7;
}

.tel {
  margin-left: 20px;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
  color: #ffb400; 
}

/* ハンバーガー */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 1100; /* ←追加（最前面に） */
}

/* ファーストビュー */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 1s;
}

.slide.active {
  opacity: 1;
}

/* 暗転 */
.hero::after {
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  top:0;
  left:0;
}

/* テキスト */
.hero-text {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  left: 10%;
  color: #fff;
}

.hero-text h1 {
  font-size: 4vw;
  line-height: 1.3;
}

.sub1 {
  margin-top: 10px;
  font-size: 20px;
}

.sub2 {
  font-size: 12px;
  opacity: 0.8;
}

/* CTA */
.cta-area {
  margin-top: 30px;
}

.cta-btn {
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  background: linear-gradient(45deg, orange, gold);
  color: #000;
}

.cta-btn:hover {
  opacity: 0.85;
}

/* フッター */
footer {
  background: #000;
  color: #fff;
  padding: 40px 10%;
	margin-top: auto;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  color: #ccc;
}

.footer-menu a:hover {
  color: #4fc3f7;
}

.copy {
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 12px;
  color: #ccc;
}

/* 固定CTA */
.fixed-cta {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

.fixed-cta a {
  display: block;
  text-align: center;
  padding: 15px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  background: linear-gradient(45deg, orange, gold);
}

 /* ーーーーーーーースマホーーーーーーーーー */
@media (max-width: 950px){

  nav {
    display: flex; 
    flex-direction: column;
    background: #000;
    position: fixed;
    top: 70px;
    right: 0;
    width: 220px;
    z-index: 1500;

    transform: translateX(100%); 
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
  }

  nav.active {
    transform: translateX(0); 
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    display: block;
  width: 100%;
  padding: 16px 20px;
  margin: 0;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
  .hamburger {
    display: block;
  }

  nav a:hover {
    background: #111;
    color: #4fc3f7;
  }

  .hamburger {
    display: block;
  }

.hero-text h1 {
    font-size: 7vw;
  }
  

  .logo img {
    height: 40px;
  }
  
    .tel {
    display: none;
  }
  
  .page-bg-text {
    font-size: 100px !important;
    right: 0;
    bottom: -5px !important;
  }
  
  .col-2 {
    flex-direction: column !important;
	gap: 10px !important;
  }
	
  .problem-list,
  .problem-list li,
  .problem-list p {
    margin-bottom: 0;
  }

  
  .support-inner {
    flex-direction: column;
  }
  
  .job-list {
    grid-template-columns: 1fr; /* ←1列に戻す */
  }
	
	.solution3-box {
    padding: 100px 20px 30px !important;  /* ← 左余白を消す */
    text-align: center;
  }

  .solution3-person {
    position: absolute;
    top: -70px;
    left: 50% !important;              /* ← 強制中央 */
    transform: translateX(-50%) !important;
    width: 160px;
  }
	
	.fade-up {
    margin-bottom: 40px;  /* ← セクション間を詰める */
  }
	
	.greeting-inner {
    flex-direction: column;
  }

.flow-box {
    align-items: stretch; /* ←これが重要 */
  }

  .flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
  }
	
   /* コンテナ */
  .company-section {
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* 行 */
  .company-section .company-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding: 15px 0;
  }

  /* 左タイトル */
  .company-title {
    font-size: 14px;
    font-weight: bold;
    white-space: normal;
  }

  /* 右内容 */
  .company-content {
    font-size: 14px;
  }

  /* ライン（これだけでOK） */
  .company-section .company-row::after {
    width: 90px;
  }

 }

  
  /* ーーーーーーーー下層ページ追加ーーーーーーーーー */
  nav a.active {
  color: orange;
  font-size: 16px;
  font-weight: bold;
}

  .page-hero {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  margin-top: 70px; /* ←これだけでOK */
}

.page-hero::after {
  content: "";
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.4);
}

.page-bg-text {
  font-family: "EB Garamond", serif;
  position: absolute;
  right: 0;
  bottom: -10px;

  margin: 0;
  padding: 0;

  font-size: 180px;
  color: #fff;

  line-height: 0.8;
  display: block;

  pointer-events: none;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  flex: 1;
}

.page-copy {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
}

.page-copy h2 {
  margin: 0;
}

.line {
  height: 2px;
  background: orange;
  margin: 15px 0;
}

.lead-text {
  margin: 0 0 40px;
}

.page-content {
  padding: 0 10% 60px;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.page-content h3 {
  margin-top: 30px;
}

.problem-list li {
  color: orange;
  margin-bottom: 0;
}

.problem-list strong {
  font-weight: 700;
}

.problem-list p {
  color: #000;
  opacity: 0.8;
  margin-bottom: 0;
}

.one-message {
  text-align: center;
  max-width: 900px;
  margin: 10px auto 0;
  padding: 0 20px;
}

/* 小黒 */
.small-text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 大オレンジ */
.big-text {
  font-size: 26px;
  font-weight: 700;
  color: orange;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* 中黒 */
.medium-text {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* 下向き三角 */
.arrow {
  font-size: 60px;
  color: orange;
  line-height: 1;
  margin-bottom: 20px;
}

.solution-box {
  width: 100%;
  border: 2px solid #4fc3f7;
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  margin-bottom: 20px;
}

.solution-text {
  color: #4fc3f7;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
}

.solution2-box {
  width: 100%;
  border: 2px solid #4fc3f7;
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
  background: #4fc3f7;
  margin-bottom: 20px;
  border-radius: 6px; /* ←少しだけ柔らかく */
}

.solution2-text {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

.solution2-subtext {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-top: 10px;
  line-height: 1.7;
}

.solution3-box {
  position: relative;   /* ← これ絶対必要 */
  background: #000;
  padding: 40px 40px 40px 220px;
  margin: 80px 0 20px;
  overflow: visible;
}

/* 人物（PC） */
.solution3-person {
  position: absolute;
  left: 40px;
  bottom: 0;
  width: 220px;
  z-index: 1;   /* ← テキストより後ろに */
}

.solution3-text {
  color: #f5a623;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.solution3-subtext {
  color: #fff;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.support-section {
  padding: 0px 20px;
  margin-bottom: 20px;
}

.support-inner {
  display: flex;
  gap: 40px;
  width: 100%;
  margin: 0; 
}

.support-col {
  flex: 1;
  background: #dcdcdc;
  padding: 25px;
  border-radius: 6px;
}

.support-col h3 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.support-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.support-col li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* チェックマーク風 */
.support-col li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4fc3f7;
  font-size: 12px;
}

/* 対応職種一覧 */

.job-list-box {
  padding: 25px 20px 40px;
}

.job-list-section {
  padding: 30px 20px;
  text-align: center;
}

.section-title {
  font-size: 24px;
  margin: 0 0 20px;
}

.job-list {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.job-card {
  flex: 1 1 calc(50% - 20px);
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.job-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  color: #4fc3f7;
}

.job-card ul {
  padding-left: 18px;
  margin: 0;
}

.job-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.job-note {
  margin-top: 30px;
  font-size: 13px;
  color: #666;
}

.job-subtext {
  font-size: 14px;
  color: #333;
  margin-top: 0px;
  margin-bottom: 30px;
  font-weight: 500;
}

.job-list-box {
  background: #e3f2fd; /* 薄い青（おすすめ） */
  padding: 40px 20px;
  border-radius: 8px;
}

/* フェードアップ */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.2s; /* ←これ追加 */
}

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

.fade-up.fast {
  transition: 0.5s ease;
}

.fade-up:last-child {
  margin-bottom: 60px;
}

/* 2カラム */
.col-2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex; 
  gap: 60px;
  box-sizing: border-box;
  align-items: center;
}

.col-2.reverse {
  flex-direction: row-reverse;
}


.col-text {
  flex: 1;
}

/* リスト */
.problem-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.problem-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.problem-list strong {
  font-size: 22px;
  display: block;     /* ← 改行＋安定 */
  margin-bottom: 5px;
}

.problem-list .num {
  color: orange;
  font-size: 22px;
  font-weight: bold;
}

/* 右 */
.col-image {
  flex: 1;
}

.col-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.greeting-section {
  padding: 60px 20px;
}

/* ーーーーーーーー代表あいさつーーーーーーー */
.greeting-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  gap: 40px;

  align-items: flex-start; /* ←上揃え */
}

/* 左：4 */
.greeting-img {
  flex: 4;
}

.greeting-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* 右：6 */
.greeting-text {
  flex: 6;
}

.greeting-text h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.greeting-text p {
  font-size: 16px;
  line-height: 1.8;
}

.ceo-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.ceo-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* ーーーーーーーーFlowページーーーーーーー */
.flow-section {
  max-width: 1000px;
  margin: 0 auto;
}

/* ボックス */
.flow-box {
  display: flex;
  border: 2px solid #4fc3f7;
  align-items: stretch;
  padding: 0; /* ←これ追加 or 確認 */
}

/* 左の番号 */
.flow-num {
  background: #4fc3f7;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  width: 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  height: auto;
  min-height: 100%;
}

/* 右のテキスト */
.flow-content {
  padding: 20px;
}

.flow-content h3 {
  color: #4fc3f7;
  margin: 0 0 5px 0;
  font-size: 22px;
}

.flow-content p {
  margin: 0;
  font-size: 18px;
}

/* 矢印 */
.flow-arrow {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid orange;
  margin: 20px auto;
}

.flow-item:nth-child(1) { transition-delay: 0.1s; }
.flow-item:nth-child(2) { transition-delay: 0.2s; }
.flow-item:nth-child(3) { transition-delay: 0.3s; }
.flow-item:nth-child(4) { transition-delay: 0.4s; }
.flow-item:nth-child(5) { transition-delay: 0.5s; }
.flow-item:nth-child(6) { transition-delay: 0.6s; }

/* ーーーーーーーー会社概要ーーーーーーー */
.company-section {
  max-width: 1000px;
  margin: 0 auto;
}

/* 1行 */
.company-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 0;
  position: relative;
}

/* 左タイトル */
.company-title {
  color: #f39c12;
  font-weight: bold;
}

/* グレーライン（下地） */
.company-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ddd;
}

/* オレンジライン（上） */
.company-row::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 2px;
  background: #f39c12;
}

/* 右内容 */
.company-content {
  color: #333;
  line-height: 1.8;
}

/* ーーーーーーーーQAページーーーーーーー */
.qa-item {
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
}

.qa-question {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.qa-q {
  background: orange;
  color: #fff;
  font-weight: bold;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 24px;
}

.qa-question p {
  font-size: 20px;
  margin: 0;
}

/* ---アンサー --- */
.qa-answer {
  display: flex;
  margin-top: 15px;
  margin-left: 75px;
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease;
}

/* 開いたとき */
.qa-item.active .qa-answer {
  max-height: 300px; /* 中身に応じて調整 */
}

/* Aデザイン */
.qa-a {
  color: #4fc3f7;
  font-size: 32px;
  margin-right: 15px;
}

.qa-text p {
  margin: 5px 0;
}

/* ーーーーーーーーメールフォームーーーーーーー */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: orange;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
	margin-bottom: 20px;
}

.contact-form button:hover {
  opacity: 0.8;
}

