/* ======================================
styles.css
ページ固有のスタイル
====================================== */

@media (min-width: 768px) {
  h2{font-size: 2rem;}
}

h2 span.en_title{
  background: none;
  color: var(--main-color);
  -webkit-text-fill-color: var(--main-color);
}

h2 span.en_title::before{
  background: var(--main-color);
}


#FV_toC .fv_area{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 768px) {
  #FV_toC .fv_area{
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "b a";
    justify-items: start;
  }
}

#FV_toC .fv_content {
  text-align: center;
  padding-top: 3rem;
}
@media (min-width: 768px) {
  #FV_toC .fv_content {
    grid-area: a;
    text-align: left;
    /* padding-top: 0; */
    padding-right: 2rem;
  }
}

#FV_toC .fv_content h1 {
  font-size: clamp(2.3rem, 1.833rem + 0.97vw, 3rem);
  line-height: 1.5;
}
/* @media (min-width: 768px) {
  #FV_toC .fv_content h1 {
    font-size: clamp(2.5rem, 2.167rem + 0.69vw, 3rem);
  }
  }
 */

#FV_toC .fv_content .fv_small1{
  font-size: 0.625em;
  display: inline-block;
}

  #FV_toC .fv_content .fv_small2{
    font-size: 1.5em;
}
@media (min-width: 768px) {
  #FV_toC .fv_content .fv_small2{
    font-size: 1em;
  }
}
#FV_toC .fv_content .fv_small3{
  font-size: 0.8em;
}
#FV_toC .fv_content .fv_small1 .point_small{
  font-size: 0.8em;
  padding: 0 0.1rem;
}

@media (min-width: 768px) {
  #FV_toC .fv_content .fv_small1 .point_small{
    font-size: 0.8em;
    padding: 0 0.1rem;
  }
  }
#FV_toC .fv_content p{
  font-weight: 700;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  #FV_toC .fv_content p{
    font-size: 1.125rem;
  }
}

#FV_toC .fv_content .cta_btn{
  margin-top: 2rem;
}
#FV_toC .fv_photo_C{
  padding: 7rem 0;
}

@media (min-width: 768px) {
  #FV_toC .fv_photo_C{
  position: relative;
  padding: clamp(7rem, 5rem + 4.17vw, 10rem) 0; /*10*/
  grid-area: b;
  margin-top: 0;
  }
}
@media (min-width: 768px) {
#FV_toC .fv_photo_C .center{
  padding-left: clamp(8rem, -2.667rem + 22.22vw, 24rem);/*24*/
  position: relative;
  right: clamp(3rem, 1rem + 4.17vw, 6rem);/*24*/
  }
}

@media (min-width: 768px) {
  #FV_toC .fv_photo_C .top,
  #FV_toC .fv_photo_C .bottom{
    padding-right: clamp(15rem, -1.667rem + 34.72vw, 40rem); /*40*/
    position: absolute;
  }
  #FV_toC .fv_photo_C .top{
    top: -1rem;
  }
  #FV_toC .fv_photo_C .bottom{
    position: absolute;
    bottom: -1rem;
  }
}


#FV_toC .fv_circle img{
  width: 52rem;
  top: 40%;
}

@media (min-width: 768px) {
  #FV_toC .fv_circle img{
    width: clamp(47rem, 18.333rem + 59.72vw, 90rem);
    top: 52%;
    left: inherit;
    transform:inherit;
    right: -10rem;
    animation: rotateCircle_toC 5s cubic-bezier(.65,0,.35,1) infinite;
  }
}

@keyframes rotateCircle_toC {
  from {transform: translateY(-50%) rotate(0deg);}
  to {transform: translateY(-50%) rotate(360deg);}
}


/* 背景ぼかし円 */
#FV_toC::before,
#FV_toC::after{
  content:"";
  position:absolute;
  inset:auto;
  width: 64vw;
  height: 64vw;
  border-radius: 50%;
  filter: blur(56px);
  opacity: .95;
  pointer-events:none;
  z-index: 0;
}
#FV_toC::after{
  width: 32vw;
  height: 32vw;
}

/* 左上：main-color系 */
#FV_toC::before{
  bottom: -2rem;
  left: -5rem;
  background: radial-gradient(circle at 45% 45%,
    color-mix(in srgb, var(--main-color) 95%, white 5%) 0%,
    color-mix(in srgb, var(--main-color) 55%, transparent 45%) 36%,
    color-mix(in srgb, var(--main-color) 18%, transparent 82%) 60%,
    transparent 75%);
}
@media (min-width: 768px) {
  #FV_toC::before{
    left: 5%;
  }
}

/* 右下：accent-color系 */
#FV_toC::after{
  top: -10rem;
  right: -20%;
  background: radial-gradient(circle at 55% 55%,
    color-mix(in srgb, var(--accent-color) 95%, white 5%) 0%,
    color-mix(in srgb, var(--accent-color) 55%, transparent 45%) 36%,
    color-mix(in srgb, var(--accent-color) 18%, transparent 82%) 60%,
    transparent 75%);
}
@media (min-width: 768px) {
  #FV_toC::after{
    top: inherit;
    bottom: -40%;
    right: -20%;
  }
}



/* ----------------------------------------------------
flow section:
------------------------------------------------------- */

#flow{
  background: var(--bg-C-color);
}

#flow .flow_area{
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 6rem;
}
@media (min-width: 768px) {
  #flow .flow_area {
    gap: 1rem;
  }
}
#flow .flow_area li{
  background: var(--white-color);
  padding: 4rem 1.5rem 1.5rem;
  border-radius: var(--border-radius);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#flow .flow_area li p{
  text-align: center;
  color: var(--main-color);
  padding: 1rem 1.3rem;
  border: solid 2px var(--main-color);
  font-family: var(--font-family-en);
  border-radius: 100px;
  width: fit-content;
  font-weight: 700;
  background: var(--white-color);
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
#flow .flow_area li span{
  display: block;
  line-height: 1;
}
#flow .flow_area li .num{
  font-size: 2rem;
  margin-top: 0.2rem;
}
#flow .flow_area li h3{
  font-size: 1.25rem;
  text-align: center;
}

#flow .flow_area li figure{
  margin-top: 1rem;
  margin-top: auto;
}

@media (min-width: 768px) {
  #flow .flow_area{
    grid-template-columns: repeat(3, 1fr);
  }
}




/* ----------------------------------------------------
contact section:
------------------------------------------------------- */

#contact01,
#contact02{
  background: url(../../../src/img/mabiz_bg.jpg) center / cover no-repeat;
  background-image: url(../../../src/img/mabiz_bg.webp);
  color: var(--white-color);
}

#contact01 h2 span.en_title,
#contact02 h2 span.en_title{
  background: none;
  color: var(--white-color);
  -webkit-text-fill-color: var(--white-color);
}

#contact01 h2 span.en_title::before,
#contact02 h2 span.en_title::before{
  background: var(--white-color);
}

#contact01 .contact_area,
#contact02 .contact_area{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end
}

@media (min-width: 768px) {
  #contact01 .contact_area,
  #contact02 .contact_area{
    grid-template-columns: 2fr 1fr;
  }
}

#contact01 .cta_btn a,
#contact02 .cta_btn a{
  background: var(--white-color);
  color: var(--font-color );
}

#contact01 .cta_btn a::after,
#contact02 .cta_btn a::after{
  background: url(../../../src/img/arrow_g.svg) no-repeat center right/ contain;
}
