pre {
  position: relative;
  margin: 2em 0;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  background: #E9E3EB; 
  color:#2D2E1B
}
pre code {
  display: block;
  margin: 0;
  padding: 2em 1em 1em;
  max-height: 600px;
  line-height: 1.4;
  overflow: auto;
}
.copy-button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  margin: 0 auto;
  padding: 0 1em;
  height: 24px;
  border: none;
  line-height: 1;
  font-weight: bold;
  background: #D99AAD; 
  color: #333; 
  cursor: pointer;
}
.copy-button:hover {
  background: #d7c3de; 
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #e94c89;
    color: white;
}

.btn-primary:hover {
    background-color: #d6336c;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: #4169E1;
    border: 2px solid #4169E1;
}

.btn-secondary:hover {
    background-color: #f0f5ff;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #4169E1;
    color: #4169E1;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #f0f5ff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    background-color: #4169E1;
    color: white;
}

.btn-large:hover {
    background-color: #3152a8;
    transform: translateY(-2px);
}

/* 見出しスタイル */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    color: #4169E1;
}

.en-title {
    display: block;
    font-size: 1rem;
    color: #aab8d3;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* ヘッダー */
.header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
}

/* ヒーローセクション */
.hero {
    background-color: #e1edff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 1;
    position: relative;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #4169E1;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-badge {
    position: absolute;
    top: -20px;
    right: 100px;
    background-color: #4169E1;
    color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: pulse 2s infinite;
}

.badge-text {
    font-weight: 700;
    line-height: 1.2;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* キャンペーンバナー */
.campaign-banner {
    background-color: #4169E1;
    color: white;
    padding: 20px 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 選ばれる理由 */
.reason-section {
    padding: 80px 0;
}

.reason-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.reason-card {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.reason-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.emphasis {
    display: block;
    color: #e94c89;
    font-size: 1.8rem;
    margin-top: 5px;
}

.reason-image {
    margin: 20px 0;
}

.reason-text {
    font-size: 0.95rem;
}

/* できること */
.features-section {
    background-color: #f8f9fa;
}

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

.feature-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.feature-icon {
    flex: 0 0 60px;
    margin-right: 20px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #4169E1;
    color: white;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 20px;
}

.feature-badge:nth-child(even) {
    background-color: #50b584;
}

/* ポイント制度 */
.points-section {
    background-color: white;
}

.points-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.points-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* セキュリティ */
.security-section {
    background-color: #e1edff;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.security-image {
    flex: 0 0 250px;
}

.security-text {
    flex: 1;
}

.security-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.security-description {
    font-size: 1rem;
    line-height: 1.7;
}

/* 使い方 */
.howto-section {
    background-color: #f8f9fa;
}

.steps-badge {
    background-color: #e1edff;
    color: #4169E1;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto 40px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    height: 2px;
    background-color: #4169E1;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 0;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-title {
    display: inline-block;
    background-color: #4169E1;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.step-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-action {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #4169E1;
}

.howto-cta {
    text-align: center;
    margin-top: 50px;
}

/* 受講生の声 */
.testimonial-section {
    background-color: white;
}

.testimonial-intro {
    text-align: center;
    margin-bottom: 40px;
}

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

.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-info {
    display: flex;
    gap: 10px;
}

.testimonial-age,
.testimonial-job,
.testimonial-course {
    font-size: 0.8rem;
    background-color: #eee;
    padding: 3px 10px;
    border-radius: 20px;
}

.testimonial-course {
    background-color: #e1edff;
    color: #4169E1;
}

/* よくある質問 */
.faq-section {
    background-color: #f8f9fa;
}

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

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    position: relative;
}

.faq-icon {
    background-color: #4169E1;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    font-weight: 700;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4169E1;
    cursor: pointer;
}

.faq-answer {
    padding: 0 20px 20px 65px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* コラム記事 */
.article-section {
    background-color: white;
}

.article-intro {
    text-align: center;
    margin-bottom: 40px;
}

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

.article-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-title {
    padding: 20px;
    font-size: 1.1rem;
    color: #333;
}

.article-more {
    text-align: center;
}

/* 最終CTA */
.final-cta {
    background-color: #4169E1;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.final-cta-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.final-cta-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.final-cta-image {
    margin-bottom: 40px;
}

/* フッター */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 30px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-img {
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-link {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.copyright {
    font-size: 0.8rem;
    color: #aaa;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .reason-cards,
    .testimonial-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .reason-cards {
        display: flex;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .security-content {
        flex-direction: column;
        text-align: center;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .steps-badge {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 15px 50px;
    }
    
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .feature-badge {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }
}
