@charset "UTF-8";
/* ===================== _variables ===================== */
/* ===================== _mixin ===================== */
/* ===================== 基本設定 _base ===================== */
body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #fff;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-size: 16px;
}
@media screen and (min-width: 1921px) {
  html, body {
    font-size: 18px;
  }
}
@media screen and (max-width: 1024px) {
  html, body {
    font-size: 15px;
  }
}
@media screen and (max-width: 768px) {
  html, body {
    font-size: 15px;
  }
}

a {
  text-decoration: none;
}

/* ===================== _components ===================== */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0078d7;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.button:hover {
  background-color: rgb(0, 91.5348837209, 164);
}

/* ===================== タイトル・テキスト類 ===================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===================== カード背景のみ個別指定 - ドット柄+グラデーション ===================== */
.card-information,
.card-news,
.card-service01,
.card-service02,
.card-service03,
.card-company,
.card-partner,
.card-guga {
  position: relative;
}

.card-information::before,
.card-news::before,
.card-company::before,
.card-partner::before,
.card-guga::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.15) 10%, transparent 10%);
  background-size: 20px 20px;
  pointer-events: none; /* クリックを邪魔しない */
}

.card-service01::before,
.card-service02::before,
.card-service03::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.35) 10%, transparent 10%);
  background-size: 20px 20px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.card-main {
  background: linear-gradient(to bottom, #2e2e2e, #141b2e);
}

.card-pickup,
.card-works {
  background-image: url(../images-main/pick-bg-line.png), url(../images-main/pick-bg-Ltop.png), url(../images-main/pick-bg-Rbottom.png);
  background-repeat: repeat, no-repeat, no-repeat;
  background-position: left top, left top, right bottom;
  background-size: 200px auto, 1000px auto, 1000px auto;
  background-color: #fff;
}
@media screen and (max-width: 1280px) {
  .card-pickup,
  .card-works {
    background-size: 180px auto, 600px auto, 600px auto;
  }
}

.card-service01 {
  background: linear-gradient(to bottom, #00cfff, #0066ff);
}

.card-service02 {
  background: linear-gradient(to bottom, #ff3399, #3366ff);
}

.card-service03 {
  background: linear-gradient(to bottom, #ffc400, #ff4d4d);
}

.card-information {
  background: linear-gradient(to bottom, #001a3f, #010001);
}

.card-news {
  background: linear-gradient(to bottom, #001a3f, #010001);
}

.card-company {
  background: linear-gradient(to bottom, #001a3f, #010001);
}

.card-partner {
  background: linear-gradient(to bottom, #115fad, #082b4f);
}

.card-guga {
  background: linear-gradient(to bottom, #178290, #193C4B);
}

.card-serviceZept-BG {
  background-image: url(../images-main/serviceZept-Ltop.png), url(../images-main/serviceZept-Rbottom.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right bottom;
  background-size: 1000px auto, 1000px auto;
  background-color: #fff;
}
@media screen and (max-width: 1280px) {
  .card-serviceZept-BG {
    background-size: 600px auto, 600px auto;
  }
}

.card-serviceZeptSystems-BG {
  background-image: url(../images-BG/top-left.png), url(../images-BG/top-right.png), url(../images-BG/bottom-left.png), url(../images-BG/bottom-right.png), url(../images-BG/all.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-y;
  background-position: left top, right top, left bottom, right bottom, center;
  background-size: 50vw, 50vw, 50vw, 50vw, 100vw;
  background-color: #000000;
}

/* ===================== _layout ===================== */
.swiper,
.swiper-wrapper,
.swiper-slide {
  height: 100vh;
  position: relative;
}

/* 1枚目・内容 ********************************************************************************************************************************/
/* ===================== メインビジュアル：swiper-slideの中にある中央配置用ボックス ===================== */
.main-visual-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100vh;
}

/* 2枚目・内容 ********************************************************************************************************************************/
/* ===================== 特集 ：swiper-slideの中にある中央配置用ボックス ===================== */
.feature-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
  width: 100%;
  max-width: 2200px;
  height: -moz-min-content;
  height: min-content;
  /* 1920px */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1921px) {
  .feature-wrap {
    gap: 25px;
  }
}
@media screen and (max-width: 1920px) {
  .feature-wrap {
    max-width: 1500px;
  }
}
@media screen and (max-width: 1280px) {
  .feature-wrap {
    max-width: 1100px;
  }
}
@media screen and (max-height: 900px) {
  .feature-wrap {
    max-width: 1100px;
  }
}
@media screen and (max-height: 700px) {
  .feature-wrap {
    max-width: 950px;
    gap: 10px;
  }
}

/* 3-5枚目・内容 ********************************************************************************************************************************/
/* ===================== Service ：swiper-slideの中にある中央配置用ボックス ===================== */
/* グリッドレイアウト：3列 */
.service-wrap {
  justify-content: center;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1500px;
  height: -moz-min-content;
  height: min-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 1024px縦 */
  /* 1920px */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .service-wrap {
    max-width: 810px;
  }
}
@media screen and (min-width: 1921px) {
  .service-wrap {
    max-width: 1600px;
  }
}

/* 6枚目・内容 ********************************************************************************************************************************/
/* ===================== WORKS ：swiper-slideの中にある中央配置用ボックス ===================== */
.three-split-screen-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 10;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .three-split-screen-wrap {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

/* 7-8枚目・内容 ********************************************************************************************************************************/
/* ===================== Information＆News ：swiper-slideの中にある中央配置用ボックス ===================== */
.article-wrap,
.articleNews-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 95%;
  max-width: 1380px;
  padding-left: 15px;
  padding-right: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1921px) {
  .article-wrap,
  .articleNews-wrap {
    width: 80%;
    max-width: 1600px;
  }
}
@media screen and (max-width: 1280px) {
  .article-wrap,
  .articleNews-wrap {
    max-width: 1100px;
  }
}

/* ===================== グリッドレイアウト（3列 → 2列） ===================== */
.article-box,
.articleNews-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* 1024px */
  /* 1920px */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .article-box,
  .articleNews-box {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
  }
}
@media screen and (min-width: 1921px) {
  .article-box,
  .articleNews-box {
    gap: 30px;
  }
}

/* 9・会社概要 ***********************************************************************************************************************/
.company-wrap {
  justify-content: center;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  height: -moz-min-content;
  height: min-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1440px) {
  .company-wrap {
    max-width: 1400px;
  }
}

/* 10枚目・パートナー ***********************************************************************************************************************/
.partner-wrap {
  justify-content: center;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  height: -moz-min-content;
  height: min-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1280px) {
  .partner-wrap {
    max-width: 1400px;
  }
}

/* 11枚目・会社概要 ***********************************************************************************************************************/
.guga-wrap {
  justify-content: center;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1200px;
  height: -moz-min-content;
  height: min-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1280px) {
  .guga-wrap {
    max-width: 1400px;
  }
}

/* ===================== _pages-1-main ===================== */
/* 1枚目・内容 ********************************************************************************************************************************/
/* ===================== 各ビジュアルボックス（1〜4） ===================== */
.visual-box {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box1 {
  width: 64%;
  height: 58vh;
  background-image: url(../images-main/mainVisual-1.jpg);
  /* 1440px */
  /* 1280px */
}
@media screen and (max-width: 1440px) {
  .box1 {
    width: 60%;
  }
}
@media screen and (max-width: 1280px) {
  .box1 {
    width: 50%;
  }
}
@media screen and (max-width: 1366px) and (orientation: landscape) {
  .box1 {
    height: 50vh;
  }
}

.box2 {
  width: 36%;
  height: 58vh;
  background-image: url(../images-main/mainVisual-2.jpg);
}
@media screen and (max-width: 1440px) {
  .box2 {
    width: 40%;
  }
}
@media screen and (max-width: 1280px) {
  .box2 {
    width: 50%;
  }
}
@media screen and (max-width: 1366px) and (orientation: landscape) {
  .box2 {
    height: 50vh;
  }
}

.box3 {
  width: 40%;
  height: 42vh;
  background-image: url(../images-main/mainVisual-3.jpg);
}
@media screen and (max-width: 1280px) {
  .box3 {
    width: 50%;
  }
}
@media screen and (max-width: 1366px) and (orientation: landscape) {
  .box3 {
    height: 50vh;
  }
}

.box4 {
  width: 60%;
  height: 42vh;
  background-image: url(../images-main/mainVisual-4.jpg);
}
@media screen and (max-width: 1280px) {
  .box4 {
    width: 50%;
  }
}
@media screen and (max-width: 1366px) and (orientation: landscape) {
  .box4 {
    height: 50vh;
  }
}

/* ===================== オーバーレイ ===================== */
.overlay {
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
  border-radius: 8px;
  /* 1024px */
  /* 768px */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .overlay {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    margin: 15px;
  }
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .overlay {
    width: 100%;
    height: calc(100% - 30px);
  }
}

.visual-box:nth-of-type(1) .overlay {
  background: linear-gradient(to bottom right, rgba(23, 214, 243, 0.8), rgba(23, 155, 243, 0.95), rgba(14, 95, 255, 0.8));
}

.visual-box:nth-of-type(2) .overlay {
  background: linear-gradient(to bottom right, rgba(252, 56, 163, 0.8), rgba(180, 44, 174, 0.95), rgba(108, 32, 185, 0.8));
}

.visual-box:nth-of-type(3) .overlay {
  background: linear-gradient(to bottom right, rgba(212, 109, 236, 0.8), rgba(147, 109, 236, 0.95), rgba(82, 128, 253, 0.8));
}

.visual-box:nth-of-type(4) .overlay {
  background: linear-gradient(to bottom right, rgba(255, 190, 59, 0.8), rgba(255, 163, 59, 0.95), rgba(255, 114, 108, 0.8));
}

/* ====== オーバーレイ内テキスト ====== */
.overlay h2 {
  margin-bottom: 1vh;
  font-weight: 700;
  font-size: 2.4em;
  letter-spacing: 0.05em;
  /* 1280px */
}
@media screen and (max-width: 1280px) {
  .overlay h2 {
    font-size: 2rem;
  }
}

.overlay p {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  margin: 0 auto 0.5vh;
  padding: 0 20px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.1em;
  /* 1440px */
  /* 1280px */
}
@media screen and (max-width: 1440px) {
  .overlay p {
    line-height: 1.4;
    font-size: 1rem;
  }
}
@media screen and (max-width: 1280px) {
  .overlay p {
    line-height: 1.2;
    font-size: 0.9rem;
  }
}

/* ===================== アイコン一覧 ===================== */
.icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 10px;
}
@media screen and (max-width: 1350px) {
  .icons {
    gap: 5px;
  }
}

.icons img {
  width: 100px;
  height: auto;
}
@media screen and (max-width: 1520px) {
  .icons img {
    width: 80px;
  }
}
@media screen and (max-height: 710px) {
  .icons img {
    width: 60px;
  }
}

.res-01 {
  display: inline;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .res-01 {
    display: none;
  }
}

.res-02 {
  display: inline;
}
@media screen and (max-width: 1280px) {
  .res-02 {
    display: none;
  }
}
@media screen and (max-height: 840px) {
  .res-02 {
    display: none;
  }
}

/* ===================== _pages-2-pickup ===================== */
.feature-box {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(130, 182, 241, 0.05), 0 8px 30px rgba(130, 182, 241, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: auto;
  padding: 30px;
  max-width: -moz-fit-content;
  max-width: fit-content;
}
@media screen and (max-width: 1200px) {
  .feature-box {
    flex: 1 1 calc(33.333% - 20px);
  }
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .feature-box {
    flex: 1 1 calc(50% - 20px);
  }
}
@media screen and (max-width: 900px) {
  .feature-box {
    flex: 1 1 calc(50% - 20px);
  }
}
@media screen and (max-width: 600px) {
  .feature-box {
    flex: 1 1 100%;
  }
}

.feature-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.1), 0 6px 12px rgba(255, 255, 255, 0.05);
}

/* ラベル（New / Pickup）維持 */
.pickup-label,
.new-label {
  position: absolute;
  top: 15px;
  left: -55px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
  text-align: center;
  pointer-events: none;
  padding: 8px 90px 8px 40px;
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .pickup-label,
  .new-label {
    top: 5px;
    left: -55px;
    font-size: 12px;
    padding: 8px 90px 8px 42px;
  }
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .pickup-label,
  .new-label {
    top: 5px;
    left: -55px;
    font-size: 12px;
    padding: 8px 90px 8px 42px;
  }
}

.pickup-label {
  background: #ff4d4f;
}

.new-label {
  background: #4da3ff;
}

/* コンテンツ */
.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

h3.image-heading {
  height: 80px;
  line-height: 80px;
  margin: 0;
  position: relative;
}

h3.image-heading span {
  position: absolute;
  left: -9999px;
}

.feature-content-inner {
  padding: 0 4%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.feature-content-inner img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

/* ===================== _pages-3-5-service ===================== */
/* 内容 ********************************************************************************************************************************/
.services-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 4列に変更 */
  gap: 15px;
  max-width: -moz-max-content;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
  height: -moz-min-content;
  height: min-content;
  /* 1024px縦 */
  /* 1920px */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .services-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1921px) {
  .services-wrap {
    gap: 25px;
  }
}
@media screen and (max-width: 810px) and (orientation: portrait) {
  .services-wrap {
    gap: 10px;
  }
}

.service-box {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #555;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  /* 1920px */
  /* 768px縦 */
}
@media screen and (min-width: 1921px) {
  .service-box {
    padding: 40px;
  }
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .service-box {
    padding: 10px;
  }
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box img {
  width: 90px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
}

.service-box img.arrow-icon {
  width: 16px;
  height: 16px;
  margin-left: 5px;
}

.service-box h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.service-span {
  display: block;
  font-size: 16px;
}

.service-box p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.2;
  /* 1024px縦 */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .service-box p {
    font-size: 14px;
    margin-bottom: 5px;
  }
}

.service-box a.blue,
.service-box a.magenta,
.service-box a.purple,
.service-box a.orange {
  display: inline-block;
  padding: 8px 16px;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

/* その他サービス-リストの矢印 ↓ */
.service-another-list {
  font-size: 0.9rem;
  text-align: left;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.service-another-list li {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.service-another-list-icon {
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.service-another-list a {
  transition: all 0.4s ease;
}

.service-another-list a:hover {
  color: #0078d7;
}

.service-another-list a:hover .arrow-icon {
  content: url("../images-main/arrow-tab-blue.png");
}

/* その他サービス-リストの矢印 ↑ */
.service-box a.blue,
.service-box a.magenta,
.service-box a.purple,
.service-box a.orange {
  transition: background-color 0.4s ease;
}

.service-box a.blue {
  background-color: #0078d7;
}

.service-box a:hover.blue {
  background-color: #003f72;
}

.service-box a.magenta {
  background-color: #B92DAD;
}

.service-box a:hover.magenta {
  background-color: #7c0272;
}

.service-box a.purple {
  background-color: #9E75F3;
}

.service-box a:hover.purple {
  background-color: #5f12fa;
}

.service-box a.orange {
  background-color: #FF9C51;
}

.service-box a:hover.orange {
  background-color: #f76f07;
}

a.arrow {
  color: #fff;
  display: inline-flex;
  align-items: center;
}

a.arrow .arrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.card-dummy {
  visibility: hidden;
  /* 1024px縦 */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .card-dummy {
    display: none;
  }
}

/* ===================== _pages-6-works ===================== */
/* ===================== 見出し2 ===================== */
.subtitle-works-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  height: -moz-min-content;
  height: min-content;
  color: #001a3f;
}

.subtitle-works {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 1px solid #001a3f;
  display: inline-block;
  padding-bottom: 5px;
}

.subtitle-works span {
  font-size: 0.9rem;
  font-weight: normal;
  margin-left: 1rem;
}

.subtitle-works-Link-to-list {
  font-size: 0.8rem;
  margin-left: 1rem;
  border: 1px solid #001a3f;
  background-color: rgba(255, 255, 255, 0.662745098);
  padding: 5px 10px 7px;
  border-radius: 4px;
}

/* 内容 ********************************************************************************************************************************/
.services-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 4列に変更 */
  gap: 15px;
  max-width: -moz-max-content;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
  height: -moz-min-content;
  height: min-content;
  /* 1024px縦 */
  /* 1920px */
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
  .services-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1921px) {
  .services-wrap {
    gap: 25px;
  }
}
@media screen and (max-width: 810px) and (orientation: portrait) {
  .services-wrap {
    gap: 10px;
  }
}

.works-box {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #555;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  /* 768px縦 */
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .works-box {
    padding: 10px;
  }
}

.works-box::after {
  content: "";
  position: absolute;
  top: 10px; /* 上に寄せる */
  right: 10px; /* 右に寄せる */
  width: 15px; /* 画像の幅 */
  height: 15px; /* 画像の高さ */
  background: url("../images-main/modal-icon.png") no-repeat center center;
  background-size: contain; /* 画像を要素内に収める */
  z-index: 2;
}

.works-box:hover {
  transform: translateY(-5px);
}

.works-box img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .works-box img {
    max-width: 60%;
  }
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .works-box img {
    max-width: 60%;
  }
}

.works-box img.arrow-icon {
  width: 16px;
  height: 16px;
  margin-left: 5px;
}

.works-box h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.works-span {
  display: block;
  font-size: 16px;
}

.works-box p {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.2;
  /* 1024px縦 */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .works-box p {
    font-size: 14px;
    margin-bottom: 5px;
  }
}

.works-box p.kadai-title {
  color: #0078d7;
  margin-bottom: 5px;
}

.works-box p.kadai-text {
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.works-box a {
  display: inline-block;
  padding: 8px 16px;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.works-box ul {
  font-size: 15px;
  margin-bottom: 15px;
  list-style-type: decimal;
  list-style-position: inside; /* マーカーを枠内に収める */
  width: -moz-fit-content;
  width: fit-content;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.works-box ul li {
  margin-bottom: 8px;
}

/* その他サービス-リストの矢印 ↓ */
.service-another-list {
  font-size: 0.9rem;
  text-align: left;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.service-another-list li {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.service-another-list-icon {
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.service-another-list a {
  transition: all 0.4s ease;
}

.service-another-list a:hover {
  color: #0078d7;
}

.service-another-list a:hover .arrow-icon {
  content: url("../images-main/arrow-tab-blue.png");
}

/* その他サービス-リストの矢印 ↑ */
.works-box a {
  transition: background-color 0.4s ease;
}

.works-box a.blue {
  background-color: #0078d7;
}

.works-box a:hover.blue {
  background-color: #003f72;
}

a.arrow {
  color: #fff;
  display: inline-flex;
  align-items: center;
}

a.arrow .arrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.card-dummy {
  visibility: hidden;
  /* 1024px縦 */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .card-dummy {
    display: none;
  }
}

/* ===================== _pages-7-8-news-info ===================== */
/* ===================== 見出し2 ===================== */
.subtitle-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  height: -moz-min-content;
  height: min-content;
}

.subtitle {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 1px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.subtitle span {
  font-size: 0.9rem;
  font-weight: normal;
  margin-left: 1rem;
}

.subtitle-Link-to-list {
  font-size: 0.8rem;
  margin-left: 1rem;
  border: 1px solid #fff;
  padding: 5px 10px 7px;
  border-radius: 4px;
}

/* ===================== 各記事ボックス ===================== */
.post-item {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* アイキャッチ画像 */
.post-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 16/9;
  /* 1024px */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .post-thumbnail {
    width: 90%;
    margin: 0 auto;
  }
}

/* 投稿日 */
.post-date {
  font-size: 0.85rem;
  color: #666;
  margin: 8px 16px 4px;
  text-align: right;
}

/* カテゴリ */
.post-category {
  margin: 5px 16px 0px 16px;
}

.post-category span {
  display: inline-block;
  background-color: #0073aa;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
}

.article-box .post-item .post-category .category-press_release {
  background-color: cadetblue;
}

.article-box .post-item .post-category .category-event {
  background-color: rgb(221, 73, 137);
}

/* タイトル */
.post-item h3 {
  font-size: 1rem;
  color: #333;
  margin: 4px 16px 6px 16px;
  line-height: 1.4;
}
@media screen and (max-width: 1280px) {
  .post-item h3 {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

/* ===================== _pages-9-company ===================== */
/* 9・会社概要 ***********************************************************************************************************************/
@media screen and (min-width: 1280px) {
  .company {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* company */
.company-inner {
  width: 100%;
  height: auto;
  min-height: 100%;
  background-color: #fefefe; /* 白ベース */
  color: #555;
  padding: 50px;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: stretch; /* これで子要素の高さを揃える */
  /* 1920px */
}
@media screen and (min-width: 1921px) {
  .company-inner {
    padding: 100px;
  }
}
@media screen and (max-width: 1280px) {
  .company-inner {
    padding: 30px;
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .company-inner {
    padding: 30px;
  }
}

.company-box-1 {
  flex: 1 1 60%;
  box-sizing: border-box;
}
@media screen and (max-width: 1200px) {
  .company-box-1 {
    flex: 1 1 100%;
  }
}
@media screen and (min-width: 1921px) {
  .company-box-1 {
    flex: 1 1 50%;
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .company-box-1 {
    flex: 1 1 60%;
  }
}
@media (width: 1180px) and (orientation: landscape) {
  .company-box-1 {
    flex: 1 1 60%;
  }
}

.company-box-2 {
  flex: 1 1 35%;
  box-sizing: border-box;
  text-align: center;
  border-radius: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images-main/company-vision.jpg);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1200px) {
  .company-box-2 {
    flex: 1 1 100%;
    height: 300px;
    background-image: url(../images-main/company-vision-landscape.jpg);
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .company-box-2 {
    flex: 1 1 35%;
    height: auto;
    background-image: url(../images-main/company-vision-2.jpg);
  }
}
@media (width: 1180px) and (orientation: landscape) {
  .company-box-2 {
    flex: 1 1 35%;
    height: auto;
    background-image: url(../images-main/company-vision.jpg);
  }
}

.company-box-1 dt, .company-box-1 dd {
  display: inline-block;
  vertical-align: top;
  padding-top: 1vh;
  padding-bottom: 1vh;
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .company-box-1 dt, .company-box-1 dd {
    font-size: 14px;
  }
}

.company-box-1 dt {
  width: 20%;
  font-weight: 600;
  color: #555;
}

.company-box-1 dd {
  width: 78%;
  color: #222;
  padding-left: 30px;
  border-left: 1px solid #ddd;
}

/* リスト風の所属団体は少しインデント＆行間 */
.company-box-1 dd ul.ul-disc {
  list-style-type: disc;
  margin-left: 1rem;
}

.company-box-1 dd li {
  margin-bottom: 1vh;
}

.company-box-1 dd ul.ul-disc li:last-of-type {
  margin-bottom: 0;
}

.company-box-1 dd strong {
  display: block;
  margin-bottom: px;
}

/* ===================== _pages-10-partner ===================== */
/* 10枚目・パートナー ***********************************************************************************************************************/
/* partner */
.partner {
  width: 100%;
  background-color: #fefefe; /* 白ベース */
  color: #555;
  padding: 50px;
  border-radius: 12px;
  height: auto;
  min-height: 100%;
}
@media screen and (min-width: 1921px) {
  .partner {
    padding: 100px;
  }
}
@media screen and (max-width: 1280px) {
  .partner {
    padding: 30px;
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .partner {
    padding: 30px;
  }
}

.partner h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0.6em;
  border-left: 4px solid rgb(57, 57, 57);
  padding-left: 0.6em;
}

.partner p {
  line-height: 1.6;
  margin-bottom: 1.2em;
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .partner p {
    font-size: 14px;
  }
}

.partner ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  font-size: 14px;
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .partner ul {
    font-size: 13px;
  }
}

.partner ul li {
  margin-bottom: 0.8em;
}

.partner-link {
  text-align: right;
  margin-bottom: 0 !important;
  font-size: 14px;
}

.partner a {
  color: #0078d7;
}

.partner-arrow-icon {
  display: inline-block;
  height: 1.2em; /* テキスト高さに合わせる（必要に応じて調整） */
  margin-bottom: 2px;
  margin-left: 5px;
}

/* ===================== _pages-11-guga ===================== */
/* 11枚目・GUGA ***********************************************************************************************************************/
/* guga */
.guga-box {
  width: 100%;
  height: auto;
  min-height: 100%;
  background-color: #fefefe; /* 白ベース */
  color: #555;
  padding: 50px;
  border-radius: 12px;
  line-height: 1.6;
  display: flex;
  gap: 20px;
  /* 1920px */
}
@media screen and (min-width: 1921px) {
  .guga-box {
    padding: 100px;
  }
}
@media screen and (max-width: 1280px) {
  .guga-box {
    padding: 30px;
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .guga-box {
    padding: 30px;
  }
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .guga-box {
    flex-wrap: wrap;
  }
}

.guga-box-inner-1 {
  flex: 1 1 50%;
  box-sizing: border-box;
  /* 1920px */
}
@media screen and (min-width: 1921px) {
  .guga-box-inner-1 {
    flex: 1 1 50%;
  }
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .guga-box-inner-1 {
    flex: 1 1 100%;
  }
}

.guga-box-inner-2 {
  flex: 1 1 35%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .guga-box-inner-2 {
    flex: 1 1 100%;
  }
}

/* box-inner-1 **************************/
.guga-box h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0.6em;
  border-left: 4px solid rgb(57, 57, 57);
  padding-left: 0.6em;
}

.guga-box .img-wrap {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  .guga-box p {
    font-size: 14px;
  }
}

/* box-inner-2 **************************/
.guga-box-inner-2-text {
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #193C4B;
}

.guga-box-inner ul li {
  margin-bottom: 20px;
  text-align: center;
}
@media screen and (max-width: 1280px) {
  .guga-box-inner ul li {
    margin-bottom: 10px;
  }
}

.guga-box-inner ul li:last-of-type {
  margin-bottom: 0px;
}

.guga-box-inner ul li a {
  display: block;
  background: linear-gradient(90deg, #443A97, #EF99A2);
  border-radius: 6px;
  width: 100%;
  max-width: 500px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media screen and (max-width: 1080px) {
  .guga-box-inner ul li a {
    font-size: 1rem;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

.guga-arrow-icon {
  display: inline-block;
  height: 1em; /* テキスト高さに合わせる（必要に応じて調整） */
  margin-bottom: 4px;
  margin-left: 5px;
}

/* ===================== _serviceZept-all ===================== */
.serviceZept-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  color: #555;
  padding: 50px;
  border-radius: 12px;
  height: auto;
  word-break: break-word;
}
@media screen and (min-width: 1921px) {
  .serviceZept-wrap {
    padding: 100px;
  }
}
@media screen and (max-width: 1440px) {
  .serviceZept-wrap {
    padding: 50px;
  }
}
@media screen and (max-width: 1280px) {
  .serviceZept-wrap {
    padding: 20px;
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .serviceZept-wrap {
    padding: 20px;
  }
}

.serviceZept-wrap h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0.6em;
  border-left: 4px solid rgb(57, 57, 57);
  padding-left: 0.6em;
}

.serviceZept-wrap p {
  line-height: 1.4;
  margin-bottom: 0.5em;
}
@media screen and (max-width: 1280px) and (orientation: landscape) {
  .serviceZept-wrap p {
    font-size: 14px;
    line-height: 1.2;
  }
}

.serviceZept-consulting ul {
  list-style: disc;
  margin-top: 10px;
  padding-left: 1.5em;
  font-size: 14px;
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .serviceZept-consulting ul {
    font-size: 13px;
  }
}

.serviceZept-consulting ul.tab-list {
  padding-left: 0;
}

.serviceZept-wrap ul li {
  margin-bottom: 0.2em;
}

.serviceZept-wrap ul li:last-of-type {
  margin-bottom: 0;
}

@media screen and (max-width: 1360px) {
  .br1360 {
    display: none;
  }
}

/* ===================== serviceZept 見出し2 ===================== */
.serviceZept-subtitle-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  height: -moz-min-content;
  height: min-content;
  color: #555;
  text-align: center;
}

.serviceZept-subtitle-wrap h2 {
  width: -moz-fit-content;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.8274509804);
}

.serviceZept-subtitle {
  font-size: 24px;
  font-weight: bold;
  display: block; /* 横幅100%にするため */
  padding-bottom: 12px;
  margin-bottom: 0.8em;
  position: relative;
  border-bottom: 3px solid #69ebfa; /* 下の薄い色のライン */
}
@media screen and (max-width: 1280px) and (orientation: landscape) {
  .serviceZept-subtitle {
    margin-bottom: 0.5em;
  }
}

.serviceZept-subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* 横幅100% */
  border-bottom: 3px solid #008bc9; /* 上の濃い色のライン */
  transform: translateY(-3px); /* 少し上にずらして2色が見えるように */
}

/* ===================== serviceZept その他 ===================== */
.p-Last {
  margin-bottom: 0 !important;
}

.p-First {
  margin-top: 1em;
}

/* ===================== serviceZept タブ ===================== */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-nav li {
  display: inline-block;
  padding: 8px 16px;
  cursor: pointer;
  background-color: #e6f4d9;
}

.tab-nav li.active {
  font-weight: bold;
  margin-bottom: 20px !important;
  background-color: #d3f5ff;
}

/* ===================== serviceZept tableデザイン ===================== */
.table-cost {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2em;
  font-size: 0.95rem;
  table-layout: fixed;
  border: 1px solid #ccc;
}

.table-cost th, .table-cost td {
  padding: 12px 8px;
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
}

/* 1行目のタイトル部分（3色：青・黄緑・緑） */
.table-cost__title-01 {
  background: #d3f5ff; /* 青系統 */
  font-size: 18px;
  font-weight: bold;
}

/* 金額セルは淡い同系色で文字白 */
.table-cost__title-01 + td {
  background: #cce5ff; /* 薄い青 */
  font-size: 18px;
  font-weight: bold;
}

.table-cost__title-02 + td {
  background: #e6f4d9; /* 薄い黄緑 */
  font-size: 18px;
  font-weight: bold;
}

/* 薄いグレーで引き締め */
.table-cost__tr-gray th,
.table-cost__tr-gray td {
  background: #f4f6f8;
  color: #222;
}

/* ===================== serviceZept flowデザイン ===================== */
.flow-wrap {
  display: flex;
  flex-wrap: nowrap; /* 折り返さない → 横並び1行 */
  gap: 10px;
  padding: 20px 20px 20px 0; /* 左の余白をなくす */
  overflow-x: auto; /* 横スクロールできるようにする */
  scroll-snap-type: x mandatory; /* スクロールをピタッと止める */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .flow-wrap {
    flex-wrap: wrap; /* 折り返し有効化 */
    justify-content: center; /* 横中央寄せにしたい場合 */
    overflow-x: visible; /* 横スクロール解除 */
    padding: 20px 0;
  }
}

/* スクロールの見た目（PC/スマホ対応） */
.flow-wrap::-webkit-scrollbar {
  height: 8px;
}

.flow-wrap::-webkit-scrollbar-thumb {
  background: #99cfff;
  border-radius: 4px;
}

.flow-wrap::-webkit-scrollbar-track {
  background: #e6f2ff;
}

.flow {
  flex: 0 0 220px; /* 各カードの横幅 */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 60, 120, 0.1);
  padding: 20px;
  text-align: center;
  scroll-snap-align: start; /* スクロールしたときにカードの先頭で止まる */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .flow {
    flex: 1 1 calc(50% - 20px); /* 2列表示（半分） */
    max-width: 300px;
    padding: 10px;
  }
}
@media screen and (min-width: 1921px) {
  .flow {
    flex: 0 0 240px;
  }
}

.flow:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 60, 120, 0.2);
}

/* 数字デザイン */
.flow__number {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, #008bc9, #35bbe2);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .flow__number {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

.flow__title {
  font-size: 16px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 10px;
  border-bottom: 2px solid #e0f0ff;
  display: inline-block;
  padding-bottom: 3px;
}
@media screen and (min-width: 1921px) {
  .flow__title {
    font-size: 18px;
  }
}

.flow__text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}
@media screen and (min-width: 1921px) {
  .flow__text {
    font-size: 18px;
  }
}

/* ===================== serviceZeptSystems ===================== */
.serviceZeptSystems-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  padding: 100px;
  border-radius: 12px;
  height: auto;
  word-break: break-word;
}
@media screen and (min-width: 1921px) {
  .serviceZeptSystems-wrap {
    max-width: 1750px;
  }
}

.serviceZeptSystems-wrap h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0.6em;
  border-left: 4px solid rgb(57, 57, 57);
  padding-left: 0.6em;
}

.serviceZeptSystems-wrap p {
  line-height: 1.3;
  margin-bottom: 0.5em;
}
@media screen and (max-width: 1280px) and (orientation: landscape) {
  .serviceZeptSystems-wrap p {
    font-size: 14px;
    line-height: 1.2;
  }
}

/* ===================== serviceZeptSystems 見出し2 ===================== */
.serviceZeptSystems-subtitle-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  height: -moz-min-content;
  height: min-content;
  color: #555;
  text-align: center;
}

.serviceZeptSystems-subtitle-wrap h2 {
  width: -moz-fit-content;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.8274509804);
}

.serviceZeptSystems-subtitle {
  font-size: 24px;
  font-weight: bold;
  display: block; /* 横幅100%にするため */
  padding-bottom: 12px;
  margin-bottom: 0.3em;
  position: relative;
  border-bottom: 3px solid #69ebfa; /* 下の薄い色のライン */
}
@media screen and (max-width: 1280px) and (orientation: landscape) {
  .serviceZeptSystems-subtitle {
    margin-bottom: 0.5em;
  }
}

.serviceZeptSystems-subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* 横幅100% */
  border-bottom: 3px solid #008bc9; /* 上の濃い色のライン */
  transform: translateY(-3px); /* 少し上にずらして2色が見えるように */
}

/* ===================== _serviceZept-consulting ===================== */
.serviceZept-consulting a {
  display: block;
  width: 100px;
  padding-top: 5px;
  padding-bottom: 7px;
  background-color: #008bc9;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== コンサルティング 補助金 ===================== */
.subsidy-list {
  display: flex;
  flex-wrap: wrap; /* 折り返し */
  gap: 20px; /* カード間の余白 */
  justify-content: space-between;
  margin-bottom: 1em;
}

.subsidy-card {
  flex: 1 1 calc(33.333% - 20px); /* 3列表示、gapを引く */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.subsidy-card__img {
  width: 98%;
  max-width: 310px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.subsidy-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.subsidy-card__list {
  margin-left: auto;
  margin-right: auto;
  width: -moz-fit-content;
  width: fit-content;
  text-align: left;
}

.subsidy-card__item {
  margin-bottom: 6px;
}

.subsidy-card__button {
  margin-top: auto; /* ボタンを下に固定 */
}

/* ===================== _serviceZept-matching ===================== */
.advisor-wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6列 */
  gap: 10px; /* 列・行の間隔 */
}

.advisor-box {
  background-color: #f9f9f9; /* 任意の背景色 */
  padding: 15px 10px 0px 10px;
  text-align: center;
  border-radius: 8px;
}

.advisor__img {
  width: 100%;
  max-width: 50px;
  height: auto;
  padding-top: 50px; /* アスペクト比 4:3 くらい */
  background-size: cover;
  background-position: center;
  margin-left: auto;
  margin-right: auto;
}

/* 画像設定 */
.advisor__img-01 {
  background-image: url("../images-main/advice01.webp");
}

.advisor__img-02 {
  background-image: url("../images-main/advice02.webp");
}

.advisor__img-03 {
  background-image: url("../images-main/advice03.webp");
}

.advisor__img-04 {
  background-image: url("../images-main/advice04.webp");
}

.advisor__img-05 {
  background-image: url("../images-main/advice05.webp");
}

.advisor__img-06 {
  background-image: url("../images-main/advice06.webp");
}

.advisor__title {
  font-weight: bold;
}

.advisor__text {
  font-size: 14px;
}

.adviser-pic img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================================= _serviceZept-web ========================================================= */
.web-contents {
  width: 100%;
  text-align: center; /* ブロックにしたimgには不要ですが残してもOK */
}

.web-contents img {
  display: block; /* ブロック化 */
  margin-left: auto; /* 左右中央寄せ */
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

/* ===================== _serviceZept-system ===================== */
.ex-list {
  display: flex;
  flex-wrap: wrap; /* 折り返し */
  gap: 20px; /* カード間の余白 */
  justify-content: space-between;
  margin-top: 1em;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.ex-card {
  display: inline-flex; /* flex → inline-flex にして内容に合わせる */
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.ex-card__img {
  width: 98%;
  max-width: 250px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .ex-card__img {
    max-width: 200px;
  }
}
@media screen and (max-width: 810px) and (orientation: portrait) {
  .ex-card__img {
    max-width: 170px;
  }
}

.ex-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ex-card__list {
  margin-left: auto;
  margin-right: auto;
  width: -moz-fit-content;
  width: fit-content;
  text-align: left;
}

.ex-card__item {
  margin-bottom: 6px;
}

/* ===================== _serviceZept-blockchain ===================== */
.video-wrapper {
  display: flex;
  justify-content: center; /* 左右中央に配置 */
  align-items: flex-start; /* 上揃え */
  gap: 20px; /* 左右の間隔 */
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .video-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

.video-wrapper video {
  width: 60%; /* 左側の動画幅 */
  height: auto; /* 縦横比維持 */
  display: block;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .video-wrapper video {
    width: 100%;
  }
}

.blockchain-contents {
  display: flex;
  flex-direction: column; /* 縦並び */
  justify-content: flex-start;
  gap: 10px; /* 画像の間隔 */
  width: 40%; /* 右側の画像幅 */
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .blockchain-contents {
    width: 100%;
  }
}

.blockchain-contents img {
  width: 100%; /* 右カラムの幅いっぱい */
  height: auto;
  display: block;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .blockchain-contents img {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 810px) and (orientation: portrait) {
  .blockchain-contents img {
    max-width: 400px;
  }
}

/* ===================== _serviceZept-meta ===================== */
.meta-wrap {
  display: flex; /* 横並びにする */
  flex-wrap: wrap; /* はみ出したら折り返す */
  gap: 16px; /* 動画同士の隙間 */
  justify-content: center; /* 中央寄せ */
}

.meta-wrap video {
  width: calc(33.33% - 16px); /* 1行に3つ並べたい場合 */
  max-width: 100%; /* 親の幅を超えない */
  height: auto; /* アスペクト比維持 */
  display: block;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .meta-wrap video {
    width: calc(50% - 16px);
  }
}

/* ===================== _modal ===================== */
/* モーダル全体（背景） */
#modal {
  display: none; /* 初期は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* 黒背景＋透過 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* モーダル内の画像 */
#modal img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

/* 閉じるボタン */
#closeModal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none; /* 文字選択防止 */
  transition: transform 0.2s ease, color 0.2s ease;
}

#closeModal:hover {
  transform: scale(1.2);
  color: #ffcccc;
}

/* モーダル内でクリックしても閉じないようにするため（必要なら） */
#modal img {
  pointer-events: none;
}/*# sourceMappingURL=custom.css.map */

.works-wrap{
  grid-template-columns: repeat(3, 1fr); /* ← 4列に変更 */
}