/* --- Design System: Modern White --- */
:root {
    --color-bg: #fcfcfc;          /* 柔らかな白 */
    --color-text: #1a1a1a;        /* 墨色（漆黒より少し柔らかい） */
    --color-accent: #a68b5a;      /* 真鍮・ゴールド */
    --color-sub: #666666;         /* 補助テキスト */
    --color-border: #e0e0e0;      /* 繊細な境界線 */
    --transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- Base Settings --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

p {
    color: var(--color-sub);
    margin-bottom: 20px;
}

/* --- Global Components & UI --- */
#page-transition {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.6s ease-in-out;
    pointer-events: none;
}

/* index2.css の .logo 部分を以下に差し替え */
.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em; /* 日本語に合わせて少し調整 */
    text-decoration: none;
    color: var(--color-text);

    /* 横並びにするための設定 */
    display: flex;
    align-items: center;
    gap: 12px; /* ロゴとテキストの間隔 */
}

.logo img {
    height: 32px; /* ロゴの大きさを調整 */
    width: auto;
    display: block;
}

.label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-accent);
    font-size: 15px;
    letter-spacing: 0.3em;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 15px;
    letter-spacing: 0.2em;
    opacity: 0.6;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #fff;
    min-width: 220px;
    padding: 15px 0;
    list-style: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    font-size: 0.75rem;
    white-space: nowrap;
    color: var(--color-text); /* Fallback color */
}

.dropdown-menu li a:hover {
    background: #f9f9f9;
    color: var(--color-accent);
    padding-left: 30px;
}

.arrow {
    font-size: 0.6rem;
    margin-left: 4px;
}


/* --- Hero Sections --- */

/* Hero (Old) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #000;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)) center/cover no-repeat;
    z-index: 1;
    animation: heroZoom 20s infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1rem;
    letter-spacing: 0.5em;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Hero (New) */
.hero-new {
    height: 100vh;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    padding-top: 80px; /* ヘッダーの重なりを回避 */
    box-sizing: border-box; /* paddingを高さに含める */
    max-width: initial; /* sectionのmax-widthを上書き */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgb(0 0 0 / 32%) 0%, rgb(0 0 0 / 30%) 100%);
    z-index: 2;
}

.hero-content-new {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.hero-content-new h1 {
    font-size: clamp(3rem, 10vw, 6.5rem);
    line-height: 1.1;
    font-weight: 200;
    letter-spacing: -0.02em;
}

.hero-content-new h1 .line {
    display: block;
}

.hero-price-tag {
    color: #d3b682;
    margin-top: 30px;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-weight: 700; /* Increased font-weight */
    opacity: 1;
    text-shadow: 2px 2px 15px #000000d1;
}

.hero-actions {
    margin-top: 50px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.btn-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 15px 40px;
    min-width: 200px;
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn-minimal span {
    font-size: 18px;
    margin-top: 4px;
    opacity: 0.7;
}

.btn-minimal::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-accent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-minimal:hover::before {
    transform: translateX(0);
}

.btn-minimal:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: transparent;
}

.hero-scroll-guide {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: #fff;
    z-index: 3;
}

.hero-scroll-guide::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #fff, transparent);
}


/* --- General Section Layout --- */
section {
    padding: 120px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.4;
    color: var(--color-text);
}

.flex-text-h3 {
    font-size: 35px;
}

/* --- News Section --- */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-text);
}

.view-all-link {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-sub);
    text-decoration: none;
    transition: 0.3s;
}

.view-all-link:hover {
    color: var(--color-accent);
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    transition: 0.4s;
}

.news-item:hover {
    padding-left: 15px;
    background-color: rgba(166, 139, 90, 0.04);
}

.news-meta {
    display: flex;
    align-items: center;
    width: 250px;
    flex-shrink: 0;
}

.news-date {
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    color: var(--color-sub);
    margin-right: 30px;
}

.news-category {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border: 1px solid var(--color-border);
    color: var(--color-sub);
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}


/* --- Content Components --- */

/* Flex Container */
.flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.flex-text {
    flex: 1;
}

.flex-img {
    flex: 1;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border: none;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    position: relative;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.feature-item h3 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
}

.feature-item h3::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 1.2rem;
    background-color: var(--color-accent);
    margin-right: 12px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-sub);
}

.item-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    transition: 0.3s;
}
.item-link:hover {
    letter-spacing: 0.1em;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ホバー：カードがわずかに浮き上がり、枠線とタイトルが変化 */
.service-card-link:hover {
    transform: translateY(-8px);
}

.service-card-link:hover .feature-item {
    border-color: var(--color-accent); /* ゴールドの枠線 */
    box-shadow: 0 15px 35px rgba(166, 139, 90, 0.12); /* 柔らかな黄金色の影 */
    background-color: #fff;
}

/* ホバー：タイトルの前に小さな動きを付ける */
.service-card-link:hover h3 {
    color: var(--color-accent);
    padding-left: 5px;
}

.feature-item h3 {
    transition: all 0.3s ease;
}

/* Flow Grid */
.flow-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.flow-item {
    position: relative;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.flow-item:hover {
    transform: translateY(-5px);
}

.flow-num {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
    font-size: 3rem;
    font-weight: 900;
    color: #f0f0f0;
}

.flow-item h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 700;
}

.flow-item p {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    color: var(--color-sub);
}

/* Infinite Slider */
.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    width: calc(400px * 10);
    animation: scroll 50s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-400px * 5)); }
}

.work-card-slide {
    width: 400px;
    flex-shrink: 0;
    padding: 0 15px;
}

.work-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    opacity: 0.6;
    transition: 0.5s;
}

.work-card-slide:hover .work-img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.02);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
}

.faq-item[open] summary::after {
    content: '-';
}

/* Area Info */
.area-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.area-map {
    flex: 1.5;
    height: 350px;
    background: #eee;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.area-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Minimal Stats */
.stats-minimal {
    padding: 100px 0 !important;
    max-width: 100% !important;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    border-left: 1px solid var(--color-border);
}

.stat-box {
    padding: 40px;
    border-right: 1px solid var(--color-border);
    text-align: center;
}

.stat-num {
    display: block;
    margin-bottom: 15px;
    font-size: 3.5rem;
    font-weight: 200;
    line-height: 1;
    color: var(--color-text);
}

.stat-num small {
    margin-left: 5px;
    font-size: 1.2rem;
    color: var(--color-accent);
    vertical-align: middle;
}

.stat-desc {
    font-size: 14px;
    letter-spacing: 0.15em;
    line-height: 1.6;
    color: var(--color-sub);
}


/* --- Call To Action --- */
/* --- CTA Section Upgrade --- */
.cta-section {
    background-color: #f8f5f0; /* 完全に白ではなく、安心感のあるオフホワイトに */
    padding: 100px 5%;
    border-top: 1px solid var(--color-border);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.text-highlight {
    color: #e63946; /* 注意を引く赤系、または濃いアクセント色 */
    font-weight: 700;
}

.text-free {
    background: linear-gradient(transparent 60%, #ffe066 60%); /* マーカーを引いたような演出 */
    font-weight: 700;
    padding: 0 5px;
}

.cta-lead {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--color-sub);
}

/* ボタンレイアウト */
.cta-buttons-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

/* 電話ボタン */
.cta-btn-phone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid var(--color-text);
    padding: 20px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
        border-radius: 5px;
}

.cta-btn-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(166, 139, 90, 0.4);
}

/* フォームボタン（メインCTA） */
.cta-btn-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-accent);
    padding: 20px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 20px rgba(166, 139, 90, 0.2);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #ffffff;
    border-radius: 5px;;
}

.cta-btn-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(166, 139, 90, 0.4);
}

/* ボタン内のテキスト装飾 */
.btn-sub {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.btn-main {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-note {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}

/* 特徴リスト */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #7a7a7a;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cta-buttons-wrapper {
        flex-direction: column;
    }

    .cta-features {
        flex-direction: column;
        gap: 10px;
    }
}


/* --- Footer --- */
.footer {
    padding: 100px 5% 40px;
    background: #fff;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px; /* Default gap */
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    flex: 1.2;
    min-width: 300px;
}

.brand-desc {
    margin-top: 20px;
    font-size: 0.75rem;
    line-height: 2;
    color: var(--color-sub);
}

.footer-info {
    margin-top: 30px;
    font-size: 0.75rem;
    color: #888;
    line-height: 2;
}

.footer-info .tel {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

.footer-nav-wrapper {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    min-width: 600px;
}

.nav-col h4 {
    position: relative;
    margin-bottom: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.nav-col h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 20px;
    height: 1px;
    background: var(--color-accent);
}

.nav-col ul {
    list-style: none;
}

.nav-col ul li {
    margin-bottom: 15px;
}

.nav-col a {
    text-decoration: none;
    font-size: 0.75rem;
    color: var(--color-sub);
    transition: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-col a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.social-links a {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.65rem;
    color: #999;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    text-decoration: none;
    color: #999;
}

.footer-legal a:hover {
    color: var(--color-text);
}


/* --- Responsive --- */

@media (max-width: 1024px) {
    .footer-nav-wrapper {
        grid-template-columns: repeat(2, 1fr);
        min-width: 100%;
    }
    .footer-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content-new h1 {
        font-size: 3.5rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Content */
    .flex-container,
    .area-container {
        flex-direction: column;
    }

    /* News */
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .news-meta {
        width: 100%;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        border-left: none;
    }
    .stat-box {
        border-bottom: 1px solid var(--color-border);
        border-right: none;
    }
}

@media (max-width: 640px) {
    /* Footer */
    .footer-container {
        flex-direction: column;
    }
    .footer-nav-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}/* --- Improved List Design --- */
.flex-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.flex-text ul li {
    position: relative;
    padding: 12px 0 12px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.flex-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.flex-text ul li:hover {
    padding-left: 30px;
    color: var(--color-accent);
    background: rgba(166, 139, 90, 0.05);
}

.flex-text ul li:hover::before {
    width: 10px;
    height: 10px;
    background: var(--color-accent);
}

.flex-text ul li:last-child {
    border-bottom: none;
}

.text-accent { color: var(--color-accent); }

/* --- Feature/Service Common Hover --- */
.feature-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.feature-link:hover {
    transform: translateY(-10px);
}

.feature-link:hover .feature-item {
    border-color: var(--color-accent);
    box-shadow: 0 15px 35px rgba(166, 139, 90, 0.12);
}

.feature-link:hover h3 {
    color: var(--color-accent);
}

/* 詳しく見るボタン (親ホバー連動) */
.btn-more {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.feature-link:hover .btn-more {
    text-decoration: underline;
}

/* --- Stats Title Alignment --- */
.stats-minimal {
    padding: 120px 0;
    background: #fff;
    width: 100%;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%; /* 他のsectionと左端を揃える */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--color-border);
    margin-top: 40px;
}

@media (max-width: 768px) {
    .stats-container { padding: 0 5%; }
    .stats-grid { grid-template-columns: 1fr; border-left: none; }
}

/* --- 事業内容・強みの共通スタイル (高さ一定) --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-link {
    text-decoration: none;
    color: inherit;
    display: flex; /* 高さを揃えるための設定 */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.feature-item {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--color-border);
    width: 100%; /* 横幅いっぱい */
    display: flex; /* 内部パーツの配置用 */
    flex-direction: column; /* 縦に並べる */
    transition: all 0.3s ease;
}

/* テキストの量に関わらずボタンを下に押し下げる */
.feature-item p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.feature-link:hover {
    transform: translateY(-10px);
}

.feature-link:hover .feature-item {
    border-color: var(--color-accent);
    box-shadow: 0 15px 35px rgba(166, 139, 90, 0.12);
}

.feature-link:hover h3 {
    color: var(--color-accent);
}

/* 詳しく見るボタン */
.btn-more {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.feature-link:hover .btn-more {
    text-decoration: underline;
}

/* --- 実績（STATS）のレイアウト調整 --- */
.stats-minimal {
    padding: 120px 0;
    background: #fff;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%; /* 左端を他のセクションと同期 */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--color-border);
    margin-top: 40px;
}

@media (max-width: 768px) {
    .stats-container { padding: 0 5%; }
    .stats-grid { grid-template-columns: 1fr; border-left: none; }
    .feature-item { padding: 30px; }
}

/* タイトルエリアを他のセクション(padding: 120px 10%)と同期 */
.case-header {
    margin-bottom: 40px;
}

/* スライダーの設定 */
.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    /* アニメーション用の設定が他にあればここに含める */
}

/* カードデザイン */
.work-card-slide {
    flex: 0 0 350px;
    margin-right: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #111;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.work-card-slide:hover {
    transform: translateY(-10px);
}

.work-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.work-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.work-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #fff;
    transition: color 0.3s ease;
}

.work-card-slide:hover h4 {
    color: var(--color-accent);
}

.work-category {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.work-details {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 20px;
    flex-grow: 1; /* 余白を埋めてボタンを下に固定 */
}

.btn-more {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.work-card-slide:hover .btn-more {
    text-decoration: underline;
}

/* ===== Contact Form 7 Base ===== */
.wpcf7 {
    max-width: 720px;
    margin: 0 auto;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ラベル */
.wpcf7-form label {
    font-weight: 600;
    font-size: 14px;
    color: #222;
    display: block;
    margin-bottom: 6px;
}

/* 入力欄 */
.wpcf7-form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 15px;
    transition: 0.25s ease;
}

/* フォーカス */
.wpcf7-form-control:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}

/* textarea高さ */
textarea.wpcf7-form-control {
    min-height: 160px;
    resize: vertical;
}

/* 送信ボタン */
.wpcf7-submit {
    background: #111;
    color: #fff;
    border: none;
    padding: 16px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    width: fit-content;
}

.wpcf7-submit:hover {
    background: #000;
    transform: translateY(-1px);
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #d63638;
    margin-top: 4px;
}

/* 成功メッセージ */
.wpcf7-response-output {
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background: #f3f6f4;
    color: #2d5a43;
}

.wpcf7-validation-errors {
    background: #fff3f3;
    color: #9c2c2c;
}

/* モバイル対応：他のセクションが5%に縮小するのに合わせる */
@media (max-width: 768px) {
    .case-header {
        padding-left: 5%;
    }
    .work-card-slide {
        flex: 0 0 280px;
    }
}

