@charset "utf-8";

/* ========================================
   共通
   ======================================== */
/* フォント統一: 英語＝Josefin Sans / 日本語＝ヒラギノゴシック */
:root {
    --font-base: 'Josefin Sans', "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    /* mizota-ks 用変数（お問い合わせ・フッター完全再現） */
    --color-white-100: #FFFFFF;
    --color-black-100: #F5EFE6;
    --color-black-200: #EBE4DB;
    --color-black-300: #DED5CB;
    --color-black-500: #83776A;
    --color-black-600: #7A6D5F;
    --color-black-700: #645A50;
    --color-black-800: #544B42;
    --color-black-900: #362E26;
    --color-orange-400: #E2C09E;
    --color-orange-800: #BD7833;
    --color-orange-900: #DA6D00;
    --color-brown-100: #FAF3EB;
    --color-brown-200: #EEE1D5;
    --color-brown-500: #A7917B;
    --color-brown-600: #926F4B;
    --color-brown-900: #7F4D1B;
    --color-beige-100: #FFFCF7;
    --color-beige-200: #FCF5EB;
    --color-text-primary: var(--color-black-900);
    --color-text-secondary: var(--color-black-500);
    --color-text-heading: var(--color-brown-900);
    --color-text-heading-sub-en: var(--color-brown-500);
    --color-border-primary: var(--color-black-300);
    --color-background: var(--color-beige-200);
    --font-heading: YakuHanMP, "Shippori Mincho", serif;
    --font-en: HelveticaNeueLTStd-Lt, sans-serif;
    --font-weight-R: 400;
    --font-weight-M: 500;
    --line-height-2: 1.4;
    --line-height-4: 1.6;
    --line-height-5: 1.8;
    --line-height-6: 1.9;
    --letter-space-1: 0.03em;
    --size-round-R: 0.3rem;
    --size-round-oval: 99.9rem;
    --margin-side-pc: 6rem;
    --margin-side-tb: 4rem;
    --margin-side-sp: 2rem;
    --easing-default: cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
    scroll-behavior: smooth;
}

html.act {
    overflow: hidden;
}

body {
    font-family: var(--font-base);
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 1.2px;
    color: #333333;
}

img {
    width: 100%;
    height: auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* 表示切替: 960px以下でSP表示・ハンバーガーメニュー */
.sp {
    display: none;
}

.pc {
    display: block;
}

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

    .pc {
        display: none;
    }
}

/* ========================================
   ヘッダー
   ======================================== */
header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
}

header a {
    color: #fff;
    text-decoration: none;
}

/* ヘッダー：PC（960px以上） */
header {
    background: #fff;
    padding: 0 1.2vw;
    height: fit-content;
}

header .site-header__logo svg * {
    fill: #000;
}

header .site-header__inner {
    width: 100%;
    height: auto;
}

header .site-header__logo svg {
    width: 100%;
    height: auto;
    max-width: 11.5vw;
}

header .site-header__logo img {
    width: auto;
    height: auto;
    max-width: 30vw;
    display: block;
}

/* ヘッダー：〜959px（SP・タブレット） */
@media screen and (max-width: 959px) {
    header {
        background: #fff;
        padding: 1rem;
    }

    header .site-header__inner {
        width: 100%;
        height: auto;
        align-items: center;
    }

    header .site-header__logo {
        position: relative;
        z-index: 200;
        width: auto;
        max-width: 55%;
    }

    header .site-header__logo a {
        color: #000;
        display: flex;
        align-items: center;
    }

    header .site-header__logo img {
        width: auto;
        max-width: 100%;
        max-height: 10vw;
        height: auto;
    }

    /* ハンバーガーボタン */
    .spNav {
        position: fixed;
        z-index: 200;
        top: 1.5vw;
        right: 2vw;
        left: auto;
        width: 7vw;
        height: 7vw;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
    }

    .spNav .spNav-btn {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #000;
        border-radius: 50%;
        border: none;
    }

    .spNav .spNav-line {
        position: absolute;
        left: 50%;
        width: 24%;
        height: 2px;
        min-height: 2px;
        margin-left: -12%;
        background-color: #fff;
        border-radius: 1px;
        transform-origin: center center;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .spNav .spNav-line:first-child {
        top: 40%;
        margin-top: -1px;
    }

    .spNav .spNav-line:last-child {
        top: 55%;
        margin-top: -1px;
    }

    .spNav.act .spNav-btn {
        background-color: #000;
    }

    /* 閉じる時：positionで中央に揃えて×に */
    .spNav.act .spNav-line:first-child {
        top: 50%;
        margin-top: -1px;
        transform: rotate(45deg);
    }

    .spNav.act .spNav-line:last-child {
        top: 50%;
        margin-top: -1px;
        transform: rotate(-45deg);
    }

    /* 丸背景（メニュー展開時） */
    .site-header__circle-bg {
        position: fixed;
        z-index: 99;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        top: -50px;
        right: -50px;
        left: auto;
        background-color: rgba(255, 255, 255, 0.6);
        transition: transform 0.6s ease-in-out;
        pointer-events: none;
    }

    .site-header__circle-bg.act {
        transform: scale(50);
    }

    /* スライドメニューパネル */
    .navsp {
        position: fixed;
        z-index: -1;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        opacity: 0;
    }

    .navsp.act {
        z-index: 101;
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    .site-header__nav-list {
        position: relative;
        z-index: -1;
        top: 0;
        left: 0;
        overflow: hidden;
        overflow-y: auto;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        padding: 20% 5% 1rem;
        font-family: var(--font-base);
        opacity: 0;
        transition: opacity 0.5s ease-in-out 0s;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
    }

    .site-header__nav-list.act {
        z-index: 100;
        background-color: #e8e8e8;
        opacity: 1;
    }

    /* ハンバーガーメニュー内容 */
    .site-header__nav-title {
        font-size: 1.1rem;
        font-weight: 400;
        color: #999;
        letter-spacing: 0.05em;
        margin: 0 0 6%;
        padding: 0;
    }

    .site-header__nav-contact {
        background: #fff;
        margin-bottom: 0;
        border-radius: 4px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    }

    .site-header__nav-contact a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        text-decoration: none;
        color: #000;
    }

    .site-header__nav-contact-en {
        display: block;
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        margin-bottom: 0.25em;
    }

    .site-header__nav-contact-jp {
        display: block;
        font-size: 0.95rem;
        font-weight: 500;
        font-family: var(--font-base);
    }


    .site-header__nav-list-menu {
        list-style: none;
        margin: 0 0 4%;
        padding: 0 0 0 4px;
    }

    /* MENU 直下の4項目を同一タイポ（Works / Service / Orderflow / Company） */
    .site-header__nav-list-menu--primary {
        margin-bottom: 0;
        flex: 1 1 auto;
        min-height: 0;
    }

    .site-header__nav-primary-toggle {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        font: inherit;
        font-size: inherit;
        font-weight: inherit;
        font-family: inherit;
        color: #000;
        text-align: left;
        letter-spacing: inherit;
        line-height: inherit;
        -webkit-appearance: none;
        appearance: none;
    }

    .site-header__nav-list-menu--sub {
        margin: 0.35em 0 0;
        padding: 0 0 0 0.85em;
    }

    .site-header__nav-list-menu--sub li {
        margin: 0 0 0.35em;
        font-size: 0.95rem;
    }

    .site-header__nav-list-menu--sub li:last-child {
        margin-bottom: 0;
    }

    .site-header__nav-bottom {
        margin-top: auto;
        flex-shrink: 0;
        padding-top: 1rem;
        width: 100%;
    }

    .site-header__nav-bottom .site-header__nav-logo {
        padding-top: 0;
        margin-bottom: 1rem;
    }

    .site-header__nav-list-menu li {
        margin: 0 0 3%;
        padding-left: 1.4em;
        position: relative;
        font-size: 1rem;
        font-weight: 500;
        font-family: var(--font-base);
    }

    .site-header__nav-list-menu li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.65em;
        width: 0.6em;
        height: 1px;
        background: #000;
    }

    .site-header__nav-list-menu a {
        color: #000;
        text-decoration: none;
    }

    .hamburger-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5em;
        margin-top: 4%;
    }

    .hamburger-links a {
        color: #000;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .site-header__nav-follow {
        margin-bottom: 1rem;
    }

    .site-header__nav-social {
        display: flex;
        gap: 6%;
        align-items: center;
    }

    .site-header__nav-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        width: 44px;
        height: 44px;
    }

    .site-header__nav-social svg {
        width: 28px;
        height: 28px;
    }

    .site-header__nav-logo {
        padding-top: 0;
    }

    .site-header__nav-logo a {
        display: inline-block;
    }

    .site-header__nav-logo img {
        width: auto;
        max-width: 220px;
        max-height: 48px;
        height: auto;
        display: block;
    }
}

/* ========================================
   固定ヘッダーメニュー・CONTACT（PCのみ）
   ======================================== */
.site-header__menu {
    font-size: 1.6rem;
    margin: 0 17vw 0 0;
}

.site-header__menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.site-header__menu li.packageDesign {
    margin-right: -0.5em;
}

.site-header__menu li span.subtxt,
.site-header__menu li a {
    color: #000;
    padding: 0.5vw 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
}

.site-header__menu li span.en,
.site-header__menu li sup {
    font-family: var(--font-base);
}

.site-header__menu li span.en {
    font-weight: 600;
    padding-top: 0.1em;
}

.site-header__menu li span.jp {
    line-height: 1.6;
    font-size: 1.5rem;
    font-weight: 500;
}

.site-header__menu li .mtxtwp {
    font-size: 1.5rem;
}

.site-header__menu li span.mtxt01,
.site-header__menu li span.mtxt02 {
    display: block;
    text-align: center;
}

.site-header__menu li span.mtxt02 {
    line-height: 1.2;
}

.site-header__menu .sub_menu {
    display: block;
    width: 250%;
    min-width: 280px;
    background: #fff;
    padding: 0.4rem 0.65rem 0.45rem;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 110;
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.site-header__menu .toggle {
    position: relative;
}

.site-header__menu .toggle:hover .sub_menu,
.site-header__menu .toggle.is-open .sub_menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.site-header__menu .sub_menu ul {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.site-header__menu .sub_menu a {
    flex-direction: row;
    padding: 0.2rem 0;
    color: #000;
    font-size: 15px;
    line-height: 1.35;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-header__menu .sub_menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.05em;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.22s ease;
}

.site-header__menu .sub_menu a:hover {
    color: #333;
    padding-left: 0.35rem;
}

.site-header__menu .sub_menu a:hover::after {
    width: 100%;
}

.site-header__menu .sub_menu li {
    margin: 0 0 0.2rem;
}

.site-header__menu .sub_menu li:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .site-header__menu .sub_menu {
        transition-duration: 0.01ms;
    }

    .site-header__menu .sub_menu a,
    .site-header__menu .sub_menu a::after {
        transition-duration: 0.01ms;
    }
}

.site-header__menu .sub_menu li sup {
    padding: 0 0.5vw 0 0;
}

.site-header__cta {
    background-color: #000;
    position: fixed;
    right: 0;
    top: 0;
    padding: 1rem .5rem;
    line-height: 1.5;
    aspect-ratio: 1 / .5;
}

.site-header__cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #fff;
}

.site-header__cta .en {
    font-size: 1rem;
    font-weight: 700;
}

.site-header__cta .jp {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   メインビジュアル
   ======================================== */
.section-mv {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-bottom: 80px;
    position: relative;
}

.section-mv__area {
    position: relative;
    z-index: 0;
    height: 100vh;
    height: 100svh;
    background-color: #061C26;
    background-repeat: repeat;
    background-size: 200px 200px;
}

.section-mv__area .section-mv__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
    mix-blend-mode: overlay;
}

.section-mv__area .section-mv__slider-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.section-mv__area .section-mv__slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-mv__area .section-mv__slider .section-mv__slide {
    position: absolute;
    list-style: none;
    height: 100%;
    width: 120%;
    opacity: 0;
    pointer-events: none;
    clip-path: var(--invisible2);
    z-index: 0;
    --invisible2: polygon(0 0, 100% 0, 100% 0, 0 0);
    --visible: polygon(0 100%, 100% 100%, 100% 0, 0 0);
    --invisibleSp: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    --visibleSp: polygon(100% 0, 0 0, 0 100%, 100% 100%);
    --invisibleSp2: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.section-mv__area .section-mv__slider .section-mv__slide-inner {
    width: 100%;
    height: 100%;
}

.section-mv__area .section-mv__slider .section-mv__slide-inner img,
.section-mv__area .section-mv__slider .section-mv__slide-inner picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-mv__area .section-mv__slider img {
    height: 100vh;
    object-fit: cover;
}

.section-mv__area .section-mv__slider .section-mv__slide.is-active {
    opacity: 1;
    clip-path: var(--visible);
    pointer-events: auto;
    z-index: 1;
    animation: slideMask 7s ease forwards;
}

.section-mv__area .section-mv__slider .section-mv__slide.is-next {
    opacity: 1;
    clip-path: var(--visible);
    pointer-events: none;
    z-index: 0;
}

.section-mv__area .section-mv__slider .section-mv__slide.is-active .section-mv__slide-inner {
    animation: none;
}

.section-mv__area .section-mv__slider .section-mv__slide.is-active img {
    animation: slideFade 7s ease forwards;
}

.section-mv__area .section-mv__slider .section-mv__slide.is-next .section-mv__slide-inner {
    animation: none;
}

.section-mv__area .section-mv__slider .section-mv__slide.is-moving .section-mv__slide-inner {
    animation: slideMove 18s linear forwards;
}

.section-mv__caption {
    font-size: 22px;
    color: #fff;
    width: 100%;
    height: fit-content;
    position: absolute;
    left: 80px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 10;
    pointer-events: none;
}

.section-mv__caption p {
    margin: 0;
}

.section-mv__caption-title {
    font-size: 89px;
    line-height: 1;
    margin: 29px 0 20px;
    width: 1153px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.section-mv__caption-title {
    font-family: var(--font-base);
    font-size: 89px;
    line-height: 1;
    margin: 29px 0 20px;
    width: 1153px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* メインビジュアル：〜959px */
@media screen and (max-width: 959px) {
    .section-mv {
        margin-bottom: 40px;
    }

    .section-mv__caption {
        font-size: 15px;
        left: 20px;
    }

    .section-mv__caption-title {
        font-size: 47px;
        line-height: 1;
        width: 365px;
    }
}

/* メインビジュアル：〜767px */
@media screen and (max-width: 767px) {
    .section-mv__area .section-mv__slider-wrap {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
    }

    .section-mv__area .section-mv__slider img {
        height: inherit;
        object-fit: cover;
    }

    .section-mv__area .section-mv__slider .section-mv__slide {
        clip-path: var(--invisibleSp2);
    }

    .section-mv__area .section-mv__slider .section-mv__slide.is-active {
        clip-path: var(--visibleSp);
    }

    .section-mv__area .section-mv__slider .section-mv__slide.is-next {
        clip-path: var(--visibleSp);
    }
}

@keyframes slideMask {
    0% {
        clip-path: var(--visible);
    }

    16% {
        clip-path: var(--visible);
    }

    100% {
        clip-path: var(--invisible2);
    }
}

@media screen and (max-width: 767px) {
    @keyframes slideMask {
        0% {
            clip-path: var(--visibleSp);
        }

        16% {
            clip-path: var(--visibleSp);
        }

        100% {
            clip-path: var(--invisibleSp2);
        }
    }
}

@keyframes slideMove {
    0% {
        transform: translateX(0%);
    }

    8% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-15%);
    }
}

@keyframes slideFade {
    0%, 50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ========================================
   トップヒーロー（スライダー＋キャッチ）
   ======================================== */
.section-concept {
    padding: 118px 0 60px;
}

.section-concept__slider {
    background: #fff;
    border-radius: 0 300px 300px 0;
    width: calc(50vw + 575px);
    height: 480px;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.section-concept__slider-track {
    display: flex;
    width: 200%;
    height: 100%;
    animation: top_hero__scroll 24s linear infinite;
}

@keyframes top_hero__scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.section-concept__slider .section-concept__slide {
    flex-shrink: 0;
    width: 25%;
    height: 100%;
    min-height: 480px;
    padding: 0 5px;
    line-height: 0;
    box-sizing: border-box;
}

.section-concept__slider .section-concept__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.c-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-concept__body {
    background: #fff;
    padding: 60px;
    margin-top: -100px;
    border-radius: 20px;
    position: relative;
    z-index: 5;
}



.section-concept__heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin: 0 0 1em;
}



.section-concept__heading mark {
    background: transparent;
    color: #E60013;
}


.c-text {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 1em;
    color: #333;
}

.section-concept__button-wrap {
    margin-top: 30px;
}

.c-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 999px;
    font-family: var(--font-base);
}

/* アクセントボタン（E60013） */
.c-button--accent {
    background: #E60013;
    color: #fff;
}

.c-button--accent:hover {
    background: #c40010;
    color: #fff;
}

/* ボタン内矢印：白円＋赤い右向き矢印（→） */
.c-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.c-button__icon--arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    background: #fff;
    border-radius: 50%;
    font-size: 0;
    overflow: hidden;
    transform: rotate(-45deg);
}

/* 矢印の軸（横線） */
.c-button__icon--arrow::before {
    content: "";
    position: absolute;
    left: 22%;
    top: 50%;
    width: 28%;
    height: 2px;
    margin-top: -1px;
    background: #E60013;
}

/* 矢じり（右向き三角） */
.c-button__icon--arrow::after {
    content: "";
    position: absolute;
    right: 22%;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #E60013;
}




/* トップヒーロー：〜1440px */
@media screen and (max-width: 1440px) {
    .section-concept {
        padding: 8.1944444444vw 0 4.1666666667vw;
    }

    .section-concept__slider {
        width: 89.9305555556vw;
        height: 33.3333333333vw;
    }

    .section-concept__slider .section-concept__slide {
        min-height: 33.3333333333vw;
    }

    .section-concept__body {
        padding: 4.1666666667vw;
        margin-top: -6.9444444444vw;
    }
}

/* トップヒーロー：〜959px */
@media screen and (max-width: 959px) {
    .section-concept__body {
        padding: 5vw;
        margin-top: -8vw;
    }
}

/* トップヒーロー：〜767px */
@media screen and (max-width: 767px) {
    .section-concept {
        padding: 10.6666666667vw 0 0;
    }

    .section-concept__slider {
        width: 93.3333333333vw;
        height: 66.6666666667vw;
    }

    .section-concept__slider .section-concept__slide {
        min-height: 66.6666666667vw;
    }

    .section-concept__body {
        padding: 6.6666666667vw;
        margin-top: -16vw;
    }

    .section-concept__button-wrap {
        margin-top: 6.4vw;
    }
}

/* ========================================
   サービス一覧（タブ＋コンテンツ）
   ======================================== */
.section-service {
    min-height: 0;
}

.section-service.has-full-height {
    min-height: 100vh;
    background: #f9fafb;
    padding: 48px 0 80px;
    font-family: var(--font-base);
    color: #1f2937;
}

.section-service__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-service__tabs {
    display: flex;
    flex-wrap: wrap;
}

.section-service__tab {
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-base);
    background: #fff;
    color: #6b7280;
}

.section-service__tab:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.section-service__tab.is-active {
    background: #E60013;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.02) translateY(-2px);
}

.section-service__tab.is-active[data-tab="1"] {
    background: #ec4899;
}

.section-service__tab.is-active[data-tab="2"] {
    background: #fb7185;
}

.section-service__tab.is-active[data-tab="3"] {
    background: #f87171;
}

.section-service__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media screen and (min-width: 1024px) {
    .section-service__content {
        grid-template-columns: 68% 32%;
        gap: 64px;
    }
}

/* 左：メイン（画像 → 文章 → 詳しく見る） */
.section-service__main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.section-service__image-wrap {
    position: relative;
    overflow: hidden;
}

.section-service__featured-label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    min-width: 131px;
    padding: 0 16px;
    background: #E60013;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.section-service__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #1a202c;
    transition: transform 0.4s ease;
}

.section-service__image-wrap:hover .section-service__image {
    transform: scale(1.02);
}

.section-service__text-block {
    margin-top: 30px;
}

@media screen and (min-width: 768px) {
    .section-service__text-block {
        margin-top: 44px;
    }
}

.section-service__heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-left: 16px;
    border-left: 4px solid #E60013;
    line-height: 1.3;
}

.section-service__desc {
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 24px;
    text-align: justify;
    white-space: pre-line;
}

.section-service__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

/* 右：ストーリー（縦向き画像スライダー） */
.section-service__story {
    position: relative;
    padding-left: 0;
}

@media screen and (min-width: 768px) {
    .section-service__story {
        padding-left: 60px;
    }
}

.section-service__story-label {
    position: absolute;
    top: 55px;
    left: 0;
    width: 152px;
    height: 38px;
    margin-left: -93px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E60013;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    transform: rotate(-90deg);
    transform-origin: center center;
}

@media screen and (max-width: 767px) {
    .section-service__story-label {
        position: absolute;
        top: -17px;
        left: -2px;
        margin: 0;
        width: 124px;
        height: 34px;
        transform: none;
    }
}

.section-service__story-box {
    border: 1px solid #e5e7eb;
    border-radius: 0 10px 10px 10px;
    padding: 40px 24px 32px;
}

@media screen and (min-width: 768px) {
    .section-service__story-box {
        padding: 56px 28px 32px;
    }
}

.section-service__story-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 480px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.section-service__story-slider::-webkit-scrollbar {
    width: 6px;
}

.section-service__story-slider::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.section-service__story-slide {
    flex-shrink: 0;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3 / 4;
    background: #e5e7eb;
}

.section-service__story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes top_service_fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-service__text-block.is-animated {
    animation: top_service_fadeIn 0.5s ease-out forwards;
}

/* ========================================
   SERVICE（動画・Shorts）セクション（サイトbodyに合わせた色・フォント）
   ======================================== */
.section-service {
    background: #fff;
    padding: 48px 24px 112px;
    font-family: var(--font-base);
    color: #1f2937;
}

@media screen and (min-width: 768px) {
    .section-service {
        padding: 80px 44px;
    }
}

.section-service__inner {
    max-width: 1200px;
    margin: 0 auto;
}


/* ヘッド：Video + 動画 */
.section-service__head {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 1024px) {
    .section-service__head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }
}

.section-service__head-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    align-items: flex-start;
}

@media screen and (min-width: 1024px) {
    .section-service__head-inner {
        flex-direction: row;
        align-items: flex-end;
        gap: 25px;
    }
}

/* タブ：サイトに合わせて（PCでタイトル横、SPで下段） */
.section-service__head-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media screen and (min-width: 1024px) {
    .section-service__head-tabs {
        flex-shrink: 0;
        margin-bottom: 0;
    }
}

.section-service__head .section-service__tab {
    background: #fff;
    color: #6b7280;
}

.section-service__head .section-service__tab:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.section-service__head .section-service__tab.is-active {
    background: #E60013;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.section-service__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 0.8;
    color: #1f2937;
    margin: 0;
    font-family: var(--font-base);
}

@media screen and (min-width: 768px) {
    .section-service__title {
        font-size: 65px;
    }
}

.section-service__title-sub-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    overflow: hidden;
}

.section-service__title-line {
    display: block;
    width: 1px;
    height: 30px;
    background: #fff;
}

.section-service__title-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    padding: 6px 30px 0 30px;
    margin: 0;
    height: 30px;
    box-sizing: border-box;
}

@media screen and (min-width: 768px) {
    .section-service__title-sub {
        font-size: 16px;
        padding-top: 0;
    }
}

.section-service__title-sub-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    transform: translateY(calc(100% + 10px));
}

.section-service__title-sub-text--visible {
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.section-service__head.is-inview .section-service__title-sub-text--visible {
    transform: translateY(0);
}

/* ボディ：2カラム + Shorts */

.section-service__body {
    margin-top: 2rem;
}

.section-service__content {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .section-service__content {
        flex-direction: row;
    }
}

/* 左：Featured Video */
.section-service__featured {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .section-service__featured {
        flex-basis: 68%;
    }
}

.section-service__featured-link {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.section-service__featured-link:hover {
    opacity: 0.7;
}

.section-service__featured-label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    min-width: 131px;
    background: #E60013;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    font-family: var(--font-base);
    text-box-trim: trim-both;
}

/* 動画エリア内の Featured ラベル：左下・動画下端から少しはみ出し・文字中央揃え */
.section-service .section-service__image-wrap {
    overflow: visible;
}

.section-service .section-service__featured-label {
    top: auto;
    bottom: -14px;
    left: 0;
    text-align: center;
}

.section-service__featured-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.section-service__featured-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.section-service__featured-link:hover .section-service__featured-media img {
    transform: scale(1.05);
}

.section-service__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.section-service__play-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    border: 4px solid #fff;
    box-sizing: border-box;
    transition: background 0.25s ease, transform 0.25s ease;
}

/* 三角形の重心が中央に来るようオフセット（幅26pxの約1/3） */
.section-service__play-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    margin-left: -9px;
    margin-top: -14px;
    border-style: solid;
    border-width: 14px 0 14px 26px;
    border-color: transparent transparent transparent #fff;
    transition: border-color 0.25s ease;
}

.section-service__featured-link:hover .section-service__play-btn::before {
    background: rgba(230, 0, 19, 0.85);
    transform: translate(-50%, -50%) scale(1.08);
}

.section-service__featured-link:hover .section-service__play-btn::after {
    border-color: transparent transparent transparent #fff;
}

.section-service__featured-caption {
    font-weight: 700;
    color: #1f2937;
    margin: 30px 0 0;
    padding: 0 24px 0 0;
    word-break: auto-phrase;
    text-box-trim: trim-both;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .section-service__featured-caption {
        margin-top: 44px;
        padding: 0;
    }
}

.section-service__featured-img-wrap {
    display: block;
    margin-top: auto;
}

.section-service__featured-img {
    margin-left: auto;
    display: block;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1;
    object-fit: cover;
}

/* 右：サブ画像（Gallery） */
.section-service__more {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .section-service__more {
        flex-basis: 32%;
        padding: 0;
    }
}

.section-service__more-box {
    position: relative;
    border: 2px dashed #6b7280;
    border-radius: 0 10px 10px 10px;
    padding: 32px 23px;
}

@media screen and (min-width: 768px) {
    .section-service__more-box {
        padding: 28px;
    }
}

.section-service__more-label {
    position: absolute;
    top: -31px;
    left: -18px;
    width: 124px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E60013;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    font-family: var(--font-base);
}

@media screen and (min-width: 768px) {
    .section-service__more-label {
        top: 55px;
        left: auto;
        margin-left: -108px;
        width: 152px;
        height: 38px;
        transform: rotate(-90deg);
        transform-origin: center center;
    }
}

.section-service__more-list {
    position: relative;
}

.section-service__more-item {
    margin: 0;
}

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

.section-service__more-inner {
    display: block;
}

.section-service__more-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.section-service__more-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.section-service__more-link:hover .section-service__more-media img,
.section-service__more-inner:hover .section-service__more-media img {
    transform: scale(1.08);
}

.section-service__more-caption {
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    .section-service__more-caption {
        margin-top: 20px;
    }
}

.section-service__more-divider {
    display: block;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Shorts */
.section-service__shorts {
    margin-top: 52px;
}



.section-service__shorts-title {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 20px;
    padding: 0 24px 0 0;
    text-box-trim: trim-both;
}

@media screen and (min-width: 768px) {
    .section-service__shorts-title {
        padding: 0;
    }
}

.section-service__shorts-feed {
    margin: 0 -24px;
    padding: 0 24px 16px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .section-service__shorts-feed {
        margin: 0;
        padding: 0 0 16px;
    }
}

/* Swiper スライド：縦横ランダム感 */
.section-service__shorts-swiper {
    overflow: hidden;
}

.section-service__shorts-swiper .swiper-wrapper {
    align-items: flex-start;
}

/* スライド幅はここで指定（SP: 2.5枚 / タブレット以上: auto＋縦横混在） */
.section-service__shorts-swiper .swiper-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    height: auto;
}

.section-service__shorts-slide {
    height: 280px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

/* SP時は Swiper の slidesPerView: 2.5 が幅を制御（幅は指定しない） */
@media screen and (max-width: 639px) {
    .section-service__shorts-swiper .section-service__shorts-slide--landscape {
        animation: none;
    }
}

/* 640px以上：縦向き・横向きの幅（Swiper slidesPerView: auto 用） */
@media screen and (min-width: 640px) {
    .section-service__shorts-swiper .section-service__shorts-slide--portrait {
        width: 135px !important;
    }
}

@media screen and (min-width: 1024px) {
    .section-service__shorts-swiper .section-service__shorts-slide--portrait {
        width: 200px !important;
    }
}

/* 横向き：640px以上で幅広・16:9 ＋ モーフィングアニメーション */
@media screen and (min-width: 640px) {
    .section-service__shorts-swiper .section-service__shorts-slide--landscape {
        --landscape-w: 178px;
        --portrait-w: 135px;
        width: var(--landscape-w) !important;
        height: calc(var(--landscape-w) * 9 / 16) !important;
        animation: shorts-landscape-morph 5s ease-in-out infinite;
    }
}

@media screen and (min-width: 1024px) {
    .section-service__shorts-swiper .section-service__shorts-slide--landscape {
        --landscape-w: 265px;
        --portrait-w: 200px;
    }
}

@keyframes shorts-landscape-morph {
    0%, 100% {
        width: var(--landscape-w) !important;
        height: calc(var(--landscape-w) * 9 / 16) !important;
    }

    50% {
        width: var(--portrait-w) !important;
        height: 280px !important;
    }
}

.section-service__shorts-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.section-service__shorts-slide:hover img {
    transform: scale(1.05);
}

/* ========================================
   WORKS セクション（投稿一覧・最新を大表示・クリックで single へ）
   ======================================== */
.section-works {
    background: #fff;
    padding: 60px 24px 80px;
    font-family: var(--font-base);
}

@media screen and (min-width: 768px) {
    .section-works {
        padding: 80px 44px 100px;
    }
}

.section-works__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-works__header {
    margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
    .section-works__header {
        margin-bottom: 48px;
    }
}

.section-works__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
    .section-works__title {
        font-size: 48px;
    }
}

.section-works__desc {
    font-size: 14px;
    line-height: 1.8;
    color: #6b7280;
    margin: 0;
    max-width: 560px;
}

.section-works__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media screen and (min-width: 640px) {
    .section-works__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 1024px) {
    .section-works__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(200px, auto);
        gap: 20px;
    }
}

.section-works__item {
    margin: 0;
}

/* 最新のみ大表示（2x2） */
@media screen and (min-width: 1024px) {
    .section-works__item--featured {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
}

.section-works__item-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    border-radius: 8px;
}

.section-works__item--featured .section-works__item-link {
    min-height: 280px;
}

@media screen and (min-width: 1024px) {
    .section-works__item--featured .section-works__item-link {
        min-height: 100%;
    }
}

.section-works__item-img-wrap {
    position: absolute;
    inset: 0;
    background: #000;
}

.section-works__item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.section-works__item-video {
    transition: transform 0.35s ease;
}

/* グリッド内動画：リンク遷移優先のためクリックは親へ */
.section-works__item-link .section-works__item-video {
    pointer-events: none;
}

.section-works__item-link:hover .section-works__item-img,
.section-works__item-link:hover .section-works__item-video {
    transform: scale(1.06);
}

.section-works__item-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: #fff;
}

@media screen and (min-width: 768px) {
    .section-works__item-overlay {
        padding: 24px 20px;
    }
}

.section-works__item--featured .section-works__item-overlay {
    padding: 28px 24px;
}

.section-works__item-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
}

@media screen and (min-width: 768px) {
    .section-works__item-title {
        font-size: 18px;
    }
}

.section-works__item--featured .section-works__item-title {
    font-size: 22px;
}

@media screen and (min-width: 768px) {
    .section-works__item--featured .section-works__item-title {
        font-size: 26px;
    }
}

.section-works__item-meta {
    font-size: 12px;
    margin: 0;
    opacity: 0.95;
}

.section-works__item-year {
    margin-right: 8px;
}

.section-works__item-tag {
    font-weight: 600;
}

/* 動画用再生ボタン（サムネイル上） */
.section-works__play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 3px solid #fff;
    pointer-events: none;
}

.section-works__play-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -6px;
    margin-top: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}

.section-works__item-link:hover .section-works__play-btn {
    background: rgba(230, 0, 19, 0.85);
}

.section-works__footer {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

.section-works__read-more {
    margin: 0;
}

/* ========================================
   top_profile（会社紹介テキスト + 画像ギャラリー）
   ======================================== */
.section-profile {
    position: relative;
    background: #0f0f0f;
    color: #fff;
    padding: 60px 24px 80px;
    font-family: var(--font-base);
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .section-profile {
        padding: 80px 44px 100px;
    }
}

/* 背景レイヤー：画像ギャラリー（JSでフォーメーション切替・等間隔/円/ピラミッド/奥行き） */
.section-profile__gallery {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    overflow: hidden;
}

.section-profile__gallery-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    transition: left 1.8s ease-in-out, top 1.8s ease-in-out, transform 1.8s ease-in-out;
}

@media screen and (min-width: 640px) {
    .section-profile__gallery-item {
        width: 200px;
        height: 200px;
    }
}

@media screen and (min-width: 1024px) {
    .section-profile__gallery-item {
        width: 260px;
        height: 260px;
    }
}

.section-profile__gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* Aboutギャラリー画像（HTMLインラインから移動） */
.section-profile__gallery-item:nth-child(1) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a1');
}

.section-profile__gallery-item:nth-child(2) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a2');
}

.section-profile__gallery-item:nth-child(3) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a3');
}

.section-profile__gallery-item:nth-child(4) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a4');
}

.section-profile__gallery-item:nth-child(5) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a5');
}

.section-profile__gallery-item:nth-child(6) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a6');
}

.section-profile__gallery-item:nth-child(7) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a7');
}

.section-profile__gallery-item:nth-child(8) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a8');
}

.section-profile__gallery-item:nth-child(9) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a9');
}

.section-profile__gallery-item:nth-child(10) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a10');
}

.section-profile__gallery-item:nth-child(11) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a11');
}

.section-profile__gallery-item:nth-child(12) .section-profile__gallery-img {
    background-image: url('https://picsum.photos/400/400?random=a12');
}

.section-profile__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.section-profile__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin: 0 0 32px;
}

@media screen and (min-width: 768px) {
    .section-profile__title {
        font-size: 36px;
        margin-bottom: 40px;
    }
}

.section-profile__title-accent {
    color: #E60013;
}

.section-profile__body {
    margin: 0;
}

.section-profile__lead {
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 24px;
}

@media screen and (min-width: 768px) {
    .section-profile__lead {
        font-size: 15px;
        margin-bottom: 28px;
    }
}

.section-profile__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.section-profile__list li {
    position: relative;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 28px;
    margin-bottom: 12px;
}

.section-profile__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    background: transparent;
    box-sizing: border-box;
}

@media screen and (min-width: 768px) {
    .section-profile__list li {
        font-size: 15px;
    }
}

.section-profile__text {
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .section-profile__text {
        font-size: 15px;
    }
}

/* ========================================
   top_blog（ブログ・参考: newpeace LBlog）
   ======================================== */
.section-blog {
    background: #fff;
    padding: 60px 24px 80px;
    font-family: var(--font-base);
}

@media screen and (min-width: 768px) {
    .section-blog {
        padding: 80px 44px 100px;
    }
}

.section-blog__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-blog__header {
    margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
    .section-blog__header {
        margin-bottom: 48px;
    }
}

.section-blog__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
    .section-blog__title {
        font-size: 48px;
    }
}

.section-blog__desc {
    font-size: 14px;
    line-height: 1.8;
    color: #6b7280;
    margin: 0;
    max-width: 560px;
}

.section-blog__main {
    position: relative;
}

.section-blog__slider {
    overflow: hidden;
    margin: 0 -24px;
    padding: 0 24px;
}

@media screen and (min-width: 768px) {
    .section-blog__slider {
        margin: 0;
        padding: 0;
    }
}

.section-blog__list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.section-blog__list::-webkit-scrollbar {
    height: 6px;
}

.section-blog__list::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.section-blog__list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.section-blog__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

@media screen and (min-width: 640px) {
    .section-blog__item {
        flex: 0 0 320px;
    }
}

@media screen and (min-width: 1024px) {
    .section-blog__item {
        flex: 0 0 360px;
    }
}

.section-blog__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.section-blog__link:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.section-blog__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e5e7eb;
}

.section-blog__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.section-blog__link:hover .section-blog__image img {
    transform: scale(1.05);
}

.section-blog__card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 16px 16px 8px;
    color: #1f2937;
}

@media screen and (min-width: 768px) {
    .section-blog__card-title {
        font-size: 16px;
        padding: 20px 20px 10px;
    }
}

.section-blog__description {
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    padding: 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .section-blog__description {
        padding: 0 20px;
        font-size: 14px;
    }
}

.section-blog__item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 12px 16px 16px;
}

@media screen and (min-width: 768px) {
    .section-blog__item-bottom {
        padding: 16px 20px 20px;
    }
}

.section-blog__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ブログカテゴリ色（HTMLインラインから移動） */
.section-blog__category--case {
    background-color: #E60013;
}

.section-blog__category--project {
    background-color: #0149a1;
}

.section-blog__category--report {
    background-color: #289d57;
}

.section-blog__category--knowledge {
    background-color: #6b7280;
}

.section-blog__category--event {
    background-color: #f70f17;
}

.section-blog__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-blog__icon::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #1f2937;
}

.section-blog__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.section-blog__nav {
    display: flex;
    gap: 8px;
}

.section-blog__nav-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}

.section-blog__nav-btn:hover:not(:disabled) {
    border-color: #E60013;
    background: #fff5f5;
}

.section-blog__nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.section-blog__nav-btn-inner {
    width: 10px;
    height: 10px;
    border-left: 2px solid #374151;
    border-bottom: 2px solid #374151;
}

.section-blog__nav-btn--prev .section-blog__nav-btn-inner {
    transform: rotate(45deg);
    margin-left: 4px;
}

.section-blog__nav-btn--next .section-blog__nav-btn-inner {
    transform: rotate(-135deg);
    margin-right: 4px;
}

.section-blog__progress {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.section-blog__progress-bar {
    height: 100%;
    width: 30%;
    background: #E60013;
    border-radius: 2px;
    transition: width 0.2s ease;
}

.section-blog__list-link {
    margin-left: auto;
}

/* ブログ一覧ページ：24件グリッド表示 */
.section-blog--list .section-blog__main {
    margin-top: 0;
}

.section-blog--list .section-blog__slider {
    margin: 0;
    padding: 0;
}

.section-blog__list--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.section-blog__list--grid .section-blog__item {
    flex: none;
    width: 100%;
}

@media screen and (min-width: 640px) {
    .section-blog__list--grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .section-blog__list--grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}

/* 実績一覧ページ：24件均等グリッド（特大表示なし） */
.section-works--list .section-works__grid--list {
    grid-template-columns: 1fr;
}

@media screen and (min-width: 640px) {
    .section-works--list .section-works__grid--list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .section-works--list .section-works__grid--list {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(220px, auto);
    }
}

.section-works--list .section-works__item--featured,
.section-works__grid--list .section-works__item--featured {
    grid-column: auto;
    grid-row: auto;
}

/* ========================================
   アーカイブ・シングルページ：スクロール有効化
   （WordPress body_class: .archive .single 想定）
   ======================================== */
/* アーカイブ・シングル：スクロール有効化 ＋ ヘッダー・フッター表示を保証 */
body.archive,
body.single,
body.page-privacy,
body.page-company {
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 100%;
    height: auto;
}

body.single main,
body.archive main,
body.page-privacy main,
body.page-company main {
    padding-top: 80px;
    min-height: 0;
    overflow: visible;
}

@media screen and (min-width: 960px) {

    body.single main,
    body.archive main,
    body.page-privacy main,
    body.page-company main {
        padding-top: 96px;
    }
}

/* 固定ヘッダー分、アンカースクロール時に見出しが隠れないように */
body.single .post-single,
body.archive .section-blog__header,
body.archive .section-works__header,
body.page-privacy .company-sec,
body.page-company .post-single {
    scroll-margin-top: 100px;
}

/* single・archive でもヘッダー・フッターを必ず表示 */
body.single .site-header,
body.archive .site-header,
body.single .spNav {
    display: block !important;
    visibility: visible !important;
}

body.single .site-footer,
body.archive .site-footer,
body.page-privacy .site-footer,
body.page-company .site-footer {
    display: flex !important;
    visibility: visible !important;
}

body.page-privacy .site-header,
body.page-privacy .spNav,
body.page-company .site-header,
body.page-company .spNav {
    display: block !important;
    visibility: visible !important;
}

/* ========================================
   Company / Privacy ページ（メインはトップと同じ赤 #E60013）
   ======================================== */
body.page-privacy {
    font-family: var(--font-base);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-primary);
}

.company-container {
    background-color: #fff;
}

.company-main {
    display: block;
    max-width: 100%;
}

.company-column {
    width: 100%;
    max-width: 100%;
    background-color: #fff;
}

.company-inner {
    width: 100%;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--margin-side-sp);
    padding-right: var(--margin-side-sp);
}

.company-inner-sm {
    max-width: 1050px;
}

.company-inner-xl {
    max-width: 1050px;
}

@media screen and (min-width: 960px) {

        .company-inner {

        padding: 50px var(--margin-side-tb) 0 var(--margin-side-tb);
    }
}

.company-sec {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    scroll-margin-top: 100px;
}

@media screen and (min-width: 768px) {
    .company-sec {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.company-parts-column .company-col-item,
.company-parts-column .company-text {
    display: flex;
    flex-direction: column;
}

.company-parts-column .company-text {
    flex: 1;
}

.company-parts-child {
    display: grid;
    gap: 2rem;
}

.company-grid-col1 {
    grid-template-columns: 1fr;
}

.company-grid-col2 {
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {

        .company-grid-col2 {
        grid-template-columns: 1fr 1fr;
    }
}

.company-gap64 {
    gap: 4rem;
}

.company-gap48 {
    gap: 3rem;
}

/* 見出し（トップと同じ赤 #E60013 でアクセント） */
.company-ttl-01 {
    font-family: var(--font-base);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #E60013;
}

.company-ttl-01 .company-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #E60013;
}

@media screen and (min-width: 768px) {

        .company-ttl-01 {
        font-size: 1.75rem;
    }
}

.company-ttl-02 {
    font-family: var(--font-base);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin: 2em 0 0.75em;
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-ttl-02 .company-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    background-color: #E60013;
    padding: 0.35em 0.85em;
    width: fit-content;
    clip-path: polygon(100% 0, 100% calc(100% - 0.4em), calc(100% - 0.4em) 100%, 0 100%, 0 0);
}

@media screen and (min-width: 768px) {

        .company-ttl-02 {
        font-size: 1.35rem;
    }
}

.company-ttl-03 {
    font-family: var(--font-base);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin: 1.5em 0 0.5em;
    letter-spacing: 0.02em;
}

.company-ttl-03 span {
    display: block;
}

@media screen and (min-width: 768px) {

        .company-ttl-03 {
        font-size: 1.25rem;
    }
}

.company-body {
    font-family: var(--font-base);
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
}

.company-body p {
    margin: 0 0 1.2em;
}

.company-body p:last-child {
    margin-bottom: 0;
}

.company-body .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.company-body img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

@media screen and (min-width: 768px) {
    .company-body {
        font-size: 16px;
    }
}

.company-lead {
    font-family: var(--font-base);
    font-size: 1rem;
    line-height: 1.9;
    color: #374151;
    font-weight: 500;
}

@media screen and (min-width: 768px) {

        .company-lead {
        font-size: 1.0625rem;
    }
}

.company-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.company-body p[style*="text-align: right"] {
    margin-top: 1.5em;
    font-weight: 600;
    color: #1f2937;
}

/* 会社概要テーブル（赤アクセント） */
.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    position: relative;
    border: 0;
    padding: 1rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.company-table th::before,
.company-table td::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.company-table th::before {
    border-bottom: 2px solid #E60013;
}

.company-table td::before {
    border-bottom: 1px solid #e5e7eb;
}

.company-table th {
    font-family: var(--font-base);
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.company-table td {
    font-family: var(--font-base);
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

@media screen and (min-width: 768px) {

        .company-table td {
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {

    .company-table-sp-block,
    .company-table-sp-block th,
    .company-table-sp-block td {
        display: block !important;
        width: 100% !important;
    }

    .company-table-sp-block th {
        padding-bottom: 0.25rem;
    }

    .company-table-sp-block th::before {
        display: none;
    }

    .company-table-sp-block td {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
    }
}

/* 会社概要ページ：ブロックエディタの表・本文の横はみ出し防止（スマホ等） */
body.page-company .post-single,
body.page-company .post-single__inner {
    min-width: 0;
    max-width: 100%;
}

body.page-company .entry-content,
body.page-company .post-body {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

body.page-company .entry-content .wp-block-table,
body.page-company .post-body .wp-block-table {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.page-company .entry-content table,
body.page-company .post-body table,
body.page-company .entry-content .wp-block-table table,
body.page-company .post-body .wp-block-table table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    word-break: break-word;
    overflow-wrap: anywhere;
}

body.page-company .entry-content th,
body.page-company .entry-content td,
body.page-company .post-body th,
body.page-company .post-body td {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

body.page-company .entry-content figure,
body.page-company .post-body figure {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.page-company .entry-content iframe,
body.page-company .post-body iframe,
body.page-company .entry-content video,
body.page-company .post-body video {
    max-width: 100%;
}

@media screen and (min-width: 960px) {
    .company-pc-none {
        display: none !important;
    }
}

/* ========================================
   記事詳細（共通：ブログ・実績）
   ======================================== */
.post-single {
    padding: 40px 24px 80px;
    font-family: var(--font-base);
}

@media screen and (min-width: 768px) {
    .post-single {
        padding: 60px 44px 100px;
    }
}

.post-single__inner {
    max-width: 800px;
    margin: 0 auto;
}

.post-single__header {
    margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
    .post-single__header {
        margin-bottom: 48px;
    }
}

.post-single__breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.post-single__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.post-single__breadcrumb a:hover {
    text-decoration: underline;
    color: #1f2937;
}

.post-single__breadcrumb-sep {
    margin: 0 6px;
    opacity: 0.7;
}

.post-single__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

@media screen and (min-width: 768px) {
    .post-single__title {
        font-size: 32px;
    }
}

.post-single__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.post-single__date {
    font-size: 14px;
    color: #6b7280;
}

.post-single__category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: #E60013;
    padding: 4px 12px;
    border-radius: 4px;
}

.post-single__thumb {
    border-radius: 8px;
    overflow: hidden;
    background: #e5e7eb;
    aspect-ratio: 1200 / 630;
}

.post-single__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 実績シングル：アイキャッチ動画はブラウザ標準コントロールで手動再生 */
.post-single__thumb--works-video .post-single__thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-single__body {
    margin-bottom: 48px;
}

.post-single__footer {
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* 記事本文：見出し h1〜h4 と本文 */
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
    color: #1f2937;
    font-weight: 700;
    line-height: 1.4;
    margin: 2em 0 0.75em;
    letter-spacing: 0.02em;
}

.post-body h1:first-child,
.post-body h2:first-child,
.post-body h3:first-child,
.post-body h4:first-child {
    margin-top: 0;
}

.post-body h1 {
    font-size: 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid #E60013;
}

@media screen and (min-width: 768px) {
    .post-body h1 {
        font-size: 32px;
    }
}

.post-body h2 {
    font-size: 22px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

@media screen and (min-width: 768px) {
    .post-body h2 {
        font-size: 24px;
    }
}

.post-body h3 {
    font-size: 18px;
}

@media screen and (min-width: 768px) {
    .post-body h3 {
        font-size: 20px;
    }
}

.post-body h4 {
    font-size: 16px;
    color: #374151;
}

@media screen and (min-width: 768px) {
    .post-body h4 {
        font-size: 17px;
    }
}

.post-body p {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
    margin: 0 0 1.2em;
}

@media screen and (min-width: 768px) {
    .post-body p {
        font-size: 16px;
    }
}

.post-body ul,
.post-body ol {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
    margin: 0 0 1.2em;
    padding-left: 1.5em;
}

@media screen and (min-width: 768px) {

    .post-body ul,
    .post-body ol {
        font-size: 16px;
    }
}

.post-body li {
    margin-bottom: 0.4em;
}

.post-body a {
    color: #E60013;
    text-decoration: underline;
}

.post-body a:hover {
    text-decoration: none;
}

.post-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.post-body img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.post-body .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.post-body p[style*="text-align: right"] {
    margin-top: 1.5em;
    font-weight: 600;
    color: #1f2937;
}

/* 一覧に戻るボタン（矢印左向き） */
.post-single__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.c-button__icon--left {
    transform: rotate(180deg);
}

/* ========================================
   お問い合わせ・フッター（mizota-ks 完全再現）
   ======================================== */
@-webkit-keyframes heading-flash {
    0% {
        background: linear-gradient(300deg, rgb(127, 77, 27) 30%, rgb(197, 136, 23) 50%, rgb(127, 77, 27) 70%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        background-size: 200% 100%;
        background-position: 150% 50%;
    }

    100% {
        background: linear-gradient(300deg, rgb(127, 77, 27) 30%, rgb(197, 136, 23) 50%, rgb(127, 77, 27) 70%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        background-size: 200% 100%;
        background-position: -50% 50%;
    }
}

@keyframes heading-flash {
    0% {
        background: linear-gradient(300deg, rgb(127, 77, 27) 30%, rgb(197, 136, 23) 50%, rgb(127, 77, 27) 70%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        background-size: 200% 100%;
        background-position: 150% 50%;
    }

    100% {
        background: linear-gradient(300deg, rgb(127, 77, 27) 30%, rgb(197, 136, 23) 50%, rgb(127, 77, 27) 70%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        background-size: 200% 100%;
        background-position: -50% 50%;
    }
}

/* ----- お問い合わせセクション（全デバイス共通：PCデザイン） ----- */
.section-contact {
    background-color: #2a2520;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(42, 37, 32, 0.95) 50%, #1e1b18 100%);
    padding: 8rem var(--margin-side-pc) 10rem;
    overflow-x: hidden;
}

.section-contact__inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.section-contact__cta-box {
    width: 100%;
    max-width: 42rem;
    padding: 3.2rem 4rem;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: var(--size-round-R);
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: block;
    transition: box-shadow 0.3s ease;
}

.section-contact__cta-box:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

.section-contact__cta-heading {
    font-family: var(--font-base);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1a1a1a;
    margin: 0 0 0.35em;
}

.section-contact__cta-sub {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.section-contact__follow-row {
    width: 100%;
    max-width: 52rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.section-contact__follow-text-block {
    flex: 1;
    min-width: 0;
}

.section-contact__follow-heading {
    font-family: var(--font-base);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    margin: 0 0 0.4em;
}

.section-contact__follow-text {
    font-size: 1.2rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    letter-spacing: 0.02em;
}

.section-contact__follow-sns {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-shrink: 0;
}

.section-contact__follow-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.3s ease;
}

.section-contact__follow-sns a:hover {
    opacity: 0.75;
}

.section-contact__follow-sns svg {
    width: 32px;
    height: 32px;
}

.section-contact__note {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.section-contact__note a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.section-contact__note a:hover {
    color: #fff;
}

/* タブレット */
@media screen and (max-width: 960px) {
    .section-contact {
        padding: 5rem var(--margin-side-tb) 6rem;
    }

    .section-contact__inner {
        gap: 3.5rem;
    }

    .section-contact__cta-box {
        padding: 2.8rem 3.2rem;
    }

    .section-contact__cta-heading {
        font-size: 2rem;
    }

    .section-contact__cta-sub {
        font-size: 1.4rem;
    }

    .section-contact__follow-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .section-contact__follow-heading {
        font-size: 1.8rem;
    }

    .section-contact__follow-text {
        font-size: 1.1rem;
    }

    .section-contact__follow-sns svg {
        width: 28px;
        height: 28px;
    }

    .section-contact__note {
        font-size: 1.1rem;
    }
}

/* SP */
@media screen and (max-width: 560px) {
    .section-contact {
        padding: 3.2rem var(--margin-side-sp) 4rem;
    }

    .section-contact__inner {
        gap: 3rem;
    }

    .section-contact__cta-box {
        padding: 2.4rem 2.4rem;
        max-width: 100%;
    }

    .section-contact__cta-heading {
        font-size: 1.8rem;
    }

    .section-contact__cta-sub {
        font-size: 1.3rem;
    }

    .section-contact__follow-heading {
        font-size: 1.6rem;
    }

    .section-contact__follow-text {
        font-size: 1rem;
    }

    .section-contact__follow-sns svg {
        width: 24px;
        height: 24px;
    }

    .section-contact__note {
        font-size: 1rem;
        text-align: left;
    }
}

@media screen and (max-width: 374px) {
    .section-contact {
        padding: 2.8rem var(--margin-side-sp) 3.6rem;
    }
}

.c-heading-top__sub {
    display: block;
    padding-bottom: 2rem;
    font-family: var(--font-en);
    font-size: 1.3rem;
    color: var(--color-text-heading-sub-en);
}

@media screen and (max-width: 1024px) {
    .c-heading-top__sub {
        padding-bottom: 1.6rem;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 560px) {
    .c-heading-top__sub {
        padding-bottom: 1.2rem;
        font-size: 1.1rem;
    }
}

.c-heading-top__main {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-R);
    font-size: 4.4rem;
    letter-spacing: 0;
    color: var(--color-text-heading);
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media screen and (max-width: 1024px) {
    .c-heading-top__main {
        font-size: 3.6rem;
    }
}

@media screen and (max-width: 560px) {
    .c-heading-top__main {
        font-size: 2.8rem;
    }
}

.c-heading-top.is-visible .c-heading-top__main {
    animation: heading-flash 1.2s linear both;
}

.c-text {
    font-size: 1.6rem;
    line-height: var(--line-height-6);
    letter-spacing: var(--letter-space-1);
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media screen and (max-width: 1024px) {
    .c-text {
        font-size: 1.4rem;
    }
}

.c-card-cv {
    display: grid;
    grid-template-columns: auto 1px 1fr;
    align-items: center;
    column-gap: 4.8rem;
    padding: 4rem 6rem;
    background-color: var(--color-beige-200);
    border-radius: var(--size-round-R);
    border: 1px solid var(--color-black-200);
}

@media screen and (max-width: 1240px) {
    .c-card-cv {
        column-gap: 4rem;
        padding: 3.2rem 4.8rem;
    }
}

@media screen and (max-width: 560px) {
    .c-card-cv {
        padding: 2.4rem;
    }
}

.c-card-cv__title {
    width: 20.8rem;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: var(--font-weight-R);
    line-height: 1.6;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media screen and (max-width: 560px) {
    .c-card-cv__title {
        font-size: 1.4rem;
    }
}

.c-card-cv__line {
    display: block;
    width: 1px;
    height: 9rem;
    background: var(--color-black-200);
}

.c-card-cv__body__tel {
    margin-bottom: calc(1.2rem - 0.15em);
    font-family: var(--font-en);
    padding-top: 0.15em;
    font-size: 4rem;
    letter-spacing: var(--letter-space-1);
    color: var(--color-orange-900);
}

.c-card-cv__body__tel a {
    white-space: nowrap;
}

@media screen and (max-width: 1240px) {
    .c-card-cv__body__tel {
        font-size: 3.6rem;
        margin-bottom: calc(0.8rem - 0.15em);
    }
}

@media screen and (max-width: 560px) {
    .c-card-cv__body__tel {
        font-size: 3.2rem;
        margin-bottom: calc(0.6rem - 0.1em);
    }
}

@media screen and (min-width: 768px) {
    .c-card-cv__body__tel a {
        pointer-events: none;
    }
}

.c-card-cv__body__time p {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.c-card-cv__body__time {
    display: flex;
    column-gap: 1.2rem;
    align-items: center;
    font-size: 1.4rem;
    line-height: var(--line-height-4);
    letter-spacing: var(--letter-space-1);
    color: var(--color-text-secondary);
}

@media screen and (max-width: 560px) {
    .c-card-cv__body__time {
        column-gap: 1rem;
        font-size: 1.3rem;
    }
}

.c-card-cv__body__line {
    display: block;
    width: 1px;
    height: 1.4rem;
    background-color: rgba(54, 46, 38, 0.2);
}

@media screen and (max-width: 374px) {
    .c-card-cv__body__line {
        display: none;
    }
}

@container contact-contents (max-width: 780px) {
    .c-card-cv__title {
        width: 9.8rem;
        font-size: 1.6rem;
    }
}

@container contact-contents (max-width: 700px) {
    .c-card-cv {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        row-gap: 1.2rem;
    }

    .c-card-cv__title {
        width: 100%;
        font-size: 1.5rem;
        text-align: center;
    }

    .c-card-cv__line {
        display: none;
    }

    .c-card-cv__body__tel {
        text-align: center;
    }

    .c-card-cv__body__time {
        justify-content: center;
    }
}

@container contact-contents (max-width: 560px) {
    .c-card-cv {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        row-gap: 1.2rem;
    }

    .c-card-cv__title {
        width: 100%;
        font-size: 1.6rem;
        text-align: center;
    }

    .c-card-cv__line {
        display: none;
    }

    .c-card-cv__body__tel {
        text-align: center;
    }

    .c-card-cv__body__time {
        justify-content: center;
    }
}

.c-button-attention {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 2rem;
    width: min(100%, 36.8rem);
    min-width: 0;
    padding: 1.6rem 2.2rem 1.6rem 3.2rem;
    font-size: 1.8rem;
    line-height: var(--line-height-2);
    letter-spacing: var(--letter-space-1);
    color: var(--color-white-100);
    background-color: var(--color-orange-800);
    border-radius: var(--size-round-oval);
    transition: 0.6s background var(--easing-default);
}

.c-button-attention__label {
    word-break: keep-all;
    overflow-wrap: break-word;
    min-width: 0;
}

@media screen and (max-width: 1024px) {
    .c-button-attention {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 560px) {
    .c-button-attention {
        font-size: 1.6em;
        padding: 1.2rem 1.8rem 1.2rem 2.8rem;
    }
}

.c-button-attention__icon {
    display: grid;
    place-content: center;
    width: 4.5rem;
    height: 3.3rem;
    padding-left: 0.2rem;
    border-radius: var(--size-round-oval);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.c-button-attention__icon__inner {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    width: 1.3rem;
    height: 0.9rem;
    overflow: hidden;
}

.c-button-attention__icon__inner img {
    width: 1.3rem;
    height: 0.9rem;
    transition: 0s transform linear;
}

.c-button-attention:hover {
    background-color: var(--color-orange-900);
}

.c-button-attention:hover .c-button-attention__icon__inner img {
    transform: translateX(calc(100% + 0.4rem));
    transition: 0.6s transform var(--easing-default);
}

@container contact-contents (max-width: 560px) {
    .c-button-attention {
        width: 100%;
    }
}

.c-link {
    display: inline-flex;
    align-items: center;
    column-gap: 1.2rem;
}

.c-link__icon {
    display: grid;
    place-content: center;
    width: 3.8rem;
    height: 2.7rem;
    padding-left: 0.1rem;
    border-radius: var(--size-round-oval);
    border: 1px solid var(--color-border-primary);
}

@media screen and (max-width: 560px) {
    .c-link__icon {
        width: 3.4rem;
        height: 2.3rem;
    }
}

.c-link__icon__inner {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    width: 1rem;
    height: 0.7rem;
    overflow: hidden;
}

.c-link__icon__inner img {
    width: 1rem;
    height: 0.7rem;
    transition: 0s transform linear;
}

.c-link__label {
    color: var(--color-text-primary);
    font-size: 1.4rem;
    line-height: var(--line-height-4);
    letter-spacing: var(--letter-space-1);
    padding-bottom: 0;
    background-image: linear-gradient(transparent 0%, var(--color-black-500) 0%);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: 0.4s background-size var(--easing-default);
}

.c-link:not(.is-inactive):hover .c-link__icon__inner img {
    transform: translateX(calc(100% + 0.4rem));
    transition: 0.6s transform var(--easing-default);
}

.c-link:not(.is-inactive):hover .c-link__label {
    background-size: 100% 1px;
    background-position: bottom left;
}

.c-link-text {
    text-decoration: underline;
    transition: 0.3s color var(--easing-default);
}

.c-link-text:hover {
    color: var(--color-brown-900);
}

/* ----- フッター（PC: 5カラム・白背景 / タブレット: 2列 or 縦積み / SP: 縦積み） ----- */
.site-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 0 var(--margin-side-pc) 0;
    overflow-x: hidden;
    padding: 5rem 2rem 0;
}

@media screen and (min-width: 960px) {
    .site-footer {
        padding: 5rem var(--margin-side-tb) 0;
    }
}


/* PC: 5カラム（ARCHIVE: 実績・ブログ） */
@media screen and (min-width: 961px) {
    .site-footer__grid {
        display: grid;
        grid-template-columns: 1.15fr 0.95fr 0.85fr 0.8fr 0.75fr;
        gap: min(4vw, 5rem) 2rem;
        max-width: 1280px;
    }

    .site-footer__col--company {
        grid-column: 1;
    }

    .site-footer__col--service {
        grid-column: 2;
    }

    .site-footer__col--flow {
        grid-column: 3;
    }

    .site-footer__col--archive {
        grid-column: 4;
    }

    .site-footer__col--link {
        grid-column: 5;
    }
}

/* タブレット・SP: レイアウトのみ（色はPCと同じ変数で継承） */
@media screen and (max-width: 960px) {
    .site-footer__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 0;
        max-width: 100%;
        min-width: 0;
    }

    .site-footer__col {
        min-width: 0;
    }

    .site-footer__col--company {
        order: 1;
        padding-bottom: 0.5rem;
    }

    .site-footer__col--service {
        order: 2;
    }

    .site-footer__col--flow {
        order: 3;
    }

    .site-footer__col--archive {
        order: 4;
    }

    .site-footer__col--link {
        order: 5;
    }
}

@media screen and (min-width: 561px) and (max-width: 960px) {
    .site-footer__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "company company"
            "service flow"
            "archive link";
        gap: 2rem 3rem;
    }

    .site-footer__col--company {
        grid-area: company;
    }

    .site-footer__col--service {
        grid-area: service;
    }

    .site-footer__col--flow {
        grid-area: flow;
    }

    .site-footer__col--archive {
        grid-area: archive;
    }

    .site-footer__col--link {
        grid-area: link;
    }
}

/* 1列目: 会社情報 */
.site-footer__logo-block {
    margin-bottom: 1.2rem;
}

.site-footer__logo-img {
    display: block;
    margin-bottom: 0.8rem;
}

.site-footer__logo-img img {
    display: block;
    /* width: auto; */
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.site-footer__logo {
    margin: 0 0 0.4rem;
}

.site-footer__logo a {
    display: inline-block;
    text-decoration: none;
    color: var(--color-text-primary);
    font-family: var(--font-en);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.site-footer__logo a:hover {
    opacity: 0.8;
}

.site-footer__logo-main {
    display: inline;
}

.site-footer__company-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin: 0 0 1.6rem;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.site-footer__address {
    margin-bottom: 1.6rem;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.site-footer__address .site-footer__studio p {
    margin: 0 0 0.2em;
}

.site-footer__studio {
    margin-bottom: 1.2rem;
}

.site-footer__studio:last-of-type {
    margin-bottom: 0;
}

.site-footer__studio-name {
    font-weight: 600;
    margin: 0 0 0.35em;
}

.site-footer__sns {
    margin-bottom: 2rem;
}

.site-footer__sns a {
    font-size: 15px;
    color: var(--color-text-primary);
    text-decoration: none;
}

.site-footer__sns a:hover {
    text-decoration: underline;
}

.site-footer__rule {
    height: 1px;
    background-color: var(--color-border-primary);
    margin: 0 0 1.6rem;
    opacity: 0.6;
}

/* コピーライト：常にフッター最下部・横中央・12px */
.site-footer__copyright {
    order: 10;
    width: 100%;
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    text-align: center;
    margin: 50px 0 10px;
}


/* 2〜4列目: ナビ（見出し17px・本文15px） */
.site-footer__nav-heading {
    font-family: var(--font-base);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
    margin: 0 0 1.2rem;
}

.site-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__nav-list li {
    margin-bottom: 0.6rem;
}

.site-footer__nav-list li:last-child {
    margin-bottom: 0;
}

.site-footer__nav-list a {
    font-size: 15px;
    color: var(--color-text-primary);
    text-decoration: none;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.site-footer__nav-list a:hover {
    text-decoration: underline;
}

.site-footer__nav-list--bold a {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.c-nav {
    display: flex;
    column-gap: min(5.2vw, 7.6rem);
    align-items: flex-start;
}

@media screen and (max-width: 1024px) {
    .c-nav {
        column-gap: max(3.2rem, 8vw);
    }
}

@media screen and (max-width: 374px) {
    .c-nav {
        column-gap: 2.4rem;
    }
}

.c-nav .is-column2 {
    display: none;
}

@media screen and (max-width: 1240px) {
    .c-nav .is-column2 {
        display: block;
    }
}

@media screen and (max-width: 880px) {
    .c-nav .is-column2 {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .c-nav .is-column2 {
        display: block;
    }
}

.c-nav .is-column3 {
    display: flex;
}

@media screen and (max-width: 1240px) {
    .c-nav .is-column3 {
        display: none;
    }
}

@media screen and (max-width: 880px) {
    .c-nav .is-column3 {
        display: flex;
    }
}

@media screen and (max-width: 560px) {
    .c-nav .is-column3 {
        display: none;
    }
}

.c-nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2.8rem;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-R);
    font-size: 1.4rem;
    letter-spacing: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1024px) {
    .c-nav__list {
        row-gap: 2.4rem;
    }
}

@media screen and (max-width: 374px) {
    .c-nav__list {
        row-gap: 2.2rem;
        font-size: 1.3rem;
    }
}

.c-nav__list.-left {
    grid-area: left;
}

.c-nav__list.-center {
    grid-area: center;
}

.c-nav__list.-right {
    grid-area: right;
}

.c-nav__list.-right a {
    white-space: nowrap;
}

.c-nav__list-heading {
    display: block;
    font-family: var(--font-base);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-heading);
    margin-bottom: 0.4rem;
}

.c-nav__list li .c-nav__list-heading {
    margin-top: 0;
}

.c-nav__list li:not(:first-child) .c-nav__list-heading {
    margin-top: 2.4rem;
}

.c-nav__list a {
    word-break: keep-all;
    overflow-wrap: break-word;
    padding-bottom: 0.2rem;
    background-image: linear-gradient(transparent 0%, var(--color-black-500) 0%);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: 0.4s background-size var(--easing-default);
    color: var(--color-text-primary);
    text-decoration: none;
}

.c-nav__list a:hover {
    background-size: 100% 1px;
    background-position: bottom left;
}

.c-nav__list__lower {
    display: flex;
    flex-direction: column;
    row-gap: 2.2rem;
    margin: 2.8rem 0 0 1.4rem;
    font-family: var(--font-base);
    font-size: 1.3rem;
    letter-spacing: var(--letter-space-1);
    color: var(--color-black-500);
    list-style: none;
    padding: 0;
}

@media screen and (max-width: 560px) {
    .c-nav__list__lower {
        row-gap: 2rem;
    }
}

@media screen and (max-width: 374px) {
    .c-nav__list__lower {
        margin-top: 2.2rem;
        row-gap: 2rem;
        font-size: 1.2rem;
    }
}

.c-nav__list__lower a {
    padding-bottom: 0.3rem;
    background-image: linear-gradient(transparent 0%, var(--color-black-300) 0%);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: 0.4s background-size var(--easing-default);
    color: inherit;
    text-decoration: none;
}

.c-nav__list__lower a:hover {
    background-size: 100% 1px;
    background-position: bottom left;
}

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

.u-word-group {
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .u-tab-off {
        display: none;
    }
}

/* ========================================
   プライバシーポリシー・お問い合わせページ
   ======================================== */
body.page-privacy,
body.page-contact {
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 100%;
}

body.page-privacy main,
body.page-contact main {
    padding-top: 80px;
    min-height: 0;
    overflow: visible;
}

@media screen and (min-width: 960px) {

    body.page-privacy main,
    body.page-contact main {
        padding-top: 96px;
    }
}

body.page-privacy .site-footer,
body.page-contact .site-footer,
body.page-privacy .site-header,
body.page-contact .site-header,
body.page-privacy .spNav,
body.page-contact .spNav {
    display: block !important;
    visibility: visible !important;
}

/* プライバシーポリシー本文 */
.privacy-body h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 2em 0 0.6em;
    padding-bottom: 0.25em;
}

.privacy-body .privacy-h2 {
    font-family: var(--font-base);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.privacy-list {
    margin: 0.5em 0 1em 1.2em;
    padding: 0;
    list-style: disc;
}

.privacy-list li {
    margin-bottom: 0.35em;
}

.privacy-date {
    margin-top: 2.5em;
    font-size: 0.9rem;
    color: #6b7280;
}

.privacy-body a {
    color: #E60013;
    text-decoration: underline;
}

.privacy-body a:hover {
    text-decoration: none;
}

/* ----- お問い合わせフォームページ ----- */
.contact-main {
    background-color: #f8f9fa;
    padding: 3rem var(--margin-side-sp) 5rem;
    min-height: 60vh;
}

.contact-inner {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem 2.5rem 4rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media screen and (min-width: 768px) {
    .contact-main {
        padding: 4rem 2rem 5rem;
    }

    .contact-inner {
        padding: 4rem 4rem 5rem;
    }
}

.contact-page-ttl {
    font-family: var(--font-base);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-page-ttl__en {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #E60013;
}

.contact-page-ttl__jp {
    font-size: 1.5rem;
}

@media screen and (min-width: 768px) {
    .contact-page-ttl {
        font-size: 1.75rem;
    }

    .contact-page-ttl__jp {
        font-size: 1.75rem;
    }
}

.contact-lead {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0 0 2rem;
    line-height: 1.7;
}

/* フォーム：行・ラベル・必須・入力 */
.contact-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-form__row .contact-form__label,
.contact-form__row .contact-form__required {
    margin-right: 0.5rem;
}

.contact-form__row .contact-form__field {
    width: 100%;
    margin-top: 0.25rem;
}

@media screen and (min-width: 640px) {
    .contact-form__row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 0.75rem 1rem;
        align-items: start;
    }

    .contact-form__row .contact-form__label,
    .contact-form__row .contact-form__required {
        margin-right: 0;
    }

    .contact-form__row .contact-form__field {
        width: auto;
        margin-top: 0;
    }
}

.contact-form__row:first-of-type {
    padding-top: 0;
}

.contact-form__row--agree {
    display: flex;
    align-items: center;
    border-bottom: none;
    padding-top: 1.5rem;
    padding-bottom: 0;
}

@media screen and (min-width: 640px) {
    .contact-form__row--agree {
        grid-template-columns: 1fr;
    }
}

.contact-form__label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    padding-top: 0.5rem;
}

.contact-form__required {
    display: inline-block;
    background: #E60013;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2em 0.5em;
    border-radius: 2px;
}

.contact-form__field {
    grid-column: 1;
}

@media screen and (min-width: 640px) {
    .contact-form__field {
        grid-column: 3;
    }
}

.contact-form__input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #1f2937;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form__input::placeholder {
    color: #9ca3af;
}

.contact-form__input:focus {
    outline: none;
    border-color: #E60013;
    background: #fff;
}

.contact-form__select {
    cursor: pointer;
    appearance: auto;
}

.contact-form__textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form__agree-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-form__checkbox {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    cursor: pointer;
}

.contact-form__agree-label {
    font-size: 0.9375rem;
    color: #374151;
    cursor: pointer;
}

.contact-form__agree-label a {
    color: #E60013;
    text-decoration: underline;
}

.contact-form__agree-label a:hover {
    text-decoration: none;
}

.contact-form__required-inline {
    color: #E60013;
}

.contact-form__submit-wrap {
    margin-top: 2.5rem;
    text-align: center;
}

.contact-form__submit {
    display: inline-block;
    padding: 0.9rem 3.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #E60013;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.contact-form__submit:hover {
    background: #c40010;
}

.contact-form__submit:focus {
    outline: none;
}

/* 確認ページ */
.contact-confirm__no-data {
    padding: 2rem 0;
    font-size: 0.9375rem;
    color: #6b7280;
}

.contact-confirm__no-data a {
    color: #E60013;
    text-decoration: underline;
}

.contact-confirm__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e7eb;
}

.contact-confirm__term {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin: 0;
    padding: 1rem 0 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-confirm__desc {
    font-size: 0.9375rem;
    color: #1f2937;
    margin: 0 0 0.5rem;
    padding-bottom: 1rem;
    white-space: pre-wrap;
    word-break: break-all;
}

.contact-confirm__actions {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.contact-form__submit--back {
    background: #6b7280;
}

.contact-form__submit--back:hover {
    background: #4b5563;
}

/* 完了ページ */
.contact-thanks-inner {
    text-align: center;
}

.contact-thanks {
    max-width: 520px;
    margin: 0 auto;
}

.contact-thanks__ttl {
    font-family: var(--font-base);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem;
}

.contact-thanks__text {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: #4b5563;
    margin: 0 0 1rem;
}

.contact-thanks__note {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0 0 2rem;
}

.contact-thanks__btn-wrap {
    margin-top: 2rem;
}

.contact-thanks__btn-wrap .contact-form__submit {
    min-width: 200px;
}

/* 固定ページ（デフォルト） */
.page-main {
    padding-top: 100px;
    padding-bottom: 4rem;
}

.page-main .entry-content {
    max-width: 48rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.85;
    color: #1f2937;
}

.page-main .entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.page-main .entry-content p {
    margin: 0 0 1rem;
}