/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --grad: linear-gradient(to right, #022E6B, #1A88D6);
  --blue-light: #E3ECFA;
  --blue-accent: #1A88D6;
  --blue-dark: #022E6B;
  --border: 1px solid #d7d9dc;
  --text: #344052;
  --serif:"Yu Mincho", "YuMincho", "Shippori Mincho", serif;
  --section-gap: 100px;
}

html { scroll-behavior: smooth; }

body {
      font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

/* ===== MAIN CONTAINER ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== P ===== */
p {
  font-size: 16px;
  text-align: justify;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 1.5em;
}
p:last-child { margin-bottom: 0; }

/* ===== H2 ===== */
h2 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUSINESS SECTIONS ===== */
.business-section {
  padding:  0;
}
.business-section:last-of-type { border-bottom: none; }

/* 奇数：テキスト左・画像右 */
.business-inner {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
	    padding-bottom: 160px;
	    padding-left: 158px;
	justify-content: space-between;
}
.biz-text {

}
/* ===== 02専用レイアウト：画像が左に突き出し、右に薄青ボックス ===== */


.business-section--overlap {
  padding: 0;
  position: relative;
  overflow: visible;
}
.biz-overlap-inner {
  display: flex;
  position: relative;
  min-height: 340px;
	    margin-bottom: 240px;
}
/* 右側の薄青テキストボックス：左55%から始まり右端まで */
.biz-overlap-bg {
position: absolute;
    left: 158px;
    right: 0;
    top: 105px;
    bottom: -80px;
    background: var(--blue-light);
    z-index: 0;
}
/* 左側の画像：コンテナをはみ出して左へ */
.biz-overlap-img {
  position: relative;
  z-index: 1;
    width: 640px;
  flex-shrink: 0;
  /* コンテナpaddingをキャンセルして左端へ */
    margin-left: 0;
}
.biz-overlap-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
/* 右側のテキストエリア */
.biz-overlap-text {
  position: relative;
  z-index: 1;
  flex: 1;
    padding: 165px 60px 60px 88px;
}

/* 番号 */
.biz-num {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.1em;
  margin-bottom: 13px;
  display: block;
  text-align: left;
}

/* 事業タイトル */
.biz-title {
  font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
  margin-bottom: 33px;
	display: inline-block;
  /* h2のグラデーションを継承 */
}

.biz-body p {
    font-size: 16px;
    line-height: 1.6;
}
.biz-body a {
    margin-top:34px;
	    position: relative;
}
.biz-body a i.fa.fa-external-link {
    position: absolute;
    right: 16px;
    font-size: 14px;
}
.biz-text {
    width: calc(100% - 720px);
}
/* ダミー画像 */
.biz-img {
  width: 640px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d0e4f5 0%, #b3cfe8 100%);
  overflow: hidden;
  position: relative;
}
.biz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ダミー用プレースホルダー */
.biz-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0bcd8;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 54px;
  position: relative;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  margin-top: 8px;
}
.btn:hover {
    opacity: 0.8;
    color: #fff;
}
.btn-text {
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding-right: 0;
}
/* 矢印アイコン */
.btn-arrow {
position: absolute;
    right: 20px;
    /* 右端から20pxの位置に固定 */
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}

/* ===== 4つの特徴 ===== */
.features-section {
  padding:  0;
  background: #fff;
	margin: 0 158px;
}
.features-heading {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 500;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  margin-bottom: 48px;
	display: inline-block;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--blue-light);
      padding: 40px 40px 35px;
  position: relative;
}
.feature-num {
      width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 13px;
	    position: relative;
}
.feature-num span{
    position: absolute;
    line-height: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -2px;
}
.feature-title {
font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.6;
    text-align: center;
}
.feature-body {
font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    text-align: justify;
    margin-bottom: 0;
}

/* ===== フッター上部CTA ===== */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}
.cta-block {
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 46, 107, 0.62);
  z-index: 1;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a4a8a 0%, #1A88D6 100%);
  z-index: 0;
}
/* ダミー背景画像の代替 */
.cta-block--recruit .cta-bg {
  background: linear-gradient(135deg, #0d2d5e 0%, #1a5ca0 100%);
}
.cta-block--contact .cta-bg {
  background: linear-gradient(135deg, #1a5ca0 0%, #2a9ad8 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.cta-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 0;
  text-align: left;
}

/* ===== PAGE FOOTER ===== */
.page-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
.biz-text {
    width: calc(100% - 560px);
}	
.biz-img {
    width: 500px;
	}
.biz-overlap-img {
    width: 500px;
}
.business-inner {
    padding-left: 80px;
}
.biz-overlap-bg {
    left: 80px;
    top: 80px;
    bottom: -40px;
}
.biz-overlap-text {
    padding: 140px 60px 60px 60px;
}
.features-section{
    margin: 0 80px;
}
}
@media (max-width: 1100px) {
	.tablet_on{
		display:block;
	}
	.tablet_off{
		display:none;
	}
}
@media (max-width: 940px) {
.biz-text {
    width: calc(100% - 460px);
}
.biz-img {
    width: 400px;
	}
.biz-overlap-img {
    width: 400px;
}

}
@media (max-width: 767px) {
  :root { --section-gap: 56px; }

  .container { padding: 0 20px; }

  h2 { font-size: 32px; }

  /* 01・03：画像が上・テキストが下の縦積み */
  .business-inner {
    grid-template-columns: 1fr;
    gap: 33px;
	padding-left: 20px;
	  padding-bottom: 80px;
	  display: grid;
	  
  }
  .biz-text{
        order: 2;
        padding-right: 20px;
	  width: 100%;
        box-sizing: border-box;
    }
  .biz-img  {
        order: 1;
        width: 100%;
    }
.biz-title {
    margin-bottom: 23px;
}
  /* 02専用レイアウト SP */
  .business-section--overlap {
    padding: 0;
  }
  .biz-overlap-inner {
    flex-direction: column;
    min-height: auto;
	  margin-bottom: 80px;
  }
  .biz-overlap-bg {
        width: 100%;
        top: 40px;
        left: 0;
        height: 80%;
  }
  .biz-overlap-img {
    width: 100%;
    margin-left: 0;
    padding: 0 20px 0 0;
  }
  .biz-overlap-img img {
    aspect-ratio: 4 / 3;
  }
  .biz-overlap-text {
    padding: 32px 20px 40px;
    background: var(--blue-light);
    width: 100%;
  }

  /* 4つの特徴：1カラム */
  .features-heading { font-size: 32px; margin-bottom: 30px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 40px 20px 35px }

  /* CTA：縦積み */
  .cta-section { grid-template-columns: 1fr; }
  .cta-block { min-height: 180px; padding: 32px 24px; }
  .cta-title { font-size: 28px; }
.bottom-nav .nav-card p {
    color: #fff;
}
    .greeting-section {
        padding: 77px 0 0;
        margin-bottom: 80px;
    }
	    .features-section {
        margin: 0 20px;
    }
}