* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: white;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
}


main {
    flex: 1;
}

.hiro img {
    width: 100%;
}

.cat_btn {
    padding: 5px 10px;
    border: 1px solid;
    border-radius: 50px;
    background: white;
    color: #333;
    min-width: 85px;
    text-align: center;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}
.cat_btn:hover {
    border: 1px solid;
    background: #333;
    color: white;
}
.card-profile {
    width: 100%; 
    max-width: 700px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.2rem 0 rgba(0,0,0,0.1);
}

.price {
    margin: 0;
    font-size: 1.4rem;
}

.btn {
    font-size: 90%;
    border-radius: 5rem;
    font-weight: bold;
}

.profile_table {
    width: 100%;
    border: 1px solid #D1DCEB;
    border-radius: 8px;
    border-collapse: separate;
    overflow: hidden;
}

.profile_table .header {
    width: 200px;
    padding: 16px 24px;
    text-align: left;
    background: #F1F4FA;
}

.profile_table .data {
    padding: 16px 24px;
}

.form_wrap {
    display: grid;
    gap:16px;
}

.form_wrap-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-control:focus {
    box-shadow: none;
}

.card-auth {
    width: 400px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.2rem 0.2rem 0 rgba(0,0,0,0.1);
}

.card-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.form-auth {
    width: 100%;

}

.form-label-group {
    margin-bottom: 1rem;
}

.form-label-group input {
    border-radius: 2rem;
}

.itemlist img {
    /* height: 150px; */
    object-fit: contain;
}

.product img {
    /* height: 350px; */
    object-fit: contain;
}

.order img {
    height: 100px;
    object-fit: contain;
}

.StripeElement {
    background-color: #f1f1f1;
    height: 40px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px 0 #E6EBF1;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #CFD7DF;
}

.StripeElement--invalid {
    border-color: #FA755A;
}

.StripeElement--webkit-autofill {
    background-color: #FEFDE5 !important;
}

input {
    width: 100%;
}



/* static/css/style.css */

/* 商品カードの基本スタイル */
.itemlist {
  position: relative; /* 疑似要素を配置するための基準 */
  border: 1px solid #dee2e6;
  transition: all 0.3s;
}

/* 枠線アニメーション用の疑似要素 */
.itemlist::before,
.itemlist::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  transition: all 0.4s ease; /* アニメーションの時間と速度 */
}

/* 上と左の線 */
.itemlist::before {
  top: 0;
  left: 0;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
}

/* 下と右の線 */
.itemlist::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
}

/* マウスオーバー時のスタイル */
.itemlist:hover {
    border-color: transparent; /* 元の枠線を消す */
}

.itemlist:hover::before,
.itemlist:hover::after {
  width: 100%;
  height: 100%;
  border-color: #bab9c0;
  border-radius:.25rem;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff!important;
    background-color: #343a40!important;
    border-color: #343a40!important;
}

.page-link {
    color: #343a40!important;
    background-color: #fff;
    border: 1px solid #dee2e6;
}