html {
  scroll-behavior: smooth;
}
.intro-animation-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.97);
  align-items: center;
  transition: opacity 0.4s;
}

.intro-animation-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

.intro-animation-box {
  background: #fff;
  border-radius: 22px;
  padding: 24px 24px 48px 24px;
  width: 320px;
  max-width: 92vw;
  height: 320px;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 動画または画像をコンパクト＆中央 */
.intro-animation-video {
  width: 100%;
  height: 100%;
  max-width: 220px;
  max-height: 220px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fff;
}

/* スキップボタン */
.intro-skip-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #ffffff;
  color: #fff;
  font-size: 1em;
  border: none;
  border-radius: 18px;
  padding: 7px 24px;
  cursor: pointer;
  opacity: 0.92;
  transition: background 0.2s;
}
.intro-skip-btn:hover {
  background: #ffffff;
}
/* モーダルの全画面オーバーレイ */
.modal-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.18);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* モーダル本体 */
.modal-window {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px 22px 24px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 32px #0003, 0 2px 8px #0001;
  position: relative;
  animation: modal-in 0.19s cubic-bezier(.43,1.44,.67,1.07);
}

/* アニメーション */
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92);}
  to   { opacity: 1; transform: scale(1);}
}

/* モーダル内タイトル */
.modal-title {
  font-size: 1.28em;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-align: center;
}

/* サマリー */
.modal-summary {
  margin-bottom: 16px;
  font-size: 1em;
}

/* 同意ボックス */
#modal-agree {
  transform: scale(1.15);
  margin-right: 4px;
  accent-color: #22a;
}
#open-terms {
  cursor: pointer;
  text-decoration: underline;
  color: #127;
  transition: color 0.13s;
}
#open-terms:hover {
  color: #d11;
}

/* ボタン類 */
.modal-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}
.modal-btns button,
.modal-close-btn {
  padding: 8px 28px;
  font-size: 1em;
  border-radius: 20px;
  border: none;
  background: rgb(51, 225, 225);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 8px #0001;
  transition: background 0.12s, transform 0.13s;
}
.modal-btns button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #aaa;
}
.modal-btns .modal-cancel {
  background: #ccc;
  color: #222;
}
.modal-close-btn {
  background: #fff;
  color: #d11;
  border: 1.5px solid #d11;
  margin-top: 2px;
}
.modal-close-btn:hover {
  background: #fee;
  color: #b00;
  border-color: #b00;
  transform: scale(1.05);
}
.modal-btns button:hover:not(:disabled) {
  background: #035;
  color: #fff;
  transform: scale(1.06);
}
.modal-btns .modal-cancel:hover {
  background: #bbb;
  color: #111;
}

/* 契約事項内タイトル */
.terms-title {
  font-size: 1.08em;
  color: #157;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .modal-window {
    min-width: 92vw;
    padding: 18px 7vw 18px 7vw;
  }
  .modal-title {
    font-size: 1.07em;
  }
  .modal-btns {
    flex-direction: column;
    gap: 8px;
  }
}


/* --- レスポンシブ調整 --- */
@media (max-width: 950px) {
  .plans-list {
    gap: 2vw;
  }
}
@media (max-width: 650px) {
  .plans-list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .plan-card {
    max-width: 90vw;
    min-width: 0;
    width: 100%;
    padding: 6vw 5vw;
  }
}


.webpro-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: transparent;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
}

.webpro-menu-btn {
  width: 38px; height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
}
.webpro-menu-bar {
  width: 22px;
  height: 4px;
  background: #222;
  border-radius: 2px;
  margin: 2px 0;
  transition: all 0.3s cubic-bezier(.4,2,.5,.9);
}
.webpro-menu-btn.open .webpro-menu-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.webpro-menu-btn.open .webpro-menu-bar:nth-child(2) {
  opacity: 0;
}
.webpro-menu-btn.open .webpro-menu-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.webpro-menu-drawer {
  position: fixed;
  top: 56px; right: 0; left: 0;
  background: #fff;
  box-shadow: 0 2px 32px #0002;
  padding: 150px 0;
  min-height: 60vh;
  z-index: 1000;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1), transform 0.36s cubic-bezier(.4,2,.5,.9);
}
.webpro-menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.webpro-menu-drawer ul {
  margin: 0; padding: 0;
  list-style: none;
}
.webpro-menu-drawer li {
  margin: 16px 0;
}
.webpro-menu-drawer a {
  font-size: 1.1rem;
  color: #222;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.06em;
}
.webpro-menu-drawer a:hover {
  color: #1e90ff;
}

/* イントロ */
.home-intro {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-intro-card-wrapper {
  position: relative;
  width: 300px;
  aspect-ratio: 1 / 1;
}

.home-intro-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #9f9f9f;
  border-radius: 16px;
  transform: translateX(15px) rotate(6deg);
  z-index: 0;
  animation: home-intro-sway 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-intro-mask-text {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(90deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.08;
  transform: rotate(-6deg);
}

@keyframes home-intro-sway {
  0%, 100% {
    transform: translateX(15px) rotate(6deg);
  }
  50% {
    transform: translateX(25px) rotate(6deg);
  }
}

.home-intro-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  z-index: 1;
  opacity: 0;
  transform: translateY(0);
  padding: 1.5rem;
  text-align: center;
  box-sizing: border-box;
  color: #000;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.home-intro-card1 {
  background-image: url('/images/h-i1.png');
}
.home-intro-card2 {
  background-image: url('/images/h-i2.png');
}
.home-intro-card3 {
  background-image: url('/images/h-i3.png');
}

.home-intro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  z-index: 0;
}

.home-intro-card > * {
  z-index: 1;
}

.home-intro-card.show {
  animation: home-intro-showThenFade 5s ease-in-out forwards;
}

@keyframes home-intro-showThenFade {
  0%, 40% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-80px);
  }
}

.webpro-intro-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-width: 320px;
  overflow: visible;
  background: transparent;
}
.webpro-intro-corner-image {
  position: absolute;
  top: 0.8em;
  left: 1.2em;
  width: 160px;    /* サイズ調整OK */
  z-index: 10;
  border-radius: 1em;
  background: transparent;
  padding: 0.18em;
  transition: box-shadow .18s, transform .18s;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* はみ出し防止 */
  flex-direction: column;
}

.webpro-intro-corner-image:hover {
  box-shadow: 0 8px 24px #36e6ae22;
  transform: scale(1.55) rotate(-3deg);
}

/* --- テキストマスク部分 --- */
.webpro-intro-corner-image .mask-text {
  font-size: 2.6rem;
  font-weight: 700;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: .07em;
  background: url("/images/i.png") center/cover no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  user-select: none;
}


.webpro-intro-content.card > * {
  position: relative;
  z-index: 2;
    text-shadow:
    0 2px 10px #fff,
    0 1.5px 8px #0003;
}

.webpro-intro-content.card::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: transparent;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

@keyframes border-gradient-ani {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


.webpro-intro-content.card.is-center {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  background: transparent;
}



.webpro-intro-lead,
.webpro-intro-desc {
  text-align: center;
}
.webpro-intro-title {
  font-size: clamp(1.3rem, 2.6vw, 2.3rem);
}
.webpro-intro-lead,
.webpro-intro-desc {
  font-size: clamp(1.0rem, 1.8vw, 1.18rem);
}
@media (max-width: 800px) {
  .webpro-intro-content.card {
    width: 44vw;
    height: 44vw;
    max-width: 340px;
    max-height: 340px;
    min-width: 160px;
    min-height: 160px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 4vw 2vw;
  }
}

@media (max-width: 480px) {
  .webpro-intro-content.card {
    width: 66vw;
    height: 66vw;
    max-width: 260px;
    max-height: 260px;
    min-width: 120px;
    min-height: 120px;
    padding: 4vw 2vw;
  }
}

@media (max-width: 800px) {
  .webpro-intro-title {
    font-size: clamp(1.0rem, 4vw, 1.5rem);
  }
  .webpro-intro-lead,
  .webpro-intro-desc {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
}
.webpro-scroll-container {
  height: 100vh;
  overflow-y: auto;
  /* 他のstyleがあってもOK */
}

/* --- Ticker（下部スクロールテキスト） --- */
.webpro-intro-bottom-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2em;
  width: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  height: 3.5em;
  display: flex;
  align-items: center;
  background: transparent;
  white-space: nowrap;
}

.webpro-intro-bottom-ticker span {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-size: 3rem;
  color: #7b7b7b;
  opacity: 0.88;
  font-family: 'Roboto Mono', 'Menlo', 'Consolas', monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.webpro-intro-bottom-ticker-invert {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.7em;
  width: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  height: 3.5em;
  display: flex;
  align-items: center;
  background: transparent;
  white-space: nowrap;
  transform: scaleY(-1);
}

.webpro-intro-bottom-ticker-invert span {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-size: 3rem;
  color: #7b7b7b;
  opacity: 0.88;
  font-family: 'Roboto Mono', 'Menlo', 'Consolas', monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}



/* puran */
.wave-divider-top {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}
.wave-divider-top svg {
  display: block;
  width: 100%;
  height: 64px;
}

.webpro-plan-section {
  width: 100vw;
  padding: 6vw 0 7vw 0;
  text-align: center;
}

.plan-title-area {
  margin-bottom: 2em;
}
.plan-title {
  font-size: 2.2rem;
  margin-bottom: 0.3em;
  font-weight: bold;
  letter-spacing: 0.03em;
  color: #e4e4e4;
}
.plan-lead {
  font-size: 1.2rem;
  color: #e4e4e4;
}

.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
}

.plan-card {
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 8px 32px #0001, 0 1.5px 4px #0002;
  padding: 2em 1.5em 2.4em 1.5em;
  width: 100%;
  max-width: 350px;
  min-width: 220px;
  flex: 1 1 300px;
  margin: 0;
  border: 1.2px solid #e6e8eb;
  text-align: left;
  color: #222;
  z-index: 6;
  transition: 
    box-shadow 0.5s cubic-bezier(.5,1.6,.4,1), 
    transform 0.5s cubic-bezier(.5,1.6,.4,1);
  position: relative;
}

.plan-card__head {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.4em;
}
.plan-card__price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #1a202c;
}
.plan-card__small {
  font-size: 1.1rem;
  font-weight: normal;
  color: #666;
}
.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
}
.plan-card__features li {
  margin-bottom: 0.6em;
  font-size: 1.1rem;
  color: #333;
}

.plan-card.hover,
.plan-card:hover {
  box-shadow: 0 12px 32px #3772ee33, 0 1.5px 8px #3772ee22;
  transform: translateY(-12px) scale(1.035);
  z-index: 10;
  border: 1.6px solid #3772ee;
}

/* ライト（黄系） */
.plan-card--light.hover,
.plan-card--light:hover {
  box-shadow: 0 12px 32px #00ff3744, 0 1.5px 8px #00ff5144;
  border: 1.8px solid #17783c;
  background: #7aff22;
  color: #146131;
}


/* ベーシック（青系） */
.plan-card--basic.hover,
.plan-card--basic:hover {
  box-shadow: 0 12px 32px #1a237e44, 0 1.5px 8px #23337744; /* 濃い青の影 */
  border: 1.8px solid #1a237e;    /* ダークブルー（インディゴ/ネイビー） */
  background: #22e9ff;            /* 濃いブルー（例：#2531a5, #1a237e, #223e72などもおすすめ） */
  color: #fff;                    /* 濃い青には白字が映えます */
}



/* プレミアム（金系や赤みブラウン） */
.plan-card--premium.hover,
.plan-card--premium:hover {
  box-shadow: 0 12px 32px #ffbb0088, 0 1.5px 8px #ffc80044;
  border: 1.8px solid #a6842a;
  background: #fbff16;
  color: #7d5a15;
}

.plan-card {
  position: relative; /* リボン配置のため */
}

.plan-card__ribbon {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #3772ee;
  color: #fff;
  padding: 0.32em 1.2em;
  border-radius: 1.5em;
  font-size: 1.02rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px #0001;
  z-index: 3;
  user-select: none;
}

.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
}
.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.7em;
  font-size: 1.12rem;
  color: #222;
}

.plan-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
}

.plan-card--light .plan-check-icon svg circle { fill: #6dd66c; }
.plan-card--basic .plan-check-icon svg circle { fill: #3772ee; }
.plan-card--premium .plan-check-icon svg circle { fill: #b39713; }
.plan-card__btn {
  display: block;
  width: 100%;
  margin-top: 1.4em;
  padding: 0.85em 0;
  border-radius: 2em;
  font-size: 1.13rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #3772ee 40%, #2dbd6e 100%);
  box-shadow: 0 3px 14px #3772ee1a;
  border: none;
  text-align: center;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.17s;
  outline: none;
  user-select: none;
}

.plan-card__btn:hover,
.plan-card__btn:focus {
  background: linear-gradient(90deg, #2dbd6e 10%, #3772ee 90%);
  box-shadow: 0 6px 22px #2dbd6e33;
  transform: translateY(-3px) scale(1.03);
  color: #fff;
}

.plan-card--light .plan-card__btn {
  background: linear-gradient(90deg, #6dd66c 40%, #92d100 100%);
}
.plan-card--light .plan-card__btn:hover {
  background: linear-gradient(90deg, #92d100 10%, #6dd66c 90%);
}

.plan-card--basic .plan-card__btn {
  background: linear-gradient(90deg, #3772ee 40%, #1ac3d8 100%);
}
.plan-card--basic .plan-card__btn:hover {
  background: linear-gradient(90deg, #1ac3d8 10%, #3772ee 90%);
}

.plan-card--premium .plan-card__btn {
  background: linear-gradient(90deg, #b39713 40%, #ffd700 100%);
  color: #7d5a15;
}
.plan-card--premium .plan-card__btn:hover {
  background: linear-gradient(90deg, #ffd700 10%, #b39713 90%);
  color: #a6842a;
}



/* puran詳細 */
body { margin: 0; background: #fafafc; }
.webpro-plan-section {
  background: #232323;
  min-height: 80vh;
  z-index: 1;
  position: relative;
}

.webpro-plan-detail-section {
  position: relative;
  z-index: 2;
  min-height: 310vh; /* sticky区間の長さ！必要に応じて増減OK */
}


.plan-detail-sticky {
  position: sticky;
  top: 0;
  border-radius: 1.2em;
  padding: 1.4em 1em 1.7em 1em;
  margin: 0 auto;
  max-width: 260px;
  min-height: 30vh;
  z-index: 1;
  transition: box-shadow 0.3s;
  display: flex;              /* ←追加 */
  flex-direction: column;     /* ←追加（縦積み） */
  justify-content: center;    /* ←追加（縦中央） */
  align-items: center;        /* ←追加（横中央） */
}

.plan-detail-sticky.is-unpinned {
  position: static !important;
}


/* ↓下から浮かせる紹介セクション */
.webpro-feature-section {
  position: relative;
  z-index: 10;
  min-height: 120vh;
  background: #fafafc;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* puran詳細 */
body { margin: 0; background: #fafafc; }
.webpro-plan-section {
  background: #232323;
  min-height: 80vh;
  z-index: 1;
  position: relative;
}

.webpro-plan-detail-section {
  position: relative;
  min-height: 210vh; /* これでsticky期間を調整 */
  z-index: 2;
  overflow: visible;
}
.plan-detail-sticky {
  position: sticky;
  top: 0;
  border-radius: 1.2em;
  padding: 3em 2em 4em 2em;
  margin: 0 auto;
  max-width: 700px;
  min-height: 60vh;
  z-index: 10;
  transition: box-shadow 0.3s;
}



.feature-content {
  max-width: 700px;
  padding: 3em 2em;
  font-size: 1.25rem;
  box-shadow: 0 2px 16px #0001;
  background: #fff;
  border-radius: 1.4em;
  transform: translateY(80px);
  opacity: 0;
  transition: 0.8s cubic-bezier(.6,.2,.2,1);
}

.feature-content.is-visible {
  transform: translateY(0);
  opacity: 1;
}



/* プラン詳細 */
.black-border {
  display: inline-block;
  border: 1.4px solid #222;
  padding: 0.15em 0.7em;
  background: #fff;
  color: #222;
  font-weight: 600;
  box-sizing: border-box;
  font-size: 1em;
  margin-right: 0;
  margin-bottom: 0;
}

.plan-detail-title-area {
  text-align: left;
  margin-bottom: 1.3em;
  padding-left: 0.2em;
}

.plan-detail-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #232323;
  line-height: 1.25;
  margin-top: 6em;
}

.plan-detail-message {
  font-size: 0.92em;
  background: #eaeaea;
  border-radius: 3em;
  color: #219bf9;
  line-height: 1.2;
  max-width: 320px;
  margin: 0;
  text-align: center;
  padding-left: 0.2em;
  opacity: 0;
  transform: translateX(-180px) scale(1.25);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(.2,1.4,.4,1),
    transform 0.7s cubic-bezier(.2,1.4,.4,1),
    filter 0.45s cubic-bezier(.2,1.4,.4,1);
}

.plan-detail-message.is-inview {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}


.black-border.black-bg {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* 紹介 */
.webpro-feature-section {
  padding: 9em 0 3em 0;
  background: #29ffdb;
  color: rgb(0, 0, 0);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  z-index: 10;
  min-height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -65vh;
}

.zigzag-layout {
  display: flex;
  flex-direction: column;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.zigzag-item {
  display: flex;
  width: 100vw;
}

.zigzag-item.left {
  justify-content: flex-start;
  padding-left: 9vw;
}
.zigzag-item.right {
  justify-content: flex-end;
  padding-right: 9vw;
}

.zigzag-inner {
  text-align: center;
  max-width: 320px;
  margin: 0 2vw;
}

.zigzag-title {
  position: relative;
  z-index: 10;
  font-size: 1.7rem;              /* ちょっと大きめ */
  color: #444444;                    /* 初期色 */
  opacity: 0;
  transform: translateX(-80px) rotate(-12deg);
  transition: 
    opacity 0.7s cubic-bezier(.4,1,.5,1),
    transform 0.7s cubic-bezier(.4,1,.5,1),
    color 0.5s;
  font-family: 'Baloo 2', 'M PLUS Rounded 1c', 'Arial Rounded MT Bold', 'Kosugi Maru', 'Noto Sans JP', sans-serif;
  font-weight: 900;                /* 太字 */
  letter-spacing: 0.08em;          /* 文字間広め */
  text-shadow: 0 4px 16px #fffd, 0 1.5px 0 #2228, 1px 2px 0 #fffa; /* 影でポップ感UP */
  border-radius: 1.2em;            /* 丸み */
  padding: 0.12em 1em;
  background: linear-gradient(90deg, #ffce44 10%, #fa43b8 80%);
  box-decoration-break: clone;     /* 行送りで装飾が切れない */
  -webkit-box-decoration-break: clone;
}

.zigzag-title.is-inview {
  opacity: 1;
  transform: translateX(0) rotate(-12deg);
  color: #ffffff;                    /* 白く際立たせるなら */
  background: linear-gradient(90deg, #fffd82 20%, #5be2ff 95%);
  text-shadow: 0 2px 16px #fff9, 0 1.5px 0 #fa43b8, 1px 2px 0 #3333;
}


.zigzag-inner img {
  width: 100%;
  height: auto;
  border-radius: 1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.zigzag-inner img:hover {
  transform: scale(1.05);
}


/* テーブル */
.plan-table-section-full {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  width: 100vw;
  box-sizing: border-box;
}

.plan-table-title {
  font-family: 'M PLUS Rounded 1c', 'Baloo 2', 'Arial Rounded MT Bold', 'Kosugi Maru', sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: #00a95f;
  letter-spacing: 0.08em;
  margin-bottom: 2em;
  text-shadow: 0 4px 18px #b1ffbc, 0 2px 0 #fff;
  border-radius: 1.5em;
  padding: 0.3em 1.5em;
  background: linear-gradient(90deg, #e9ffe2 60%, #d1fff6 100%);
  box-shadow: 0 4px 32px #baffbe8c, 0 2px 4px #a2ffc6;
  display: inline-block;
  border: 2.5px solid #5be889;
}

.plan-table-scroll {
  width: 100vw;
  max-width: 100vw;
  overflow-x: auto;
  display: flex;
  justify-content: center;
}

.plan-table {
  margin: 0 auto;
  min-width: 360px;
  max-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fafff7e6;
  box-shadow: 0 6px 28px #adfbb677, 0 1.5px 4px #b3ffd866;
  border-radius: 2em;
  font-size: 1.04rem;
  font-family: 'M PLUS Rounded 1c', 'Baloo 2', 'Arial Rounded MT Bold', 'Kosugi Maru', sans-serif;
  overflow: hidden;
  border: 2px solid #b9e9d3;
}

.plan-table th, .plan-table td {
  padding: 0.85em 0.8em;
  border-bottom: 2px solid #c5ebcc77;
  text-align: center;
  background: transparent;
  font-weight: 700;
}

.plan-table th {
  background: #e9ffe2;
  color: #14c969;
  font-size: 1.11rem;
  letter-spacing: 0.03em;
  border-right: 2px solid #e2ffe3;
  border-bottom: 2px solid #b9fbb6;
  font-family: inherit;
}

.plan-table thead th {
  background: linear-gradient(90deg, #bcffca 40%, #b7ffe3 100%);
  color: #fff;
  font-size: 1.24rem;
  text-shadow: 0 1px 12px #c0ffde;
  border-bottom: 4px solid #60e276;
  border-top: 2px solid #d6ffd8;
  letter-spacing: 0.11em;
  font-family: inherit;
  position: relative;
}

/* アイコン＋ラベルの2行 */
.plan-table thead th .plan-icon {
  font-size: 1.6em;
  line-height: 1;
  margin-bottom: 0.12em;
  display: block;
  text-shadow: 0 2px 14px #c6ffd7;
}

.plan-table thead th .plan-label {
  display: block;
  font-size: 1.07em;
  font-weight: bold;
  letter-spacing: 0.07em;
  margin-top: 0.08em;
}

.plan-table thead th.light .plan-label { color: #48ba1e; }
.plan-table thead th.basic .plan-label { color: #1cc9b7; }
.plan-table thead th.premium .plan-label { color: #bfae01; }

.plan-table td.light {
  color: #1ca700;
  background: #e6ffd6;
  border-radius: 1em;
  box-shadow: 0 2px 10px #93ffb333 inset;
}
.plan-table td.basic {
  color: #0bbf7d;
  background: #d8fff5;
  border-radius: 1em;
  box-shadow: 0 2px 10px #b3fff133 inset;
}
.plan-table td.premium {
  color: #a0a800;
  background: #fffad6;
  border-radius: 1em;
  box-shadow: 0 2px 10px #ffe98055 inset;
}

.plan-table tr:last-child td,
.plan-table tr:last-child th {
  border-bottom: none;
}

.plan-table th:first-child,
.plan-table td:first-child {
  border-left: none;
}

.plan-table td, .plan-table th {
  transition: background 0.4s, color 0.4s;
}

/* ボタン風ホバー（オプション） */
.plan-table td:hover {
  background: #d7ffe4;
  cursor: pointer;
}
.plan-table-notice {
  margin-top: 2.2em;
  margin-left: auto;       /* ←中央寄せ */
  margin-right: auto;      /* ←中央寄せ */
  padding: 1.1em 1.6em 1.2em 2.1em;
  background: linear-gradient(90deg, #eaffef 70%, #e5fff9 100%);
  border-radius: 1.1em;
  box-shadow: 0 2px 14px #b2ffdd33;
  font-family: 'M PLUS Rounded 1c', 'Baloo 2', 'Arial Rounded MT Bold', 'Kosugi Maru', sans-serif;
  color: #188947;
  font-size: 1.09em;
  max-width: 580px;
  width: 95vw;
  border-left: 5px solid #00e595;
}


@media (max-width: 600px) {
  .plan-table-notice {
    font-size: 0.93em;
    padding: 0.6em 0.4em 0.8em 1.2em;
    max-width: 98vw;
    margin-right: 0;    /* スマホでは右端まで */
  }
}


.plan-table-notice ul {
  padding: 0 0 0 1.1em;
  margin: 0;
  list-style: disc;
}

.plan-table-notice li {
  margin-bottom: 0.32em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .plan-table-notice {
    font-size: 0.93em;
    padding: 0.6em 0.4em 0.8em 1.2em;
    max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .plan-table-section-full {
    min-height: 100vh;
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .plan-table-title {
    font-size: 1.4rem;
    margin-bottom: 1em;
    padding: 0.3em 1em;
  }
  .plan-table {
    min-width: 280px;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .plan-table-title {
    font-size: 1.09rem;
    margin-bottom: 0.6em;
    padding: 0.2em 0.7em;
  }
  .plan-table {
    min-width: 160px;
    font-size: 0.90rem;
  }
}

 /* お問合せ */
 .contact-link-section-pop {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #e8fff3 60%, #f0fff9 100%);
  padding: 5em 0 3em 0;
}

.contact-link-title-pop {
  font-family: 'M PLUS Rounded 1c', 'Baloo 2', 'Arial Rounded MT Bold', 'Kosugi Maru', sans-serif;
  font-size: 2.1rem;
  color: #00b37a;
  font-weight: 900;
  margin-bottom: 0.5em;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #ffffff 60%, #ffffff 100%);
  padding: 0.24em 1.2em;
  box-shadow: 0 2px 12px #b3ffd866;
  display: inline-block;
}

.contact-link-lead-pop {
  color: #00a15f;
  font-size: 1.16rem;
  margin-bottom: 1.5em;
  text-align: center;
  font-family: 'Kosugi Maru', sans-serif;
}

.contact-link-btn-pop {
  display: inline-block;
  padding: 1em 2.3em;
  font-size: 1.19em;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #19e68c 40%, #00c3a7 100%);
  border-radius: 2em;
  box-shadow: 0 4px 16px #b3ffd855;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  margin-bottom: 1.6em;
  font-family: 'M PLUS Rounded 1c', 'Baloo 2', 'Kosugi Maru', sans-serif;
}
.contact-link-btn-pop:hover {
  background: linear-gradient(90deg, #00c3a7 20%, #19e68c 100%);
  box-shadow: 0 8px 26px #b3ffd866;
  transform: scale(1.045);
  color: #fff;
}

.contact-link-note-pop {
  color: #019361;
  font-size: 0.97em;
  margin-top: 0.2em;
  background: #eaffef;
  border-radius: 0.8em;
  padding: 0.7em 1.2em;
  box-shadow: 0 1px 8px #b3ffd833;
  text-align: center;
  max-width: 370px;
}

@media (max-width: 600px) {
  .contact-link-title-pop {
    font-size: 1.1rem;
    padding: 0.13em 0.6em;
  }
  .contact-link-btn-pop {
    font-size: 0.99em;
    padding: 0.7em 1.2em;
  }
}

.webpro-plan-section--alt {
  background: none;
  
}

 /* 制作の流れ */
 .process-section {
  padding: 3.2em 1.2em 2.2em 1.2em;
  border-radius: 2.2em;
  max-width: 650px;
  margin: 0 auto 3em auto;
  font-family: 'Segoe UI', 'Meiryo', sans-serif;
}

.process-section h2 {
  font-size: 2rem;
  margin-bottom: 1.3em;
  font-weight: 900;
  color: #24a778;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
}

.process-section .sub {
  display: block;
  font-size: 1.02rem;
  color: #55b592;
  font-weight: 500;
  margin-top: 0.2em;
  letter-spacing: 0.03em;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-list li {
  background: #fff;
  border-radius: 1.3em;
  box-shadow: 0 3px 14px #54e8b61b, 0 0.5px 1.4px #24b97711;
  margin-bottom: 2em;
  padding: 1.6em 1.3em 1.2em 1.3em;
  position: relative;
  transition: transform 0.15s cubic-bezier(.41,1.45,.58,1.14), box-shadow 0.21s;
}
.process-list li:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px #5de2b64a, 0 2px 8px #37be841e;
}

.process-list li:last-child {
  margin-bottom: 0;
}

/* 各ステップ見出し */
.process-list h3 {
  font-size: 1.14rem;
  font-weight: bold;
  color: #24a778;
  margin: 0 0 0.19em 0;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  line-height: 1.45;
}

/* サブポイントの強調 */
.process-point {
  font-size: 0.96em;
  color: #ff9100;
  font-weight: 600;
  margin-left: 0.4em;
  letter-spacing: 0.01em;
  background: #fffadd;
  padding: 0.11em 0.56em 0.09em 0.56em;
  border-radius: 1.1em;
}

.process-list p {
  margin: 0;
  font-size: 1.06rem;
  color: #3b5647;
  line-height: 1.72;
  word-break: break-all;
}

.plan-table-section-full {
  margin: 0 auto;
  padding: 2.5rem 0 2rem 0;
  background: #fafbfc;
}
.plan-table-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: .1em;
}
.plan-table-scroll {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 960px;
  border-radius: 1.2em;
}
.plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 4px 18px #0001;
  margin: 0;
}
.plan-table th,
.plan-table td {
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 1rem;
  border-bottom: 1px solid #f1f1f1;
}
.plan-table thead th {
  background: #f6f7fa;
  font-weight: 600;
  font-size: 1.1em;
  border-bottom: 2px solid #eaeaea;
}
.plan-icon {
  font-size: 1.5em;
  margin-bottom: .25em;
}
.plan-label {
  font-size: 1em;
  font-weight: 600;
}
.plan-table th:first-child,
.plan-table td:first-child {
  background: #f9f9fc;
  font-weight: bold;
  min-width: 95px;
}
.plan-table tr:last-child th,
.plan-table tr:last-child td {
  border-bottom: none;
}

/* お知らせ欄 */
.plan-table-notice {
  margin-top: 1.5rem;
  font-size: .98em;
  color: #666;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.plan-table-notice ul {
  padding-left: 1.2em;
  margin: 0;
}
.plan-table-notice li {
  margin-bottom: .5em;
}

/* ここからスマホ専用：1カラムカード型表示 */
@media (max-width: 700px) {
  .plan-table-scroll {
    overflow: visible;
    box-shadow: none;
    padding: 0;
  }
  .plan-table {
    display: none; /* テーブルは非表示 */
  }

  /* カード型比較表示を追加 */
  .plan-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 0 0.5em;
    margin-top: 1em;
  }
  .plan-mobile-card {
    background: #fff;
    border-radius: 1.2em;
    box-shadow: 0 4px 18px #0001;
    padding: 1.4em 1em 1.2em 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .plan-mobile-card .plan-icon {
    font-size: 2.2em;
    margin-bottom: .1em;
  }
  .plan-mobile-card .plan-label {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: .2em;
    letter-spacing: .07em;
  }
  .plan-mobile-list {
    width: 100%;
    margin: 0.8em 0 0 0;
    padding: 0;
    list-style: none;
  }
  .plan-mobile-list li {
    font-size: 1em;
    padding: .45em 0;
    border-bottom: 1px solid #f3f3f3;
    display: flex;
    justify-content: space-between;
  }
  .plan-mobile-list li:last-child {
    border-bottom: none;
  }
  .plan-mobile-list .key {
    color: #678;
    font-size: .96em;
    flex: 0 0 46%;
    text-align: left;
  }
  .plan-mobile-list .val {
    font-weight: 500;
    text-align: right;
    flex: 1 1 54%;
  }
}

/* ← ここを追加！ */
.plan-mobile-cards {
  display: none;
}

/* 既存のスマホ用メディアクエリ */
@media (max-width: 700px) {
  .plan-table-scroll {
    overflow: visible;
    box-shadow: none;
    padding: 0;
  }
  .plan-table {
    display: none; /* テーブルは非表示 */
  }

  .plan-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 0 0.5em;
    margin-top: 1em;
  }
  /* ...（以下略）... */
}
@media (max-width: 700px) {
  /* ...省略... */

  .plan-mobile-cards {
    /* 親はほぼ全幅に */
    width: 100%;
    max-width: 100vw;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .plan-mobile-card {
    width: 96vw;         /* 画面幅の96% */
    max-width: 440px;    /* お好みで、カード最大幅（無くてもOK） */
    min-width: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }
}
