@charset "utf-8";

/* ===============================
   PORTFOLIO ページ（サイト共通の作りに合わせる）
=============================== */

/* ---- インクヒーロー（他ページと同じタイトル帯）---- */
.ink-hero__bg{
  background: var(--ink);
  width: 100%;
  padding: 100px 0 45px;
}
.ink-hero__bg-title{
  margin: 0;
  text-align: center;
  line-height: 1;
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  color: #2C3344;
  /* PORTFOLIO は文字数が多いので WORKS より少し小さめに */
  font-size: clamp(8rem, 20vw, 26rem);
  white-space: nowrap;
}
.ink-hero__ink{
  position: relative;
  z-index: 1;
  height: 263px;
  background: url("../images/pc/ink01.webp") repeat-x center top / contain;
  background-size: auto 100%;
  margin-top: -1px;
}

/* ---- スライド一覧（作品資料）---- */
.pf-lead{
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #5a6072;
  margin: 8px auto 0;
  padding: 0 20px;
}
.pf-deck{
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px clamp(14px, 4vw, 28px) 40px;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 32px);
}
.pf-slide{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 21, 29, .14);
  background: #fff;
}

/* ---- WORKS一覧へ戻るボタン（デッキ末尾）---- */
.pf-back{
  text-align: center;
  padding: 8px 20px 72px;
}
.pf-back__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 1.6rem;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.pf-back__btn:hover{ background: var(--ink); color: #fff; }

/* このページはドリップ帯が無いので、CONTACT の引き上げをリセット（最終スライドとの重なり防止）*/
.contact-hero{ margin-top: 0; }

@media (max-width: 768px){
  .ink-hero__bg{ padding: 100px 0 40px; }
  .ink-hero__bg-title{ font-size: clamp(4.4rem, 17vw, 8rem); }
  .ink-hero__ink{
    height: 113px;
    background: url("../images/sp/ink01sp.webp") repeat-x center top / contain;
    background-size: auto 100%;
  }
  .pf-deck{ padding: 32px 14px 24px; }
  .pf-back{ padding: 4px 16px 56px; }
  .pf-back__btn{ font-size: 1.4rem; padding: 13px 30px; }
}
