@charset "utf-8";

/* =====================================
   CAMPAIGN TICKER
===================================== */
.campaign-ticker {
  position: relative;
  z-index: 10;

  width: 100%;
  height: 110px;
  margin-top: 90px;

  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;

  overflow: hidden;

  background: linear-gradient(90deg,
      rgba(255, 244, 205, .82),
      rgba(255, 238, 230, .78),
      rgba(250, 224, 235, .78));

  border-top: 1px solid rgba(239, 151, 71, .14);
  border-bottom: 1px solid rgba(239, 151, 71, .18);
}


/* =========================
   左側の固定画像
========================= */
.campaign-label {
  position: relative;
  z-index: 3;

  width: 220px;
  height: 100%;
  padding: 0 10px;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  background: linear-gradient(90deg,
      rgba(255, 246, 215, 1) 78%,
      rgba(255, 246, 215, 0));
}

.campaign-label img {
  display: block;

  width: auto;
  height: 106px;
  max-width: 100%;

  object-fit: contain;
  object-position: center;
}

.campaign-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  /* フェードの開始位置 */
  width: 70px;
  /* フェードの幅 */
  height: 100%;

  background: linear-gradient(to right,
      rgba(255, 246, 215, 1) 0%,
      rgba(255, 246, 215, .85) 35%,
      rgba(255, 246, 215, 0) 100%);

  pointer-events: none;
  z-index: 10;
}

/* =========================
   流れる文字の表示範囲
========================= */
.campaign-window {
  position: relative;

  min-width: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;

  overflow: hidden;
  margin-left: -30px;
}


/* =========================
   無限スクロール本体
========================= */
.campaign-track {
  display: flex;
  align-items: center;

  width: max-content;
  min-width: max-content;

  animation: campaignScroll 50s linear infinite;
  will-change: transform;
}

.campaign-group {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  gap: 36px;

  padding-right: 36px;
}

.campaign-item {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  gap: 18px;

  color: #333;
  white-space: nowrap;

  cursor: default;
}

.campaign-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
}

.campaign-star {
  color: #ef9747;
  font-size: 20px;
}

.campaign-old-price {
  margin-left: 5px;

  color: #888;
  text-decoration: line-through;
}

.campaign-arrow {
  display: inline-block;
  margin: 0 9px;

  color: #777;
}

.campaign-text strong {
  color: #d86638;

  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
}

.campaign-separator {
  flex-shrink: 0;

  color: rgba(34, 34, 34, .36);
  font-size: 14px;
}


/* =========================
   無限スクロール
========================= */
@keyframes campaignScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================
   SMARTPHONE
========================= */



/* 動きを減らす設定を利用している場合 */
@media (prefers-reduced-motion: reduce) {

  .campaign-track {
    animation: none;
  }

}

/* =========================
   OPENING
========================= */
.opening-hero {
  position: relative;
  margin-top: 0;
  min-height: calc(100vh - 158px);

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
  background: #fff;
}

.opening-text {
  position: relative;
  z-index: 3;

  width: 100%;
  padding: 0 5%;
  margin-top: 0px;

  text-align: center;

  animation: textOut 1.2s ease forwards;
  animation-delay: 9.2s;
}

.main-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;

  margin: 0;

  font-family: "Yu Gothic", "Yu Gothic Medium", "YuGothic", sans-serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}

.copy-line {
  display: block;
}

.copy-line.line1,
.copy-line.line2 {
  position: relative;
  display: inline-block;

  width: fit-content;
  margin: 0 auto;
  padding: 0 10px 4px;
}

/* PC：黄色の太線マーカー */
.copy-line.line1::before,
.copy-line.line2::before {
  content: "";

  position: absolute;
  left: 0;
  bottom: .12em;

  width: 0;
  height: .42em;

  background: rgba(255, 220, 90, .55);
  border-radius: 999px;

  z-index: -1;
  animation: markerGrow .9s ease forwards;
}

.copy-line.line1::before {
  animation-delay: 1.8s;
}

.copy-line.line2::before {
  animation-delay: 3.5s;
}

.copy-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: letterFade 1.4s ease-out forwards;
}

/* PCでは「デザイン」も黒 */
.brand-word span {
  color: inherit;
}

.copy-line:nth-child(1) span,
.copy-line.line1 span {
  animation-delay: calc(var(--i) * .09s);
}

.copy-line:nth-child(2) span,
.copy-line.line2 span {
  animation-delay: calc(1.8s + (var(--i) - 12) * .09s);
}

.copy-line.small {
  margin-top: 6px;
}

.copy-line.small span {
  animation-delay: 3.8s;
}

.hero-lead {
  margin-top: 42px;
  text-align: center;

  opacity: 0;
  transform: translateY(18px);

  animation: heroLeadFade 6s ease forwards;
  animation-delay: 5.2s;
}

.hero-service {
  margin: 0 0 20px;

  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.8;
  color: #222;
}

.hero-description {
  margin: 0;

  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 2;
  letter-spacing: .08em;
  color: #666;
}

/* 文字表示 */
@keyframes letterFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PCマーカー表示 */
@keyframes markerGrow {
  to {
    width: 100%;
  }
}

/* サブコピー表示 → 消える */
@keyframes heroLeadFade {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  18% {
    opacity: 1;
    transform: translateY(0);
  }

  82% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-18px);
  }
}

/* メインコピー全体を消す */
@keyframes textOut {
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* 画像 */
.opening-image {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;
  overflow: hidden;
}

.opening-image img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  opacity: 0;
  animation: slideShow 18s infinite ease-in-out;
}

.opening-image img:nth-child(1) {
  animation-delay: 11.2s;
}

.opening-image img:nth-child(2) {
  animation-delay: 17.2s;
}

.opening-image img:nth-child(3) {
  animation-delay: 23.2s;
}

@keyframes slideShow {
  0% {
    opacity: 0;
    transform: scale(.95);
  }

  10% {
    opacity: 1;
    transform: scale(.95);
  }

  30% {
    opacity: 1;
    transform: scale(1.02);
  }

  40%,
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

/* =========================
   OPENING SP
========================= */


/* =========================
   ABOUT
========================= */
.about {
  padding: 60px 6% 40px;
  background: #fafafa;
}

.about-title {
  text-align: center;
  margin-bottom: 60px;
}

.about-title span {
  display: block;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: .28em;

  background: linear-gradient(90deg, #f5a400, #f28aa8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-title p {
  margin: 12px 0 0;
  font-size: 14px;
  letter-spacing: .16em;
  color: #444;
}

.about-inner {
  max-width: 1180px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;

  align-items: center;
}

.about-text h2 {
  margin: 0 0 35px;

  font-size: 28px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .18em;
}

.about-text p {
  margin: 0 0 45px;

  font-size: 16px;
  line-height: 2.4;
  letter-spacing: .08em;
  color: #555;
}

.about-btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  width: 290px;
  height: 68px;

  border-radius: 999px;
  border: 1px solid #222;

  background: #fff;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  letter-spacing: .14em;

  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  transition: .35s ease;
}

.about-btn::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(90deg, #f5e5bd, #f4ddd1, #f0ccdc);
  transform: translateX(-100%);
  transition: .4s ease;
}

.about-btn:hover::before {
  transform: translateX(0);
}

.btn-text,
.btn-arrow {
  position: relative;
  z-index: 2;
}

.btn-arrow {
  transition: .3s ease;
}

.about-btn:hover .btn-arrow {
  transform: translateX(8px);
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 90%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
}

/* =========================
   CONSULT
========================= */

.consult {
  padding: 10px 6% 70px;
  background: #fff;
}

.consult-card {

  width: fit-content;
  min-width: 420px;

  margin: 0 auto;

  padding: 34px 60px 30px;

  text-align: center;

  border-radius: 999px;

  background: linear-gradient(135deg,
      #fff8ea 0%,
      #fff4f6 100%);

  border: 1px solid rgba(239, 151, 71, .12);

  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.consult-title {

  margin: 0;

  font-size: 16px;
  letter-spacing: .18em;
  color: #666;
}

.consult-count {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;

  margin: 16px 0 10px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 80px;
  font-weight: 300;
  line-height: 1;

  color: #ef9747;
}

.consult-count span {
  font-size: 24px;
  margin-left: 0;
}

.consult-text {

  margin: 0;

  font-size: 14px;
  letter-spacing: .08em;

  color: #888;
}



/* =========================
   PROBLEM
========================= */
.problem {
  padding: 60px 6%;
  background: #fff;
}

.problem-title {
  text-align: center;
  margin-bottom: 70px;
}

.problem-title span {
  display: block;
  margin-bottom: 18px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: .28em;

  background: linear-gradient(90deg, #f5a400, #f28aa8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.problem-title h2 {
  margin: 0;

  font-size: 15px;
  font-weight: 400;
  letter-spacing: .15em;
  color: #444;
}

.problem-list {
  max-width: 1080px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.problem-item {
  position: relative;

  padding: 40px 34px 30px;

  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}

.problem-item::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;

  transform: translateX(-50%);

  width: 22px;
  height: 22px;

  border-radius: 50%;
  background: linear-gradient(135deg, #f5b36d, #f28aa8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.problem-item::after {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(50% + 3px);

  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
}

.problem-item p {
  margin: 0;

  text-align: center;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .04em;
  color: #333;
}

/* =========================
   RECOMMEND
========================= */
.recommend {
  position: relative;
  padding: 60px 6% 40px;
  overflow: hidden;
  background: #fafafa;
}

.recommend-title {
  position: relative;
  z-index: 2;

  text-align: center;
  margin-bottom: 70px;
}

.recommend-title span {
  display: block;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 35px;
  font-weight: 300;
  letter-spacing: .35em;

  background: linear-gradient(90deg, #f5b53f, #f58ea5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.recommend-title p {
  margin-top: 18px;

  font-size: 14px;
  letter-spacing: .15em;
  color: #444;
}

.recommend-list {
  position: relative;
  z-index: 2;

  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  gap: 30px;
}

.recommend-item {
  width: 280px;
  height: 280px;

  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  transition: .35s ease;
}

.recommend-item p {
  margin: 0;

  font-size: 18px;
  line-height: 2;
  letter-spacing: .05em;
  color: #333;
}

.recommend-item span {
  color: #f28aa8;
  font-weight: 700;
}

/* =========================
   POINT
========================= */
.point {
  padding: 60px 6%;
  background: #fafafa;
}

.point-title {
  margin-bottom: 80px;
  text-align: center;
}

.point-inner {
  max-width: 1180px;
  margin: 0 auto 90px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.point-inner:last-child {
  margin-bottom: 0;
}

/* 偶数は左右反転 */
.point-inner.reverse .point-image {
  grid-column: 2;
  grid-row: 1;
}

.point-inner.reverse .point-text {
  grid-column: 1;
  grid-row: 1;
}

/* -------------------------
   画像
------------------------- */
.point-image {
  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;
  border-radius: 28px;
  background: transparent;

  box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
}

.point-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* Point02だけ画像全体を表示 */
.point-image-02 {
  aspect-ratio: 1020 / 666;
}

.point-image-02 img {
  object-fit: contain;
  object-position: center;
}

/* Point04 */
.point-image-04 img {
  object-fit: cover;
  object-position: center;
}

/* -------------------------
   テキスト
------------------------- */
.point-text {
  display: flex;
  flex-direction: column;
}

.point-number {
  display: block;
  margin-bottom: 18px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .04em;

  color: #ef9747;
}

.point-text h3 {
  margin: 0 0 24px;

  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;

  color: #222;
}

.point-text h3 em {
  font-style: normal;
  color: #ef9747;
}

.point-text p {
  margin: 0;

  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .06em;

  color: #444;
}

/* =========================
   POINT SP
========================= */


/* =========================
   SERVICE
========================= */
.service {
  padding: 60px 6% 120px;
  background: #fff;
}

.service-title {
  margin-bottom: 80px;
}

.service-card {
  max-width: 1180px;
  margin: 0 auto 90px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-card.reverse .service-image {
  grid-column: 2;
  grid-row: 1;
}

.service-card.reverse .service-text {
  grid-column: 1;
  grid-row: 1;
}

.service-image {
  width: 100%;
  aspect-ratio: 4 / 3;

  border-radius: 28px;
  overflow: hidden;
  background: transparent;

  box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
}

.service-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Service02 */
.service-image-02 img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  background: transparent;
}

.service-number {
  display: block;
  margin-bottom: 18px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .04em;

  color: #ef9747;
}

.service-text h3 {
  margin: 0 0 24px;

  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;
}

.service-text p {
  margin: 0 0 36px;

  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .06em;
  color: #444;
}

.service-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-btn {
  margin-top: 10px;
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  width: 250px;
  height: 62px;

  border-radius: 999px;
  border: 1px solid #222;
  background: #fff;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: .14em;

  transition: .35s ease;
}

.service-btn::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(90deg, #f5e5bd, #f4ddd1, #f0ccdc);
  transform: translateX(-100%);
  transition: .4s ease;
}

.service-btn:hover::before {
  transform: translateX(0);
}

.service-btn:hover {
  transform: translateY(-3px);
}

.service-btn:hover .btn-arrow {
  transform: translateX(8px);
}

/* =========================
   WORKS
========================= */
.works {
  padding: 60px 6%;
  background: #fff;
}

.works-title {
  margin-bottom: 70px;
}

.works-list {
  max-width: 1180px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.works-item {
  text-align: center;
}

.works-item img {
  width: 100%;
  height: 340px;

  display: block;

  object-fit: contain;
  object-position: center;

  background: #fff;

  transition: .4s ease;
}

/* work1だけ少し小さく表示 */
.works-image-01 {
  transform: scale(0.88);
  transform-origin: center;
}

/* テキスト */
.works-text {
  width: 100%;
  padding: 30px 0 0;

  text-align: center;
  background: #fff;
}

.works-text span {
  display: block;
  margin-bottom: 14px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .15em;

  color: #f28aa8;
}

.works-text h3 {
  margin: 0;

  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;

  color: #222;
}

/* =========================
   WORKS Achievement
========================= */

.works-achievement {

  width: fit-content;
  min-width: 420px;

  margin: 38px auto 0;
  padding: 34px 60px 30px;

  text-align: center;

  border-radius: 999px;

  background: linear-gradient(135deg, #fff8ea 0%, #fff4f6 100%);
  border: 1px solid rgba(239, 151, 71, .12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);

}

.works-achievement p {
  margin: 0;
  font-size: 16px;
  letter-spacing: .18em;
  color: #666;
}

.works-achievement strong {

  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;

  margin: 16px 0 10px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 80px;
  font-weight: 300;
  line-height: 1;

  color: #ef9747;

}

.works-achievement strong span {

  font-size: 24px;
  font-weight: 400;
  line-height: 1;

}

.works-achievement small {

  display: block;
  font-size: 14px;
  letter-spacing: .08em;
  color: #888;

}

/* スマホ */


/* =========================
   WORKS View More
========================= */
.works-btn-wrap {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: 40px;
  /* 数値を大きくすると下へ */
}

.works-btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;

  width: 250px;
  height: 62px;

  border-radius: 999px;
  border: 1px solid #222;
  background: #fff;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: .12em;

  transition: .35s ease;
}

.works-btn::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(90deg,
      #f5e5bd,
      #f4ddd1,
      #f0ccdc);

  transform: translateX(-100%);
  transition: .4s ease;
}

.works-btn:hover::before {
  transform: translateX(0);
}

.works-btn:hover {
  transform: translateY(-3px);
}

.works-btn .btn-text,
.works-btn .btn-arrow {
  position: relative;
  z-index: 1;
}

.works-btn .btn-arrow {
  transition: .35s ease;
}

.works-btn:hover .btn-arrow {
  transform: translateX(8px);
}


/* =========================
   WORKS SP
========================= */


/* =========================
   PLAN
========================= */
.plan {
  padding: 60px 6%;
  background: #fafafa;
  text-align: center;
}

.plan .section-title {
  margin-bottom: 30px;
}

.plan .section-title h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: .08em;
}

.plan-lead {
  max-width: 1000px;
  margin: 0 auto 70px;
}

.plan-lead p {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .06em;
  color: #222;
}

.plan-lead span {
  padding: 4px 10px;
  background: linear-gradient(90deg, #fff1b8, #ffd8e5);
}

.plan-list {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.plan-card {
  position: relative;

  padding: 50px 35px;

  background: #fff;
  border-radius: 28px;

  box-shadow: 0 14px 35px rgba(0, 0, 0, .05);
  transition: .35s ease;
}

.plan-card:hover {
  transform: none;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .05);
}

.plan-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
}

.plan-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}


.plan-card h3 {
  margin: 0 0 20px;

  font-size: 28px;
  font-weight: 700;

  background: linear-gradient(90deg, #f5a400, #f28aa8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-desc {
  max-width: 260px;
  min-height: 96px;
  margin: 0 auto 25px;

  text-align: left;

  font-size: 15px;
  line-height: 2;
  letter-spacing: .05em;
  color: #555;
}

.plan-price {
  margin-bottom: 30px;
  padding: 24px 0;

  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.plan-price strong {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 42px;
}

.plan-price span {
  font-size: 15px;
}

/*=========================
  ボタン
=========================*/
.plan-btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  width: 230px;
  height: 56px;

  margin-bottom: 30px;

  border-radius: 999px;
  border: 1px solid #222;

  background: #fff;

  transition: .35s ease;
}

.plan-btn::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(90deg,
      #f5e5bd,
      #f4ddd1,
      #f0ccdc);

  transform: translateX(-100%);
  transition: .4s ease;

  z-index: 0;
}

.plan-btn:hover::before {
  transform: translateX(0);
}

.plan-btn:hover {
  transform: translateY(-3px);
}

.plan-btn .btn-text,
.plan-btn .btn-arrow {
  position: relative;
  z-index: 1;

  color: #222;
}

.plan-btn .btn-arrow {
  transition: .35s ease;
}

.plan-btn:hover .btn-arrow {
  transform: translateX(8px);
}

/*=========================
  リスト
=========================*/
.plan-card ul {
  margin-top: 20px;
  padding: 0;

  list-style: none;
  text-align: left;
}

.plan-card li {
  position: relative;

  padding-left: 18px;
  margin-bottom: 10px;

  line-height: 1.8;
}

.plan-card li::before {
  content: "";

  position: absolute;
  left: 0;
  top: 11px;

  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #f28aa8;
}

/*=========================
  人気バッジ
=========================*/
.popular-badge {
  position: absolute;

  top: -18px;
  right: 20px;

  width: 82px;
  height: 82px;

  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #333;

  color: #fff;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================
   PLAN View More
========================= */
.plan-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: 70px;
}

/* =========================
   PLAN SP
========================= */


/* =========================
   FLOW
========================= */
.flow {
  padding: 60px 6%;
  background: #fff;
}

.flow .section-title {
  margin-bottom: 30px;
}

.flow .section-title h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: .08em;
}

/* -------------------------
   リード文
------------------------- */
.flow-lead {
  max-width: 1000px;
  margin: 0 auto 70px;
  text-align: center;
}

.flow-lead p {
  margin: 0 0 18px;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .06em;

  color: #222;
}

.flow-lead p:last-child {
  margin-bottom: 0;
}

.flow-lead span {
  display: inline;
  padding: 4px 10px;

  background: linear-gradient(90deg,
      #fff1b8,
      #ffd8e5);
}

/* -------------------------
   一覧
------------------------- */
.flow-list {
  max-width: 1500px;
  margin: 0 auto 10px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.flow-item {
  position: relative;

  padding: 48px 28px 42px;

  text-align: center;

  background: #edf2f7;

  border-radius: 30px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}


/* -------------------------
   番号
------------------------- */
.flow-number {
  display: block;

  margin-bottom: 24px;

  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 58px;
  font-weight: 300;
  line-height: 1;

  letter-spacing: .04em;

  color: #f28aa8;
}

/* -------------------------
   タイトル
------------------------- */
.flow-item h3 {
  margin: 0 0 18px;

  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .05em;

  color: #222;
}

/* -------------------------
   説明文
------------------------- */
.flow-item p {
  margin: 0;

  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .05em;
  color: #666;
}

/* ホバーなし */
.flow-item:hover {
  transform: none;
  background: #edf2f7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

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


/* =========================
   FLOW View More
========================= */

.flow-btn-wrap {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: 60px;
  /* 数値を大きくすると下へ */
}



/* =========================
   Q&A
========================= */
.qa {
  padding: 60px 6%;
  background: #fafafa;


  /* Q&Aリンクで移動したときの位置調整 */
  scroll-margin-top: 40px;
}

.qa .section-title {
  margin-bottom: 42px;
}

.qa .section-title h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: .08em;
}

/* =========================
   Q&A タブ
========================= */
.qa-tabs {
  max-width: 900px;
  margin: 0 auto 60px;

  display: flex;
  justify-content: center;
  gap: 18px;
}

.qa-tab {
  flex: 1;
  max-width: 260px;
  min-width: 0;
  height: 58px;

  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .18);

  background: #fff;
  cursor: pointer;

  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .06em;

  color: #333;
  transition: .35s ease;
}

.qa-tab:hover {
  border-color: #ef9747;
}

.qa-tab.active {
  border-color: transparent;

  background: linear-gradient(90deg,
      #f5e5bd,
      #f4ddd1,
      #f0ccdc);

  color: #222;
}

/* =========================
   Q&A コンテンツ
========================= */
.qa-content {
  display: none;
}

.qa-content.active {
  display: block;
}

.qa-list {
  max-width: 1100px;
  margin: 0 auto;

  border-top: 1px solid rgba(0, 0, 0, .08);
}

.qa-item {
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

/* =========================
   質問
========================= */
.qa-question {
  width: 100%;
  padding: 30px 0;

  display: grid;
  grid-template-columns: 44px 1fr 30px;
  gap: 26px;
  align-items: center;

  border: none;
  background: transparent;
  cursor: pointer;

  text-align: left;
  font-family: inherit;
}

.qa-mark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;

  color: #333;
  transition: .3s ease;
}

.qa-question-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .05em;

  color: #333;
  transition: .3s ease;
}

/* =========================
   ＋アイコン
========================= */
.qa-icon {
  position: relative;

  width: 20px;
  height: 20px;

  justify-self: end;
}

.qa-icon::before,
.qa-icon::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 20px;
  height: 2px;

  background: #555;

  transform: translate(-50%, -50%);
  transition: .35s ease;
}

.qa-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いたら－ */
.qa-item.active .qa-icon::after {
  opacity: 0;
}

/* =========================
   回答
========================= */
.qa-answer {
  max-height: 0;
  overflow: hidden;

  transition: max-height .45s ease;
}

.qa-answer-inner {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 26px;

  padding: 0 0 34px;
}

.qa-answer-mark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;

  color: #ef9747;
}

.qa-answer p {
  margin: 0;

  font-size: 17px;
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: .05em;

  color: #333;
}

/* =========================
   開いた時
========================= */
.qa-item.active .qa-mark,
.qa-item.active .qa-question-text {
  color: #b8b8b8;
}

.qa-item.active .qa-icon::before,
.qa-item.active .qa-icon::after {
  background: #b8b8b8;
}

.qa-item.active .qa-answer-mark {
  color: #ef9747;
}

.qa-item.active .qa-answer p {
  color: #333;
}

/* =========================
   ホバー
========================= */
.qa-question:hover .qa-question-text {
  color: #ef9747;
}

.qa-question:hover .qa-icon::before,
.qa-question:hover .qa-icon::after {
  background: #ef9747;
}

/* =========================
   Q&A SP
========================= */


/* =========================
   NEWS
========================= */

.news {
  padding: 60px 6%;
  background: #fff;
}

.news-list {

  max-width: 1000px;
  margin: 70px auto 0;

}

.news-item {

  display: flex;
  align-items: center;
  gap: 40px;

  width: 100%;
  margin: 0;
  padding: 28px 0;

  border-bottom: 1px solid rgba(0, 0, 0, .08);

}


.news-item time {

  width: 120px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 15px;

  color: #888;

}

.news-item p {

  margin: 0;

  font-size: 17px;

  color: #222;

}


/* =========================
   IMAGE FLOW
========================= */

.image-flow {
  position: relative;

  height: 100vh;

  background-image: url("../images/break-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  overflow: hidden;
}

/* HTML内のimgは使わない */
.image-flow-sticky {
  display: none;
}


/* SP */


/* PCでは改行しない */
.sp-br {
  display: none;
}

/* スマホだけ改行 */


/* =========================
   TOP TABLET：1200px以下
========================= */
@media (max-width: 1200px) {

  .recommend-list {
    flex-wrap: wrap;
  }

  .point-inner {
    gap: 40px;
  }

  .service-card {
    gap: 50px;
  }

  .works-list,
  .plan-list {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* =========================
   TOP MOBILE：768px以下
========================= */



/* =========================
   FINAL MOBILE OVERRIDE
========================= */


/* =====================================
   CAMPAIGN TICKER / OPENING 最終調整
===================================== */
.opening-hero {
  margin-top: 0;
  min-height: calc(100vh - 200px);
}

/* =====================================
   ノートPC（高さが低い画面）
===================================== */
@media (min-width: 769px) and (max-height: 850px) {

  .main-copy {
    gap: 10px;
    line-height: 1.25;
  }

  .copy-line.small {
    margin-top: 0;
  }

  .hero-lead {
    margin-top: 20px;
  }

  .hero-service {
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .hero-description {
    line-height: 1.7;
  }

}

/* 「そのデザイン お任せください」を同時表示 */
.copy-line.small span {
  animation: none;
  opacity: 1;
  transform: none;
}

.copy-line.small {
  opacity: 0;
  animation: heroLeadFadeIn .8s ease forwards;
  animation-delay: 3.8s;
}

@keyframes heroLeadFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================
   スマホ最終調整
===================================== */



/* =====================================
   スマホ：OPENING領域を画像高まで縮小
===================================== */
@keyframes openingHeroMobileShrink {

  from {
    height: 540px;
    min-height: 540px;
  }

  to {
    height: 56.25vw;
    min-height: 56.25vw;
  }

}


/* =====================================
   スマホ：画像スライド
===================================== */
@keyframes slideShowMobile {

  0% {
    opacity: 0;
    transform: scale(.98);
  }

  4% {
    opacity: 1;
    transform: scale(1);
  }

  30% {
    opacity: 1;
    transform: scale(1.02);
  }

  38%,
  100% {
    opacity: 0;
    transform: scale(1.02);
  }

}


/* =====================================
   動きを減らす設定
===================================== */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {

  .opening-hero {
    height: 56.25vw !important;
    min-height: 56.25vw !important;
    animation: none !important;
  }

  .opening-image img:first-child {
    opacity: 1;
    animation: none;
  }

  .opening-image img:not(:first-child) {
    display: none;
  }

}

/* =====================================
   スマホ：SERVICE 並び順 最終調整
   ナンバー → 画像 → コメント → View More
===================================== */


/* =========================
   WORKS説明文（スマホ1行）
========================= */


/* =========================
   WORKS スマホ並び順変更
   コメント → 画像
========================= */


/* =========================
   Q&A ボタン（スマホ）
========================= */


/* =====================================
   SMARTPHONE：768px以下（統合版）
   ※分散していたスマホ用CSSを記述順のまま集約
===================================== */
@media (max-width: 768px) {

  .campaign-ticker {
    height: 72px;
    margin-top: 80px;
    grid-template-columns: 135px minmax(0, 1fr);
  }

  .campaign-label {
    width: 135px;
    padding: 0 4px;
    overflow: visible;
  }

  .campaign-label img {
    width: 125px;
    height: 68px;
    max-width: none;
    object-fit: contain;
  }

  .campaign-label::after {
    right: -18px;
    width: 35px;
  }

  /* ヘッダーをスマホではハンバーガー表示へ戻す */
  .header {
    height: 80px;
    padding: 0 6%;
  }

  .logo {
    font-size: 18px;
    letter-spacing: .12em;
    white-space: nowrap;
  }

  .nav {
    display: none !important;
  }

  .nav.active {
    display: flex !important;
  }

  .hamburger {
    display: flex !important;
  }

  .opening-hero {
    margin-top: 80px;
    min-height: 125vh;
    align-items: flex-start;
  }

  .opening-text {
    width: 100%;
    margin-top: 0;
    padding: 72px 8% 0;
    text-align: left;
  }

  .main-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;

    font-size: clamp(30px, 7.5vw, 36px);
    line-height: 1.45;
    text-align: left;
  }

  .copy-line {
    text-align: left;
  }

  .copy-line.line1,
  .copy-line.line2 {
    width: auto;
    margin: 0;
    padding: 0;
  }

  /* スマホでは黄色マーカーを消す */
  .copy-line.line1::before,
  .copy-line.line2::before {
    display: none !important;
  }

  /* スマホでは「デザイン」だけブランドカラー */
  .brand-word span {
    color: #ef9747 !important;
  }

  /* 「そのデザイン / お任せください」は2行で表示 */
  .copy-line.small {
    margin-top: 26px;
    max-width: 100%;
  }

  .copy-line.small .sp-br {
    display: block;
  }

  .hero-lead {
    margin-top: 52px;
    text-align: left;
  }

  /* スマホでは2行になりやすい幅にする */
  .hero-service {
    max-width: 13.5em;
    margin: 0 0 30px;

    text-align: left;
    font-size: 20px;
    line-height: 1.8;
    letter-spacing: .08em;
  }

  .hero-description {
    max-width: 21em;

    text-align: left;
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: .05em;
  }

  .consult-count {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;

    font-size: 60px;
  }

  .consult-count span {
    font-size: 20px;
    margin-left: 0;
  }

  .point {
    padding: 80px 6%;
  }

  .point-title {
    margin-bottom: 50px;
  }

  .point-inner,
  .point-inner.reverse {
    display: flex;
    flex-direction: column;

    max-width: 520px;
    margin: 0 auto 70px;
    gap: 0;
  }

  /* reverse解除 */
  .point-inner.reverse .point-image,
  .point-inner.reverse .point-text {
    grid-column: auto;
    grid-row: auto;
  }

  /* 順番変更 */
  .point-text {
    display: contents;
  }

  .point-number {
    order: 1;

    display: block;
    width: 100%;

    margin: 0 0 20px;

    text-align: center;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 46px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: .04em;

    color: #ef9747;
  }

  .point-image {
    order: 2;

    width: 100%;
    margin-bottom: 30px;

    border-radius: 22px;
  }

  .point-text h3 {
    order: 3;

    margin-bottom: 18px;

    font-size: 25px;
    line-height: 1.6;
  }

  .point-text p {
    order: 4;

    font-size: 15px;
    line-height: 2;
  }

  .works-achievement {

    width: 100%;
    min-width: 0;
    max-width: 340px;

    padding: 26px 24px;

  }

  .works-achievement strong {

    font-size: 60px;
    gap: 6px;

  }

  .works-achievement strong span {

    font-size: 20px;

  }

  .works-achievement small {

    font-size: 12px;

  }

  .works {
    padding: 90px 6%;
  }

  .works-title {
    margin-bottom: 50px;
  }

  .works-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .works-item {
    text-align: center;
  }

  .works-item img {
    height: 280px;
    padding: 0;
  }

  .works-text {
    padding: 24px 0 0;
    text-align: center;
  }

  .works-text h3 {
    font-size: 24px;
  }

  .works-btn-wrap {
    margin-top: 50px;
  }

  .works-btn {
    width: 100%;
    max-width: 250px;
  }

  .plan {
    padding: 80px 6%;
  }

  .plan-lead {
    margin-bottom: 50px;
  }

  .plan-lead p {
    font-size: 15px;
    text-align: left;
  }

  .plan-list {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .plan-card {
    padding: 45px 28px;
  }

  .plan-card h3 {
    font-size: 24px;
  }

  .plan-price strong {
    font-size: 34px;
  }

  .plan-btn {
    width: 100%;
    max-width: 240px;
  }

  .popular-badge {
    width: 70px;
    height: 70px;

    font-size: 13px;
  }

  .flow {
    padding: 60px 6%;
  }

  .flow .section-title {
    margin-bottom: 24px;
  }

  .flow-lead {
    margin-bottom: 50px;
    text-align: left;
  }

  .flow-lead p {
    font-size: 15px;
    line-height: 2;
  }

  .flow-lead span {
    padding: 3px 8px;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .flow-item {
    padding: 42px 24px 36px;
  }

  .flow-item:not(:last-child)::after {
    display: none;
  }

  .flow-number {
    font-size: 48px;
  }

  .flow-item h3 {
    font-size: 22px;
  }

  .flow-item p {
    font-size: 14px;
  }

  .flow-btn-wrap {
    margin-top: 40px;
  }

  .qa {
    padding: 70px 6%;
  }

  .qa .section-title {
    margin-bottom: 36px;
  }

  .qa-tabs {
    margin-bottom: 46px;

    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .qa-tab {
    width: 100%;
    max-width: 320px;
    height: 54px;

    font-size: 14px;
  }

  .qa-question {
    padding: 24px 0;

    grid-template-columns: 34px 1fr 22px;
    gap: 16px;
  }

  .qa-mark {
    font-size: 24px;
  }

  .qa-question-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .qa-icon {
    width: 18px;
    height: 18px;
  }

  .qa-icon::before,
  .qa-icon::after {
    width: 18px;
  }

  .qa-answer-inner {
    grid-template-columns: 34px 1fr;
    gap: 16px;

    padding: 0 0 26px;
  }

  .qa-answer-mark {
    font-size: 24px;
  }

  .qa-answer p {
    font-size: 14px;
    line-height: 2;
  }

  .news {

    padding: 60px 6%;

  }

  .news-item {

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

  }

  .news-item time {

    width: auto;

  }

  .news-item p {

    font-size: 15px;

  }

  .image-flow {
    height: 70vh;

    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }

  .sp-br {
    display: block;
  }

  .opening-hero {
    margin-top: 0 !important;

    width: 100%;
    height: 540px;
    min-height: 540px;
    padding-bottom: 0;

    align-items: flex-start;

    /* 文字が消えたあと、画像の高さまで縮める */
    animation: openingHeroMobileShrink 1s ease forwards;
    animation-delay: 9.2s;
  }

  .opening-text {
    width: 100%;
    margin-top: 0;
    padding: 0 8% 40px;
    text-align: left;
  }

  .main-copy {
    font-size: clamp(30px, 7.5vw, 36px);
    line-height: 1.45;
    gap: 18px;
    text-align: left;
  }

  .copy-line {
    text-align: left;
  }

  .copy-line.line1,
  .copy-line.line2 {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .copy-line.line1::before,
  .copy-line.line2::before {
    display: none !important;
  }

  .brand-word span {
    color: #ef9747 !important;
  }

  .copy-line.small {
    margin-top: 26px;
    max-width: 100%;
  }

  .copy-line.small .sp-br {
    display: block;
  }

  .hero-lead {
    margin-top: 36px;
    text-align: left;
  }

  .hero-service {
    max-width: 13.5em;
    margin: 0 0 30px;

    text-align: left;
    font-size: 20px;
    line-height: 1.8;
    letter-spacing: .08em;
  }

  .hero-description {
    max-width: 21em;

    text-align: left;
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: .05em;
  }

  .opening-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
  }

  .opening-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center top;
  }

  .about-title span,
  .problem-title span,
  .recommend-title span,
  .point-title span {
    font-size: 30px;
    letter-spacing: .18em;
  }

  .about {
    padding: 40px 6%;
  }

  .about-title {
    margin-bottom: 50px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    width: 100%;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-btn {
    width: 100%;
    max-width: 290px;
  }

  .problem {
    padding: 40px 6%;
  }

  .problem-title {
    margin-bottom: 50px;
  }

  .problem-title h2 {
    font-size: 14px;
  }

  .problem-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem-item {
    padding: 36px 24px 26px;
  }

  .problem-item p {
    font-size: 15px;
  }

  .recommend {
    padding: 40px 6%;
  }

  .recommend-title {
    margin-bottom: 50px;
  }

  .recommend-list {
    gap: 20px;
  }

  .recommend-item {
    width: 260px;
    height: 260px;
  }

  .recommend-item p {
    font-size: 16px;
  }

  .point {
    padding: 40px 6%;
  }

  .point-title {
    margin-bottom: 48px;
  }

  .point-inner,
  .point-inner.reverse {
    max-width: 520px;
    margin: 0 auto 70px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .point-inner:last-child {
    margin-bottom: 0;
  }

  .point-number {
    order: 1;
    margin-bottom: 22px;
    font-size: 46px;
    line-height: 1;
  }

  .point-image {
    order: 2;
    width: 100%;
    margin-bottom: 28px;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .point-text {
    order: 3;
    width: 100%;
  }

  .point-text h3 {
    margin-bottom: 18px;
    font-size: 25px;
    line-height: 1.6;
    letter-spacing: .06em;
  }

  .point-text p {
    font-size: 15px;
    line-height: 2;
    letter-spacing: .04em;
  }

  .service,
  .works,
  .plan,
  .flow,
  .qa {
    padding: 40px 6%;
  }

  .service-title {
    margin-bottom: 50px;
  }



  .works-list,
  .plan-list,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .header {
    height: 80px;
    padding: 0 6%;
  }

  .logo {
    font-size: 18px;
    letter-spacing: .12em;
    white-space: nowrap;
  }

  .nav {
    display: none !important;
  }

  .nav.active {
    display: flex !important;
  }

  .hamburger {
    display: flex !important;
  }

  /* =========================
     キャンペーンテロップ
  ========================= */
  .campaign-ticker {
    position: relative;
    top: auto;
    left: auto;

    width: 100%;
    height: 58px;
    margin-top: 80px;

    /* テロップの消える位置を少し左へ */
    grid-template-columns: 80px minmax(0, 1fr);

    overflow: hidden;
  }

  .campaign-label {
    position: relative;
    z-index: 5;

    width: 80px;
    height: 58px;
    padding: 0;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    overflow: hidden;
  }

  .campaign-label img {
    display: block;

    width: 124px;
    height: 56px;
    max-width: none;

    object-fit: contain;
    object-position: center;

    /* イメージ図を少し左へ */
    transform: translateX(-10px);
  }

  /* PC用フェードをスマホでは無効化 */
  .campaign-label::after {
    content: none !important;
    display: none !important;
  }

  /* 画像のすぐ横をテロップの消失位置にする */
  .campaign-window {
    position: relative;

    width: 100%;
    min-width: 0;
    height: 100%;
    margin-left: 0 !important;

    display: flex;
    align-items: center;

    overflow: hidden;
    clip-path: inset(0);
  }

  .campaign-track {
    padding-left: 60px;

    animation-name: campaignScroll;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  .campaign-group {
    gap: 24px;
    padding-right: 24px;
    padding-left: 0;
  }

  .campaign-item {
    gap: 10px;
  }

  .campaign-text {
    font-size: 17px;
    letter-spacing: .05em;
  }

  .campaign-text strong {
    font-size: 22px;
  }

  .campaign-star {
    font-size: 16px;
  }

  .campaign-arrow {
    margin: 0 5px;
  }

  .campaign-separator {
    font-size: 12px;
  }


  /* =========================
     OPENING
  ========================= */
  .opening-hero {
    margin-top: 0 !important;

    width: 100%;
    height: 540px;
    min-height: 540px;
    padding: 0;

    align-items: flex-start;

    animation: openingHeroMobileShrink .8s ease forwards;
    animation-delay: 9.2s;
  }

  .opening-text {
    width: 100%;
    margin-top: 0;
    padding: 0 8% 40px;
    text-align: left;
  }

  .opening-image {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .opening-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center top;

    opacity: 0;

    animation-name: slideShowMobile;
    animation-duration: 18s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  .opening-image img:nth-child(1) {
    animation-delay: 9.2s;
  }

  .opening-image img:nth-child(2) {
    animation-delay: 15.2s;
  }

  .opening-image img:nth-child(3) {
    animation-delay: 21.2s;
  }


  /* =========================
     今月のご相談
  ========================= */
  .consult {
    margin: 0;
    padding: 0 6% 70px;
    background: #fff;
  }

  .consult .works-achievement {
    margin-top: 0;
  }

  /* 画像と同じ画面内に表示されやすくする */
  .consult .js-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card,
  .service-card.reverse {
    display: flex !important;
    flex-direction: column !important;

    width: 100%;
    max-width: 520px;
    margin: 0 auto 80px;
    gap: 0;
  }

  /* PC用の左右反転を解除 */
  .service-card.reverse .service-image,
  .service-card.reverse .service-text {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /*
    service-text内の要素を
    service-card直下と同じように並べる
  */
  .service-text {
    display: contents !important;
  }

  /* 01・02などのナンバー */
  .service-number {
    order: 1 !important;

    display: block;
    width: 100%;
    margin: 0 0 22px;

    text-align: center;
    font-size: 46px;
    line-height: 1;
    color: #ef9747;
  }

  /* イメージ図 */
  .service-image {
    order: 2 !important;

    width: 100%;
    margin: 0 0 30px;

    border-radius: 22px;
    overflow: hidden;
  }

  .service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* コメント見出し */
  .service-text h3 {
    order: 3 !important;

    width: 100%;
    margin: 0 0 18px;

    font-size: 25px;
    line-height: 1.6;
    text-align: left;
  }

  /* コメント本文 */
  .service-text p {
    order: 4 !important;

    width: 100%;
    margin: 0 0 30px;

    font-size: 15px;
    line-height: 2;
    text-align: left;
  }

  /* View More
     実際のHTMLでは .service-btn ではなく
     .about-btn / .common-btn を使用している */
  .service-text>a,
  .service-text>.about-btn,
  .service-text>.common-btn {
    order: 5 !important;

    display: inline-flex !important;
    width: 100%;
    max-width: 250px;
    margin: 0 auto !important;

    align-self: center;
  }

  .works-title p {
    white-space: nowrap;
    font-size: 15px;
    letter-spacing: .03em;
  }

  .works-item {
    display: flex;
    flex-direction: column;
  }

  .works-text {
    order: 1;
    padding: 0 0 0px;
  }

  .works-item img {
    order: 2;
    height: 280px;
    margin: 0;
  }

  .qa-tabs {
    gap: 16px;
  }

  .qa-tab {
    width: fit-content;
    min-width: 240px;
    /* 3つとも同じ幅 */
    height: 52px;
    /* 少し高く */
    padding: 0 34px;

    margin: 0 auto;

    border-radius: 999px;

    font-size: 20px;
    line-height: 52px;
  }

}

/* =====================================
   TABLET FINAL OVERRIDE
   タブレット縦横向き 最終調整
===================================== */

/* タブレット横向き：CAMPAIGN TICKERを確実に動かす */
@media screen and (min-width: 769px) and (max-width: 1366px) and (orientation: landscape) {

  .campaign-ticker,
  .campaign-window {
    overflow: hidden;
  }

  .campaign-window {
    min-width: 0;
  }

  .campaign-track {
    display: flex;
    align-items: center;

    width: max-content;
    min-width: max-content;
    flex-shrink: 0;

    animation: campaignScroll 40s linear infinite !important;
    animation-play-state: running !important;

    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

  .campaign-group {
    display: flex;
    align-items: center;

    width: max-content;
    min-width: max-content;
    flex-shrink: 0;
  }

  .campaign-item,
  .campaign-text,
  .campaign-separator {
    flex-shrink: 0;
    white-space: nowrap;
  }
}


/* タブレット縦向き：OPENINGの文字崩れを防ぐ */


/* =====================================
   OPENING 表示順・画像表示 最終修正
   文字が消えた直後に画像スライドを開始
===================================== */

/* PC */
.opening-image img {
  opacity: 0;
  animation: slideShow 18s infinite ease-in-out;
}

.opening-image img:nth-child(1) {
  animation-delay: 10.4s;
}

.opening-image img:nth-child(2) {
  animation-delay: 16.4s;
}

.opening-image img:nth-child(3) {
  animation-delay: 22.4s;
}


/* タブレット・スマホ */
@media screen and (max-width: 1024px) {

  .opening-image img {
    opacity: 0;
    display: block;
    animation-name: slideShowMobile !important;
    animation-duration: 18s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
    animation-fill-mode: none !important;
    animation-play-state: running !important;
  }

  .opening-image img:nth-child(1) {
    animation-delay: 10.4s !important;
  }

  .opening-image img:nth-child(2) {
    animation-delay: 16.4s !important;
  }

  .opening-image img:nth-child(3) {
    animation-delay: 22.4s !important;
  }
}

/* =====================================
   タブレット縦向き：文字と画像の重なり防止
   文字が完全に消えてから画像を表示
===================================== */


/* =====================================
   TABLET PORTRAIT = LANDSCAPE
   タブレット縦向きを横向きと同じ表示・同じタイミングに統一
===================================== */


/* =====================================
   TABLET PORTRAIT VIDEO REPRODUCTION
   タブレット縦向き：添付動画の表示順を再現
   文字 → 説明文 → 画像
===================================== */
