@charset "utf-8";

@media screen and (max-width: 1024px) {
  .header {
    padding: 10px;
  }
  .header__right__main {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    gap: 2rem;
  }
  .header__right__cta__contact a {
    padding: 2rem 5rem;
    font-size: 2.4rem;
    width: auto;
  }
  .header__right__main li:not(:last-child)::after{
    display: none;
  }
  .hamburger-menu {
    display: block;
  }

  .header__right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    background: #fff;
    flex-direction: column;
    transition: 0.5s;
    z-index: 9998;
    padding-top: 80px;
  }

  .header__right.active {
    right: 0;
  }

  .header__right__main {
    flex-direction: column;
    margin-right: 0;
    width: 100%;
  }

  .header__right__main li {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    text-align: center;
  }

  .header__right__cta {
    flex-direction: column;
    width: 100%;
    padding: 20px;
  }

  .fv__left{
    width: 100%;
  }

  .slick-prev:before,
  .slick-next:before {
    display: none !important;
  }

  .slick-dots {
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
  }

  /* --- FV (1024px) --- */
  #fv {
    min-width: 100%;
    box-sizing: border-box;
    margin-top: 60px;
  }
  
  /* --- その他コンテンツ --- */
  #price {
    padding: 5rem 0;
    position: relative;
  }
  #price table{
    width: 100%;
  }
  .price__card {
    width: auto;
  }

  .price__attention {
    max-width: 90%;
  }

  .voice__slider__contents {
    display: flex;
    margin: 2.5rem auto;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
  }

  .voice__inner {
    max-width: fit-content;
  }

  .voice__slide_text dl dd {
    margin: 1rem 0 1rem;
  }

  .voice__slider {
    padding: 2.5rem 3rem 2rem;
  }

  html {
    color: #222;
    font-weight: 500;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
  }
  a {
    color: #555;
    text-decoration: none;
    display: inline-block;
  }
  img {
    border: 0;
    max-width: 100%;
    height: auto;
  }

  #wrapper {
    width: 100%;
  }
  .concerns_boxs {
        gap: 16px;
    }

    .concerns__contents__li {
        width: 100%;
        padding: 30px 24px;
    }

    .concerns__contents__text p {
        font-size: 22px;
    }

  .reason__contents__li {
    display: flex;
    padding: 0 3rem;
    margin-bottom: 4rem;
    flex-direction: column-reverse;
  }

  .reason__contents__text {
    width: fit-content;
    padding: 0;
    margin: 2rem auto;
  }

  .reason__contents__li.reverse {
    flex-direction: column-reverse;
  }

  .reason__contents__img{
    width: 60%;
  }

  .reason__contents__img img {
    display: block;
    border-radius: 3%;
    margin: auto;
  }

  .reason__contents__img p {
    right: 7rem;
  }

  .reason__contents__li.reverse .reason__contents__img p {
    left: 5rem;
  }
  .faq__inner {
    padding: 1rem;
  }
  .about__inner--flex {
    flex-direction: column;
    align-items: center;
  }

  .about__inner__right {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }

  .about__inner__right--main {
    width: 65%;
  }

  .about__inner__right--kenkou {
    position: absolute;
    right: 3rem;
    width: 25%;
    top: -2rem;
  }

  .about__inner__text {
    width: 90%;
  }

  .price__head img {
    display: none;
  }

  .support__flow::before {
    display: none;
  }

  .support__flow li dl::before,
  .support__flow li dl::after {
    display: none;
  }

  .support__flow li .support__flow--head::after {
    display: none;
  }

  .support__flow dd {
    margin-top: 0.5rem;
    justify-content: flex-start;
    margin-left: 0rem;
    height: auto;
  }

  .support__flow li {
    position: unset;
  }

  .support__flow li span.support__flow--head {
    width: 100%;
    position: unset;
  }

  .support__flow {
    padding-left: 0;
    position: unset;
    max-width: 900px;
    margin: 0 auto;
  }
  .support__flow li dl {
    padding: 0.5rem;
    margin-bottom: 2rem;
  }
}

@media print, screen and (max-width: 768px) {
  #fv{
    background-size: auto;
    background-position: top;
  }
  .contact-area{
    max-width: 100%;
    width: fit-content;
    padding: 1rem;
  }

  .contact-area__inner__main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
  }

  .contact-area__inner__btn {
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
  }
  .contact-area__inner{
    padding:  1rem;
  }

  .contact-area__head h3 {
    font-size: 2rem;
  }

  .hikaku_body_table .hikaku-price:first-child,
  .hikaku_body_table .hikaku-price strong,
  .hikaku_object .sankaku,
  .hikaku_object,
  .hikaku_body_table td:nth-child(1),
  tr .hikaku_company-own {
    line-height: 150%;
  }

  .hikaku_body_table .hikaku-price:first-child,
  .hikaku_body_table .hikaku-price strong,
  .hikaku_object .sankaku {
    font-size: 14px;
  }

  .hikaku_object,
  .hikaku_body_table td:nth-child(1) {
    font-size: 14px;
  }

  .hikaku_body_table .hikaku-price strong {
    font-size: 20px;
  }

  tr .hikaku_company-own {
    font-size: 14px;
  }

  .hikaku_company img {
    max-width: 150px;
  }

  .form {
    margin: 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: auto;
    row-gap: 1rem;
  }
  .form__nav span {
    padding: 1rem 0.5rem 1.5rem;
    font-size: 14px;
  }

  .form__nav span::after {
    border-width: 7px 7px 7px 0;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .support_badge {
    left: 5px; 
  }

  .reason__contents__text h3 {
    margin-bottom: 1rem;
    font-size: 3rem;
    display: inline;    
  }

  .voice__slider h3{
    display: inline;
  }

  .reason__contents__li {
    padding: 0 1rem;
  }

  .fv__inner {
    flex-direction: row; /* 横並びにする */
    align-items: center; /* 縦方向中央揃え */
    padding: 30px 10px 0; /* paddingを微調整 */
    justify-content: space-between; /* 左右に配置 */
  }

  .fv__left {
    padding-right: 10px; /* 右側に余白 */
    padding-bottom: 0; /* paddingを削除 */
    order: 1; /* 左側に配置 */
  }

  .fv__right {
    width: 40%; /* 右側の幅 */
    order: 2; /* 右側に配置 */
    justify-content: flex-end; /* 右端に寄せる */
    display: flex; /* flexboxを適用 */
    align-items: flex-end; /* 下揃え */
  }

  .fv__left p.fv_txt01 {
    font-size: 18px; /* 文字サイズを微調整 */
    text-align: left; /* 左揃えに戻す */
    margin-bottom: 0.3rem;
  }

  .fv__left h1 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    padding-top: 10px;
  }

  /* メリットの◯を横並びに */
  .fv__left ul {
    padding-top: 10px;
    flex-wrap: nowrap; /* 改行しない */
    gap: 5px; /* gapを微調整 */
    margin-bottom: 25px;
    justify-content: center;
  }

  .fv__left ul li {
    max-width: 100px;
    flex: 1; /* 幅を均等に */
    font-size: 12px; /* 文字サイズを微調整 */
    padding: 8px; /* paddingを微調整 */
  }

  #fv .fv__cta-present {
    flex-direction: column; /* 横並びを解除して縦に */
    text-align: left; /* 左揃えに戻す */
    gap: 10px; /* gapを微調整 */
    align-items: center;
  }
.cta-present .cta_infotext{
    width: 68%;
  }
  .cta-present .fv__contact{
    width: 100%;
  }
  .fv__cta-present__img-area {
    width: 30%; /* 小冊子の幅を微調整 */
    margin: 0; /* marginを削除 */
  }

  .fv__cta-present__book {
    display: block;
    width: 100%;
  }

  #fv .fv__contact {
    width: 70%;
    margin: 0 auto;
    justify-content:center;
  }

  .fv__contact a {
    margin: 0; /* marginを削除 */
    padding: 1rem 1.2rem; /* paddingを微調整 */
  }

  .contact__btn__big {
    font-size: 1.3rem; /* 文字サイズを微調整 */
  }

  .fv__woman-img {
    max-width: 100%; /* 女性画像を表示 */
    margin-bottom: -10px; /* PCと同じ微調整 */
  }

  /* --- その他コンテンツ (768px) --- */
  .about__contents {
    padding: 3rem 1rem;
  }

  .about__inner {
    padding: 2rem 1rem;
  }
  .about__inner__right--kenkou {
    right: 2rem;
  }
  .company__table {
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    width: 95%;
    margin: 3rem auto;
  }

  .voice__slider__contents {
    gap: 2rem;
  }
  .voice__slider {
    padding: 2rem 1rem 2rem;
  }
  #voice {
    padding: 2rem 0;
    overflow-x: hidden;
  }

  .voice__inner {
    padding: 1rem;
  }
  .company__logoArea{
    flex-direction: column;
  }
}

@media screen and (max-width: 520px) {
.fv__left{
  display: block;
  text-align: center;
}
}

@media screen and (max-width: 480px) {
  .voice__slider h3 {
    padding: 1rem 1.5rem;
  }

  .voice__slide_text {
    width: 90%;
    background-color: #f8f8f8;
    padding: 1rem;
    margin-left: 0;
  }

  .voice__slider {
    padding: 1rem 0.5rem 1rem;
    border-radius: 0rem;
  }

  .voice__inner {
    padding: 0rem;
  }

  .faq__contents dl dt span,
  .faq__contents dl dd span {
    font-size: 2rem;
  }
}

@media print, screen and (max-width: 440px) {
  .hikaku_body_table .hikaku-price:last-child,
  .hikaku_body_table .hikaku-price strong,
  .hikaku_object .sankaku {
    font-size: 12px;
  }

  .hikaku_object,
  .hikaku_body_table td:nth-child(1) {
    font-size: 12px;
  }

  .hikaku_body_table .hikaku-price strong {
    font-size: 18px;
  }

  .hikaku_body_table .hikaku-price .red strong {
    font-size: 24px;
  }

  .hikaku_company {
    font-size: 14px;
  }

  tr .hikaku_company-own {
    font-size: 12px;
  }

  .hikaku_company img {
    max-width: 100px;
  }
  .contact-area br.for_sp {
    display: block;
  }

  main section {
    margin-top: 3rem;
  }

  #reason h2 .reason__inner--en,
  #support h2 .support__inner--en,
  #faq h2 .faq__inner--en,
  #contact-form h2 .contact-form__inner--en,
  #company h2 .company__inner--en {
    font-size: 1.8rem;
  }
  .merit__inner {
    padding: 1rem 0rem;
  }

  .merit__other ul {
    padding: 2rem 0.75rem;
  }

  .merit__other {
    padding: 2rem 1rem;
    max-width: 100%;
  }

  .merit__other ul li {
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  .merit__inner__card__circle {
    width: 50%;
  }

  .price__contents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    margin-top: 3rem;
    max-width: 980px;
    margin: 0rem auto 1rem;
  }

  .about__inner__right--main {
    width: 55%;
  }
  .about__inner__right--kenkou {
    right: 1rem;
    width: 30%;
  }
  .company__inner__head h3 {
    font-size: 1.25rem;
  }

  .contact-form__inner__head,
  .company__inner__head {
    padding: 1rem;
  }
  .company__table dl {
    display: flex;
    flex-direction: column;
  }

  .company__table dt {
    width: 100%;
  }
  .reason__contents__li.reverse .reason__contents__img p {
    left: 0;
  }

  .reason__contents__img p {
    font-size: 6rem;
    bottom: 0;
    left: 0;
  }
  .faq__contents dl dt,
  .faq__contents dl dd {
    flex-direction: column;
  }

  .faq__contents dl dd {
    align-items: flex-start;
    gap: 0;
  }

  .form {
    grid-template-columns: auto;
  }

  .contact-form__present > p {
    font-size: 1.25rem;
  }
  #voice h2 {
    font-size: 1.5rem;
  }

  #voice {
    padding-top: 0;
    padding-bottom: 2rem;
  }
  .voice__slide__img img {
    width: 300px;
  }
}

@media print, screen and (max-width: 425px) {
  h2{
    font-size: 2.4rem;
  }

  .fv__left {
    padding-right: 5px; /* 右側に余白 */
  }

  .fv__right {
    width: 35%; /* 右側の幅を微調整 */
  }

  .fv__left p.fv_txt01 {
    font-size: 16px; /* 文字サイズを微調整 */
  }

  .fv__left h1 {
    line-height: 1.3;
    margin-bottom: 1.2rem;
  }

  /* メリットの◯の文字サイズを微調整 */
  .fv__left ul li {
    font-size: 10px;
    padding: 6px;
  }

  .fv__cta-present {
    gap: 10px;
    align-items: flex-start; /* 左揃え */
  }

  .fv__cta-present__img-area {
    width: 50%; /* 小冊子の幅を広げる */
    margin: 0 auto; /* 中央揃え */
  }

  .fv__contact a {
    padding: 0.8rem 1rem; /* paddingを微調整 */
  }

  .contact__btn__big {
    font-size: 1.1rem; /* 文字サイズを微調整 */
  }
  
  .free-badge {
    font-size: 1.1rem; /* 文字サイズを微調整 */
  }
  
  .fv_cta_txt {
    gap: 10px; /* gapを微調整 */
  }
}

@media print, screen and (max-width: 400px) {
  .support__flow li dl {
    padding-left: 0rem;
    margin-bottom: 2rem;
  }
}

@media print, screen and (max-width: 375px) {
  .fv__left p.fv_txt01 {
    font-size: 15px; /* 文字サイズを微調整 */
  }

  .fv__left h1 {
    font-size: 24px;
  }

  /* メリットの◯の文字サイズを微調整 */
  .fv__left ul li {
    font-size: 9px;
  }

  .contact__btn__big {
    font-size: 1rem; /* 文字サイズを微調整 */
  }
  
  .free-badge {
    font-size: 1rem; /* 文字サイズを微調整 */
  }
}

@media screen and (max-width: 320px) {
  .hikaku_body_table .hikaku-price strong {
    font-size: 16px;
  }

  .hikaku_body_table .hikaku-price .red strong {
    font-size: 22px;
  }

  .hikaku_company img {
    max-width: 80px;
  }
  
  .fv__left h1 {
    font-size: 15px; /* 文字サイズを微調整 */
  }
}

/*-------------------------------------
    form
--------------------------------------*/
@media screen and (max-width: 930px) {
  form {
    background-color: #f8f8f8;
    padding: 2rem 0.5rem;
    margin: 3rem auto;
  }
}
@media screen and (max-width: 640px) {
  .contact-area br.for_sp{
    display: none;
}
  .contact-form__present--right {
    display: none;
  }
  .contact-form__present--flex {
    justify-content: center;
  }
}