@charset "utf-8";

/* @media screen and (min-width: 855px) {  } */
/* @media screen and (min-width: 641px) and (max-width: 854px) {  } */
/* @media screen and (min-width: 480px) and (max-width: 640px) {  } */
@media screen and (max-width: 1440px) { /* chrome確認用 */ }
@media screen and (max-width: 320px) { /* chrome確認用 */ }

@media screen and (max-width: 1064px) {
  .container {
    padding: 0 16px;
  }

  .footer .items .point {
    letter-spacing: 0;
  }

}

/* iPhone XS Max/XR/11/11 Pro Max　横　およびpad */
@media screen and (max-width: 896px) {

  /* iOSでsubmit, buttonのデザインをリセットする */
  input[type="submit"],
  input[type="button"] {
    border: none;
    cursor: pointer;
    border-radius: 0;
    appearance: button;
    -webkit-appearance: button;
  }

  input[type="submit"]::-webkit-search-decoration,
  input[type="button"]::-webkit-search-decoration {
    display: none;
  }

  input[type="submit"]::focus,
  input[type="button"]::focus {
    outline-offset: -2px;
  }

  .footer .text {
    left: 50%;
    position: relative;
    display: inline-block;
    transform: translateX(-50%);
  }

  .footer .text .point {
    margin: 0 0 8px;
    font-size: 4.3vw;
  }

  .footer .text .to_hp {
    font-size: 3.3vw;
  }

  .footer .img {
    display: none;
  }

  .footer .address {
    padding-top: 40px;
  }

}


@media screen and (max-width: 667px) {
  
  .main,
  .sub {
    width: 100%;
  }
  
  .main {
    padding: 0 0 64px;
    margin: 0;
    border: none;
  }
  
  /* home */
  
  .home .main .articles,
  .category .main .articles {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  /* 記事詳細 */
  
  .single .contents .lead_contact {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin: 80px 0 16px;
  }
  
  .single .contents .lead_contact {
    font-size: 2rem;
  }
  
  .single .contents #contactform7 {
    margin: 32px 0 16px;
  }
  
  .single .contents #contactform7 .th,
  .single .contents #contactform7 .td {
    width: 100%;
    display: block;
  }
  
  .single .contents #contactform7 .th {
    border: none;
    padding: 10px 0 0;
  }
  
  .single .contents #contactform7 .td {
    padding: 0 0 10px;
  }
  
  .single .contents #contactform7 .td input,
  .single .contents #contactform7 .td textarea {
    font-size: 1.6rem;
  }
  
  .single .contents .contactform7 input[type="submit"] {
    width: auto;
    font-size: 1.8rem;
  }

}

@media screen and (max-width: 480px) {

}

@media screen and (max-width: 365px) {

}
