/* ============================================================
   休暇管理（time-off 新デザイン）  ※値は Figma「solution/time off」(1440px)より
============================================================ */
:root {
  --tmo-navy: #172a88;
  --tmo-gold: #b28247;
  --tmo-gray: #f5f5f5;
  --tmo-shadow: 0 12px 16px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.tmo a {
  text-decoration: none;
}

.tmo :where(ul, ol, h1, h2, h3, h4, p, figure) {
  margin: 0;
  padding: 0;
}

.tmo :where(ul, ol) {
  list-style: none;
}

.tmo img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.p-psolutionsdetail.tmo {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.05em;
  color: #000;
}

/* .tmo-inner {
  width: min(1280px, 100% - 80px);
  margin: 0 auto;
} */

/* 見出し 36px */
.tmo-ttl {
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #000;
}

.t-gold {
  color: var(--tmo-gold);
}

.t-na {
  color: var(--tmo-navy);
}

/* ============================================================
   MV (1440x530)
============================================================ */
.tmo-mv {
  background: var(--tmo-gray) url("/tis/assets/img/solutions/time-off/tim_mv_bg.webp") no-repeat center top / cover;
}

.tmo-mv__inner {
  max-width: 1440px;
  min-height: 530px;
  margin: 0 auto;
  padding: 120px 0 0 80px;
}

.tmo-mv__ttl {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tmo-mv__tag,
.tmo-mv__main {
  font-size: 32px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: 0.1em;
  color: var(--tmo-gold);
}

.tmo-mv__tag {
  box-sizing: border-box;
  height: 64px;
  padding: 3px 23px;
  border: 1px solid var(--tmo-gold);
}

.tmo-mv__lead {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 0.05em;
  color: var(--tmo-navy);
}

.tmo-mv__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  margin-top: 64px;
  padding: 0 40px;
  box-sizing: border-box;
  border: 1px solid var(--tmo-navy);
  background: var(--tmo-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  color: #fff;
  transition: opacity 0.2s ease;
}

.tmo-mv__btn:hover {
  opacity: 0.85;
}

.tmo-mv__btn img {
  margin-right: 0;
}

/* ============================================================
   intro / お悩み一覧
============================================================ */
.tmo-intro {
  padding-top: 96px;
}

.tmo-intro__lead {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
}

.tmo-intro__note {
  margin-top: 7px;
  font-size: 12px;
  line-height: 21px;
  letter-spacing: 0;
  text-align: center;
}

.tmo-intro__ttl {
  margin-top: 28px;
}

.tmo-worry {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 49px;
  margin-top: 56px;
}

.tmo-worry__item {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 394px;
  min-height: 128px;
  padding: 16px 24px;
  border: 1px solid var(--tmo-gold);
  background: #fff;
  box-shadow: var(--tmo-shadow);
  color: #000;
  transition: transform 0.2s ease;
}

.tmo-worry__item:hover {
  transform: translateY(2px);
}

.tmo-worry__txt {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  line-height: 31.5px;
  letter-spacing: 0.05em;
}

.tmo-worry__arrow {
  flex: 0 0 auto;
  width: 16px;
  height: auto;
  margin: 0 12px;
}

.tmo-point__ttl {
  margin-top: 96px;
}

/* ============================================================
   各お悩み＋解決策
============================================================ */
.tmo-sections {
  /* width: min(1280px, 100% - 80px); */
  margin: 56px auto 0;
}

.tmo-sec + .tmo-sec {
  margin-top: 80px;
}

.tmo-sec {
  scroll-margin-top: 110px;
}

/* ---- お悩み（グレー面） ---- */
.tmo-problem {
  position: relative;
  padding: 56px 56px 48px;
  background: var(--tmo-gray);
}

.tmo-problem::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 50%;
  z-index: 1;
  width: 80px;
  height: 80px;
  margin-left: -40px;
  background: var(--tmo-gray);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tmo-problem__ttl {
  padding-bottom: 8px;
  border-bottom: 1px solid #000;
  font-size: 32px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: 0.1em;
  color: #000;
}

.tmo-problem__lead {
  margin-top: 32px;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.05em;
}

.tmo-problem__lead span {
  color: var(--tmo-navy);
  font-weight: bold;
}

.tmo-case {
  box-sizing: border-box;
  margin-top: 40px;
  padding: 25px 33px;
  border: 1px solid #000;
  background: #fff;
}

.tmo-case--tight {
  margin-top: 16px;
}

.tmo-case__tag {
  box-sizing: border-box;
  width: fit-content;
  height: 40px;
  padding: 3px 15px;
  border: 1px solid var(--tmo-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: var(--tmo-gold);
}

.tmo-case__list {
  margin-top: 16px;
  counter-reset: tmo-case;
}

.tmo-case__list li {
  position: relative;
  padding-left: 34px;
  font-size: 18px;
  font-weight: 500;
  line-height: 31.5px;
  letter-spacing: 0.05em;
  counter-increment: tmo-case;
}

.tmo-case__list li::before {
  content: counter(tmo-case) ".";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
  color: var(--tmo-gold);
}

/* ---- 解決策（ネイビー枠） ---- */
.tmo-solve {
  box-sizing: border-box;
  margin-top: 40px;
  padding: 56px;
  border: 1px solid var(--tmo-navy);
  background: #fff;
}

.tmo-solve--tint {
  padding-bottom: 29px;
}

.tmo-solve__head {
  text-align: center;
}

.tmo-solve__lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0.05em;
}

.tmo-solve__ttl {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: 0.1em;
  color: var(--tmo-gold);
}

.tmo-solve__head + * {
  margin-top: 32px;
}

.tmo-solve__text {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
}

.tmo-solve__sub {
  font-size: 24px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--tmo-navy);
}

.tmo-solve__text + .tmo-shot,
.tmo-solve__sub + .tmo-shot,
.tmo-shot + .tmo-solve__sub {
  margin-top: 32px;
}

.tmo-solve__sub + .tmo-solve__text {
  margin-top: 8px;
}

.tmo-solve__text + .tmo-shot {
  margin-top: 32px;
}

.tmo-shot {
  box-sizing: border-box;
  padding: 40px 54px;
  border: 1px solid #000;
  background: #fff;
}

.tmo-shot img {
  display: block;
  width: 100%;
}

.tmo-shot img + img {
  margin-top: 8px;
}

.tmo-shot--tail {
  margin-bottom: -31px;
}

.tmo-shot + .tmo-tint {
  margin-top: 64px;
}

.tmo-tint {
  box-sizing: border-box;
  padding: 40px 54px 49px;
  background: rgba(178, 130, 71, 0.08);
}

.tmo-tint .tmo-solve__sub {
  margin-top: 0;
  color: #000;
}

.tmo-tint img {
  display: block;
  width: 100%;
  margin-top: 32px;
}

/* 最後のセクションとお問い合わせの間 */
/* .tmo-sections {
  padding-bottom: 123px;
} */

#h2-5 {
  margin-bottom: 100px;
}

/* ============================================================
   タブレット
============================================================ */
@media (max-width: 1279px) {
  .tmo-mv__inner {
    padding-left: 5%;
  }

  .tmo-worry__item {
    width: calc((100% - 98px) / 3);
  }

  .tmo-problem,
  .tmo-solve {
    padding-right: 32px;
    padding-left: 32px;
  }

  .tmo-shot,
  .tmo-tint {
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* ============================================================
   SP
============================================================ */
@media (max-width: 767px) {
  /* .tmo-inner,
  .tmo-sections {
    width: calc(100% - 32px);
  } */

  .tmo-ttl {
    font-size: 24px;
    line-height: 1.6;
    letter-spacing: 0.08em;
  }

  .tmo-mv {
    background-position: 100% top;
    background-size: cover;
  }

  .tmo-mv__inner {
    min-height: 0;
    padding: 35px 15px 40px;
    text-align: center;
  }

  .tmo-mv__ttl {
    display: block;
    gap: 0;
  }

  .tmo-mv__tag {
    width: 150px;
    margin: 0 auto 5px;
  }

  .tmo-mv__tag,
  .tmo-mv__main {
    font-size: 20px;
    line-height: 1.6;
  }

  .tmo-mv__tag {
    height: auto;
    padding: 2px 14px;
  }

  .tmo-mv__lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
  }

  .tmo-mv__btn {
    height: auto;
    min-height: 52px;
    margin-top: 24px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .tmo-intro {
    padding-top: 56px;
  }

  .tmo-intro__lead {
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }

  .tmo-intro__ttl {
    margin-top: 32px;
  }

  .tmo-worry {
    gap: 16px;
    margin-top: 28px;
  }

  .tmo-worry__item {
    width: 100%;
    min-height: 0;
    padding: 16px;
  }

  .tmo-worry__txt {
    font-size: 15px;
    line-height: 1.7;
  }

  .tmo-point__ttl {
    margin-top: 56px;
  }

  .tmo-sections {
    margin-top: 28px;
    padding-bottom: 64px;
  }

  .tmo-sec + .tmo-sec {
    margin-top: 56px;
  }

  .tmo-problem {
    padding: 28px 16px 40px;
  }

  .tmo-problem::after {
    width: 56px;
    height: 56px;
    margin-left: -28px;
    bottom: -24px;
  }

  .tmo-problem__ttl {
    font-size: 20px;
    line-height: 1.6;
  }

  .tmo-problem__lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

  .tmo-case {
    margin-top: 24px;
    padding: 16px;
  }

  .tmo-case__tag {
    height: auto;
    font-size: 14px;
    line-height: 1.8;
  }

  .tmo-case__list li {
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.8;
  }

  .tmo-solve {
    margin-top: 28px;
    padding: 28px 16px;
  }

  .tmo-solve--tint {
    padding-bottom: 16px;
  }

  .tmo-solve__lead {
    font-size: 18px;
    line-height: 1.6;
  }

  .tmo-solve__ttl {
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: 0.06em;
  }

  .tmo-solve__head + * {
    margin-top: 20px;
  }

  .tmo-solve__text {
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }

  .tmo-solve__sub {
    font-size: 17px;
    line-height: 1.7;
  }

  .tmo-shot {
    padding: 12px;
  }

  .tmo-shot--tail {
    margin-bottom: -12px;
  }

  .tmo-shot + .tmo-tint {
    margin-top: 32px;
  }

  .tmo-tint {
    padding: 20px 12px 16px;
  }

  .tmo-tint img {
    margin-top: 16px;
  }

}
