:root {
    --primary-color: #004098;
    --accent-color: #FF6B6B;
    --gradient-start: #004098;
    --gradient-end: #0066CC;
    --text-color: #333;
    --header-height: 60px;
    --section-padding: 80px;
    --container-width: 1000px;
}

/* 全体のスタイル */
html {
    scroll-behavior: smooth; /* スムーススクロールを有効化 */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    height: var(--header-height);
    position: fixed;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-list a {
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
}

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

/* フッター */
.footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

/* セクション共通スタイル */
section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: var(--header-height);
}

section:first-of-type {
    padding-bottom: 0px;
}

/* 偶数セクションの背景色 */
section:nth-of-type(even) {
    background-color: #ffffff;
}

/* 奇数セクションの背景色 */
section:nth-of-type(odd) {
    background-color: #f8f9fa;
}

/* セクションタイトル共通スタイル */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-en {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    margin-bottom: 5px;
}

.section-title-ja {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 各セクションのコンテンツ幅を統一 */
.program-content,
.instructor-content,
.about-content,
.timetable-content,
.application-content,
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* カード要素の共通スタイル */
.program-item,
.instructor-profile,
.about-item,
.about-description,
.timetable-item,
.step,
.contact-form {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* ホバーエフェクト */
.program-item:hover,
.about-item:hover,
.step:hover {
    transform: translateY(-5px);
}

.timetable-item:hover {
    transform: translateX(5px);
}

/* 講師セクション */
.instructor {
    background-color: #fff5f0;
}

.instructor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(204,102,0,0.05) 0%, rgba(204,102,0,0) 100%);
    z-index: 1;
}

.instructor-content {
    position: relative;
    z-index: 2;
}

.instructor-profile {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(204,102,0,0.1);
}

.instructor-image {
    flex: 0 0 300px;
}

.instructor-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.instructor-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-top: 20px;
}

.instructor-position {
    color: #666;
    margin-bottom: 20px;
}

.instructor-description {
    line-height: 1.8;
}

/* セミナーについて */
.about {
    padding: 100px 0;
    background: #fff;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-lead {
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.about-item-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.about-item-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-item-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.about-target {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.about-target-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-target-list {
    display: grid;
    gap: 20px;
}

.target-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.target-item:hover {
    transform: translateX(5px);
}

.target-item-check {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.target-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* タイムテーブルセクション */
.timetable {
    background-color: #f0f0ff;
}

.timetable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102,0,204,0.05) 0%, rgba(102,0,204,0) 100%);
    z-index: 1;
}

.timetable-content {
    position: relative;
    z-index: 2;
}

.timetable-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(102,0,204,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.timetable-item:hover {
    transform: translateX(5px);
}

.time {
    flex: 0 0 150px;
    font-weight: bold;
}

.session h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

/* お申し込み */
.application {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.application-content {
    max-width: 900px;
    margin: 0 auto;
}

/* ステップ */
.application-steps {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

.step-item {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-body h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-body p {
    color: #666;
    line-height: 1.6;
}

.step-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #e0e0e0;
}

/* 申し込みボタン */
.application-button-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.application-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--accent-color);
    color: #fff;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.application-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,107,107,0.3);
}

.application-button i {
    transition: transform 0.3s;
}

.application-button:hover i {
    transform: translateX(5px);
}

/* 注意事項 */
.application-notes {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
}

.application-notes h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.notes-grid {
    display: grid;
    gap: 20px;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.note-icon {
    width: 36px;
    height: 36px;
    background: #fff3f3;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.note-item p {
    color: #666;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .application {
        padding: 60px 0;
    }

    .step-item {
        padding: 20px;
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-body h3 {
        font-size: 18px;
    }

    .step-icon {
        display: none;
    }

    .application-button {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        font-size: 16px;
    }

    .application-notes {
        padding: 30px 20px;
    }
}

/* お問い合わせセクション */
.contact {
    background-color: #f0f8ff;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,102,204,0.05) 0%, rgba(0,102,204,0) 100%);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-description {
    text-align: center;
    margin-bottom: 40px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
}

.form-button {
    text-align: center;
}

.btn-submit {
    padding: 15px 40px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0052a3;
}

/* キービジュアルセクション */
.kv {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    height: 95vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.kv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 32, 76, 0.8), rgba(0, 32, 76, 0.8)),
                url('/portfolio/lp1/assets/images/kv_bg.png') center center/cover no-repeat;
    animation: zoomIn 20s ease-out forwards;
}

.kv-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.kv-content {
    width: 100%;
    padding: 0 20px;
    margin-top: 20px;
    text-align: center;
    color: #fff;
}

.kv-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.kv-title {
    margin-bottom: 40px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.kv-title-main {
    display: block;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kv-title-sub {
    display: block;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.kv-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    color: #fff;
}

.kv-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.kv-info-item i {
    color: var(--accent-color);
}

.kv-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    margin-bottom: 60px;
}

.btn-apply {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-more {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #fff;
    transition: background-color 0.3s, color 0.3s;
}

.btn-more:hover {
    background: #fff;
    color: var(--primary-color);
}

.kv-scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 100%;
    pointer-events: none;
}

.kv-scroll span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.kv-scroll-line {
    width: 1px;
    height: 50px;
    background: #fff;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.kv-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: scrollLine 2s ease-out infinite;
}

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

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* レスポンシブ対応 */
@media (max-height: 800px) {
    .kv {
        height: auto;
        padding-bottom: 100px;
    }

    .kv-content {
        margin-top: 20px;
    }

    .kv-buttons {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .kv {
        min-height: 700px;
    }

    .kv-content {
        margin-top: 0;
    }

    .kv-buttons {
        margin-bottom: 60px;
    }

    .kv-scroll {
        bottom: 30px;
    }

    .instructor-profile {
        flex-direction: column;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-step::after {
        display: none;
    }

    .overview-table th,
    .program-table th {
        width: 30%;
    }

    .overview-table th,
    .overview-table td,
    .program-table th,
    .program-table td {
        padding: 15px;
    }

    .kv-title {
        font-size: 24px;
    }

    .kv-info {
        font-size: 16px;
        padding: 15px 25px;
    }

    .kv-title-main {
        font-size: 32px;
    }

    .kv-title-sub {
        font-size: 18px;
    }

    .kv-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-apply, .btn-more {
        width: 100%;
        text-align: center;
    }

    .about {
        padding: 60px 0;
    }

    .section-title-ja {
        font-size: 24px;
    }

    .about-subtitle {
        font-size: 20px;
    }

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

    .about-target {
        padding: 30px 20px;
    }

    .target-item {
        padding: 15px;
    }
}

/* 開催概要 */
.overview {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,64,152,0.05) 0%, rgba(0,102,204,0.05) 100%);
    z-index: 1;
}

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

.overview-content {
    max-width: 1000px;
    margin: 0 auto;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.overview-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.overview-item-wide {
    grid-column: 1 / -1;
}

.overview-item-inner {
    padding: 40px;
    height: 100%;
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transform: rotate(-5deg);
}

.overview-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.overview-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
}

.overview-detail {
    color: #333;
}

.overview-date {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.overview-time {
    font-size: 18px;
    margin-bottom: 5px;
}

.overview-reception {
    font-size: 14px;
    color: #666;
}

.overview-place {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.overview-room {
    font-size: 16px;
    margin-bottom: 5px;
}

.overview-address {
    font-size: 14px;
    color: #666;
}

.overview-capacity {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.overview-note {
    font-size: 14px;
    color: #666;
}

.overview-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
}

.overview-target-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0;
}

.overview-target-list li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.overview-target-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .overview {
        padding: 60px 0;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .overview-item-inner {
        padding: 30px;
    }

    .overview-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .overview-date,
    .overview-place,
    .overview-capacity,
    .overview-price {
        font-size: 18px;
    }

    .overview-target-list {
        grid-template-columns: 1fr;
    }
}

/* プログラム */
.program {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.program-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 120px;
    height: 100%;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-time {
    width: 120px;
    padding-right: 30px;
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
}

.timeline-body {
    position: relative;
    padding-left: 45px;
    flex-grow: 1;
}

.timeline-body::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.timeline-item-featured .timeline-body::before {
    background: var(--primary-color);
    width: 18px;
    height: 18px;
    left: -8px;
}

.timeline-body h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.timeline-item-featured .timeline-body {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px 30px 25px 45px;
}

.timeline-item-featured .timeline-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.timeline-details ul {
    padding-left: 20px;
}

.timeline-details li {
    position: relative;
    padding-left: 5px;
    margin-bottom: 10px;
    list-style-type: disc;
    color: #666;
}

.timeline-details li:last-child {
    margin-bottom: 0;
}

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

/* アニメーションディレイ */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .program {
        padding: 60px 0;
    }

    .timeline::before {
        left: 80px;
    }

    .timeline-time {
        width: 80px;
        font-size: 14px;
    }

    .timeline-body {
        padding-left: 35px;
    }

    .timeline-item-featured .timeline-body {
        padding: 20px 20px 20px 35px;
    }

    .timeline-item-featured .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-details li {
        font-size: 14px;
    }
}