/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* カラーパレットの洗練 */
:root {
  --primary-color: #3d5af1;      /* よりビビッドな青色 */
  --primary-light: #8e9ff3;
  --primary-dark: #2a3da0;
  --accent-color: #ff6b6b;       /* 鮮やかなコーラルレッド */
  --accent-light: #ffa0a0;
  --text-dark: #1a202c;
  --text-medium: #4a5568;
  --text-light: #718096;
  --bg-light: #f8fafc;
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-dark);
    position: relative;
}

.logo span {
    color: var(--primary-color);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 2px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(61, 90, 241, 0.25);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 90, 241, 0.4);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: 0;
    overflow: hidden; /* はみ出した部分を隠す */
}

/* 背景画像用のオーバーレイ要素 */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/nagoya.jpg'); /* 名古屋の画像のパス */
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* 透明度の調整（0.1〜0.2が薄く表示するのに適しています） */
    z-index: 0; /* 背景を最背面に */
    animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    width: 50%;
    position: relative;
    z-index: 1; /* コンテンツを前面に */
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(61, 90, 241, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(61, 90, 241, 0.4);
}

.cta-btn:hover::before {
    left: 100%;
}

.hero-image {
    width: 50%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1; /* コンテンツを前面に */
}

.hero-image img {
    max-width: 90%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 特徴セクション */
.features {
    position: relative;
    padding: 100px 5%;
    background-color: #fff;
    overflow: hidden;
}

/* 全画面背景ロゴ表示（ヒーローセクション以外） */
body:not(.hero-active)::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/Slab._logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    animation: rotateBackground 60s linear infinite;
    pointer-events: none;
}

@keyframes rotateBackground {
    0% {
        transform: rotate(0deg) scale(0.95);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(0.95);
    }
}

.section-title {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 15px auto 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 16px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.features-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 35px 30px;
    transition: all 0.4s;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    opacity: 0.1;
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-card:hover::before {
    transform: scale(10);
    opacity: 0.05;
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(61, 90, 241, 0.1), rgba(61, 90, 241, 0.2));
    border-radius: 50%;
    margin-bottom: 25px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(61, 90, 241, 0.2);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-desc {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* サービスセクション */
.services {
    padding: 100px 5%;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    opacity: 0.1;
}

.services-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 0 0 32%;
    width: 32%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 241, 0.05), rgba(255, 107, 107, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.service-img img {
    transition: transform 0.8s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px 30px;
    position: relative;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-desc {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover::after {
    width: 100%;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(8px);
}

/* 実績セクション */
.achievements {
    padding: 100px 5%;
    background-color: #fff;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.achievement-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.achievement-number {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.achievement-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* お客様の声セクション */
.testimonials {
    padding: 100px 5%;
    background-color: var(--bg-light);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(61, 90, 241, 0.05), rgba(255, 107, 107, 0.05));
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    z-index: 0;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 50px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 120px;
    color: rgba(61, 90, 241, 0.08);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    background-color: #e2e8f0;
    overflow: hidden;
    border: 3px solid rgba(61, 90, 241, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    border-color: rgba(61, 90, 241, 0.3);
}

/* よくある質問 */
.faq {
    padding: 100px 5%;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.faq::before, .faq::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 0;
}

.faq::before {
    top: -150px;
    right: -150px;
    background: linear-gradient(135deg, rgba(61, 90, 241, 0.05), rgba(61, 90, 241, 0.1));
}

.faq::after {
    bottom: -150px;
    left: -150px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 107, 107, 0.1));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.faq-item:hover {
    box-shadow: var(--hover-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: #fff;
}

.faq-answer p {
    padding: 25px 0;
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.8;
}

.faq-item.active {
    box-shadow: var(--hover-shadow);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.faq-item.active .faq-question h3 {
    color: #fff;
}

.faq-item.active .faq-question i {
    color: #fff;
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* お問い合わせセクション */
.contact {
    position: relative;
    padding: 100px 5%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

/* お問い合わせセクションの背景にも名古屋の画像を薄く表示 */
.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/nagoya.jpg'); /* 名古屋の画像のパス */
    background-size: cover;
    background-position: center;
    opacity: 0.08; /* より薄く表示 */
    z-index: 0; /* 背景を最背面に */
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    flex-direction: column
}

.contact-middle {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    /* align-items: center !important; */
    margin-top: 30px;
    /* padding-left: 10%; */
    width: 100%;
}


.contact-method {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 25px;
    transition: all 0.3s;
    text-align: left;
    width: auto;
    max-width: 400px;
}

.contact-method:hover {
    transform: translateY(-3px);
}

.contact-info {
    padding: 0;
    text-align: center;
    width: 100%;
}
.contact-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateX(10px);
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-right: 20px;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(61, 90, 241, 0.3);
}

.contact-method div h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-method div p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 0;
}

.contact-form {
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s;
    background-color: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(61, 90, 241, 0.1);
    background-color: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(61, 90, 241, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(61, 90, 241, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

/* フッター */
footer {
    background-color: #1a202c;
    color: #cbd5e0;
    padding: 80px 5% 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-about h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-about h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #a0aec0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    font-size: 18px;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-links h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    font-size: 15px;
    color: #a0aec0;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    top: 0;
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.copyright {
    text-align: center;
    font-size: 15px;
    color: #a0aec0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.copyright a {
    color: var(--primary-light);
    transition: all 0.3s;
}

.copyright a:hover {
    color: white;
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .hero-content, .hero-image {
        width: 100%;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 150px 5% 100px;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-image {
        margin-top: 50px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-card {
        flex: 0 0 48%;
        width: 48%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 30px;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--text-dark);
        transition: all 0.3s;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .section-title {
        font-size: 28px;
    }

    .service-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .features, .services, .achievements, .testimonials, .faq, .contact {
        padding: 80px 5%;
    }

    .contact-form {
        padding: 40px 25px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid, .achievements-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
    }

    .testimonial {
        padding: 30px 20px;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }


    .line-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .line-banner {
        display: inline-block;
        background-color: #00c300;
        border-radius: 30px;
        padding: 10px 20px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .line-banner-inner {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .line-banner-inner .line-icon {
        width: 24px;
        height: 24px;
    }

    .line-banner-inner span {
        color: white;
        font-weight: 600;
    }

    .line-banner:hover {
        background-color: #00a500;
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .line-note {
        font-size: 13px;
        color: var(--text-medium);
        line-height: 1.6;
        margin-top: 0;
    }
}