/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.nav-logo h2 {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    padding: 120px 0 80px;
    background: #fef08a;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title .subtitle {
    font-size: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.8;
}

/* Heroテキストの調整（必要に応じて数値は微調整） */
.hero-title { margin-bottom: 8px; }

.hero-sub {
  font-size: 1.25rem;      /* サブ見出しとして少し大きく */
  font-weight: 600;
  margin: 6px 0 10px;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

@media (max-width: 640px){
  .hero-sub  { font-size: 1.1rem; }
  .hero-desc { font-size: 0.95rem; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #333;
    color: #fef08a;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 右カラムのコンテナを縦並びに */
.hero .hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;   /* 中央寄せ */
}

/* 実際の画像（クラス名を分離） */
.hero-visual {
    width: 100%;
    max-width: 900px;      /* 必要に応じて調整（例：1000px） */
    height: auto;
    display: block;
    border-radius: 8px;    /* 任意 */
}

/* 画像直下の注記 */
.hero-note {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    margin-top: 12px;
    line-height: 1.6;
}

/* モバイルでの余白調整（任意） */
@media (max-width: 768px) {
    .hero-visual { max-width: 100%; }
    .hero-note   { font-size: 0.85rem; }
}

.hero-characters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quokka-character,
.ai-cat-character {
    text-align: center;
}

.character-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.character-img:hover {
    transform: scale(1.1);
}

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

.placeholder-box {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
}

.placeholder-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-box p {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}



/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
}

/* サービスセクション */
.services {
    padding: 80px 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card.coming-soon::before {
    content: 'Coming Soon';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #fef08a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #333;
}

.service-character {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}

.service-image {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 50%;
    transform: translateX(5px);
}

.service-image.center {
    transform: none;
}

.service-image.social {
    width: 70px;
    height: 70px;
    transform: none;
}

.service-image.corporate {
    width: 70px;
    height: 70px;
    transform: none;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-subtitle {
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* サービスカード本文をノーマルウェイトに統一 */
.service-card p {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;    /* ← これで太字を解除 */
  color: #374151;
  margin-bottom: 12px;
}

/* リストをグレー囲みに変更（中学生向けと統一） */
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.service-card ul li {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
  text-align: left;   /* ← これを追加 */
}

.sub-text {
  font-size: 13px;
  color: #6b7280; /* サブ情報用の落ち着いたグレー */
}

.classroom-info {
    background: #fef08a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* 料金表セクション */
.pricing-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: #f8fafc;
    border-radius: 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #fef08a;
}

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

.pricing-details {
    margin-bottom: 1rem;
}

.pricing-schedule {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 1.2rem;
    color: #333;
}

.price {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

.pricing-note p {
    margin: 0.5rem 0;
    color: #6b7280;
}

.service-details {
    text-align: left;
    margin: 1.5rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.detail-item .grade {
    background: #10b981;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 40px;
    text-align: center;
}

.detail-item .content {
    color: #374151;
    font-size: 0.9rem;
}

.detail-item i {
    color: #2563eb;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.service-goal {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    margin-top: 1rem;
}

.coming-soon-text {
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin: 1rem 0;
}

/* ===== Work セクション整形 ===== */
.work{
  background:#f8fafc;
  padding: 56px 0;
}
.work .section-header{
  text-align:center;
  margin-bottom: 28px;
}
.work-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(260px,1fr));
  gap: 20px;
}
@media (max-width: 1024px){
  .work-grid{ grid-template-columns: repeat(2, minmax(240px,1fr)); }
}
@media (max-width: 640px){
  .work-grid{ grid-template-columns: 1fr; }
}

.work-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:20px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  height:100%;
}
.work-icon{
  width:48px;height:48px;line-height:48px;
  font-size:22px;text-align:center;
  background:#eef2ff;border-radius:12px;
}
.work-card h3{ margin:6px 0 2px; font-weight:700; }
.work-card p{ margin:0; line-height:1.7; color:#4b5563; }
.work-actions{ margin-top:auto; }          /* ボタンを下に固定 */
.work-actions .btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid #3b82f6;
  color:#2563eb;
}
.work-actions .btn:hover{
  background:#eff6ff;
}

/* 講師紹介セクション */
.about {
    padding: 80px 0;
    background: #f9fafb;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.instructor-profile-section {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instructor-avatar-large {
    margin-bottom: 1.5rem;
}

.instructor-avatar-large-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fef08a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instructor-name-large h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.instructor-title {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.about-bottom {
    display: flex;
    flex-direction: column;
}

.instructor-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instructor-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    background: #fef08a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 2rem;
}

.instructor-avatar-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fef08a;
}

.avatar-placeholder p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

.instructor-info {
    flex: 1;
}

.instructor-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.instructor-title {
    font-size: 1.1rem;
    color: #2563eb;
    font-weight: 600;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.qualifications ul {
    list-style: none;
    margin-bottom: 2rem;
}

.qualifications li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 1.5rem;
}

.qualifications li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.brand-story {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== Brand Story 安定化レイアウト ===== */
.brand-story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: start;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* 画像は正方形の枠に収める（比率バラバラでも崩れない） */
.brand-img {
    width: clamp(140px, 35vw, 200px);
    aspect-ratio: 1 / 1;      /* 正方形 */
    object-fit: contain;       /* 画像を枠内に収める */
    display: block;
    margin: 0 auto 12px;
    border-radius: 16px;
}

/* "丸くトリミング"したい画像 */
.brand-img-circle-cover {
    object-fit: cover;
    border-radius: 9999px;
}

/* "丸の中に収める"タイプ（余白を持たせたい） */
.brand-img-circle-contain {
    object-fit: contain;
    border-radius: 9999px;
    background: #fff;
}

/* ロゴ画像：そのまま */
.brand-img-logo {
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

/* キャラ画像（クオッカ・AI猫）：丸枠 */
.brand-img-circle {
    border-radius: 50%;
    background: #fff;
    border: 3px solid #F2E39A;
    padding: 6px;
    width: 170px;   /* ロゴに合わせて調整 */
    height: 170px;
    object-fit: cover;   /* contain → cover に変更 */
    margin-bottom: 12px;
}

/* EESキャット専用スタイル */
.brand-img-cat {
    border-radius: 50%;
    border: 3px solid #F2E39A;
    padding: 6px;
    width: 160px;   /* ロゴに合わせて少し小さめ */
    height: 160px;
    object-fit: contain;   /* 全体を収める */
    margin-bottom: 12px;
}

.brand-card h3 {
    margin: 6px 0 6px;
    text-align: center;
}

.brand-card p {
    margin: 0;
    line-height: 1.7;
    text-align: left;
}

.brand-origin {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #10b981;
    margin-bottom: 1.5rem;
}

.brand-origin h4 {
    color: #92400e;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.brand-origin p {
    color: #78350f;
    line-height: 1.6;
    margin: 0;
}

.brand-logo-small {
    text-align: center;
    margin-top: 1rem;
}

.brand-logo-small-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.8;
}

.character-story {
    display: grid;
    gap: 2rem;
}

.character {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.character-image .character-img {
    width: 120px;
    height: 120px;
}

.character-text h4 {
    margin-bottom: 1rem;
    color: #f59e0b;
}

.character.original .character-text h4 {
    color: #059669;
}

.character.new .character-text h4 {
    color: #dc2626;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}



.about-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

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

.instructor-avatar-large {
    margin-bottom: 1.5rem;
}

.instructor-avatar-large-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fef08a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instructor-name-large h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* お問い合わせセクション */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 40px;
    color: #2563eb;
    font-size: 1.2rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-characters {
    text-align: center;
    margin-top: 2rem;
}

.contact-character {
    width: 150px;
    height: 150px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contact-character:hover {
    opacity: 1;
}

.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 教室情報 */
.access { 
    padding: 64px 0; 
}
.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.access-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    padding: 20px;
}
.access-card h3 { 
    margin: 0 0 8px; 
}
.access-card .address { 
    margin: 0 0 12px; 
    color: #444; 
}
.access-card .actions { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
}

@media (max-width: 1024px) { 
    .access-grid { 
        grid-template-columns: 1fr 1fr; 
    } 
}
@media (max-width: 640px) { 
    .access-grid { 
        grid-template-columns: 1fr; 
    } 
}

/* フッター */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-characters {
        flex-direction: column;
        gap: 1rem;
    }

    .character-img {
        width: 150px;
        height: 150px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .character-image .character-img {
        width: 100px;
        height: 100px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .about,
    .services,
    .contact {
        padding: 60px 0;
    }

    .about-logo-img {
        width: 200px;
        height: 200px;
    }

    .contact-character {
        width: 100px;
        height: 100px;
    }

    .nav-logo-img {
        width: 40px;
        height: 40px;
    }

    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
}

/* フッターリンクのスタイル */
footer a:link,
footer a:visited {
  color: #ffffff;  /* 白で統一 */
  text-decoration: none;
}

footer a:hover {
  color: #f5da45;  /* ホバー時だけEESの黄色に */
  text-decoration: underline;
}

/* お問い合わせボタン */
.contact-button {
  text-align: center;
  margin: 40px 0 20px;
}

.btn-main {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #5ab8ff);
  color: #fff;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-main:hover {
  background: linear-gradient(90deg, #005ecb, #3aa8ff);
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.5);
  transform: translateY(-2px);
}

/* ====== お問い合わせ セクションの1カラム化&中央寄せ ====== */

/* 2カラムを解除して、1カラム+中央揃えにする */
.contact-content {
  display: block !important;         /* grid/flex を強制解除 */
  max-width: 900px;                  /* 横幅を適度に制限 */
  margin: 40px auto;                 /* セクション全体を中央に */
  padding: 0 16px;                   /* 端が詰まらないよう余白 */
}

/* タイトルだけ中央寄せ */
.contact-content h3 {
  text-align: center;
  font-size: 1.9rem;
  margin: 0 0 24px;
}

/* 各行（アイコン＋テキスト）を中央に並べる */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;           /* 中央寄せのキモ */
  gap: 12px;
  margin: 12px 0;
}

/* アイコンやテキストの見た目調整（任意） */
.contact-item i {
  font-size: 22px;
}
.contact-item span {
  font-size: 1.1rem;
}

/* ロボ画像も中央に */
.contact-characters {
  text-align: center;
  margin-top: 24px;
}
.contact-character {
  display: inline-block;
  width: min(220px, 40vw);           /* 大きすぎないよう調整 */
  height: auto;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-heading {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .character-img {
        width: 120px;
        height: 120px;
    }

    .service-character {
        width: 60px;
        height: 60px;
    }

    .about-logo-img {
        width: 150px;
        height: 150px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-text,
.service-card {
    animation: fadeInUp 0.8s ease-out;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* ホバーエフェクト */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.contact-item:hover i {
    color: #fbbf24;
}

/* 特別なスタイル */
.service-card.coming-soon {
    opacity: 0.8;
}

.service-card.coming-soon:hover {
    opacity: 1;
}

/* ブランド名（最上段） */
.brand-title{
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px;
}

/* サブブランド（説明行） */
.brand-tagline{
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  font-weight: 600;
  margin: 0 0 18px;
  color: #333;
}

/* 既存のヒーロー見出し以下の余白を微調整 */
.hero-title{ margin-top: 6px; }
.hero-sub{  margin-top: 4px; }
.hero-desc{ margin-top: 8px; }

@media (max-width: 640px){
  .brand-title{ margin-bottom: 6px; }
  .brand-tagline{ margin-bottom: 14px; }
}

.teacher-profile {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 32px;
}

.teacher-photo img {
  width: 70px;   /* 今の約1/4サイズ */
  border-radius: 8px; /* 少し角丸 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.teacher-info {
  flex: 1;
}

.teacher-info h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.teacher-title {
  font-weight: bold;
  color: #0073e6;
  margin-bottom: 12px;
}

.teacher-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.teacher-info ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ── 講師紹介レイアウトを横並びに ── */
.about .about-top{
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* 左側（画像＋氏名）のまとまり */
.instructor-profile-section{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;  /* 右のリストが詰まらないように少し余裕を確保 */
}

/* ★講師画像を小さく・四角のまま */
.instructor-avatar-large img.teacher-avatar{
  width: 90px;       /* だいたい今の1/4サイズ（調整可：70〜110px） */
  height: 90px;
  object-fit: cover; /* 縦横比が違ってもキレイに四角内に収める */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* 氏名と肩書の余白・サイズ */
.instructor-name-large h3{
  margin: 0 0 4px;
  font-size: 1.4rem;
}
.instructor-name-large .instructor-title{
  margin: 0;
  font-weight: 600;
  color: #1e66cc;
}

/* 右側の資格・経歴を読みやすく */
.qualifications{ flex: 1; }
.qualifications h3{ margin-top: 0; }
.qualifications ul{
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.qualifications li{
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}

/* モバイルでは縦積みに */
@media (max-width: 768px){
  .about .about-top{ flex-direction: column; gap: 20px; }
  .instructor-profile-section{ min-width: 0; }
}

/* ── 資格・経歴リストからチェックマークを削除 ── */
.qualifications ul li::before {
  content: none !important;   /* 疑似要素のマークを消す */
}

.qualifications ul {
  list-style: none;           /* デフォルトの丸ポチも消す */
  padding-left: 0;            /* 左の余白をなくす */
}

/* レイアウトの上限を作って、行の折返しを落ち着かせる */
.hero .hero-text{
  max-width: 780px;     /* 720〜820px お好みで */
}

/* 社名（H1）を少し控えめに、でも力強く */
.brand-title{
  font-size: clamp(2.1rem, 3.6vw, 3.0rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}

/* サブブランドは社名より小さく */
.brand-tagline{
  font-size: clamp(1.05rem, 2.1vw, 1.6rem);
  font-weight: 600;
  margin: 0 0 22px; /* 少し余裕を追加 */
  color: #2c2c2c;
}

/* メイン見出し（AI活用が〜）の過度な大きさを抑え、行間を詰める */
.hero-title{
  font-size: clamp(1.8rem, 4.8vw, 3.2rem);
  line-height: 1.18; /* 1.22→1.18に変更して詰める */
  letter-spacing: 0.01em;
  margin: 6px 0 10px;
}

/* サブコピー／補足の余白を整える */
.hero-sub{
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  margin: 6px 0 10px;
}
.hero-desc{
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.9;
  color: #444;
  margin: 0 0 16px;
}

/* 画面が狭い時はさらに収まりよく */
@media (max-width: 640px){
  .hero .hero-text{ max-width: 100%; }
  .brand-title{ margin-bottom: 4px; }
  .brand-tagline{ margin-bottom: 12px; }
  .hero-title{ line-height: 1.18; }
}

.tag{
  display: inline-block;
  background: #16a34a;    /* 緑系（必要なら小学生カードと同値に） */
  color: #fff;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  margin-right: 8px;
}

.feature-list{
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}
.feature-list li{
  margin: 8px 0;
}

/* 小学生カードと同じ黄色バッジ */
.goal-badge {
  background: #FFF7CC;       /* 淡い黄色のまま */
  color: #333333;            /* ← 濃いグレーに変更 */
  border: 1px solid #F2E39A;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-top: 10px;
  display: inline-block;
}

/* 太字の説明文 */
.lead {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* アイコン（小学生と同じサイズ） */
.service-card .service-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

/* 小学生向け */
.service-icon img.kids-icon {
  width: 95%;
  height: auto;
}

/* 中学生向け */
.service-icon img.junior-icon {
  width: 98%;
  height: auto;
}

/* 説明文（lead） */
.service-card .lead {
  font-weight: 700;
  margin-bottom: 12px;
}

/* 学年タグ（緑） */
.service-card .tag {
  display: inline-block;
  background: #10B981; /* 小学生と同じ緑 */
  color: #fff;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  margin-right: 8px;
}

/* グレー枠付きリスト（小学生と同じ） */
.service-card .feature-list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
}
.service-card .feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F3F6FA;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0;
}

/* ゴールバッジ（小学生と同じ黄色） */
.goal-badge {
  background: #FFF7CC;
  color: #333;
  border: 1px solid #F2E39A;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-top: 12px;
  display: inline-block;
}

/* ===== Hero 改善 ===== */
#hero{
  padding: clamp(48px, 7vw, 88px) 0;
}
#hero .hero-inner{
  max-width: 720px;          /* 横幅を絞って読みやすく */
  padding: 0 16px;
}
/* ===== Hero タイポ強調（右のような見せ方に） ===== */
#hero h1{
  font-size: clamp(34px, 5vw, 56px); /* 大きめ */
  font-weight: 900;                  /* 太字強調 */
  letter-spacing: -0.01em;           /* 少し詰める */
  margin: 0 0 10px;
}

#hero h2{
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
}

#hero .main-copy{
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.015em;          /* さらに詰める */
  margin: 14px 0 10px;
  color: #111827;
}

#hero .sub-copy{
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  margin: 0 0 12px;
  color: #374151;
}

#hero .description{
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: #374151;
  letter-spacing: 0;
}
#hero .description strong{
  font-weight: 800;
  color: #111827;
}

/* Hero内のブランドタイトルを見やすく */
#hero .site-title{
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  margin: 0 0 6px;
  color: #111827;
}

#hero .site-subtitle{
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 14px;
  color: #1f2937;
}

/* メインキャッチはさらに大きめ */
#hero .hero-title-big{
  font-size: clamp(50px, 7vw, 72px);
  font-weight: 900;
  margin: 12px 0 16px;
  color: #111827;
  letter-spacing: -0.015em;
}
#hero .hero-buttons{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Hero v2（見出し大・2カラムでバランス良く） ===== */
/* 8) 背景：右の印象に近い黄の面。ほんのり上下グラデで奥行き */
#hero.hero-v2{
  padding: clamp(48px, 7vw, 80px) 0;
  background: linear-gradient(180deg, #FFF176 0%, #FFF59D 100%);
}

/* Hero全体の上にさらに余白 */
#hero.hero-v2{
  padding-top: 100px;   /* 以前より+20px広げる */
}

/* 1) レイアウトの重心を上に・左右の余白を整える */
#hero.hero-v2 .hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: start;               /* 画像と文字の頭を揃える */
  max-width: 1120px;                /* 画面内に収める幅 */
  gap: clamp(24px, 3.5vw, 40px);    /* ちょいだけ狭めて密度UP */
  padding: 0 24px;                  /* 左右の余白を少し増やす */
  margin: 0 auto;                   /* 中央寄せ */
}
@media (max-width: 960px){
  #hero.hero-v2 .hero-grid{ grid-template-columns: 1fr; }
}

/* 2) テキスト幅をやや絞って読みやすく */
#hero.hero-v2 .hero-copy{ max-width: 660px; }

/* ブランド名（最上位） */
#hero.hero-v2 .site-title{
  font-size: clamp(42px, 5.5vw, 56px); /* 企業名が一番大きい */
  font-weight: 800;
  margin-bottom: 6px;
}

/* サブタイトル */
#hero.hero-v2 .site-subtitle{
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}

/* キャッチコピーをさらに小さめに（♪を横に収める） */
#hero.hero-v2 .hero-title-big{
  font-size: clamp(24px, 4.2vw, 36px); /* 最大36pxまで縮小 */
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 16px 0 18px; /* 上に余白を少し追加 */
}

/* 5) 本文：一段濃い色でコントラストUP／最後は力強く */
#hero.hero-v2 .description{
  font-size: clamp(16px, 2vw, 20px);
  color:#2b2f36;         /* 既存より少し濃くして可読性UP */
  line-height: 1.9;
  margin-bottom: 16px;
}
#hero.hero-v2 .description strong{ font-weight: 800; color:#111827; }

/* 6) ボタンの存在感を少しUP（間隔＆パディング） */
#hero.hero-v2 .hero-buttons{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 4px; }
#hero.hero-v2 .btn{ padding: 12px 22px; border-radius: 9999px; }

/* 7) 画像：角丸と影で"面"を作る（浮かせすぎない） */
#hero.hero-v2 .hero-visual img{
  width: 100%; height: auto; display:block; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
#hero.hero-v2 .hero-visual .cap-top,
#hero.hero-v2 .hero-visual .cap-bottom{
  text-align:center; font-size: 13px; color:#6b7280;
}
#hero.hero-v2 .hero-visual .cap-top{ margin-top: 10px; }
#hero.hero-v2 .hero-visual .cap-bottom{ margin-top: 4px; }
#hero .btn{
  padding: 10px 18px;
  border-radius: 9999px;     /* 丸ボタンで視認性UP */
}

/* フォーム注意書き */
.form-notes{
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280; /* グレー */
  line-height: 1.7;
}

