@charset "UTF-8";

/* CSS Document */
/*---------------------------------

  メインビジュアル

---------------------------------*/
.key_visual {
  background-image: url("../images/DigCReader/mainvisual_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: 100vh;
}

.catch_wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 90%;
  margin: 0 auto;
}

.key_visual .catch h1,
.key_visual .catch p,
.key_visual figure img {
  opacity: 0;
}

.key_visual .catch h1.show {
  animation: fadeSlideUp 1s ease forwards;
}

.key_visual .catch p.show {
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.5s;
}

.key_visual figure img.show {
  animation: fadeSlideRight 1.2s ease forwards;
  animation-delay: 0.8s;
}

.catch {
  width: 55%;
  max-width: 800px;
  padding: 20px;
}

.catch h1 {
  font-size: 60px;
  letter-spacing: 10px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.catch p {
  line-height: 1.8;
  max-width: 600px;
}

.catch_wrap figure {
  width: 45%;
  max-width: 700px;
  padding: 20px;
}

.catch_wrap img {
  max-width: 100%;
  height: auto;
}

.tight {
  letter-spacing: 5px;
}

@media screen and (max-width: 1024px) {
  .key_visual {
    background-position: center;
    height: auto; /* 高さを自動に */
    padding: 40px 0;
  }

  .catch_wrap {
    flex-direction: column; /* 縦並び */
    position: static; /* absolute解除 */
    width: 100%;
  }

  .catch {
    width: 100%;
    padding: 10px 30px 50px;
  }

  .catch h1 {
    font-size: 52px; /* 小さく */
    letter-spacing: 10px;
  }

  .catch p {
    font-size: 16px;
    max-width: 100%;
    margin: 0 auto;
  }

  .catch_wrap figure {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .catch h1 {
    font-size: 32px; /* 小さく */
    letter-spacing: 5px;
  }
}

/*---------------------------------

  共通

---------------------------------*/

section .title h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 5px;
  text-align: center;
  padding-bottom: 70px;
}

/* タブレット（1024px以下） */
@media screen and (max-width: 1024px) {
  section .title h2 {
    font-size: 36px;
    letter-spacing: 4px;
    padding: 0 40px 70px;
  }
}

/* スマホ（896px以下） */
@media screen and (max-width: 896px) {
  section .title h2 {
    font-size: 30px;
    letter-spacing: 3px;
    padding: 0 30px 50px;
  }
}

/* 小さいスマホ（480px以下） */
@media screen and (max-width: 480px) {
  section .title h2 {
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1.4; /* 改行時の見やすさを確保 */
    padding: 0 20px 40px;
  }
}

/*------------------------------

	共通アニメーション

------------------------------*/
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/*---------------------------------

  こんな方におすすめ

---------------------------------*/
section .recommend_wrap {
  padding-top: 100px;
}

section .recommend_inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 50px;
  justify-items: center;
  margin: 20px auto;
  width: 70%;
}

section .recommend_box {
  align-items: center;
  background-color: #f2f2f2;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(30px);
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

.recommend_box.show {
  animation: fadeSlideIn 0.8s ease forwards;
}

section .recommend_box p {
  font-size: 19px;
}

section .recommend_box .dli-question-circle {
  align-items: center;
  background-color: #d67070;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 20px;
  flex-shrink: 0;
  justify-content: center;
  width: 32px;
  height: 32px;
}

section .recommend_box .dli-question-circle span::before {
  content: "?";
}

@media screen and (max-width: 896px) {
  section .recommend_inner {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  section .recommend_box p {
    font-size: 16px;
  }
}

/*---------------------------------

  特徴

---------------------------------*/
section.feature_block {
  background-color: #edd9d9;
  margin-top: 100px;
  padding: 40px 0 80px;
}

section .feature_wrap {
  background-color: #fff;
  width: 90%;
  margin: 40px auto 100px;
  padding: 70px 0;
}

section .feature_inner {
  display: flex;
  flex-wrap: wrap;
  row-gap: 40px;
  justify-content: space-around;
  width: 90%;
  max-width: calc(3 * 400px + 2 * 30px);
  margin: 0 auto;
}

section .feature_box {
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
  width: 80%;
  max-width: 400px;
  margin: auto;
}

.feature_box.show {
  animation: fadeSlideIn 0.8s ease forwards;
}

section .feature_box h3 {
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
  height: 100px;
  padding: 20px 0;
}

section .feature_box p {
  display: block;
  width: 80%;
  margin: auto;
}

section .feature_box figure {
  width: 80%;
  max-width: 250px;
  margin: auto;
}

section .processing_wrap {
  margin-top: 10px;
}

section .processing_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
  width: 80%;
  margin: auto;
}

section .processing_box {
  background-color: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 350px;
  padding: 30px;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.processing_box.show {
  animation: fadeSlideIn 0.8s ease forwards;
}

section .processing_box h3 {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 50px;
  background: #d67070;
  text-align: center;
  line-height: 40px;
  border: 5px solid #d67070;
  color: #ffffff;
  border-radius: 40px;
}

/* 下の三角（外側） */
section .processing_box h3::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 26px 20px 0 20px;
  border-style: solid;
  border-color: #d67070 transparent transparent transparent;
}

/* 下の三角（内側） */
section .processing_box h3::after {
  content: "";
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 15px 0 15px;
  border-style: solid;
  border-color: #d67070 transparent transparent transparent;
}

section .processing_box figure {
  margin: 40px auto;
  width: 100%;
  max-width: 250px;
}

@media screen and (max-width: 896px) {
  section .feature_inner {
    gap: 50px;
  }

  section .feature_box h3 {
    height: 70px;
  }

  section .feature_box.last h3 {
    height: 80px;
  }
}

@media screen and (max-width: 564px) {
section .feature_box h3 {
  font-size: 18px;
}
}

/*---------------------------------

  機能

---------------------------------*/
section .function_wrap {
  width: 80%;
  max-width: 1500px;
  padding-top: 100px;
  margin: auto;
}

section .function_inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
  opacity: 0;
  transition: opacity 1s ease;
  padding-bottom: 150px;
}

section .function_inner.show {
  opacity: 1;
}

section .function_box {
  width: 100%;
  max-width: 500px;
}

section .function_box h3 {
  color: #d67070;
  font-size: 22px;
  margin-bottom: 10px;
}

section .function_inner figure {
  width: 100%;
  max-width: 400px;
}

@media screen and (max-width: 1164px) {
  section .function_inner {
    flex-direction: column; /* 縦並び */
    padding-bottom: 100px;
  }

  section .function_inner figure {
    order: -1; /* 画像を先頭に */
  }
}

/*---------------------------------

  使用の流れ

---------------------------------*/
section .flow_wrap {
  width: 80%;
  max-width: 1500px;
  margin: auto;
  padding-top: 100px;
  padding-bottom: 100px;
}

section .flow_inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 50px 0;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.flow_inner.show {
  animation: fadeSlideIn 0.8s ease forwards;
}

section .flow_box {
  width: 50%;
  max-width: 500px;
}

section .flow_box h4 {
  color: #d67070;
  padding-bottom: 10px;
}

section .flow_box h4 span {
  font-size: 21px;
}

section .flow_box h3 {
  padding-bottom: 10px;
}

section .flow_inner.small_image figure {
  width: 60%;
  max-width: 120px;
}

section .flow_inner.small_image .flow_box {
    max-width: 450px;
}

section .flow_inner figure {
  width: 50%;
  max-width: 200px;
}

.flow_separator {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 60px;
  margin: auto;
}

.flow_separator::before {
  background-color: #ccc;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 2px;
}

.arrow_circle {
  align-items: center;
  background-color: #d67070;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  z-index: 2;
  width: 40px;
  height: 40px;
}

.arrow_down {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
  display: inline-block;
  width: 0;
  height: 0;
}

@media screen and (max-width: 564px) {
  section .flow_inner {
    flex-direction: column; /* 横並び → 縦並び */
  }

  section .flow_box {
    width: 100%; /* 幅を100%に */
    max-width: none; /* 最大幅制限解除 */
  }

  section .flow_inner figure {
    order: -1; /* 画像を上に */
    width: 60%;
  }
}

/*---------------------------------

  商品構成

---------------------------------*/

section.products_block {
  margin-top: 100px;
}

section .products_wrap .title h2 {
    padding-bottom: 0px;
}

section .products_wrap .title p {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 50px;
}

section .products_wrap figure {
  width: 80%;
  max-width: 250px;
  margin: auto;
}

section .products_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
  width: 80%;
  margin: auto;
}

section .products_box {
  width: 100%;
  max-width: 300px;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.products_box.show {
  animation: fadeSlideIn 0.8s ease forwards;
}

section .products_box h3 {
  color: #d67070;
  text-align: center;
  padding: 40px 0 20px;
}

@media screen and (max-width: 896px) {
  section .products_inner {
    gap: 50px;
  }

  section .products_box h3 {
    height: 50px;
  }

  section .products_box.last h3 {
    height: 80px;
  }
}

/*---------------------------------

  動作環境

---------------------------------*/
section .environment_wrap {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 100px 30px 0;
}

section .environment_box {
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.environment_box.show {
  animation: fadeSlideIn 0.5s ease forwards;
}

section .environment_box h3 {
  color: #d67070;
  padding-bottom: 20px;
}

section .environment_box table {
  border-collapse: collapse;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 50px;
}

section .environment_box table td {
  border: 2px solid #fff;
  background-color: #e6e6e6;
  padding: 20px 20px 20px 80px;
}

section .environment_box table th {
  border: 2px solid #fff;
  background-color: #efafaf;
  color: #fff;
  font-weight: bold;
  text-align: left;
  width: 40%;
  min-width: 4em;
  padding: 20px 20px 20px 80px;
}

/* ✅ タブレット対応 */
@media screen and (max-width: 896px) {
  section .environment_wrap {
    padding: 100px 30px 0; /* 左右に30px余白 */
  }

  section .environment_box table th,
  section .environment_box table td {
    font-size: 16px;
    padding: 15px 15px 15px 40px; /* 余白を縮小 */
  }
}

/* ✅ スマホ対応 */
@media screen and (max-width: 564px) {
  section .environment_box table,
  section .environment_box tbody,
  section .environment_box tr,
  section .environment_box th,
  section .environment_box td {
    display: block; /* テーブルを縦並びに */
    width: 100%;
  }

  section .environment_box table tr {
    margin-bottom: 15px;
  }

  section .environment_box table th {
    background-color: #efafaf;
    color: #fff;
    text-align: left;
    width: 100%;
    padding: 10px;
  }

  section .environment_box table td {
    background-color: #e6e6e6;
    width: 100%;
    padding: 10px;
  }
}

/*---------------------------------

  使用可能OCRエンジン

---------------------------------*/
section .ocr_wrap {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding-top: 100px;
}

.ocr_inner {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.ocr_inner.show {
  animation: fadeSlideIn 0.5s ease forwards;
}

.ocr_inner table {
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 15px;
  margin: auto;
}

.ocr_inner table th,
.ocr_inner table td {
  border: 2px solid #fff; /* ライン色 */
  text-align: center;
  padding: 13px 0;
  background: #e6e6e6; /* デフォルト背景 */
}

.ocr_inner thead th {
  background: #d67070; /* 見出し背景色（紫） */
  color: #ffffff;
  font-weight: bold;
  width: 150px;
}

.ocr_inner thead td.non {
  background: #fff; /* 左上セルの色 */
  border-right: none;
}

.ocr_inner tbody th {
  background: #efafaf; /* 左列の見出し（紫） */
  color: #ffffff;
  font-weight: bold;
  width: 200px;
}

.ocr_inner tbody tr td {
  background: #e6e6e6; /* 本文背景 */
  font-size: 18px;
}

/* 記号（◎・×・※）を少し大きめ＆太字に */
.ocr_inner td {
  font-weight: bold;
  font-size: 20px;
}

.ocr_wrap small {
  display: block;
  text-align: end;
}

@media (max-width: 1024px) {
  .ocr_inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 表が縮まないようにするための最小幅（列の合計幅） */
  .ocr_inner table {
    min-width: 840px; /* ← 全列幅の合計。必要なら調整OK */
  }

  /* 左列見出しの幅を固定する（縮ませない） */
  .ocr_inner tbody th {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    white-space: nowrap;
  }
}

/*---------------------------------

  導入費用

---------------------------------*/

section .cost_wrap {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 100px 0px;
}

section .cost_wrap p {
  margin-bottom: 20px;
}

section .cost_area {
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.cost_area.show {
  animation: fadeSlideIn 0.5s ease forwards;
}

section .cost_inner {
  display: flex;
  justify-content: space-between;
  width: 95%;
  margin: 0 auto 20px;
}

section .cost_inner figure {
  max-width: 230px;
  width: 40%;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 40px; /* チェックアイコン分の余白 */
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
}

/* 文頭の丸背景チェックマーク */
.check-list li::before {
  content: "✔"; /* または "\2713" */
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #d67070; /* 丸背景色（紫） */
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
}

@media screen and (max-width: 896px) {
  section .cost_wrap {
    padding: 100px 30px;
  }
}

@media (max-width: 700px) {
  section .cost_inner figure {
    display: none;
  }
}
