/* =========================================
   あらかわ AI個別指導 - モノトーンデザイン
   白・黒・グレーの配色統一（LINE CTAのみ緑）
========================================= */

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background: #ffffff;
    line-height: 1.8;
    font-size: 16px;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #333;
    margin: 1rem auto 0;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

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

/* ヘッダー */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a1a1a;
}

.logo span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #666;
    margin-top: 0.3rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #000;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #333;
    color: #ffffff;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-line {
    background: #06c755;
    color: #ffffff;
}

.btn-line:hover {
    background: #05b04c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6,199,85,0.3);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #333;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta {
    margin: 3rem 0;
}

/* フィーチャーグリッド */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.number-badge {
    display: inline-block;
    background: #333;
    color: #ffffff;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    margin-right: 0.75rem;
    vertical-align: middle;
}

/* 4つのI */
.four-i-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.i-card {
    background: #f5f5f5;
    border-left: 4px solid #333;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.i-card:hover {
    background: #e5e5e5;
    transform: translateX(4px);
}

.i-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.i-label {
    font-weight: 700;
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* 料金グリッド */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #333;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    transform: translateY(-6px);
}

.pricing-card.featured {
    border-color: #333;
    border-width: 3px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    margin: 1.5rem 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-note {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓ ';
    color: #333;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* 追加オプション */
.pricing-additional {
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 12px;
}

.pricing-additional h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.additional-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.additional-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

/* 教室写真 */
.classroom-photo {
    margin: 2rem 0;
}

.classroom-photo img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 授業時間スケジュール */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.schedule-item {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    color: #333;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: #e5e5e5;
    border-color: #333;
}

/* 比較表 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: #333;
    color: #ffffff;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.comparison-table tbody tr:hover {
    background: #f5f5f5;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* 講師紹介 */
.instructor-intro {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.instructor-photo {
    font-size: 8rem;
    text-align: center;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #e5e5e5;
}

.instructor-details h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.instructor-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.instructor-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.instructor-highlights li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #333;
}

/* アクセス情報 */
.access-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.access-info h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 2rem;
}

.info-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    background: #f5f5f5;
    padding: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #666;
}

.faq-answer {
    padding: 1.5rem;
    background: #ffffff;
    line-height: 1.8;
    color: #333;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #1a1a1a;
}

.cta-section h2::after {
    background: #333;
}

/* フッター */
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cccccc;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* ユーティリティクラス */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.note {
    background: #f5f5f5;
    border-left: 4px solid #666;
    padding: 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #555;
}

.alert {
    background: #fff3cd;
    border-left: 4px solid #856404;
    padding: 1.5rem;
    border-radius: 4px;
    color: #856404;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* 指導方針セクション用 */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: center;
}

.philosophy-text {
    text-align: left;
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        margin-bottom: 1rem;
    }

    .cta {
        margin: 1.5rem 0;
    }

    /* ヒーローセクションを1カラムに */
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .hero-content > div {
        text-align: center !important;
    }

    .hero-content img {
        max-width: 250px !important;
    }

    /* 指導方針セクションを1カラムに */
    .philosophy-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem 1.5rem !important;
    }

    .philosophy-text {
        text-align: center !important;
    }

    .philosophy-text p:first-child {
        font-size: 1.5rem !important;
    }

    .philosophy-text p:nth-child(2) {
        font-size: 1rem !important;
    }

    /* 講師紹介セクションのフォントサイズ調整 */
    .instructor-details h3 {
        font-size: 1.8rem !important;
    }

    .instructor-title {
        font-size: 1rem !important;
    }

    /* 数字バッジのサイズ調整 */
    .number-badge {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }

    /* ハンバーガーメニュー表示 */
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav ul li {
        border-bottom: 1px solid #e5e5e5;
    }

    nav ul li a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .features-grid,
    .four-i-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .instructor-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .instructor-photo {
        font-size: 6rem;
        margin: 0 auto;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0;
    }

    .hero {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .price {
        font-size: 2rem;
    }

    .hero-content img {
        max-width: 200px !important;
    }

    .philosophy-grid {
        padding: 1.5rem 1rem !important;
    }

    .philosophy-text p:first-child {
        font-size: 1.3rem !important;
    }

    .philosophy-text p:nth-child(2) {
        font-size: 0.95rem !important;
    }

    h3 {
        font-size: 1.3rem;
    }

    .instructor-details h3 {
        font-size: 1.5rem !important;
    }

    .instructor-title {
        font-size: 0.95rem !important;
    }

    .instructor-photo {
        width: 150px !important;
        height: 150px !important;
    }

    .number-badge {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 0.85rem;
        margin-right: 0.4rem;
    }
}
