:root {
  /* カラーパレットの設定 */
  --color-primary-light: #4ade80;
  --color-primary: #22c55e;
  --color-primary-dark: #16a34a;
  --color-primary-bg: #f0fdf4;
  --color-text-main: #1e293b;
  --color-text-muted: #4b5563;
  --color-accent-red: #dc2626;
  --color-accent-yellow: #facc15;
  --color-marker: #fef08a;
  --color-border: #e5e7eb;
  --color-white: #ffffff;
}

/* コンテナ */
.sc-inner-new {
  max-width: 1000px;
  margin: 0 auto;
}

/* グリッドレイアウト (6列グリッドを利用して3列・2列配置を実現) */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

/* カード全体のスタイル */
.benefit-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--color-primary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* ホバー時のカード浮き上がりエフェクト */
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* PC時のカードグリッド割り当て */
@media (min-width: 768px) {
  .benefit-card {
    grid-column: span 2;
  }
  /* 4番目のカードを2列目から開始させて中央揃えにする */
  .benefit-card.start-col-2 {
    grid-column: 2 / span 2;
  }
}

/* 左上のリボン風バッジ */
.card-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom right,
    var(--color-primary-light),
    var(--color-primary-dark)
  );
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0 0 1rem 0;
  z-index: 20;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* カード内の余白と整列 */
.card-content {
  padding: 2.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}
@media (min-width: 768px) {
  .card-content {
    padding: 2.75rem 18px 2rem;
  }
}

/* 丸いアイコンコンテナ */
.card-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--color-primary-bg);
  color: var(--color-primary-dark);
  font-size: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  transition: transform 0.3s ease;
}
/* ホバー時のアイコン拡大 */
.benefit-card:hover .card-icon {
  transform: scale(1.1);
}

/* アイコン周りのキラキラ装飾 */
.sparkle-icon {
  position: absolute;
  color: var(--color-accent-yellow);
}
.sparkle-br {
  bottom: -0.25rem;
  right: -0.25rem;
  font-size: 1.25rem;
}
.sparkle-tr {
  top: 0;
  right: -0.5rem;
  font-size: 1.5rem;
}

/* 見出しテキスト */
.sc-inner-new .card-title {
  font-size: 1.125rem;
  font-weight: 700 !important;
  line-height: 1.6;
  margin-bottom: 1rem !important;
  flex-grow: 1;
}
@media (min-width: 768px) {
  .sc-inner-new .card-title {
    font-size: 1.25rem;
  }
}

/* マーカー線（黄色） */
.marker-yellow {
  background: linear-gradient(transparent 40%, var(--color-marker) 40%);
  display: inline;
  padding: 0 4px;
  color: var(--color-accent-red);
  font-weight: 900;
}

/* テキストサイズのユーティリティクラス */
.text-size-m {
  font-size: 1.25rem;
}
.text-size-l {
  font-size: 1.5rem;
  margin-top: 0.25rem;
  display: inline-block;
}
.no-wrap {
  white-space: nowrap;
}
.ml-1 {
  margin-left: 0.25rem;
}

@media (min-width: 768px) {
  .text-size-m {
    font-size: 1.5rem;
  }
  .text-size-l {
    font-size: 1.875rem;
  }
}

/* 区切り線 */
.card-divider {
  width: 100%;
  border-top: 1px dashed var(--color-border);
  margin-bottom: 1rem;
}

/* 説明文 */
.card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
@media (min-width: 768px) {
  .card-desc {
    font-size: 1rem;
  }
}

/* キラキラ光るホバーアニメーション用 */
.shine-effect {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: 1rem;
  z-index: 10;
}
.shine-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
.benefit-card:hover .shine-effect::after {
  animation: shine 0.7s ease-out;
}
.special-campaign-wrapper .note {
  text-align: center;
}

/* sec2 */
:root {
  /* 基本の色 */
  --bg-body: #ffffff; /* 背景は白 */
  --text-main: #1f2937;
  --text-black: #000000;
  --border-light: #d1d5db; /* 枠線を少し濃くしてパネルを際立たせる */

  /* 自力（グレー系）の色 */
  --self-bg: #f3f4f6;
  --self-border: #9ca3af;
  --self-text-main: #4b5563;

  /* 依頼（オレンジ/ゴールド系）の色 */
  --agency-bg: #fff7ed;
  --agency-border: #f97316;
  --agency-text-main: #ea580c;
  --agency-badge-text: #ffffff;
  --agency-badge-bg-start: #fb923c; /* オレンジグラデーション開始 */
  --agency-badge-bg-end: #ea580c; /* オレンジグラデーション終了 */
}

.sec2-add {
  padding-bottom: 100px;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.header-badge {
  display: inline-block;
  background-color: #22c55e;
  color: #000;
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 900 !important;
  line-height: 1.4;
  color: var(--text-black);
}

@media (min-width: 768px) {
  .header-title {
    font-size: 2rem;
  }
}

.header-vs {
  display: block;
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: #6b7280;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-list {
    gap: 1rem;
  }
}

.card {
  background-color: white;
  border-radius: 1.25rem;
  /* 自然で柔らかい影をつけて「白いパネル」が浮き上がるようにする */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f3f4f6; /* 同化を防ぐごく薄い枠線 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sec2-add .card-title {
  text-align: center;
  font-weight: 900 !important;
  font-size: 1.25rem;
  color: #22c55e;
  letter-spacing: 0.025em;
  padding: 1.5rem 1rem 0;
  width: 100%;
}

@media (min-width: 768px) {
  .sec2-add .card-title {
    font-size: 1.5rem;
    padding: 1.5rem 1rem 0;
  }
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .comparison-row {
    flex-direction: row;
    padding: 1rem 2rem 2rem;
  }
}

/* 各プランのボックス（自力・依頼共通） */
.plan-box {
  flex: 1;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid transparent;
}

@media (min-width: 768px) {
  .plan-box {
    padding: 1.5rem;
  }
}

.box-self {
  background-color: var(--self-bg);
  /*border-color: var(--self-border);*/
}

.badge-self {
  background-color: var(--self-border);
  color: white;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.text-self-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .text-self-main {
    font-size: 1.35rem;
  }
}

.text-self-sub {
  font-size: 0.75rem;
  color: var(--self-text-main);
  font-weight: 700;
}

@media (min-width: 768px) {
  .text-self-sub {
    font-size: 0.875rem;
  }
}

.box-agency {
  background-color: var(--agency-bg);
  border-color: var(--agency-border);
  position: relative;
}

.badge-agency {
  background: linear-gradient(
    to right,
    var(--agency-badge-bg-start),
    var(--agency-badge-bg-end)
  );
  color: var(--agency-badge-text);
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.text-agency-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--agency-text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .text-agency-main {
    font-size: 1.75rem;
  }
}

.text-agency-sub {
  font-size: 0.75rem;
  color: #ef4444; /* 赤色 */
  font-weight: 700;
}

@media (min-width: 768px) {
  .text-agency-sub {
    font-size: 0.875rem;
  }
}

/* アイコンの色指定 */
.icon-cross {
  color: #ef4444;
}

.icon-circle {
  color: #fbbf24;
  font-weight: 900;
  font-style: normal;
}

.icon-gradient {
  background: linear-gradient(to bottom, #fb923c, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.rank-text {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--agency-text-main);
  margin-bottom: 0.25rem;
}

#success {
  padding: 40px 0 60px;
}
#success * {
  box-sizing: border-box;
}
#success strong {
  font-weight: 700;
}
#success .photo {
  margin: 30px 0;
}
#success .photo img {
  border-radius: 10px;
}
#success .item1 {
  text-align: center;
  margin-bottom: 40px;
}
#success .item1 h3 {
  font-size: 5vw;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 40px;
  margin-bottom: 15px;
}
#success .item2 {
  line-height: 24px;
  background: url(../img/index/sec8_bg.jpg);
  position: relative;
  padding: 25px;
  text-align: left;
}
#success .item2::before {
  content: "";
  border: 4px solid #fff;
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  left: 8px;
}
#success .item2 p {
  margin-bottom: 15px;
}
#success .item2 .color {
  color: #474747;
}
#success .item2 .box {
  background: #fff;
  border-radius: 10px;
  padding: 8vw 5% 7vw;
}
#success .item2 dl {
  margin-bottom: 15px;
}
#success .item2 dd {
  font-size: 13px;
  color: #474747;
  margin-top: 7px;
}
#success .item2 ul {
  font-weight: 500;
}
#success .item2 .big {
  font-size: 16px;
  font-weight: 700;
}
#success .item2 .link {
  color: #154dca;
  text-decoration: underline;
  text-underline-offset: 1px;
}
@media screen and (min-width: 768px) {
  #success {
    padding: 0 0 95px;
  }
  #success img {
    width: auto;
  }
  #success .wrap {
    max-width: 1380px;
    padding: 0 20px;
    width: 100%;
  }
  #success .logo {
    width: fit-content;
    margin: 0 auto;
  }
  #success .photo {
    margin: 33px auto 50px;
    width: fit-content;
  }
  #success .photo img {
    border-radius: 20px;
  }
  #success .item1 {
    margin-bottom: 57px;
  }
  #success .item1 h3 {
    font-size: 32px;
    margin-bottom: 32px;
  }
  #success .item1 .txt {
    font-size: 20px;
    line-height: 36px;
  }
  #success .item2 {
    padding: 58px 76px;
    font-size: 16px;
  }
  #success .item2::before {
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
  }
  #success .item2 p {
    margin-bottom: 24px;
  }
  #success .item2 .box {
    border-radius: 20px;
    padding: 43px 91px 45px;
  }
  #success .item2 dl {
    margin-bottom: 24px;
  }
  #success .item2 dd {
    font-size: 15px;
    margin-top: 7px;
  }
  #success .item2 ul {
    margin: 9px 0 8px;
  }
  #success .item2 .big {
    font-size: 20px;
  }
  #success .item2 .bnr {
    margin: -10px 0 14px;
  }
  #success .item2 .link:hover{
   text-decoration: none;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .text-size-m{
    font-size: 1.4rem;
  }
  #success .item2 {
    padding: 58px 50px;
  }
  #success .item2 .box {
    padding: 43px 30px 45px;
  }
  .text-agency-main {
        font-size: 1.3rem;
    }
   .belt .hd-cta, #belt .hd-cta {
      width: 345px;
    }
   .belt .hd-cta img, #belt .hd-cta img{
      width: 100% !important;
      height: auto !important;
    }
    #belt .hd-cta li:nth-last-child(-n+2), .belt .hd-cta li:nth-last-child(-n+2) {
      width: 50%;
    }
}
