
/* 全画面ファーストビュー */
.hero {
    width: 100%;
    height: 100vh;   /* fallback */
    height: 100dvh;  /* モバイルアドレスバー対応 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url(./img/hero-bg.jpg);
    background-size: cover;
}
.hero-gray{
    background-color: rgba(0,0,0,0.4);
    background-size: cover;
    width: 100%;
    height: 100vh;   /* fallback */
    height: 100dvh;  /* モバイルアドレスバー対応 */
    position: relative;
}
/* メインコンテンツ */
.hero img{
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 0;
}
.hero-content {
    text-align: center;
    padding: 0 clamp(24px, 8vw, 120px);
    max-width: 1100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-title {
    font-family: var(--ff-display);
    font-weight: 300;
    font-size: clamp(42px, 8vw, 130px);
    line-height: 1.05;
    letter-spacing: -.01em;
    margin-top: clamp(16px, 2.5vh, 32px);
}
.hero-title em {
    font-style: italic;
    color: var(--accent);
}
.hero-title .stroke {
    -webkit-text-stroke: 1px var(--text);
    color: transparent;
}
/* スクロールインジケーター */
.scroll-hint {
    position: absolute;
    bottom: clamp(24px, 5vh, 48px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.scroll-hint span {
    font-family: var(--ff-mono);
    font-size: 14px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--muted);
}
.scroll-track {
    width: 1px;
    height: 48px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.scroll-track::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text);
    animation: scroll-slide 2s ease-in-out infinite;
}
@keyframes scroll-slide {
    0%   { top: -100%; }
    100% { top: 200%; }
}

.reed{
    background-color: var(--bg2);
}
.reed_txt{
    color: var(--muted);
    padding: 3rem 0 5rem;
    font-weight: 700;
}
.reed_txt span{
    font-weight: 700;
}
.work_ttl{
    color: var(--text);
    font-size: var(--fs-sm);
}
.bgimg p{
    color: #ffffff;
}
.work-co a{
    text-decoration: none;
}
.post-thumbnail img{
    border-radius: 8px; /* 角丸のサイズ */
    object-fit: cover;   /* 画像が歪まないように調整 */
    width: 100%;         /* 親要素の幅に合わせる */
    height: auto;
}
.post-category{
    padding: 4px 0 0;
}
.post-category a{
    color: #ffffff;
    text-decoration: none;
}
.work-single ul{
    list-style: none;
}

/* PC時 レスポンシブ対応 */
@media only screen and (min-width:769px){
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .hero img {
        width: 100%;
        max-width: 250px;
    }
    .work-single{
        max-width: 600px;
        margin: 0 auto;
    }
}
.post-txt img{
    padding: 8px 0 24px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.text {
overflow: hidden;
position: relative;
}
.text.is-active {
--skewX: 0deg;
--cover-x: 101%;
--x: 0;
display: block;
}
.text::before,
.text::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
transform: translateX(var(--cover-x, -120%));
transition: transform 0.9s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.text::before {
background-color: #fff;
}
.text::after {
background-color: #ffffff;
transition-delay: 0.16s;
}
.text.is-active::after {
transition: transform 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0.16s,
            opacity 0s 0.96s; /* transform完了(0.16 + 0.6 = 0.76s)後に即非表示 */
opacity: 0;
}
.word {
color: #fff;
text-transform: uppercase;
transform: translateX(var(--x, -110%)) skewX(var(--skewX, 8deg));
transition: transform 0.90s cubic-bezier(0.16, 1, 0.3, 1);
transition-delay: 0.3s;
opacity: 0;
}
.text.is-active .word {
opacity: 1;
transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
            opacity 0s 0.3s; /* transformと同じdelayで即表示 */
}

.work-co ul{
    list-style: none;
}

/* カスタムカーソル */
body {
    cursor: none;
  }
  .stalker-circle {
    position: fixed; /* absoluteではなくfixedでページ全体に追従 */
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    background-color: rgba(184, 184, 184, 0.6); /* Hakusenブランドカラー */
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.15s ease-out;
    transform: translate(-100px, -100px);
    z-index: 9999;
  }

/* パララックス */
.reed {
    position: relative;
    overflow: hidden;
}
/* 背景レイヤー（疑似要素で作る） */
.reed::before {
    content: '';
    position: absolute;
    inset: -30%; /* 上下に余裕を持たせてはみ出さないように */
    background: radial-gradient(ellipse at 30% 50%, #1a1a1a 0%, #000 60%);
    z-index: 0;
    will-change: transform;
    
}

.reed_inner {
    position: relative;
    z-index: 1;
    will-change: transform;
}