@charset "UTF-8";

/* --------------------------------------------------
Common
------------------------------------------------ */

html,
body {
    scroll-behavior: auto;

}

.pc { display: none !important; }
@media all and (min-width: 1000px) {
    .pc { display: inline !important; }
}

* {
    position: relative;
}

html body._branding #wrapper header .container {
    max-width: none;
}


html body:not(._home) #wrapper header .container {
    width: calc(100% - 80px);
}


body.no-scroll {
    overflow: hidden;
}

.wrap-branding {
    font-family: "Poppins", "Noto Sans JP", sans-serif;
    line-height: 1.8;

}



.wrap-branding *:not(.container) {
    box-sizing: border-box;
}

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

.wrap-branding .client-logos-track img {
    max-width: none;
    height: auto;
    vertical-align: middle;
}

.wrap-branding section {
    margin-top: 0 !important;
}

html body #wrapper #contents .wrap-branding section>.container {
    margin-top: 0 !important;
    padding: 0 42px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin: 0 !important;
}

.wrap-branding section>.container>.inner {
    margin-left: 206px;
    padding-left: 0;
}

.wrap-branding .container-inner-padding {
    padding-left: 30%;
}

.wrap-branding small {
    font-size: 0.75em;
    text-align: center;
    padding-top: 4.2em;
    padding-bottom: 4.2em;
    display: block;

}







.wrap-branding .title-branding {
    margin-bottom: 4em;
    overflow: hidden;

}

.wrap-branding #branding-flow .title-branding {
    margin-bottom: 0;

}

.wrap-branding .title-branding>.en {

    font-size: min(3.75em, 8.0vw);
    line-height: 1.4;
    margin-bottom: 0.1em;
    font-weight: 200;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease-out;
}

.wrap-branding .title-branding>.en.passing {

    font-size: min(2.5em, 6.0vw);

}


.wrap-branding .title-branding>.en::after {
    content: '';
    display: block;
    border-bottom: 1px solid #000000;
    width: 1.4em;
    position: absolute;
    left: calc(100% + 0.2em);
    bottom: 0.36em;
}


.wrap-branding .title-branding>.ja {
    display: block;


}




.wrap-branding .title-branding-paper>.en {

    font-size: 2.5em;
    font-size: min(2.5em, 8vw);
    font-weight: 200;
    line-height: 1.4;
    margin-bottom: 0.2em;
    display: inline-block;
    position: relative;
}


.wrap-branding .title-branding-paper>.en::after {
    content: '';
    display: block;
    border-bottom: 1px solid #000000;
    width: 1.4em;
    position: absolute;
    left: calc(100% + 0.2em);
    bottom: 0.36em;
}


.wrap-branding .title-branding-paper>.ja {
    display: block;

}




.wrap-branding .icon-cross {
    width: 4.4em;
    aspect-ratio: 1 / 1;
    position: relative;
    margin: auto;
}


.wrap-branding .icon-cross::before,
.wrap-branding .icon-cross::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    height: 140%;
    border-right: 1px solid #000000;
}

.wrap-branding .icon-cross::before {
    transform: translate(0, -50%) rotate(-45deg);
}

.wrap-branding .icon-cross::after {
    transform: translate(0, -50%) rotate(45deg);

}




















.wrap-branding .icon-link {
    aspect-ratio: 1 / 1;
    display: inline-block;
    position: relative;
}

.wrap-branding .icon-link::before,
.wrap-branding .icon-link::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    border-bottom: 1px solid #000000;
    right: 0;
    width: 64%;

}

.wrap-branding .icon-link::before {
    transform: rotate(-45deg);
    transform-origin: right bottom;
}

.wrap-branding .icon-link::after {
    transform: rotate(45deg);
    transform-origin: right bottom;
}



#cursor {
    display: none !important; /* カスタムカーソルを無効化 */
    position: fixed;
    aspect-ratio: 1 / 1;
    border-radius: 100vh;
    background-color: rgba(220, 220, 220, 1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
    width: 2.4em;
    left: -2.4em;
    top: -2.4em;
    transform-origin: center;
    border: 1px solid rgba(255, 255, 255, 0);
}

#cursor.flow {
    background-color: rgba(255, 255, 255, 1);
    width: 10.4em;
    left: -10.4em;
    top: -10.4em;
    mix-blend-mode: soft-light;
}


#cursor.in {
    opacity: 1;
}

#cursor.hover {
    width: 6.4em;
    left: -6.4em;
    top: -6.4em;
    background-color: rgba(220, 220, 220, 0);
    border-color: rgba(255, 255, 255, 1);
    mix-blend-mode: exclusion;

}

a {
    position: relative;
}

a .mask-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

.block-branding-link {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 100;
    transform: translate(0, 0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);

}

.block-branding-link.hidden {
    transform: translate(0, 102%);
}

.block-branding-link a {
    background-color: #ED4033;
    color: #ffffff;
    display: block;
    padding: 1.0em 1.2em;
    font-size: 1.5em;
    transition: all 0.2s ease-out;
}

.block-branding-link a:hover {
    background-color: #000000;
}

.block-branding-link a .arrow {
    display: inline-block;
    aspect-ratio: 3.2 / 1;
    height: 0.8em;
    border-bottom: 1px solid #ffffff;
    position: relative;
    margin-left: 0.6em;
    margin-right: 0.6em;
    transition: all 0.2s ease-out;
}

.block-branding-link a:hover .arrow {
    transform: translate(0.6em, 0);
}

.block-branding-link a .arrow::before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    border-right: 1px solid #ffffff;
    transform: rotate(-45deg);
    transform-origin: right bottom;
}

.block-branding-link a .copy {
    display: block;
    font-size: 0.7em;
    padding-bottom: 0.6em;
    padding-top: 0.1em;
}

.block-branding-link a .label {
    display: block;
}

@media all and (max-width:999px) {

    .wrap-branding section>.container>.inner {
        padding-left: 0;
        margin-left: 0;
    }

    html body #wrapper #contents .wrap-branding section>.container {
        padding: 0 30px !important; /* Tablet: 30px padding (SP overrides to 20px) */
    }

}


@media all and (max-width:999px) {
    html body:not(._home) #wrapper header .container {
        width: calc(100% - 60px);
    }

    #cursor {
        display: none;
    }

    .block-branding-link a {
        font-size: 1.2em;
    }

}

@media all and (max-width:499px) {
    html body:not(._home) #wrapper header .container {
        width: calc(100% - 40px);
    }


    .wrap-branding {}

    html body #wrapper #contents .wrap-branding section>.container {
        padding: 0 20px !important; /* SP: 20px padding */
    }

    .block-branding-link {
        left: 0;
        text-align: center;
    }

    .block-branding-link a>.inner {
        display: inline-block;
        text-align: left;
    }


    .block-branding-link a {
        font-size: 1.0em;
    }

}


html body #wrapper #contents {
    -webkit-transform: none;
    transform: none;
    overflow-x: clip;
}



#bg-branding {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
}

#bg-branding>span {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

#bg-branding>span::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
    bottom: 0;
    transition: top 0.48s cubic-bezier(0.33, 1, 0.68, 1);
    transition-delay: 0.48s;

}

#bg-branding>span.bg-brandingscore::before {
    background-color: #f0eeec;
}

#bg-branding>span.bg-ourclient::before {
    background-color: #ffffff;
}

#bg-branding>span.bg-brandingflow::before {
    background-color: #F0EEEC;
}

#bg-branding>span.bg-projectflow::before {
    background-image: url(../images/pflow-bg02.jpg);
    background-size: 1000px auto;
}

#bg-branding>span.bg-project::before {
    background-color: #ffffff;
}

#bg-branding>span.bg-rebranding::before {
    background-color: #F0EEEC;
}

#bg-branding>span.bg-whitepaper::before {
    background-color: #ffffff;
}




#bg-branding>span.show::before {
    top: 0;
    bottom: 0;
    transition-delay: 0s;
}






/* ------------------------------------------------
Memu
------------------------------------------------ */


#branding-menu {
    z-index: 1;
    top: 200px;
    position: sticky !important;
    margin-bottom: 32em;

}

#branding-menu>.container {
    position: relative;

}

.list-branding-menu {
    display: grid;
    float: left;

}



.list-branding-menu li {
    font-size: 0.8em;
    position: relative;
}

.list-branding-menu li a {
    color: #AAAAAA;
    padding-left: 1.4em;
    transition: all 0.1s ease;
    padding-bottom: 0.8em;
    display: block;
}





.list-branding-menu li::before {
    content: '';
    display: block;
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 0;
    border-left: 1px solid #E6E6E6;
    transform: translate(0, 0.9em);
}

.list-branding-menu li:last-child:before {
    display: none;
}

.list-branding-menu li::after {
    content: '';
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    left: 0;
    top: 0.6em;
    background-color: #AAAAAA;
    border-radius: 100vh;
    transition: all 0.1s ease;
}



.list-branding-menu li.current a {
    color: #000000;
}

.list-branding-menu li.current::after {
    background-color: #000000;
}



@media all and (max-width:999px) {
    #branding-menu {
        display: none;

    }

}


@media all and (max-width:999px) {}

@media all and (max-width:499px) {}


/* ABテスト用：ローディング画面を非表示 */
#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    background-color: #ffffff;
    z-index: 100000;
}





/* ------------------------------------------------
Main
------------------------------------------------ */


.wrap-main {
    padding: 0 25px 0 40px;
    z-index: 1;
}


@media (min-width: 500px) and (max-width: 999px) {
    .wrap-main {
        padding: 0 10px 0 30px;
    }
}

@media (max-width: 499px) {
    .wrap-main {
        padding: 0 10px 0 20px;
    }
}


.wrap-main {
    margin-bottom: 28em;
    position: relative;
}


.wrap-main h1 {
    position: fixed;
    bottom: 0;
    padding-bottom: 50px;
}

.wrap-main h1>span {
    display: flex;
}

.wrap-main h1>span img {
    /* transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1); */ /* JSのスクロール更新と干渉するためコメントアウト */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


.wrap-main h1.scroll {
    bottom: 0;
    position: absolute;
}

.wrap-main h1 img {
    width: 9vw;
    height: auto;
    transform-origin: center;
}

.wrap-main h1 img.text01 {
    margin-left: 0;
}

.wrap-main h1 img.text02 {
    margin-left: -1.8%;
}

.wrap-main h1 img.text03 {
    margin-left: -2%;
}

.wrap-main h1 img.text04 {
    margin-left: -2.4%;
}

.wrap-main h1 img.text05 {
    margin-left: -4.8%;
}

.wrap-main h1 img.text06 {
    margin-left: -0.8%;
}

.wrap-main h1 img.text07 {
    margin-left: 0;
}

.wrap-main h1 img.text08 {
    margin-left: -1.6%;
}

.wrap-main h1 img.text09 {
    margin-left: -1.8%;
}

.wrap-main h1 img.text10 {
    margin-left: -0.8%;
}

.wrap-main h1 img.text11 {
    margin-left: -1.4%;
}

.wrap-main h1 img.text12 {
    margin-left: 0%;
}

.wrap-main h1 img.text13 {
    margin-left: -1.0%;
}


.wrap-main h1 .none {
    display: none;
}




.wrap-main .copy {
    padding-top: 10vh;
    /* padding-top: 100svh; */
    padding-bottom: 50vh;
    padding-bottom: 50svh;
    display: flex;
    justify-content: flex-end;
    font-size: 2.8vw;
    line-height: 1.2;
    letter-spacing: -0.05em;

}

.wrap-main .copy p+P {
    margin-top: 0.8em;
}

/* アニメーション用のCSSに統合したためコメントアウト */
/* .wrap-main .copy span {
    display: block;
    transition: all 0.3s ease-out;
}

.wrap-main .copy span.passing {
    opacity: 1.0;
} */

.wrap-main .copy br.sp {
    display: none;
}

.font-16px {
    font-size: 16px;
}






@media all and (max-width:999px) {}


@media all and (max-width:999px) {
    .wrap-main h1 {
        max-width: 60%;
        padding-bottom: 115px;

    }

    .wrap-main h1 img {
        width: 11vw;
    }

    .wrap-main .copy {
        font-size: 4vw;
        padding-top: 8vh;
    }


}

@media all and (max-width:499px) {

    .wrap-main {
        margin-bottom: 14em;
    }

    .wrap-main h1 {
        max-width: 80%;
        padding-bottom: 80px;
    }

    .wrap-main h1 img {
        width: 14vw;
    }

    .wrap-main .copy {
        font-size: 5.4vw;
        padding-top: 6vh;
        padding-bottom: 40vh;
    }


    .wrap-main .copy br.sp {
        display: inline;
    }

    /* Flow03のスマホ専用スタイル */
    .block-branding-flow .item-flow.flow03 {
        padding-top: calc(60px + 6em);
        width: 100%;
        display: block;
        margin-bottom: 120px;
    }

    .block-branding-flow .item-flow.flow03 > .text {
        position: static;
        padding-bottom: 1.5em;
    }

    .paragraph-flow03 {
        width: 100%;
        font-size: 0.8em;
        font-weight: 350;
        line-height: 1.7;
        margin-bottom: 1em;
        max-width: 90vw;
    }

    .block-branding-flow .item-flow.flow03 > .item {
        display: block;
        padding-right: 0;
        margin-bottom: 2.4em;
    }

    .block-branding-flow .item-flow.flow03 > .item img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        display: block;
    }

    .block-branding-flow .item-flow.flow03 > .item > .text {
        font-size: 0.95em;
        line-height: 1.7;
        width: 100%;
        max-width: 100%;
        margin-top: 0.8em;
        text-align: right;
    }

    .block-branding-flow .item-flow.flow03 > .item > .text .name {
        margin-bottom: 0.6em;
    }

    .block-branding-flow .item-flow.flow03 > .item > .text ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4em;
        justify-content: flex-end;
    }

    .block-branding-flow .item-flow.flow03 > .item > .text ul li {
        background-color: #ffffff;
        padding: 0.2em 0.6em;
        font-size: 0.85em;
    }

}

/* ページロード時のシーケンシャルアニメーション（全画面サイズ対応） */
/* ABテスト用：アニメーション無効化 - 最初から全て表示 */

/* アニメーション前の初期状態 - 非表示から開始 */
header .logo {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.wrap-main h1 {
    opacity: 0;
    transform: translateY(20px);
    display: block !important;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.wrap-main .copy .inview-copy {
    display: block;
    opacity: 0 !important;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.block-branding-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animation-completed {
    opacity: 1;
}

/* アニメーション後の状態 */
header .logo.loaded {
    opacity: 1;
    transform: translateY(0);
}

.wrap-main h1.loaded {
    opacity: 1;
    transform: translateY(0);
}

.wrap-main .copy .inview-copy.loaded {
    opacity: 1 !important;
    transform: translateY(0);
}

.block-branding-link.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* スクロール時の表示（既存機能を維持） */
.wrap-main .copy .inview-copy.passing {
    opacity: 1.0 !important;
    transform: translateY(0);
}

/* ローディング中はスクロールを無効化 */
body.loading-animation {
    overflow: hidden;
}

.wrap-main .block-scroll {
    position: fixed;
    right: 1.5em;
    bottom: 10em;
    display: grid;
    font-size: 0.8em;
    gap: 0.6em;
    visibility: visible;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);


}

.wrap-main .block-scroll.hide {
    opacity: 0;
    visibility: hidden;
}

.wrap-main .block-scroll .en {
    writing-mode: vertical-rl;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.wrap-main .block-scroll .line {
    height: 8em;
    position: relative;
}

.wrap-main .block-scroll .line::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    left: 40%;
    border-left: 1px solid #000000;
    animation: scroll 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;

}

@keyframes scroll {
    0% {
        top: 0;
        bottom: 100%;
    }

    40% {
        top: 0;
        bottom: 0;
    }

    80% {
        top: 100%;
        bottom: 0;
    }

    100% {
        top: 100%;
        bottom: 0;
    }
}



@media all and (max-width:999px) {
    .wrap-main .block-scroll {
        bottom: 8em;
    }

}

@media all and (max-width:499px) {
    .wrap-main .block-scroll {
        display: none !important;
    }


}






































/* --------------------------------------------------
Our Client
-------------------------------------------------- */
#our-client {
    padding-bottom: 20em;
    overflow: visible;
}

#our-client .title-branding {
    margin-bottom: 0;
}

/* 古いスタイル（後方互換性のため残す） */
.list-branding-client {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
    filter: saturate(0%);
    margin-top: 6em;
    mix-blend-mode: darken;
}

/* スクロールアニメーション用のスタイル */
.client-logos-scroll-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6em;
    overflow: hidden;
}

.client-logos-scroll-row {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-logos-scroll-row:last-child {
    margin-bottom: 0;
}

.client-logos-track {
    display: flex;
    width: max-content;
    min-width: 200vw;
    animation: scroll-left 180s linear infinite;
}

.client-logos-scroll-row.reverse .client-logos-track {
    animation: scroll-right 180s linear infinite;
}

.client-logos-image {
    height: 100px !important;
    width: auto;
    display: block;
    filter: saturate(0%);
    mix-blend-mode: darken;
    max-width: none;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@media all and (max-width:999px) {}

@media all and (max-width:999px) {
    #our-client {
        padding-bottom: 16em;
    }

    .list-branding-client {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .client-logos-scroll-wrapper {
        margin-top: 4em;
    }
    
    .client-logos-scroll-row {
        margin-bottom: 1.5em;
    }
    
    .client-logos-image {
        height: 60px;
    }
}

@media all and (max-width:499px) {
    #our-client {
        padding-bottom: 12em;
    }

    .list-branding-client {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .client-logos-scroll-wrapper {
        margin-top: 3em;
    }
    
    .client-logos-scroll-row {
        margin-bottom: 1em;
    }
    
    .client-logos-track {
        animation-duration: 60s;
        min-width: 300vw;
    }
    
    .client-logos-scroll-row.reverse .client-logos-track {
        animation-duration: 60s;
    }
    
    .client-logos-image {
        height: auto !important;
        width: 600vw !important;
        max-width: none !important;
        min-width: 150vw !important;
        flex-shrink: 0;
        object-fit: contain;
    }
}

/* 最新事例セクション */
.latest-cases-section {
    margin-top: 6em;
}

.section-divider {
    width: 100%;
    height: 1px;
    background-color: #CCCCCC;
    margin-bottom: 12px;
}

.latest-cases-title {
    font-size: 14px;
    color: #666666;
    margin-bottom: 2em;
    text-align: left;
    font-weight: normal;
}

.list-branding-client-latest {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    filter: saturate(100%);
    background-color: transparent;
    mix-blend-mode: normal;
}

.list-branding-client-latest li {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 4px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.list-branding-client-latest .case-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-branding-client-latest .case-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: none !important;
}

.list-branding-client-latest .case-info {
    padding: 1.2em 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.list-branding-client-latest .case-category {
    font-size: 0.75em;
    color: #000;
    margin-bottom: 0.8em;
    letter-spacing: 0.5px;
}

.list-branding-client-latest .case-title {
    font-size: 16px;
    color: #000;
    line-height: 1.4;
    font-weight: normal;
}

@media all and (max-width:999px) {
    .list-branding-client-latest {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
    }
    
    .latest-cases-section {
        margin-top: 5em;
    }
}

@media all and (max-width:499px) {
    .list-branding-client-latest {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.2em;
    }
    
    .list-branding-client-latest .case-image {
        height: 200px;
    }
    
    .list-branding-client-latest .case-info {
        padding: 0;
    }
    
    .list-branding-client-latest .case-category {
        font-size: 0.7em;
        margin-bottom: 0.6em;
    }
    
    .list-branding-client-latest .case-title {
        font-size: 0.85em;
    }
    
    .latest-cases-section {
        margin-top: 4em;
    }
    
    .latest-cases-title {
        font-size: 1.1em;
        margin-bottom: 1.5em;
    }
    
    .section-divider {
        margin-bottom: 1em;
    }
}























/* --------------------------------------------------
Branding Flow
-------------------------------------------------- */


.wrap-branding #branding-flow .title-branding {
    margin-bottom: 8em;
}


.block-branding-flow {
    padding-bottom: 20em;
}


.block-branding-flow .item-flow {
    margin-bottom: 10em;
}

.block-branding-flow .item-flow:last-child {
    margin-bottom: 0;
}


.block-branding-flow .item-flow .title {
    z-index: 1;
    width: 100%;
    position: sticky;

}

.block-branding-flow .item-flow-wrap {
    display: grid;
    gap: 20em;
}

.block-branding-flow .item-flow-wrap .item {
    position: sticky;
}







.block-branding-flow .item-flow .title.flow02 {
    transform: none; /* Remove transform to eliminate ghost space */
}

.block-branding-flow .item-flow.flow03 {
    margin-top: -4em;
}




.block-branding-flow .item-flow-wrap.flow02 {
    position: relative;
    /* デフォルトで高さを確保（aspect-ratioを使用） */
    aspect-ratio: 992 / 400;
    width: 100%;
}

.block-branding-flow .item-flow-wrap.flow02 .item {
    background-color: #F0EEEC;
    transition: opacity 0.8s ease;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
}

.block-branding-flow .item-flow-wrap.flow02 .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-branding-flow .item-flow-wrap.flow02 .item.passing {
    opacity: 1 !important;
    z-index: 2 !important;
}

.block-branding-flow .item-flow-wrap.flow02 .item:last-child {
    display: none; /* 空の3番目の要素を非表示 */
}

/* PC版（500px以上）のflow02画像サイズとマージン調整 */
@media all and (min-width: 500px) {
    /* flow02全体に下マージンを追加 */
    .item-flow.flow02 {
        margin-bottom: 160px;
    }
    
    /* flow02のラッパーに固定の高さを設定してflow03のめり込みを防ぐ */
    .block-branding-flow .item-flow-wrap.flow02 {
        height: 560px; /* 画像400px + マージン160px */
        aspect-ratio: unset; /* PC版ではaspect-ratioを無効化 */
        margin-bottom: 160px;
    }
    
    /* 画像を.innerと同じ左位置に配置、右に20pxマージン */
    .block-branding-flow .item-flow-wrap.flow02 .item {
        display: block;
        padding-right: 20px; /* 右マージン20px */
    }
    
    /* 画像サイズを992px×400pxに設定 */
    .block-branding-flow .item-flow-wrap.flow02 .item img {
        max-width: calc(100vw - 16em - 20px) !important; /* 画面幅から左右マージンを引いた値を最大幅に */
        height: 400px;
        object-fit: cover;
    }
}

/* PC版（1000px以上）のflow01画像マージン調整 */
@media all and (min-width: 1000px) {
    /* flow01に右マージン20pxを追加 */
    .block-branding-flow .item-flow-wrap.flow01 .item.inview-flow01 {
        padding-right: 20px; /* 右マージン20px */
    }
    
    /* flow03のPC版レイアウト（1000px以上） */
    .block-branding-flow .item-flow.flow03 .item {
        display: flex !important;
        grid-template-columns: unset !important; /* gridを無効化 */
        align-items: flex-start;
        gap: 30px; /* 画像とテキストの間に30px */
        margin-bottom: 40px; /* 各アイテム間に40px */
        width: 100% !important; /* レスポンシブ対応 */
        max-width: 100% !important; /* コンテンツ幅に合わせる */
        padding: 0 !important;
    }
    
    .block-branding-flow .item-flow.flow03 .item img {
        width: 65% !important; /* 親要素の65%幅 */
        height: auto !important; /* 高さは自動調整 */
        max-width: 612px !important; /* 最大幅は612px */
        object-fit: cover;
        flex-shrink: 0; /* 画像サイズを固定 */
        aspect-ratio: 612 / 358; /* アスペクト比を維持 */
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        grid-template-rows: unset !important; /* gridを無効化 */
        font-size: 0.9em;
        max-width: 250px; /* テキストエリアの最大幅を制限 */
        flex-shrink: 0; /* 幅を固定 */
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text .name {
        margin-bottom: 0.8em;
        font-size: 1em;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text ul {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.5em 0.6em; /* 縦間隔0.5em、横間隔0.6em */
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text ul li {
        background-color: #ffffff;
        padding: 0.2em 0.6em;
        font-size: 0.85em;
        white-space: nowrap; /* テキストを折り返さない */
        line-height: 1.6;
    }
}

/* 1000px～1150px: モバイル版画像を表示 */
@media all and (min-width: 1000px) and (max-width: 1150px) {
    /* flow04のPC版レイアウトだが、画像はモバイル版 */
    .item-flow-output {
        align-items: flex-start !important; /* 左揃え */
    }
    
    /* モバイル版画像を表示 */
    .item-flow-output .pc-only {
        display: none !important;
    }
    
    .item-flow-output .mobile-only {
        display: block !important;
    }
    
    /* before.png（モバイル版）のサイズ調整 */
    .item-flow-output .before:first-child .mobile-only {
        width: 100% !important;
        max-width: 600px !important;
        height: auto !important;
    }
}

/* 1151px以上: PC版画像を表示 */
@media all and (min-width: 1151px) {
    /* flow04のPC版レイアウト：画像を左揃えに */
    .item-flow-output {
        align-items: flex-start !important; /* 左揃え */
    }
    
    /* PC版では.pc-onlyを表示、.mobile-onlyを非表示 */
    .item-flow-output .pc-only {
        display: block !important;
    }
    
    .item-flow-output .mobile-only {
        display: none !important;
    }
    
    /* before-pc.pngのサイズ指定 */
    .item-flow-output .before:first-child .pc-only {
        width: 875px !important;
        height: auto !important;
        max-width: 875px !important;
    }
    
    /* item-flow-pc.pngのサイズ指定 */
    .item-flow-output .before:nth-child(2) .pc-only {
        width: 138px !important;
        height: 31px !important;
        max-width: 138px !important;
    }
}


.block-branding-flow .item-flow-wrap.flow03 .item {
    background-color: #F0EEEC;
}

.block-branding-flow .item-flow-wrap.flow03 .item:nth-child(n + 2) {
    opacity: 0;
}

.block-branding-flow .item-flow-wrap.flow03 .item:nth-child(n + 2).passing {
    opacity: 1;
    transition: all 0.4s ease;
}

.block-branding-flow .item-flow-wrap.flow03 .item:last-child {
    height: 50vh;
}









.block-branding-flow .item-flow h3 {
    position: relative;
    z-index: 10;
    margin-bottom: 1.2em;
}

.block-branding-flow .item-flow h3 .en {
    display: block;
}

.block-branding-flow .item-flow h3 .ja {
    display: block;
    font-size: min(2.8em, 9vw);
}





@media all and (max-width:499px) {
    /* Flow 02のスマホ用スタイル */
    .block-branding-flow .item-flow-wrap.flow02 {
        /* aspect-ratioは基本スタイルで設定済み */
        margin-bottom: 12em;
    }

    .block-branding-flow .item-flow-wrap.flow02 .item {
        /* width, heightは基本スタイルで設定済み */
        padding-right: 0 !important;
    }

    .block-branding-flow .item-flow-wrap.flow02 .item img {
        /* width, height, object-fitは基本スタイルで設定済み */
    }
}



@media all and (max-width:999px) {

    .block-branding-flow {
        padding-bottom: 16em;
    }


    .block-branding-flow .item-flow {
        margin-bottom: 12em;
    }


    .wrap-branding #branding-flow .title-branding {
        margin-bottom: 6em;
    }


    .block-branding-flow .item-flow .title {
        top: 10em;

    }

    .block-branding-flow .item-flow-wrap {
        gap: 16em;
    }

    .block-branding-flow .item-flow-wrap .item {
        top: 10em;
    }



    .block-branding-flow .item-flow .title.flow02 {
        transform: translate(0, -6.4vw);
    }

    .block-branding-flow .item-flow.flow03 {
        margin-top: -260px;
    }




}

@media all and (max-width:499px) {



    .wrap-branding #branding-flow .title-branding {
        margin-bottom: 4em;
    }

    .block-branding-flow {
        padding-bottom: 12em;
    }

    .block-branding-flow .item-flow {
        margin-bottom: 3em;
    }


    .block-branding-flow .item-flow h3 .en {
        font-size: 0.8em;
    }



    .block-branding-flow .item-flow .title {
        top: 6em;

    }

    .block-branding-flow .item-flow-wrap {
        gap: 10em;
    }

    .block-branding-flow .item-flow-wrap .item {
        top: 6em;
    }



}









/* Flow 01はJavaScriptで制御 */

.item-flow.flow01 h3 {}

.item-flow.flow01 p {
    position: relative;
    font-size: 0.8em;
    font-weight: 350;
    z-index: 10;
}







.item-flow01 {
    display: grid;
    grid-template-columns: 24em 1fr 24em;
    gap: 3em;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    position: relative;
}


.item-flow01 .icon {
    position: relative;
    z-index: 2;
}

.item-flow01 .icon::before,
.item-flow01 .icon::after {
    content: '';
    display: block;
    width: 6em;
    border-bottom: 1px solid #000000;
    position: absolute;
    left: 50%;
    top: 50%;
}

.item-flow01 .icon::before {
    transform: translate(-50%, 0) rotate(45deg);
}

.item-flow01 .icon::after {
    transform: translate(-50%, 0) rotate(-45deg);

}


.item-flow01 .circle {
    aspect-ratio: 1;
    display: flex;
    text-align: center;
    position: relative;
}


.item-flow01 .circle::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 100vh;
    transform: scale(1.2);
}



.item-flow01 .circle>.inner {
    margin: auto;
    z-index: 1;
    position: relative;
}

.item-flow01 .circle .title {
    font-size: 2em;
    line-height: 1.2;
    margin-bottom: 0.8em;

}

.item-flow01 .circle .title .br.sp {
    display: none;
}


.item-flow01 .circle .list {
    display: flex;
    justify-content: center;
    text-align: left;
    gap: 2.0em;
}

.item-flow01 .circle .list ul {
    list-style: circle;
    font-size: 0.8em;
}

.item-flow01 .circle.left {
    transform: translate(0, 0);
}

.item-flow01 .circle.right {
    transform: translate(0, 0);
}

.item-flow01 .circle.left,
.item-flow01 .circle.right {
    opacity: 1;
}

.item.passing .item-flow01 .circle.left,
.item.passing .item-flow01 .circle.right {
    transform: translate(0, 0);
    opacity: 1;
}

.item-flow01-text {
    opacity: 1;
    transform: translate(0, 0);
    font-weight: 350;
}

.item.passing .item-flow01-text {
    opacity: 1;
    transform: translate(0, 0);
}



@media all and (max-width:999px) {
    .item-flow01 {
        grid-template-columns: 23em 1fr 23em;
    }

}


@media all and (max-width:999px) {

    .item-flow01 .icon::before,
    .item-flow01 .icon::after {
        width: 10em;
        max-width: 12vw;
    }




    .item-flow01 {
        grid-template-columns: 1fr;
        gap: 0;
        display: block;
        height: 44em;
        max-height: 92vw;
    }


    .item-flow01 .circle {
        aspect-ratio: 1;
        width: 22em;
        max-width: 46vw;
    }


    .item-flow01 .circle.left {

        height: 22em;
        max-height: 46vw;
    }

    .item-flow01 .circle.right {
        height: 22em;
        max-height: 46vw;
        position: absolute;
        right: 0;
    }


    .item-flow01 .circle .title {
        font-size: min(2em, 6vw);
        margin-bottom: 0.6em;
    }






}

@media all and (max-width:499px) {



    .item-flow01 {
        height: 32em;
    }


    .item-flow01 .circle {
        width: 16em;
    }


    .item-flow01 .circle.left {
        height: 16em;
        transform: translate(0, 0) !important;
        opacity: 1 !important;
    }

    .item-flow01 .circle.right {
        height: 16em;
        transform: translate(0, 0) !important;
        opacity: 1 !important;
    }



    .item-flow01 .circle .title .br.sp {
        display: inline;
    }


    .item-flow01 .circle .list {
        column-gap: 1.2em;
    }

    .item-flow01 .circle .list ul {
        font-size: 0.6em;
    }

}







.item-flow.flow02 h3 {
    margin-bottom: 1.2em;
    position: relative;

}

/* .item-flow.flow01 p {
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 350 !important;
    font-size: 13px !important;
    line-height: 22px !important;
    letter-spacing: 0.2em !important;
} */

.item-flow.flow02 p {
    font-size: 0.8em;
    font-weight: 350;
}



@media all and (max-width:999px) {}


@media all and (max-width:999px) {}

@media all and (max-width:499px) {}


/* Flow 03の基本スタイル（499px以下のスマホのみに適用） */
@media all and (max-width: 499px) {
    .item-flow.flow03 .item {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 1.8em;
    }

    .item-flow.flow03 .item>.text {
        font-size: 0.8em;
        display: grid;
        grid-template-rows: 1fr auto;
    }

    .item-flow.flow03 .item>.text .name {
        margin-bottom: 0.6em;
    }

    .item-flow.flow03 .item>.text ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6em;
    }

    .item-flow.flow03 .item>.text ul li {
        background-color: #ffffff;
        padding: 0 0.4em;
    }
}



/* 500px〜999px: タブレット版レイアウト（flex）を適用 */
@media all and (min-width: 500px) and (max-width: 999px) {
    .block-branding-flow .item-flow.flow03 .item {
        display: flex !important;
        grid-template-columns: unset !important;
        align-items: flex-start;
        gap: 20px; /* タブレットでは少し狭く */
        margin-bottom: 40px;
        width: fit-content !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .block-branding-flow .item-flow.flow03 .item img {
        width: auto !important;
        max-width: 60% !important;
        height: auto !important;
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        grid-template-rows: unset !important;
        font-size: 0.9em;
        max-width: 35% !important;
        flex-shrink: 0;
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text .name {
        margin-bottom: 0.8em;
        font-size: 1em;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text ul {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.5em 0.6em;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .block-branding-flow .item-flow.flow03 .item > .text ul li {
        background-color: #ffffff;
        padding: 0.2em 0.6em;
        font-size: 0.85em;
        white-space: nowrap;
        line-height: 1.6;
    }
}

@media all and (max-width:999px) {}


@media all and (max-width:999px) {}

@media all and (max-width:499px) {}





.item-flow.flow04 h3 .en {
    font-weight: bold;
    margin-bottom: 0.2em;
}

.item-flow.flow04 h3 .ja {
    background-color: #000000;
    color: #ffffff;
    display: inline-block;
    line-height: 1;
    padding: 0 0.1em;
}


.item-flow-output {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 常に左揃え */
    gap: 2em;
    padding: 2em 0;
}

/* デフォルトではモバイル版画像を表示 */
.item-flow-output .pc-only {
    display: none;
}

.item-flow-output .mobile-only {
    display: block;
}

/* flow04画像のカラー逆転（スクロール連動） */
.item-flow-output img {
    transition: filter 0s ease;
}

/* 赤 (#ED4033) → 黒 (#000000) */
.item-flow-output .before img {
    filter: brightness(1);
}
.item-flow-output.passing .before img {
    filter: brightness(0);
}

/* 黒 (#000000) → 赤 (#ED4033) */
.item-flow-output .after img {
    /* ターゲットの赤色フィルタをあらかじめ掛けておき、明るさ0（黒）で待機 */
    filter: invert(42%) sepia(89%) saturate(4787%) hue-rotate(344deg) brightness(0) contrast(95%);
}
.item-flow-output.passing .after img {
    /* 明るさを1に戻すことで純粋に黒→赤へ遷移 */
    filter: invert(42%) sepia(89%) saturate(4787%) hue-rotate(344deg) brightness(1) contrast(95%);
}

/* Flow 04 - スクロールロック無効、静的表示 */
.block-branding-flow .item-flow.flow04 .title {
    position: static !important;
}

.block-branding-flow .item-flow-wrap.flow04 .item {
    position: static !important;
}



.item-flow-output .before img {
    width: 100%;
    max-width: 600px;
    height: auto;
}



.item-flow-output .arrow-text {
    font-size: 2em;
    color: #ED4033;
    transform: rotate(90deg);
    white-space: nowrap;
}



.item-flow-output .after img {
    width: 100%;
    max-width: 600px;
    height: auto;
}


@media all and (max-width:999px) {}


@media all and (max-width:999px) {}

@media all and (max-width:499px) {
    .item-flow.flow04 h3 .en {
        font-size: 0.8em;
    }

    .item-flow-output {
        gap: 1.5em;
        padding: 1.5em 0;
        align-items: flex-start;
    }

    .item-flow-output .before:first-child img {
        max-width: 240px;
    }

    .item-flow-output .arrow-text {
        font-size: 1.5em;
    }

}




/* ガイドブックプレゼントセクション 基本スタイル（499px以下のスマホ） */
@media all and (max-width: 499px) {
    #guidebook-present {
        background-color: #ffffff;
        padding: 60px 0;
    }

    .guidebook-container {
        padding: 0 0;
    }

    .guidebook-content {
        background-color: #F0EEEC;
        padding: 30px 20px;
    }

    .guidebook-text {
        text-align: left;
        margin-bottom: 30px;
    }

    .guidebook-text .text-line1 {
        font-family: 'A+mfCv-東京シティフォント コンデンス EL StdN', NoChattering;
        font-weight: 200;
        font-size: 30px;
        line-height: 1.5;
        margin: 0;
        color: #000000;
        margin-bottom: 10px;
    }

    .text-line2,
    .guidebook-text .text-line3 {
        font-family: 'A P-OTF UD ShinGoCon80 Pr6N', "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
        font-weight: 600;
        font-size: 30px;
        line-height: 1.1;
        margin: 0;
        color: #000000;
        letter-spacing: -0.08em;
        transform: scale(0.9, 1);
        transform-origin: top left;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .guidebook-text .text-present {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: 23px;
        line-height: 1.5;
        margin: 0;
        color: #ED4033;
        margin-top: 10px;
        border-bottom: 2px solid #ED4033;
        display: inline-block;
        letter-spacing: -0.03em;
    }

    .guidebook-image {
        text-align: center;
        margin-bottom: 30px;
    }

    .guidebook-image img.sp-only {
        display: block;
        width: 100%;
        max-width: 316px;
        height: auto;
    }

    .guidebook-image img.pc-only {
        display: none;
    }

    .guidebook-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .guidebook-buttons a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 40px;
        border-radius: 50px;
        text-decoration: none;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 0.03em;
        transition: opacity 0.3s ease;
        position: relative;
    }

    .guidebook-buttons a:hover {
        opacity: 0.8;
    }

    /* SP対応：タップ時の色変更 */
    .guidebook-buttons a:active {
        background-color: #000000 !important;
        opacity: 1;
    }

    .btn-download {
        background-color: #ED4033;
        color: #ffffff;
    }

    .btn-contact {
        background-color: #999999;
        color: #ffffff;
    }

    .btn-icon {
        width: 32px;
        height: 32px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: 4px;
    }

    .btn-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .btn-text {
        flex: 1;
        text-align: center;
        padding: 0 16px;
    }

    .btn-arrow {
        font-size: 24px;
        line-height: 1;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -8px;
        margin-right: 21.38px;
    }
}

/* 500px～999px：タブレット版（横並び・可変フォント） */
@media all and (min-width: 500px) and (max-width: 999px) {
    #guidebook-present {
        background-color: #ffffff;
        padding: 80px 0;
    }

    .guidebook-container {
        padding: 0 0;
        position: relative;
    }

    .guidebook-content {
        background-color: #F0EEEC;
        padding: 60px 40px;
        text-align: left;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .guidebook-text {
        text-align: left;
        margin-bottom: 30px;
        width: 100%;
        max-width: 50%;
        position: relative;
        z-index: 3;
    }

    .guidebook-text .text-line1 {
        font-family: 'A+mfCv-東京シティフォント コンデンス EL StdN', NoChattering;
        font-weight: 200;
        font-size: clamp(28px, 3.5vw, 56px);
        line-height: 1.5;
        margin: 0;
        color: #000000;
        margin-bottom: 8px;
        white-space: nowrap;
    }

    .text-line2,
    .guidebook-text .text-line3 {
        font-family: 'A P-OTF UD ShinGoCon80 Pr6N', "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
        font-weight: 600;
        font-size: clamp(26px, 3.3vw, 54px);
        line-height: 1.1;
        margin: 0;
        color: #000000;
        letter-spacing: -0.12em;
        transform: scale(0.9, 1);
        transform-origin: top left;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        white-space: nowrap;
    }

    .guidebook-text .text-present {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: clamp(22px, 2.8vw, 37px);
        line-height: 1.5;
        margin: 0;
        color: #ED4033;
        margin-top: 12px;
        border-bottom: 2px solid #ED4033;
        display: inline-block;
        letter-spacing: -0.03em;
        white-space: nowrap;
    }

    .guidebook-image {
        position: absolute;
        top: 60px;
        right: 20px;
        width: auto;
        max-width: 45%;
        text-align: center;
        z-index: 2;
    }

    .guidebook-image img.sp-only {
        display: none;
    }

    .guidebook-image img.pc-only {
        display: block;
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    .guidebook-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-top: 0;
        width: 100%;
        position: relative;
        z-index: 3;
    }

    .guidebook-buttons a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: auto;
        flex: 1;
        height: 44px;
        border-radius: 50px;
        text-decoration: none;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.02em;
        transition: background-color 0.3s ease, opacity 0.3s ease;
        position: relative;
        white-space: nowrap;
    }

    .guidebook-buttons a:hover,
    .guidebook-buttons a:active {
        background-color: #000000 !important;
        opacity: 1;
    }

    .btn-download {
        background-color: #ED4033;
        color: #ffffff;
    }

    .btn-contact {
        background-color: #999999;
        color: #ffffff;
    }

    .btn-icon {
        width: 32px;
        height: 32px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: 4px;
    }

    .btn-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        transition: filter 0.3s ease;
    }

    .guidebook-buttons a:hover .btn-icon img,
    .guidebook-buttons a:active .btn-icon img {
        filter: brightness(0);
    }

    .btn-text {
        flex: 1;
        text-align: center;
        padding: 0 10px;
    }

    .btn-arrow {
        font-size: 20px;
        line-height: 1;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -5px;
        margin-right: 14px;
    }
}

/* 1000px以上：PC版スタイルを適用 */
@media all and (min-width: 1000px) {
    #guidebook-present {
        background-color: #ffffff;
        padding: 120px 0;
    }

    .guidebook-container {
        padding: 0 0;
    }

    .guidebook-content {
        background-color: #F0EEEC;
        width: 100%;
        height: 520px;
        padding: 60px 35px 60px 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
    }

    .guidebook-text {
        text-align: left;
        margin-bottom: 0;
    }

    .guidebook-text .text-line1 {
        font-family: 'A+mfCv-東京シティフォント コンデンス EL StdN', NoChattering;
        font-weight: 200;
        font-size: 56px !important;
        line-height: 1.5;
        margin: 0;
        color: #000000;
        margin-bottom: 10px;
    }

    .text-line2,
    .guidebook-text .text-line3 {
        font-family: 'A P-OTF UD ShinGoCon80 Pr6N', "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
        font-weight: 600;
        font-size: 54px !important;
        line-height: 1.1;
        margin: 0;
        color: #000000;
        letter-spacing: -0.08em;
        transform: scale(0.9, 1);
        transform-origin: top left;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .guidebook-text .text-present {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: 37px !important;
        line-height: 1.5;
        margin: 0;
        color: #ED4033;
        margin-top: 10px;
        border-bottom: 2px solid #ED4033;
        display: inline-block;
        letter-spacing: -0.03em;
    }

    .guidebook-image {
        position: absolute;
        top: 120px !important;
        right: 0px !important;
        margin-bottom: 0;
        text-align: center;
        width: 35%;
        max-width: 412px;
        min-width: 120px; /* 最小幅を120pxに */
    }

    .guidebook-image img.sp-only {
        display: none;
    }

    .guidebook-image img.pc-only {
        display: block;
        width: 100% !important; /* コンテナに合わせて可変 */
        height: auto !important; /* アスペクト比を維持 */
        max-width: 412px !important; /* 最大幅412px */
        min-width: 120px !important; /* 最小幅120px */
    }

    .guidebook-buttons {
        flex-direction: row;
        gap: 28px;
        margin-top: auto;
        width: 100%;
        display: flex;
    }

    .guidebook-buttons a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 52px;
        border-radius: 50px;
        text-decoration: none;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: 22px;
        letter-spacing: 0.03em;
        transition: background-color 0.3s ease, opacity 0.3s ease;
        position: relative;
    }

    .guidebook-buttons a:hover,
    .guidebook-buttons a:active {
        background-color: #000000 !important;
        opacity: 1;
    }

    .btn-download {
        background-color: #ED4033;
        color: #ffffff;
    }

    .btn-contact {
        background-color: #999999;
        color: #ffffff;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: 4px;
    }

    .btn-icon img {
        width: 20px;
        height: 24px;
        object-fit: contain;
        transition: filter 0.3s ease;
    }

    .guidebook-buttons a:hover .btn-icon img,
    .guidebook-buttons a:active .btn-icon img {
        filter: brightness(0);
    }

    .btn-text {
        flex: 1;
        text-align: center;
        padding: 0 16px;
    }

    .btn-arrow {
        font-size: 24px;
        line-height: 1;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -8px;
        margin-right: 21.38px;
    }
}

/* 1000px～1279px：画像位置を可変に */
@media all and (min-width: 1000px) and (max-width: 1279px) {
    .guidebook-image {
        /* 1000px: top=210px, 1279px: top=120px → 線形補間 */
        top: calc(210px - (100vw - 1000px) * 90 / 279) !important;
        /* right は常に0px */
        right: 0px !important;
    }
}



/* --------------------------------------------------
Project Flow
-------------------------------------------------- */

#project-flow {
    padding-bottom: 20em;
}


.block-project-flow {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 10px;
    margin-top: 2.4em;
}


.block-project-flow>.hd.flow1 {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
}

.block-project-flow>.hd.flow2 {
    grid-column: 4 / 9;
    grid-row: 1 / 2;
}

.block-project-flow>.title.step1 {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.block-project-flow>.text.step1.list-part {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}
.block-project-flow>.text.step1.detail-part {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}
.block-project-flow>.text.step1 {
    border-left: 1px solid #000000;
}

.block-project-flow>.title.step2 {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.block-project-flow>.text.step2.list-part {
    grid-column: 3 / 5;
    grid-row: 3 / 4;
}
.block-project-flow>.text.step2.detail-part {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
}

.block-project-flow>.title.step3 {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
}

.block-project-flow>.text.step3.list-part {
    grid-column: 5 / 7;
    grid-row: 3 / 4;
}
.block-project-flow>.text.step3.detail-part {
    grid-column: 5 / 7;
    grid-row: 4 / 5;
}

.block-project-flow>.title.step4 {
    grid-column: 7 / 9;
    grid-row: 2 / 3;
}

.block-project-flow>.text.step4.list-part {
    grid-column: 7 / 9;
    grid-row: 3 / 4;
}
.block-project-flow>.text.step4.detail-part {
    grid-column: 7 / 9;
    grid-row: 4 / 5;
}
.block-project-flow>.text.step4 {
    border-right: 1px solid #000000;
}



.block-project-flow>.hd {
    text-align: center;
    position: relative;
    padding: 0.4em 0;
}

.block-project-flow>.hd::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid #000000;
}

.block-project-flow>.hd.flow1 {
    padding-right: 0.5em;
}

.block-project-flow>.hd.flow1::before {
    right: 0.5em;
}

.block-project-flow>.hd.flow2 {
    padding-left: 0.4em;
}

.block-project-flow>.hd.flow2::before {
    left: 0.4em;
}

.block-project-flow>.hd.flow1::after {
    content: '▼';
    position: absolute;
    font-size: 0.6em;
    left: 100%;
    top: 50%;
    transform: translate(0, -50%) rotate(-90deg);
}




.block-project-flow>.title {
    position: relative;
    padding: 0.8em 1.2em;
}

.block-project-flow>.title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #787878;
    mix-blend-mode: multiply;
}


.block-project-flow>.title>.inner {
    position: relative;
    color: #ffffff;
}

.block-project-flow>.title>.inner>.number {
    display: block;
    font-size: 0.8em;
}

.block-project-flow>.text {
    font-size: 0.8em;
    padding: 1.0em 1.4em;
    position: relative;
}

.block-project-flow>.text>.arrow li::after {
    content: '▼';
    display: block;
    font-size: 0.75em;

}

.block-project-flow>.text>.arrow li:last-child::after {
    display: none;

}

.block-project-flow>.text>.disc {
    list-style: disc;
    margin-top: 0.4em;
}


.block-project-flow>.text.step1::after,
.block-project-flow>.text.step2::after,
.block-project-flow>.text.step3::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    border-right: 1px solid #000000;
}




@media all and (max-width:999px) {}


@media all and (max-width:999px) {
    #project-flow {
        padding-bottom: 16em;
    }

}

/* ステップ区切り線のスタイル */
.step-divider {
    width: 100%;
    height: 1px;
    background-color: #fff;
    margin: 20px 0;
}

.step-detail {
    margin-top: auto;
    color: #000000;
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 1em;
}

/* プロジェクトフロー比較表のスタイル */
#project-flow .comparison-table {
    margin-top: 60px;
    width: 100%;
    clear: both;
}

#project-flow .comparison-table h3 {
    color: #000;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: normal;
}

#project-flow .comparison-table table {
    border-collapse: collapse !important;
    width: 100% !important;
    max-width: none !important;
    background-color: white !important;
    border: none !important;
    font-family: inherit;
    table-layout: fixed !important;
    margin: 0 !important;
    display: table !important;
}

#project-flow .comparison-table th,
#project-flow .comparison-table td {
    border-top: 1px solid #999 !important;
    border-bottom: 1px solid #999 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 8px 6px !important;
    text-align: center !important;
    vertical-align: middle !important;
    height: 45px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

/* ヘッダー行のスタイル */
#project-flow .comparison-table thead th {
    background-color: #DCDCDC !important;
    color: #333 !important;
    font-weight: normal !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    height: 50px !important;
    border-top: 1px solid #999 !important;
}

#project-flow .comparison-table thead th:first-child {
    background-color: #787878 !important;
    color: #FFF !important;
    font-weight: normal !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
}

/* 左列（評価軸）のスタイル */
#project-flow .comparison-table tbody td:first-child {
    background-color: #787878 !important;
    color: #FFF !important;
    font-weight: normal !important;
    text-align: center !important;
    font-size: 1rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
}

/* The Company列のスタイル */
#project-flow .comparison-table tbody td:nth-child(2) {
    background-color: #fff !important;
    color: #000 !important;
    white-space: nowrap !important;
}

#project-flow .comparison-table thead th:nth-child(2) {
    background-color: #fff !important;
    color: #000 !important;
    white-space: nowrap !important;
}

/* その他の列のスタイル */
#project-flow .comparison-table tbody td:nth-child(3),
#project-flow .comparison-table tbody td:nth-child(4),
#project-flow .comparison-table tbody td:nth-child(5) {
    background-color: #DCDCDC !important;
    font-size: 0.7rem !important;
    color: #333 !important;
    white-space: nowrap !important;
}

/* 列幅の設定 */
#project-flow .comparison-table th:nth-child(1),
#project-flow .comparison-table td:nth-child(1) {
    width: 18% !important;
}

#project-flow .comparison-table th:nth-child(2),
#project-flow .comparison-table td:nth-child(2) {
    width: 22% !important;
}

#project-flow .comparison-table th:nth-child(3),
#project-flow .comparison-table td:nth-child(3) {
    width: 20% !important;
}

#project-flow .comparison-table th:nth-child(4),
#project-flow .comparison-table td:nth-child(4) {
    width: 18% !important;
}

#project-flow .comparison-table th:nth-child(5),
#project-flow .comparison-table td:nth-child(5) {
    width: 22% !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #project-flow .comparison-table table {
        min-width: 700px !important;
    }
    
    #project-flow .comparison-table th,
    #project-flow .comparison-table td {
        font-size: 12px !important;
        padding: 6px 4px !important;
    }
}

@media all and (max-width:499px) {

	/* 比較表：評価軸のフォントサイズを統一 */
	#project-flow .comparison-table tbody td:first-child {
		font-size: 12px !important;
	}


    #project-flow {
        padding-bottom: 12em;
    }


    .block-project-flow {
        grid-template-columns: auto 1fr;
        grid-template-rows: repeat(12, auto);
        row-gap: 0;
    }

    .block-project-flow > .title {
        margin-top: 10px;
    }

    .block-project-flow > .title.step1 {
        margin-top: 0;
    }

    .block-project-flow > .text.list-part {
        padding-bottom: 0;
    }

    .block-project-flow > .text.detail-part {
        padding-top: 0;
    }


    .block-project-flow>.hd.flow1 {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
    }

    .block-project-flow>.hd.flow2 {
        grid-column: 1 / 2;
        grid-row: 4 / 13;
    }

    .block-project-flow>.title.step1 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .block-project-flow>.text.step1.list-part {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .block-project-flow>.text.step1.detail-part {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .block-project-flow>.title.step2 {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    .block-project-flow>.text.step2.list-part {
        grid-column: 2 / 3;
        grid-row: 5 / 6;
    }
    .block-project-flow>.text.step2.detail-part {
        grid-column: 2 / 3;
        grid-row: 6 / 7;
    }
    .block-project-flow>.text.step2 {
        border-left: 1px solid #000000;
    }

    .block-project-flow>.title.step3 {
        grid-column: 2 / 3;
        grid-row: 7 / 8;
    }

    .block-project-flow>.text.step3.list-part {
        grid-column: 2 / 3;
        grid-row: 8 / 9;
    }
    .block-project-flow>.text.step3.detail-part {
        grid-column: 2 / 3;
        grid-row: 9 / 10;
    }
    .block-project-flow>.text.step3 {
        border-left: 1px solid #000000;
    }

    .block-project-flow>.title.step4 {
        grid-column: 2 / 3;
        grid-row: 10 / 11;
    }

    .block-project-flow>.text.step4.list-part {
        grid-column: 2 / 3;
        grid-row: 11 / 12;
    }
    .block-project-flow>.text.step4.detail-part {
        grid-column: 2 / 3;
        grid-row: 12 / 13;
    }
    .block-project-flow>.text.step4 {
        border-left: 1px solid #000000;
    }



    .block-project-flow>.hd {
        padding: 0 0.4em !important;
        writing-mode: vertical-rl;
        letter-spacing: 0.2em;
    }

    .block-project-flow>.hd.flow1 {
        padding-top: 1.6em !important;
        padding-bottom: 0 !important;
    }

    .block-project-flow>.hd.flow1::before {
        right: 0;
        bottom: -1.6em;
    }

    .block-project-flow>.hd.flow2 {
        padding-top: 2.4em !important;
    }

    .block-project-flow>.hd.flow2::before {
        left: 0;
        top: 2.4em;
    }

    .block-project-flow>.hd.flow1::after {
        content: '▼';
        left: 50%;
        top: calc(100% + 3.2em);
        transform: translate(-50%, 0) rotate(0deg);
    }




    .block-project-flow>.text.step1::after,
    .block-project-flow>.text.step2::after,
    .block-project-flow>.text.step3::after {
        right: 0px;
    }

    /* テーブルコンテナ */
    .comparison-table {
        position: relative;
        padding-bottom: 30px;
    }

    /* 横スクロールバーを外側に配置 */
    .comparison-table .simplebar-track.simplebar-horizontal {
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        height: 30px;
        background: transparent;
        padding-top: 20px;
    }

    .comparison-table-wrapper {
        position: relative;
        padding-bottom: 30px;
        height: 310px;
        overflow: visible;
    }

    /* スクロールバーのつまみ */
    .comparison-table .simplebar-scrollbar::before {
        background-color: #787878;
        border-radius: 0px;
    }

    /* 横スクロールのつまみ調整 */
    .comparison-table .simplebar-track.simplebar-horizontal .simplebar-scrollbar::before {
        height: 10px;
        margin-top: 20px;
    }
    
    #project-flow .comparison-table th,
    #project-flow .comparison-table td {
        font-size: 11px !important;
        padding: 5px 3px !important;
    }

}



/* --------------------------------------------------
Project
-------------------------------------------------- */

#project {
    padding-bottom: 20em;

}





.block-branding-project {
    margin-top: 10em;
    display: grid;
    gap: 10em;
}

.block-branding-project>.project h3 {
    margin-bottom: 1.6em;
    line-height: 1.4;
    display: inline-block;
}

.block-branding-project>.project h3::before {
    color: #8E8E8E;
    font-size: 0.9em;
}

.block-branding-project>.project:nth-child(1) h3:before {
    content: 'Case Study 01';
}

.block-branding-project>.project:nth-child(2) h3:before {
    content: 'Case Study 02';
}

.block-branding-project>.project:nth-child(3) h3:before {
    content: 'Case Study 03';
}

.block-branding-project>.project:nth-child(4) h3:before {
    content: 'Case Study 04';
}

.block-branding-project>.project:nth-child(5) h3:before {
    content: 'Case Study 05';
}

.block-branding-project>.project:nth-child(6) h3:before {
    content: 'Case Study 06';
}

.block-branding-project>.project:nth-child(7) h3:before {
    content: 'Case Study 07';
}

.block-branding-project>.project:nth-child(8) h3:before {
    content: 'Case Study 08';
}

.block-branding-project>.project h3>.line {
    display: inline-block;
    width: 1.4em;
    border-bottom: 1px solid #AAAAAA;
    transform: translate(0, -0.3em);
    margin-left: 0.6em;
    margin-right: 0.6em;
}

.block-branding-project>.project h3>.inner {
    font-size: 1.5em;
    display: inline-block;
    padding-top: 0.2em;
}






.block-branding-rebranding-photo.photo-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8em;
}



.block-branding-rebranding-text {
    display: grid;
    grid-template-columns: auto 1fr;
    margin-top: 3.4em;
    margin-bottom: 3.4em;
}

.block-branding-rebranding-text>.title {
    font-size: 1.4em;
    width: 8em;
}

.block-branding-rebranding-text>.text {
    font-size: 0.8em;
}


.block-branding-rebranding-link {
    display: flex;
    justify-content: flex-end;
    text-align: right;
    margin-top: 60px;
}

.block-branding-rebranding-link a {
    font-size: 1.2em;
    font-weight: 350;
    padding-bottom: 0.4em;
    position: relative;
    display: block;
}

.block-branding-rebranding-link a>.icon-link {
    width: 0.7em;
    margin-left: 0.6em;
    transition: all 0.3s ease;
}

.block-branding-rebranding-link a:hover>.icon-link {
    transform: translate(0.3em, 0);
}


.block-branding-rebranding-link a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 100%;
    border-bottom: 1px solid #000000;
    transition: all 0.3s ease;
}

.block-branding-rebranding-link a:hover:after {
    right: -0.6em;
}



@media all and (max-width:999px) {}


@media all and (max-width:999px) {
    #project {
        padding-bottom: 16em;

    }

    .block-branding-project {
        margin-top: 8em;
    }

}

@media all and (max-width:499px) {



    #project {
        padding-bottom: 12em;

    }


    .block-branding-project {
        margin-top: 6em;
    }




    .block-branding-project>.project h3>.inner {
        display: block;
    }






    .block-branding-rebranding-photo.photo-small {
        gap: 1.0em;
    }

    .block-branding-rebranding-text {
        grid-template-columns: 30% 1fr;
    }

    .block-branding-rebranding-link a {
        font-size: 1.0em;
    }




}




/* Case Study（Project）のスマホ専用スタイル */
@media all and (max-width:499px) {

    /* Projectセクション全体 */
    #project {
        padding-bottom: 12em;
    }

    .block-branding-project {
        margin-top: 6em;
        gap: 8em;
    }

    .block-branding-project > .project h3 > .inner {
        display: block;
        font-size: 1.3em;
    }

    /* 写真グリッドをシングルカラムに */
    .block-branding-rebranding-photo.photo-small {
        gap: 1.0em;
        grid-template-columns: 1fr;
    }

    /* テキストブロックのレイアウト調整 */
    .block-branding-rebranding-text {
        grid-template-columns: 1fr;
        gap: 1em;
        margin-top: 2em;
        margin-bottom: 2em;
    }
    
    .block-branding-rebranding-text > .title {
        font-size: 1.2em;
        width: auto;
        margin-bottom: 0.5em;
    }
    
    .block-branding-rebranding-text > .text {
        font-size: 0.85em;
        line-height: 1.7;
    }

}






/* --------------------------------------------------
Reblanding
-------------------------------------------------- */

#rebranding {
    padding-bottom: 20em;


}


.block-branding-rebranding-lead {
    padding-left: 24%;
}

.block-branding-rebranding {
    margin-top: 8em;
    display: grid;
    gap: 8em;
}

.block-branding-rebranding>.project h3 {
    margin-bottom: 1.6em;
    line-height: 1.4;
    display: inline-block;
}

.block-branding-rebranding>.project h3::before {
    font-size: 0.9em;
}

.block-branding-rebranding>.project:nth-child(1) h3:before {
    content: 'Case Study 01';
}

.block-branding-rebranding>.project:nth-child(2) h3:before {
    content: 'Case Study 02';
}

.block-branding-rebranding>.project:nth-child(3) h3:before {
    content: 'Case Study 03';
}

.block-branding-rebranding>.project:nth-child(4) h3:before {
    content: 'Case Study 04';
}

.block-branding-rebranding>.project:nth-child(5) h3:before {
    content: 'Case Study 05';
}

.block-branding-rebranding>.project:nth-child(6) h3:before {
    content: 'Case Study 06';
}

.block-branding-rebranding>.project:nth-child(7) h3:before {
    content: 'Case Study 07';
}

.block-branding-rebranding>.project:nth-child(8) h3:before {
    content: 'Case Study 08';
}

.block-branding-rebranding>.project h3>.line {
    display: inline-block;
    width: 1.4em;
    border-bottom: 1px solid #000000;
    transform: translate(0, -0.3em);
    margin-left: 0.6em;
    margin-right: 0.6em;

}

.block-branding-rebranding>.project h3>.inner {
    font-size: 1.5em;
    padding-top: 0.2em;
    display: inline-block;
}




.block-branding-rebranding>.project h4 {
    margin-bottom: 0.8em;
}

.block-branding-rebranding>.project h4.after {
    color: #ED4033;
}

.block-branding-rebranding>.project .block-branding-rebranding-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;

}

.block-branding-rebranding>.project .block-branding-rebranding-inner>.text {
    font-size: 0.8em;
}


.block-branding-rebranding>.project .block-branding-rebranding-after-inner {
    display: grid;
    gap: 3em;

}

.block-branding-rebranding>.project .block-branding-rebranding-after-inner>.image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
}

.block-branding-rebranding>.project .block-branding-rebranding-after-inner>.image img {
    width: 100%;
}





.block-branding-rebranding>.project .block-branding-rebranding-after-inner>.image img:first-child {
    grid-column: 1 / -1;
}


.block-branding-rebranding>.project .block-branding-rebranding-after-inner>.text {
    font-size: 0.8em;
}



.block-branding-rebranding>.project .icon-arrow {
    padding-top: 2em;
    padding-bottom: 0.2em;
}

.block-branding-rebranding>.project .icon-arrow .arrow {
    display: block;
    width: 1.6em;
    aspect-ratio: 1 / 0.866;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background-color: #ED4033;
    margin-left: auto;
    margin-right: auto;

}



@media all and (max-width:999px) {}


@media all and (max-width:999px) {
    #rebranding {
        padding-bottom: 16em;


    }

}

@media all and (max-width:499px) {



    #rebranding {
        padding-bottom: 12em;


    }



    .block-branding-rebranding>.project h3>.inner {
        display: block;
    }


    .block-branding-rebranding>.project .block-branding-rebranding-inner {
        grid-template-columns: repeat(1, 1fr);
    }


    .block-branding-rebranding>.project .block-branding-rebranding-after-inner>.image {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.6em;
    }

    .block-branding-rebranding-lead {
        padding-left: 0;
    }


}








/* --------------------------------------------------
White Paper
-------------------------------------------------- */

#white-paper {
    padding-bottom: 12em;
    position: relative;
    z-index: 1;

}

/* White Paperセクション用の追加セレクタ（.wrap-brandingなしでも動作） */
#white-paper .title-branding-paper>.en {
    font-family: 'Poppins';
    font-size: 2.5em;
    font-size: min(2.5em, 8vw);
    font-weight: 200;
    line-height: 1.4;
    margin-bottom: 0.2em;
    display: inline-block;
    position: relative;
}

#white-paper .title-branding-paper>.en::after {
    content: '';
    display: block;
    border-bottom: 1px solid #000000;
    width: 1.4em;
    position: absolute;
    left: calc(100% + 0.2em);
    bottom: 0.36em;
}

#white-paper .title-branding-paper>.ja {
    display: block;
}

#white-paper img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.block-branding-paper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    margin-top: 6em;
}

/* PC版: 3カラム表示 */
@media all and (min-width: 1000px) {
    .block-branding-paper {
        grid-template-columns: repeat(3, 1fr);
    }
}

.block-branding-paper a {
    border: 1px solid #C6C6C6;
    position: relative;
    display: block;
    height: 100%;
}

.block-branding-paper a .mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    background-color: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: all 0.3s ease;
}

.block-branding-paper a:hover .mask {
    opacity: 1;
}

.block-branding-paper a .mask>span {
    margin: auto;
    color: #ffffff;
    font-size: 1.25em;
}


@media all and (max-width:999px) {}


@media all and (max-width:999px) {
    #white-paper {
        padding-bottom: 10em;

    }

}

@media all and (max-width:499px) {

    #white-paper {
        padding-bottom: 8em;

    }

    .block-branding-paper {
        grid-template-columns: 1fr;
    }

}

















/* --------------------------------------------------
Our Story
-------------------------------------------------- */
#our-story {
    padding-top: 16em;

}


.list-branding-Story {
    display: grid;
    gap: 2.8em;
    margin-top: 6em;
}

.list-branding-Story li {
    position: relative;
    padding-left: 4.0em;
}

.list-branding-Story li::before {
    content: '';
    display: block;
    position: absolute;
    left: 5px;
    top: 0;
    bottom: -2.8em;
    border-left: 1px solid #000000;
    transform: translate(0, 0.7em);
}

.list-branding-Story li:last-child:before {
    display: none;
}

.list-branding-Story li::after {
    content: '';
    display: block;
    position: absolute;
    width: 11px;
    height: 11px;
    left: 0;
    top: 0.5em;
    background-color: #000000;
    border-radius: 100vh;
}


.list-branding-Story li>.title {
    margin-bottom: 1.2em;
}

.list-branding-Story li>.text {
    font-size: 0.8em;
}


@media all and (max-width:999px) {}


@media all and (max-width:999px) {}

@media all and (max-width:499px) {
    #our-story {
        padding-top: 12em;

    }

}

/* --------------------------------------------------
Feature
-------------------------------------------------- */
#feature {
    padding-top: 16em;

}

.block-branding-feature {
    background-color: #E6E5E5;

}

@media all and (max-width:999px) {}


@media all and (max-width:999px) {}

@media all and (max-width:499px) {
    #feature {
        padding-top: 12em;

    }

}




/* --------------------------------------------------
Team
-------------------------------------------------- */

#team {
    padding-top: 16em;

}


.list-branding-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2em;
    margin-top: 8em;
    color: #ffffff;
}


.list-branding-team li {
    aspect-ratio: 233 / 304;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.list-branding-team li>.inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.0em 1.2em;
}

.list-branding-team li>.inner>.position {
    font-size: 0.8em;
    margin-bottom: 0.8em;
}

@media all and (max-width:999px) {}


@media all and (max-width:999px) {
    .list-branding-team {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media all and (max-width:499px) {
    #team {
        padding-top: 12em;

    }

    .list-branding-team {
        grid-template-columns: repeat(2, 1fr);
    }

}




/* --------------------------------------------------
Client's Voice
-------------------------------------------------- */
#clients-voice {
    padding-bottom: 1em;
    padding-top: 1em;
    background-color: transparent;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

.clients-voice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.clients-voice-title {
    margin-bottom: 1.0em;
    overflow: hidden;
}

.clients-voice-title .en {
    font-size: 1.0rem;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 0.1em;
    font-weight: 350;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease-out;
}

.clients-voice-title .ja {
    display: block;
    font-size: 1.2em;
    color: #666;
}

.clients-voice-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
    background-color: transparent;
    border-radius: 8px;
}

.clients-voice-photo {
    width: 176px;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
}

.clients-voice-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clients-voice-content {
    display: flex;
    flex-direction: column;
}

.clients-voice-company {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.clients-voice-quote {
    font-family: 'A+mfCv-東京シティフォント コンデンス L StdN', NoChattering;
    
    font-size: 30px;
    color: #000;
    line-height: 1.3;
    margin-bottom: 20px;
}

.clients-voice-text {
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}

@media all and (max-width:999px) {
    #clients-voice {
        padding-bottom: 10em;
    }
    
    .clients-voice-container {
        padding: 0 30px;
    }
    
    .clients-voice-item {
        padding: 30px;
        grid-template-columns: 100px 1fr;
        gap: 30px;
    }
    
    .clients-voice-photo {
        width: 100px;
        aspect-ratio: 1 / 1.1;
    }
    
    .clients-voice-quote {
        font-size: 1.4rem;
    }
}

@media all and (max-width:499px) {
    #clients-voice {
        padding-bottom: 8em;
    }
    
    .clients-voice-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }
    
    .clients-voice-photo {
        width: 35vw;
        aspect-ratio: 1 / 1.1;
        margin: 0 auto;
    }
    
    .clients-voice-company {
        font-size: 12px;
        text-align: left;
    }
    
    .clients-voice-quote {
        font-size: 1.2rem;
        text-align: left;
        margin-bottom: 16px;
        line-height: 2;
    }
    
    .clients-voice-text {
        font-size: 13px;
        line-height: 1.6;
        letter-spacing: 0.2em;
    }
}

/* --------------------------------------------------
Contact us
-------------------------------------------------- */
#branding-contact {
    position: relative;
    z-index: 1;

}


.block-branding-contact {
    display: block;
    border: 1px solid #000000;
    text-align: center;
    padding: 6.0em 2.8em;
    padding-right: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    text-align: left;
    line-height: 1.8 !important;
}

.block-branding-contact:hover {
    background-color: #000000;
    color: #ffffff;
}


.block-branding-contact>.title {
    font-family: 'Poppins';
    font-size: min(3em, 8vw);
    line-height: 1;
    margin-bottom: 0.3em;
    font-weight: 200;
}



.block-branding-contact .arrow {
	display: block;
	aspect-ratio: 3.2 / 1;
	height: 1.4em;
	border-bottom: 1px solid #000000;
	position: absolute;
	transition: all 0.2s ease-out;
	right: 2.8em;
	top: 50%;
	margin-top: -0.7em;
}

.sp_br {
	display: none;
}

.block-branding-contact:hover .arrow {
    transform: translate(0.6em, 0);
    border-color: #ffffff;
}

.block-branding-contact .arrow::before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    border-right: 1px solid #000000;
    transform: rotate(-45deg);
    transform-origin: right bottom;
    transition: all 0.2s ease-out;
}

.block-branding-contact:hover .arrow::before {
    border-color: #ffffff;
}



@media all and (max-width:999px) {}


@media all and (max-width:999px) {}

@media all and (max-width:499px) {

	.block-branding-contact .arrow {
		right: 2.8em;
		top: 80%;
	}

	.sp_br {
		display: block;
	}

}




/* --------------------------------------------------
inview
-------------------------------------------------- */
.slidein-left {
    transition: clip-path 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    clip-path: inset(0 100% 0 0)
}

.slidein-left.passing {
    clip-path: inset(0 0 0 0)
}


.fadein {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.fadein.passing {
    opacity: 1;

}


.fadein-top {
    opacity: 0;
    transform: translate(0, -2.4rem);
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.fadein-top.passing {
    transform: translate(0, 0);
    opacity: 1;

}



.fadein-bottom {
    opacity: 0;
    transform: translate(0, 2.4rem);
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.fadein-bottom.passing {
    transform: translate(0, 0);
    opacity: 1;

}

/* SVGスライダーのコンテナ - フルワイドで2つがセットでスライド */
.svg-slider {
    position: relative;
    width: 180vw; /* ビューポート幅の1.8倍で余裕を持たせる */
    height: 100%;
    display: flex;
    align-items: center;
    transform: translateX(0vw); /* 初期状態：before.svgが画面中央に定着 */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 各SVGスライドのスタイル - 同じ高さで固定、フルワイド対応 */
.svg-slide {
    width: 50vw; /* ビューポート幅の50%ずつ */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    padding: 0 3vw;
}

.svg-slide img {
    width: 120%; /* 幅を大きく */
    max-width: none;
    height: 120%; /* 高さも大きく */
    object-fit: contain;
    /* transform: scale(1.2); さらに拡大 */
}
.svg-slide .svg-after-slide {
    width: 120%; /* 幅を大きく */
    max-width: none;
    height: 145%; /* 高さも大きく */
    object-fit: contain;
    /* transform: scale(1.2); さらに拡大 */
}


/* CSS変数で色を管理 */
:root {
    --svg-red-color: #ED4033;
    --svg-gray-color: #808080;
    --svg-black-color: #000000;
}

/* 初期状態：左が赤、右がグレー（一瞬で変化） */
.svg-before-slide img {
    /* 赤色 #ED4033 に変換 */
    filter: brightness(0) saturate(100%) invert(14%) sepia(93%) saturate(7151%) hue-rotate(3deg) brightness(92%) contrast(118%);
    transition: none;
}

.svg-after-slide img {
    /* グレー #808080 に変換 */
    filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
    transition: none;
    scale: 1.2
}

/* スクロール後の状態：左がグレー、右が赤（一瞬で変化） */
.svg-container.color-switched .svg-after-slide img {
    /* 赤色 #ED4033 に変換 */
    filter: brightness(0) saturate(100%) invert(14%) sepia(93%) saturate(7151%) hue-rotate(3deg) brightness(92%) contrast(118%);
}

.svg-container.color-switched .svg-before-slide img {
    /* グレー #808080 に変換 */
    filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

/* 色コードから簡単に変更できるクラス */
.svg-color-red {
    /* 赤色 #ED4033 */
    filter: brightness(0) saturate(100%) invert(14%) sepia(93%) saturate(7151%) hue-rotate(3deg) brightness(92%) contrast(118%) !important;
}

.svg-color-gray {
    /* グレー #808080 */
    filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%) !important;
}

.svg-color-black {
    /* 黒色 #000000 */
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%) !important;
}

.svg-color-white {
    /* 白色 #FFFFFF */
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
}

/* カスタム色指定用のユーティリティクラス */
.svg-custom-color-1 {
    /* 青色 #0066CC 例 */
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7151%) hue-rotate(205deg) brightness(92%) contrast(118%) !important;
}

.svg-custom-color-2 {
    /* 緑色 #00CC66 例 */
    filter: brightness(0) saturate(100%) invert(44%) sepia(94%) saturate(7151%) hue-rotate(135deg) brightness(92%) contrast(118%) !important;
}


/* 
 
 body .font .w_b,
 body .font.w_b {
     font-family: 'A+mfCv-東京シティフォント コンデンス B StdN', NoChattering
 }
 
 body .font .w_m,
 body .font.w_m {
     font-family: 'A+mfCv-東京シティフォント コンデンス M StdN', NoChattering
 }
 
 body .font .w_r,
 body .font.w_r {
     font-family: 'A+mfCv-東京シティフォント コンデンス R StdN', NoChattering
 }
 
 body .font .w_l,
 body .font.w_l {
     font-family: 'A+mfCv-東京シティフォント コンデンス L StdN', NoChattering
 }
 
 body .font .w_el,
 body .font.w_el {
     font-family: 'A+mfCv-東京シティフォント コンデンス EL StdN', NoChattering
 } */


/* --------------------------------------------------
Branding Score Section (診断機能)
-------------------------------------------------- */

/* body のデフォルトスタイルを上書き（brandingscore.css用） */
body._branding {
	padding-bottom: 0 !important;
	background-color: transparent !important;
}

/* 診断機能セクションのコンテナ */
#branding-score-section {
	margin-top: 8em;
	margin-bottom: 16em;
	padding: 0;
	position: relative;
	z-index: 2;
}

/* brandingscore-container の調整 - page-branding-score.phpのレイアウトを再現 */
/* wrap-brandingのinner要素と同じpadding-leftを適用 */
#branding-score-section .brandingscore-container {
	margin: 0 auto;
	padding-left: 0;
	max-width: calc(1024px + 16em);
	width: 100%;
}

/* カードの影を追加して独立感を演出 */
#branding-score-section .card {
	/* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
	max-width: 1024px;
}

/* PC版: デスクトップサイズ（1000px以上） */
@media all and (min-width: 1000px) {
	#branding-score-section {
		width: auto !important;
        max-width: none !important;
        margin-top: 50px;
        padding: 0;
        margin: 0 42px 0 246px; /* Right margin 27px */
        margin-bottom: 400px;
	}

    /* Uncap inner containers to allow full stretch */
    #branding-score-section .brandingscore-container,
    #branding-score-section .card {
        max-width: none !important;
        width: 100% !important;
    }

	/* PC版のメインコピー表示設定 */
	.wrap-main .copy {
		padding-top: 10vh;
		padding-bottom: 50vh;
		display: flex;
		justify-content: flex-end;
		font-size: 2.8vw;
		line-height: 1.2;
		letter-spacing: -0.05em;
	}

	.wrap-main .copy p + p {
		margin-top: 0.8em;
	}

	.wrap-main .copy br.sp {
		display: none;
	}
}

/* 999px以下: Tablet padding 30px (SP overrides to 20px) */
@media all and (max-width: 999px) {
	#branding-score-section .brandingscore-container {
		padding-left: 0;
		padding-right: 0;
		max-width: 1024px;
	}
}

/* タブレット: 999px以下 */
@media all and (max-width: 999px) {
	#branding-score-section {
		margin-top: 6em;
		margin-bottom: 12em;
		padding: 0 30px; /* Add horizontal padding for tablet */
	}
	
	#branding-score-section .brandingscore-container {
		padding: 3em 0; /* Remove horizontal padding, keep vertical */
	}
}

/* スマホ: 499px以下 */
@media all and (max-width: 499px) {
	#branding-score-section {
		margin-top: 4em;
		margin-bottom: 8em;
		padding: 0 20px; /* SP: 20px horizontal padding */
	}
	
	#branding-score-section .brandingscore-container {
		padding: 2em 0; /* Remove horizontal padding, keep vertical */
	}
	
	/* 診断結果のレイアウトを修正 */
	#branding-score-section #result-screen .bgw {
		padding: 30px 1rem !important;
	}
	
	#branding-score-section .recommendation-content {
		padding: 30px 1rem 30px 1rem !important;
	}
	
	#branding-score-section .recommendation-header {
		padding: 20px 1rem !important;
	}
	
	#branding-score-section .summary-box {
		padding: 30px 1rem !important;
		margin-left: 0;
		margin-right: 0;
	}
	
	#branding-score-section .proposal-btns {
		padding: 0 1rem !important;
	}

	#global_navigation .container {
		padding: 39px 50px 0 !important;
	}

}

@media (max-width: 499px) {
    html body #wrapper #contents section .container {
        width: 100% !important;
    }
}


/* White Paper Section Fix (PC) */
html body #wrapper #contents #white-paper > .container {
    margin-left: 42px !important;
    margin-right: 42px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
    max-width: none !important;
}

/* Branding Contact Section Fix (PC) */
@media all and (min-width: 1000px) {
    html body #wrapper #contents #branding-contact > .container {
        width: calc(100% - 84px) !important;
        margin-left: 42px !important;
        margin-right: 42px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: none !important;
    }
    
    .block-branding-contact {
        height: 343px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 0 2.8em !important;
    }
}
@media all and (max-width: 499px) {
    html body #wrapper #contents #white-paper > .container {
        width: calc(100% - 60px) !important;
        margin-left: 30px !important;
        margin-right: 30px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* 1000px - 1460px Breakpoint Adjustments */
@media all and (min-width: 1000px) and (max-width: 1460px) {
    /* Reduce container padding - OVERRIDE/RESET */
    /* User set global margin-left: 206px. We keep that. */
    /*
    .wrap-branding section>.container>.inner {
        padding-left: 10em;
    }
    */
    
    /* Adjust Flow 01 grid */
    .item-flow01 {
        grid-template-columns: 20em 1fr 20em;
        gap: 2em;
    }
    
    /* Adjust Branding Score padding to match */
    #branding-score-section .brandingscore-container {
        padding-left: 0;
        max-width: calc(100% - 2em);
    }

    /* Adjust Flow 02 images to be responsive */
    .block-branding-flow .item-flow-wrap.flow02 {
        margin-bottom: 36px;
        position: relative;
    }

    .item-flow.flow02 h3 {
        position: relative;
        z-index: 10;
        margin-bottom: 36px;
    }

    .block-branding-flow .item-flow.flow03 h3 {
        position: relative;
        z-index: 10;
        margin-bottom: 36px;
    }

    .block-branding-flow .item-flow-wrap.flow02 .item {
        width: 100% !important;
        padding-right: 0 !important;
    }

    .block-branding-flow .item-flow-wrap.flow02 .item img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

}

/* --------------------------------------------------
Flow 01 Responsive & Dense Layout
-------------------------------------------------- */
@media all and (min-width: 1000px) {
    /* Flex container to center and densify items */
    html body #wrapper #contents .block-branding-flow .item-flow-wrap.flow01 .item .item-flow01 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* Responsive Circle Size */
    html body #wrapper #contents .block-branding-flow .item-flow-wrap.flow01 .item .item-flow01 .circle {
        width: 30vw !important; /* 448px at 1280px */
        height: 30vw !important;
        max-width: none !important;
        max-height: none !important;
        min-width: 280px !important;
        min-height: 280px !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
        margin: 0 !important; /* Reset any grid margins */
    }

    /* Responsive Icon Size & Overlap */
    html body #wrapper #contents .block-branding-flow .item-flow-wrap.flow01 .title br.sp {
        display: none !important;
    }

    html body #wrapper #contents .block-branding-flow .item-flow-wrap.flow01 .item .item-flow01 .icon {
        width: 6vw !important;
        height: 6vw !important; /* Assume square */
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        margin: 0 3vw !important; /* Reduced overlap to separate circles */
        z-index: 5 !important;
        flex-shrink: 0 !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Flow 03 Text Padding */
    html body #wrapper #contents .block-branding-flow .item-flow.flow03 .text {
        padding-bottom: 2em !important;
    }
    
    /* Ensure content inside circle is centered */
    html body #wrapper #contents .block-branding-flow .item-flow-wrap.flow01 .item .item-flow01 .circle .inner {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Flowタイトルの日本語フォントサイズ調整 */
    .item-flow.flow01 h3 .ja {
        font-size: 56px;
    }

    /* Flow 01説明文のフォント調整 */
    .item-flow01-text,
    p.item-flow01-text {
        font-family: "Noto Sans JP", sans-serif !important;
        font-weight: 350 !important;
        font-size: 13px !important;
        line-height: 22px !important;
        letter-spacing: 0.2em !important;
    }

    /* Flow 02タイトルの調整 */
    .item-flow.flow02 h3 .ja {
        font-size: 56px;
        line-height: 66px;
        font-weight: 100;
    }

    /* Flow 02説明文の調整 */
    .item-flow.flow02 .title.flow02 p {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 0.2em;
    }

    /* Flow 03タイトルの調整 */
    .item-flow.flow03 h3 .ja {
        font-size: 56px;
        line-height: 66px;
        font-weight: 100;
    }

    /* Flow 03説明文の調整 */
    .paragraph-flow03 p {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 0.2em;
    }

    /* Flow 03実績リストのレイアウト調整 */
    .item-flow.flow03 .item > .text ul {
        display: grid !important;
        grid-template-columns: repeat(3, max-content);
        gap: 12px 10px;
        justify-content: start;
    }

    /* Flow 03実績リスト項目の調整 */
    .item-flow.flow03 .item > .text ul li {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0;
        background-color: #ffffff !important;
        padding: 4px 10px !important;
        width: fit-content !important;
        justify-self: start;
    }

    /* Flow 04タイトルの調整 */
    .item-flow.flow04 h3 .ja {
        font-size: 56px;
        line-height: 66px;
        font-weight: 100;
    }

    /* Project Flow 導入文の調整 */
    #project-flow .inner > p {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.2em;
    }

    /* Project 導入文の調整 */
    #project .inner > p.font-16px {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.2em;
    }

    /* Project 実績詳細テキスト（背景・成果）の調整 */
    #project .block-branding-rebranding-text .text {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.2em;
    }

    /* Project Flow ステップ詳細の調整 */
    #project-flow .step-detail {
        font-weight: 300;
        font-size: 14px;
        line-height: 26px;
        letter-spacing: -0.01em;
        opacity: 1;
    }

    .block-project-flow {
        row-gap: 0;
    }
    .block-project-flow > .title {
        margin-top: 10px;
    }
    .block-project-flow > .text.list-part {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 14px;
        line-height: 22px;
        letter-spacing: 0;
        margin-top: 10px;
        padding-bottom: 0;
    }
    .block-project-flow > .text.detail-part {
        padding-top: 0;
    }

    /* 比較表の見出しフォント調整 */
    #project-flow .comparison-table h3 {
        font-weight: 400;
        font-size: 20px;
        line-height: 22px;
        letter-spacing: 0;
    }

    /* 比較表 「評価軸」ヘッダーの調整（元に戻す） */
    #project-flow .comparison-table thead th:first-child {
        /* 1000px: 12px, 1280px: 16px → 線形補間 */
        font-size: clamp(12px, calc(12px + (100vw - 1000px) * 4 / 280), 16px) !important;
        line-height: 26px !important;
        letter-spacing: 0.68em !important;
        font-weight: 400 !important;
        text-align: center !important;
        text-align-last: auto !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* 比較表 左列項目名（戦略構築力など）の調整 */
    #project-flow .comparison-table tbody td:first-child {
        /* 1000px: 14px, 1280px: 18px → 線形補間 */
        font-size: clamp(14px, calc(14px + (100vw - 1000px) * 4 / 280), 18px) !important;
        line-height: 26px !important;
        letter-spacing: 0 !important;
        font-weight: 400 !important;
        text-align: justify !important;
        text-justify: inter-character !important;
        text-align-last: justify !important;
        padding-left: 0.9em !important;
        padding-right: 0.9em !important;
        white-space: nowrap !important; /* 改行防止 */
    }

    /* 比較表 ヘッダー「The Company co.,ltd」の調整 */
    #project-flow .comparison-table thead th:nth-child(2) {
        /* 1000px: 12px, 1280px: 16px → 線形補間 */
        font-size: clamp(12px, calc(12px + (100vw - 1000px) * 4 / 280), 16px) !important;
        line-height: 22px !important;
        letter-spacing: 0 !important;
        font-weight: 400 !important;
    }

    /* 比較表 ヘッダー他項目（デザイン制作会社など）の調整 */
    #project-flow .comparison-table thead th:nth-child(n+3) {
        font-family: "Noto Sans JP", sans-serif !important;
        /* 1000px: 11px, 1280px: 14px → 線形補間 */
        font-size: clamp(11px, calc(11px + (100vw - 1000px) * 3 / 280), 14px) !important;
        line-height: 22px !important;
        letter-spacing: 0 !important;
        font-weight: 300 !important;
    }

    /* Client's Voice タイトルの調整 */
    #clients-voice .clients-voice-title .en {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 20px;
        line-height: 22px;
        letter-spacing: 0;
    }

    /* Client's Voice 詳細テキストの調整 */
    #clients-voice .clients-voice-text {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.2em;
    }

    /* Client's Voice 引用文（quote）の調整 */
    #clients-voice .clients-voice-quote {
        font-family: 'A+mfCv-東京シティフォント コンデンス L StdN', NoChattering;
        font-weight: 350;
        font-size: 30px;
        line-height: 38px;
        letter-spacing: 0;
    }

    /* Rebranding セクションのテキスト調整 */
    #rebranding .block-branding-rebranding-lead,
    #rebranding .block-branding-rebranding .text {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 350;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.2em;
    }

    /* Flow 01説明文のフォント調整（SP版） */
    .item-flow-wrap.flow01 .item-flow01-text,
    .item-flow-wrap.flow01 p.item-flow01-text,
    .item.passing .item-flow01-text,
    p.item-flow01-text {
        font-family: "Noto Sans JP", sans-serif !important;
    }
}

/* SP Animation Speed Adjustment */
@media screen and (max-width: 768px) {
    .client-logos-track,
    .client-logos-scroll-row.reverse .client-logos-track {
        animation-duration: 160s !important;
    }
}
