
/* ===================================
オンラインショップ
=================================== */

.online-shop {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  width: 100%;
  min-height: 365px;
}

.online-shop__image {
  overflow: hidden;
}

.online-shop__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.online-shop__content {
  background: #061F35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  text-align: center;
}

.online-shop__inner {
  width: 100%;
}

.online-shop__icon {
  display: block;
  width: 42px;
  height: auto;
  margin: 0 auto 25px;
}

.online-shop h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 15px;
}

.online-shop__inner > p {
  margin: 0 auto 25px;
}

.online-shop__inner > p strong,
.online-shop__inner > p em {
  font-weight: inherit;
  font-style: normal;
}

.online-shop__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 375px;
  min-height: 66px;
  margin: 0 auto;
  background: #fff;
  color: #000;
  border-radius: 100px;
  text-decoration: none;
  transition: 0.3s;
  border:1px solid #fff;
}

.online-shop__button p {
  margin: 0;
  font-size: 16px;
}

.online-shop__button:hover {
  opacity: 1;
  background:#000;
  color:#fff;
}


/* ===================================
フッター
=================================== */

.footer {
  background: #F7F6F2;
  padding: 60px 30px 25px;
  text-align: center;
}

/* ロゴ */

.footer-logo {
  margin: 0 auto 35px;
}

.footer-logo a {
  display: inline-block;
}

.footer-logo img {
  display: block;
  width: 195px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* SNS */

.footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-bottom: 45px;
}

.footer-sns a {
  display: block;
  transition: 0.3s;
}

.footer-sns a:hover {
  opacity: 0.6;
}

.footer-sns img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* フッターメニュー */

.footer .header-right {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display:block;
  padding: 0;
}

.footer .header_menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px 35px;
  text-align: left;
}


/* コピーライト */

.footer .copyright {
  margin: 45px 0 0;
  font-size: 12px;
}


/* ===================================
タブレット
=================================== */

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

  .online-shop {
    grid-template-columns: 22% 56% 22%;
  }

  .online-shop__content {
    padding: 45px 20px;
  }

  .online-shop h2 {
    font-size: 25px;
  }

  .footer .header_menu {
    gap: 25px 20px;
  }

  .footer .header_menu-item p {
    font-size: 13px;
  }

}


/* ===================================
スマートフォン
=================================== */

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

  .online-shop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
  }

  .online-shop__content {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 55px 20px;
  }

  .online-shop__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .online-shop__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .online-shop__image:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .online-shop__image:last-child {
    grid-column: 2;
    grid-row: 2;
  }

  .online-shop__icon {
    width: 42px;
    margin-bottom: 25px;
  }

  .online-shop h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .online-shop__inner > p {
    margin-bottom: 30px;
  }

  .online-shop__button p {
    font-size: 18px;
  }

  /* フッター */

  .footer {
    padding: 60px 20px 25px;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-logo img {
    width: 160px;
  }

  .footer-sns {
    gap: 30px;
    margin-bottom: 45px;
  }

  .footer-sns img {
    width: 26px;
    height: 26px;
  }

  .footer .header_menu {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 15px;
  }

  .footer .header_menu-item {
    padding-left: 15px;
  }

  .footer .header_menu-item::before {
    width: 5px;
    height: 5px;
    top: 9px;
  }

  .footer .header_menu-item p {
    font-size: 16px;
  }

  .footer .copyright {
    margin-top: 50px;
    font-size: 14px;
  }
  
  .footer .header-right {
    width: fit-content;
  }

}
