@charset "utf-8";
.blueline {
  position: relative;
  display: inline-block;
  color: #3781CD;
  padding-bottom: 10px;
  margin: 0;
}
.blueline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  background: #3781CD;
}
.cate6 .boxitem1 {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
}
/* 左：画像 */
.cate6 .boxitem1 .imgbox {
  flex: 0 0 50%;
  overflow: hidden;
}
.cate6 .boxitem1 .imgbox img {
  width: 100%;
  height: auto; /* ✅ 比率固定なし */
  display: block;
  object-fit: contain;
}
/* 右：テキスト */
.cate6 .boxitem1 .txtbox {
  flex: 1;
  text-align: left;
}
.cate6 .boxitem1 .txtbox p {
  line-height: 1.6;
}
@media (max-width: 768px) {
  .cate6 .boxitem1 {
    flex-direction: column;
  }
  .cate6 .boxitem1 .imgbox {
    max-width: 500px;
  }
}
.gallerybox .imgboxwrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
/* 画像比率を揃える（任意） */
.gallerybox .imgbox {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallerybox .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* レスポンシブ */
@media (max-width: 768px) {
  .gallerybox .imgboxwrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cate3 {
  background-image: url("https://ru-techno.co.jp/system_panel/uploads/images/aboutbg2.jpg"); /* パスは合わせて変更 */
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
  padding-bottom: clamp(40px, 6vw, 100px);
}
.boxwrap1 {
  gap: clamp(30px, 8vw, 100px);
}
.boxwrap1 .boxitem1 {
  display: flex;
  align-items: center;width: 100%; 
}
/* 左：画像 */
.boxwrap1 .boxitem1 .imgbox {
  flex: 0 0 45%;
  aspect-ratio: 96 / 60; /* ✅ 指定比率 */
  overflow: hidden;
  position: relative;
}
.boxwrap1 .boxitem1 .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.boxwrap1 .boxitem1 .txtbox {
  flex: 1;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.boxwrap1 .boxitem1 .txtbox > * {
  position: relative;
  z-index: 1;
}
.boxwrap1 .boxitem1 .txtbox p {
  font-weight: 400;
}
/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .boxwrap1 .boxitem1 {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .boxwrap1 .boxitem1 .imgbox {
    flex-basis: auto;
    width: 100%;
  }
  .boxwrap1 .boxitem1 .txtbox {
    width: 100%;
  }
}
.main-wrap .cate_wrap {
  background-image: url("https://ru-techno.co.jp/system_panel/uploads/images/aboutbg1.jpg"); /* パスは合わせて変更 */
  background-repeat: no-repeat;
  background-position: center -100px;
  background-size: contain; /* 画面幅に合わせて拡大縮小 */
}
.column3_e .boxwrap {
  --gap: clamp(24px, 4vw, 60px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: center; /* 2列の時に中央寄せ */
}
/* 自動で折り返して2列→1列になる */
.column3_e .card1 {
  flex: 1 1 clamp(320px, 30%, 360px); /* ←ここがポイント */
  max-width: 420px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: clamp(28px, 4vw, 48px) clamp(28px, 3vw, 36px) clamp(50px, 4vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}
.column3_e .card1 p {
  text-align: left;
}
/* 画像（アイコン枠） */
.column3_e .imgbox {
  width: clamp(120px, 8vw, 160px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.column3_e .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.column3_e .txtbox {
  width: 100%;
}
.column3_e .title {
  margin: 0 0 14px;
  letter-spacing: .02em;
}
.column3_e .txtbox p {
  margin: 0;
  line-height: 2;
  color: #666;
}
.about1 {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 45vw, 620px);
  display: flex;
  align-items: center;
}
/* 画像エリア（左80%） */
.about1 .imgbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
/* 画像 */
.about1 .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
/* 青グラデ（オーバーレイ） */
.about1 .imgbox::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #C0DAF0 0%, #A7D0EC 30%, #7DBFE5 40%, #005B95 60%, #005B95 100%);
  mix-blend-mode: overlay;
}
.about1 .imgbox::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.7) 55%, rgba(255, 255, 255, 0.95) 80%, rgba(255, 255, 255, 1) 100%);
}
/* 右側の白パネル（テキスト） */
.about1 .txtbox {
  position: relative;
  z-index: 3;
  margin-left: auto;
  margin-right: 8%;
  width: min(700px, 52%);
  padding: clamp(70px, 8vw, 120px) clamp(26px, 4vw, 48px) clamp(50px, 4vw, 100px);
  backdrop-filter: blur(2px);
}
/* タイトル（青） */
.about1 .ttl {
  margin: 0 0 18px;
  color: #2f8be6;
}
/* 本文は左揃え */
.about1 .txtbox p {
  margin: 0;
  text-align: left;
  line-height: 2;
}
/* 署名（右下） */
.about1 .signature {
  margin-top: clamp(24px, 4vw, 50px);
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  align-items: baseline;
  text-align: right;
}
.about1 .signature p {
  margin: 0;
}
/* 768px以下：縦並びに */
@media (max-width: 768px) {
  .about1 {
    min-height: auto;
  }
  .about1 .txtbox {
    width: 100%;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.4);
    margin-right: 0;
  }
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px) {}