@charset "UTF-8";

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #111;
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "YuMincho",
        "MS PMincho",
        serif;
    line-height: 1.6;
    background: #f5f5f2;
}
.header,
.header * {
    margin: 0;
    color: #111;
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "YuMincho",
        "MS PMincho",
        serif;
    line-height: 1.6;
}
.footer,
.footer *{
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "YuMincho",
        "MS PMincho",
        serif;
}

body.is-fixed {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp {
    display: none;
}

@media screen and (max-width: 767px) {
    .sp {
        display: inline;
    }
}

/* =========================
   header
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 150px;
    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.header__logo {
    margin: 0;
    flex-shrink: 0;
}

.header__logo a {
    display: block;
}

.header__logo img {
    width: 78px;
}

.pc-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.header__navList {
    display: flex;
    align-items: center;
    gap: 58px;
}

.header__navList a {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.header__navList a:hover {
    opacity: 0.7;
}

.header__cta,
.drawer__cta,
.footer-fixed__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #76779F;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.header__cta:hover,
.drawer__cta:hover,
.footer-fixed__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* =========================
   sp nav
========================= */
.sp-nav {
    display: none;
    align-items: center;
    gap: 20px;
}

.header__cta--sp {
    min-width: 127px;
    min-height: 48px;
    padding: 10px 18px;
    font-size: 14px;
}

.hamburger {
    position: relative;
    width: 44px;
    height: 36px;
    flex-shrink: 0;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 44px;
    height: 2px;
    background: #555;
    transform-origin: center;
    transition:
        transform 0.35s ease,
        opacity 0.25s ease,
        top 0.35s ease;
}

.hamburger span:nth-child(1) {
    top: 2px;
}

.hamburger span:nth-child(2) {
    top: 17px;
}

.hamburger span:nth-child(3) {
    top: 32px;
}

.hamburger.is-active span:nth-child(1) {
    top: 17px;
    transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    top: 17px;
    transform: rotate(-45deg);
}

/* =========================
   drawer
========================= */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.drawer__inner {
    height: 100%;
    padding: 40px 24px 56px;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    transform: translateY(12px);
    opacity: 0;
    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.drawer.is-open .drawer__nav {
    transform: translateY(0);
    opacity: 1;
}

.drawer__navList {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.drawer__navList a {
    font-size: 22px;
    line-height: 1.4;
}

.drawer__cta {
    min-width: 180px;
}

.hamburger {
    position: relative;
    z-index: 1003;
}

.header__inner {
    position: relative;
    z-index: 1002;
}

body.is-fixed .header__logo,
body.is-fixed .header__cta--sp {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* ========= works archive ========= */
.worksArchive {
    padding: 56px 20px 120px;
    background: #f5f5f2;
}

.worksArchive__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.worksArchive__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 42px;
}

.worksArchive__filterItem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ececec;
    color: #777;
    font-size: 12px;
    line-height: 1;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.worksArchive__filterItem:hover,
.worksArchive__filterItem.is-active {
    background: #dadada;
}

.worksArchive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 28px;
}

.worksArchiveCard {
}

.worksArchiveCard a {
    display: block;
    height: 100%;
}

.worksArchiveCard__thumb {
    width: 100%;
    aspect-ratio:4 / 3;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.worksArchiveCard__thumb img{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.worksArchiveCard__thumb img,
.worksArchiveCard__thumb .wp-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worksArchiveCard__body {
    padding: 18px 0 0;
    background: transparent;
}

.worksArchiveCard__title {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.06em;
    color: #444;
}

.worksArchiveCard__text {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.9;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.worksArchiveCard__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.worksArchiveCard__tags li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ececec;
    color: #7f7f7f;
    font-size: 10px;
    line-height: 1;
}

.worksArchive__pager {
    margin-top: 54px;
    text-align: center;
}

.worksArchive__pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 4px;
    color: #666;
    font-size: 14px;
    line-height: 1;
}

.worksArchive__pager .prev,
.worksArchive__pager .next {
    min-width: 44px;
}

.worksArchive__empty {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* ========= responsive ========= */
@media screen and (max-width: 1024px) {
    .worksArchive__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .worksArchive {
        padding: 40px 20px 72px;
        margin: 0;
    }

    .worksArchive__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .worksArchive__filter {
        gap: 15px;
        margin-bottom: 28px;
    }

    .worksArchiveCard__title {
        font-size: 14px;
    }

    .footer-fixed {
        right: 16px;
        bottom: 16px;
    }
}

/* =========================
   contact
========================= */
.contact {
    padding: 90px 20px 110px;
    background: #f5f5f2;
    overflow: hidden;
}

.contact__inner {
    max-width: 1360px;
    margin: 0 auto;
}

.contact__panel {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    padding: 40px 20px 60px;
    background: #8181B0;
}

.contact__marquee {
    position: absolute;
    top: 0px;
    inset: 0;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    pointer-events: none;
}

.contact__marqueeTrack {
    display: flex;
    width: max-content;
    animation: marquee-left 46s linear infinite;
    white-space: nowrap;
}

.contact__marqueeTrack span {
    display: inline-block;
    padding-right: 80px;
    font-size: clamp(90px, 10vw, 180px);
    line-height: 1;
    color: rgb(17 17 57 / 11%);
    letter-spacing: 0.02em;
}

.contact__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 260px;
}

.contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 290px;
    min-height: 84px;
    padding: 18px 40px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0.08em;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.contact__button:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

@keyframes marquee-left {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media screen and (max-width: 1024px) {
    .header__inner {
        padding: 0 24px;
    }

    .pc-nav {
        gap: 24px;
    }

    .header__navList {
        gap: 30px;
    }

    .fv__inner {
        padding-right: 40px;
        padding-left: 40px;
    }

    .fv__content {
        max-width: 500px;
    }

    .contact__button {
        min-width: 220px;
        min-height: 70px;
        font-size: 24px;
    }
}


@media screen and (max-width: 767px) {
    .header {
        height: 80px;
    }

    .header__inner {
        padding: 0 20px;
    }

    .header__logo img {
        width: 56px;
    }

    .pc-nav {
        display: none;
    }

    .sp-nav {
        display: flex;
    }
    .fv__bg {
        height: 100svh;
        background-position: center top;
    }

    .fv {
        min-height: 100svh;
    }

    .fv__inner {
        align-items: flex-start;
        justify-content: flex-end;
        min-height: 100svh;
        padding: 190px 20px 40px;
    }

    .fv__content {
        max-width: 100%;
        margin-top: 185px;
    }

    .fv__lead {
        font-size: 1.8rem;
        font-weight: bold;
        line-height: 1.75;
        letter-spacing: 0.06em;
    }

    .fv__text {
        font-size: 16px;
        font-weight: bold;
        margin-top: 10px;
        line-height: 2;
        letter-spacing: 0.06em;
    }

    .section {
        padding: 90px 20px;
    }

    .section h2 {
        font-size: 28px;
    }

    .contact {
        padding: 26px 20px 72px;
        margin: 0;
    }

    .contact__panel {
        min-height: 170px;
        padding: 20px 16px;
    }

    .contact__marqueeTrack span {
        padding-right: 44px;
        font-size: 72px;
    }

    .contact__content {
        min-height: 130px;
    }

    .contact__button {
        min-width: 190px;
        min-height: 58px;
        padding: 14px 20px;
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .header__cta--sp {
        min-width: 120px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .hamburger {
        width: 40px;
    }

    .hamburger span {
        width: 40px;
    }

    .fv__inner {
        padding: 190px 20px 32px;
    }

    .fv__text {
        font-size: 13px;
    }

    .contact__marqueeTrack span {
        font-size: 58px;
    }

    .contact__button {
        min-width: 170px;
        min-height: 52px;
        font-size: 16px;
    }
}

/* =========================
   footer
========================= */
.header__cta,
.drawer__cta,
.footer-fixed__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #76779F;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.header__cta:hover,
.drawer__cta:hover,
.footer-fixed__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}


/* =========================
   FV
========================= */
.service-fv {
    background: #f5f5f2;
}

.service-fv__inner {
    max-width: 1440px;
    margin: 0 auto;
}

.service-fv__head {
    position: relative;
    padding: 100px 40px 100px;
}

.service-fv__bgText {
    position: absolute;
    left: 25%;
    top: 20px;
    transform: translateX(-50%);
    font-size: clamp(100px, 10vw, 180px);
    color: rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.service-fv__title {
    position: relative;
    font-size: 40px;
    letter-spacing: 0.08em;
    font-weight: bold;
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "YuMincho",
        "MS PMincho",
        serif;
}

.service-fv__image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.service-fv__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   SP
========================= */
@media (max-width: 768px) {
    .header {
        height: 64px;
    }

    .header__inner {
        padding: 0 16px;
    }

    .header__nav {
        display: none;
    }

    .site-main {
        padding-top: 64px;
    }
    .service-fv__head {
        padding: 80px 20px 20px;
    }

    .service-fv__bgText {
        font-size: 80px;
        left: 30%;
    }

    .service-fv__title {
        font-size: 28px;
    }

    .serviceItem {
        flex-direction: column;
    }

    .serviceItem:nth-child(even) {
        flex-direction: column;
    }

    .serviceItem__image,
    .serviceItem__content {
        width: 100%;
    }

    .services__list {
        gap: 48px;
    }
}

/* =========================
   footer
========================= */
.footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "YuMincho",
        "MS PMincho",
        serif;
}

.footer__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("/site/asset/image/FV.png") no-repeat center center / cover;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgb(0 0 0 / 70%);
}

.footer__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "company nav"
        "company cta";
    gap: 48px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 84px 40px 70px;
}

.footer__company {
    grid-area: company;
}

.footer__navWrap {
    grid-area: nav;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-end;
    position: relative;
}

.footer__ctaWrap {
    grid-area: cta;
    display: flex;
    justify-content: flex-end;
    width: 100%; 
}

.footer__company::after {
    display: none;
}

.footer__navWrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: -24px;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
}

.footer__logo {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 400;
}

.footer__address p {
    margin: 0;
    font-size: 13px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
}

.footer__copy {
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
}


.footer__navCol {
    min-width: 120px;
}

.footer__navCol ul li {
    position: relative;
    padding-left: 16px;
}

.footer__navCol ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
}

.footer__navCol h3 {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
}

.footer__navCol ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__navCol ul li + li {
    margin-top: 10px;
}

.footer__navCol a {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: opacity 0.3s ease;
}



.footer-fixed__navTitle {
    margin: 0 0 20px;
    font-size: 21px;
    line-height: 1.4;
}

.footer__navCol a:hover {
    opacity: 0.7;
}

.footer__ctaWrap {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #76779F;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.footer__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* =========================
   footer responsive
========================= */
@media screen and (max-width: 1024px) {
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 64px 24px 56px;
    }

    .footer__navWrap {
        gap: 32px;
    }

    .footer__ctaWrap {
        justify-content: flex-start;
        align-items: flex-start;
    }
}

@media screen and (max-width: 767px) {
    .footer__inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 56px 24px 48px;
    }

    .footer__company {
        order: 4;
        width: 100%;
        margin-top: 44px;
        padding-top: 34px;
        border-top: 1px solid rgba(255, 255, 255, 0.7);
    }

    .footer__company::after {
        display: none;
    }

    .footer__navWrap {
        order: 1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px 20px;
        width: 100%;
        margin-top: 0;
    }

    .footer__navCol {
        min-width: 0;
    }

    .footer__navCol:nth-child(2) {
        grid-column: 1 / -1;
    }

    .footer__navCol h3 {
        margin: 0 0 14px;
        font-size: 24px;
        line-height: 1.5;
    }

    .footer__navCol ul li + li {
        margin-top: 14px;
    }

       .footer__navCol ul {
        display: flex;
        flex-wrap: wrap;
        gap: 14px 0;
    }

    .footer__navCol ul li {
        width: 50%;
    }

    .footer__navCol ul li + li {
        margin-top: 0;
    }
    .footer__navCol a {
        font-size: 15px;
        line-height: 1.9;
    }

    .footer__ctaWrap {
        order: 2;
        width: 100%;
        margin-top: 36px;
        justify-content: center;
        align-items: center;
    }

    .footer__cta {
        width: 100%;
        max-width: 340px;
        min-width: 0;
        min-height: 44px;
        padding: 16px 20px;
        font-size: 16px;
    }

    .footer__logo {
        margin: 0 0 18px;
        font-size: 24px;
        line-height: 1.5;
    }

    .footer__address p,
    .footer__copy {
        font-size: 14px;
        line-height: 2;
    }

    .footer__copy {
        margin-top: 22px;
    }
}
.worksSingle-fv__title{
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "YuMincho", "MS PMincho", serif !important;
}
.footer-fixed__navTitle a{
    font-size: 21px;
}

.footer-fixed__info::after {
    display: none;
}

.footer-fixed__nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 40px;
    position: relative;
}

.footer-fixed__nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30px; /* 60px gap の真ん中 */
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
}

.service-fv {
  overflow-x: hidden;
}

.service-fv__image img {
  display: block;
  width: 100%;
  height: auto;
}