@charset "UTF-8";
/*
 * ファーストビューのPC・スマホ モックアップ（2026.08）
 * 端末の枠だけをCSSで作り、画面には制作事例のスクリーンショットを入れる。
 */

.mockup {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  padding-right: 8%;
}

/* ---------- ノートPC ---------- */
.mockup__laptop {
  position: relative;
  width: 100%;
}
.mockup__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 12px 12px 12px;
  border-radius: 12px 12px 2px 2px;
  background: #16243f;
  overflow: hidden;
}
.mockup__screen img {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
/* 底面（キーボード側）を1本の帯で表す */
.mockup__hinge {
  position: relative;
  width: 112%;
  margin-left: -6%;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#c9cfcc, #aab3af);
}
.mockup__hinge span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 5px;
  border-radius: 0 0 5px 5px;
  background: #8f9a95;
  transform: translateX(-50%);
}

/* ---------- スマホ ---------- */
.mockup__phone {
  position: absolute;
  right: 0;
  bottom: -6%;
  width: 20%;
  min-width: 88px;
  padding: 6px;
  border-radius: 16px;
  background: #16243f;
}
.mockup__phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 26%;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .35);
  transform: translateX(-50%);
  z-index: 2;
}
.mockup__phone-screen {
  aspect-ratio: 9 / 18;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}
.mockup__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

@media screen and (max-width: 767px) {
  .mockup {
    max-width: 420px;
    margin: 0 auto;
    padding-right: 12%;
  }
}
