* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    background-color: #2a315e;
    color: #e1be5a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-2 { width: 16.666%; padding: 0 10px; }
.col-3 { width: 25%; padding: 0 10px; }
.col-4 { width: 33.333%; padding: 0 10px; }
.col-6 { width: 50%; padding: 0 10px; }
.col-8 { width: 66.666%; padding: 0 10px; }
.col-12 { width: 100%; padding: 0 10px; }
.col-lg-5 { width: 41.666%; padding: 0 10px; }
.col-lg-7 { width: 58.333%; padding: 0 10px; }

@media only screen and (max-width: 768px) {
    .col-2, .col-3, .col-4, .col-6, .col-8, .col-12, .col-lg-5, .col-lg-7 {
        width: 100%;
        padding: 0 10px;
    }
}

.spacer {
    display: block;
}

.site-header {
    background-color: #1C223F;
    padding: 20px 0;
    border-bottom: 2px solid #e1be5a;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e1be5a;
    font-size: 1.2em;
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #e1be5a;
}

@media only screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.hero-section {
    width: 100%;
}

.hero-image {
    width: 100%;
    text-align: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tagline-section {
    padding: 20px 0;
}

.decorator {
    width: 100%;
    height: auto;
}

h3 {
    font-size: 1.8em;
    font-weight: 400;
    line-height: 1.4;
}

h4 {
    font-size: 1.4em;
    font-weight: 400;
    line-height: 1.6;
}

h5 {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.5;
}

p {
    font-size: 1em;
    line-height: 1.8;
}

.wpb_text_column {
    margin: 0 auto;
}

.course-card, .feature-item, .testimonial-card, .faq-item {
    background-color: rgba(28, 34, 63, 0.5);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(225, 190, 90, 0.3);
    height: 100%;
}

.course-card h5, .feature-item h5 {
    text-align: center;
    margin-bottom: 10px;
}

.feature-item {
    text-align: center;
}

.testimonial-card {
    border-left: 4px solid #e1be5a;
}

.faq-item {
    border-left: 4px solid #e1be5a;
}

.contact-info {
    background-color: rgba(28, 34, 63, 0.5);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(225, 190, 90, 0.3);
}

.home1pmargin p {
    margin: 0;
}

a {
    color: #e2bf5a;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffffff;
}

.contact-form {
    background-color: rgba(28, 34, 63, 0.5);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(225, 190, 90, 0.3);
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #FFF;
    color: #FFF;
    font-size: 1em;
    font-family: inherit;
    margin-bottom: 20px;
}

.form-control:focus {
    outline: none;
    border-bottom-color: #e1be5a;
}

textarea.form-control {
    border: 1px solid #FFF;
    resize: vertical;
}

label {
    color: #ffffff;
    font-size: 0.95em;
    display: block;
    margin-bottom: 8px;
}

.btn-submit {
    background-color: #e1be5a;
    color: #2a315e;
    border: 1px solid #FFFFFF;
    padding: 12px 40px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    border-radius: 4px;
}

.btn-submit:hover {
    background-color: #1C223F;
    border-color: #FFF;
    color: #ffffff;
}

.site-footer {
    background-color: #333333;
    border-top: 2px solid #3a3a3a;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: #ffffff;
    font-size: 0.95em;
}

.footer-menu a:hover {
    color: #e1be5a;
}

.footer-copyright {
    background-color: #dd3333;
    padding: 15px 0;
    margin-top: 20px;
}

.footer-copyright p {
    color: #ffffff;
    font-size: 0.9em;
    margin: 0;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1C223F;
    border-top: 2px solid #e1be5a;
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #ffffff;
    margin: 0;
    flex: 1;
    font-size: 0.95em;
}

.cookie-content a {
    color: #e1be5a;
    text-decoration: underline;
}

.cookie-btn {
    background-color: #e1be5a;
    color: #2a315e;
    border: 1px solid #FFFFFF;
    padding: 10px 30px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.cookie-btn:hover {
    background-color: #1C223F;
    color: #ffffff;
}

@media only screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.social-section a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-section a:hover {
    transform: scale(1.2);
}

.intro-section, .courses-section, .features-section, .testimonials-section, .faq-section, .cta-section, .contact-section {
    padding: 20px 0;
}

.content-box {
    background-color: rgba(28, 34, 63, 0.3);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(225, 190, 90, 0.2);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

select.form-control {
    background-color: rgba(28, 34, 63, 0.5);
    color: #ffffff;
}
