@media (min-width: 300px) {
  .brandName img,
  .navbar_brand img {
    width: clamp(9.375rem, 5.681rem + 19.7vw, 22.5rem);
  }
  .main_visual {
    width: 100%;
    height: clamp(13.625rem, 5.532rem + 43.16vw, 26.25rem);
  }
  .mv_title h1 {
    font-size: clamp(1rem, 0.679rem + 1.71vw, 1.5rem);
  }
  #mv_sp {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  #mv_pc {
    display: none;
  }
  #top_pc {
    display: none;
  }
  #top_sp {
    display: block;
  }

  .floatbtn_sp {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
  }
  .floatbtn_sp img {
    width: 100vw;
  }

  .floatbtn_pc {
    display: none;
  }

  #g-nav {
    width: 100%;
  }
  .openbtn1 {
    top: 0;
  }
  section {
    padding: var(--content-space-sp);
  }
  .brandName,
  .copy_right_space {
    padding-left: var(--content-space-sp);
  }
  .mv_title {
    top: 55%;
    left: 5%;
  }
  .mv_title h1 {
    font-size: clamp(1.75rem, 0.308rem + 7.69vw, 4rem);
  }
  .mv_img:first-of-type img {
    height: clamp(7.875rem, -1.5rem + 50vw, 22.5rem);
    top: 50%;
    left: 20%;
  }
  .mv_img:nth-of-type(2) img {
    height: clamp(7.875rem, -1.5rem + 50vw, 22.5rem);
    top: 50%;
    left: 40%;
  }
  .mv_img:nth-of-type(3) img {
    height: clamp(7.875rem, -1.5rem + 50vw, 22.5rem);
    top: 50%;
    left: 60%;
  }
  .mv_img:nth-of-type(4) img {
    height: clamp(7.875rem, -1.5rem + 50vw, 22.5rem);
    top: 50%;
    left: 80%;
  }
  .partner {
    margin: clamp(2.5rem, -10.071rem + 19.64vw, 13.5rem);
  }
  .partner h4 {
    font-size: clamp(0.625rem, 0.379rem + 1.31vw, 1.5rem);
  }
  .copy h2 {
    font-size: 12px;
  }
  .copy_detail p {
    font-size: clamp(0.625rem, 0.502rem + 0.66vw, 1.063rem);
  }
  .copy_detail_first {
    margin-top: clamp(0.75rem, -0.305rem + 5.63vw, 4.5rem);
  }
  .copy_detail_first,
  .copy_detail_second,
  .copy_detail_third,
  .copy_detail_bottom {
    margin-bottom: clamp(2.25rem, 1.3rem + 5.07vw, 5.625rem);
  }

  .heading {
    padding-right: 0;
  }
  .copy_detail {
    flex: 1 1 0;
    padding-right: 1rem;
    white-space: nowrap;
    min-width: 0;
  }
  .side_box {
    flex: 0 0 auto;
    width: 110px;
    display: flex;
    align-items: center;
    z-index: 10;
  }
  .side_box img {
    width: 100%;
    height: auto;
    display: block;
  }
  .accordion {
    border-radius: 36px 10px 0 0;
  }

  .qa_accordion {
    padding-right: 1rem;
  }

  .about_title {
    font-size: clamp(0.813rem, 0.373rem + 2.35vw, 2.375rem);
    width: clamp(6.5rem, 3.088rem + 18.2vw, 18.625rem);
    height: clamp(1.563rem, 0.314rem + 6.66vw, 6rem);
    padding: 2px;
  }
  .about_title::before {
    inset: 5px -5px -5px 5px;
  }
  .about h3 {
    margin-top: 30px;
  }
  .about h3 img {
    height: clamp(1.875rem, 0.714rem + 6.19vw, 6rem);
  }
  #for::after {
    bottom: -34%;
    right: 0;
    width: 50vw;
    height: 250px;
  }
  .list_item {
    position: relative;
  }
  .list_item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid var(--title-color);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
  }
  .list_half .list h4 {
    font-size: clamp(1rem, 0.613rem + 2.06vw, 2.375rem);
  }
  .list_grid1 .list p {
    font-size: clamp(0.625rem, 0.555rem + 0.38vw, 0.875rem);
  }
  .list_grid1 .list img {
    width: clamp(12.5rem, 12.008rem + 2.63vw, 14.25rem);
  }
  .text_grid1 {
    width: 220px;
    margin: 0 auto !important;
    padding: 2rem !important;
    height: 250px;
  }
  .text h4 {
    font-size: clamp(1rem, 0.613rem + 2.06vw, 2.375rem);
  }
  .text_detail {
    padding: 2px 30px !important;
  }
  .text_detail::after {
    inset: 30px -5px -5px 5px;
  }
  .text_detail p {
    font-size: clamp(0.625rem, 0.502rem + 0.66vw, 1.063rem);
    margin-bottom: 14px;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
  }
  .text_detail_first p {
    margin-bottom: 10px !important;
  }
  #g-nav {
    width: 100%;
  }
  #g-nav-list {
    margin: 0 2rem;
    padding-top: clamp(1.875rem, 0.714rem + 6.19vw, 6rem);
  }
  #g-nav-list li {
    margin-bottom: 3rem;
  }
  #g-nav-list li a {
    font-size: clamp(0.938rem, 0.779rem + 0.84vw, 1.5rem);
  }
  .sns_list .x a,
  .sns_list .instagram a,
  .footer_sns .x a,
  .footer_sns .instagram a {
    font-size: 1.5rem;
  }
  .btn_list .btn {
    margin-bottom: 2rem;
  }
  .contact {
    flex-direction: column;
  }
  .contact_l,
  .contact_r {
    padding: 50px 25px;
  }
  .contact_l {
    margin-bottom: 10px;
  }
  .contact_r {
    margin-top: 10px;
  }
  .contact_l h5,
  .contact_r h5 {
    font-size: clamp(0.813rem, 0.601rem + 1.13vw, 1.563rem);
    padding-bottom: 18px;
  }
  .contact_text {
    margin-bottom: 18px;
  }
  .contact_text p {
    font-size: clamp(0.625rem, 0.59rem + 0.19vw, 0.75rem);
  }
  .contact_l .btn,
  .contact_r .btn,
  .btn_list .btn {
    width: clamp(10.438rem, 6.981rem + 18.44vw, 12.5rem);
    padding: 0.4rem;
    margin: 0 auto;
  }
  .contact_l .btn a,
  .contact_r .btn a,
  .btn_list .btn a {
    font-size: clamp(0.625rem, 0.555rem + 0.38vw, 0.875rem);
  }
  .contact_line {
    border-top: 1px solid var(--text-color);
  }
  .wpcf7-list-item-label {
    font-size: 12px;
  }

  .qa_accordion,
  .qa_panel {
    max-width: clamp(17.5rem, 11.481rem + 32.1vw, 50rem);
  }
  .feature_panel {
    padding-right: 2rem;
    padding-left: 3.5rem;
  }
  .accordion p {
    font-size: clamp(0.875rem, 0.576rem + 1.59vw, 1.938rem);
    padding-left: 1.6em;
    text-indent: -1.6em;
  }

  .accordion p span {
    margin-right: 0.5rem;
  }
  .image_r,
  .image_l {
    display: none;
  }

  .qa_detail {
    border-radius: 30px;
    padding: 1.25rem;
  }
  .qa_panel {
    padding-right: 30px;
    padding-left: 30px;
  }

  .qa_accordion p,
  .panel li {
    font-size: clamp(0.625rem, 0.484rem + 0.75vw, 1.125rem);
  }
  .qa_panel li {
    padding-left: 1.6em;
    text-indent: -1.6em;
  }
  .qa_accordion p span,
  .qa_panel li span {
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 0.5rem;
  }

  .title2 {
    font-size: clamp(0.938rem, 0.744rem + 1.03vw, 1.625rem);
  }
  .small {
    font-size: clamp(0.563rem, 0.404rem + 0.84vw, 1.125rem);
  }
  .footer_list,
  .footer_sns {
    display: none;
  }
  #label-company,
  #label-name,
  #label-tel {
    width: 25%;
  }
  #contact {
    margin-right: clamp(1.875rem, -4.135rem + 32.05vw, 11.25rem);
    margin-left: clamp(1.875rem, -4.135rem + 32.05vw, 11.25rem);
  }
  #contact_sp {
    display: block;
  }
  #contact_pc {
    display: none;
  }
  .form-control {
    font-size: clamp(0.688rem, 0.625rem + 0.31vw, 1rem);
    width: 100%;
  }
  .forrm-check {
    padding-left: 0;
  }
  .contact-check {
    padding-left: 5rem;
  }
  .footer_detail_sp {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 60px;
  }
  .copy_right_space {
    padding-bottom: 60px;
    text-align: left;
  }
  .mousikomi {
    max-width: 100%;
  }
  #mail_submit2 {
    font-size: 13px;
  }
  .yoyaku,
  .yoyaku_answer {
    font-size: 13px;
  }
  .contact-button {
    width: clamp(7.25rem, 3.73rem + 18.78vw, 18.75rem);
    height: clamp(1.5rem, 0.62rem + 4.69vw, 4.375rem);
  }
}
@media screen and (min-width: 352px) {
  .copy h2 {
    font-size: 14px;
  }
}
@media screen and (min-width: 375px) {
  .copy h2 {
    font-size: clamp(1rem, 0.722rem + 1.48vw, 2.5rem);
  }
}
@media screen and (min-width: 480px) {
  .contact_l .btn,
  .contact_r .btn {
    width: 400px;
  }
  .copy_right_space {
    padding-bottom: 80px;
  }
}
@media screen and (min-width: 640px) {
  .copy_right_space {
    padding-bottom: 100px;
  }
  .form-control {
    font-size: clamp(0.688rem, 0.625rem + 0.31vw, 1rem);
    width: clamp(10rem, 3.228rem + 36.12vw, 34.063rem);
  }
  #for::after {
    bottom: -74%;
    right: 0;
  }

  .qa_accordion,
  .qa_panel {
    width: clamp(31.25rem, 10.22rem + 43.81vw, 47.625rem);
  }
  .feature_panel {
    padding-left: 4rem;
    padding-right: 6rem;
  }
  .text_grid1 {
    max-width: 500px;
    height: 280px;
  }
  #contact {
    margin-right: 60px;
    margin-left: 100px;
  }
  #label-company-sp,
  #label-name-sp,
  #label-tel-sp {
    width: 25%;
  }

  .col-form-label {
    text-align: right !important;
  }
  #label-name-sp,
  #label-address-sp,
  #label-comment-sp {
    font-size: 12px;
    white-space: nowrap;
  }
  #comment-sp {
    display: flex;
    gap: 0.5rem;
  }
}
@media screen and (min-width: 720px) {
  #contact_pc {
    display: block;
  }
  #contact_sp {
    display: none;
  }
  #contact {
    margin-right: 100px;
    margin-left: 160px;
  }

  #label-company {
    white-space: nowrap;
  }
  #label-name,
  #label-comment {
    font-feature-settings: "palt";
    white-space: pre;
    font-size: 13px;
    letter-spacing: 0.002em;
  }

  .form-check {
    padding-right: 5em;
    padding-left: 0 !important;
  }
}
@media screen and (min-width: 768px) {
  #g-nav-list {
    margin: 0 5rem;
  }
  .copy_right_space {
    padding-bottom: 120px;
  }
}
@media screen and (min-width: 820px) {
  .list figure {
    position: relative; /* 疑似要素の基準にする */
  }
  .list_item:not(:last-child)::after {
    display: none;
  }
  #label-comment {
    white-space: nowrap;
  }

  /* 代わりに右向き矢印を付ける */
  .list_item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid var(--title-color); /* 横向き矢印 */
  }
  .contact_l .btn,
  .contact_r .btn,
  .btn_list .btn {
    width: 320px;
  }

  .qa_accordion {
    padding-right: 60px;
  }
  .contact-check {
    padding-left: 0;
  }
  .contact-final {
    padding-left: 8rem;
  }
}
@media screen and (min-width: 912px) {
  .copy_detail {
    flex: 0.8;
  }
}
@media screen and (min-width: 1024px) {
  .main_visual {
    width: clamp(15.75rem, -3rem + 100vw, 45rem);
    height: clamp(13.625rem, 5.532rem + 43.16vw, 26.25rem);
  }
  #top_pc {
    display: block;
  }
  #top_sp {
    display: none;
  }
  #mv_sp {
    display: none;
  }
  #mv_pc {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .openbtn1 {
    top: 2%;
  }
  .sns_list .x a,
  .sns_list .instagram a,
  .footer_sns .x a,
  .footer_sns .instagram a {
    font-size: 2rem;
  }
  .floatbtn_sp {
    display: none;
  }

  .floatbtn_pc {
    display: block;
    position: fixed;
    right: -3%;
    top: 40%;
    width: 33%;
    z-index: 99;
  }

  .mv_title {
    top: 50%;
    left: 5%;
  }
  .mv_title h1 {
    font-size: clamp(5rem, 2.006rem + 4.68vw, 6rem);
  }
  section {
    padding: var(--content-space-pc);
  }
  .brandName {
    padding-left: var(--content-space-pc);
  }

  .copy_right_space {
    padding-left: 0;
  }
  .copy_detail {
    flex: 3;
    padding-right: 1rem;
    white-space: nowrap;
    min-width: 65%;
  }
  .side_box {
    flex: 1;
  }

  .heading {
    padding-right: var(--content-space-pc);
  }
  .main_visual {
    margin-left: clamp(3.125rem, 0.131rem + 4.68vw, 4.125rem);
    margin-right: clamp(3.125rem, 0.131rem + 4.68vw, 4.125rem);
    width: clamp(57.688rem, -0.005rem + 90.14vw, 81.125rem);
    height: clamp(27rem, 0.077rem + 42.07vw, 37.938rem);
  }

  .mv_img:first-of-type img,
  .mv_img:nth-of-type(2) img,
  .mv_img:nth-of-type(3) img,
  .mv_img:nth-of-type(4) img {
    width: clamp(11.813rem, -0.164rem + 18.71vw, 15.813rem);
    height: clamp(22.25rem, -0.206rem + 35.09vw, 29.75rem);
  }

  .partner {
    padding: 1rem;
    margin: 14rem;
  }
  .text_detail::after {
    inset: 42px -5px -5px 10px;
  }
  .text_grid1 {
    padding: 1rem !important;
  }
  .image_r,
  .image_l {
    display: block;
  }

  .up_img {
    position: relative;
    width: 100%;
    height: 400px;
  }
  .up_img img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    right: 5%;
    width: 100%;
    height: auto;
  }
  .up_img img:nth-child(2) {
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    height: auto;
  }
  .accordion {
    border-radius: 136px 36px 0 0;
  }

  .feature_accordion,
  .qa_accordion {
    padding: 24px;
  }
  .feature_panel {
    padding-left: 4.5rem;
    padding-right: 10rem;
  }
  .about_title::before {
    inset: 10px -10px -10px 10px;
  }
  .about h3 {
    margin-top: 60px;
    text-align: center;
  }
  #what {
    padding-bottom: 10rem;
  }
  #for {
    padding-bottom: 15rem;
  }
  #for::after {
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 250px;
  }
  .text_detail {
    padding: 10px 100px !important;
  }
  .text_detail p {
    margin-bottom: 38px;
    letter-spacing: 0.2em;
    text-align: justify;
  }
  .text_grid1 {
    height: 300px;
  }
  .accordion p span {
    margin-right: 1rem;
  }
  .qa_accordion p span,
  .qa_panel li span {
    margin-right: 1rem;
  }
  .qa_detail {
    padding: 5rem;
    border-radius: 50px;
  }
  .qa_accordion p span,
  .qa_panel li span {
    font-size: 2rem;
  }

  .qa_accordion,
  .qa_panel {
    padding-left: 54px;
    padding-right: 54px;
  }
  .contact-button {
    margin-bottom: 10rem;
  }
  .contact {
    flex-direction: row;
    justify-content: center;
  }
  .contact_l,
  .contact_r {
    padding: 80px 125px;
  }

  .contact_l {
    margin-bottom: 0;
    margin-left: 4rem;
    margin-right: 25px;
  }
  .contact_r {
    margin-top: 0;
    margin-right: 4rem;
    margin-left: 25px;
  }
  .contact_l h5,
  .contact_r h5 {
    padding-bottom: 30px;
  }
  .contact_text {
    font-size: 12px;
    text-align: left;
    margin-bottom: 30px;
  }
  .contact_l .btn,
  .contact_r .btn {
    margin-bottom: 60px;
    padding: 0.5rem;
  }
  .contact_line {
    border-left: 1px solid var(--text-color);
  }
  .col-form-label {
    width: 25%;
    font-size: clamp(0.75rem, 0.629rem + 0.52vw, 1.25rem);
  }
  #label-name,
  #label-comment {
    font-size: clamp(0.75rem, 0.629rem + 0.52vw, 1.25rem);
  }
  .wpcf7-list-item-label {
    font-size: 14px;
  }

  .mousikomi {
    max-width: 90%;
  }
  .yoyaku,
  .yoyaku_answer {
    font-size: 15px;
  }
  footer {
    padding-left: clamp(4.125rem, 1.968rem + 2.53vw, 5rem);
    padding-right: clamp(4.125rem, 1.968rem + 2.53vw, 5rem);
  }

  .footer_detail {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }
  .footer_list {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    white-space: nowrap;
  }
  .footer_list li a {
    font-size: clamp(0.688rem, 0.33rem + 0.56vw, 1rem);
  }
  .footer_sns {
    display: flex;
    justify-content: end;
    gap: 2rem;
  }

  .footer_detail {
    display: flex;
    justify-content: space-between;
  }

  .copy_right_space {
    text-align: center;
    padding-bottom: 20px;
  }
  #g-nav {
    width: 40%;
  }
  /* ==================
page-contact.php
=====================*/
  #contact {
    margin-right: clamp(15rem, 9.386rem + 8.77vw, 16.875rem);
    margin-left: clamp(15rem, 9.386rem + 8.77vw, 16.875rem);
  }
  .contact-button {
    width: clamp(15rem, 7.515rem + 11.7vw, 17.5rem);
    height: clamp(3.5rem, 2.003rem + 2.34vw, 4rem);
  }
  .contact-check {
    padding-left: 0 !important;
  }

  .contact_recap {
    font-feature-settings: "palt";
  }
  .form-control {
    width: clamp(13rem, 5.006rem + 34.11vw, 34.125rem);
  }
  .contact-final {
    padding-left: 9rem;
  }
  .col-form-label {
    display: flex;
  }

  .required {
    display: table-cell;
    float: right;
  }

  .contact-wrap {
    margin: clamp(1.5rem, -0.025rem + 3.18vw, 2.688rem) clamp(2.375rem, -0.113rem + 5.18vw, 4.313rem);
  }

  #mail_submit2 {
    font-size: 16px;
  }
}
@media screen and (min-width: 1280px) {
  .btn_list .btn a {
    font-size: 13px;
  }
  .contact_l h5,
  .contact_r h5 {
    font-size: 23px;
  }
  .contact-check {
    padding-left: 5rem !important;
  }

  .footer_list {
    gap: 3rem;
  }
}
@media screen and (min-width: 1366px) {
  .mv_title h1 {
    font-size: clamp(6rem, 5.384rem + 0.72vw, 6.25rem);
  }

  .contact-button {
    width: clamp(19.625rem, 3.321rem + 19.1vw, 31.25rem);
    height: clamp(4.813rem, 2.796rem + 2.36vw, 6.25rem);
  }

  .qa_accordion {
    padding-right: 340px;
  }
}
@media screen and (min-width: 1440px) {
  #g-nav-list {
    padding-top: clamp(6.25rem, 4rem + 2.5vw, 7rem);
  }
  #g-nav-list li a {
    font-size: clamp(1.5rem, 0.75rem + 0.83vw, 1.75rem);
  }
  .contact_l .btn a,
  .contact_r .btn a,
  .btn_list .btn a {
    font-size: clamp(1rem, 0.25rem + 0.83vw, 1.25rem);
  }

  .about_title {
    font-size: clamp(2.5rem, 1rem + 1.67vw, 3rem);
    width: clamp(20rem, 5rem + 16.67vw, 25rem);
  }
  .text h4 {
    font-size: clamp(2.5rem, 2.125rem + 0.42vw, 2.625rem);
  }
  .text_detail p {
    font-size: clamp(1.125rem, 0.75rem + 0.42vw, 1.25rem);
  }
  .accordion p {
    font-size: clamp(2rem, 1.25rem + 0.83vw, 2.25rem);
  }
  .qa_accordion p,
  .panel li {
    font-size: clamp(1.25rem, 0.875rem + 0.42vw, 1.375rem);
  }
  .list_half .list h4 {
    font-size: clamp(2.5rem, 1rem + 1.67vw, 3rem);
  }
  .list_grid1 .list p {
    font-size: clamp(0.938rem, 0.75rem + 0.21vw, 1rem);
  }
  .list_grid1 .list img {
    width: clamp(15rem, 7.5rem + 8.33vw, 17.5rem);
  }
  .title2 {
    font-size: clamp(1.75rem, 1rem + 0.83vw, 2rem);
  }
  .small {
    font-size: (1.125rem, 0.75rem + 0.42vw, 1.25rem);
  }
}
@media screen and (min-width: 1920px) {
  .main_visual {
    width: clamp(108.188rem, 90.16vw, 144.25rem);
    height: clamp(50.563rem, 0.125rem + 42.03vw, 67.375rem);
  }
  .btn_list .btn {
    width: 400px;
  }

  .text_detail::after {
    inset: 62px -5px -5px 10px;
  }
  .mv_img:first-of-type img,
  .mv_img:nth-of-type(2) img,
  .mv_img:nth-of-type(3) img,
  .mv_img:nth-of-type(4) img {
    width: clamp(22.188rem, -0.125rem + 18.59vw, 29.625rem);
    height: clamp(41.813rem, 34.84vw, 55.75rem);
  }

  .openbtn1 {
    width: 100px;
    height: 100px;
  }
  .openbtn1::after {
    font-size: 18px;
  }
  .text_grid1 {
    width: 300px;
  }
  .list_item:not(:last-child)::before {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid var(--title-color);
  }
  .qa_accordion {
    padding-right: 520px;
  }
}
@media screen and (min-width: 2304px) {
  .contact-button {
    font-size: clamp(2rem, 0.5rem + 1.25vw, 2.5rem);
    width: clamp(20rem, -10rem + 25vw, 30rem);
  }
  #mv_pc {
    width: 90vw;
  }

  #flow {
    padding-top: 15rem !important;
  }
}
