@charset "utf-8";

.masa-section-heading {
  color: var(--masa-ink);
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0 0 34px;
  text-align: center;
}

.masa-button {
  align-items: center;
  background-color: var(--masa-green);
  border: 1px solid var(--masa-green);
  border-radius: 3px;
  color: var(--masa-white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.05em;
  line-height: 1.5;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.masa-button-light {
  background-color: var(--masa-white);
  border-color: var(--masa-gold);
  color: var(--masa-gold);
}

.masa-button:hover {
  background-color: var(--masa-white);
  border-color: var(--masa-green);
  color: var(--masa-green);
  text-decoration: none;
}

.masa-button-light:hover {
  background-color: var(--masa-gold);
  border-color: var(--masa-gold);
  color: var(--masa-white);
}

body :is(h1, h2) {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* Shared hero frame for the five standard pages that use a single image. */
.masa-standard-hero {
  background: #f5f0ea;
  overflow: hidden;
}

.masa-standard-hero-copy {
  max-width: 460px;
  position: static;
}

.masa-standard-hero-kicker {
  color: #9b6b2d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.masa-standard-hero-title {
  color: #2b2a26;
  font-family: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 32px;
}

.masa-standard-hero-lead {
  color: #33302b;
  font-family: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.75;
  margin: 0 0 28px;
}

.masa-standard-hero-description {
  color: #6e6a62;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 2;
  margin: 0;
}

@media (min-width: 768px) {
  .masa-standard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 460px;
  }

  .masa-standard-hero-inner {
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    max-width: none;
    padding: 64px 48px 64px max(24px, calc((100vw - 1100px) / 2));
    position: relative;
    width: 100%;
    z-index: 2;
  }

  .masa-standard-hero-image {
    border-radius: 9999px 0 0 9999px;
    grid-column: 2;
    grid-row: 1;
    height: auto;
    inset: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .masa-standard-hero-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .masa-standard-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }

  .masa-standard-hero-inner {
    margin: 0;
    max-width: none;
    padding: 40px 24px 32px;
    width: 100%;
  }

  .masa-standard-hero-copy {
    max-width: none;
  }

  .masa-standard-hero-title {
    font-size: 40px;
    margin-bottom: 24px;
  }

  .masa-standard-hero-lead {
    font-size: 19px;
    margin-bottom: 20px;
  }

  .masa-standard-hero-image {
    border-radius: 9999px 0 0 9999px;
    display: block;
    height: 260px;
    inset: auto;
    order: -1;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .masa-standard-hero-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    width: 100%;
  }
}

/* Preserve the shared hero values with the required selector specificity. */
body .masa-standard-hero {
  background: #f5f0ea;
}

body .masa-standard-hero .masa-standard-hero-copy {
  max-width: 460px;
  position: static;
}

body .masa-standard-hero .masa-standard-hero-kicker {
  color: #9b6b2d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  margin: 0 0 10px;
}

body .masa-standard-hero .masa-standard-hero-title {
  color: #2b2a26;
  font-family: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 32px;
}

body .masa-standard-hero .masa-standard-hero-lead {
  color: #33302b;
  font-family: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.75;
  margin: 0 0 28px;
}

body .masa-standard-hero .masa-standard-hero-description {
  color: #6e6a62;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 2;
  margin: 0;
}

@media (min-width: 768px) {
  body .masa-standard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 460px;
  }

  body .masa-standard-hero .masa-standard-hero-inner {
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    max-width: none;
    padding: 64px 48px 64px max(24px, calc((100vw - 1100px) / 2));
    position: relative;
    width: 100%;
    z-index: 2;
  }

  body .masa-standard-hero .masa-standard-hero-image {
    border-radius: 9999px 0 0 9999px;
    grid-column: 2;
    grid-row: 1;
    height: auto;
    inset: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  body .masa-standard-hero .masa-standard-hero-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body .masa-standard-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }

  body .masa-standard-hero .masa-standard-hero-inner {
    margin: 0;
    max-width: none;
    padding: 40px 24px 32px;
    width: 100%;
  }

  body .masa-standard-hero .masa-standard-hero-copy {
    max-width: none;
  }

  body .masa-standard-hero .masa-standard-hero-title {
    font-size: 40px;
    margin-bottom: 24px;
  }

  body .masa-standard-hero .masa-standard-hero-lead {
    font-size: 19px;
    margin-bottom: 20px;
  }

  body .masa-standard-hero .masa-standard-hero-image {
    border-radius: 9999px 0 0 9999px;
    display: block;
    height: 260px;
    inset: auto;
    order: -1;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  body .masa-standard-hero .masa-standard-hero-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body .masa-standard-hero .masa-standard-hero-title,
  body .ohana-page .ohana-hero h1.ohana-hero-title-line,
  body .ohana-page .ohana-menu-hero h1.ohana-hero-title,
  body .privacy-page .privacy-header h1,
  body .thanks-page .thanks-hero h1 {
    font-size: 26px;
  }

  body .masa-standard-hero .masa-standard-hero-lead,
  body .masa-contact-hero .masa-standard-hero-copy .masa-standard-hero-lead,
  body .ohana-page .ohana-hero .ohana-hero-lead-line,
  body .ohana-page .ohana-menu-hero .ohana-hero-text,
  body .thanks-page .thanks-lead {
    font-size: 16px;
  }
}
