:root {
    --primary-color: #543A34; /* Deep Warm Brown */
    --accent-color: #D97E4A;  /* Terracotta / Persimmon */
    --text-color: #4a3b32;    /* Dark Brown Text */
    --text-light: #ffffff;
    --bg-light: #FAF7F2;      /* Warm Cream / Washi */
    --bg-dark: #3E2B26;       /* Darker Brown */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition-speed: 0.3s;
    --section-padding: 100px 0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.global-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.global-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.global-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.global-nav a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* 中央揃えに変更 */
    color: var(--text-light);
    overflow: hidden;
    text-align: center; /* テキスト中央揃え */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景画像のパスをサーバー用に修正。imagesフォルダ内のファイル名に合わせて変更してください */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../images/hero.jpg') no-repeat center center/cover;
    z-index: -1;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Sections General */
.section {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.text-white { color: var(--text-light); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

/* Business Outline Grid */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.business-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Footer */
#footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 80px 0 30px;
}

.footer-nav-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .header-container { height: 60px; }
    .global-nav ul { display: none; } /* モバイルメニューは別途JSで制御 */
    
    .content-grid, .business-grid {
        grid-template-columns: 1fr;
    }

    .section { padding: 60px 0; }
}

/* 補足用：画像が出ない場合の代替背景 */
.hero-bg:empty {
    background: var(--primary-color);
}