@charset "utf-8";
/* レイアウトシフト対策 */
.wp-headerarea-wrap {
	min-height: 152px;
}

@media (max-width: 767px) {
	.wp-headerarea-wrap {
		min-height: 125px;
	}
}

/* ========================================
   共通：青木光悦堂について
   インナー：g-inner系、外側余白：g-mg系、背景内余白：g-pd系。
   下層固有の幅のみmax-widthで調整。
   index.htmlに合わせた block__element / block--modifier 命名。
   色・フォントはconst.cssの変数を継承。基準幅：XD 1440px。
======================================== */
.s-about {
  color: var(--txt-c-base);
  background: var(--orange-400);
  font-family: var(--ff-base);
  font-weight: 500;
  letter-spacing: .05em;
}

.s-heading {
  font-weight: 700;
  text-align: center;
}

.s-about :where(a, summary, button):focus-visible {
  outline: 2px solid var(--orange-600);
  outline-offset: 6px;
}

/* ========================================
   写真枠：XDに写真がない箇所の共通パーツ
   写真確定後は同じクラスのimgに差し替え可能。
======================================== */
.s-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 350 / 233;
  object-fit: cover;
}

/* ========================================
   メインビジュアル
   XDの赤い切替指示・写真指定メモは画面本文に含めない。
======================================== */
.s-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 編集用の画像一覧。初期化できない場合も画像を表示する。 */
.s-visual-images {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.s-visual-images > p { margin: 0; }
.s-visual-images img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 500 / 450;
  object-fit: cover;
}

.s-visual.is-ready > .s-visual-images,
.s-visual:not(.is-ready) > .s-visual__slider {
  display: none;
}

.s-visual__slider {
  min-width: 0;
  visibility: visible;
}

.s-visual__slider--mobile {
  display: none;
}

.s-visual__picture {
  display: block;
}

.s-visual__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 500 / 450;
  object-fit: cover;
}

.s-visual__slider:not(.is-initialized) .splide__slide:not(:first-child) {
  display: none;
}

@media screen and (max-width: 767px) {
  .s-visual,
  .s-visual-images {
    grid-template-columns: minmax(0, 1fr);
  }

  .s-visual__slider--left,
  .s-visual__slider--right {
    display: none;
  }

  .s-visual__slider--mobile {
    display: block;
  }
}

/* ========================================
   紹介文・メッセージ
======================================== */
.s-message__body {
  max-width: 700px;
}

.s-message__text {
  color: #2f2d2d;
}

/* ========================================
   3つの理念
======================================== */
.s-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1130px;
}

.s-values__title {
  margin-top: 20px;
  color: #2f2d2d;
  font-weight: 700;
  text-align: center;
}

.s-values__text {
  font-size: 16px;
  line-height: 26px;
}

/* ========================================
   沿革：白背景・年表の罫線とカード
======================================== */
.s-history {
  background: var(--c-white);
}

.s-history__list {
  position: relative;
  padding: 0 0 0 80px;
  list-style: none;
}

/* .s-history__list::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  border-left: 1px dashed var(--txt-c-base);
} */

.s-history__list::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  border-left: none;
  background-image: linear-gradient(
    to bottom,
    var(--txt-c-base) 0 50%,
    transparent 50% 100%
  );
  background-size: 1px 6px;
  background-repeat: repeat-y;
}

.s-history__item {
  position: relative;
}

.s-history__item+.s-history__item {
  margin-top: 20px;
}

.s-history__item::before {
  content: "";
  position: absolute;
  top: 50%;
  border-top: 1px solid var(--txt-c-base);
}

.s-history__item::after {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-600);
}

.s-history__card {
  position: relative;
  border-radius: 30px;
  background: #F9F1EA;
}

.s-history__date {
  display: block;
  font-weight: 700;
}

.s-history__title {
  display: block;
  font-weight: 700;
  color: #2f2d2d;
}

/* 沿革：写真・本文のあるカードを常時表示 */
.s-history__card--withBody .s-history__summary {
  min-height: 0;
  padding-bottom: 0;
  padding-right: 430px;
}

.s-history__text {
  width: 400px;
  max-width: 100%;
}

.s-history__photo {
  position: absolute;
  width: 342px;
  aspect-ratio: 342 / 228;
}

/* ========================================
   商品のこだわり：写真と文章の2列
======================================== */
.s-quality__list {
  max-width: 820px;
}

.s-quality__item {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 350px);
  align-items: center;
}

.s-quality__item .s-photo {
  aspect-ratio: 400 / 266;
}

.s-quality__title {
  color: #2f2d2d;
  font-weight: 700;
}

.s-quality__text {
  font-size: 16px;
  line-height: 26px;
}

/* ========================================
   お問い合わせ：ボタン・電話番号
======================================== */
/* 幅とセクション間隔はHTMLのg-inner系・g-mgt系で管理。
   電話部分はindex.htmlのf-contact__inner / __tel / __timeに合わせる。 */
.s-contact {
  max-width: 600px;
}

.s-contact__phone {
  border-radius: var(--bdrs-lg);
  background: var(--c-white);
}

.s-contact__label {
  line-height: 26px;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  border-bottom: 1px solid var(--orange-600);
}

.s-contact__phoneBody {
  display: flex;
  justify-content: center;
}

.s-contact__number {
  white-space: nowrap;
  font-size: var(--fz-40);
  font-weight: bold;
  line-height: 1;
}

.s-contact__number::before {
  content: "";
  display: inline-block;
  background: url(../images/common/phone-icon.svg) no-repeat center center / 100%;
  aspect-ratio: 94 / 75;
  width: clamp(23px, 2.639vw, 38px);
  margin-right: 3px;
}

.s-contact__hours {
  font-size: var(--fz-13);
  font-weight: bold;
  line-height: 1.6;
}
.s-contact__hours span{
  display: inline-block;
  transform: translateY(-1.5px);
}

/* ========================================
   PC：index.htmlと共通のclamp変数で文字・余白を可変化
   768px以上のみ適用。1440px付近でXDのサイズが上限。
   セクション外側の間隔は引き続きg-pd / g-mgt系で管理。
======================================== */
@media screen and (min-width: 768px) {


  .s-heading {
    font-size: var(--fz-36);
    line-height: 1.6667;
  }

  /* 紹介文・3つの理念 */
  .s-message__heading {
    margin-bottom: clamp(24px, 2.222vw, 32px);
  }

  .s-message__text {
    font-size: var(--fz-20);
    line-height: 1.7;
  }

  .s-message__text p+p {
    margin-top: clamp(24px, 2.361vw, 34px);
  }

  .s-values {
    gap: var(--spc-40);
  }

  .s-values__title {
    margin-top: var(--spc-20);
    font-size: var(--fz-22);
    line-height: 1.6364;
  }

  .s-values__text,
  .s-quality__text {
    margin-top: clamp(12px, 1.111vw, 16px);
    font-size: var(--fz-16);
    line-height: 1.625;
  }

  /* 沿革：左の罫線とカード余白を同じ値で連動 */
  .s-history {
    --s-history-gutter: clamp(50px, 5.556vw, 80px);
    --s-history-padding: var(--spc-50);
  }

  .s-history__list {
    padding-left: var(--s-history-gutter);
  }

  .s-history__item+.s-history__item {
    margin-top: var(--spc-20);
  }

  .s-history__item::before {
    left: calc(-1 * var(--s-history-gutter));
    width: var(--s-history-gutter);
  }

  .s-history__item::after {
    left: calc(-1 * var(--s-history-gutter) - 7px);
  }

  .s-history__summary {
    min-height: clamp(140px, 11.806vw, 170px);
    padding: clamp(24px, 2.153vw, 31px) var(--s-history-padding) clamp(24px, 2.188vw, 31.5px);
  }

  .s-history__date {
    font-size: var(--fz-20);
    line-height: 2.7;
  }

  .s-history__year {
    font-size: var(--fz-36);
  }

  .s-history__era {
    font-size: var(--fz-20);
  }

  .s-history__title {
    margin-top: clamp(6px, .556vw, 8px);
    font-size: var(--fz-22);
    line-height: 1.6364;
  }

  .s-history__card--withBody {
    min-height: clamp(320px, 26.181vw, 377px);
  }

  .s-history__body {
    padding: clamp(8px, .833vw, 12px) var(--s-history-padding) var(--spc-50);
  }

  .s-history__text {
    font-size: var(--fz-16);
    line-height: 1.625;
  }

  .s-history__photo {
    top: var(--spc-75);
    right: var(--s-history-padding);
  }

  /* 商品のこだわり */
  .s-quality__item {
    gap: var(--spc-50);
  }

  .s-quality__item+.s-quality__item {
    margin-top: var(--spc-50);
  }

  .s-quality__title {
    font-size: var(--fz-22);
    line-height: 1.6364;
  }

  /* お問い合わせ：電話番号は既存の--fz-40を継承 */
  .s-contact__phone {
    padding: var(--spc-20) clamp(16px, 1.667vw, 24px);
  }

  .s-contact__label {
    font-size: var(--fz-16);
    line-height: 1.625;
  }

  .s-contact__phoneBody {
    gap: var(--spc-20);
    margin-top: clamp(8px, .833vw, 12px);
  }
}

/* ========================================
   タブレット：既存サイトと同じ768px境界を使用
======================================== */
@media screen and (min-width: 768px) and (max-width: 1100px) {

  /* 狭いPCでは沿革の写真と文章を比率で配分。文字・余白は上のclampを継承。 */
  .s-history__list {
    padding-right: 4px;
  }

  .s-history__card--withBody .s-history__summary {
    padding-right: 46%;
  }

  .s-history__text {
    width: 50%;
  }

  .s-history__photo {
    width: 36%;
  }

  .s-quality__item {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   スマートフォン：XDのPC版を基に読みやすい1列へ
======================================== */
@media screen and (max-width: 767px) {
  .s-heading {
    font-size: 25px;
    line-height: 1.8;
  }

  .s-message__heading {
    font-size: clamp(19px, 5.2vw, 25px);
    margin-bottom: 28px;
  }

  .s-message__text {
    font-size: 16px;
    line-height: 1.9;
  }

  .s-message__text p+p {
    margin-top: 26px;
  }

  .s-values {
    max-width: 420px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .s-values__title {
    font-size: 21px;
    line-height: 1.7;
  }

  .s-values__text {
    margin-top: 12px;
  }

  .s-history__list {
    padding-inline: 24px 0px;
  }

  .s-history__item::before {
    left: -24px;
    width: 24px;
  }

  .s-history__item::after {
    left: -29px;
    width: 12px;
    height: 12px;
    top: calc(50% - 6px);
  }

  .s-history__card {
    border-radius: 18px;
  }

  .s-history__summary {
    min-height: 132px;
    padding: 20px 24px;
  }

  .s-history__date {
    font-size: 16px;
    line-height: 42px;
  }

  .s-history__year {
    font-size: 30px;
  }

  .s-history__era {
    font-size: 13px;
  }

  .s-history__title {
    margin-top: 4px;
    font-size: 17px;
    line-height: 1.7;
  }

  .s-history__card--withBody {
    min-height: 0;
  }

  .s-history__card--withBody .s-history__summary {
    padding: 20px 24px 0;
  }

  .s-history__body {
    padding: 16px 24px 24px;
  }

  .s-history__text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .s-history__photo {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
  }

  .s-history__text+.s-history__photo {
    margin-top: 20px;
  }

  .s-quality__list {
    max-width: 420px;
  }

  .s-quality__item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .s-quality__item+.s-quality__item {
    margin-top: 36px;
  }

  .s-quality__title {
    font-size: 21px;
    line-height: 1.7;
  }

  .s-quality__text {
    margin-top: 12px;
  }

  .s-contact__phone {
    padding: 20px 12px;
  }

  .s-contact__label {
    font-size: 13px;
  }

  .s-contact__phoneBody {
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
  }

  .s-contact__number {
    font-size: 20px;
    line-height: 1.6;
  }

  .s-contact__hours {
    font-size: 12px;
  }
}

/* ========================================
   沿革：配布原稿の月表示・写真のない項目
======================================== */
.s-history__month {
  display: inline-block;
  margin-left: .4em;
  font-size: inherit;
}
.s-history__card--textOnly {
  min-height: 0;
}
.s-history__card--textOnly .s-history__text {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .s-history__card--textOnly .s-history__summary {
    padding-right: var(--s-history-padding);
  }
}

/* ========================================
   更新XD：ブログ・実店舗（index.htmlの共通パーツ）
======================================== */
.s-blog .g-blog__img img {
  aspect-ratio: 386 / 257;
  object-fit: cover;
}

.s-store .g-store__img img {
  aspect-ratio: 600 / 400;
  object-fit: cover;
}

/* ========================================
   店舗紹介：写真・文章（このページ内だけに適用）
======================================== */
.s-storePage {
  letter-spacing: .05em;
}
.s-storePage :where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--orange-600);
  outline-offset: 5px;
}
.s-storePage .s-storePage__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}
.s-storePage .s-storePage__caption {
  margin-top: 10px;
  font-size: var(--fz-16);
  line-height: 1.5;
}
.s-storePage .s-storePage__text {
  font-size: var(--fz-16);
  line-height: 1.625;
}

/* ========================================
   店舗紹介：FV静止画（XD：810×540px）
======================================== */
.s-storePage .s-storePage__hero {
  max-width: 810px;
  margin-top: var(--spc-60);
}
.s-storePage .s-storePage__hero > .s-storePage__photo {
  aspect-ratio: 3 / 2;
}

/* ========================================
   店舗紹介：3枚の店内写真（XD：243px角、間隔約40px）
======================================== */
.s-storePage .s-storeIntro {
  --sec-spc: clamp(70px, 8.333333vw, 120px);
  --sec-spc-half: calc(var(--sec-spc) / 2);
  max-width: 810px;
}
.s-storePage .s-storeIntro__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spc-40);
}
.s-storePage .s-storeIntro__gallery .s-storePage__photo {
  aspect-ratio: 1;
}

/* ========================================
   店舗紹介：Koetsuanはこんなところ
======================================== */
.s-storePage .s-storeExperience {
  background: var(--c-white);
}
.s-storePage .s-storeExperience__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 4px;
}
.s-storePage .s-storeExperience__photos .s-storePage__photo {
  aspect-ratio: 1;
  border-radius: 0;
}
.s-storePage .s-storeExperience__text {
  margin-top: var(--spc-20);
}
.s-storePage .s-storeExperience__text p + p {
  margin-top: 1.625em;
}

/* ========================================
   店舗紹介：おいしいお取り寄せ（XD：800×300px）
======================================== */
.s-storePage .s-storeIntro__feature {
  display: grid;
  grid-template-columns: minmax(0, 300fr) minmax(0, 380fr);
  gap: var(--spc-30);
  align-items: start;
  padding: var(--spc-50) var(--spc-40) var(--spc-50) var(--spc-50);
  outline: none;
  outline-offset: 0;
  border: 2px dotted var(--orange-600);
}
.s-storePage .s-storeIntro__feature .s-storePage__photo {
  aspect-ratio: 3 / 2;
}
.s-storePage .s-storeIntro__feature .g-headingContainerSub {
  margin-bottom: var(--spc-10);
}
.s-storePage .s-storeIntro__feature .g-heading--sub {
  font-size: var(--fz-18);
  line-height: 1.666667;
  letter-spacing: .05em;
}
.s-storePage .s-storeIntro__feature .s-storePage__text {
  font-size: var(--fz-14);
  line-height: 1.714286;
  letter-spacing: 0;
}
.s-storePage .s-storeIntro__purchase {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media screen and (max-width: 767px) {
  .s-storePage .s-storeIntro__feature {
    --feature-dot: radial-gradient(
      circle,
      var(--orange-600) 1px,
      transparent 1.1px
    );

    outline: none;
    border: 2px solid transparent;
    background:
      var(--feature-dot) left top / 4px 2px repeat-x,
      var(--feature-dot) left bottom / 4px 2px repeat-x,
      var(--feature-dot) left top / 2px 4px repeat-y,
      var(--feature-dot) right top / 2px 4px repeat-y;
    background-origin: border-box;
    background-clip: border-box;
  }
}

/* ========================================
   店舗紹介：お知らせ（記事はhtmx、ボタンは共通g-btn）
======================================== */
.s-storePage .s-storeNews > .g-headingContainerSub {
  margin-bottom: 0;
}
.s-storePage .s-storeNews .g-heading--sub {
  line-height: 1.454545;
}
.s-storePage .s-storeNews__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.9444vw, 28px);
  margin-top: var(--spc-30);
}
.s-storePage .s-storeNews__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 386 / 257;
  object-fit: cover;
  border-radius: 4px;
}
.s-storePage .s-storeNews__date {
  margin-top: 10px;
  font-size: var(--fz-14);
  line-height: 1.142857;
}
.s-storePage .s-storeNews__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 10px;
  font-size: var(--fz-18);
  line-height: 1.444444;
  font-weight: 700;
}
.s-storePage .s-storeNews > .g-btnContainer {
  margin-top: var(--spc-40);
}

/* ========================================
   店舗紹介：共通バナースクロール
   レイアウト・流れる動きはトップと同じt-bannerScrollを使用。
======================================== */
.s-storePage .s-storeExperience__scroll {
  overflow: hidden;
}
.s-storePage .s-storeExperience__scroll img {
  aspect-ratio: 1;
  object-fit: cover;
}

/* ========================================
   店舗紹介：アクセス・店舗情報
======================================== */
.s-storePage .s-storeAccess {
  padding-top: clamp(70px, 8.333333vw, 120px);
}
.s-storePage .s-storeAccess__map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 533;
  border: 0;
}
.s-storePage .s-storeAccess__info,
.s-storePage .s-storeAccess__directions {
  max-width: 700px;
  margin-inline: auto;
}
.s-storePage .s-storeAccess .g-store__title,
.s-storePage .s-storeAccess .g-store__text {
  font-size: var(--fz-16);
  line-height: 1.5;
}
.s-storePage .s-storeAccess .g-store__item {
  padding: 10px;
}
.s-storePage .s-storeAccess .g-store__item:first-child {
  padding-top: 0;
}
.s-storePage .s-storeAccess .g-store__item:last-child {
  padding-bottom: 0;
}
.s-storePage .s-storeAccess .g-store__text__small {
  font-size: var(--fz-13);
}

/* ========================================
   店舗紹介：お車・公共交通機関の案内
======================================== */
.s-storePage .s-storeAccess__routes {
  display: grid;
  gap: var(--spc-50);
}
.s-storePage .s-storeAccess__routeTitle {
  margin-bottom: 10px;
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--orange-600);
  color: var(--orange-600);
  font-size: var(--fz-18);
  font-weight: 700;
  line-height: 1.444444;
}
.s-storePage .s-storeAccess__routes .s-storePage__text {
  padding-inline: 10px;
}
.s-storePage .s-storeAccess__transportTitle {
  padding-inline: 10px;
  font-size: var(--fz-14);
  font-weight: 700;
  line-height: 1.714286;
}
@media screen and (max-width: 767px){
  .s-storePage .s-storeAccess__transportTitle{
    font-size: 13px;
  }
}
.s-storePage .s-storeAccess__transport + .s-storeAccess__transport {
  margin-top: var(--spc-20);
  padding-top: var(--spc-20);
  border-top: 1px solid var(--orange-450);
}

/* ========================================
   店舗紹介：近隣MAPモーダル（XD：498px角）
   開閉は共通popup JS。背景・ボタンの共通CSSを使用。
======================================== */
.s-storePage .g-btn > .s-storeAccess__mapButton {
  min-height: 44px;
}
.s-storePage .s-storeMap .popup-content {
  width: min(calc(100% - 40px), calc(100dvh - 112px));
  max-width: 498px;
  background: transparent;
}
.s-storePage .s-storeMap .popup-box {
  max-height: none;
  overflow: visible;
  padding: 0;
}
.s-storePage .s-storeMap__image {
  display: block;
  width: 100%;
  height: auto;
}
.s-storePage .s-storeMap .s-storeMap__close {
  top: -15px;
  right: -10px;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.s-storePage .s-storeMap .s-storeMap__close::after {
  width: 24px;
  background-color: var(--c-white);
}
.s-storePage .s-storeMap .s-storeMap__close:focus-visible {
  outline-color: var(--c-white);
  outline-offset: -4px;
}

/* ========================================
   店舗紹介：全国の取扱店・関連サイト（htmxは既存のまま）
======================================== */
.s-storePage .s-storeRetail__body {
  max-width: 700px;
  padding: var(--spc-30);
  border-radius: 20px;
  background: var(--c-white);
}
.s-storePage .s-storeRetail__body .g-headingContainerSub {
  margin-bottom: 10px;
}
.s-storePage .s-storeRetail__body .g-heading--sub {
  font-size: var(--fz-20);
  line-height: 1.3;
}
.s-storePage .s-storeRetail__banners {
  max-width: 1112px;
  margin-inline: auto;
}
.s-storePage .s-storeRetail__banners :is(a, span) {
  display: block;
}

/* ========================================
   店舗紹介：モナまるのプロフィール
   文字はHTML。透過が必要なキャラクターのみPNGを使用。
======================================== */
.s-storePage .s-storeProfile {
  display: grid;
  /* XDの各列と間隔。項目本文の318px幅も確保する。 */
  grid-template-columns: minmax(0, 430fr) minmax(0, 29fr) minmax(0, 174fr) minmax(0, 57fr) minmax(0, 400fr);
  align-items: end;
  padding: var(--spc-30) clamp(30px, 3.819444vw, 55px) var(--spc-40);
  border-radius: 59px;
  background-color: var(--c-white);
  /* XDの格子：#EFDCCAを白地に不透明度39.8%で重ねた色（#F9F1EA）。
     合成後の色を使い、縦横の交点も同じ濃さにする。線幅1px、横21px・縦22px間隔。 */
  background-image: linear-gradient(var(--orange-400) 1px, transparent 1px), linear-gradient(90deg, var(--orange-400) 1px, transparent 1px);
  background-size: 21px 22px;
  background-position: 12px 11px;
  font-feature-settings: normal;
}
.s-storePage .s-storeProfile__details {
  grid-column: 1;
}
.s-storePage .s-storeProfile__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 8px;
  /* XD：2px線、ダッシュ4px・間隔6px、両端を丸める。 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='2' viewBox='0 0 10 2'%3E%3Cpath d='M1 1h4' fill='none' stroke='%23dbad84' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 10px 2px;
  font-size: var(--fz-28);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
  white-space: nowrap;
}
.s-storePage .s-storeProfile__heading img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.s-storePage .s-storeProfile__list {
  display: grid;
  gap: 10px;
  margin-top: 15px;
  font-size: var(--fz-16);
  font-weight: 700;
  line-height: 1.625;
  letter-spacing: .05em;
}
.s-storePage .s-storeProfile__list li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.s-storePage .s-storeProfile__label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 14px;
  background: #9b6e46;
  color: var(--c-white);
  font-size: var(--fz-14);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.s-storePage .s-storeProfile__portrait {
  grid-column: 3;
  display: grid;
  place-items: center;
  width: 100%;
}
.s-storePage .s-storeProfile__image {
  width: min(100%, clamp(120px, 12.083333vw, 174px));
  height: auto;
  margin-inline: auto;
}
.s-storePage .s-storeProfile__message {
  grid-column: 5;
  align-self: start;
}
.s-storePage .s-storeProfile__speech {
  --speech-height: 186px;
  --speech-padding-block: 18px;
  position: relative;
  padding: var(--speech-padding-block) 14px var(--speech-padding-block) 30px;
  border-radius: 30px;
  background: var(--orange-300);
  color: #765233;
  font-size: var(--fz-16);
  line-height: 1.625;
}
@media screen and (min-width: 768px){
  .s-storePage .s-storeProfile__speech{
    margin-top: 20px;
  }
}
/* XDのしっぽ。スクロール領域とは分離し、本文のスクロールに追従させない。 */
.s-storePage .s-storeProfile__speech::before {
  content: "";
  position: absolute;
  top: calc(var(--speech-height) * .54);
  left: -21px;
  width: 38px;
  height: 36px;
  background: var(--orange-300);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
/* スクロールバーを背景の内側に配置。本文の右余白も確保する。 */
.s-storePage .s-storeProfile__speechScroll {
  max-height: calc(var(--speech-height) - var(--speech-padding-block) * 2);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 16px;
  scrollbar-color: #b18b69 var(--orange-300);
  scrollbar-width: thin;
}
.s-storePage .s-storeProfile__speechScroll:focus-visible {
  outline-offset: -2px;
}
.s-storePage .s-storeProfile__button {
  max-width: 250px;
  margin-top: 28px;
  margin-left: auto;
}
.s-storePage .s-storeProfile__button > a {
  background: #967353;
}
.s-storePage .s-storeProfile__button .g-btn__label {
  font-size: var(--fz-18);
  font-weight: 500;
  letter-spacing: .05em;
}
.s-storePage .s-storeProfile__button > a:not([href]) {
  cursor: default;
}

/* ========================================
   店舗紹介：PC・タブレット
======================================== */
@media screen and (min-width: 768px) {
  .s-storePage .s-heading {
    font-size: var(--fz-36);
    line-height: 1.444444;
  }
  .s-storePage .s-storeIntro > .s-heading {
    line-height: 1.555556;
  }
  /* htmxの配信件数に合わせて等分し、空き列を作らない。 */
  .s-storePage .s-storeRetail__banners .g-banners {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
}
/* 1200px以下の共通設定。SPは縦積みにする。 */
@media screen and (max-width: 1200px) {
  .s-storePage .s-storeProfile {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .s-storePage .s-storeProfile__portrait {
    grid-column: 1;
    place-self: center;
  }
  .s-storePage .s-storeProfile__image {
    width: min(100%, clamp(120px, 14.5vw, 174px));
  }
  .s-storePage .s-storeProfile__message {
    grid-column: 1;
  }
  .s-storePage .s-storeProfile__speech {
    --speech-height: 200px;
  }
  .s-storePage .s-storeProfile__speech::before {
    top: -20px;
    left: calc(50% - 18px);
    width: 36px;
    height: 30px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }
}

/* タブレット：項目の右側にキャラクターを置き、その領域の縦横中央に揃える。 */
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .s-storePage .s-storeProfile {
    --profile-details-width: 430px;
    grid-template-columns: minmax(0, var(--profile-details-width)) minmax(0, 1fr);
  }
  .s-storePage .s-storeProfile__portrait {
    grid-column: 2;
    grid-row: 1;
  }
  .s-storePage .s-storeProfile__message {
    grid-column: 1 / -1;
  }
  /* 下段の吹き出しのしっぽも、キャラクターの中央に合わせる。 */
  .s-storePage .s-storeProfile__speech::before {
    left: calc((100% + var(--profile-details-width) + 30px) / 2 - 18px);
  }
}

/* ========================================
   店舗紹介：スマートフォン
======================================== */
@media screen and (max-width: 767px) {
  .s-storePage .s-heading {
    padding-inline: 16px;
    font-size: clamp(20px, 5.2vw, 25px);
    line-height: 1.8;
  }
  .s-storePage .s-storePage__hero {
    margin-top: 30px;
  }
  .s-storePage .s-storePage__caption,
  .s-storePage .s-storePage__text {
    font-size: 14px;
    line-height: 1.8;
  }
  .s-storePage .s-storeIntro {
    --sec-spc: 50px;
  }
  .s-storePage .s-storeIntro > .s-heading {
    padding-inline: 0;
  }
  .s-storePage .s-storeIntro__gallery {
    gap: 12px;
  }
  .s-storePage .s-storeExperience__text p + p {
    margin-top: 1.8em;
  }
  .s-storePage .s-storeIntro__feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }
  .s-storePage .s-storeIntro__feature .s-storePage__text {
    font-size: 14px;
    line-height: 1.8;
  }
  .s-storePage .s-storeIntro__feature .g-heading--sub {
    font-size: 18px;
  }
  .s-storePage .s-storeNews__list {
    margin-top: 24px;
  }
  .s-storePage .s-storeNews__title {
    font-size: 14px;
    line-height: 1.6;
  }
  .s-storePage .s-storeNews__date {
    font-size: 12px;
    line-height: 1.5;
  }
  .s-storePage .s-storeAccess {
    padding-top: var(--sec-spc);
  }
  .s-storePage .s-storeAccess .g-store__title,
  .s-storePage .s-storeAccess .g-store__text {
    font-size: 13px;
    line-height: 1.8;
  }
  .s-storePage .s-storeAccess .g-store__item {
    padding-inline: 0;
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .s-storePage .s-storeAccess__addressSpace {
    display: block;
    height: 0;
  }
  .s-storePage .s-storeAccess__routeTitle {
    font-size: 17px;
  }
  .s-storePage .s-storeRetail__body {
    width: 100%;
    padding: 24px 20px;
  }
  .s-storePage .s-storeProfile {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 20px;
    border-radius: 30px;
  }
  .s-storePage .s-storeProfile__heading {
    gap: 8px;
    font-size: clamp(16px, 4.8vw, 22px);
  }
  .s-storePage .s-storeProfile__heading img {
    width: 28px;
    height: 28px;
  }
  .s-storePage .s-storeProfile__list {
    font-size: 13px;
  }
  .s-storePage .s-storeProfile__list li {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  .s-storePage .s-storeProfile__label {
    padding-inline: 4px;
    font-size: 12px;
  }
  .s-storePage .s-storeProfile__image {
    width: min(100%, clamp(96px, 30.769231vw, 120px));
  }
  .s-storePage .s-storeProfile__speech {
    --speech-height: 220px;
    --speech-padding-block: 20px;
    padding-inline: 20px 12px;
    font-size: 14px;
    line-height: 1.8;
  }
  .s-storePage .s-storeProfile__speechScroll {
    padding-right: 8px;
  }
  .s-storePage .g-btn > .s-storeAccess__mapButton {
    min-height: 40px;
  }
  .s-storePage .s-storeProfile__button {
    margin: 20px auto 0;
  }
  .s-storePage .s-storeProfile__button .g-btn__label {
    font-size: 14px;
  }
}

/* ========================================
   会社概要：目次・白いコンテンツ枠
   XD基準1440px：目次y380、白枠y490・幅1100px、枠間60px。
======================================== */
.s-company {
  letter-spacing: .05em;
}
.s-company__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 940px;
  margin-top: var(--spc-60);
}
.s-company__nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 8px 10px;
  border-left: 1px solid var(--orange-500);
  font-size: var(--fz-20);
  line-height: 1.7;
  text-align: center;
}
.s-company__nav > div:last-child a {
  border-right: 1px solid var(--orange-500);
}
.s-company__panel {
  max-width: 1100px;
  margin-top: var(--spc-60);
  background: var(--c-white);
}
.s-company__panel > .s-heading {
  line-height: 1.444444;
}
.s-company a:focus-visible {
  outline: 2px solid var(--orange-600);
  outline-offset: 4px;
}
.s-company__panel a{
  text-decoration: underline;
}
a[href="tel:0755928773"]{
  text-decoration: none;
}

/* ========================================
   会社概要：基本情報（項目170px・表900px）
======================================== */
.s-company__details {
  max-width: 900px;
  font-size: var(--fz-18);
  line-height: 1.444444;
}
.s-company__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  padding: var(--spc-20) 10px;
  border-bottom: 1px solid var(--orange-450);
}
.s-company__row:first-child {
  padding-top: 0;
}
.s-company__label {
  font-weight: 700;
}
.s-company__value {
  min-width: 0;
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.s-company__fax {
  white-space: nowrap;
}

/* ========================================
   会社概要：沿革の紹介・詳細ボタン
======================================== */
.s-company__story {
  max-width: 700px;
  color: #2f2d2d;
  font-size: var(--fz-20);
  line-height: 1.7;
}
.s-company__button {
  width: var(--inner-w);
  margin-inline: auto;
}

/* ========================================
   会社概要：商標・受賞歴・認証
======================================== */
.s-company__history {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.s-company__history li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}
.s-company__year {
  font-weight: 700;
  white-space: nowrap;
}
.s-company__era {
  font-size: var(--fz-14);
}
.s-company__history--certifications {
  gap: var(--spc-20);
}
.s-company__history--certifications li {
  grid-template-columns: 170px minmax(0, 1fr);
}

/* ========================================
   会社概要：スマートフォン
======================================== */
@media screen and (max-width: 767px) {
  /* SPも3項目を横並びにし、長い項目には広めの幅を確保する。 */
  .s-company__nav {
    grid-template-columns: 1fr .75fr 1.65fr;
    margin-top: 30px;
  }
  .s-company__nav a {
    min-height: 40px;
    padding: 0px 6px;
    font-size: clamp(12px, 3.3vw, 14px);
    line-height: 1.6;
    text-wrap: balance;
  }
  .s-company__panel {
    margin-top: 30px;
  }
  .s-company__panel > .s-heading {
    padding-inline: 12px;
    font-size: clamp(20px, 5.2vw, 25px);
    line-height: 1.6;
  }
  .s-company__details {
    font-size: 14px;
    line-height: 1.8;
  }
  .s-company__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 8px;
  }
  .s-company__story {
    padding-inline: 8px;
    font-size: 16px;
    line-height: 1.8;
  }
  .s-company__history {
    gap: 16px;
  }
  .s-company__history li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .s-company__era {
    font-size: 12px;
  }
}

/* ==================== 調整 ==================== */
@media screen and (max-width: 767px){
	.ft-history{
		display: none;
	}
}