@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap);

:root {
  --life-top-offset: 0px; /* JSで自動設定 */
  /* --color-main: #97F4A4; */
  --color-main: #4f8bc2;
  /* 79, 139, 194 */
  --color-main-light: color-mod(var(--color-main) tint(15%));
  --color-main-dark: color-mod(var(--color-main) shade(15%));
  --color-main-bg: color-mod(var(--color-main) alpha(20%));

  --color-sub1: #8546f8;
  --color-sub1-light: color-mod(var(--color-sub1) tint(15%));
  --color-sub1-dark: color-mod(var(--color-sub1) shade(15%));
  --color-sub1-bg: color-mod(var(--color-sub1) alpha(20%));

  --color-sub2: #f0784d;
  --color-sub2-light: color-mod(var(--color-sub2) tint(15%));
  --color-sub2-dark: color-mod(var(--color-sub2) shade(15%));
  --color-sub2-bg: color-mod(var(--color-sub2) alpha(20%));

  --gray-7: #777777;
}

@font-face {
  font-family: "JosefinSlab-Bold";
  src: url("../font/JosefinSlab-Bold.ttf");
}

/*全体の設定*/
/* * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
} */

body {
  /* background-color: #ffffff; */
  background:
    radial-gradient(
      900px 520px at 12% 12%,
      rgba(255, 217, 61, 0.22),
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      900px 520px at 92% 20%,
      rgba(255, 77, 157, 0.16),
      rgba(255, 255, 255, 0) 62%
    ),
    radial-gradient(
      900px 520px at 55% 95%,
      rgba(0, 209, 178, 0.14),
      rgba(255, 255, 255, 0) 65%
    ),
    linear-gradient(180deg, var(--pop-bg-b), var(--pop-bg-a));
  font-family: "Noto Sans JP", sans-serif;
}

.floating-text {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  /* font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.7); */
  padding: 0.5em 1em;
  /* border-radius: 10px;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out; */
  text-align: center;
}

.floating-text .title {
  font-family: "JosefinSlab-Bold";
  font-size: 32px;
  text-align: center;
  padding-top: 5px;
  margin-left: auto;
  margin-right: auto;
  color: #363636;
  width: 60%;
}

.floating-text .sub-title {
  font-weight: 400;
  font-size: 16px;
  color: #363636;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  padding-top: 10px;
  padding-bottom: 5px;
}

.floating-text .line {
  width: 80vw;
  height: 4px;
  background-color: var(--color-main);
  margin: 40px auto 30px auto;
  border-radius: 2px;
}

/* 区切り線：硬いborderをやめて柔らかグラデ線に */
.floating-text .life_green_line {
  border: none !important;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(79, 139, 194, 0),
    rgba(79, 139, 194, 0.85),
    rgba(79, 139, 194, 0)
  );
  width: 80vw;
  margin-top: 32px;
  margin-bottom: 12px;
}

.floating-text.scroll-away {
  position: absolute;
  top: 0;
  opacity: 0;
  transform: translate(-50%, -100px);
}

.scroll-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.horizontal-scroll {
  display: flex;
  position: fixed;
  top: var(--life-top-offset);
  left: 0;
  height: calc(100vh - var(--life-top-offset));
  will-change: transform;
  z-index: 10;
  gap: 30px;
  padding: 0 100px;
}

.scroll-section {
  min-height: calc(100vh - var(--life-top-offset));
  flex: 0 0 auto;
  /* width: 33.33vw; */
  width: 35vw;
  /* height: calc(100vh - var(--life-top-offset)); */
  height: 100%;
  min-height: 100%;
  display: flex;
  /* align-items: flex-start; */
  align-items: center;
  /* justify-content: center; */
  justify-content: flex-start;
  flex-direction: column;
  padding-top: 80px;
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  text-align: center;
  transform: translateY(20px);
}

.scroll-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-section .image-wrapper {
  position: relative;
  /* width: 640px; */
  width: 100%;
  /* height: 480px; */
  height: 45vh;
  margin-left: auto;
  margin-right: auto;
}

.scroll-section img {
  /* width: 640px; */
  width: 100%;
  /* height: 480px; */
  height: 45vh;
  /* height: auto; */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.scroll-section img.active {
  opacity: 1;
  z-index: 1;
}

.scroll-section .text-explain {
  width: 80%;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.text-explain p {
  font-weight: 700;
  font-size: 18px;
  color: #4f8bc2;
}

.scroll-section .text-supplement {
  width: 100%;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

.text-supplement p {
  font-weight: 400;
  font-size: 14px;
  color: #363636;
}

.scroll-section p {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.scroll-section .life_text {
  width: 80%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.vertical-section {
  position: absolute;
  /* height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #f0f0f0; */
  width: 100%;
  z-index: 1;
}

.vertical-section img {
  width: 640px;
  height: 480px;
  object-fit: cover;
}

.vertical-description-wrapper {
  /* margin-top: calc(120vh + 0px); */
  /* margin-top: calc(70vh + 0px); */
  margin-top: -150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vertical-description {
  /* font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center; */

  font-family: "JosefinSlab-Bold";
  font-size: 32px;
  text-align: center;
  padding-top: 10px;
  margin-left: auto;
  margin-right: auto;
  color: #363636;
  width: 60%;
}

.vertical-sub-description {
  /* font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center; */

  font-weight: 400;
  font-size: 16px;
  color: #363636;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  /* padding-top: 10px; */
  padding-bottom: 35px;
}

.vertical-line {
  width: 80vw;
  height: 4px;
  background-color: var(--color-main);
  border-radius: 2px;
  margin-bottom: 40px;
}

.qa-section {
  width: 60vw;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.qa-item {
  display: flex;
  width: 100%;
}

.qa-item.user {
  justify-content: flex-start;
}

.qa-item.system {
  justify-content: flex-end;
}

.bubble {
  max-width: 70%;
  padding: 12px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.qa-item.user .bubble {
  background: #6fbfa3;
  border-top-right-radius: 0;
}

.qa-item.system .bubble {
  background: #4f8bc2;
  border-top-left-radius: 0;
}

/* =========================
   Works（年度ごとの横スクロール）
========================= */
.works-section {
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.works-year-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px 0;
}

.works-year-title {
  font-weight: 800;
  font-size: 20px;
  color: #363636;
  letter-spacing: 0.02em;
  padding-left: 4px;
}

.works-carousel {
  position: relative;
  width: 100%;
}

.works-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 44px;
  padding: 12px 44px 18px 44px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.works-track:focus {
  outline: none;
}

.work-card {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* .work-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.14);
} */

.work-thumb {
  width: 100%;
  height: 180px;
  position: relative;
  background: rgba(255, 255, 255, 0.9);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-body {
  padding: 14px 14px 16px 14px;
  text-align: left;
}

.work-title {
  font-weight: 800;
  font-size: 15px;
  color: #363636;
  margin-bottom: 6px;
}

.work-desc {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: #363636;
  opacity: 0.9;
}

.works-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  color: #363636;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.works-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.works-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.works-nav--prev {
  left: 8px;
}
.works-nav--next {
  right: 8px;
}

@media (width <= 767px) {
  .works-section {
    /* width: 95%; */
    gap: 26px;
    margin-bottom: 50px;
  }
  .works-track {
    padding: 10px 10px 16px 10px;
    scroll-padding: 10px;
  }
  .work-card {
    width: 68vw;
  }
  /* スマホはスワイプ前提でボタン非表示 */
  .works-nav {
    display: none;
  }
}

.circle-body {
  /* height: 300vh; */
  margin: 0;
  margin-bottom: 50px;
  /* background: #f4f7fa; */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  gap: 80px;
  /* font-family: 'Arial', sans-serif; */
}

.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #4f8bc2;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  text-align: center;
  font-weight: 400;
  /* font-size: 16px; */
}

.footer_life {
  height: 40px;
  width: 100%;
  /* background-color: #DDDDDD; */
  background: rgba(255, 255, 255, 0.82);
  color: #777777;
  position: sticky;
  top: 100vh;
  bottom: 0;
}

@media (width <= 375px) {
  .floating-text {
    top: 25px;
  }

  .floating-text .title {
    font-size: 24px;
    width: 80%;
  }

  .floating-text .sub-title {
    font-size: 12px;
    width: 100%;
  }

  .floating-text .line {
    margin: 10px auto 5px auto;
  }

  .scroll-section {
    width: 100vw;
    /* height: calc(100vh - var(--life-top-offset)); */
    height: 100%;
    padding-top: 100px;
  }

  .scroll-section .image-wrapper {
    width: 100%;
    height: 320px;
  }

  .scroll-section img {
    width: 100%;
    height: 320px;
  }

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 20px;
  }

  .text-explain p {
    font-size: 14px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 5px;
  }

  .text-supplement p {
    font-size: 12px;
  }

  .vertical-description-wrapper {
    margin-top: calc(200vh + 0px);
  }

  .vertical-description {
    font-size: 28px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 14px;
    width: 100%;
    padding-bottom: 25px;
  }

  .vertical-line {
    margin-bottom: 20px;
  }

  .qa-section {
    width: 95%;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 80%;
    font-size: 12px;
  }

  .header {
    /* overflow-x: scroll; */
    height: calc((100vw / 980) * 64);
  }
  .nav-list {
    line-height: calc((100vw / 980) * 64);
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    /* list-style: none;
    display: inline-block; */
    margin: 0px 3px;
    height: calc((100vw / 980) * 64);
  }
  .nav-list li a {
    line-height: calc((100vw / 980) * 64);
    font-size: 14px;
    text-align: center;
    /* padding-top: 10px; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 60px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }
}

/* @media (orientation: portrait) and (width <= 767px) { */
@media (376px <= width <= 767px) {
  .floating-text {
    top: 25px;
  }

  .floating-text .title {
    font-size: 28px;
    width: 80%;
  }

  .floating-text .sub-title {
    font-size: 12px;
    width: 100%;
  }

  .floating-text .line {
    margin: 20px auto 10px auto;
  }

  .scroll-section {
    width: 100vw;
    height: calc(100vh - var(--life-top-offset));
    padding-top: 100px;
  }

  /* .scroll-section .image-wrapper {
    width: 100%;
    height: 40%;
  }

  .scroll-section img {
    width: 100%;
    height: 100%;
  } */

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 20px;
  }

  .text-explain p {
    font-size: 14px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 5px;
  }

  .text-supplement p {
    font-size: 12px;
  }

  /* .vertical-description-wrapper {
    margin-top: calc(160vh + 0px);
  } */
  .vertical-description-wrapper {
    /* margin-top: 24px; */
    padding-top: 0; /* 必要なら 16px など */
  }

  .vertical-description {
    font-size: 28px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 14px;
    width: 100%;
    padding-bottom: 25px;
  }

  .vertical-line {
    margin-bottom: 20px;
    margin-top: 4px !important;
  }

  .qa-section {
    width: 95%;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 80%;
    font-size: 12px;
  }

  .header {
    /* overflow-x: scroll; */
    height: calc((100vw / 980) * 64);
  }
  .nav-list {
    line-height: calc((100vw / 980) * 64);
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    /* list-style: none;
    display: inline-block; */
    margin: 0px 3px;
    height: calc((100vw / 980) * 64);
  }
  .nav-list li a {
    line-height: calc((100vw / 980) * 64);
    font-size: 14px;
    text-align: center;
    /* padding-top: 10px; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 60px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }
}

@media only screen and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 3) {
  .floating-text {
    top: 15px;
  }

  .floating-text .title {
    font-size: 28px;
    width: 80%;
  }

  .floating-text .sub-title {
    font-size: 12px;
    width: 100%;
  }

  .floating-text .line {
    margin: 20px auto 10px auto;
  }

  .scroll-section {
    width: 100vw;
    height: calc(100vh - var(--life-top-offset));
    padding-top: 100px;
  }

  /* .scroll-section .image-wrapper {
    width: 100%;
    height: 360px;
  }

  .scroll-section img {
    width: 100%;
    height: 360px;
  } */

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 20px;
  }

  .text-explain p {
    font-size: 14px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 5px;
  }

  .text-supplement p {
    font-size: 12px;
  }

  /* .vertical-description-wrapper {
    margin-top: calc(160vh + 0px);
  } */
  /* .vertical-description-wrapper{
    margin-top: 24px;
  } */

  .vertical-description {
    font-size: 28px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 14px;
    width: 100%;
    padding-bottom: 25px;
  }

  .vertical-line {
    margin-bottom: 20px;
  }

  .qa-section {
    width: 95%;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 80%;
    font-size: 12px;
  }

  .header {
    /* overflow-x: scroll; */
    height: calc((100vw / 980) * 64);
  }
  .nav-list {
    line-height: calc((100vw / 980) * 64);
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    /* list-style: none;
    display: inline-block; */
    margin: 0px 3px;
    height: calc((100vw / 980) * 64);
  }
  .nav-list li a {
    line-height: calc((100vw / 980) * 64);
    font-size: 14px;
    text-align: center;
    /* padding-top: 10px; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 60px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }
}

/* @media (orientation: portrait) and (768px <= width <= 1024px) { */
@media (768px <= width <= 1023px) {
  .floating-text {
    top: 25px;
  }

  .floating-text .title {
    font-size: 32px;
    width: 80%;
  }

  .floating-text .sub-title {
    font-size: 16px;
    width: 80%;
  }

  .floating-text .line {
    margin: 10px auto 10px auto;
  }

  .scroll-section {
    width: 80vw;
    height: calc(100vh - var(--life-top-offset));
    padding-top: 100px;
  }

  /* .scroll-section .image-wrapper {
    width: 100%;
    height: 480px;
  }

  .scroll-section img {
    width: 100%;
    height: 480px;
  } */

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 20px;
  }

  .text-explain p {
    font-size: 18px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 5px;
  }

  .text-supplement p {
    font-size: 14px;
  }

  /* .vertical-description-wrapper {
    margin-top: calc(120vh + 0px);
  } */
  /* .vertical-description-wrapper{
    margin-top: 24px;
  } */

  .vertical-description {
    font-size: 32px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 16px;
    width: 100%;
    padding-bottom: 35px;
  }

  .vertical-line {
    margin-bottom: 20px;
  }

  .qa-section {
    width: 80vw;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 70%;
    font-size: 14px;
  }

  .header {
    /* overflow-x: scroll; */
    height: calc((100vw / 980) * 64);
  }
  .nav-list {
    line-height: calc((100vw / 980) * 64);
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    /* list-style: none;
    display: inline-block; */
    margin: 0px 8px;
    height: calc((100vw / 980) * 64);
  }
  .nav-list li a {
    line-height: calc((100vw / 980) * 64);
    font-size: 24px;
    text-align: center;
    /* padding-top: 10px; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 30px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }
}

/* @media (orientation: portrait) and (768px <= width <= 1024px) { */
@media (1024px <= width <= 1400px) {
  .floating-text {
    top: 60px;
  }

  .floating-text .title {
    font-size: 32px;
    width: 80%;
  }

  .floating-text .sub-title {
    font-size: 16px;
    width: 80%;
  }

  .floating-text .line {
    margin: 10px auto 10px auto;
  }

  .scroll-section {
    width: 50vw;
    height: calc(100vh - var(--life-top-offset));
    padding-top: 100px;
  }

  /* .scroll-section .image-wrapper {
    width: 100%;
    height: 360px;
  }

  .scroll-section img {
    width: 100%;
    height: 360px;
  } */

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 20px;
  }

  .text-explain p {
    font-size: 14px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 5px;
  }

  .text-supplement p {
    font-size: 12px;
  }

  /* .vertical-description-wrapper {
    margin-top: calc(120vh + 0px);
  } */
  /* .vertical-description-wrapper{
    margin-top: 24px;
  } */

  .vertical-description {
    font-size: 32px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 16px;
    width: 100%;
    padding-bottom: 35px;
  }

  .vertical-line {
    margin-bottom: 20px;
  }

  .qa-section {
    width: 80vw;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 70%;
    font-size: 14px;
  }

  .header {
    /* overflow-x: scroll; */
    height: 48px;
  }
  .nav-list {
    line-height: 48px;
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    /* list-style: none;
    display: inline-block; */
    margin: 0px 8px;
    height: 48px;
  }
  .nav-list li a {
    line-height: 48px;
    font-size: 24px;
    text-align: center;
    /* padding-top: 10px; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 10px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }
}

@media (width <= 1024px) and (height <= 600px) {
  .floating-text {
    top: 25px;
  }

  .floating-text .title {
    font-size: 18px;
    width: 80%;
  }

  .floating-text .sub-title {
    font-size: 12px;
    width: 100%;
  }

  .floating-text .line {
    margin: 5px auto 5px auto;
  }

  .scroll-section {
    width: 60vw;
    height: calc(100vh - var(--life-top-offset));
    padding-top: 100px;
  }

  /* .scroll-section .image-wrapper {
    width: 100%;
    height: 40vh;
  }

  .scroll-section img {
    width: 100%;
    height: 40vh;
  } */

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 5px;
  }

  .text-explain p {
    font-size: 12px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 5px;
  }

  .text-supplement p {
    font-size: 12px;
  }

  /* .vertical-description-wrapper {
    margin-top: calc(200vh + 0px);
  } */
  /* .vertical-description-wrapper{
    margin-top: 24px;
  } */

  .vertical-description {
    font-size: 18px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 14px;
    width: 100%;
    padding-bottom: 25px;
  }

  .vertical-line {
    margin-bottom: 20px;
  }

  .qa-section {
    width: 75%;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 80%;
    /* font-size: 12px; */
  }

  .header {
    /* overflow-x: scroll; */
    height: 28px;
  }
  .nav-list {
    line-height: 28px;
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    /* list-style: none;
    display: inline-block; */
    margin: 0px 3px;
    height: 28px;
  }
  .nav-list li a {
    line-height: 28px;
    font-size: 14px;
    text-align: center;
    /* padding-top: 10px; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 60px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }
}

@media (orientation: landscape) and (max-device-width: 1023px) and (min-aspect-ratio: 1.77) {
  .floating-text {
    top: 35px;
    padding: 0.2em 0.2em;
  }

  .floating-text .title {
    font-size: 18px;
    width: 80%;
  }

  .floating-text .title::before {
    bottom: 0px !important;
  }

  .floating-text .sub-title {
    font-size: 10px;
    width: 100%;
    padding-top: 0px;
  }

  .floating-text .line {
    margin: 5px auto 5px auto;
  }

  .horizontal-scroll {
    gap: 15px;
    /* height: 66vh !important;
    top: 0px !important;
    margin-top: 34vh; */
    margin-top: 12vh;
  }

  .scroll-section {
    width: 45vw;
    height: auto;
    padding-top: 0px;
  }

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 10px;
  }

  .text-explain p {
    font-size: 10px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 2px;
  }

  .text-supplement p {
    font-size: 10px;
  }

  .vertical-description {
    font-size: 18px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 14px;
    width: 100%;
    padding-bottom: 25px;
  }

  .vertical-line {
    margin-bottom: 20px;
  }

  .qa-section {
    width: 75%;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 80%;
    /* font-size: 12px; */
  }

  .header {
    /* overflow-x: scroll; */
    height: 32px;
  }
  .nav-list {
    line-height: 32px;
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    /* list-style: none;
    display: inline-block; */
    margin: 0px 3px;
    height: 32px;
  }
  .nav-list li a {
    line-height: 32px;
    font-size: 18px;
    text-align: center;
    /* padding-top: 10px; */
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 60px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }

  .life-progress {
    display: none !important;
  }

  .floating-text .life_green_line {
    margin-top: 4px;
    margin-bottom: 4px;
  }
}

@media (orientation: landscape) and (min-device-width: 1024px) and (max-device-width: 1180px) {
  .floating-text {
    top: 35px;
    padding: 0.2em 0.2em;
  }

  .floating-text .title {
    font-size: 32px;
    width: 80%;
  }

  /* .floating-text .title::before {
    bottom: 0px !important;
  } */

  .floating-text .sub-title {
    font-size: 16px;
    width: 100%;
    padding-top: 0px;
  }

  /* .floating-text .line {
    margin: 5px auto 5px auto;
  } */

  .horizontal-scroll {
    /* gap: 15px; */
    /* height: 66vh !important;
    top: 0px !important;
    margin-top: 28vh; */
    gap: 15px;
    /* height: 66vh; */
    margin-top: 9vh;
  }

  .scroll-section {
    width: 55vw;
    height: auto;
    padding-top: 0px;
  }

  .scroll-section .text-explain {
    width: 100%;
    margin-top: 10px;
  }

  .text-explain p {
    font-size: 14px;
  }

  .scroll-section .text-supplement {
    width: 100%;
    margin-top: 2px;
  }

  .text-supplement p {
    font-size: 14px;
  }

  .vertical-description {
    font-size: 32px;
    width: 100%;
  }

  .vertical-sub-description {
    font-size: 14px;
    width: 100%;
    padding-bottom: 25px;
  }

  .vertical-line {
    margin-bottom: 20px;
  }

  .qa-section {
    width: 75%;
  }

  .qa-item {
    display: flex;
    width: 100%;
  }

  .bubble {
    max-width: 80%;
  }

  .header {
    height: 32px;
  }
  .nav-list {
    line-height: 32px;
    height: 100%;
    float: right;
    margin-right: 30px;
    list-style: none;
  }
  .nav-list-item {
    margin: 0px 3px;
    height: 32px;
  }
  .nav-list li a {
    line-height: 32px;
    font-size: 18px;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-body {
    margin: 0;
    margin-bottom: 50px;
    padding-top: 100px;
    gap: 60px;
  }

  .circle {
    width: 120px;
    height: 120px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
  }

  /* .life-progress {
    display: none !important;
  } */

  .floating-text .life_green_line {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}

@media (orientation: landscape) and (max-device-width: 1079px) and (min-aspect-ratio: 1.6) {
  .life-progress {
    display: none !important;
  }
}

@media (orientation: landscape) and (max-device-width: 1280px) and (min-aspect-ratio: 1.6) {
  .life-progress {
    display: none !important;
  }
}

@media (orientation: landscape) and (min-device-width: 764px) and (min-aspect-ratio: 2.2) {
  .life-progress {
    display: none !important;
  }
}

@media (orientation: landscape) and (min-device-width: 1080px) and (min-aspect-ratio: 1.6) {
  /* .life-progress {
    display: none !important;
  } */

  .vertical-line {
    margin-top: 124px !important;
  }
}

@media (width <= 1024px) {
  .vertical-description-wrapper {
    /* margin-top: 24px;  */
    margin-top: 0px;
    padding-top: 0; /* 必要なら 16px など */
  }
}

/* =========================
   FUN: 横スクロールを楽しくする（進捗UI＋軽いパララックス）
   ========================= */

.life-hint {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #363636;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  animation: lifeHintBounce 1.6s ease-in-out infinite;
}

.life-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  animation: none;
}

@keyframes lifeHintBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

.life-progress {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.life-progress.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.life-progress__bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.life-progress__fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(
    90deg,
    var(--color-main),
    var(--color-sub1),
    var(--color-sub2)
  );
}

.life-progress__dots {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.life-progress__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.life-progress__dot:hover {
  transform: scale(1.25);
}

.life-progress__dot.is-active {
  background: var(--color-main);
  transform: scale(1.35);
}

.life-progress__label {
  font-size: 12px;
  color: rgba(54, 54, 54, 0.9);
  text-align: center;
}

/* パララックスの奥行き感（image-wrapper の transform は JS で更新） */
.scroll-section {
  perspective: 900px;
}
.scroll-section .image-wrapper {
  will-change: transform;
  transform-style: preserve-3d;
}

/* ちょい強調（中央のセクション） */
.scroll-section.is-active img.active {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

/* セクションが切り替わった瞬間だけ「キラッ」 */
.scroll-section .image-wrapper::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  background: radial-gradient(
    circle at 30% 15%,
    rgba(255, 255, 255, 0.65),
    rgba(255, 255, 255, 0) 55%
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.scroll-section.arrive .image-wrapper::after {
  animation: lifeSpark 650ms ease-out;
}

@keyframes lifeSpark {
  0% {
    opacity: 0;
    transform: scale(0.985);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@media (max-width: 767px) {
  .life-hint {
    bottom: 82px;
    font-size: 11px;
    padding: 8px 12px;
  }
  .life-progress {
    bottom: 12px;
    gap: 8px;
    width: min(640px, 92vw);
  }
  .life-progress__label {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .life-hint {
    animation: none;
  }
  .scroll-section .image-wrapper {
    transition: none !important;
  }
}

/* Pop marker: Lifeページのタイトル/縦スクロール見出しを section_title と同系統に */
.floating-text .title,
.vertical-description {
  display: inline-block;
  position: relative;
  font-family: "Fredoka-Medium", "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
  margin: 6px auto 10px;
  color: #1f1f1f;
  padding-top: 0;
  width: auto;
  z-index: 0;
}
.floating-text .title::before,
.vertical-description::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: 6px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 217, 61, 0.4),
    rgba(255, 77, 157, 0.25),
    rgba(0, 209, 178, 0.25)
  );
  z-index: -1;
  transform: rotate(-1.2deg);
}

/* =======================================================================
   Mobile: hide progress bar UI (life-progress)
   ======================================================================= */
/* @media screen and (max-width: 767px){
  .life-progress{
    display: none !important;
  }
} */

/* =======================================================================
   Mobile: lift horizontal scroll images slightly
   ======================================================================= */
@media screen and (max-width: 767px) {
  /* 画像の開始位置が下に行きすぎないように、上の余白を少し減らす */
  .scroll-section {
    padding-top: 60px !important; /* 100px -> 80px */
  }
}

/* @media (max-width: 767px) {
  .works-section-wrapper{
    display: none;
  }
} */

/* 区切り線：硬いborderをやめて柔らかグラデ線に */
.vertical-line {
  border: none !important;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(79, 139, 194, 0),
    rgba(79, 139, 194, 0.85),
    rgba(79, 139, 194, 0)
  );
  width: 80vw;
  margin-top: 18px;
  margin-bottom: 18px;
}

/* =========================
   Life YouTube Shorts
========================= */
.life-video-block {
  width: 100%;
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.life-video-card {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 340px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.72)
    ),
    linear-gradient(135deg, rgba(79, 139, 194, 0.08), rgba(240, 120, 77, 0.06));
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.life-video-card::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 217, 61, 0.28),
    rgba(255, 217, 61, 0)
  );
  pointer-events: none;
}

.life-video-card::after {
  content: "";
  position: absolute;
  inset: -60px -40px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 209, 178, 0.18),
    rgba(0, 209, 178, 0)
  );
  pointer-events: none;
}

.life-video-copy,
.life-video-stage {
  position: relative;
  z-index: 1;
}

.life-video-copy {
  text-align: left;
}

.life-video-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(79, 139, 194, 0.1);
  color: #4f8bc2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.life-video-title {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.25;
  color: #363636;
}

.life-video-text {
  width: 100% !important;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.85;
  color: #363636;
}

.life-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #4f8bc2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  box-shadow: 0 10px 24px rgba(79, 139, 194, 0.24);
}

.life-video-link:hover {
  background: #5a96cc;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(79, 139, 194, 0.28);
}

.life-video-stage {
  display: flex;
  justify-content: center;
}

.life-video-phone {
  position: relative;
  width: min(100%, 320px);
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(180deg, #262b34, #12161c);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.life-video-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: rgba(10, 12, 16, 0.88);
  z-index: 2;
}

.life-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.life-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .life-video-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
  }

  .life-video-copy {
    text-align: center;
  }

  .life-video-title {
    font-size: 22px;
  }

  .life-video-text {
    font-size: 13px;
    line-height: 1.75;
  }

  .life-video-phone {
    width: min(100%, 280px);
    border-radius: 30px;
  }

  .scroll-section .image-wrapper {
    width: 100%;
    height: 48%;
  }

  .scroll-section img {
    width: 100%;
    height: 100%;
  }
}
