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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background-color: #000000;
    color: #ffffff;
    padding: 16px 0;
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
    font-family: "Pacifico", serif;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #fb923c;
}

.nav-mobile {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: #000000;
    padding: 20px;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-link {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: black;
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 32px;
}

.hero-title-accent {
    display: block;
    color: #fb923c;
    font-family: "Pacifico", serif;
}

.hero-title-main {
    display: block;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #fed7aa;
    margin-bottom: 32px;
}

.hero-info {
    font-size: 18px;
    margin-bottom: 32px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-info-item i {
    color: #fb923c;
}

.hero-btn {
    background-color: #ea580c;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.hero-btn:hover {
    background-color: #dc2626;
}

.hero-image {
    display: none;
}

.hero-image img {
    width: 70%;
    height: auto;
    border-radius: 8px;
}

/* PCでは非表示 */
.hero-image-mobile {
  display: none;
}

/* Service Overview */
.service-overview {
    padding: 80px 0;
    background-color: #f9fafb;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: #000000;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.service-card {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: #fed7aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: #ea580c;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.service-desc {
    color: #6b7280;
}

.area-info {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

.area-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 32px;
}

.area-badge {
    display: inline-flex;
    align-items: center;
    background-color: #fed7aa;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
}

.area-badge i {
    color: #ea580c;
    margin-right: 12px;
    font-size: 20px;
}

/* Flow Chart */
.flow-chart {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.flow-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.flow-step {
    text-align: center;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background-color: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #ffffff;
}

.flow-step-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}

.flow-step-desc {
    color: #6b7280;
}

.flow-arrow {
    font-size: 24px;
    color: #ea580c;
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background-color: #ffffff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.case-card {
    text-align: center;
    padding: 32px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.case-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.case-card:nth-child(1) .case-icon {
    background-color: #fee2e2;
    color: #dc2626;
}

.case-card:nth-child(2) .case-icon {
    background-color: #fef3c7;
    color: #d97706;
}

.case-card:nth-child(3) .case-icon {
    background-color: #dbeafe;
    color: #2563eb;
}

.case-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.case-desc {
    color: #6b7280;
}

.video-section {
    background-color: #f3f4f6;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
}

.video-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 32px;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background-color: #000000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content {
    color: #ffffff;
    text-align: center;
}

.video-content i {
    font-size: 64px;
    margin-bottom: 16px;
}

.video-content p {
    font-size: 18px;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background-color: #f9fafb;
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pricing-header {
    background-color: #000000;
    color: #ffffff;
    padding: 24px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: bold;
}

.pricing-content {
    padding: 32px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.pricing-box {
    text-align: center;
    padding: 24px;
    border-radius: 8px;
}

.pricing-box.basic {
    background-color: #fed7aa;
}

.pricing-box.cost {
    background-color: #f3f4f6;
}

.pricing-box h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.pricing-box.basic h4 {
    color: #c2410c;
}

.pricing-box.cost h4 {
    color: #6b7280;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

.price-desc {
    color: black;
}

.payment-method {
    text-align: center;
}

.payment-method h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.payment-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 18px;
}

.payment-info i {
    font-size: 32px;
    color: #6b7280;
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background-color: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.review-card {
    background-color: #f9fafb;
    padding: 32px;
    border-radius: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
}

.review-author {
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
}

.review-stars {
    display: flex;
    color: #fb923c;
}

.review-text {
    color: #374151;
    line-height: 1.7;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: #f9fafb;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px;
    text-align: left;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-arrow {
    font-size: 20px;
    color: #ea580c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.faq-answer-content p {
    color: #374151;
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.contact-card {
    background-color: #000000;
    color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    height: 256px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-card i {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.contact-phone {
    font-size: 24px;
    font-weight: bold;
    color: #fb923c;
    margin-bottom: 8px;
}

.contact-hours {
    font-size: 18px;
}

.contact-desc {
    font-size: 18px;
    margin-bottom: 24px;
}

.contact-btn {
    background-color: #ea580c;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.contact-btn:hover {
    background-color: #dc2626;
}

.company-info {
    background-color: #f9fafb;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
}

.company-info h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.company-details {
    max-width: 500px;
    margin: 0 auto;
}

.company-details p {
    font-size: 18px;
    margin-bottom: 8px;
}

.company-details strong {
    font-weight: bold;
}

.company-link {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 16px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.company-link:hover {
    background-color: #374151;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 48px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand {
    font-size: 24px;
    font-weight: bold;
    font-family: "Pacifico", serif;
    margin-bottom: 16px;
}

.footer-desc {
    color: #9ca3af;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-list li {
    color: #9ca3af;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fb923c;
}

.footer-contact {
    color: #9ca3af;
    margin-bottom: 8px;
}

.footer-hours {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    text-align: center;
    color: #9ca3af;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #374151;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #6b7280;
}

.submit-status {
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.submit-status.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.submit-status.error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block;
}

.form-submit {
    width: 100%;
    background-color: #ea580c;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.form-submit:hover {
    background-color: #dc2626;
}

/* Registration Modal */
.registration-content {
    text-align: center;
    padding: 32px 0;
}

.registration-content p {
    font-size: 18px;
    margin-bottom: 16px;
    color: #374151;
}

.registration-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #ea580c;
    margin-top: 24px;
}

.registration-contact i {
    font-size: 24px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        height: 500px;
    }

    .hero-image {
        display: block;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-subtitle {
        font-size: 32px;
    }

    .nav-mobile {
        display: none;
    }

    .flow-steps {
        flex-direction: row;
        justify-content: center;
    }

    .flow-arrow .ri-arrow-down-line {
        display: none;
    }

    .flow-arrow .ri-arrow-right-line {
        display: block;
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid,
    .cases-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .flow-arrow .ri-arrow-right-line {
        display: none;
    }

    .flow-arrow .ri-arrow-down-line {
        display: block;
    }
    .hero-image-mobile {
    display: block;
    text-align: center; /* 中央寄せ */
    margin-top: 10px;   /* 好みに応じて調整 */
  }

  .hero-image-mobile img {
    width: 100%;        /* スマホ画面幅に合わせる */
    height: auto;
  }
  .hero-btn{
background-color: #ea580c;
color: #ffffff;
padding: 18px 32px;
font-size: 20px;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
white-space: nowrap;
margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        padding: 0 16px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .modal-content {
        padding: 24px;
    }

    .services-grid,
    .cases-grid,
    .reviews-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card,
    .case-card,
    .review-card {
        padding: 24px;
    }
}
