/*
Theme Name: Anosh Theme
Description: Google Workspace × 生成AI活用講座用テーマ
Author: Anosh Inc.
Version: 1.0
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Helvetica Neue", Arial, sans-serif; color: #333; line-height: 1.6; background-color: #f9f9f9; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* レイアウト */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: #4285F4; font-weight: bold; }

/* ボタン */
.btn { display: inline-block; padding: 12px 30px; border-radius: 50px; font-weight: bold; text-align: center; font-size: 1rem; cursor: pointer; }
.btn-primary { background-color: #EA4335; color: white; box-shadow: 0 4px 6px rgba(234, 67, 53, 0.3); }
.btn-primary:hover { background-color: #d33426; transform: translateY(-2px); }
.btn-outline { border: 2px solid #4285F4; color: #4285F4; background: white; }
.btn-outline:hover { background-color: #eef5ff; }

/* ヘッダー */
header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; background-color: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; z-index: 1000; }
.logo a { font-size: 1.5rem; font-weight: bold; color: #555; display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; } /* ロゴ画像のサイズ調整 */
.logo span { color: #4285F4; }
.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-links { display: flex; gap: 25px; margin: 0; }
.nav-links a { font-size: 0.95rem; font-weight: bold; color: #555; }
.nav-links a:hover { color: #4285F4; }
.header-btns { margin-left: 10px; }

/* ドロップダウンメニュー */
.nav-links > li { position: relative; }
.nav-links .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    z-index: 1000;
}
.nav-links .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.nav-links > li:hover > .sub-menu { display: block; }
.nav-links .sub-menu li { padding: 0; }
.nav-links .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}
.nav-links .sub-menu a:hover { background-color: #f5f5f5; color: #4285F4; }

/* ヒーローエリア */
.hero { height: 90vh; background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%); display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -10%; right: -5%; width: 400px; height: 400px; background-color: rgba(66, 133, 244, 0.1); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: 10%; left: -5%; width: 200px; height: 200px; background-color: rgba(234, 67, 53, 0.1); border-radius: 50%; }
.hero-content { z-index: 1; max-width: 800px; padding: 20px; }
.hero-tag { display: inline-block; background-color: #4285F4; color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 20px; font-weight: bold; }
.hero-content h1 { font-size: 3.2rem; margin-bottom: 20px; line-height: 1.2; color: #333; }
.hero-content h1 span { background: linear-gradient(transparent 70%, #fff176 70%); }
.hero-content p { font-size: 1.25rem; margin-bottom: 40px; color: #666; font-weight: bold; }

/* 特徴セクション */
.features { padding: 100px 0; background-color: white; }
.feature-item { display: flex; align-items: center; margin-bottom: 80px; gap: 50px; }
.feature-item:nth-child(even) { flex-direction: row-reverse; }
.feature-img { flex: 1; border-radius: 24px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); aspect-ratio: 4/3; background-color: #f0f0f0; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { flex: 1; }
.feature-num { font-size: 4rem; font-weight: 900; color: #e0e0e0; line-height: 1; margin-bottom: -10px; position: relative; z-index: -1; }
.feature-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: #333; display: inline-block; }
.feature-text p { color: #666; font-size: 1.05rem; line-height: 1.8; }

/* 研修の4つの特徴: プラグインで管理 */

/* カリキュラム */
.curriculum { padding: 100px 0; background-color: #f4f8fb; }
.curriculum-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.course-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.course-header { background-color: #4285F4; color: white; padding: 15px 20px; font-weight: bold; font-size: 1.1rem; text-align: center; }
.course-header.day2 { background-color: #34A853; }
.course-header.day3 { background-color: #FBBC05; color: #333; }
.course-body { padding: 30px; flex-grow: 1; }
.course-title { font-size: 1.4rem; font-weight: bold; margin-bottom: 20px; color: #333; min-height: 3.5rem; }
.course-list { margin-bottom: 20px; }
.course-list li { margin-bottom: 10px; padding-left: 20px; position: relative; font-size: 0.95rem; color: #555; }
.course-list li::before { content: '✔'; position: absolute; left: 0; color: #4285F4; font-weight: bold; }
.course-time { margin-top: auto; text-align: right; font-weight: bold; color: #888; font-size: 0.9rem; }

/* 開催概要 */
.overview { padding: 80px 0; background-color: white; }
.overview-table { width: 100%; border-collapse: collapse; margin-top: 20px; background-color: white; border-radius: 10px; overflow: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.05); }
.overview-table th, .overview-table td { padding: 20px; border-bottom: 1px solid #eee; text-align: left; }
.overview-table th { background-color: #f9f9f9; width: 30%; font-weight: bold; color: #555; }

/* フッター */
footer { background-color: #333; color: white; padding: 60px 0; font-size: 0.9rem; }
.footer-content { margin-bottom: 40px; }
.footer-info p { margin-bottom: 10px; opacity: 0.8; }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.6; }

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* スマホ対応 */
@media (max-width: 768px) {
    header { padding: 0 20px; }

    .hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-menu.active { display: flex; }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .nav-links > li {
        border-bottom: 1px solid #eee;
    }
    .nav-links > li > a {
        display: block;
        padding: 15px 10px;
        font-size: 1rem;
    }

    /* モバイル用サブメニュー */
    .nav-links .sub-menu {
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background: #f9f9f9;
        border-radius: 0;
    }
    .nav-links .sub-menu::before { display: none; }
    .nav-links > li.menu-item-has-children.open > .sub-menu { display: block; }
    .nav-links .sub-menu a {
        padding: 12px 20px 12px 30px;
        font-size: 0.9rem;
    }

    .header-btns {
        margin: 20px 0 0 0;
        text-align: center;
    }

    .hero-content h1 { font-size: 2.2rem; }
    .feature-item, .feature-item:nth-child(even) { flex-direction: column; gap: 20px; }
    .feature-img { width: 100%; }
}