@charset "UTF-8";

/* =================================
   Base Settings
   ================================== */
:root {
    --color-primary: #003B7C;   /* 敬愛ブルー */
    --color-secondary: #007BC4; /* サブブルー */
    --color-accent: #C1A058;    /* ゴールド */
    --color-text: #333;
    --color-bg-gray: #f4f5f7;
    --font-base: "Noto Sans JP", sans-serif;
    --font-serif: "Noto Serif JP", serif;
    --font-en: "Oswald", sans-serif;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
    background: #fff;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { text-decoration: none; transition: all 0.3s; }

/* =================================
   Header (LP Simplified)
   ================================== */
.lp-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 70px;
}

.lp-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-header__logo img {
    height: 40px;
}

.lp-header__nav {
    display: flex;
    gap: 15px;
}

/* =================================
   Buttons
   ================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(193, 160, 88, 0.3);
}
.btn--primary:hover { background: #d4b572; transform: translateY(-2px); }

.btn--secondary {
    background: var(--color-primary);
    color: #fff;
}
.btn--secondary:hover { background: #002a5c; transform: translateY(-2px); }

.btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }

.btn--white {
    background: #fff;
    color: var(--color-primary);
}
.btn--white:hover { background: #f0f0f0; }

.btn--large {
    padding: 18px 50px;
    font-size: 1.2rem;
}
.btn--xl {
    padding: 20px 60px;
    font-size: 1.4rem;
    width: 100%;
    max-width: 400px;
}

/* =================================
   Hero Section (縦長4枚スライド版)
   ================================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-color: #000; /* 読み込み時の背景 */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider__list {
    display: flex;
    /* 
       計算式: 画像1枚の幅(25vw) × 合計枚数(16枚) = 400vw
       これにより、横に長く連結された帯を作ります。
    */
    width: 400vw; 
    animation: slideInfinite 60s linear infinite;
}

.hero-slider__item {
    /* 
       画面幅の25% (1/4) に設定することで、画面に常時4枚が表示されます。
       画像が縦長にトリミングされる効果を生みます。
    */
    width: 25vw;
    height: 100vh;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.1); /* 画像の境界線（お好みで削除可） */
    box-sizing: border-box;
}

.hero-slider__img {
    width: 100%;
    height: 100%;
    /* これが重要：枠に合わせて自動的にトリミングして埋める設定 */
    object-fit: cover; 
    object-position: center; /* 画像の中心を表示 */
}

/* アニメーション：全幅の半分（1セット分）移動したら瞬時に0に戻る */
@keyframes slideInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.hero__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 文字を読みやすくするため、少し濃いめのグラデーションに変更 */
    background: linear-gradient(to bottom, rgba(0, 59, 124, 0.4), rgba(0, 59, 124, 0.7));
    z-index: 2;
}

/* --- その他のHero要素（変更なし） --- */
.hero__content {
    position: relative;
    z-index: 3;
    margin-top: 40px;
}

.hero__sub-copy {
    font-family: var(--font-en);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 40px;
}

/* キャッチコピー上段（小さめ） */
.hero__title-small {
    display: block;
    font-family: var(--font-serif); /* 明朝体で知的に */
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* キャッチコピー下段（大きく強調） */
.hero__title-big {
    display: block;
    font-family: var(--font-base); /* ゴシック体で力強く */
    font-size: 3.5rem; /* 3行になる可能性があるので少しサイズ調整 */
    font-weight: 900;
    line-height: 1.4;
    text-shadow: 0 5px 20px rgba(0,0,0,0.6);
    letter-spacing: 0.05em;
}

/* 以前の .hero__title クラスの設定は以下のようにシンプルにします */
.hero__title {
    margin-bottom: 40px;
    color: #fff;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .hero__title-small {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .hero__title-big {
        font-size: 2.2rem;
        line-height: 1.3;
    }
}

.hero__cta {
    margin-top: 40px;
}
.hero__cta .btn i { margin-right: 10px; }

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    background: #fff;
    margin: 10px auto 0;
    animation: scrollAnim 1.5s infinite;
}
@keyframes scrollAnim {
    0% { height: 0; opacity: 0; }
    50% { height: 50px; opacity: 1; }
    100% { height: 0; opacity: 0; transform: translateY(50px); }
}

/* =================================
   Sections Common
   ================================== */
.section {
    padding: 100px 20px;
}
.bg-gray { background: var(--color-bg-gray); }
.container { max-width: 1100px; margin: 0 auto; }

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.4;
    color: var(--color-primary);
}
.section-title__en {
    display: block;
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.section-desc {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* =================================
   Vision (4つの力)
   ================================== */
.vision__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.vision-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-primary);
}
.vision-card__icon {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: bold;
}
.vision-card h3 {
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

/* =================================
   Courses
   ================================== */
.course-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}
.course-card--reverse { flex-direction: row-reverse; }

.course-card__img {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.course-card__img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}
.course-card:hover .course-card__img img { transform: scale(1.05); }

.course-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--color-primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
}

.course-card__content { flex: 1; }

.course-card__content h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: bold;
}
.course-lead {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-accent);
}

/* =================================
   Features & Message & Voices
   ================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 20px;
}
.feature-item__img img { height: 200px; width: 100%; object-fit: cover; }
.feature-item h3 { margin: 20px 0 10px; color: var(--color-primary); font-family: var(--font-en); }
.feature-item p { padding: 0 20px; font-size: 0.9rem; }

.message-box {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.message-box__img { flex: 0 0 300px; }
.message-box__img img { border-radius: 10px; width: 100%; }
.message-title { font-size: 1.8rem; color: var(--color-primary); margin-bottom: 20px; line-height: 1.4; }
.message-name { margin-top: 20px; text-align: right; font-weight: bold; font-size: 1.2rem; }

/* --- Voices (幼稚園風アイコンデザイン) --- */
.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* アイコンが上に飛び出す分、上の余白を確保 */
    margin-top: 60px; 
}

.voice-card {
    text-align: center;
    position: relative;
    /* 下揃えにするためflex等は使わず配置 */
}

/* 丸いアイコン */
.voice-card__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto -60px; /* 下に60px食い込ませる（重ねる） */
    position: relative;
    z-index: 2; /* カードより手前に */
}

.voice-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff; /* 白いフチ */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 影 */
    background-color: #fff;
}

/* テキストが入る白い箱 */
.voice-card__content {
    background: #fff;
    padding: 80px 30px 30px; /* 上部を広げてアイコンのスペース確保 */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    height: 100%; /* 高さを揃える */
    box-sizing: border-box;
}

.voice-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left; /* 文章は左揃え */
    color: #444;
}

.voice-meta {
    font-weight: bold;
    color: var(--color-primary);
    text-align: right; /* 名前は右揃え */
    font-size: 0.95rem;
    border-top: 1px dashed #ddd;
    padding-top: 10px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    /* 1列表示 */
    .voices-grid {
        grid-template-columns: 1fr;
        gap: 80px; /* 上下のカードが重ならないよう間隔を広げる */
    }
    
    .voice-card__icon {
        width: 100px;
        height: 100px;
        margin-bottom: -50px;
    }
    
    .voice-card__content {
        padding: 70px 20px 25px;
    }
}

/* =================================
   Career & CTA
   ================================== */
.career-highlight {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.career-highlight__item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 45%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.career-highlight__item h4 { color: var(--color-primary); border-bottom: 2px solid var(--color-accent); padding-bottom: 10px; margin-bottom: 15px; font-size: 1.2rem; }
.career-highlight__item ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.career-highlight__item li { font-weight: bold; }
.career-link-wrapper { text-align: center; }

.cta-section {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}
.cta-title { font-size: 2.5rem; margin-bottom: 20px; }
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* =================================
   Footer
   ================================== */
.lp-footer {
    background: #002855;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}
.footer-logo { height: 40px; margin-bottom: 15px; }
.footer-copy { font-size: 0.8rem; opacity: 0.7; }

/* =================================
   Animation
   ================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================================
   Responsive
   ================================== */
@media (max-width: 768px) {
    .hero__title-big { font-size: 2.5rem; }
    .vision__grid, .feature-grid, .voices-grid, .career-highlight { grid-template-columns: 1fr; }
    .course-card, .course-card--reverse { flex-direction: column; gap: 20px; }
    .message-box { flex-direction: column-reverse; padding: 30px; }
    .message-box__img { width: 100%; }
    .cta-buttons { flex-direction: column; }
    .hero__sub-copy { font-size: 1rem; }
    .hero__title { font-size: 1.5rem; }
    .career-highlight__item { width: 100%; }
}
/* --- スマホ対応（スライダー調整） --- */
@media (max-width: 768px) {
    .hero-slider__list {
        /* スマホでは画像1枚の幅を50vw（画面の半分＝2枚表示）に変更 */
        width: 800vw; /* 50vw * 16枚 */
    }
    .hero-slider__item {
        width: 50vw; /* スマホでは2枚表示が見やすい */
    }
    
    /* タイトルサイズ調整 */
    .hero__title-big { font-size: 2.5rem; }
}

/* =================================
   Intro Message Section (Why Keiai?)
   ================================== */
.intro-message-section {
    background-color: #fff;
    text-align: center;
    padding: 100px 20px 60px; /* 下の余白はVisionとの兼ね合いで調整 */
    position: relative;
}

.intro-message-sub {
    font-family: var(--font-en);
    color: var(--color-accent); /* ゴールド */
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.intro-message-title {
    font-family: var(--font-serif); /* 明朝体で訴えかける */
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.intro-message-body {
    max-width: 800px;
    margin: 0 auto;
}

.intro-message-body p {
    font-size: 1.05rem;
    line-height: 2.2;
    color: #555;
    margin-bottom: 30px;
}

.intro-message-body strong {
    color: var(--color-primary);
    background: linear-gradient(transparent 70%, #f3e5ab 70%); /* アンダーライン風装飾 */
    font-weight: bold;
    padding: 0 5px;
}

/* 視線誘導ライン */
.intro-line {
    width: 2px;
    height: 60px;
    background-color: var(--color-accent);
    margin: 40px auto 0;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .intro-message-section {
        padding: 80px 20px 40px;
    }
    .intro-message-title {
        font-size: 1.6rem;
        line-height: 1.6;
        text-align: left; /* スマホでは左揃えで読みやすく */
    }
    .intro-message-body p {
        text-align: left;
        font-size: 0.95rem;
    }
}
/* =================================
   Blog PR Section (365日更新)
   ================================== */
.blog-pr-section {
    background-color: #fff;
    overflow: hidden; /* スマホ画像の突き出し処理用 */
}

.blog-pr-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- 画像エリア（スマホモックアップ風） --- */
.blog-pr-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* スマホの枠をCSSで表現 */
.smartphone-mockup {
    width: 280px;
    height: 550px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    border: 4px solid #333;
}

.smartphone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    filter: brightness(0.9);
}

/* 写真の上の装飾 */
.mockup-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 80%;
    justify-content: center;
}

/* --- テキストエリア --- */
.blog-pr-text {
    flex: 1.2;
}

.blog-pr-label {
    font-family: var(--font-en);
    color: var(--color-secondary);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.blog-pr-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.blog-pr-title .highlight {
    color: #e63946; /* 赤で強調 */
    font-size: 2.8rem;
    background: linear-gradient(transparent 70%, #ffe5e5 70%);
}

.blog-pr-desc {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
}

/* 数字でのアピール */
.blog-pr-metrics {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.metric-item {
    text-align: center;
    border: 2px solid var(--color-bg-gray);
    padding: 15px 25px;
    border-radius: 10px;
}

.metric-num {
    display: block;
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-accent);
    line-height: 1;
}

.metric-unit {
    font-size: 1rem;
    font-weight: bold;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .blog-pr-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .smartphone-mockup {
        width: 240px;
        height: 400px;
    }
    
    .blog-pr-metrics {
        justify-content: center;
        gap: 20px;
    }
    
    .blog-pr-title {
        font-size: 1.8rem;
    }
    
    .blog-pr-desc {
        text-align: left;
    }
}
/* =================================
   Blog PR Section - Buttons
   ================================== */

/* ボタンを横並びにするラッパー */
.blog-pr-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* 画面が狭いときは折り返す */
    margin-top: 30px;
}

/* Instagramボタンのスタイル */
.btn--instagram {
    /* Instagramブランドカラーのグラデーション */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
    border: none;
}

.btn--instagram:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* ホバー時もグラデーション維持 */
}

.btn--instagram i {
    font-size: 1.2em;
    margin-right: 8px;
}

/* --- スマホ対応（ボタン配置） --- */
@media (max-width: 768px) {
    .blog-pr-actions {
        justify-content: center; /* スマホでは中央寄せ */
        width: 100%;
    }

    .blog-pr-actions .btn {
        width: 100%; /* スマホではボタンを横幅いっぱいに */
        max-width: 320px; /* 広がりすぎないように制限 */
    }
}

/* =================================
   Access Section
   ================================== */
.access-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.access-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
}

.access-info {
    flex: 1;
    padding: 40px;
    min-width: 300px;
}

.access-school-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.4;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 10px;
}

.access-address {
    font-style: normal;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #555;
}

.access-transport dl {
    margin-bottom: 15px;
}

.access-transport dt {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}
.access-transport dt i {
    color: var(--color-accent);
    margin-right: 5px;
    width: 20px;
    text-align: center;
}

.access-transport dd {
    margin-left: 25px;
    font-size: 0.95rem;
}

/* =================================
   修正後のアクセスボタン
   ================================== */
.access-btn {
    margin-top: 20px;
    
    /* 幅の設定を変更 */
    width: 100%;          /* 基本は親要素いっぱい */
    max-width: 300px;     /* ただし最大300pxまで（これで巨大化を防ぎます） */
    
    /* 中央寄せの設定 */
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    
    /* はみ出し防止 */
    box-sizing: border-box;
}

/* =================================
   LP Footer (Navigation)
   ================================== */
.lp-footer {
    background: #002855;
    color: #fff;
    padding: 60px 20px 20px;
}

.lp-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.lp-footer__logo-area {
    flex: 1;
    text-align: left;
}
.lp-footer__logo-area img {
    height: 50px;
    margin-bottom: 15px;
}
.lp-footer__logo-area p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.lp-footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.lp-footer__nav a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.lp-footer__nav a:hover {
    opacity: 1;
    color: var(--color-accent);
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    /* Access */
    .access-container {
        flex-direction: column;
    }
    .access-map {
        width: 100%;
        height: 300px;
    }
    .access-info {
        padding: 30px;
    }

    /* Footer */
    .lp-footer__inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .lp-footer__logo-area {
        text-align: center;
    }
    .lp-footer__nav ul {
        justify-content: center;
        gap: 15px;
    }
}

/* =================================
   Contact Info Section (LINE & Tel)
   ================================== */
.contact-info-section {
    padding-top: 0; /* アクセスセクションのすぐ下に配置するため上余白をなくす */
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.contact-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ヘッダー部分（アイコンとタイトル） */
.contact-box__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-box__header h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: var(--color-text);
}

/* LINE専用スタイル */
.contact-box--line {
    border-top: 4px solid #06C755;
}
.line-logo {
    width: 50px;
    height: auto;
}

/* 電話専用スタイル */
.contact-box--tel {
    border-top: 4px solid var(--color-primary);
}
.contact-box--tel i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

/* テキスト周り */
.contact-box__text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tel-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-en);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 5px;
}

.tel-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 20px;
    margin-top: -10px;
}

/* ボタン */
.btn--line-green {
    background-color: #06C755;
    color: #fff;
    width: 100%;
    max-width: 280px;
    padding: 15px;
    font-size: 1.1rem;
}
.btn--line-green:hover {
    background-color: #05b64d;
    transform: translateY(-2px);
}

.btn--tel {
    background-color: var(--color-primary);
    color: #fff;
    width: 100%;
    max-width: 280px;
    padding: 15px;
    font-size: 1.1rem;
}
.btn--tel:hover {
    background-color: #002a5c;
    transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* スマホでは縦並び */
        gap: 20px;
    }
    .contact-box {
        padding: 25px;
    }
    .tel-number {
        font-size: 1.8rem;
    }
}
/* =================================
   Header Logo & Text
   ================================== */
.lp-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-primary); /* 紺色 */
    gap: 10px; /* 画像と文字の間隔 */
}

.lp-header__logo img {
    height: 40px; /* ロゴ画像の高さ */
    width: auto;
}

.lp-header__text {
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    white-space: nowrap; /* 改行させない */
    line-height: 1;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .lp-header__logo img {
        height: 30px; /* スマホでは少し画像を小さく */
    }
    .lp-header__text {
        font-size: 1rem; /* 文字サイズも調整 */
    }
    
    /* もし画面が狭すぎてボタンと重なる場合は文字を消す設定（必要であれば） */
    /*
    .lp-header__text {
        display: none;
    }
    */
}
/* =================================
   LP スマートフォン表示 視認性改善パッチ
   ================================== */

@media (max-width: 768px) {

    /* 1. ヘッダーの視認性改善 */
    .lp-header__inner {
        padding: 0 15px;
    }

    /* ロゴ横のテキスト「敬愛高等学校」を非表示にしてスペース確保 */
    .lp-header__text {
        display: none;
    }

    /* ロゴ画像を少し小さく */
    .lp-header__logo img {
        height: 32px;
    }

    /* ボタンのサイズと間隔を調整して2つ収める */
    .lp-header__nav {
        gap: 8px;
    }

    .lp-header__nav .btn {
        padding: 8px 12px;      /* 余白を詰める */
        font-size: 0.75rem;     /* 文字を小さく */
        height: 36px;           /* 高さを固定 */
        box-sizing: border-box; /* 枠を含めたサイズ計算 */
        white-space: nowrap;    /* 改行させない */
    }


    /* 2. Why Keiai? (Intro Message) のセンター寄せ */
    .intro-message-title {
        text-align: center !important; /* 強制的に中央揃え */
    }
    
    /* 下の本文も中央揃えにする場合（お好みで削除可） */
    .intro-message-body p {
        text-align: center;
    }


    /* 3. 進路実績 (Career) の縦並び化 */
    .career-highlight {
        flex-direction: column; /* 横並びを解除して縦積みに */
        gap: 30px;
    }

    .career-highlight__item {
        width: 100%;            /* 横幅いっぱいに */
        max-width: 100%;
        box-sizing: border-box; /* パディングを含めて計算 */
    }

    /* 大学名リストを見やすく */
    .career-highlight__item ul {
        justify-content: center; /* 中央寄せ */
        gap: 10px 15px;
    }


    /* 4. CTAセクション (最後のボタン) の改善 */
    .cta-section {
        padding: 60px 20px;
    }

    .cta-buttons {
        flex-direction: column; /* 縦積みに */
        gap: 20px;
        width: 100%;
    }

    .cta-buttons .btn--xl {
        width: 100%;            /* 画面幅いっぱいに広げる */
        max-width: 100%;        /* 制限解除 */
        padding: 18px 20px;     /* タップしやすい高さ */
        font-size: 1.1rem;      /* 文字サイズ調整 */
        box-sizing: border-box; /* はみ出し防止 */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* =================================
   LP スマートフォン表示 修正パッチ (Vol.2)
   ================================== */

@media (max-width: 768px) {

    /* 1. ヒーロー内のボタンを1行に収める */
    .hero__cta .btn--large {
        white-space: nowrap;  /* 強制的に改行させない */
        font-size: 0.95rem;   /* 1行に収まるように文字サイズを微調整 */
        padding: 16px 24px;   /* 余白を調整して幅を確保 */
        width: auto;          /* 横幅をコンテンツに合わせる */
        max-width: 95%;       /* 画面からはみ出さないように */
        display: inline-flex; /* アイコンと文字をきれいに並べる */
        align-items: center;
        justify-content: center;
    }
    .hero__cta .btn--large i {
        margin-right: 6px;    /* アイコンとの間隔を少し詰める */
    }

/* 2. メッセージタイトルの行落ち修正 (句読点対応版) */
    .intro-message-title {
        /* 単語の途中での改行を防ぐ */
        word-break: keep-all; 
        overflow-wrap: break-word;
        
        /* ▼▼▼ 追加：句読点の処理を厳格にする（「。」だけの行落ちを防ぐ） ▼▼▼ */
        line-break: strict; 
        
        /* ▼▼▼ 修正：フォントサイズを 1.5rem から 1.35rem に縮小 ▼▼▼ */
        /* これにより、文字が詰まって「る。」が前の行に戻ります */
        font-size: 1.35rem;    
        
        line-height: 1.7;
        
        /* ▼▼▼ 修正：左右の余白を削除して、文字が入る幅を広げる ▼▼▼ */
        padding: 0;
        width: 100%;
    }
    /* 3. 本文のハイライト（黄色ライン）の行中改行を防ぐ */
    .intro-message-body strong {
        display: inline-block; /* ハイライト部分を「ひとかたまり」として扱う */
        white-space: nowrap;   /* 文言の途中での改行を禁止 */
    }
    
    /* 本文全体の読みやすさ調整 */
    .intro-message-body p {
        text-align: left;      /* 左揃え */
        font-size: 0.95rem;    /* スマホで読みやすいサイズ */
        line-height: 1.9;      /* 行間をゆったり取る */
        letter-spacing: 0.02em;
    }
}