/*--------------------------------
お客様の声
----------------------------------*/
.support-plan-cases-wrap {

  .pc {
    @media (max-width: 768px) {
      display: none;
    }
  }

  .sp {
    @media (min-width: 769px) {
      display: none;
    }
  }

  .cases-box {
    width: 880px;
    margin: 0 auto;
    border: 2px solid #459DCC;
    text-align: left;

    @media (max-width: 768px) {
      width: 100%;
    }
  }

  .cases-box-header {
    display: flex;
    justify-content: flex-start;

    .cases-icon {
      background-color: #459DCC;
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      padding: 8px 24px;
    }

    .conpany-name {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin: 0;

      dt {
        margin: 0;
        max-height: 40px;
        padding: 0 10px;

        img {
          max-height: 100%;
          height: 40px;
          max-width: auto!important;
          width: auto;
        }
      }

      dd {
        margin: 0;
        font-size: 12px;
        font-weight: 600;
      }
    }
  }

  .cases-box-body {
    padding: 24px;
    text-align: left;

    @media (max-width: 768px) {
      padding: 16px 12px 16px 0;
    }

    .blue {
      color: #459DCC;
    }

    .orange {
      color: #FF8A41;
    }

    b {
      font-weight: 600;
    }

    .cases-copy {
      font-size: 24px;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 32px;

      @media (max-width: 768px) {
        font-size: 16px;
        margin-bottom: 24px;
      }
    }

    .cases-body-contents {
      margin-top: 20px;
      padding: 0 0 0 20px;
      border-left: 4px solid #459DCC;
      display: flex;
      justify-content: space-between;

      @media (max-width: 768px) {
        margin-top: 16px;
        flex-direction: column-reverse;
        padding-left: 10px;
        border-left-width: 2px;
      }
    }

    .cases-body-contents-txt {
      width: 54%;

      @media (max-width: 768px) {
        width: 100%;
        margin-top: 16px;
      }

      .cases-body-contents-inner {
        margin-bottom: 1em;
      }

      .cases-body-contents-inner:last-of-type {
        margin-bottom: 0;
      }

      .before-ttl,.after-ttl {
        font-size: 18px;
        display: inline-block;
        padding: 4px 4px 2px 4px;

        @media (max-width: 768px) {
          font-size: 14px;
        }

        span {
          font-weight: bold;
        }
      }

      .before-ttl {
        background-color: #e7e7e7;
      }

      .after-ttl {
        background-color: #FF8A41;
        color: #fff;
      }

      .cases-body-contents-list {
        margin: 0;
        padding-left: 1.5em;
        margin-top: .5em;

        li {
          font-size: 14px;
          list-style: disc;
          margin-bottom: .5em;

          @media (max-width: 768px) {
            font-size: 12px;
          }
        }

        li:last-of-type {
          margin-bottom: 0;
        }
      }
    }

    .cases-body-contents-photo {
      width: 44%;

      @media (max-width: 768px) {
        width: 100%;
      }

      img {
        box-shadow: 0px 0px 8px -5px #777;
        border-radius: 4px;
      }
    }

    .btn-area {
      margin-top: 20px;
      text-align: center;
    }
  
    .link-btn {
      display: inline-block;
      font-size: 20px;
    }
  
    .btn.navy_line {
      border-radius: 10px;
    }
  }
}
/*--------------------------------
実施スケジュール
----------------------------------*/
.support-plan-schedule {
  max-width: 880px;
  margin: 0 auto;

  .schedule-ttl {
    margin-top: 48px;

    h3,
    h4 {
      text-align: center;
      font-size: 16px;
      font-weight: 600;
      background-color: #e7e7e7;
      padding: 12px 0;
    }
  }

  .schedule-wrap {
    margin-top: 48px;
  }

  .schedule-step {

    & > div {
      display: flex;
      position: relative;
      padding-bottom: 32px;

      @media (max-width: 768px) {
        flex-wrap: wrap;
      }

      &:nth-of-type(5) {
        padding-bottom: 0;
      }

      &::before {
        content: attr(data-step);
        width: 44px;
        height: 44px;
        background-color: #459DCC;
        color: #fff;
        font-size: 16px;
        text-align: center;
        line-height: 44px;
        font-weight: 600;
        border-radius: 22px;
        position: relative;
        z-index: 1;
      }

      &::after {
        content: '';
        width: 4px;
        height: 100%;
        background-color: #e7e7e7;
        position: absolute;
        top: 0;
        left: 20px;
        z-index: 0;
      }

      dt {
        width: 280px;
        padding-top: 10px;
        padding-left: 16px;
        color: #459DCC;

        @media (max-width: 768px) {
          width: calc(100% - 44px);
        }
      }

      dd {
        width: calc(100% - 280px - 44px);
        padding-top: 10px;

        @media (max-width: 768px) {
          width: 100%;
          padding-left: 60px;
        }

        p {
          font-weight: 600;
        }

        .list {
          padding-left: 1.5em;
          margin: 0;

          li {
            list-style: disc;
            margin-bottom: .5em;

            &:last-of-type {
              margin-bottom: 0;
            }
          }
        }
      }
    }
  }
}

/* I'm Creative 用 */
.elementor-9035 .elementor-element.elementor-element-2adb2c1 .elementor-post__text {
  display: flex;
  flex-direction: column-reverse;
}
.elementor-9035 .elementor-element.elementor-element-2adb2c1 .elementor-post__title,
.elementor-9035 .elementor-element.elementor-element-2adb2c1 .elementor-post__title a {
  color: #292B2C;
}
.elementor-9035 .elementor-element.elementor-element-2adb2c1 .elementor-post:hover  .elementor-post__title a {
  color: #26C9FF;
}

.elementor-element-1ff99c05,
.elementor-element-d448e74 {
  .elementor-element.elementor-arrows-position-outside .swiper,
  .elementor-lightbox.elementor-arrows-position-outside .swiper {
		@media (max-width: 768px) {
			width: 100%;
		}
  }
  .elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-next svg, .elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-prev svg {
    fill: #6EC1E4;
  }
}

.results-item-container {
	background-color: #F0F0F0;
	border-radius: 20px;
	padding: 26px 17px 37px;

	.header-logo-wrap {
		margin-bottom: 25px;
		text-align: center;
		
		img {
			max-width: 140px;
			height: auto;
		}
	}

	.item-top {
		display: flex;
		margin-bottom: 20px;
		justify-content: space-between;

    &.row1 {
      margin-top: 15px;
    }

		@media (max-width: 768px) {
			flex-direction: column;
		}

		.item-top-left {
			width: 42.169611%;
			padding-top: 8px;

			@media (max-width: 768px) {
				width: 100%;
			}

			h3 {
				color: #0a9ccc;
				font-size: 16px;
				line-height: 1.3;
				margin-bottom: 14px;
				font-weight: bold;
			}
			p {
				font-size: 14px;
				line-height: 1.4;
			}
		}

		.item-top-right {
			width: 54.120141%;

			@media (max-width: 768px) {
				width: 100%;
			}

			dl {
				display: flex;
				font-size: 9px;
				margin-top: 6px;
				margin-bottom: 0;

        @media (max-width: 768px) {
          flex-direction: column;
        }

				dt {
					margin-right: 1em;
					margin-bottom: 0;
				}
				dd {
					font-weight: bold;
					margin-bottom: 0;
				}
			}
		}
	}

	.item-before-wrap,
	.item-after-wrap {
		border-radius: 10px;
		padding: 12px 27px;
		display: flex;
		justify-content: space-between;

		@media (max-width: 768px) {
			flex-direction: column;
		}

		.before,
		.after {
			width: 14px;
			align-self: center;
      width: 11px;

			@media (max-width: 768px) {
				width: 100%;

				img {
					display: none;
				}

				&::before {
					content: 'BEFORE';
					font-size: 13px;
					font-weight: bold;
					letter-spacing: .2em;
				}
			}
		}
		.after {
			@media (max-width: 768px) {
				&::before {
					content: 'AFTER';
					color: #5ABEDE;
				}
			}
		}

		.before-list,
		.after-list {
      width: calc(100% - 15px);
			border-left: 2px solid #000;
			padding-left: 18px;
      margin-left: 4px;

			@media (max-width: 768px) {
				border-left: none;
				border-top: 2px solid #000;
				padding-top: 8px;
				padding-left: 0;
				width: 100%;
			}

			.point-arrow {
				font-weight: bold;
				font-size: 12px;
				display: flex;
				line-height: 1;
				margin-bottom: .4em;

				&::before {
					content: '';
					width: 12px;
					height: 12px;
					background-image: url(https://shirofune.com/wp-content/themes/shirofune/img/im-creative/arrow-right.svg);
					background-position: center center;
					background-repeat: no-repeat;
					background-size: contain;
					margin-right: .5em;
				}
			}

			ul {
				margin: 0;
				padding-left: 1em;

				li {
					list-style:disc;
					font-size: 14px;
					line-height: 1.2;
          margin-bottom: .2em;

					span {
						border-bottom: 3px solid #FAD84D;
					}
				}
			}
		}
	}

	.item-before-wrap {
		background-color: #fff;
	}

	.item-after-wrap {
		background-color: #DEF6FC;
		border: 2px solid #5ABEDE;
		margin-bottom: 28px;

		.after-list {
			border-left-color: #5ABEDE;

			@media (max-width: 768px) {
				border-top-color: #5ABEDE;
			}

      ul li {
        line-height: 1.4;
      }
		}
	}

	.arrow-under {
		padding: 14px 0;
		text-align: center;

		img {
			max-height: 14px;
			width: auto;
		}
	}
}

/*--------------------------------
support plan slider
----------------------------------*/
.support-plan-slider {
  .results-item-container {
    & .item-top {
      & .item-top-left {
        padding-top: 0;

        p {
          margin-bottom: 0;

          @media (max-width: 768px) {
            margin-bottom: 1rem;
          }
        }
      }
    }
  }
}

/*--------------------------------
im creative
----------------------------------*/
.ic-section {
  background-size: contain;

  padding: 0 10px;
  padding-inline: clamp(0px, (1200px - 100vw) * 100, 24px); 
  
  /* SP用バッジ(500px以下でのみ表示) */
  .ic-badge-sp {
    display: none;
  }

  /* 左右 */
  .ic-hero {
    display: flex;
    align-items: center;
    gap: clamp(24px, calc((100vw - 1000px) * 0.05), 40px);
    max-width: 1440px;
    box-sizing: border-box;
  }

  .ic-text,
  .ic-visual {
    flex: 1 1 0;
    min-width: 0;
  }

  /* 右:動画 */
  .ic-visual {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 16px;
    clip-path: inset(0 round 16px);

    & video {
      position: absolute;
      inset: 0;
      width: clamp(500px, 90vh, 90%);
      height: clamp(500px, 90vh, 90%);
      object-fit: contain;
      border-radius: 16px;
      margin: auto; 
      margin-right: 0;
    }
  }

  /* 左:テキスト */
  .ic-text-area {
    width: 100%;
    max-width: 580px;
    container-type: inline-size; 

    & hr {
      border: 0;
      border-top: 1px solid #b9b9b9;
      margin: 26px 0;
    }
  }

  /* ブランドバー */
  .ic-brand {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    justify-content: space-around;
    gap: 2px;
    background: #fff;
    border-radius: 12px;
    padding: 0px 0px 0px 16px;

    & img {
      display: block;
      width: clamp(100px, 20vw, 230px);
      max-width: 35%;
      height: auto;
      margin: 0;
    }
  }

  .ic-brand-text {
    color: #5F3AC7;
    line-height: 1.4;
    font-size: 14px;
    white-space: nowrap;
    margin: 0;
  }

  /* 見出し・本文 */
  .ic-text {
    & h1 {
      color: #5F3AC7;
      font-weight: bold;
      font-size: clamp(30px, 2.4vw, 36px);
      font-size: 6.6cqw;
      white-space: nowrap;
      margin: 20px 0;
    }
  }

  .ic-text-main {
    & p {
      font-size: clamp(16px, 1.2vw, 18px);
      white-space: nowrap;
      color: #2a2a2a;
    }
  }

  /* バッジ&ボタン */
  .ic-cta {
    display: flex;
    align-items: center;
    gap: 16px;

    & svg {
      width: 1em;
      height: 1em;
      flex-shrink: 0;
    }
  }

  .ic-badge {
    flex-shrink: 0;
    width: 7vw;
    height: auto;
    margin: 0 -5px -9px;
  }

  .ic-cta-btn {
    flex: 1;
    min-width: 0;
    display: flex;
    margin: 0 0 0 8px;

    & a {
      padding: 0 8px;
      flex: 1;
      min-height: 95px;
      border-radius: 999px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      background: linear-gradient(90deg, #5a6ef2, #9a6fe0 55%, #e570c4); 
      box-shadow: 0 8px 8px rgba(130, 100, 220, .3);
      color: #fff;
      text-decoration: none;
      margin: 8px 0;
      transition: color 0.3s ease, box-shadow 0.6s ease;
    }
  }

  .ic-cta-btn a:hover {
    background:#fff;
    color: #5F3AC7;
    box-shadow:
      inset 0 0 0 2px #5F3AC7,
      0 8px 8px rgba(130, 100, 220, .3);
  }

  .ic-cta-btn-small {
    font-size: clamp(11px, 1.4vw, 16px);
    white-space: nowrap;
  }

  .ic-cta-btn-strong {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(13px, 1.6vw, 22px);
    white-space: nowrap;
  }

  /* 実績 */
  .ic-results-text {
    font-weight: bold;
    color: #6b6b6b;
    font-size:12px ;
  }

  .ic-results-list {
    display: flex;
    gap: 14px; 
    width: 100%;
    max-width: 580px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    list-style: none;

    & > li {
      flex: 1 1 0;
      min-width: 0;
    }

    .ic-name {
      margin-top: 10px;
      text-align: center;
      font-weight: bold;
      line-height: 1.2;
      color: #6b6b6b;
      font-size: 11px;
      white-space: nowrap;
    }
  }

  .ic-card {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #b9b9b9;
    border-radius: 10px;
    padding: 8px 4px;
    box-sizing: border-box;

    & img {
      width: 80%;
      max-width: 80%;
      height: auto;
      display: block;
      object-fit: contain;
    }
  }

  /* SPのみ改行(PC非表示) */
  .br-sp {
    display: none;
  }
}

/*--------------------------------
タブレット(テキストが上、動画が下)
----------------------------------*/
@media (max-width: 900px) {
  
   .ic-section {
    padding-inline: 10px;
    .ic-title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px; /* タイトルとバッジの距離 */

      & h1 {
        white-space: normal;
        flex: 0 1 auto;
        min-width: 0;
        font-size: clamp(28px, 4.9vw - 2px, 40px);
        line-height: 1.4;
        white-space: nowrap;
        margin: 18px 0;
      }
    }

    .ic-badge-sp {
      display: block;
      flex-shrink: 0;
      width: clamp(80px, 40vw - 80px, 120px);
      height: auto;
      padding: 8px 0 0 0;
    }

    .ic-badge-pc {
      display: none;
    }

    .ic-hero {
      flex-direction: column;
      align-items: center;
      gap: 32px;
      padding-bottom: 20px;
    }

    .ic-text,
    .ic-visual {
      flex: none;
      width: 100%;
      min-width: 0;
    }

    .ic-text-area {
      margin: 0 auto;
    }

    .ic-visual {
      --ic-size: min(100vw - 20px, 580px);
      width: var(--ic-size);
      height: var(--ic-size);
      max-width: 580px;
    }

     .ic-cta-btn {
      margin: 0px;
     }

 
    .ic-cta-btn-small {
      font-size: 13px;
    }

    .ic-cta-btn-strong {
      font-size: 20px;
    }
      
    .ic-brand {
      justify-content: space-between; 
      padding: 4px 4px 4px 16px;
    }

    .br-sp {
      display: block;
    }

     /* 右:動画 */
    .ic-visual {

      & video {
        margin: auto;
        margin-right: auto;
        padding-inline: 10px;
        padding: 10px;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 16px;
        margin: auto; 
        margin-right: 0;
      }
    }
  }

   .ic-wrap {
    min-height: 1000px;
  }

}

/*--------------------------------
SP
----------------------------------*/
@media (max-width: 450px) {

   .ic-section { 
    .ic-title-row {
          & h1 {
            font-size: 28px;
            font-size: clamp(18px, 13.33vw - 24px, 28px);
          }
        }

    .ic-brand-text {
      font-size: 12px;
    }

    .ic-cta-btn-small {
      font-size: 12px;
    }

    .ic-cta-btn-strong {
      font-size: 16px;
    }

    .ic-results-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px 14px; /* 行間 列間 */

      .ic-name {
      font-size: 12px;
      }
    }

    .ic-card {
      height: auto;
      padding: 16px 16px;
    }

    .ic-brand {
      padding: 6px 8px 6px 16px;
    }

    .ic-brand-text {
      font-size: 12px;
    }
    
    .br-sp {
      display: block;
    }

    .ic-text-main {
      & p {
        font-size: 16px;
        font-size: min(16px, 4cqw);
      }
    }

    .ic-cta-btn-strong {
      font-size: 19px;
     }

    .ic-results-text {
      font-size:14px ;
    }

    /* 右:動画 */
    .ic-visual {

      & video {
        padding: 10px;
        margin: auto;
        margin-right: auto;
        border-radius: 16px;
      }
    }
  }
}

/*--------------------------------
support-plan ページ（Elementor 置き換え）
数値の根拠：_claude/reference/support-plan/post-8554.css
ブレイクポイント：Elementor と同じ 1024px / 767px
----------------------------------*/
.p-support-plan {
  overflow-x: clip;

  /* ----- ページタイトル（#3dae8550） ----- */
  .p-support-plan__title {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto 2rem;
    padding: 10px;
    text-align: center;
  }

  .p-support-plan__title-heading {
    margin: 0 0 -15px;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
  }

  .p-support-plan__title-lead {
    margin: 1.2rem 0 1rem;
    font-size: 18px;
    line-height: 1.5;

    @media (max-width: 821px) {
      font-size: 14px;
    }
  }

  h2,
  h3 {
    margin: 0;
  }

  figure {
    margin: 0;
  }

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

  /* ----- 共通：セクション内側 ----- */
  .p-support-plan__inner {
    max-width: 1140px;
    margin-inline: auto;
  }

  /* ----- 共通：見出し＋下線 ----- */
  .p-support-plan__heading {
    display: flow-root;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #292B2C;

    @media (max-width: 767px) {
      font-size: 24px;
    }

    &::after {
      content: "";
      display: block;
      width: 6%;
      height: 5px;
      margin: 38px auto 70px;
      border-radius: 3px;
      background-color: #5BC9F8;

      @media (max-width: 767px) {
        width: 8%;
        margin-top: 22px;
        margin-bottom: 54px;
      }
    }
  }

  .p-support-plan__heading-note {
    font-size: 12px;
  }

  /* ----- サポートプランとは？ ----- */
  .p-support-plan__about {
    padding: 20px;

    .p-support-plan__inner--wide {
      max-width: 1180px;
    }
  }

  .p-support-plan__heading--about {
    padding-top: 20px;

    &::after {
      margin-top: 35px;
      margin-bottom: 67px;

      @media (max-width: 767px) {
        margin-top: 35px;
        margin-bottom: 35px;
      }
    }
  }

  .p-support-plan__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .p-support-plan__feature {
    margin: 0 120px 30px 0;
    padding: 60px 48px;
    background-color: #fff;
    box-shadow: 0 5px 22px -2px rgba(0, 0, 0, .1);

    &:nth-child(even) {
      margin: 0 0 30px 120px;
    }

    @media (min-width: 768px) {
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
    }

    @media (max-width: 767px) {
      &,
      &:nth-child(even) {
        margin: 0;
        padding: 15px 15px 15px 20px;
      }
    }
  }

  .p-support-plan__feature-img {
    display: inline-block;
    width: 96%;
    margin: 0 0 36px 36px;

    img {
      display: block;
      width: 100%;
    }

    @media (max-width: 767px) {
      width: 98%;
      margin: 0 0 20px;
    }
  }

  .p-support-plan__feature-body {
    width: 100%;
  }

  .p-support-plan__feature-title {
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 900;
    line-height: 33px;

    @media (max-width: 767px) {
      margin-bottom: 8px;
      font-size: 18px;
      line-height: 1.6em;
      letter-spacing: 0;
    }
  }

  .p-support-plan__feature-text {
    margin: 0;
    font-size: 16px;
    line-height: 27px;
  }

  .p-support-plan__em {
    color: #0089B3;
  }

  /* ----- 実施企業様例（ロゴ） ----- */
  .p-support-plan__clients {
    margin: 120px 0 90px;

    @media (max-width: 767px) {
      margin: 50px 0 0;
    }
  }

  .p-support-plan__heading--clients {
    padding-top: 20px;

    &::after {
      margin-top: 35px;
      margin-bottom: 83px;
    }

    @media (max-width: 767px) {
      padding-inline: 17px;

      &::after {
        margin-top: 35px;
        margin-bottom: 35px;
      }
    }
  }

  .p-support-plan__logos {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;

    /* 列数と間隔は本番（Elementor ギャラリーの JS 判定）に合わせて 1024px 未満・767px 未満で切り替える */
    @media (max-width: 1024px) {
      padding: 0 50px;
    }

    @media (max-width: 1023px) {
      grid-template-columns: repeat(6, 1fr);
      gap: 6px;
    }

    @media (max-width: 767px) {
      margin: 2rem 0;
      padding: 0 30px;
    }

    @media (max-width: 766px) {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    img {
      display: block;
      width: 100%;
      aspect-ratio: 3 / 2;
      object-fit: cover;
    }

    /* 表示アニメーション（本番の e-gallery lazyload と同じ：上端中央を起点に 0.8s）
       JS が .is-animated を付けたときだけ隠す。JS なし・モーション軽減時は最初から表示 */
    &.is-animated img {
      transform-origin: center top;

      &:not(.is-loaded) {
        filter: opacity(0);
        transform: scale(.5);
      }

      /* 隠すときは即時、表示するときだけアニメーションさせる */
      &.is-loaded {
        transition: filter .8s, transform .8s;
      }
    }
  }

  /* ----- お悩み・解決（カード） ----- */
  .p-support-plan__issues,
  .p-support-plan__solutions {
    background-color: #E0F7FD;
  }

  .p-support-plan__issues {
    padding-top: 100px;

    > .p-support-plan__inner {
      padding-bottom: 20px;
    }

    @media (max-width: 767px) {
      padding-top: 0;

      > .p-support-plan__inner {
        padding-bottom: 0;
      }
    }
  }

  .p-support-plan__heading--issues {
    &::after {
      margin-bottom: 38px;
    }

    @media (max-width: 767px) {
      padding: 80px 15px 0;
      line-height: 1.3em;

      &::after {
        margin-top: 38px;
        margin-bottom: 38px;
      }
    }
  }

  .p-support-plan__arrow {
    padding: 40px 0 10px;
    text-align: center;

    img {
      vertical-align: middle;
    }

    @media (max-width: 767px) {
      padding: 70px 30px 10px;
    }
  }

  .p-support-plan__solutions {
    padding: 20px 0 40px;
  }

  .p-support-plan__heading--solutions {
    margin-top: 60px;

    &::after {
      margin-bottom: 54px;
    }

    @media (max-width: 767px) {
      margin-top: 30px;
      padding-inline: 15px;
      line-height: 1.3em;

      &::after {
        margin-bottom: 22px;
      }
    }
  }

  .p-support-plan__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 10px;
    list-style: none;

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

  .p-support-plan__card {
    padding: 50px 30px;
    border: 2px solid #459DCC;
    border-radius: 30px;
    background-color: #fff;
    text-align: center;

    @media (max-width: 1024px) {
      padding: 50px 20px;
    }

    @media (max-width: 767px) {
      padding: 40px 20px 35px;
    }
  }

  .p-support-plan__card-icon {
    display: block;
    max-width: 40%;
    margin: 0 auto 31px;
  }

  .p-support-plan__card-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 900;
    line-height: 15px;

    @media (max-width: 1024px) {
      line-height: 1.3em;
    }
  }

  .p-support-plan__card-text {
    margin: 0 0 1rem;
    text-align: left;
  }

  /* ----- CTA（資料請求） ----- */
  .p-support-plan__cta {
    padding: 64px 0 66px;
    background: url("https://shirofune.com/wp-content/uploads/2025/03/bg_cta-scaled.jpg") center / cover no-repeat;
    text-align: center;
  }

  .p-support-plan__cta-text {
    margin: 0 0 46px;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5;
    color: #2A2B2C;

    @media (max-width: 767px) {
      padding: 0 15px;
      font-size: 24px;
      line-height: 1.3em;
    }
  }

  .p-support-plan__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 20px);
    padding: 20px 28px;
    border: 4px solid #FF8A41;
    border-radius: 40px;
    background-color: #FF8A41;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    transition: transform .5s;

    &:hover,
    &:focus {
      background-color: #fff;
      color: #FF8A41;
    }

    &:hover {
      transform: scale(1.1);
    }
  }

  .p-support-plan__cta-icon {
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    fill: currentColor;
  }

  /* ----- 内製化に成功した企業の声（事例スライダー） ----- */
  .p-support-plan__cases {
    padding: 0 10px;

    .p-support-plan__inner--cases {
      max-width: 1190px;
      padding: 10px 0 162px;

      @media (max-width: 767px) {
        padding-bottom: 114px;
      }
    }
  }

  .p-support-plan__heading--cases {
    margin-top: 132px;
    font-size: 26px;

    @media (max-width: 767px) {
      margin-top: 52px;
      padding-inline: 15px;
      font-size: 24px;
      line-height: 1.3em;

      &::after {
        margin-bottom: 22px;
      }
    }
  }

  .p-support-plan__case-slider {
    position: relative;

    .swiper {
      padding-bottom: 30px;

      @media (max-width: 767px) {
        padding-bottom: 18px;
      }
    }

    .swiper-slide {
      box-sizing: border-box;
      height: auto;
      padding: 10px;
    }
  }

  .p-support-plan__slider-btn {
    position: absolute;
    top: calc(50% - 15px);
    z-index: 2;
    display: flex;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform: translateY(-50%);

    svg {
      width: 100%;
      height: 100%;
      fill: #6EC1E4;
    }

    /* 囲み線は出さない（style.css の button:focus も打ち消す） */
    &:focus,
    &:focus-visible {
      outline: none;
    }

    @media (max-width: 767px) {
      top: calc(50% - 9px);
      width: 24px;
      height: 24px;
    }
  }

  .p-support-plan__slider-btn--prev {
    left: -32px;

    @media (max-width: 767px) {
      left: -8px;
    }
  }

  .p-support-plan__slider-btn--next {
    right: -32px;

    @media (max-width: 767px) {
      right: -8px;
    }
  }

  .p-support-plan__case-pagination {
    --swiper-pagination-color: #000;
    --swiper-pagination-bullet-inactive-color: #000;
    --swiper-pagination-bullet-inactive-opacity: .2;
    --swiper-pagination-bullet-size: 20px;
    --swiper-pagination-bullet-horizontal-gap: 20px;

    &.swiper-pagination-horizontal {
      bottom: 0;
      font-size: 20px;
      line-height: 20px;
    }

    .swiper-pagination-bullet {
      vertical-align: top;
    }

    @media (max-width: 767px) {
      --swiper-pagination-bullet-size: 8px;
      --swiper-pagination-bullet-horizontal-gap: 8px;

      &.swiper-pagination-horizontal {
        font-size: 8px;
        line-height: 8px;
      }
    }
  }

  /* ----- 料金プラン ----- */
  .p-support-plan__price-head {
    padding: 100px 0 40px;
    background-color: #DEF6FD;
    text-align: center;

    > * {
      max-width: 1140px;
      margin-inline: auto;
    }
  }

  .p-support-plan__heading--price::after {
    margin: 22px auto;

    @media (max-width: 767px) {
      margin: 22px auto;
    }
  }

  .p-support-plan__price-lead {
    margin: 0 auto;

    @media (max-width: 767px) {
      padding: 0 12px;
      font-size: 14px;
      line-height: 1.5;
    }
  }

  .p-support-plan__price-body {
    padding: 0 0 30px;
    background-color: #E0F7FD;

    @media (max-width: 767px) {
      padding: 12px 12px 30px;
    }
  }

  .p-support-plan__plan {
    position: relative;
    overflow: hidden;
    max-width: 820px;
    margin-inline: auto;
    border: 2px solid #0A9CCC;
    background-color: #fff;
    text-align: center;

    @media (max-width: 767px) {
      padding: 12px;
    }
  }

  .p-support-plan__plan-header {
    padding: 20px 0;
    background-color: #0A9CCC;
    color: #fff;

    @media (max-width: 767px) {
      padding: 17px;
    }
  }

  .p-support-plan__plan-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;

    @media (max-width: 767px) {
      font-size: 22px;
    }
  }

  .p-support-plan__plan-sub {
    margin: 0;
    font-size: 13px;
    line-height: 24px;
  }

  .p-support-plan__plan-price {
    padding: 30px 0 25px;
    color: #555;
  }

  .p-support-plan__plan-amount {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 800;
    line-height: 26px;
    letter-spacing: 0;

    sup {
      font-size: 12px;
    }

    @media (max-width: 767px) {
      font-size: 17px;
    }
  }

  .p-support-plan__plan-period {
    margin: 0;
    font-size: 16px;
    letter-spacing: normal;
  }

  .p-support-plan__plan-features {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1;

    li + li::before {
      content: "";
      display: block;
      margin: 15px 12.5%;
      border-top: 2px solid #ddd;
    }

    svg {
      width: 1.3em;
      height: 1.3em;
      margin-right: 10px;
    }

    span {
      vertical-align: text-top;
    }
  }

  .p-support-plan__plan-footer {
    padding: 30px 0;
  }

  .p-support-plan__plan-btn {
    display: inline-block;
    padding: 25px 50px;
    border: 4px solid #fff;
    border-radius: 40px;
    background-color: #FF8A41;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    vertical-align: top;
    transition: transform .3s;

    &:hover,
    &:focus {
      border-color: #FF8A41;
      background-color: #fff;
      color: #FF8A41;
    }

    &:hover {
      transform: scale(1.1);
    }
  }

  .p-support-plan__plan-note {
    margin: 15px 30px 0;
    font-size: 13px;
    line-height: 1.4;
  }

  .p-support-plan__ribbon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    overflow: hidden;
    width: 150px;
    height: 150px;
    transform: rotate(90deg);

    span {
      display: block;
      width: 200%;
      margin-top: 35px;
      background-color: #000;
      color: #fff;
      font-size: 13px;
      font-weight: 800;
      line-height: 2;
      text-align: center;
      transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
    }
  }

  .p-support-plan__spot {
    padding: 20px 0 96px;
    background-color: #E0F7FD;

    @media (max-width: 767px) {
      padding: 20px 12px 96px;
    }
  }

  .p-support-plan__spot-inner {
    max-width: 820px;
    margin-inline: auto;
    padding-bottom: 30px;
    background-color: #fff;
  }

  .p-support-plan__heading--spot {
    padding-top: 40px;
    font-size: 24px;

    &::after {
      margin: 20px auto 16px;
    }

    @media (max-width: 767px) {
      padding-top: 70px;

      &::after {
        margin: 22px auto;
      }
    }
  }

  .p-support-plan__spot-lead {
    margin: 0 0 26px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;

    @media (max-width: 767px) {
      margin-bottom: 16px;
      padding: 0 10px;
      font-size: 14px;
    }
  }

  .p-support-plan__spot-box {
    margin: 0 60px;
    padding: 30px;
    border: 1px solid #0A9CCC;
    line-height: 24px;
    text-align: center;

    sup {
      font-size: 12px;
    }

    @media (max-width: 767px) {
      margin: 0 15px;
      padding: 20px 20px 10px;
      line-height: 1.3em;
    }
  }

  .p-support-plan__spot-detail {
    font-size: 15px;

    @media (max-width: 767px) {
      line-height: 22px;
    }
  }

  /* ----- 実施スケジュール ----- */
  .p-support-plan__schedule {
    position: relative;
    padding: 10px 10px 126px;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("https://shirofune.com/wp-content/uploads/2025/03/bg-mark-1.jpg") center center repeat-y;
      opacity: .5;
    }

    > .p-support-plan__inner {
      position: relative;
    }
  }

  .p-support-plan__heading--schedule {
    margin-top: 100px;

    &::after {
      margin-bottom: 22px;
    }

    @media (max-width: 767px) {
      margin-top: 60px;

      &::after {
        margin-top: 38px;
      }
    }
  }

  /* ----- お客様の声（テスティモニアル） ----- */
  .p-support-plan__voices {
    padding: 10px 10px 0;
    background-color: #DEF6FD;
  }

  .p-support-plan__heading--voices {
    margin-top: 100px;

    @media (max-width: 767px) {
      margin-top: 60px;
      line-height: 1.3em;
    }
  }

  .p-support-plan__voice-slider {
    margin-bottom: 3px;

    .swiper {
      padding-bottom: 40px;
    }

    .swiper-wrapper {
      align-items: stretch;
    }

    .swiper-slide {
      box-sizing: border-box;
      height: auto;
      overflow: hidden;
      padding: 12px;
      border-radius: 30px;
      background-color: #fff;
    }
  }

  .p-support-plan__voice {
    margin: 0;
    text-align: left;
  }

  .p-support-plan__voice-text {
    position: relative;
    margin: 0;
    padding: 30px 30px 0;
    background-color: #fff;
    color: #020101;
    font-size: 16px;
    line-height: 1.5;

    &::after {
      content: "";
      position: absolute;
      top: calc(100% - 7px);
      left: calc(30px + (78px / 2) - 8px);
      display: block;
      width: 14px;
      height: 14px;
      background-color: #fff;
      transform: scaleX(.75) rotate(45deg);
    }
  }

  .p-support-plan__voice-footer {
    display: flex;
    align-items: center;
    padding: 0 30px;

    img {
      flex-shrink: 0;
      width: 78px;
      height: 78px;
      border-radius: 96px;
      object-fit: cover;
    }
  }

  .p-support-plan__voice-name {
    display: flex;
    flex-direction: column;
    margin-left: 22px;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
  }

  .p-support-plan__voice-pagination {
    --swiper-pagination-bottom: 5px;
    --swiper-pagination-color: #459DCD;
    --swiper-pagination-bullet-inactive-color: #C5C5C5;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-size: 18px;
    --swiper-pagination-bullet-horizontal-gap: 6px;
  }

  .p-support-plan__voices-link {
    margin-inline: -10px;
    padding: 40px 0 70px;
    text-align: center;

    @media (max-width: 767px) {
      padding-inline: 12px;
    }
  }

  .p-support-plan__outline-btn {
    display: inline-block;
    padding: 22px;
    border: 4px solid #153354;
    border-radius: 40px;
    background-color: #fff;
    color: #153354;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;

    &:hover,
    &:focus {
      border-color: #fff;
      background-color: #153354;
      color: #fff;
    }
  }

  /* ----- よくある質問 ----- */
  .p-support-plan__faq {
    margin-top: 96px;
    padding: 10px;
  }

  .p-support-plan__heading--faq {
    padding-top: 20px;
  }

  .p-support-plan__faq-list {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 60px;

    @media (max-width: 767px) {
      width: 94%;
    }
  }

  .p-support-plan__faq-item {
    &:not(:last-child) {
      margin-bottom: 5px;
    }
  }

  .p-support-plan__faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 10px;
    padding: 15px 20px;
    border: 2px solid #EBEBEB;
    color: #1F2124;
    cursor: pointer;
    list-style: none;

    &::-webkit-details-marker {
      display: none;
    }

    &:focus-visible {
      outline: 2px solid #0A9CCC;
      outline-offset: 2px;
    }
  }

  .p-support-plan__faq-icon {
    display: flex;
    flex-shrink: 0;

    svg {
      height: 15px;
      fill: #1F2124;
    }
  }

  .p-support-plan__faq-minus {
    display: none;
  }

  .p-support-plan__faq-item[open] {
    .p-support-plan__faq-plus {
      display: none;
    }

    .p-support-plan__faq-minus {
      display: block;
    }
  }

  .p-support-plan__faq-a {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    padding: 20px 35px;
    border: 1px solid #D5D8DC;

    p:last-child {
      margin-bottom: 16px;
    }

    small {
      font-size: 11px;
    }
  }

  .p-support-plan__faq-a--nested {
    padding: 30px 45px;
  }

  .p-support-plan__faq-a--plain p:last-child {
    margin-bottom: 0;
  }

  /* ----- 国内導入実績No.1広告運用ツール ----- */
  .p-support-plan__tool {
    position: relative;
    z-index: 0;
    margin-bottom: -160px;
    padding: 0 10px;
    background: url("https://shirofune.com/wp-content/uploads/2025/03/Group-200.png") center center repeat;

    @media (max-width: 1024px) {
      margin-bottom: 0;
    }
  }

  .p-support-plan__tool-inner {
    display: flex;
    max-width: 1140px;
    margin-inline: auto;
    padding: 10px 0;

    @media (max-width: 767px) {
      flex-wrap: wrap;
    }
  }

  .p-support-plan__tool-body {
    flex: 1 1 auto;
    padding: 90px 15px 90px 30px;

    @media (max-width: 1024px) {
      padding: 90px 30px;
    }

    @media (max-width: 767px) {
      margin-top: 90px;
      padding: 0 12px;
    }
  }

  .p-support-plan__tool-title {
    margin-bottom: .5rem;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
  }

  .p-support-plan__tool-lead {
    margin-bottom: .5rem;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    color: #0A9CCC;
  }

  .p-support-plan__tool-img {
    flex: 0 1 auto;
    width: 50%;
    margin-top: 120px;
    padding: 10px;
    text-align: center;

    @media (max-width: 767px) {
      width: 100%;
      margin-top: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-support-plan {
    .p-support-plan__cta-btn,
    .p-support-plan__plan-btn {
      transition: none;

      &:hover {
        transform: none;
      }
    }
  }
}
