/* ===== Service Page ===== */

main {
  background-color: #fff;
}

/* ===== MV（ファーストビュー） ===== */
.service-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  height: 100dvh;
  padding-top: 72px;
  box-sizing: border-box;
  overflow: hidden;
}

.service-mv__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 4vw, 60px) 0 0;
  max-width: 600px;
  margin-left: auto;
}

.service-mv h1 {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(11px, calc(0.6vw + 5px), 13px);
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.3em;
  margin-bottom: clamp(1rem, 2vh, 2rem);
}

.service-mv h2 {
  font-size: clamp(22px, calc(1.8vw + 10px), 40px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-align: left;
}

.service-mv__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vh, 60px) clamp(24px, 3vw, 60px) clamp(24px, 4vh, 60px) 0;
  min-height: 0;
}

.service-mv__img {
  flex: 0 1 auto;
  min-height: 0;
  overflow: hidden;
}

.service-mv__img img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 72px - 100px);
  object-fit: cover;
}

.service-mv__caption {
  flex-shrink: 0;
  padding: 0.8rem 0 0;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.8;
}

/* ===== サービスナビ ===== */
.service-nav {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.service-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-nav__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
}

.service-nav__item.active {
  border-bottom-color: #1a1a1a;
}

.service-nav__num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #aaa;
  font-weight: 400;
  display: none;
}

.service-nav__icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  color: #1a1a1a;
  overflow: visible;
}

.service-nav__name {
  font-size: clamp(12px, calc(0.7vw + 6px), 15px);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.06em;
}

.service-nav__sub {
  font-size: 11px;
  color: #999;
  font-weight: 300;
  letter-spacing: 0.02em;
  display: none;
}

/* ===== コンテンツエリア ===== */
.content-area {
  background: #fff;
  min-height: 100vh;
}

/* タブコンテンツ */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

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

/* ===== セクションヒーロー（各タブ冒頭） ===== */
.section-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}

.section-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 0;
  max-width: 550px;
  margin-left: auto;
}

.section-label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.section-hero__text h2 {
  font-size: clamp(24px, calc(2vw + 10px), 36px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.8;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  text-align: left;
}

.section-lead {
  font-size: clamp(13px, calc(0.7vw + 6px), 15px);
  color: #888;
  line-height: 2.2;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.section-hero__img {
  background: none;
}

.img-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

/* ===== セクションブロック ===== */
.section-block {
  padding: 100px 0;
}

.section-block--gray {
  background: #f8f8f8;
}

/* ブロックヘッダー */
.block-header {
  text-align: center;
  margin-bottom: 60px;
}

.block-label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.block-header h3 {
  font-size: clamp(22px, calc(1.5vw + 10px), 30px);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.08em;
}

/* ===== 課題リスト ===== */
.issue-list {
  text-align: center;
  margin-bottom: 4rem;
}

.answer-list {
  display: inline-block;
  text-align: left;
  list-style: none;
  counter-reset: answer-counter;
  padding-left: 0;
  max-width: fit-content;
}

.answer-list li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
  color: #444;
  font-weight: 400;
  font-size: clamp(14px, calc(0.9vw + 6px), 16px);
  line-height: 2.2;
  counter-increment: answer-counter;
  letter-spacing: 0.04em;
}

.answer-list li::before {
  content: counter(answer-counter);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 30px;
  height: 30px;
  color: #1a1a1a;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
}

/* セクションメッセージ */
.section-message {
  text-align: center;
  font-size: clamp(15px, calc(1vw + 6px), 18px);
  color: #444;
  line-height: 2.2;
  font-weight: 400;
  letter-spacing: 0.06em;
  max-width: 700px;
  margin: 0 auto;
}

.section-message strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* ===== 概要ボックス ===== */
.gaiyou-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.gaiyou-box p {
  color: #555;
  line-height: 2.4;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.gaiyou-box p:last-child {
  margin-bottom: 0;
}

/* ===== サービスカード ===== */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}

.service-cards--col3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
}

.service-card__num {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #bbb;
  font-weight: 400;
  display: block;
  margin-bottom: 1.2rem;
}

.service-card h4 {
  font-size: clamp(15px, calc(0.9vw + 6px), 18px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: block;
  text-align: left;
}

.service-card ul li {
  color: #666;
  font-size: clamp(12px, calc(0.7vw + 5px), 14px);
  line-height: 2.2;
  font-weight: 400;
  padding-left: 1em;
  position: relative;
  margin-bottom: 0;
}

.service-card ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #ccc;
}

.service-card__note {
  font-size: clamp(12px, calc(0.7vw + 5px), 13px);
  color: #244268;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ===== 特徴リスト ===== */
.feature-list {
  text-align: center;
  margin-bottom: 5rem;
}

.feature-list ul {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
}

.feature-list ul li {
  padding-left: 2rem;
  margin-bottom: 1.4rem;
  color: #444;
  font-weight: 400;
  font-size: clamp(14px, calc(0.9vw + 6px), 16px);
  line-height: 2.2;
  position: relative;
  letter-spacing: 0.04em;
}

.feature-list ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #ccc;
  font-weight: 300;
}

/* ===== ゴールボックス ===== */
.goal-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem;
  border: 1px solid #e5e5e5;
}

.goal-box__label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.goal-box h4 {
  font-size: clamp(18px, calc(1.2vw + 8px), 24px);
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}

.goal-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: block;
  text-align: center;
}

.goal-box ul li {
  color: #555;
  font-size: clamp(13px, calc(0.8vw + 6px), 15px);
  line-height: 2.4;
  font-weight: 400;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.goal-box__message {
  font-size: clamp(16px, calc(1vw + 6px), 20px);
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.08em;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}

/* ===== おすすめリスト ===== */
.recommend-list {
  text-align: center;
}

.recommend-list ul {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
}

.recommend-list ul li {
  padding-left: 2rem;
  margin-bottom: 1.4rem;
  color: #444;
  font-weight: 400;
  font-size: clamp(14px, calc(0.9vw + 6px), 16px);
  line-height: 2.2;
  position: relative;
  letter-spacing: 0.04em;
}

.recommend-list ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #ccc;
  font-weight: 300;
}

/* ===== 他サービス回遊 ===== */
.other-services {
  padding: 100px 0;
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
}

.other-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}

.other-services__card {
  display: block;
  padding: 3rem 2.5rem;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  background: #fff;
  transition: background 0.3s ease;
}

.other-services__num {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #bbb;
  font-weight: 400;
  display: block;
  margin-bottom: 1rem;
}

.other-services__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.other-services__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #1a1a1a;
}

.other-services__card h4 {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(15px, calc(0.9vw + 6px), 18px);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.06em;
}

.other-services__arrow {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #244268;
  font-weight: 400;
}

/* スクロールアニメーション */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .service-mv {
    grid-template-columns: 1fr;
    height: 100vh;
    height: 100dvh;
    padding-top: 60px;
    grid-template-rows: auto 1fr;
  }

  .service-mv__text {
    padding: clamp(20px, 4vh, 40px) 1rem 0;
    max-width: 100%;
    margin: 0;
  }

  .service-mv__visual {
    padding: clamp(16px, 3vh, 32px) 1rem clamp(16px, 3vh, 24px);
    min-height: 0;
  }

  .service-nav__inner {
    grid-template-columns: 1fr;
  }

  .service-nav__item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .service-nav__item.active {
    border-bottom-color: #f0f0f0;
    background: #f8f8f8;
  }

  .service-nav__item:last-child {
    border-bottom: none;
  }

  .section-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .section-hero__text {
    padding: 60px 1rem;
    max-width: 100%;
    margin: 0;
  }

  .img-placeholder {
  }

  .img-placeholder img {
    height: 240px;
  }

  .section-block {
    padding: 60px 0;
  }

  .block-header {
    margin-bottom: 40px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-cards--col3 {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .goal-box {
    padding: 2.5rem 1.5rem;
  }

  .other-services {
    padding: 60px 0;
  }

  .other-services__grid {
    grid-template-columns: 1fr;
  }

  .other-services__card {
    padding: 2rem 1.5rem;
  }

  .answer-list li {
    padding-left: 2.8rem;
  }

  .answer-list li::before {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}

@media (min-width: 1200px) {
  .service-mv__visual {
    padding: 48px 60px 48px 0;
  }

  .service-mv__img {
    flex: 1;
  }

  .service-mv__img img {
    max-height: none;
    height: 100%;
  }
}

/* ===== pricing section ===== */
#pricing {
  padding: 120px 0;
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
}

#pricing h2 {
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.pricing-lead {
  text-align: center;
  margin-bottom: 72px;
}

.pricing-lead p {
  color: #888;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e5e5;
}

.pricing-group {
  border-top: none;
}

.pricing-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: #fff;
}

.pricing-card + .pricing-card {
  border-top: 1px solid #e5e5e5;
}

.pricing-card__head {
  padding: 3rem 2.5rem;
  border-right: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-card__label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #bbb;
  font-weight: 400;
  display: block;
  margin-bottom: 1rem;
}

.pricing-card__title {
  font-size: clamp(14px, calc(0.8vw + 6px), 17px);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.pricing-card__price {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(32px, calc(2.5vw + 10px), 42px);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.pricing-card__price span {
  font-size: 14px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.04em;
}

.pricing-card__note {
  font-size: 12px;
  color: #aaa;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  line-height: 1.8;
}

.pricing-card__body {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
}

.pricing-card__col {
  padding: 2.5rem;
}

.pricing-card__col:first-child {
  border-bottom: 1px solid #f0f0f0;
}

.pricing-card__sub {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card__list li {
  padding-left: 1.2em;
  position: relative;
  font-size: clamp(12px, calc(0.7vw + 5px), 14px);
  color: #555;
  line-height: 2.4;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.pricing-card__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #ccc;
}

.pricing-card__list--option li {
  color: #999;
}

.pricing-card__list--option li::before {
  content: "+";
  color: #ccc;
}

@media screen and (max-width: 768px) {
  #pricing {
    padding: 80px 0;
  }

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-card__head {
    padding: 2rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .pricing-card__body {
    grid-template-columns: 1fr;
  }

  .pricing-card__col {
    padding: 1.5rem;
  }

  .pricing-card__col:first-child {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}
