.site-header.is-solid {
    background: rgba(255, 255, 255, 0.85);
}

/* ファーストビュー */
.hero {
    position: relative;
    min-height: 89svh;
    display: grid;
    place-items: center;
    padding: 0 0 56px; /* 下にサブコピーの余白を確保 */
    overflow: hidden;
    isolation: isolate;
}
.hero video,
.hero .cinemagraph {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 89svh;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    filter: saturate(105%) contrast(105%);
}
.hero::after {
    /* 黒の被せ：読みやすさ確保 */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.65) 100%);
}

.hero__content {
    text-align: left;
    width: min(92%, var(--max));
    margin-inline: auto;
}
.eyebrow {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    color: #fff;
    opacity: 0.9;
}
.hero h1 {
    margin: 0.3em 0 0.2em;
    line-height: 1.15;
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    text-wrap: balance;
}
.hero .lead {
    color: #fff;
    opacity: 0.95;
    font-size: clamp(14px, 1.8vw, 18px);
    max-width: 56ch;
    margin-top: 16px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.65em 1.05em;
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    font-weight: 700;
    backdrop-filter: saturate(140%) blur(2px);
}

/* サブコピー（動画の下余白に） */
.subcopy-wrap {
    background: rgba(255, 255, 255, 0.75);
    position: relative;
}
.subcopy {
    width: min(92%, var(--max));
    margin: 0 auto;
    padding: 22px 0 28px;
    color: var(--ink-weak);
    font-size: clamp(18px, 1.8vw, 40px);
    text-align: center;
    font-weight: bold;
    font-style: italic;
}

/* アニメ感（任意） */
.fade-up {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.7s 0.1s ease forwards;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

@media screen and (max-width: 700px) {
    .section_title_shadow {
        font-size: 4rem;
    }
    
}

/* ======= Sections base ======= */
.sec-ttl {
    font-size: clamp(24px, 3.4vw, 36px);
    line-height: 1.25;
    margin: 0.2em 0 0.6em;
}
section {
    padding: 72px 0;
    background: #fff;
    position: relative;
}
.section_title_shadow {
    position: absolute;
    top: 0.75em;
    right: 0.1em;
    transform: translateY(-60%);
    color: rgba(34, 34, 34, 0.05);
    font-family: "Archivo Narrow", sans-serif;
    font-size: min(8.8888888889rem, 160px);
    line-height: 1;
    letter-spacing: 0em;
    font-weight: 700;
}
@media (min-width: 1000px) {
    section {
        padding: 250px 0 150px;
    }
    .section_title_shadow {
        top: 1.25em;
    }
}

/* ======= About ======= */
.about {
    position: relative;
    padding-top: 17rem;
    -webkit-backdrop-filter: blur(7.332379818px);
    backdrop-filter: blur(7.332379818px);
    background: linear-gradient(transparent 0%, #fff 40%);
}

.about__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}
.about .section_title_shadow {
    top: 1.75em;
}
.about__content {
    padding: 40px 24px;
}
.about__lead {
    color: #444;
    max-width: 60ch;
    margin-bottom: 26px;
    font-size: 2.25rem;
    font-weight: bold;
}
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 16px;
    padding: 0;
    padding-left: 1rem;
    margin: 18px 0 8px;
    list-style: none;
    grid-template-columns: 1fr;
}
.feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px 14px 32px;
    position: relative;
}
.feature::after{
    transform: skewX(25deg);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #ededed;
}
.feature__icon {
    font-size: 22px;
    line-height: 1;
}
.feature__title {
    margin: 0.1em 0;
    font-weight: 800;
}
.feature__text {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}
.about__actions {
    display: flex;
    gap: 12px;
    margin-top: 48px;
}

.about__text {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.about__media {
    position: relative;
    overflow: hidden;
    background: #fff;
    height: 80%;
    max-height: 480px;
}

.about__media img {
    width: 100%;
    min-height: 100%;
    max-width: none;
    transition:20s;
    object-fit: cover;
}
.about.inview .about__media img {
    transform: scale(1.05);
}


/* グレーレイヤーの擬似要素 */
.about__media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--grad1);
    z-index: 1;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* アニメーション開始時のスタイル */
.about.inview .about__media::before {
    transform: scaleX(0);
    transition-delay: 0.4s;
}

.about.inview .split-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
/* レスポンシブ */
@media (max-width: 980px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about__lead {
        font-size: 1.85rem;
    }

    .about__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .section_title_shadow {
        font-size: 4rem;
    }

    .sec-ttl {
        margin-top: 1rem;
        font-size: 1.75rem;
    }
}

@media (max-width: 980px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 8rem 0 4rem;
    }

    .features {
        gap: 12px;
        margin-left: -0.75rem;
    }

    .feature {
        padding: 16px 32px 24px;
    }
}

/* ======= Services ======= */
.services {
    background: #f0ecec;
    overflow: hidden;
}
/* 右から画面幅80%の白い背景がスライドイン */
.services::after {
    content: "";
    position: absolute;
    top: 160px;
    right: 0;
    width: 90%;
    height: 78%;
    background: #fff;
    transform: translateX(100%);
    transition: 0.4s ease 0.2s;
}
.services.inview::after {
    transform: translateX(0);
}

.services .container {
    position: relative;
    z-index: 2;
}

.services .section_title_shadow {
    z-index: 1;
}
.services .sec-txt {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 2rem;
}
.services__cta {
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: 0.8s ease 0.8s;
}
.services.inview .services__cta {
    opacity: 1;
    transform: translateY(0);
}
.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    margin-top: 4rem;
}
.flow-card {
    background: #fff;
    padding: 22px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    transform: translateY(24px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.8s ease;
}
.flow-card:nth-child(1){
    transition-delay: 1s;
}
.flow-card:nth-child(2){
    transition-delay: 1.3s;
    transform: translateY(66px);
}
.flow-card:nth-child(3){
    transition-delay: 1.6s;
    transform: translateY(108px);
}

.services.inview .flow-card{
    opacity: 1;
}
.services.inview .flow-card:nth-child(1){
    transform: translateY(0);
}
.services.inview .flow-card:nth-child(2){
    transform: translateY(36px);
}
.services.inview .flow-card:nth-child(3){
    transform: translateY(72px);
}

.flow-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--grad2);
}
.flow-card h3 {
    margin: 0.2em 0 0.5em;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 900;
    color: var(--accent-2);
}
.flow-card ul {
    margin: 0;
    padding-left: 1.1em;
    color: #555;
}
.flow-card .icon-grad {
    display: block;
    width: 60%;
    height: auto;
    object-fit: contain;
    margin: auto;
}
.icon-grad{
  /* 好きなグラデーションに変更 */
  background: linear-gradient(135deg, #ffffff, #cb5543);
  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
  display:inline-block;
}
.flow-grid .flow-card__ribbon {
    /* ribbon params */
    --ribbon-w: 96px; /* リボンの横幅 */
    --ribbon-h: 28px; /* リボンの高さ */
    --ribbon-cut: 16px; /* 右端の斜めカット幅 */
    --ribbon-left: 16px; /* 左余白 */
    position: absolute;
    top: -14px;
    left: 0;
    width: var(--ribbon-w);
    height: var(--ribbon-h);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-size: 14px;
    background: var(--grad2);
    -webkit-clip-path: polygon(
        0 0,
        calc(100% - var(--ribbon-cut)) 0,
        100% 50%,
        calc(100% - var(--ribbon-cut)) 100%,
        0 100%
    );
    clip-path: polygon(0 0, calc(100% - var(--ribbon-cut)) 0, 100% 100%, calc(100% - var(--ribbon-cut)) 100%, 0 100%);
}
.flow-grid .flow-card__ribbon::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    border-width: 10px 0 0 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--grad-b);
}

.services__cta {
    margin-top: 100px;
}

@media (max-width: 980px) {
    .flow-grid {
        grid-template-columns: 1fr;
    }
    .services::after {
        width: 100%;
        top: 3rem;
        height: 95%;
    }
}

/* cta */
.cta-band2 {
    padding: 180px 0;
}
.cta-band2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgb(255 255 255 / 15%) 40%, rgb(224 224 224));
    opacity: 0;
    transition: 2s;
    transition-delay: 0.5s;
}
.cta-band2.inview::after {
    opacity: 1;
}
.cta-band2 .cta-band__inner {
    flex-wrap: nowrap;
}
.cta-band2 .cta-band__img {
    width: 40%;
}
.cta-band__content {
    position: relative;
    z-index: 2;
    margin-bottom: -12em;
}
.cta-band2 .cta-band__title{
    font-size: clamp(24px, 2.8vw, 28px);
    margin-bottom: 1rem;
}
.cta-band2 .section_title_shadow {
    color:rgb(255 255 255 / 15%);
}
.cta-band2 .c-btn {
    margin-right: auto;
}

@media (max-width: 980px) {
    .cta-band2 {
        padding: 120px 0 80px;
    }
    .cta-band2 .cta-band__inner {
        flex-wrap: wrap;
        gap: 32px;
    }
    .cta-band2 .cta-band__img {
        width: 90%;
        margin: auto;
    }
    .cta-band2 .c-btn {
        width: 100%;
    }
    .cta-band__content {
        margin: auto;
        text-align: center;
    }
}

/* ======= News ======= */
.news {
    background: #fff;
    position: relative;
    z-index: 1;
}
.news::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(255 255 255 / 15%) 40%, rgb(245 245 245));
    z-index: -1;
}
.news-list {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}
.news-item {
    display: grid;
    grid-template-columns: 110px 92px 1fr;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px 16px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    position: relative;
}
.news-item__date {
    color: #666;
}
.news-item__cat {
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.2em 0.6em;
    background: #f5f5f5;
    text-align: center;
}
.news-item__title {
    font-weight: 700;
}
.news-item::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 108px;
    height: 2px;
    background: var(--grad1);
}
.news-actions {
    margin-top: 16px;
}

.cta-band {
    background: linear-gradient(135deg, rgba(255, 164, 36, 0.85), rgba(255, 59, 31, 0.85));
}

.news-item.coming-soon{
    display: flex;
}

@media (max-width: 700px) {
    .news-item {
        grid-template-columns: 1fr;
        display: flex;
        flex-wrap: wrap;
    }

    .news-item__title {
        width: 100%;
    }
}

footer {
    position: relative;
}

/* 実績セクション */
.works {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}
.works .container {
    width: 94.15vw;
}
.works .section_title_shadow {
    color: rgba(255, 255, 255, 0.25);
}
.works .sec-ttl {
    color:white;
}

.achv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 980px) {
    .achv-grid {
        grid-template-columns: 1fr;
    }
}
.achv-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(24px);
}

/* 一つずつ遅らせて表示させる */
.works.inview .achv-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.works.inview .achv-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}

.works.inview .achv-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
}

.achv-thumb {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.achv-card::after {
    /* 黒レイヤーを中央から上下に “伸ばす” */
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    transform: scaleY(0); /* 最初は見えない */
    transform-origin: 50% 50%; /* 中央から上下に広がる */
    transition: transform 0.36s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
    pointer-events: none;
    z-index: 1; /* タイトルの下に配置 */
}

.achv-title {
    position: absolute;
    inset: auto 16px 14px 16px;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s ease 0.06s, transform 0.28s ease 0.06s; /* 少し遅れて出現 */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    z-index: 2; /* レイヤーより上 */
}

.achv-card:hover .achv-thumb {
    transform: scale(1.04);
}
.achv-card:hover::after {
    transform: scaleY(1);
} /* 全面を覆う */
.achv-card:hover .achv-title {
    opacity: 1;
    transform: none;
}

.achv-card.peek::after {
    transform: scaleY(1);
}
.achv-card.peek .achv-title {
    opacity: 1;
    transform: none;
}
.achv-card.peek .achv-thumb {
    transform: scale(1.04);
}

/* hoverを使えない環境では :hover 表示を無効化（誤作動防止） */
@media (hover: none), (max-width: 980px) {
    /* .achv-card:hover::after {
        transform: scaleY(0);
    }
    .achv-card:hover .achv-title {
        opacity: 0;
        transform: translateY(6px);
    }
    .achv-card:hover .achv-thumb {
        transform: none;
    } */
}

/* 低モーション環境に配慮（任意） */
@media (prefers-reduced-motion: reduce) {
    .achv-thumb {
        transition: none;
    }
    .achv-card::after {
        transition: none;
    }
    .achv-title {
        transition: none;
    }
}

.works__cta {
    text-align: center;
    margin-top: 10rem;
}

.works .c-btn {
    background: none;
}

.works .c-btn__link {
    border: solid 2px white;
    color:white;
    margin: 3rem auto;
    background-color: transparent;
    padding: 0.65em 1.05em;
}
.works .c-btn__link:hover {
    background: none;
    background-color: rgb(218, 218, 218);
    color: var(--ink);
    text-decoration: none;
    border: solid 2px rgb(218, 218, 218);
}

/* ===== client logos strip ===== */
.clients {
    background: #fff;
    border: 1px solid #eee;
    padding: 18px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.04);
}
.clients h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}
.client-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    align-items: center;
}
.client {
    background: #fff;
    border: 1px solid #eee;
    padding: 14px;
    display: grid;
    place-items: center;
}
.client img {
    max-height: 34px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.9;
}
@media (max-width: 980px) {
    .client-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
