@charset "UTF-8";

/* リキッドレイアウト対応 */
.u-desktop {
    display: none;
}

@media screen and (min-width: 768px) {
    .u-desktop {
        display: block;
    }
}

@media screen and (min-width: 768px) {
    .u-mobile {
        display: none;
    }
}

body {
    font-family: "Jost", "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;

    background-color: #000;
    color: #fff;
}

/* ===============================================
# ページ内遷移で行き過ぎるのを制御
=============================================== */
[id] {
    scroll-margin-top: 20px;
}

html {
    font-size: 16px;
}

@media (max-width: 375px) {
    html {
        font-size: 4.2666666667vw;
    }
}

@media screen and (min-width: 768px) {
    html {
        font-size: 1.4545454545vw;
    }
}

@media (min-width: 1100px) {
    html {
        font-size: 16px;
    }
}

/* pcの電話番号発信対応 */
@media screen and (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

/* ホバー */
a {
    text-decoration: none;
    color: inherit;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

@media screen and (min-width: 768px) {
    a:hover {
        opacity: 0.8;
    }
}

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

/* Remove default padding */
ul,
ol {
    padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Set core root defaults */
html {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
    list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
    max-width: 100%;
    display: block;
    width: 100%;
}

/* Natural flow and rhythm in articles by default */
article>*+* {
    margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="10" /></filter></svg>#filter');
    -webkit-filter: blur(10px);
    filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    font: inherit;
    outline: none;
}

textarea {
    resize: vertical;
}

input[type=checkbox],
input[type=radio] {
    display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}

.c-contact-text__text {
    border: 1px solid #333;
}

.c-cv a {
    padding: 14px 28px;
    padding: 0.5rem 1.5rem;
    background-color: #000000;
    color: #ffffff;
    /* font-weight: 600; */
    letter-spacing: 0.02em;
    line-height: 1.35;
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);

    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.p-404 .c-cv a {
    background-color: #ffffff;
    color: #000000;
    border-color: rgba(255, 255, 255, 0.35);
}

@media screen and (min-width: 768px) {
    .c-cv a {
        font-size: 14px;
        font-size: 0.875rem;
        padding: 0.5rem 1.5rem;
    }

    .c-cv a:hover {
        opacity: 1;
        background-color: #1f1f1f;
        border-color: rgba(255, 255, 255, 0.22);
    }

    .p-404 .c-cv a:hover {
        background-color: #e8e8e8;
        border-color: rgba(255, 255, 255, 0.45);
    }
}

.c-test {
    font-size: 20px;
    font-size: 1.25rem;
    background-color: #333;
    color: #fff;
    padding: 50px 0;
    padding: 3.125rem 0;
}

.c-titleBlock {
    position: relative;
    text-align: center;
    margin-bottom: 48px;
    margin-bottom: 3rem;
}

@media screen and (min-width: 768px) {
    .c-titleBlock {
        margin-bottom: 5rem;
    }
}

.c-titleBlock::after {
    content: "";
    position: absolute;
    bottom: -12px;
    bottom: -0.75rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 1px;
    width: 64px;
    width: 4rem;
    background-color: #333;
}

@media screen and (min-width: 768px) {
    .c-titleBlock::after {
        bottom: -1.5rem;
    }
}

.c-titleBlock__title {
    font-size: 30px;
    font-size: 1.875rem;
    line-height: 1;
    margin-bottom: 4px;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

@media screen and (min-width: 768px) {
    .c-titleBlock__title {
        font-size: 48px;
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

.c-titleBlock__subTitle {
    font-size: 14px;
    font-size: 0.875rem;
}

@media screen and (min-width: 768px) {
    .c-titleBlock__subTitle {
        font-size: 1rem;
    }
}

.l-404 {
    padding: 120px 0;
    padding: 7.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-404 {
        padding: 12.5rem;
    }
}

.l-footer {
    padding: 40px 0;
    padding: 2.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-footer {
        padding: 6.25rem 0;
    }
}

/* ===============================================
    ヘッダーのスタイリング
    =============================================== */
.header {
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 64px;
    height: 4rem;
    border-bottom: 1px solid #171719;
}

.header__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: inherit;
    color: #fff;
    padding: 0 16px;
    padding: 0 1rem;
}

@media screen and (min-width: 768px) {
    .header__container {
        padding: 0 1.5rem;
    }
}

.header__logo {
    /* width: 160px;
    width: 10rem; */
    width: 124px;
    width: 7.75rem;
    height: auto;
}

.header__logo a img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
.hamburger {
    width: 32px;
    width: 2rem;
    height: 32px;
    height: 2rem;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    /* background-color: #E0E0E0; */
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger span,
.hamburger span::after,
.hamburger span::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 0.5px;
    background-color: #fff;
}

.hamburger span::before {
    top: -10px;
}

.hamburger span::after {
    bottom: -10px;
}

.hamburger.open span {
    background-color: transparent;
}

.hamburger.open span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hamburger.open span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* メニュー展開中は背面をスクロールさせない */
body.is-nav-open {
    overflow: hidden;
}

/* ===============================================
メニューのスタイリング
=============================================== */
.nav {
    display: none;
    position: fixed;
    top: 64px;
    top: 4rem;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: #000;
    padding: 8px 16px 32px;
    padding: 0.5rem 1rem 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media screen and (min-width: 768px) {
    .nav {
        display: none;
    }
}

.nav__item {
    border-bottom: 1px solid #171719;
}

.nav__item a {
    display: block;
    font-size: 16px;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 16px 0;
    padding: 1rem 0;
    text-transform: uppercase;
}

.nav.open {
    display: block;
}

.nav__item--cv {
    border-bottom: none;
}

.nav__item--cv a {
    /* background-color: #ffffff; */
    color: #fff;
    text-align: center;
    padding: 16px 28px;
    padding: 0.5rem 1.5rem;
    margin: 24px 0 0;
    margin: 1.5rem 0 0;
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 9999px;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

@media screen and (min-width: 768px) {
    .nav__item--cv a:hover {
        opacity: 1;
        background-color: #e8e8e8;
        border-color: rgba(0, 0, 0, 0.12);
    }
}

.l-inner {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 500px;
    max-width: 31.25rem;
}

@media screen and (min-width: 768px) {
    .l-inner {
        max-width: 1216px;
        padding-right: 32px;
        padding-left: 32px;
    }
}

.l-middle-inner {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 500px;
    max-width: 31.25rem;
}

@media screen and (min-width: 768px) {
    .l-middle-inner {
        max-width: 950px;
        padding-right: 25px;
        padding-left: 25px;
    }
}

.l-small-inner {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 500px;
    max-width: 31.25rem;
}

@media screen and (min-width: 768px) {
    .l-small-inner {
        max-width: 650px;
        padding-right: 25px;
        padding-left: 25px;
    }
}

.l-test {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    padding: 40px 0;
    padding: 2.5rem 0;
    background-color: aquamarine;
}

@media screen and (min-width: 768px) {
    .l-test {
        max-width: 1150px;
        padding-right: 25px;
        padding-left: 25px;
        padding: 2.5rem 0;
        background-color: aquamarine;
    }
}

.l-top-about {
    padding: 72px 0;
    padding: 4.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-top-about {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.p-top-about__text {
    text-align: center;
    color: #B3B3B3;
}

.l-top-contact {
    padding: 72px 0;
    padding: 4.5rem 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .l-top-contact {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.p-top-contact__vanta {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.p-top-contact__inner {
    position: relative;
    z-index: 1;
}

.l-top-mv {
    margin-top: 60px;
    margin-top: 3.75rem;
    padding: 160px 0;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    /* background-image: url(../../assets/images/top/mv-bg7--sp.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; */
}

@media screen and (min-width: 768px) {
    .l-top-mv {
        /* background-image: url(../../assets/images/top/mv-bg7.jpg); */
        margin-top: 4rem;
        padding: 15rem 0;
    }
}

.l-top-banner {
    /* padding: 40px 0;
    padding: 2.5rem 0; */
}

@media screen and (min-width: 768px) {
    .l-top-banner {
        padding: 48px 0;
        padding: 3rem 0;
    }
}

.p-top-banner__link {
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

@media screen and (min-width: 768px) {
    .p-top-banner__link:hover {
        transform: translateY(-4px);
        filter: brightness(1.03);
    }
}

.p-top-banner__image {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.l-top-news {
    padding: 72px 0;
    padding: 4.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-top-news {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.l-top-service {
    padding: 72px 0;
    padding: 4.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-top-service {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.l-top-works {
    padding: 72px 0;
    padding: 4.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-top-works {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.p-404__title {
    text-align: center;
    font-size: 48px;
    font-size: 3rem;
}

@media screen and (min-width: 768px) {
    .p-404__title {
        font-size: 4rem;
    }
}

.p-404__text {
    text-align: center;
    margin-bottom: 24px;
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
    .p-404__text {
        margin-bottom: 3rem;
    }
}

.p-404__button a {
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .p-cards__items {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 2.5rem 1.5rem;
    }
}

.p-cards__item {
    margin-bottom: 32px;
    margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
    .p-cards__item {
        margin-bottom: 0rem;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(25% - 24px);
        flex: 0 0 calc(25% - 24px);
    }
}

.p-cards__image {
    width: 70%;
    height: auto;
    /* height: 240px;
    height: 15rem; */
    margin: 0 auto 18px;
    margin-bottom: 1.125rem;
}

@media screen and (min-width: 768px) {
    .p-cards__image {
        margin-bottom: 1.625rem;
    }
}

.p-cards__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.p-cards__title {
    margin-bottom: 14px;
    margin-bottom: 0.875rem;
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 400;
}

@media screen and (min-width: 768px) {
    .p-cards__title {
        margin-bottom: 1.375rem;
        font-size: 1.25rem;
    }
}

.p-cards__text {
    font-size: 14px;
    font-size: 0.875rem;
    color: #B3B3B3;
}

@media screen and (min-width: 768px) {
    .p-cards__text {
        font-size: 1rem;
    }
}

.p-cards__url {
    color: gray;
    font-size: 13px;
    font-size: 0.8125rem;
}

.p-contact__item {
    margin-bottom: 16px;
    margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
    .p-contact__item {
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 768px) {
    .p-contact__contents {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1rem;
    }

    /* お問い合わせ内容と送信ボタンは2列ぶち抜き */
    .p-contact__contents .p-contact__content--full {
        grid-column: 1 / -1;
    }

    /* グリッド時は各アイテムの余白はgapに任せる */
    .p-contact__contents .p-contact__item {
        margin-bottom: 0;
    }
}

.p-contact__item--head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 4px;
    margin-bottom: 0.25rem;
    color: #E0E0E0;
    display: none;
}

@media screen and (min-width: 768px) {
    .p-contact__item--head {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

.p-contact__item--head div {
    margin-left: 4px;
    margin-left: 0.25rem;
    font-size: 13px;
    font-size: 0.8125rem;
    color: #FF7043;
}

.p-contact__item input {
    width: 100%;
    padding: 8px 12px;
    padding: 0.5rem 0.75rem;
    color: #E0E0E0 !important;
    /* border-color: #E0E0E0; */
    background-color: #0c0c0c !important;
    border-radius: 0.5rem;
    border: 1px solid #ffffff1a;
}

@media screen and (min-width: 768px) {
    .p-contact__item input {
        padding: 0.625rem 1rem;
    }
}

.p-contact__item textarea {
    width: 100%;
    border: 1px solid #ffffff1a;
    padding: 8px 12px;
    padding: 0.5rem 0.75rem;
    color: #fff !important;
    resize: none;
    height: 220px;
    height: 13.75rem;
    border-radius: 0.5rem;
    background-color: #0c0c0c !important;
}

@media screen and (min-width: 768px) {
    .p-contact__item textarea {
        padding: 0.625rem 1rem;
    }
}

.p-contact__submit {
    font-weight: 600;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    padding: 0.5rem 1.5em;
    font-size: 1rem;
    width: fit-content;
    color: #000 !important;
    background-color: #fff;
    cursor: pointer;
}

.p-contact__submit:hover {
    opacity: 0.7;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

/* 送信中（二重送信防止） */
.p-contact__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===============================================
    お問い合わせフォーム: error / validation styling
    =============================================== */
.p-contact {
    --form-border: rgba(255, 255, 255, 0.10);
    --form-border-strong: rgba(255, 255, 255, 0.22);
    --form-surface: rgba(255, 255, 255, 0.04);
    --form-surface-strong: rgba(255, 255, 255, 0.06);
    --form-text-dim: #b3b3b3;
    --form-text: #e0e0e0;
}

/* invalid fields */
.p-contact__item input:user-invalid,
.p-contact__item textarea:user-invalid {
    border-color: var(--form-border-strong) !important;
    background: var(--form-surface-strong);
}

/* focus ring (keep minimal, monochrome) */
.p-contact__item input:focus-visible,
.p-contact__item textarea:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.p-top-contact__titleBlock {
    color: #E0E0E0;
}

.p-top-contact__titleBlock::after {
    background-color: #E0E0E0;
}

.p-contact__item--last {
    margin-bottom: 0px;
    margin-bottom: 0rem;
}

.p-contact__response {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--form-border);
    background: var(--form-surface);
    color: var(--form-text);
    font-size: 13px;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.p-contact__response:empty {
    display: none;
}

.p-contact__response.is-error {
    border-color: var(--form-border-strong);
    background: rgba(255, 255, 255, 0.05);
}

.p-contact__response.is-success {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

/* reCAPTCHA v3 バッジ非表示（フォーム下に規約表記を記載） */
.grecaptcha-badge {
    visibility: hidden;
}

.p-contact__recaptcha {
    margin-top: 12px;
    color: #a1a1a1;
    font-size: 11px;
    text-align: center;
    line-height: 1.6;
}

.p-contact__recaptcha a {
    text-decoration: underline;
}

.u-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.p-footer__logo {
    width: 240px;
    width: 15rem;
    height: auto;
    margin: 0 auto 16px;
    margin: 0 auto 1rem;
}

@media screen and (min-width: 768px) {
    .p-footer__logo {
        width: 21.25rem;
        margin-bottom: 1.5rem;
    }
}

.p-footer__company {
    text-align: center;
    margin-bottom: 4px;
    margin-bottom: 0.25rem;
}

@media screen and (min-width: 768px) {
    .p-footer__company {
        font-size: 20px;
        margin-bottom: 0.5rem;
    }
}

.p-footer__address {
    text-align: center;
    font-size: 14px;
    font-size: 0.875rem;
    margin-bottom: 32px;
    margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
    .p-footer__address {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }
}

.p-footer__copyright {
    text-align: center;
    font-size: 10px;
    font-size: 0.625rem;
    font-weight: 400;
}

@media screen and (min-width: 768px) {
    .p-footer__copyright {
        font-size: 0.875rem;
    }
}

.p-header-list-pc {
    display: none;
}

@media screen and (min-width: 768px) {
    .p-header-list-pc {
        display: block;
    }
}

.p-header-list-pc__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    gap: 1rem;
}

.p-header-list-pc__item {
    color: #fff;
}

@media screen and (min-width: 768px) {
    .p-header-list-pc__item {
        font-size: 14px;
        font-size: 0.875rem;
    }
}

.p-header-list-pc__item--cv a {
    padding: 10px 18px;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    /* font-weight: 600; */
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.35);
    -webkit-transition: background-color 0.2s ease, border-color 0.2s ease;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

@media screen and (min-width: 768px) {
    .p-header-list-pc__item--cv a:hover {
        opacity: 1;
        background-color: #1f1f1f;
        border-color: rgba(255, 255, 255, 0.22);
    }
}

.p-test {
    font-size: 30px;
    font-size: 1.875rem;
    color: yellow;
    background-color: aqua;
}

.p-top-mv__textBlock {
    margin: 0 auto;
    /* font-weight: 600; */
    /* color: #333; */
    position: relative;
    z-index: 1;
}

.p-top-mv__vanta {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.p-top-mv__text {
    font-size: 43px;
    font-size: 2.6875rem;
    /* font-weight: 700; */
    line-height: 1.2;
    margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
    .p-top-mv__text {
        font-size: 72px;
        font-size: 4.5rem;
    }
}

.p-top-mv__text span {
    font-weight: 600;
    font-size: 20px;
    font-size: 1.25rem;
}

@media screen and (min-width: 768px) {
    .p-top-mv__text span {
        font-size: 2rem;
    }
}

.p-top-mv__subText {
    margin-bottom: 32px;
    margin-bottom: 2rem;
    line-height: 1.75;
    /* color: #B3B3B3; */
}

.p-top-news__layout {
    display: block;
}

.p-top-news__items {
    display: grid;
    gap: 18px;
    gap: 1.125rem;
}

@media screen and (min-width: 768px) {
    .p-top-news__items {
        gap: 24px;
        gap: 1.5rem;
    }
}

.p-top-news__item {
    margin-bottom: 0;
    padding-bottom: 18px;
    padding-bottom: 1.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
    .p-top-news__item {
        padding-bottom: 1.5rem;
    }
}

@media screen and (min-width: 768px) {
    .p-top-news__item {
        display: flex;
        align-items: baseline;
        gap: 2.5rem;
    }
}

.p-top-news__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.p-top-news__empty {
    font-size: 14px;
    font-size: 0.875rem;
    color: #b3b3b3;
}

.p-top-news__date {
    margin-bottom: 4px;
    margin-bottom: 0.25rem;
    font-size: 14px;
    font-size: 0.875rem;
    color: gray;
}

@media screen and (min-width: 768px) {
    .p-top-news__date {
        flex-shrink: 0;
        margin-bottom: 0;
        font-size: 0.875rem;
    }
}

.p-top-news__title {
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
}

.p-top-news__text {
    font-size: 14px;
    font-size: 0.875rem;
    color: #b3b3b3;
    line-height: 1.75;
    overflow-wrap: break-word;
}

/* リセットで潰れた段落の行間・ブロックの縦リズム（the_content / ブロックエディタ） */
.p-top-news__text :where(p):not(:last-child) {
    margin-bottom: 1em;
}

.p-top-news__text > *:not(:last-child):not(p) {
    margin-bottom: 1em;
}

.p-top-news__text :where(ul, ol) {
    padding-left: 1.25em;
    list-style-position: outside;
}

.p-top-news__text ul {
    list-style: disc;
}

.p-top-news__text ol {
    list-style: decimal;
}

.p-top-news__text :where(li + li) {
    margin-top: 0.35em;
}

@media screen and (min-width: 768px) {
    .p-top-news__text {
        /* font-size: 1rem; */
        
    }
}

.grecaptcha-badge {
    visibility: hidden !important;
}

/* ===============================================
# Top - service2 (SP: slide / PC: hover switch)
=============================================== */
.l-top-service2 {
    padding: 72px 0;
    padding: 4.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-top-service2 {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.p-top-service2__layout {
    display: grid;
    gap: 20px;
    gap: 1.25rem;
}

@media screen and (min-width: 768px) {
    .p-top-service2__layout {
        grid-template-columns: minmax(280px, 340px) 1fr;
        gap: 2rem;
        align-items: stretch;
    }
}

.p-top-service2__tabs {
    display: grid;
    /* gap: 12px;
    gap: 0.75rem; */
}

@media screen and (min-width: 768px) {
    .p-top-service2__tabs {
        align-self: start;
    }
}

.p-top-service2__tab {
    text-align: left;
    width: 100%;
    padding: 16px 16px;
    padding: 1rem 1rem;
    /* border-radius: 16px;
    border-radius: 1rem; */
    /* border-top: 1px solid #ffffff1a; */
    border-bottom: 1px solid #ffffff1a;
    /* background: #ffffff05; */
    color: #ffffff37;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* デフォルト（ホバーしていない時）: 4つとも白 */
.p-top-service2__tab {
    border-color: #ffffff1a;
    color: #fff;
}

.p-top-service2__tabMeta,
.p-top-service2__tabIndex {
    color: #fff;
    opacity: 0.75;
}

/* ホバー中: 触れてない3つは薄暗く */
.p-top-service2__tabs.is-hovering .p-top-service2__tab.is-dim {
    border-bottom-color: #ffffff1a;
    color: #ffffff37;
    transform: none;
}

.p-top-service2__tabs.is-hovering .p-top-service2__tab.is-dim .p-top-service2__tabMeta,
.p-top-service2__tabs.is-hovering .p-top-service2__tab.is-dim .p-top-service2__tabIndex {
    color: #ffffff37;
    opacity: 1;
}

@media screen and (min-width: 768px) {
    .p-top-service2__tab:hover {
        opacity: 1;
        border-color: #ffffff33;
        /* background: #ffffff0a; */
        transform: translateY(-1px);
    }
}

.p-top-service2__tab.is-active {
    border-color: #ffffff55;
    /* background: linear-gradient(180deg, #ffffff12 0%, #ffffff05 100%); */
    color: #fff;
}

/* active時もデフォルトの白いボーダー優先（下線デザイン） */
.p-top-service2__tab.is-active {
    border-bottom-color: #989898;
}

.p-top-service2__tabIndex {
    display: block;
    font-size: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    /* color: #b3b3b3; */
    margin-bottom: 6px;
    margin-bottom: 0.375rem;
}

.p-top-service2__tabTitle {
    display: block;
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 4px;
    margin-bottom: 0.25rem;
}

.p-top-service2__tabMeta {
    display: block;
    font-size: 13px;
    font-size: 0.8125rem;
    color: #b3b3b3;
}

.p-top-service2__panels {
    position: relative;
}

.p-top-service2__panel {
    /* border-radius: 18px;
    border-radius: 1.125rem; */
    /* border-top: 1px solid #ffffff1a;
    border-bottom: 1px solid #ffffff1a; */
    /* background: #0b0b0b; */
    overflow: hidden;
    position: relative;
}

@media screen and (min-width: 768px) {
    .p-top-service2__panels,
    .p-top-service2__panel {
        height: 100%;
    }

    .p-top-service2__panelInner {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.p-top-service2__panelInner {
    padding: 18px 18px;
    padding: 1.125rem 1.125rem;
    position: relative;
    z-index: 1;
}

@media screen and (min-width: 768px) {
    .p-top-service2__panelInner {
        padding: 2rem;
    }
}

.p-top-service2__panelIcon {
    position: absolute;
    right: 16px;
    right: 1rem;
    bottom: 16px;
    bottom: 1rem;
    width: 142px;
    width: 8.875rem;
}

.p-top-service2__panelIcon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(0) brightness(1.6);
    transform-style: preserve-3d;
    animation: service2SpinY 6s linear infinite;
    will-change: transform;
}

.p-top-service2__panelTitle {
    font-size: 24px;
    font-size: 1.5rem;
    margin-bottom: 16px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.p-top-service2__panelText {
    font-size: 14px;
    font-size: 0.875rem;
    /* color: #b3b3b3; */
    margin-bottom: 12px;
    margin-bottom: 0.75rem;
}

@media screen and (min-width: 768px) {
    .p-top-service2__panelText {
        font-size: 1rem;
    }
}

.p-top-service2__panelList {
    display: grid;
    gap: 8px;
    gap: 0.5rem;
    color: #b3b3b3;
    font-size: 14px;
    font-size: 0.875rem;
}

.p-top-service2__panelList li {
    padding-left: 1.15em;
    position: relative;
}

.p-top-service2__panelList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.76em;
    width: 6px;
    height: 0.5px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
}

/* 表示切替 */
.p-top-service2__desktop {
    display: none;
}

.p-top-service2__mobile {
    margin-top: 8px;
    margin-top: 0.5rem;
}

@media screen and (min-width: 768px) {
    .p-top-service2__desktop {
        display: block;
    }

    .p-top-service2__mobile {
        display: none;
    }
}

/* SP carousel */
.p-top-service2__carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    border-radius: 16px;
    border-radius: 1rem;
}

.p-top-service2__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 14px;
    gap: 0.875rem;
    padding: 6px 2px 6px 2px;
    padding: 0.375rem 0.125rem 0.375rem 0.125rem;
}

.p-top-service2__slide {
    scroll-snap-align: start;
    /* border: 1px solid #ffffff1a; */
    /* background: #ffffff05; */
    /* border-radius: 16px; */
    /* border-radius: 1rem; */
    padding: 16px;
    padding: 1rem;
    min-height: 140px;
    min-height: 8.75rem;
}

.p-top-service2__slideInner {
    display: grid;
    gap: 10px;
    gap: 0.625rem;
}

.p-top-service2__slideHead {
    display: flex;
    align-items: baseline;
    gap: 10px;
    gap: 0.625rem;
    margin-bottom: 10px;
    margin-bottom: 0.625rem;
}

.p-top-service2__slideIndex {
    font-size: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: #b3b3b3;
}

.p-top-service2__slideTitle {
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 500;
}

.p-top-service2__slideIcon {
    width: 100px;
    width: 6.25rem;
    opacity: 0.9;
    margin: 0 auto;
}

/* .p-top-service2__slideIcon img {
    transform-style: preserve-3d;
    animation: service2SpinY 6s linear infinite;
    will-change: transform;
}

@keyframes service2SpinY {
    0% {
        transform: perspective(800px) rotateY(0deg);
    }

    100% {
        transform: perspective(800px) rotateY(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .p-top-service2__slideIcon img {
        animation: none;
    }

    .p-top-service2__panelIcon img {
        animation: none;
    }
} */

.p-top-service2__slideText {
    font-size: 14px;
    font-size: 0.875rem;
    color: #b3b3b3;
    line-height: 1.7;
}

.p-top-service2__slideList {
    display: grid;
    gap: 8px;
    gap: 0.5rem;
    color: #e0e0e0;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.55;
}

.p-top-service2__slideList li {
    padding-left: 1.15em;
    position: relative;
}

.p-top-service2__slideList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.76em;
    width: 6px;
    height: 0.5px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
}

.p-top-service2__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    gap: 0.75rem;
    margin-top: 12px;
    margin-top: 0.75rem;
}

.p-top-service2__navBtn {
    font-size: 12px;
    font-size: 0.75rem;
    padding: 10px 12px;
    padding: 0.625rem 0.75rem;
    border-radius: 9999px;
    /* border: 1px solid #ffffff1a; */
    background: #ffffff05;
    color: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.p-top-service2__navBtn:active {
    transform: translateY(1px);
}

.p-top-service2__dots {
    display: flex;
    gap: 8px;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.p-top-service2__dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    border: 0;
}

.p-top-service2__dot.is-active {
    background: rgba(255, 255, 255, 0.75);
}

/* ===============================================
# Top - works（制作実績）
=============================================== */
.l-top-works {
    padding: 72px 0;
    padding: 4.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-top-works {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.p-top-works__items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    gap: 2.5rem;
}

@media screen and (min-width: 768px) {
    .p-top-works__items {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 2rem;
    }
}

.p-top-works__link {
    display: block;
    color: inherit;
}

.p-top-works__imageWrap {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background-color: #f2f2f2;
}

.p-top-works__image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
    filter: grayscale(100%) brightness(0.88);
    transition: transform 0.4s ease;
}

@media screen and (min-width: 768px) {
    .p-top-works__link:hover .p-top-works__image {
        transform: scale(1.08);
    }
}

.p-top-works__body {
    margin-top: 16px;
    margin-top: 1rem;
}

.p-top-works__title {
    font-size: 16px;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 6px;
    margin-bottom: 0.375rem;
}

@media screen and (min-width: 768px) {
    .p-top-works__title {
        font-size: 1.125rem;
    }
}

.p-top-works__url {
    font-size: 13px;
    font-size: 0.8125rem;
    color: #B3B3B3;
    word-break: break-all;
}

/* ===============================================
# Top - profile（プロフィール）
=============================================== */
.l-top-profile {
    padding: 72px 0;
    padding: 4.5rem 0;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .l-top-profile {
        padding: 80px 0;
        padding: 5rem 0;
    }
}

.p-top-profile__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    gap: 2rem;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .p-top-profile__body {
        grid-template-columns: 400px 1fr;
        gap: 4rem;
    }
}

.p-top-profile__imageWrap {
    max-width: 280px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .p-top-profile__imageWrap {
        max-width: none;
        margin: 0;
    }
}

.p-top-profile__image {
    display: block;
    width: 100%;
    height: auto;
}

.p-top-profile__text {
    position: relative;
    z-index: 0;
}

/* 背景装飾テキスト */
.p-top-profile__text::before {
    content: "Less\A Is\A More";
    content: "Less\A Is\A More" / "";
    position: absolute;
    right: 0;
    bottom: -0.2em;
    z-index: -1;
    font-size: 64px;
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px #a1a1a1;
    text-align: right;
    white-space: pre;
    pointer-events: none;
}

@media screen and (min-width: 768px) {
    .p-top-profile__text::before {
        font-size: clamp(5rem, 9vw, 8.5rem);
    }
}

.p-top-profile__tagline {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
}

@media screen and (min-width: 768px) {
    .p-top-profile__tagline {
        font-size: 1.375rem;
    }
}

.p-top-profile__signature {
    margin-top: 32px;
    margin-top: 2rem;
}

.p-top-profile__orgName {
    font-size: 14px;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 4px;
    margin-bottom: 0.25rem;
}

.p-top-profile__role {
    font-size: 16px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.p-top-profile__bio p {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.8;
}

.p-top-profile__bio p:not(:last-child) {
    margin-bottom: 1em;
}

/* ===============================================
# Top - logos（お取引企業ロゴ）
=============================================== */
.l-top-logos {
    padding: 40px 0;
    padding: 2.5rem 0;
}

@media screen and (min-width: 768px) {
    .l-top-logos {
        padding: 56px 0;
        padding: 3.5rem 0;
    }
}

.p-top-logos__label {
    text-align: center;
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.p-top-logos__marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

@media screen and (min-width: 768px) {
    .p-top-logos__marquee {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.p-top-logos__track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    gap: 1rem;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    -webkit-animation: top-logos-scroll 26s linear infinite;
    animation: top-logos-scroll 26s linear infinite;
}

@media screen and (min-width: 768px) {
    .p-top-logos__track {
        width: 100%;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 1.5rem;
        -webkit-animation: none;
        animation: none;
    }

    .p-top-logos__item[aria-hidden="true"] {
        display: none;
    }
}

@-webkit-keyframes top-logos-scroll {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes top-logos-scroll {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .p-top-logos__track {
        -webkit-animation: none;
        animation: none;
    }
}

.p-top-logos__item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 48px;
    padding: 0 20px;
    padding: 0 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    white-space: nowrap;
    font-size: 13px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

@media screen and (min-width: 768px) {
    .p-top-logos__item {
        height: 56px;
        padding: 0 1.75rem;
        font-size: 0.875rem;
    }
}

.p-top-logos__item--logo {
    padding: 0 24px;
    border: none;
    background-color: #fff;
}

@media screen and (min-width: 768px) {
    .p-top-logos__item--logo {
        padding: 0 32px;
    }
}

.p-top-logos__logoImg {
    display: block;
    max-width: 120px;
    max-height: 28px;
    width: auto;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}

@media screen and (min-width: 768px) {
    .p-top-logos__logoImg {
        max-width: 140px;
        max-height: 32px;
    }
}

.p-top-logos__logoImg--invert {
    -webkit-filter: invert(1);
    filter: invert(1);
}

/* ===============================================
    フロントページ用（旧 header.php インラインstyle）
    LPでは読み込まれていなかったため :where(.home) で限定（詳細度は元のまま）
    =============================================== */
@font-face {
    font-family: "Paper Mono";
    src: url("assets/fonts/paper-mono/PaperMono-VF.woff2") format("woff2");
    font-weight: 100 800;
    font-display: swap;
    /* 英数字・ラテン文字のみPaper Monoで表示（日本語・和文記号はZen Kaku Gothic Antique） */
    unicode-range: U+0000-024F;
}

body:where(.home) {
    font-family: "Paper Mono", "Zen Kaku Gothic Antique", sans-serif;
    /* Paper Mono：ss02 デュオスペース / ss03 狭いスペース */
    font-feature-settings: "ss02", "ss03";
    color: #ededed;
}

/* メインの文字色 */
:where(.home) .c-cv a,
:where(.home) .header__container,
:where(.home) .nav__item a,
:where(.home) .nav__item--cv a,
:where(.home) .p-header-list-pc__item,
:where(.home) .p-top-service2__tab,
:where(.home) .p-top-service2__tabIndex,
:where(.home) .p-top-service2__tab.is-active,
:where(.home) .p-top-service2__navBtn {
    color: #ededed;
}

:where(.home) .p-contact__item textarea {
    color: #ededed !important;
}

/* グレーの文字色 */
:where(.home) .p-top-about__text,
:where(.home) .p-cards__text,
:where(.home) .p-cards__url,
:where(.home) .p-top-news__empty,
:where(.home) .p-top-news__date,
:where(.home) .p-top-news__text,
:where(.home) .p-top-service2__tabMeta,
:where(.home) .p-top-service2__panelList,
:where(.home) .p-top-service2__slideIndex,
:where(.home) .p-top-service2__slideText,
:where(.home) .p-top-works__url {
    color: #a1a1a1;
}

/* inner幅 */
@media screen and (min-width: 768px) {
    :where(.home) .l-inner {
        max-width: 1400px;
    }
}
