/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --bg-dark: #0f172a;
    --bg-light: #ffffff;
    --bg-gray: #f1f5f9;
    --bg-blue-light: #eff6ff;
    --text: #0f172a;
    --text-light: #475569;
    --border: #cbd5e1;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

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

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    box-shadow: none;
    border-bottom: none;
    transition: all 0.3s ease;
}



/* トップページ専用ヘッダースタイル */
body:not(.service-page):not(.about-page) .header {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(203, 213, 225, 0.3);
    transition: all 0.3s ease;
}

body:not(.service-page):not(.about-page) .header .nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

body:not(.service-page):not(.about-page) .header .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
}

/* 透明ヘッダー（ヒーローセクションと重なっている時） */
.header.transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    transition: all 0.3s;
}

.header.transparent .nav-link,
.header.transparent .nav-link:visited,
.header.transparent .nav-link:active,
.header.transparent .nav-link:focus,
.header.transparent .nav-link:hover {
    color: #000 !important;
    text-shadow: none !important;
    text-decoration: none !important;
}

.header.transparent .hamburger span {
    background: #000 !important;
    box-shadow: none !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ヒーローセクション */
.hero {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.hero-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25); /* 薄い黒フィルター。グレーにしたい場合はrgba(200,200,200,0.25)など */
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100vw;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button::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.5s;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* セクション共通 */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
}

/* サービス紹介セクション */
.service-intro {
    padding: 100px 0;
    position: relative;
}

.service-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-intro-text {
    padding-right: 40px;
}

.service-intro-header {
    background: var(--bg-dark);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.service-intro-header h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.service-intro-body {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.service-intro-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-intro-body p:last-child {
    margin-bottom: 0;
}

.service-intro-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 177, 90, 0.3);
}

.service-intro-button:hover {
    background: #00a070;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 177, 90, 0.4);
}

.service-intro-image {
    position: relative;
    text-align: center;
}

.service-intro-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.service-placeholder {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    border: 2px dashed #dee2e6;
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-placeholder p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 3ステップで完結 */
.steps {
    position: relative;
}

.steps-overview {
    text-align: center;
    margin-bottom: 60px;
}

.steps-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(203, 213, 225, 0.2);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-item:hover::before {
    transform: scaleX(1);
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.step-image {
    margin-bottom: 25px;
}

.step-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-details {
    margin-top: 20px;
    text-align: left;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.step-features li i {
    color: var(--primary);
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.steps-result {
    margin-top: 80px;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.result-content h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 600;
}

.result-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.result-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-benefit {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text);
}

.result-benefit i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1.2rem;
}

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

.result-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(4px);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* 選ばれる理由 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 20px;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.1);
}

.benefit-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* 導入実績 */
.achievements {
    color: var(--text);
    position: relative;
}

.achievements .section-title {
    color: var(--text);
    position: relative;
    z-index: 1;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.achievement-item {
    text-align: center;
    padding: 30px 20px;
}

.achievement-number {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.achievement-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.achievement-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* サービス紹介 */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

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

.service-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 32px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    transition: box-shadow 0.3s;
}

.service-item:hover {
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    background: none !important;
}

.service-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-description {
    color: var(--text-light);
    font-size: 1rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .service-item {
        min-height: 220px;
        padding: 24px 10px 18px 10px;
    }
}

/* お問い合わせ */
.contact {
    background: var(--bg-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-details {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-label {
    font-weight: 500;
    color: var(--text);
}

.contact-value {
    color: var(--primary);
    font-weight: 600;
}

/* フォーム */
.contact-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-dark);
}

/* フッター */
.footer {
    background: var(--bg-light);
    color: var(--text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    padding-top: 0;
    margin-top: -150px;
    margin-left: -45px;
}

/* スマホ版でのフッターロゴ位置調整 */
@media (max-width: 768px) {
    .footer-logo {
        position: absolute;
        right: -50px;
        top: 155px;
        margin-top: 0;
        margin-left: 0;
    }
    
    .footer-content {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        overflow-x: hidden; /* 横スクロール防止 */
        max-width: 100vw; /* 画面幅を超えない */
        width: 100%;
    }
    
    footer {
        overflow-x: hidden; /* フッター全体の横スクロール防止 */
    }
    
    .footer-links {
        width: 100%;
    }
}

.footer-logo-img {
    height: 460px;
    width: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
}

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

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    color: var(--text-light);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
    }

    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow);
        padding: 20px;
    }

    .nav.active .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content,
    .contact-content.single-column {
        display: block !important;
        width: 100%;
        max-width: none;
        padding: 0;
        grid-template-columns: unset !important;
        gap: 0 !important;
    }

    .contact-form {
        width: 100%;
        max-width: none;
        margin: 0;
        background: white;
        padding: 40px;
        border-radius: 15px;
        box-shadow: var(--shadow);
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps-grid,
    .benefits-grid,
    .achievements-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-intro-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-intro-text {
        padding-right: 0;
        text-align: center;
    }

    .service-intro-header h2 {
        font-size: 1.6rem;
    }

    .service-overlay-text {
        font-size: 2rem;
    }

    .service-placeholder {
        height: 300px;
        padding: 30px;
    }

    .placeholder-icon {
        font-size: 3rem;
    }

    .service-placeholder h3 {
        font-size: 1.3rem;
    }

    .service-placeholder p {
        font-size: 1rem;
    }

    .steps-result {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .result-content h3 {
        font-size: 1.3rem;
    }

    .step-features li {
        font-size: 0.9rem;
    }
}

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

    section {
        padding: 60px 0;
    }

    .service-intro {
        padding: 60px 0;
    }

    .service-intro-header h2 {
        font-size: 1.4rem;
    }

    .service-intro-body p {
        font-size: 1rem;
    }

    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* about.html 用スタイル */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: white;
}

.about-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero-subtitle {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.company-info-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.info-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-value {
    color: var(--text);
    line-height: 1.6;
}

.business-list {
    list-style: none;
    padding: 0;
}

.business-list li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
}

.business-list li:last-child {
    border-bottom: none;
}

.mission-vision {
    background: var(--bg-gray);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mission-item, .vision-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-title, .vision-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.mission-text, .vision-text {
    color: var(--text-light);
    line-height: 1.8;
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

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

.ceo-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.ceo-photo {
    margin-bottom: 20px;
}

.ceo-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.ceo-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.strength-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.strength-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: rgba(0, 177, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: rgba(0, 177, 90, 0.15);
}

.strength-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.strength-description {
    color: var(--text-light);
    line-height: 1.6;
}

.trust {
    background: var(--bg-gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.trust-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.trust-text {
    color: var(--text);
    font-weight: 500;
}

.contact-about-content {
    text-align: center;
}

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

.contact-window {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-window h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text);
}

.contact-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.contact-detail .contact-value {
    text-align: right;
}

.contact-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* service.html 用スタイル */
.service-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.service-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-hero-content.stylish-hero {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    color: #fff;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    pointer-events: none;
}
.service-hero-title {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    text-shadow: 0 6px 24px rgba(0,0,0,0.55), 0 2px 4px rgba(0,0,0,0.28);
}
.service-hero-subtitle {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #f3f6fa;
    margin-bottom: 12px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.38), 0 1px 2px rgba(0,0,0,0.22);
}
.service-hero-concept {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #e3e9f7;
    margin-bottom: 0;
    text-shadow: 0 3px 12px rgba(0,0,0,0.32), 0 1px 2px rgba(0,0,0,0.18);
}
.service-hero-bg, .service-hero-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.service-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40,40,40,0.32);
    z-index: 2;
    pointer-events: none;
}

.service-hero-text {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-overview-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-overview-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-overview-image {
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.service-overview-image:nth-child(2) {
    transform: translateX(100px);
}

.service-overview-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.overview-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-concept h3, .service-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.service-concept p {
    color: var(--text-light);
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

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

.service-detailed-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-detailed-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.service-detailed-item:hover::before {
    opacity: 0.15;
}

/* 各サービスカードの背景画像 */
.service-detailed-item:nth-child(1)::before {
    background-image: url("img/電気.png");
}

.service-detailed-item:nth-child(2)::before {
    background-image: url("img/ガス.png");
}

.service-detailed-item:nth-child(3)::before {
    background-image: url("img/水道.png");
}

.service-detailed-item:nth-child(4)::before {
    background-image: url("img/インターネット.png");
}

.service-detailed-item:nth-child(5)::before {
    background-image: url("img/ウォーターサーバー.png");
}

.service-detailed-item:nth-child(6)::before {
    background-image: url("img/相談.png");
}

.service-detailed-item:hover {
    transform: translateY(-5px);
}

.service-detailed-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-detailed-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.service-detailed-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-providers h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.service-providers ul {
    list-style: none;
    padding: 0;
}

.service-providers li {
    padding: 5px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.service-providers li:last-child {
    border-bottom: none;
}

.service-flow {
    background: var(--bg-gray);
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.flow-step {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 200px;
}

.flow-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.flow-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.flow-description {
    color: var(--text-light);
    line-height: 1.6;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

.fee-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

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

.fee-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.fee-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text);
}

.fee-amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
}

.fee-exclusions {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.fee-exclusions h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.exclusions-list {
    list-style: none;
    padding: 0;
}

.exclusions-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.exclusions-list li:last-child {
    border-bottom: none;
}

.exclusions-list li:before {
    content: "×";
    color: #ff6b6b;
    font-weight: bold;
    margin-right: 10px;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-table td.highlight {
    background: rgba(0, 177, 90, 0.1);
    font-weight: 600;
    color: var(--primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    background: var(--bg-gray);
    padding: 20px;
    margin: 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--primary);
    color: white;
}

.faq-answer {
    padding: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonials {
    background: var(--bg-gray);
}

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

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    color: var(--primary);
    font-weight: 600;
}

.service-cta {
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

.service-cta .section-title {
    color: white;
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* レスポンシブ対応の追加 */
@media (max-width: 768px) {
    .service-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .service-hero-text {
        padding: 30px;
        margin: 0 20px;
    }
    
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .service-hero-subtitle {
        font-size: 1.4rem;
    }
    
    .service-hero-concept {
        font-size: 1.1rem;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-overview-text {
        gap: 30px;
    }
    
    .service-overview-images {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-overview-image {
        transform: translateX(0);
        opacity: 1;
    }
    
    .overview-img {
        max-width: 180px;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .fee-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 2rem;
    }
    
    .service-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .service-hero-concept {
        font-size: 1rem;
    }
    
    .service-overview-images {
        flex-direction: column;
        gap: 15px;
    }
    
    .overview-img {
        max-width: 180px;
    }
    
    .company-info-item,
    .service-detailed-item,
    .fee-item {
        padding: 20px;
    }
    
    .ceo-image {
        width: 150px;
        height: 150px;
    }
}

/* 新しく追加したセクション用スタイル */

/* 信頼性セクション */
.trust-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.trust-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.trust-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.trust-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.trust-points {
    list-style: none;
    padding: 0;
}

.trust-points li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text);
}

.trust-points li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* お客様サポートセクション */
.support-section {
    background: var(--bg-gray);
    padding: 80px 0;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.support-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.support-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.support-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-feature {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.support-feature i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.support-feature span {
    color: var(--text);
    font-weight: 500;
}

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

.support-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* サービスビジュアルセクション */
.service-visual {
    background: var(--bg-gray);
    padding: 80px 0;
}

.service-visual-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-visual-image {
    text-align: center;
}

.service-visual-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.service-visual-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.service-visual-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-highlight {
    display: flex;
    align-items: center;
}

.service-highlight i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.service-highlight span {
    color: var(--text);
    font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .trust-content,
    .support-content,
    .service-visual-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trust-text h2,
    .support-text h2,
    .service-visual-text h2 {
        font-size: 1.8rem;
    }
    
    .support-features {
        gap: 15px;
    }
    
    .support-feature {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .trust-text h2,
    .support-text h2,
    .service-visual-text h2 {
        font-size: 1.5rem;
    }
    
    .trust-img,
    .support-img,
    .service-visual-img {
        max-width: 100%;
    }
}

/* サービス詳細ページの個別アイコン色設定 */
.service-detailed-item:nth-child(1) .service-detailed-icon {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.service-detailed-item:nth-child(1) .service-detailed-icon:hover {
    background: rgba(255, 193, 7, 0.2);
}

.service-detailed-item:nth-child(2) .service-detailed-icon {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.service-detailed-item:nth-child(2) .service-detailed-icon:hover {
    background: rgba(13, 110, 253, 0.2);
}

.service-detailed-item:nth-child(3) .service-detailed-icon {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

.service-detailed-item:nth-child(3) .service-detailed-icon:hover {
    background: rgba(13, 202, 240, 0.2);
}

.service-detailed-item:nth-child(4) .service-detailed-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.service-detailed-item:nth-child(4) .service-detailed-icon:hover {
    background: rgba(59, 130, 246, 0.2);
}

.service-detailed-item:nth-child(5) .service-detailed-icon {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

.service-detailed-item:nth-child(5) .service-detailed-icon:hover {
    background: rgba(13, 202, 240, 0.2);
}

.service-detailed-item:nth-child(6) .service-detailed-icon {
    background: rgba(25, 135, 84, 0.15);
    color: #198754;
}

.service-detailed-item:nth-child(6) .service-detailed-icon:hover {
    background: rgba(25, 135, 84, 0.2);
}

/* トップページのサービスアイコン個別色設定 */
.service-item:nth-child(1) .service-icon {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.service-item:nth-child(1) .service-icon:hover {
    background: rgba(255, 193, 7, 0.2);
}

.service-item:nth-child(2) .service-icon {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.service-item:nth-child(2) .service-icon:hover {
    background: rgba(13, 110, 253, 0.2);
}

.service-item:nth-child(3) .service-icon {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

.service-item:nth-child(3) .service-icon:hover {
    background: rgba(13, 202, 240, 0.2);
}

.service-item:nth-child(4) .service-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.service-item:nth-child(4) .service-icon:hover {
    background: rgba(59, 130, 246, 0.2);
}

.service-item:nth-child(5) .service-icon {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

.service-item:nth-child(5) .service-icon:hover {
    background: rgba(13, 202, 240, 0.2);
}

.service-item:nth-child(6) .service-icon {
    background: rgba(25, 135, 84, 0.15);
    color: #198754;
}

.service-item:nth-child(6) .service-icon:hover {
    background: rgba(25, 135, 84, 0.2);
}

/* 連携企業ロゴスライダー */
.partner-section {
    padding: 80px 0 60px 0;
    background: #fff;
    text-align: center;
}
.partner-en {
    color: #aaa;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
}
.partner-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 24px;
}
.partner-icon {
    margin: 0 auto 32px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.partner-desc {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: #222;
    font-weight: 500;
}
.partner-highlight {
    color: #2196f3;
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 32px;
    line-height: 1.7;
}
.partner-services {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
}
.partner-services li {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 16px;
    position: relative;
    padding-left: 1.5em;
}
.partner-services li::before {
    content: '●';
    color: #ccc;
    position: absolute;
    left: 0;
    font-size: 1.1em;
    top: 0.1em;
}

.partners-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
}

.partners-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text);
}

.partners-slider {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center;
    animation: slideLogos 24s linear infinite;
    min-width: 200%; /* Ensure enough width for smooth loop */
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-img {
    max-height: 120px;
    height: 120px;
    width: auto;
    margin: 0 48px;
    display: inline-block;
}

@keyframes slideLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .partners-section {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .partners-title {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    
    .partner-logo {
        margin: 0 20px;
        min-width: 150px;
        height: 60px;
    }
    
    .partners-track {
        animation-duration: 15s;
    }
}

@media (max-width: 480px) {
    .partners-section {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .partners-title {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .partner-logo {
        margin: 0 15px;
        min-width: 120px;
        height: 50px;
    }
    
    .partners-track {
        animation-duration: 12s;
    }
}

/* ========= 流れる巨大テキスト ========= */
.section-title-bg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 200%;
    font-size: clamp(4rem, 12vw, 14rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    animation: scroll-text 20s linear infinite;
    font-family: 'Montserrat', sans-serif;
    text-shadow: none;
    letter-spacing: 0.1em;
    background-image: url("img/アベノハルカス.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes scroll-text {
    0%   { transform: translate(0%, -50%); }
    100% { transform: translate(-100%, -50%); }
}

/* モバイルでは非表示にして可読性を確保 */
@media (max-width: 768px) {
    .section-title-bg { 
        display: none; 
    }
}

/* ========= パララックス背景セクション ========= */
.parallax-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin: 0;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url("img/mainvisual_2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: translateY(calc(var(--parallax-offset, 0px) * -0.3));
    transition: transform 0.1s linear;
    z-index: -1;
    opacity: 0.8;
}

/* サービスページ用パララックス背景 */
.provided-services.parallax-section {
    height: auto;
    min-height: 800px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.provided-services.parallax-section .parallax-bg {
    opacity: 0.9;
    height: 120%;
    transform: translateY(calc(var(--parallax-offset, 0px) * -0.5));
}

.provided-services.parallax-section .container {
    position: relative;
    z-index: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .parallax-section {
        height: 500px;
        margin: 0;
    }
    
    .provided-services.parallax-section {
        min-height: 700px;
        padding: 60px 0;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .parallax-section {
        height: 400px;
        margin: 0;
    }
    
    .provided-services.parallax-section {
        min-height: 600px;
        padding: 40px 0;
    }
}

/* スプラッシュ画面 */
.splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s;
    opacity: 1;
    pointer-events: none;
}
.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s;
}
.main-content {
    opacity: 0;
    transition: opacity 0.7s;
}
.main-content.show {
    opacity: 1;
    transition: opacity 0.7s;
}

.splash-logo {
    text-align: center;
    opacity: 0;
    transform: scale(0.5);
    animation: logoAppear 2.5s ease forwards;
}

.splash-logo-img {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .splash-logo-img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .splash-logo-img {
        width: 120px;
    }
} 

.contact-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

@media (max-width: 600px) {
    .contact-form {
        max-width: 100%;
        padding: 20px 5px;
    }
} 

.hero-headline, .hero-subheadline {
    text-shadow: 0 2px 8px rgba(0,0,0,0.32), 0 0px 1px rgba(0,0,0,0.18);
} 

.trust-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}
.trust-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 18px;
}
.trust-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 700px;
} 

.service-lineup-section {
    padding: 80px 0 60px 0;
    background: #fff;
    text-align: center;
}
.service-lineup-en {
    color: #aaa;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
}
.service-lineup-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 24px;
}
.service-lineup-desc {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 48px;
    line-height: 1.7;
}
.service-lineup-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.service-lineup-card {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 32px 0;
    margin-bottom: 32px;
}
.service-lineup-img-wrap {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
}
.service-lineup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-lineup-card-title {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.service-lineup-card-desc {
    font-size: 1rem;
    color: #222;
    margin-bottom: 24px;
    padding: 0 16px;
    text-align: left;
}
.service-lineup-more {
    display: inline-block;
    background: #111;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 14px 0;
    width: 90%;
    border: none;
    border-radius: 0;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}
.service-lineup-more span {
    margin-left: 8px;
    font-size: 1.2em;
}
.service-lineup-more:hover {
    background: #2563eb;
    color: #fff;
}
@media (max-width: 1100px) {
    .service-lineup-cards {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .service-lineup-card {
        width: 90%;
        max-width: 400px;
    }
} 

.company-info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 36px 28px;
    max-width: 700px;
    margin: 0 auto 60px auto;
    display: block;
}
.company-info-row {
    display: block;
    margin-bottom: 22px;
    font-size: 1.08rem;
    line-height: 1.7;
}
.company-info-row .info-label {
    display: block;
    min-width: 0;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 4px;
}
.company-info-row .info-value {
    color: #222;
    display: block;
}
.company-info-row .business-list {
    margin: 0;
    padding-left: 1.2em;
}
.company-info-row .business-list li {
    margin-bottom: 2px;
    font-size: 1.02rem;
}
@media (max-width: 700px) {
    .company-info-card {
        padding: 18px 6px;
        max-width: 98vw;
    }
} 

body.service-page .header.transparent {
    background: transparent !important;
    backdrop-filter: none !important;
}

body.service-page .header.transparent .nav-link,
body.service-page .header.transparent .nav-link:visited,
body.service-page .header.transparent .nav-link:active,
body.service-page .header.transparent .nav-link:focus,
body.service-page .header.transparent .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    text-decoration: none !important;
}

body.service-page .header.transparent nav .nav-list .nav-link:visited {
    color: #fff !important;
}

body.about-page .header.transparent {
    background: transparent !important;
    backdrop-filter: none !important;
}

body.about-page .header.transparent .nav-link,
body.about-page .header.transparent .nav-link:visited,
body.about-page .header.transparent .nav-link:active,
body.about-page .header.transparent .nav-link:focus,
body.about-page .header.transparent .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    text-decoration: none !important;
}
body.about-page .header.transparent nav .nav-list .nav-link:visited {
    color: #fff !important;
}

#splash-logo-img {
    opacity: 0;
    transition: opacity 0.7s;
}
#splash-logo-img.visible {
    opacity: 1;
}
#splash-sapo {
    opacity: 0;
    transition: opacity 0.6s;
}
#splash-sapo.visible {
    opacity: 1;
}

.trust-card {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    border-radius: 15px 15px 8px 8px;
    padding: 30px 25px 40px 25px;
    box-shadow: 0 8px 25px -5px rgba(30, 64, 175, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #3b82f6;
    position: relative;
    color: #fff;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 15px 15px 8px 8px;
    z-index: -1;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -8px rgba(30, 64, 175, 0.4);
}

.trust-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.trust-card-text {
    font-size: 0.85rem;
    color: #e0e7ff;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .trust-card {
        padding: 25px 20px 35px 20px;
        min-height: 180px;
    }
    
    .trust-card-title {
        font-size: 0.9rem;
    }
    
    .trust-card-text {
        font-size: 0.8rem;
    }
}

.iesapo-reasons {
    padding: 80px 0;
    background: #f8fafc;
}

.reasons-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reason-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.reason-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reason-title i {
    color: #3b82f6;
    font-size: 1.1rem;
}

.reason-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .iesapo-reasons {
        padding: 60px 0;
    }
    
    .reasons-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .reason-item {
        padding: 25px;
    }
    
    .reason-title {
        font-size: 1.1rem;
    }
    
    .reason-description {
        font-size: 0.95rem;
    }
}

/* スマホ版ロゴスライダー強化スタイル */
@media (max-width: 480px) {
    .partners-slider {
        height: 100px !important;
        min-height: 100px !important;
        overflow: hidden !important;
    }
    
    .partners-track {
        display: flex !important;
        align-items: center !important;
        min-width: 2400px !important;
        height: 100px !important;
        animation: slideLogos 30s linear infinite !important;
        white-space: nowrap !important;
    }
    
    .partner-logo {
        flex: 0 0 300px !important;
        width: 300px !important;
        height: 100px !important;
        margin: 0 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
    
    .partner-img {
        max-height: 80px !important;
        max-width: 260px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }
}