@charset "utf-8";
/* ------------------------------
  店舗情報（shop-drug39）
------------------------------ */
/* 店舗ページの2カラム配置
   HTMLは本文→エリアナビの順だが、PCではエリアナビを左側に表示する。 */
.content-wrapper.two-columns {
  flex-direction: row-reverse;
  padding-top: 3rem;
}
/* 店舗一覧は営業時間・複数サービス・アクションを同時に扱うため、
   共通テーマ（70rem）より広い専用コンテナを使用する。 */
.p-sub-contents > .acms-container {
  width: 100%;
  max-width: calc(110rem + var(--container-space-x) * 2);
}

@media (min-width: 768px) and (max-width: 1100px) {
  .c-contents.p-sub-contents {
    padding-inline: 2rem;
  }

  .p-sub-contents > .acms-container {
    max-width: none;
    padding-inline: 0;
  }

  .content-wrapper.two-columns {
    max-width: none;
    margin: 0 auto;
    flex-direction: column-reverse;
    padding: 2rem 1rem 0;
    gap: 2rem;
  }

  .main-container,
  .side-container {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .content-wrapper.two-columns {
    flex-direction: column-reverse;
    padding: 3rem 2rem 0;
    gap: 2rem;
  }
}

#adminBox {
  margin-top: 0 !important;
}
.p-store-page-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: var(--line-height-sm);
}

.p-store-top-lead {
  max-width: 40rem;
  margin: 0 0 var(--gutter-lg);
  color: var(--color-text-2nd);
  line-height: var(--line-height-xl);
}

.p-store-pager-btn {
  font-size: 1.125rem;
}

/* ------------------------------
  悩み・目的別で店舗を探す（TOPページのみ）
------------------------------ */
.p-store-purpose {
  margin-bottom: 3rem;
  padding: 2rem 2rem 3rem;
  background: #F3F9FE;
  border: 2px solid #D9ECFC;
  border-radius: 1rem;
}

.p-store-purpose-heading {
  margin: 0 0 var(--gutter-lg);
  padding-left: 1.5rem;
  border-left: .7rem solid var(--color-primary);
  font-size: 2.8rem;
  line-height: 1.6;
}

.p-store-purpose-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-store-purpose-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.6rem 2rem;
  border: 1px solid #D9ECFC;
  border-radius: var(--border-radius-md);
  background-color: var(--color-bg-main);
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: bold;
  line-height: var(--line-height-sm);
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

.p-store-purpose-btn:hover {
  /* background-color: var(--color-primary);
  color: var(--color-text-inverse); */
  opacity: 0.5;
}

@media screen and (max-width: 767px) {
  .p-store-purpose {
    margin-bottom: 2rem;
  }

  .p-store-purpose-heading {
    margin: 0 0 2rem;
    padding-left: 1rem;
    border-left: .5rem solid var(--color-primary);
    font-size: 2rem;
  }
  .p-store-purpose-list {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .p-store-purpose-btn {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .p-store-purpose.p-store-area-sp .p-store-purpose-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-store-purpose.p-store-area-sp .p-store-purpose-btn {
    padding: 1.2rem 0;
    font-size: 1.3rem;
  }

}

.p-store-list {
  margin-top: 2rem;
}

/* ------------------------------
  店舗詳細検索パネル（TOP・一覧共通、現行サイトのレイアウトに準拠）
------------------------------ */
.p-store-search-panel {
  margin-bottom: 3rem;
  padding: 0 2rem;
  background: #F3F9FE;
  border: 2px solid #D9ECFC;
  border-radius: 1rem;
}

/* 閉じている間はsummary自体がクリック対象のすべてになるため、上下の余白はここで持たせて
   クリック範囲＝見た目の箱全体になるようにしている（開いた時の余白は -content 側で確保） */
.p-store-search-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

/* border-leftはテキストの行の高さだけに収まるよう、paddingを持つsummaryではなく内側のspanに付ける */
.p-store-search-panel-heading-text {
  padding-left: 1.5rem;
  border-left: .7rem solid var(--color-primary);
}

.p-store-search-panel-content {
  padding-bottom: 3rem;
}

.p-store-search-panel-heading::-webkit-details-marker {
  display: none;
}

.p-store-search-panel-heading::marker {
  content: "";
}

.p-store-search-panel-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--border-radius-round);
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  transition: transform .2s var(--ease-smooth, ease);
}

.p-store-search-panel-heading-icon::before {
  content: "";
  position: absolute;
  background: url(/themes/site-drug39/assets/img/common/ico-arrow.svg) no-repeat;
  background-size: 100% 100%;
  width: 1rem;
  height: 1rem;
  transform: rotate(90deg);
  filter: brightness(0) invert(1);
  top: 0.25rem;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

details[open] > .p-store-search-panel-heading .p-store-search-panel-heading-icon {
  transform: rotate(180deg);
}

@media screen and (max-width: 767px) {
  .p-store-search-panel-heading-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.p-store-search-panel-lead {
  margin: 0 0 2rem;
  font-size: 1.6rem;
}

.p-store-search-section {
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
}

.p-store-search-section + .p-store-search-section {
  margin-top: 2rem;
}

.p-store-search-section-heading {
  margin: 0 0 var(--gutter-sm);
  border-radius: var(--border-radius-sm);
  font-size: 1.8rem;
  text-align: left;
  background: no-repeat;
  padding: 0;
  color: var(--color-primary);
}

/* 選択中の条件チップ（店舗詳細検索パネルの枠の下、開閉に関わらず常に表示） */
.p-store-selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter-sm);
  margin: var(--gutter-sm) 0 0;
  padding: 0;
  list-style: none;
}

.p-store-selected-filters:empty {
  margin: 0;
}

.p-store-selected-filters-item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.5rem;
  border: var(--border-width-sm) solid var(--color-gray20);
  border-radius: var(--border-radius-round);
  background-color: var(--color-bg-main);
  font-size: 1rem;
  line-height: var(--line-height-none);
  cursor: pointer;
}

.p-store-selected-filters-item-remove {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-primary);
}

.p-store-search-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: var(--gutter-lg);
}

.p-store-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius-md);
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color .2s var(--ease-smooth, ease);
}

.p-store-search-submit:hover {
  background-color: var(--color-primary-hover);
}

.p-store-search-submit svg,
.p-store-search-submit img {
  width: 2.25rem;
  fill: currentColor;
  margin-left: -1rem;
}

@media screen and (max-width: 767px) {
  .p-store-search-panel {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
  }

  .p-store-search-panel-heading {
    padding: 2rem 0;
    font-size: 2rem;
  }

  .p-store-search-panel-heading-text {
    padding-left: 1rem;
    border-left: .5rem solid var(--color-primary);
  }

  .p-store-search-panel-content {
    padding-bottom: 3rem;
  }

  .p-store-search-panel-lead {
    margin: 0 0 2rem;
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .p-store-search-section {
    padding: 1rem 1.5rem;
    border-radius: .5rem;
  }

  .p-store-search-section + .p-store-search-section {
    margin-top: 1rem;
  }

  .p-store-search-section-heading {
    font-size: 1.6rem;
  }
  .p-store-search-actions {
    gap: 1.5rem;
  }
  .p-store-search-submit {
    max-width: 15rem;
    font-size: 1.4rem;
  }

  .p-store-selected-filters-item {
    font-size: 1.3rem;
  }
}


/* エリア一覧（サイドコンテナ幅で表示するため縦積み） */
.p-store-area-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* データのないカテゴリーノード（category:veil が偽のもの）は隙間として残さない */
.p-store-area-item:empty,
.p-store-area-item:not(:has(a)) {
  display: none;
}

.section-side-title {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.p-store-area-link {
  /* display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter-sm);
  padding: .625rem var(--entry-el-padding-sm);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-md);
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 500;
  transition: background-color .2s var(--ease-smooth, ease), border-color .2s var(--ease-smooth, ease); */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter-sm);
  color: var(--color-text);
  font-size: 1.6rem;
  font-weight: 500;
  transition: 0.3s;
  padding-left: 2rem;
}

.p-store-area-link::before {
  content: "";
  position: absolute;
  background: url(/themes/site-drug39/assets/img/common/ico-arrow.svg) no-repeat;
  background-size: 100% 100%;
  width: 1rem;
  height: 1.2rem;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.p-store-area-link:hover {
  opacity: 0.5;
}

.p-store-area-amount {
  color: var(--color-text-2nd);
  font-size: 1rem;
}

/* タブレット・スマホでは、下部ナビとして横幅を使うリンクグリッドにする。 */
@media screen and (max-width: 1100px) {
  .p-store-purpose.p-store-area-sp {
    display: none !important;
  }

  .p-store-card-list {
    margin-bottom: 1rem;
  }

  .side-container .section-side {
    padding: 2rem;
    border: 1px solid #d9ecfc;
    border-radius: 1rem;
    background: #f3f9fe;
  }

  .side-container .section-side-header {
    margin-bottom: 1.5rem;
  }

  .side-container .section-side-title {
    padding-left: 1.2rem;
    border-left: .5rem solid var(--color-primary);
    font-size: 1.8rem;
  }

  .side-container .p-store-area-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem 1rem;
  }

  .side-container .p-store-area-link {
    min-height: 4.4rem;
    padding: .8rem 1rem .8rem 2.6rem;
    border: 1px solid #d9ecfc;
    border-radius: .5rem;
    background: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
  }

  .side-container .p-store-area-link::before {
    left: 1rem;
    width: .8rem;
    height: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .side-container .section-side {
    padding: 1.5rem;
  }

  .side-container .section-side-title {
    font-size: 1.8rem;
  }

  .side-container .p-store-area-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
  }

  .side-container .p-store-area-link {
    min-height: 4.2rem;
    padding: .7rem .7rem .7rem 2.3rem;
    font-size: 1.3rem;
  }

  .side-container .p-store-area-link::before {
    left: .8rem;
  }
}

/* タグ検索チェックボックス */
.p-store-search-checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}
.p-store-search-checkbox-list li {
  min-width: 29rem;
}

.p-store-search-checkbox-list label {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.5rem;
  line-height: 1.6;
  cursor: pointer;
}

/* PCでは検索領域の横幅を活かし、選択肢を読みやすい4列で配置する。 */
@media (min-width: 1101px) {
  .p-store-search-checkbox-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 1.2rem;
  }

  .p-store-search-checkbox-list li {
    min-width: 0;
  }
}

.p-store-search-checkbox-list input[type="checkbox"] {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .p-store-search-checkbox-list {
    gap: 0.2rem .5rem;
  }

  .p-store-search-checkbox-list li {
    min-width: 49%;
  }

  .p-store-search-checkbox-list label {
    align-items: flex-start;
    gap: .5rem;
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .p-store-search-checkbox-list input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: .25em;
  }
}


/* ------------------------------
  店舗一覧カード
------------------------------ */
.p-store-list-header {
  margin-bottom: 3rem;
  text-align: center;
}

.p-store-list-heading {
  margin: 0;
  color: #071b3d;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.3;
}

.p-store-list-heading span {
  position: relative;
  top: -.25em;
  margin-left: .15em;
  color: #df008f;
  font-size: .75em;
}

.p-store-list-lead {
  margin: .75rem 0 0;
  color: #243a5f;
  font-size: 1rem;
}

.p-store-card-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 0 var(--gutter-lg);
  padding: 0;
  list-style: none;
}

.p-store-card {
  padding: 2rem;
  border: 1px solid #d7e7f4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .6rem 1.5rem rgba(61, 112, 154, .08);
}

.p-store-card-heading {
  margin: 0;
  color: #071b3d;
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  line-height: 1.4;
}

.p-store-card-heading a {
  color: inherit;
}

.p-store-card-body {
  display: flex;
  flex-direction: column;
}

.p-store-card-info,
.p-store-card-main,
.p-store-card-actions {
  min-width: 0;
  padding-inline: 2rem;
}

.p-store-card-info {
  grid-column: 1 / -1;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid #cfdeeb;
}

.p-store-card-main {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0;
  border-left: 0;
}

.p-store-card-actions {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid #cfdeeb;
  border-left: 0;
}

.p-store-card-address {
  margin: 1.2rem 0 0;
  color: #243a5f;
  font-size: .9375rem;
  line-height: 1.6;
}

.p-store-card-postal-code,
.p-store-card-address-text {
  display: block;
}

.p-store-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: .8rem;
}

.p-store-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .35rem 1.5rem;
  border-radius: 999px;
  background: #e2f3ff;
  color: #0670c9;
  font-size: .875rem;
  font-weight: bold;
  white-space: nowrap;
}

.p-store-card-main {
  display: flex;
  align-items: center;
}

.p-store-card-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0;
}

.p-store-card-detail-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.8rem;
  padding: .8rem 3.5rem .8rem 1.5rem;
  border: 2px solid #0871d1;
  border-radius: .5rem;
  background: #fff;
  color: #0871d1;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}

.p-store-card-detail-btn::after,
.p-store-card-actions .p-store-line-btn::after {
  content: "";
  position: absolute;
  right: 1.6rem;
  width: .9rem;
  height: .9rem;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.p-store-card-detail-btn:hover {
  background-color: #0871d1;
  color: #fff;
}

.p-store-summary-hours {
  width: 100%;
}

.p-store-summary-hours-group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  border-radius: .6rem;
  background: #f1f7fb;
}

.p-store-summary-hours-group + .p-store-summary-hours-group {
  margin-top: .8rem;
}

.p-store-summary-hours-dept {
  display: flex;
  align-items: center;
  margin: .8rem 0;
  padding: 0 1.2rem;
  border-right: 1px solid #fff;
  color: #071b3d;
  font-size: .875rem;
  white-space: nowrap;
}

.p-store-summary-hours-table {
  min-width: 0;
  margin: 0;
  padding: .6rem 1.2rem;
}

.p-store-summary-hours-dept + .p-store-summary-hours-table {
  padding-left: 1.2rem;
}

.p-store-summary-hours-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, .8fr) minmax(10rem, 1.2fr);
  align-items: center;
  gap: 1rem;
  padding: .35rem 0;
  color: #071b3d;
}

.p-store-summary-hours-row + .p-store-summary-hours-row {
  border-top: 1px solid #cfdeeb;
}

.p-store-summary-hours-row dt,
.p-store-summary-hours-row dd {
  margin: 0;
}

.p-store-summary-hours-row dt {
  font-size: .8125rem;
}

.p-store-summary-hours-row dd {
  font-size: 1.0625rem;
  font-weight: bold;
  white-space: nowrap;
}

.p-store-summary-hours-note {
  margin: .35rem 0 0;
  color: #52657e;
  font-size: .75rem;
}

.p-store-card-actions .p-store-line-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  min-height: 4.8rem;
  padding: .8rem 3.5rem .8rem 4.5rem;
  border: 2px solid currentColor;
  border-radius: .5rem;
  background: #fff;
  font-size: 1rem;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}

.p-store-card-actions .p-store-line-btn::before {
  content: "LINE";
  position: absolute;
  left: 1.3rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--store-line-color);
  color: #fff;
  font-size: .625rem;
  line-height: 1;
}

.p-store-card-actions .p-store-line-btn--add {
  --store-line-color: #06b94d;
  color: var(--store-line-color);
}

.p-store-card-actions .p-store-line-btn--prescription {
  --store-line-color: #0498ab;
  color: var(--store-line-color);
}

.p-store-card-actions .p-store-line-btn:hover {
  color: #fff;
  opacity: 1;
}

.p-store-card-actions .p-store-line-btn--add:hover {
  background: #06b94d;
}

.p-store-card-actions .p-store-line-btn--prescription:hover {
  background: #0498ab;
}

/* PCでは110remの一覧幅に合わせ、カード内の可読性を確保する。 */
@media (min-width: 1101px) {
  .p-store-card-heading {
    font-size: 2.2rem;
  }

  .p-store-card-tag {
    font-size: 1.4rem;
  }

  .p-store-card-address {
    font-size: 1.5rem;
  }

  .p-store-summary-hours-dept {
    font-size: 1.4rem;
  }

  .p-store-summary-hours-row dt {
    font-size: 1.3rem;
  }

  .p-store-summary-hours-row dd {
    font-size: 1.7rem;
  }

  .p-store-card-detail-btn,
  .p-store-card-actions .p-store-line-btn {
    font-size: 1.6rem;
  }
}

/* タブレットではPC用文字サイズの直前で極端に小さくならないよう補間する。 */
@media (min-width: 768px) and (max-width: 1100px) {
  .p-store-search-panel {
    margin-bottom: 2rem;
  }

  .p-store-list-header {
    margin-bottom: 2rem;
  }

  .p-store-card-list {
    gap: 1.5rem;
  }

  .p-store-card-heading {
    font-size: 2.2rem;
  }

  .p-store-card-tag {
    font-size: 1.4rem;
  }

  .p-store-card-address {
    font-size: 1.5rem;
  }

  .p-store-summary-hours-dept {
    font-size: 1.4rem;
  }

  .p-store-summary-hours-row dt {
    font-size: 1.3rem;
  }

  .p-store-summary-hours-row dd {
    font-size: 1.7rem;
  }

  .p-store-summary-hours-note {
    font-size: 1.2rem;
  }

  .p-store-list-lead {
    font-size: 1.5rem;
  }

  .p-store-card-detail-btn,
  .p-store-card-actions .p-store-line-btn {
    font-size: 1.6rem;
  }
}

/* タブレット～中間幅も、横幅を活かして店舗情報・営業時間・アクションを1行に配置。 */
@media (min-width: 768px) and (max-width: 1439px) {
  .p-store-card-body {
    display: grid;
    grid-template-columns: minmax(16rem, .8fr) minmax(26rem, 1.3fr) minmax(20rem, .85fr);
    align-items: stretch;
  }

  .p-store-card-info {
    grid-column: auto;
    padding: 0 1.2rem 0 0;
    border-bottom: 0;
  }

  .p-store-card-main {
    margin-top: 0;
    padding: 0 1.2rem;
    border-left: 1px solid #cfdeeb;
  }

  .p-store-card-actions {
    margin-top: 0;
    padding: 0 0 0 1.2rem;
    border-top: 0;
    border-left: 1px solid #cfdeeb;
  }
}

/* 広い画面：店舗情報・営業時間・アクションの3列。 */
@media (min-width: 1440px) {
  .p-store-card-body {
    display: grid;
    grid-template-columns: minmax(16rem, .8fr) minmax(28rem, 1.3fr) minmax(24rem, .8fr);
    align-items: stretch;
  }

  .p-store-card-info {
    grid-column: auto;
    padding: 0 1.5rem 0 0;
    border-bottom: 0;
  }

  .p-store-card-main {
    margin-top: 0;
    padding: 0 1.5rem;
    border-left: 1px solid #cfdeeb;
  }

  .p-store-card-actions {
    margin-top: 0;
    padding-left: 1.5rem;
    border-top: 0;
    border-left: 1px solid #cfdeeb;
  }
}

@media screen and (max-width: 767px) {
  .p-store-list-header {
    margin-bottom: 2rem;
  }

  .p-store-list-lead {
    font-size: 1.4rem;
  }

  .p-store-card {
    padding: 1.5rem;
  }

  .p-store-card-body {
    display: flex;
    flex-direction: column;
  }

  .p-store-card-info,
  .p-store-card-main,
  .p-store-card-actions {
    width: 100%;
    padding: 0;
    border-left: 0;
  }

  .p-store-card-heading {
    font-size: 1.8rem;
    line-height: 1.5;
  }

  .p-store-card-address {
    font-size: 1.4rem;
  }

  .p-store-card-tag {
    font-size: 1.3rem;
  }

  .p-store-summary-hours-dept {
    font-size: 1.3rem;
  }

  .p-store-summary-hours-row dt {
    font-size: 1.2rem;
  }

  .p-store-card-main {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0;
  }

  .p-store-summary-hours-row {
    grid-template-columns: minmax(8rem, .8fr) minmax(9rem, 1.2fr);
  }

  .p-store-summary-hours-row dd {
    font-size: 1.5rem;
  }

  .p-store-card-detail-btn,
  .p-store-card-actions .p-store-line-btn {
    font-size: 1.4rem;
  }

  .p-store-card-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #cfdeeb;
  }
}

.p-store-card-empty {
  padding: var(--gutter-lg) 0;
  color: var(--color-text-2nd);
  text-align: center;
}

/* ------------------------------
  店舗詳細
------------------------------ */
.p-store-detail-section {
  margin-bottom: 4rem;
}
@media screen and (max-width: 767px) {
  .p-store-detail-section {
    margin-bottom: 3rem;
  }
}
.p-store-detail-heading {
  margin-inline: 2rem;
  margin-bottom: 3rem;
  padding-left: 1.5rem;
  border-left: .7rem solid var(--color-primary);
  font-size: 2.8rem;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .p-store-detail-heading {
    margin: 0 0 1.5rem;
    font-size: 2.4rem;
  }
}

.p-store-detail-address {
  margin: 0 0 2rem;
  line-height: var(--line-height-xl);
  font-size: 2rem;
}

@media screen and (max-width: 767px) {
  .p-store-detail-address {
    font-size: 1.5rem;
  }
}

.p-store-map {
  position: relative;
  aspect-ratio: 16 / 9;
}

.p-store-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.p-store-detail-hours {
  width: 100%;
  border-collapse: collapse;
}

.p-store-detail-hours th,
.p-store-detail-hours td {
  padding: .75rem 1rem;
  border: var(--border-width-sm) solid var(--color-gray20);
  text-align: left;
  vertical-align: top;
}

.p-store-detail-hours th {
  width: 9rem;
  background-color: var(--color-gray10);
  font-weight: bold;
}

.p-store-detail-holiday {
  display: block;
  margin-top: .25rem;
  color: var(--color-text-2nd);
  font-size: 1.125rem;
}

.p-store-detail-contact,
.p-store-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-store-detail-contact li,
.p-store-detail-list li {
  padding: .5rem 0;
  border-bottom: var(--border-width-sm) solid var(--color-gray20);
}

.p-store-detail-contact li:last-child,
.p-store-detail-list li:last-child {
  border-bottom: none;
}

.p-store-detail-contact .label {
  display: inline-block;
  min-width: 10rem;
  color: var(--color-text-2nd);
  font-size: 1.125rem;
}

.p-store-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-store-detail-badges-item img {
  width: 9.05rem;
  height: 9.05rem;
}

.p-store-detail-badges-item--text {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1.4rem;
  border: var(--border-width-sm) solid var(--color-gray20);
  border-radius: var(--border-radius-round);
  font-size: 1.4rem;
  line-height: var(--line-height-none);
}

@media screen and (max-width: 767px) {
  .p-store-detail-badges-item img {
    width: 6.25rem;
    height: 6.25rem;
  }

  .p-store-detail-badges-item--text {
    padding: .5rem 1rem;
    font-size: 1.2rem;
  }
}

.p-store-related {
  margin-top: var(--section-space-y);
}

.p-store-detail-note {
  margin: .5rem 0 0;
  color: var(--color-text-2nd);
  font-size: 1rem;
}

/* 見出し（h2よりやや軽い、セクション内小見出し用） */
.p-store-detail-subheading {
  margin: 0 0 var(--gutter-sm);
  font-size: 3.2rem;
  font-weight: bold;
  padding-left: 5rem;
}
.p-store-detail-subheading::before {
  content: "";
  position: absolute;
  background: url(/themes/site-drug39/assets/img/common/ico-ttl.svg) no-repeat;
  background-size: auto;
  background-size: 100% 100%;
  width: 3.4rem;
  height: 3.5rem;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .p-store-detail-subheading {
    font-size: 2.2rem;
    padding-left: 3.5rem;
  }
  .p-store-detail-subheading::before {
    width: 2.4rem;
    height: 2.5rem;
  }
}

/* ------------------------------
  薬局のご利用にあたって
------------------------------ */
.p-store-pdf-box {
  padding: 3rem;
  border: var(--border-width-sm) solid var(--primary-color);
  border-radius: var(--border-radius-md);
}

.p-store-pdf-box-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter-md);
}

.p-store-pdf-link-wrap {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 30rem) {
  .p-store-pdf-link-wrap {
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  .p-store-pdf-box {
    padding: 2rem;
  }

  .p-store-pdf-box-top {
    gap: 1rem;
  }
}

.p-store-pdf-link {
  display: block;
  color: var(--color-text);
  text-align: left;
  padding: 2.5rem 3rem 3rem 5rem;
  border: 1px solid var(--color-danger);
  border-radius: var(--border-radius-md);
  position: relative;
}
.p-store-pdf-link::before {
  content: "";
  position: absolute;
  width: 1rem;
  height: calc(100% - 5rem);
  background: var(--color-danger);
  left: 2rem;
  top: 0;
  bottom: 0;
  margin: auto;
}

.p-store-pdf-link-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.p-store-pdf-icon {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
}

.p-store-pdf-title {
  margin: 0;
  font-size: 2.8rem;
  font-weight: bold;
}

.p-store-pdf-store-name {
  margin: .125rem 0 0;
  color: var(--color-text-2nd);
  font-size: 1.6rem;
}

.p-store-pdf-caption {
  margin: .75rem 0 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.p-store-pdf-desc {
  flex: 1;
  min-width: 12rem;
  font-size: 1.6rem;
  line-height: var(--line-height-lg);
}

.p-store-pdf-desc ul {
  margin: 0;
}
.p-store-pdf-desc ul li {
  line-height: 1.8;
  text-indent: -1rem;
  margin-left: 1rem;
}
.p-store-pdf-desc ul li::before {
  content: "・";
}

.p-store-pdf-desc p {
  margin: .25rem 0 0;
}

.p-store-pdf-note {
  margin: var(--gutter-sm) 0 0;
  color: var(--color-text-2nd);
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
  .p-store-pdf-link {
    padding: 1.5rem 2rem 1.5rem 3rem;
  }
  .p-store-pdf-link::before {
    width: 0.5rem;
    height: calc(100% - 3rem);
    left: 1rem;
  }

  .p-store-pdf-icon {
    width: 4rem;
    height: 4rem;
  }

  .p-store-pdf-title {
    font-size: 1.6rem;
  }

  .p-store-pdf-store-name {
    font-size: 1.0rem;
  }

  .p-store-pdf-caption {
    font-size: 1.2rem;
  }

  .p-store-pdf-desc {
    font-size: 1.3rem;
  }
  .p-store-pdf-note {
    font-size: 1.2rem;
  }
}

/* ------------------------------
  写真ギャラリー（2枚以上：センターモードSwiper＋サムネイル／1枚のみ：静止画）
------------------------------ */
.p-store-gallery-main {
  overflow: visible;
  padding: 0 2.5rem;
}

.p-store-gallery-main .swiper-slide {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  opacity: .5;
  transition: opacity .3s var(--ease-smooth, ease);
}

.p-store-gallery-main .swiper-slide-active {
  opacity: 1;
}

.p-store-gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.p-store-gallery-main .swiper-button-next,
.p-store-gallery-main .swiper-button-prev {
  top: 0;
  bottom: 0;
  margin: auto;
  width: 6rem;
  height: 6rem;
  background: none;
}

.p-store-gallery-main .swiper-button-next {
  right: 8rem;
}

.p-store-gallery-main .swiper-button-prev {
  left: 8rem;
}

.p-store-gallery-main .swiper-button-next::before,
.p-store-gallery-main .swiper-button-prev::before {
  content: "";
  position: absolute;
  top: 0;
  right: -.25rem;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 1.2rem;
  height: 1.8rem;
  background: url(/themes/site-drug39/assets/img/common/ico-arrow.svg) no-repeat;
  background-size: 100% 100%;
  z-index: 1;
}

.p-store-gallery-main .swiper-button-prev::before {
  right: 0;
  left: -0.5rem;
  transform: scale(-1, -1);
}

.p-store-gallery-main .swiper-button-next::after,
.p-store-gallery-main .swiper-button-prev::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  border: var(--border-width-sm) solid var(--color-primary);
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.p-store-gallery-thumbs {
  max-width: 83rem;
  margin: 1rem auto 0;
}

.p-store-gallery-thumbs .swiper-slide {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  opacity: .5;
  transition: opacity .3s var(--ease-smooth, ease);
}

.p-store-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.p-store-gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.p-store-gallery--single img {
  display: block;
  width: 100%;
  border-radius: var(--border-radius-md);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 47.9375rem) {
  .p-store-gallery-main {
    padding: 0 1.5rem;
  }
}

/* ------------------------------
  LINE公式アカウント（ボタン＋モーダル）
------------------------------ */
.p-store-line-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.p-store-line-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius-md);
  color: var(--color-text-inverse);
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s var(--ease-smooth, ease);
  max-width: 25rem;
}

.p-store-line-btn:hover {
  opacity: .85;
}

.p-store-line-btn--add {
  background-color: #06c755;
}

.p-store-line-btn--prescription {
  background-color: #00838f;
}

.p-store-note-box {
  padding: 3rem;
  border: var(--border-width-sm) solid #00838f;
  border-radius: var(--border-radius-md);
  font-size: 2rem;
  line-height: var(--line-height-xl);
}

.p-store-note-box p {
  margin: 0;
}

.p-store-note-box p.p-store-note-box-title {
  margin: 0 0 .5rem;
  color: #00838f;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .p-store-line-buttons {
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }

  .p-store-line-btn {
    padding: 1rem;
    font-size: 1.5rem;
  }

  .p-store-note-box {
    padding: 2rem;
    font-size: 1.5rem;
  }
}

/* モーダルの開閉は assets/js/store.js で .is-open クラスを切り替えて制御 */
.p-store-line-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  /* SPナビ展開時の .c-header.open (z-index: 10000) より必ず手前に表示 */
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: var(--gutter-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s cubic-bezier(.4,0,.2,1), visibility 0s linear .25s;
}

.p-store-line-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}

.p-store-line-overlay-bg {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background-color: rgba(0, 0, 0, .6);
  cursor: pointer;
}

.p-store-line-dialog {
  position: relative;
  max-width: 42rem;
  width: 100vw;
  overflow-y: auto;
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--color-white);
  text-align: center;
  transform: scale(.92);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}

.p-store-line-overlay.is-open .p-store-line-dialog {
  transform: scale(1);
}

.p-store-line-dialog-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border: none;
  background: none;
  padding: 0;
  color: var(--color-text);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

html.is-store-modal-open,
html.is-store-modal-open body {
  overflow: hidden;
}

/* モーダル表示中は固定ヘッダーの当たり判定を無効化（body直下への移動と併用） */
html.is-store-modal-open .c-header {
  pointer-events: none;
}

.p-store-line-dialog-title {
  margin: 0 0 2rem;
  font-size: 3rem;
  color: var(--primary-color);
}

.p-store-line-dialog-qr {
  width: 15rem;
  object-fit: contain;
  margin: 0 auto;
}

.p-store-line-dialog-caption {
  margin: 1rem 0 0;
  font-size: 2rem;
  line-height: var(--line-height-lg);
}

.p-store-line-dialog-link {
  margin: 1rem 0 0;
  font-size: 1.6rem;
}

.p-store-line-dialog .p-store-note-box {
  margin-top: 2rem;
  padding: 2rem;
  font-size: 1.4rem;
}

.p-store-line-dialog .p-store-note-box p {
  text-align: left;
}

.p-store-line-dialog .p-store-note-box p.p-store-note-box-title {
  text-align: center;
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  .p-store-line-dialog {
    padding: 3rem;
  }
  .p-store-line-dialog-close {
    top: .5rem;
    right: .5rem;
    width: 4.4rem;
    height: 4.4rem;
    font-size: 3rem;
  }

  .p-store-line-dialog-title {
    margin: 0 0 1.5rem;
    font-size: 1.8rem;
  }

  .p-store-line-dialog-qr {
    width: 20rem;
  }

  .p-store-line-dialog-caption {
    margin: 2rem 0 0;
    font-size: 1.6rem;
  }

  .p-store-line-dialog-link {
    font-size: 1.4rem;
  }
  .p-store-line-dialog-link a {
    text-decoration: underline;
  }
}

/* ------------------------------
  パート・アルバイト／トクバイ カード
------------------------------ */
.p-store-info-cards {
  display: flex;
  justify-content: center;
  gap: var(--gutter-sm);
}

.p-store-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  padding: 3rem;
  border: var(--border-width-sm) solid var(--primary-color);
  border-radius: var(--border-radius-md);
  color: var(--color-text);
  text-align: center;
  transition: .2s var(--ease-smooth, ease);
  flex: 1;
  max-width: 60rem;
}

.p-store-info-card-sub {
  font-size: 2rem;
  color: var(--color-text-2nd);
}

.p-store-info-card-main {
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  .p-store-info-cards {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .p-store-info-card {
    padding: 2rem 1rem;
    width: 100%;
    flex: inherit;
  }

  .p-store-info-card-sub {
    font-size: 1.4rem;
  }

  .p-store-info-card-main {
    font-size: 1.8rem;
  }
}

/* ------------------------------
  部門情報（グループ表：ドラッグ＋スマイル系／調剤＋在宅応需／漢方）
------------------------------ */
.p-store-card-dept {
  display: flex;
  gap: 2rem;
}
.p-store-dept-group {
  /* display: flex;
  gap: var(--gutter-md); */
  padding-bottom: var(--gutter-md);
  /* border-bottom: 2px dashed var(--color-gray20); */
  flex: 1;
}

/* .p-store-dept-group + .p-store-dept-group {
  margin-top: var(--gutter-md);
} */

.p-store-dept-group:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.p-store-dept-tags {
  display: flex;
  /* flex-direction: column; */
  gap: 0.8rem;
  /* flex-shrink: 0;
  width: 15rem;
  margin-top: 1.5rem; */
}

.p-store-dept-tag {
  padding: .25rem 1rem;
  border-radius: var(--border-radius-sm);
  color: var(--color-text-inverse);
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  min-width: 7.5rem;
}

.p-store-dept-tag--drug { background-color: #e83e8c; }
.p-store-dept-tag--smile { background-color: #f0ad4e; }
.p-store-dept-tag--exercise { background-color: #4a90d9; }
.p-store-dept-tag--pharmacy { background-color: #00a99d; }
.p-store-dept-tag--home_visit { background-color: #f2802e; }
.p-store-dept-tag--kampo { background-color: #8e6fa6; }

.p-store-dept-table {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.p-store-dept-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding: 1.5rem 0;
  border-bottom: var(--border-width-sm) solid var(--color-gray20);
}

/* .p-store-dept-row:last-child {
  border-bottom: none;
} */

.p-store-dept-row dt {
  width: 10rem;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 1.5rem;
}

.p-store-dept-row dd {
  flex: 1;
  min-width: 10rem;
  margin: 0;
  font-size: 1.5rem;
}

.p-store-dept-hours-line {
  display: block;
}

.p-store-dept-note {
  display: block;
  margin-top: .125rem;
  color: var(--color-text-2nd);
  font-size: 1.4rem;
}

@media screen and (max-width: 767px) {
  .p-store-card-dept {
    flex-wrap: wrap;
  }
  .p-store-dept-group {
    gap: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    flex: inherit;
  }

  .p-store-dept-tags {
    margin-top: 0;
    width: 100%;
  }

  .p-store-dept-tag {
    padding: .25rem 1.5rem;
    font-size: 1.4rem;
  }

  .p-store-dept-table {
    flex: inherit;
    width: 100%;
  }

  .p-store-dept-row {
    padding: 1rem 0;
  }
  
  .p-store-dept-row dt {
    width: 11rem;
    font-size: 1.3rem;
  }

  .p-store-dept-row dd {
    font-size: 1.3rem;
  }
  

  .p-store-dept-note {
    font-size: 1.2rem;
  }
}

/* ------------------------------
  検索パネル 補助スタイル
------------------------------ */
.p-store-search-reset {
  display: inline-block;
  margin-top: 0;
  background: none;
  color: var(--color-text-2nd);
  font-size: 1.6rem;
  cursor: pointer;
  text-decoration: underline;
}

.p-store-search-reset:hover {
  border-color: var(--primary-color);
  color: var(--color-text-primary);
}

@media screen and (max-width: 767px) {
  .p-store-search-reset {
    font-size: 1.4rem;
  }
}

/* ------------------------------
  サイド追従(js-pretty-scroll)がヘッダー(position:fixed)と被らないようオフセット
------------------------------ */
.js-pretty-scroll-before {
  height: auto !important;
}
.side-container .js-pretty-scroll {
  /* top: 15rem !important;
  position: sticky !important; */

  top: 0 !important;
  position: relative !important;
  left: 0 !important;
}


.acms-admin-btn-admin.acms-admin-btn-admin-primary.acms-admin-btn-admin-save.acms-admin-float-right {
  z-index: 10;
}


.serial-nav-item-index a {
  box-sizing: border-box;
  background: var(--color-white);
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 30rem);
  min-width: 26rem;
  min-height: 5.6rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding: 1.2rem 5rem 1.2rem 2rem;
  white-space: nowrap;
}
.serial-nav-item-index a::before {
  display: none;
}
.serial-nav-item-index a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  bottom: auto;
  left: auto;
  width: .9rem;
  height: .9rem;
  margin: 0;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-radius: 0;
  background: transparent;
  filter: none;
  transform: translateY(-50%) rotate(45deg);
}

.serial-nav-item-index a:hover::after {
  background-color: transparent;
}

@media screen and (max-width: 767px) {
  .serial-nav-item-index a {
    width: min(100%, 28rem);
    min-width: 0;
    min-height: 5rem;
    font-size: 1.5rem;
    padding: 1rem 4.5rem 1rem 1.5rem;
  }
  .serial-nav-item-index a::after {
    right: 1.6rem;
  }
}

/* ------------------------------
  店舗詳細ページ（一覧カードとトーンを統一）
------------------------------ */
.p-store-entry {
  color: #0a2446;
}

.p-store-entry > .entry {
  max-width: none;
}

.p-store-entry .entry-header {
  margin: 0 0 3.2rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.p-store-entry .entry-header-title {
  margin: 0 0 1.2rem;
  padding: 0 0 0 1.5rem;
  border: 0;
  border-left: .6rem solid var(--color-primary);
  color: #0a2446;
  font-size: clamp(2.6rem, 2.6vw, 3.4rem);
  line-height: 1.45;
  letter-spacing: .02em;
}

.p-store-entry .entry-header-title::before {
  display: none;
}

.p-store-entry .entry-header-category-label {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: #e3f3ff;
  color: #0872c9;
  font-size: 1.4rem;
  line-height: 1.4;
}

.p-store-entry .acms-entry.entry-style {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: .02em;
}

.p-store-detail-section {
  margin: 0 0 4rem;
}

.p-store-detail-section--gallery {
  margin-bottom: 4.4rem;
}

.p-store-detail-section--features {
  margin-bottom: 4.8rem;
}

.p-store-detail-section--pdf,
.p-store-detail-section--line {
  margin-bottom: 3.6rem;
}

.p-store-detail-section--links {
  margin-bottom: 4.4rem;
}

.p-store-detail-section--basic {
  margin-bottom: 5rem;
}

.p-store-detail-section--departments {
  margin-bottom: 3.2rem;
}

.p-store-detail-section:not(.p-store-detail-section--gallery) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.p-store-detail-subheading {
  position: relative;
  margin: 0 0 2rem;
  padding: 0 0 0 1.4rem;
  border-left: .6rem solid var(--color-primary);
  color: #0a2446;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}

.p-store-detail-subheading::before {
  display: none;
}

.p-store-detail-badges {
  gap: .8rem;
}

.p-store-detail-badges-item--text {
  min-height: 3.8rem;
  padding: .7rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #e3f3ff;
  color: #0872c9;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}

.p-store-gallery {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.p-store-gallery-main {
  padding: 0;
}

.p-store-gallery-main .swiper-slide,
.p-store-gallery--single img {
  border-radius: 0;
}

.p-store-gallery-main .swiper-button-next {
  right: 2rem;
}

.p-store-gallery-main .swiper-button-prev {
  left: 2rem;
}

.p-store-gallery-thumbs {
  max-width: none;
  margin: 0;
  padding: 1.2rem;
  border-top: 1px solid #d7e7f4;
}

.p-store-gallery-thumbs .swiper-slide {
  width: 12rem;
}

.p-store-pdf-box {
  padding: 0;
  border: 0;
}

.p-store-pdf-box-top {
  display: grid;
  grid-template-columns: minmax(28rem, .9fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: start;
}

.p-store-pdf-link-wrap {
  display: flex;
  flex-direction: column;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.p-store-pdf-link {
  display: flex;
  align-items: center;
  min-height: 11rem;
  padding: 1.6rem 2rem;
  border: 1px solid var(--color-danger);
  border-radius: .8rem;
  background: #fff;
}

.p-store-pdf-link::before {
  display: none;
}

.p-store-pdf-link-top {
  width: 100%;
  padding: 0;
}

.p-store-pdf-link-text {
  min-width: 0;
}

.p-store-pdf-title {
  color: #0a2446;
  font-size: 1.9rem;
  line-height: 1.5;
}

.main .entry-style .p-store-pdf-title {
  margin-block: 0;
}

.p-store-pdf-store-name {
  margin-top: .7rem;
  font-size: 1.35rem;
  line-height: 1.6;
}

.main .entry-style .p-store-pdf-store-name {
  margin-block: .7rem 0;
}

.p-store-pdf-icon {
  width: 4.8rem;
  height: 4.8rem;
}

.p-store-pdf-caption {
  margin: .7rem 0 0;
  padding: 0;
  border: 0;
  color: #66788c;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
}

.p-store-pdf-desc {
  padding: .4rem 0;
  border-radius: 0;
  background: transparent;
  color: #243c58;
  font-size: 1.4rem;
  line-height: 1.75;
}

.p-store-pdf-desc ul {
  padding: 0;
}

.p-store-pdf-desc ul li {
  position: relative;
  margin: 0;
  padding-left: 1.2em;
  text-indent: 0;
}

.p-store-pdf-desc ul li + li {
  margin-top: .35rem;
}

.p-store-pdf-desc ul li::before {
  position: absolute;
  top: 0;
  left: 0;
}

.p-store-pdf-note {
  margin: 1.5rem 0 0;
  width: 100%;
  padding: 1.2rem 0 0;
  border: 0;
  border-top: 1px solid #d7e7f4;
  border-radius: 0;
  background: transparent;
  color: #53677d;
  font-size: 1.2rem;
  line-height: 1.7;
}

.main .entry-style .p-store-pdf-note {
  margin-block: 1.5rem 0;
  font-size: 1.1rem;
  line-height: 1.65;
  letter-spacing: .01em;
}

.p-store-pdf-note span {
  display: block;
}

.p-store-pdf-note span + span {
  margin-top: .35rem;
}

.p-store-line-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0;
}

.p-store-line-btn {
  position: relative;
  max-width: none;
  min-height: 5.6rem;
  padding: 1.2rem 3.5rem 1.2rem 5.8rem;
  border: 2px solid currentColor;
  border-radius: .8rem;
  background: #fff;
  font-size: 1.6rem;
  line-height: 1.4;
}

.p-store-line-btn::before {
  content: "LINE";
  position: absolute;
  top: 50%;
  left: 1.4rem;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--store-line-color);
  color: #fff;
  font-size: .9rem;
  line-height: 1;
  transform: translateY(-50%);
}

.p-store-line-buttons .p-store-line-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.6rem;
  width: .9rem;
  height: .9rem;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.p-store-line-btn--add {
  --store-line-color: #06b84f;
  color: var(--store-line-color);
}

.p-store-line-btn--prescription {
  --store-line-color: #009db2;
  color: var(--store-line-color);
}

.p-store-note-box {
  margin-top: 1.6rem;
  padding: 1.8rem 2rem;
  border: 0;
  border-left: .4rem solid #009db2;
  border-radius: .6rem;
  background: #f0fafc;
  color: #243c58;
  font-size: 1.4rem;
  line-height: 1.75;
}

.p-store-note-box p + p {
  margin-top: .35rem;
}

.p-store-info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.p-store-info-card {
  position: relative;
  max-width: none;
  min-height: 10rem;
  padding: 1.8rem 4.5rem 1.8rem 2rem;
  border: 1px solid #d7e7f4;
  border-radius: .8rem;
  background: #f8fbfe;
  text-align: left;
  align-items: flex-start;
}

.p-store-info-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  width: .9rem;
  height: .9rem;
  border-top: .25rem solid var(--color-primary);
  border-right: .25rem solid var(--color-primary);
  transform: translateY(-50%) rotate(45deg);
}

.p-store-info-card-sub {
  color: #66788c;
  font-size: 1.3rem;
}

.p-store-info-card-main {
  color: #0a2446;
  font-size: 1.8rem;
  line-height: 1.5;
}

.p-store-detail-address {
  margin: 0 0 1.6rem;
  padding: 1.5rem 1.8rem;
  border-radius: .8rem;
  background: #f3f8fc;
  color: #243c58;
  font-size: 1.6rem;
  line-height: 1.7;
}

.p-store-map {
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid #d7e7f4;
  border-radius: .8rem;
  background: #eef4f8;
}

.p-store-detail-departments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.p-store-entry .p-store-dept-group {
  min-width: 0;
  padding: 1.8rem;
  border: 1px solid #d7e7f4;
  border-radius: .8rem;
  background: #f3f8fc;
}

.p-store-entry .p-store-dept-group:last-child {
  padding-bottom: 1.8rem;
}

.p-store-entry .p-store-dept-tags {
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1rem;
}

.p-store-entry .p-store-dept-tag {
  min-width: 0;
  padding: .45rem 1.2rem;
  border-radius: 999px;
  background: #dcefff;
  color: #0872c9;
  font-size: 1.4rem;
  line-height: 1.4;
}

.p-store-entry .p-store-dept-row {
  display: grid;
  grid-template-columns: minmax(9rem, .65fr) minmax(0, 1.35fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-color: #cfdeeb;
}

.p-store-entry .p-store-dept-row:last-child {
  border-bottom: 0;
}

.p-store-entry .p-store-dept-row dt,
.p-store-entry .p-store-dept-row dd {
  width: auto;
  min-width: 0;
  font-size: 1.45rem;
  line-height: 1.65;
}

.p-store-entry .p-store-dept-row dt {
  color: #314a64;
}

.p-store-entry .p-store-dept-row dd {
  color: #0a2446;
  font-weight: 600;
}

.p-store-entry .p-store-dept-row a {
  color: #0872c9;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.p-store-entry .p-store-dept-note {
  margin-top: .4rem;
  color: #66788c;
  font-size: 1.3rem;
  font-weight: 400;
}

.p-store-entry .serial-nav {
  margin-top: 3rem;
}

@media screen and (max-width: 1100px) {
  .content-wrapper.two-columns:has(.p-store-entry) {
    flex-direction: column;
  }

  .p-store-entry .entry-header {
    margin-bottom: 2.8rem;
  }

  .p-store-detail-section {
    margin-bottom: 3.6rem;
  }

  .p-store-detail-section--gallery,
  .p-store-detail-section--features,
  .p-store-detail-section--links {
    margin-bottom: 4rem;
  }

  .p-store-detail-section--pdf,
  .p-store-detail-section--line {
    margin-bottom: 3.2rem;
  }

  .p-store-detail-section--basic {
    margin-bottom: 4.4rem;
  }

  .p-store-detail-section--departments {
    margin-bottom: 2.8rem;
  }

  .p-store-detail-section:not(.p-store-detail-section--gallery) {
    padding: 0;
  }

  .p-store-detail-departments {
    grid-template-columns: 1fr;
  }

  .p-store-gallery-thumbs .swiper-slide {
    width: 10rem;
  }
}

@media screen and (max-width: 767px) {
  .p-store-entry .entry-header {
    margin-bottom: 2.4rem;
    padding: 0;
    border-radius: 0;
  }

  .p-store-entry .entry-header-title {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left-width: .5rem;
    font-size: 2.2rem;
  }

  .p-store-entry .entry-header-category-label {
    font-size: 1.3rem;
  }

  .p-store-entry .acms-entry.entry-style {
    font-size: 1.5rem;
  }

  .p-store-detail-section {
    margin-bottom: 3rem;
  }

  .p-store-detail-section--gallery {
    margin-bottom: 2.8rem;
  }

  .p-store-detail-section--features,
  .p-store-detail-section--links {
    margin-bottom: 3.2rem;
  }

  .p-store-detail-section--pdf,
  .p-store-detail-section--line {
    margin-bottom: 2.8rem;
  }

  .p-store-detail-section--basic {
    margin-bottom: 3.6rem;
  }

  .p-store-detail-section--departments {
    margin-bottom: 2.4rem;
  }

  .p-store-detail-section:not(.p-store-detail-section--gallery) {
    padding: 0;
    border-radius: 0;
  }

  .p-store-detail-subheading {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left-width: .5rem;
    font-size: 2rem;
  }

  .p-store-detail-badges {
    gap: .6rem;
  }

  .p-store-detail-badges-item--text {
    min-height: 3.4rem;
    padding: .6rem 1rem;
    font-size: 1.25rem;
  }

  .p-store-gallery-main .swiper-button-next,
  .p-store-gallery-main .swiper-button-prev {
    width: 4.4rem;
    height: 4.4rem;
  }

  .p-store-gallery-main .swiper-button-next {
    right: 1rem;
  }

  .p-store-gallery-main .swiper-button-prev {
    left: 1rem;
  }

  .p-store-gallery-thumbs {
    padding: .8rem;
  }

  .p-store-gallery-thumbs .swiper-slide {
    width: 8rem;
  }

  .p-store-pdf-box-top,
  .p-store-line-buttons,
  .p-store-info-cards {
    grid-template-columns: 1fr;
  }

  .p-store-pdf-link {
    min-height: 9rem;
    padding: 1.4rem;
  }

  .p-store-pdf-link-wrap {
    padding: 0;
  }

  .p-store-pdf-title {
    font-size: 1.7rem;
  }

  .p-store-pdf-store-name,
  .p-store-pdf-desc {
    font-size: 1.35rem;
  }

  .p-store-pdf-desc {
    padding: 1.2rem 0 0;
  }

  .p-store-pdf-note {
    margin-top: 1.2rem;
    padding: 1rem 0 0;
    font-size: 1.2rem;
  }

  .main .entry-style .p-store-pdf-note {
    margin-block: 1.2rem 0;
    font-size: 1.05rem;
  }

  .p-store-line-btn {
    min-height: 5.2rem;
    font-size: 1.5rem;
  }

  .p-store-note-box {
    margin-top: 1.2rem;
    padding: 1.4rem 1.5rem;
    font-size: 1.3rem;
  }

  .p-store-info-card {
    min-height: 8.5rem;
    padding: 1.5rem 4rem 1.5rem 1.6rem;
  }

  .p-store-info-card-main {
    font-size: 1.6rem;
  }

  .p-store-detail-address {
    padding: 1.2rem 1.4rem;
    font-size: 1.4rem;
  }

  .p-store-map {
    aspect-ratio: 4 / 3;
  }

  .p-store-entry .p-store-dept-group,
  .p-store-entry .p-store-dept-group:last-child {
    padding: 1.4rem;
  }

  .p-store-entry .p-store-dept-tag {
    font-size: 1.3rem;
  }

  .p-store-entry .p-store-dept-row {
    grid-template-columns: minmax(8.5rem, .8fr) minmax(0, 1.2fr);
    gap: .8rem;
    padding: .9rem 0;
  }

  .p-store-entry .p-store-dept-row dt,
  .p-store-entry .p-store-dept-row dd {
    font-size: 1.3rem;
  }

  .p-store-entry .p-store-dept-note {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 390px) {
  .p-store-entry .p-store-dept-row {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}
