/*
 * FIKA HOME / Hidamari
 * All project styling is intentionally scoped to .hidamari.
 */

.hidamari {
  --h-green: #355c4a;
  --h-green-dark: #284438;
  --h-beige: #dccdb8;
  --h-beige-light: #eee6da;
  --h-bg: #f8f6f2;
  --h-white: #fff;
  --h-text: #333;
  --h-muted: #686962;
  --h-accent: #b97552;
  --h-line: rgba(53, 92, 74, 0.18);
  --h-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --h-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --h-max: 1200px;
  --h-gutter: clamp(20px, 4vw, 48px);
  --h-section: clamp(76px, 10vw, 152px);
  --h-radius: 16px;
  color: var(--h-text);
  background: var(--h-bg);
  font-family: var(--h-sans);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.035em;
}

.hidamari *,
.hidamari *::before,
.hidamari *::after {
  box-sizing: border-box;
}

.hidamari #content.l-content,
.hidamari .hidamari-main,
.hidamari .hidamari-content,
.hidamari .post_content,
.hidamari .post_content > .wp-block-group.hidamari {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* The editable core/block breadcrumb in the page body is authoritative. */
.hidamari #breadcrumb {
  display: none;
}

.hidamari .post_content > * {
  margin-block: 0;
}

.hidamari .hidamari-page {
  overflow: clip;
  background: var(--h-bg);
}

/*
 * Neutralize SWELL's global heading decoration inside FIKA HOME pages.
 * The parent theme injects a dark background and white text for post H2s;
 * without this reset, the project text color can become unreadable on it.
 */
.hidamari .post_content :where(h1, h2, h3, h4, h5, h6, .wp-block-heading),
.editor-styles-wrapper .hidamari :where(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hidamari .post_content :where(h1, h2, h3, h4, h5, h6, .wp-block-heading)::before,
.hidamari .post_content :where(h1, h2, h3, h4, h5, h6, .wp-block-heading)::after,
.editor-styles-wrapper .hidamari :where(h1, h2, h3, h4, h5, h6, .wp-block-heading)::before,
.editor-styles-wrapper .hidamari :where(h1, h2, h3, h4, h5, h6, .wp-block-heading)::after {
  display: none;
  content: none;
}

.hidamari h1,
.hidamari h2,
.hidamari h3,
.hidamari .wp-block-heading {
  margin: 0;
  color: inherit;
  font-family: var(--h-serif);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.06em;
  line-break: strict;
  text-wrap: balance;
  word-break: auto-phrase;
  overflow-wrap: normal;
}

.hidamari h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.hidamari h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.hidamari h3 {
  font-size: clamp(21px, 2vw, 29px);
}

.hidamari p,
.hidamari ul,
.hidamari ol,
.hidamari blockquote {
  margin-top: 0;
}

.hidamari p:last-child,
.hidamari ul:last-child,
.hidamari ol:last-child {
  margin-bottom: 0;
}

.hidamari a {
  color: inherit;
}

.hidamari img {
  display: block;
  max-width: 100%;
}

.hidamari :focus-visible {
  outline: 3px solid var(--h-accent);
  outline-offset: 4px;
}

.hidamari .h-container {
  width: min(calc(100% - (var(--h-gutter) * 2)), var(--h-max));
  margin-inline: auto;
}

.hidamari .h-container-narrow {
  width: min(calc(100% - (var(--h-gutter) * 2)), 840px);
  margin-inline: auto;
}

.hidamari .h-section {
  padding-block: var(--h-section);
}

.hidamari .h-section-white {
  background: var(--h-white);
}

.hidamari .h-section-beige {
  background: var(--h-beige-light);
}

.hidamari .h-section-green {
  color: var(--h-white);
  background: var(--h-green-dark);
}

.hidamari .h-eyebrow,
.hidamari .h-label,
.hidamari .h-number {
  margin-bottom: 24px;
  color: var(--h-green);
  font-family: var(--h-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hidamari .h-section-green .h-eyebrow,
.hidamari .h-section-green .h-label,
.hidamari .h-section-green .h-number {
  color: var(--h-beige);
}

.hidamari .h-lead {
  color: var(--h-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 2;
}

.hidamari .h-section-green .h-lead {
  color: rgba(255, 255, 255, 0.78);
}

.hidamari .wp-block-columns {
  margin-bottom: 0;
  gap: clamp(32px, 6vw, 88px);
}

.hidamari .wp-block-column > :last-child {
  margin-bottom: 0;
}

.hidamari .wp-block-image {
  margin: 0;
}

.hidamari .wp-block-image img,
.hidamari .h-cover .wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hidamari .h-media-16x9 {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hidamari .h-media-3x2 {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.hidamari .h-media-4x5 {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hidamari .h-media-square {
  aspect-ratio: 1;
  overflow: hidden;
}

.hidamari .wp-block-buttons {
  gap: 12px;
  margin-top: 34px;
}

.hidamari .wp-block-button__link,
.hidamari .hidamari-form__submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 30px;
  border: 1px solid var(--h-green);
  border-radius: 999px;
  color: var(--h-white);
  background: var(--h-green);
  font-family: var(--h-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hidamari .wp-block-button__link:hover,
.hidamari .hidamari-form__submit:hover {
  color: var(--h-white);
  background: var(--h-green-dark);
  border-color: var(--h-green-dark);
  box-shadow: 0 10px 24px rgba(40, 68, 56, 0.2);
  transform: translateY(-2px);
}

.hidamari .wp-block-button__link:active,
.hidamari .hidamari-form__submit:active {
  box-shadow: none;
  transform: translateY(0);
}

.hidamari .is-style-outline > .wp-block-button__link {
  color: var(--h-green);
  background: transparent;
}

.hidamari .h-button-light .wp-block-button__link {
  color: var(--h-green-dark);
  background: var(--h-white);
  border-color: var(--h-white);
}

.hidamari .h-button-outline-light .wp-block-button__link {
  color: var(--h-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.hidamari .is-style-outline > .wp-block-button__link:hover {
  color: var(--h-white);
  background: var(--h-green);
  border-color: var(--h-green);
}

.hidamari .h-button-light .wp-block-button__link:hover {
  color: var(--h-green-dark);
  background: var(--h-beige);
  border-color: var(--h-beige);
}

.hidamari .h-button-outline-light .wp-block-button__link:hover {
  color: var(--h-green-dark);
  background: var(--h-white);
  border-color: var(--h-white);
}

/* SWELL standard header and menu */
.hidamari .l-header {
  color: var(--h-green-dark);
  background: rgba(248, 246, 242, 0.96);
  border-bottom: 1px solid var(--h-line);
  box-shadow: none;
}

.hidamari .l-header__inner {
  max-width: 1440px;
  min-height: 86px;
  padding-inline: clamp(20px, 3vw, 42px);
}

.hidamari .c-headLogo__link {
  color: var(--h-green-dark);
  font-family: var(--h-serif);
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hidamari .c-gnav > li > a {
  min-height: 44px;
  color: var(--h-green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hidamari .c-gnav > li.hidamari-nav-cta {
  display: flex;
  align-items: center;
}

.hidamari .c-gnav > li.hidamari-nav-cta > a {
  height: 48px;
  min-height: 48px;
  margin-left: 16px;
  padding-inline: 24px;
  border-radius: 6px;
  color: var(--h-white);
  background: var(--h-green);
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hidamari .c-gnav > li.hidamari-nav-cta > a:hover {
  color: var(--h-white);
  background: var(--h-green-dark);
  box-shadow: 0 8px 20px rgba(40, 68, 56, 0.2);
  transform: translateY(-1px);
}

.hidamari .c-gnav > li.hidamari-nav-cta > a:active {
  box-shadow: none;
  transform: translateY(0);
}

.hidamari .l-header__menuBtn {
  min-width: 48px;
  min-height: 48px;
  color: var(--h-green-dark);
}

.hidamari .p-spMenu__inner {
  color: var(--h-green-dark);
  background: var(--h-bg);
}

.hidamari .p-spMenu__nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
}

/* Page hero and breadcrumb */
.hidamari .h-page-hero {
  padding-block: clamp(80px, 11vw, 160px);
  background: var(--h-bg);
}

.hidamari .h-page-hero .wp-block-columns {
  align-items: center !important;
}

.hidamari .h-page-hero h1 {
  color: var(--h-green-dark);
}

.hidamari .h-page-hero:not(.h-page-hero-simple) h1 {
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.5;
  letter-spacing: 0.045em;
}

.hidamari .h-page-hero .h-lead {
  margin-top: 30px;
  max-width: 680px;
}

.hidamari .h-page-hero-simple {
  text-align: center;
}

.hidamari .h-page-hero-simple h1 {
  max-width: 19em;
  margin-inline: auto;
  line-break: strict;
  text-wrap: balance;
}

.hidamari .h-page-hero .text-break--mobile {
  display: none;
}

.hidamari .h-page-hero-simple .h-lead {
  max-width: 900px;
  margin-inline: auto;
}

.hidamari .h-breadcrumb {
  padding-block: 15px;
  border-top: 1px solid var(--h-line);
  border-bottom: 1px solid var(--h-line);
  color: var(--h-muted);
  background: var(--h-bg);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.hidamari .h-breadcrumb a {
  color: var(--h-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Home hero */
.hidamari .h-home-hero {
  min-height: min(900px, calc(100svh - 86px));
  padding: 0;
}

.hidamari .h-home-hero .wp-block-cover__inner-container {
  width: min(calc(100% - (var(--h-gutter) * 2)), var(--h-max));
  margin-inline: auto;
}

.hidamari .h-home-hero-copy {
  max-width: 680px;
  color: var(--h-white);
}

.hidamari .h-home-hero-copy h1 {
  font-size: clamp(48px, 6.2vw, 82px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.hidamari .h-home-hero-copy .h-lead {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.hidamari .h-home-hero-copy .h-eyebrow {
  color: var(--h-white);
}

/* Reusable section structures */
.hidamari .h-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: end;
  margin-bottom: clamp(54px, 7vw, 92px);
}

.hidamari .h-split {
  align-items: center !important;
}

.hidamari .h-story-copy p {
  margin-bottom: 24px;
  color: var(--h-muted);
  line-height: 2;
}

.hidamari .h-section-green .h-story-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.hidamari .h-card-grid-3,
.hidamari .h-card-grid-4,
.hidamari .h-card-grid-2 {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.hidamari .h-card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hidamari .h-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hidamari .h-card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/*
 * SWELL adds an inner container to core Group blocks on the front end.
 * Let that container participate in the intended grid so cards do not
 * collapse into a single vertical column on desktop.
 */
.hidamari :is(
    .h-section-heading,
    .h-card-grid-2,
    .h-card-grid-3,
    .h-card-grid-4,
    .h-concept-list,
    .h-flow-grid,
    .h-numbered-list,
    .h-quality-detail-grid,
    .h-editorial-list
  ) > .wp-block-group__inner-container {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: inherit;
  align-items: inherit;
  gap: inherit;
  width: 100%;
  min-width: 0;
}

.hidamari .h-card {
  margin: 0;
}

.hidamari .h-card h2,
.hidamari .h-card h3 {
  margin-top: 20px;
}

.hidamari .h-card p {
  margin-top: 12px;
  color: var(--h-muted);
  font-size: 15px;
}

.hidamari .h-card-meta {
  margin-top: 16px;
  color: var(--h-accent) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hidamari .h-life-card:nth-child(even) {
  margin-top: 64px;
}

.hidamari .h-concept-list {
  display: grid;
  gap: 36px;
}

.hidamari .h-concept-item {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hidamari .h-concept-item p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.hidamari .h-quality-card {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--h-radius);
  background: var(--h-bg);
}

.hidamari .h-quality-card .h-media-square {
  max-width: 180px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--h-beige-light);
}

.hidamari .h-quality-card h2,
.hidamari .h-quality-card h3 {
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hidamari .h-quality-card p {
  color: var(--h-muted);
  font-size: 14px;
}

.hidamari .h-voice-card {
  padding: clamp(28px, 4vw, 46px);
  border: 0;
  border-left: 2px solid var(--h-accent);
  background: rgba(255, 255, 255, 0.68);
}

.hidamari .h-voice-card p {
  margin-bottom: 18px;
  line-height: 2;
}

.hidamari .h-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(50px, 7vw, 86px);
  background: rgba(255, 255, 255, 0.18);
}

.hidamari .h-flow-card {
  min-height: 100%;
  padding: clamp(26px, 4vw, 44px);
  background: var(--h-green-dark);
}

.hidamari .h-flow-card .h-media-square {
  width: 86px;
  margin-bottom: 20px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.hidamari .h-flow-card .h-media-square img {
  object-fit: contain;
}

.hidamari .h-flow-card h3 {
  font-size: 22px;
}

.hidamari .h-flow-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hidamari .h-contact-cover {
  min-height: 620px;
}

.hidamari .h-contact-cover .wp-block-cover__inner-container {
  width: min(calc(100% - (var(--h-gutter) * 2)), var(--h-max));
  margin-inline: auto;
}

.hidamari .h-contact-copy {
  max-width: 720px;
  color: var(--h-white);
}

.hidamari .h-contact-copy .h-label,
.hidamari .h-contact-copy .h-lead {
  color: rgba(255, 255, 255, 0.86);
}

/* Numbered concept sections */
.hidamari .h-numbered-list {
  display: grid;
  gap: clamp(76px, 10vw, 140px);
}

.hidamari .h-numbered-row {
  align-items: center !important;
}

.hidamari .h-numbered-row:nth-child(even) .wp-block-column:first-child {
  order: 2;
}

.hidamari .h-numbered-row h2 {
  margin-bottom: 24px;
}

.hidamari .h-numbered-row p,
.hidamari .h-numbered-row li {
  color: var(--h-muted);
}

/* Quality detail */
.hidamari .h-quality-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hidamari .h-quality-detail {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--h-line);
  background: var(--h-white);
}

.hidamari .h-quality-detail .h-media-square {
  width: min(180px, 55%);
  margin: 14px auto 26px;
}

.hidamari .h-quality-detail p {
  color: var(--h-muted);
}

.hidamari .h-demo-notice {
  margin-top: 42px;
  padding: 22px 26px;
  border-left: 3px solid var(--h-accent);
  background: var(--h-white);
  color: var(--h-muted);
  font-size: 14px;
}

/* Editorial stories */
.hidamari .h-editorial-list {
  display: grid;
  gap: clamp(88px, 13vw, 170px);
}

.hidamari .h-editorial-story {
  width: min(920px, 100%);
}

.hidamari .h-editorial-story:nth-child(even) {
  margin-left: auto;
}

.hidamari .h-editorial-story .h-number {
  margin-top: 24px;
  margin-bottom: 12px;
}

.hidamari .h-editorial-story p:last-child {
  max-width: 680px;
  color: var(--h-muted);
}

/* Company */
.hidamari .h-company-table table {
  width: 100%;
  border-collapse: collapse;
}

.hidamari .h-company-table td {
  padding: 20px 18px;
  border: 0;
  border-bottom: 1px solid var(--h-line);
  vertical-align: top;
}

.hidamari .h-company-table td:first-child {
  width: 32%;
  color: var(--h-green-dark);
  font-weight: 700;
}

.hidamari .h-access-map {
  width: min(840px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(53, 92, 74, 0.15);
  border-radius: 8px;
  background: var(--h-white);
  box-shadow: 0 16px 40px rgba(40, 68, 56, 0.08);
}

.hidamari .h-access-caption {
  padding: 18px 22px;
  color: var(--h-muted);
  font-size: 13px;
}

/* Privacy */
.hidamari .h-policy-content h2 {
  margin-top: 56px;
  margin-bottom: 18px;
  font-size: clamp(24px, 2.5vw, 32px);
}

.hidamari .h-policy-content p {
  color: var(--h-muted);
}

.hidamari .h-text-link {
  color: var(--h-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Thanks */
.hidamari .h-thanks-panel {
  padding: clamp(46px, 8vw, 94px);
  border-radius: var(--h-radius);
  background: var(--h-white);
  text-align: center;
}

.hidamari .h-thanks-mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin: 0 auto 34px;
  border: 1px solid var(--h-green);
  border-radius: 50%;
  color: var(--h-green);
  font-size: 30px;
}

.hidamari .h-thanks-panel > p:not(.h-eyebrow, .h-thanks-mark) {
  color: var(--h-muted);
}

.hidamari .h-thanks-panel .wp-block-buttons {
  justify-content: center;
}

/* Contact form */
.hidamari .h-contact-layout {
  align-items: start !important;
}

.hidamari .h-contact-aside {
  position: sticky;
  top: 28px;
}

.hidamari .hidamari-form {
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--h-radius);
  background: var(--h-white);
}

.hidamari .hidamari-form__status {
  margin-bottom: 30px;
  padding: 16px 18px;
  border-left: 3px solid var(--h-accent);
  color: #7a361f;
  background: #fff3ed;
  font-size: 14px;
}

.hidamari .hidamari-form__field {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.hidamari .hidamari-form__field > label,
.hidamari .hidamari-form__field > legend {
  display: block;
  margin-bottom: 10px;
  color: var(--h-green-dark);
  font-size: 15px;
  font-weight: 700;
}

.hidamari .hidamari-required,
.hidamari .hidamari-optional {
  margin-left: 8px;
  color: var(--h-accent);
  font-size: 11px;
  white-space: nowrap;
}

.hidamari .hidamari-optional {
  color: var(--h-muted);
}

.hidamari .hidamari-form input[type="text"],
.hidamari .hidamari-form input[type="email"],
.hidamari .hidamari-form input[type="tel"],
.hidamari .hidamari-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid #b7b8b1;
  border-radius: 4px;
  color: var(--h-text);
  background: var(--h-bg);
  font: inherit;
}

.hidamari .hidamari-form textarea {
  min-height: 190px;
  resize: vertical;
}

.hidamari .hidamari-form input:focus,
.hidamari .hidamari-form textarea:focus {
  border-color: var(--h-green);
  outline: 3px solid rgba(53, 92, 74, 0.16);
  outline-offset: 0;
}

.hidamari .hidamari-form__choices {
  display: grid;
  gap: 10px;
}

.hidamari .hidamari-form__choices > label,
.hidamari .hidamari-form__privacy > label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--h-text);
  font-size: 15px;
  font-weight: 400;
}

.hidamari .hidamari-form__choices input,
.hidamari .hidamari-form__privacy input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin: 0;
  accent-color: var(--h-green);
}

.hidamari .hidamari-form__privacy > label {
  align-items: flex-start;
  padding-block: 8px;
}

.hidamari .hidamari-form__privacy input {
  margin-top: 3px;
}

.hidamari .hidamari-form__privacy a {
  color: var(--h-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hidamari .hidamari-form__note {
  margin-bottom: 30px;
  color: var(--h-muted);
  font-size: 13px;
}

.hidamari .hidamari-form__submit {
  width: 100%;
  min-height: 60px;
  cursor: pointer;
}

.hidamari .hidamari-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Contact Form 7 */
.hidamari .wpcf7 {
  width: 100%;
  margin: 0;
  color: var(--h-text);
  font-family: var(--h-sans);
}

.hidamari .hidamari-cf7 {
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--h-radius);
  background: var(--h-white);
  box-shadow: 0 18px 46px rgba(40, 68, 56, 0.08);
}

.hidamari .hidamari-cf7__field {
  margin: 0 0 30px;
}

.hidamari .hidamari-cf7__field label,
.hidamari .hidamari-cf7__label,
.hidamari .hidamari-cf7 .wpcf7-form-control-wrap {
  display: block;
}

.hidamari .hidamari-cf7__label {
  margin-bottom: 10px;
  color: var(--h-green-dark);
  font-size: 15px;
  font-weight: 700;
}

.hidamari .hidamari-cf7__required,
.hidamari .hidamari-cf7__optional {
  display: inline-block;
  margin-left: 8px;
  color: var(--h-accent);
  font-size: 11px;
  white-space: nowrap;
}

.hidamari .hidamari-cf7__optional {
  color: var(--h-muted);
}

.hidamari .hidamari-cf7 input[type="text"],
.hidamari .hidamari-cf7 input[type="email"],
.hidamari .hidamari-cf7 input[type="tel"],
.hidamari .hidamari-cf7 textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid #b7b8b1;
  border-radius: 4px;
  color: var(--h-text);
  background: var(--h-bg);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hidamari .hidamari-cf7 textarea {
  min-height: 190px;
  resize: vertical;
}

.hidamari .hidamari-cf7 input::placeholder,
.hidamari .hidamari-cf7 textarea::placeholder {
  color: #898a84;
  opacity: 1;
}

.hidamari .hidamari-cf7 input:focus,
.hidamari .hidamari-cf7 textarea:focus {
  border-color: var(--h-green);
  outline: 0;
  background: var(--h-white);
  box-shadow: 0 0 0 3px rgba(53, 92, 74, 0.16);
}

.hidamari .hidamari-cf7 .wpcf7-not-valid {
  border-color: var(--h-accent);
}

.hidamari .hidamari-cf7 .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #8a3e27;
  font-size: 13px;
}

.hidamari .hidamari-cf7__privacy {
  margin: -4px 0 24px;
  color: var(--h-muted);
  font-size: 13px;
}

.hidamari .hidamari-cf7__privacy a {
  color: var(--h-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hidamari .hidamari-cf7__submit {
  position: relative;
}

.hidamari .hidamari-cf7 input[type="submit"] {
  width: 100%;
  min-height: 60px;
  padding: 14px 30px;
  border: 1px solid var(--h-green);
  border-radius: 999px;
  color: var(--h-white);
  background: var(--h-green);
  font-family: var(--h-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hidamari .hidamari-cf7 input[type="submit"]:hover {
  background: var(--h-green-dark);
  border-color: var(--h-green-dark);
  box-shadow: 0 10px 24px rgba(40, 68, 56, 0.2);
  transform: translateY(-2px);
}

.hidamari .hidamari-cf7 input[type="submit"]:active {
  box-shadow: none;
  transform: translateY(0);
}

.hidamari .hidamari-cf7 input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.hidamari .hidamari-cf7 .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 18px;
  margin: 0;
  transform: translateY(-50%);
}

.hidamari .wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 15px 18px;
  border: 0;
  border-left: 3px solid var(--h-accent);
  color: #7a361f;
  background: #fff3ed;
  font-size: 14px;
}

.hidamari .wpcf7 form.sent .wpcf7-response-output {
  border-left-color: var(--h-green);
  color: var(--h-green-dark);
  background: #edf5f0;
}

/* SWELL standard footer */
.hidamari .l-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #18352d;
}

.hidamari .l-footer__widgetArea,
.hidamari .l-footer__foot {
  background: transparent;
}

.hidamari .w-footer,
.hidamari .l-footer__foot .l-container {
  max-width: var(--h-max);
}

.hidamari .hidamari-footer-brand h2 {
  color: var(--h-white);
  font-size: 28px;
  letter-spacing: 0.14em;
}

.hidamari .l-footer__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hidamari .copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

@media (max-width: 1199px) {
  .hidamari .h-card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hidamari .h-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hidamari {
    font-size: 16px;
  }

  .hidamari h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hidamari h2 {
    font-size: clamp(26px, 7.2vw, 30px);
    letter-spacing: 0.045em;
  }

  .hidamari .l-header__inner {
    min-height: 68px;
  }

  .hidamari .h-home-hero {
    min-height: 680px;
  }

  .hidamari .h-home-hero-copy h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hidamari .h-page-hero {
    padding-block: 74px 84px;
  }

  .hidamari .h-page-hero:not(.h-page-hero-simple) h1 {
    font-size: clamp(27px, 8.2vw, 32px);
  }

  .hidamari .h-page-hero-simple h1 {
    max-width: 11em;
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.55;
  }

  .hidamari .h-page-hero .text-break--mobile {
    display: inline;
  }

  .hidamari .h-page-hero .text-break--desktop {
    display: none;
  }

  .hidamari .h-page-hero:not(.h-page-hero-simple) h1 br,
  .hidamari .h-section-heading h2 br,
  .hidamari .h-split h2 br,
  .hidamari .h-contact-copy h2 br,
  .hidamari .h-contact-aside h2 br,
  .hidamari .h-thanks-panel h1 br {
    display: none;
  }

  .hidamari .h-thanks-panel {
    padding-inline: 24px;
  }

  .hidamari .h-thanks-panel h1 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hidamari .h-section-heading,
  .hidamari .h-card-grid-2,
  .hidamari .h-card-grid-3,
  .hidamari .h-card-grid-4,
  .hidamari .h-quality-detail-grid,
  .hidamari .h-flow-grid {
    grid-template-columns: 1fr;
  }

  .hidamari .h-section-heading {
    align-items: start;
    margin-bottom: 46px;
  }

  .hidamari .wp-block-columns {
    gap: 34px;
  }

  .hidamari .h-numbered-row:nth-child(even) .wp-block-column:first-child {
    order: initial;
  }

  .hidamari .h-life-card:nth-child(even) {
    margin-top: 0;
  }

  .hidamari .h-contact-cover {
    min-height: 560px;
  }

  .hidamari .h-company-table,
  .hidamari .h-company-table tbody,
  .hidamari .h-company-table tr,
  .hidamari .h-company-table td {
    display: block;
    width: 100%;
  }

  .hidamari .h-company-table td:first-child {
    width: 100%;
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .hidamari .h-company-table td:last-child {
    padding-top: 4px;
  }

  .hidamari .h-contact-aside {
    position: static;
  }

  .hidamari .hidamari-form {
    padding-inline: 22px;
  }

  .hidamari .hidamari-form__privacy > label {
    gap: 8px;
  }

  .hidamari .hidamari-form__privacy .hidamari-required {
    margin-left: 6px;
  }

  .hidamari .wp-block-buttons,
  .hidamari .wp-block-button,
  .hidamari .wp-block-button__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hidamari *,
  .hidamari *::before,
  .hidamari *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
