@charset "UTF-8";

/*-------------------------------
  ホーム用のスタイル
-------------------------------*/
/* メインビジュアル */
/* .o-mvSlider {
  width: 100%;
}
.o-mvSlider--img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 590;
}
.o-mvSlider--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 40em) {
  .o-mvSlider--img {
    aspect-ratio: 1400 / 580;
    max-height: 570px;
  }
} */

.o-home_mv {
  padding: 30px 0 45vw;
  background: url(../img/mv_back.jpg);

  @media (min-width: 40em) {
    padding: 110px 0 250px;
  }

  .c-circle {
    &::after {
      bottom: -42rem;
      left: -15rem;
    }
    &::before {
      display: none;
    }
  }
}
.o-home_mv-text {
  padding-left: 20px;
  
  @media (min-width: 40em) {
    padding-left: clamp(60px, calc(45vw - 455px), 750px);
  }

  h1 {
    font-size: var(--px-to-vw_28);
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.5;

    @media (min-width: 40em) {
      font-size: 2.875rem;
      margin: 20px 0;
    }
  }
}
.o-home_mv-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;

  @media (min-width: 40em) {
    gap: 20px;
  }

  img {
    max-width: var(--px-to-vw_80);
    max-height: var(--px-to-vw_80);

    @media (min-width: 40em) {
      max-width: 100px;
      max-height: 100px;    
    }
  }
}
.o-home_mv-illust {
  img {
    position: absolute;
    top: 55px;
    right: 6%;
    margin: 0;
    width: 30vw;

    @media (min-width: 40em) {
      position: relative;
      margin: 10px auto 0;
      width: 17vw;
      top: 0;
      right: 0;
    }
  }
} 
.o-home_mv-image {
  text-align: left;

  img {
    border-bottom-left-radius: 50px;
    margin-left: 40px;

    @media (min-width: 40em) {
      border-bottom-left-radius: 100px;
      margin: -140px 0 0 0;
    }
  }
}
.o-home_mv__bg {
  position: relative;
  margin-top: -100px;
  padding: 40px 0;
  width: 100%;
  background-image: url(../img/features_back_top-bottom.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  @media (min-width: 40em) {
    background-image: url(../img/features_back_top-bottom_pc.png);
    padding: 72.5px 0;
    margin-top: -190px;
  }
}
/* 介護者ロゴ */
.o-home_mv-logos {
  position: relative;
  margin-top: 50px;
  background: #fff;
  padding: 40px 4vw;
  border-radius: 20px;
  z-index: 1;

  @media (min-width: 40em) {
    margin-top: 30px;
    padding: 30px;
  }
}
.o-home_mv-logos-text {
  text-align: center;
  font-size: var(--px-to-vw_15);
  position: relative;
  font-weight: bold;
  margin-bottom: 20px;

  @media (min-width: 40em) {
    font-size: var(--px-to-rem_20);
  
    &::after {
      content: "";
      position: absolute;
      top: 5px;
      right: 150px;
      background: url(../img/fukidashi_bk.svg);
      background-repeat: no-repeat;
      width: 25px;
      height: 25px;
    }

    &::before {
      content: "";
      position: absolute;
      top: 5px;
      left: 140px;
      background: url(../img/fukidashi_bk.svg);
      background-repeat: no-repeat;
      transform: scaleX(-1);
      width: 25px;
      height: 25px;
    }
  }
}
.o-home_mv-logo {
  gap: 20px 0;

  img{
    height: 75px;
    width: 90%;
    object-fit: contain;
  }
}
/* --------------------------------------------------------------------
特徴
----------------------------------------------------------------------- */
.o-home_features {
  position: relative;
  padding: 15vw 0 14vw;
  background: url(../img/features_back.jpg);

  @media (min-width: 40em) {
    padding: 10px 0 50px;
  }

  .c-speech-bubble {
    margin-bottom: 50px;

    @media (min-width: 40em) {
      margin-bottom: 0;
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
    }
  }
  
  .o-home_features-illust1 {
    position: relative;

    img {
      position: absolute;
      top: -45vw;
      right: 3%;
      width: 40vw;
      z-index: 1;

      @media (min-width: 40em) {
        top: -160px;
        left: 77%;
        width: 260px;
      }
    }
  }
  .o-home_features-illust2 {
    position: relative;

    img {
      position: absolute;
      top: 150px;
      left: 13%;
      max-width: 30%;
      z-index: 1;

      @media (max-width: 1400px) {
        left: 3%;
      }
    }
  }
  .c-title {
    margin-bottom: 30px;

    @media (min-width: 40em) {
      margin-bottom: 70px;
    }
  }
  .c-circle {
    &::after {
      top: 52rem;
      left: -10rem;
      width: 290px;
      height: 290px;
    }
    &::before {
      top: 107rem;
      right: -10rem;
      width: 290px;
      height: 290px;
    }
  }
}

.o-home_features-container {
  margin-top: -20px;

  .c-circle {
    &::after {
      top: 131rem;
      left: -12rem;
    }
    &::before {
      display: none;
    }
  }
}
.o-home_features-lead {
  text-align: center;
  margin-bottom: 50px;

  @media (min-width: 40em) {
    width: 75%;
    margin: 0 auto;
  }
}
.o-home_features-textarea {
  padding: 25px 5vw;

  @media (min-width: 40em) {
    padding: 25px;
  }
}
.o-home_features-title {
  color: var(--color-main);
  font-size: var(--px-to-vw_20);
  font-weight: bold;

  @media (min-width: 40em) {
    font-size: var(--px-to-rem_35);
  }
}
.o-home_features-ex {
  font-size: var(--px-to-vw_15);

  @media (min-width: 40em) {
    font-size: var(--px-to-rem_18);
  }
}
.o-home_features-items {
  margin-top: var(--px-to-vw_60);
  display: grid;
  gap: 40px;
  counter-reset: num;

  @media (min-width: 40em) {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    margin-top: 100px;
  }
}
.o-home_features-item {
  border-radius: 15px;
  background-color: #fff;
  position: relative;
  counter-increment: num;
  margin-top: calc(var(--circleSize) / 2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  &::before {
    content: counter(num, decimal-leading-zero);
    position: absolute;
    left: calc(50% - var(--circleSize-sm) / 2);
    top: calc(-1 * var(--circleSize-sm) / 2);
    width: var(--circleSize-sm);
    height: var(--circleSize-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    background-color: var(--color-main);
    color: #fff;
    font-size: var(--px-to-vw_30);
    font-weight: bold;
    border-radius: 100vh;
    z-index: 1;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_37);
      left: calc(50% - var(--circleSize) / 2);
      top: calc(-1 * var(--circleSize) / 2);
      width: var(--circleSize);
      height: var(--circleSize);
    }
  }

  img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    aspect-ratio: 340/226;
    object-fit: cover;
  }

  h3 {
    font-size: var(--px-to-vw_20);
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_24);
      margin-bottom: 30px;
    }

    span {
      font-size: var(--px-to-vw_18);

      @media (min-width: 40em) {
        font-size: var(--px-to-rem_20);
      }
    }
  }

  p {
    font-size: var(--px-to-vw_15);

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_15);
    }
  }
}
.o-home_features__bg {
  position: relative;
  padding: 40px 0;
  width: 100%;
  background-image: url(../img/features_back_top-bottom_pc.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(-1, -1);

  @media (min-width: 40em) {
    padding: 72.5px 0;
  }
}

/*--------------------------------------------------------------------
 製品情報
------------------------------------------------------------------- */
.o-home_product {
  padding: 14vw 0 38vw;

  @media (min-width: 40em) {
    padding: 25px 0 150px;
  }

  .c-speech-bubble {
    margin-bottom: 20px;
  }

  h2 {
    margin-bottom: 50px;

    @media (min-width: 40em) {
      margin-bottom: 70px;
    }
  }

  .o-home_product-illust1 {
    position: relative;

    img {
      position: absolute;
      top: -38vw;
      right: 5%;
      width: 43vw;
      z-index: 1;

      @media (min-width: 40em) {
        top: -150px;
        left: 75%;
        width: 300px;
      }
    }
  }

  .o-home_product-illust2 {
    position: relative;

    img {
      position: absolute;
      top: 60px;
      left: -3%;
      width: 275px;
      z-index: 1;

      @media (max-width: 1240px) {
        left: 0;
      }
    }
  }
}
.o-home_product-items {
  counter-reset: product-num;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;

  @media (min-width: 40em) {
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
  }
}
.o-home_product-item {
  margin-bottom: 2.5rem;
  flex-direction: column;

  @media (min-width: 40em) {
    flex-direction: row;

    &:nth-child(even) {
      flex-direction: row-reverse;
    }
  }
  &:last-child {
    margin-bottom: 0;
  }
}
.o-home_product-textarea {
  margin-top: 2.0rem;

  @media (min-width: 40em) {
    margin-top: 0;
    padding: 0 3rem;
  }
}
@media (min-width: 40em) {
  .o-home_product-item:nth-child(even) .o-home_product-textarea {
    padding: 0 3rem;
  }
}
.o-home_product-img {
  img {
    border-radius: 20px;
    transition: transform 0.3s ease;
  }

  &:hover img {
    transform: scale(1.05);
  }
}
.o-home_product-title {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: var(--px-to-vw_20);
  position: relative;
  margin-bottom: 10px;

  @media (min-width: 40em) {
    margin-bottom: 20px;
    font-size: var(--px-to-rem_30);
  }

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: var(--color-sub-pink);
    border-radius: 3px;

    @media (min-width: 40em) {
      height: 5px;
    }
  }

  i {
    background-color: var(--color-sub-pink);
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    padding: 0.4em;
    margin-right: 0.5em;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    @media (min-width: 40em) {
      width: 30px;
      height: 30px;
    }
  }
}
.o-home_product-link {
  text-align: right;
  margin-top: 20px;

  @media (min-width: 40em) {
    margin-top: 30px;
  }

  a {
    text-decoration: none;
  }
  i {
    font-size: var(--px-to-rem_12);
    margin-right: 5px;
    color: var(--color-sub-pink);
  }
}
.o-home_product-item:nth-of-type(2) {
  .o-home_product-title {
    &::after {
        background-color: var(--color-sub-yellow);
    }
    i {
        background-color: var(--color-sub-yellow);
    }
  }
  .o-home_product-link i {
    color: var(--color-sub-yellow);
  }
}
.o-home_product-item:nth-of-type(3) {
  .o-home_product-title {
    &::after {
        background-color: var(--color-sub-blue);
    }
    i {
        background-color: var(--color-sub-blue);
    }
  }
  .o-home_product-link i {
    color: var(--color-sub-blue);
  }
}
.o-home_product-item:nth-of-type(4) {
  .o-home_product-title {
    &::after {
      background-color: var(--color-sub-green);
    }
    i {
        background-color: var(--color-sub-green);
    }
  }
  .o-home_product-link i {
    color: var(--color-sub-green);
  }
}

/* -------------------------------------------------------------------
料金プラン
---------------------------------------------------------------------- */
.o-home_plan {
  padding: 28vw 0 30px;
  background: url(../img/plan_back.jpg);
  border-radius: 20px;
  margin-bottom: 70px;

  @media (min-width: 40em) {
    padding: 60px 0 30px;
    margin-bottom: 100px;
  }

  .c-subtitle {
    color: #fff;
  }

  p {
    font-size: var(--px-to-vw_15);
    text-align: center;
    margin-top: 20px;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_18);
    }
  }

  .o-home_plan-price-img {
    margin: 40px auto -85px;
    text-align: center;
    width: 75vw;

    @media (min-width: 40em) {
      width: 100%;
    }
  }

  .o-home_plan-illust1 {
    position: relative;

    img {
      position: absolute;
      bottom: 2vw;
      left: 7%;
      width: 54vw;
      z-index: 1;

      @media (min-width: 40em) {
        bottom: -145px;
        left: 5%;
        max-width: 30%;
      }
    }
  }

  .o-home_plan-illust2 {
    position: relative;

    img {
      position: absolute;
      top: -125px;
      right: 8%;
      max-width: 30%;
      z-index: 1;
    }
  }
}
.o-home_plan-price {
  background: #fff;
  margin: 50px 0 30px;
  padding: 60px 0 35px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  flex-direction: column;

  @media (min-width: 40em) {
    flex-direction: column;
    margin: 50px 100px;
  }

  .o-home_plan-fee {
    height: 35vw;
    margin: 0 auto;

    @media (min-width: 40em) {
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      margin: 0;
      gap: 30px;
    }

    h3 {
      color: var(--color-main);
      font-size: var(--px-to-vw_20);
      text-align: center;
      padding: 7px 0;
      border-top: 4px dotted var(--color-main);
      border-bottom: 4px dotted var(--color-main);

      @media (min-width: 40em) {
        font-size: var(--px-to-rem_20);
        width: 15%;
        height: 60px;
      }
    }
    h2 {
      font-size: var(--px-to-vw_20);
      
      span {
        font-size: var(--px-to-vw_28);
        color: var(--color-main);
      }

      @media (min-width: 40em) {
        font-size: var(--px-to-rem_30);
        line-height: 1.2;

        span {
          font-size: 2.75rem;
        }
      }
    }
  }
  p {
    font-size: var(--px-to-vw_14);
    margin-top: 20px;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_15);
      margin-top: 10px;
    }
  }
}
/* バナー */
.o-home_banner {
  position: relative;
  background: url(../img/cta_bk_sp.jpg); 
  background-size: cover; 
  background-position: right;
  background-repeat: no-repeat;
  height: auto;
  margin-bottom: 20vw;
  padding: 15vw 0 3vw;

  @media (min-width: 40em) {
    background: url(../img/cta_bk.jpg); 
    background-position: center;
    height: 530px;
    margin-bottom: 100px;
    padding: 0;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;  bottom: 0;
    left: 0;  right: 0;
    background: #000;
    opacity:0.3;  
  }
}
.o-home_banner-text {
  text-align: center;
  font-size: var(--px-to-vw_15);
  position: relative;
  font-weight: bold;
  color: #fff;

  @media (min-width: 40em) {
    font-size: var(--px-to-rem_20);
  }

  &::after {
    content: "";
    position: absolute;
    top: 5vw;
    right: 8vw;
    background: url(../img/fukidashi_wh.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: scaleX(-1);
    width: var(--px-to-vw_28);
    height: var(--px-to-vw_28);

    @media (min-width: 40em) {
      top: 5px;
      right: 270px;
      width: 25px;
      height: 25px;
    }
  }

  &::before {
    content: "";
    position: absolute;
    top: 5vw;
    left: 8vw;
    background: url(../img/fukidashi_wh.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: var(--px-to-vw_28);
    height: var(--px-to-vw_28);

    @media (min-width: 40em) {
      top: 5px;
      left: 260px;
      width: 25px;
      height: 25px;
    }
  }
}
.o-home_banner-white {
  position: relative;
  background: #fff;
  margin: 20px 0;
  padding: 25px 5vw;
  border-radius: 20px;
  text-align: center;
  z-index: 2;

  @media (min-width: 40em) {
    margin: 10px 100px 20px;
    padding: 30px 80px;
  }

  p {
    font-size: var(--px-to-vw_16);
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_24);
      margin-bottom: 20px;
    }

    span {
      color: var(--color-main);
    }
  }
}
.o-home_banner-left {
  padding: var(--px-to-vw_4) var(--px-to-vw_10);
  margin: 0 auto;
  border-top: 2px dotted #000;
  border-bottom: 2px dotted #000;

  @media (min-width: 40em) {
    padding: 5px 0;
    max-width: 80%;
  }

  .o-home_banner-tel {
    img {
      width: 7.3vw;
      margin: 0 1vw 6px 0;

      @media (min-width: 40em) {
        width: 30px;
        margin: 0 10px 7px 0;
      }
    }
    span {
      font-weight: bold;
      font-size: var(--px-to-vw_30);
      line-height: 1;

      @media (min-width: 40em) {
        font-size: var(--px-to-rem_36);
      }
    }
  }
  .o-home_banner-time {
    font-size: var(--px-to-vw_12);
    @media (min-width: 40em) {
      font-size: var(--px-to-rem_14);
    }
  }
}
.o-home_banner-right {

  margin: 35px auto 10px;

  @media (min-width: 40em) {
    margin: 0 auto;
  }
  a {
    color: #fff;
    background: var(--color-sub-red); 
    border: 2px solid var(--color-sub-red);
    padding: 5vw 8vw;
    margin: 0 auto;
    font-size: var(--px-to-vw_17);
    font-weight: bold;
    border-radius: 10px;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_20);
      padding: 25px 35px;
      margin: 0 25px;
    }

    i {
      color: #fff;
      margin-right: 10px;
    }

    &:hover {
      color: var(--color-sub-red);
      background: #fff; 
      border: 2px solid var(--color-sub-red);

      i {
        color: var(--color-sub-red);
      }
    }
  }
}
/* -------------------------------------------------------------------
サポート
---------------------------------------------------------------------- */
.o-home_support {
  margin-bottom: 27vw;

  @media (min-width: 40em) {
    margin-bottom: 100px;
  }

  .c-speech-bubble {
    margin-bottom: 20px;
  }
  .c-title {
    margin-bottom: 40px;
  }
  .c-circle {
    &::after {
      top: 2rem;
      left: -7rem;
      width: 200px;
      height: 200px;

      @media (min-width: 40em) {
        top: -2rem;
        left: -12rem;
        width: 300px;
        height: 300px;
      }
    }
    &::before {
      display: none;
    }
  }
}
.o-home_support-left {
  padding-right: 0;
  margin-bottom: 40px;
  z-index: 1;

  @media (min-width: 40em) {
    margin-bottom: 0;
    padding-right: 20px;
  }
  img {
    border-radius: 20px;
  }
}
.o-home_support-right {
  padding-left: 0;

  @media (min-width: 40em) {
    padding-left: 20px;
  }
  h2 {
    font-size: var(--px-to-vw_20);
    line-height: 1.3;
    margin-bottom: 30px;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_30);
    }
  }
  p {
    font-size: var(--px-to-vw_15);

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_16);
    }
  }
}
/* -------------------------------------------------------------------
流れ
---------------------------------------------------------------------- */
.o-home_flow {
  background: #ecd8ce;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  padding: 14vw 0 26vw;

  @media (min-width: 40em) {
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    padding: 80px 0 100px;
  }

  .c-title {
    margin-bottom: 30px;

    @media (min-width: 40em) {
      margin-bottom: 50px;
    }
  }

  .o-home_flow-illust {
    position: relative;

    img {
      position: absolute;
      bottom: -5vw;
      right: 5%;
      width: 18vw;
      z-index: 1;

      @media (min-width: 40em) {
        bottom: -75px;
        right: 5%;
        width: 120px;
      }
    }
  }
}
.o-home_flow-item {
  position: relative;
  width: 70%;
  margin: 0 auto;

  @media (min-width: 40em) {
    width: 100%;
  }

  &::after {
    content: '';
    display: none;
    width: 45px;
    height: 0;
    border-top: 5px dotted #aaa;
    position: absolute;
    top: 42%;
    right: -45px;
    transform: translateY(-50%);
    z-index: 0;

    @media (min-width: 40em) {
      display: block;
    }
  }

  &:last-child::after {
    display: none;
  }
}
.o-home_flow-items {
  display: grid;
  gap: 30px;
  counter-reset: num;
  margin: 0 auto;

  @media (min-width: 40em) {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 45px;
    margin: 0;
  }
}
.o-home_flow-icon {
  border-radius: 15px;
  background-color: #fff;
  position: relative;
  counter-increment: num;
  margin-top: calc(var(--circleSize) / 2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 0;
  text-align: center;
  margin-bottom: 20px;

  @media (min-width: 40em) {
    height: 260px;
  }

  &::before {
    content: counter(num, decimal-leading-zero);
    position: absolute;
    left: calc(50% - var(--circleSize) / 2);
    top: calc(-1 * var(--circleSize) / 2);
    width: var(--circleSize);
    height: var(--circleSize);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    background-color: var(--color-main);
    color: #fff;
    font-size: var(--px-to-rem_24);
    font-weight: bold;
    border-radius: 100vh;
    z-index: 1;
  }

  img {
    margin: 30px 0;

    @media (min-width: 40em) {
      margin: 50px 0;
    }
  }

  h3 {
    color: var(--color-main);
    font-size: var(--px-to-vw_20);
    font-weight: bold;
    text-align: center;
    line-height: 1.5;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_22);
      position: absolute;
      bottom: 30px;
      right: 0;
      left: 0;
    }
  }

  p {
    font-size: var(--px-to-vw_15);

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_15);
    }
  }
}
/* -------------------------------------------------------------------
お客様の声
---------------------------------------------------------------------- */
.o-home_voice {
  overflow: hidden;
  padding: 15vw 0 20vw;
  background: #faf6f0;

  @media (min-width: 40em) {
    padding: 70px 0;
  }

  .c-title {
    margin-bottom: 20px;
  }

  p {
    font-size: var(--px-to-vw_15);
    text-align: center;
    margin-bottom: 50px;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_18);
    }
  }

  .c-circle {
    &::after {
      top: 25rem;
      left: -12rem;
      width: 280px;
      height: 280px;
    }
    &::before {
      top: 0rem;
      right: -12rem;
      width: 280px;
      height: 280px;
    }
  }
}

.o-home_voice-items {
  display: flex;
  position: relative;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  padding-bottom: 10px;
  scrollbar-color: var(--color-main) #fff;
  z-index: 1;
  margin-left: 0;
  padding: 0 0.75rem 20px;

  &::-webkit-scrollbar {
    height: 10px;
  }
  &::-webkit-scrollbar-track {
    background: #fff;
  }
  &::-webkit-scrollbar-thumb {
    background-color: var(--color-main);
    border-radius: 4px;
  }
  &::-webkit-scrollbar-button {
    display: none;
  }

  @media (min-width: 40em) {
    padding: 0 0.75rem 30px 0;
    margin-left: clamp(1.5rem, calc(50vw - 540px), 10000px);
  }
}
.o-home_voice-item {
  flex: 0 0 auto;
  width: calc(270 * 0.2667vw);
  background: #fff;
  border-radius: 10px;
  padding: 20px var(--px-to-vw_25) 30px;;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  @media (min-width: 40em) {
    width: 340px;
    padding: 20px 30px 40px;
  }

  .o-home_voice-img {
    width: calc(200 * 0.2667vw);
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto;

    @media (min-width: 40em) {
      width: 240px;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }
  .o-home_voice-com {
    font-size: var(--px-to-vw_15);
    line-height: 1;
    margin-top: 20px;
    font-weight: bold;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_18);
    }
  }
  .o-home_voice-plan {
    font-size: var(--px-to-vw_14);
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: dotted 2px #ecd8ce;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_16);
      padding-bottom: 10px;
    }
  }
  p {
    font-size: var(--px-to-vw_15);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_16);
    }
  }
}
.o-home_voice__bg {
  position: relative;
  padding: 40px 0;
  width: 100%;
  background-image: url(../img/voice_back_bottom_pc.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  @media (min-width: 40em) {
    padding: 72.5px 0;
  }
}
/* -------------------------------------------------------------------
よくあるご質問
---------------------------------------------------------------------- */
.o-home_faq {
  margin: 15vw 0 100px;

  @media (min-width: 40em) {
    margin: 20px 0 100px;
  }

  .c-title {
    margin-bottom: 40px;
  }

  .o-home_faq-illust {
    position: relative;

    img {
      position: absolute;
      bottom: 15vw;
      left: 0%;
      width: 45vw;
      z-index: 1;

      @media (min-width: 40em) {
        bottom: -30px;
        left: -3%;
        width: 350px;
      }

      @media (min-width: 40em) and (max-width: 1179.98px) {
        left: 0;
      }
    }
  }
}
.o-home_faq-wrapper {
  max-width: 800px;
  margin: auto;
  font-family: sans-serif;
}
.o-home_faq-categories {
  margin-bottom: 0;
  flex-direction: column;

  @media (min-width: 40em) {
    margin-bottom: 50px;
    flex-direction: row;
  }
}
.o-home_faq-category {
  position: relative;
  font-size: var(--px-to-vw_15);
  width: 80%;
  text-align: center;
  border: 2px solid var(--color-main);
  border-radius: 999px;
  color: var(--color-main);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 4;
  margin: 0 auto 30px;

  @media (min-width: 40em) {
    font-size: var(--px-to-rem_16);
    width: 30%;
    margin: 0 0 20px;
  }

  &.active {
    background-color: var(--color-main);
    color: #fff;
    border: 2px solid var(--color-main);

    &::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -11px;
      transform: translateX(-50%);
      border-width: 10px 7px 0 7px;
      border-style: solid;
      border-color: var(--color-main) transparent transparent transparent;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }
  }

  &:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
}
.o-home_faq-list {
  border-top: 1px solid #ddd;
}
.o-home_faq-item {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}
.o-home_faq-question {
  font-weight: bold;
  cursor: pointer;
  position: relative;

  .o-home_faq-Q {
    font-size: var(--px-to-vw_22);
    color: var(--color-main);
    text-align: center;
    line-height: 1.2;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_24);
      line-height: 1;
    }
  }

  span {
    font-size: var(--px-to-vw_16);

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_16);
    }
  }

  button.toggle-answer {
    background: none;
    border: none;
    font-size: var(--px-to-vw_20);
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;    
    line-height: 1.8;
    color: #333;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_24);
      line-height: 1.4;
    }
  }
}
.o-home_faq-answer {
  display: none;
  padding: 10px;

  .is-open {
    display: flex;
  }

  span {
    font-size: var(--px-to-vw_14);
    line-height: 1.5;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_16);
    }
  }
}
/* -------------------------------------------------------------------
お問い合わせ
---------------------------------------------------------------------- */
.o-home_contact {
  background: #ecd8ce;
  border-radius: 50px;
  padding: 50px 0;

  @media (min-width: 40em) {
    border-radius: 100px;
    padding: 80px 0;
  }
  
  .c-title {
    margin-bottom: 20px;
  }

  p {
    font-size: var(--px-to-vw_15);
    text-align: center;

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_16);
    }
  }
}
.o-home_contact-info {
  text-align: center;
  padding: var(--px-to-vw_10) var(--px-to-vw_10);
  margin: 0 auto;

  @media (min-width: 40em) {
    padding: 0;
    max-width: 80%;
    margin-bottom: 20px;
  }

  .o-home_contact-tel {
    img {
      width: 7.3vw;
      margin: 0 1vw 6px 0;

      @media (min-width: 40em) {
        width: 30px;
        margin: 0 10px 7px 0;
      }
    }
    span {
      font-weight: bold;
      font-size: var(--px-to-vw_36);
      line-height: 1;
      @media (min-width: 40em) {
        font-size: var(--px-to-rem_36);
      }
    }
  }
  .o-home_contact-time {
    font-size: var(--px-to-vw_15);
    @media (min-width: 40em) {
      font-size: var(--px-to-rem_15);
    }
  }
}
.o-home_contact-white {
  background: #fff;
  margin: 30px 0 0;
  padding: 6vw 5vw;
  border-radius: 30px;

  @media (min-width: 40em) {
    padding: 45px 100px;
    margin: 50px 100px 0;
  }
}
.o-home_contact-border {
  border: 2px dashed #e8e8e8;
  margin-bottom: 20px;

  @media (min-width: 40em) {
    margin-bottom: 40px;
  }
}
.c-form {
  table {
    font-weight: bold;
    width: 100%;
    word-break: break-word;
    white-space: normal;

    p {
      text-align: left;
    }

    tr {
      th {
        text-align: left;
        padding-top: 0.125rem;
        padding-bottom: 0.125rem;
        padding-left: 0.75rem;
        border-left: 5px solid var(--color-main);
        font-size: var(--px-to-rem_17);
      }
      td {
        padding-top: 2px;
        padding-bottom: 30px;

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea {
          padding: 1rem;
          border: 5px solid #dcdcdc;          
        }

        input[type="checkbox"] {
          width: 20px;
          height: 20px;
          margin: 0 10px 0 0;
          accent-color: #cccccc;
          border-radius: 0;
        }

        .wpcf7-form-control {
          display: flex;
          flex-direction: column;

          @media (min-width: 40em) {
            display: inline;
          }
        }
        @media (min-width: 40em) {
          .wpcf7-list-item {
            margin: 0 0 0 3rem;

            &.first {
              margin: 0;
            }
          }
        }
      }
    }
  }
  .wpcf7-list-item {
    font-weight: normal;
    font-size: var(--px-to-rem_16);
    margin: 0;
  }

  @media (min-width: 40em) {
    .c-contact-btn {
      padding: 0px 40px 0 150px;
      font-size: var(--px-to-rem_20);

      div {
        margin-right: 70px;
      }

      i {
        font-size: 28px;
      }
    }
  }

  #confirmation-screen {
    h2 {
      font-size: var(--px-to-vw_18);
      text-align: center;

      @media (min-width: 40em) {
        font-size: var(--px-to-rem_18);
      }
    }
  }
  
  #thanks-screen {
    h2 {
      font-size: var(--px-to-vw_18);
      text-align: center;
      color: var(--color-main);

      @media (min-width: 40em) {
        font-size: var(--px-to-rem_18);
      }
    }
  }
}

.c-form--policy {
  p {
    font-size: var(--px-to-vw_14);

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_14);
    }    
  }


  a {
    color: #0000FF;

    &:hover {
      color: #3366CC;
    }
  }
}
.c-form--agree {
  margin: 2vw 0 8vw;
  @media (min-width: 40em) {
    margin: 20px 0 60px;
  } 
  p {
    font-size: var(--px-to-vw_14);

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_14);
    }        
  }
}
.c-required {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    background-color: var(--color-main);
    color: #fff;
    font-size: 0.75em;
    border-radius: 3px;
}
.wpcf7-spinner {
  display: none !important;
}
.custom-submit {
  position: relative;
  background-color: var(--color-sub-red);
  color: #fff;
  border-radius: 10px;
  border: 2px solid var(--color-sub-red);
  width: 90%;
  font-size: var(--px-to-vw_17);
  font-weight: bold;
  cursor: pointer;
  line-height: 3;
  transition: all 0.3s ease;

  @media (min-width: 40em) {
    font-size: var(--px-to-rem_20);
    width: 50%;
    line-height: 4;

    &:hover {
      color: var(--color-sub-red);
      background-color: #fff;

      &::after {
        background-color: var(--color-sub-red);
        color: #fff;
      }
    }    
  }

  &::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1.8em;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--px-to-vw_15);
    background-color: #fff;
    color: var(--color-sub-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: var(--px-to-vw_13);
    height: var(--px-to-vw_13);
    padding: var(--px-to-vw_5);

    @media (min-width: 40em) {
      font-size: var(--px-to-rem_16);
      width: 15px;
      height: 15px;
      padding: 5px;
    }
  }

  &.back, &.send {
    line-height: 2.5;

    @media (min-width: 40em) {
      width: 90%;
      line-height: 3;

      &:hover {
        transform: scale(1.1);
      }      
    }

    &::after {
      font-size: var(--px-to-vw_12);
      width: var(--px-to-vw_10);
      height: var(--px-to-vw_10);
      padding: var(--px-to-vw_4);

      @media (min-width: 40em) {
        font-size: var(--px-to-rem_16);
        width: 15px;
        height: 15px;
        padding: 5px;
      }
    }


  }

  &.back {
    background-color: #fff;
    color: var(--color-sub-red);
    border: 2px solid var(--color-sub-red);

    &::after {
      left: var(--px-to-vw_10);
      transform: translateY(-50%) scaleX(-1);
      background-color: var(--color-sub-red);
      color: #fff;

      @media (min-width: 40em) {
        left: 1.2em;
      }
    }
  }
  &.send {
    &::after {
      right: var(--px-to-vw_10);

      @media (min-width: 40em) {
        right: 1.2em;
      }
    }

    @media (min-width: 40em) {
      &:hover {
        color: #fff;
        background-color: var(--color-sub-red);

        &::after {
          background-color: #fff;
          color: var(--color-sub-red);
        }
      }      
    }
  }
}
