@charset "utf-8";

html {
    scroll-behavior: smooth;
}

:root {
    --font-mincho: "Zen Old Mincho", serif;
}
/* 加工事例のナビをリンク遮断用span */
.nav-disabled {
    color: #39393924;
    cursor: default;
}
/* ------------------------
共通CSS navi footer その他
--------------------------- */

/* =========================
  Grid Title Common
  罫線タイトル共通
========================= */

/* =========================
  Grid Title Common
  罫線タイトル共通
========================= */

.grid-title {
    display: grid;
    width: fit-content;
    border-top: 1px solid #777;
    border-left: 1px solid #777;
}

.grid-title span {
    display: grid;
    place-items: center;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
}

.grid-title em {
    font-style: normal;
    font-family: var(--font-mincho);
    line-height: 1;
    color: #222;

    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
}

.grid-title.is-show em {
    animation-name: gridTitleFloat;
    animation-duration: 1.8s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

/* 1文字ずつ下から出る */
.grid-title.is-show span:nth-child(1) em { animation-delay: 0s; }
.grid-title.is-show span:nth-child(2) em { animation-delay: .12s; }
.grid-title.is-show span:nth-child(3) em { animation-delay: .24s; }
.grid-title.is-show span:nth-child(4) em { animation-delay: .36s; }
.grid-title.is-show span:nth-child(5) em { animation-delay: .48s; }
.grid-title.is-show span:nth-child(6) em { animation-delay: .60s; }
.grid-title.is-show span:nth-child(7) em { animation-delay: .72s; }
.grid-title.is-show span:nth-child(8) em { animation-delay: .84s; }
.grid-title.is-show span:nth-child(9) em { animation-delay: .96s; }
.grid-title.is-show span:nth-child(10) em { animation-delay: 1.08s; }

@keyframes gridTitleFloat {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* =========================
  Grid Title Size Common
  FV罫線タイトル基準
========================= */

.company-title,
.message-title,
.concept-grid-title,
.processing-title,
.works-title {
    grid-auto-rows: 42px;
}

.company-title em,
.message-title em,
.concept-grid-title em,
.processing-title em,
.works-title em {
    font-size: 30px;
}

@media screen and (min-width: 768px) {
    .company-title,
    .message-title,
    .concept-grid-title,
    .processing-title,
    .works-title {
        grid-auto-rows: 58px;
    }

    .company-title em,
    .message-title em,
    .concept-grid-title em,
    .processing-title em,
    .works-title em {
        font-size: 42px;
    }
}
/* =========================================
  Header
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10000;
    background: #e2e2e280;
}

.header-logo-mobile img {
    width: 120px;
    height: auto;
}

.nav-logo-mobile {
    width: 220px;
    height: auto;
}

.nav-logo-mobile img {
    width: 100%;
    height: auto;
}

.header-pc-elements {
    display: none;
}
.spnav-logo-mobile img{
    width: 150px;
}

/* =========================================
  Hamburger
========================================= */

.hamburger {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 10001;
    width: 42px;
    height: 42px;
    border: 1px solid #222;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.hamburger::before {
    content: "menu";
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    color: #222;
    text-transform: lowercase;
}

.hamburger.active::before {
    content: "close";
}


/* =========================================
  Mobile Nav
========================================= */

.mobile-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #e2e2e2;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 20%;
    min-height: 100vh;
    height: 100svh;
}

.header-logo-mobile.active {
    display: none;
}
.spnav-logo-mobile.active {
    display: none;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: -50px;
}

.mobile-nav ul li {
    margin: 40px 0;
    overflow: hidden;
}

.mobile-nav ul li a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.1em;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.active ul li a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active ul li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-nav.active ul li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-nav.active ul li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-nav.active ul li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-nav.active ul li:nth-child(5) a { transition-delay: 0.3s; }

.copyright {
    font-size: 9px;
    color: #333;
}


/* =========================================
  TOP page base
========================================= */

.pc-floating-logo {
    display: none;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-icons img {
    min-width: 40px;
    max-width: 45px;
}


/* =========================================
  PC Header
========================================= */

@media (min-width: 1024px) {
    .header {
        height: 60px;
        /* background: #e2e2e2; */
        background: #e2e2e2bf;

        backdrop-filter: none;
        justify-content: center;
        padding: 0;
    }

    .header-inner {
        width: 100%;
        max-width: 1400px;
        padding: 0 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-h {
        font-size: 12px;
        font-weight: 400;
    }

    .site-id {
        display: grid;
        justify-items: center;
    }

    .site-id img {
        width: 150px;
    }

    .header-logo-mobile,
    .hamburger,
    .mobile-nav {
        display: none;
    }

    .header-pc-elements {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
        font-weight: bold;
        color: #393939;
    }

    .desktop-nav {
        display: flex;
        gap: 5vw;
        letter-spacing: 1px;
    }

    .social-icons {
        display: flex;
        gap: 25px;
    }

    .social-icon-box {
        width: 30px;
        height: 30px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
    }

    .main-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: calc(100vh - 100px);
        padding-top: 200px;
        position: relative;
    }

    .hero-text-area {
        width: 45%;
        text-align: left;
        padding-right: 50px;
        position: relative;
        z-index: 10;
    }

    .hero-title {
        font-size: min(3vw, 30px);
        margin-left: 50px;
    }

    .pc-floating-logo {
        display: block;
        position: absolute;
        top: -150px;
        left: 50px;
        width: 100px;
        height: 100px;
    }

    .floating-clogo {
        display: block;
        position: absolute;
        top: 3%;
        left: 23%;
        width: 100px;
        height: 100px;
    }

    .inquiry-floating {
        display: block;
        position: absolute;
        top: 40%;
        left: 18%;
        width: 100px;
        height: 100px;
    }

    .pc-floating-logo span {
        font-family: var(--font-serif);
        font-size: 24px;
        color: #d4af37;
    }

    .hero-image-wrapper {
        width: 45%;
        margin: 0;
    }

    .white-bg-deco {
        top: 40px;
        left: -40px;
        right: auto;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.8);
        z-index: 1;
    }

    .footer-text {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        justify-content: center;
        gap: 30px;
    }

    .footer-text p {
        width: auto;
        margin: 0;
    }
    .spnav-logo-mobile {
        display: none;
    }
}


/* =========================================
  Footer / mobile first
========================================= */

.footer {
    position: relative;
    z-index: 10;
    height: calc(100svh - 60px);
    background: #e2e2e2;
    display: flex;
    flex-direction: column-reverse;
}

.footer-contact {
    height: 50svh;
    background: #e2e2e2;
    padding: 28px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card {
    width: 100%;
    height: 100%;
    max-height: 280px;
    border: 1px solid #777;
    color: #222;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2em;
}

.contact-en {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: .04em;
}

.contact-ja {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
}

.contact-text {
    margin-top: 1em;
    font-size: 14px;
    line-height: 2;
    text-align: center;
    font-weight: 600;
}

.contact-arrow {
    margin-top: 18px;
    font-size: 38px;
    font-weight: lighter;
}

.footer-company {
    height: 50svh;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 24px 20px;
    background: #111;
    color: #fff;
}

.footer-company-inner {
    display: grid;
    justify-items: center;
}

.footer-logo {
    width: 170px;
    margin-bottom: 34px;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-btn {
    width: 150px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    color: #111;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    text-decoration: none;
    margin-bottom: 48px;
}

.footer-address {
    margin-top: 0;
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

.footer-copy {
    margin-top: 12px;
    font-size: 8px;
    position: absolute;
    bottom: 1%;
}


/* =========================================
  Footer / PC
========================================= */

@media (min-width: 768px) {
    .footer {
        height: 100svh;
        min-height: 720px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .footer-company {
        grid-column: 1;
        grid-row: 1;
        height: 100%;
        padding: 0 40px 34px;
        justify-content: center;
        position: relative;
    }

    .footer-logo {
        width: 320px;
        margin-bottom: 72px;
    }

    .footer-btn {
        width: 180px;
        height: 45px;
    }

    .footer-address {
        position: absolute;
        bottom: 96px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        width: 100%;
        font-size: 11px;
    }

    .footer-add {
        font-size: 14px;
    }

    .footer-copy {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        width: 100%;
        text-align: center;
        font-size: 9px;
    }

    .footer-contact {
        grid-column: 2;
        grid-row: 1;
        height: 100%;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-card {
        width: min(58%, 420px);
        height: 70%;
        max-height: 600px;
        background: transparent;
    }

    .contact-en {
        font-size: 45px;
        letter-spacing: 0;
    }
}




/* =========================================
  Lower Page Common
  company / processing / inquiry
========================================= */

.lower-page {
    background: #e2e2e2;
    color: #111;
    overflow: hidden;
}

.lower-section {
    padding: 90px 0;
}

.lower-inner {
    width: min(82%, 1200px);
    margin-inline: auto;
}


/* =========================
  Lower Heading
========================= */

.lower-heading {
    position: relative;
    margin-bottom: 70px;
}

/* .lower-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 38px;
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
} */

.lower-en {
    font-size: clamp(5.8rem, 8vw, 9.2rem);
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.02em;
    position: relative;
}
.lower-en::after {
    content: "";
    position: absolute;
    left: -50vw;
    bottom: 2px;
    width: 200vw;
    overflow: hidden;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
}
@media (min-width: 768px) {
    .lower-en::after {
        bottom: 5px;
    }
}


/* =========================
  Lower Grid Title
  下層ページの罫線タイトルサイズのみ指定
========================= */

.lower-page .grid-title {
    margin-top: 22px;
}

/* .lower-page .grid-title span {
    width: 1.35em;
    height: 1.35em;
}

.lower-page .grid-title em {
    font-size: 2.8rem;
} */


/* =========================
  Lower Info
========================= */

.lower-info {
    width: min(100%, 680px);
    margin-left: auto;
}

.lower-info dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    min-height: 66px;
    border-bottom: 1px solid #999;
}

.lower-info dt {
    font-size: 1rem;
    font-weight: 700;
}

.lower-info dd {
    font-size: 1rem;
}


/* =========================
  Lower Map
========================= */

.lower-map {
    width: min(100%, 680px);
    margin: 70px 0 0 auto;
}

.lower-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}


/* =========================
  Lower Wide Image
========================= */

.lower-wide-img picture,
.lower-wide-img img {
    display: block;
    width: 100%;
}

.lower-wide-img img {
    height: 320px;
    object-fit: cover;
}


/* =========================
  Lower Two Column
========================= */

/* .lower-two-column {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 70px;
    align-items: start;
} */
.lower-two-column {
    width: 70%;
    margin: auto;
}

.lower-two-column-img picture,
.lower-two-column-img img {
    display: block;
    width: 100%;
}

.lower-text {
    font-size: 1rem;
    line-height: 2.2;
}

.lower-sign {
    margin-top: 60px;
    text-align: right;
}


/* =========================
  Lower SP
========================= */

@media screen and (max-width: 767px) {
    .lower-section {
        padding: 54px 0;
    }

    .lower-inner {
        width: calc(100% - 44px);
    }

    .lower-heading {
        margin-bottom: 38px;
    }

    .lower-heading::after {
        display: none;
    }

    .lower-en {
        font-size: 3.2rem;
        line-height: 0.95;
    }

    .lower-page .grid-title {
        margin-top: 14px;
    }

    /* .lower-page .grid-title span {
        width: 1.35em;
        height: 1.35em;
    } */

    .lower-page .grid-title em {
        font-size: 30px;
    }

    .lower-info {
        width: 100%;
        margin-left: 0;
    }

    .lower-info dl {
        display: block;
        min-height: auto;
        padding: 18px 0;
    }

    .lower-info dt {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .lower-info dd {
        font-size: 1rem;
    }

    .lower-map {
        width: 100%;
        margin-top: 50px;
    }

    .lower-map iframe {
        aspect-ratio: 16 / 10;
    }

    .lower-wide-img img {
        height: auto;
        aspect-ratio: 16 / 7;
        object-fit: cover;
    }

    .lower-two-column {
        display: block;
        width: 90%;
    }

    .lower-two-column-img {
        margin-bottom: 28px;
    }

    .lower-text {
        font-size: 14px;
        line-height: 2;
    }

    .lower-sign {
        margin-top: 28px;
    }
}