/* common.css */
:root {
    /* カラー変数 */
    --base-color: #05968C;
    --accent-color: #FF6A00;
    --text-color: #333333;
    --light-text-color: #666666;
    --white-color: #ffffff;
    --background-color: #fafafa;
    --sidebar-color: #05968C;
    --sidebar-gradient: linear-gradient(135deg, #06B5A7 0%, #05968C 50%, #04827A 100%);
    --accent-gradient: linear-gradient(135deg, #FF6A00 0%, #FF8A00 30%, #FFB347 100%);
    --section-bg: #ffffff;
    --border-color: #e0e0e0;
}

body, html {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
}

.wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    position: relative;
}

/* 共通スタイル */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
    position: relative;
    text-align: center;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 15px;
}

/* キラキラアニメーション */
@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
}

@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.sparkle-btn {
    position: relative;
    overflow: hidden;
    background: var(--accent-gradient);
    background-size: 200% 100%;
    animation: shine 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.sparkle-btn:hover {
    animation: sparkle 0.5s ease-in-out, shine 1.5s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
    transform: translateY(-2px);
}

.sparkle-btn::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sparkle-btn:hover::before {
    opacity: 1;
    animation: sparkle 1s ease-in-out infinite;
}

/* メインコンテンツエリア */
.main-content {
    flex: 1 1 0%;
    min-width: 0;
    background: var(--white-color);
    margin-right: 0;
    width: 0;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    padding: 100px 0;
    background: var(--sidebar-gradient);
    color: var(--white-color);
    overflow: hidden;
}

.hero-online-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--accent-gradient);
    color: var(--white-color);
    text-align: center;
    padding: 12px 0;
    font-weight: 700;
    font-size: 16px;
    z-index: 3;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/texture-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    height: 100%;
}

.hero-text-area {
    flex: 1;
    padding-right: 60px;
}

.hero-speakers-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: -100px -20px -100px 0;
    padding: 100px 0;
}

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

.hero-speakers-pc {
    display: block;
}

.hero-speakers-sp {
    display: none;
}

.hero-title {
    margin-bottom: 30px;
    text-align: left;
}

.hero-date-day {
    font-size: 30px;
}

.text-decoration {
  font-size: 30px;
  font-weight: 900;
  
}

.main-title {
    display: block;
    font-size: 60px;
    font-weight: 900;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.sub-title {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--white-color);
}

.hero-date {
    display: block;
    font-size: 60px;
    font-weight: 1000;
    color: white;
	-webkit-text-stroke: 1px #F8F8F8;
	text-shadow: 0px 1px 4px #23430C;
    margin-bottom: 10px;
    border: solid #fff; border-width: 1px 0px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: none;
    text-align: left;
}

/* セクションタイトル */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--base-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* セミナー概要セクション */
.overview-section {
    background: var(--section-bg);
}

.overview-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.overview-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.overview-row:last-child {
    border-bottom: none;
}

.overview-label {
    width: 200px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: var(--base-color);
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: relative;
}

.overview-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gradient);
}

.overview-content {
    flex: 1;
    padding: 25px;
    line-height: 1.6;
}

/* こんな方におすすめセクション */
.target-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.target-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--base-color);
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.target-image {
    margin-bottom: 20px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.target-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--base-color);
    margin-bottom: 15px;
}

.target-text {
    color: var(--light-text-color);
    line-height: 1.6;
}

/* プログラムセクション */
.program-section {
    background: var(--section-bg);
}

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

.program-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--base-color);
    text-align: center;
    margin-bottom: 40px;
}

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

.topic-item {
    display: flex;
    align-items: flex-start;
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.topic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.topic-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-right: 25px;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--base-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.topic-description {
    color: var(--light-text-color);
    line-height: 1.6;
}

/* 登壇者セクション */
.speakers-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.speakers-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.speaker-card {
    display: flex;
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.speaker-info {
    flex: 1;
    padding: 40px;
}

.speaker-company {
    font-size: 16px;
    font-weight: 600;
    color: var(--base-color);
    margin-bottom: 8px;
}

.speaker-position {
    font-size: 14px;
    color: var(--light-text-color);
    margin-bottom: 15px;
}

.speaker-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.speaker-reading {
    font-size: 18px;
    font-weight: 400;
    color: var(--light-text-color);
    margin-left: 10px;
}

.speaker-bio {
    color: var(--light-text-color);
    line-height: 1.7;
}

.speaker-photo {
    width: 200px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.speaker-photo .speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
    box-shadow: none;
}

/* サイドバー */
.sidebar {
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    background: linear-gradient(135deg, #06B5A7 0%, #05968C 30%, #04827A 70%, #03756A 100%);
    padding: 40px 30px;
    color: var(--white-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    z-index: 10;
    position: sticky;
    top: 0;
}

.sidebar-content {
    position: static !important;
    top: auto !important;
    background: transparent;
}

.sidebar form,
.sidebar .form-group,
.sidebar .form-input,
.sidebar .form-select {
    width: 100%;
    box-sizing: border-box;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--white-color);
}

/* フォーム共通スタイル */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--white-color);
}

.form-input,
.form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.3);
    background-color: var(--white-color);
}

.form-input::placeholder {
    color: #aaa;
}

.form-select {
    color: var(--text-color);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.form-select:focus {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23FF6A00" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
}

.form-select option {
    color: var(--text-color);
    background-color: var(--white-color);
}

/* 必須マーク */
.required::after {
    content: "*";
    color: #ff6b6b;
    margin-left: 3px;
    font-weight: bold;
    display: inline-block;
}

/* 送信ボタン */
.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent-gradient);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-align: center;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

.form-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ローディング状態 */
.form-submit.loading {
    background: #ccc;
    cursor: not-allowed;
    animation: none;
}

.form-submit.loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* SP用固定申し込みボタン（初期状態は非表示） */
.sp-apply-button {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px;
    background: var(--accent-gradient);
    color: var(--white-color);
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.sp-apply-button:hover {
    background: linear-gradient(135deg, #FF8A00 0%, #FF6A00 100%);
}

/* SP用モーダル（初期状態は非表示） */
.sp-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: linear-gradient(135deg, #06B5A7 0%, #05968C 30%, #04827A 70%, #03756A 100%);
    border-radius: 12px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    color: var(--white-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--white-color);
    cursor: pointer;
    z-index: 160;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        transform: translate(-50%, -40%);
        opacity: 0;
    }
    to { 
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* エラーメッセージ */
.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
}

/* 申し込みフォームセクション */
.form-section {
    background: var(--section-bg);
    padding: 80px 0;
}

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

.form-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-top: 6px solid var(--base-color);
}

.form-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--base-color);
    text-align: center;
    margin-bottom: 20px;
}

.form-card-description {
    text-align: center;
    color: var(--light-text-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

.main-form .form-group {
    margin-bottom: 25px;
}

.main-form .form-label {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.main-form .form-input,
.main-form .form-select {
    border: 2px solid var(--border-color);
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-form .form-input:focus,
.main-form .form-select:focus {
    border-color: var(--base-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 140, 0.1);
}

.main-form .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

.main-form .form-select:focus {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%2305968C" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
}

.main-form .form-submit {
    background: var(--accent-gradient);
    padding: 18px;
    font-size: 18px;
    border-radius: 8px;
    margin-top: 20px;
}

/* レスポンシブ調整 */
@media screen and (max-width: 1200px) {
    .sidebar {
        width: 350px;
        min-width: 350px;
        max-width: 350px;
        padding: 30px 25px;
    }
    
    .main-content {
        width: calc(100% - 350px);
    }
}

@media screen and (max-width: 1024px) {
    .sidebar {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        padding: 25px 20px;
    }
    
    .main-content {
        width: calc(100% - 320px);
    }
    
    .sidebar-title {
        font-size: 22px;
    }
    
    .form-input,
    .form-select {
        padding: 12px;
        font-size: 15px;
    }
    
    .form-submit {
        padding: 15px;
        font-size: 16px;
    }
}