@charset "UTF-8";

/* ==========================================================================
   1. タイピングオープニングアニメーション（完全左揃え）
   ========================================================================== */
#opening-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center;
    text-align: left;
    padding: 0 20px;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
}

.loader-content p {
    font-family: var(--font-noto);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
    text-align: left !important;
    white-space: nowrap;     
}

.loader-text-line2 {
    margin-top: 14px !important;
    padding-left: 0 !important; 
}


/* ==========================================================================
   2. メインビジュアル (FV: 静的アイボリー一色＆中央黒ロゴ)
   ========================================================================== */
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color); 
    overflow: hidden;
}

.fv-container {
    display: flex;
    flex-direction: column;
    align-items: center;     
    text-align: center;
    width: 100%;
    max-width: 650px;
    padding: 0 20px;
    box-sizing: border-box;
}

.fv-main-logo {
    width: 100%;
    max-width: 580px;        
    height: auto;
    margin-bottom: -35px !important; 
    display: block;
}

.fv-main-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.fv-text-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.fv-sub-text {
    font-family: var(--font-noto);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.15em;
    color: var(--text-color);
    margin: 0 !important;
    white-space: nowrap !important;
}

.fv-year-text {
    font-family: var(--font-noto);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--text-color);
    margin-top: 12px !important; 
}


/* ==========================================================================
   3. STATEMENTセクション (背景：#1E1E1E / 文字：ホワイト)
   ========================================================================== */
.statement-section {
    background-color: #1E1E1E; 
    padding: 140px 0;
    width: 100%;
    overflow: hidden;
}

.statement-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.statement-left {
    width: 55%;
}

.statement-brand {
    font-family: var(--font-peace);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45); 
    display: block;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.statement-lead {
    font-family: var(--font-noto);
    font-size: 3.4rem; 
    font-weight: 900;
    line-height: 1.45;
    color: #ffffff; 
    letter-spacing: 0.03em;
}

.statement-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 22px; 
}

.statement-text {
    font-family: var(--font-noto);
    font-size: 1.85rem; 
    font-weight: 800;
    color: #ffffff; 
    line-height: 1.5;
    letter-spacing: 0.05em;
}


/* ==========================================================================
   4. ABOUTセクション固有スタイル
   ========================================================================== */
.about-content-block {
    margin-top: 50px;
    padding-left: 45px;
}
.about-sub-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}


/* ==========================================================================
   5. SERVICES (白ボックス・シャドウ・美麗内側余白の完全復元構造)
   ========================================================================== */
.services-stairs-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.services-left-sticky {
    width: 38%;
    position: sticky;
    top: 140px; 
    z-index: 30;
}

.services-right-stairs {
    width: 62%;
    display: flex;
    gap: 30px; 
    position: relative;
    z-index: 10;
}

.stairs-lane {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.lane-left { margin-top: 160px; }
.lane-right { margin-top: 0; }

.service-stairs-card {
    background-color: #ffffff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 45px rgba(30, 30, 30, 0.035) !important;
    border: 1px solid rgba(30, 30, 30, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.service-stairs-card:hover {
    transform: translateY(-10px) !important; 
    box-shadow: 0 25px 55px rgba(30, 30, 30, 0.08) !important;
}

.stairs-card-img-box {
    width: 100%;
    aspect-ratio: 16 / 11;
    background-color: #e2dfd8;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.stairs-dummy-bg {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-peace);
    color: rgba(30, 30, 30, 0.18);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    z-index: 1; 
}

.stairs-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5; 
}

.stairs-card-info {
    padding: 35px 28px 40px !important;
    background-color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.stairs-card-tag {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #888888 !important;
    display: block !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.03em !important;
}

.stairs-card-info h4 {
    font-family: var(--font-peace) !important;
    font-size: 1.4rem !important;
    font-weight: normal !important;
    letter-spacing: 0.03em !important;
    margin: 0 0 18px 0 !important;
    color: var(--text-color) !important;
    line-height: 1.2 !important;
}

.stairs-card-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important; 
}

.stairs-card-list li {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    color: #444444 !important;
    font-weight: 600 !important;
    position: relative !important;
    padding-left: 15px !important; 
}

.stairs-card-list li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 7px !important;
    width: 4px !important;
    height: 4px !important;
    background-color: #e6b422 !important; 
    border-radius: 50% !important;
}


/* ==========================================================================
   6. スクロール連動フェードイン
   ========================================================================== */
.js-fade-up {
    opacity: 0;
    transform: translateY(40px); 
    transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.3s cubic-bezier(0.16, 1, 0.3, 1); 
}

.js-fade-up.is-active {
    opacity: 1;
    transform: translateY(0); 
}


/* ==========================================================================
   7. TOPページ用 WORKSセクションスタイル
   ========================================================================== */
.top-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.top-works-card {
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(30, 30, 30, 0.03);
    box-shadow: 0 10px 35px rgba(30, 30, 30, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-works-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(30, 30, 30, 0.07);
}

.top-works-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #e2dfd8;
    position: relative;
}

.top-dummy-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-peace);
    color: rgba(30, 30, 30, 0.2);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}

.top-works-meta {
    padding: 24px;
}

.top-works-cat {
    font-family: var(--font-peace);
    font-size: 0.7rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
}

.top-works-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 14px;
    color: var(--text-color);
}


/* ==========================================================================
   8. FEATURED SERVICE (CAST MATCH)
   ========================================================================== */
.featured-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    border: 1px solid rgba(30, 30, 30, 0.03);
    box-shadow: 0 15px 40px rgba(30, 30, 30, 0.02);
    position: relative;
    z-index: 10;
}

.featured-logo {
    flex-shrink: 0;
}

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

.featured-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
}


/* ==========================================================================
   9. MEMBERS
   ========================================================================== */
.member-swiper {
    padding: 20px 0 60px !important;
    position: relative;
    z-index: 10;
}

.member-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(30, 30, 30, 0.03);
    box-shadow: 0 10px 35px rgba(30, 30, 30, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(30, 30, 30, 0.06);
}

.member-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    background-color: #fafafa;
}

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

.member-meta { padding-top: 24px; }
.member-role { font-size: 0.85rem; font-weight: 500; color: #888888; display: block; letter-spacing: 0.05em; margin-bottom: 4px; }
.member-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; color: var(--text-color); }
.member-name .en-name { font-size: 0.85rem; font-weight: 400; color: #777777; margin-left: 6px; }

.instagram-link { display: inline-block; text-decoration: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.instagram-link:hover { opacity: 0.6; transform: scale(1.08); }
.instagram-link img { width: 22px; height: 22px; display: block; }


/* ==========================================================================
   10. TOPページ用 NEWSセクションスタイル
   ========================================================================== */
.top-news-list {
    border-top: 1px solid rgba(30, 30, 30, 0.15);
    position: relative;
    z-index: 10;
}

.top-news-row {
    display: flex;
    align-items: center;
    padding: 24px 10px;
    border-bottom: 1px solid rgba(30, 30, 30, 0.08);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.top-news-row:hover { background-color: rgba(30, 30, 30, 0.02); }

.top-news-time-tag {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 220px;
    flex-shrink: 0;
}

.top-news-date { font-size: 0.95rem; color: #555555; font-weight: 500; }
.top-news-label { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; text-align: center; }
.info-label { background-color: #1e1e1e; color: #fcf9f2; }
.press-label { background-color: #e63946; color: #ffffff; }

.top-news-title-area { flex-grow: 1; }
.top-news-item-title { font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--text-color); }


/* ==========================================================================
   11. 各一覧画面への導線ボタン
   ========================================================================== */
.view-all-area {
    margin-top: 40px;
    text-align: right;
    position: relative;
    z-index: 10;
}

.view-all-link {
    display: inline-block;
    font-family: var(--font-peace);
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 4px;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.view-all-link:hover { opacity: 0.6; transform: translateX(4px); }


/* ==========================================================================
   12. 全体レスポンシブ最適化 (SP版並び替え完全内包)
   ========================================================================== */
@media (max-width: 960px) {
    .statement-inner { flex-direction: column; align-items: flex-start; gap: 35px; padding: 0 8%; }
    .statement-left, .statement-right { width: 100%; }
    .statement-lead { font-size: 2.3rem; }
    .statement-text { font-size: 1.3rem; }
    .services-stairs-container { flex-direction: column; gap: 40px; }
    .services-left-sticky { width: 100%; position: relative; top: 0; }
    .services-right-stairs { width: 100%; display: flex; flex-direction: column; gap: 20px; }
    .services-right-stairs .stairs-lane { display: contents !important; }
    
    /* 1.STRATEGY -> 2.MARKETING & PR -> 3.SERVICE -> 4.CROSS-BORDER */
    .service-card-strategy  { order: 1 !important; }
    .service-card-marketing { order: 2 !important; }
    .service-card-service   { order: 3 !important; }
    .service-card-cross     { order: 4 !important; }

    .top-works-grid { grid-template-columns: 1fr; gap: 20px; }
    .featured-box { flex-direction: column; text-align: center; padding: 40px 30px; gap: 30px; }
    .featured-logo img { max-width: 180px; }
    .top-news-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 5px; }
    .top-news-time-tag { width: 100%; gap: 15px; }
    .view-all-area { text-align: center; margin-top: 30px; }
}

@media (max-width: 560px) {
    .fv-main-logo { max-width: 300px; }
    .section-padding { padding: 70px 0; }
}