/* ===== リセット & グローバルスタイル ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

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

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

/* ===== ヘッダー ===== */
.header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    letter-spacing: -0.5px;
}

.logo .tagline {
    font-size: 12px;
    color: #0066cc;
    font-weight: 500;
    margin-top: 2px;
}

.nav {
    margin-left: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin:0 30px 0 0;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066cc, #00ccff);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #0066cc;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #003366;
    border-radius: 2px;
    position: absolute;
    left: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 11px;
}

.menu-toggle span:nth-child(2) {
    top: 19px;
}

.menu-toggle span:nth-child(3) {
    top: 27px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.cta-btn {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
        white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* ===== ヒーロー/トップバナー ===== */
.hero {
    position: relative;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
}

.hero-subtitle {
    font-size: 18px;
    color: #92acff;
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.45);
}

.hero-cta:hover::before {
    left: 100%;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-item {
    background: linear-gradient(135deg, #e0e7ff, #f0e7ff);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.grid-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 204, 255, 0.05));
    pointer-events: none;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.grid-item-1, .grid-item-4 {
    grid-column: 1;
}

.grid-item-2, .grid-item-3 {
    grid-column: 2;
}

/* ===== セクションヘッダー ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #003366;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: #666666;
    font-weight: 400;
}

/* ===== 事業内容セクション ===== */
.business {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    background: #ffffff;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.business-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00ccff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.3);
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-icon {
    font-size: 48px;
    color: #0066cc;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.business-card:hover .business-icon {
    transform: scale(1.1) rotate(5deg);
}

.business-card h3 {
    font-size: 22px;
    color: #003366;
    margin-bottom: 12px;
    font-weight: 700;
}

.business-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

/* ===== 選ばれる理由セクション ===== */
.why-us {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    border-radius: 20px;
    margin: 100px 40px;
}

.why-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-us-item {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.why-us-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
    border-left-color: #0066cc;
}

.why-us-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #0066cc, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.why-us-item h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-us-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

/* ===== 施工事例セクション ===== */
.projects {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    background: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 102, 204, 0.15);
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #000;
    gap:3px;
}

.before-image,
.after-image {
    position: relative;
    background: linear-gradient(135deg, #d0dce6, #e0e7f5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-size: cover;
}

.project-card:hover .before-image,
.project-card:hover .after-image {
    opacity: 0.9;
}

.label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.before-image .label {
    background: rgba(100, 100, 100, 0.9);
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 8px;
    font-weight: 700;
}

.project-type {
    font-size: 12px;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-detail {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

/* ===== 会社概要セクション ===== */
.company {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    background: #f6fbff;
    border-radius: 20px;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 40px;
}

.company-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
}

.company-card h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 18px;
    font-weight: 700;
}

.company-card ul {
    list-style: none;
    display: grid;
    gap: 14px;
}

.company-card li {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 14px;
}

.company-card strong {
    color: #0d4494;
}

.company-card p {
    color: #555555;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 24px;
}

.company-message .company-card h3 {
    margin-top: 0;
}

/* ===== お客様の声セクション ===== */
.testimonials {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: rgba(0, 102, 204, 0.1);
    font-weight: 700;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.testimonial-rating {
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 15px;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 4px;
}

.author-company {
    font-size: 12px;
    color: #0066cc;
}

/* ===== お問い合わせセクション ===== */
.contact {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    border-radius: 20px;
    margin: 100px 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
}

.contact-icon {
    font-size: 32px;
    color: #0066cc;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    font-size: 16px;
    color: #003366;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-tel {
    font-size: 18px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 4px;
}

.contact-hours,
.contact-response {
    font-size: 12px;
    color: #666666;
    margin-top: 4px;
}

.contact-details a {
    color: #0066cc;
    font-weight: 600;
    font-size: 16px;
}

.contact-details a:hover {
    color: #003366;
}

/* ===== フォーム ===== */
.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.required {
    color: #ff4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.form-group.checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.form-group.checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.form-group.checkbox a {
    color: #0066cc;
    text-decoration: underline;
}

.form-group.checkbox a:hover {
    color: #003366;
}

.submit-btn {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

/* ===== フッター ===== */
.footer {
    background: linear-gradient(135deg, #003366, #002a52);
    color: white;
    padding: 60px 40px 30px;
}

/* ===== 帯セクション ===== */
.band {
    background: #013a63; /* 濃い青 */
    color: #ffffff;
    padding: 30px 20px;
}

.band-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
}

.band-slogan h2 {
    font-size: 32px;
    margin: 0;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.band-features {
    display: flex;
    gap: 18px;
    flex: 1;
    justify-content: flex-start;
}

.feature {
    background: rgba(255,255,255,0.06);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 15px;
    color: #ffffff;
    flex:1;
    text-align: center;
}

.needus {
    max-width: 1400px;
    margin: 100px auto;
    padding: 100px 40px;
    background: linear-gradient(135deg, #eef4fb 0%, #ffffff 100%);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.needus-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.needus-card {
    background: #ffffff;
    border: 1px solid rgba(0, 102, 204, 0.12);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.needus-list {
    list-style: none;
    display: grid;
    gap: 18px;
    margin-top: 24px;
    padding-left: 0;
}

.needus-list li {
    position: relative;
    padding-left: 32px;
    color: #333333;
    font-size: 18px;
    line-height: 1.9;
}

.needus-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #0066cc;
    font-size: 24px;
    line-height: 1;
}

.needus-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-placeholder {
    width: 100%;
    min-height: 320px;
    border-radius: 24px;
    background: #d3dce8;
    border: 2px dashed rgba(0, 102, 204, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f4f6d;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .needus-inner {
        grid-template-columns: 1fr;
    }

    .needus {
        margin: 80px 40px;
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {

.cta-btn {font-size:12px;
padding:10px 6px;
}

    .needus {
        margin: 60px 20px;
        padding: 60px 20px;
    }

    .needus-card {
        padding: 28px;
    }

    .illustration-placeholder {
        min-height: 240px;
    }

 
}

    @media (max-width: 480px) {

  

}

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

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    font-size: 14px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }

    .nav ul {
        gap: 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
        padding: 0 20px;
        height: 70px;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .logo h1 {
        font-size: 13px;
    }

    .logo .tagline {
        font-size: 10px;
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        padding: 18px 20px;
        display: none;
        z-index: 999;
    }

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

    .nav ul {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }

    .nav li {
        width: 100%;
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .nav a:hover {
        background: rgba(0, 102, 204, 0.06);
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav a {
        font-size: 14px;
    }

    .hero {
        padding: 50px 20px;
        min-height: auto;
    }

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

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

    .business,
    .projects,
    .testimonials {
        padding: 60px 20px;
    }

    .why-us,
    .contact {
        margin: 60px 20px;
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .business-card,
    .project-card,
    .testimonial-card,
    .why-us-item,
    .contact-item {
        padding: 25px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .company {
        margin: 60px 20px;
        padding: 60px 20px;
    }

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

    .company-card {
        padding: 25px;
    }

    .image-comparison {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: auto;
        padding: 15px 20px;
        gap: 4px;
    }

    .nav ul {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        font-size: 13px;
    }

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

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

    .section-header h2 {
        font-size: 24px;
    }

    .business-grid,
    .projects-grid,
    .testimonials-grid,
    .company-grid {
        grid-template-columns: 1fr;
    }

    .image-comparison {
        grid-template-columns: 1fr;
        height: auto;
    }

    .before-image,
    .after-image {
        height: 200px;
    }

    .contact-item {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ===== アニメーション ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== 帯セクション - モバイル調整 ===== */
@media (max-width: 768px) {
    .band-inner {
        flex-direction: column;
        gap: 16px;
        padding: 0 20px;
        align-items: stretch;
        text-align: center;
    }

    .band-features {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        justify-content: center;
    }

    .feature {
        width: 100%;
        flex: none;
        padding: 14px 16px;
        box-sizing: border-box;
    }

    .band-slogan h2 {
        font-size: 24px;
    }
}

/* ===== スクロールアニメーション ===== */
.business-card,
.project-card,
.testimonial-card,
.why-us-item {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.business-card:nth-child(1) { animation-delay: 0.1s; }
.business-card:nth-child(2) { animation-delay: 0.2s; }
.business-card:nth-child(3) { animation-delay: 0.3s; }
.business-card:nth-child(4) { animation-delay: 0.4s; }
.business-card:nth-child(5) { animation-delay: 0.5s; }
.business-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

.why-us-item:nth-child(1) { animation-delay: 0.1s; }
.why-us-item:nth-child(2) { animation-delay: 0.2s; }
.why-us-item:nth-child(3) { animation-delay: 0.3s; }
.why-us-item:nth-child(4) { animation-delay: 0.4s; }
.why-us-item:nth-child(5) { animation-delay: 0.5s; }
