@charset "utf-8";
/* ===== SELF PAGE SPECIFIC ===== */
:root {
  --historia-brown: #503411;
  --historia-gold: #95702f;
  --historia-gold-light: #d9c394;
  --historia-ivory: #fbf7ee;
  --historia-line: rgba(149, 112, 47, 0.28);
}
/* Equipment section layout */
.equip-section { padding: 80px 32px; max-width: 1200px; margin: 0 auto; }
.equip-section + .equip-section { padding-top: 0; }

.equip-header {
  display: flex; align-items: flex-end; gap: 16px;
  padding-bottom: 24px; border-bottom: 2px solid var(--orange-light);
  margin-bottom: 44px;
}
.equip-header__num {
  font-family: var(--font-en); font-size: 52px; font-weight: 300;
  line-height: 1; color: var(--orange); letter-spacing: -0.02em;
  flex-shrink: 0;
}
.equip-header__titles {}
.equip-header__en {
  font-family: var(--font-en); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange);
  display: block; margin-bottom: 6px;
}
.equip-header__ja {
  font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--ink);
  line-height: 1.2;
}

/* Machine intro 2-col */
.machine-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  margin-bottom: 60px;
}
.machine-intro--reverse { direction: rtl; }
.machine-intro--reverse > * { direction: ltr; }

.machine-intro__media {}
.machine-intro__video {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16/9; background: var(--gray-light);
}
.machine-intro__video iframe { width: 100%; height: 100%; border: none; display: block; }
.machine-intro__img {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--gray-light);
}
.machine-intro__img img { width: 100%; height: auto; display: block; }
.machine-intro__img-placeholder {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 13px; font-family: var(--font-en); letter-spacing: 0.06em;
}

.machine-intro__body {}
.machine-intro__catch {
  font-size: 21px; font-weight: 700; color: var(--orange);
  line-height: 1.5; margin-bottom: 16px;
}
.machine-intro__desc {
  font-size: 16px; font-weight: 300; color: var(--ink-mid);
  line-height: 1.9; margin-bottom: 20px;
}
.machine-tag {
  display: inline-block; background: var(--orange-light); color: var(--orange-dark);
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}

/* Point cards */
.point-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0;
}
.point-card {
  background: var(--white); border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-md); padding: 16px 18px;
  transition: border-color 0.15s;
}
.point-card:hover { border-color: var(--orange); }
.point-card__num {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--orange); margin-bottom: 6px;
}
.point-card__title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.point-card__desc  { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.65; }

/* Detail section (4-col features) */
.detail-section {
  background: var(--gray-light); padding: 64px 32px;
}
.detail-section__inner { max-width: 1200px; margin: 0 auto; }
.detail-section__title {
  font-family: var(--font-en); font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 8px;
}
.detail-section__h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 36px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px;
}
.feature-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px;
}
.feature-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; border: 1.5px solid var(--gray-mid);
}
.feature-card__img {
  aspect-ratio: 4/3; background: var(--gray-mid); overflow: hidden;
}
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 12px; font-family: var(--font-en);
}
.feature-card__body { padding: 16px 16px 18px; }
.feature-card__name { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-card__desc { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.7; }

/* Composition list */
.composition-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.composition-img { border-radius: var(--r-lg); overflow: hidden; }
.composition-img img { width: 100%; height: auto; }
.composition-img-placeholder {
  background: var(--gray-light); border-radius: var(--r-lg);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 13px; font-family: var(--font-en);
}
.composition-list {
  column-count: 2; column-gap: 12px;
}
.composition-list li {
  font-size: 14px; font-weight: 400; color: var(--ink-mid);
  padding: 8px 0; border-bottom: 1px solid var(--gray-mid);
  break-inside: avoid; display: flex; align-items: center; gap: 8px;
}
.composition-list li::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--orange); flex-shrink: 0;
}

/* Mode cards */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode-card {
  background: var(--white); border: 2px solid var(--orange-light);
  border-radius: var(--r-lg); padding: 24px 24px 26px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mode-card:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.mode-card__badge {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.mode-card__name { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.mode-card__items { display: flex; flex-direction: column; gap: 8px; }
.mode-card__item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; font-weight: 300; color: var(--ink-mid); line-height: 1.5;
}
.mode-card__item::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0; margin-top: 7px;
}

/* Contraindication */
.contraindication {
  background: #fff5f5; border: 1.5px solid #fecaca;
  border-radius: var(--r-lg); padding: 28px 32px;
}
.contraindication__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #c53030;
  margin-bottom: 16px;
}
.contraindication__title svg { width: 20px; height: 20px; flex-shrink: 0; }
.contraindication__list { column-count: 2; column-gap: 24px; }
.contraindication__list li {
  font-size: 13px; font-weight: 300; color: #742a2a;
  padding: 5px 0; border-bottom: 1px solid #fecaca;
  break-inside: avoid; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.contraindication__list li::before {
  content: '·'; font-size: 18px; line-height: 1; flex-shrink: 0; color: #fc8181;
}

/* Section divider */
.section-divider {
  height: 1px; background: var(--gray-mid);
  max-width: 1200px; margin: 0 auto;
}

.privacy .detail-section__h3{margin-bottom: 10px; border-bottom: 1px solid #F7941D; margin-bottom: 20px; padding: 50px 0 20px;}
.privacy .section{font-size: 90%; line-height: 1.7;}
.privacy .section ol{margin: 10px 0 0 20px;}

.employee p{margin: 10px 0 20px; border-bottom: 1.5px solid var(--gray-mid); padding-bottom: 20px}
.employee ul{list-style: disc; margin: 10px 0 0 40px;}

/*------------------greeting-------------------*/
  .rep-greeting {
    --rep-orange: var(--orange, #f7941d);
    --rep-orange-soft: #fdf1e0;
    --rep-text: #333333;
    --rep-sub: #767676;
    --rep-border: #e6e6e6;

    box-sizing: border-box;
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 24px;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    color: var(--rep-text);
  }
  .rep-greeting * { box-sizing: border-box; }

  .rep-greeting__heading {
    text-align: center;
    margin-bottom: 56px;
  }
  .rep-greeting__eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--rep-orange);
    font-weight: 700;
    margin-bottom: 8px;
  }
  .rep-greeting__title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
  }
  .rep-greeting__title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--rep-orange);
    margin: 16px auto 0;
    border-radius: 2px;
  }

  /* --- 挨拶ブロック --- */
  .rep-greeting__message {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 72px;
  }
  .rep-greeting__photo-wrap {
    text-align: center;
  }
  .rep-greeting__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    background: #f2f2f2; /* [PLACEHOLDER] 画像未設定時の背景色 */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .rep-greeting__photo-caption {
    margin-top: 14px;
    font-size: 13px;
    color: var(--rep-sub);
    line-height: 1.7;
  }
  .rep-greeting__photo-caption strong {
    display: block;
    font-size: 16px;
    color: var(--rep-text);
    letter-spacing: 0.03em;
  }

  .rep-greeting__body p {
    font-size: 15.5px;
    line-height: 2;
    margin: 0 0 1.4em;
  }
  .rep-greeting__body p:last-child { margin-bottom: 0; }

  .rep-greeting__signature {
    margin-top: 32px;
    text-align: right;
    font-size: 14px;
    color: var(--rep-sub);
    line-height: 1.8;
  }
  .rep-greeting__signature strong {
    display: block;
    font-size: 18px;
    color: var(--rep-text);
    margin-top: 4px;
    letter-spacing: 0.05em;
  }

  /* --- プロフィールブロック --- */
  .rep-profile {
    background: #fafafa;
    border: 1px solid var(--rep-border);
    border-radius: 12px;
    padding: 40px clamp(20px, 4vw, 48px);
  }
  .rep-profile__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 24px;
  }
  .rep-profile__title::before {
    content: "";
    width: 6px;
    height: 20px;
    background: var(--rep-orange);
    border-radius: 3px;
    display: inline-block;
  }

  .rep-profile__table {
    width: 100%;
    border-collapse: collapse;
  }
  .rep-profile__table tr {
    border-bottom: 1px solid var(--rep-border);
  }
  .rep-profile__table tr:last-child { border-bottom: none; }
  .rep-profile__table th,
  .rep-profile__table td {
    text-align: left;
    padding: 14px 12px;
    font-size: 14.5px;
    line-height: 1.8;
    vertical-align: top;
  }
  .rep-profile__table th {
    width: 140px;
    color: var(--rep-orange);
    font-weight: 700;
    white-space: nowrap;
  }
  .rep-profile__table td { color: var(--rep-text); }

  .rep-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .rep-profile__tag {
    background: var(--rep-orange-soft);
    color: var(--rep-orange);
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* --- レスポンシブ --- */
  @media (max-width: 768px) {
    .rep-greeting { padding: 56px 20px; }
    .rep-greeting__message {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .rep-greeting__photo-wrap { max-width: 220px; margin: 0 auto; }
    .rep-greeting__signature { text-align: left; }
    .rep-profile__table th { width: 96px; }
    .rep-profile__table th,
    .rep-profile__table td { padding: 12px 8px; font-size: 14px; }
  }


@media (max-width: 1024px) {
  .machine-intro, .machine-intro--reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr 1fr; }
  .composition-grid { grid-template-columns: 1fr; }
  .equip-section { padding: 64px 24px; }
  .detail-section { padding: 52px 24px; }
}
@media (max-width: 768px) {
  .point-grid { grid-template-columns: 1fr; }
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .contraindication__list { column-count: 1; }
  .composition-list { column-count: 1; }
  .equip-section { padding: 48px 20px; }
  .detail-section { padding: 44px 20px; }
  .equip-header__num { font-size: 36px; }
}


/* ===== CAFE PAGE SPECIFIC ===== */

/* Override header for cafe brand */
.cafe-header .site-header { border-bottom-color: var(--cafe-mid); }
.cafe-header .btn-reserve  { background: var(--cafe-dark); box-shadow: 0 4px 18px rgba(46,31,18,0.3); }
.cafe-header .btn-reserve:hover { background: #1e1008; }
.cafe-header .nav__links a:hover,
.cafe-header .nav__links a[aria-current="page"] { background: #f5ece0; color: var(--cafe-dark); }

/* Cafe breadcrumb (used inside hero overlay) */
.cafe-page-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; margin-bottom: 20px;
}
.cafe-page-hero__breadcrumb a { transition: opacity 0.15s; }
.cafe-page-hero__breadcrumb a:hover { opacity: 0.75; }

/* Hours section */
.hours-section { background: var(--white); padding: 56px 32px; }
.hours-section__inner { max-width: 1200px; margin: 0 auto; }
.hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hour-card {
  background: var(--white); border: 2px solid var(--cafe-mid);
  border-radius: var(--r-lg); padding: 28px 24px; text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
}
.hour-card:hover { box-shadow: 0 6px 20px rgba(46,31,18,0.1); transform: translateY(-3px); }
.hour-card__icon {
  width: 48px; height: 48px; margin: 0 auto 14px;
  background: #f5ece0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hour-card__icon svg { width: 24px; height: 24px; color: var(--cafe-dark); }
.hour-card__label {
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cafe-mid);
  margin-bottom: 10px;
}
.hour-card__ja { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.hour-card__time { font-family: var(--font-en); font-size: 22px; font-weight: 400; color: var(--cafe-dark); margin-bottom: 4px; }
.hour-card__note { font-size: 12px; font-weight: 300; color: var(--gray); }

/* Gallery */
.gallery-section { background: var(--gray-light); padding: 64px 32px; }
.gallery-section__inner { max-width: 1200px; margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
.gallery-item {
  background: #d8cfc4; border-radius: var(--r-md); overflow: hidden;
  transition: transform 0.2s; cursor: pointer;
}
.gallery-item:hover { transform: scale(1.01); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item-placeholder {
  width: 100%; height: 100%; min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  color: #8a7060; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.06em;
}
.gallery-item--main { grid-row: span 2; }
.gallery-item--main .gallery-item-placeholder { min-height: 280px; }
.gallery-item .gallery-item-placeholder { min-height: 132px; }

/* Menu banner */
.menu-section { background: var(--white); padding: 56px 32px; }
.menu-section__inner { max-width: 1200px; margin: 0 auto; }
.menu-banner {
  background: var(--cafe-dark); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 32px 40px; overflow: hidden; position: relative;
}
.menu-banner::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(197,168,130,0.1); pointer-events: none;
}
.menu-banner__img {
  flex: 0 0 auto; width: 100%; max-width: 800px; border-radius: var(--r-md); overflow: hidden;
}
.menu-banner__img img { width: 100%; height: auto; display: block; }
.menu-banner__img-placeholder {
  width: 220px; height: 120px;
  background: #3d2b1e; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: #5a4030; font-family: var(--font-en); font-size: 12px;
}
.menu-banner__body { flex: 1; position: relative; }
.menu-banner__label {
  font-family: var(--font-en); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cafe-mid);
  margin-bottom: 10px;
}
.menu-banner__title { font-size: 22px; font-weight: 700; color: #f0e8d8; margin-bottom: 8px; }
.menu-banner__desc { font-size: 14px; font-weight: 300; color: #f0e8d8; margin-bottom: 24px; }
.menu-banner__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cafe-mid); color: var(--cafe-dark);
  font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--r-pill);
  transition: opacity 0.15s;
}
.menu-banner__btn:hover { opacity: 0.85; }
.menu-banner__btn svg { width: 16px; height: 16px; }

/* Instagram section */
.sns-section { background: var(--orange-pale); padding: 52px 32px; }
.sns-section__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sns-section__body {}
.sns-section__label {
  font-family: var(--font-en); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 8px;
}
.sns-section__handle { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.sns-section__desc { font-size: 14px; font-weight: 300; color: var(--ink-mid); }
.sns-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 700; padding: 14px 28px;
  border-radius: var(--r-pill); transition: opacity 0.15s;
}
.sns-btn:hover { opacity: 0.82; }
.sns-btn svg { width: 20px; height: 20px; }

/* Access (cafe version) */
.cafe-access { background: var(--white); }

/* Reserve (cafe version) */
.cafe-reserve { background: var(--cafe-dark); padding: 64px 32px; }
.cafe-reserve__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cafe-reserve__heading { font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.45; color: #f0e8d8; margin-bottom: 14px; }
.cafe-reserve__sub { font-size: 16px; font-weight: 300; color: #f0e8d8; line-height: 1.8; }
.cafe-reserve__actions { display: flex; flex-direction: column; gap: 14px; }
.cafe-cta-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: var(--r-lg);
  border: 1.5px solid #4a3020; background: #3d2b1e;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s; cursor: pointer;
}
.cafe-cta-btn:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.2); transform: translateY(-2px); }
.cafe-cta-btn--hotpepper:hover { border-color: #e60039; }
.cafe-cta-btn--tel:hover { border-color: var(--cafe-mid); }
.cafe-cta-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cafe-cta-btn--hotpepper .cafe-cta-icon { background: #e60039; }
.cafe-cta-btn--tel        .cafe-cta-icon { background: var(--cafe-mid); }
.cafe-cta-icon svg { width: 24px; height: 24px; }
.cafe-cta-label { font-size: 16px; font-weight: 700; color: #f0e8d8; margin-bottom: 3px; }
.cafe-cta-note  { font-family: var(--font-en); font-size: 12px; font-weight: 300; letter-spacing: 0.04em; color: #f0e8d8; }
.cafe__logo img{
filter: brightness(0) saturate(100%) invert(28%) sepia(11%) saturate(5427%) hue-rotate(340deg) brightness(89%) contrast(88%) !important;}
    
/* Cafe footer override */
.cafe-footer { background: #1a0e06; }
.cafe-footer .footer-logo { color: var(--cafe-mid); }
.cafe-footer .footer-links a:hover { color: var(--cafe-mid); }
.cafe-footer .footer-sns-link:hover { color: var(--cafe-mid); }

@media (max-width: 1024px) {
  .hours-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--main { grid-row: span 1; }
  .gallery-item--main .gallery-item-placeholder { min-height: 200px; }
  .menu-banner { flex-direction: column; align-items: flex-start; }
  .menu-banner__img { width: 100%; }
  .menu-banner__img-placeholder { width: 100%; }
  .cafe-reserve__inner { grid-template-columns: 1fr; }
  .hours-section { padding: 48px 24px; }
  .gallery-section { padding: 52px 24px; }
  .menu-section { padding: 48px 24px; }
  .cafe-reserve { padding: 52px 24px; }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .sns-section__inner { flex-direction: column; align-items: flex-start; }
  .hours-grid { grid-template-columns: 1fr; }
  .hours-section { padding: 40px 20px; }
  .gallery-section { padding: 44px 20px; }
  .menu-section { padding: 40px 20px; }
  .cafe-reserve { padding: 44px 20px; }
  .sns-section { padding: 40px 20px; }
}


.historia-page-lead {
  margin-top: 10px;
}

.historia-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 48px);
  margin: clamp(28px, 5vw, 52px) 0 40px;
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
  color: var(--historia-brown);
  background:
    radial-gradient(circle at 15% 30%, rgba(217, 195, 148, 0.28), transparent 38%),
    linear-gradient(135deg, #fffdf8, var(--historia-ivory));
  border: 1px solid var(--historia-line);
  border-radius: 18px;
}

.historia-brand::before,
.historia-brand::after {
  position: absolute;
  width: 70px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--historia-gold), transparent);
}

.historia-brand::before {
  top: 16px;
  left: 16px;
}

.historia-brand::after {
  right: 16px;
  bottom: 16px;
}

.historia-brand__logo {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: clamp(118px, 18vw, 190px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--historia-gold-light);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(80, 52, 17, 0.12);
}

.historia-brand__logo img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.historia-brand__copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.historia-brand__name {
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.18em;
}

.historia-brand__tagline {
  margin-top: 14px;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.16em;
}

.historia-brand__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--historia-gold);
  font-family: "Times New Roman", serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.historia-brand__sub::before,
.historia-brand__sub::after {
  width: clamp(18px, 4vw, 50px);
  height: 1px;
  content: "";
  background: currentColor;
}

.historia-icon {
  display: grid;
  width: 80px;
  height: 70px;
    margin: 10px auto !important;
}

.historia-icon svg {
  width: 30px;
  height: 30px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.point-card__icon,
.mode-card__icon {
  margin-bottom: 16px;
}

.feature-card__icon {
  margin: 10px 10px 0;
}

.historia-scope .point-card,
.historia-scope .mode-card,
.historia-scope .feature-card {
  border-color: var(--historia-line);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: hover) {
  .historia-scope .point-card:hover,
  .historia-scope .mode-card:hover,
  .historia-scope .feature-card:hover {
    border-color: rgba(149, 112, 47, 0.52);
    box-shadow: 0 14px 30px rgba(80, 52, 17, 0.09);
    transform: translateY(-4px);
  }
}

@media (max-width: 767px) {
  .historia-brand {
    flex-direction: column;
    gap: 18px;
    padding: 24px 18px 28px;
  }

  .historia-brand__logo {
    width: 132px;
  }

  .historia-brand__name {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .historia-brand__tagline {
    letter-spacing: 0.1em;
  }

  .historia-brand__sub {
    gap: 8px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .historia-scope .feature-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .historia-scope .point-card,
  .historia-scope .mode-card,
  .historia-scope .feature-card {
    transition: none;
  }
}

