@charset "utf-8";

/* Extracted from index.html inline styles */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  /* カラーパレット */
  --c-accent: #f97316; /* サンセットオレンジ */
  --c-yellow: #fbbf24; /* ゴールドイエロー */
  --c-green: #2dd4bf; /* ターコイズグリーン */

  /* テキストカラー */
  --color-text-main: #1e293b;
  --color-text-sub: #475569;
  --color-text-muted: #94a3b8;

  /* 背景カラー */
  --color-bg-base: #fcfbf9;

  --font-jp: "Zen Maru Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
}

/* =========================================
       Splash Animation
       ========================================= */
.p-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--color-bg-base);
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 1s ease-in-out,
    visibility 1s;
}
.p-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.p-splash__logo {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-main);
  opacity: 0;
  animation: splashLogoFade 2s ease-in-out forwards;
}
@keyframes splashLogoFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* =========================================
       第1層：常に追従する背景レイヤー (Fixed)
       ========================================= */
.p-bg-fixed {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--color-bg-base);
}
.bg-shape {
  position: absolute;
  opacity: 0.5;
  mix-blend-mode: multiply;
  animation: driftBackground 20s infinite alternate ease-in-out;
}
.bg-shape--top-left {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  background-color: var(--c-accent);
  border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
}
.bg-shape--bottom-right {
  bottom: -15%;
  right: -5%;
  width: 35vw;
  height: 35vw;
  max-width: 500px;
  max-height: 500px;
  background-color: var(--c-green);
  border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}
@keyframes driftBackground {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(2vw, -2vh) scale(1.02) rotate(5deg);
  }
  100% {
    transform: translate(-2vw, 2vh) scale(0.98) rotate(-5deg);
  }
}

/* =========================================
       共通コンポーネント (Common layout)
       ========================================= */
.l-section {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}
.l-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.c-sec-title {
  margin-bottom: 40px;
}
.c-sec-title__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--c-accent);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.c-sec-title__jp {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  margin: 0;
  color: var(--color-text-main);
  letter-spacing: 0.05em;
}

/* =========================================
       Header
       ========================================= */
.l-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-top: 24px;
}
.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  max-width: 1600px;
  margin: 0 auto;
}
.l-header__logo {
  font-family: var(--font-en);
  color: var(--color-text-main);
  font-size: 26px;
  margin: 0;
  letter-spacing: 0.2em;
  font-weight: 600;
  display: inline-block;
}
.l-header__right {
  display: flex;
  align-items: center;
  gap: 40px;
}
.l-header__nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-sub);
}
.l-header__nav a:hover {
  color: var(--c-accent);
}
.c-btn {
  display: inline-block;
  background-color: var(--c-accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100vmax;
  transition: all 0.3s ease;
  text-align: center;
}
.c-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(249, 115, 22, 0.6);
  opacity: 1;
  color: #fff;
}
.c-btn--header {
  box-shadow: 0 6px 16px -6px rgba(249, 115, 22, 0.4);
  font-size: 13px;
  padding: 12px 28px;
}

/* =========================================
       Hero Section
       ========================================= */
.p-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
}
.p-hero__bg-pill {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 120%;
  height: 55vh;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 500px;
  z-index: 1;
  box-shadow: 0 20px 40px -20px rgba(30, 41, 59, 0.08);
}
.p-hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 10vh;
  pointer-events: none;
}
.p-hero__left,
.p-hero__right {
  pointer-events: auto;
}
.p-hero__en-top {
  position: absolute;
  top: 140px;
  left: max(5%, calc((100vw - 1400px) / 2 + 5%));
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  z-index: 10;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}
.p-hero__left {
  max-width: 800px;
  margin-top: 100px;
}
.p-hero__catch {
  font-size: clamp(48px, 6vw, 90px);
  white-space: nowrap;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin: 0 0 24px;
  color: var(--color-text-main);
}
.p-hero__en-bottom {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.05em;
  margin: 0 0 0 10px;
  color: var(--color-text-sub);
}
.p-hero__right {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
}
.p-hero__vertical-box {
  writing-mode: vertical-rl;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 24px 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  display: flex;
  align-items: center;
  color: var(--color-text-main);
  box-shadow: 0 8px 24px -8px rgba(30, 41, 59, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* =========================================
       Intro Section (メッセージ)
       ========================================= */
.p-intro {
  text-align: center;
}
.p-intro__catch {
  font-size: clamp(23px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.6;
  margin: 0 0 32px;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
}
.p-intro__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text-sub);
  margin: 0;
  letter-spacing: 0.05em;
}

/* =========================================
       About Section (私たちについて)
       ========================================= */
.p-about__card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03); /* フラットな白カード */
  border-radius: 40px; /* 親しみやすい大きな角丸 */
  padding: 80px 8%;
  box-shadow: 0 20px 50px -20px rgba(30, 41, 59, 0.08);
  display: flex;
  gap: 8%;
  align-items: center;
  overflow: hidden;
}

/* カードの端にチラッと見えるブランドカラーのあしらい */
.p-about__card::before {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background-color: var(--c-yellow);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.p-about__content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.p-about__text {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 24px;
  color: var(--color-text-sub);
}
.p-about__text:last-of-type {
  margin-bottom: 0;
}
.p-about__btn-wrap {
  margin-top: 40px;
}

/* 角を丸めたアーチ型の親しみやすい写真エリア */
.p-about__image {
  width: 40%;
  max-width: 420px;
  border-radius: 200px 200px 24px 24px; /* 上部をアーチ状に */
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.p-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  aspect-ratio: 4/5;
}

/* =========================================
       Animations
       ========================================= */
.js-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}
.js-fade-in.is-active {
  opacity: 1;
  transform: translateY(0);
}

.js-fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
       レスポンシブ
       ========================================= */
@media (max-width: 1024px) {
  .l-header__right {
    display: none;
  }
  .p-hero__bg-pill {
    width: 150%;
    /* left: -25%; */
    height: 60vh;
    /* border-radius: 40px; */
  }
  .p-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 0;
  }
  .p-hero__left {
    margin-top: 60px;
    margin-bottom: 40px;
  }
  .p-hero__catch {
    font-size: clamp(32px, 8vw, 48px);
    white-space: normal;
  }
  .p-hero__right {
    margin-left: auto;
    gap: 8px;
  }
  .p-hero__vertical-box {
    font-size: 13px;
    padding: 16px 10px;
    border-radius: 12px;
  }
  .bg-shape--top-left {
    top: -5%;
    left: -10%;
    width: 70vw;
    height: 70vw;
  }
  .bg-shape--bottom-right {
    bottom: 0;
    right: -10%;
    width: 50vw;
    height: 50vw;
  }
}

@media (max-width: 768px) {
  .l-section {
    padding: 80px 0;
  }
  .p-intro__text {
    font-size: 15px;
  }
  /* SPの改行制御 */
  .u-sp-only {
    display: block;
  }

  .p-about__card {
    flex-direction: column-reverse;
    padding: 40px 5%;
    border-radius: 24px;
    gap: 40px;
  }
  .p-about__image {
    width: 100%;
    max-width: none;
    border-radius: 120px 120px 16px 16px;
  }
}
@media (min-width: 769px) {
  .u-sp-only {
    display: none;
  }
}

.p-philosophy {
  position: relative;
  z-index: 10;
  padding: 120px 0;
  /* 【ルール適用】白ベタを廃止し、0.8の透過背景に */
  background-color: rgba(255, 255, 255, 0.8);
}

.p-philosophy__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.p-philosophy__head {
  margin-bottom: 56px;
}
.p-philosophy__en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.p-philosophy__jp {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: 0.05em;
}

.p-philosophy__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.p-philosophy__text {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2.2;
  color: var(--color-text-main);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.05em;
}

.p-philosophy__text--strong {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--c-accent);
}

@media (max-width: 767px) {
  .p-philosophy__text {
    text-align: left;
  }
}

/* アニメーション */
.js-fade-in-up-phil {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-phil.is-active {
  opacity: 1;
  transform: translateY(0);
}

.u-sp-br {
  display: block;
}
.u-pc-br {
  display: none;
}
@media (min-width: 768px) {
  .u-sp-br {
    display: none;
  }
  .u-pc-br {
    display: block;
  }
}

/* * Strength セクション固有スタイル 
     * 影響範囲を絞るため、すべて .p-strength 内に記述
     */
.p-strength {
  position: relative;
  z-index: 10;
}

.p-strength__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}
@media (min-width: 768px) {
  .p-strength__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* 白い上質なパネル */
.p-strength__item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 32px;
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(30, 41, 59, 0.05);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.p-strength__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -20px rgba(30, 41, 59, 0.1);
}

/* 数字と背景のフラットな図形 */
.p-strength__num-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-strength__num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-main);
  position: relative;
  z-index: 2;
}

/* FVの背景図形とリンクする3色のアクセント */
.p-strength__shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2; /* 色を薄めて上品さを担保 */
}
.p-strength__item:nth-child(1) .p-strength__shape {
  background-color: var(--c-accent);
  border-radius: 50%;
}
.p-strength__item:nth-child(2) .p-strength__shape {
  background-color: var(--c-green);
  border-radius: 16px;
  transform: rotate(15deg);
}
.p-strength__item:nth-child(3) .p-strength__shape {
  background-color: var(--c-yellow);
  border-radius: 100vmax;
  transform: rotate(-15deg);
}

.p-strength__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
}
.p-strength__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin: 0;
}

/* セクション固有のフェードインアニメーション */
.js-fade-in-up-strength {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-strength.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* * Promise セクション固有スタイル */
.p-promise {
  position: relative;
  z-index: 10;
  padding: 120px 0;
  overflow: hidden; /* 背景の巨大文字がはみ出ないように */
}

/* 背景の巨大な英語タイトル */
.p-promise__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 900;
  color: rgba(30, 41, 59, 0.02); /* 極薄のグレー */
  line-height: 1;
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.p-promise__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .p-promise__inner {
    grid-template-columns: 320px 1fr; /* 左側タイトル、右側リスト */
    gap: 100px;
    align-items: start;
  }
}

/* 左側：タイトルエリア */
.p-promise__left {
  position: relative;
  min-width: 0;
}
@media (min-width: 1024px) {
  .p-promise__left {
    position: sticky;
    top: 140px;
  }
}

.p-promise__en {
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.p-promise__jp {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 900;
  color: var(--color-text-main);
  margin: 0 0 24px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.p-promise__lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin: 0;
  letter-spacing: 0.05em;
}

/* 右側：お約束のリスト */
.p-promise__right {
  display: flex;
  flex-direction: column;
  gap: 48px; /* 各項目の余白を広くとり、上品に */
  min-width: 0;
}

.p-promise__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
@media (min-width: 768px) {
  .p-promise__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}

/* 数字部分のあしらい（SERVICEと共通化） */
.p-promise__num-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.p-promise__shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
}
/* 色を順番に変えて親しみやすさを */
.p-promise__item:nth-child(1) .p-promise__shape {
  background-color: var(--c-accent);
}
.p-promise__item:nth-child(2) .p-promise__shape {
  background-color: var(--c-green);
}
.p-promise__item:nth-child(3) .p-promise__shape {
  background-color: var(--c-yellow);
}
.p-promise__item:nth-child(4) .p-promise__shape {
  background-color: var(--c-accent);
}

.p-promise__num {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* テキスト部分（row時は flex の min-width:auto 防止で折り返し可能に） */
.p-promise__text {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.05em;
  flex: 1 1 0%;
  min-width: 0;
  overflow-wrap: break-word;
  /* PC時は数字の高さに合わせて少し下げる */
  padding-top: 8px;
}
@media (max-width: 767px) {
  .p-promise__text {
    padding-top: 0;
  }
}

/* フェードインアニメーション */
.js-fade-in-up-promise {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-promise.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* * Area セクション固有スタイル */
.p-area {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.p-area__inner {
  max-width: 1000px; /* 見やすさのため幅を少し絞る */
  margin: 0 auto;
  padding: 0 5%;
}

.p-area__head {
  text-align: center;
  margin-bottom: 48px;
}

.p-area__en {
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.p-area__jp {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: 0.05em;
}

/* エリアを囲む上品な白カード */
.p-area__box {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 48px 5%;
  box-shadow: 0 10px 30px -10px rgba(30, 41, 59, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
}

.p-area__lead {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0 0 32px;
  letter-spacing: 0.05em;
}

/* エリアのタグリスト */
.p-area__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-area__item {
  font-size: 16px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 100vmax;
  letter-spacing: 0.05em;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  background-color: rgba(249, 115, 22, 0.1); /* オレンジの極薄背景 */
  border-color: rgba(249, 115, 22, 0.2);
  color: #c2410c;
}

/* 補足メッセージ */
.p-area__note {
  font-size: 14px;
  color: var(--color-text-sub);
  font-weight: 500;
  line-height: 1.6;
  margin: 32px 0 0;
}

/* アニメーション */
.js-fade-in-up-area {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-area.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* * Service セクション固有スタイル */
.p-service {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--color-bg-base);
}

.p-service__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
}

@media (min-width: 1024px) {
  .p-service__inner {
    grid-template-columns: 320px 1fr;
    gap: 100px;
    align-items: start;
    padding: 160px 5%;
  }
}

/* 左側（Stickyエリア） */
.p-service__left {
  position: sticky;
  top: 140px;
}

.p-service__sec-title .c-sec-title__en {
  font-size: 15px;
  letter-spacing: 0.2em;
}
.p-service__sec-title .c-sec-title__jp {
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.p-service__lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin-top: 32px;
  letter-spacing: 0.05em;
}

/* 追従する目次ナビゲーション（PCのみ） */
.p-service__nav {
  display: none;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
@media (min-width: 1024px) {
  .p-service__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
.p-service__nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}
/* インジケーターの線 */
.p-service__nav-link::before {
  content: "";
  display: block;
  width: 12px;
  height: 2px;
  background-color: currentColor;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}
.p-service__nav-link:hover {
  color: var(--color-text-main);
}
/* カレント状態 */
.p-service__nav-link.is-current {
  color: var(--color-text-main);
}
.p-service__nav-link.is-current::before {
  width: 32px;
  background-color: var(--c-accent); /* カレント時はオレンジに */
}

/* 右側（スクロールするコンテンツエリア） */
.p-service__right {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
@media (min-width: 1024px) {
  .p-service__right {
    gap: 140px;
    margin-top: 12px;
  }
}

/* サービス項目（親要素） */
.p-service-item {
  position: relative;
  border-top: 4px solid var(--color-text-main);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 1;
  /* 目次からのスクロール位置調整用 */
  scroll-margin-top: 140px;
}
@media (min-width: 768px) {
  .p-service-item {
    padding-top: 40px;
    gap: 40px;
  }
}

/* ヘッダー部分（画像レイアウトの完全再現＋図形を以前の形に戻す） */
.p-service-item__head {
  display: flex;
  align-items: center;
  gap: 24px;
}

.p-service-item__num-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 0;
}

/* 図形（左端に固定し、以前の丸みのある形状に戻す） */
.p-service-item__shape {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  opacity: 0.2;
}

/* 各アイテムごとに以前のブランドカラー＆形状を適用 */
/* 01: オレンジの正円 */
.p-service-item--01 .p-service-item__shape {
  background: var(--c-accent);
  border-radius: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
}
/* 02: グリーンの角丸四角 */
.p-service-item--02 .p-service-item__shape {
  background: var(--c-green);
  border-radius: 16px;
  transform: translateY(-50%) rotate(15deg);
  width: 90%;
  height: 90%;
}
/* 03: イエローのピル型 */
.p-service-item--03 .p-service-item__shape {
  background: var(--c-yellow);
  border-radius: 100vmax;
  transform: translateY(-50%) rotate(-10deg);
  width: 140%;
  height: 70%;
}

.p-service-item__num {
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 900;
  color: var(--color-text-main);
  line-height: 1;
  letter-spacing: 0;
  position: relative;
  z-index: 2;
  margin-left: 20px;
}
@media (min-width: 768px) {
  .p-service-item__num {
    font-size: 96px;
    margin-left: 32px;
  }
}

.p-service-item__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-service-item__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.p-service-item__en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

/* コピーと説明文、特徴リスト */
.p-service-item__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-service-item__catch {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.p-service-item__desc {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.9;
  margin: 0;
  letter-spacing: 0.02em;
}

.p-service-item__features {
  margin-top: 8px;
}
.p-service-item__dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}

.p-service-item__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px -8px rgba(30, 41, 59, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.p-service-item__row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -10px rgba(30, 41, 59, 0.12);
}
@media (min-width: 768px) {
  .p-service-item__row {
    flex-direction: row;
    gap: 24px;
  }
}

.p-service-item__dt {
  font-size: 13px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 100vmax;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

/* タグの色指定 */
.p-service-item--01 .p-service-item__dt {
  background-color: rgba(249, 115, 22, 0.1);
  color: #c2410c;
}
.p-service-item--02 .p-service-item__dt {
  background-color: rgba(45, 212, 191, 0.15);
  color: #0f766e;
}
.p-service-item--03 .p-service-item__dt {
  background-color: rgba(251, 191, 36, 0.2);
  color: #b45309;
}

.p-service-item__dd {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-main);
  line-height: 1.8;
  font-weight: 500;
}
@media (min-width: 768px) {
  .p-service-item__dd {
    padding-top: 6px;
  }
}

/* もっと見るボタン（右下配置） */
.p-service-item__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100vmax;
  margin-top: 16px;
  align-self: flex-end;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  letter-spacing: 0.05em;
}
.p-service-item__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.p-service-item__btn:hover svg {
  transform: translateX(4px);
}

.p-service-item--01 .p-service-item__btn {
  background-color: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 16px -6px rgba(249, 115, 22, 0.4);
}
.p-service-item--01 .p-service-item__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -6px rgba(249, 115, 22, 0.6);
}

.p-service-item--02 .p-service-item__btn {
  background-color: var(--c-green);
  color: #fff;
  box-shadow: 0 8px 16px -6px rgba(45, 212, 191, 0.4);
}
.p-service-item--02 .p-service-item__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -6px rgba(45, 212, 191, 0.6);
}

.p-service-item--03 .p-service-item__btn {
  background-color: var(--c-yellow);
  color: var(--color-text-main);
  box-shadow: 0 8px 16px -6px rgba(251, 191, 36, 0.4);
}
.p-service-item--03 .p-service-item__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -6px rgba(251, 191, 36, 0.6);
}

/* フェードインアニメーション */
.js-fade-in-up-service {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-service.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* * Flow セクション固有スタイル */
.p-flow {
  position: relative;
  z-index: 10;
  padding: 120px 0;
}

.p-flow__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.p-flow__head {
  text-align: center;
  margin-bottom: 72px;
}

.p-flow__en {
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.p-flow__jp {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: 0.05em;
}

/* ステップのリスト */
.p-flow__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .p-flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (min-width: 1024px) {
  .p-flow__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* 各ステップのカード */
.p-flow__item {
  background-color: #fcfbf9; /* セクション背景(白)と差をつけるオフホワイト */
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 24px;
  padding: 40px 24px;
  position: relative;
  box-shadow: 0 16px 32px -16px rgba(30, 41, 59, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 数字と背景図形のラッパー */
.p-flow__num-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-flow__num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-main);
  position: relative;
  z-index: 2;
}

/* 背後の図形 */
.p-flow__shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}
/* ブランドカラーを順番に適用 */
.p-flow__item:nth-child(1) .p-flow__shape {
  background-color: var(--c-accent);
  border-radius: 50%;
}
.p-flow__item:nth-child(2) .p-flow__shape {
  background-color: var(--c-green);
  border-radius: 16px;
  transform: rotate(15deg);
}
.p-flow__item:nth-child(3) .p-flow__shape {
  background-color: var(--c-yellow);
  border-radius: 100vmax;
  transform: rotate(-15deg);
}
.p-flow__item:nth-child(4) .p-flow__shape {
  background-color: var(--color-text-main);
  border-radius: 50%;
  opacity: 0.1;
}

/* PC版のみ：カード間の矢印 */
@media (min-width: 1024px) {
  .p-flow__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 64px; /* 数字の高さに合わせる */
    right: -20px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
  }
}

.p-flow__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.p-flow__desc {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin: 0;
}

/* アニメーション */
.js-fade-in-up-flow {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-flow.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* * Staff セクション固有スタイル */
.p-staff {
  position: relative;
  z-index: 10;
  padding: 120px 0;
  background-color: rgba(255, 255, 255, 0.8);
}

.p-staff__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.p-staff__head {
  text-align: center;
  margin-bottom: 72px;
}

.p-staff__en {
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.p-staff__jp {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: 0.05em;
}

.p-staff__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 32px;
}
@media (min-width: 768px) {
  .p-staff__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-staff__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-staff__img-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .p-staff__img-wrap {
    width: 200px;
    height: 200px;
  }
}

.p-staff__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px -10px rgba(30, 41, 59, 0.15);
  transition: transform 0.4s ease;
}
.p-staff__item:hover .p-staff__img {
  transform: translateY(-4px);
}

/* 3人それぞれ画像の形(いびつな角丸)を変える */
.p-staff__item:nth-child(1) .p-staff__img {
  border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
}
.p-staff__item:nth-child(2) .p-staff__img {
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}
.p-staff__item:nth-child(3) .p-staff__img {
  border-radius: 50% 50% 30% 70% / 40% 40% 60% 60%;
}

/* 背後のアクセント図形 */
.p-staff__shape {
  position: absolute;
  top: 12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
  transition: transform 0.4s ease;
}

/* ブランドカラーと初期形状を順番に割り当て */
.p-staff__item:nth-child(1) .p-staff__shape {
  background-color: var(--c-accent);
}
.p-staff__item:nth-child(2) .p-staff__shape {
  background-color: var(--c-green);
}
.p-staff__item:nth-child(3) .p-staff__shape {
  background-color: var(--c-yellow);
  border-radius: 30%;
  transform: rotate(15deg);
}

/* ホバー時の動き（CSSの優先度に対応するため後に記述） */
.p-staff__item:hover .p-staff__shape {
  transform: translate(8px, -8px);
}
/* みあちゃん(3番目)は元の回転を維持したまま移動させる */
.p-staff__item:nth-child(3):hover .p-staff__shape {
  transform: translate(8px, -8px) rotate(15deg);
}

/* 肩書きタグ */
.p-staff__role {
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100vmax;
  margin-bottom: 16px;
  display: inline-block;
  letter-spacing: 0.05em;
}
.p-staff__item:nth-child(1) .p-staff__role {
  background-color: rgba(249, 115, 22, 0.1);
  color: #c2410c;
}
.p-staff__item:nth-child(2) .p-staff__role {
  background-color: rgba(45, 212, 191, 0.15);
  color: #0f766e;
}
.p-staff__item:nth-child(3) .p-staff__role {
  background-color: rgba(251, 191, 36, 0.2);
  color: #b45309;
}

.p-staff__name {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-text-main);
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.p-staff__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin: 0;
  text-align: left;
}
@media (max-width: 767px) {
  .p-staff__desc {
    text-align: center;
  }
}

.js-fade-in-up-staff {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-staff.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* * Contact セクション固有スタイル */
.p-contact {
  position: relative;
  z-index: 10;
  padding: 160px 0;
  background-color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

/* 背景の装飾（巨大テキスト＋散りばめられた図形） */
.p-contact__bg-text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: clamp(100px, 18vw, 300px);
  font-weight: 900;
  color: var(--c-accent);
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.p-contact__shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.p-contact__shape--1 {
  top: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  background-color: var(--c-yellow);
  border-radius: 50%;
}
.p-contact__shape--2 {
  top: 20%;
  right: 15%;
  width: 100px;
  height: 100px;
  background-color: var(--c-accent);
  border-radius: 20px;
  transform: rotate(20deg);
}
.p-contact__shape--3 {
  bottom: 10%;
  left: 20%;
  width: 120px;
  height: 60px;
  background-color: var(--c-green);
  border-radius: 100vmax;
  transform: rotate(-15deg);
}

.p-contact__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-contact__head {
  text-align: center;
  margin-bottom: 40px;
}
.p-contact__head-jp {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  color: var(--color-text-main);
  letter-spacing: 0.05em;
  margin: 0;
}

/* マーキー（横スクロール）ボタン本体 */
.p-contact__btn {
  display: block;
  width: 100%;
  border-radius: 100vmax;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  padding: 32px 0;
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.p-contact__btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.2);
}

/* ホバー時にアニメーションを止める */
.p-contact__btn:hover .p-contact__marquee {
  animation-play-state: paused;
}

.p-contact__btn--line {
  background-color: #06c755;
}
.p-contact__btn--tel {
  background-color: var(--c-accent);
}

/* アニメーション用コンテナ */
.p-contact__marquee {
  display: flex;
  width: max-content;
  /* 速度を同期（40秒） */
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 1セットのアイテム構成（固定幅にしてスピードを完全同期） */
.p-contact__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 580px;
  flex-shrink: 0;
  padding: 0 40px 0 0;
}

.p-contact__item-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.p-contact__title {
  font-family: var(--font-en);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
}

.p-contact__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-contact__sub {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.p-contact__desc {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

.p-contact__separator {
  width: 32px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 100vmax;
  opacity: 0.8;
  flex-shrink: 0;
}

/* 【修正】電話番号の文字サイズを小さくし、折り返しを防止 */
.p-contact__btn--tel .p-contact__title {
  font-size: 22px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.js-fade-in-up-contact {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fade-in-up-contact.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* * Footer 固有スタイル */
.l-footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 80px 0 24px;
  color: var(--color-text-main);
  position: relative;
  z-index: 10;
}

.l-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
@media (min-width: 768px) {
  .l-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* 左側：ロゴと概要 */
.l-footer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.l-footer__logo {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-text-main);
  text-decoration: none;
  letter-spacing: 0.1em;
  line-height: 1;
}

.l-footer__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 右側：ナビゲーションリンク */
.l-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
@media (max-width: 480px) {
  .l-footer__nav {
    grid-template-columns: 1fr; /* SPの狭い画面では1列に */
    gap: 24px;
  }
}

.l-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-footer__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-sub);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}
.l-footer__link:hover {
  color: var(--c-accent); /* ホバー時にブランドカラーへ */
}

/* コピーライトエリア */
.l-footer__bottom {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 24px 5% 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .l-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.l-footer__policy {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.l-footer__policy:hover {
  color: var(--color-text-main);
}

.l-footer__copy {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 1023px) {
  .p-service__left {
    position: static;
    top: auto;
  }
  .p-service__inner {
    gap: 56px;
  }
}

@media (max-width: 767px) {
  .l-section {
    padding: 72px 0;
  }
  .l-inner,
  .p-philosophy__inner,
  .p-strength .l-inner,
  .p-promise__inner,
  .p-area__inner,
  .p-service__inner,
  .p-flow__inner,
  .p-staff__inner,
  .p-contact__inner,
  .l-footer__inner,
  .l-footer__bottom {
    padding-left: 6%;
    padding-right: 6%;
  }

  .c-sec-title {
    margin-bottom: 28px;
  }

  .l-header {
    padding-top: 16px;
  }
  .l-header__logo {
    font-size: 22px;
  }

  .p-hero {
    min-height: 640px;
    height: auto;
    padding: 110px 0 72px;
  }
  .p-hero__en-top {
    display: none;
  }
  .p-hero__bg-pill {
    width: 170%;
    /* left: -38%; */
    height: 58vh;
    min-height: 460px;
    /* border-radius: 36px; */
  }
  .p-hero__inner {
    padding: 0 6%;
  }
  .p-hero__left {
    margin-top: 0;
    margin-bottom: 26px;
  }
  .p-hero__catch {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.35;
    white-space: normal;
    margin-bottom: 18px;
  }
  .p-hero__en-bottom {
    font-size: 15px;
    margin-left: 0;
  }
  .p-hero__right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 0;
  }
  .p-hero__vertical-box {
    writing-mode: horizontal-tb;
    font-size: 12px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 999px;
  }

  .p-intro__catch {
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .p-intro__text {
    font-size: 14px;
    line-height: 1.95;
  }

  .p-about__card {
    gap: 30px;
  }
  .p-about__text {
    font-size: 14px;
    line-height: 1.9;
  }

  .p-philosophy,
  .p-strength,
  .p-promise,
  .p-flow,
  .p-staff,
  .p-contact {
    padding: 88px 0;
  }
  .p-philosophy__head,
  .p-staff__head {
    margin-bottom: 44px;
  }
  .p-philosophy__body {
    gap: 30px;
  }
  .p-philosophy__text {
    line-height: 2;
  }

  .p-strength__list {
    margin-top: 40px;
    gap: 18px;
  }
  .p-strength__item {
    padding: 30px 22px;
    border-radius: 22px;
  }
  .p-strength__num-wrap {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
  }
  .p-strength__num {
    font-size: 26px;
  }
  .p-strength__title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .p-strength__desc {
    font-size: 14px;
    line-height: 1.75;
  }

  .p-promise__bg-text {
    display: none;
  }
  .p-promise__inner {
    gap: 36px;
  }
  .p-promise__right {
    gap: 28px;
  }
  .p-promise__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .p-promise__text {
    font-size: 16px;
    line-height: 1.7;
    padding-top: 2px;
  }

  .p-area {
    padding: 88px 0;
  }
  .p-area__head {
    margin-bottom: 36px;
  }
  .p-area__box {
    border-radius: 18px;
    padding: 34px 6%;
  }
  .p-area__lead {
    font-size: 16px;
    line-height: 1.7;
  }
  .p-area__list {
    gap: 10px;
  }
  .p-area__item {
    font-size: 14px;
    padding: 10px 16px;
  }

  .p-service__inner {
    padding-top: 88px;
    padding-bottom: 88px;
    gap: 42px;
  }
  .p-service__lead {
    font-size: 15px;
    margin-top: 20px;
  }
  .p-service__right {
    gap: 64px;
  }
  .p-service-item {
    padding-top: 24px;
    gap: 24px;
  }
  .p-service-item__head {
    gap: 14px;
    align-items: flex-start;
  }
  .p-service-item__num-wrap {
    padding: 8px 0;
  }
  .p-service-item__num {
    font-size: 56px;
    margin-left: 14px;
  }
  .p-service-item__title {
    font-size: clamp(22px, 7vw, 28px);
  }
  .p-service-item__en {
    font-size: 12px;
  }
  .p-service-item__catch {
    font-size: 17px;
  }
  .p-service-item__desc {
    font-size: 14px;
    line-height: 1.85;
  }
  .p-service-item__row {
    padding: 16px;
    gap: 10px;
    border-radius: 14px;
  }
  .p-service-item__dt {
    font-size: 12px;
    padding: 6px 14px;
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
  .p-service-item__dd {
    font-size: 14px;
    line-height: 1.75;
  }
  .p-service-item__btn {
    width: 100%;
    align-self: stretch;
    justify-content: center;
    margin-top: 4px;
  }

  .p-flow__head {
    margin-bottom: 46px;
  }
  .p-flow__list {
    gap: 20px;
  }
  .p-flow__item {
    padding: 28px 18px;
    border-radius: 18px;
  }
  .p-flow__title {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .p-flow__desc {
    font-size: 13px;
    line-height: 1.75;
  }

  .p-staff__list {
    gap: 42px;
  }
  .p-staff__img-wrap {
    width: 150px;
    height: 150px;
    margin-bottom: 22px;
  }
  .p-staff__role {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .p-staff__name {
    font-size: 21px;
    margin-bottom: 12px;
  }
  .p-staff__desc {
    font-size: 14px;
    line-height: 1.75;
  }

  .p-contact {
    padding: 88px 0;
  }
  .p-contact__bg-text {
    display: none;
  }
  .p-contact__shape--1,
  .p-contact__shape--2,
  .p-contact__shape--3 {
    opacity: 0.22;
  }
  .p-contact__head {
    margin-bottom: 26px;
  }
  .p-contact__btn {
    padding: 22px 0;
  }
  .p-contact__item {
    width: 390px;
    padding: 0 20px;
  }
  .p-contact__item-content {
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    gap: 14px;
  }
  .p-contact__title {
    font-size: clamp(24px, 8vw, 32px);
  }
  .p-contact__sub {
    font-size: 13px;
  }
  .p-contact__desc {
    font-size: 12px;
  }
  .p-contact__separator {
    width: 18px;
    height: 8px;
  }
  .p-contact__btn--tel .p-contact__title {
    font-size: clamp(18px, 6vw, 24px);
  }

  .l-footer {
    padding: 64px 0 20px;
  }
  .l-footer__inner {
    gap: 40px;
  }
  .l-footer__logo {
    font-size: 28px;
  }
  .l-footer__desc {
    font-size: 14px;
  }
  .l-footer__nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .l-footer__bottom {
    margin-top: 44px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .p-hero {
    min-height: 600px;
    padding-top: 100px;
  }
  .p-hero__bg-pill {
    min-height: 420px;
  }
  .p-hero__catch {
    font-size: clamp(30px, 10.5vw, 30px);
  }
  .p-contact__item {
    width: fit-content;
  }
  .p-service-item__num {
    font-size: 48px;
  }
}
