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

.twk a {
  text-decoration: none;
}

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

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

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

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

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

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

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

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

/* ============================================================
   MV (1440x530)
============================================================ */
.twk-mv {
  background: var(--twk-gray) url("/tis/assets/img/solutions/telework/tele_mv_bg.jpg") no-repeat center top / cover;
}

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

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

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

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

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

.twk-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(--twk-navy);
  background: var(--twk-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  color: #fff;
  transition: opacity 0.2s ease;
}

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

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

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

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

.twk-intro__ttl {
  margin-top: 56px;
}

.twk-worry {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 49px;
  width: 837px;
  max-width: 100%;
  margin: 56px auto 0;
}

.twk-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(--twk-gold);
  background: #fff;
  box-shadow: var(--twk-shadow);
  color: #000;
  transition: transform 0.2s ease;
}

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

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

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

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

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

.twk-sec + .twk-sec,
.twk-banner + .twk-sec {
  margin-top: 80px;
}

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

/* ---- お悩み（グレー面） ---- */

.twk-problem-sec {
  margin-top: 80px;
}

.twk-problem {
  position: relative;
  padding: 56px 56px 48px;
  background: var(--twk-gray);
}

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

.twk-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;
}

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

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

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

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

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

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

.twk-solve__text {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.05em;
}

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

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

.twk-solve__sub + .twk-shot {
  margin-top: 44px;
}

.twk-solve__sub--gap {
  margin-top: 24px;
}

.twk-solve__sub--gap64 {
  margin-top: 64px;
}

.twk-shot + .twk-solve__sub {
  margin-top: 24px;
}

.twk-shot + .twk-solve__sub--gap64,
.twk-solve__text + .twk-solve__sub--gap64 {
  margin-top: 64px;
}

.twk-solve__text {
  margin-top: 32px;
}

.twk-shot {
  margin-top: 32px;
}

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

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

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

.twk-shot--w1000 img {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.twk-shot--w966 img {
  max-width: 966px;
  margin-right: auto;
  margin-left: auto;
}

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

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

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

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

/* 資料ダウンロードバナー */
.twk-banner {
  margin: 80px auto 0;
  text-align: center;
}

.twk-banner img {
  width: 1180px;
  max-width: 100%;
}

/* 最後のバナーとお問い合わせの間 */
.twk-sections {
  padding-bottom: 72px;
}

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

  .twk-worry {
    width: 837px;
  }

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

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

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

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

  /* .twk-mv {
    background-position: 68% bottom;
    background-size: auto 48%;
  } */

  .twk-mv__inner {
    min-height: 0;
    padding: 30px 5% 40px;
    text-align: center;
  }

  .twk-mv__ttl {
    display: block;
    text-align: center;
  }

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

  .twk-mv__tag {
    height: auto;
    padding: 2px 14px;
    display: inline-block;
  }

  .twk-mv__main {
    margin-top: 10px;
  }

  .twk-mv__lead {
    display: inline-block;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
  }

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

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

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

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

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

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

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

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

  .twk-banner {
    margin-top: 40px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .twk-shot {
    padding: 12px;
  }

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

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

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

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