/* Reset & Base */
:root {
    --primary-color: #E68A73; /* 温かみのあるコーラルオレンジ */
    --accent-color: #F8D5C2;  /* 背景用の薄いオレンジ */
    --text-color: #4A4A4A;    /* 柔らかい黒 */
    --bg-color: #FEFDF9;      /* クリームホワイト */
    --white: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-head: 'Zen Maru Gothic', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

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

.sp-only { display: none; }
@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only { display: none; }
}

/* Typography & Components */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    line-height: 1.4;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(230, 138, 115, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.1rem;
}

.btn-large {
    font-size: 1.3rem;
    padding: 20px 50px;
    width: 100%;
    max-width: 500px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    /* 背景画像設定: hero-bg.png */
    background: url('assets/hero-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75); /* 白いフィルター */
    backdrop-filter: blur(2px);
}

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

.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-title {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.hero-lead {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-info {
    margin-bottom: 40px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-info span {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Problems Section */
.problems {
    background-color: var(--white);
}

.problems-list {
    max-width: 800px;
    margin: 0 auto 50px;
}

.problem-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px;
}

.check-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.problem-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

.message-box {
    background-color: var(--accent-color);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    font-size: 1.2rem;
    line-height: 2;
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

.section-desc {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Curriculum Section */
.curriculum {
    background-color: #fff;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* PCでの左線 */
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    background: var(--primary-color);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 2;
    margin-right: 30px;
}

.timeline-content {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-content .tag {
    display: inline-block;
    background: #e0e0e0;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    color: #666;
}

/* Lecturer Section */
.lecturer {
    background-color: var(--accent-color);
}

.lecturer-profile {
    display: flex;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    align-items: flex-start;
    margin-bottom: 40px; /* 💡【追加】プロフィール間のスペースを確保 */
}

/* 最後のプロフィールにはマージンをつけない */
.lecturer-profile:last-of-type {
    margin-bottom: 0;
}

.lecturer-img img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    height: auto;
}

.lecturer-info {
    flex: 1;
}

.lecturer-role {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.lecturer-info h3 {
    font-size: 1.8rem;
    font-family: var(--font-head);
    margin-bottom: 20px;
}

.lecturer-info h3 .small {
    font-size: 1rem;
    font-weight: normal;
}

.credentials {
    list-style: none;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    border-left: 3px solid #ddd;
    padding-left: 15px;
}

.lecturer-message {
    font-size: 1rem;
    line-height: 1.9;
}

/* Details & CTA Section */
.details {
    background-color: var(--white);
    padding-bottom: 120px;
}

.details-card {
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.details-list {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: baseline;
}

.details-list dt {
    font-weight: bold;
    color: var(--primary-color);
    background: var(--bg-color);
    text-align: center;
    padding: 5px;
    border-radius: 5px;
}

.details-list dd ul {
    list-style: none;
}

.details-list dd ul li {
    margin-bottom: 5px;
}

.price-highlight {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D35400;
}

.note {
    font-size: 0.85rem;
    color: #888;
}

.cta-area {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 15px;
}

.cta-msg {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #666;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-info { flex-direction: column; gap: 10px; }
    
    .lecturer-profile { flex-direction: column; }
    .lecturer-img img { max-width: 100%; }
    
    .details-list { display: block; }
    .details-list dt { display: inline-block; margin-bottom: 10px; }
    .details-list dd { margin-bottom: 20px; }
    
    .timeline::before { left: 15px; }
    .timeline-date { width: 60px; height: 60px; font-size: 0.8rem; margin-right: 15px; }
}