/* 基本スタイル */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;
    --color-background: #ffffff;
    --color-secondary: #f3f4f6;
    --color-foreground: #1f2937;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

section {
    padding: 5rem 0;
}

section#steps, section#testimonials {
    background-color: var(--color-background);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-accent {
    background-color: var(--color-accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline;
    }
}

/* アニメーション */
.animated {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* ヒーローセクション */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 5rem 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    object-position: left;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* お悩みセクション */
.problems-section {
    background-color: var(--color-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
}

/* CTAセクション */
.cta-section {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* サービスステップセクション */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step-icon {
    background-color: var(--color-accent);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* スタッフセクション */
.staff-section {
    background-color: var(--color-secondary);
}

.staff-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.staff-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.staff-qualifications {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.staff-qualifications h3 {
    margin-bottom: 1.5rem;
}

.staff-qualifications ul {
    margin-bottom: 1.5rem;
}

.staff-qualifications li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.staff-qualifications li i {
    color: var(--color-accent);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .staff-container {
        grid-template-columns: 1fr;
    }
}

/* お客様の声セクション */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.testimonial-info h3 {
    margin-bottom: 0.25rem;
}

.testimonial-info .date {
    color: var(--color-muted);
    font-size: 0.875rem;
}

.testimonial-content {
    position: relative;
    flex-grow: 1;
}

.testimonial-content i {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    color: var(--color-accent);
    opacity: 0.3;
    transform: translate(-50%, -50%);
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* サービスエリアセクション */
.area-section {
    background-color: var(--color-secondary);
}

.area-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.area-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.area-image .caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-muted);
    padding: 0.5rem;
}

.area-content {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.area-content h3 {
    margin-bottom: 1rem;
}

.area-content p {
    margin-bottom: 1.5rem;
}

.area-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.area-list li {
    display: flex;
    align-items: center;
}

.area-list li i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .area-container {
        grid-template-columns: 1fr;
    }
}



/* 不動産サイト情報のスタイル */
.resite_info {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06));
    margin-top: 2rem;
    width: 100%;
}

.resite_info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-foreground, #333);
}

.resite_logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.resite_logos a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.resite_logos a:hover {
    transform: translateY(-5px);
}

.resite_logos img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .resite_logos {
        gap: 1.5rem;
    }
}

