/* ----------------------------------------------------
  offset.css
---------------------------------------------------- */

/* 基本レイアウト（スマホファースト） */
.section {
  width: 100%;
  padding: 48px 20px;
  box-sizing: border-box;
  margin: 0 auto;
}


.container {
  margin: 0 auto;
}

/* -------------------------------------
    背景パターン（共通）
------------------------------------- */
.bg-white {
  position: relative;
  background-color: #ffffff;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 15px;
  padding-right: 15px;
}

.bg-bl-pattern {
  position: relative;
  background-image: url("../img/offset/osp_offset_logoback.svg");
  background-repeat: repeat;
  background-size: 40px;
  overflow: hidden;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 15px;
  padding-right: 15px;
}

/* -------------------------------------
    KV
------------------------------------- */

.kv-line {
  border-bottom: 7px solid #E5AC10;
  line-height: 2;

}

/* -------------------------------------
    case
------------------------------------- */
.offsetcase-inner {
  display: flex;
  gap: 30px;
  flex-direction: column;
  align-items: center;

}


/* PC */
@media (min-width: 768px) {
  .offsetcase-inner {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
}

.offsetcase-card {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 767px) {
  .offsetcase-card {
    width: auto;
    max-width: 350px;
    margin: 0 auto;
  }
}

.offsetcase-icon {
  width: 120px;
  height: auto;
}

.case-text {
  margin-top: 15px;
}


/* -------------------------------------
    お困り事解決
------------------------------------- */

.group-container3 {
  display: block;
  text-align: center;
}

.problem img,
.guide img {
  display: block;
  margin: 0 auto;
}

.offset-map {
  display: block;
  margin: 0 auto;
  margin-top: 20px;
}

.round-box-W-offset {
  background-color: #ffffff;
  max-width: 400px;
  padding: 15px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: #38209F;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------
    設備について
------------------------------------- */

.company-inner {
  text-align: center;
  display: block;
  margin: 0 auto;
}


.company-image-wrap,
.company-image-wrap2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;

}


.company-image {
  height: auto;
  margin: 0;

}

.round-box-G-offset {
  background-color: #676666;
  max-width: 400px;
  padding: 15px;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------
  ポイントカラー
---------------------------------------------------- */
.offsetKeyColor {
  color: #E5AC10;
}

.offsetMainColor {
  color: #38209F;
}


/* ----------------------------------------------------
  フォームへ誘導テキストスタイル
---------------------------------------------------- */

.round-box-offset {
  background-color: #E5AC10;
  max-width: 400px;
  padding: 20px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-left: auto;
  margin-right: auto;

}

.round-box-offset:hover,
.round-box-offset:active {
  background: var(--offsetKeyHover);
}

.round-box-offset {
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.round-box-offset:active {
  transform: scale(0.97);
}



/* ----------------------------------------------------
  PC
---------------------------------------------------- */

@media (min-width: 768px) {

  .company-image-wrap,
  .company-image-wrap2 {
    flex-direction: row;
    justify-content: center;
  }

  .company-image {
    margin: 0;
    width: auto;
    height: auto;
    display: block;
    gap: none;
  }

  .offsetcase-inner {
    flex-direction: row;
    /* 横並びに変更 */
    justify-content: center;
    /* 中央に揃える */
    align-items: flex-start;
  }

  .offsetcase-card {
    margin: 0;
    width: auto;
    height: auto;
    display: block;
  }
}