@charset "UTF-8";
/* =========================================================
   Primo Webサイト改修 2026 — 追加コンポーネント用スタイル
   common.css の後に読み込む（header.php で読込）。
   既存トーン: アクセント #3eb8e5 / 濃い青 #185FA5 / 角丸 30px 0 30px 0
   ========================================================= */

:root {
  --accent: #3eb8e5;
  --accent2: #5bc4e8;
  --blue: #185fa5;
  --blue2: #378add;
  --ink: #242038;
}

/* =========================================================
   共通：リード文 / バッジ / 技術タグ / チェックリスト
   ========================================================= */
.leadText {
  max-width: 760px;
  margin: -10px auto 60px;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}
@media only screen and (max-width: 580px) {
  .leadText {
    font-size: 15px;
    margin-bottom: 40px;
  }
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.techTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.techTags li {
  background: #eaf7fd;
  color: #1f86b3;
  border: 1px solid #cdecf9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
}

/* ABOUT 見出しを2行に収める（トップ／会社概要 共通） */
.aboutContents .flexContents .Content .midashi .main_h2 {
  font-size: 28px;
}
@media only screen and (max-width: 580px) {
  .aboutContents .flexContents .Content .midashi .main_h2 {
    font-size: 20px;
  }
  /* FVメインコピーをスマホで2行に収める */
  .mvContents .text .mainText {
    font-size: 28px;
  }
}

.checkList {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.checkList__head {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 14px;
  line-height: 1.4;
}
.checkList li {
  position: relative;
  padding: 0 0 12px 30px;
  font-size: 15px;
  line-height: 1.7;
}
.checkList li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  background-image: url(../images/common/arrow_white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px;
}
.checkList li b {
  font-weight: 700;
}
/* PC：1行インライン「タイトル：説明」 */
.checkList__t {
  font-weight: 700;
  font-size: 15px;
}
.checkList__t::after {
  content: "：";
}
.checkList__d {
  font-size: 15px;
}
/* スマホ：タイトル＋下に説明文 */
@media only screen and (max-width: 580px) {
  .checkList li {
    padding-bottom: 16px;
  }
  .checkList__t {
    display: block;
    line-height: 1.5;
  }
  .checkList__t::after {
    content: none;
  }
  .checkList__d {
    display: block;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 2px;
  }
}

/* =========================================================
   トップ：事業内容（縦並び 2事業・画像左右交互）
   ========================================================= */
.bizList {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 20px;
}
.bizBlock {
  display: flex;
  align-items: center;
  gap: 5%;
}
.bizBlock.reverse {
  flex-direction: row-reverse;
}
.bizBlock__image {
  width: 46%;
  text-align: center;
}
.bizBlock__image img {
  max-width: 100%;
  width: 100%;
  height: auto;
}
.bizBlock__body {
  width: 49%;
}
.bizBlock__label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 14px;
  margin: 0 0 6px;
}
.bizBlock__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 18px;
}
.bizBlock__desc {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 22px;
  color: #444;
}
.bizBlock .normalButton {
  justify-content: flex-start;
}
@media only screen and (max-width: 860px) {
  .bizList {
    gap: 60px;
  }
  .bizBlock,
  .bizBlock.reverse {
    flex-direction: column;
  }
  .bizBlock__image,
  .bizBlock__body {
    width: 100%;
  }
  .bizBlock__image {
    margin-bottom: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .bizBlock__title {
    font-size: 24px;
  }
  .bizBlock .normalButton {
    justify-content: center;
  }
}

/* =========================================================
   トップ：実績（RESULTS）業界アイコン横並び
   ========================================================= */
.resultsContents {
  padding: 50px 0 60px;
  position: relative;
}
@media only screen and (max-width: 580px) {
  .resultsContents {
    padding: 45px 0 40px;
  }
}
.resultsContents .leadText {
  margin-bottom: 50px;
}
.industryList {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 30px 26px;
  list-style: none;
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.industryList__item {
  width: 130px;
  text-align: center;
}
.industryList__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaf9ff 0%, #d7f1fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(62, 184, 229, 0.18);
}
.industryList__icon img,
.industryList__icon svg {
  width: 50px;
  height: 50px;
}
.industryList__label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
@media only screen and (max-width: 580px) {
  .industryList {
    flex-wrap: wrap;
    gap: 24px 6%;
  }
  .industryList__item {
    width: 28%;
  }
  .industryList__icon {
    width: 74px;
    height: 74px;
  }
  .industryList__icon img,
  .industryList__icon svg {
    width: 38px;
    height: 38px;
  }
  .industryList__label {
    font-size: 12px;
  }
}

/* =========================================================
   会社概要：企業理念バナー（PHILOSOPHY）
   ========================================================= */
.philosophyContents {
  padding: 16px 0 24px;
}
.philosophyBanner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--blue) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 46px 6%;
}
.philosophyBanner__label {
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 700;
  opacity: 0.9;
  margin: 0 0 6px;
}
.philosophyBanner__sub {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  margin: 0 0 18px;
}
.philosophyBanner__main {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 2;
}
.philosophyBanner__circle {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.philosophyBanner__circle--1 {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -40px;
}
.philosophyBanner__circle--2 {
  width: 140px;
  height: 140px;
  bottom: -70px;
  left: -30px;
}
@media only screen and (max-width: 580px) {
  .philosophyBanner {
    padding: 38px 7%;
  }
  .philosophyBanner__main {
    font-size: 19px;
  }
}

/* =========================================================
   会社概要：代表の声（写真入り左右レイアウト）
   ========================================================= */
.page .voiceContents {
  padding: 40px 0 50px;
}
.page .voiceContents .Inner > .midashi {
  margin-bottom: 46px;
}
.page .voiceContents .Inner > .midashi .main_h2 {
  color: #242038;
}
.page .voiceContents .flexContents {
  display: flex;
  align-items: flex-start;
  gap: 6%;
  margin-bottom: 0;
}
.page .voiceContents .flexContents .Image {
  width: 34%;
  padding: 0;
  margin: 0;
}
.page .voiceContents .flexContents .Image .photoWrap {
  position: static;
  max-width: 320px;
  margin: 56px 0 0 auto;
}
.page .voiceContents .flexContents .Image .photoWrap img {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.voiceCaption {
  text-align: center;
  margin: 18px 0 0;
}
.voiceCaption .position {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 2px;
}
.voiceCaption .name {
  display: block;
  font-size: 20px;
  font-weight: 700;
}
.voiceCaption .name span {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  margin-left: 8px;
}
.page .voiceContents .flexContents .Content {
  width: 54%;
  padding-top: 0;
}
.page .voiceContents .flexContents .Content .voiceTitle {
  font-size: 30px;
  font-weight: 700;
  color: #242038;
  line-height: 1.5;
  margin: 0 0 26px;
}
.page .voiceContents .flexContents .Content .text {
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
}
@media only screen and (max-width: 860px) {
  .page .voiceContents .flexContents {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page .voiceContents .flexContents .Content {
    width: 100%;
    margin-right: 0;
  }
  .page .voiceContents .flexContents .Image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 30px;
  }
  .page .voiceContents .flexContents .Image .photoWrap {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }
  .page .voiceContents .flexContents .Image .photoWrap img {
    margin: 0 auto;
  }
  .page .voiceContents .flexContents .Content .voiceTitle {
    font-size: 26px;
    text-align: center;
  }
}

/* =========================================================
   会社概要：各セクション余白・ABOUTイントロ画像・表
   ========================================================= */
.page .header h1 {
  margin-bottom: 0;
}
.page .aboutContents {
  padding: 20px 0 40px;
}
.page .aboutContents .flexContents .Image {
  padding-top: 0;
}
.page .aboutContents .flexContents .Image img {
  max-width: 340px;
}
.page .companyContents {
  padding: 40px 0 70px;
}
.page .companyContents table {
  max-width: 100%;
  width: 100%;
}
.page .companyContents table th {
  white-space: nowrap;
  width: 1%;
  padding-left: 2%;
  padding-right: 28px;
}
@media only screen and (max-width: 580px) {
  .page .companyContents table th {
    padding-right: 16px;
  }
}

/* =========================================================
   事業内容：上部 2カラム
   ========================================================= */
.page .serviceIntroContents {
  padding: 8px 0 30px;
}
.serviceIntro {
  display: flex;
  gap: 4%;
  margin-top: 10px;
}
.serviceIntro__col {
  width: 48%;
  background: #fff;
  border-radius: 30px 0 30px 0;
  box-shadow: 0 3px 22px 1px rgba(184, 184, 184, 0.25);
  padding: 44px 6% 40px;
  display: flex;
  flex-direction: column;
}
.serviceIntro__icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaf9ff 0%, #d7f1fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.serviceIntro__icon img,
.serviceIntro__icon svg {
  width: 36px;
  height: 36px;
}
.serviceIntro__label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 13px;
  margin: 0 0 6px;
}
.serviceIntro__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
}
.serviceIntro__desc {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 20px;
}
.serviceIntro__col .techTags {
  margin-bottom: 28px;
}
.serviceIntro__btn {
  margin-top: auto;
}
.serviceIntro__btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.4s;
}
.serviceIntro__btn a:after {
  content: "↓";
  margin-left: 12px;
  font-weight: 700;
}
.serviceIntro__btn a:hover {
  background: var(--ink);
  color: #fff;
}
@media only screen and (max-width: 860px) {
  .serviceIntro {
    flex-direction: column;
    gap: 30px;
  }
  .serviceIntro__col {
    width: 100%;
  }
}

/* =========================================================
   事業内容：フロー（横並び5ステップ・01分析/03導入 共通）
   ========================================================= */
.flowSteps {
  display: flex;
  gap: 14px;
  max-width: 980px;
  margin: 40px auto 0;
  list-style: none;
  padding: 0;
}
.flowSteps__item {
  flex: 1;
  position: relative;
  background: #fff;
  border: 1px solid #e3eef4;
  border-radius: 16px;
  padding: 26px 14px 22px;
  text-align: center;
  box-shadow: 0 3px 14px rgba(184, 184, 184, 0.18);
}
.flowSteps__item:not(:last-child):after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.flowSteps__num {
  display: inline-block;
  font-style: italic;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.flowSteps__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #c3e9ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flowSteps__icon img {
  width: 30px;
  height: 30px;
}
.flowSteps__title {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 8px;
}
.flowSteps__desc {
  font-size: 12px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
@media only screen and (max-width: 860px) {
  .flowSteps {
    flex-wrap: wrap;
    gap: 16px;
  }
  .flowSteps__item {
    flex: 0 0 calc(50% - 8px);
  }
  .flowSteps__item:not(:last-child):after {
    display: none;
  }
}
@media only screen and (max-width: 580px) {
  /* スマホ：アイコン左＋タイトル/説明右の行レイアウト（区切り線あり） */
  .flowSteps {
    gap: 0;
    margin-top: 24px;
  }
  .flowSteps__item {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 18px;
    padding: 20px 4px;
    background: none;
    border: 0;
    border-top: 1px solid #dcdcdc;
    border-radius: 0;
    box-shadow: none;
  }
  .flowSteps__item:last-child {
    border-bottom: 1px solid #dcdcdc;
  }
  .flowSteps__icon {
    margin: 0;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    background: none;
    border-radius: 0;
  }
  .flowSteps__icon img {
    width: 56px;
    height: 56px;
  }
  .flowSteps__body {
    flex: 1 1 auto;
    min-width: 0;
  }
  .flowSteps__num {
    display: none;
  }
  .flowSteps__title {
    font-size: 17px;
    margin: 0 0 5px;
  }
  .flowSteps__desc {
    font-size: 13px;
    line-height: 1.7;
    white-space: normal;
    word-break: break-word;
  }
}

/* =========================================================
   事業内容ページ：番号右のDX推進事業バッジ / 余白 / AIイラスト
   ========================================================= */
.numRow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}
.numRow .sub_h2 {
  margin: 0;
}
.dxBadge {
  display: inline-block;
  background: #5ab4d6;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 8px 24px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(90, 180, 214, 0.3);
}
@media only screen and (max-width: 580px) {
  .dxBadge {
    font-size: 13px;
    padding: 6px 16px;
  }
}

.subServiceContents .Image img.aiIllust {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: 580px) {
  .subServiceContents .Image img.aiIllust {
    max-width: 230px;
  }
}

/* 各事業間／フロー・事例セクションの余白を圧縮（ページを短く） */
.page .subServiceContents {
  padding: 56px 0 16px;
}
.page .flowContents {
  padding: 24px 0 40px;
}
.page .exampleContents {
  padding: 24px 0 48px;
}

/* =========================================================
   トップページ：各セクションの余白を少し圧縮
   ========================================================= */
.aboutContents {
  padding: 50px 0 60px;
}
.serviceContents {
  padding: 50px 0 60px;
}
.newsContents {
  padding: 50px 0 60px;
}
@media only screen and (max-width: 580px) {
  .aboutContents,
  .serviceContents,
  .newsContents {
    padding: 45px 0 40px;
  }
}

/* =========================================================
   スマホ：フレックス要素化したテキスト/画像のはみ出し対策
   ========================================================= */
@media only screen and (max-width: 860px) {
  .flexContents .Content .text,
  .flexContents .text {
    min-width: 0;
  }
  .flexContents .Image {
    min-width: 0;
  }
}

/* 画像はコンテナ幅を超えない */
.flexContents .Image img,
.bizBlock__image img {
  max-width: 100%;
  height: auto;
}
