

/* ====================================
   Company Checks - Refactored CSS
   ==================================== */
/* CSS Variables */
:root {
  --primary-color: #13b4b4;
  --primary-dark: #14b3b3;
  --primary-light: #14b4b4;
  --text-color: #333333;
  --bg-light: #f6f6f6;
  --bg-section: #f0fafa;
  --bg-orange-section: #f4e8d7;
  --border-color: #d4d4d4;
  --border-light: #dddddd;
  --border-orange: #e3daca;
  --max-width: 1080px;
  --border-radius: 5px;
  --white: #ffffff;
}

/* ====================================
   Base Typography
   ==================================== */
#company-checks .h2title-sentence {
  margin-bottom: 20px;
  line-height: 180%;
}
#company-checks .title {
  margin-bottom: 20px;
}
#company-checks .sentence {
  font-size: 16px;
  line-height: 1.8;
}
#company-checks .sentence:not(:last-child) {
  margin-bottom: 20px;
}
#company-checks figure {
  text-align: center;
}

/* ====================================
   Hero Section
   ==================================== */
#company-checks .hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#company-checks .hero-section .title {
  margin-bottom: 20px;
  font-size: 31px;
  line-height: 1.8;
  color: #333333;
  text-align: center;
}
#company-checks .hero-section figure {
  margin: 0 auto 20px;
}
#company-checks .hero-section img {
  width: 100%;
  max-width: 368px;
  height: auto;
}
#company-checks .hero-section-sentence {
  margin: 25px auto 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 200%;
  color: #545454;
  text-align: center;
  letter-spacing: -0.187px;
}

/* ====================================
   Check Explanation Section
   ==================================== */
#company-checks .check-explanation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f2e5d0;
}
#company-checks .check-explanation .sentence {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  text-align: center;
  letter-spacing: -0.187px;
}
#company-checks .check-explanation .blue {
  font-weight: 700;
  color: #14b4b4;
}
#company-checks .check-explanation img {
  width: 100%;
  max-width: 500px;
}

/* ====================================
   Three Steps Section
   ==================================== */
#company-checks section.three-steps {
  padding-top: 0;
}
#company-checks .three-steps .title {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}
#company-checks .three-steps .attention {
  line-height: 150%;
}

/* ====================================
   Guarantee Recommendation Section
   ==================================== */
#company-checks .guarantee-recommendation {
  display: flex;
  gap: 89px;
  align-items: flex-end;
  justify-content: center;
  background-color: #f0fafa;
}
#company-checks .guarantee-recommendation img {
  max-width: 258px;
}
#company-checks .guarantee-recommendation .left > * {
  text-align: left;
}
#company-checks .guarantee-recommendation .title {
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
}
#company-checks .guarantee-recommendation .h2title-sentence {
  margin: 25px 0 20px;
  font-size: 16px;
}
#company-checks .guarantee-recommendation .left {
  max-width: 600px;
}
#company-checks section.guarantee-recommendation {
  padding: 50px 20px;
}
#company-checks .guarantee-recommendation.figure {
  line-height: 0;
}
#company-checks .company-checks-sp {
  display: none !important;
}

/* ====================================
   Layout Components
   ==================================== */
#company-checks .left {
  max-width: 435px;
  margin-top: 15px;
}
#company-checks .right {
  max-width: 420px;
}
#company-checks .right .move-player {
  width: 100%;
  vertical-align: bottom;
  border: 1px solid #d4d4d4;
  border-radius: 5px;
}

/* ====================================
   Two Box Layout
   ==================================== */
#company-checks .two-box-wrap {
  max-width: var(--max-width);
  margin: 50px auto 0;
}
#company-checks .two-box {
  display: flex;
  justify-content: space-between;
  padding: 25px 25px 25px 75px;
  margin-bottom: 40px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}
#company-checks .two-box:last-child {
  margin-bottom: 0;
}

@media screen and (width >940px) {
  #company-checks .two-box {
    gap: 0 20px;
  }
}

/* ====================================
   Button Components
   ==================================== */
#company-checks .flow-step {
  width: 55px;
  padding: 0 8px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  background: var(--primary-color);
  border-radius: var(--border-radius);
}
#company-checks .flow-btn {
  padding: 9px 35px 10px 25px;
}
#company-checks .flow-btn-sp {
  display: none;
  max-width: 160px;
  padding: 13px 30px 15px 25px;
  margin: 28px auto 0;
}
#company-checks .flow-btn::after,
#company-checks .flow-btn-sp::after {
  right: 20px;
}

/* ====================================
   Content Box Modifiers
   ==================================== */
/* ====================================
   FAQ Section
   ==================================== */
#company-checks .introduction-faq .faq-wrap {
  max-width: 900px;
  margin: 50px auto 35px;
}
#company-checks .introduction-faq dl {
  border-bottom: 1px #dfdfdf solid;
}
#company-checks .introduction-faq dd ul {
  padding: 0 25px 10px 90px;
  font-size: 14px;
  line-height: 1.7;
}
#company-checks .faq-q {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 17px;
  font-weight: bold;
  line-height: 2;
  cursor: pointer;
  transition: opacity 0.2s;
}
#company-checks .faq-q::before {
  color: var(--primary-light);
  content: "Q.";
}
#company-checks .faq-q-txt {
  position: relative;
  flex-basis: calc(100% - 60px);
  font-weight: 400;
  color: var(--primary-light);
}
#company-checks .faq-q:hover {
  opacity: 0.7;
}
#company-checks .faq-q .faq-btn {
  text-align: right;
}
#company-checks .faq-q .faq-btn span,
#company-checks .faq-q .faq-btn::after {
  display: inline-block;
  vertical-align: middle;
}
#company-checks .faq-q .faq-btn span {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-color: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: 50%;
}
#company-checks .faq-q .faq-btn span::before,
#company-checks .faq-q .faq-btn span::after {
  position: absolute;
  display: block;
  content: "";
  background-color: var(--primary-light);
}
#company-checks .faq-q .faq-btn span::before {
  top: calc(50% - 1px);
  left: 3px;
  width: 14px;
  height: 2px;
}
#company-checks .faq-q .faq-btn span::after {
  top: 3px;
  left: 9px;
  z-index: 2;
  width: 2px;
  height: 14px;
  transition: transform 0.2s ease-in;
}
#company-checks .faq-a {
  padding-bottom: 15px;
  font-size: 15px;
  line-height: 1.8;
}
#company-checks .faq-btn.btn-open span::after {
  transform: rotate(90deg);
}

/* ====================================
   Box Contents Component
   ==================================== */
#company-checks .box-contents,
#company-checks .box-contents-2 {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  min-height: 290px;
  padding: 55px 75px;
  margin: 45px auto 0;
  background: var(--white) url(/web/img/pre/top/moomin_00.png) right -280px
    top -180px/ 798px no-repeat;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
}
#company-checks .box-contents.box-contents-2 {
  background: var(--white) url(/web/img/pre/top/moomin_01.png) left -280px
    top -220px/ 800px no-repeat;
}
#company-checks .box-contents-left,
#company-checks .box-contents-right {
  width: 40%;
}
#company-checks .box-contents-right {
  margin-right: 0;
  text-align: center;
}
#company-checks .box-contents-right > img {
  width: 100%;
  max-width: 213px;
  transform: translateX(60px);
}
#company-checks .box-contents-2 .box-contents-right > img {
  max-width: 218px;
  transform: translateX(-70px);
}
#company-checks .box-contents-left {
  width: 49%;
  line-height: 2;
}
#company-checks .box-contents-left .title {
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 1.7;
  color: #14b4b4;
}
#company-checks .box-contents-left .sentence {
  font-size: 16px;
  line-height: 2;
  word-break: break-word;
}
#company-checks .box-contents-left .sentence span {
  font-weight: bold;
  color: var(--primary-dark);
  word-break: break-word;
}
#company-checks .box-contents-left .exam-table {
  width: 360px;
  margin: 15px 0 0;
  font-size: 16px;
  border-spacing: 0 10px;
  border-collapse: separate;
}
#company-checks .box-contents-left .exam-table th {
  width: 50%;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  background-color: var(--primary-dark);
  border-radius: 6px 0 0 6px;
}
#company-checks .box-contents-left .exam-table td {
  padding: 6px;
  font-weight: bold;
  color: var(--primary-dark);
  text-align: center;
  background-color: var(--bg-light);
  border: 1px solid var(--primary-dark);
  border-radius: 0 6px 6px 0;
}
#company-checks .box-contents.img-left .box-contents-left {
  order: 2;
}
#company-checks .box-contents.img-left .box-contents-right {
  order: 1;
  margin-right: initial;
  margin-left: 0;
}

/* ====================================
   Responsive Design
   ==================================== */
@media screen and (width <=940px) {
  /* Hero Section - 940px responsive */
  #company-checks .hero-section {
    padding: 60px 20px;
  }
  #company-checks .hero-section .title {
    font-size: 24px;
  }
  #company-checks .two-box-wrap {
    max-width: 100%;
  }
  #company-checks .two-box {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px 45px;
    margin-bottom: 20px;
    text-align: center;
  }
  #company-checks .flow-step {
    margin: 0 auto 20px;
  }
  #company-checks .flow-btn {
    display: none;
  }
  #company-checks .flow-btn-sp {
    display: block;
  }
  #company-checks .sentence:last-child {
    margin-bottom: 20px;
  }
  #company-checks .introduction-faq .faq-wrap {
    margin: 25px auto;
  }
  #company-checks .faq-q {
    font-size: 15px;
  }
  #company-checks .faq-a {
    font-size: 14px;
  }
  #company-checks .box-contents-left .title {
    font-size: 22px;
  }
  #company-checks .box-contents {
    padding: 50px 60px;
    margin: 30px auto 0;
    background: url(/web/img/pre/top/moomin_sp_00.png) right -260px center/
      800px no-repeat;
  }
  #company-checks .box-contents.box-contents-2 {
    align-items: center;
    background: url(/web/img/pre/top/moomin_sp_01.png) left -260px center/
      800px no-repeat;
  }
  #company-checks .box-contents-right > img {
    transform: none;
  }
  #company-checks .box-contents-2 .box-contents-right > img {
    transform: none;
  }

  /* Three Steps Section - 940px responsive */
  #company-checks .three-steps .attention {
    margin-bottom: 20px;
  }

  /* Guarantee Recommendation Section - 940px responsive */
  #company-checks section.guarantee-recommendation {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  #company-checks .check-features br {
    display: none;
  }
  #company-checks .guarantee-recommendation .left {
    margin-top: 0;
  }
  #company-checks .guarantee-recommendation .title {
    text-align: center;
  }
}
@media screen and (width <=670px) {
  #company-checks .h2title-sentence {
    margin-bottom: 23px;
  }
  #company-checks .guarantee-recommendation .h2title-sentence {
    margin-bottom: 23px;
  }
  #company-checks .two-box-wrap {
    margin: 30px auto 0;
  }
  #company-checks .flow-step {
    margin: 0 auto 15px;
  }
  #company-checks .title {
    font-size: 18px;
  }
  #company-checks .three-steps .title {
    font-size: 18px;
  }
  #company-checks .sentence {
    font-size: 15px;
    text-align: left;
  }
  #company-checks .check-explanation .sentence {
    font-size: 15px;
    text-align: left;
  }
  #company-checks .sentence .dsply-inblk {
    display: inline !important;
  }
  #company-checks .box-contents,
  #company-checks .box-contents.box-contents-2 {
    flex-flow: column;
    justify-content: space-evenly;
    min-height: 440px;
    padding: 30px;
    margin: 30px auto 0;
    background: url(/web/img/pre/top/moomin_sp_00.png) left 20px top/ 860px
      no-repeat;
  }
  #company-checks .box-contents-left,
  #company-checks .box-contents-right {
    width: 100%;
  }
  #company-checks .box-contents-right {
    margin: 15px 0 0;
  }
  #company-checks .box-contents-left .title {
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
  }
  #company-checks .box-contents.img-left .box-contents-right,
  #company-checks .box-contents.img-left .box-contents-left {
    order: 0;
  }
  #company-checks .box-contents-left .sentence {
    font-size: 15px;
  }
  #company-checks .box-contents-left .exam-table {
    width: 100%;
    margin: 0;
    font-size: 13px;
  }

  /* Hero Section - 670px responsive */
  #company-checks .hero-section {
    padding: 50px 20px;
  }
  #company-checks .hero-section .title {
    margin-bottom: 20px;
    font-size: 18px;
  }
  #company-checks .hero-section-sentence {
    font-size: 14px;
  }

  /* Three Steps Section - 670px responsive */
  #company-checks .three-steps .attention {
    text-align: left;
  }

  /* Check Explanation Section - 670px responsive */
  #company-checks .check-explanation .sentence br {
    display: none;
  }

  /* Guarantee Recommendation Section - 670px responsive */
  #company-checks .company-checks-sp {
    display: block !important;
  }
}
