@charset "utf-8";

/* ===============================
  Main top（共通）
=============================== */
.ink-hero__bg {
  background: var(--ink);
  width: 100%;
  padding: 100px 0 45px;
}

.ink-hero__bg-title {
  margin: 0;
  text-align: center;
  line-height: 1;
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  color: #2C3344;
  font-size: clamp(12rem, 30vw, 36rem);
}

.ink-hero__ink {
  position: relative;
  z-index: 1;
  height: 263px;
  background: url("../images/pc/ink01.webp") repeat-x center top / contain;
  background: auto 100%;
  margin-top: -1px;
}

/* インク系の共通スタイルとして */
.service__ink,
.price__ink,
.flow__ink,
.faq__ink {
  position: relative;
  z-index: 2;
}

/* 後ろに来るセクション*/
.flow,
.faq,
.contact-hero {
  position: relative;
  z-index: 1;
}


/* SP TOP （〜768px） */
@media (max-width: 768px) {
  .ink-hero__bg {
    padding: 80px 0 32px;
  }

  .ink-hero__bg-title {
    font-size: clamp(6.4rem, 24vw, 9.6rem);
  }

  .ink-hero__ink {
    height: 113px;
    background: url("../images/sp/ink01sp.webp") repeat-x center top / contain;
    background: auto 100%;
  }
}

/* ===============================
  SERVICE（タブ＋提供サービス）
=============================== */

.service {
  background: linear-gradient(to bottom, #FF2175 0%, #F200FF 100%);
  color: var(--ink);
  margin-top: -250px;
  padding: 200px 0 90px;
}

.service__inner {
  max-width: 1238px;
  margin: 0 auto;
}

/* ---------- タブ ---------- */

.service-tabs {
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 72px;
}

.service-tabs__btn {
  display: inline-block;
  font-family: "Sansation", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  border: 0.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  pointer-events: auto;
}

.service-tabs__btn:hover {
  background: var(--ink);
  color: var(--beige);
}

.service-tabs__btn.is-active {
  background: var(--ink);
  color: var(--beige);
}

/* ---------- 提供サービスカード ---------- */

.service-section__title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 148px;
  text-align: center;
}

.service-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-card {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.service-card__body {
  flex: 1;
  padding-top: 55px;
}

.service-card__title {
  font-size: 2.4rem;
  font-weight: 700;
  border-left: 11px solid var(--pink-dark);
  margin-bottom: 28px;
  padding-left: 24px;
}

.service-cards > .service-card:nth-of-type(n + 3):nth-of-type(-n + 4) .service-card__title {
  border-left-color: var(--pink-mid);
}

.service-cards > .service-card:nth-of-type(n + 5):nth-of-type(-n + 6) .service-card__title {
  border-left-color: var(--pink);
}

.service-card__text {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-card__note {
  font-size: 1.4rem;
  line-height: 1.8;
}

/* 各サービス詳細への導線ボタン */
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 36px;
  border-radius: 999px;
  background: var(--pink-dark);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(248, 14, 147, 0.28);
  transition: opacity .2s ease, transform .2s ease;
}
.service-card__more::after { content: "→"; }
.service-card__more:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.service-card__image {
  flex-shrink: 0;
  width: 422px;
  max-width: 40%;
}

.service-card__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-eyes {
  margin-top: 60px;
  transform-origin: center center;
  animation: blink 4s infinite;
}

.service-eyes img {
  display: block;
  width: 85px;
}

/* まばたきアニメーション */
  @keyframes blink {
    0%, 3%, 8%, 100% {
      transform: scaleY(1);
    }
    4% {
      transform: scaleY(0.1);
    }
    6% {
      transform: scaleY(0.2);
    }
}

.service__ink {
  height: 263px;
  margin-top: -1px;
  background: url("../images/pc/ink05.webp") repeat-x center top / contain;
  background: auto 100%;
}

/* ===============================
  SP SERVICE（タブ＋提供サービス）
=============================== */

@media (max-width: 768px) {
  .service {
    margin-top: -100px;
    padding: 160px 0 30px;
  }

  .service-tabs {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
  }

  .service-tabs__btn {
    font-size: 1.2rem;
    padding: 4px 10px;
  }

  .service-section__title {
    font-size: 2rem;
    margin-bottom: 32px;
  }

  .service-card {
    flex-direction: column-reverse;
    padding: 24px 20px;
    gap: 24px;
  }

  .service-card__image {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }

  .service-card__body {
    padding-top: 0;
  }

  .service-card__title {
    font-size: 1.92rem;
    font-weight: 700;
    border-left: none;
    margin-bottom: 28px;
    padding-left: 0;
    text-align: left;
  }

  .service-card__text {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  .service-card__note {
    font-size: 1.3rem;
  }

  .service-eyes {
    margin-top: 30px;
    width: 55px;
  }

  .service__ink {
    height: 113px;
    background: url("../images/sp/ink04sp.webp") repeat-x center top / contain;
    background: auto 100%;
  }
}

/* ===============================
  PRICE
=============================== */
.section-title {
  font-family: "Sansation";
  text-align: center;
}

.price {
  background: var(--beige);
  color: var(--ink);
  padding: 80px 0 160px;
}

.price__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.price__lead {
  margin-top: 68px;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
}

.price__note {
  margin-top: 12px;
  font-size: 1.2rem;
  text-align: center;
}

.price-table-wrapper {
  margin-top: 68px;
  border: 0.5px solid #ddd;
  padding: 40px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
}

.row-small {
  font-size: 1.2rem;
}

.price-table th,
.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.price-table th {
  text-align: left;
  width: 60%;
  font-weight: 400;
}

.price-table td {
  text-align: right;
  white-space: nowrap;
}

.price__ink {
  height: 263px;
  margin-top: -1px;
  background: url("../images/pc/ink03.webp") repeat-x center top / contain;
  background: auto 100%;
}

.spBr {display: none;}


/* ===============================
  　SP PRICE
=============================== */

@media (max-width: 768px) {
  .price__ink {
    height: 113px;
    background: url("../images/sp/ink03sp.webp") repeat-x center top / contain;
    background: auto 100%;
  }

  .price {
    padding: 80px 0 96px;
  }

  .price__inner {
    max-width: 100%;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  .price__lead {
  margin-top: 0;
  font-size: 1.3rem;
  }

.price__note {
  margin-top: 12px;
  font-size: 1.1rem;
  }

  .price-table th {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }

  .price-table td {
    display: block;
    text-align: right;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 8px;
  }

  .spBr {
    display: block;
  }
}

/* ===============================
FLOW
=============================== */
.flow {
  background: var(--ink);
  color: var(--beige);
  padding: 250px 0 140px;
  margin-top: -250px;
}

.flow__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.flow-list {
  list-style: none;
  padding: 0;
}

.flow-item {
  display: flex;
  gap: 40px;
  padding: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.flow-item:last-child {
  border-bottom: none;
}

.flow-item__step {
  font-size: 11rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.flow-item__content {
  margin-left: 0;
}

.flow-item__title {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 24px;
  border-radius: 999px;
  border: 1px solid var(--beige);
  font-size: 1.6rem;
  font-weight: 700;
}

.flow-item__text {
  margin-top: 16px;
  font-size: 1.4rem;
  line-height: 1.8;
}

.flow__ink {
  height: 263px;
  margin-top: -1px;
  background: url("../images/pc/ink01.webp") repeat-x center top / contain;
  background: auto 100%;
}

/* ===============================
  SP FLOW
=============================== */

@media (max-width: 768px) {
  
  .flow {
    padding: 180px 0 60px;
    margin-top: -100px;
  }

  .flow-item {
    padding: 32px 0;
  }

  .flow-item__title {
    margin-top: 16px;
    padding: 5px 22px;
    font-size: 1.4rem;
  }

  .flow-item__text {
    margin-top: 16px;
    font-size: 1.3rem;
    line-height: 1.8;
  }

  .flow-item__step {
    font-size: 6rem;
  }

  .flow__ink {
    height: 113px;
    background: url("../images/sp/ink01sp.webp") repeat-x center top / contain;
    background: auto 100%;
  }

}

/* ===============================
  FAQ
=============================== */

.faq {
  background: var(--beige);
  padding: 120px 0 140px;
}

.faq__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-list {
  margin-top: 40px;
}

.faq-item + .faq-item {
  margin-top: 36px;
}

.faq__pink {
  color: var(--pink-dark);
}

.faq-item__q {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.faq-item__a {
  padding-left: 24px;
  font-size: 1.4rem;
  line-height: 1.8;
}

.faq__ink {
  height: 263px;
  margin-top: -1px;
  background: url("../images/pc/ink03.webp") repeat-x center top / contain;
  background: auto 100%;
}

/* ===============================
  SP FAQ
=============================== */

@media (max-width: 768px) {
  .faq {
    padding: 70px 0 60px;
  }

  .faq-item__q {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .faq-item__a {
    padding-left: 24px;
    font-size: 1.2rem;
    line-height: 1.8;
  }

  .faq__ink {
    height: 113px;
    background: url("../images/sp/ink03sp.webp") repeat-x center top / contain;
    background: auto 100%;
  }
}
