.sub-wrap{
  padding: 40px 0 100px;
}

.vision {
  padding: 100px 0;
  background: linear-gradient(90deg, #f6efef 0%, #f7dfe7 100%);
  overflow: hidden;
}

.vision__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


/* =========================
   VISION figure
========================= */
.vision__diagram {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.vision__ring {
  position: absolute;
  inset: 50%;
  width: 64%;
  height: 64%;
  transform: translate(-50%, -50%);
  border: 5px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 0 4px 3px rgb(250 185 196 / 90%) inset, 0 0 6px 5px rgb(250 185 196 / 80%);
  opacity: 0;
}

.vision__node {
  position: absolute;
  width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255, 84, 132, 0.9) 0%, rgba(255, 114, 157, 0.62) 32%, rgba(255, 173, 196, 0.38) 58%, rgba(255, 220, 230, 0.15) 100%);
  box-shadow:
    0 0 30px rgba(255, 92, 145, 0.22),
    0 0 60px rgba(255, 170, 200, 0.12);
  opacity: 0;
  transform: scale(.7);
}

.vision__node span {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.vision__node--top {
  top: 0%;
  left: 50%;
  transform: translateX(-50%) scale(.7);
}

.vision__node--left {
  left: 0%;
  bottom: 13%;
  transform: scale(.7);
}

.vision__node--right {
  right: 0%;
  bottom: 13%;
  transform: scale(.7);
}

.vision__center {
  font-family: var(--font-jost);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  opacity: 0;
}

.vision__center-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  /* margin: 0 0 16px; */
  background: linear-gradient(90deg, #df4b74 0%, #e7a55b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.vision__center-sub:before{
  content: '';
  height: 1px;
  width: 48%;
  display: block;
  background-color: #D6404D;
  line-height: 1px;
  margin: auto;
  margin-bottom: 9px;
}

.vision__center-sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  color: #e14858;
  margin-top: 7px;
}

/* =========================
   VISION TXT
========================= */
.vision__content {
  position: relative;
  z-index: 1;
}

.vision__eyebrow {
  margin: 0 0 18px;
}

.vision__title {
  font-family: var(--font-jost);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #de2f2b 0%, #f17a1f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vision__title_ja{
  margin: 14px 0 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  display: block;
}

.vision__text {
  position: relative;
  z-index: 2;
}

.vision__text p {
  margin: 0 0 16px;
  /* font-size: 18px; */
  line-height: 2;
}

.vision__bg-mark {
  position: absolute;
  right: -44px;
  bottom: -53px;
  width: 324px;
  height: 358px;
  z-index: 1;
  pointer-events: none;
  background: url("../img/team/logo.webp") no-repeat center / contain;
}


/* =========================
   ANIMATION
========================= */
.js-vision-animate.is-active .vision__node--top {
  animation: fadePopTop 0.8s ease forwards;
}

.js-vision-animate.is-active .vision__node--left {
  animation: fadePopLeft 0.8s ease forwards;
  animation-delay: 0.35s;
}

.js-vision-animate.is-active .vision__node--right {
  animation: fadePopRight 0.8s ease forwards;
  animation-delay: 0.7s;
}

.js-vision-animate.is-active .vision__ring {
  animation: ringFade 1s ease forwards;
  animation-delay: 1.05s;
}

.js-vision-animate.is-active .vision__center {
  animation: centerFade 0.9s ease forwards;
  animation-delay: 1.35s;
}

@keyframes fadePopTop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(.7);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    filter: blur(0);
  }
}

@keyframes fadePopLeft {
  0% {
    opacity: 0;
    transform: scale(.7);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes fadePopRight {
  0% {
    opacity: 0;
    transform: scale(.7);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes ringFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.85);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes centerFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.85);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}


.bg-vision{
    background-image: url(../img/team/bk-vision.webp);
    background-size: cover;
    background-attachment: fixed; 
    background-position: center center;
    background-color: #FFF;

}
@media screen and (max-width: 980px) {
  .vision__inner {
    gap: 20px;
  }

}

@media screen and (max-width: 768px) {
    .bg-vision {
      background-attachment: scroll;
    }
    .vision__title{
      font-size:40px;
    }
  }
/* =========================
   SP
========================= */
@media screen and (max-width: 768px) {
  .vision {
    padding: 70px 0;
  }

  .vision__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vision__diagram {
    max-width: 360px;
  }

  .vision__node {
    width: 110px;
  }

  .vision__node span {
    font-size: 24px;
  }

  .vision__text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .vision__bg-mark {
    width: 180px;
    height: 180px;
  }
  .vision__eyebrow {
    text-align: center;

  }


}



@media (max-width: 1024px){


}
@media (max-width: 640px){



}
@media (max-width: 380px){
  .vision__center-title {
      font-size: 30px;
  }
  .vision__ring {
      width: 68%;
      height: 68%;
  }

}



/* =========================
   CEO
========================= */
.ceo{
  padding: 100px 0;
}

.ceo__title {
  font-family: var(--font-jost);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 0.06em;
  /* margin: 0 0 16px; */
  background: linear-gradient(90deg, #D13C6E 0%, #F3AD58 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* margin-bottom: 28px; */
}

/* タイトルはてるみさんの既存CSSを使う前提 */

.ceo__body {
  position: relative;
  /* padding-top: 32px; */
}

.ceo__card {
  position: relative;
  width: 90%;
  background: #FFF;
  border-radius: 20px;
  padding: 50px 264px 50px 55px;
  box-sizing: border-box;
}

.ceo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 20px 0 0;
}

.ceo__name {
  margin: 0;
  font-family: var(--font-jost);
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #2d2d2d;
}

.ceo__sns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ceo__sns-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ceo__sns-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.ceo__sns-link img {
  width: 100%;
  height: auto;
  display: block;
}

.ceo__line {
  width: 100%;
  height: 1px;
  margin: 15px 0 20px;
  background: linear-gradient(90deg, #D13C6E 0%, #F3AD58 100%);
}

.ceo__meta {
  margin-bottom: 26px;
}

.ceo__meta p {
  margin: 0;
  /* font-size: 18px; */
  line-height: 1.7;
  letter-spacing: 0.04em;
  /* color: #333; */
}

.ceo__text {
  /* max-width: 620px; */
}

.ceo__text p {
  /* margin: 0 0 12px; */
  /* font-size: 17px; */
  line-height: 1.85;
  letter-spacing: 0.04em;
  /* color: #333; */
}

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

.ceo__image {
  position: absolute;
  top: -76px;
  right: 0;
  width: min(32vw, 320px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ceo__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* タブレット */
@media screen and (max-width: 1023px) {
  .ceo__title {
    font-size: 40px;
  }
  .ceo {
    padding: 80px 0 100px;
  }

  .ceo__body {
    padding-top: 0;
  }

  .ceo__card {
    width: 100%;
    padding: 44px 35px 40px;
  }

  .ceo__image {
    width: 230px;
    margin: 0 0 24px auto;
  }

  .ceo__text {
    max-width: 100%;
    margin-top: 43px;
  }

  .ceo__top {
    gap: 15px;
    padding: 0 20px 0 0;
    width: calc(100% - 230px);
  }
  
  
  .ceo__sns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }
  
  
  .ceo__sns-link {
    width: 32px;
    height: 32px;
  }
  .ceo__line,.ceo__meta{
    width:calc(100% - 230px);
  }
  

  
}

/* スマホ */
@media screen and (max-width: 767px) {
  .ceo {
    padding: 64px 0 80px;
  }

  .ceo__head {
    margin-bottom: 20px;
  }

  .ceo__body {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
  }

  .ceo__image {
    order: 1;
    position: static;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 18px;
    z-index: 2;
  }

  .ceo__card {
    order: 2;
    padding: 248px 20px 28px;
    margin: -221px 0 0;
  }

  .ceo__top {
    align-items: flex-start;
    gap: 16px;
    width:100%;
  }

  .ceo__name {
    font-size: 34px;
  }

  .ceo__sns {
    gap: 10px;
  }

  .ceo__sns-link {
    width: 34px;
    height: 34px;
  }

  .ceo__line {
    margin: 18px 0 18px;
    width:100%;
  }

  .ceo__meta {
    margin-bottom: 18px;
    width:100%;
  }

  .ceo__meta p {
    font-size: 15px;
    line-height: 1.7;
  }

  .ceo__text p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 10px;
  }
}



.sns-section {
  padding: 80px 0;
}

.sns-section__inner {
  padding: 70px 40px 50px;
  border-radius: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(22, 47, 114, 0.72) 0%, rgba(212, 88, 47, 0.68) 100%),
    url("../img/team/bg-sns.jpg") center center / cover no-repeat;
}

.sns-section__title {
  margin: 0;
  color: #fff;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.sns-section__lead {
  margin: 15px 0 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.7;
}

.sns-cards {
  margin-top: 54px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sns-card {
  width: 100%;
  max-width: 315px;
  min-height: 120px;
  padding: 0px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}

.sns-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.sns-card__title {
  font-family: var(--font-jost);
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}
.sns-card__text {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

@media screen and (max-width: 1024px) {
  .sns-section__inner {
    padding: 55px 0px 55px;
  }

  .sns-section__title {
    font-size: 58px;
  }

  .sns-section__lead {
    font-size: 20px;
  }

  .sns-cards {
    gap: 15px;
    margin-top: 22px;
  }

  .sns-card {
    max-width: 250px;
    min-height: 109px;
  }

  .sns-card__title {
    font-size: 25px;
  }
  .sns-card__text{
    font-size:15px;
  }
}
@media screen and (max-width: 768px) {

    .sns-section__lead {
        font-size: 18px;
    }
    .sns-card {
        min-height: 90px;
    }
    .sns-section__inner {
        padding: 55px 0px 55px;
    }    

}
@media screen and (max-width: 767px) {
  .sns-section h2{
    margin-bottom: 15px;    
  }
  .sns-section {
    padding: 60px 0;
  }

  .sns-section__inner {
    padding: 25px 15px 26px;
    border-radius: 24px;
  }

  .sns-section__title {
    font-size: 42px;
  }

  .sns-section__lead {
    margin-top: 0px;
    font-size: 14px;
    line-height: 1.8;
  }

  .sns-cards {
    margin-top: 15px;
    gap: 16px;
  }

  .sns-card {
    max-width: 100%;
    min-height: auto;
    padding: 15px 16px 15px;
  }

  .sns-card__title {
    font-size: 24px;
  }

  .sns-card__text {
    margin-top: 5px;
    font-size: 14px;
  }
}