@charset "UTF-8";

/* =========================================
   ims-shops.css
   Shopsページ用 追加スタイル
   ========================================= */

.ims-padding400 {
  margin-top: 400px;
}

.ims-padding200 {
  margin-top: 200px;
}

.ims-padding68 {
  padding-top: 68px;
}

.ims-padding34 {
  padding-top: 34px;
}


.ims-shops-h1 {
  font-family: eb-garamond, serif;
  font-weight: 600;
  font-style: italic;

  display: block;
  margin-bottom: 68px;
  font-size: 4.8rem;
  color: #1b1b1b;
  text-align: center;
}

.ims-shops-h2 {
  font-family: eb-garamond, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;

  display: block;
  margin-bottom: 68px;
  font-size: 3.6rem;
  color: #1b1b1b;
  text-align: center;
}

.ims-body-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.ims-line {
  width: 100%;
  height: 1px;
  background-color: #1b1b1b;
  margin-bottom: 68px;
}

@media screen and (max-width: 900px) {
  .ims-line {
    width: 90%;
    height: 1px;
    background-color: #1b1b1b;
    margin-bottom: 68px;
    margin-left: auto;
    margin-right: auto;
  }
}

.physical__stores {
  display: block;
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
}

/* エリア見出し（東京都/大阪府） */
.stores__area {
  margin: 60px 0 20px;
  font-weight: 600;
}

/* 1店舗=3カラム */
.stores__row {
  display: grid;
  grid-template-columns: 180px 1fr 140px; /* 店名 / 住所TEL / ボタン */
  column-gap: 40px;
  padding: 18px 0;
}

/* テキスト */
.stores__name {
  font-weight: 500;
}

.stores__meta {
  line-height: 1.8;
  font-size: 14px;
}

.stores__cta {
  display: flex;
  justify-content: flex-end;
}

.stores__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 40px;

  border: 1px solid #999;
  background-color: transparent;
  color: #1b1b1b;

  text-decoration: none;
  font-size: 13px;

  transition: 
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* hover */
.stores__btn:hover {
  background-color: #1b1b1b;
  border-color: #1b1b1b;
  color: #ffffff;
}

@media (max-width: 768px) {
  .stores__area {
    text-align: center;
    margin: 40px 0 16px;
  }

  .stores__row {
    grid-template-columns: 1fr;
    row-gap: 12px;
    justify-items: center; /* ← これがポイント */
    text-align: center; /* ← テキスト中央 */
  }

  .stores__meta {
    text-align: center;
  }

  .stores__cta {
    justify-content: center; /* ボタン中央 */
    width: 100%;
  }

  .stores__btn {
    width: auto;
    min-width: 200px;
  }

  .ims-padding400 {
  margin-top: 200px;
}
}


.online__stores {
  display: block;
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
}

/* ===== Online Stores ===== */

/* グレーの横長ボタン（幅700px） */
.online__hero {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.online__heroBtn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 56px;                /* 好みで調整OK */
  background: #CDCDCD;
  color: #1b1b1b;
  text-decoration: none;

  border: 1px solid #CDCDCD;   /* 枠も同色でOK */
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  line-height: 1; 

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* hover（黒反転）※欲しければ */
.online__heroBtn:hover {
  background-color: #1b1b1b;
  border-color: #1b1b1b;
  color: #fff;
}

.stores__btn:hover,
.online__heroBtn:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .online__hero {
    max-width: none;   /* 700px制限を解除 */
  }

  .online__heroBtn {
    width: 90%;        
    margin: 0 auto;    /* 中央寄せ */
  }
}

/* Online Stores：3カラム */
.online__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 80px;  
  row-gap: 48px;

  width: 100%;
  max-width: 700px;  
  margin: 0 auto;
}

.online__item {
  text-align: center;
}

.online__name {
  margin-bottom: 16px;
  font-weight: 500;
}

.online__cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .online__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
  }
}

@media (max-width: 768px) {
  .online__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
}

@media (max-width: 768px) {
  .online__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .online__cta {
    justify-content: center;
  }
}

