/* =========================================
   WOMEN WORK PAGE
   /asset2023/css/women-work.css
========================================= */

#mh-work-guide,
#mh-work-guide * {
  box-sizing: border-box;
}

#mh-work-guide {
  --mh-red: #a32328;
  --mh-brown: #49191d;
  --mh-yellow: #f4ed00;
  --mh-gray: #f4f4f4;
  --mh-line: #e7e0dd;
  --mh-white: #fff;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--mh-brown);
  font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height: 1.8;
}

#mh-work-guide h2,
#mh-work-guide h3,
#mh-work-guide p {
  margin-top: 0;
}

.mh-work-first,
.mh-work-section,
.mh-work-final {
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 4vw, 48px);
}

.mh-work-first {
  text-align: center;
  background: #fffaf8;
}

.mh-work-main-title {
  margin-bottom: 28px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.55;
}

.mh-work-first-lead {
  margin-bottom: 22px;
  font-weight: 700;
}

.mh-work-first-text {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
}

.mh-work-first-text strong,
.mh-work-heading strong {
  color: var(--mh-red);
}

.mh-work-reassure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
  text-align: left;
}

.mh-work-reassure-item {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  background: var(--mh-white);
}

.mh-work-reassure-no,
.mh-work-choice-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--mh-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.mh-work-reassure-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.mh-work-reassure-item p {
  margin-bottom: 0;
  font-size: 14px;
}

.mh-work-final {
  text-align: center;
}

.mh-work-final h2 {
  margin-bottom: 22px;
  font-size: 18px;
}

.mh-work-final-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: min(100%, 420px);
  padding: 17px 24px;
  border-radius: 999px;
  background: var(--mh-red);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity .2s ease;
}

.mh-work-final-btn:hover {
  opacity: .82;
}

.mh-work-heading {
  margin-bottom: 34px;
  text-align: center;
}

.mh-work-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.5;
}

.mh-work-code {
  background: var(--mh-gray);
}

.mh-work-code-point {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.mh-work-code-point > span {
  display: block;
  margin-bottom: 10px;
  color: var(--mh-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

.mh-work-code-point p {
  margin-bottom: 0;
}

.mh-work-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mh-work-choice-item {
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  background: #fff;
}

.mh-work-choice-en {
  margin-bottom: 8px !important;
  color: var(--mh-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.mh-work-choice-item h3 {
  margin-bottom: 18px;
  font-size: 21px;
  line-height: 1.55;
}

.mh-work-choice-item p:not(.mh-work-choice-en) {
  font-size: 14px;
}

.mh-work-choice-item strong {
  color: var(--mh-red);
}

.mh-work-choice-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff7cf;
  font-size: 12px;
  font-weight: 700;
}

.mh-work-choice-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 13px 15px;
  border: 1px solid var(--mh-red);
  border-radius: 8px;
  color: var(--mh-red) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.mh-work-choice-link--sub {
  margin-top: 8px;
}

.mh-work-style {
  background: #fffaf8;
}

.mh-work-style-list {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid var(--mh-line);
}

.mh-work-style-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--mh-line);
}

.mh-work-style-label {
  color: var(--mh-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.mh-work-style-before,
.mh-work-style-after {
  display: flex;
  flex-direction: column;
}

.mh-work-style-before small,
.mh-work-style-after small {
  margin-bottom: 4px;
  color: #777;
  font-size: 11px;
}

.mh-work-style-before strong,
.mh-work-style-after strong {
  font-size: 15px;
}

.mh-work-style-after strong {
  color: var(--mh-red);
}

.mh-work-style-arrow {
  text-align: center;
  font-weight: 700;
}

.mh-work-style-note {
  max-width: 840px;
  margin: 30px auto 0;
  padding: 22px 24px;
  border-left: 4px solid var(--mh-red);
  background: #fff;
}

.mh-work-style-note > strong {
  display: block;
  margin-bottom: 8px;
}

.mh-work-style-note p {
  margin-bottom: 0;
  font-size: 14px;
}

.mh-work-last {
  text-align: center;
}

.mh-work-last .mh-work-final-btn {
  margin-top: 10px;
}

.mh-work-recommend {
  padding-bottom: 24px;
}

.mh-sp {
  display: none;
}

@media (max-width: 767px) {
  .mh-pc {
    display: none;
  }

  .mh-sp {
    display: block;
  }

  .mh-work-first,
  .mh-work-section,
  .mh-work-final {
    padding: 40px 18px;
  }

  .mh-work-reassure,
  .mh-work-choice {
    grid-template-columns: 1fr;
  }

  .mh-work-style-row {
    grid-template-columns: 68px 1fr 22px 1fr;
    gap: 8px;
  }

  .mh-work-style-before strong,
  .mh-work-style-after strong {
    font-size: 13px;
  }

  .mh-work-style-label {
    font-size: 10px;
  }

  .mh-work-final-btn {
    width: 100%;
    min-width: 0;
  }
}
