/* --- 基本設定 --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans JP', sans-serif; color: #333; line-height: 1.8; padding-top: 90px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- ヘッダー共通 --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; height: 90px; background: #fff; z-index: 1000; display: flex; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-container { width: 90%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 75px !important; width: auto; }
.main-nav ul { display: flex; list-style: none; gap: 25px; align-items: center; }
.main-nav a { text-decoration: none; color: #333; font-weight: bold; }
.nav-contact { border: 2px solid #38b6ff; padding: 8px 20px; border-radius: 50px; color: #38b6ff !important; }
.menu-toggle { display: none; }

/* --- ヒーロー＆共通見出し --- */
.about-hero { background: #f8fafc; padding: 80px 0; text-align: center; color: #333; }
.section-header { text-align: center; margin-bottom: 50px; }
.en-title { display: block; color: #38b6ff; font-size: 0.9rem; font-weight: bold; letter-spacing: 0.2em; margin-bottom: 10px; }
.main-title { font-size: 2.2rem; font-weight: bold; }






/* --- コンセプト紹介（画像なし・センター配置） --- */
.about-intro {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.intro-centered-text {
    max-width: 800px;
    margin: 0 auto;
}

.intro-centered-text h3 {
    font-size: 2.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #333;
}

.sub-title {
    display: block;
    color: #38b6ff;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

/* --- 代表挨拶（左写真・右文章の高さ合わせ） --- */
.about-leader {
    padding: 100px 0;
    background-color: #fcfdfe;
}

.leader-flex-row {
    display: flex;
    gap: 60px;
    align-items: stretch; /* 写真と右側のコンテンツの高さを揃える */
}

.leader-visual {
    flex: 0 0 380px; /* 写真の幅を固定 */
}

.leader-img-wrap {
    width: 100%;
    height: 100%; /* 親の高さに合わせる */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.leader-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* コンテンツを写真の高さに対して上下中央に */
}

.leader-name {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #38b6ff;
    display: inline-block;
}

/* 資格リストの調整 */
.leader-credentials {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #38b6ff;
}

/* --- 特徴セクション（スマホ対応を強化） --- */
.about-features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCでは3列 */
    gap: 30px;
}




/* --- 特徴（3カラム） --- */
.about-features { padding: 80px 0; background: #f8fafc; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-item { background: #fff; padding: 40px 20px; border-radius: 20px; text-align: center; }
.icon-circle { width: 50px; height: 50px; background: #38b6ff; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: bold; }

/* --- お問い合わせ（indexと統一） --- */
.contact-footer { background: #38b6ff; padding: 80px 20px; text-align: center; color: #fff; }
.btn-cta { display: inline-block; background: #fff; color: #38b6ff; padding: 15px 50px; border-radius: 50px; text-decoration: none; font-weight: bold; margin-top: 20px; }
.footer-bar { padding: 20px; text-align: center; color: #888; font-size: 0.8rem; }

/* --- 代表資格・研修セクション --- */
.leader-credentials {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-left: 3px solid #38b6ff; /* 左側にアクセントライン */
    border-radius: 0 12px 12px 0;
}

.credentials-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 2px 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #fff;
    /* グリッター風グラデーション（青系） */
    background: linear-gradient(135deg, #38b6ff 0%, #a2d9ff 50%, #38b6ff 100%);
    background-size: 200% auto;
    animation: glitter 3s linear infinite;
}

.leader-credentials ul {
    list-style: none;
    padding: 0;
}

.leader-credentials li {
    font-size: 0.85rem; /* 本文より一回り小さく */
    color: #777;       /* 少し薄めの色で追記感を出す */
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

/* リストの点（ドット）を青い菱形にして信頼感を演出 */
.leader-credentials li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #38b6ff;
    font-size: 0.7rem;
}

/* グリッターが動くアニメーション */
@keyframes glitter {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}


    

/* --- スマホ対応（完全センター） --- */
@media (max-width: 768px) {
    .header-container { justify-content: center; position: relative; }
    .logo { margin: 0 auto; }
    .menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; background: none; border: none; position: absolute; right: 20px; }
    .menu-toggle span { display: block; width: 100%; height: 3px; background: #38b6ff; }
    
    .main-nav { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: rgba(255,255,255,0.98); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; gap: 30px; }
}


/* --- スマホ表示 (Media Queries) --- */
@media (max-width: 768px) {
    /* 3つの特徴を1つずつ（1列）にする */
    .feature-grid {
        grid-template-columns: 1fr; /* 確実に1列 */
        gap: 20px;
    }

    /* コンセプトのフォント調整 */
    .intro-centered-text h3 {
        font-size: 1.5rem;
    }

    /* 代表挨拶の縦並び */
    .leader-flex-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leader-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin-bottom: 30px;
    }
    
    .leader-img-wrap {
        aspect-ratio: 1 / 1; /* スマホでは正方形に */
    }

    .leader-credentials {
        text-align: left;
    }
}