/*
Theme Name: 思考の始末
Author: ねじ
Version: 1.2
*/

html {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #FAFAF6;
    color: #2b2a2a;
    margin: 0;
    overflow-x: hidden;
}

body.single {
    background-color: #f6f5f1;
}

body.home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(247, 250, 233, 0.822);
    backdrop-filter: none;
}

.single-piece hr {
    width: 60px;
    margin: 2rem auto;

    border: none;
    border-top: 0.5px solid rgba(43, 42, 42, 0.2);

    background: none;
}


/* 全画像の安全装置 */
img {
    max-width: 100%;
    height: auto;
}

.piece-content img {
    max-width: 100%;
    height: auto;
}


/* ===== Hover Transition 共通 ===== */
:root {
    --hover-speed: 0.3s ease;
}

/* ========== FV ========== */
.fv {
    position: relative;
    min-height: 100svh;
    background-color: rgba(247, 250, 233, 0.822);

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.fv-inner {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: flex-start;

    gap: clamp(0.4rem, 1.8vw, 1rem);

    margin-top: 4rem;
}

.fv-text {
    writing-mode: vertical-lr;

    margin-top: 10rem;
}

.fv-title {
    margin-top: 0;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-1rem);

    animation: fvTitleIn 2.2s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fvTitleIn {
    from {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(-1rem);
    }
    to {
        opacity: 0.7;
        filter: blur(1.2px);
        transform: translateY(0);
    }
}

.fv-subtitle {
    margin-top: 6rem;
    opacity: 0;
    filter: blur(12px);

    animation: fvSubtitleIn 2.8s ease forwards;
    animation-delay: 0.9s;
}

@keyframes fvSubtitleIn {
    from {
        opacity: 0;
        filter: blur(12px);
    }
    to {
        opacity: 0.55;
        filter: blur(1.2px);
    }
}


.fv-photo img {
    width: clamp(170px, 26vw, 320px);

    margin-top: -6rem;
}

/* モヤ背景 */
.fv-mist {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.fv-mist-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.fv-mist-blob--1 {
    width: 45vw;
    height: 40vw;
    top: 0%;
    left: -10%;
    background: radial-gradient(circle, rgba(49, 48, 48, 0.51) 0%, transparent 60%);
    animation: mistFloat1 7s ease-in-out infinite;
}

.fv-mist-blob--2 {
    width: 30vw;
    height: 30vw;
    top: 0%;
    right: 5%;
    background: radial-gradient(circle, rgba(17, 63, 115, 0.449) 0%, transparent 60%);
    animation: mistFloat2 10s ease-in-out infinite;
}

.fv-mist-blob--3 {
    width: 35vw;
    height: 25vw;
    top: 40%;
    left: 60%;
    background: radial-gradient(circle, rgba(232, 232, 56, 0.494) 0%, transparent 50%);
    animation: mistFloat3 8s ease-in-out infinite;
}

@keyframes mistFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15vw, 10vh) scale(1.05); }
    50% { transform: translate(20vw, -5vh) scale(1.1); }
    75% { transform: translate(5vw, -15vh) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes mistFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(10vw, 12vh) scale(1.04); }
    50% { transform: translate(18vw, -8vh) scale(1.08); }
    75% { transform: translate(8vw, -15vh) scale(1.04); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes mistFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-12vw, 8vh) scale(1.03); }
    50% { transform: translate(8vw, 12vh) scale(1.05); }
    75% { transform: translate(15vw, -5vh) scale(1.03); }
    100% { transform: translate(0, 0) scale(1); }
}

.fv-scroll {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.fv-scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: #061e3b;
    opacity: 0;
    animation: scrollBreath 4s ease-in-out infinite;
    animation-delay: 3s;
}

.fv-scroll-line {
    width: 1px;
    height: 44px;
    background: #061e3b;
    opacity: 0;
    transform-origin: top;
    animation: scrollLineDown 4s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes scrollBreath {
    0%   { opacity: 0; }
    20%  { opacity: 0.45; }
    80%  { opacity: 0.45; }
    100% { opacity: 0; }
}

@keyframes scrollLineDown {
    0%   { opacity: 0; transform: scaleY(0); }
    20%  { opacity: 0.4; transform: scaleY(0.3); }
    50%  { opacity: 0.4; transform: scaleY(1); }
    80%  { opacity: 0.4; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); }
}

/* ========== Header ========== */
.site-header {
    background-color: rgba(250, 250, 246, 0.82);
    backdrop-filter: blur(8px);
    padding: 1.5rem 5rem 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.home .site-header {
    background-color: rgba(247, 250, 233, 0.822);
    backdrop-filter: none;
}

.header-title {
    text-decoration: none;
    transition: opacity var(--hover-speed);}

.header-title:hover {
    opacity: 0.6;
}

.header-title-group {
    display: flex;
    align-items: baseline;
}

.header-site-name {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    color: #1a1a1a;
    opacity: 0.7;
}

.header-divider {
    opacity: 0.3;
    margin: 0 0.6rem;
}

.header-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.08rem;
    color: #1a1a1a;
    opacity: 0.5;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 0.95rem;
}

.header-nav a {
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity var(--hover-speed);
    opacity: 0.8;
}

.header-nav a:hover {
    opacity: 0.5;
}

.material-symbols-outlined {
    font-size: 1rem;
    vertical-align: middle;
    opacity: 0.45;

    font-variation-settings:
    'FILL' 0,
    'wght' 100,
    'GRAD' -25,
    'opsz' 20;
}

/* ========== Footer ========== */
.site-footer {
    position: relative;
    background-image: url('http://neji.blog/wp-content/uploads/2026/05/フッター.jpg');
    background-size: cover;
    background-position: center;
    padding: 3rem;
    color: #2a2a2a;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 250, 246, 0.4);
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    width: 100%;
    max-width: 600px;
    margin-left: 0;
    margin-top: 100px;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    text-decoration: none;
    color: #2a2a2a;
    margin-bottom: 0.3rem;
    transition: opacity var(--hover-speed);
}

.footer-top-link:hover {
    opacity: 0.5;
}

.footer-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0 0 0.8rem 0;
}

.footer-tagline a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--hover-speed);
}

.footer-tagline a:hover {
    opacity: 0.6;
}

.footer-sns {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-sns a {
    color: #2a2a2a;
    text-decoration: none;
    transition: opacity var(--hover-speed);
}

.footer-sns a:hover {
    opacity: 0.5;
}

/* ========== 個別作品ページ ========== */
.single-piece {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 40px;
    min-height: 100vh;
    background: #f6f5f1;
}

.piece-content {
    margin-bottom: 3rem;
}

.piece-tags {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(43, 42, 42, 0.1);
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #2a2a2a;
}

.tag-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.tag-dot.tag-clear {
    background: repeating-conic-gradient(#ddd 0% 25%, #fff 0% 50%) 50% / 8px 8px;
    border: 1px solid #ccc;
}
.tag-dot.tag-white { background-color: #ffffff; border: 1px solid #999; }
.tag-dot.tag-grey { background-color: #a0a0a0; }
.tag-dot.tag-black { background-color: #111; }
.tag-dot.tag-navy { background-color: #173b72; box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; }
.tag-dot.tag-blue { background-color: #0074D9; }
.tag-dot.tag-aqua { background-color: #7FDBFF; }
.tag-dot.tag-green { background-color: #2ECC40; }
.tag-dot.tag-yellow { background-color: #FFDC00; }
.tag-dot.tag-orange { background-color: #FF851B; }
.tag-dot.tag-red { background-color: #FF4136; }
.tag-dot.tag-pink { background-color: #F012BE; }
.tag-dot.tag-purple { background-color: #B10DC9; }
.tag-dot.tag-brown { background-color: #8B4513; }




.piece-nav {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(43, 42, 42, 0.1);
}

.piece-nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.piece-nav a,
.piece-nav span {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.piece-nav a:hover {
    opacity: 1;
}

.piece-nav-list {
    font-weight: 500;
}

.piece-nav-prev,
.piece-nav-next {
    flex: 1;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.piece-nav-prev {
    text-align: left;
}

.piece-nav-next {
    text-align: right;
}

/* ===== Animation Foundation ===== */
.js-enabled .fade-root {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.6s ease, transform 1.6s ease;
}

.js-enabled .fade-root.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 1.2s ease forwards;
}

@keyframes slowZoom {
    from { transform: scale(1.04); }
    to { transform: scale(1); }
}

.slow-zoom {
    animation: slowZoom 6s ease forwards;
}

@keyframes floatSlow {
    0% { transform: translateY(0px); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(-4px); }
    75% { transform: translateY(-14px); }
    100% { transform: translateY(0px); }
}

.float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

@keyframes blurIn {
    from { opacity: 0; filter: blur(4px); }
    to { opacity: 1; filter: blur(0); }
}

.blur-in {
    animation: blurIn 1.8s ease forwards;
}

/* ===== Type別演出 ===== */

.layout-type-a .wp-block-image:first-child img {
    transform: scale(1.04);
    transition: transform 1.5s ease;
}

.layout-type-a.show .wp-block-image:first-child img {
    transform: scale(1);
}

.layout-type-b .fade-trigger {
    opacity: 0;
    transform: translateY(18px);
}

.layout-type-b .fade-trigger.show {
    animation: typeBFade 2.4s ease forwards;
}

@keyframes typeBFade {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.layout-type-c .wp-block-cover__image-background {
    transform: scale(1.18);

    animation:
        backgroundDrift 24s ease-out forwards !important;

    will-change: transform;
}

@keyframes backgroundDrift {

    0% {
        transform:
            scale(1.18)
            translate3d(-2%, -1%, 0);
    }

    30% {
        transform:
            scale(1.12)
            translate3d(1.5%, 1%, 0);
    }

    65% {
        transform:
            scale(1.08)
            translate3d(-1%, 2%, 0);
    }

    100% {
        transform:
            scale(1.03)
            translate3d(0%, 0%, 0);
    }
}


.layout-type-c .wp-block-cover {
    overflow: hidden;
}


.layout-type-d .wp-block-image {
    animation: floatSlow 9s ease-in-out infinite;
}

.layout-type-e.fade-root {
    opacity: 1;
    transform: none;
    transition: none;
}

.layout-type-e .piece-content p {
    margin: 0;
}


@keyframes typeEParagraph {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .fv-title {
        animation: fvTitleReduced 0.8s ease forwards !important;
        animation-delay: 0.5s !important;
    }

    .fv-subtitle {
        animation: fvSubtitleReduced 0.8s ease forwards !important;
        animation-delay: 0.9s !important;
    }

    @keyframes fvTitleReduced {
        from {
            opacity: 0;
            filter: blur(2px);
            transform: translateY(0.5rem);
        }
        to {
            opacity: 0.7;
            filter: blur(1.2px);
            transform: translateY(0);
        }
    }

    @keyframes fvSubtitleReduced {
        from {
            opacity: 0;
            filter: blur(4px);
            transform: translateY(0.5rem);
        }
        to {
            opacity: 0.55;
            filter: blur(1.2px);
            transform: translateY(0);
        }
    }

    .pickup-line,
    .fade-root,
    .fade-trigger {
        animation-duration: 1s !important;
        transition-duration: 1s !important;
    }

    .fv-mist-blob,
    .float-slow,
    .slow-zoom {
        animation: none !important;
    }
}

.wp-block-cover .wp-block-columns {
    align-items: flex-start;
}

.float-top {
    align-self: flex-start;
}

.float-center {
    align-self: center;
}

.float-bottom {
    align-self: flex-end;
}


/* ========== 一覧ページ ========== */
.archive-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 40px 80px;
    background-color: #faf8f5;
    background-image: radial-gradient(rgba(0,0,0,.015) 1px, transparent 1px);
    background-size: 4px 4px;
}

body.archive,
body.blog {
    background-color: #f2f1ed;
}

.archive-header {
    max-width: 1200px;
    margin: 0 auto 30px;
    text-align: left;
}

.archive-title {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    color: #2b2a2a;
    margin: 0;
}

.archive-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 0.3px;
    background: rgba(57, 56, 56, 0.27);
    margin-top: 0.4rem;
}

.archive-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.archive-title a:hover {
    opacity: 0.6;
}

.color-filter {
    margin-bottom: 20px;
}

.color-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-start;
}

.color-tag {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    font-size: 0.75rem;
    color: #2a2a2a;
    opacity: 1;
    transition: opacity 0.3s;
}

.color-tag .tag-name {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.color-tag:hover .tag-name,
.color-tag.active .tag-name {
    opacity: 1;
}

.color-tag.active {
    position: relative;
}

.color-tag.active::after {
    content: "";

    position: absolute;

    top: -0.45rem;
    left: -0.45rem;

    width: calc(100% + 0.9rem);
    height: calc(100% + 0.9rem);

    border: 1px solid rgba(43, 42, 42, 0.22);
    border-radius: 999px;

    pointer-events: none;
}

.tag-all {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #2a2a2a;
    background: transparent;
}

.archive-controls {
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    width: 100%;
    max-width: 280px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-bottom: 1px solid rgba(43, 42, 42, 0.28);
    background: transparent;
    font-size: 0.9rem;
    color: #2a2a2a;
    letter-spacing: 0.05rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-bottom-color: rgba(43, 42, 42, 0.5);
}

.search-input::placeholder {
    color: rgba(43, 42, 42, 0.4);
}

.search-clear {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: rgba(43, 42, 42, 0.4);
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity var(--hover-speed);
}

.search-clear:hover {
    opacity: 0.6;
}

.pieces-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px 20px;
    margin-bottom: 60px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.piece-item {
    transition: opacity 0.3s;
    min-width: 0;
    overflow: hidden;
}

.piece-item.hidden {
    display: none;
}

.piece-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.piece-thumbnail {
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: rgba(43, 42, 42, 0.05);
    aspect-ratio: 1 / 1;
    position: relative;
}

.piece-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.10) 35%, transparent 72%);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.7s ease, transform 1.4s ease;
    pointer-events: none;
}

.piece-link:hover .piece-thumbnail::after {
    opacity: 1;
    transform: scale(1.25);
}

.piece-thumbnail img {
    opacity: 0.86;
    filter:
        saturate(0.68)
        contrast(0.97)
        brightness(1);

    transform: scale(1.01);

    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(0.7);
    transition: opacity 0.4s ease, transform 1.4s ease;
}

.piece-link:hover .piece-thumbnail img {
    opacity: 0.82;
    transform: scale(1.04);
}

.no-image {
    width: 100%;
    height: 100%;
    background-color: rgba(43, 42, 42, 0.05);
}

h2.piece-title {
    margin: 10px 0 8px;
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.piece-item .piece-tags {
    display: flex;
    gap: 0.8rem;
    padding: 0;
    border: none;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: rgba(43, 42, 42, 0.5);
    font-size: 0.9rem;
}

.pagination {
    text-align: center;
    padding: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    margin: 0 0.3rem;
    color: #2a2a2a;
    text-decoration: none;
    transition: opacity var(--hover-speed);
}

.pagination a:hover {
    opacity: 0.5;
}

.pagination .current {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 2rem;
    height: 2rem;

    border: 1px solid rgba(43, 42, 42, 0.22);
    border-radius: 50%;

    font-weight: 500;

    background: rgba(255,255,255,0.18);
}

.tag-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.tag-link:hover {
    opacity: 0.6;
}

.clickable-tag {
    cursor: pointer;
    transition: opacity var(--hover-speed);
}

.clickable-tag:hover {
    opacity: 0.6;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: rgba(43, 42, 42, 0.5);
    font-size: 0.9rem;
}

/* ========== ピックアップセクション ========== */
.pickup-section {
    padding: 20rem 2rem 24rem;
    background: linear-gradient(to bottom, rgba(247, 250, 233, 0.822), #FAFAF6);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pickup-section::before {
    content: "言葉の断片";
    position: absolute;
    top: 9rem;
    left: 45%;
    transform: none;
    letter-spacing: 0.1rem;
    transform: translateX(-50%);
    font-size: clamp(5rem, 11vw, 9rem);
    color: rgba(46, 45, 45, 0.05);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.pickup-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pickup-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.pickup-card:hover .pickup-thumbnail img {
    opacity: 0.5;
    transform: scale(1.02);
}

.pickup-thumbnail {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 5 / 3;
    overflow: hidden;
}

.pickup-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: saturate(0.5);
    display: block;
    transition: opacity 0.4s ease, transform 1.4s ease;
}

.pickup-lines {
    position: absolute;
    left: 2rem;
    bottom: 1.2rem;
    z-index: 2;
}

.pickup-line {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.08em;
    color: #06182c;
    margin: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.pickup-line.show {
    opacity: 0.5;
    transform: translateY(0);
}

.pickup-line[data-delay="0"] { transition-delay: 0.3s; }
.pickup-line[data-delay="1"] { transition-delay: 1.9s; }
.pickup-line[data-delay="2"] { transition-delay: 3.3s; }


.pickup-title {
    color: #06182c;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    opacity: 0.7;
    margin: 1rem 0 0.8rem;
    text-align: center;
    transition: opacity var(--hover-speed);
}

.pickup-title:hover {
    opacity: 1;
}

.pickup-title a {
    color: inherit;
    text-decoration: none;
}


.pickup-tags {
    display: none;
}


.pickup-nav-row {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 4.5rem;
}


.pickup-archive {
    font-size: 0.82rem;
    letter-spacing: 0.18em;

    color: #2b2a2a;
    text-decoration: none;

    opacity: 0.6;

    transition:
        opacity 0.4s ease,
        letter-spacing 0.5s ease;
}

.pickup-archive:hover {
    opacity: 0.9;
    letter-spacing: 0.22em;
}


/* ========== Aboutセクション ========== */
.about-section {
    padding: 20rem 2rem 16rem;
    background-color: rgba(247, 250, 233, 0.822);
    display: flex;
    justify-content: center;
}

.about-inner {
    max-width: 480px;
}

.about-label {
    font-size: 2rem;
    letter-spacing: 0.2em;
    color: #2b2a2a;
    opacity: 0.4;
    text-align: left;
    margin: 0 0 3rem;
}

.about-label::after {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    background: rgba(43, 42, 42, 0.35);
    margin-top: 0.6rem;
}

.about-text {
    font-weight: 400;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 2.2;
    letter-spacing: 0.08em;
    color: #2b2a2a;
    margin: 0;
}

.about-name {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    opacity: 0.77;
}

/* ========== Contactページ ========== */
.contact-page {
    padding: 10rem 2rem 8rem;
}

.contact-inner {
    max-width: 620px;
    margin: 0 auto;
}

.contact-heading {
    font-size: 2em;
    letter-spacing: 0.18em;
    opacity: 0.4;
    margin-bottom: 4rem;
}

.contact-heading::after {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    background: rgba(43, 42, 42, 0.35);
    margin-top: 0.6rem;
}

.contact-intro {
    font-size: 0.95rem;
    line-height: 2.4;
    letter-spacing: 0.08em;
    margin-bottom: 5rem;
}


.contact-form-wrap label {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.contact-form-wrap input:not(.wpcf7-submit),
.contact-form-wrap textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(43,42,42,0.15);
    background: transparent;
    padding: 0.8rem 0;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #2b2a2a;
    font-family: inherit;
    outline: none;
    transition: border-color 0.4s ease;
}

.wpcf7-submit {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: #2b2a2a;
    cursor: pointer;
    opacity: 0.72;
    transition: opacity 0.4s ease;
}

.wpcf7-submit:hover {
    opacity: 1;
}

.contact-form-wrap textarea {
    min-height: 90px;
    resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
    border-color: rgba(43,42,42,0.45);
}

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
    color: rgba(43,42,42,0.3);
}

.required {
    margin-left: 0.3rem;
    opacity: 0.4;
}

.privacy-note {
    font-size: 0.72rem;
    line-height: 2;
    opacity: 0.5;
    margin-top: -1rem;
    margin-bottom: 4rem;
}

.privacy-note a {
    color: inherit;
    text-decoration: underline;
}

.contact-form-wrap .wpcf7-spinner {
    display: none;
}

.contact-form-wrap p:last-child {
    position: relative;
    text-align: center;
    margin-top: 5rem;
    padding-bottom: 3rem;
}

.contact-form-wrap p:last-child::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: rgba(43, 42, 42, 0.18);
    margin: 0.7rem auto 0;
}

.wpcf7-not-valid-tip {
    color: rgba(87, 37, 37, 0.45);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-top: -1.8rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===== Thanks Page ===== */
.thanks-page {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.thanks-inner {
    text-align: center;
    max-width: 500px;
}

.thanks-title {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    margin-bottom: 1.5rem;
    color: #061e3b;
}

.thanks-message {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #061e3b;
}

/* ===== Privacy Policy Page ===== */
.privacy-policy-page {
    min-height: 100svh;
    padding: 4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-policy-inner {
    max-width: 600px;
    margin: 0 auto;
}

.privacy-policy-title {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #061e3b;
}

.privacy-policy-content {
    line-height: 1.8;
    color: #061e3b;
    font-size: 0.95rem;
}

.privacy-policy-content p {
    margin-bottom: 1.5rem;
}

.privacy-policy-content p:last-child {
    margin-bottom: 0;
}

/* ===== 404 Page ===== */
.error-404-page {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.error-404-inner {
    text-align: center;
    max-width: 500px;
}

.error-404-message {
    font-size: 1.1rem;
    line-height: 2.2;
    letter-spacing: 0.08em;
    color: #2b2a2a;
    margin-bottom: 3rem;
}

.error-404-link {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #2b2a2a;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity var(--hover-speed);
}

.error-404-link:hover {
    opacity: 1;
}



/* ================================================================
   ================================================================
   RESPONSIVE — 768px以下
   ================================================================
   ================================================================ */
@media (max-width: 768px) {

    html {
        font-size: 14px;
    }

    /* -------- Header -------- */
    .site-header {
        padding: 0.8rem 1rem;
        align-items: center;
    }

    .header-site-name {
        font-size: 0.75rem;
    }

    .header-subtitle {
        font-size: 0.6rem;
    }

    .header-nav {
        font-size: 0.75rem;
        gap: 0.8rem;
    }

/* -------- FV -------- */

.fv {
    padding: 4rem 1rem 5rem;
    overflow-x: hidden;
}

    .fv-text {
        margin-top: 6rem;
    }

.fv-mist-blob--1 {
    width: 60vw;
    height: 50vw;

    top: 70%;
    left: -6%;
}

.fv-mist-blob--2 {
    width: 38vw;
    height: 38vw;

    top: 12%;
    right: -12%;
}

.fv-mist-blob--3 {
    width: 46vw;
    height: 36vw;

    top: 80%;
    left: 50%;
}

.fv-mist-blob {
    filter: blur(40px);
}

.fv-photo img {
    margin-top: 0rem;
}


/* scroll */
.fv-scroll {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    z-index: 30;
}


    .fv-scroll-line {
        height: 30px;
    }

    .fv-mist-blob--1 {
        width: 60vw;
        height: 50vw;
        top: 45%;
        left: -8%;
    }

    .fv-mist-blob--2 {
        width: 38vw;
        height: 38vw;
        top: 1%;
        right: -12%;
    }

    .fv-mist-blob--3 {
        width: 46vw;
        height: 36vw;
        top: 80%;
        right: 48%;
    }

    .fv-mist-blob {
        filter: blur(40%);
    }

/* -------- ピックアップ -------- */
    .pickup-section {
        padding: 10rem 1rem;
    }

    .pickup-section::before {
        top: 4.5rem;
    }

    .pickup-inner {
        max-width: 100%;
    }

    .pickup-thumbnail {
        max-width: 440px;
        width: 100%;
    }

    .pickup-line {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .pickup-lines {
        left: 1rem;
    }

    .pickup-title {
        font-size: 1rem;
        opacity: 1;
    }

    .pickup-another,
    .pickup-archive {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    /* -------- About -------- */
    .about-section {
        padding: 10rem 1.2rem 8rem;
    }

    .about-inner {
        max-width: 100%;
    }

    .about-label {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-text {
        font-size: 0.9rem;
        line-height: 2;
    }

    .about-name {
        font-size: 0.8rem;
    }

    /* -------- Footer -------- */
    .site-footer {
        padding: 2rem 1.2rem;
        min-height: auto;
    }

    .footer-content {
        margin-left: 0 !important;
        margin-top: 24px !important;
        max-width: 100%;
    }

    .footer-top-link {
        font-size: 0.95rem;
        letter-spacing: 0.1rem;
    }

    .footer-tagline {
        font-size: 0.78rem;
    }

    .footer-sns {
        font-size: 0.78rem;
    }

    /* -------- 個別作品 -------- */
    .single-piece {
        padding: 70px 16px;
    }

    .piece-tags {
        padding: 1.2rem 0;
        gap: 0.8rem;
    }


.layout-type-e .wp-block-cover__image-background {
    object-fit: cover !important;
    object-position: center center !important;
}

.layout-type-e .wp-block-cover {
    background-color: #f6f5f1;
    min-height: auto !important;

    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
}

    /* -------- 一覧 -------- */
    .archive-page {
        padding: 30px 12px 50px;
    }

    .archive-title {
        font-size: 0.85rem;
    }

    .color-tags {
        gap: 0.9rem;
    }

    .color-tag {
        font-size: 0.6rem;
        gap: 0.25rem;
    }

    .archive-controls {
        margin-bottom: 30px;
    }

    .search-form {
        max-width: 100%;
    }


    .piece-thumbnail img {
        opacity: 0.86;

        filter:
            saturate(0.68)
            contrast(0.97)
            brightness(1);

        transform: scale(1.01);

        transition:
            opacity 1.4s ease,
            transform 2.4s ease,
            filter 1.4s ease;
    }

    .piece-thumbnail::after {
        opacity: 0.28;
        transform: scale(1.08);
    }


    .piece-item .tag-dot {
    width: 8px;
    height: 8px;
}

.piece-item .piece-tags {
    gap: 0.7rem;
}

h2.piece-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.7;
}


    /* -------- Contact -------- */
    .contact-page {
        padding: 5rem 1.2rem 4rem;
    }

    .contact-heading {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .contact-intro {
        font-size: 0.9rem;
        line-height: 2;
        margin-bottom: 3rem;
    }

    .contact-form-wrap input:not(.wpcf7-submit),
    .contact-form-wrap textarea {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    .contact-form-wrap textarea {
        min-height: 70px;
    }

    .privacy-note {
        font-size: 0.65rem;
        margin-bottom: 2.5rem;
    }

    .contact-form-wrap p:last-child {
        margin-top: 2.5rem;
        padding-bottom: 2rem;
    }

/* -------- Thanks / Privacy / 404 -------- */
.thanks-page,
.privacy-policy-page,
.error-404-page {
    padding: 3rem 1rem;
}

.thanks-title,
.privacy-policy-title {
    font-size: 1.2rem;
    letter-spacing: 0.15rem;
}

.thanks-message,
.privacy-policy-content,
.error-404-message {
    font-size: 0.88rem;
}

.thanks-inner,
.privacy-policy-inner,
.error-404-inner {
    max-width: 500px;
}
}


    @media (max-width: 1024px) {

        .fv-inner {
            gap: 1.5rem;
        }

        .fv-photo img {
            width: 240px;
        }

    .footer-content {
        margin-left: 0;
        margin-top: 24px;
        max-width: 100%;
    }

        .site-footer {
        padding: 2rem 1.2rem;
        overflow-x: hidden;
    }

    }


/* =========================================================
   Archive Grid Responsive
   ========================================================= */

/* ---------- Large PC ---------- */
.pieces-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 48px 20px;
}


/* ---------- Normal PC ---------- */
@media (max-width: 1000px) {

    .pieces-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 42px 18px;
    }

}


/* ---------- Tablet ---------- */
@media (max-width: 768px) {

    .pieces-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px 14px;
    }

    h2.piece-title {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .piece-item .tag-dot {
        width: 7px;
        height: 7px;
    }

}


/* ---------- Mobile ---------- */
@media (max-width: 580px) {

    .pieces-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px 12px;
    }

    h2.piece-title {
        font-size: 0.72rem;
        line-height: 1.5;
    }

}

/* ---------- Mobile ---------- */
@media (max-width: 580px) {

    .pieces-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px 12px;
    }

    h2.piece-title {
        font-size: 0.72rem;
        line-height: 1.5;
    }

}


/* ---------- Small Mobile ---------- */
@media (max-width: 360px) {

    .pieces-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 10px;
    }

    h2.piece-title {
        font-size: 0.8rem;
    }

}
