:root {
  --accent-color: #007acc;
  --button-text-color: #ffffff;
}
/* =========================
  グローバルスタイル
========================= */
body {
  font-family: "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

h1, h2, h3 {
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

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

/* =========================
  レイアウト構造
========================= */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.site-header {
  background-color: #004080;
  color: white;
  padding: 1rem 1.5rem;
  position: relative;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-header h1 {
  font-size: 2rem;
  margin: 0;
}

.company-link {
  font-size: 0.85rem;
  color: white;
  text-decoration: none;
  margin-left: auto;
  padding-right: 2rem;
}

nav#nav-menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background-color: #0066cc;
  padding: 0.5rem;
  flex-wrap: wrap;
}

nav#nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

nav#nav-menu a:hover {
  text-decoration: underline;
}

.hamburger {
  display: none;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  color: white;
  background-color: #0066cc;
  text-align: right;

  /* ▼ 追加して画面右上に固定 */
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

/* =========================
  ヒーローセクション（PC）
========================= */
.hero-section {
  background-image: url("image/bannar5.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  position: relative;
  flex-direction: column;
}

.hero-section__title h2 {
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  background-color: rgba(255, 255, 255, 0.7); /* 背景を少し白で強調 */
  display: inline-block;
  padding: 0.5em 1em;
  border-radius: 8px;
}

/* =========================
  サマリーセクション
========================= */
.summary-section {
  text-align: center;
  margin-bottom: 3rem;
}

.summary-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.summary-section p {
  font-size: 1.1rem;
}

.cta-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.button--primary,
.button--outline {
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.button--primary {
  padding: 0.82rem 1.3rem;
  background-color: #007acc;
  color: white;
}

.button--primary:hover {
  background-color: #005fa3;
}

.button--outline {
  padding: 0.7rem 1.2rem;
  background-color: transparent;
  border: 2px solid #007acc;
  color: #007acc;
}

.button--outline:hover {
  background-color: #e6f2fb;
}

.button--line {
  background-color: #06C755; /* LINEブランドカラー */
  color: white;
  padding: 0.65rem 1.2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}

.button--line:hover {
  background-color: #04a344;
}

/* ===============================
   Features Section
=============================== */

.features-section {
  padding: 4rem 1.5rem;
  background: #f7f9fb;
}

.features-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #0a2a44;
  margin-bottom: 1rem;
}

.section-lead {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* --- Grid --- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* --- Card --- */

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem 2.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-top: 6px solid #1c5fa8;
}

.feature-card:nth-child(2) {
  border-top-color: #2aa876; /* 演習側を少し色分け */
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0a2a44;
  margin-bottom: 1.2rem;
}

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

.feature-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

.feature-text strong {
  color: #0a2a44;
  font-weight: 700;
}

/* 強調文 */

.feature-text.emphasis {
  margin-top: 1.4rem;
  padding-left: 1rem;
  border-left: 4px solid #2aa876;
  background: #f3faf7;
  padding: 0.9rem 1rem;
  border-radius: 6px;
}

/* --- Summary --- */

.features-summary {
  text-align: center;
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.features-summary p {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.features-summary strong {
  color: #0a2a44;
}

/* --- Responsive --- */

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.6rem 1.4rem;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

/* ===============================
   Teacher / Student view split
=============================== */

.view-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.view-box {
  border-radius: 10px;
  padding: 1rem 1rem 0.8rem;
  background: #f6f8fb;
  border: 1px solid rgba(0,0,0,0.06);
}

.view-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0a2a44;
}

.view-box ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
  font-size: 0.9rem;
  color: #333;
}

.view-box.teacher {
  border-left: 4px solid #1c5fa8;
}

.view-box.student {
  border-left: 4px solid #2aa876;
}

@media (max-width: 900px) {
  .view-split {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   View Tabs (Teacher / Student)
=============================== */

.view-tabs {
  margin-top: 1.4rem;
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.tab-btn {
  flex: 1;
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #f7f9fb;
  cursor: pointer;
  color: #444;
}

.tab-btn.active {
  background: #0a2a44;
  color: #fff;
  border-color: #0a2a44;
}

.tab-contents {
  background: #f6f8fb;
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.7;
}


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

.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #004080;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================
  スクリーンショット
========================= */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* =========================
  対象者別タブ切り替え
========================= */
.tabs {
  padding: 3rem 1rem;
  background-color: #f0f8ff;
  text-align: center;
}

.tabs h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #003366;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-button {
  background-color: #ddd;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.tab-button img {
  width: 28px;
  height: auto;
}

.tab-button.active {
  background-color: #007acc;
  color: white;
}

.tab-content {
  display: none;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 1.4rem;
  color: #004080;
  margin-bottom: 1rem;
}

.tab-content ul {
  list-style: disc inside;
  line-height: 1.8;
  padding-left: 1rem;
}

/* =========================
  タブ内のレイアウト（アイコン付き）
========================= */
.tab-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tab-text {
  flex: 1;
  min-width: 260px;
}

.icon-left,
.icon-right {
  width: 160px;
  height: auto;
  flex-shrink: 0;
}

.icon-left {
  order: -1;
}

.icon-right {
  order: 1;
  align-self: flex-start;
}

/* =========================
  名称に込めた想い
========================= */
.section.name-meaning {
  background-color: #f9f9f9;
  padding: 4em 1em;
}

.section.name-meaning .content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section.name-meaning h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 1em;
}

.section.name-meaning p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.5em;
}

/* =========================
  アコーディオン（FAQ）
========================= */
.accordion-item {
  margin-bottom: 1rem;
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 0.8rem;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f2f2f2;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
  border: 1px solid #ccc;
  border-top: none;
}

.accordion-item.open .accordion-content {
  max-height: 500px; /* 適当な最大高さに調整 */
  padding: 1rem;
}

/* =========================
  観点別評価セクション
========================= */
.feature {
  background: linear-gradient(to bottom, #ffffff, #f0f6f9);
  padding: 60px 20px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.feature .content {
  max-width: 960px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.feature .content h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: center;
  color: #222;
}

.feature .content h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #444;
  border-left: 5px solid #006699;
  padding-left: 10px;
}

.feature .content ul {
  list-style: disc;
  padding-left: 2em;
}

.feature .content ul li {
  margin-bottom: 10px;
}

.kanten-summary {
  background-color: #eef6fb;
  border-left: 5px solid #007acc;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.kanten-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kanten-summary li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.kanten-details summary {
  cursor: pointer;
  font-weight: bold;
  color: #006699;
  margin: 1.5rem 0;
}

.kanten-details[open] summary {
  margin-bottom: 1rem;
}

.kanten-details summary::marker {
  font-size: 1.1em;
}

.kanten-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================
   お問い合わせ・導入までの流れ
========================= */
.flow {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
  text-align: center;
}

.flow h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 2.5rem;
}

.flow-image {
  margin-bottom: 2.5rem;
}

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

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.flow-step {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  width: calc(21% - 2rem); /* 💡 4つ並べるために幅を25%から引く */
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

@media screen and (max-width: 1024px) {
  .flow-step {
    width: calc(50% - 2rem); /* タブレットでは2列 */
  }
}

@media screen and (max-width: 600px) {
  .flow-step {
    width: 100%; /* スマホでは1列 */
  }
}

.flow-step:hover {
  transform: translateY(-5px);
}

.flow-step h3 {
  font-size: 1.2rem;
  color: #007acc;
  margin-bottom: 0.75rem;
}

.flow-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* CTAボタン */
.cta {
  margin-top: 2rem;
}

.button--primary {
  background-color: #007acc;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s, transform 0.2s;
}

.button--primary:hover {
  background-color: #005f99;
  transform: scale(1.03);
}

/* =========================
  メディア掲載実績
========================= */
.media-coverage {
  background-color: #f5f8fb;
  padding: 2.5rem 1rem;
  margin: 3rem auto;
  max-width: 960px;
  border-radius: 12px;
  text-align: center;
}

.media-coverage h2 {
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.media-lead {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.media-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.media-list li {
  display: inline-block;
  margin: 0.4rem 0.8rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: #004080;
}

.media-list .media-note {
  font-weight: normal;
  color: #777;
}

/* =========================
  フッター
========================= */
.site-footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #e0e0ff;
}

.card-icon {
  width: 36px;
  height: 36px;
  background-color: #007acc;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 0.5rem;
}

/* =========================
  レスポンシブ
========================= */
@media screen and (max-width: 768px) {
  /* ハンバーガーボタン */
  .hamburger {
    display: block;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    color: white;
    background-color: #0066cc;
    text-align: right;
  }

  /* 初期状態：ナビを隠す */
  #nav-menu {
    display: none !important;
    flex-direction: column;
    align-items: center;
    background-color: #0066cc;
    padding: 1rem;
  }

  /* ハンバーガーで表示されたとき */
  #nav-menu.active {
    display: flex !important;
  }

  .company-link {
    display: none; /* スマホでは非表示 */
  }

  /* ヒーローセクション調整 */
  .hero-section {
    background-size: cover;
    padding: 2rem 1rem;
    min-height: auto;
    margin-bottom: 3rem;
  }

  .hero-section__title {
    order: 2;
    margin-top: 1rem;
  }

  .hero-section__title h2 {
    font-size: 1.5rem;
    background-color: transparent;
    text-shadow: none;
  }

  .summary-section h2 {
    font-size: 1.3rem;
  }

  .features h2 {
    font-size: 1.6rem;
  }

  .card {
    padding: 1.2rem;
  }

  .card img {
    max-width: 100%;
  }

  .tab-layout {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .icon-left,
  .icon-right {
    margin-bottom: 1rem;
    width: 80%;
  }

  .tab-text {
    width: 100%;
  }
  
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    max-width: 90%;
  }
}