/* === リセットと基本 === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
  background: #F7F7F8;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
	  opacity: .7;
}
p {
	font-size: 18px;
}
h2 {
  font-size: 42px;
}
h3 {
	font-size: 26px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === ヘッダー === */
.site-header {
  background: #000;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* デフォルト（PC）メニュー */
.nav {
  display: block;
  position: relative;
}
.nav ul {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  list-style: none;
}
.nav a {
  color: #fff;
  text-align: center;
  font-weight: bold;
}
.nav a span {
  font-size: 0.75rem;
  display: block;
  opacity: 0.6;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
}
  .close-btn {
    display: none;
  }
/* === Hero === */
.hero {
  background: url("img/heroview-img.jpg") center center / cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
}
.hero-text {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.8rem;
  color: #fff;
  max-width: 730px;
}
.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.top-title {
    font-size:1.5rem;
    line-height:1rem;
}
/* === セクション共通 === */
.section {
  padding: 5rem 1rem 0 1rem;
}
.section-title {
  font-size: 42px;
}
.line {
  width: 2px;
  height: 46px;
  background: #000;
  margin: 1rem 3rem;
}
.lead {
  font-weight: bold;
  margin-bottom: 1rem;
}
.section-lead {
  margin-bottom: 2rem;
}

/* === レイアウト === */
.two-column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 5rem;
  flex-direction: row;
}
.two-column.reverse {
  flex-direction: row-reverse;
}
.text-block, .image-block {
  flex: 1;
}
.image-block img {
	width: 100vh;
}
/* === SERVICE === */
.dark-section {
  background: #0b0a1b;
  color: #fff;
}
.service .container{
	padding-bottom: 4rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.service-card {
  position: relative;
}
.service-card .overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: bold;
}

/*=== SERVICE PAGE=== */
/* ビジュアル */
.sub-visual {
  position: relative;
  height: 50vh;
  background: url("img/sub-img.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sub-visual-inner {
  padding: 2rem;
  text-align: center;
  color: #fff;
}
.sub-visual h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.sub-visual h3 {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* パンくず */
.breadcrumb {
  font-size: 0.9rem;
  padding: 1rem 1rem 0;
}

/* サービス本文 */
.service-description {
	margin-bottom: 60px;
}
.service-content {
  padding: 4rem 1rem;
  background: #fff;
}
.service-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}
.service-block.reverse {
  flex-direction: row-reverse;
}
.text-block h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.text-block p {
  margin-bottom: 1rem;
}
/* モーダル全体 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* モーダル内コンテンツ */
.modal-content {
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}

/* 閉じるボタン */
.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
}

/* ギャラリー画像グリッド */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1fr, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-grid img {
  width: 100%;
  border-radius: 6px;
  transition: transform 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* companey */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.info-table th, .info-table td {
  padding: 1rem;
  border-bottom: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  font-weight: bold;
  width: 180px;
  white-space: nowrap;
}

/* 取引先会社リスト */
.client-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.client-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

/* === COMPANY & RECRUIT === */
.align-right {
  text-align: right;
  margin-top: 2rem;
}
.view-more {
  font-weight: bold;
  border-bottom: 2px solid;
	    display: inline-block;
    padding-top: 3rem;
}
/* RECRUIT専用セクションの余白や区切り */
.recruit-message,
.recruit-detail,
.recruit-apply {
  padding-bottom: 4rem;
  border-bottom: 1px solid #ccc;
}
.recruit-detail p,
.recruit-apply p {
  line-height: 1.7;
}
.recruit-apply li .oubo {
	border-bottom: none;
}
/* === CONTACT === */
.contact-image img {
  width: 100%;
}
.contact-text {
  text-align: center;
  padding: 4rem 1rem;
}
.btn.black {
  background: #000;
  color: #fff;
	max-width: 100%;
  padding: 1rem 10rem;
  display: inline-block;
  margin-top: 1rem;
}

/* === FOOTER === */
.site-footer {
  background: #000;
  color: #fff;
  padding: 2rem 1rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-nav ul {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
  margin-top: 1rem;
}
.footer-nav a {
  color: #fff;
  font-size: 0.9rem;
}

/* === レスポンシブ === */
@media screen and (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #000;
    transition: right 0.6s ease;
    padding: 5rem 1rem 1rem;
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    display: flex;
    gap: 1.5rem;
  }
	.nav a span {
		text-align: left;
	}
  .close-btn {
	 display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger {
    display: flex;
  }

  .two-column {
    flex-direction: column !important;
	      align-items: flex-start;
  }
	 .text-block {
    text-align: left;
    align-items: flex-start;
  }

  .two-column {

  }
.grid-2 {
    grid-template-columns: none;
}
.btn.black {
    padding: 1rem 5rem;
    display: inline-block;
    margin: 1rem;
}
	/* SERVICE pAGE*/
	 .service-block {
    flex-direction: column;
  }
  .service-block.reverse {
    flex-direction: column;
  }
	
/*FOOTER*/
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }
}