/* style.css */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header img {
  height: 40px;
}

.nav .btn {
  margin-left: 10px;
  padding: 10px 20px;
  text-decoration: none;
  background: #1f5eb5;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
}

.nav .btn-secondary {
  background: #7fbfff;
}


.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.section p {
  text-align: center;
}

.about-grid,
.solution-grid,


.about-item,
.solution-item,


.about-item img,
.solution-item img,
.support-item img {
  width: 100%;
  height: auto;
}

.cycle-content img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.section-faq details {
  margin: 15px 0;
}

.section-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.section-form label {
  font-weight: bold;
}

.section-form input,
.section-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.section-form button {
  padding: 12px;
  background: #1f5eb5;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}




/* FVエリア */
.fv {
  position: relative;
  /*width: 100%;*/

  height: auto;
  background-color: #fff;
}
fv img {
    max-width: 100%;
}











.fv-caption



.btn

.btn-primary

.btn-secondary


/* 共通スタイル */
body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  color: #333;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}

.btn-primary {
  background-color: #009688;
  color: #fff;
}

.btn-secondary {
  background-color: #f9f9f9;
  color: #009688;
  border: 2px solid #009688;
}

.btn

/* ヘッダー */
.header {
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
  height: 40px;
}

.header-buttons {
  display: flex;
  gap: 12px;
}

/* FVセクション */
.fv {
  position: relative;
  color: #fff;
}

/*

*/






.fv-caption



.bg-white {
  background-color: #ffffff;
}

.bg-light-blue {
  background-color: #e7f5ff;
}



.highlight-box {
  background-color: #199d91;
  color: #fff;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-weight: bold;
}

.highlight-yellow {
  background: linear-gradient(transparent 60%, #fff59d 60%);
  font-weight: bold;
  color: #00796b;         /* グリーン系 */
  font-size: 1.15rem;     /* 通常よりやや大きめ */
}


.highlight-blue {
  color: #199d91;
  font-weight: bold;
}
.section-title.yellow {
  color: #ffe600;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.about-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fdd835;
  text-align: center;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 10px;
}

.about-text {
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  line-height: 1.7;
}

/* 共通セクションタイトル */


.section-title-accent span {
  color: #fbc02d;
}

/* 課題セクションのグリッド */


/* 各コラムカード */


/* 各見出し */
.solution-column h3 {
  color: #009688;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* リスト項目 */
.solution-column ul {
  list-style: disc;
  padding-left: 1.2em;
}

.solution-column li {
  margin-bottom: 1em;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {



}

.problems-section {
  background-color: #a7d9dc;
  padding: 60px 20px;
  text-align: center;
}

.section-title h2 {
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  background-color: #00786e;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  margin-bottom: 40px;
}



.problem-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
}

.problem-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.problem-category {
  color: #00a29a;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
}

.problem-box {
  background-color: #e1f4ef;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.problem-box .label {
  font-weight: bold;
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
  .problem-card {
    max-width: 100%;
  }
}


.problems-section {
  background-color: #a7d9dc;
  padding: 60px 20px;
  text-align: center;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  background-color: #00786e;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 6px;
  margin-bottom: 50px;
}

.section-title .highlight {
  color: #ffe600;
  background: none;
  font-weight: bold;
}

.problem-cards {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  flex: 1;
  max-width: 360px;
  box-sizing: border-box;
  text-align: left;
}

.problem-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.problem-category {
  color: #009f9d;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.problem-box {
  background-color: #00786e;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: bold;
}

.problem-box + p {
  margin-top: 8px;
  margin-bottom: 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .problem-cards {
    flex-direction: column;
    align-items: center;
  }
  .problem-card {
    max-width: 100%;
  }
}


/* 共通セクションスタイル（必要に応じて調整） */
.section-cycle {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.section-cycle .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* タイトルと下線装飾 */
.section-title-line {
  display: inline-block;
  position: relative;
  margin-bottom: 40px;
}

.section-title-line h2 {
  font-size: 24px;
  font-weight: bold;
  color: #13867F;
  margin-bottom: 10px;
}

/* 線と丸の装飾 */
.underline-dot {
  height: 4px;
  background-color: #13867F;
  width: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.underline-dot::after {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #13867F;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/*授業の型*/
.lesson-title {
  font-size: 28px;
  text-align: center;
  background-color: #379387;
  color: #fff;
  padding: 16px 24px;
  display: inline-block;
  border-radius: 6px;
  margin: 0 auto 40px;
}

.lesson-title .highlight-yellow {
  color: #FFD600;
}

.lesson-flow {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.horizontal-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.horizontal-scroll img {
  display: inline-block;
  width: 100%;
  max-width: 1000px;
  height: auto;
}

/* スマホのみ横スクロールを有効にする */
@media screen and (max-width: 768px) {
  .horizontal-scroll img {
    min-width: 768px;
    width: auto;
  }
}


span.highlight-yellowlesson-flow {
    color: yellow;
}

/*横スワイプ*/
/* 横スクロール全体ラップ */
.horizontal-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  position: relative;
}

/* スクロール画像 */
.horizontal-scroll img {
  display: inline-block;
  width: 100%;
  max-width: 1000px;
  height: auto;
}

/* スマホ時：横スクロール有効＋スワイプ表示 */
@media screen and (max-width: 768px) {
  .horizontal-scroll img {
    min-width: 768px;
    width: auto;
  }

  .scroll-indicator::after {
    content: "▶︎ スワイプ";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #379387;
    animation: swipeHint 1.2s infinite ease-in-out;
  }
}

/* アニメーション定義 */
@keyframes swipeHint {
  0% { right: 16px; opacity: 0.3; }
  50% { right: 24px; opacity: 1; }
  100% { right: 16px; opacity: 0.3; }
}


/*指導マニュアルと動画*/
.section-material {
/*  background-color: #f7f7f7;
  padding: 60px 20px; */
}

.material-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-material .section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  background-color: #1b9e9e;
  display: inline-block;
  padding: 10px 30px;
  color: white;
  border-radius: 5px;
}

.section-material .section-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}




.voices-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.survey-result {
  display: flex;
  justify-content: center;
}

.survey-result img {
  max-width: 100%;
  height: auto;
  display: block;
}
.material-header,
.section-material .container {
  text-align: center;
}


.section-title {
  text-align: center;
/*  background-color: #208178;*/
  color: #fff;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 6px;
  font-size: 24px;
  margin: 0 auto 20px;
}



.voice-title {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.voice-title h3 {
  display: inline-block;
  font-size: 25px;
  font-weight: bold;
  color: #007b7f;
  margin-bottom: 10px;
  position: relative;
}

.line-with-dot {
  width: 100%;
  height: 3px;
  background-color: #007b7f;
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

.line-with-dot::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: #007b7f;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}


/*学校での活用事例*/
.section-case .voice-title {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-case .line-with-dot {
  width: 100%;
  height: 3px;
  background-color: #007b7f;
  position: relative;
  margin: 0 auto 30px;
  max-width: 800px;
}

.section-case .line-with-dot::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: #007b7f;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.case-text {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.case-video {
  text-align: center;
  margin-bottom: 40px;
}

.case-video img {
  max-width: 850px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-caption {
  font-size: 16px;
  margin-top: 10px;
  color: #007b7f;
  font-weight: bold;
}

.developer-comment {
  background-color: #208178;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left; /* ← セクション全体を左寄せに */
}

.developer-comment h4 {
  color: #ffe100;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 12px;
  text-align: left; /* ← 念のため明示 */
}

.developer-comment p {
  font-size: 15px;
  line-height: 1.8;
  text-align: left; /* ← 念のため明示 */
}


/*活用モデルと導入ステップ*/
.usage-model {
  padding: 60px 20px;
  background-color: #fff;
}

.usage-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap; /* スマホ対応 */
}

.usage-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.usage-text {
  text-align: left;
  flex: 1;
  min-width: 200px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.usage-text a {
  color: #1aa096;
  text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .usage-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .usage-image img {
    max-width: 100%;
  }
}



/* セクション全体の背景とパディング */
.section-flow {
  background-color: #269A92;
  padding: 80px 20px;
  color: #ffffff;
}

/* コンテナ中央寄せ */
.section-flow .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* 見出し（導入の流れとサポート内容） */


/* ✅ チェック付き説明リスト */
.flow-support {
  list-style: none;
  padding: 0;
  margin-bottom: 48px;
  text-align: center;
}

.flow-support li {
  font-size: 18px;
  margin-bottom: 8px;
}

/* タイムライン全体 */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 各ステップ */
.step {
  display: flex;
  align-items: flex-start;
}

/* ステップ番号丸囲み */
.step-number {
  background-color: #ffffff;
  color: #269A92;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  margin-right: 20px;
  flex-shrink: 0;
}

/* ステップ内容 */
.step-content h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ffffff;
}

.step-content p {
  margin: 0;
  color: #ffffff;
  line-height: 1.7;
}

/* 補足ラベル */
.label {
  background-color: #ffffff;
  color: #269A92;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .step {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    margin-bottom: 8px;
  }
}


.section-flow {
  background-color: #2c9991;
  padding: 60px 20px;
  color: #fff;
}


.flow-support {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 40px;
}

.flow-support li {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.check-icon {
  width: 20px;
  height: auto;
  margin-right: 10px;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.step {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
  color: #2c9991;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-content h4 {
  font-weight: bold;
  color: #ffeb3b;
  margin-bottom: 10px;
  font-size: 20px;
}

.label {
  display: inline-block;
  background: #fff;
  color: #222;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 10px;
  border-radius: 6px;
}
.section-flow {
  background-color: #2c9991;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.flow-title {
  background-color: #ffeb3b;
  color: #00786e;
  padding: 10px 30px;
  font-size: 28px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
  border-radius: 10px;
}

/* ✅ チェック付きリスト中央寄せ + テキスト左寄せ */
.flow-support {
  list-style: none;
  margin: 0 auto 40px auto;         /* 中央に配置 */
  padding: 0;
  display: table;                  /* 中央寄せ用 */
  text-align: left;               /* テキスト左寄せ */
}

.flow-support li {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.check-icon {
  width: 22px;
  height: auto;
  margin-right: 10px;
}


.step-content h4 {
  font-weight: bold;
  color: #ffeb3b;
  margin-bottom: 10px;
  font-size: 20px;
  text-align: left; /* ← 追加 */
}

/*よくある質問*/
.section-faq {
  background: #fff;
  padding: 60px 20px;
}

.faq-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #2c9991;
  position: relative;
  margin-bottom: 40px;
}


.faq-list details {
  background: #e6f0f0;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 18px;
  color: #2c9991;
  list-style: none;
  user-select: none;
  position: relative;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ← 左寄せに変更 */
  cursor: pointer;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 18px;
  color: #2c9991;
  list-style: none;
  user-select: none;
  position: relative;
  text-align: left; /* ← これも追加 */
}


.faq-icon {
  background-color: #2c9991;
  color: #fff;
  padding: 6px 12px;
  border-radius: 2px;
  margin-right: 12px;
  font-weight: bold;
}

.faq-question {
  flex: 1;
  margin-left: 8px;
}


.toggle-icon {
  font-size: 24px;
  font-weight: bold;
  margin-left: 10px;
  color: #2c9991;
  transition: transform 0.3s ease;
}

.faq-answer {
  background: #f1f7f7;
  padding: 20px;
  color: #444;
  line-height: 1.7;
  font-size: 16px;
      text-align: left;
}

/* 開いているときに + を - に変更 */
.faq-list details[open] > summary .toggle-icon {
  content: "-";
  transform: rotate(180deg);
}

.faq-list details[open] > summary .toggle-icon::before {
  content: "−"; /* 全角ハイフンで中央に揃える */
}


/*よくある質問*/
/* 見出し */
h2.form-title {
  color: #2c9991;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

/* フォーム全体中央寄せ */
.section-request

/* 入力フィールドスタイル */
.section-request .form-group {
  margin-bottom: 20px;
}

.section-request input[type="text"],
.section-request input[type="email"],
.section-request input[type="tel"],
.section-request select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* チェックボックス */
.section-request .checkbox label {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  gap: 8px;
}

/* ボタン */
.section-request .btn-submit {
  background-color: #26958d;
  color: white;
  font-weight: bold;
  padding: 12px 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.section-request .btn-submit:hover {
  background-color: #207f79;
}

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

/* 入力欄の中央揃え・幅調整 */
.section-request .request-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-request .form-group {
  width: 100%;
  max-width: 440px;
  margin-bottom: 20px;
}

/* ラベルを左寄せ */
.section-request label {
  text-align: left;
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

/* インプットとセレクトのスタイル（幅統一） */
.section-request input[type="text"],
.section-request input[type="email"],
.section-request input[type="tel"],
.section-request select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

/* チェックボックスも同じフォーム幅に */
.section-request .checkbox {
  max-width: 440px;
  width: 100%;
}

/* ボタン中央寄せ */
.section-request .center {
  width: 100%;
  display: flex;
  justify-content: center;
}
form.request-form {
    margin-top: 30px;
}

/*フッター*/
/* フッター全体 */
.site-footer {
  margin-top: 60px;
  font-family: sans-serif;
  color: #333;
}

.footer-top {
  padding: 30px 20px 20px;
  text-align: center;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

/* リンク横並び */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-links li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  position: relative;
  padding-bottom: 5px;
}

.footer-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #1f8b86;
}

/* 矢印 */
.footer-links .arrow {
  margin-left: 6px;
  color: #333;
  font-weight: normal;
}

/* 著作権表示 */
.footer-bottom {
  background-color: #2ca39b;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
}

section:last-of-type {
  padding-bottom: 0;
}

/* Surala My Storyとは セクション */
.section-about {
  background-color: #009688;
  padding: 80px 0;
}

.section-title {
  color: #FFD700; /* yellow */
  text-align: center;
  margin-bottom: 48px;
  font-size: 2.2rem;
  display: block;
}

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

.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* ←これで4つ均等に配置 */
  gap: 32px;
}

.about-item {
  flex: 1 1 calc(25% - 32px);
  max-width: 280px;
  text-align: center;
}

.about-title {
  color: #FFD700;
  font-size: 1.1rem;
  margin: 16px 0 8px;
  line-height: 1.6;
  font-weight: bold;
}

.about-text {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .about-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.fv {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.fv-image-wrap {
  position: relative;
  width: 100vw; /* 画面幅いっぱいに表示 */
  height: auto;
  overflow: hidden;
}

.fv-image {
  width: 100vw; /* ← ここを100%にすると逆に縮むケースあり */
  height: auto;
  display: block;
}

.fv-link {
  position: absolute;
  display: block;
  z-index: 10;
}


.link-request {
  top: 88%;
  left: 22.5%;
  width: 23%;
  height: 11%;
}

.link-consult {
  top: 87%;
  left: 55%;
  width: 23%;
  height: 12%;
}

@media screen and (max-width: 768px) {
  .fv-image-wrap {
    width: 100%;
  }

  .fv-image {
    width: 100%;
    height: auto;
  }

  .fv-link {
    width: 40%;
    height: 10%;
  }

  .link-request {
    top: 82%;
    left: 10%;
  }

  .link-consult {
    top: 82%;
    left: 50%;
  }

  .about-grid {
    flex-direction: column;
    gap: 20px;
  }

  .about-item {
    width: 100% !important;
    text-align: center;
  }

  .timeline {
    padding-left: 0;
  }

  .step {
    padding-left: 50px;
  }

  .flow-title {
    font-size: 20px;
    padding: 8px 20px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .step-content h4 {
    font-size: 18px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .section-request input[type="text"],
  .section-request input[type="email"],
  .section-request input[type="tel"],
  .section-request select {
    max-width: 100%;
  }

  footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer-logo {
    margin-bottom: 10px;
  }
}

/* モーダルのスタイル（スマホ用） */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}


.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
}

/* もともとのPC用レイアウト（変更なし） */
.header-buttons {
  display: flex;
  gap: 12px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .header-buttons {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: 10px;
  }

  .header-buttons a {
    width: auto;
    font-size: 14px;
    padding: 8px 16px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-logo img {
    max-width: 160px;
    height: auto;
  }
}

.scroll-hint-icon-wrap {
  z-index: 1000 !important;
  top: 0 !important;
}

.scroll-hint-text {
  font-size: 12px;
  color: #333;
}

/* ▼ スマホ用に上書き ▼ */
@media screen and (max-width: 767px) {
  .link-request {
        top: 88%;
        left: 7%;
        width: 36%;
        height: 11%;
    }

  .link-consult {
    top: 88%;
    left: 57%;
    width: 36%;
    height: 11%;
  }
}


h3.fv-lead {
    text-align: center;
    margin-top: 35px;
}



/* 位置（下部CTA等と干渉する場合は --cta-offset を上乗せ） */
:root{ --cta-offset: 0px; } /* 例：下部固定バーがあるなら 72px とかに */
.floating-cta{
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--cta-offset));
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* ボタン共通 */
.floating-cta__btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; min-width: 160px; border-radius: 999px;
  font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
  outline: none;
}
.floating-cta__btn--primary{ background:#1e9e8a; color:#fff; }
.floating-cta__btn--secondary{ background:#fee08b; color:#2a2a2a; }
.floating-cta__btn:hover{ transform: translateY(-2px); }
.floating-cta__btn:active{ transform: translateY(0); }
.floating-cta__btn:focus-visible{
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(30,158,138,.6);
}
.floating-cta__icon{ font-size: 18px; line-height: 1; }

/* スマホ：同じ右下に、だけど小さめ（邪魔にならない） */
@media (max-width: 768px){
  .floating-cta{
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + var(--cta-offset));
    gap: 8px;
  }
  .floating-cta__btn{
    min-width: auto;                 /* 幅固定を外す */
    padding: 10px 12px;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
  }
  .floating-cta__icon{ font-size: 16px; }
}

/* フッターに近づいたら少し持ち上げ（JSで .--lift を付与） */
.floating-cta.--lift{ bottom: calc(120px + var(--cta-offset)); }


/* =========================
   開発者インタビュー枠
========================= */
.developer-comment {
  position: relative;
  background-color: #fffbe7;   /* 元の淡い背景色 */
  border-radius: 16px;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  color: #333;
}

/* 写真を枠内で中央寄せ＆切れないように */
.developer-comment__photo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 420px;          /* 枠の中での最大幅（調整可） */
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;          /* 背景（元画像が小さい場合の補色） */
}

.developer-comment__photo img {
  width: 100%;
  height: auto;
  object-fit: contain;       /* トリミングせず全体を表示 */
  object-position: center;   /* 中央寄せ */
  border-radius: 12px;
}

/* 見出し＆本文 */
.developer-comment h4 {
  font-size: clamp(18px, 2vw, 22px);
  color: #e2b400;            /* 元の黄色系タイトル色 */
  margin-bottom: 16px;
}

.developer-comment p {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.8;
  margin-bottom: 1em;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .developer-comment__photo {
    max-width: 100%;
  }
}


/* ヘッダー全体（必要に応じて既存を上書き） */
.header {
  /* 既存の余白や背景はそのままでOK */
}

/* 中身をGridに：ロゴ / 余白 / CTA */
.header .header-inner{
  --brand-w: 180px; /* ロゴ分の幅（PC） 好みで調整 */
  display: grid;
  grid-template-columns: var(--brand-w) 1fr auto;
  align-items: center;
  column-gap: 16px;
}

/* ロゴは1列目に（あれば表示、無くてもカラムは残る） */
.header .logo{
  grid-column: 1;
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

/* 右側CTAは常に3列目・右寄せ */
.header .header-buttons{
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 12px;
}

/* ボタン体裁は既存を流用（例） */
.header .btn{
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

/* レスポンシブ：モバイルでロゴ幅を少し縮めるだけ（位置は固定のまま） */
@media (max-width: 768px){
  .header .header-inner{ --brand-w: 120px; }
}


/* 基本レイアウト */
.developer-comment {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* PCでは左右並びにして上端を揃える */
@media (min-width: 900px) {
  .developer-comment {
    flex-direction: row;
    align-items: flex-start; /* ← 上端を揃える */
    gap: 2rem;
  }

  .developer-comment__photo {
    flex: 0 0 40%;
  }

  .developer-comment__photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
  }

  .developer-comment__body {
    flex: 1;
  }

  .developer-comment__title {
    margin-top: 0; /* タイトルの上に余白があれば削除 */
  }
}


/* 最優先で縦積みにする（既存スタイルを打ち消す） */
.survey-result{
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem;                 /* 画像間の余白 */
  white-space: normal !important; /* nowrap対策 */
}

/* 念のための上書き（float/grid指定の無効化も） */
.survey-result img{
  display: block !important;
  width: 100%;
  max-width: 100%;
  float: none !important;     /* 既存のfloat対策 */
}


.voice-list {
  background: #13a3a0; /* Suralaの青緑 */
  color: #fff;
  padding: 24px 28px;
  border-radius: 12px;
  margin: 20px auto 40px;
  max-width: 780px;
  line-height: 1.7;
  font-size: 16px;
}

.voice-list ul {
  margin: 0;
  padding-left: 20px;
}

.voice-list li {
  margin-bottom: 12px;
}

.voice-list li:last-child {
  margin-bottom: 0;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .voice-list {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.8;
    margin: 16px auto 32px;
  }
}


/*生徒・先生の声*/
/* PC/タブレットでは 2カラム表示 */
.voices-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin-bottom: 40px;
}

.voice-block {
  display: flex;
  flex-direction: column;
}

.voice-img img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

/* 箇条書き */
.voice-list {
  background: #13a3a0;
  color: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  text-align: left; /* ← 箇条書きを左寄せ */
  line-height: 1.7;
}

.voice-list ul {
  padding-left: 20px;
  margin: 0;
}

.voice-list li {
  margin-bottom: 10px;
}

.voice-list li:last-child {
  margin-bottom: 0;
}

/* スマホ：1カラム（画像→箇条書き→画像→箇条書き） */
@media (max-width: 768px) {

  .voices-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .voice-img img {
    margin-bottom: 16px;
  }

  .voice-list {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 767px) {
  .case-video img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}

/* ▼ 16:9 固定 + 最大幅をSuralaの本文幅に合わせる */
.youtube-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;   /* ← 他の画像と同じ幅に統一 */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

/* ▼ iframe自体は常に容器いっぱいに広げる */
.youtube-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


@media screen and (max-width: 767px) {
  .youtube-wrap {
    max-width: 360px;
    margin: 0 auto;
  }
}

.youtube-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.youtube-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}

.youtube-thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← サムネイルが正方形にならず自然に表示 */
  top: 0;
  left: 0;
}

.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  background: url("/school/service/mystory/images/play.png") center center no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ▼スマホ調整 */
@media screen and (max-width: 767px) {
  .youtube-container {
    max-width: 360px;
  }
}
.youtube-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.youtube-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
