@charset "UTF-8";

/* 全体設定 */
body {
    margin: 0;
    font-family: sans-serif;
    color: #333;
    background: #f9f9f9;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 100px;
    width: 100px;
}

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

header nav li {
    margin-left: 20px;
}

header nav a {
    text-decoration: none;
    color: #333;
    padding: 10px 0;
}

header nav a.current {
    border: 2px solid skyblue;
    background-color: skyblue;
    border-radius: 5px;
}

.hero {
    position: relative;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    height: 500px;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    max-width: 80%;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: white;
}

.btn {
    background: #333;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.contact-cta .btn{
    background: #06c755;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

section h2 {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-size: 1.5em;
}

.features, .teachers, .testimonials, .flow, .contact-cta, .faq-section, .pricing-section, .contact-section {
    padding-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-list li {
    flex: 1 1 300px;
    text-align: center;
}

.feature-image, .teacher-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
    object-fit: cover;
}

.teacher-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PCなど広い画面で4列表示 */
    gap: 20px;
    text-align: center;
    margin-top: 20px; /* 適宜調整 */
}

.teacher-item {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    /* カード内のコンテンツが増減してもある程度整うよう、
       必要なら高さを統一する仕組みを用いても良い */
}

/* 講師の画像を統一サイズにする */
.teacher-image {
    width: 100%;
    height: 180px; /* 適宜高さを調整 */
    object-fit: cover; /* 画像を枠に収める */
    border-radius: 5px;
    margin-bottom: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .teacher-list {
        grid-template-columns: repeat(2, 1fr); /* 画面幅が狭くなったら2列表示 */
    }
}

@media (max-width: 600px) {
    .teacher-list {
        grid-template-columns: 1fr; /* スマホ幅なら1列表示 */
    }
}
s

.testimonial-item {
    padding: 20px;
    margin: 20px 0;
    background: #f8f8f8;
    border-left: 5px solid #333;
}

.flow ol {
    padding: 0 40px;
    line-height: 1.8;
    list-style: decimal;
}

.contact-cta {
    text-align: center;
    padding: 40px 20px;
}

.faq-item {
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #333;
    background: #f8f8f8;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tell"],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

form button[type="submit"] {
    background: #333;
    color: #fff;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    background: #f8f8f8;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

/* 以下は無料体験用の追加スタイル */

/* 無料体験授業ページのセクション */
.trial-section,
.trial-benefits,
.trial-flow,
.trial-notes {
    padding-bottom: 40px;
}

.trial-section p,
.trial-benefits p,
.trial-flow p,
.trial-notes p {
    line-height: 1.8;
}

/* trial-benefits は feature-list と同様のスタイルを適用 */
.trial-benefits .feature-list {
    margin-top: 20px;
}

.trial-benefits h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* trial-flowはflowと似たスタイル */
.trial-flow ol {
    padding: 0 40px;
    line-height: 1.8;
    list-style: decimal;
    margin-top: 20px;
}

.trial-flow ol li {
    margin-bottom: 10px;
}

/* trial-notes は注意事項リスト */
.trial-notes ul {
    list-style: disc;
    padding-left: 40px;
    line-height: 1.8;
    margin-top: 20px;
}

.trial-notes ul li {
    margin-bottom: 10px;
}

/* contact-ctaは既に定義済みだが、無料体験ページでも共用可 */
.contact-cta p {
    margin-bottom: 20px;
}

/* ボタンのホバーなど、任意で追加できます */
.btn:hover {
    background: #555;
}

.contact-cta .btn:hover{
    background-color: #06c777;
}

