@charset "UTF-8";
/* 1. 存在するSassファイルのみを読み込み */
:root {
  --color-primary: #0665d7;
  --color-primary-hover: #0554b3;
  --color-primary-light: #e6f0fc;
  --font-base-size: 100%;
}

/* 1. 存在するSassファイルのみを読み込み */
html {
  font-size: var(--font-base-size);
  scroll-behavior: smooth;
  /*color: #000050;*/
  background-color: #f9fafb;
  font-family: "Noto Sans JP", sans-serif;
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }
}

body {
  background-color: #fff;
}

/* カスタムクラス定義 */
.custom-main-color {
  color: #2b65b1;
}

.custom-main-color-bg {
  background-color: #2b65b1;
}

.custom-main-color-border {
  border-color: #2b65b1;
}

.custom-rounded-5px {
  border-radius: 5px;
}

.custom-title-text {
  color: #000050;
}

.custom-title-text-border {
  border-color: #000050;
}
@media (max-width: 767px) {
  .custom-title-text-border {
    border-color: #999;
  }
}

.custom-bg-gray {
  background-color: #f5f6f8;
}

footer h3 {
  border-bottom: solid 2px #989898;
}

/*TOP*/
.custom-icon-info {
  background-color: #aedbfb;
  color: #000000;
  border-radius: 15px;
  font-size: 12px;
  padding: 2px 12px;
  display: inline-block;
  line-height: 1.2;
}

.custom-icon-event {
  background-color: #ffdbe5;
  color: #000000;
  border-radius: 15px;
  font-size: 12px;
  padding: 2px 12px;
  display: inline-block;
  line-height: 1.2;
}

/* スライドショー全般の余白完全消去 */
.hero-swiper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.hero-swiper .swiper-slide {
  height: auto !important;
}
.hero-swiper .swiper-slide picture,
.hero-swiper .swiper-slide img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: bottom !important;
}

/* TOP製品カテゴリカード */
.custom-card-shadow {
  box-shadow: 0px 0px 2.9225px rgba(7, 172, 237, 0.15);
  transition-property: opacity, transform, box-shadow;
  transition-duration: 0.6s, 0.3s, 0.3s;
  transition-timing-function: ease, cubic-bezier(0.25, 1, 0.5, 1), cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-card-animate {
  opacity: 0;
  transform: translateY(30px);
}
.custom-card-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.custom-card-animate.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0px 0px 2.9225px rgba(7, 172, 237, 0.15);
}

/*TOP 導入事例の枠*/
/* TOP 導入事例カードスタイル */
.custom-case-card {
  position: relative;
  background-color: transparent; /* SVGが背景になるため透明化 */
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.04)); /* 全体に影を付与 */
}

/* 不要な疑似要素の完全無効化 */
.custom-case-card::before,
.custom-case-card::after {
  content: none !important;
  display: none !important;
}

/* 凹みの段差を埋める上のパーツ (左側) */
.custom-case-card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -1px;
  width: calc(100% - 180px); /* 凹み開始位置まで */
  height: 40px;
  background-color: #ffffff;
  border-radius: 20px 20px 0 0; /* 左上と右上の角丸 */
  border: 1px solid #f3f4f6;
  border-bottom: none;
}

/* 凹みの内角（右上の凹んだ角）を20pxで丸くするパーツ */
.custom-case-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 180px;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  box-shadow: 10px -10px 0 0 #ffffff;
  border-radius: 50%;
  transform: translate(100%, -100%);
  pointer-events: none;
}

.case-swiper-prev.swiper-button-disabled,
.case-swiper-next.swiper-button-disabled {
  opacity: 0.3 !important;
  pointer-events: none;
  display: flex !important; /* 非表示化を強制解除 */
}

.case-swiper-prev::after,
.case-swiper-next::after {
  display: none !important;
}

.solution-card {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 9999px;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.solution-card .icon-wrapper {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 1.4rem;
  flex-shrink: 0;
}

.solution-card .icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-card .text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.solution-card .label {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 1.2rem;
}

.solution-card .sub {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 1.2rem;
}

/* ================= PC配置（768px以上） ================= */
@media (min-width: 768px) {
  .solution-card {
    position: absolute;
    width: 20rem;
    padding: 1.6rem 1.6rem 1.6rem 2.4rem;
  }
  .pos-private {
    top: 18%;
    left: 4%;
  }
  .pos-medical {
    top: 44%;
    left: 2%;
  }
  .pos-outsourcing {
    top: 70%;
    left: 4%;
  }
  .pos-government {
    top: 44%;
    right: 4%;
  }
  .pos-security {
    top: 70%;
    right: 2%;
  }
}
/* ================= sp ================= */
@media (max-width: 767px) {
  .solution-card {
    position: absolute;
    width: 38%;
    padding: 1rem 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .solution-card .icon-wrapper {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.3rem;
  }
  .solution-card .label {
    font-size: 0.65rem;
  }
  .solution-card .sub {
    font-size: 0.55rem;
  }
  /* ① 民間ソリューション（左上） */
  .pos-private {
    top: 26%;
    left: 2%;
  }
  /* ② 医療機関ソリューション（左中） */
  .pos-medical {
    top: 42%;
    left: 2%;
  }
  /* ③ アウトソーシングソリューション（左下） */
  .pos-outsourcing {
    top: 55%;
    left: 2%;
  }
  /* ④ 自治体ソリューション（右上） */
  .pos-government {
    top: 26%;
    right: 2%;
  }
  /* ⑤ セキュリティソリューション（右中〜右下） */
  .pos-security {
    top: 42%;
    right: 2%;
  }
}
/* ==================================================
   LifLi
   ================================================== */
.lifli-card {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.lifli-card h2 {
  letter-spacing: 0.15em;
}

.lifli-card p {
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .lifli-sp-graphic {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  .lifli-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
/* ==================================================
Contents
   ================================================== */
#main {
  margin-top: 0;
}

/*表示崩れ対策*/
.container h1 {
  font-size: 130%;
}

#content-area {
  font-size: 15px !important;
}
#content-area .form-toiawase-left h4 {
  display: flex;
  justify-content: center;
}
#content-area .form-toiawase-area a.btn {
  display: flex;
  justify-content: center;
  align-items: center;
}
#content-area .form-toiawase-area a.btn img {
  margin: 5px;
  padding-top: 5px;
}

.pankuzu {
  font-size: 14.5px;
  padding: 10px;
}

input, textarea {
  border-color: #767676;
  border-width: 1px;
  font-weight: normal;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: unset;
}

/* 1. 存在するSassファイルのみを読み込み */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: bold;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
}
.btn-primary:active {
  transform: scale(0.98);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: bold;
}
.link-arrow::after {
  content: ">";
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}
.link-arrow:hover::after {
  transform: translateX(3px);
}

/* 共通ページヘッダーの背景設定 */
.contents_header-bg {
  background-color: #f2f7fc; /* 画像読み込み前・未対応時のベースカラー */
  background-image: url("../images/common/contents_header-bg.svg"); /* 共通背景画像のパス */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* 2. Tailwindの読み込み */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* ==================================================
   ★スマホ表示（767px以下）時の余白調整
   ================================================== */
@media (max-width: 767px) {
  .custom-bg-gray {
    margin-top: 0 !important;
    padding-top: 1.25rem !important;
  }
}