/* CSSリセットとベーススタイル */
:root {
    --primary: #004a99;
    --primary-dark: #002d59;
    --primary-light: #e6f0ff;
    --secondary: #e63946;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.6;
}

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

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

.center {
    text-align: center;
}

section {
    padding: 80px 0;
}

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


.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-dark);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 100, 0.2);
    position: relative;
    z-index: 4;
    border: none;
    cursor: pointer;
}
  
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 100, 0.3);
    background-color: var(--primary-dark);
}

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

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

/* 修正版ヘッダー */
/* ====================== */
/* ヘッダー */
/* ====================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    color: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    height: 80px; /* ヘッダーの高さを固定 */
    display: flex;
    align-items: center;
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-left: 10px;
}

.logo img {
    width: 80px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center; /* 垂直方向も中央揃え */
    height: 100%; /* ヘッダーの高さいっぱいに */
    top: 0; /* 上部からの位置を0に指定 */
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: 300;
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

/* 言語スイッチャー */
.lang-switcher-container {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.lang-switcher-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.lang-option {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-option:hover {
    color: var(--primary);
}

.lang-switcher-desktop span,
.lang-switcher-mobile span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* モバイルメニュー */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 1001;
}

.mobile-menu-btn .fa-bars,
.mobile-menu-btn .fa-times {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn .fa-times {
    opacity: 0;
    transform: rotate(-90deg);
}

.mobile-menu-btn.active .fa-bars {
    opacity: 0;
    transform: rotate(90deg);
}

.mobile-menu-btn.active .fa-times {
    opacity: 1;
    transform: rotate(0deg);
}


/* モバイルメニューの修正 */
@media (max-width: 768px) {
    
    .lang-switcher-desktop {
        display: none;
    }
    
    .lang-switcher-mobile {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px); /* ビューポートの高さからヘッダー分を引く */
        background: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: all 0.5s ease; /* トランジションを変更 */
        transform: translateX(-100%); /* 初期状態で画面外に */
        z-index: 999;
        overflow-y: auto; /* スクロール可能に */
    }

    

    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
        transform: translateX(0); /* アクティブ時に表示 */
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    
    /* ヘッダーの高さ調整 */
    header {
        height: 80px;
        padding: 15px 0;
    }
    
    body {
        padding-top: 70px;
    }
}


/* ====================== */
/* ヒーローセクション全体 */
/* ====================== */
  
.hero {
    position: relative;
    margin-top: -70px;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}
  
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
  
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
  
.hero-slide.active {
    opacity: 1;
}
  
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
  
/* 背景画像とグラデーションの設定 */
.hero-slide:nth-child(1) .hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                      url(../images/mv01.jpg);
}

.hero-slide:nth-child(2) .hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                      url(..//images/mv02.jpg);
}

.hero-slide:nth-child(3) .hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                      url(..//images/mv03.jpg);
}

.hero .container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}
  
.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0.3s;
}
  
.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}
  
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 100, 0.5);
}
  
.hero-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 100, 0.5);
    line-height: 1.6;
}
  
.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
  
.hero-pagination span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
  
.hero-pagination span.active {
    background-color: white;
    transform: scale(1.2);
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.hero-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ====================== */
/* サービスセクション */
/* ====================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-list {
    list-style: none;
    margin-top: 20px;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 25px;
}

.service-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}



/* ====================== */
/* コーポレートサイトPRセクション */
/* ====================== */
#corporate {
    background-color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

#corporate .section-subtitle {
    margin-bottom: 60px;
}

.corporate-container {
    position: relative;
    z-index: 2;
}

.corporate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.corporate-content {
    padding-right: 20px;
}

.corporate-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.corporate-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.corporate-image:hover img {
    transform: scale(1.05);
}

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

.benefit-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.benefit-item h4 {
    font-size: 16px;
}

.benefit-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-text h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

/* ====================== */
/* 強みセクション（新デザイン） */
/* ====================== */
.strengths-section {
    position: relative;
    overflow: hidden;
}

.strengths-section:before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.strengths-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.strength-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* min-height: 500px; */
}

.strength-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.strength-image:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0.05) 100%);
    z-index: 1;
}

.strengths-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strength-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.strength-icon {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.strength-icon i {
    position: relative;
    z-index: 2;
    font-size: 30px;
    color: var(--primary);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strength-content {
    flex: 1;
}

.strength-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.strength-content h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.strength-content p {
    color: #555;
    line-height: 1;
    margin: 0;
    font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .strengths-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .strength-image {
        min-height: 300px;
        width: 100%;
    }
    
    .strengths-list {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .strength-item {
        padding: 25px;
        gap: 20px;
    }
    
    .strength-icon {
        width: 60px;
        height: 60px;
    }
    
    .strength-icon i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .strength-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .strength-content h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 追加 */
/* スマホ表示時の修正 */
@media (max-width: 576px) {
    .strength-image {
        min-height: auto; /* 固定高さを解除 */
        height: auto; /* 高さを自動調整 */
    }
    
    .strength-image img {
        height: auto; /* 高さを自動調整 */
        max-height: 100%; /* 最大高さを制限 */
        object-fit: contain; /* 画像の比率を保つ */
    }
    

}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .strengths-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    /* 順番を逆にする */
    .strength-image {
        order: 2; /* 画像を下に */
        width: 100%;
        min-height: auto;
        height: auto;
    }
    
    .strengths-list {
        order: 1; /* リストを上に */
        width: 100%;
    }
    
    .strength-image img {
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
    
}

/* ====================== */
/* お客様の声セクション（新デザイン） */
/* ====================== */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background-color: lightgray;
}

.testimonials-section:before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.1;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card:after {
    content: "";
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    color: #f0f5ff;
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.testimonial-content .excerpt {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: #444;
    position: relative;
    padding-left: 25px;
}

.testimonial-content .excerpt h4 {
    font-size: 16px;
}



.testimonial-content .excerpt:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    height: 16px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #333;
}

.author-info .company {
    margin: 0;
    font-size: 14px;
    color: #777;
    font-weight: 400;
}

.rating {
    color: #ffc107;
    margin-top: 6px;
    font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
}

/* ====================== */
/* 契約までのステップセクション（新デザイン） */
/* ====================== */
.steps-section {
    position: relative;
    overflow: hidden;
}

.steps-section:before {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.steps-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
}

.steps-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 20px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    z-index: 1;
    border-radius: 3px;
}

.step {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

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

.step-content {
    width: 100%;
    max-width: 800px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-right: 25px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3);
    border: 4px solid white;
}

.step-number:after {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
}

.step-details {
    padding-top: 10px;
}

.step-details h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.step-details h3:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.step-details p {
    color: #555;
    line-height: 1.8;
    margin-top: 15px;
}

/* 交互配置 */
/* .step:nth-child(odd) .step-content {
    margin-left: auto;
} */

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .steps-container:before {
        left: 90px;
        transform: none;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .step:nth-child(odd) .step-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .steps-container:before {
        left: 45px;
    }
    
    .step-content {
        padding: 25px 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-right: 20px;
    }
}

@media (max-width: 576px) {
    .steps-container:before {
        display: none;
    }
    
    .step-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .step-details h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ====================== */
/* QAセクション */
/* ====================== */

#qa{
    background-color: var(--primary-light);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Noto Sans JP', sans-serif;
     
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: none; /* 制限解除 */
    padding: 20px 25px;
    border-top: 1px solid #eee;
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}



/* ====================== */
/* お問い合わせセクション（統合版） */
/* ====================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #003a8c 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.contact-section:before {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.contact-section .section-header .section-title {
    color: white;
}

.contact-section .section-subtitle{
    color: white;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: background 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}


.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    /* 必要に応じて調整 */
    transform: translateY(-5px); /* 微調整用 */
}



.contact-info-container {
    display: flex;
    flex-direction: column;
}

.contact-info-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 16px;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-box h3 {
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
}

.contact-info-list {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    margin-bottom: 22px;
    align-items: flex-start;
}

.contact-info-list i {
    font-size: 1.2rem;
    margin-right: 18px;
    color: white;
    margin-top: 5px;
    min-width: 20px;
}

.contact-info-list span {
    flex: 1;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* SNS QRコードセクション */
.sns-qr-section {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sns-qr-section h4 {
    text-align: center;
    margin-bottom: 18px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.qr-container {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.qr-item {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.qr-img {
    width: 75px;
    height: 75px;
    display: block;
    margin: 0 auto;
    background: white;
    padding: 5px;
    /* border-radius: 10px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-label {
    font-size: 0.85rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Googleマップスタイル */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
    height: 300px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.25) 0%, rgba(0, 86, 179, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.map-container iframe {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(25%) contrast(115%) saturate(90%);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .contact-grid {
        gap: 30px;
    }
    
    .contact-form-container,
    .contact-info-box {
        padding: 35px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container,
    .contact-info-box {
        padding: 30px;
    }
    
    .contact-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .qr-container {
        justify-content: center;
        gap: 25px;
    }
    
    .qr-img {
        width: 65px;
        height: 65px;
    }
    
    .contact-info-list li {
        margin-bottom: 18px;
    }
}

@media (max-width: 576px) {    
    .section-header .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 18px;
    }
}

/* ====================== */
/* フッター */
/* ====================== */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary);
    min-width: 20px;
    transform: translateY(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* ====================== */
/* レスポンシブ対応 */
/* ====================== */
@media (max-width: 992px) {
    .corporate-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .corporate-content {
        padding-right: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container:before {
        left: 30px;
    }
    
    .step-number {
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-text {
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hero-pagination {
        bottom: 30px;
    }
    
    .hero-controls button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }

     .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .steps-container:before {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .site-title{
        font-size: 22px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-pagination span {
        width: 10px;
        height: 10px;
    }
    
    .hero-controls button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    #corporate .section-subtitle {
    margin-bottom:30px;
}
}



/* プライバシーポリシーページーーーーーーーーーーーーーーーーーーーーーー */

.privacy-content {
    font-size: 12px;
    color: var(--gray);
    max-width: 500px;
    margin: 20px auto;

}
.privacy-content ul {
    list-style-position: inside; /* マーカーをボックス内に */
    padding-left: 1em;
}

.privacy-content h2 {
    font-size: 14px;
    margin-top: 5px;
}


/* エラーページーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.error-content p{
    font-size: 12px;
    margin-bottom: 20px;
}



