/* タブレット用 */
@media (max-width:1024px) {
  /* <ハンバーガーメニュー> */
  .offcanvas-end {
    width: 200px !important;
  }

  .navbar {
    top: 25px;
    right: 25px;
  }

  .font-size {
    font-size: 25px;
  }

  /* <ニュース一覧> */
  .news-container {
    width: 90%;
    margin: 50px auto 50px auto;
  }

  .news-wrapper {
    margin-left: 10px;
    margin-top: 20px;
  }

  .news-list {
    margin-left: 10px;
  }

  /* <ニュース詳細画面> */
  .news-detail-container {
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;/* 要素を縦に並べる */
    margin: 50px auto 100px auto;
  }

  .news-detail-wrapper {
    width: 90%;
    margin: 50px 5% 50px 5%;
  }

  /* <商品一覧> */
  .product-list-container {
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;/* 要素を縦に並べる */
    margin: 50px 5% 100px 5%;
  }

  .detail-container {
    margin: 50px auto 100px auto;
  }

  /* <商品詳細画面> */
  .product-detail-wrapper {
    flex-direction: column;/* 要素を縦に並べる */
    margin: 50px 0 100px 2%;
  }

  .product-detail-wrapper img {
    width: 100%;
  }

  .product-info {
    width: 100%;
    margin: 20px 0 0 0;
  }

  /* 店舗検索画面 */
  .search-stores-container {
    width: 80%;
  }

  /* 店舗一覧画面 */
  .locations-container {
    width: 80%;
  }

  .locations-wrapper {
    width: 80%;
    margin: 50px 12% 0 8%;
  }

  /*採用情報*/
  .careers-container {
    width: 90%;
  }

  /* 企業概要 */
  .corporate-container {
    width: 90%;
  }

  /* お問い合わせ画面 */
  .inquiry-container {
    width: 90%;
  }

  .inquiry-wrapper {
    width: 90%;
    margin: 50px 5% 0 5%;
  }

  .input-left {
    width: 45%;
  }

  .input-right {
    width: 55%;
  }

  .select-item select{
    width: 200px !important;
  }

  /* 店舗詳細画面 */
  .store-detail-wrapper {
    flex-direction: column;/* 要素を縦に並べる */
    margin: 50px 0 100px 2%;
  }

  .store-detail-wrapper img {
    width: 100%;
  }

  .store-info {
    width: 100%;
    margin: 20px 0 0 0;
  }
}

/* スマホ用 */
@media (max-width:670px) {

  /* <ハンバーガーメニュー> */
  .offcanvas-end {
    width: 180px !important;
  }

  .navbar {
    top: 20px;
    right: 20px;
  }

  .font-size {
    font-size: 20px;
  }

  /* <top画面> */
  /* スライドショー */
  .slideshow {
    height: 300px;
  }

  .slideshow img {
    height: 300px;
    object-fit: cover;
    object-position: center;
  }

  /* メインビュー */
  .mainview-wrapper h1 {
    font-size: 9vw;
  }

  .mainview-wrapper h2 {
    font-size: 9vw;
  }

  .mainview-info {
    font-size: 25px;
  }

  .mainview-info span {
    font-size: medium;
  }
  /* topニュース */
  .top-news {
    font-size: medium;
    width: 90%;
    margin: 0 5% 0 5%;
  }

  /* 目玉商品 */
  .featured-products-container {
    width: 90%;
    margin: 20px auto;
  }

  .featured-products-wrapper {
    margin: 10px auto 30px auto;
  }

  /* <ニュース一覧> */
  .news-container {
    min-width: 300px;
    width: 90%;
    margin: 50px auto 50px auto;
  }

  .news-wrapper {
    margin-left: 10px;
    margin-top: 20px;
  }

  .news-list {
    margin-left: 10px;
  }

  /* ニュース詳細画面 */
  .news-detail-container {
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;/* 要素を縦に並べる */
    margin: 30px auto 50px auto;
  }

  .news-detail-wrapper {
    width: 90%;
    margin: 10px 8% 30px 2%;
  }

  .news-detail-wrapper h2 {
    font-size: 30px;
  }

  /* パンくずリスト */
  .breadcrumb {
    font-size: small;
  }

  /* <商品一覧画面> */
  .product-list-container {
    width: 90%;
    margin: 30px 5% 50px 5%;
  }

  /* カテゴリー */
  .category {
    margin: 20px 0 10px 0;
  }

  /* 商品要素 */
  .item {
    width: 40%;
    margin: 20px 5% 0 5%;
  }

  .item p {
    font-size: clamp(10px, 2vw, 20px);
  }

  /* <商品詳細画面> */
  .detail-container {
    margin: 30px auto 50px auto;
  }

  .product-detail-wrapper {
    flex-direction: column;/* 要素を縦に並べる */
    margin: 30px 0 50px 2%;
  }

  .product-detail-wrapper img {
    width: 100%;
  }

  .product-info {
    width: 100%;
    margin: 20px 0 0 0;
  }

  .product-info h2 {
    font-size: 5vw;
  }

  /* <フッター> */
  .footer-info button {
    font-size: 0.8rem;
  }

  .contact-address {
    font-size: 0.8rem;
  }

  .contact-address p{
    font-size: 1.2rem;
    margin-bottom:3px;
  }

  /* 店舗検索画面 */
  .search-stores-container {
    width: 90%;
  }

  /* 店舗一覧画面 */
  .locations-container {
    width: 90%;
  }

  .locations-wrapper {
    width: 90%;
    margin: 50px 10% 0 0;
  }

  /*採用情報*/
  .careers-wrapper {
    font-size: medium;
  }

  .careers-wrapper tr {
    margin: 0 auto 0 auto;
    display: flex;
    flex-direction: column;
  }

  .careers-wrapper th {
    width: 100%;
  }

  .careers-wrapper td {
    width: 100%;
  }

  /* 企業概要 */
  .corporate-wrapper {
    font-size: medium;
  }

  .corporate-wrapper tr {
    margin: 0 auto 0 auto;
    display: flex;
    flex-direction: column;
  }

  .corporate-wrapper th {
    width: 100%;
  }

  .corporate-wrapper td {
    width: 100%;
  }

  /* お問い合わせ画面 */
  .inquiry-wrapper {
    font-size: medium;
  }

  .inquiry-list {
    flex-direction: column;
  }

  .inquiry-label {
    width: 100%;
    padding-right: 0;
    margin: 5px 0 5px 0;
    text-align: left;
    border-bottom: 0.5px solid rgb(168, 168, 168);
  }

  .inquiry-input {
    width: 100%;
    padding: 10px 10px 0 10px;
  }

  .input-left {
    width: 100%;
  }

  .input-right {
    margin-top: 10px;
    width: 100%;
  }

  .flex-element {
    display: block;
  }

  /* 店舗詳細画面 */
  .store-detail-wrapper {
    flex-direction: column;/* 要素を縦に並べる */
    margin: 30px 0 50px 2%;
  }

  .store-detail-wrapper img {
    width: 100%;
  }

  .store-info {
    width: 100%;
    margin: 20px 0 0 0;
  }

  .store-info h2 {
    font-size: 5vw;
  }

  #personalInfoBtn {
    margin-bottom: 10px;
  }
}
