@charset "utf-8";
@media screen and (max-width: 1200px) {
  .header {
    padding: 15px 20px;
  }
  .header__nav-list {
    gap: 20px;
  }
  .header__contact {
    margin-left: 0;
  }
  .inner {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }
  .fv__text {
    padding: 30px 0;
  }
  .fv__img {
      max-width: 580px;
  }
  .demo__title {
    margin-bottom: 20px;
  }
  .custom-cases__card {
    gap: 10px;
    flex-direction: column;
  }
  .cta {
    padding: 0 20px 90px;
  }
}

@media screen and (max-width: 1024px) {
  .fv__img {
    max-width: 500px;
  }
  .fv__content {
    gap: 0px;
    padding: 10px 0 90px;
  }
  .fv__medals-item {
    width: 110px;
    height: 110px;
   }
   .demo__sound-list-heading {
    max-width: 110px;
   }
   .custom-cases__heading span {
    display: block;
    margin-top: -10px;
  }
  .custom-cases {
    gap: 20px;
  }
  .custom-cases__card img {
    height: 60px;
    width: fit-content;
  }
}

@media screen and (max-width: 768px) {
  .for-tab {
    display: block;
  }
  h2 {
    font-size: 30px;
  }
  .header {
    padding: 0;
    border-radius: 0;
  }
  .header__inner{
    height: 70px;
    padding: 0 20px;
    border-radius: 0;
    background: #fff;
    backdrop-filter: none;
  }
  .header__menu-button{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 70px;
    border:none;
    padding:0;
    cursor:pointer;
  }
  .header__menu-button span{
    width: 28px;
    height: 2px;
    background: var(--color-primary);
    transition: .3s;
  }
  .header__contact{
    display: none;
  }
  .for-sp.sp-header__btn {
    background: var(--color-btn);
    border-radius: 50vh;
    color: #fff;
    padding: 4px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: fit-content;
    font-size: 16px;
    margin-left: auto;
    margin-right: 20px;
  }
  .header__nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 20px 40px;
  }
  .header__nav.is-open{
    display: block;
  }
  .header__logo {
    display: flex;
    align-items: center;
  }
  .header__nav-list{
    flex-direction: column;
    gap: 0;
  }
  .header__nav-list li {
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid #eee;
    text-align: center;
  }
  .header__nav-list li:last-of-type {
    border-bottom: none;
  }
  .fv {
    background-image: url(../img/fv_bg_sp.jpg);
    padding-top: 90px;
  }
  .fv__content {
    flex-direction: column;
    align-items: center;
  }
  .fv__text {
    padding: 30px 0 0;
  }
  .fv__medals {
    position: unset;
    transform: unset;
    margin: -30px 0 30px;
  }
  .fv__btn:first-of-type {
    display: none;
  }
  .for-tab.fv__btn {
    display: flex;
  }
  .demo__contents {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .worry_staff {
    width: 240px;
  }
  .worry__message {
    max-width: 700px;
    padding: 5px 10px;
    bottom: -30px;
  }
  .worry_circle {
    width: 40px;
  }
  .worry__illustration {
    margin: -20px auto 0;
  }
  .about__points {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-card img {
    max-width: 300px;
  }
  .about-card {
    width: fit-content;
    margin: 0 auto;
  }
  .custom-cases {
    grid-template-columns: repeat(1, 1fr);
    max-width: 400px;
  }
  .custom-cases__heading span {
    display: unset;
    margin-top: 0;
  }
  .case-card__content {
    flex-direction: column;
  }
  .case-card__info {
    width: fit-content;
    margin: 0 auto;
  }
  .flow-list {
    grid-template-columns: repeat(1, 1fr);
    margin: 0 auto;
    width: fit-content;
    gap: 70px;
    text-align: center;
  }
  .flow-list::before {
    top: 10%;
    bottom: 19%;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(
      to bottom,
      #7C8BD7,
      #02146e
    );
    transform: translateX(-50%);
  }
  .flow-list::after {
    top: auto;
    bottom: calc(19% - 12px);
    left: 50%;
    right: auto;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #02146e;
    border-bottom: 0;
    transform: translateX(-50%);
  }
  .flow-list__item {
    background: var(--color-bg);
  }
  .flow-list__heading {
    width: fit-content;
    margin: 0 auto;
  }
  .flow__number {
    left: 10px;
  }
}

@media screen and (max-width: 480px) {
  .for-pc {
    display: none;
  }
  .for-sp {
    display: block;
  }
  .header__inner {
    height: 60px;
  }
  .header__menu-button {
    height: 60px;
  }
  .header__logo {
    max-width: 140px;
  }
  .for-sp.sp-header__btn {
    padding: 2px 20px;
    font-size: 14px;
    margin-right: auto;
  }
  .fv__content {
    gap: 0;
    padding: 0 0 40px;
  }
  .fv__text {
    padding: 0;
  }
  .fv__lead {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .fv__label {
    margin-bottom: 10px;
    font-size: 14px;
  }
  .fv__title {
    margin-bottom: 15px;
  }
  .fv__medals {
    gap: 10px;
    margin: -60px 0 20px;
  }
  .fv__medals-item {
    font-size: .8rem;
    width: 100px;
    height: 100px;
  }
  .fv__medals-item span {
    font-size: 1rem;
  }
  .demo {
    background-image: url(../img/demo_bg_sp.jpg);
  }
  .demo__title {
    margin-bottom: 30px;
  }
  .demo__tel {
    padding: 5px 40px;
  }
  .demo__contents {
    gap: 40px;
  }
  .demo__item-card {
    padding: 40px 15px 20px;
  }
  .demo__item-text .color-secondary {
    font-size: 1rem;
  }
  .demo__item-text br {
    display: none;
  }
  .demo__note {
    text-align: left;
  }
  .demo__sound-list-item {
    flex-direction: column;
  }
  .demo__sound-list-heading {
    max-width: unset;
    width: 100%;
    padding: 0;
    border-radius: 5px 5px 0 0;
  }
  .demo__sound-list-text {
    border-radius: 0 0 5px 5px;
  }
  .sound-button__wrap {
    margin-left: 5px;
  }
  .worry__inner {
    background-image: url(../img/worry_bg_sp.png);
  }
  .worry-section__label {
    margin: 0 auto 20px;
  }
  .worry .section-title {
    line-height: 1.5;
  }
  .worry__list-wrap {
    flex-direction: column;
    gap: 20px;
  }
  .worry__list-wrap:first-of-type {
    margin-bottom: 20px;
  }
  .worry__list-wrap:nth-of-type(2) {
    gap: 20px;
  }
  .worry__list-item {
    border-radius: 20px;
    padding: 20px 10px;
  }
  .worry__list-item span {
    font-size: 1rem;
  }
  .worry__illustration {
    margin: -15px auto 0;
  }
  .worry_circle:first-of-type {
    display: none;
  }
  .worry_circle:last-of-type {
    right: 0;
  }
  .worry__message {
    max-width: calc(100% - 20px);
    bottom: -65px;
    line-height: 1.5;
    padding: 15px 10px 10px;
  }
  .about__inner {
    padding: 160px 0 90px;
  }
  .about__structure:first-of-type {
    display: none;
  }
  .about .section-title span {
    display: none;
  }
  .about .section-title {
    line-height: 1.5;
  }
  .about-section__label {
    margin-bottom: 10px;
  }
  .about__structure {
    margin: 50px 0 80px;
    padding: 0 10px;
  }
  .about-card__point {
    left: 0;
  }
  .custom {
    padding: 0 20px;
  }
  .custom-section__title {
    line-height: 1.5;
    margin-top: 20px;
  }
  .custom__lead {
    padding: 20px 20px 180px 20px;
    text-align: left;
    font-size: 18px;
  }
  .custom__lead br {
    display: none;
  }
  .custom__illust {
    width: 160px;
    left: 50%;
    transform: translateX(-50%);
  }
  .custom-cases__heading span {
    font-size: 18px;
  }
  .reason {
    background-size: calc(100% / 6) 100%;
  }
  .reason-item {
    flex-direction: column-reverse;
    gap: 0;
  }
  .reason-item--reverse {
    flex-direction: column-reverse;
  }
  .case-card__tag li {
    font-size: 14px;
  }
  .case-result__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .case-result__list {
    margin-left: 20px;
  }
  .trial__title {
    line-height: 1.5;
  }
  .trial figcaption {
    font-size: 14px;
  }
  .trial__note {
    flex-direction: column;
    align-items: center;
  }
  .trial__img {
    max-width: 200px;
  }
  .trial__comment::after {
    bottom: -15px;
    top: unset;
    left: 50%;
    width: 20px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
  }
  .faq::before {
    background-size: calc(100% / 6) 100%;
  }
  .faq summary {
    padding: 10px 30px;
    line-height: 1.5;
    font-size: 18px;
  }
  .faq summary::after {
    right: 0;
  }
  .cta {
    padding: 0 0 90px;
  }
  .cta::before {
    background-size: calc(100% / 6) 100%;
  }
  .cta__inner {
    text-align: left;
  }
  .footer__inner {
    flex-direction: column;
    gap: 20px;
  }
  .floating-demo {
    right: 20px;
    bottom: 80px;
  }
  .floating-demo__link {
    padding: 10px 20px;
    font-size: .88rem;
  }
  .page-top {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }
}