@charset "UTF-8";

/* CSS Document */
/*---------------------------------

  メインビジュアル

---------------------------------*/
.key_visual {
  background-image: url("../images/ImageInspection/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: 8px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.catch p {
  line-height: 1.8;
  max-width: 600px;
}

.catch_wrap figure {
  width: 45%;
  max-width: 830px;
  padding: 20px;
}

.catch_wrap img {
  max-width: 100%;
  height: auto;
}

@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: #d8996f;
  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: #f9ece5;
  margin-top: 100px;
  padding: 40px 0;
}

section .feature_wrap {
  background-color: #fff;
  width: 90%;
  margin: 40px auto;
  padding: 70px 0;
}

section .feature_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
  width: 80%;
  margin: auto;
}

section .feature_box {
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
  width: 100%;
  max-width: 300px;
}

.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 figure {
  width: 80%;
  max-width: 250px;
  margin: auto;
}

@media screen and (max-width: 896px) {
  section .feature_inner {
    gap: 50px;
  }

  section .feature_box h3 {
    height: 50px;
  }

  section .feature_box.last h3 {
    height: 80px;
  }
}

/*---------------------------------

  機能

---------------------------------*/
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: #d8996f;
  font-size: 22px;
  margin-bottom: 10px;
}

section .function_inner figure {
  width: 100%;
  max-width: 400px;
}

section .function_inner.small_image figure {
  max-width: 200px;
}

@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.5s ease forwards;
}

section .flow_box {
  width: 50%;
  max-width: 500px;
}

section .flow_box h4 {
  color: #d8996f;
  padding-bottom: 10px;
}

section .flow_box h4 span {
  font-size: 21px;
}

section .flow_box h3 {
  padding-bottom: 10px;
}

section .flow_inner.small_image figure {
  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: #d8996f;
  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 .environment_wrap {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding-top: 100px;
}

section .environment_box {
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.environment_box.show {
  animation: fadeSlideIn 0.5s ease forwards;
}

section .environment_box h3 {
  color: #d8996f;
  padding-bottom: 20px;
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 50px;
}

table td {
  border: 2px solid #fff;
  background-color: #e6e6e6;
  padding: 20px 20px 20px 80px;
}

table th {
  border: 2px solid #fff;
  background-color: #e5c6a5;
  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余白 */
  }

  table th,
  table td {
    font-size: 16px;
    padding: 15px 15px 15px 40px; /* 余白を縮小 */
  }
}

/* ✅ スマホ対応 */
@media screen and (max-width: 564px) {
  table,
  tbody,
  tr,
  th,
  td {
    display: block; /* テーブルを縦並びに */
    width: 100%;
  }

  table tr {
    margin-bottom: 15px;
  }

  table th {
    background-color: #e5c6a5;
    color: #fff;
    text-align: left;
    width: 100%;
    padding: 10px;
  }

  table td {
    background-color: #e6e6e6;
    width: 100%;
    padding: 10px;
  }
}

/*---------------------------------

  使用可能OCRエンジン

---------------------------------*/
section .ocr_wrap {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding-top: 100px;
}

section .ocr_inner h3 {
  color: #d8996f;
  font-size: 30px;
  padding-bottom: 20px;
}

section .ocr_inner h4 {
  font-size: 20px;
  padding: 20px 0;
}

section .font_box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-left: 20px;
}

section .font_box h5 {
  color: #d8996f;
  font-size: 15px;
}

section .font_box p {
  padding-right: 30px;
}

section .picture_box {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 20px;
  justify-content: space-around;
  padding-top: 50px;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.picture_box.show {
  animation: fadeSlideIn 0.5s ease forwards;
}

section .picture_box .picture_contents {
  width: 50%;
  max-width: 430px;
}

section .picture_box .picture_contents p {
  padding-bottom: 5px;
}

section .picture_box .picture_contents.last {
  display: flex;
  justify-content: space-around;
}

section .picture_box .picture_contents.last p {
  text-align: center;
}

@media screen and (max-width: 896px) {
  section .ocr_wrap {
    padding: 0 30px; /* 両端に余白 */
  }

  section .ocr_inner h3 {
    font-size: 26px;
    padding-bottom: 10px;
  }

  section .ocr_inner h4 {
    font-size: 18px;
    padding: 30px 0 10px;
  }

  section .font_box {
    flex-direction: column; /* 縦並び */
    padding-left: 0;
  }

  section .picture_box {
    gap: 30px 10px;
  }

  section .picture_box .picture_contents {
    width: 100%; /* 画像を1列に */
    max-width: 500px;
  }
}

/* ✅ スマホ対応 */
@media screen and (max-width: 564px) {
  section .ocr_inner h3 {
    font-size: 22px;
  }

  section .font_box {
    gap: 10px;
  }

  section .picture_box {
    align-items: center;
    flex-direction: column; /* 完全縦並び */
  }

  section .picture_box .picture_contents {
    width: 100%;
  }
}

/*---------------------------------

  導入費用

---------------------------------*/

section .cost_wrap {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 100px 0;
}

section .cost_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px);
}

.cost_inner.show {
  animation: fadeSlideIn 0.5s ease forwards;
}

.price_area {
  padding: 30px;
}

.price_area .price {
  color: #d8996f;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 20px;
}

.price_area .price span {
  font-size: 18px;
  margin-left: 5px;
}

.additional {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-bottom: 20px;
}

.additional p {
  padding: 0;
}

.plus_icon {
  border-radius: 50%;
  background-color: #d8996f;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  width: 24px;
  height: 24px;
}

.description {
  text-align: center;
}

.price_area small {
  color: #333;
  font-size: 12px;
  position: absolute;
  bottom: -25px; /* 枠の外に出す */
  right: 0px; /* 右端に配置 */
}

section .cost_box {
  border: 2px solid #d8996f;
  position: relative;
  width: 50%;
  max-width: 500px;
}

section .cost_box h3 {
  align-items: center;
  background-color: #d8996f;
  color: #fff;
  display: flex;
  justify-content: center;
  height: 60px;
}

section .cost_contents {
  padding: 20px;
}

section .cost_inner figure {
  align-items: center;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 1096px) {
  section .cost_wrap {
    padding: 80px 70px; /* 両端に余白 */
  }

  section .cost_inner {
    gap: 30px;
  }

  section .cost_box {
    width: 100%; /* 横並び解除 */
    max-width: none;
  }

  .price_area .price {
    font-size: 36px;
  }
}

/* ✅ スマホ対応 */
@media screen and (max-width: 564px) {
  section .cost_wrap {
    padding: 60px 20px; /* 両端に余白 */
  }

  .price_area .price {
    padding: 20px 0;
  }

  .price_area .price span {
    font-size: 14px;
  }

  .additional {
    flex-direction: column; /* 縦並び */
    gap: 5px;
  }

  .additional p {
    text-align: center;
  }

  section .cost_box h3 {
    font-size: 18px;
    height: auto;
    padding: 10px;
  }
}
