/* ============================================================
   学習塾エクセル - Jimdo独自レイアウト CSS
   このコードをJimdo管理画面の「独自レイアウト > CSS」タブに貼り付けてください
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #1a365d;
  --navy-light: #2d5190;
  --navy-dark: #0f2440;
  --green: #2d8a6e;
  --green-light: #34a085;
  --green-dark: #236b56;
  --mint: #f0faf6;
  --mint-deep: #e0f2ec;
  --bg: #f9fbfa;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(26,54,93,0.06);
  --shadow-md: 0 4px 16px rgba(26,54,93,0.08);
  --shadow-lg: 0 8px 32px rgba(26,54,93,0.12);
  --shadow-xl: 0 16px 48px rgba(26,54,93,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Cormorant Garamond', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans) !important;
  color: var(--text) !important;
  background: var(--white) !important;
  background-color: var(--white) !important;
  line-height: 1.8;
  overflow-x: hidden;
}

/* Jimdo wrapper overrides */
#cc-inner {
  background: transparent !important;
}

#container {
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  height: var(--header-h);
}

#header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
  line-height: 1;
}

.logo-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-jp {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-top: 2px;
}

/* Jimdo Navigation Styling */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.header-nav ul,
#navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav li,
#navigation li {
  list-style: none;
}

.header-nav a,
#navigation a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}

.header-nav a:hover,
#navigation a:hover {
  color: var(--green);
  background: var(--mint);
}

/* Last nav item as CTA button */
.header-nav li:last-child a,
#navigation li:last-child a {
  background: var(--green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
}

.header-nav li:last-child a:hover,
#navigation li:last-child a:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,138,110,0.3);
}

/* Sub-navigation (dropdown) */
.header-nav ul ul,
#navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  min-width: 180px;
}

.header-nav li:hover > ul,
#navigation li:hover > ul {
  display: block;
}

.header-nav ul ul a,#navigation ul ul a {
  padding: 10px 20px;
  font-size: 13px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hb-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.hamburger.active .hb-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hb-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hb-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
#content {
  padding-top: var(--header-h);
  min-height: 60vh;
  background: var(--white);
}

/* Jimdo content wrappers - full width for custom sections */
#content .cc-content-parent,
#content .j-module {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

#sidebar {
  display: none !important;
}

/* --- Jimdo Content Element Styling --- */
/* Only apply to elements NOT inside custom sections */

/* Headings */
#content h1:not(.hero-title):not(.section-title):not(.cta-title) {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 1px;
}

#content h2:not(.section-title):not(.cta-title) {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

#content h3:not(.principle-title):not(.achievements-heading) {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Paragraphs - only for Jimdo editor content */
#content > p,
#content .j-text p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  color: var(--text);
}

/* Links in Jimdo editor content */
#content .j-text a,
#content > a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

#content .j-text a:hover,
#content > a:hover {
  color: var(--green-dark);
}

/* Images in content */
#content img {
  border-radius: var(--radius);
  margin: 24px auto;
}

/* Lists in content */
#content ul, #content ol {
  margin: 16px 0;
  padding-left: 1.5em;
}

#content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* Jimdo columns */
.j-hgrid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Jimdo buttons */
.j-calltoaction a {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  padding: 14px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: var(--transition);
}

.j-calltoaction a:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,138,110,0.3);
}

/* Jimdo form */
.j-form,
.cc-m-form {
  max-width: 800px;
  margin: 0 auto;
}
.j-form input[type="text"],
.j-form input[type="email"],
.j-form input[type="tel"],
.j-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition);
  background: var(--white);
}

.j-form input:focus,
.j-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,138,110,0.1);
}

.j-form button[type="submit"],
.j-form input[type="submit"] {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.j-form button[type="submit"]:hover,
.j-form input[type="submit"]:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45,138,110,0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-en {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

.footer-logo-jp {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 2px;
}

.footer-logo-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  display: block;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.footer-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-label {
  font-size: 11px;
  color: var(--green-light);
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-detail span:last-child {
  font-size: 13px;
}

/* Google Map */
.footer-map {
  display: flex;
  align-items: stretch;
}

.footer-map iframe {
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius) !important;
}

/* Jimdo footer content styling */
.footer-jimdo {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.footer-jimdo a {
  color: var(--green-light);
  text-decoration: none;
}

.footer-jimdo a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ============================================================
   CONTAINER & SECTION COMMON
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ============================================================
   SUB-HERO (Subpages)
   ============================================================ */
.sub-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 24px 40px;
  text-align: center;
}

.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.sub-hero-content {
  position: relative;
  z-index: 1;
}

.sub-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.sub-hero-subtitle {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--green) !important;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ============================================================
   SUBPAGE COMPONENTS
   ============================================================ */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.course-card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 12px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.info-table th,
.info-table td {
  padding: 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.info-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--navy);
  width: 30%;
}

.timetable th,
.timetable td {
  text-align: center !important;
  vertical-align: middle !important;
  padding: 14px 4px !important;
}

.timetable td {
  font-weight: 700;
  color: var(--navy);
}

.timetable td.rest {
  background: var(--bg);
  color: var(--text-light);
  font-size: 13px;
  font-weight: normal;
}

.timetable td.self-study {
  background: var(--bg);
  color: var(--text-light);
  font-weight: normal;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 2px;
  font-size: 14px;
  /* flexboxで縦書き文字もセルの中央に完全固定 */
  display: table-cell; /* Firefoxバグ対策 */
}

/* Chrome等のflexbox対応向けの中央揃え補完（Jimdo環境依存対策） */
.timetable td.self-study > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-q {
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
}

.faq-q::before {
  content: 'Q.';
  color: var(--green);
  font-family: var(--font-en);
}

.faq-a {
  color: var(--text);
  line-height: 1.8;
  display: flex;
  gap: 12px;
}

.faq-a::before {
  content: 'A.';
  color: var(--text-lighter);
  font-family: var(--font-en);
  font-weight: 700;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-item {
  border-bottom: 1px dashed var(--border);
  padding: 20px 0;
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.news-date {
  font-family: var(--font-en);
  color: var(--text-light);
  font-size: 14px;
  min-width: 100px;
}

.news-title {
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

.news-title:hover {
  color: var(--green);
}

/* ============================================================
   Jimdo Blog Widget Styling (お知らせ用)
   ============================================================ */
/* ブログ一覧に自動表示されるデカデカとしたカテゴリタイトル・ページタイトルを非表示 */
.j-blog-category-title,
.cc-m-blog-category-title,
.j-blog-headline,
.cc-page-title,
.j-page-title,
#page-title,
.page-title,
.j-blog-theme-title,
.cc-m-blog-theme-title,
.blog-category-title,
.j-blog-header h1,
.j-blog-header h2 {
  display: none !important;
}
.j-blogarticle {
  border-bottom: 1px dashed var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .j-blogarticle {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }
}

.j-blogarticle .j-blogarticle-time,
.j-blogarticle time,
.j-blogarticle .date,
.cc-m-blog-article-date {
  font-family: var(--font-en);
  color: var(--text-light);
  font-size: 14px;
  min-width: 100px;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .j-blogarticle .j-blogarticle-time,
  .j-blogarticle time,
  .j-blogarticle .date,
  .cc-m-blog-article-date {
    margin-bottom: 0;
  }
}

.j-blogarticle-title,
.cc-m-blog-article-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* 個別ブログページ全体を中央寄せ・幅制限する */
.cc-m-blog-detail,
.cc-m-blog-article,
.j-blog-article {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* 個別記事ページ：カテゴリ・日付のヘッダー部分を中央寄せ */
.j-blog-post--header {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  padding-top: 16px;
}

.j-blogarticle-title a,
.cc-m-blog-article-title a {
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

.j-blogarticle-title a:hover,
.cc-m-blog-article-title a:hover {
  color: var(--green);
}

/* ブログの「続きを読む」などの不要な要素を隠す場合 */
.j-blogarticle-content,
.j-blogarticle-link {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 40%, #1a4a5c 70%, var(--green-dark) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(45,138,110,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(45,81,144,0.2) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
}

.hero-since {
  font-family: var(--font-en);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-accent {
  color: #5ee6b8;
  display: inline-block;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.hero-cta {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none !important;
}

.hero-cta:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,138,110,0.4);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  margin: 0 auto 8px;
  animation: scrollPulse 2s infinite;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.hero-scroll-text {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-points {
  background: var(--mint);
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.pain-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}

.pain-solution {
  text-align: center;
  font-size: 15px;
  color: var(--text);
  line-height: 2;
  max-width: 720px;
  margin: 0 auto;
}

.pain-solution strong {
  color: var(--green);
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles {
  background: var(--white);
}

.principle-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.principle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--green));
}

.principle-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.principle-number {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--mint-deep);
  line-height: 1;
  margin-bottom: 16px;
}

.principle-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 20px;
}

.principle-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--bg);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 700;
  color: var(--mint-deep);
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 20px;
}

.testimonial-text {
  font-size: 13.5px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
  padding-top: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.testimonial-school {
  font-size: 12px;
  color: var(--green);
  background: var(--mint);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievements {
  background: var(--white);
}

.achievements-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin-top: -32px;
  margin-bottom: 48px;
}

.achievements-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
}

.achievements-heading {
  font-family: var(--font-serif);
  font-size: 18px;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 600;
  color: var(--white);
}

.achievements-heading span {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-left: 12px;
  vertical-align: middle;
}

.school-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.school-name {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
}

.school-name.featured {
  background: rgba(45,138,110,0.3);
  border-color: rgba(45,138,110,0.5);
}

.school-name.other {
  border-style: dashed;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #2a9d8f 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white) !important;
  font-size: 14px;
  text-decoration: none !important;
}

.cta-phone-number {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark) !important;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none !important;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}


.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .principle-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testimonial-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
  }

  #navigation {
    display: block !important;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    padding: 100px 32px 32px;
    overflow-y: auto;
  }

  #navigation.open {
    transform: translateX(0);
  }

  #navigation ul {
    flex-direction: column;
    gap: 4px;
  }

  #navigation ul ul {
    position: static;
    box-shadow: none;
    padding-left: 16px;
    display: block;
  }

  #navigation a {
    color: var(--text);
    font-size: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  #navigation li:last-child a {
    text-align: center;
    margin-top: 12px;
  }

  #nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,36,64,0.6);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  #nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-details {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  /* Section Mobile */
  .section {
    padding: 64px 0;
  }

  .pain-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pain-solution br {
    display: none;
  }

  .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .achievements-box {
    padding: 32px 20px;
  }

  .achievements-subtitle br {
    display: none;
  }

  .cta-phone-number {
    font-size: 24px;
  }

  .cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .logo-en {
    font-size: 22px;
  }

  .logo-divider {
    height: 28px;
  }

  .logo-jp {
    font-size: 13px;
  }

  .hero-title {
    font-size: 22px;
  }

  .section-title {
    font-size: 20px;
  }

  .principle-card {
    padding: 32px 24px;
  }
}