/* ==========================================================================
   mizusho renewal layer
   既存CSSの後に読み込み、配置は変えずに書体・色・質感だけを上書きする。
   色: 墨(ink) / 骨白(bone) / 乳青の湯(yu)
   目印: 印刷のトンボ(--crop)
   ========================================================================== */

:root {
    --ink: #101214;
    --ink-2: #16191c;
    --ink-3: #1f2327;
    --bone: #ecebe3;
    --bone-dim: #aeb0aa;
    --bone-faint: #84878a;
    --line: rgba(236, 235, 227, .14);
    --line-strong: rgba(236, 235, 227, .32);
    --yu: #8fd6c8;

    --f-display: "Bodoni Moda", "Shippori Mincho B1", serif;
    --f-mincho: "Shippori Mincho B1", serif;
    --f-body: "Zen Kaku Gothic New", sans-serif;
    --f-mono: "DM Mono", "Zen Kaku Gothic New", monospace;

    --ease: cubic-bezier(.16, 1, .3, 1);

    --crop:
        linear-gradient(currentColor, currentColor) left top / 18px 1px no-repeat,
        linear-gradient(currentColor, currentColor) left top / 1px 18px no-repeat,
        linear-gradient(currentColor, currentColor) right top / 18px 1px no-repeat,
        linear-gradient(currentColor, currentColor) right top / 1px 18px no-repeat,
        linear-gradient(currentColor, currentColor) left bottom / 18px 1px no-repeat,
        linear-gradient(currentColor, currentColor) left bottom / 1px 18px no-repeat,
        linear-gradient(currentColor, currentColor) right bottom / 18px 1px no-repeat,
        linear-gradient(currentColor, currentColor) right bottom / 1px 18px no-repeat;
}

/* --------------------------------------------------------------------------
   基本
   -------------------------------------------------------------------------- */

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 15.5px;
    line-height: 1.9;
    letter-spacing: .03em;
    font-feature-settings: "palt";
    color: var(--bone-dim);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 紙の粒子のようなごく薄いノイズ */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--f-display);
    font-weight: 400;
    color: var(--bone);
    letter-spacing: 0;
}

a {
    color: var(--bone);
}

::selection {
    color: var(--ink);
    background-color: var(--yu);
}

::-moz-selection {
    color: var(--ink);
    background-color: var(--yu);
}

/* body の caret-color: transparent で入力欄のカーソルが消えていたため戻す */
input,
textarea {
    caret-color: var(--yu);
}

:focus-visible {
    outline: 1px solid var(--yu);
    outline-offset: 3px;
}

.lead {
    font-family: var(--f-mincho);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 400;
    line-height: 2.1;
    letter-spacing: .08em;
}

.background-dark,
.background-dark-2,
.background-black {
    background-color: var(--ink);
}

.background-dark-1,
.background-dark-3 {
    background-color: var(--ink-2);
}

.animsition-loading,
.animsition-loading:after {
    width: 10px;
    height: 10px;
    margin-top: -5px;
    margin-left: -5px;
}

.animsition-loading {
    background-color: var(--yu);
}

.rounded {
    border-radius: 0 !important;
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */

.cd-header {
    background: none;
}

/* 明るい写真の上でもナビが読めるよう、なだらかに落とす */
.cd-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(16, 18, 20, .86) 0%,
            rgba(16, 18, 20, .62) 38%,
            rgba(16, 18, 20, .2) 76%,
            rgba(16, 18, 20, 0) 100%);
    transition: opacity .35s ease;
}

.cd-header.is-scrolled::before {
    opacity: 0;
}

.cd-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: rgba(16, 18, 20, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: opacity .35s ease;
}

.cd-header.is-scrolled::after {
    opacity: 1;
}

body.nav-active .cd-header::before,
body.nav-active .cd-header::after {
    opacity: 0;
}

.logo-wrap img {
    height: 22px;
}

.pc-nav-list {
    gap: 34px;
}

.pc-nav-list li a {
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: .1em;
    color: var(--bone);
    opacity: 1;
}

.pc-nav-list li a::after {
    background-color: var(--yu);
}

.pc-nav-list li a:hover {
    color: var(--yu);
}

.pc-nav-list li a.btn-contact {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}

.pc-nav-list li a.btn-contact:hover {
    color: var(--ink);
    background: var(--yu);
    border-color: var(--yu);
}

.menu-icon__line {
    height: 1px;
    background-color: var(--bone);
}

/* SPメニュー */
body.nav-active .nav:before {
    background: rgba(16, 18, 20, .7);
}

body.nav-active .nav:after {
    background: var(--ink);
}

.nav__list-item {
    font-family: var(--f-display);
    font-size: clamp(2.6rem, 8.5vh, 4.5rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    color: var(--bone);
}

.nav__list-item a {
    color: var(--bone);
}

.nav__list-item a:after,
.nav__list-item.current-menu-item a:after {
    display: none;
}

.nav__list-item a:hover,
.nav__list-item.active-nav a,
.nav__list-item.current-menu-item a {
    color: var(--yu);
}

.nav__list .sub-links li a {
    font-family: var(--f-mincho);
    font-style: normal;
    font-size: 14px;
    letter-spacing: .16em;
    color: var(--bone-dim);
}

/* --------------------------------------------------------------------------
   トップページ
   -------------------------------------------------------------------------- */

.case-study-wrapper {
    counter-reset: entry;
}

.case-study-wrapper .case-study-name {
    counter-increment: entry;
    padding-left: 38px;
    margin-top: 6px;
    margin-bottom: 6px;
    font-family: var(--f-display);
    font-size: clamp(30px, 3.2vw, 50px);
    font-weight: 400;
    line-height: 1.32;
    letter-spacing: 0;
    color: #a0a29d;
    transition: color .4s ease;
}

.case-study-wrapper .case-study-name::before {
    content: counter(entry, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -9px;
    font-family: var(--f-mono);
    font-size: 11px;
    line-height: 18px;
    letter-spacing: .08em;
    color: var(--bone-faint);
    transition: color .4s ease;
}

.case-study-wrapper .case-study-name.active::before,
.case-study-wrapper:hover .case-study-name:hover::before {
    color: var(--yu);
}

.case-study-wrapper .case-study-name span {
    transition: transform .6s var(--ease);
}

.case-study-wrapper .case-study-name.active span,
.case-study-wrapper:hover .case-study-name:hover span {
    font-style: italic;
    transform: translateX(6px);
}

.case-study-wrapper .case-study-name.active,
.case-study-wrapper:hover .case-study-name:hover {
    color: var(--bone);
}

.case-study-wrapper .case-study-name span:before {
    bottom: 6px;
    height: 1px;
    background-color: var(--yu);
    transition: width .6s var(--ease), opacity .3s ease;
}

.case-study-wrapper .case-study-name.active span:before,
.case-study-wrapper:hover .case-study-name span:hover:before {
    width: 100%;
}

.case-study-wrapper .case-study-name a {
    position: absolute;
    top: 50%;
    right: 0;
    float: none;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-50%);
    font-family: var(--f-mono);
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .1em;
    color: var(--bone);
    text-shadow: none;
    transition: opacity .3s ease, color .3s ease;
}

.case-study-wrapper .case-study-name a:hover {
    color: var(--yu);
}

.case-study-wrapper .case-study-name a:after {
    top: 50%;
    margin-top: -12px;
    background-size: 15px 15px;
}

.case-study-name-title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    font-style: italic;
    font-weight: 400;
    color: var(--bone);
    pointer-events: none;
}

.case-study-images li {
    transition: none;
}

.case-study-images li .img-hero-background {
    transform: scale(1.05);
    transition: opacity .8s ease, transform 1.6s var(--ease);
}

.case-study-images li.show .img-hero-background {
    transform: scale(1);
}

/* 縦書きの名前を読ませるための左端の影 */
.case-study-images li .img-hero-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 18, 20, .62), rgba(16, 18, 20, 0) 28%);
}

/* 写真の四隅のトンボ */
.case-study-images li .img-hero-background::after {
    content: "";
    position: absolute;
    top: 108px;
    right: 36px;
    bottom: 36px;
    left: 36px;
    color: #fff;
    background: var(--crop);
    mix-blend-mode: difference;
    opacity: .85;
}

.dark-over-hero {
    background-color: var(--ink);
    opacity: .1;
    pointer-events: none;
}

.case-study-images li .case-study-title {
    font-family: var(--f-mincho);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .16em;
    color: var(--bone);
    padding: 8px 16px;
    background-color: var(--ink);
    border-left: 2px solid var(--yu);
}

.case-study-images li .hero-number-back {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    color: rgba(236, 235, 227, .07);
}

.case-study-images li .hero-number,
.case-study-images li .hero-number-fixed {
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--bone);
}

.case-study-images li .hero-number {
    color: var(--yu);
}

.case-study-images li .hero-number-fixed:before {
    background-color: var(--line-strong);
}

/* 最近の投稿パネル */
.case-study-images li .case-study-title.case-study-title.fixed-title {
    top: 55%;
    height: 72%;
    padding: 22px 26px;
    font-family: var(--f-body);
    letter-spacing: .03em;
    background-color: rgba(16, 18, 20, .84);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    /* 非表示の間も透明なリンクが押せてしまうのを防ぐ */
    pointer-events: none;
}

.case-study-images li.show .case-study-title.fixed-title {
    pointer-events: auto;
}

.news-title,
.contact-title {
    font-family: var(--f-mincho);
    font-size: 1rem;
    letter-spacing: .2em;
    border-bottom: 1px solid var(--line);
    padding: 4px 0 16px;
}

.news-box {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.news-box:last-of-type {
    border-bottom: 0;
}

.title-on-image .title-name,
.title-no-image .title-name {
    font-family: var(--f-mincho);
    font-weight: 500;
    font-size: .98rem;
    line-height: 1.6;
}

.title-on-image .date,
.title-no-image .date {
    margin-top: 4px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--bone-dim);
    opacity: 1;
}

.news-thumbnail a::after {
    background: linear-gradient(180deg, rgba(16, 18, 20, .15), rgba(16, 18, 20, .82));
}

.news-thumbnail a:hover::after {
    background: linear-gradient(180deg, rgba(16, 18, 20, .05), rgba(16, 18, 20, .7));
}

@media (max-width: 991px) {
    .case-study-wrapper {
        width: min(440px, calc(100% - 80px));
    }

    .dark-over-hero {
        opacity: .62;
    }

    .case-study-images li .img-hero-background::before {
        display: none;
    }

    .case-study-images li .hero-number-back {
        color: rgba(236, 235, 227, .14);
    }

    .case-study-wrapper .case-study-name {
        color: var(--bone-dim);
    }

    .case-study-wrapper .case-study-name::before {
        color: var(--bone-dim);
    }
}

@media (max-width: 767px) {
    .case-study-images li .case-study-title.case-study-title.fixed-title {
        display: none;
    }

    .case-study-images li .img-hero-background::after {
        top: 92px;
        right: 20px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 575px) {
    .case-study-wrapper {
        left: 28px;
        width: calc(100% - 56px);
    }

    .header-wrapper {
        width: calc(100% - 56px);
        margin-left: 28px;
    }

    .case-study-wrapper .case-study-name {
        font-size: 38px;
    }

    .case-study-images li .hero-number {
        left: 28px;
    }

    .case-study-images li .hero-number-fixed {
        left: 118px;
    }
}

/* --------------------------------------------------------------------------
   下層ページのヒーロー
   -------------------------------------------------------------------------- */

.dark-over-pages {
    background: linear-gradient(180deg, rgba(16, 18, 20, .68) 0%, rgba(16, 18, 20, .58) 50%, var(--ink) 100%);
}

.dark-over-pages::after {
    content: "";
    position: absolute;
    top: 108px;
    right: 50px;
    bottom: 28px;
    left: 50px;
    color: var(--line-strong);
    background: var(--crop);
}

.section-title-wrap p {
    margin-bottom: 8px;
    font-family: var(--f-mincho);
    font-size: 14px;
    letter-spacing: .32em;
    color: var(--bone);
}

.section-title-wrap h1 {
    font-family: var(--f-display);
    font-size: clamp(4rem, 11vw, 9.5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
}

/* 記事・一覧は長い日本語タイトルが入る */
body.single .section-title-wrap h1,
body.archive:not(.post-type-archive-gallery) .section-title-wrap h1,
body.category .section-title-wrap h1,
body.search .section-title-wrap h1 {
    max-width: 860px;
    margin: 0 auto;
    font-family: var(--f-mincho);
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .04em;
}

@media (max-width: 767px) {
    .dark-over-pages::after {
        top: 92px;
        right: 20px;
        bottom: 16px;
        left: 20px;
    }
}

/* --------------------------------------------------------------------------
   Works
   -------------------------------------------------------------------------- */

.service-item {
    padding: 26px 0 0;
    text-align: left;
    background: none;
    border: 0;
    border-top: 1px solid var(--line-strong);
    border-radius: 0;
    transition: border-color .4s ease;
}

.service-item:hover {
    background: none;
    border-top-color: var(--yu);
    box-shadow: none;
    transform: none;
}

.service-icon {
    margin-bottom: 14px;
    font-size: 1.15rem;
    color: var(--yu);
    opacity: 1;
}

.service-item h5 {
    margin-bottom: 10px;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 0;
}

.small-text {
    font-size: .92rem;
    line-height: 1.95;
    color: var(--bone-dim);
}

h3.h4.text-center {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    font-style: italic;
}

.works-grid {
    counter-reset: work;
}

.work-item-card {
    counter-increment: work;
}

.work-item-card:hover {
    transform: none;
}

.card-img-wrap {
    margin-bottom: 16px;
    border-radius: 0;
    box-shadow: none;
    outline: 1px solid var(--line);
    outline-offset: -1px;
    background-color: var(--ink-2);
}

.card-img-wrap img {
    transition: transform 1.2s var(--ease);
}

.work-item-card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.card-img-wrap::after {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    color: #fff;
    background: var(--crop);
    mix-blend-mode: difference;
    opacity: 0;
    transition: opacity .35s ease;
}

.work-item-card:hover .card-img-wrap::after {
    background: var(--crop);
    opacity: 1;
}

.card-info {
    padding: 0;
}

.card-cat {
    margin-bottom: 4px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--bone-faint);
}

.card-cat::before {
    content: counter(work, decimal-leading-zero) " / ";
    color: var(--yu);
}

.work-item-card:hover .card-cat {
    color: var(--bone-dim);
}

.card-title {
    font-family: var(--f-mincho);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--bone);
    transition: color .3s ease;
}

.work-item-card:hover .card-title {
    color: var(--yu);
}

.modal-content.dark-modal {
    color: var(--bone);
    background-color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.modal-header {
    border-bottom: 1px solid var(--line);
}

.modal-title {
    font-family: var(--f-mincho);
    font-size: 1.35rem;
    font-weight: 500;
}

.close,
.close:hover {
    color: var(--bone);
}

.modal-work-img {
    border-radius: 0;
    box-shadow: none;
}

.modal-work-desc {
    line-height: 2;
    color: var(--bone-dim);
}

.btn-modal-action {
    padding: 13px 28px;
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: .1em;
    color: var(--ink);
    background-color: var(--bone);
    border-radius: 0;
    transition: background-color .3s ease, color .3s ease;
}

.btn-modal-action:hover {
    color: var(--ink);
    background-color: var(--yu);
    box-shadow: none;
    transform: none;
}

/* --------------------------------------------------------------------------
   Profile
   -------------------------------------------------------------------------- */

.profile-lead {
    font-family: var(--f-mincho);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: .1em;
    color: var(--bone);
}

.profile-text {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--bone-dim);
}

.section-head {
    display: block;
    margin-bottom: 44px;
    font-family: var(--f-display);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-style: italic;
    letter-spacing: .04em;
    color: var(--bone);
    opacity: 1;
}

.section-head::after {
    width: 1px;
    height: 34px;
    margin-top: 16px;
    background: var(--yu);
    opacity: 1;
}

.skill-item {
    margin-bottom: 22px;
}

.skill-title {
    margin-bottom: 10px;
    font-family: var(--f-mono);
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--bone);
    opacity: 1;
}

.progress-bar-bg {
    height: 1px;
    background-color: var(--line-strong);
    border-radius: 0;
    overflow: visible;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.progress-bar-fill {
    background-color: var(--yu);
    border-radius: 0;
}

.progress-bar-fill::after {
    content: none;
    animation: none;
}

.hobby-card {
    padding: 26px 0 0;
    background: none;
    border: 0;
    border-top: 1px solid var(--line-strong);
    border-radius: 0;
    transition: border-color .4s ease;
}

.hobby-card:hover {
    background: none;
    border-top-color: var(--yu);
    box-shadow: none;
    transform: none;
}

.hobby-icon {
    margin-bottom: 12px;
    font-size: 1.15rem;
    color: var(--yu);
    opacity: 1;
}

.hobby-card:hover .hobby-icon {
    transform: none;
}

.hobby-title {
    font-family: var(--f-mincho);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bone);
}

.hobby-desc {
    font-size: .92rem;
    line-height: 2;
    color: var(--bone-dim);
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

#filter li {
    margin-right: 14px;
    margin-left: 14px;
}

#filter li a {
    font-family: var(--f-mono);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--bone-dim);
}

#filter li a:hover,
#filter li a.current {
    color: var(--bone);
}

#filter li a:before {
    height: 1px;
    background-color: var(--yu);
}

.portfolio-box:hover .portfolio-mask {
    background-color: rgba(16, 18, 20, .3);
}

.portfolio-box .portfolio-mask::after {
    content: "";
    position: absolute;
    inset: 14px;
    color: #fff;
    background: var(--crop);
    opacity: 0;
    transition: opacity .35s ease;
}

.portfolio-box:hover .portfolio-mask::after {
    opacity: 1;
}

.portfolio-box img {
    transition: transform 1.2s var(--ease);
}

.tipper .tipper-content {
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    color: var(--bone);
}

/* --------------------------------------------------------------------------
   News 一覧
   -------------------------------------------------------------------------- */

.news-list-container {
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.news-card {
    padding: 26px 0;
    color: var(--bone);
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.news-card:hover {
    color: var(--bone);
    background: none;
    border-color: var(--line);
    box-shadow: none;
    transform: none;
}

.news-card-thumb img {
    transition: transform 1.2s var(--ease);
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.04);
}

.news-meta {
    margin-bottom: 10px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--bone-dim);
}

.news-date {
    opacity: 1;
}

.news-cat {
    padding: 1px 9px;
    font-family: var(--f-mono);
    font-size: 11px;
    background: none;
    border-radius: 0;
}

.news-card-title {
    font-family: var(--f-mincho);
    font-size: 1.22rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--bone);
}

.news-card:hover .news-card-title {
    color: var(--yu);
    text-decoration: none;
}

@media (min-width: 768px) {
    .news-card-body {
        padding: 4px 0 4px 30px;
    }
}

@media (max-width: 767px) {
    .news-card-body {
        padding: 18px 0 0;
    }
}

.pagination {
    font-family: var(--f-mono);
    font-size: 13px;
}

.pagination .page-numbers {
    color: var(--bone);
    border: 1px solid var(--line);
    border-radius: 0;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    font-size: 13px;
    font-weight: 400;
    color: var(--ink);
    background: var(--yu);
    border-color: var(--yu);
}

/* --------------------------------------------------------------------------
   サイドバー(sidebar.php 内の style より優先させるため #sidebar を付ける)
   -------------------------------------------------------------------------- */

#sidebar .sidebar-widget {
    padding: 22px 0 0 !important;
    background: none;
    border-top: 1px solid var(--line-strong);
    box-shadow: none;
}

#sidebar .widget-title {
    margin-bottom: 14px !important;
    padding-bottom: 0;
    font-family: var(--f-display);
    font-size: 1.7rem;
    font-style: italic;
    color: var(--bone);
    border-bottom: 0;
}

#sidebar .category-link {
    padding: 5px 0 5px 12px;
    color: var(--bone-dim);
    border-left: 1px solid var(--line-strong);
}

#sidebar .category-link:hover {
    color: var(--bone);
    background: none;
}

#sidebar .category-link .badge {
    font-family: var(--f-mono);
    font-weight: 400;
    color: var(--bone-dim);
    background: none;
}

#sidebar .latest-list .border-secondary {
    border-color: var(--line) !important;
}

#sidebar .latest-list h6 {
    font-family: var(--f-mincho);
    font-weight: 500 !important;
    letter-spacing: .03em;
    text-transform: none;
}

#sidebar .latest-list a:hover h6 {
    color: var(--yu) !important;
    text-decoration: none;
}

#sidebar .latest-list small {
    font-family: var(--f-mono);
    color: var(--bone-faint) !important;
}

#sidebar .latest-list .mr-3 {
    border-radius: 0 !important;
}

#sidebar .tag-cloud-wrap a {
    padding: 3px 10px;
    font-size: 12px !important;
    color: var(--bone-dim);
    background: none;
    border: 1px solid var(--line);
    border-radius: 0;
}

#sidebar .tag-cloud-wrap a:hover {
    color: var(--ink);
    background: var(--yu);
    border-color: var(--yu);
}

#sidebar .archive-list li a {
    color: var(--bone-dim);
}

#sidebar .archive-list li a:hover {
    color: var(--bone);
}

@media (min-width: 992px) {
    #sidebar::-webkit-scrollbar-thumb {
        background-color: var(--ink-3);
    }

    #sidebar::-webkit-scrollbar-thumb:hover {
        background-color: var(--bone-faint);
    }
}

/* --------------------------------------------------------------------------
   記事詳細
   -------------------------------------------------------------------------- */

.single-content-wrap {
    background-color: var(--ink-2);
}

.single-meta {
    margin-bottom: 36px;
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--bone-dim);
    border-bottom: 1px solid var(--line);
}

.single-meta .badge {
    font-family: var(--f-mono);
    font-weight: 400;
    color: var(--bone);
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 0;
}

.news-content {
    font-family: var(--f-body);
    font-size: 1.03rem;
    line-height: 2.1;
    color: #d7d7d0;
}

.news-content h2 {
    font-family: var(--f-mincho);
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.6;
    color: var(--bone);
    border-bottom: 1px solid var(--line-strong);
}

.news-content h3 {
    font-family: var(--f-mincho);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--bone);
    border-left: 2px solid var(--yu);
}

.news-content h4 {
    font-family: var(--f-mincho);
    font-size: 1.13rem;
    font-weight: 700;
    color: var(--bone);
}

.news-content ul,
.news-content ol {
    background: var(--ink-3);
    border-radius: 0;
}

.news-content blockquote {
    font-style: normal;
    color: var(--bone-dim);
    background: var(--ink-3);
    border-left: 2px solid var(--yu);
}

.news-content img {
    border-radius: 0;
    box-shadow: none;
}

.news-content strong {
    color: var(--bone);
    background: linear-gradient(transparent 72%, rgba(143, 214, 200, .34) 72%);
}

body.single .news-content a {
    color: var(--yu);
    text-decoration-color: rgba(143, 214, 200, .5);
}

.tag-links a,
.tag-cloud a {
    padding: 3px 10px;
    color: var(--bone-dim);
    background: none;
    border: 1px solid var(--line);
    border-radius: 0;
}

body.single .tag-links a {
    color: var(--bone-dim);
}

.tag-links a:hover {
    color: var(--bone);
    background: none;
    border-color: var(--yu);
}

.author-wrap p {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-style: italic;
}

.post-navigation a {
    font-family: var(--f-mincho);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-intro {
    font-family: var(--f-mincho);
    font-size: 1.05rem;
    line-height: 2.2;
    letter-spacing: .06em;
    color: var(--bone);
}

.contact-form-wrapper {
    padding: 3.5rem 3.5rem 3rem;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.wpcf7-form label {
    font-family: var(--f-mincho);
    font-size: .98rem;
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--bone);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    padding: 12px 2px;
    font-family: var(--f-body);
    color: var(--bone);
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    background-color: transparent;
    border-color: var(--yu);
    box-shadow: 0 1px 0 var(--yu);
}

.wpcf7-form input:-webkit-autofill {
    -webkit-text-fill-color: var(--bone);
    -webkit-box-shadow: 0 0 0 100px var(--ink-2) inset;
}

::placeholder {
    color: var(--bone-faint);
}

.wpcf7-form input[type="submit"] {
    width: 200px;
    padding: 15px 0;
    font-family: var(--f-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: none;
    color: var(--ink);
    background-color: var(--bone);
    border: 1px solid var(--bone);
    border-radius: 0;
    box-shadow: none;
    transition: background-color .3s ease, border-color .3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    color: var(--ink);
    background-color: var(--yu);
    border-color: var(--yu);
    box-shadow: none;
    transform: none;
}

.wpcf7-not-valid-tip {
    color: #f2a39b;
}

.deco-circle-outline {
    border-color: rgba(143, 214, 200, .08);
}

@media (max-width: 767px) {
    .contact-form-wrapper {
        padding: 2rem 1.4rem;
    }
}

/* --------------------------------------------------------------------------
   次ページリンク・フッター
   -------------------------------------------------------------------------- */

.parallax-page {
    padding-top: 0;
    border-top: 1px solid var(--line);
}

.project-link-wrap {
    top: 0;
}

.project-link-wrap p {
    margin-bottom: 12px;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .24em;
    color: var(--bone-dim);
    opacity: 1;
}

.project-link-wrap:hover p {
    color: var(--bone);
    opacity: 1;
}

/* タップ操作でも行き先が読めるよう、見出しを常時表示にする */
.project-link-wrap h4 {
    position: static;
    margin-top: 0;
    font-size: clamp(3.2rem, 9vw, 8rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--bone);
    opacity: 1;
    transform: none;
    transition: color .4s ease;
}

.project-link-wrap:hover h4 {
    font-style: italic;
    color: var(--yu);
}

.footer p {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--bone-faint);
}

.footer a,
.footer a:hover {
    color: var(--bone);
}

.scroll-to-top:after {
    background-color: var(--bone);
}

@media (max-width: 1199px) {
    .scroll-to-top {
        background-color: var(--ink-3);
    }
}

/* --------------------------------------------------------------------------
   動きを減らす設定
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* 固定ヘッダーがモーダルの上に重ならないようにする */
.modal {
    z-index: 2100;
}

.modal-backdrop {
    z-index: 2090;
}
