/* 講師派遣サービス パブリックページ スタイル */

/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px; /* 固定ヘッダー分の余白 */
}

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

/* ヘッダー */
.header {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.logo-image {
    max-height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

.btn-contact {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* メインビジュアル */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: -80px; /* ヘッダー分の余白を相殺（デスクトップ用） */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

/* ボタンスタイル */
.btn-primary {
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #4a90e2;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #4a90e2;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #4a90e2;
    color: white;
    text-decoration: none;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* サービスについて */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.about-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.about-text li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-size: 1rem;
}

/* アイコンオプション（コメントアウト） */
/* 
.about-text li:before {
    content: "\f058";  // チェックマーク（丸）
}
.about-text li:before {
    content: "\f0da";  // 矢印
}
.about-text li:before {
    content: "\f105";  // 右矢印
}
.about-text li:before {
    content: "\f111";  // 丸
}
*/

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 講師紹介 */
.lecturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.lecturer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.lecturer-card:hover {
    transform: translateY(-10px);
}

.lecturer-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    display: block;
}

.lecturer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lecturer-info {
    padding: 1.5rem;
}

.lecturer-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.lecturer-specialty {
    color: #4a90e2;
    font-weight: 500;
    margin-bottom: 1rem;
}

.lecturer-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 実績 */
.achievements {
    background: #f8f9fa;
}

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

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.achievement-icon {
    font-size: 3rem;
    color: #4a90e2;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.achievement-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.achievement-meta {
    color: #999;
    font-size: 0.9rem;
}

/* お客様の声 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.review-stars {
    margin-bottom: 1rem;
}

.review-stars .fa-star {
    color: #ddd;
    font-size: 1.2rem;
}

.review-stars .fa-star.active {
    color: #ffd700;
}

.review-text {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author strong {
    color: #333;
    font-weight: 600;
}

.review-author span {
    color: #999;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    body {
        padding-top: 180px !important; /* モバイルでヘッダーが縦に並ぶため余白を増やす */
    }
    
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    /* 最初のセクション（hero）の余白を調整 */
    section.hero {
        height: 80vh !important;
        min-height: 500px !important;
        margin-top: 0 !important; /* ヘッダー分の余白はbodyのpadding-topで確保 */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        position: relative !important;
    }
    
    .hero-content {
        padding: 2rem;
        max-width: 90%;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lecturers-grid,
    .achievements-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 200px !important; /* 小さいスマホでヘッダーが更に高くなるため余白を増やす */
    }
    
    .header-container {
        padding: 0.8rem 15px;
        gap: 0.8rem;
    }
    
    .nav {
        font-size: 0.85rem;
        gap: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section.hero {
        height: 70vh !important;
        min-height: 400px !important;
        margin-top: 0 !important; /* ヘッダー分の余白はbodyのpadding-topで確保 */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        position: relative !important;
    }
    
    .hero-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ページコンテンツスタイル */
.page-content {
    padding: 80px 0;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.page-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.8;
    color: #333;
}

.page-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

/* ページコンテンツ レスポンシブ */
@media (max-width: 768px) {
    .page-content {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .page-body {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}
