@charset "utf-8";

/* ==========================================
   全体の共通設定
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Zen Old Mincho", serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
	padding: 140px 0;
}
.en_ttl{
	font-family: "Cormorant", serif;
	font-size: 100px;
}
.en_ttl span{
	font-size: 20px;
	padding-left: 10px;
	display: block;
}
.wrapper{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}



/* ==========================================
   HEADER (ドロワー対応カプセルナビ)
========================================== */
/* ── 1. 初期状態：PC時はハンバーガーボタンを隠す ── */
.hamburger-btn {
    display: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* 外枠のカプセル */
.header-nav {
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 0 0 60px;
    height: 50px;
}

.header-nav ul {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 60px;
}

/* メメニュー内の共通英語フォント設定 */
.header-nav a, 
.drawer-toggle {
    font-family: "Cormorant", serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    transition: opacity 0.3s ease;
}

.header-nav a:hover, 
.drawer-toggle:hover {
    opacity: 0.6;
}

/* ★マウスを乗せる対象（Service + とドロワーを包む親） */
.nav-service-parent {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.drawer-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    font-family: "Cormorant", serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* ★クリックで開くドロワーメニューの初期状態（非表示・透明） */
.drawer-menu {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-25%) translateY(0px); 
    background: rgba(18, 18, 18, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex !important;
    flex-direction: column;
    height: auto;
    gap: 0; 
    width: 240px;
    text-align: left; 
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    
    /* ★ホバー時のアニメーションの初期値も合わせて「-65%」に揃えます */
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-menu::before {
    content: "";
    position: absolute;
    top: -60px; 
    left: 0;
    width: 100%;
    height: 60px; 
    background: transparent;
    pointer-events: auto;
}

.drawer-menu li {
    width: 100%;
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
}

.drawer-menu a {
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    font-family: "Cormorant", serif;
    color: rgba(255, 255, 255, 0.7); 
    padding: 12px 12px; 
    border-radius: 6px;
    transition: color 0.3s ease, background 0.3s ease;
}

.drawer-menu a::after {
    content: "→";
    font-family: sans-serif;
    font-size: 12px;
    opacity: 0;
    transform: translateX(-10px); 
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #fff;
}
.drawer-menu li:hover a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05); 
}

.drawer-menu li:hover a::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-service-parent:hover .drawer-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-25%) translateY(12px);
}

/* CONTACTボタン（白背景カプセル） */
.header-nav .nav-contact {
    background: #fff;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
	height: 50px;
}

.header-nav .nav-contact a {
    color: #000;
    font-weight: 500;
}


/* ==========================================
   HERO SECTION (メインビジュアル)
========================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* 画面ぴったり1画面分 */
    background: linear-gradient(to bottom, #141313 0%, #464646 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 背後の特大タイポグラフィのベース */
.bg-typography {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); /* 画面の真ん中に強制配置 */
    width: 100%;
    overflow: hidden; /* はみ出た文字を隠して横スクロールの発生を防ぐ */
    font-size: 15vw;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: 0.02em;
    user-select: none;
    opacity: 0.15;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 横にスライドする行ごとの設定 */
.typo-row {
    display: block;
    white-space: nowrap; /* 文字を絶対に改行させず、横一列に並べる */
    width: max-content;  /* 文字の長さに合わせてボックスの幅を自動伸縮 */
    will-change: transform;
}

.text-fill {
    color: #fff;
}

.text-stroke {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

/* 中央のフクロウの配置 */
.hero-owl-wrap {
    position: absolute;
    bottom: 0; /* 画面の底にピタッと合わせる */
    height: 80vh;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-owl {
    height: 100%;
    width: auto;
    object-fit: contain;
	animation: owlZoomAnim 20s ease-out forwards;
    will-change: transform; /* 滑らかにする魔法 */
}

.hero-catch {
    font-family: "Zen Old Mincho", serif;
    font-weight: 800;
    /* ★PCで大きすぎない上品なサイズに調整（44px〜48pxあたりが最適です） */
    font-size: 90px; 
    line-height: 1.5;
    letter-spacing: 0.2em; /* 文字の間隔を広げて高級感を出す */
    color: #fff;
    
    /* 位置の固定（中央下付近） */
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 10;
    
    /* PC時は1行で横並びに見せる */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* 「苦なし、」と「福を呼ぶ。」の間の適切な空間 */
}

.hero-catch .catch-line {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ★1文字ずつフェードインさせるための<span>の初期状態 */
.hero-catch span {
    opacity: 0; /* 最初は透明 */
    display: inline-block;
    will-change: opacity;
    /* 1文字ずつ違うタイミング（delay）で再生するためにCSS変数を使う */
    animation: textFadeInAnim 1s ease-out forwards;
    animation-delay: calc(0.2s * var(--char-index)); /* 0.2秒ずつ遅らせる */
}

/* ★キャッチコピーのフェードインアニメーション定義 */
@keyframes textFadeInAnim {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1; /* スッと透明度を1にする */
    }
}
/* ★フクロウのズームアニメーション定義 */
@keyframes owlZoomAnim {
    0% {
        transform: scale(1.0); /* 最初は等倍 */
    }
    100% {
        transform: scale(1.08); /* 20秒かけて1.08倍までゆっくり大きく */
    }
}

/* ==========================================
   HERO AREA: 右側のスクロールバー
========================================== */
.hero-scroll-indicator {
    position: absolute;
    right: 40px;  /* 画面右端からの距離（ヘッダーのpaddingと合わせると綺麗です） */
    bottom: 30px; /* 画面下からの位置 */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;   /* キャッチコピーと同等かそれより手前に */
}

/* 「Scroll」の縦書きテキスト */
.scroll-text {
    font-family: "Cormorant", serif;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl; /* 文字を縦書きにする魔法のプロパティ */
    margin-bottom: 15px;       /* 下の線との隙間 */
    font-weight: 400;
}

/* グレーのベースの縦線（背景の土台） */
.scroll-line-wrap {
    position: relative;
    width: 2px;        /* 線の細さ */
    height: 80px;      /* 線の全体の長さ */
    background: rgba(255, 255, 255, 0.2); /* 画像のような落ち着いたグレー */
    overflow: hidden;  /* 枠からはみ出た白い線を隠す */
}

/* 上から下に流れる白い線本体 */
.scroll-line-moving {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;      /* 流れる白い線の長さ */
    background: #fff;  /* 真っ白 */
    /* 2秒かけて無限に（infinite）アニメーションをループさせる */
    animation: scrollLineAnim 2s ease-in-out infinite;
}

/* ★アニメーションの動きの定義（上から下へ流れて消える） */
@keyframes scrollLineAnim {
    0% {
        transform: translateY(-100%); /* 最初はグレーの線の上の外側に隠れている */
    }
    50% {
        transform: translateY(0);     /* 中間地点で線の中にきれいに収まる */
    }
    100% {
        transform: translateY(100%);  /* 最後はグレーの線の下の外側へ消え去る */
    }
}


/* ==========================================
   📰 KV直下 1行ニュースエリア（共通・PCベース）
========================================== */
.kv-news-bar {
    width: 100%;
    background-color: #464646; 
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
}

.news-bar-link {
    display: flex;
    width: 100%;
    min-height: 70px;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s ease;
}
d
.news-bar-link:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

/* 🏷️ Newsラベル（左側固定エリア） */
.news-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    max-width: 140px;
    font-family: "Cormorant", serif;
    font-size: 18px;
    letter-spacing: 0.05em;
    padding: 15px 10px;
    border-right: 2px solid #fff; /* 左側の縦線 */
    box-sizing: border-box;
    flex-shrink: 0;
}

/* 📦 右側メイン部分 */
.news-main-body {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0; /* ⚡左右の余白を各パーツ側に持たせるため、ここは0にします */
    box-sizing: border-box;
}

/* 日付と本文のラッパー */
.news-right-block {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 30px;
    padding: 0 30px; /* 本文エリアの左右に程よい上品な余白を確保 */
}

.news-date {
    font-family: "Cormorant", serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.news-text {
    font-size: 14px;
    color: #eeeeee;
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 🏹 矢印エリア（PC用：左側に縦線を追加） */
.news-arrow {
    display: flex;
    align-items: center;
    justify-content: center; /* 矢印を枠の真ん中に */
    width: 10%; /* 矢印のクリック判定も広がるように少し幅を持たせます */
    max-width: 100px;
    height: 70px; /* 親の高さに合わせる */
    /* ⚡【追加】Newsラベルの右線と同じ質感の縦線を左側に引きます */
    border-left: 2px solid #fff; 
    flex-shrink: 0;
    box-sizing: border-box;
}

.arrow-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.news-bar-link:hover .arrow-icon {
    transform: translateX(5px);
}

/* ==========================================
   SECTION 1: 文字色変化（薄グレー ➔ 黒）
========================================== */
.reveal-section {
    height: 240vh;
    position: relative;
    background: #fff;
	padding-bottom: 0px;
}

.about-section {
    position: sticky; /* ★追加：スクロール中、コンテンツを画面の中に固定する */
    top: 0;
    height: 100vh;    /* コンテンツ自体は1画面に収める */
    display: flex;
    align-items: center;
    padding: 140px 0;
}

/* タイトル設定 */
.en_ttl {
    font-family: "Cormorant", serif;
    font-size: 100px;
    font-weight: 600;
    line-height: 1.0;
    color: #141313;
    margin-bottom: 60px;
}

.en_ttl span {
    font-family: "Zen Old Mincho", serif;
    font-size: 20px;
    padding-left: 5px;
    margin-top: 15px;
    display: block;
    letter-spacing: 0.05em;
    color: #464646;
}

/* 横並びの調整（左にボタン、右にテキスト） */
.about-section .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    width: 100%;
}

/* 左側：ボタンエリア */
.about-section .btn-area {
    width: 30%;
}

/* 右側：スクロールで文字が変わるコンテナ */
.reveal-sticky-container {
    position: sticky;
    top: 15vh; /* 画面上部から程よい位置でピタッと止まる */
    width: 65%;
    display: flex;
    justify-content: flex-end;
}
.reveal-desc{
	font-size: 25px;
    font-weight: bold;
    line-height: 2.2;
}

/* 文章を包むメインの箱 */
.reveal-text-box {
    font-size: 24px; /* 画像に合わせた見やすい特大サイズ */
    font-weight: 400;
    line-height: 1.8;
    width: 100%;
    text-align: left;
    letter-spacing: 0.03em;
}

/* ★修正：JSが動く前（素のテキスト状態）でも、動いた後（span状態）でも、最初は一律で薄グレーにする */
.split-target,
.split-target span {
    color: #d2d2d2; 
    display: inline-block; 
    transition: color 0.1s linear; 
}

/* ★スクロールが通過して「is-active」がついた1文字だけをパキッと黒にする */
.split-target span.is-active {
    color: #141313; 
}


/* ==========================================
   MINIMAL BUTTON (View More) 完璧版
========================================== */
.btn-view-more {
    display: inline-flex;
    align-items: center;
    border: 3px solid #141313; /* 線を黒に */
    background: transparent;
    color: #141313;
    height: 64px;
    text-decoration: none;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* 左側の「View More」 */
.btn-view-more .btn-text {
    font-family: "Cormorant", serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-right: 3px solid #141313; /* 右側の区切り線を黒に */
}

/* 右側の「→」 */
.btn-view-more .btn-arrow {
    font-family: "Cormorant", serif;
    font-size: 22px;
    width: 64px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: none; /* 重複していた線を削除 */
    transition: transform 0.3s ease;
}

/* ホバーアクション（画像通り黒背景に白文字へ反転） */
.btn-view-more:hover {
    background-color: #141313;
    color: #fff;
}

.btn-view-more:hover .btn-text {
    border-right-color: #fff; /* ホバー時に中の仕切り線も白に反転 */
}

.btn-view-more:hover .btn-arrow {
    transform: translateX(5px); /* 矢印がスッと右に動く */
}

/* ==========================================
   SECTION 2: CSSだけで実装するカードスタッキング
========================================== */
.service_sec {
    position: relative;
    width: 100%;
}

.service_sec .en_ttl {
    color: #fff;
}
.service_sec .en_ttl span {
    color: #fff;
}

/* カードを包む外枠 */
.stack-wrapper {
    position: relative;
    width: 100%;
    padding: 80px 0 100px 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0; 
}

/* すべてのカードの共通の余白 */
.stack-card {
    position: -webkit-sticky;
    position: sticky;   
    width: 100%;
    height: auto;
    min-height: 480px; 
    padding: 40px 0 40px 40px; 
    box-sizing: border-box;
    border-radius: 0px 40px 0px 0px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 25vh; 
}

.stack-card:last-child {
    margin-bottom: 25vh; 
}


/* ── ★最重要：重なり順（z-index）と固定位置（top）の個別指定 ──
   ヘッダーの高さ（100px）をかわしつつ、カードが下からスッと重なるように
   topの位置を少しずつ下にズラして配置します。これで背景の突き抜けを物理的に防ぎます。
*/
.card-01 { 
    z-index: 1; 
    top: 120px; 
    background: #F8F8F8; color: #272727; border: 1px solid #f5f5f5;
}
.card-02 { 
    z-index: 2; 
    top: 140px; /* 前のカードより少し下にずらす */
    background: #E2E2E2; color: #272727; border: 1px solid #f5f5f5;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.15); 
}
.card-03 { 
    z-index: 3; 
    top: 160px; 
    background: #B9B9B9; color: #272727; border: 1px solid #f5f5f5;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.2); 
}
.card-04 { 
    z-index: 4; 
    top: 180px; 
    background: #727272; color: #EEEEEE; border: 1px solid #454545;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.25); 
}
.card-05 { 
    z-index: 5; 
    top: 200px; 
    background: #313131; color: #EEEEEE; border: 1px solid #454545;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.3); 
}


/* ── レイアウト（中のパーツは変更なし） ── */
.card-main-content {
    flex: 1;
    display: flex;
    align-items: center; 
    padding: 20px 40px 20px 20px; 
    gap: 50px;     
}

/* 左側（画像＋ボタン） */
.card-left {
    width: 38%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); 
}

.card-left .btn-view-more {
    width: 100%;
    max-width: 240px;
    margin-top: 30px; 
    background: #fff;
}
.card-left .btn-view-more:hover {
	background: #141313;
	border: 3px solid #fff;
}

/* 右側（テキスト一式） */
.card-right {
    width: 62%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.card-num {
    font-family: "Cormorant", serif;
    font-size: 28px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.card-main-ttl {
    font-family: "Cormorant", serif;
    font-size: 48px; 
    font-weight: 600;
    line-height: 1.1;
    margin-top: 5px;
}

.card-sub-ttl {
    font-size: 13px;
    color: #464646;
    letter-spacing: 0.05em;
    margin-top: 5px;
    margin-bottom: 25px; 
}

.card-catch {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.card-desc {
    font-size: 14px; 
    line-height: 1.7;
    color: #464646;
    text-align: justify; 
	font-family: "Noto Sans JP", sans-serif;
}

/* 右端：縦書きサイドバーエリア */
.card-sidebar {
    width: 70px;
    border-left: 1px dashed #ccc; 
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    padding-bottom: 40px; 
}

.sidebar-text {
    font-family: "Cormorant", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    writing-mode: vertical-rl; 
    transform: rotate(180deg); 
    color: #141313;
}

.card-04 .sidebar-text, .card-05 .sidebar-text, 
.card-04 .card-sub-ttl, .card-05 .card-sub-ttl, 
.card-04 .card-desc, .card-05 .card-desc {
	color: #EEEEEE;
}
.service_sec .container{
	padding: 160px 0 0;
}

/* ==========================================
   SECTION 3: Contact Us
========================================== */
.gradetion-bg{
	background: linear-gradient(to bottom, #141313 0%, #464646 100%);
}
.contact-section {
    position: relative;
    color: #fff;
    padding: 0 0 80px;
    overflow: hidden; /* 背景の飛び出しを防ぐ */
	border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.contact-section .container{
	padding-top: 180px;
}

/* レイアウトの2段組み */
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* ボタンを下揃えに配置 */
    position: relative;
    z-index: 2; /* 背景テキストより前に出す */
    width: 100%;
}

/* 左エリア */
.contact-left {
    width: 60%;
}

.contact-ttl {
    font-family: "Cormorant", serif;
    font-size: 100px;
    font-weight: 500;
    line-height: 1.0;
    color: #fff;
    display: inline-block;
    padding-bottom: 15px;
    border-bottom: 2px solid #fff; /* タイトル下の白い直線 */
    margin-bottom: 40px;
}

.contact-desc {
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    line-height: 2.0;
    letter-spacing: 0.05em;
    color: #d2d2d2; /* ほんのりグレーにして文字の主役を引き立てる */
}

/* 右エリア：四角い矢印ボタン */
.contact-right {
    width: 40%;
    display: flex;
    justify-content: flex-end; /* 右端に寄せる */
}

.btn-contact-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 140px;
    background: #fff;
    border: 3px solid #000;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-contact-arrow .arrow-mark {
    font-size: 32px;
    color: #141313;
    transition: transform 0.4s ease;
}

/* マウスを乗せた時の遊び心（白黒反転＆矢印がちょっと右に動く） */
.btn-contact-arrow:hover {
    background: #141313;
	border: 1px solid #fff;
}

.btn-contact-arrow:hover .arrow-mark {
    color: #fff;
    transform: translateX(10px);
}

/* 文字を包んでいる枠（はみ出た分を非表示にする） */
.contact-bg-text-wrap {
    position: absolute;
    bottom: -15%;
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* 実際の流れる文字 */
.contact-bg-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13vw;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-block;
    
    color: transparent;
    text-shadow: none;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    
    /* ★CSSアニメーションを発動（25秒かけて1周、無限ループ、等速） */
    animation: infinityScroll 25s linear infinite;
}
/* ★途切れなく無限ループさせるための魔術（横移動のアニメーション） */
@keyframes infinityScroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-30%); /* 文字の長さに合わせて左にゆっくりスライド */
    }
}

/* ==========================================
   FOOTER（フッターデザイン）
========================================== */
.main-footer {
    background: #141313; /* コンタクトから続く引き締まった黒 */
    color: #fff;
    font-family: "Cormorant", serif; /* 英語のベースフォント */
}

.main-footer .container{
	padding-bottom: 120px;
}

/* 4列に並べるためのグリッドシステム */
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 40px;
}

/* 各列の基本設定 */
.footer-col {
    width: 22%; /* 均等に近いバランスで配置 */
}

/* 1列目だけロゴがあるので少し幅を広めに調整 */
.footer-col.col-logo {
    width: 28%;
}

/* ── ロゴエリア ── */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px; /* カンプに合わせたロゴのサイズ */
    width: auto;
}

.footer-logo-text {
    color: #fff;
}

.company-sub {
    font-family: "Zen Old Mincho", serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    display: block;
    line-height: 1.2;
}

.company-main {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: 0.03em;
}

.copyright {
    font-size: 12px;
    color: #777; /* 薄めのグレーで上品に裏方に */
    letter-spacing: 0.02em;
    margin-top: 10px;
}

/* ── 各列のタイトル（Address, Contents, Contact） ── */
.footer-ttl {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* カンプの細い繊細な白線 */
    margin-bottom: 25px;
	padding-left: 3%;
	padding-right: 3%;
}

/* ── 2列目：住所 ── */
.footer-address {
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #ccc;
	padding-left: 3%;
	padding-right: 3%;
}

/* ── 3列目：メニュー ── */
.footer-links, .footer-sub-links {
    list-style: none;
    padding: 0 3%;
    margin: 0;
}

.footer-links > li {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #aaa; /* ホバー時に優しく反応 */
}

/* ビジネスの中の小項目（Real Estateなど） */
.footer-sub-links {
    margin-top: 8px;
    padding-left: 5px;
}

.footer-sub-links li {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-sub-links a {
    color: #bbb;
}

/* ── 4列目：Contactエリアの再現 ── */
.footer-tel {
    font-size: 18px;
    letter-spacing: 0.03em;
    margin-bottom: 30px; /* 電話番号と下のボタンの間の余白 */
    color: #fff;
}

/* テキストと正方形ボタンを横並びにする */
.footer-form-row {
    display: flex;
    align-items: center;
    gap: 20px; /* テキストとボタンの間の距離 */
}

/* 「Contact Form」のテキスト */
.footer-form-label {
    font-size: 18px;
    letter-spacing: 0.05em;
    color: #fff;
}
.footer-contact-info{
	padding-left: 3%;
	padding-right: 3%;
}

/* ★カンプ通りの小さな正方形の矢印ボタン */
.btn-footer-square-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;  /* カンプに合わせた絶妙なサイズ感 */
    height: 35px;
    background: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.square-arrow-mark {
    font-size: 14px;
    color: #141313; /* 中の矢印は黒 */
    transition: transform 0.3s ease;
}

/* マウスを乗せた時のホバーエフェクト（白黒反転） */
.btn-footer-square-arrow:hover {
    background: #141313;
}

.btn-footer-square-arrow:hover .square-arrow-mark {
    color: #fff;
    transform: translateX(2px); /* 矢印がちょっとだけ右にピコッと動く */
}
/* ホバー時に白黒反転するギミック */
.footer-form-link:hover {
    background: #fff;
    color: #141313;
}

.footer-form-link:hover .form-link-arrow {
    transform: translateX(4px);
}

/* ==========================================
   MOBILE NAVIGATION (Hamburger Menu)
========================================== */

/* ── 1. 初期状態：PC時はハンバーガーボタンを隠す ── */
.hamburger-btn {
    display: none;
}
.sp-only {
    display: none;
}

@media (max-width: 1100px) {
	.container{
		margin: 0 15px;
	}
}
@media (max-width: 1024px) {
	.hero-catch{
		font-size: 75px;
	}
}

/* ── 2. スマホ・タブレット環境（768px以下）のスタイル ── */
@media (max-width: 768px) {
	.sp-only {
        display: block;
    }
    
    /* ヘッダーのレイアウト微調整 */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 0 5%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(21,21,21,0.8);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    .header-logo .logo-img {
        height: 35px;
        width: auto;
    }

    /* ハンバーガーボタン（右上固定） */
    .hamburger-btn {
        display: flex;
        position: fixed;
        top: 26px;      
        right: 4%;      
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 9999;  
    }

    .hamburger-bar {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #ffffff; 
        transition: all 0.4s ease; 
    }

    .hamburger-btn.is-active .hamburger-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger-btn.is-active .hamburger-bar:nth-child(2) {
        opacity: 0; 
        transform: translateX(-10px);
    }
    .hamburger-btn.is-active .hamburger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 全画面メニュー背景 */
    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;   
        max-width: 100%;
        height: 100vh;
        background: #141313; 
        z-index: 9000;
        border: none;
        border-radius: 0;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        
        padding: 0;
        overflow-x: hidden;
    }

    /* メニューが開いた時 */
    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* メニュー内側のレイアウト（スクロールできるように設定） */
    .header-nav .nav-inner {
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 90px 10% 40px 10%; /* 上部の余白を少し調整 */
        box-sizing: border-box;
        overflow-y: auto; /* メニューが長くなっても縦スクロール可能にする */
        overflow-x: hidden;       
        display: flex;
        align-items: flex-start;    /* 中央揃えから上揃えに変更してスクロールしやすく */
    }

    /* ナびゲーションリスト */
    .header-nav ul {
        display: flex;
        flex-direction: column;
        gap: 35px;                /* メニュー同士の間隔を少しスマートに */
        width: 100%;   
        max-width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        height: auto;  
        box-sizing: border-box;
    }

    .header-nav ul li {
        width: 100%;
        max-width: 100%;
        text-align: left;         
        transform: none;
        position: static;
        margin: 0;
        padding: 0;
        display: block;
        box-sizing: border-box;
    }

    /* 各メインメニューの文字設定 */
    .header-nav ul li a,
    .drawer-toggle {
        font-family: "Cormorant", serif;
        font-size: 24px;
        color: #ffffff;
        text-decoration: none ;
        display: block;
        letter-spacing: 0.08em;
        background: none;
        border: none;
        padding: 0;
        width: 100%;
        text-align: left;
    }

    /* 3. ── Serviceの子メニュー（★最初から常時全開にする設定） ── */
    .nav-service-parent {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* JSやPC版のホバー設定を完全に無視して「常時表示」に固定 */
    .header-nav .drawer-menu {
        position: static;
        transform: none;
        display: flex;       /* ★強制的に最初から表示 */
        flex-direction: column;
        width: 100%;
        max-width: 100%; 
        margin: 12px 0 6px 0; /* 上下の余白調整 */
        padding: 0 0 0 20px;  /* 左側に少しインデント（ズレ）を作る */
        background: none;
        border: none;
        box-shadow: none;
        opacity: 1; 
        visibility: visible; 
        pointer-events: auto;
        gap: 0;
        box-sizing: border-box;
    }
    .header-nav .drawer-menu::before {
        display: none;
    }

    .header-nav .drawer-menu li {
        position: static;
        width: 100%;
    }

    /* 子メニュー（Real Estateなど）の文字デザイン */
    .header-nav .drawer-menu li a {
        font-family: "Cormorant", serif;
        font-size: 18px; 
        color: rgba(255, 255, 255, 0.6); /* 少し薄くして親子関係をわかりやすく */
        padding: 8px 0;   /* タップしやすい程よい隙間 */
        display: block;
        width: 100%;
        border: none;
        letter-spacing: 0.05em;
        box-sizing: border-box;
    }
    
    /* スマホ時はホバー用の「→」を完全に消去 */
    .header-nav .drawer-menu a::after {
        display: none;
    }

    /* 4. Contactボタン（白の楕円デザインに修正） */
    .header-nav ul li.nav-contact {
        position: static;
        width: 100%;
        height: auto;
        background: none; 
        padding: 0;
        border: none;
        margin-top: 30px; /* 上の子メニューとの間にしっかり隙間を作る */
        display: flex;
        justify-content: flex-start; 
    }
    
    .header-nav ul li.nav-contact a {
        display: inline-flex; /* 文字の長さに合わせたボタン幅にする */
        align-items: center;
        justify-content: center;
        width: 100%;          /* 横幅いっぱいの楕円にする場合 */
        max-width: 280px;     /* ボタンが長くなりすぎないように制限 */
        height: 64px;         /* ボタンの高さ */
        background: #ffffff;  /* 背景を白に */
        color: #141313 ;       /* 文字色を黒（背景のダーク色）に */
        font-size: 22px;      /* 文字の大きさ */
        font-family: "Cormorant", serif;
        letter-spacing: 0.1em;
        border-radius: 100px; /* 完全に丸い楕円にする設定 */
        text-align: center;
        padding: 0 30px;
        box-sizing: border-box;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    /* 青枠バグ消去 */
    .hamburger-btn:focus,
    .hamburger-btn:active,
    .drawer-toggle:focus {
        outline: none !important;
    }
    
    .drawer-menu a,
    .header-nav a {
        touch-action: manipulation !important;
        pointer-events: auto !important;       
    }
    .drawer-item:hover .sub-menu {
        display: block !important; /* JSの制御（slideToggleなど）に完全に委ねる */
    }
	
	.hero-owl-wrap{
		height: 55vh;
		bottom: 15px;
	}
	.bg-typography {
		top: 30%;
		font-size: 30vw;
	}
	.hero-scroll-indicator{
		right: 15px;
	}
	.scroll-text{
		font-size: 12px;
	}
	.scroll-line-wrap{
		height: 60px;
	}
	.scroll-line-moving{
		height: 30px;
	}
	/* ── 1. Hero Section (キービジュアル) ── */
    .hero-section {
        height: 88vh;
        min-height: 568px; /* 極端に高さが低いスマホ対策 */
        padding-top: 70px; /* 固定ヘッダーの分下げる */
    }

    /* 背後のタイポグラフィをスマホ用に縮小（はみ出しすぎを防ぐ） */
    .bg-typography {
        gap: 10px;
    }
    .typo-row {
        font-size: 28vw;
        line-height: 0.85;
    }

    /* フクロウのイラストのサイズ調整（画面の中央に収まるように） */
    .hero-owl-wrap {
        width: 90%;
        max-width: 260px;
    }

    .hero-catch {
        font-size: 45px; 
        line-height: 1.3; 
        letter-spacing: 0.15em;
        bottom: 10%;
        display: flex;
        flex-direction: column; /* 縦並びにして改行させる */
        gap: 12px; /* 1行目と2行目の間の隙間 */
    }

    .hero-catch .catch-line {
        display: flex;
        align-items: center;
		justify-content: flex-start;
    }
	.container{
		margin: 0 15px;
		padding: 100px 0;
	}

    /* ── 2. About Section (Who we are) ── */
    .about-section {
        padding: 0;
		height: auto !important;
    }

    /* 英語の共通大見出しをスマホサイズに */
    .en_ttl {
        font-size: 60px;
        margin-bottom: 40px;
    }
    .en_ttl span {
        font-size: 14px;
        margin-top: 5px;
    }
	
	.about-section {
        padding: 40px 0 0 !important; /* 上下に適度な余白を作る */
        height: auto !important; 
    }

    /* ★1. wrapperの中の要素を上から順に並べる土台 */
    .about-section .wrapper {
        display: flex;
        flex-direction: column; 
        gap: 40px;
    }
	
    /* ★2. テキスト（キャッチコピーと本文）を2番目に指定 */
    .about-section .reveal-sticky-container {
        width: 100%;
        position: relative;
        height: auto;
        top: auto;
        order: 2; /* 2番目に表示 */
    }

    /* ★3. ボタンの入っているエリアを確実に一番下（3番目）に落とす */
    /* クラス名を実際のHTMLの「.btn-area」に合わせました */
    .about-section .btn-area {
        width: 100%;
        display: flex;
        justify-content: center; /* スマホ時はボタンを中央寄せにする（左寄せなら flex-start ） */
        order: 3; /* ★これで確実に文章の下に回り込みます！ */
        margin-top: 20px;
    }

    /* --- 以下、文字サイズなどの調整（そのままでOK） --- */
    .about-section .reveal-catch {
        font-size: 24px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .about-section .reveal-desc {
        font-size: 20px;
        letter-spacing: 0.05em;

    }
	.reveal-section{
		height: auto;
        min-height: 100svh;
	}

    .stack-wrapper {
        padding-top: 40px;
        padding-bottom: 0;
    }

    /* 各実績・事業カードをスマホ用に最適化 */
    .stack-card {
        position: -webkit-sticky;
        position: sticky;   
        height: auto;          /* 高さを中身に合わせる */
        min-height: auto !important;
        margin-bottom: 20vh;
        padding: 24px 28px 36px 18px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
	.card-01 { z-index: 1; top: 70px !important; }
    .card-02 { z-index: 2; top: 70px !important; }
    .card-03 { z-index: 3; top: 70px !important; }
    .card-04 { z-index: 4; top: 70px !important; }
    .card-05 { z-index: 5; top: 70px !important; }

    /* サイドバー（縦書きのService.01など）はスマホでは上部へさりげなく配置 */
    .card-sidebar {
        position: absolute;
        top: 35px;
        right: 10px;
        width: auto;
        height: auto;
        border-left: none;    
        padding: 0;
        z-index: 10;
    }
	.sidebar-text {
        font-size: 16px;      /* 文字を少し小さくして右上に品よく配置 */
    }

    .stack-card:last-child {
        margin-bottom: 180px; /* 0から25vhに変更してstickyを機能させます */
    }

    /* カードのメインコンテンツ */
    .card-main-content {
        display: flex !important;
        flex-direction: column !important; /* 縦一列に並べる */
        padding: 0 !important;
        gap: 0 !important;                 /* 隙間は各パーツのマージンで個別に制御 */
        width: 100% !important;
    }

    /* 画像エリア */
    .card-left {
        display: contents !important;
    }
    .card-img-wrap {
        order: 1 !important;              
        width: 100% !important;
        aspect-ratio: 16 / 10 !important; /* スマホで見やすい横長比率 */
        margin-bottom: 20px !important;
    }

    /* テキスト・詳細エリア */
    .card-right {
        order: 2 !important;              
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .card-num {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .card-main-ttl {
        font-size: 38px !important;       /* スマホ用にタイトルを少しコンパクトに */
        line-height: 1.2 !important;
    }

    .card-sub-ttl {
        margin-bottom: 14px !important;
		margin-top: 0!important;
	}

    .card-catch{
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }

    .card-desc {
        font-size: 13px !important;
        line-height: 1.8 !important;
        color: #464646 !important;
        margin-bottom: 25px !important;   /* 文章とボタンの間の隙間 */
        overflow: visible !important;
        display: block !important;
    }

    /* カード内のView Moreボタンをスマホ幅にフィット */
    .card-left .btn-view-more {
        position: relative !important;
        order: 3 !important;              /* 3番目 */
        width: 100% !important;
        max-width: none !important;      
        margin-top: 0 !important;         /* マージンをリセット */
        margin-bottom: 10px !important;
    }
	
	.card-04 .sidebar-text, .card-05 .sidebar-text, .card-04 .card-sub-ttl, .card-05 .card-sub-ttl, .card-04 .card-desc, .card-05 .card-desc{
		color: #eee !important;
	}
	.btn-view-more{
		height: 70px;
	}
	.btn-view-more .btn-text{
		padding: 0 70px;
	}

    /* ── 4. Contact Section ── */
    .contact-section {
        padding: 0;
    }
	.contact-section .container{
		padding: 120px 0
	}
    .contact-wrapper {
        flex-direction: column; /* 縦並び */
        align-items: flex-start;
        gap: 60px;
    }
    .contact-left {
        width: 100%;
    }

    .contact-ttl {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .contact-desc {
        font-size: 14px;
        line-height: 1.8;
    }
    .contact-desc br {
        display: none; /* スマホの幅に合わせて自動で流すため内側の改行を消す */
    }

    .contact-right {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
	.contact-bg-text-wrap{
		bottom: -55px;
	}

	.contact-bg-text{
		font-size: 40vw;
	}

    /* ── 5. Main Footer ── */
    .main-footer {
        padding: 0;
    }
	.footer-grid{
		flex-wrap: wrap;
	}
	.footer-col{
		display: block;
		width: 100%;
	}

    /* ロゴとコピーライトの順序調整 */
    .footer-col.col-logo {
		width: 100%;
    }
	
	.footer-logo-wrap{
		margin-bottom: 20px;
	}

    .footer-ttl {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .footer-links li a,
    .footer-contact-info {
        font-size: 18px;
    }
	
	.footer-address{
		font-size: 16px;
	}
	
	.news-bar-link {
        min-height: 90px;
    }

    .news-label {
        width: 20%; 
        font-size: 15px;
    }

    .news-main-body {
        padding: 12px 20px; /* スマホ時は中身全体に余白を適用 */
        position: relative;
    }

    .news-right-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 0 35px 0 0; /* スマホ時は右側の矢印スペースだけ空ける */
    }

    .news-date {
        font-size: 13px;
    }

    .news-text {
        font-size: 16px;
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    /* 🏹 スマホ時の矢印調整 */
    .news-arrow {
        position: absolute;
        right: 20px;
        bottom: 20px;
        width: auto;
        height: auto;
        /* ⚡スマホの時はレイアウトが崩れるため、PC用の縦線を消去します */
        border-left: none; 
        padding-left: 0;
    }

    .arrow-icon {
        font-size: 18px;
    }
}
@media (min-width: 769px) {
	/* ★ドロワーメニューの本体：高さを自動伸縮するように修正 */
.drawer-menu {
    position: absolute;
    top: 50px; /* カプセルの位置 */
    left: 50%;
    transform: translateX(-20%) translateY(0px); 
    
    background: rgba(18, 18, 18, 0.85) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px); 
    
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    
    padding: 24px 20px !important;
    display: flex !important;
    flex-direction: column !important; /* 縦並びを強制 */
    
    /* ── ⚡【ここを追加！】背景が中身に合わせて一番下まで伸びるようにする ── */
    height: auto !important;
    
    gap: 0 !important; 
    width: 240px;
    text-align: left; 
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ── ⚡上部の隙間を埋めるクッション（変更なし・現状維持） ── */
.drawer-menu::before {
    content: "";
    position: absolute;
    top: -60px; 
    left: 0;
    width: 100%;
    height: 60px; 
    background: transparent;
    pointer-events: auto;
}

/* ── ⚡各メニューの文字の隙間対策（変更なし・現状維持） ── */
.drawer-menu li {
    width: 100%;
    position: relative;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.drawer-menu a {
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    font-family: "Cormorant", serif;
    color: rgba(255, 255, 255, 0.7); 
    padding: 12px 12px !important; 
    border-radius: 6px;
    transition: color 0.3s ease, background 0.3s ease;
}

/* ホバー時の矢印演出（変更なし・現状維持） */
.drawer-menu a::after {
    content: "→";
    font-family: sans-serif;
    font-size: 12px;
    opacity: 0;
    transform: translateX(-10px); 
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #fff;
}

.drawer-menu li:hover a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05); 
}

.drawer-menu li:hover a::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-service-parent:hover .drawer-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-20%) translateY(12px); 
}
}

@media (max-width: 380px) {
  .stack-card {
    min-height: auto !important;
    padding: 20px 24px 28px 16px;
    margin-bottom: 18vh;
  }

  .card-img-wrap {
    aspect-ratio: 16 / 8;
  }

  .card-main-ttl {
    font-size: 30px !important;
  }

  .card-desc {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
}
