@charset "UTF-8";

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */

/* Common Section Padding */
.sv-sec {
  padding: clamp(100px, 15vw, 200px) 0;
  position: relative;
}

/* ----------------------------------
   1. INTRO
   ---------------------------------- */
.sv-intro {
  padding-top: 0;
  overflow: hidden;
}

/* Parallax Text */
.bg-large-text {
  position: absolute;
  top: 0;
  right: -5vw;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 25vw;
  line-height: 1;
  color: #f8f8f8;
  z-index: -1;
  pointer-events: none;
}
.parallax-right {
  right: -5vw;
  top: 50px;
}

.sv-intro-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(40px, 5vw, 80px);
}

.intro-left {
  width: 45%;
}
.v-catch {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}
.v-decor-bar {
  width: 0;
  height: 4px;
  background-color: var(--c-green);
}

.intro-right {
  width: 50%;
  padding-top: 10px;
}
.v-body-text p {
  font-size: 16px;
  line-height: 2.4;
  color: #444;
  margin-bottom: 40px;
  font-weight: 500;
  text-align: justify;
}

/* ----------------------------------
   2. SERVICE ITEMS (List)
   ---------------------------------- */
.sv-list-wrapper {
  margin-top: 50px;
}

.sv-item-sec {
  /* アイテムごとの余白 */
  padding: clamp(60px, 10vw, 120px) 0;
}

/* Layout */
.sv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}
.sv-row.reverse {
  flex-direction: row-reverse;
}

/* Visual */
.sv-visual {
  width: 45%;
  position: relative;
}
.img-mask {
  width: 100%;
  aspect-ratio: 3/4; /* 縦長 */
  overflow: hidden;
  position: relative;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}
.sv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
  transform: scale(1.1);
}
/* Triggered by JS */
.img-mask.is-visible {
  clip-path: inset(0 0% 0 0);
}
.img-mask.is-visible .sv-img {
  transform: scale(1);
}

/* Text */
.sv-info {
  width: 45%;
}

.sv-num {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-green);
  display: block;
  margin-bottom: 20px;
}
.sv-name {
  font-family: var(--font-en);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 20px;
  color: #111;
  letter-spacing: -0.03em;
}
.sv-jp {
  font-family: var(
    --font-jp
  ); /* 明朝からゴシックへ戻すか、Shippori Minchoのままか要確認。ここではImport通りNotoを使う想定なら修正 */
  font-weight: 700;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  display: inline-block;
  border-bottom: 1px solid var(--c-green);
  padding-bottom: 5px;
}
.sv-text {
  font-size: 15px;
  line-height: 2.2;
  color: #444;
  margin-bottom: 50px;
  text-align: justify;
}

/* Button */
.sv-btn {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  border: 1px solid #111;
  padding: 15px 40px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}
.sv-btn .arrow {
  transition: transform 0.3s;
}
.sv-btn:hover {
  background-color: #111;
  color: #fff;
}
.sv-btn:hover .arrow {
  transform: translateX(5px);
}

/* ----------------------------------
   RESPONSIVE MANAGER
   ---------------------------------- */

/* --- 950px --- */
@media (max-width: 950px) {
  /* Intro */
  .sv-intro-layout {
    flex-direction: column;
    gap: 40px;
  }
  .intro-left,
  .intro-right {
    width: 100%;
  }
  .bg-large-text {
    font-size: 25vw;
    top: 80px;
    right: -10vw;
  }

  /* Service Rows - Stack vertically */
  .sv-row,
  .sv-row.reverse {
    /* 画像を上に、テキストを下に */
    flex-direction: column-reverse;
    gap: 30px;
  }

  .sv-visual,
  .sv-info {
    width: 100%;
  }
  .img-mask {
    /* スマホでは横長〜正方形寄りに */
    aspect-ratio: 4/3;
  }
}
