@charset "utf-8";
/* 必ず1行目 */

/*
Theme Name: brtpath
Theme URI: https://brtpath.com/
Author: 株式会社BRIGHTPATH
Author URI: https://brtpath.com/
Description: 自社サイト用オリジナルテーマ
Version: 1.0
*/


/*====================================
  ファーストビュー
===================================*/
.first-view {
  position: relative;
  width: 100%;
  padding-top: 70px;
  background:
    url('/wp-content/themes/brtpath/img/company_bg.png') center left / contain no-repeat;
}

.first-view-inner {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  gap: .5rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  min-height: calc(100vh - 70px);
  font-size: clamp(1.4rem, 0.8vw + 1rem, 1.8rem);
}

.fv-label {
  margin-bottom: -1.5rem;
}

.fv-label img {
  width: clamp(220px, 30vw, 370px);
  height: auto;
}

.first-view-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.first-view-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--main-color);
}

.fv-main-title {
  font-size: clamp(4rem, 3vw, 5rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .4rem;
  font-feature-settings: "palt";
}

.fv-strong-text {
  color: var(--sub-color);
}

.particle {
  font-size: 0.75em;
}

.fv-sub-and-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: clamp(280px, 40vw, 500px);
}

.fv-sub-title {
  font-size: clamp(1em, 2vw, 1.2em);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  width: 100%;
}

.first-view-btn {
  width: 100%;
  text-align: center;
}

.first-view-btn .orange-btn {
  display: inline-block;
  margin: 0.2rem 0 0;
  font-size: clamp(1em, 2vw, 1.2em);
}

.first-view-visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.first-view-visual img {
  max-width: 120%;
  height: auto;
  transform: translateX(-5%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .15));
}




@media (max-width: 1299px) {
  .first-view {
    padding-top: 0;
    background-position: center center;
    background-size: cover;
  }

  .first-view-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .first-view-content {
    align-items: center;
  }

  .fv-main-title {
    font-size: 4.5rem;
  }

  .first-view-text {
    align-items: center;
  }

  .fv-label {
    align-self: flex-start;
  }

  .first-view-visual {
    display: none;
  }
}

@media (max-width: 767px) {

  .fv-main-title {
    font-size: 2.4rem;
    line-height: 1.3;
    letter-spacing: .2rem;
  }
}



/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  text-align: center;
  color: #055170;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 500;
}

.scroll-text {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-en);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background-color: #055170;
  margin: 0 auto;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}



/*====================================
お知らせ・モニター募集
===================================*/
.top-news {
  /* margin-bottom: clamp(4rem, 8vw, 15rem); */
  max-width: 800px;
  margin: 0 auto clamp(4rem, 8vw, 15rem);
  /* ※モニター追加したら上２つ削除 */
}

.top-news-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

/* -------------------------
   NEWSボックス
--------------------------*/
.news-box {
  display: flex;
  flex: 1 1 500px;
  /* ★自然に折り返す基準幅 */
  min-width: 280px;
  /* ★潰れ防止 */
  background: #fff;
  border: 1px solid var(--title-color);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.news-box-left {
  padding-right: 1.5rem;
  border-right: 1px solid var(--title-color);
  display: flex;
  align-items: flex-start;
}

.news-label {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--title-color);
  letter-spacing: 0.1em;
}

.news-box-right {
  padding-left: 1.5rem;
  flex: 1;
}



/* -------------------------
   NEWSリスト
--------------------------*/
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item a {
  display: grid;
  grid-template-columns: 10ch 1fr;
  gap: 1rem;
  align-items: center;
}

.news-item time {
  white-space: nowrap;
  /* 日付崩れ防止 */
  font-family: var(--font-en);
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  color: var(--title-color);
  font-variant-numeric: tabular-nums;
  /* 数字を等幅に */
}

.news-item p {
  margin: 0;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 500;
  color: var(--title-color);
}

.news-item a p:hover {
  text-decoration: underline;
}

/* -------------------------
   バナー
--------------------------*/
.news-banner {
  flex: 1 1 320px;
  min-width: 260px;
}

.news-banner img {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 800px) {
  .top-news-inner {
    flex-direction: column;
  }

  .news-box {
    flex: 1 1 auto;
  }

  .news-item a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .news-list {
    gap: .5rem;
  }

  .news-banner {
    flex: 0 0 auto;
  }
}



/*====================================
PROBLEM
===================================*/
.problem-list {
  display: grid;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.problem-item img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1),
    box-shadow 0.35s cubic-bezier(.4, 0, .2, 1);
}

.problem-item img:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.problem-item h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin: 1rem 0;
  text-align: center;
}

.problem-item p {
  font-size: var(--font-base-size);
  padding-inline: clamp(1.5rem, 3vw, 3rem);
}

.top-container .summary {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--main-color);
  text-align: center;
}


@media (min-width: 1310px) {
  .problem-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 801px) and (max-width: 1309px) {
  .problem-list {
    grid-template-columns: repeat(2, minmax(0, 360px));
  }

  .problem-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 800px) {
  .problem-list {
    grid-template-columns: minmax(0, 360px);
  }
}




/*====================================
SOLUTION
===================================*/
.solution-glass-bg {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: clamp(3rem, 6vw, 7rem) clamp(1rem, 3vw, 2rem);
  margin: 0 auto;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1vw, 4rem);
  padding: clamp(2rem, 4vw, 4rem);
  justify-items: center;
}

.solution-item {
  width: min(100%, 280px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1),
    box-shadow 0.35s cubic-bezier(.4, 0, .2, 1);
}

.solution-item:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
}

.solution-inner {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.solution-item-ttl {
  font-weight: 600;
  line-height: 1.5;
  font-size: clamp(1.5rem, 2vw, 2.4rem);
  color: var(--strong-color);
  margin-bottom: 1.5rem;
}

.solution-item-txt {
  font-size: clamp(1.3rem, 1.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.6;
}


@media (max-width: 1199px) {

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

  .solution-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 820px) {

  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-item {
    width: min(100%, 200px);
  }

  .solution-item:last-child {
    grid-column: auto;
  }

}


/*====================================
REASON
===================================*/
.reason-list {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 6vw, 7rem);
}

.reason-item {
  position: relative;
}

/* 白背景カード */
.reason-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 5vw, 5rem);
  background: #fff;
  border-radius: 0 clamp(3rem, 5vw, 5rem) 0 0;
  flex-wrap: wrap;
  /* ← これが重要 */
}

.reason-item.reverse .reason-card {
  flex-direction: row-reverse;
  border-radius: clamp(3rem, 5vw, 5rem) 0 0 0;
}

.reason-text {
  flex: 1 1 300px;
}

.reason-text h3 {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.reason-text h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background:var(--soft-blue-color);
  transition: width .35s ease;
}

.reason-card:hover .reason-text h3::after {
  width: 100%;
}

.reason-text p {
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 500;
}

.reason-image {
  flex: 0 1 280px;
  text-align: center;
}

.reason-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 5px;
}


/* POINT装飾 */
.point-badge {
  position: absolute;
  top: -4.5rem;
  left: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--title-txt-color);
  font-family: var(--font-en);
  font-weight: 500;
  line-height: 1;
}

.reason-item.reverse .point-badge {
  left: auto;
  right: 4rem;
}

.point-badge .point {
  font-size: clamp(1.1rem, 1.5vw, 1.8rem);
  letter-spacing: 0.07em;
}

.point-badge .num {
  font-size: clamp(3.5rem, 4vw, 5rem);
}


@media (max-width: 1150px) {

  .point-badge,
  .reason-item.reverse .point-badge {
    top: -4rem;
  }

}

@media (max-width: 1050px) {

  .point-badge {
    top: -3rem;
    left: 3rem;
  }

  .reason-item.reverse .point-badge {
    top: -3rem;
    right: 3rem;
  }


}


@media (max-width: 800px) {

  .reason-card {
    flex-direction: column;
    border-radius: 0 3rem 0 0;
  }

  .reason-item.reverse .reason-card {
    flex-direction: column;
    border-radius: 3rem 0 0 0;
  }

  .reason-text {
    flex: unset;
  }

  .reason-image {
    flex: unset;
  }

  .point-badge {
    top: -3rem;
    left: 2.5rem
  }

  .reason-item.reverse .point-badge {
    top: -3rem;
    right: 2.5rem
  }

  .reason-text p {
    font-weight: 400;
    line-height: 1.5;
  }

}


/*====================================
PROGRESS
===================================*/
.progress-lead {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  text-align: center;
}

.progress-bg {
  width: 100%;
}

.progress-bg-inner {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  background: #C2E6F4;
  padding-block: clamp(3rem, 6vw, 6rem);
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.progress-glass-bg {
  position: relative;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 5rem;
  max-width: 1000px;
  margin: -25rem auto 0;
}

.progress-glass-title {
  position: absolute;
  top: -9rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100%;
  padding: 1rem 0;
  text-align: center;
  background: var(--strong-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100vh;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 500;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  white-space: nowrap;
  z-index: 2;
}

.progress-glass-title p {
  margin: 0;
}

.progress-lead {
  margin-bottom: 27rem
}

/* ＜ ＞ボタン */
.progress-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(36px, 4vw, 50px);
  height: clamp(36px, 4vw, 50px);
  border: none;
  background: none;
  color: var(--title-color);
  cursor: pointer;
  transition: .3s;
  z-index: 5;
}

.progress-nav::before {
  content: "";
  display: block;
  width: 60%;
  height: 60%;
  border-top: 4px solid var(--title-color);
  border-left: 4px solid var(--title-color);
  border-radius: 4px;
  transform: rotate(-45deg);
  margin: auto;
}

.progress-nav.next::before {
  transform: rotate(135deg);
}

.progress-nav.prev {
  left: -4rem;
}

.progress-nav.next {
  right: -4rem;
}

/* 切り替えタブ */
.progress-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.progress-tab {
  background: none;
  border: none;
  cursor: pointer;
}

.progress-tab .line {
  display: block;
  width: clamp(50px, 6vw, 70px);
  height: 5px;
  background: #ccc;
  border-radius: 50px;
}

.progress-tab.is-active {
  opacity: 1;
}

.progress-tab.is-active .line {
  background: var(--strong-color);
}

/* パネル切り替え */
.progress-panels {
  position: relative;
}

.progress-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 0;
}

.progress-panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.progress-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.progress-img {
  flex: 1 1 350px;
  max-width: 420px;
  border: 1px solid var(--title-color);
  border-radius: 8px;
  overflow: hidden;
}

.progress-img img {
  width: 100%;
}

.progress-text {
  flex: 1 1 350px;
  min-width: 280px;
}

.progress-sub {
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.progress-list li {
  line-height: 2;
  list-style: inside;
}

/* オレンジ矢印 */
.progress-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--strong-color);
  border-bottom: 2px solid var(--strong-color);
  transform: rotate(45deg);
  margin: -.8rem auto;
}

.progress-arrow:last-of-type {
  margin-bottom: 1rem;
}

.progress-emphasis {
  font-weight: 700;
}

.progress-note {
  max-width: 1000px;
  margin: clamp(1rem, 3vw, 2rem) auto 0;
  text-align: right;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.progress-note-inner {
  display: inline-block;
  text-align: left;
}


@media (max-width: 1125px) {
  .progress-lead {
    text-align: left;
    margin-bottom: 18rem;
  }

  /* 背景をフル幅の水色に */
  .progress-bg-inner {
    max-width: none;
  }

  .progress-glass-bg {
    margin-top: -17rem;
    padding: 5rem 4rem;
    border-radius: 6px;
  }

  .progress-glass-title {
    padding: .5rem 0;
    top: -8rem;
  }

  .progress-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .progress-img,
  .progress-text {
    flex: 1 1 100%;
    max-width: 80%;
  }

  .progress-list {
    margin-bottom: 1rem;
  }

  .progress-list li {
    line-height: 1.6;
  }

  .progress-text {
    min-width: 240px;
  }

  .progress-arrow {
    width: 15px;
    height: 15px;
    border-right: 1px solid var(--strong-color);
    border-bottom: 1px solid var(--strong-color);
  }

  .progress-note {
    text-align: left;
  }

  .progress-note-inner {
    display: block;
  }

  .progress-nav.prev {
    left: -3rem;
  }

  .progress-nav.next {
    right: -3rem;
  }

}

@media (max-width: 800px) {
  .progress-glass-title {
    top: -6rem;
  }

  .progress-glass-bg {
    padding: 4rem 1rem;
  }
}



/*====================================
COMPARE
===================================*/
.compare-wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}

.compare-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-compare .compare-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15) !important;
}

.compare-title {
  position: relative;
  background: #5D5C5A;
  color: #fff;
  text-align: center;
  padding: 1.4rem;
  font-weight: 700;

  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #5D5C5A transparent transparent transparent;
}

.compare-title.compare-brt {
  background: var(--sub-color);
}

.compare-title.compare-brt::after {
  border-color: var(--sub-color) transparent transparent transparent;
}

.brt-strong {
  font-size: clamp(1.7rem, 2vw, 2rem);
}

/* ===== 中身 ===== */
.compare-inner {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.compare-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
}

.compare-text {
  display: grid;
  row-gap: 0.6rem;
}

.compare-price-row {
  display: grid;
  grid-template-columns: 8em auto;
  column-gap: 0.6rem;
  align-items: baseline;
}

.compare-price-label {
  white-space: nowrap;
}

.price-strong {
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  font-weight: 800;
}

.compare-illust img {
  width: 180px;
  height: auto;
}

/* 補足文 */
.compare-note {
  text-align: center;
  font-weight: 700;
  color: #5D5C5A;
}

.compare-content .compare-text .brt-price {
  color: var(--strong-color);
  font-size: clamp(2rem, 2vw, 2.7rem);
  font-weight: 800;
}

.brt-note {
  color: var(--sub-color);
}

.compare-inner .key-point {
  position: relative;
  display: inline-block;
}

.compare-inner .key-point::before {
  content: "・・";
  position: absolute;
  top: -1.1em;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sub-color);
}

.brt-case {
  line-height: 1.5;
}

/* ===== 金額表示（白背景） ===== */
.compare-price {
  position: relative;
  background: #fff;
  border-radius: 100vh;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-top: 1rem;
}

.compare-price-num {
  font-size: clamp(2.5rem, 2vw, 3.5rem);
  font-weight: 1000;
}

.compare-month {
  position: absolute;
  top: -1.3rem;
  left: 10rem;
  padding: 0 0.6rem;
  font-weight: 600;
  transform: rotate(355deg);
}

.cost-cut {
  background: var(--strong-color);
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
  letter-spacing: 1px;
  margin: 0 auto 3rem;
  max-width: 1000px;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
  position: relative;
  overflow: hidden;
  /* キラーンをはみ出させない */
}

.cost-cut::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 40%,
      rgba(255, 255, 255, .6) 50%,
      transparent 60%);
  transform: translate(-100%, 100%) rotate(0deg);
  animation: costShine 3.2s infinite;
  pointer-events: none;
}

@keyframes costShine {
  0% {
    transform: translate(-120%, 120%);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  60% {
    transform: translate(120%, -120%);
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.cost-num {
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 700;
}

.cost-txt {
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 700;
}


@media (max-width: 1139px) {
  .compare-wrap {
    flex-direction: column;
    max-width: 500px;
  }

  .compare-content {
    flex-direction: column;
    align-items: center;
  }


  .compare-title {
    padding: 1rem;
  }

  .compare-inner {
    padding: 2rem 1rem;
  }

  .compare-content {
    gap: .5rem;
  }

  .compare-text,
  .compare-note {
    line-height: 1.5;
  }

  .compare-illust img {
    width: 150px;
  }

  .compare-month {
    transform: translateX(-50%) rotate(355deg);
  }

  .cost-cut {
    margin-bottom: 1.5rem;
  }
}



/*====================================
SERVICE
===================================*/
.service-lead {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  text-align: center;
}

.service-flow {
  background: linear-gradient(to right, #88CCE8, #1B789E);
  border-radius: 50px;
  padding: 1rem 5rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.service-flow-inner {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.8rem);
}

.service-items {
  max-width: 1000px;
  margin: 0 auto 10rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.service-item {
  position: relative;
}

.service-circle {
  width: clamp(72px, 16vw, 200px);
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-num {
  position: absolute;
  top: 0%;
  left: 20%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 500;
  color: #6C6C6C;
  font-size: clamp(1.2rem, 2.2vw, 2.8rem);
}

.service-circle picture,
.service-circle img {
  width: clamp(50px, 8vw, 135px);
  height: auto;
}

.service-ttl {
  font-size: clamp(.8rem, 2vw, 1.6rem);
  font-weight: 600;
}


/* サービス詳細 */
.service-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 3rem;
  margin-bottom: 5rem;
}

.service-detail {
  background: #fff;
  border-radius: 0 5rem 0 0;
  border-left: 10px solid var(--sub-color);
  display: flex;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1),
    box-shadow .25s cubic-bezier(.4, 0, .2, 1);
}

.service-detail:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .15);
}

.service-detail-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 3rem;
}

.service-detail.deep-color {
  border-left: 10px solid var(--accent-color);
}

.service-detail-header {
  display: flex;
  gap: 1.5rem;
}

.service-detail-num {
  font-size: clamp(2.4rem, 2vw, 3rem);
  font-weight: 700;
  color: #6C6C6C;
  font-family: var(--font-en);
}

.service-detail-title {
  font-size: clamp(2.2rem, 2vw, 2.8rem);
  color: var(--main-color);
}

/* サービス本文 */
.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.service-detail-content:nth-of-type(3) {
  gap: 7rem;
}

.service-detail-lead {
  color: var(--title-txt-color);
  font-weight: 600;
  font-size: clamp(1.6rem, 2vw, 2rem);
  letter-spacing: -.5px;
}

.service-detail-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-detail-list {
  list-style: inside;
}

.small-text-indent {
  text-indent: -1em;
  padding-left: 1em;
}

.service-detail-balloon {
  position: relative;
  background: #dddada;
  color: var(--main-color);
  padding: 1rem 3rem;
  border-radius: 100vh;
  width: fit-content;
  line-height: 1.4;
}

.service-detail-balloon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  border-width: 8px 0 8px 12px;
  border-style: solid;
  border-color: transparent transparent transparent #dddada;
}

.deep-balloon {
  position: relative;
  background: #dddada;
}

.deep-balloon::after {
  position: absolute;
  border-color: transparent transparent transparent #dddada;
}

.service-detail-summary+small {
  margin-top: -2rem;
  display: block;
}

.service-detail-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: auto;
}


@media (max-width: 1245px) {
  .service-items {
    margin: 0 auto 3rem;
  }

  .service-lead {
    text-align: left;
    margin-bottom: 3rem;
  }

  .service-details {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto 7rem;
    gap: 2rem;
  }

  .service-detail {
    border-radius: 0 3rem 0 0;
  }

  .service-detail-inner {
    padding: 2rem 4rem;
  }

  .service-detail-header {
    margin-bottom: 0;
  }

  .service-detail-lead {
    line-height: 1.4;
  }

  .service-detail-content {
    gap: 1rem;
  }

  .service-detail-summary {
    gap: 1rem;
  }

  .service-detail-balloon {
    padding: 1rem;
    border-radius: 10px;
    line-height: 1.4;
  }

  .service-detail-img img {
    width: 150px;
    height: auto;
  }
}


@media (max-width: 767px) {
  .service-flow {
    padding: .5rem 1rem;
  }

  .service-detail-inner {
    padding: 1rem 2rem;
  }

  .service-detail-list {
    line-height: 1.6;
  }

  .service-detail,
  .service-detail.deep-color {
    border-left: 5px solid var(--accent-color);
  }
}




/* Web集客 運用タイプ */
.service-web-inner {
  max-width: 900px;
  margin: 0 auto;
}

.service-web-box {
  background: #fff;
  border-radius: 100vh;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
}

.service-web-img {
  flex: 0 0 200px;
}

.service-web-img img {
  width: 100%;
  height: auto;
  display: block;
}

.service-web-content {
  flex: 1;
}

.service-web-title {
  font-size: clamp(1.6rem, 2vw, 2.5rem);
  text-align: left;
}

.service-web-lead,
.service-web-list {
  padding-left: 2rem;
}

.service-web-list li {
  position: relative;
  padding-left: 2rem;
}

.service-web-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
}

.service-web-type {
  font-weight: 600;
}

.service-web-note {
  max-width: 750px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 1rem auto 0;
  text-align: right;
  line-height: 1.5;
}

.service-web-sub-inner {
  display: inline-block;
  text-align: left;
}


@media (max-width: 1000px) {
  .service-web-inner {
    max-width: 650px;
  }

  .service-web-box {
    flex-direction: column;
    border-radius: 15px;
    padding: clamp(5rem, 10vw, 6rem) 1.5rem 2rem;
  }

  .service-web-img {
    position: absolute;
    top: 5px;
    left: 0;
    width: clamp(120px, 40%, 150px);
    transform: translateY(-50%);
  }

  .service-web-img img {
    width: 100%;
    height: auto;
  }

  .service-web-lead,
  .service-web-list {
    padding-left: 0;
  }

  .service-web-list li {
    padding-left: 1.4rem;
  }

  .service-web-list li::before {
    width: 8px;
    height: 8px;
    top: 0.6em;
  }
}

@media (max-width: 767px) {
  .service-web-content .text-indent {
    text-indent: -.7em;
    padding-left: .7em;
  }
}



/*====================================
PRICE
===================================*/
.price-lead,
.success-lead {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  text-align: center;
}

.price-list {
  width: 100%;
  color: var(--main-color);
}

/* 行レイアウト */
.price-row {
  display: grid;
  grid-template-columns: .5fr 1fr 1fr;
  gap: .5rem;
  margin-bottom: .5rem;
}

/* 列 */
.price-col {
  padding: 2rem 2.2rem;
}

.price-list li {
  list-style: none;
  position: relative;
  padding-left: 1.4em;
}

.price-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.price-row-gray .price-col {
  background-color: #EEEEEE;
}

.price-row-gray .price-deep-gray {
  background-color: #dedede;
}

/* 左ラベル */
.price-label {
  font-weight: 600;
}

.price-center,
.price-amount,
.price-tax {
  text-align: center;
}

.price-bold {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 600;
}

/* タイトルエリア */
.price-plan-title {
  text-align: center;
  padding: 1rem 2rem;
}

.price-plan-light {
  background-color: #62ACC2;
  color: #fff;
}

.price-plan-standard {
  background-color: var(--accent-color);
  color: #fff;
}

.price-plan-sub {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 300;
}

.price-plan-name {
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  color: #fff;
}

/* 金額 */
.price-amount {
  font-size: clamp(1.8rem, 2vw, 2.8rem);
  font-weight: 700;
}

.price-tax {
  opacity: 0.8;
}

/* 選択ブロック */
.price-select-title {
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.price-select-sub {
  font-weight: 400;
  font-size: 0.9em;
}

.price-select-list {
  padding-left: calc(25px + 0.5rem);
}

.price-select-list li {
  position: relative;
  padding-left: 1.2em;
}

.price-select-list li::before {
  content: "□";
  position: absolute;
  left: 0;
  top: 0;
}

/* チェックマーク */
.price-check,
.price-deep-check {
  flex-shrink: 0;
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: #62ACC2;
  color: #fff;
  border-radius: 50%;
  margin-right: .5rem;
  line-height: 1.5;
  text-align: center;
}

.price-deep-check {
  background-color: var(--accent-color);
}

/* スタンダード：ライト内容継承表示 */
.price-inherit-block {
  position: relative;
  padding-left: 1.4em;
  padding-bottom: 2.5rem;
  margin-bottom: 1rem;
}

.price-inherit-label {
  display: inline-block;
  background-color: #62ACC2;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  width: 100%;
  max-width: 250px;
  margin: 0 auto 1rem;
  text-align: center;
}

.price-plus {
  position: absolute;
  left: 33%;
  transform: translateX(-50%);
  bottom: 0;
  margin-top: 0.5rem;
  font-weight: 600;
}

.price-col.price-list {
  display: flex;
  flex-direction: column;
}

/* 上の内容を「同じ高さ」に揃える核心 */
.price-plan-body {
  flex-grow: 1;
}

/* ✓ Web集客の見た目調整 */
.price-plan-web {
  margin-top: 1.5rem;
}

.price-list-note {
  margin: 1rem auto 5rem;
  text-align: right;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.price-list-note-inner {
  display: inline-block;
  text-align: left;
}

.price-list-note-inner a {
  text-decoration: underline;
  color: var(--accent-color);
}


@media (max-width: 1050px) {
  .success-lead {
    text-align: left;
  }

  /* スクロールを持たせる外枠 */
  .price-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-wrapper {
    min-width: 960px;
  }

  .price-row {
    display: grid;
    grid-template-columns: 220px 370px 370px;
    gap: .4rem;
    margin-bottom: .4rem;
  }

  .price-label,
  .price-empty {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #fff;
  }


  .price-col {
    padding: 1rem;
  }

  .price-plan-body {
    flex-grow: 1;
  }

  .price-inherit-label {
    max-width: 175px;
  }

  .price-plus {
    left: 40%;
  }
}


@media (max-width: 767px) {

  .price-wrapper {
    min-width: 720px;
    /* 全体も少し縮める */
  }

  .price-row {
    grid-template-columns: 100px 305px 305px;
  }

  /* 左ラベルを折り返しOKに */
  .price-label {
    white-space: normal;
    font-size: 1.3rem;
    line-height: 1.4;
  }

  /* 余白も軽くする */
  .price-col {
    padding: .8rem;
  }

}


/* 36ヶ月契約の理由 */
.price-contract-inner {
  max-width: 900px;
  margin: 0 auto;
}

.price-contract-box {
  background: #C2E6F4;
  border-radius: 100vh;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
}

.price-contract-img {
  flex: 0 0 200px;
}

.price-contract-img img {
  width: 100%;
  height: auto;
  display: block;
}

.price-contract-content {
  flex: 1;
}

.price-contract-title {
  font-size: clamp(1.6rem, 2vw, 2.5rem);
  text-align: left;
  text-shadow:
    2px 2px 0 #fff,
    -2px 2px 0 #fff,
    2px -2px 0 #fff,
    -2px -2px 0 #fff,
    0px 2px 0 #fff,
    0px -2px 0 #fff,
    2px 0px 0 #fff,
    -2px 0px 0 #fff;
}

.price-contract-lead .font-deep-blue {
  font-weight: 700;
}


@media (max-width: 1051px) {
  .price-contract-inner {
    max-width: 650px;
  }

  .price-contract-box {
    flex-direction: column;
    border-radius: 15px;
    padding: clamp(5rem, 10vw, 6rem) 2.5rem 2rem;
  }

  .price-contract-img {
    position: absolute;
    top: 5px;
    left: 0;
    width: clamp(120px, 40%, 150px);
    transform: translateY(-50%);
  }

  .price-contract-img img {
    width: 100%;
    height: auto;
  }


  .price-contract-content .text-indent {
    text-indent: -.5em;
    padding-left: .5em;
  }
}



/*====================================
WAY TO SUCCESS
===================================*/
.top-success {
  background: linear-gradient(to right, #ECE9E6, #fff);
  padding: 10rem 0;
}

.success-img {
  border: 1px solid var(--title-color);
  border-radius: 5px;
  overflow: hidden;
  width: 90%;
  margin: 0 auto 5rem;
}


@media (max-width: 767px) {
  .top-success {
    padding: 5rem 0;
  }

  .success-img {
    width: 100%;
    margin-bottom: 2rem;
  }
}



/*====================================
FAQ
===================================*/
.faq-all {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--accent-color);
  border-radius: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.top-faq .summary {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
}

/* 質問部分 */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 3rem;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  width: 100%;
  text-align: left;
}

/* Qマーク */
.faq-q {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 2.3rem;
  width: 2rem;
  height: auto;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 質問文 */
.faq-text {
  flex: 1;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-family: var(--font-ja);
}

/* 右アイコン*/
.faq-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(-135deg);
}

/* 回答部分 */
.faq-answer {
  background: #f5f5f5;
  padding: 0 3rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s ease;
  border: 1px solid #ccc;
  border-top: none;
}

.faq-answer.open {
  max-height: 1000px;
  padding: 1.5rem 3rem;
}

.faq-answer .link-bl {
  color: var(--sub-color);
  text-decoration: underline;
}

/* 回答内余白 */
.faq-a-line {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1rem;
}

/* Aマーク */
.faq-a {
  width: 2rem;
  height: auto;
  color: var(--accent-color);
  font-size: 2.3rem;
  font-weight: 600;
}

/* 右側のテキスト */
.faq-first-text {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  margin: 0;
  padding: .5rem 0;
}


@media (max-width: 767px) {
  .faq-question {
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .faq-q {
    font-size: 1.8rem;
  }

  .faq-icon {
    width: 1rem;
    height: 1rem;
    border-bottom: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
  }

  .faq-a-line {
    gap: 1rem;
  }

  .faq-answer.open {
    padding: 1rem 1.5rem;
  }
}