@charset "UTF-8";
/*
Theme Name: オトノミカ Renewal Child
Description: Cocoonを親テーマにした、オトノミカの明るいリニューアルデザイン。
Theme URI: https://nomiy-style.com/
Author: オトノミカ
Template: cocoon-master
Version: 1.4.1
Text Domain: otonomika-renewal
*/

:root {
  --om-navy: #0b2859;
  --om-navy-2: #173d72;
  --om-text: #243b5d;
  --om-muted: #6f83a0;
  --om-blue: #12b7ef;
  --om-indigo: #686cf4;
  --om-pink: #ff72ad;
  --om-sky: #eaf8ff;
  --om-blush: #fff0f7;
  --om-line: #dce8f3;
  --om-white: #ffffff;
  --om-shadow: 0 16px 42px rgba(24, 70, 117, 0.11);
  --om-radius: 18px;
  --om-shell: 1180px;
}

html {
  scroll-behavior: smooth;
}

body.otonomika-renewal {
  color: var(--om-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

body.otonomika-renewal a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

body.otonomika-renewal img {
  height: auto;
}

.om-shell {
  width: min(calc(100% - 48px), var(--om-shell));
  margin-inline: auto;
}

/* Cocoon header: keep the existing menu and style it. */
body.otonomika-renewal #header-container {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(197, 218, 235, 0.8);
  box-shadow: 0 4px 22px rgba(20, 61, 105, 0.05);
}

body.otonomika-renewal #header-container-in {
  display: flex;
  align-items: center;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 30px;
  max-width: 1280px;
}

body.otonomika-renewal #header {
  flex: 0 0 auto;
  width: auto;
  min-height: 0;
  background: transparent;
}

body.otonomika-renewal #header-in {
  display: flex;
  align-items: center;
  width: auto;
  min-height: 0;
  padding: 0;
}

body.otonomika-renewal .tagline {
  display: none;
}

body.otonomika-renewal .logo-header {
  margin: 0;
  line-height: 1;
}

body.otonomika-renewal .site-name-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--om-navy);
  text-decoration: none;
}

body.otonomika-renewal .site-name-text-link::before {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  content: "";
  background: url("assets/images/logo-wave.svg") center / contain no-repeat;
}

body.otonomika-renewal .site-name-text {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  letter-spacing: 0.06em;
}

body.otonomika-renewal .site-name-text::after {
  position: absolute;
  left: 2px;
  bottom: 0;
  content: "音で、つくる。もっと近くに。";
  color: #7185a0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

body.otonomika-renewal #navi {
  flex: 1 1 auto;
  width: auto;
  margin-left: auto;
  background: transparent;
}

body.otonomika-renewal #navi-in {
  width: auto;
  padding: 0;
}

body.otonomika-renewal #navi .menu-header {
  justify-content: flex-end;
  gap: 2px;
}

body.otonomika-renewal #navi .menu-header > li {
  width: auto;
  min-width: 0;
}

body.otonomika-renewal #navi .menu-header > li > a {
  min-height: 46px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--om-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

body.otonomika-renewal #navi .menu-header > li > a:hover,
body.otonomika-renewal #navi .menu-header > li.current-menu-item > a {
  color: var(--om-indigo);
  background: #f4f7ff;
}

body.otonomika-renewal #navi .menu-header > li > a[href*="/contact/"] {
  margin-left: 7px;
  padding-inline: 22px;
  color: #fff;
  background: linear-gradient(100deg, var(--om-blue), var(--om-indigo) 54%, var(--om-pink));
  box-shadow: 0 9px 22px rgba(70, 126, 239, 0.26);
}

body.otonomika-renewal #navi .menu-header > li > a[href*="/contact/"]:hover {
  color: #fff;
  box-shadow: 0 12px 28px rgba(70, 126, 239, 0.36);
  transform: translateY(-1px);
}

/* The home page is intentionally full-width and has no sidebar. */
body.otonomika-renewal.home #content {
  margin: 0;
}

body.otonomika-renewal.home #content-in {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.otonomika-renewal.home #main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.otonomika-renewal.home #sidebar {
  display: none;
}

.om-home {
  overflow: hidden;
  color: var(--om-text);
  background: #fff;
}

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

.om-home a {
  color: inherit;
  text-decoration: none;
}

.om-hero {
  position: relative;
  min-height: clamp(460px, 42vw, 560px);
  isolation: isolate;
}

.om-hero__image,
.om-purpose__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.om-hero__image {
  object-position: center center;
}

.om-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 28%, rgba(255, 255, 255, 0.47) 50%, rgba(255, 255, 255, 0.02) 77%);
}

.om-hero__inner {
  display: flex;
  align-items: center;
  min-height: clamp(460px, 42vw, 560px);
  padding-block: 56px;
}

.om-hero__content {
  width: min(610px, 56%);
}

.om-eyebrow,
.om-kicker {
  margin: 0 0 12px;
  color: var(--om-indigo);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.om-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--om-navy-2);
}

.om-eyebrow::before,
.om-kicker::before {
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-right: 8px;
  border-radius: 999px;
  content: "";
  vertical-align: middle;
  background: linear-gradient(90deg, var(--om-blue), var(--om-pink));
}

.om-hero__title {
  margin: 0;
  color: var(--om-navy);
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.26;
  text-wrap: balance;
}

.om-hero__lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: #385374;
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 600;
  line-height: 1.95;
}

.om-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.om-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.om-button:hover {
  transform: translateY(-2px);
}

.om-button--primary {
  color: #fff !important;
  background: linear-gradient(100deg, var(--om-blue), var(--om-indigo) 58%, var(--om-pink));
  box-shadow: 0 12px 28px rgba(74, 115, 236, 0.25);
}

.om-button--primary:hover {
  box-shadow: 0 16px 34px rgba(74, 115, 236, 0.35);
}

.om-button--ghost {
  color: var(--om-pink) !important;
  border-color: #ff9dc4;
  background: rgba(255, 255, 255, 0.9);
}

.om-button--ghost:hover,
.om-button--outline:hover {
  color: var(--om-indigo) !important;
  border-color: var(--om-indigo);
  background: #fff;
}

.om-button--outline {
  color: var(--om-indigo) !important;
  border-color: #8ca8ff;
  background: #fff;
}

.om-section {
  padding: clamp(58px, 6vw, 82px) 0;
}

.om-section-heading {
  margin-bottom: 34px;
}

.om-section-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.om-section-heading h2,
.om-purpose h2,
.om-about h2,
.om-business h2 {
  margin: 0;
  color: var(--om-navy);
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.om-text-link {
  flex: 0 0 auto;
  padding-bottom: 5px;
  color: #288be0 !important;
  border-bottom: 1px solid #79c4f7;
  font-size: 13px;
  font-weight: 800;
}

.om-text-link:hover {
  color: var(--om-pink) !important;
  border-color: var(--om-pink);
}

.om-feature-grid {
  display: grid;
  grid-template-columns: 1.75fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.om-feature-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(30, 78, 123, 0.06);
}

.om-feature-card:hover {
  border-color: #b8d8f1;
  box-shadow: var(--om-shadow);
  transform: translateY(-4px);
}

.om-feature-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.om-feature-card__media,
.om-latest-card__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--om-sky), var(--om-blush));
}

.om-feature-card__media {
  aspect-ratio: 16 / 10;
}

.om-feature-card--primary .om-feature-card__media {
  aspect-ratio: 16 / 9;
}

.om-home .om-feature-card__media img,
.om-home .om-latest-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.om-feature-card:hover img,
.om-latest-card:hover img {
  transform: scale(1.035);
}

.om-media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 28% 36%, rgba(18, 183, 239, 0.38), transparent 28%),
    radial-gradient(circle at 72% 55%, rgba(255, 114, 173, 0.3), transparent 30%),
    linear-gradient(135deg, #edfaff, #f8f4ff 55%, #fff1f7);
}

.om-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  overflow: hidden;
  color: #fff;
  border-radius: 7px;
  background: linear-gradient(100deg, var(--om-pink), #f05ba4);
  box-shadow: 0 7px 16px rgba(211, 69, 135, 0.2);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.om-feature-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 16px 19px;
}

.om-feature-card--primary .om-feature-card__body {
  padding: 22px 24px 24px;
}

.om-feature-card h3,
.om-latest-card h3 {
  margin: 0;
  color: var(--om-navy);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.58;
}

.om-feature-card--primary h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.45;
}

.om-feature-card__body p {
  margin: 12px 0 0;
  color: var(--om-muted);
  font-size: 13px;
  line-height: 1.65;
}

.om-card-more {
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: #278ddf;
  font-size: 12px;
  font-weight: 800;
}

.om-card-date {
  display: block;
  margin-top: auto;
  padding-top: 13px;
  color: #91a2b7;
  font-size: 10px;
  font-weight: 700;
}

.om-card-date + .om-card-more {
  margin-top: 0;
  padding-top: 9px;
}

.om-empty {
  padding: 32px;
  border: 1px dashed #b8cfe2;
  border-radius: var(--om-radius);
  color: var(--om-muted);
  text-align: center;
}

.om-purpose {
  position: relative;
  min-height: 340px;
  isolation: isolate;
}

.om-purpose__image {
  object-position: center 62%;
}

.om-purpose__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(237, 249, 255, 0.91) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 238, 247, 0.86) 100%);
}

.om-purpose__inner {
  padding-block: 48px 50px;
}

.om-purpose-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border-block: 1px solid rgba(95, 137, 178, 0.26);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(3px);
}

.om-purpose-links a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 106px;
  padding: 18px 24px;
}

.om-purpose-links a + a {
  border-left: 1px solid rgba(80, 126, 170, 0.3);
}

.om-purpose-links a:hover {
  background: rgba(255, 255, 255, 0.72);
}

.om-purpose-links__number {
  color: #148de7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
}

.om-purpose-links strong,
.om-purpose-links small {
  display: block;
}

.om-purpose-links strong {
  color: var(--om-navy);
  font-size: 17px;
  line-height: 1.45;
}

.om-purpose-links small {
  margin-top: 5px;
  color: #607894;
  font-size: 12px;
  font-weight: 600;
}

.om-purpose-links__arrow {
  color: #0d9ee9;
  font-size: 23px;
}

.om-services {
  padding: clamp(56px, 5.5vw, 76px) 0;
  background: #fff;
}

.om-section-heading--compact {
  margin-bottom: 25px;
}

.om-heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.om-heading-inline > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: var(--om-muted);
  font-size: 12px;
  line-height: 1.75;
}

.om-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.om-service-card {
  overflow: hidden;
  border: 1px solid var(--om-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(30, 78, 123, 0.07);
}

.om-service-card:hover {
  border-color: #bad9ef;
  box-shadow: var(--om-shadow);
  transform: translateY(-3px);
}

.om-service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 1;
  background: var(--om-sky);
}

.om-home .om-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.om-service-card:hover .om-service-card__media img {
  transform: scale(1.035);
}

.om-service-card__media > span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  color: #fff;
  border-radius: 5px;
  background: var(--om-pink);
  font-size: 9px;
  font-weight: 900;
}

.om-service-card__body {
  padding: 17px 19px 18px;
}

.om-service-card h3 {
  margin: 0;
  color: var(--om-navy);
  font-size: 17px;
  line-height: 1.4;
}

.om-service-card p {
  margin: 8px 0 12px;
  color: var(--om-muted);
  font-size: 11px;
  line-height: 1.7;
}

.om-service-card b {
  display: inline-flex;
  gap: 8px;
  color: #268ee1;
  font-size: 11px;
}

.om-latest {
  background: #fff;
}

.om-latest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.om-latest-card {
  min-width: 0;
}

.om-latest-card a {
  display: block;
}

.om-latest-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(27, 67, 108, 0.08);
}

.om-latest-card__body {
  padding: 10px 2px 0;
}

.om-latest-card__category {
  display: block;
  margin-bottom: 7px;
  color: var(--om-indigo);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.om-latest-card h3 {
  font-size: 12px;
  line-height: 1.55;
}

.om-latest-card time {
  display: block;
  margin-top: 10px;
  color: #91a2b7;
  font-size: 10px;
  font-weight: 600;
}

.om-about {
  padding: clamp(55px, 5.5vw, 75px) 0;
  background: linear-gradient(110deg, #eaf8ff 0%, #f7fbff 48%, #fff3f9 100%);
}

.om-about__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(330px, 1.35fr) minmax(240px, 0.8fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
}

.om-about__photo {
  overflow: hidden;
  aspect-ratio: 1.65 / 1;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(27, 77, 118, 0.13);
}

.om-home .om-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.om-about__visual {
  position: relative;
  display: grid;
  min-height: 290px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 30%, rgba(23, 183, 239, 0.36), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255, 114, 173, 0.34), transparent 37%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--om-shadow);
}

.om-about__visual::before,
.om-about__visual::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(91, 128, 231, 0.17);
  border-radius: 50%;
  content: "";
}

.om-about__visual::after {
  width: 320px;
  height: 320px;
}

.om-wave-mark {
  display: flex;
  gap: 9px;
  align-items: center;
  height: 100px;
}

.om-wave-mark span {
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--om-blue), var(--om-indigo) 55%, var(--om-pink));
  box-shadow: 0 4px 12px rgba(92, 101, 236, 0.25);
}

.om-wave-mark span:nth-child(1),
.om-wave-mark span:nth-child(7) { height: 26px; }
.om-wave-mark span:nth-child(2),
.om-wave-mark span:nth-child(6) { height: 52px; }
.om-wave-mark span:nth-child(3),
.om-wave-mark span:nth-child(5) { height: 78px; }
.om-wave-mark span:nth-child(4) { height: 100px; }

.om-about__content > p:not(.om-kicker) {
  max-width: 650px;
  margin: 15px 0 20px;
  color: #4c6683;
  font-size: 13px;
  line-height: 1.85;
}

.om-author-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(30, 78, 123, 0.08);
}

.om-author-card__avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #eaf8ff, #f5f3ff 55%, #fff0f7);
}

.om-author-card .om-wave-mark {
  gap: 3px;
  height: 30px;
  transform: scale(0.34);
}

.om-author-card small,
.om-author-card strong,
.om-author-card span {
  display: block;
}

.om-author-card small {
  color: #8ba0b7;
  font-size: 9px;
}

.om-author-card strong {
  margin-top: 2px;
  color: var(--om-navy);
  font-size: 18px;
}

.om-author-card span {
  margin-top: 2px;
  color: #667f9b;
  font-size: 9px;
  font-weight: 700;
}

.om-author-card p {
  margin: 10px 0 0;
  color: #627993;
  font-size: 10px;
  line-height: 1.65;
}

.om-business {
  position: relative;
  padding: clamp(56px, 5.5vw, 76px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 40%, rgba(19, 183, 239, 0.17), transparent 24%),
    radial-gradient(circle at 90% 38%, rgba(255, 114, 173, 0.2), transparent 24%),
    linear-gradient(100deg, #f5fbff 0%, #fff 50%, #fff5fa 100%);
}

.om-business__inner {
  position: relative;
  text-align: center;
}

.om-business__inner > p:not(.om-kicker) {
  margin: 15px auto 0;
  color: #607894;
  font-size: 14px;
  line-height: 1.8;
}

.om-business__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin: 27px 0 25px;
  padding: 0;
  list-style: none;
}

.om-business__services li {
  min-width: 180px;
  padding: 13px 20px;
  border: 1px solid #dce8f3;
  border-radius: 12px;
  color: var(--om-navy-2);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 7px 20px rgba(27, 77, 118, 0.05);
  font-size: 13px;
  font-weight: 800;
}

.om-business__services span {
  margin-right: 7px;
  color: var(--om-blue);
}

/* Cocoon footer remains data-driven by the existing footer menu. */
body.otonomika-renewal #footer {
  margin-top: 0;
  color: #667b97;
  border-top: 1px solid #e4edf5;
  background: #fff;
}

body.otonomika-renewal #footer-in {
  padding-top: 36px;
  padding-bottom: 30px;
}

body.otonomika-renewal .footer-bottom-logo .site-name-text,
body.otonomika-renewal .footer-bottom-logo .logo-text {
  color: var(--om-navy);
}

body.otonomika-renewal .navi-footer-in a,
body.otonomika-renewal .footer-bottom a {
  color: #647a96;
}

body.otonomika-renewal .navi-footer-in a:hover,
body.otonomika-renewal .footer-bottom a:hover {
  color: var(--om-indigo);
}

body.otonomika-renewal #page_top a,
body.otonomika-renewal .go-to-top-button {
  color: #fff;
  background: linear-gradient(135deg, var(--om-blue), var(--om-indigo));
}

@media (max-width: 1100px) {
  body.otonomika-renewal #header-container-in {
    padding-inline: 22px;
  }

  body.otonomika-renewal #navi .menu-header > li > a {
    padding-inline: 10px;
    font-size: 12px;
  }

  .om-feature-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .om-feature-card:last-child {
    display: none;
  }

  .om-purpose-links a {
    padding-inline: 18px;
  }

  .om-purpose-links strong {
    font-size: 16px;
  }

  .om-latest-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 18px;
  }

  .om-latest-card h3 {
    font-size: 14px;
  }

  .om-about__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .om-author-card {
    grid-column: 1 / -1;
    grid-template-columns: 62px 1fr;
  }
}

@media (max-width: 834px) {
  .om-shell {
    width: min(calc(100% - 34px), var(--om-shell));
  }

  body.otonomika-renewal #header-container-in {
    display: block;
    min-height: 68px;
    padding: 0;
  }

  body.otonomika-renewal #header-in {
    justify-content: center;
    min-height: 68px;
  }

  body.otonomika-renewal .site-name-text-link::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  body.otonomika-renewal .site-name-text {
    font-size: 23px;
  }

  .om-hero {
    min-height: 650px;
  }

  .om-hero__image {
    object-position: 65% center;
  }

  .om-hero__shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 47%, rgba(255, 255, 255, 0.38) 76%, rgba(255, 255, 255, 0.1) 100%);
  }

  .om-hero__inner {
    align-items: flex-start;
    min-height: 650px;
    padding-top: 66px;
  }

  .om-hero__content {
    width: 100%;
    max-width: 590px;
  }

  .om-feature-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .om-feature-card:nth-child(n+3) {
    display: none;
  }

  .om-purpose {
    min-height: 540px;
  }

  .om-purpose__image {
    object-position: 56% center;
  }

  .om-purpose__veil {
    background: rgba(255, 255, 255, 0.78);
  }

  .om-purpose-links {
    grid-template-columns: 1fr;
  }

  .om-purpose-links a {
    min-height: 100px;
  }

  .om-purpose-links a + a {
    border-top: 1px solid rgba(80, 126, 170, 0.28);
    border-left: 0;
  }

  .om-heading-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .om-service-grid {
    grid-template-columns: 1fr;
  }

  .om-service-card {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .om-service-card__media {
    min-height: 150px;
    aspect-ratio: auto;
  }

  .om-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .om-about__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
  }

  .om-author-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .om-shell {
    width: min(calc(100% - 28px), var(--om-shell));
  }

  .om-hero {
    min-height: 570px;
  }

  .om-hero__image {
    object-position: 66% bottom;
  }

  .om-hero__inner {
    min-height: 570px;
    padding-block: 48px 150px;
  }

  .om-eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .om-hero__title {
    font-size: clamp(34px, 10vw, 40px);
  }

  .om-hero__lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.8;
  }

  .om-actions {
    gap: 9px;
    margin-top: 23px;
  }

  .om-button {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .om-section {
    padding-block: 68px;
  }

  .om-section-heading--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .om-section-heading h2,
  .om-purpose h2,
  .om-services h2,
  .om-about h2,
  .om-business h2 {
    font-size: 30px;
  }

  .om-feature-grid {
    display: block;
  }

  .om-feature-card {
    display: block !important;
    margin-bottom: 17px;
  }

  .om-feature-card:not(.om-feature-card--primary) .om-feature-card__link {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .om-feature-card:not(.om-feature-card--primary) .om-feature-card__media {
    min-height: 150px;
    aspect-ratio: auto;
  }

  .om-feature-card:not(.om-feature-card--primary) .om-feature-card__body {
    padding: 14px;
  }

  .om-feature-card:not(.om-feature-card--primary) h3 {
    font-size: 14px;
  }

  .om-purpose__inner {
    padding-block: 48px;
  }

  .om-purpose-links {
    margin-top: 26px;
  }

  .om-purpose-links a {
    gap: 12px;
    min-height: 94px;
    padding: 17px 14px;
  }

  .om-purpose-links__number {
    font-size: 24px;
  }

  .om-purpose-links strong {
    font-size: 15px;
  }

  .om-purpose-links small {
    font-size: 10px;
  }

  .om-latest-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .om-latest-card a {
    display: grid;
    grid-template-columns: 41% 59%;
    gap: 14px;
    align-items: center;
  }

  .om-latest-card__media {
    aspect-ratio: 1 / 0.78;
  }

  .om-latest-card__body {
    padding: 0 5px 0 0;
  }

  .om-latest-card h3 {
    font-size: 14px;
  }

  .om-about__grid {
    grid-template-columns: 1fr;
  }

  .om-author-card {
    grid-column: auto;
  }

  .om-service-card {
    display: block;
  }

  .om-service-card__media {
    min-height: 0;
    aspect-ratio: 3 / 1;
  }

  .om-business__services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .om-business__services li {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.otonomika-renewal *,
  body.otonomika-renewal *::before,
  body.otonomika-renewal *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep Cocoon mobile drawers and their close buttons above the header.
 * Raise the footer stacking context that contains both drawers.
 */
@media (max-width: 834px) {
  body.otonomika-renewal .mobile-footer-menu-buttons {
    z-index: 1000 !important;
  }
}
