/* ===============================
メインビジュアル
================================ */
.mv {
  border-radius: 20px;
  max-width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .mv {
    border-radius: 30px;
    max-width: calc(100% - 60px);
    height: 800px;
    margin-top: 10px;
  }
}
.mv figure {
  margin: 0;
}
.object-fit-img {
  object-fit: cover;
  object-position: bottom;
  font-family: "object-fit: cover; object-position: bottom;";
}
.top {
  position: relative;
}
.mv__inner {
  padding: 50px 20px 255px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .mv__inner {
    padding-top: 110px;
    padding-bottom: 109px;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}
.flag_right {
  width: 200px;
  position: absolute;
  top: 0;
  right: 0;
}
.flag_left {
  width: 200px;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 640px) {
  .flag_right {
    width: 100px;
  }
}
@media screen and (max-width: 640px) {
  .flag_left {
    width: 100px;
  }
}
/* --- 背景スライド ------------------------------------------- */
.mv .bgImg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  animation: bgAnime 20s infinite; /* 4画像 × 各5s = 20s */
}

/* --- 段差で背景画像のアニメーションを実行 ----------------- */
.mv .src1 {
  background-image: url(../img/support/content4.jpg);
  background-position: center;
  background-size: cover; /* 背景の画像を指定 */
  object-fit: cover;
}
.mv .src2 {
  background-image: url(../img/support/hoiku11.jpg); /* 背景の画像を指定 */
  animation-delay: 5s;
  background-position: center;
  background-size: cover;
  object-fit: cover;
}
.mv .src3 {
  background-image: url(../img/support/hoiku14.jpeg); /* 背景の画像を指定 */
  animation-delay: 10s;
  background-position: center;
  background-size: cover;
  object-fit: cover;
}
.mv .src4 {
  background-image: url(../img/support/hoiku13.jpeg); /* 背景の画像を指定 */
  animation-delay: 15s;
  background-position: center;
  background-size: cover;
  object-fit: cover;
}

@keyframes bgAnime {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.mv__lead1,
.mv__lead2 {
  -webkit-font-feature-settings: "palt" on;
  font-feature-settings: "palt" on;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.2px;
  border-radius: 5px;
  background: #fff;
  padding: 10px;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .mv__lead1,
  .mv__lead2 {
    margin-left: 0;
    margin-right: 0;
    font-size: 38px;
    letter-spacing: 3.8px;
    padding: 12px 16px;
  }
}

.mv__lead2 {
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .mv__lead2 {
    margin-top: 14px;
  }
}

.mv__description {
  text-align: center;
  letter-spacing: 0.48px;
  font-weight: 700;
  margin-top: 26px;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9),
    -2px -2px 8px rgba(255, 255, 255, 0.9);
}
@media screen and (min-width: 768px) {
  .mv__description {
    text-align: left;
    font-size: 18px;
    letter-spacing: 0.54px;
    margin-top: 20px;
  }
}

.mv__button {
  margin-top: 22px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .mv__button {
    text-align: left;
    margin-top: 30px;
  }
}
.mv__image {
  position: absolute;
  right: 0;
  bottom: -108px;
  width: 100%;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .mv__image {
    width: 57.6923076923%;
    text-align: right;
    bottom: -88px;
    right: 30px;
  }
}
.mv__image img {
  width: 345px;
}
@media screen and (min-width: 768px) {
  .mv__image img {
    width: 600px;
  }
}

/* ===============================
自分のホイクができる
================================ */
.story-section {
  text-align: center;
  padding: 100px 20px;
  color: #444;
  background: url(../img/support/back.png) no-repeat;
}
.story-section-img {
  width: 250px;
  margin: 0 auto;
}
.story-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.story-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 27%;
  width: 120px;
  height: 3px;
  background: linear-gradient(to right, #f9b233, #ff7f50);
  transform: translateX(-50%);
  border-radius: 2px;
}

.story-text {
  font-size: 1.05rem;
  line-height: 2;
  color: #666;
  margin: 1.5em 0;
  text-align: center;
}

.highlight span {
  background: linear-gradient(transparent 70%, rgba(255, 170, 130, 0.4) 70%);
  color: rgb(255, 107, 0);
  font-weight: 700;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 30px;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .story-title {
    font-size: 1.5rem;
  }
  .highlight span {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  .story-section {
    padding: 60px 15px;
  }
  .story-title {
    font-size: 1.4rem;
  }
  .story-text {
    font-size: 0.95rem;
  }
  .highlight span {
    font-size: 16px;
  }
  .story-title::after {
    bottom: 39px;
    left: 23%;
  }
}
/* ===============================
こんな問題ありませんか？
================================ */
.problem {
  text-align: center;
  background: url(../img/support/nayami-back.png) center center / cover
    no-repeat;
}
.problem .title small {
  margin: 10px 0 5px;
  line-height: 1.4;
  display: block;
}
.problem_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
.problem_woman {
  position: absolute;
  right: 100px;
  top: 0;
  transform: translateY(-100%);
}
.problem_one {
  width: 340px;
  border-radius: 10px;
  background: #fff;
  padding: 40px 26px 26px;
  position: relative;
  margin-bottom: 30px;
  box-shadow: 0 12px 12px rgba(40, 47, 60, 0.3);
}
.problem_img {
  position: absolute;
  right: 20px;
  top: 20px;
}
.problem_ttl {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: left;
}
.problem_one p {
  font-size: 14px;
  text-align: left;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* iPad対応 */
  .problem_one {
    width: 300px;
  }
  .problem_list {
    justify-content: center;
    gap: 30px;
  }
}

/* ===============================
ホームページ制作特典
================================ */
.hp-offer-section {
  padding: 50px 20px;
  background: linear-gradient(180deg, #fff8f2 0%, #fff2ea 100%);
  border-radius: 18px;
  box-shadow: 0 12px 12px rgba(40, 47, 60, 0.3);
  max-width: 1100px;
  margin: 54px auto;
  position: relative;
  overflow: visible;
}

/* 内側コンテナ */
.hp-offer-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
  position: relative;
}

/* POINT バッジ */
.hp-offer-badge {
  position: absolute;
  top: -55px;
  left: 20px;
  background: linear-gradient(rgb(255, 107, 0) 0%, rgb(255, 140, 26) 100%);
  color: #fff;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.18);
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
  animation: badgePop 2.2s ease infinite;
  z-index: 6;
}
@keyframes badgePop {
  0% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-4px);
  }
  100% {
    transform: rotate(-4deg) translateY(0);
  }
}

/* テキスト部 */
.hp-offer-title {
  font-size: 1.45rem;
  margin: 0 0 10px 0;
  color: #2e2e2e;
  line-height: 1.3;
  font-weight: 800;
  margin-top: 30px;
}
.hp-offer-accent {
  background: linear-gradient(90deg, #fff2e6, #fff);
  color: #ff5a00;
  padding: 3px 8px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.09) inset;
  margin-left: 6px;
  font-weight: 900;
}

.hp-offer-lead {
  margin: 8px 0 16px 0;
  color: #444;
  font-size: 0.98rem;
}

/* 箇条書き */
.hp-offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  color: #444;
  font-weight: 600;
}
.hp-offer-list li {
  background: rgba(255, 122, 0, 0.06);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.96rem;
}

/* ノート */
.hp-offer-note {
  margin: 6px 0 18px 0;
  font-size: 0.92rem;
  color: #333;
}

/* CTA */
.hp-offer-ctas {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.hp-offer-cta {
  text-decoration: none;
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hp-offer-cta-primary {
  background: linear-gradient(rgb(255, 107, 0) 0%, rgb(255, 140, 26) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.18);
}
.hp-offer-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.22);
}

.hp-offer-cta-ghost {
  background: transparent;
  color: #ff6a2a;
  border: 2px solid rgba(255, 106, 42, 0.16);
}
.hp-offer-cta-ghost:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.06);
}

/* ビジュアル（SVG） */
.hp-offer-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-offer-illu {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(255, 138, 66, 0.12));
  transform-origin: center;
  animation: illuFloat 4.5s ease-in-out infinite;
}
@keyframes illuFloat {
  0% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
  100% {
    transform: translateY(0) rotate(-1deg);
  }
}

/* 小さい画面は縦積み */
@media (max-width: 920px) {
  .hp-offer-inner {
    grid-template-columns: 1fr;
  }
  .hp-offer-illu {
    width: 280px;
  }
  .hp-offer-badge {
    left: 2%;
    transform: translateX(-50%) rotate(-4deg);
    top: -43px;
  }
  .hp-offer-title {
    font-size: 1.28rem;
  }
}

/* モバイル微調整 */
@media (max-width: 420px) {
  .hp-offer-section {
    padding: 20px;
    border-radius: 12px;
    margin-top: 70px;
    margin-right: 10px;
    margin-left: 10px;
  }
  .hp-offer-illu {
    width: 220px;
  }
  .hp-offer-title {
    font-size: 1.05rem;
    margin-top: 20px;
  }
  .hp-offer-list li {
    font-size: 0.92rem;
    padding: 8px;
  }
  .hp-offer-ctas {
    justify-content: center;
  }
  .hp-offer-accent {
    padding: 0;
  }
}

/* ===============================
３ステップで学べる
================================ */
.curriculum {
  background: linear-gradient(to bottom, #fff7e6, #ffe0b3);
  text-align: center;
  padding: 50px 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}

.section-en {
  color: #bfa98a;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
}

/* --- ステップ全体 --- */
.steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- 各ステップカード --- */
.step {
  background: #f8f8f8;
  border-radius: 6px;
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  box-shadow: 0 12px 12px rgba(40, 47, 60, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- ステップヘッダー --- */
.step-header {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding: 12px 0;
  border-radius: 6px 6px 0 0;
  position: relative;
  text-align: center;
}

.step1 .step-header {
  background: #9bb8b3;
}
.step2 .step-header {
  background: #f2b48d;
}
.step3 .step-header {
  background: #f1a49a;
}

/* --- 本文部分 --- */
.step-body {
  padding: 30px 20px 20px;
}

.step-text {
  font-size: 18px;
  color: #344;
  line-height: 1.8;
  margin-bottom: 25px;
}
.step p {
  text-align: left;
  padding: 15px;
}
.step-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.icon {
  background: #fff;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid #ddd;
  color: #444;
}

.multiply {
  font-size: 20px;
  color: #777;
}

.step-note {
  font-size: 12px;
  color: #888;
  margin: 15px 0 25px;
}

/* --- ボタン --- */
.btn-wrap {
  margin-top: 50px;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #ff9158;
  color: #ff9158;
  border-radius: 40px;
  padding: 12px 40px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #ff9158;
  color: #fff;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .steps {
    flex-direction: flex;
    gap: 30px;
  }
  .step p {
    text-align: left;
  }
}
/* ===============================
講義内容
================================ */
.calendar {
  padding: 40px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border: 2px dashed #f2f2f2;
  background: linear-gradient(#f2f2f2 0 0) padding-box,
    linear-gradient(to right, #f2c94c 0%, #f2994a 100%) border-box;
}
.calendar_icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}
.calendar_ttl {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}
.calendar_ttl span {
  font-size: 24px;
  color: #d6761e;
}

.lecture-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.lecture {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 12px 0 rgba(40, 47, 60, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.lecture:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.1);
}

.lecture-img {
  flex-shrink: 0;
  width: 260px;
  height: 180px;
  object-fit: cover;
}

.lecture-content {
  flex: 1;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.lecture h3 {
  margin: 0;
  color: #ff8a3d;
  font-size: 20px;
  font-weight: 700;
}

.lecture p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

/* Lecture Icon */
.lecture-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #ffdca8, #ffb86b);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  position: absolute;
  top: -20px;
  left: 20px;
  box-shadow: 0 6px 15px rgba(255, 140, 60, 0.3);
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* iPad対応 */
  .lecture-list {
    margin-right: 20px;
    margin-left: 20px;
  }
}
/* ===============================
ホイクメイトだけの特典
================================ */
.feature {
  background: url(../img/support/back2.png) no-repeat;
  background-size: cover;
  background-position: center;
}
.feature_list {
  position: relative;
}

.feature_one {
  background: #fff;
  position: relative;
  padding: 40px;
  display: flex;
  margin-bottom: 40px;
  align-items: center;
  box-shadow: 0 12px 12px 0 rgba(40, 47, 60, 0.3);
}
.feature_illust {
  position: absolute;
  right: 200px;
  top: -60px;
}
.feature_content {
  width: 700px;
}
.feature_content h4 {
  color: #ff6900;
}
.feature_content p {
  text-align: left;
}
.feature_img {
  flex: 1;
  text-align: center;
}
.feature_header {
  display: flex;
  text-align: center;
  align-items: center;
  margin-bottom: 20px;
}
.feature_ttl {
  font-size: 24px;
  text-align: left;
}
.feature_num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff6b00 0%, #ff8c1a 100%);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 16px 0 0;
  margin-right: 20px;
}
.feature_num span {
  font-size: 38px;
  font-weight: bold;
  display: block;
}
.feature_points {
  display: flex;
  justify-content: space-between;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .feature_one {
    display: block;
    margin-right: 15px;
    margin-left: 15px;
  }
}
/* ===============================
SNSトータルサポート
================================ */
.sns-support-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgb(255, 107, 0) 0%, rgb(255, 140, 26) 100%);
  color: #fff;
  padding: 30px 20px 0px 20px;
}

/* 背景アニメーション */
.sns-support-bg::before,
.sns-support-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float-bg 8s ease-in-out infinite alternate;
}

.sns-support-bg::before {
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: #ffffff;
}

.sns-support-bg::after {
  bottom: -120px;
  right: -120px;
  width: 250px;
  height: 250px;
  background: #ffe8c6;
}

@keyframes float-bg {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(30px);
  }
}

/* コンテナ */
.sns-support-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

/* テキストエリア */
.sns-support-textarea {
  flex: 1 1 450px;
  animation: fade-in 1.2s ease forwards;
  opacity: 0;
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.sns-support-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.sns-support-title span {
  color: #fffde6;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sns-support-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #fffdf6;
}

/* イラスト */
.sns-support-illustration {
  flex: 1 1 400px;
  text-align: center;
  animation: float-illust 4s ease-in-out infinite alternate;
}

.sns-support-illustration img {
  width: 100%;
  height: auto;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .sns-support-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .sns-support-title {
    font-size: 1.5rem;
    text-align: left;
  }

  .sns-support-text {
    font-size: 1rem;
    text-align: left;
  }

  .sns-support-illustration img {
    max-width: 300px;
  }
  .sns-support-textarea {
    flex: 0px;
  }
  .sns-support-illustration {
    flex: 0px;
  }
}

@media (max-width: 480px) {
  .sns-support-section {
    padding: 20px 20px;
  }
  .sns-support-illustration {
    flex: 0px;
  }
  .sns-support-container {
    gap: 20px;
  }
  .sns-support-textarea {
    flex: 0px;
  }
}
/* ===============================
料金案内
================================ */
.price-section {
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 90%);
  padding: 100px 20px;
}

.price-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.price-title {
  font-size: 32px;
  font-weight: 800;
  color: #2b2b2b;
  margin-bottom: 16px;
}

.price-lead {
  color: #666;
  font-size: 16px;
  margin-bottom: 60px;
  line-height: 1.8;
}

.price-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 12px 0 rgba(40, 47, 60, 0.3);
  padding: 50px 30px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 5px dashed #ff9158;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(255, 145, 72, 0.25);
}

.price-header {
  margin-bottom: 30px;
}

.plan-name {
  font-size: 24px;
  color: #ff7a2d;
  font-weight: 700;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 36px;
  font-weight: 800;
  color: #2b2b2b;
}

.plan-price span {
  font-size: 18px;
  color: #888;
  margin-right: 5px;
}

.plan-term {
  font-size: 15px;
  color: #666;
  margin-top: 6px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  text-align: left;
  max-width: 600px;
  margin-inline: auto;
}

.plan-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #555;
  font-size: 15.5px;
  line-height: 1.8;
}

.plan-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ff914d;
  font-weight: bold;
}

.price-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ffb86b, #ff914d);
  color: #fff;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 145, 72, 0.25);
  transition: all 0.3s ease;
}

.price-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 145, 72, 0.35);
}

/* iPad Air対応 */
@media (min-width: 820px) and (max-width: 1180px) {
  .price-card {
    padding: 40px 20px;
  }
  .plan-price {
    font-size: 32px;
  }
}

/* スマホ対応 */
@media (max-width: 820px) {
  .price-title {
    font-size: 26px;
  }
  .plan-price {
    font-size: 20px;
  }
  .plan-name {
    font-size: 22px;
  }
  .plan-features li {
    font-size: 14.5px;
  }
  .price-btn {
    padding: 12px 30px;
  }
  .price-section {
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 90%);
    padding: 50px 20px 10px;
  }
}

/* ===============================
ホイクメイトってどんなサービス？
================================ */

.about {
  padding: 100px 20px;
  background: #fffaf7;
  font-family: "Noto Sans JP", sans-serif;
  color: #444;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  margin: 0 auto;
}

/* --- 左側：マトリクス --- */
.chart {
  position: relative;
  width: 450px;
  height: auto;
  border: 2px dashed #ff9158;
  background: #fff;
}

.chart-item {
  position: absolute;
  font-size: 14px;
  color: #777;
}

.top-left {
  top: 20px;
  left: 30px;
}
.bottom-left {
  bottom: 30px;
  left: 30px;
}
.top-right {
  top: 20px;
  right: 30px;
}
.bottom-right {
  bottom: 30px;
  right: 30px;
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.logo-circle {
  width: 80px;
  height: 80px;
  background: #ffe6d0;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #ff9158;
}

/* --- 右側テキスト --- */
.about-subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  text-align: left;
}

.feature-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
  line-height: 1.6;
}

.feature-list li::before {
  content: "✔";
  color: #ff9158;
  position: absolute;
  left: 0;
  top: 0;
}

/* --- 統計ボックス --- */
.stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-box {
  background: #fff;
  border: 1px solid #ffe0c2;
  border-radius: 10px;
  flex: 1;
  min-width: 160px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 12px 0 rgba(40, 47, 60, 0.3);
}

.stat-label {
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 24px;
  color: #ff9158;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-value span {
  font-size: 32px;
}

.stat-note {
  font-size: 12px;
  color: #888;
}
.media {
  /**background: #f5f3f1;**/
  padding: 100px 20px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

.media-title {
  font-size: 26px;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 500;
}
.media-section {
  margin-top: 30px;
  margin-bottom: 60px;
}
.media-list {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
}

.media-item {
  width: 600px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item img {
  width: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 12px 12px rgba(40, 47, 60, 0.3);
}

/* 傾き効果 */
.tilt-left {
  transform: rotate(-6deg);
}

.tilt-right {
  transform: rotate(6deg);
}

/* ホバーアニメーション */
.media-item:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 12px 12px rgba(40, 47, 60, 0.3);
}

/* ===============================
レスポンシブ
================================ */

/* ipad */
@media (max-width: 980px) {
  .lecture {
    flex-direction: column;
    text-align: center;
  }
  .lecture-img {
    width: 100%;
    height: 220px;
  }
  .lecture-content {
    padding: 20px 16px;
  }
  .problem_woman {
    /* display: none; */
    width: 150px;
    right: 0;
  }
}
/* スマホ */
@media (max-width: 768px) {
  .media-list {
    flex-direction: column;
    align-items: center;
  }
  .problem_woman {
    /* display: none; */
    width: 60px;
    right: 0;
  }
  .lecture p {
    text-align: left;
  }
  .media {
    /**background: #f5f3f1;**/
    padding: 30px 20px;
  }
  .media h2 {
    font-size: 19px;
  }
  .section-title {
    font-size: 19px;
  }

  .media-item {
    width: 70%;
    transform: rotate(0deg);
  }
  .chart {
    width: auto;
  }
  .about {
    padding: 50px 20px;
  }
  .about h2 {
    font-size: 19px;
  }

  .img5 {
    width: 70px;
  }
  .calendar_ttl {
    font-size: 16px;
    text-align: left;
  }
  .calendar_ttl span {
    font-size: 20px;
  }
  .feature_illust {
    right: 50px;
    width: 40px;
    top: -20px;
  }
  .feature_one {
    padding: 20px;
    display: block;
    margin-bottom: 20px;
  }
  .feature_num {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    padding-top: 14px;
    font-size: 12px;
  }
  .feature_ttl {
    width: calc(100% - 70px);
    text-align: left;
    font-size: 20px;
    line-height: 1.2;
  }
  .feature_num span {
    font-size: 24px;
  }
  .feature_content {
    width: 100%;
    margin-bottom: 20px;
  }
  .feature_points {
    flex-wrap: wrap;
    justify-content: center;
  }
  .feature_points > li {
    width: 48%;
    margin: 0 1% 2%;
  }
  .slider {
    height: 340px;
  }
}

/* ===============================
料金案内
================================ */

/* ===============================
料金案内
================================ */
/* 共通 */
.scroll-infinity {
  overflow: hidden;
  width: 100%;
}

.scroll-infinity__wrap {
  display: flex;
  white-space: nowrap;
  margin-top: 10px;
}

/* リスト */
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各アイテム */
.scroll-infinity__item {
  flex: 0 0 auto;
  width: 28vw; /* スマホ：1枚が画面の約1/3 */
  max-width: 250px; /* PCで大きくなりすぎるの防止 */
  height: 160px;
  margin-right: 16px;
}

.scroll-infinity__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 12px 12px rgba(40, 47, 60, 0.25);
}

/* アニメーション（左流れ） */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s linear infinite;
}

/* アニメーション（右流れ） */
@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.scroll-infinity__list--right {
  animation: infinity-scroll-right 40s linear infinite;
}

/* ===== PCレイアウト調整 ===== */
@media screen and (min-width: 768px) {
  .scroll-infinity__item {
    width: 16vw; /* PCでは1段に6枚程度見せる */
    height: 200px;
  }
}

@media screen and (min-width: 1024px) {
  .scroll-infinity__item {
    width: 12vw;
    height: 240px;
  }
}
