/* グローバルスタイル */
:root {
    --primary-color: #4a86e8;
    --primary-dark: #3a68b8;
    --secondary-color: #ff6b00;
    --accent-color: #ffc107;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --logo-blue: #4a86e8;
    --logo-orange: #ff6b00;
    --logo-yellow: #ffcc00;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    transition: all 0.5s ease;
}

.section-title:hover {
    transform: scale(1.02);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    transition: width 0.5s ease;
}

.section-title:hover:after {
    width: 120px;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* ボタンスタイル */
.btn-primary, .btn-secondary, .btn-cta, .btn-submit {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-cta {
    background-color: #ff6600;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 2rem;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: #e55c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.btn-submit {
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.1rem;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: #e55f00;
    color: white;
}

/* ヘッダースタイル */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* 透過背景に変更 */
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 1); /* スクロール時は完全不透明に */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴスタイル */
.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    display: inline-block;
    background: linear-gradient(45deg, #ffffff 0%, #f9f9f9 100%);
    padding: 5px 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    min-width: 120px;
    white-space: nowrap; /* 折り返しを防止 */
}

.logo-text:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.logo-ai {
    font-weight: 800;
    color: var(--logo-blue);
    background: linear-gradient(to right, var(--logo-blue), #6ba5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-kun {
    font-weight: 800;
    color: var(--logo-orange);
    background: linear-gradient(to right, var(--logo-orange), var(--logo-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ヒーローセクション */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.service-logo {
    margin: 20px auto;
    max-width: 300px;
}

.subtitle {
    text-align: center;
    margin: 15px auto;
    font-size: 1.2rem;
    display: block;
}

.campaign-banner {
    margin: 20px auto;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffcc00;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
}

.campaign-banner p {
    margin: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.cta-container {
    text-align: center;
    margin: 25px auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-content .campaign-banner {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 20px 20px 10px;
    border-radius: 6px;
    display: inline-block;
    margin: 20px auto 30px; /* 中央揃えと上下マージン */
    font-weight: 700;
    font-size: 1.2rem;
    transform: scale(1.02);
    animation: pulseBanner 2s infinite;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-content .campaign-banner .limited-badge {
    background-color: #ff3b3b;
    color: white;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    box-shadow: 0 3px 8px rgba(255, 59, 59, 0.4);
    z-index: 1;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* AIシノプシスアニメーション */
.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* 全体の透明度を下げてテキストの可読性を確保 */
    pointer-events: none; /* クリックイベントを無効に */
    z-index: 1;
}

/* ニューラルネットワークアニメーション */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 10px rgba(74, 134, 232, 0.5);
}

#node1 { top: 20%; left: 15%; animation: pulse 3s infinite; }
#node2 { top: 30%; left: 25%; animation: pulse 4s infinite 0.5s; }
#node3 { top: 50%; left: 10%; animation: pulse 3.5s infinite 1s; }
#node4 { top: 70%; left: 20%; animation: pulse 2.5s infinite 0.2s; }
#node5 { top: 25%; left: 80%; animation: pulse 3.2s infinite 0.7s; }
#node6 { top: 60%; left: 85%; animation: pulse 2.8s infinite 1.5s; }
#node7 { top: 75%; left: 70%; animation: pulse 3.7s infinite 0.3s; }

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.4;
    transform-origin: left center;
}

#conn1 {
    top: 22%;
    left: 17%;
    width: 100px;
    transform: rotate(15deg);
    animation: fadeInOut 4s infinite;
}

#conn2 {
    top: 32%;
    left: 27%;
    width: 150px;
    transform: rotate(-10deg);
    animation: fadeInOut 3.5s infinite 0.5s;
}

#conn3 {
    top: 52%;
    left: 12%;
    width: 120px;
    transform: rotate(25deg);
    animation: fadeInOut 3s infinite 1s;
}

#conn4 {
    top: 27%;
    left: 82%;
    width: 130px;
    transform: rotate(195deg);
    animation: fadeInOut 4.5s infinite 0.7s;
}

#conn5 {
    top: 62%;
    left: 87%;
    width: 110px;
    transform: rotate(175deg);
    animation: fadeInOut 3.2s infinite 1.2s;
}

.data-pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.8;
    animation: movePulse 3s infinite linear;
}

#pulse1 { top: 22%; left: 17%; animation-delay: 0.5s; }
#pulse2 { top: 52%; left: 12%; animation-delay: 1.5s; }
#pulse3 { top: 62%; left: 87%; animation-delay: 0.8s; }

/* コードラインアニメーション */
.code-lines {
    position: absolute;
    right: 5%;
    bottom: 10%;
    text-align: left;
    font-family: monospace;
    opacity: 0.7;
}

.code-line {
    color: var(--primary-dark);
    font-size: 0.8rem;
    margin-bottom: 5px;
    animation: typeIn 1s forwards;
    opacity: 0;
    white-space: nowrap;
}

.code-line:nth-child(1) { animation-delay: 0s; }
.code-line:nth-child(2) { animation-delay: 0.5s; }
.code-line:nth-child(3) { animation-delay: 1s; }
.code-line:nth-child(4) { animation-delay: 1.5s; }
.code-line:nth-child(5) { animation-delay: 2s; }

/* アニメーションキーフレーム */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 0.9; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

@keyframes movePulse {
    0% { transform: translateX(0) scale(1); }
    50% { transform: translateX(50px) scale(1.5); }
    100% { transform: translateX(100px) scale(1); opacity: 0; }
}

@keyframes typeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 0.7; transform: translateX(0); }
}

@keyframes pulseBanner {
    0%, 100% { transform: scale(1.02); }
    50% { transform: scale(1.05); }
}

/* 導入理由セクション */
.pain-points ul {
    margin: 30px 0;
}

.pain-points ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.pain-points ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pain-points .solution {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 30px;
}

.pain-points > p:not(.solution) {
    text-align: center;
}

.pain-points ul {
    width: fit-content;
    margin: 0 auto;
    padding-left: 20px;
}

.pain-points ul li {
    display: flex;
    align-items: flex-start;
}

.pain-points ul li i {
    margin-right: 10px;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .pain-points ul {
        width: 100%;
        padding-left: 0;
    }
    
    .pain-points ul li {
        text-align: left;
        padding-left: 10px;
        padding-right: 10px;
        flex-wrap: nowrap;
    }
    
    .pain-points ul li strong {
        display: inline;
    }
}

/* 機能セクション */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.feature-benefit {
    background-color: var(--secondary-color);
    color: white;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    margin: 10px 0;
    font-weight: 700;
    font-size: 0.9rem;
    align-self: flex-start;
}

.feature-card ul {
    margin-top: auto;
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    transform: translateZ(20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
    transform: translateZ(30px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--secondary-color);
}

.feature-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.feature-card ul li:before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
}

/* 導入プロセスセクション */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    transition: all 0.3s ease;
    flex-direction: column;
    align-items: center;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 15px;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    background-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.step-content {
    text-align: center;
    width: 100%;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 15px 0;
    animation: bounce 2s infinite;
    height: 24px;
}

.step:last-child .step-arrow {
    display: none;
}

/* 導入効果セクション */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.result-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.result-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.result-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    transform: translateZ(20px);
}

.result-card:hover .result-icon {
    transform: translateZ(30px) rotate(10deg);
    color: var(--secondary-color);
}

.metrics-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.metric {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

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

.metric-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    transform: translateZ(20px);
}

.metric:hover .metric-value {
    transform: translateZ(30px) scale(1.1);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.metric-value span {
    font-size: 2rem;
}

.metric-label {
    font-size: 1.1rem;
}

.expectation-note {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.improvement-list {
    max-width: 800px;
    margin: 0 auto 30px;
    background-color: white;
    padding: 25px 25px 25px 45px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.improvement-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 5px;
    font-size: 1.1rem;
}

.improvement-list li:before {
    content: '●';
    color: var(--primary-color);
    position: absolute;
    left: -20px;
    font-size: 0.8rem;
}

/* 専門家プロフィールセクション */
.expert-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.expert-image {
    flex: 0 0 300px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.expert-photo {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expert-info {
    flex: 1;
    min-width: 300px;
}

.expert-info blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 20px;
}

.expert-info h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.expert-info p {
    margin-bottom: 10px;
}

/* 料金プランセクション */
.pricing-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.pricing-table th {
    background-color: var(--primary-color);
    color: white;
}

.pricing-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}

.price-original {
    text-decoration: line-through;
    color: #888;
    margin-right: 5px;
}

.pricing-notes {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-notes p {
    margin-bottom: 5px;
}

.price-comparison {
    margin-top: 15px;
    font-style: italic;
    color: var(--primary-dark);
}

/* セミナーセクション */
.seminar-dates {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.seminar-dates ul {
    margin-bottom: 20px;
}

.seminar-dates ul li {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.seminar-dates ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.seminar-dates p {
    margin-bottom: 20px;
}

/* 会社情報セクション */
.company-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-image {
    margin-bottom: 20px;
    max-width: 400px;
    width: 100%;
}

.company-logo {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.company-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.company-info p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* お問い合わせセクション */
.contact-intro {
    text-align: center;
    margin-bottom: 30px;
}

.contact-intro p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
}

.form-note {
    text-align: center;
    margin-top: 15px;
    color: var(--text-light);
}

.privacy-policy-group {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.privacy-policy-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    min-width: 20px;
    height: 20px;
}

.privacy-policy-group label {
    margin-bottom: 0;
    display: inline;
}

.privacy-policy-group a {
    text-decoration: underline;
}

/* フッタースタイル */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* 小画面で折り返す */
    gap: 20px; /* 要素間のスペース */
}

.footer-logo, .footer-links, .footer-contact {
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    /* height: 100%; ← align-items: center で不要に */
}

.footer-links li {
    margin: 0 10px;
}

.footer-contact p {
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #ddd;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* フッターのレスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* 小画面では縦積みに */
        align-items: center; /* 中央揃え */
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
        margin-top: 15px; /* 上の要素との間隔 */
    }
}

/* ロゴプレースホルダーのスタイル調整 */
.logo-placeholder {
    background: linear-gradient(45deg, var(--logo-blue), var(--primary-color));
    color: white;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    width: 300px;
    margin: 0 auto;
    text-align: center;
}

.logo-placeholder i {
    font-size: 2rem;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.logo-placeholder span {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

/* オレンジボタンのスタイル調整 */
.btn-primary {
    background-color: #ff6600;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e55c00;
    color: white !important;
}

/* キャンペーンセクションのスタイル調整 */
.campaign {
    text-align: center;
    margin: 40px auto;
}

.campaign-content {
    background-color: var(--accent-color);
    border-radius: 8px;
    padding: 30px 20px 20px;
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto;
    position: relative;
    max-width: 500px;
}

.campaign-note {
    font-weight: 700;
    margin-top: 15px;
    display: block;
}

/* サブタイトルのスタイル調整 */
.subtitle {
    text-align: center;
    margin: 15px auto;
    font-size: 1.2rem;
    display: block;
}

/* 会社施設セクション */
.company-facilities {
    max-width: 900px;
    margin: 50px auto 0;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.facilities-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.facilities-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

.facilities-intro, .facilities-outro {
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.company-facilities p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.facilities-images {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.facility-image {
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.facility-image:hover {
    transform: translateY(-5px);
}

.facility-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.facility-photo:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-caption {
    margin-top: 10px;
    font-weight: 500;
    color: var(--primary-dark);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .company-facilities {
        padding: 20px;
    }
    
    .facilities-images {
        flex-direction: column;
    }
    
    .facility-image {
        margin-bottom: 20px;
    }
    
    .facilities-title {
        font-size: 1.3rem;
    }
}

/* FAQ セクション */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    border-left: 4px solid var(--primary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    flex: 1;
}

.faq-question i {
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
}

.faq-question i.fas.fa-chevron-down::before {
    content: '\f067'; /* プラスアイコン */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.faq-item.active .faq-question i.fas.fa-chevron-down::before {
    content: '\f068'; /* マイナスアイコン */
}

.faq-item.active .faq-question i {
    transform: rotate(0); /* 回転をリセット */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 15px 25px 20px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 10px 20px 15px;
    }
}

/* お客様ご支援事例 */
.case-study-content {
    margin-top: 30px;
}

.testimonial {
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.testimonial cite {
    font-size: 0.9rem;
    color: #666;
    display: block;
    text-align: right;
}

.case-description {
    margin-bottom: 30px;
}

.benefit-points {
    background-color: #f8f9fa;
    padding: 15px 30px;
    border-radius: 5px;
    margin: 20px 0;
}

.benefit-points li {
    margin-bottom: 10px;
}

.highlight-box {
    background-color: rgba(255, 248, 220, 0.7);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.ai-terms-section {
    margin-top: 40px;
}

.terms-title {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.term-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.term-header {
    background-color: #f8f9fa;
    padding: 15px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.1rem;
}

.term-header:hover {
    background-color: #e9ecef;
}

.explanation {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: white;
}

.explanation h5 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
}

.explanation ul {
    padding-left: 20px;
}

/* Googleフォーム埋め込み */
.google-form-container {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 0;
    height: auto;
}

.google-form-container iframe {
    display: block;
    border: none;
    margin: 0 auto;
    width: 100%;
    min-height: 1100px; /* 送信ボタンが隠れないように余裕を確保 */
}

/* レスポンシブ対応: タブレットとモバイルで高さを増やす */
@media (max-width: 992px) {
    .google-form-container iframe {
        min-height: 1200px;
    }
}

@media (max-width: 576px) {
    .google-form-container iframe {
        min-height: 1400px;
    }
}

#contact {
    padding-bottom: 60px;
}

/* ロゴのレスポンシブ対応を強化 */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-text {
        padding: 4px 10px;
        min-width: 100px;
    }
}

.cta-container {
    text-align: center;
    margin: 20px 0;
}

.expert-profile + .cta-container {
    margin-top: 40px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* ナビゲーションをスライドインメニューに変更 */
    .nav {
        position: fixed;
        top: 0;
        right: -280px; /* 初期状態では画面外に */
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0; /* アクティブ時に画面内に表示 */
    }
    
    /* コンテナの余白を調整 */
    .container {
        padding: 0 12px;
        width: 100%;
    }
    
    /* iPhone Pro Max などの大きめのスマホ向け */
    @media (min-width: 390px) {
        .container {
            padding: 0 10px;
            width: 98%;
        }
        
        /* テーブルなどの横幅を最大限に使用 */
        table {
            width: 100%;
        }
        
        /* ヒーローセクションのコンテンツ幅を広げる */
        .hero-content {
            max-width: 95%;
            padding: 10px;
        }
        
        /* 各セクションのコンテンツ幅を広げる */
        .section .container {
            width: 98%;
        }
    }
    
    /* メニュー項目のスタイル改善 */
    .nav ul {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .nav ul li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav.active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* 各メニュー項目に遅延を追加 */
    .nav ul li:nth-child(1) { transition-delay: 0.1s; }
    .nav ul li:nth-child(2) { transition-delay: 0.15s; }
    .nav ul li:nth-child(3) { transition-delay: 0.2s; }
    .nav ul li:nth-child(4) { transition-delay: 0.25s; }
    .nav ul li:nth-child(5) { transition-delay: 0.3s; }
    .nav ul li:nth-child(6) { transition-delay: 0.35s; }
    
    /* メニュー項目にアイコンを追加 */
    .nav ul li a:before {
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-right: 10px;
        color: var(--primary-color);
    }
    
    .nav ul li:nth-child(1) a:before { content: '\f015'; } /* 導入理由 - home icon */
    .nav ul li:nth-child(2) a:before { content: '\f085'; } /* 機能 - cogs icon */
    .nav ul li:nth-child(3) a:before { content: '\f0ae'; } /* 導入プロセス - tasks icon */
    .nav ul li:nth-child(4) a:before { content: '\f201'; } /* 導入効果 - chart icon */
    .nav ul li:nth-child(5) a:before { content: '\f3d1'; } /* 料金 - money-bill icon */
    .nav ul li:nth-child(6) a:before { content: '\f4ad'; } /* 無料相談 - comment icon */
    
    /* 無料相談ボタンをより目立たせる */
    .nav ul li:last-child {
        margin-top: 20px;
        border-bottom: none;
    }
    
    .nav ul li:last-child a.btn-primary {
        display: block;
        text-align: center;
        padding: 15px;
        border-radius: 8px;
        background-color: var(--secondary-color);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav ul li:last-child a.btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* ハンバーガーアイコンの改善 */
    .hamburger {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px;
        z-index: 1001;
    }
    
    /* オーバーレイの追加 */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* ロゴのレスポンシブ対応 */
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-text {
        padding: 4px 10px;
        min-width: 100px;
    }
    
    /* ヒーローセクションのレスポンシブ対応 */
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .btn-cta {
        font-size: 1.5rem;
        padding: 15px 30px;
    }
    
    /* 導入理由セクションのレスポンシブ対応 */
    .pain-points ul {
        width: 100%;
        padding-left: 0;
    }
    
    .pain-points ul li {
        text-align: left;
        padding-left: 10px;
        padding-right: 10px;
        flex-wrap: nowrap;
    }
    
    .pain-points ul li strong {
        display: inline;
    }
}
