/* 
service-seo.css 
ここではサービスSEOページ専用の調整のみ行う
*/

/* -------------------------------------------------
  .service-seo-fv
---------------------------------------------------*/
.service-seo-fv {
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  padding-block: min(calc(50 / 1140 * 100vw), 50px);
}

.post_content .service-seo-fv h2 {
  color: #0173b7;
  font-weight: 700;
  font-size: min(calc(60 / 1140 * 100vw), 60px);
  /* font-size: 60px; */
  line-height: 1.6;
}
@media screen and (max-width: 750px) {
  .post_content .service-seo-fv h2 {
    font-size: min(calc(26 / 375 * 100vw), 26px) ;
  }
}

.post_content .service-seo-fv__title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.post_content .service-seo-fv__title p {
  display: inline-block;
  font-size: min(calc(20 / 1140 * 100vw), 20px);
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.04em;
  text-align: center;
  color: #ffffff;
  width: min(calc(388 / 1140 * 100vw), 388px);
  background: linear-gradient(90deg, rgba(1, 115, 183, 0) 0%, #0173b7 9%, #0173b7 50%, #0173b7 91%, rgba(1, 115, 183, 0) 100%);
}
@media screen and (max-width: 750px) {
  .post_content .service-seo-fv__title p  {
    font-size: min(calc(16 / 375 * 100vw), 16px);
    width: min(calc(330 / 375 * 100vw), 330px);
  }
}

.service-seo-fv__text {
  margin-top: min(calc(53 / 1140 * 100vw), 53px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.800000011920929);
  width: 100%;
  height:  min(calc(78 / 1140 * 100vw), 78px);
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05000000074505806);
}
@media screen and (max-width: 750px) {
  .service-seo-fv__text {
      gap: 10px;
  }
}


.post_content .service-seo-fv__text p {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: min(calc(28 / 1140 * 100vw), 28px);
  font-weight: 600;
  font-family: "Noto Sans JP", sans-serif;
  line-height: normal;
  color: #0173b7;
  margin-bottom: 0;
}
@media screen and (max-width: 750px) {
  .post_content .service-seo-fv__text p  {
    font-size: min(calc(12 / 375 * 100vw), 12px);
  }
}

.service-seo-fv__text p span {
	display:inline-block;
	font-size: min(calc(16 / 1140 * 100vw), 16px);
  line-height: 1.25;
  text-align: right;
  color: #333333;
}
@media screen and (max-width: 750px) {
  .service-seo-fv__text p span  {
    font-size: min(calc(12 / 375 * 100vw), 12px);
  }
}

.service-seo-fv__text p em {
  font-size: min(calc(52 / 1140 * 100vw), 52px);
  background: linear-gradient(90deg, #1ba7e3 0%, #0e80bf 50%, #276ea5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
	font-style: normal;
	margin-left: 5px;
}
@media screen and (max-width: 750px) {
  .service-seo-fv__text p em  {
    font-size: min(calc(26 / 375 * 100vw), 26px);
  }
}

.service-seo-fv__line {
  width: 1px;
  height: min(calc(55 / 1140 * 100vw) , 55px);
  background: #0173b7;
}

.service-seo-fv__button {
  margin-top: min(calc(40 / 1140 * 100vw) ,40px);
  display: flex;
  justify-content: center;
  gap: 12px;

    /* 調整しやすい変数 */
  --sparkle-duration: .6s;
  --sparkle-strength: .45;
}
.service-seo-fv__button-link {
  width: min(calc(270 / 1140 * 100vw) ,270px);
  box-shadow: 0 6px 13px -6px rgba(52, 52, 60, 0.6);
  border-radius: 999px;
  transition: transform .4s ease, box-shadow .4s ease;
  position: relative;
  display: inline-block;
  overflow: hidden;
}
/* 帯の初期状態：左の外 */
.service-seo-fv__button-link::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(-120%);
  background: linear-gradient(
    -45deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,var(--sparkle-strength)) 50%,
    rgba(255,255,255,0) 100%
  );
}
/* ★ クラス付与で一度だけ走り、終点を保持（戻らない） */
.service-seo-fv__button-link.is-sparkled::before {
  animation: caption-sparkle var(--sparkle-duration) ease-out both;
}
@keyframes caption-sparkle {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%);  }
}

.service-seo-fv__button-link img {
  width: 100%;
  max-width: 100%;
}

@media screen and (max-width: 750px) {
.service-seo-fv__button {
  margin-top: min(calc(40 / 375 * 100vw) ,40px);
  gap: 10px;
}
.service-seo-fv__button-link {
  width: min(calc(161 / 375 * 100vw) ,161px);
  max-width: 100%;
}
}

/* ポインタあり環境のみ hover 挙動 */
@media (any-hover: hover) {
  .service-seo-fv__button-link:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 9px -6px rgba(52, 52, 60, 0.55); /* やや弱める */
  }
}

/* クリック中はさらに沈む */
.service-seo-fv__button-link:active {
  transform: translateY(8px);
  box-shadow: 0 2px 6px -6px rgba(52, 52, 60, 0.2); /* ほぼ消える */
}


/* -------------------------------------------------
  .service-seo-trouble (こんなお悩みありませんか？)
---------------------------------------------------*/
.service-seo-trouble {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #0173B7;
  padding-block: min(calc(50 / 1140 * 100vw), 50px) min(calc(30 / 1440 * 100vw), 30px);
  color: #fff;
  text-align: center;
}
@media screen and (max-width: 750px) {
  .service-seo-trouble {
    padding: min(calc(40 / 375 * 100vw), 40px) min(calc(16 / 375 * 100vw), 16px);
  }
}

.post_content h2.service-seo-trouble__title {
  font-weight: 700;
  margin-bottom: min(calc(36 / 1140 * 100vw), 36px);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.post_content h2.service-seo-trouble__title em {
  font-size:30px;
  font-style: normal;
  color: #D9E8F5;
}
@media screen and (max-width: 750px) {
  .post_content h2.service-seo-trouble__title em {
    font-size: 24px;
  }
}

.service-seo-trouble__label {
  display: block;
  width: 101px;
  padding: 4px 10px;
  margin-inline: auto;
  border-radius: 999px;
  background-color: #D9E8F5;
  color: #0173B7;
  font-size: 12px;
  font-weight: 700;
}

.service-seo-trouble__content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top:  min(calc(35 / 1140 * 100vw), 35px);
}
@media screen and (max-width: 750px) {
  .service-seo-trouble__content {
    flex-direction: column;
    gap: min(calc(24 / 375 * 100vw), 24px);
  }
}

.service-seo-trouble__box {
  border-radius: 8px;
  border: 1px solid #ffffff;
  padding: min(calc(30 / 1140 * 100vw), 30px) min(calc(36 / 1440 * 100vw), 36px);
  text-align: left;
  width:  min(calc(424 / 1140 * 100vw), 424px);
  min-width: min(calc(360 / 1140 * 100vw), 360px);
}
@media screen and (max-width: 750px) {
  .service-seo-trouble__box {
    width: 100%;
    min-width: auto;
  }
}

.post_content .service-seo-trouble__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post_content .service-seo-trouble__item {
  font-size: min(calc(16 / 1140 * 100vw), 16px);
  line-height: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.service-seo-trouble__item::before {
  content: "";
  background: url(img/service-icon.png) no-repeat center / contain;
  width: 18px;
  height: 18px;
  left: 0;
  top: min(calc(2 / 375 * 100vw), 2px);
  font-size: min(calc(14 / 375 * 100vw), 14px);
  color: #fff;
}

.service-seo-trouble__item + .service-seo-trouble__item {
  margin-top: min(calc(10 / 1140 * 100vw), 10px);
}

.service-seo-trouble__illust {
  max-width: min(calc(306 / 1140 * 100vw), 306px);
}
@media screen and (max-width: 750px) {
  .service-seo-trouble__illust {
    max-width: min(calc(200 / 375 * 100vw), 200px);
  }
}
.service-seo-trouble__illust img {
  width: 100%;
  height: auto;
  object-fit: contain;
}





/* -------------------------------------------------
  .service-seo-support
---------------------------------------------------*/

.service-seo-support {
  font-family: "Noto Sans JP", sans-serif;
  padding-block: min(calc(88 / 1140 * 100vw), 88px);
}

.post_content h2.service-seo-support__title {
  font-size: min(calc(36 / 1140 * 100vw), 36px);
  font-weight: 700;
  color: #0173b7;
  text-align: center;
  line-height: 1.6;
}

.post_content h2.service-seo-support__title span {
  font-size: min(calc(26 / 1140 * 100vw), 26px);
}

.post_content .service-seo-support__text {
  margin-top: min(calc(40 / 1140 * 100vw), 40px);
  margin-bottom: 0;
  text-align: center;
  font-weight: 700;
  color: #333333;
  font-size: min(calc(24 / 1140 * 100vw), 24px);
}

.service-seo-support__text span {
  font-size: min(calc(28 / 1140 * 100vw), 28px);
}

.service-seo-support__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: min(calc(30 / 1140 * 100vw), 30px);
  margin-top: min(calc(37 / 1140 * 100vw), 37px);
  margin-inline: auto;
  max-width: min(calc(900 / 1140 * 100vw), 900px);
}

.service-seo-support__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: min(calc(10 / 1140 * 100vw), 10px);
  padding: min(calc(18 / 1140 * 100vw), 18px);
  background: linear-gradient(90deg, #1ba7e3 0%, #0e80bf 50%, #276ea5 100%);
  border-radius: 4px;
  font-size: min(calc(18 / 1140 * 100vw), 18px);
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: default; /* クリックできない印象に */
}

.service-seo-support__icon {
  width: min(calc(24 / 1140 * 100vw), 24px);
  height: min(calc(24 / 1140 * 100vw), 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-seo-support__icon img {
  max-width: 100%;
  max-height: 100%;
}

.service-seo-support__label {
  white-space: nowrap;
}

.service-seo-support__btn {
  margin-top: min(calc(100 / 1140 * 100vw), 100px);
}

/* -------------------------------------------------
  .service-seo-feature
---------------------------------------------------*/
.service-seo-feature {
  text-align: center;
  padding-block: min(calc(50 / 1140 * 100vw), 50px) min(calc(100 / 375 * 100vw), 100px);
}

.service-seo-feature__list {
  margin-top: min(calc(30 / 1140 * 100vw), 30px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(calc(30 / 1140 * 100vw), 30px);
  max-width: min(calc(1020 / 1140 * 100vw), 1020px);
  margin-inline: auto;
  counter-reset: feature;
}

.service-seo-feature__item {
  display: block;
  transition: .3s;
  max-width: min(calc(320 / 1140 * 100vw), 320px);
}

@media (any-hover: hover) {
  .service-seo-feature__item:hover .service-seo-feature__box::before,
  .service-seo-feature__item:hover .service-seo-feature__label {
    background: linear-gradient(90deg, #1577a4 0%,  #0b5f8a 50%, #1c4f77 100%);
  }
}

.service-seo-feature__label {
  display: inline-block;
  background: linear-gradient(90deg, #1ba7e3 0%, #0e80bf 50%, #276ea5 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.5;
  letter-spacing: 0.04em;
  border-radius: 100px;
  width: 100%;
  height:28px;
  transition: .3s;
}

.service-seo-feature__box {
  margin-top: 5px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: min(calc(30 / 1140 * 100vw), 30px);
  background: #ffffff;
  border-radius: 8px;
  z-index: 1;
}

.service-seo-feature__box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, #1ba7e3 0%, #0e80bf 50%, #276ea5 100%);
  
  /* 中をくり抜いて白いボックスを出す */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}

.post_content p.service-seo-feature__text::before {
  content: "#";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-20%);
  font-size: min(calc(32 / 1140 * 100vw), 32px);
  font-weight: 700;
  color: #f3f6ff;
  padding-right: min(calc(4 / 1140 * 100vw), 4px);
  z-index: -1;
}

.post_content p.service-seo-feature__text::after {
  counter-increment: feature;
  position: absolute;
  content:counter(feature, decimal-leading-zero);
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.04em;
  color: #f3f6ff;
  font-size:  min(calc(68 / 1140 * 100vw), 68px);
  padding-right: min(calc(4 / 1140 * 100vw), 4px);
  z-index: -1;
}

.post_content p.service-seo-feature__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: min(calc(24 / 1140 * 100vw), 24px);
  line-height: 1.6;
  font-weight: 700;
  color: #0173b7;
  text-align: center;
}

.service-seo-feature__btn {
  margin-top: min(calc(100 / 1140 * 100vw), 100px);
}

/* -------------------------------------------------
  .service-seo-flow
---------------------------------------------------*/
.service-seo-flow {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
  padding-block: 50px;
}

.service-seo-flow__text {
  /* リセット */
  margin: 0 !important;
  /* オリジナル */
  margin-top: 38px !important;
  font-size: min(calc(28 / 1140 * 100vw), 28px);
  font-weight: 600;
  text-align: center;
  color: #0173B7;
  position: relative;
  padding-bottom: min(calc(40 / 1140 * 100vw), 40px);
}
.service-seo-flow__text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: url(./img/process__fukidashi.svg) no-repeat center center / contain;
  width: min(calc(680 / 1140 * 100vw), 680px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 680 / 110;
}
@media screen and (max-width: 750px) {
  .service-seo-flow__text {
    margin-top: 30px !important;
    padding-top: min(calc(14 / 375 * 100vw), 14px);
    font-size: min(calc(18 / 375 * 100vw), 18px);
    padding-bottom: min(calc(30 / 375 * 100vw), 30px);
    line-height: 1.6 !important;
  }
  .service-seo-flow__text::after {
    width: min(calc(250 / 375 * 100vw), 250px);
    aspect-ratio: 250 / 104;
    background: url(./img/process__fukidashi_sp.svg) no-repeat center center / contain;
  }
}

.service-seo-flow__img {
  max-width: 900px;
  margin-inline: auto;
}

.service-seo-flow__img img {
  width: 100%;
  aspect-ratio: 904/392;
  object-fit: contain;
}