/* 基本設定 */
:root {
    --primary-color: #40e0d0; /* メインカラー */
    --secondary-color: #000080; /* セカンダリカラー */
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #fff;
    --font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.2;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    background-color: var(--white);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

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

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none !important; /* ボタンのリンク下線を消す */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%); /* Sass/Lessの関数は使えないので近似色に */
    background-color: #0000ff; /* blue */
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
    background-color: #5b4d7c; /* 少し暗い紫 */
    color: var(--white);
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

/* ヒーローセクション */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    padding: 60px 0;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-sub-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.hero-main-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-color);
}

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

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 全体セクション */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 特徴リスト */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    color: var(--text-color);
}

/* コースリスト */
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
}

.course-item h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-item p {
    font-size: 16px;
    color: var(--text-color);
}

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

.mt-4 {
    margin-top: 40px;
}

/* 行動喚起 (Call To Action) */
.call-to-action {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.call-to-action .section-title {
    color: var(--white);
}

.call-to-action .section-title::after {
    background-color: var(--white);
}

.call-to-action p {
    font-size: 20px;
    margin-bottom: 40px;
}

/* フッター */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 40px 0;
    font-size: 14px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-info p {
    margin: 5px 0;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero-main-title {
        font-size: 38px;
    }
    .hero-image {
        text-align: center;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    .nav ul li {
        margin: 5px 15px;
    }
    .header .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    .hero-main-title {
        font-size: 32px;
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    .nav ul li {
        margin: 10px 0;
    }
    .feature-list, .course-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /*.logo a {
        font-size: 24px;
    }*/
    .hero-sub-title {
        font-size: 18px;
    }
    .hero-main-title {
        font-size: 28px;
    }
    .btn-large {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* 動画レスポンシブデザイン */
div.vid_contents {
width: 100%;/*背景色を横幅いっぱいに広げる*/
text-align: center;
margin: auto;
padding: 4% 4% 4% 4%;/*ここで動画の周りの余白を調整*/
background: #e6e6e6;/*余白の背景色*/
}
video.vid_main {
width: 100%;
max-width: 920px;/*PC版での最大幅*/
}

/* GoogleMapレスポンシブデザイン */
.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
