/*
Theme Name: 静岡の元教師すぎやま公式サイト
Description: 静岡の元教師すぎやま専用のカスタムランディングページテーマ
Version: 1.0
Author: Manus AI
*/

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

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', '游ゴシック', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
}

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

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    z-index: 10;
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-image {
    flex: 0 0 400px;
    text-align: center;
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 0 20%;
    border: 8px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

/* セクション共通スタイル */
.section {
    padding: 80px 0;
    background: white;
}

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

/* 4つの顔セクション */
.faces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.face-card {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.3);
    transition: transform 0.3s ease;
}

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

.face-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.face-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* プロフィールセクション */
.profile-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.profile-image-container {
    text-align: center;
}

.profile-image-secondary {
    width: 300px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    object-position: 0 20%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #c44569;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 著書セクション */
.books-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
}

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

.book-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.book-image {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.amazon-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff9500;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.amazon-button:hover {
    background: #e6850e;
    transform: translateY(-2px);
}

/* 実績セクション */
.stats-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #c44569;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
}

/* メディア出演セクション */
.media-section {
    padding: 80px 0;
    background: white;
}

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

.media-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 0 30%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.media-list {
    list-style: none;
}

.media-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

/* サービスセクション */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #c44569;
}

/* リンクセクション */
.links-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
}

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

.link-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.link-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.qr-code {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 10px;
    margin: 20px auto;
    padding: 10px;
}

/* お問い合わせフォーム */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c44569;
}

.submit-button {
    background: linear-gradient(45deg, #c44569, #ff6b9d);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 69, 105, 0.4);
}

/* ショップセクション */
.shop-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.shop-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.shop-image:hover {
    transform: scale(1.02);
}

.shop-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #00d4aa, #00b894);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.shop-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.4);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        position: relative;
        width: 100% !important;
    }

    .container {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        flex: none;
    }

    .profile-image {
        width: 280px;
        height: 280px;
    }

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

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

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

    .faces-grid {
        grid-template-columns: 1fr;
    }

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

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

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 背景装飾 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}
