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

:root {
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-800: #9a3412;
    --orange-900: #7c2d12;
    --amber-700: #b45309;
    --amber-900: #78350f;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --green-500: #22c55e;
    --blue-50: #eff6ff;
    --red-500: #ef4444;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-radius: 0.375rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--orange-600);
}

.nav-link.active {
    color: var(--orange-600);
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-700);
    border-radius: 0.375rem;
}

.mobile-menu-btn:hover {
    color: var(--orange-600);
    background-color: var(--gray-100);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-icon {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}

.nav-mobile.open {
    display: block;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-mobile .nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

.nav-mobile .nav-link:hover {
    background-color: var(--gray-50);
}

.nav-mobile .nav-link.active {
    background-color: var(--orange-50);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background: linear-gradient(to right, var(--orange-600), var(--amber-700));
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
    }
}

.hero-text {
    max-width: 672px;
}

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

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--orange-100);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--orange-600);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--orange-700);
}

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

.btn-white:hover {
    background-color: var(--orange-50);
}

.btn-outline {
    background-color: transparent;
    color: var(--orange-600);
    border: 2px solid var(--orange-600);
}

.btn-outline:hover {
    background-color: var(--orange-50);
}

.btn-orange-dark {
    background-color: var(--orange-700);
    color: var(--white);
}

.btn-orange-dark:hover {
    background-color: var(--orange-800);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Section */
.section {
    padding: 4rem 0;
}

.section-gray {
    background-color: var(--gray-50);
}

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

.section-title {
    font-size: 1.875rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--gray-600);
    text-align: center;
    max-width: 672px;
    margin: 0 auto 3rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Service Card */
.service-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card-icon {
    width: 32px;
    height: 32px;
    color: var(--orange-600);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Link with Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange-600);
    font-weight: 600;
    transition: color 0.2s;
}

.link-arrow:hover {
    color: var(--orange-700);
}

.link-arrow svg {
    width: 20px;
    height: 20px;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 1.875rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* CTA Banner */
.cta-banner {
    background-color: var(--orange-600);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    margin-top: 4rem;
}

.cta-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--orange-100);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom right, var(--orange-900), var(--amber-900));
    color: var(--white);
    margin-top: auto;
}

.footer-inner {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-logo h3 {
    font-size: 1.125rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--orange-200);
}

.footer h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--orange-200);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--orange-800);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--orange-200);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--gray-600);
}

/* Card */
.card {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--orange-600);
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.info-value {
    color: var(--gray-900);
}

/* Purpose List */
.purpose-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.purpose-item {
    display: flex;
    align-items: flex-start;
}

.purpose-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--orange-100);
    color: var(--orange-600);
    font-weight: 600;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.purpose-text {
    color: var(--gray-900);
    padding-top: 4px;
}

/* Contact Info Cards */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.contact-info-card svg {
    width: 24px;
    height: 24px;
    color: var(--orange-600);
    margin-bottom: 0.75rem;
}

.contact-info-card h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-info-card a {
    color: var(--gray-600);
    transition: color 0.2s;
}

.contact-info-card a:hover {
    color: var(--orange-600);
}

.contact-info-card p {
    color: var(--gray-600);
}

.business-hours {
    background-color: var(--blue-50);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.business-hours h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.business-hours p {
    font-size: 0.875rem;
    color: var(--gray-700);
}

.business-hours .note {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

/* Contact Form */
.contact-form-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-form-card h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--red-500);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--orange-600);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}

.form-textarea {
    resize: none;
    min-height: 150px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-500);
}

.submit-btn {
    width: 100%;
}

/* Success Message */
.success-message {
    display: none;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.success-message.show {
    display: block;
}

.success-message p {
    font-size: 0.875rem;
    color: #065f46;
}

/* Services List Page */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-item {
    display: block;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.service-item:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(even) {
    background: linear-gradient(to bottom right, var(--orange-50), var(--white));
}

.service-item-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .service-item-inner {
        grid-template-columns: 1fr 2fr;
    }
}

.service-item-image {
    position: relative;
    height: 256px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .service-item-image {
        height: auto;
    }
}

.service-item-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(124, 45, 18, 0.3), transparent);
}

.service-item-content {
    padding: 2rem;
}

.service-item h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-item-desc {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.features-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--green-500);
    margin-right: 0.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    color: var(--gray-700);
}

/* Service Detail Page */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange-600);
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--orange-700);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

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

.service-icon-box {
    background-color: var(--orange-100);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-right: 1rem;
}

.service-icon-box svg {
    width: 40px;
    height: 40px;
    color: var(--orange-600);
}

.service-header h1 {
    font-size: 1.875rem;
    color: var(--gray-900);
}

.service-header-sub {
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.service-overview p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Feature Cards Grid */
.feature-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .feature-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.feature-card svg {
    width: 24px;
    height: 24px;
    color: var(--orange-600);
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Services Detail List */
.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-detail-item {
    display: flex;
    align-items: flex-start;
}

.service-detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--green-500);
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-detail-item h3 {
    font-weight: 600;
    color: var(--gray-900);
}

.service-detail-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Benefits Section */
.benefits-card {
    background: linear-gradient(to bottom right, var(--orange-50), var(--white));
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-item {
    display: flex;
    align-items: center;
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    color: var(--orange-600);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--gray-700);
}

/* Use Cases */
.use-cases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.use-case {
    border-left: 4px solid var(--orange-600);
    padding-left: 1rem;
}

.use-case h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.use-case p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Consulting Areas */
.consulting-areas {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consulting-area {
    border-left: 4px solid var(--orange-600);
    padding-left: 1.5rem;
}

.consulting-area h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.consulting-area > p {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.consulting-area-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .consulting-area-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.consulting-area-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.consulting-area-item svg {
    width: 16px;
    height: 16px;
    color: var(--green-500);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.consulting-area-item span {
    color: var(--gray-700);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--orange-600);
    color: var(--white);
    border-radius: 50%;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Max Width Containers */
.max-w-4xl {
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-5xl {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-10 {
    margin-top: 2.5rem;
}

/* Supported Payments */
.supported-payments {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-item {
    display: flex;
    align-items: flex-start;
}

.payment-item svg {
    width: 20px;
    height: 20px;
    color: var(--green-500);
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-item span {
    color: var(--gray-700);
}

/* Service Header with Image */
.service-header-image {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.service-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-header-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(124, 45, 18, 0.2), transparent);
}
