/* ========================================
        Mobile
======================================== */
@media screen and (max-width: 767px) {
  /* ==============
          Fv 
    ============== */
  .section__wrap-fv {
    background-position: center;
    margin: -28px auto 0;
    padding: 50px 4.2%;
  }

  .fv__lead {
    font-size: 24px;
    line-height: 1.4;
  }

  .fv__tags {
    gap: 6px;
    margin-top: 6px;
  }

  .fv__tag {
    min-width: 0;
    padding: 5px 0;
    font-size: 12px;
    width: 70px;
  }

  .fv__title {
    margin-top: 15px;
    width: 94%;
  }

  .fv__title img {
    width: 100%;
    max-width: 278px;
    margin: 0 auto;
  }

  .fv__description {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.6;
  }

  .fv__description-upper {
    font-size: 14px;
  }

  .fv__button {
    width: 74.41%;
    margin-top: 15px;
    padding: 10px 7%;
    font-size: 14px;
    line-height: 1.3;
  }

  /* ======= Estimate ======= */

  .no-print {
    padding: 20px 4.6%;
    margin-bottom: 0;
  }

  .container-upper {
    padding: 30px 4.6%;
  }

  .section-title__tt {
    font-size: 16px;
    letter-spacing: 0.03em;
  }
  .estimate-calculator .sheet-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    background: #f8f8f8;
    padding: 0 4.6% 30px;
  }

  .estimate-calculator .store-summary__text {
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .estimate-calculator .store-maker-select {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }

  .estimate-calculator .store-preview__row {
    font-size: 12px;
  }

  .estimate-calculator #storeWrap.is-collapsed .store-table-shell {
    max-height: 192px;
  }

  .estimate-calculator .store-summary__head {
    align-items: center;
  }

  .estimate-calculator .store-toggle-wrap {
    margin-top: 10px;
  }

  .estimate-calculator .store-maker-select__label {
    width: 100%;
    font-size: 14px;
  }

  .estimate-calculator .toolbar {
    gap: 8px;
  }

  .estimate-calculator .pricing thead th {
    font-size: 9px;
    width: 22%;
  }

  .estimate-calculator #storeContent .pricing th.product__name {
    width: 33%;
  }

  .estimate-calculator .estimate-entry-form {
    margin-top: 30px;
    padding: 40px 4.6%;
  }

  .estimate-calculator .estimate-entry-form__notice {
    padding: 20px 5.1%;
  }
  .estimate-calculator .estimate-entry-form__notice dt,
  .estimate-calculator .estimate-entry-form__notice dd {
    width: 100%;
  }
  .estimate-calculator .estimate-entry-form__notice dd:first-of-type {
    margin-bottom: 10px;
  }

  .estimate-calculator .estimate-entry-form__notice .sp_only {
    display: inline-block !important;
  }
  .estimate-calculator .estimate-entry-form__notice .pc_only {
    display: none !important;
  }

  .estimate-calculator .estimate-entry-form__field input,
  .estimate-calculator .estimate-entry-form__field textarea,
  .estimate-calculator .estimate-entry-form__field select {
    line-height: 2;
  }

  .estimate-entry-form__attention {
    padding-left: 0;
  }
  .estimate-calculator .estimate-entry-form__title {
    font-size: 18px;
  }

  .estimate-calculator .estimate-entry-form__grid {
    display: block;
  }

  .estimate-entry-form__field {
    margin-bottom: 15px;
  }

  .estimate-calculator button {
    padding: 10px 12px;
    font-size: 14px;
  }

  .estimate-calculator .sheet {
    min-width: 720px;
    padding: 20px 16px 22px;
    margin-left: 0;
    margin-right: 0;
  }

  .estimate-calculator .estimate-header {
    margin-bottom: 22px;
  }

  .estimate-calculator .logo {
    width: 180px;
    height: 44px;
  }

  .estimate-calculator .title {
    font-size: 16px;
  }

  .estimate-calculator .estimate-customer-line {
    max-width: 100%;
    font-size: 14px;
  }

  .estimate-calculator
    .estimate-header
    > div:first-child
    > div
    > div:last-child
    .title {
    font-size: 14px;
    margin-top: 8px;
  }

  .estimate-calculator .section-title {
    margin: 0 0 4px;
    font-size: 14px;
  }

  .estimate-calculator .kv,
  .estimate-calculator .pricing {
    font-size: 12px;
  }

  .estimate-calculator .kv th {
    width: 40%;
    font-size: 14px;
  }

  .estimate-calculator .kv td {
    font-size: 14px;
  }

  .estimate-calculator .pricing td {
    font-size: 9px;
    padding: 5px;
  }
  .estimate-calculator .table-scroll table {
    min-width: 520px;
  }

  .estimate-calculator input[type="text"],
  .estimate-calculator input[type="number"],
  .estimate-calculator textarea {
    font-size: 9px;
    font-weight: 500;
  }

  .estimate-calculator .pricing tbody th {
    padding: 10px 2px 10px 8px;
  }

  .estimate-calculator .notes div {
    font-size: 10px;
  }

  .estimate-calculator .estimate-entry-form__field input {
    padding: 6px 5.1%;
    font-size: 14px !important;
  }
  .estimate-calculator .estimate-entry-form__field select {
    appearance: none;
  }

  .estimate-calculator .estimate-entry-form__check {
    display: inline-grid;
    grid-template-columns: 16px auto;
    column-gap: 8px;
    align-items: center;
    justify-content: start;
    width: fit-content;
  }

  .estimate-calculator .estimate-entry-form__check input {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex: 0 0 16px;
  }

  .estimate-calculator .estimate-entry-form__check span {
    margin: 0;
    line-height: 1.2;
  }

  .estimate-calculator .estimate-entry-form__privacy-text {
    margin-top: 3px;
  }

  .estimate-calculator .estimate-entry-form__actions {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 30px auto 0;
    width: 81%;
  }

  .estimate-calculator button {
    width: 100%;
  }

  input.qtyInput {
    font-size: 9px !important;
  }

  /* ======= About ======= */

  .about-plan-grid {
    margin-top: 24px;
    display: block;
  }

  .about-plan-card {
    padding: 20px 4.6%;
    margin-bottom: 20px;
  }

  .about-plan-grid .about-plan-card:last-of-type {
    margin-bottom: 0;
  }

  .about-plan-card__title {
    align-items: center;
    gap: 10px;
  }

  .about-plan-card__number {
    font-size: 28px;
    line-height: 1.6;
  }

  .about-plan-card__tt {
    font-size: 18px;
    line-height: 1.6;
  }

  .about-plan-card p {
    font-size: 13px;
    line-height: 1.9;
  }

  .about-plan-card__link a {
    font-size: 14px;
  }

  .about-plan-card__link img {
    height: 24px;
  }

  /* ======= Flow ======= */
  .width-adjust-flow {
    padding: 0 4.2%;
  }

  .flow-step-list {
    margin-top: 24px;
  }

  .flow-step-card {
    grid-template-columns: 1fr 1.32fr;
    grid-template-areas:
      "step icon"
      "content content";
    align-items: stretch;
    gap: 20px 0;
    padding: 30px 4.6%;
  }

  .flow-step-card__step {
    grid-area: step;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 132px;
    padding-right: 0;
    width: 80%;
  }

  .flow-step-card__step::after {
    height: 100%;
    top: 0;
    right: 0;
  }

  .flow-step-card:last-of-type .flow-step-card__step::after {
    height: 100%;
    top: 0;
    right: 0;
  }

  .flow-step-card__step-label {
    font-size: 16px;
  }

  .flow-step-card__step-number {
    font-size: 38px;
  }

  .flow-step-card__icon {
    grid-area: icon;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 132px;
  }

  .flow-step-card__icon img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
  }

  .flow-step-card__content {
    grid-area: content;
  }

  .flow-step-card__content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
  }

  .flow-step-card__content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .flow-step-arrow {
    margin: 0 auto 20px;
  }

  /*==============
          FAQ
  ==============*/
  .width-adjust-faq {
    padding: 0 4.2%;
  }

  .faq__list {
    margin-top: 24px;
  }

  .top-faq-item {
    margin-top: 20px;
    padding: 14px 0;
  }

  .top-faq-item__answer {
    grid-template-columns: 24px 1fr;
    gap: 10px 16px;
    padding: 10px 12.1% 10px 5.1%;
  }

  .top-faq-item__icon {
    right: 5.1%;
    top: 18px;
  }

  .top-faq-item__mark {
    margin-right: 0;
  }

  .top-faq-item__question {
    grid-template-columns: 24px 1fr 12.5px;
    gap: 12px;
    padding: 20px 16px;
    align-items: center;
  }

  .top-faq-item__question-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
  }

  .top-faq-item summary {
    display: flex;
    padding: 10px 12.1% 10px 5.1%;
  }

  .top-faq-item__answer p {
    font-size: 13px;
    line-height: 1.7;
  }

  /* ==============
      PRICE LIST  部材価格一覧
    ============== */
  .price__list__wrap {
    gap: 20px 0;
  }
  .price__list__wrap__box {
    padding: 16px 8.7%;
    width: 100%;
  }
  .fv__button.fv__button-simple {
    padding: 20px 0;
    width: 68%;
  }

  /* ============== 
        Colimn 
    ==============  */

  .section__wrap-column .archive-grid {
    gap: 30px;
  }

  .front-page-column__grid {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
  }

  .front-page-column__button {
    width: 74.2%;
  }

  /* ============== 
        Contact 
    ==============  */

  .contact-form__actions.sp_only {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    width: 74.2%;
    margin: 30px auto 0;
  }

  .contact-form-card {
    padding: 20px 4.6%;
  }

  .contact-form-card .contact-form__input {
    height: auto;
    padding: 4px 5.1% !important;
    font-size: 14px !important;
    font-size: 14px;
  }

  .contact-form__field {
    width: 100%;
  }

  .contact-form__field--full,
  .contact-form__privacy {
    margin-top: 16px;
  }

  .contact-form__grid {
    display: flex;
    flex-wrap: wrap;
  }

  .contact-form__line-button,
  .contact-form__submit {
    font-size: 14px;
    width: 100%;
    min-width: 0;
  }

  .contact-form__privacy-text {
    font-size: 13px;
    line-height: 1.8;
  }

  .contact-form__textarea {
    min-height: 150px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .contact-visual {
    margin-top: 0;
    padding: 40px 4.2%;
  }

  .footer-middle {
    flex-direction: column;
    gap: 30px;
  }

  .site__footer .header__nav {
    width: 100%;
  }

  .site__footer .header__nav ul {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 16px 24px;
  }

  /*======================
  ======================
  部材価格一覧
======================
=========================*/
  .page-template-page-price_list .estimate-calculator .store-maker-select,
  .page-template-page-price_list
    .estimate-calculator--catalog
    .store-table-shell {
    margin-top: 24px;
  }
  .page-template-page-price_list .estimate-calculator .pricing tbody td {
    font-size: 10px;
    padding: 5px 1%;
  }

  .not-found-page__inner {
    padding: 48px 20px;
    border-radius: 18px;
  }

  .not-found-page__code {
    font-size: 56px;
  }

  .not-found-page__title {
    font-size: 24px;
  }

  .not-found-page__message {
    font-size: 14px;
    line-height: 1.8;
  }
}
