@charset "UTF-8";
/* ==========================================================
   メインビジュアル（トップページ）
   PC：写真を右、文字を左に重ねる ／ スマホ（〜767px）：写真の下に文字
   ========================================================== */

.tk-mv {
  --tk-mv-yellow: #ffc81e;
  --tk-mv-dark: #161616;
  --tk-mv-font: "M PLUS 1p", "Hiragino Kaku Gothic StdN", "Hiragino Sans", "Noto Sans JP", "Meiryo", sans-serif;
  position: relative;
  overflow: hidden;
  background: var(--tk-mv-dark);
  color: #fff;
  font-family: var(--tk-mv-font);
  line-height: 1.3;
  letter-spacing: 0;
  isolation: isolate; /* MV内の z-index を外に漏らさない */
}

.tk-mv *,
.tk-mv *::before,
.tk-mv *::after {
  box-sizing: border-box;
}

/* ---------- 写真 ---------- */
.tk-mv__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  margin: 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.tk-mv__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

/* 写真の左端を黒になじませる */
.tk-mv__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--tk-mv-dark) 0%, rgba(22, 22, 22, .75) 14%, rgba(22, 22, 22, 0) 42%);
  pointer-events: none;
}

/* ---------- 文字のかたまり ---------- */
.tk-mv__inner {
  position: relative;
  z-index: 1;
  min-height: clamp(300px, 21.2vw, 360px);
  padding: clamp(16px, 1.4vw, 24px) 0 clamp(24px, 2.2vw, 34px) clamp(16px, 3.8vw, 60px);
}

/* 黄色の帯「中古オフィス家具の決定版」 */
.tk-mv__label {
  display: inline-block;
  margin: 0 0 clamp(14px, 1.6vw, 26px) calc(-1 * clamp(16px, 3.8vw, 60px) - 20px);
  padding: .3em 1.4em .3em calc(clamp(16px, 3.8vw, 60px) + 20px);
  background: var(--tk-mv-yellow);
  color: #111;
  font-size: clamp(15px, 1.75vw, 28px);
  font-weight: 800;
  transform: rotate(-3deg) skewX(-18deg);
  transform-origin: left bottom;
}

.tk-mv__label span {
  display: inline-block;
  transform: skewX(18deg);
}

/* 見出し */
.tk-mv__title {
  margin: 0 0 clamp(18px, 2vw, 32px);
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--tk-mv-font);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .02em;
  transform: rotate(-4deg) skewX(-10deg);
  transform-origin: left bottom;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.tk-mv__line1,
.tk-mv__line2 {
  display: block;
}

.tk-mv__line1 {
  font-size: clamp(28px, 3.4vw, 54px);
}

.tk-mv__line2 {
  position: relative;
  display: inline-block;
  padding-bottom: .12em;
  font-size: clamp(30px, 3.6vw, 58px);
}

/* 「揃えるなら天下一。」の下の黄色い筆の線 */
.tk-mv__line2::after {
  content: "";
  position: absolute;
  left: 4.2em;
  right: .3em;
  bottom: -.08em;
  height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20' preserveAspectRatio='none'%3E%3Cpath d='M2 15 C120 9 260 4 398 2 L396 9 C260 11 120 15 6 19 Z' fill='%23ffc81e'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.tk-mv__line2 em {
  color: var(--tk-mv-yellow);
  font-style: normal;
  font-size: 1.22em;
}

.tk-mv__line2 strong {
  font-size: 1.32em;
  font-weight: 800;
  margin-left: .08em;
}

/* 3つの強み */
.tk-mv__points {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tk-mv__points li {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  margin: 0;
  padding: 0 clamp(14px, 1.8vw, 28px);
  border-left: 2px solid rgba(255, 255, 255, .7);
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.tk-mv__points li:first-child {
  padding-left: 0;
  border-left: 0;
}

.tk-mv__points b {
  font-size: 1.3em;
  font-weight: 800;
}

.tk-mv__icon {
  flex: none;
  width: clamp(30px, 3.2vw, 50px);
  height: clamp(30px, 3.2vw, 50px);
}

.tk-mv__icon-line {
  fill: none;
  stroke: var(--tk-mv-yellow);
  stroke-width: 3.2;
  stroke-linejoin: round;
}

.tk-mv__icon-fill {
  fill: var(--tk-mv-yellow);
}

.tk-mv__icon-wheel {
  fill: var(--tk-mv-yellow);
  stroke: var(--tk-mv-dark);
  stroke-width: 2.5;
}

.tk-mv__icon-check {
  fill: none;
  stroke: var(--tk-mv-dark);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 右下「無料オフィスプランニング」 ---------- */
/* サイト共通の a:link（青）より優先させるため .tk-mv a.〜 で指定 */
.tk-mv a.tk-mv__cta {
  position: absolute;
  right: -30px;
  bottom: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  padding: clamp(14px, 1.4vw, 22px) clamp(44px, 3.8vw, 64px) clamp(56px, 4.4vw, 68px) clamp(28px, 3vw, 48px);
  background: var(--tk-mv-yellow);
  color: #111;
  font-size: clamp(14px, 1.45vw, 23px);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transform: rotate(-6deg);
  transform-origin: right bottom;
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  transition: filter .2s;
}

.tk-mv a.tk-mv__cta:link,
.tk-mv a.tk-mv__cta:visited,
.tk-mv a.tk-mv__cta:hover,
.tk-mv a.tk-mv__cta:focus-visible {
  color: #111;
}

.tk-mv a.tk-mv__cta:hover,
.tk-mv a.tk-mv__cta:focus-visible {
  color: #111;
  filter: brightness(1.08);
}

.tk-mv__cta-arrow {
  flex: none;
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================
   スマホ（〜767px）
   ========================================================== */
@media (max-width: 767px) {
  .tk-mv__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    clip-path: none;
  }

  .tk-mv__photo::after {
    background: linear-gradient(180deg, rgba(22, 22, 22, 0) 45%, var(--tk-mv-dark) 100%);
  }

  .tk-mv__inner {
    min-height: 0;
    margin-top: -48px;
    padding: 0 16px 20px;
  }

  .tk-mv__label {
    margin: 0 0 14px -36px;
    padding: .3em 1.2em .3em 40px;
    font-size: 15px;
  }

  .tk-mv__title {
    margin-bottom: 26px;
  }

  .tk-mv__line1 {
    font-size: 7vw;
  }

  .tk-mv__line2 {
    font-size: 5.5vw;
  }

  /* 強みは3列の縦並び（アイコンの下に文字） */
  .tk-mv__points {
    align-items: stretch;
  }

  .tk-mv__points li {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    padding: 0 6px;
    font-size: 12px;
    text-align: center;
    white-space: normal;
  }

  .tk-mv__points li:first-child {
    padding-left: 6px;
  }

  .tk-mv__points b {
    font-size: 1.15em;
  }

  .tk-mv__icon {
    width: 32px;
    height: 32px;
  }

  /* 右下の斜めの帯 → 幅いっぱいのボタン */
  .tk-mv a.tk-mv__cta {
    position: static;
    justify-content: center;
    margin: 0 16px 20px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: min(15px, 3.9vw);
    white-space: nowrap;
    transform: none;
    clip-path: none;
  }

  .tk-mv__cta br {
    display: none;
  }
}

/* ==========================================================
   メニュー（jquery.sticky）の保険
   固定していないときは枠の高さを中身に任せる。
   読み込みのタイミングで枠の高さが 0 と測られても、MV がメニューに重ならない。
   固定中（.is-sticky）はプラグインが測った高さをそのまま使う。
   ========================================================== */
#menu-sticky-sticky-wrapper:not(.is-sticky) {
  height: auto !important;
}

/* メニューのプルダウン（.menu__second-level）を MV より前面に出す。
   #menu-sticky の z-index: 10000 は position が static のままだと効かないため relative にする。
   固定中はプラグインが position: fixed を付けるので、そのまま前面に出る。 */
#menu-sticky {
  position: relative;
}
