/* Matsukawa Office LP: code-built reproduction based on proposal 1. */
:root {
  --mo-navy: #11294f;
  --mo-navy-deep: #0a1c38;
  --mo-navy-soft: #183a63;
  --mo-blue: #1b5f91;
  --mo-ice: #f4f8fb;
  --mo-line: #d8e4ee;
  --mo-text: #163a58;
  --mo-muted: #5d7488;
  --mo-white: #ffffff;
  --mo-shadow: 0 12px 28px rgba(0, 41, 79, .12);
  --mo-shadow-soft: 0 10px 24px rgba(0, 41, 79, .07);
  --mo-shadow-lift: 0 18px 38px rgba(0, 41, 79, .14);
  --mo-ring: 0 0 0 3px rgba(17, 41, 79, .2);
  --theme-font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --theme-font-heading: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --theme-font-ui: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --theme-font-post-body: var(--theme-font-body);
  --theme-font-sub: var(--theme-font-body);
  --mo-serif: var(--theme-font-heading);
  --mo-sans: var(--theme-font-body);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #eef3f7;
  color: var(--mo-text);
  font-family: var(--mo-sans);
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.matsukawa-office-page :where(.wp-block-group, .wp-block-buttons, .wp-block-button, .wp-block-image, .wp-block-list) {
  margin-top: 0;
  margin-bottom: 0;
}

.matsukawa-office-page :where(p, figure, ul, h1, h2, h3) {
  margin-block-start: 0;
  margin-block-end: 0;
}

.matsukawa-office-page .wp-block-image img {
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.btn:focus-visible,
.share-button:focus-visible,
.wp-block-button.btn .wp-block-button__link:focus-visible {
  outline: 0;
  box-shadow: var(--mo-ring);
}

button {
  font: inherit;
}

.matsukawa-office-page {
  width: 724px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--mo-white);
}

.section-head {
  text-align: center;
}

.section-kicker {
  margin: 0 0 5px;
  color: #6894b5;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--mo-navy);
  text-align: center;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.section-lead {
  margin: 7px 0 0;
  color: #53728b;
  text-align: center;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.65;
}

.btn {
  --btn-icon-gap: .55em;
  --btn-icon-size: 1.16em;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-icon-gap);
  min-width: 0;
  height: 31px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.btn::after,
.wp-block-button.btn .wp-block-button__link::after {
  position: absolute;
  inset: 1px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  pointer-events: none;
}

.btn::before,
.wp-block-button.btn .wp-block-button__link::before {
  display: inline-flex;
  flex: 0 0 var(--btn-icon-size);
  align-items: center;
  justify-content: center;
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  content: "";
  background: currentColor;
  mask: var(--btn-icon, url("../images/icons/icon-mail.svg")) center / contain no-repeat;
  -webkit-mask: var(--btn-icon, url("../images/icons/icon-mail.svg")) center / contain no-repeat;
  opacity: .9;
  transform: translateY(.02em);
}

.wp-block-button.btn::before {
  display: none !important;
}

.wp-block-button.btn .wp-block-button__link[href^="tel:"] {
  --btn-icon: url("../images/icons/icon-phone.svg");
}

.wp-block-button.btn .wp-block-button__link[href^="#"] {
  --btn-icon: url("../images/icons/icon-arrow-right.svg");
}

.btn-primary,
.wp-block-button.btn-primary .wp-block-button__link {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 42%),
    var(--mo-navy);
  box-shadow: 0 6px 14px rgba(0, 45, 85, .18);
}

.btn-primary::after,
.wp-block-button.btn-primary .wp-block-button__link::after {
  background: linear-gradient(110deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .08) 72%, rgba(255, 255, 255, 0));
  opacity: .55;
}

.btn-primary::before,
.wp-block-button.btn-primary .wp-block-button__link::before {
  opacity: .96;
}

.btn-light,
.wp-block-button.btn-light .wp-block-button__link {
  color: #173d61;
  background: rgba(255, 255, 255, .96);
  border-color: #b7cbdc;
  box-shadow: 0 6px 14px rgba(0, 45, 85, .08);
}

.wp-block-button.btn .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-icon-gap);
  width: 100%;
  height: 100%;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
  transition: inherit;
}

.btn:active,
.wp-block-button.btn .wp-block-button__link:active {
  transform: translateY(0);
}

.wp-block-button.btn .wp-block-button__link:hover {
  transform: translateY(-1px);
}

.wp-block-button.btn-primary .wp-block-button__link:hover,
.btn-primary:hover {
  background: var(--mo-navy-deep);
  box-shadow: 0 10px 22px rgba(0, 45, 85, .24);
}

.wp-block-button.btn-light .wp-block-button__link:hover,
.btn-light:hover {
  color: #0a3458;
  border-color: #8fb1cc;
  box-shadow: 0 10px 22px rgba(0, 45, 85, .13);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: stretch;
  min-height: 51px;
  overflow: visible;
  background: #fff;
  color: #0d3b63;
  border-bottom: 1px solid #edf2f6;
}

.brand {
  display: flex;
  align-items: center;
  width: 213px;
  min-width: 213px;
  padding-left: 29px;
  gap: 8px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: invert(20%) sepia(60%) saturate(1500%) hue-rotate(184deg) brightness(74%) contrast(92%);
}

.brand figure,
.brand p {
  margin: 0;
}

.brand p {
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.brand-copy p {
  min-width: 0;
}

.matsukawa-office-page .brand .wp-block-image {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.matsukawa-office-page .brand .wp-block-image img {
  width: 22px;
  height: 22px;
}

.brand span,
.brand p span {
  color: #173c5d;
  font-family: var(--mo-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-tagline {
  display: block;
  max-width: 186px;
  overflow: hidden;
  margin-top: 4px;
  color: #6d8495;
  font-family: var(--theme-font-ui);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-header-actions {
  display: none;
}

.mobile-phone-cta,
.mobile-nav-toggle {
  align-items: center;
  justify-content: center;
  border: 1px solid #d4e2ec;
  border-radius: 50%;
  background: #fff;
  color: var(--mo-navy);
}

.mobile-phone-cta span {
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("../images/icons/icon-phone.svg") center / contain no-repeat;
  -webkit-mask: url("../images/icons/icon-phone.svg") center / contain no-repeat;
}

.mobile-nav-toggle {
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.global-nav {
  flex: 1;
  min-width: 0;
  padding: 0 8px 0 4px;
}

.global-nav-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav p,
.global-nav li {
  margin: 0;
}

.global-nav .menu-item {
  position: relative;
  min-width: 0;
}

.global-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  color: #173f62;
  text-align: center;
  font-size: 6px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  transition: color .2s ease;
}

.global-nav .menu-ja,
.global-nav .menu-en {
  display: block;
}

.global-nav a::after {
  position: absolute;
  right: 22%;
  bottom: 0;
  left: 22%;
  height: 2px;
  content: "";
  background: var(--mo-blue);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}

.global-nav a:hover {
  color: var(--mo-blue);
}

.global-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.global-nav small,
.global-nav .menu-en {
  display: block;
  margin-top: 3px;
  color: #41739d;
  font-size: 4.7px;
  font-weight: 800;
}

.global-nav .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 30;
  min-width: 154px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #dbe7f0;
  box-shadow: 0 16px 34px rgba(0, 41, 79, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.global-nav .menu-item-has-children:hover > .sub-menu,
.global-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.global-nav .sub-menu a {
  overflow: hidden;
  align-items: flex-start;
  min-height: 34px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 8px;
  line-height: 1.35;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(17, 41, 79, 0), rgba(17, 41, 79, 0)),
    transparent;
  transition: background-color .18s ease, color .18s ease, padding-left .18s ease, box-shadow .18s ease;
}

.global-nav .sub-menu a:hover,
.global-nav .sub-menu a:focus-visible {
  padding-left: 18px;
  color: var(--mo-navy);
  background:
    linear-gradient(90deg, rgba(17, 41, 79, .12) 0 4px, transparent 4px),
    #f2f7fb;
  box-shadow: inset 0 0 0 1px rgba(17, 41, 79, .04);
  outline: none;
}

.global-nav .sub-menu a:hover .menu-en,
.global-nav .sub-menu a:focus-visible .menu-en {
  color: #1b5f91;
}

.global-nav .sub-menu a::after {
  display: none;
}

.header-call {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 109px;
  min-width: 109px;
  padding-left: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--mo-navy) 0%, #143763 100%);
}

.header-call p,
.header-call a {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  color: #fff;
}

.header-call span {
  margin-bottom: 2px;
  font-size: 5px;
  font-weight: 700;
  opacity: .88;
}

.header-call-label {
  display: inline-flex;
  align-items: center;
  gap: .42em;
}

.header-call-label::before {
  display: inline-flex;
  flex: 0 0 1.45em;
  width: 1.45em;
  height: 1.45em;
  content: "";
  background:
    rgba(255, 255, 255, .14)
    url("../images/icons/icon-phone-white.svg") center / 70% 70% no-repeat;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 3px;
  transform: rotate(-5deg);
}

.header-call b {
  font-size: 14px;
  line-height: 1.05;
  white-space: nowrap;
}

.header-call small {
  margin-top: 3px;
  font-size: 5px;
  font-weight: 700;
  opacity: .9;
}

.hero {
  position: relative;
  min-height: 252px;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .82) 37%, rgba(255, 255, 255, .15) 66%, rgba(255, 255, 255, 0) 100%),
    url("../images/generated/hero-okinawa-office-wide.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(232, 244, 251, .46));
  pointer-events: none;
}

.hero::after {
  display: none;
  position: absolute;
  right: 36px;
  bottom: 0;
  width: 178px;
  height: 56px;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(239, 246, 251, .92)),
    linear-gradient(90deg, #d7e3eb 0 100%);
  border: 1px solid rgba(185, 204, 219, .7);
  border-bottom: 0;
  box-shadow: 0 12px 24px rgba(0, 35, 65, .14);
  transform: skewX(-10deg);
  opacity: .84;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 380px;
  padding: 38px 0 0 49px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #31546f;
  font-size: 7px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: #173047;
  font-family: var(--mo-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
  text-wrap: balance;
}

.hero-lead {
  margin: 13px 0 0;
  color: #25445b;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.hero-actions .btn-primary,
.hero-actions .wp-block-button.btn-primary {
  width: 128px;
}

.hero-actions .btn-light,
.hero-actions .wp-block-button.btn-light {
  width: 115px;
}

.hero-panel {
  display: none;
  position: absolute;
  right: 42px;
  bottom: 23px;
  z-index: 2;
  width: 150px;
  padding: 10px 12px;
  color: #16415f;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 12px 24px rgba(0, 35, 65, .14);
}

.hero-panel span {
  display: block;
  color: #0c6aa8;
  font-size: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel b {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  line-height: 1.45;
}

.feature-strip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: 12px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, var(--mo-navy) 0%, #143763 54%, var(--mo-navy-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    inset 0 -1px 0 rgba(255, 255, 255, .11);
}

.feature-strip::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 35%),
    linear-gradient(110deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, .08) 46%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1120px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
}

.feature-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 0;
  padding: 9px 18px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .2s ease;
}

.feature-item::before {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: currentColor;
  background: var(--feature-icon) center / 18px 18px no-repeat;
  background-color: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .03);
  font-weight: 900;
  line-height: 1;
}

.feature-item-pin::before {
  --feature-icon: url("../images/icons/feature-pin.svg");
  content: "";
}

.feature-item-helmet::before {
  --feature-icon: url("../images/icons/feature-helmet.svg");
  content: "";
}

.feature-item-yen::before {
  --feature-icon: url("../images/icons/feature-yen.svg");
  content: "";
}

.feature-item-clock::before {
  --feature-icon: url("../images/icons/feature-clock.svg");
  content: "";
}

.feature-item-heart::before {
  --feature-icon: url("../images/icons/feature-heart.svg");
  content: "";
}

.feature-item:last-child {
  border-right: 0;
}

.feature-icon,
.reason-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
}

.feature-icon::before,
.reason-icon::before {
  color: currentColor;
  font-weight: 900;
  line-height: 1;
}

.feature-icon-pin::before {
  content: "○";
  font-size: 16px;
}

.feature-icon-helmet::before {
  content: "⌂";
  font-size: 15px;
}

.feature-icon-yen::before {
  content: "¥";
  font-size: 15px;
}

.feature-icon-clock::before {
  content: "◷";
  font-size: 16px;
}

.feature-icon-heart::before {
  content: "♡";
  font-size: 16px;
}

.feature-item p {
  min-width: 0;
  margin: 0;
}

.feature-item strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .01em;
  overflow-wrap: normal;
  white-space: nowrap;
}

.feature-item span:not(.feature-icon) {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  opacity: .82;
  white-space: nowrap;
}

.services {
  padding: 15px 0 27px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 198px);
  gap: 14px 15px;
  width: 624px;
  margin: 18px auto 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  text-align: center;
  background: #fff;
  border: 1px solid #cbd8e1;
  border-radius: 3px;
  box-shadow: 0 7px 16px rgba(0, 41, 79, .04);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.service-card img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform .45s ease, filter .45s ease;
}

.service-card .wp-block-image {
  overflow: hidden;
  width: 100%;
}

.service-card-image {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.service-grid[class*="service-grid-desktop-"] .service-card-image,
.service-grid[class*="service-grid-desktop-"] .service-card .wp-block-image,
.service-grid[class*="service-grid-tablet-"] .service-card-image,
.service-grid[class*="service-grid-tablet-"] .service-card .wp-block-image,
.service-grid[class*="service-grid-mobile-"] .service-card-image,
.service-grid[class*="service-grid-mobile-"] .service-card .wp-block-image {
  display: block;
  flex: none;
}

.service-card-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.service-card h3 {
  margin: 0;
  color: #1a3550;
  font-family: var(--mo-serif);
  font-size: 12.5px;
  line-height: 1.15;
  font-weight: 700;
}

.service-card p {
  margin: 7px auto 0;
  color: #41586d;
  font-size: 6.5px;
  font-weight: 700;
  line-height: 1.65;
}

.related-services {
  padding: 34px 0 42px;
  background: linear-gradient(180deg, #ffffff, #f6f9fc);
}

.related-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  width: 960px;
  max-width: calc(100% - 48px);
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
}

.related-service-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 18px 13px 43px;
  color: #264d69;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 4px;
  box-shadow: 0 12px 24px rgba(0, 41, 79, .055);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.6;
}

.related-service-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 9px;
  height: 9px;
  background: var(--mo-navy);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(17, 41, 79, .08);
  transform: translateY(-50%);
}

.reasons {
  padding: 11px 0 24px;
  background: #fff;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, 118px);
  gap: 8px;
  width: 622px;
  margin: 18px auto 0;
}

.reason-card {
  position: relative;
  min-height: 97px;
  padding: 13px 10px 11px;
  text-align: center;
  border: 1px solid #cddce6;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.reason-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(0, 56, 102, 0), rgba(11, 99, 163, .45), rgba(0, 56, 102, 0));
  opacity: .72;
}

.reason-card::before {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  color: var(--mo-navy);
  background: currentColor;
  font-weight: 900;
  line-height: 24px;
  content: "";
  mask: var(--reason-icon) center / contain no-repeat;
  -webkit-mask: var(--reason-icon) center / contain no-repeat;
}

.reason-card-person {
  --reason-icon: url("../images/icons/reason-person.svg");
}

.reason-card-doc {
  --reason-icon: url("../images/icons/reason-document.svg");
}

.reason-card-speed {
  --reason-icon: url("../images/icons/reason-speed.svg");
}

.reason-card-chat {
  --reason-icon: url("../images/icons/reason-chat.svg");
}

.reason-card-trust {
  --reason-icon: url("../images/icons/reason-trust.svg");
}

.reason-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  color: var(--mo-navy);
}

.reason-icon-person::before {
  content: "人";
  font-size: 21px;
}

.reason-icon-doc::before {
  content: "▣";
  font-size: 21px;
}

.reason-icon-speed::before {
  content: "▤";
  font-size: 21px;
}

.reason-icon-chat::before {
  content: "●";
  font-size: 20px;
}

.reason-icon-trust::before {
  content: "♥";
  font-size: 19px;
}

.reason-card h3 {
  margin: 11px 0 0;
  color: var(--mo-navy);
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
}

.reason-card p {
  margin: 8px auto 0;
  color: #4d6173;
  font-size: 5.8px;
  font-weight: 700;
  line-height: 1.55;
}

.problem {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 19px 0 20px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(17, 41, 79, .88), rgba(17, 41, 79, .74)),
    url("../images/generated/problem-construction-wide.jpg");
  background-position: center;
  background-size: cover;
}

.problem::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 32%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, .08) 52%, rgba(255, 255, 255, 0) 76%);
  pointer-events: none;
}

.problem h2,
.problem-board {
  position: relative;
  z-index: 1;
}


.problem h2 {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.problem-board {
  display: grid;
  grid-template-columns: 214px 42px 214px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.problem-card {
  min-height: 106px;
  padding: 15px 17px 13px;
  color: #21445f;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(0, 25, 50, .18);
  backdrop-filter: blur(4px);
}

.solution-card h3 {
  margin: 0 0 9px;
  color: var(--mo-blue);
  font-size: 8.6px;
  line-height: 1.2;
  text-align: center;
  font-weight: 800;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0 0 7px;
  padding-left: 14px;
  color: #244860;
  font-size: 6.2px;
  font-weight: 800;
  line-height: 1.2;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  color: #fff;
  background: var(--mo-blue);
  content: "✓";
  font-size: 6px;
  line-height: 8px;
  text-align: center;
}

.problem-arrow {
  position: relative;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 0;
  transform: none;
}

.problem-arrow::before,
.problem-arrow::after {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  content: "";
  border-top: 3px solid rgba(255, 255, 255, .82);
  border-right: 3px solid rgba(255, 255, 255, .82);
  transform: translateY(-50%) rotate(45deg);
}

.problem-arrow::before {
  left: 4px;
}

.problem-arrow::after {
  left: 17px;
  opacity: .52;
}

.price {
  padding: 14px 0 20px;
  background: #fff;
}

.price small {
  font-size: 7px;
  font-weight: 700;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(7, 93px);
  gap: 6px;
  width: 687px;
  margin: 17px auto 0;
}

.price-card {
  position: relative;
  overflow: hidden;
  min-height: 62px;
  padding-top: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid #d1dee8;
  border-radius: 3px;
  box-shadow: 0 7px 16px rgba(0, 41, 79, .04);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.price-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--mo-navy), #315a7f);
  opacity: .82;
}

.price-card span {
  display: block;
  color: #203b54;
  font-size: 7.2px;
  font-weight: 800;
}

.price-card b {
  display: block;
  margin-top: 12px;
  color: var(--mo-navy);
  font-size: 16px;
  line-height: 1;
}

.price-card small {
  font-size: 7px;
}

.price-card p {
  margin: 0;
}

.price-note {
  margin: 8px 0 0;
  color: #4f7392;
  text-align: center;
  font-size: 5.8px;
  font-weight: 700;
  line-height: 1.65;
}

.flow {
  padding: 18px 0 24px;
  background: linear-gradient(180deg, #fff 0%, #f7fafd 100%);
}

.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 92px);
  gap: 15px;
  width: 627px;
  margin: 20px auto 0;
}

.flow-grid::before {
  position: absolute;
  top: 9px;
  right: 7%;
  left: 7%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(0, 56, 102, 0), rgba(0, 56, 102, .22), rgba(0, 56, 102, 0));
}

.flow-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.flow-step > p:first-child {
  margin: 0;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  top: 33px;
  right: -12px;
  color: #6f95b6;
  content: "›";
  font-size: 27px;
  font-weight: 300;
}

.flow-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--mo-navy);
  border-radius: 50%;
  box-shadow: 0 0 0 5px #fff, 0 8px 15px rgba(0, 41, 79, .12);
  font-size: 8px;
  font-weight: 800;
}

.flow-step h3 {
  margin: 10px 0 0;
  color: #123b60;
  font-size: 8.6px;
  line-height: 1.35;
  font-weight: 800;
}

.flow-step p {
  margin: 7px auto 0;
  color: #405d74;
  font-size: 5.8px;
  font-weight: 700;
  line-height: 1.55;
}

.regional {
  padding: 23px 32px 27px;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, .96), rgba(245, 249, 252, .98)),
    url("../images/client/cta-sea.jpg") center / cover no-repeat;
  border-top: 1px solid #e4edf4;
  border-bottom: 1px solid #e4edf4;
}

.regional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 12px;
  margin-top: 16px;
}

.regional-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid #d8e4ee;
  border-radius: 3px;
  box-shadow: var(--mo-shadow-soft);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.regional-card .wp-block-image {
  overflow: hidden;
  flex: 0 0 auto;
  width: 100%;
  height: 108px;
  margin: 0;
  background: #eef4f8;
}

.matsukawa-office-page .regional-card .wp-block-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease, filter .45s ease;
}

.regional-card .regional-card-body,
.regional-card > div:not(.wp-block-image) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px 12px 14px;
}

.regional-card h3 {
  margin: 0;
  min-height: 2.9em;
  color: #143858;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
}

.regional-card p {
  margin: 7px 0 0;
  color: #526b7f;
  font-size: 6.4px;
  font-weight: 700;
  min-height: 3.35em;
  line-height: 1.65;
}

.profile {
  display: grid;
  grid-template-columns: 296px 1fr;
  min-height: 164px;
  background: linear-gradient(90deg, #f1f6fa 0%, #fff 100%);
  border-bottom: 1px solid #e6edf3;
}

.profile-photo {
  margin: 0;
  padding: 7px 0 7px 7px;
}

.profile-photo img {
  width: 291px;
  height: 155px;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 10px 24px rgba(0, 41, 79, .08);
}

.profile-copy {
  padding: 24px 28px 18px 21px;
}

.profile-copy h2 {
  margin: 0 0 13px;
  color: var(--mo-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.profile-copy p {
  margin: 0 0 5px;
  color: #324d63;
  font-size: 6.4px;
  font-weight: 700;
  line-height: 1.9;
}

.profile-copy .name {
  margin-top: 8px;
  color: #233f58;
  font-family: var(--mo-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.info {
  padding: 12px 0 21px;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 4px 13px;
  width: 684px;
  margin: 10px auto 0;
}

.faq-row {
  display: block;
  align-self: start;
  width: 100%;
  min-height: 20px;
  padding: 0;
  color: #244b6a;
  background: #fff;
  border: 1px solid #dbe4eb;
  font-size: 6.4px;
  font-weight: 800;
  text-align: left;
  border-radius: 2px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.faq-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 20px;
  padding: 0 13px 0 10px;
  margin: 0;
  cursor: pointer;
  list-style: none;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-row span:last-child {
  transition: transform .2s ease;
  font-size: 12px;
  font-weight: 500;
}

.faq-row[open] span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 13px 12px 10px;
  color: #536c80;
  font-size: 6.2px;
  font-weight: 700;
  line-height: 1.75;
}

.faq-answer p {
  margin: 0;
}

.post-panels {
  display: grid;
  grid-template-columns: repeat(2, 335px);
  gap: 15px;
  width: 685px;
  margin: 10px auto 0;
}

.post-panel {
  min-height: 101px;
  padding: 0 15px 7px;
  background: #fff;
  border: 1px solid #e0e9f0;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(0, 41, 79, .04);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  color: var(--mo-navy);
}

.panel-head p {
  margin: 0;
}

.panel-head h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1;
}

.panel-head a {
  color: #2d5f89;
  font-size: 6.2px;
  font-weight: 800;
}

.panel-head a::after {
  content: " →";
}

.news-row,
.blog-row {
  display: grid;
  align-items: center;
  min-height: 24px;
  border-bottom: 1px solid #e0e7ed;
  color: #2b526e;
  font-size: 6.6px;
  font-weight: 700;
}

.news-row {
  grid-template-columns: 64px 44px 1fr;
  column-gap: 10px;
}

.blog-row {
  grid-template-columns: 42px 61px 43px 1fr;
  min-height: 22px;
  column-gap: 8px;
}

.blog-row figure,
.blog-row p {
  margin: 0;
}

.blog-row p {
  display: contents;
}

.blog-row img {
  width: 42px;
  height: 22px;
  object-fit: cover;
  border: 1px solid #d8e4ee;
  filter: saturate(1.05) contrast(1.03);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 12px;
  padding: 0 6px;
  color: #1e6ba2;
  background: #d9ebfa;
  border-radius: 8px;
  font-size: 5.4px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.matsukawa-content-page {
  min-height: 100vh;
  background: #f6f9fc;
}

.content-page-main {
  background: #f6f9fc;
}

.breadcrumb-wrap {
  background: linear-gradient(180deg, #fbfdff, #f4f8fb);
  border-top: 1px solid #e6eef5;
  border-bottom: 1px solid #dce8f1;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 9px 0;
  color: #6b8194;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  list-style: none;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 6px;
  color: #a8b9c8;
  font-weight: 500;
}

.breadcrumb-item a {
  color: var(--mo-navy);
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumb-item a:hover {
  color: var(--mo-blue);
}

.breadcrumb-item span {
  color: #60788c;
}

.subpage-hero {
  padding: 42px 22px 34px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(246, 249, 252, .96)),
    url("../images/generated/hero-okinawa-office-wide.jpg") center / cover no-repeat;
  border-top: 1px solid #e4edf4;
  border-bottom: 1px solid #dce8f1;
}

.subpage-hero h1 {
  margin: 8px auto 0;
  max-width: 860px;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  font-size: 24px;
  line-height: 1.45;
}

.subpage-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 12px auto 0;
  color: #526b7f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.content-layout {
  display: grid;
  align-items: stretch;
  gap: 22px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.content-main {
  min-width: 0;
}

.archive-list {
  display: grid;
  gap: 16px;
}

.archive-card,
.single-article,
.page-article,
.empty-content,
.sidebar-widget {
  background: #fff;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: var(--mo-shadow-soft);
}

.archive-card {
  overflow: hidden;
  display: grid;
}

.archive-card-media {
  overflow: hidden;
  display: block;
  min-height: 180px;
  background: #e9f1f7;
}

.archive-card-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.archive-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 24px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #667d90;
  font-size: 11px;
  font-weight: 800;
}

.archive-card-title {
  margin: 12px 0 0;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  font-size: 20px;
  line-height: 1.48;
}

.archive-card-excerpt {
  margin: 12px 0 0;
  color: #4c6578;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
}

.archive-card-link {
  align-self: flex-end;
  margin: auto 0 0;
  padding-top: 18px;
}

.archive-card-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--mo-navy);
  background: #f7fafc;
  border: 1px solid #cfdfe9;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(17, 41, 79, .05);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.archive-card-link a::after {
  content: "→";
  margin-left: 8px;
}

.archive-card-link a:hover {
  background: #fff;
  border-color: #9cbfd5;
  box-shadow: 0 12px 22px rgba(17, 41, 79, .09);
  transform: translateY(-1px);
}

.content-sidebar {
  display: grid;
  align-self: stretch;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.content-sidebar-sticky {
  display: grid;
  align-self: start;
  gap: 16px;
}

.sidebar-widget {
  padding: 20px;
}

.sidebar-widget-title {
  margin: 0 0 14px;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.sidebar-widget ul,
.sidebar-widget ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-widget li {
  margin: 0;
  border-bottom: 1px solid #e4edf4;
}

.sidebar-widget li:last-child {
  border-bottom: 0;
}

.sidebar-widget a {
  color: #244b6a;
  font-size: 12px;
  font-weight: 600;
}

.sidebar-widget :where(.search-form .screen-reader-text, .wp-block-search__label, .mo-search-form .screen-reader-text) {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.sidebar-widget :where(.search-form, form[role="search"]:not(.wp-block-search)) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(76px, auto);
  align-items: stretch;
  gap: 10px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(180deg, rgba(247, 250, 252, .96), rgba(239, 246, 251, .96));
  border: 1px solid #dce8f1;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84), 0 10px 22px rgba(17, 41, 79, .055);
}

.sidebar-widget :where(.search-form label, form[role="search"] label) {
  display: block;
  min-width: 0;
  margin: 0;
}

.sidebar-widget :where(.wp-block-search) {
  display: grid;
  gap: 0;
  margin: 0;
}

.sidebar-widget :where(.wp-block-search__inside-wrapper) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(76px, auto);
  align-items: stretch;
  gap: 10px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(180deg, rgba(247, 250, 252, .96), rgba(239, 246, 251, .96));
  border: 1px solid #dce8f1;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84), 0 10px 22px rgba(17, 41, 79, .055);
}

.sidebar-widget :where(input[type="search"], .search-field, .wp-block-search__input) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  color: #183a58;
  background: #fff;
  border: 1px solid #cfdde8;
  border-radius: 2px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.sidebar-widget :where(input[type="search"], .search-field, .wp-block-search__input):focus {
  background: #fff;
  border-color: #8fb4cb;
  box-shadow: 0 0 0 3px rgba(27, 95, 145, .12);
}

.sidebar-widget :where(input[type="submit"], button[type="submit"], .search-submit, .wp-block-search__button) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  min-width: 82px;
  height: 44px;
  padding: 0 18px;
  color: #fff !important;
  background: linear-gradient(180deg, #183a63, var(--mo-navy));
  border: 0;
  border-radius: 2px;
  box-shadow: 0 10px 18px rgba(17, 41, 79, .16);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  word-spacing: 0;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sidebar-widget :where(input[type="submit"], button[type="submit"], .search-submit, .wp-block-search__button):hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #1f4774, #12315c);
  box-shadow: 0 14px 24px rgba(17, 41, 79, .22);
}

.sidebar-widget.widget_categories ul {
  display: grid;
  gap: 6px;
}

.sidebar-widget.widget_categories li {
  padding: 8px 0;
  color: #244b6a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
}

.sidebar-widget.widget_categories .children {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid #d9e6ef;
}

.sidebar-widget.widget_categories .children li {
  padding: 5px 0;
  border-bottom: 0;
  color: #526b7f;
  font-size: 11px;
  font-weight: 500;
}

.sidebar-widget.widget_categories .children a {
  color: #526b7f;
  font-size: 11px;
  font-weight: 500;
}

.sidebar-widget.widget_block {
  display: grid;
  gap: 12px;
}

.sidebar-widget.widget_block > * {
  margin-top: 0;
  margin-bottom: 0;
}

.sidebar-widget :where(.wp-block-heading) {
  margin: 0 0 2px;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.sidebar-widget :where(.wp-block-categories-list, .wp-block-latest-posts__list, .wp-block-latest-comments, .wp-block-archives-list) {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-widget :where(.wp-block-categories-list li, .wp-block-latest-posts__list li, .wp-block-latest-comments li, .wp-block-archives-list li) {
  padding: 8px 0;
  color: #244b6a;
  border-bottom: 1px solid #e4edf4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
}

.sidebar-widget :where(.wp-block-categories-list li:last-child, .wp-block-latest-posts__list li:last-child, .wp-block-latest-comments li:last-child, .wp-block-archives-list li:last-child) {
  border-bottom: 0;
}

.sidebar-widget :where(.wp-block-categories-list .children) {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid #d9e6ef;
}

.sidebar-widget :where(.wp-block-categories-list .children li) {
  padding: 5px 0;
  border-bottom: 0;
  color: #526b7f;
  font-size: 11px;
  font-weight: 500;
}

.sidebar-widget :where(.wp-block-categories-list .children a) {
  color: #526b7f;
  font-size: 11px;
  font-weight: 500;
}

.content-sidebar .sidebar-widget .wp-block-categories-list ul.children,
.content-sidebar .sidebar-widget.widget_categories ul.children {
  display: grid;
  gap: 10px;
  margin: 12px 0 0 12px;
  padding: 0 0 0 24px;
  border-left: 2px solid #d9e6ef;
  list-style: none;
}

.content-sidebar .sidebar-widget .wp-block-categories-list ul.children li,
.content-sidebar .sidebar-widget.widget_categories ul.children li {
  padding: 0;
  margin: 0;
  border-bottom: 0;
  color: #526b7f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

.content-sidebar .sidebar-widget .wp-block-categories-list ul.children a,
.content-sidebar .sidebar-widget.widget_categories ul.children a {
  color: #526b7f;
  font-size: 12px;
  font-weight: 600;
}

.sidebar-widget :where(.tagcloud, .wp-block-tag-cloud) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.sidebar-widget :where(.tagcloud a, .wp-block-tag-cloud a) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  color: #244b6a;
  background: #f6fafc;
  border: 1px solid #d9e6ef;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.sidebar-widget :where(.wp-block-latest-comments__comment) {
  margin: 0;
}

.sidebar-widget :where(.wp-block-latest-comments__comment-meta, .wp-block-latest-comments__comment-excerpt p) {
  margin: 0;
}

.sidebar-cta-card {
  display: grid;
  gap: 12px;
}

.sidebar-cta-lead {
  margin: 0;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.sidebar-cta-copy {
  margin: 0;
  color: #526b7f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}

.sidebar-cta-button,
.sidebar-cta-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.sidebar-cta-button {
  color: #fff !important;
  background: var(--mo-navy);
  border: 1px solid var(--mo-navy);
}

.sidebar-cta-button:hover {
  color: #fff !important;
  background: #173c68;
  border-color: #173c68;
}

.sidebar-cta-tel {
  color: var(--mo-navy) !important;
  background: #f7fafc;
  border: 1px solid #d7e4ee;
  letter-spacing: .02em;
}

.matsukawa-office-page .wpcf7 {
  width: 100%;
  color: #244b6a;
  font-size: 13px;
  font-weight: 700;
}

.matsukawa-office-page .wpcf7 form {
  display: grid;
  gap: 16px;
  margin: 0;
}

.matsukawa-office-page .wpcf7 p {
  display: grid;
  gap: 7px;
  margin: 0;
}

.matsukawa-office-page .wpcf7 label {
  display: grid;
  gap: 7px;
  color: var(--mo-navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.55;
}

.matsukawa-office-page .wpcf7 .required,
.matsukawa-office-page .wpcf7 .is-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  margin-left: 8px;
  padding: 0 7px;
  color: #fff;
  background: var(--mo-navy);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.matsukawa-office-page .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.matsukawa-office-page .wpcf7 :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  select,
  textarea
) {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  color: #183a58;
  background: #f8fbfd;
  border: 1px solid #d5e3ee;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  font: inherit;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.matsukawa-office-page .wpcf7 textarea {
  min-height: 160px;
  padding-top: 13px;
  resize: vertical;
}

.matsukawa-office-page .wpcf7 select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--mo-navy) 50%),
    linear-gradient(135deg, var(--mo-navy) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.matsukawa-office-page .wpcf7 :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  select,
  textarea
):focus {
  outline: 0;
  background-color: #fff;
  border-color: #9bbad1;
  box-shadow: var(--mo-ring);
}

.matsukawa-office-page .wpcf7 ::placeholder {
  color: #8ba0b0;
  opacity: 1;
}

.matsukawa-office-page .wpcf7 :where(.wpcf7-checkbox, .wpcf7-radio, .wpcf7-acceptance) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.matsukawa-office-page .wpcf7 .wpcf7-list-item {
  margin: 0;
}

.matsukawa-office-page .wpcf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #34566e;
  font-size: 12px;
  font-weight: 800;
}

.matsukawa-office-page .wpcf7 :where(input[type="checkbox"], input[type="radio"]) {
  width: 16px;
  height: 16px;
  accent-color: var(--mo-navy);
}

.matsukawa-office-page .wpcf7 input[type="file"] {
  width: 100%;
  padding: 12px;
  color: #34566e;
  background: #f8fbfd;
  border: 1px dashed #b7cad8;
  border-radius: 3px;
  font-size: 12px;
}

.matsukawa-office-page .wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 260px);
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--mo-navy) 0%, #173b67 100%);
  border: 1px solid rgba(17, 41, 79, .18);
  border-radius: 3px;
  box-shadow: 0 10px 24px rgba(17, 41, 79, .16);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.matsukawa-office-page .wpcf7 .wpcf7-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 41, 79, .2);
}

.matsukawa-office-page .wpcf7 .wpcf7-submit:focus-visible {
  outline: 0;
  box-shadow: var(--mo-ring), 0 14px 30px rgba(17, 41, 79, .2);
}

.matsukawa-office-page .wpcf7 .wpcf7-spinner {
  margin: 0 0 0 10px;
  vertical-align: middle;
}

.matsukawa-office-page .wpcf7 .wpcf7-not-valid {
  border-color: #c95d5d;
  background: #fffafa;
}

.matsukawa-office-page .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b54444;
  font-size: 11px;
  font-weight: 800;
}

.matsukawa-office-page .wpcf7 form .wpcf7-response-output {
  margin: 2px 0 0;
  padding: 14px 16px;
  color: #244b6a;
  background: #f7fbfe;
  border: 1px solid #cfe0ec;
  border-left: 4px solid var(--mo-navy);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.matsukawa-office-page .wpcf7 form.sent .wpcf7-response-output {
  border-color: #b9d8c8;
  border-left-color: #2f7d5b;
  background: #f5fbf7;
}

.matsukawa-office-page .wpcf7 form.invalid .wpcf7-response-output,
.matsukawa-office-page .wpcf7 form.unaccepted .wpcf7-response-output,
.matsukawa-office-page .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #efd0d0;
  border-left-color: #b54444;
  background: #fff8f8;
}

.contact-form-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: var(--mo-shadow-soft);
}

.matsukawa-popular-posts {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: popular;
}

.popular-post-item {
  display: block;
  padding: 0;
  margin: 0;
  border-bottom: 0;
  list-style: none;
}

.popular-post-item::marker {
  content: "";
}

.popular-post-item a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.matsukawa-popular-posts.has-thumbs .popular-post-item a {
  grid-template-columns: 28px 58px minmax(0, 1fr);
}

.popular-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--mo-navy), #1b5f91);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.popular-thumb,
.popular-thumb-fallback {
  overflow: hidden;
  display: block;
  width: 58px;
  height: 42px;
  background: #e8f0f6;
  border: 1px solid #dbe7f0;
  border-radius: 3px;
}

.popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-thumb-fallback {
  background:
    linear-gradient(135deg, rgba(17, 41, 79, .12), rgba(27, 95, 145, .08)),
    url("../images/generated/blog-thumb-keishin.jpg") center / cover no-repeat;
}

.popular-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.popular-title {
  color: #244b6a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.popular-excerpt,
.popular-views,
.popular-empty {
  color: #687f92;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
}

.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tagcloud a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #edf5fa;
  border-radius: 999px;
  color: #285675;
}

.single-article,
.page-article,
.empty-content {
  padding: 24px;
}

.single-eyecatch {
  overflow: hidden;
  margin: 0 0 24px;
  border-radius: 4px;
  background: #e8f0f6;
}

.single-eyecatch img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.single-eyecatch-credit {
  display: block;
  padding: 6px 10px 8px;
  color: #6f8496;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  text-align: right;
}

.single-eyecatch-credit a {
  color: #285675;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-eyecatch-credit a:hover {
  color: #11294f;
}

.page-eyecatch-office img {
  display: block;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.single-content,
.page-article {
  color: #2d4a60;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
}

.single-content :where(h2, h3, h4),
.page-article :where(h2, h3, h4) {
  margin: 1.8em 0 .7em;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  line-height: 1.45;
}

.single-content h2,
.page-article > h2 {
  position: relative;
  margin-top: 2.1em;
  padding: 15px 18px 15px 22px;
  background:
    linear-gradient(90deg, rgba(17, 41, 79, .08), rgba(255, 255, 255, 0)),
    #f7fafc;
  border: 1px solid #dbe7f0;
  border-left: 5px solid var(--mo-navy);
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(17, 41, 79, .05);
  font-size: 21px;
}

.single-content h3,
.page-article > h3 {
  position: relative;
  padding-left: 17px;
  font-size: 18px;
}

.single-content h3::before,
.page-article > h3::before {
  content: "";
  position: absolute;
  top: .42em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--mo-navy);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(17, 41, 79, .08);
}

.single-content :where(p, ul, ol),
.page-article :where(p, ul, ol) {
  margin: 0 0 1.2em;
}

.single-content :where(ul, ol),
.page-article > :where(ul, ol) {
  padding-left: 1.4em;
}

.single-content li + li,
.page-article > :where(ul, ol) li + li {
  margin-top: .45em;
}

.page-article :where(.legacy-card-list, .legacy-news-list) {
  display: grid;
  gap: 14px;
  margin: 22px 0 30px;
}

.page-article .legacy-card-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px 24px;
}

.legacy-card,
.legacy-news-item {
  padding: 18px 20px;
  background: #f8fbfd;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(17, 41, 79, .045);
}

.legacy-card-list .legacy-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  grid-column: span 2;
  min-height: 100%;
  padding: 0;
  background: #fff;
}

.legacy-card-list .legacy-card:nth-child(-n+2) {
  grid-column: span 3;
}

.legacy-card-media {
  position: relative;
  overflow: hidden;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  background: #eaf2f7;
  border-bottom: 1px solid #dbe7f0;
}

.legacy-card-list .legacy-card:nth-child(-n+2) .legacy-card-media {
  aspect-ratio: 4 / 3;
}

.legacy-card-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(17, 41, 79, .16));
  pointer-events: none;
}

.legacy-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.legacy-card-list .legacy-card:hover .legacy-card-media img {
  transform: scale(1.035);
}

.legacy-card-list .legacy-card h3 {
  min-height: 4.7em;
  margin: 18px 18px 0;
  font-size: 15px;
  line-height: 1.55;
}

.legacy-card-list .legacy-card p {
  margin-right: 18px;
  margin-left: 18px;
  font-size: 13px;
  line-height: 1.9;
}

.legacy-card-list .legacy-card p:last-child {
  margin-bottom: 18px;
}

.legacy-card-list .legacy-card p:has(.legacy-external-link) {
  margin-top: auto;
  padding-top: 4px;
}

.legacy-card h3,
.legacy-news-item h3 {
  margin-top: 0;
}

.legacy-info-table {
  width: 100%;
  margin: 20px 0 30px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
}

.legacy-info-table th,
.legacy-info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dbe7f0;
  color: #2d4a60;
  font-size: 13px;
  line-height: 1.8;
  vertical-align: top;
}

.legacy-info-table th {
  width: 30%;
  color: var(--mo-navy);
  background: #f0f6fa;
  font-weight: 900;
}

.legacy-info-table tr:last-child th,
.legacy-info-table tr:last-child td {
  border-bottom: 0;
}

.mo-registration-link {
  color: inherit;
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(183, 155, 90, .72);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.mo-registration-link:hover,
.mo-registration-link:focus-visible {
  color: var(--mo-blue);
  text-decoration-color: currentColor;
}

.legacy-note {
  padding: 16px 18px;
  color: #294c67;
  background: #f1f7fb;
  border-left: 4px solid var(--mo-navy);
  border-radius: 4px;
}

.legacy-section-lead {
  margin: 0 0 26px;
  padding: 20px 22px 8px;
  background: linear-gradient(135deg, #fff, #f7fbfd);
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: 0 12px 26px rgba(17, 41, 79, .055);
}

.legacy-image-grid {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

.legacy-image-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legacy-image-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #eaf2f7;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: 0 14px 28px rgba(17, 41, 79, .07);
}

.legacy-image-grid img {
  display: block;
  width: 100%;
  height: clamp(160px, 18vw, 230px);
  object-fit: cover;
}

.legacy-image-grid figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(17, 41, 79, .14));
  pointer-events: none;
}

.legacy-visual {
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  background: #eaf2f7;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: 0 16px 32px rgba(17, 41, 79, .08);
}

.legacy-visual img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
}

.legacy-visual-wide:not(.legacy-visual-document) img {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.legacy-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(17, 41, 79, .12));
  pointer-events: none;
}

.legacy-visual-top-crop img {
  object-position: center 30%;
}

.legacy-visual-document img {
  height: clamp(210px, 26vw, 300px);
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.legacy-visual-document::after {
  display: none;
}

.legacy-visual-tall {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
  background: #fff;
}

.legacy-visual-tall img {
  height: clamp(420px, 64vw, 720px);
  object-fit: cover;
  object-position: center;
}

.legacy-visual-document-wide img {
  height: auto;
  max-height: none;
  object-fit: contain;
  padding: 20px;
}

.legacy-highlight-grid,
.legacy-price-grid,
.legacy-cookie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 30px;
}

.legacy-highlight,
.legacy-price-card,
.legacy-cookie-card {
  padding: 20px;
  background: linear-gradient(135deg, #fff, #f7fbfd);
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(17, 41, 79, .045);
}

.legacy-highlight span,
.legacy-price-card span,
.legacy-cookie-card span {
  display: block;
  margin-bottom: 8px;
  color: #6f95af;
  font-size: 11px;
  font-weight: 900;
}

.legacy-highlight strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  font-size: 18px;
  line-height: 1.55;
}

.legacy-highlight p,
.legacy-price-card p,
.legacy-cookie-card p {
  margin-bottom: 0;
}

.legacy-cookie-card h2 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 20px !important;
}

.legacy-cookie-card h2::after {
  display: none !important;
}

.legacy-cookie-card p + p {
  margin-top: 10px;
}

.legacy-price-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mo-navy);
  font-family: var(--mo-serif);
  font-size: 25px;
  line-height: 1.2;
}

.legacy-external-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 8px;
  padding: 0 14px;
  color: #fff !important;
  background: var(--mo-navy);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.legacy-cta-row {
  margin-top: 30px !important;
  text-align: center;
}

.legacy-cta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 44%),
    var(--mo-navy);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(17, 41, 79, .16);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.legacy-cta-link::after {
  content: "→";
  color: #d5bc72;
  font-family: var(--mo-sans);
  font-size: 1.05em;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-.02em);
}

.legacy-cta-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(17, 41, 79, .2);
}

.legacy-source-cta {
  margin: clamp(30px, 4vw, 44px) 0 0 !important;
}

.legacy-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 45%),
    var(--mo-navy);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(17, 41, 79, .14);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.legacy-source-link::after {
  content: "↗";
  color: #d5bc72;
  font-size: .95em;
  font-weight: 900;
  line-height: 1;
}

.legacy-source-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(17, 41, 79, .19);
}

.legacy-map-embed {
  overflow: hidden;
  margin: 24px 0 30px;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(17, 41, 79, .08);
}

.legacy-map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.article-toc {
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  padding: 24px 26px 22px;
  background:
    radial-gradient(circle at top right, rgba(27, 95, 145, .12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f9fc);
  border: 1px solid #d9e6ef;
  border-radius: 4px;
  box-shadow: var(--mo-shadow-soft);
}

.article-toc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--mo-navy), #1b5f91);
}

.article-toc-kicker {
  margin: 0 0 4px;
  color: #6894b5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.article-toc h2 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--mo-navy);
  background: none;
  border: 0;
  box-shadow: none;
  font-family: var(--mo-serif);
  font-size: 22px;
  line-height: 1.35;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  margin: 0;
}

.article-toc a {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #294c67;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
  text-decoration: none;
}

.article-toc a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: .65em;
  background: #8db4cf;
  border-radius: 50%;
}

.article-toc .toc-level-3 a {
  padding-left: 20px;
  color: #526b7f;
  font-size: 12px;
}

.article-toc .toc-level-3 a::before {
  width: 5px;
  height: 5px;
  background: #b7cad9;
}

.share-buttons {
  margin: 26px 0 0;
  padding: 18px;
  background: #f7fafc;
  border: 1px solid #dbe7f0;
  border-radius: 4px;
}

.share-buttons-top {
  margin: 0 0 24px;
}

.share-buttons p {
  margin: 0 0 12px;
  color: #526b7f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}

.share-buttons > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--mo-navy);
  background: #fff;
  border: 1px solid #cfdfe9;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(17, 41, 79, .05);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.share-button:hover {
  border-color: #9cbfd5;
  box-shadow: 0 12px 22px rgba(17, 41, 79, .09);
  transform: translateY(-1px);
}

.share-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--mo-navy);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.single-content a,
.page-article a {
  color: #1b5f91;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-content > p .legacy-external-link,
.page-article > p .legacy-external-link {
  display: inline;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #1b5f91 !important;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.article-toc a,
.share-button {
  text-decoration: none;
}

.article-toc a {
  color: #294c67;
}

.article-toc .toc-level-3 a {
  color: #526b7f;
}

.share-button {
  color: var(--mo-navy);
}

.post-nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e1eaf1;
}

.post-nav a,
.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--mo-navy);
  background: rgba(255, 255, 255, .96);
  border: 1px solid #d8e4ee;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(17, 41, 79, .07);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.pagination-nav {
  margin-top: 30px;
}

.pagination-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pagination-nav a:hover {
  transform: translateY(-1px);
  color: #fff;
  background: var(--mo-navy);
  border-color: var(--mo-navy);
  box-shadow: 0 14px 28px rgba(17, 41, 79, .16);
}

.pagination-nav .current {
  color: #fff;
  background: var(--mo-navy);
  border-color: var(--mo-navy);
  box-shadow: 0 12px 24px rgba(17, 41, 79, .14);
}

.pagination-nav .dots {
  min-width: 28px;
  color: #7b90a3;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.contact-map {
  position: relative;
  min-height: 255px;
  background: #f6f8fb;
}

.contact-card {
  position: absolute;
  overflow: hidden;
  isolation: isolate;
  top: 22px;
  left: 17px;
  z-index: 2;
  width: 210px;
  min-height: 223px;
  padding: 18px 17px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--mo-navy) 0%, #143763 100%);
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(0, 45, 85, .22);
}

.contact-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 34%),
    linear-gradient(125deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .08) 78%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1;
}

.contact-card p {
  margin: 0 0 8px;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.55;
  opacity: .94;
}

.contact-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  min-height: 20px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 8px;
  font-weight: 800;
}

.contact-row:first-of-type {
  border-top: 0;
}

.contact-card small {
  display: block;
  margin: 5px 0 9px;
  font-size: 5.6px;
  line-height: 1.6;
  opacity: .9;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.contact-btn {
  width: 100%;
  height: 27px;
  margin-bottom: 0;
  border-color: rgba(255, 255, 255, .55);
  font-size: 7px;
}

.contact-card .wp-block-button.contact-btn:not(.btn-light) {
  overflow: visible;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.contact-card .wp-block-button.contact-btn:not(.btn-light)::after,
.contact-card .wp-block-button.contact-btn:not(.btn-light) .wp-block-button__link::after {
  display: none;
}

.contact-card .contact-btn:not(.btn-light):not(.wp-block-button),
.contact-card .wp-block-button.contact-btn:not(.btn-light) .wp-block-button__link {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .68);
  box-shadow: 0 10px 22px rgba(0, 18, 42, .12);
}

.contact-card .wp-block-button.contact-btn:not(.btn-light) .wp-block-button__link::before {
  opacity: 1;
}

.contact-card .contact-btn:not(.btn-light):not(.wp-block-button):hover,
.contact-card .wp-block-button.contact-btn:not(.btn-light) .wp-block-button__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .86);
}

.contact-card .contact-btn:not(.btn-light):not(.wp-block-button):focus-visible,
.contact-card .wp-block-button.contact-btn:not(.btn-light) .wp-block-button__link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .42);
}

.contact-card .btn-light {
  color: #123a5f;
}

.contact-card :where(a, a:visited, a:hover, a:focus-visible),
.contact-card :where(a[x-apple-data-detectors], span[x-apple-data-detectors], [x-apple-data-detectors]) {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
}

.contact-card .contact-row span:last-child,
.contact-card .contact-row span:last-child :where(a, a:visited, a:hover, a:focus-visible, [x-apple-data-detectors]) {
  color: #fff !important;
}

.contact-card p :where(a, a:visited, a:hover, a:focus-visible, [x-apple-data-detectors]) {
  color: rgba(255, 255, 255, .94) !important;
}

.map-image {
  position: absolute;
  top: 20px;
  left: 231px;
  width: 470px;
  height: 214px;
  object-fit: cover;
  border: 1px solid #d8e4ee;
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(0, 41, 79, .1);
}

.map-image img,
.map-embed iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-embed {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(232, 240, 246, .34), rgba(232, 240, 246, .34)),
    url("../images/map.png") center / cover no-repeat #e8f0f6;
}

.map-embed iframe {
  display: block;
  border: 0;
  filter: saturate(.84) contrast(.96);
  opacity: .78;
}

.cta {
  position: relative;
  isolation: isolate;
  min-height: 134px;
  padding: 24px 0 22px;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .42)),
    url("../images/generated/cta-okinawa-sea-bridge-wide.jpg");
  background-position: center;
  background-size: cover;
}

.cta::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .02));
}

.cta h2 {
  margin: 0;
  color: #173f62;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-wrap: balance;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 18px;
}

.cta-actions .btn,
.cta-actions .wp-block-button.btn {
  width: 213px;
  height: 35px;
  font-size: 8px;
}

.cta-actions .btn-primary,
.cta-actions .wp-block-button.btn-primary .wp-block-button__link {
  flex-direction: row;
  gap: .68em;
}

.cta-actions .btn-primary::before,
.cta-actions .wp-block-button.btn-primary .wp-block-button__link::before {
  display: inline-flex;
}

.cta-actions .wp-block-button.btn-primary::before {
  display: none;
}

.cta-actions small {
  font-size: 5.5px;
  font-weight: 700;
  opacity: .9;
}

.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(110deg, var(--mo-navy-deep) 0%, var(--mo-navy) 58%, #0d2343 100%);
}

.footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, .22);
}

.footer::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 28%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, .07) 48%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.footer-inner,
.copyright,
.back-top {
  position: relative;
  z-index: 1;
}


.footer-inner {
  display: grid;
  grid-template-columns: 176px 101px 96px 112px 1fr;
  gap: 7px;
  width: 676px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 39px;
}

.footer-menu-columns {
  display: grid;
  grid-column: 2 / span 3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, 1.5vw, 24px);
  min-width: 0;
}

.footer-menu-columns .footer-col {
  min-width: 0;
}

.footer-brand {
  padding-top: 16px;
}

.footer-brand .brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand .brand-line p,
.footer-brand .brand-line figure {
  margin: 0;
}

.matsukawa-office-page .footer-brand .brand-line .wp-block-image {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.matsukawa-office-page .footer-brand .brand-line .wp-block-image img {
  width: 22px;
  height: 22px;
}

.footer-brand img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.footer-brand b {
  font-family: var(--mo-serif);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.footer-brand p {
  margin: 10px 0 0;
  font-size: 6.2px;
  font-weight: 700;
  opacity: .86;
}

.footer-col h3 {
  margin: 0 0 9px;
  font-size: 7px;
  line-height: 1;
}

.footer-col p {
  margin: 0;
}

.footer-col a {
  display: block;
  margin-bottom: 5px;
  font-size: 6.2px;
  font-weight: 700;
  opacity: .9;
}

.footer-contact {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .26);
}

.footer-contact b {
  display: block;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.footer-contact small {
  display: block;
  margin: 5px 0 9px;
  font-size: 6.4px;
  opacity: .9;
}

.footer-contact .btn {
  width: 157px;
  height: 25px;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  font-size: 6.8px;
}

.footer-actions {
  display: block;
}

.copyright {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
  font-size: 6.2px;
  opacity: .86;
}

.back-top {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #0c4977;
  background: #e8f0f7;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.matsukawa-office-page :where(
  .section-title,
  .service-card h3,
  .reason-card h3,
  .problem h2,
  .solution-card h3,
  .flow-step h3,
  .regional-card h3,
  .profile-copy h2,
  .panel-head h3,
  .contact-card h2,
  .cta h2,
  .footer-col h3
) {
  font-family: var(--mo-serif);
  font-weight: 700;
  letter-spacing: 0;
}

.matsukawa-office-page :where(.section-title, .problem h2, .cta h2) {
  line-height: 1.38;
}

.matsukawa-office-page :where(.reason-card h3, .flow-step h3, .regional-card h3) {
  line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
  .feature-item:hover {
    background: rgba(255, 255, 255, .045);
  }

  .service-card:hover,
  .reason-card:hover,
  .price-card:hover,
  .regional-card:hover {
    border-color: #b6cddd;
    box-shadow: var(--mo-shadow-lift);
    transform: translateY(-3px);
  }

  .service-card:hover img,
  .regional-card:hover img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.13);
  }

  .faq-row:hover {
    border-color: #b8cfdf;
    box-shadow: 0 8px 18px rgba(0, 41, 79, .07);
    transform: translateY(-1px);
  }

  .footer a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.js .reveal-on-scroll {
  opacity: 0;
  filter: blur(var(--reveal-blur, 0));
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 18px), 0) scale(var(--reveal-scale, 1));
  transition:
    opacity .72s ease var(--reveal-delay, 0ms),
    filter .72s ease var(--reveal-delay, 0ms),
    transform .72s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.js .reveal-heading {
  --reveal-y: 14px;
  --reveal-blur: 3px;
}

.js .reveal-hero {
  --reveal-y: 20px;
  --reveal-blur: 2px;
}

.js .reveal-card,
.js .reveal-step {
  --reveal-y: 22px;
}

.js .reveal-media {
  --reveal-y: 18px;
  --reveal-scale: .985;
}

.js .reveal-panel {
  --reveal-y: 18px;
  --reveal-blur: 2px;
}

.js .problem-card.reveal-on-scroll:not(.solution-card) {
  --reveal-x: -18px;
  --reveal-y: 0;
}

.js .solution-card.reveal-on-scroll {
  --reveal-x: 18px;
  --reveal-y: 0;
}

.js .reveal-arrow {
  --reveal-y: 0;
  --reveal-scale: .88;
  opacity: 0;
}

.js .reveal-cta {
  --reveal-y: 14px;
  --reveal-scale: .985;
}

.js .reveal-on-scroll.is-visible,
.no-scroll-reveal .reveal-on-scroll {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.js .reveal-arrow.is-visible {
  transform: none;
}

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

  .js .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .matsukawa-office-page {
    width: 100%;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    width: 100%;
    min-width: 0;
    padding-left: 16px;
  }

  .header-call {
    display: none;
  }

  .global-nav {
    flex: 0 0 100%;
    order: 2;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 8px 14px 10px;
    border-top: 1px solid #e4edf4;
  }

  .global-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    row-gap: 7px;
  }

  .global-nav a {
    min-height: 26px;
    font-size: 8.8px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .global-nav small {
    font-size: 6px;
  }

  .global-nav .sub-menu {
    position: static;
    min-width: 0;
    padding: 3px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .global-nav .sub-menu a {
    align-items: center;
    min-height: 22px;
    padding: 2px 4px;
    font-size: 8px;
    text-align: center;
  }

  .hero {
    min-height: 318px;
    background-position: 58% center;
  }

  .hero::after,
  .hero-panel {
    display: none;
  }

  .hero-copy {
    width: auto;
    padding: 36px 24px 34px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-lead {
    width: 260px;
    max-width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px 22px;
  }

  .feature-item {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .feature-item span:not(.feature-icon) {
    white-space: normal;
  }

  .feature-item strong {
    font-size: 14px;
  }

  .feature-item:last-child strong {
    max-width: 230px;
    font-size: 13px;
    line-height: 1.45;
  }

  .feature-item span:not(.feature-icon) {
    margin-top: 5px;
    font-size: 10.5px;
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .section-kicker {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-lead {
    margin-top: 12px;
    font-size: 12px;
  }

  .service-grid,
  .related-service-list,
  .reason-grid,
  .price-grid,
  .flow-grid,
  .faq-grid,
  .post-panels,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .services,
  .reasons,
  .price,
  .flow,
  .info {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .service-grid,
  .reason-grid,
  .price-grid,
  .flow-grid,
  .faq-grid,
  .post-panels,
  .regional-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .wp-block-button.btn {
    height: 46px;
    font-size: 13px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn-primary,
  .hero-actions .wp-block-button.btn-primary,
  .hero-actions .btn-light,
  .hero-actions .wp-block-button.btn-light {
    width: min(100%, 270px);
  }

  .faq-grid {
    gap: 10px;
    margin-top: 22px;
  }

  .faq-row {
    min-height: 0;
    border-radius: 4px;
    font-size: 14px;
  }

  .faq-row summary {
    min-height: 50px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 1.5;
  }

  .faq-row span:last-child {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 13px;
  }

  .contact-form-panel {
    padding: 20px 16px;
  }

  .matsukawa-office-page .wpcf7 .wpcf7-submit {
    width: 100%;
  }

  .service-card img {
    height: 132px;
  }

  .service-card-body {
    padding: 18px 18px 20px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 12px;
  }

  .related-services {
    padding: 28px 16px;
  }

  .related-service-list {
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }

  .related-service-list li {
    min-height: 44px;
    padding: 12px 14px 11px 38px;
    font-size: 12px;
  }

  .related-service-list li::before {
    top: 50%;
    left: 16px;
  }

  .reason-card,
  .price-card {
    min-height: 92px;
  }

  .reason-card {
    padding: 24px 18px 22px;
  }

  .reason-card h3 {
    font-size: 15px;
  }

  .reason-card p {
    font-size: 11px;
  }

  .problem {
    padding: 28px 16px;
  }

  .problem h2 {
    font-size: 21px;
  }

  .problem-board {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .problem-arrow {
    width: 22px;
    height: 22px;
    transform: rotate(90deg);
  }

  .problem-card {
    padding: 22px 20px;
  }

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

  .check-list li {
    margin-bottom: 10px;
    padding-left: 22px;
    font-size: 12px;
    line-height: 1.55;
  }

  .check-list li::before {
    top: 2px;
    width: 14px;
    height: 14px;
    font-size: 10px;
    line-height: 14px;
  }

  .price-card span {
    font-size: 12px;
  }

  .price-card b {
    margin-top: 14px;
    font-size: 24px;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .flow-grid::before {
    display: none;
  }

  .flow-step {
    padding: 18px 16px;
    background: #fff;
    border: 1px solid #dbe7f0;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0, 41, 79, .05);
  }

  .flow-no {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .flow-step h3 {
    font-size: 15px;
  }

  .flow-step p {
    font-size: 11px;
  }

  .regional {
    padding: 30px 16px;
  }

  .regional-card .wp-block-image {
    height: 150px;
  }

  .regional-card img {
    height: 100%;
  }

  .regional-card h3 {
    min-height: 0;
    font-size: 16px;
  }

  .regional-card p {
    min-height: 0;
    font-size: 12px;
  }

  .profile {
    display: block;
    padding: 18px 16px 24px;
  }

  .profile-photo {
    padding: 0;
  }

  .profile-photo img {
    width: 100%;
    height: 280px;
  }

  .profile-copy {
    padding: 18px 0 0;
  }

  .post-panel {
    min-height: 0;
    padding: 20px 16px 18px;
    border-radius: 4px;
  }

  .post-panels {
    gap: 16px;
    margin-top: 22px;
  }

  .panel-head {
    min-height: 0;
    margin-bottom: 12px;
  }

  .panel-head h3 {
    font-size: 22px;
    line-height: 1.25;
  }

  .panel-head a {
    font-size: 12px;
  }

  .news-row,
  .blog-row {
    min-height: 0;
    padding: 12px 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .news-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .news-row span:nth-child(3) {
    grid-column: 1 / -1;
    font-size: 13px;
    line-height: 1.65;
  }

  .news-row .tag {
    justify-self: start;
  }

  .blog-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 6px 12px;
  }

  .blog-row figure {
    grid-row: 1 / 4;
  }

  .blog-row img {
    width: 72px;
    height: 54px;
  }

  .blog-row span:nth-of-type(1) {
    align-self: end;
  }

  .blog-row .tag {
    justify-self: start;
  }

  .blog-row span:nth-of-type(3) {
    grid-column: 2;
    font-size: 13px;
    line-height: 1.6;
  }

  .tag {
    min-width: 58px;
    height: 22px;
    padding: 0 9px;
    font-size: 11px;
  }

  .contact-map {
    padding: 20px 16px 28px;
  }

  .contact-card,
  .map-image {
    position: static;
    width: 100%;
  }

  .contact-card {
    margin-bottom: 16px;
    padding: 26px 22px 28px;
    border-radius: 6px;
  }

  .contact-card h2 {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.35;
  }

  .contact-card p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.75;
  }

  .contact-row {
    grid-template-columns: 58px 1fr;
    min-height: 44px;
    font-size: 15px;
  }

  .contact-card small {
    margin: 14px 0 16px;
    font-size: 12px;
    line-height: 1.7;
  }

  .contact-actions {
    gap: 12px;
  }

  .contact-btn {
    height: 50px;
    font-size: 14px;
  }

  .map-image {
    height: auto;
    min-height: 300px;
  }

  .map-embed iframe {
    min-height: 300px;
  }

  .cta {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta h2 {
    font-size: 22px;
  }

  .cta-actions .btn,
  .cta-actions .wp-block-button.btn {
    width: min(100%, 280px);
    height: 48px;
    font-size: 13px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    padding-top: 34px;
    padding-bottom: 68px;
  }

  .footer-menu-columns {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-contact {
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-left: 0;
  }

  .footer-brand b {
    font-size: 18px;
  }

  .footer-brand p,
  .footer-col a {
    font-size: 11.5px;
    line-height: 1.7;
  }

  .footer-col h3 {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .footer-contact b {
    font-size: 25px;
  }

  .footer-contact small {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.6;
  }

  .footer-contact .btn {
    width: 100%;
    height: 48px;
    font-size: 13px;
  }

  .copyright {
    bottom: 18px;
    padding: 12px 16px 0;
    font-size: 11px;
    line-height: 1.6;
  }

  .subpage-hero {
    padding: 34px 18px 28px;
  }

  .subpage-hero h1 {
    font-size: 23px;
  }

  .content-layout {
    width: calc(100% - 32px);
    padding: 24px 0 38px;
  }

  .single-article,
  .page-article,
  .empty-content {
    padding: 20px 18px;
  }

  .single-eyecatch {
    margin-bottom: 20px;
  }

  .single-eyecatch img {
    max-height: 260px;
  }

  .page-eyecatch-office img {
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }

  .article-toc {
    margin-bottom: 22px;
    padding: 20px 18px 18px 22px;
  }

  .article-toc h2 {
    font-size: 20px;
  }

  .single-content,
  .page-article {
    font-size: 14px;
    line-height: 1.9;
  }

  .single-content h2,
  .page-article > h2 {
    padding: 13px 14px 13px 18px;
    font-size: 18px;
  }

  .single-content h3,
  .page-article > h3 {
    font-size: 16px;
  }

  .legacy-info-table,
  .legacy-info-table tbody,
  .legacy-info-table tr,
  .legacy-info-table th,
  .legacy-info-table td {
    display: block;
    width: 100%;
  }

  .legacy-info-table th {
    padding-bottom: 8px;
    border-bottom: 0;
  }

  .legacy-info-table td {
    padding-top: 8px;
  }

  .legacy-section-lead {
    padding: 16px 16px 4px;
  }

  .legacy-visual img {
    height: 220px;
  }

  .legacy-visual-wide:not(.legacy-visual-document) img {
    height: auto;
    max-height: none;
  }

  .legacy-visual-document img {
    height: 190px;
    padding: 12px;
  }

  .legacy-visual-tall img {
    height: 430px;
  }

  .legacy-visual-document-wide img {
    height: auto;
    padding: 10px;
  }

  .legacy-highlight-grid,
  .legacy-price-grid,
  .legacy-cookie-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legacy-highlight,
  .legacy-price-card,
  .legacy-cookie-card {
    padding: 16px;
  }

  .legacy-price-card strong {
    font-size: 22px;
  }

  .legacy-card,
  .legacy-news-item {
    padding: 16px;
  }

  .page-article .legacy-card-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .legacy-image-grid,
  .legacy-image-grid-3 {
    grid-template-columns: 1fr;
  }

  .legacy-image-grid img {
    height: clamp(180px, 58vw, 260px);
  }

  .legacy-card-list .legacy-card,
  .legacy-card-list .legacy-card:nth-child(-n+2) {
    grid-column: auto;
  }

  .legacy-card-list .legacy-card {
    padding: 0;
  }

  .legacy-card-media {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .legacy-card-list .legacy-card:nth-child(-n+2) .legacy-card-media {
    aspect-ratio: 4 / 3;
  }

  .legacy-card-list .legacy-card h3 {
    min-height: 0;
    margin: 16px 16px 0;
    font-size: 16px;
  }

  .legacy-card-list .legacy-card p {
    margin-right: 16px;
    margin-left: 16px;
  }

  .legacy-card-list .legacy-card p:last-child {
    margin-bottom: 18px;
  }

  .legacy-map-embed iframe {
    height: 320px;
  }

  .share-buttons {
    padding: 16px;
  }

  .share-buttons > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .share-button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 11px;
  }

  .share-buttons > div .share-button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 721px) {
  body {
    background: #f3f7fa;
  }

  .matsukawa-office-page {
    width: 100%;
    max-width: none;
    overflow: visible;
    background: #fff;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(250px, 340px) minmax(500px, 1fr) 292px;
    height: 72px;
    min-height: 72px;
    padding: 0 clamp(28px, 4.5vw, 72px);
    overflow: visible;
    box-shadow: 0 1px 0 rgba(0, 56, 102, .08);
  }

  .brand {
    width: auto;
    min-width: 0;
    padding-left: 0;
    gap: 11px;
  }

  .brand span,
  .brand p span {
    font-size: 18px;
  }

  .global-nav {
    padding: 0 18px;
  }

  .global-nav-list {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .global-nav a {
    min-height: 72px;
    font-size: 10px;
  }

  .global-nav small {
    margin-top: 5px;
    font-size: 6px;
  }

  .header-call {
    align-self: start;
    width: 292px;
    min-width: 292px;
    height: 92px;
    padding: 0 20px 0 24px;
    background: linear-gradient(135deg, var(--mo-navy) 0%, #143763 72%, var(--mo-navy-deep) 100%);
    border-left: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 12px 28px rgba(0, 41, 79, .22), inset 0 -1px 0 rgba(255, 255, 255, .12);
  }

  .header-call span {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .header-call b {
    display: block;
    font-size: 28px;
    letter-spacing: 0;
  }

  .header-call small {
    margin-top: 6px;
    font-size: 10px;
  }

  .hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 35%, rgba(255, 255, 255, .22) 64%, rgba(255, 255, 255, 0) 100%),
      url("../images/generated/hero-okinawa-office-wide.jpg");
  }

  .hero::after {
    right: max(56px, calc((100vw - 1180px) / 2 + 8px));
    bottom: 122px;
    width: 330px;
    height: 116px;
  }

  .hero-copy {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
    padding: 0;
  }

  .hero-copy > * {
    max-width: 590px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.32;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 34px;
    gap: 16px;
  }

  .hero-actions .btn-primary,
  .hero-actions .wp-block-button.btn-primary {
    width: 218px;
  }

  .hero-actions .btn-light,
  .hero-actions .wp-block-button.btn-light {
    width: 188px;
  }

  .btn {
    height: 48px;
    font-size: 13px;
  }

  .hero-panel {
    right: max(70px, calc((100vw - 1180px) / 2 + 36px));
    bottom: 168px;
    width: 252px;
    padding: 20px 22px;
  }

  .hero-panel span {
    font-size: 10px;
  }

  .hero-panel b {
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(1180px, calc(100% - 72px));
    min-height: 104px;
    margin: 0 auto;
    padding-left: 0;
  }

  .feature-item {
    gap: 18px;
    padding: 0 24px;
  }

  .feature-item::before {
    width: 42px;
    height: 42px;
    background-size: 21px 21px;
  }

  .feature-item strong {
    font-size: 16px;
    line-height: 1.38;
  }

  .feature-item span:not(.feature-icon) {
    margin-top: 9px;
    font-size: 10px;
    white-space: nowrap;
  }

  .feature-item:last-child strong {
    font-size: 16px;
    line-height: 1.38;
  }

  .services,
  .reasons,
  .price,
  .flow,
  .info {
    padding-top: 58px;
    padding-bottom: 68px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-lead {
    margin-top: 14px;
    font-size: 13px;
  }

  .section-kicker {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: min(1080px, calc(100% - 72px));
    margin-top: 36px;
  }

  .service-card {
    min-height: 236px;
    border-color: #d6e2eb;
    box-shadow: 0 12px 28px rgba(0, 41, 79, .06);
  }

  .service-card img {
    height: 150px;
  }

  .service-card-body {
    padding: 20px 24px 24px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-card p {
    margin-top: 12px;
    font-size: 12px;
  }

  .reason-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    width: min(1080px, calc(100% - 72px));
    margin-top: 34px;
  }

  .reason-card {
    min-height: 172px;
    padding: 28px 18px 24px;
    box-shadow: 0 10px 24px rgba(0, 41, 79, .05);
  }

  .reason-card h3 {
    margin-top: 18px;
    font-size: 15px;
  }

  .reason-card p {
    margin-top: 12px;
    font-size: 11px;
  }

  .problem {
    padding: 76px 0;
  }

  .problem h2 {
    font-size: 28px;
  }

  .problem-board {
    grid-template-columns: minmax(360px, 440px) 76px minmax(360px, 440px);
    gap: 26px;
    margin-top: 34px;
  }

  .problem-card {
    min-height: 190px;
    padding: 34px 38px;
  }

  .solution-card h3 {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .check-list li {
    margin-bottom: 13px;
    padding-left: 24px;
    font-size: 13px;
  }

  .check-list li::before {
    top: 1px;
    width: 14px;
    height: 14px;
    font-size: 10px;
    line-height: 14px;
  }

  .price-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    width: min(1180px, calc(100% - 72px));
    margin-top: 32px;
  }

  .price-card {
    min-height: 104px;
    padding: 22px 8px 18px;
  }

  .price-card span {
    font-size: 12px;
  }

  .price-card b {
    margin-top: 20px;
    font-size: 27px;
  }

  .price-card small {
    font-size: 12px;
  }

  .price-note {
    margin-top: 18px;
    font-size: 11px;
  }

  .flow-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    width: min(1120px, calc(100% - 72px));
    margin-top: 38px;
  }

  .flow-step:not(:last-child)::after {
    top: 45px;
    right: -19px;
    font-size: 38px;
  }

  .flow-no {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .flow-step h3 {
    margin-top: 16px;
    font-size: 14px;
  }

  .flow-step p {
    margin-top: 11px;
    font-size: 10px;
  }

  .regional {
    padding: 68px 0 76px;
  }

  .regional .section-head,
  .regional-grid {
    width: min(1080px, calc(100% - 72px));
    margin-right: auto;
    margin-left: auto;
  }

  .regional-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
  }

  .regional-card .wp-block-image {
    height: 190px;
  }

  .regional-card img {
    height: 100%;
  }

  .regional-card .regional-card-body,
  .regional-card > div:not(.wp-block-image) {
    padding: 24px 24px 28px;
  }

  .regional-card h3 {
    min-height: 2.9em;
    font-size: 17px;
  }

  .regional-card p {
    min-height: 5.1em;
    margin-top: 12px;
    font-size: 12px;
  }

  .profile {
    grid-template-columns:
      minmax(36px, 1fr)
      minmax(420px, 520px)
      minmax(460px, 660px)
      minmax(36px, 1fr);
    align-items: center;
    width: 100%;
    min-height: 0;
    background: #f6f8fa;
  }

  .profile-photo {
    grid-column: 2;
    padding: 0;
  }

  .matsukawa-office-page .profile-photo img {
    width: 100%;
    height: clamp(430px, 36vw, 500px);
    object-fit: cover;
    object-position: center 20%;
  }

  .profile-copy {
    grid-column: 3;
    align-self: center;
    padding: 62px 56px 48px;
  }

  .profile-copy h2 {
    margin-bottom: 24px;
    font-size: 25px;
  }

  .profile-copy p {
    margin-bottom: 11px;
    font-size: 13px;
  }

  .profile-copy .name {
    margin-top: 20px;
    font-size: 22px;
  }

  .faq-grid,
  .post-panels {
    width: min(1080px, calc(100% - 72px));
  }

  .faq-grid {
    gap: 8px 22px;
    margin-top: 24px;
  }

  .faq-row {
    min-height: 40px;
    padding: 0;
    font-size: 12px;
  }

  .faq-row summary {
    min-height: 40px;
    padding: 0 22px;
  }

  .faq-answer {
    padding: 0 22px 16px;
    font-size: 12px;
  }

  .post-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
  }

  .post-panel {
    min-height: 176px;
    padding: 0 24px 18px;
  }

  .panel-head {
    min-height: 48px;
  }

  .panel-head h3 {
    font-size: 24px;
  }

  .panel-head a {
    font-size: 11px;
  }

  .news-row,
  .blog-row {
    min-height: 40px;
    font-size: 12px;
  }

  .news-row {
    grid-template-columns: 92px 66px 1fr;
  }

  .blog-row {
    grid-template-columns: 78px 92px 66px 1fr;
    min-height: 54px;
  }

  .blog-row img {
    width: 72px;
    height: 44px;
  }

  .tag {
    width: auto;
    min-width: 58px;
    height: 20px;
    padding: 0 9px;
    font-size: 10px;
  }

  .subpage-hero {
    padding: 70px 32px 56px;
  }

  .subpage-hero h1 {
    font-size: 38px;
  }

  .subpage-hero p:not(.section-kicker) {
    font-size: 15px;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
    gap: 34px;
    width: min(1120px, calc(100% - 72px));
    padding: 48px 0 72px;
  }

  .content-sidebar {
    align-self: stretch;
    overflow: visible;
    height: 100%;
    min-height: 100%;
  }

  .content-layout.layout-left-sidebar {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .content-layout.layout-left-sidebar .content-main {
    order: 2;
  }

  .content-layout.layout-left-sidebar .content-sidebar {
    order: 1;
  }

  .content-sidebar-sticky {
    position: sticky;
    top: 24px;
    z-index: 3;
    align-self: start;
  }

  .content-sidebar > .sidebar-widget-sticky,
  .content-sidebar > .is-sidebar-cta-widget {
    position: sticky;
    top: 24px;
    z-index: 3;
    align-self: start;
  }

  .content-layout.layout-one-column {
    display: block;
    width: min(860px, calc(100% - 72px));
  }

  .content-layout.layout-one-column.layout-width-narrow {
    width: min(760px, calc(100% - 72px));
  }

  .content-layout.layout-one-column.layout-width-wide {
    width: min(1040px, calc(100% - 72px));
  }

  .archive-card {
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 210px;
  }

  .archive-card-media,
  .archive-card-media img {
    min-height: 210px;
  }

  .archive-card-body {
    padding: 28px 30px;
  }

  .archive-card-title {
    font-size: 24px;
  }

  .single-article,
  .page-article,
  .empty-content {
    padding: 42px;
  }

  .contact-form-panel {
    padding: 38px 42px;
  }

  .single-content,
  .page-article {
    font-size: 15px;
  }

  .post-nav {
    grid-template-columns: 1fr 1fr;
  }

  .post-nav div:last-child {
    text-align: right;
  }

  .contact-map {
    min-height: 430px;
  }

  .contact-card {
    top: 54px;
    left: max(48px, calc((100vw - 1180px) / 2));
    width: 332px;
    min-height: 322px;
    padding: 34px 30px;
  }

  .contact-card h2 {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .contact-card p,
  .contact-card small {
    font-size: 12px;
  }

  .contact-row {
    min-height: 38px;
    font-size: 14px;
  }

  .contact-btn {
    width: 100%;
    height: 42px;
    font-size: 12px;
  }

  .contact-actions {
    gap: 12px;
  }

  .map-image {
    top: 52px;
    right: max(48px, calc((100vw - 1180px) / 2));
    left: max(410px, calc((100vw - 1180px) / 2 + 372px));
    width: auto;
    height: 326px;
  }

  .cta {
    min-height: 248px;
    padding: 48px 0;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta-actions {
    margin-top: 30px;
    gap: 54px;
  }

  .cta-actions .btn,
  .cta-actions .wp-block-button.btn {
    width: 310px;
    height: 56px;
    font-size: 14px;
  }

  .footer-inner {
    grid-template-columns: 300px 150px 150px 170px minmax(270px, 1fr);
    gap: 24px;
    width: min(1180px, calc(100% - 72px));
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .footer-brand {
    padding-top: 0;
  }

  .footer-brand b {
    font-size: 20px;
  }

  .footer-brand p,
  .footer-col a {
    font-size: 12px;
  }

  .footer-col h3 {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .footer-contact b {
    font-size: clamp(26px, 2.2vw, 30px);
  }

  .footer-contact small {
    font-size: 12px;
  }

  .footer-contact .btn {
    width: 230px;
    height: 42px;
    font-size: 12px;
  }

  .copyright {
    bottom: 18px;
    font-size: 11px;
  }
}

@media (min-width: 1025px) {
  .site-header .brand {
    align-self: start;
    height: 72px;
    transform: translateY(-1px);
  }
}

@media (min-width: 1381px) {
  .site-header .brand {
    width: clamp(300px, 22vw, 360px);
    min-width: clamp(300px, 22vw, 360px);
  }

  .site-header .brand-tagline {
    max-width: clamp(230px, 17vw, 292px);
    font-size: 9.5px;
  }
}

@media (min-width: 1025px) and (max-width: 1380px) {
  .site-header {
    grid-template-columns: minmax(260px, 1fr) 292px;
    grid-template-rows: 72px 52px;
    height: 124px;
    min-height: 124px;
    padding: 0 clamp(28px, 4vw, 56px);
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    height: 72px;
    transform: none;
  }

  .site-header .brand-tagline {
    max-width: min(100%, 420px);
    font-size: 10px;
  }

  .site-header .header-call {
    grid-column: 2;
    grid-row: 1 / 3;
    z-index: 2;
    align-self: start;
    width: 292px;
    min-width: 292px;
    height: 144px;
    padding: 0 20px 0 24px;
    box-shadow: 0 14px 30px rgba(0, 41, 79, .22), inset 0 -1px 0 rgba(255, 255, 255, .12);
  }

  .site-header .header-call span {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .site-header .header-call b {
    font-size: clamp(25px, 2.35vw, 28px);
  }

  .site-header .header-call small {
    margin-top: 6px;
    font-size: 10px;
  }

  .site-header .global-nav {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    border-top: 1px solid #e4edf4;
  }

  .site-header .global-nav-list {
    height: 52px;
  }

  .site-header .global-nav a {
    min-height: 52px;
    padding: 0 5px;
    font-size: 9.5px;
    line-height: 1.18;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-header .global-nav .menu-ja {
    max-width: 100%;
    line-height: 1.18;
  }

  .site-header .global-nav small,
  .site-header .global-nav .menu-en {
    margin-top: 4px;
    font-size: 6px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .site-header .brand {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-left: 16px;
  }

  .site-header .brand-tagline {
    max-width: calc(100vw - 92px);
    font-size: 9px;
  }

  .site-header .header-call {
    display: none;
  }

  .site-header .global-nav {
    flex: 0 0 100%;
    order: 2;
    width: 100%;
    max-width: 100%;
    padding: 8px 14px 10px;
    border-top: 1px solid #e4edf4;
  }

  .site-header .global-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    height: auto;
    row-gap: 7px;
  }

  .site-header .global-nav a {
    min-height: 26px;
    font-size: 8.8px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .site-header .brand {
    min-height: 62px;
    padding-left: 28px;
  }

  .site-header .brand span,
  .site-header .brand p span {
    font-size: 18px;
  }

  .site-header .brand-tagline {
    max-width: calc(100vw - 96px);
    font-size: 10px;
  }

  .site-header .global-nav {
    padding: 10px 28px 14px;
  }

  .site-header .global-nav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 14px;
  }

  .site-header .global-nav a {
    min-height: 38px;
    font-size: 11px;
  }

  .site-header .global-nav small {
    margin-top: 4px;
    font-size: 7px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-copy {
    width: min(100% - 64px, 840px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(860px, calc(100% - 56px));
  }

  .feature-item {
    min-height: 92px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .feature-item:nth-child(2n) {
    border-right: 0;
  }

  .feature-item:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

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

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

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

  .flow-step:not(:last-child)::after,
  .flow-grid::before {
    display: none;
  }

  .flow-step {
    padding: 24px 18px;
    background: #fff;
    border: 1px solid #dbe7f0;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0, 41, 79, .05);
  }

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

  .profile {
    grid-template-columns: minmax(32px, 1fr) minmax(300px, 420px) minmax(320px, 1fr) minmax(32px, 1fr);
  }

  .profile-copy {
    padding: 44px 36px 40px;
  }

  .post-panels,
  .faq-grid {
    width: min(860px, calc(100% - 56px));
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(860px, calc(100% - 56px));
  }

  .content-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-map {
    padding: 34px 28px 42px;
  }

  .contact-card,
  .map-image {
    position: static;
    width: min(860px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .contact-card {
    margin-bottom: 18px;
  }

  .map-image {
    height: 340px;
  }

  .footer-inner {
    grid-template-columns: 1.3fr repeat(3, minmax(120px, 1fr));
    width: min(860px, calc(100% - 56px));
  }

  .footer-menu-columns {
    grid-column: 2 / span 3;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-left: 0;
  }
}

.matsukawa-office-page .wp-block-button.btn::before,
.matsukawa-office-page .cta-actions > .wp-block-button.btn-primary::before,
.matsukawa-office-page .cta-actions > .wp-block-button.btn-light::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
    background: #f5f8fb;
  }

  .matsukawa-office-page {
    width: 100%;
    overflow: hidden;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 64px;
    height: auto;
    padding: 0 14px;
    overflow: visible;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #e5edf4;
    box-shadow: 0 2px 14px rgba(17, 41, 79, .08);
  }

  .site-header .brand {
    width: auto;
    min-width: 0;
    min-height: 64px;
    padding-left: 0;
    gap: 0;
  }

  .site-header .brand-link {
    min-width: 0;
    gap: 9px;
  }

  .site-header .brand img,
  .matsukawa-office-page .site-header .brand .wp-block-image,
  .matsukawa-office-page .site-header .brand .wp-block-image img {
    width: 28px;
    height: 28px;
  }

  .site-header .brand span,
  .site-header .brand p span {
    max-width: calc(100vw - 138px);
    overflow: hidden;
    font-size: 17px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-phone-cta,
  .mobile-nav-toggle {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    box-shadow: 0 8px 18px rgba(17, 41, 79, .08);
  }

  .mobile-phone-cta {
    color: #fff;
    background: linear-gradient(135deg, var(--mo-navy) 0%, #143763 100%);
    border-color: rgba(17, 41, 79, .18);
  }

  .site-header.is-nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-header .header-call {
    display: none;
  }

  .site-header .global-nav {
    grid-column: 1 / -1;
    order: initial;
    width: 100%;
    max-width: none;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-top: 0;
    opacity: 0;
    transition: max-height .26s ease, opacity .2s ease, padding .2s ease;
  }

  .site-header.is-nav-open .global-nav {
    max-height: calc(100vh - 64px);
    padding: 10px 0 14px;
    overflow-y: auto;
    border-top: 1px solid #e4edf4;
    opacity: 1;
  }

  .site-header .global-nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    height: auto;
    row-gap: 8px;
  }

  .site-header .global-nav a {
    min-height: 46px;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    padding: 0 13px 0 15px;
    color: var(--mo-navy);
    background: #f7fafc;
    border: 1px solid #dce7f0;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(17, 41, 79, .04);
    overflow-wrap: anywhere;
  }

  .site-header .global-nav a::after {
    display: none;
  }

  .site-header .global-nav .menu-ja {
    min-width: 0;
  }

  .site-header .global-nav small,
  .site-header .global-nav .menu-en {
    flex: 0 0 auto;
    margin-top: 0;
    color: #6c8aa2;
    font-size: 9px;
    letter-spacing: .03em;
  }

  .site-header .global-nav .sub-menu {
    position: static;
    min-width: 0;
    padding: 6px 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-header .global-nav .sub-menu a {
    min-height: 40px;
    padding: 0 12px;
    background: #fff;
    font-size: 12px;
    text-align: left;
  }

  .site-header .global-nav .sub-menu a:hover,
  .site-header .global-nav .sub-menu a:focus-visible {
    padding-left: 16px;
    color: var(--mo-navy);
    background:
      linear-gradient(90deg, rgba(17, 41, 79, .12) 0 4px, transparent 4px),
      #f2f7fb;
    box-shadow: inset 0 0 0 1px rgba(17, 41, 79, .04);
    outline: none;
  }

  .hero {
    display: flex;
    align-items: flex-end;
    min-height: 560px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .48) 34%, rgba(255, 255, 255, .92) 76%, rgba(255, 255, 255, .98) 100%),
      url("../images/generated/hero-okinawa-office-wide.jpg");
    background-position: 58% center;
  }

  .hero::after,
  .hero-panel {
    display: none;
  }

  .hero-copy {
    width: 100%;
    padding: 46px 20px 42px;
  }

  .hero-copy > * {
    max-width: 330px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: .08em;
  }

  .hero h1 {
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.45;
  }

  .hero-lead {
    width: auto;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn-primary,
  .hero-actions .wp-block-button.btn-primary,
  .hero-actions .btn-light,
  .hero-actions .wp-block-button.btn-light {
    width: min(100%, 310px);
    height: 50px;
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    padding: 18px 18px;
  }

  .feature-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    min-height: 74px;
    padding: 12px 0;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .feature-item::before {
    width: 42px;
    height: 42px;
    background-size: 21px 21px;
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .feature-item strong {
    font-size: 15px;
    line-height: 1.45;
  }

  .feature-item:last-child strong {
    max-width: none;
    font-size: 15px;
  }

  .feature-item span:not(.feature-icon) {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.55;
  }

  .services,
  .reasons,
  .price,
  .flow,
  .info {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .section-head {
    width: calc(100% - 36px);
    margin-right: auto;
    margin-left: auto;
  }

  .section-title {
    font-size: 26px;
    line-height: 1.35;
  }

  .section-lead {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.8;
  }

  .section-kicker {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .service-grid,
  .related-service-list,
  .reason-grid,
  .flow-grid,
  .faq-grid,
  .post-panels,
  .regional-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 16px;
  }

  .service-grid,
  .reason-grid,
  .regional-grid,
  .post-panels {
    margin-top: 26px;
  }

  .service-card {
    min-height: 0;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0, 41, 79, .06);
  }

  .service-card img,
  .service-card .wp-block-image {
    height: 150px;
  }

  .service-card-body {
    padding: 19px 18px 22px;
  }

  .service-card h3 {
    font-size: 22px;
    line-height: 1.45;
  }

  .service-card p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
  }

  .reason-card {
    min-height: 0;
    padding: 26px 20px 24px;
  }

  .reason-card h3 {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.45;
  }

  .reason-card p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
  }

  .problem {
    padding: 48px 16px;
  }

  .problem h2 {
    font-size: 24px;
    line-height: 1.55;
  }

  .problem-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .problem-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .problem-arrow {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .check-list li {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.65;
  }

  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
    gap: 10px;
    margin-top: 26px;
  }

  .price-card {
    min-height: 112px;
    padding: 20px 10px 18px;
  }

  .price-card:last-child {
    grid-column: 1 / -1;
  }

  .price-card span {
    font-size: 12px;
  }

  .price-card b {
    margin-top: 17px;
    font-size: 25px;
  }

  .price-card small {
    font-size: 11px;
  }

  .flow-grid {
    margin-top: 26px;
  }

  .flow-step {
    position: relative;
    min-height: 0;
    padding: 22px 18px 20px 64px;
    text-align: left;
    background: #fff;
    border: 1px solid #dbe7f0;
    border-radius: 4px;
    box-shadow: 0 9px 20px rgba(0, 41, 79, .05);
  }

  .flow-step:not(:last-child)::after,
  .flow-grid::before {
    display: none;
  }

  .flow-no {
    position: absolute;
    top: 22px;
    left: 20px;
    width: 30px;
    height: 30px;
  }

  .flow-step h3 {
    margin-top: 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .flow-step p {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.7;
  }

  .regional {
    padding: 46px 0 50px;
  }

  .regional .section-head,
  .regional-grid {
    width: calc(100% - 48px);
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
  }

  .regional-grid {
    gap: 18px;
  }

  .regional-card {
    border-radius: 4px;
  }

  .regional-card .wp-block-image,
  .regional-card img {
    height: 170px;
  }

  .regional-card h3 {
    min-height: 0;
    font-size: 19px;
    line-height: 1.45;
  }

  .regional-card p {
    min-height: 0;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
  }

  .profile {
    display: block;
    min-height: 0;
    background: #f6f8fa;
  }

  .profile-photo {
    padding: 0;
  }

  .profile-photo img {
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: cover;
    object-position: center 18%;
    box-shadow: none;
  }

  .profile-copy {
    padding: 32px 22px 38px;
  }

  .profile-copy h2 {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.45;
  }

  .profile-copy p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.9;
  }

  .profile-copy .name {
    margin-top: 20px;
    font-size: 22px;
  }

  .faq-grid {
    gap: 8px;
    margin-top: 22px;
  }

  .faq-row {
    min-height: 48px;
    font-size: 13px;
    border-radius: 4px;
  }

  .faq-row summary {
    min-height: 48px;
    padding: 0 16px;
    gap: 10px;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 13px;
    line-height: 1.75;
  }

  .post-panels {
    gap: 18px;
  }

  .post-panel {
    min-height: 0;
    padding: 0 16px 16px;
  }

  .panel-head {
    min-height: 58px;
  }

  .panel-head h3 {
    font-size: 24px;
  }

  .news-row,
  .blog-row {
    display: grid;
    gap: 8px 12px;
    min-height: 0;
    padding: 13px 0;
    font-size: 13px;
  }

  .news-row {
    grid-template-columns: 92px 1fr;
  }

  .blog-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .news-row > span:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .news-row .tag,
  .blog-row .tag {
    grid-column: 2;
    justify-self: start;
  }

  .news-row .tag {
    grid-row: 1;
  }

  .news-row > span:last-child {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .blog-row figure {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
  }

  .blog-row > span:first-of-type {
    grid-column: 2;
    grid-row: 1;
  }

  .blog-row .tag {
    grid-row: 2;
  }

  .blog-row > span:last-child {
    grid-column: 2;
    grid-row: 3;
  }

  .blog-row img {
    width: 72px;
    height: 48px;
  }

  .tag {
    min-width: 64px;
    height: 22px;
    font-size: 10px;
  }

  .contact-map {
    min-height: 0;
    padding: 34px 16px 44px;
  }

  .contact-card,
  .map-image {
    position: static;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .contact-card {
    min-height: 0;
    margin-bottom: 18px;
    padding: 28px 22px 26px;
    border-radius: 6px;
  }

  .contact-card h2 {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.35;
  }

  .contact-card p,
  .contact-card small {
    font-size: 12px;
    line-height: 1.75;
  }

  .contact-row {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 44px;
    font-size: 14px;
  }

  .contact-row span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-actions {
    gap: 12px;
  }

  .contact-btn {
    height: 50px;
    font-size: 14px;
  }

  .map-image,
  .map-embed iframe {
    height: 360px;
    min-height: 360px;
  }

  .cta {
    min-height: 260px;
    padding: 44px 16px;
  }

  .cta h2 {
    font-size: 24px;
    line-height: 1.55;
  }

  .cta-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .cta-actions .btn,
  .cta-actions .wp-block-button.btn {
    width: min(100%, 320px);
    height: 52px;
    font-size: 14px;
  }

  .subpage-hero {
    padding: 42px 18px 34px;
  }

  .subpage-hero h1 {
    font-size: 28px;
    line-height: 1.45;
  }

  .subpage-hero p:not(.section-kicker) {
    font-size: 13px;
  }

  .content-layout {
    display: block;
    width: calc(100% - 32px);
    padding: 30px 0 46px;
  }

  .content-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }

  .single-article,
  .page-article,
  .empty-content,
  .contact-form-panel {
    padding: 24px 18px;
    border-radius: 4px;
  }

  .archive-card {
    display: block;
  }

  .archive-card-media,
  .archive-card-media img {
    min-height: 0;
    height: 190px;
  }

  .archive-card-body {
    padding: 22px 18px;
  }

  .archive-card-title {
    font-size: 22px;
  }

  .single-content,
  .page-article {
    font-size: 14px;
    line-height: 1.9;
  }

  .single-content h2,
  .page-article > h2 {
    font-size: 20px;
    line-height: 1.45;
  }

  .article-toc {
    padding: 20px 18px;
  }

  .share-buttons > div {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    overflow: hidden;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 22px;
    padding-top: 42px;
    padding-bottom: 88px;
  }

  .footer-menu-columns {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-brand {
    padding-top: 0;
  }

  .footer-brand .brand-line {
    gap: 10px;
  }

  .footer-brand b {
    font-size: 20px;
  }

  .footer-brand p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.75;
  }

  .footer-col {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .footer-col h3 {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .footer-col a {
    font-size: 12px;
    line-height: 1.85;
  }

  .footer-contact {
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-left: 0;
  }

  .footer-contact b {
    display: block;
    font-size: clamp(28px, 8vw, 33px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .footer-contact small {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
  }

  .footer-contact .btn {
    width: 100%;
    height: 50px;
    font-size: 13px;
  }

  .copyright {
    right: 16px;
    bottom: 20px;
    left: 16px;
    padding-top: 14px;
    font-size: 11px;
    line-height: 1.6;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }
}

/* Quality brush-up layer: visual polish only, no content changes. */
:root {
  --mo-accent-gold: #b79b5a;
  --mo-accent-gold-soft: rgba(183, 155, 90, .18);
  --mo-surface: #ffffff;
  --mo-surface-soft: #f8fbfd;
  --mo-shadow-refined: 0 18px 44px rgba(17, 41, 79, .095);
  --mo-shadow-refined-hover: 0 24px 58px rgba(17, 41, 79, .145);
  --mo-line-refined: rgba(171, 195, 211, .72);
}

html {
  scroll-behavior: smooth;
}

.section-head {
  position: relative;
}

.section-kicker {
  color: #6f9abb;
  font-weight: 800;
}

.section-title {
  font-weight: 780;
}

.section-lead {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: #58758a;
  font-weight: 650;
}

.site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 253, 255, .96));
}

.brand-link {
  min-height: 100%;
}

.global-nav a {
  border-radius: 2px;
}

.global-nav a:hover {
  background: linear-gradient(180deg, rgba(235, 244, 250, .72), rgba(255, 255, 255, 0));
}

.global-nav .sub-menu {
  border-color: rgba(198, 216, 228, .92);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 22px 46px rgba(17, 41, 79, .16);
}

.header-call {
  position: relative;
  overflow: hidden;
}

.header-call::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 38%),
    linear-gradient(118deg, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, .1) 48%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.header-call :where(p, a) {
  position: relative;
  z-index: 1;
}

.hero {
  background-image:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, rgba(255, 255, 255, .975) 0%, rgba(255, 255, 255, .91) 35%, rgba(255, 255, 255, .3) 62%, rgba(255, 255, 255, .04) 100%),
    url("../images/generated/hero-okinawa-office-wide.jpg");
}

.hero h1 {
  color: #122945;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}

.hero-lead {
  color: #2c4b62;
  font-weight: 750;
}

.btn,
.wp-block-button.btn .wp-block-button__link,
.archive-card-link a,
.contact-btn,
.matsukawa-office-page .wpcf7 .wpcf7-submit {
  transition:
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    color .22s ease,
    transform .22s cubic-bezier(.22, 1, .36, 1);
}

.btn:hover,
.wp-block-button.btn .wp-block-button__link:hover,
.contact-btn:hover,
.matsukawa-office-page .wpcf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
}

.btn-primary:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover,
.matsukawa-office-page .wpcf7 .wpcf7-submit:hover {
  box-shadow: 0 14px 30px rgba(17, 41, 79, .28);
}

.btn-light:hover,
.wp-block-button.btn-light .wp-block-button__link:hover {
  box-shadow: 0 14px 30px rgba(17, 41, 79, .13);
}

.feature-strip,
.problem,
.contact-card,
.footer {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .12);
}

.feature-strip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(112deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(110deg, var(--mo-navy-deep) 0%, var(--mo-navy) 54%, #0c3760 100%);
}

.feature-item::before,
.reason-icon,
.flow-no {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .34),
    0 10px 24px rgba(17, 41, 79, .12);
}

.feature-item strong {
  font-weight: 800;
}

.feature-item span:not(.feature-icon) {
  opacity: .86;
  font-weight: 600;
}

.services,
.reasons,
.price,
.flow,
.info,
.regional {
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 232, 244, .42), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.service-card,
.reason-card,
.price-card,
.regional-card,
.post-panel,
.archive-card,
.single-article,
.page-article,
.empty-content,
.sidebar-widget,
.article-toc,
.share-buttons,
.contact-form-panel {
  border-color: var(--mo-line-refined);
  box-shadow: var(--mo-shadow-refined);
}

.service-card,
.reason-card,
.price-card,
.regional-card,
.post-panel,
.archive-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(252, 254, 255, .96));
}

.service-card::before,
.reason-card::after,
.price-card::before,
.post-panel::before,
.archive-card::before {
  background: linear-gradient(90deg, var(--mo-navy), #2d628e 70%, var(--mo-accent-gold));
}

.service-card {
  position: relative;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  content: "";
  opacity: .88;
}

.service-card img,
.regional-card img,
.archive-card-media img,
.blog-row img {
  filter: saturate(1.03) contrast(1.035);
}

.service-card h3,
.regional-card h3,
.archive-card-title {
  color: #142d4a;
  font-weight: 740;
}

.service-card p,
.reason-card p,
.regional-card p,
.archive-card-excerpt {
  color: #526b7e;
  font-weight: 620;
}

.reason-card {
  overflow: hidden;
}

.reason-card::after {
  opacity: .72;
}

.problem {
  background-image:
    linear-gradient(90deg, rgba(12, 28, 54, .92), rgba(17, 41, 79, .82)),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 28%),
    url("../images/generated/problem-construction-wide.jpg");
}

.problem-card {
  border-color: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 54px rgba(0, 25, 50, .22);
}

.check-list li {
  font-weight: 720;
}

.price-card {
  background:
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.price-card b {
  color: #0e3e70;
}

.flow-step {
  position: relative;
}

.flow-step h3 {
  color: #142d4a;
  font-weight: 740;
}

.flow-step p {
  color: #526b7e;
  font-weight: 620;
}

.profile {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #dce8f1;
  border-bottom: 1px solid #dce8f1;
  background:
    radial-gradient(circle at 86% 18%, rgba(219, 236, 247, .72), rgba(246, 248, 250, 0) 34%),
    linear-gradient(90deg, #f5f8fb 0%, #fff 48%, #f7fafc 100%);
}

.profile::after {
  position: absolute;
  top: 12%;
  right: 5%;
  width: 180px;
  height: 180px;
  content: "";
  background: radial-gradient(circle, rgba(183, 155, 90, .09), rgba(183, 155, 90, 0) 68%);
  pointer-events: none;
}

.profile-photo img {
  box-shadow: var(--mo-shadow-refined);
}

.profile-copy {
  position: relative;
}

.profile-copy::before {
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 22px;
  content: "";
  background: linear-gradient(90deg, var(--mo-navy), var(--mo-accent-gold));
}

.profile-copy h2 {
  color: #142d4a;
}

.profile-copy p {
  color: #344f62;
  font-weight: 620;
}

.faq-row {
  background:
    linear-gradient(180deg, #fff, #fbfdff);
}

.faq-row summary {
  font-weight: 720;
}

.post-panel {
  position: relative;
  overflow: hidden;
}

.post-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  opacity: .72;
}

.panel-head h3,
.sidebar-widget-title {
  font-weight: 720;
}

.news-row,
.blog-row {
  font-weight: 620;
}

.tag {
  color: #115d93;
  background: linear-gradient(180deg, #e2f2fd, #d5eafa);
  border: 1px solid rgba(160, 200, 226, .72);
}

.contact-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, var(--mo-navy) 0%, #0f4775 100%);
  box-shadow: 0 26px 60px rgba(0, 45, 85, .28);
}

.map-image,
.map-embed {
  box-shadow: 0 22px 52px rgba(17, 41, 79, .12);
}

.cta {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .52)),
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 24%),
    url("../images/generated/cta-okinawa-sea-bridge-wide.jpg");
}

.cta h2 {
  color: #123252;
}

.footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 36%),
    linear-gradient(112deg, var(--mo-navy-deep) 0%, var(--mo-navy) 58%, #0b355c 100%);
}

.footer-col h3::after {
  display: block;
  width: 24px;
  height: 1px;
  margin-top: 10px;
  content: "";
  background: rgba(183, 155, 90, .78);
}

.footer-contact .btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .78);
}

.archive-card-link a {
  color: #123252;
}

.archive-card-link a:hover {
  color: #fff;
  background: var(--mo-navy);
  border-color: var(--mo-navy);
}

.service-card-link {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-card-link:hover {
  color: inherit;
}

.service-card-more {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45em;
  margin: 0 26px 24px auto;
  color: var(--mo-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.service-card-more::after {
  content: "→";
  color: var(--mo-accent-gold);
  font-size: 14px;
  transform: translateY(-1px);
  transition: transform .2s ease;
}

.service-card:hover .service-card-more::after {
  transform: translate(3px, -1px);
}

.profile-career {
  margin-top: 20px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(247, 251, 253, .86));
  border: 1px solid rgba(177, 202, 219, .82);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(17, 41, 79, .07);
}

.profile-career h3 {
  margin: 0 0 12px;
  color: var(--mo-navy);
  font-size: 18px;
  line-height: 1.5;
}

.profile-career ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-career li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.profile-career li span {
  color: #6f8aa0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.profile-career li b {
  color: #263f54;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .reason-card:hover,
  .price-card:hover,
  .regional-card:hover,
  .post-panel:hover,
  .archive-card:hover,
  .sidebar-widget:hover {
    border-color: #b8cfdc;
    box-shadow: var(--mo-shadow-refined-hover);
  }

  .archive-card:hover .archive-card-media img {
    transform: scale(1.055);
  }
}

@media (min-width: 721px) {
  .site-header {
    box-shadow: 0 1px 0 rgba(0, 56, 102, .08), 0 12px 34px rgba(17, 41, 79, .045);
  }

  .global-nav a {
    font-size: clamp(9.5px, .68vw, 11.5px);
  }

  .global-nav small,
  .global-nav .menu-en {
    font-size: clamp(5.8px, .43vw, 6.8px);
  }

  .hero {
    min-height: clamp(560px, 46vw, 650px);
  }

  .services,
  .reasons,
  .price,
  .flow,
  .info {
    padding-top: clamp(64px, 5.3vw, 84px);
    padding-bottom: clamp(72px, 5.8vw, 92px);
  }

  .service-grid,
  .reason-grid,
  .regional-grid,
  .faq-grid,
  .post-panels {
    margin-top: clamp(36px, 3vw, 48px);
  }

  .service-card img {
    height: 164px;
  }

  .service-card-body {
    padding: 24px 26px 28px;
  }

  .service-card-link .service-card-body {
    padding-bottom: 18px;
  }

  .reason-card {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .problem {
    padding-top: clamp(78px, 6vw, 96px);
    padding-bottom: clamp(78px, 6vw, 96px);
  }

  .problem-board {
    margin-top: 40px;
  }

  .price-card {
    min-height: 112px;
  }

  .profile {
    grid-template-columns:
      minmax(36px, 1fr)
      minmax(430px, 520px)
      minmax(520px, 640px)
      minmax(36px, 1fr);
    column-gap: clamp(36px, 5vw, 76px);
  }

  .profile-copy {
    max-width: 620px;
    padding-right: clamp(34px, 4.5vw, 72px);
    padding-left: clamp(34px, 4.5vw, 72px);
  }

  .profile-copy p {
    line-height: 2.05;
  }

  .contact-map {
    min-height: 456px;
  }

  .contact-card {
    min-height: 346px;
  }

  .map-image {
    height: 350px;
  }

  .cta {
    min-height: 268px;
  }
}

@media (min-width: 1025px) and (max-width: 1380px) {
  .site-header .global-nav a {
    font-size: 10px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 0;
  }

  .matsukawa-office-page {
    background: #fff;
  }

  .site-header {
    box-shadow: 0 1px 0 rgba(0, 56, 102, .08), 0 8px 24px rgba(17, 41, 79, .05);
  }

  .brand-link {
    min-height: 58px;
  }

  .hero {
    min-height: 420px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 46%, rgba(255, 255, 255, .28) 100%),
      url("../images/generated/hero-okinawa-office-wide.jpg");
    background-position: 62% center;
  }

  .hero-copy {
    padding: 44px 22px 38px;
  }

  .hero h1 {
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.42;
  }

  .hero-lead {
    width: auto;
    margin-top: 18px;
    font-size: 13px;
  }

  .feature-grid {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .services,
  .reasons,
  .price,
  .flow,
  .info,
  .regional {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .section-title {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.45;
  }

  .section-lead {
    font-size: 13px;
    line-height: 1.9;
  }

  .service-grid,
  .related-service-list,
  .reason-grid,
  .price-grid,
  .flow-grid,
  .faq-grid,
  .post-panels,
  .regional .section-head,
  .regional-grid {
    width: calc(100% - 36px);
  }

  .regional-grid {
    margin-right: auto;
    margin-left: auto;
  }

  .service-card,
  .regional-card,
  .reason-card,
  .price-card,
  .post-panel,
  .archive-card,
  .single-article,
  .page-article,
  .sidebar-widget {
    border-radius: 6px;
  }

  .service-card img,
  .regional-card .wp-block-image,
  .regional-card img {
    height: 210px;
  }

  .service-card-body,
  .regional-card .regional-card-body,
  .regional-card > div:not(.wp-block-image) {
    padding: 24px 22px 28px;
  }

  .service-card-link .service-card-body {
    padding-bottom: 16px;
  }

  .service-card-more {
    margin: 0 22px 24px auto;
    font-size: 13px;
  }

  .problem {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .problem-card {
    border-radius: 6px;
  }

  .profile {
    display: block;
    padding: 42px 18px 48px;
  }

  .profile-photo {
    max-width: 520px;
    margin: 0 auto;
  }

  .profile-photo img {
    border-radius: 6px;
  }

  .profile-copy {
    max-width: 520px;
    margin: 28px auto 0;
    padding: 0;
  }

  .profile-career {
    padding: 16px 17px;
  }

  .profile-career li {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
  }

  .profile-copy::before {
    margin-bottom: 18px;
  }

  .contact-map {
    padding: 32px 18px 0;
  }

  .contact-card {
    border-radius: 6px;
  }

  .cta {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .footer-inner {
    width: calc(100% - 36px);
  }
}

/* Google Map refinement: keep the real map clear and usable. */
.map-image.map-embed {
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(246, 250, 253, .54), rgba(232, 240, 246, .54)),
    url("../images/map.png") center / cover no-repeat #e8f0f6;
}

.map-embed .map-frame,
.map-image.map-embed > iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  background: #e8f0f6;
  filter: none;
  opacity: 1;
}

.map-open-link {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--mo-navy);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(178, 203, 220, .9);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(17, 41, 79, .13);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.map-open-link::before {
  width: 1em;
  height: 1em;
  margin-right: .48em;
  content: "";
  background: currentColor;
  mask: url("../images/icons/feature-pin.svg") center / contain no-repeat;
  -webkit-mask: url("../images/icons/feature-pin.svg") center / contain no-repeat;
}

.map-open-link:hover {
  color: #fff;
  background: var(--mo-navy);
  border-color: var(--mo-navy);
  box-shadow: 0 14px 30px rgba(17, 41, 79, .22);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .map-open-link {
    top: 12px;
    right: 12px;
    min-height: 36px;
    padding: 0 13px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .map-image.map-embed {
    position: relative;
  }
}

/* Editor-safe responsive utilities and reusable block patterns. */
.mo-sp-only {
  display: none !important;
}

.mo-pc-only {
  display: inline !important;
}

.mo-keep {
  white-space: nowrap;
}

.mo-responsive-heading,
.is-style-mo-responsive-heading {
  text-wrap: balance;
  overflow-wrap: anywhere;
  line-break: strict;
}

.matsukawa-office-page :where(h1, h2, h3, h4, p, li, a, span, button, .btn, .wp-block-button__link) {
  min-width: 0;
}

.matsukawa-office-page :where(.hero h1, .section-title, .regional-title, .subpage-hero h1, .archive-card-title, .single-content h2, .page-article h2, .mo-responsive-heading) {
  overflow-wrap: anywhere;
  line-break: strict;
}

.wp-block-group.is-style-mo-trust-panel,
.mo-pattern-card,
.mo-pattern-trust-strip,
.mo-pattern-cta,
.mo-pattern-faq details {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(251, 254, 255, .98));
  border: 1px solid rgba(177, 202, 219, .82);
  border-radius: var(--mo-card-radius-setting, 4px);
  box-shadow: var(--mo-card-shadow-setting, 0 18px 44px rgba(17, 41, 79, .095));
}

.mo-pattern-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.mo-pattern-trust-strip p,
.mo-pattern-card p,
.mo-pattern-cta p {
  margin: 0;
  color: #526b7e;
  font-size: 14px;
  font-weight: 520;
  line-height: 1.9;
}

.mo-pattern-trust-strip strong,
.mo-pattern-card h3 {
  color: var(--mo-navy);
}

.mo-pattern-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mo-pattern-card {
  padding: 22px;
}

.mo-pattern-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.5;
}

.mo-pattern-cta {
  padding: clamp(30px, 5vw, 58px) 24px;
  text-align: center;
}

.mo-pattern-cta h2 {
  margin: 0;
  color: var(--mo-navy);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.45;
}

.mo-pattern-cta .wp-block-buttons {
  margin-top: 22px;
}

.mo-pattern-faq {
  display: grid;
  gap: 10px;
}

.mo-pattern-faq details {
  padding: 16px 18px;
}

.mo-pattern-faq summary {
  cursor: pointer;
  color: var(--mo-navy);
  font-weight: 750;
}

.mo-pattern-faq details p {
  margin: 12px 0 0;
  color: #526b7e;
  line-height: 1.9;
}

@media (max-width: 720px) {
  .mo-sp-only {
    display: inline !important;
  }

  .mo-pc-only {
    display: none !important;
  }

  .mo-keep {
    white-space: normal;
  }

  .matsukawa-office-page :where(.btn, .wp-block-button__link, .contact-btn, .archive-card-link a, .mobile-phone-cta) {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .matsukawa-office-page :where(.hero h1, .section-title, .regional-title, .subpage-hero h1, .archive-card-title, .single-content h2, .page-article h2, .mo-responsive-heading) {
    word-break: auto-phrase;
  }

  .mo-pattern-trust-strip,
  .mo-pattern-card-grid {
    grid-template-columns: 1fr;
  }

  .mo-pattern-trust-strip,
  .mo-pattern-card,
  .mo-pattern-cta {
    padding: 20px 18px;
  }
}

/* Trust refinement: credentials and reassurance should feel official, not decorative. */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: min(100%, 420px);
  margin-top: 14px;
}

.hero-trust span,
.profile-credentials span,
.contact-assurance span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #123252;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 251, 253, .9));
  border: 1px solid rgba(177, 202, 219, .78);
  box-shadow: 0 8px 20px rgba(17, 41, 79, .07);
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-trust span {
  min-height: 24px;
  padding: 0 10px 0 25px;
  border-radius: 999px;
  font-size: 10px;
}

.hero-trust span::before,
.contact-assurance span::before {
  position: absolute;
  left: 9px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--mo-accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(183, 155, 90, .15);
}

.profile-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.profile-credentials span {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.55;
}

.profile-credentials b {
  display: block;
  margin-bottom: 3px;
  color: #6f8aa0;
  font-size: 10px;
  font-weight: 800;
}

.contact-assurance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 8px 0 11px;
}

.contact-assurance span {
  min-height: 26px;
  padding: 0 10px 0 27px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: none;
  font-size: 10px;
}

.contact-assurance span::before {
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .13);
}

.cta-sub {
  max-width: 620px;
  margin: 12px auto 0;
  color: #36566d;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.85;
}

.price-note,
.legacy-note {
  border-left: 3px solid rgba(183, 155, 90, .72);
}

.contact-form-panel,
.page-article,
.single-article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(251, 254, 255, .98));
}

.matsukawa-office-page .wpcf7 .form-privacy,
.single-content blockquote,
.article-toc {
  border-color: rgba(177, 202, 219, .82);
}

@media (min-width: 721px) {
  .hero-trust {
    margin-top: 22px;
  }

  .hero-trust span {
    min-height: 30px;
    padding-right: 13px;
    padding-left: 30px;
    font-size: 12px;
  }

  .hero-trust span::before {
    left: 11px;
    width: 10px;
    height: 10px;
  }

  .contact-assurance span {
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .hero-trust {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-trust span {
    min-height: 30px;
    padding-right: 12px;
    padding-left: 30px;
    font-size: 12px;
    white-space: normal;
  }

  .profile-credentials {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .profile-credentials span {
    min-height: 54px;
    font-size: 13px;
  }

  .contact-assurance {
    margin-top: 14px;
    margin-bottom: 16px;
  }

  .contact-assurance span {
    min-height: 38px;
    padding-left: 34px;
    font-size: 13px;
    line-height: 1.45;
  }

  .contact-assurance span::before {
    left: 13px;
  }

  .cta-sub {
    width: min(100% - 36px, 520px);
    font-size: 13px;
  }
}

/* Contact form refinement: compact required badges beside labels. */
.matsukawa-office-page .wpcf7 p > label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 8px;
}

.matsukawa-office-page .wpcf7 p > label > .wpcf7-form-control-wrap {
  flex: 0 0 100%;
  margin-top: 3px;
}

.matsukawa-office-page .wpcf7 .required,
.matsukawa-office-page .wpcf7 .is-required {
  flex: 0 0 auto;
  width: auto;
  max-width: max-content;
  min-width: 0;
  min-height: 18px;
  margin: 0;
  padding: 0 8px;
  align-self: center;
  justify-self: start;
  color: #fff;
  background: linear-gradient(135deg, var(--mo-navy), #17436e);
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(17, 41, 79, .12);
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: 0;
  white-space: nowrap;
}

.matsukawa-office-page .wpcf7 .form-privacy {
  color: #405b70;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}

.matsukawa-office-page .wpcf7 .form-privacy .wpcf7-list-item label {
  align-items: flex-start;
}

/* Client supplied Okinawa visuals. */
.hero {
  background-color: #edf7fd;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #edf7fd;
  pointer-events: none;
}

.hero-slides::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 29%),
    linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 35%, rgba(255, 255, 255, .34) 62%, rgba(255, 255, 255, .05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(230, 244, 252, .25) 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  animation: moHeroSlideshow 21s infinite;
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
  background-position: center;
}

.hero-slide:nth-child(2) {
  animation-delay: 7s;
  background-position: 56% center;
}

.hero-slide:nth-child(3) {
  animation-delay: 14s;
  background-position: center;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}

@keyframes moHeroSlideshow {
  0%,
  31% {
    opacity: 1;
    transform: scale(1.025);
  }

  39%,
  92% {
    opacity: 0;
    transform: scale(1.06);
  }

  100% {
    opacity: 1;
    transform: scale(1.025);
  }
}

.cta {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58)),
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .74), rgba(255, 255, 255, 0) 25%),
    url("../images/client/cta-sea-leaves.webp");
  background-position: center 55%;
  background-size: cover;
}

.footer {
  background:
    linear-gradient(180deg, rgba(6, 20, 42, .93), rgba(6, 20, 42, .96)),
    linear-gradient(112deg, rgba(6, 19, 39, .96) 0%, rgba(17, 41, 79, .9) 58%, rgba(8, 33, 59, .96) 100%),
    url("../images/client/sea-sunset.webp") center 58% / cover no-repeat;
}

@media (max-width: 720px) {
  .hero-slides::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .89) 48%, rgba(255, 255, 255, .28) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 82%);
  }

  .hero-slide:nth-child(1) {
    background-position: 62% center;
  }

  .hero-slide:nth-child(2) {
    background-position: 45% center;
  }

  .hero-slide:nth-child(3) {
    background-position: 60% center;
  }

  .cta {
    background-position: 50% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

/* Mobile hardening: staging-safe fixes for contact, FAQ, map, pricing and CTA. */
.mobile-sticky-cta {
  display: none;
}

.mobile-phone-cta span {
  background: #fff;
}

.contact-card h2,
.contact-card :where(p, small, .contact-row, .contact-row span, .contact-assurance, .contact-assurance span) {
  color: rgba(255, 255, 255, .94);
}

.contact-card .contact-row span:first-child {
  color: rgba(255, 255, 255, .82);
}

.contact-card .contact-row span:last-child {
  color: #fff;
}

.faq-row[open] .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

.back-top {
  color: #fff;
  background: var(--mo-navy);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: 0 10px 24px rgba(17, 41, 79, .24);
}

.back-top:hover,
.back-top:focus-visible {
  color: #fff;
  background: #0e3e69;
}

@media (max-width: 720px) {
  body.matsukawa-office-theme {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .problem-arrow {
    transform: rotate(90deg) !important;
  }

  .price-note {
    margin-top: 12px;
    padding: 0 12px 0 14px;
    font-size: 12px;
    line-height: 1.75;
    text-align: left;
  }

  .contact-map {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-card {
    width: 100%;
    max-width: 100%;
  }

  .contact-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .contact-row span:last-child {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .map-image.map-embed {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    height: 320px;
    min-height: 320px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .map-embed .map-frame,
  .map-image.map-embed > iframe {
    width: 100%;
    max-width: 100%;
    height: 320px;
    min-height: 320px;
  }

  .back-top {
    position: fixed;
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 91;
    width: 40px;
    height: 40px;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(178, 203, 220, .82);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(17, 41, 79, .24);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky-cta__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }

  .mobile-sticky-cta__item:hover,
  .mobile-sticky-cta__item:focus-visible {
    transform: translateY(-1px);
  }

  .mobile-sticky-cta__item span {
    width: 17px;
    height: 17px;
    background: currentColor;
  }

  .mobile-sticky-cta__item--phone {
    color: #fff !important;
    background: var(--mo-navy);
    box-shadow: 0 8px 18px rgba(17, 41, 79, .18);
  }

  .mobile-sticky-cta__item--phone span {
    mask: url("../images/icons/icon-phone.svg") center / contain no-repeat;
    -webkit-mask: url("../images/icons/icon-phone.svg") center / contain no-repeat;
  }

  .mobile-sticky-cta__item--mail {
    color: #11294f !important;
    background: #fff !important;
    border: 1px solid rgba(178, 203, 220, .92);
  }

  .footer .mobile-sticky-cta__item--mail,
  .footer .mobile-sticky-cta__item--mail:visited,
  .footer .mobile-sticky-cta__item--mail:hover,
  .footer .mobile-sticky-cta__item--mail:focus-visible {
    color: #11294f !important;
  }

  .footer .mobile-sticky-cta__item--phone,
  .footer .mobile-sticky-cta__item--phone:visited,
  .footer .mobile-sticky-cta__item--phone:hover,
  .footer .mobile-sticky-cta__item--phone:focus-visible {
    color: #fff !important;
  }

  .mobile-sticky-cta__item--mail span {
    mask: url("../images/icons/icon-mail.svg") center / contain no-repeat;
    -webkit-mask: url("../images/icons/icon-mail.svg") center / contain no-repeat;
  }
}

@media (max-width: 420px) {
  .mobile-sticky-cta__item {
    min-height: 46px;
    font-size: 13px;
  }

  .map-image.map-embed,
  .map-embed .map-frame,
  .map-image.map-embed > iframe {
    height: 300px;
    min-height: 300px;
  }
}

/* Service card layout choices from the top page editor. */
@media (min-width: 1025px) {
  .service-grid[class*="service-grid-desktop-"] .service-card .wp-block-image {
    display: block;
    width: 100%;
    height: var(--mo-service-card-image-height, 164px);
    min-height: var(--mo-service-card-image-height, 164px);
    margin: 0;
    overflow: hidden;
  }

  .service-grid[class*="service-grid-desktop-"] .service-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }

  .service-grid.service-grid-desktop-4 {
    --mo-service-card-image-height: 140px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: min(1160px, calc(100% - 72px));
  }

  .service-grid.service-grid-desktop-3 {
    --mo-service-card-image-height: 150px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: min(1080px, calc(100% - 72px));
  }

  .service-grid.service-grid-desktop-2 {
    --mo-service-card-image-height: 190px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: min(920px, calc(100% - 72px));
  }

  .service-grid.service-grid-desktop-4 .service-card-body {
    padding: 20px 20px 18px;
  }

  .service-grid.service-grid-desktop-4 .service-card h3 {
    font-size: 18px;
    line-height: 1.45;
  }

  .service-grid.service-grid-desktop-4 .service-card p {
    font-size: 11.5px;
    line-height: 1.75;
  }

  .service-grid.service-grid-desktop-4 .service-card-more {
    margin: 0 20px 22px auto;
    font-size: 12px;
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .service-grid.service-grid-tablet-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 56px);
    gap: 20px;
  }

  .service-grid.service-grid-tablet-1 {
    grid-template-columns: 1fr;
    width: min(620px, calc(100% - 56px));
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .service-grid.service-grid-mobile-1 {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 16px;
  }

  .service-grid.service-grid-mobile-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 28px);
    gap: 12px;
  }

  .service-grid.service-grid-mobile-2 .service-card img,
  .service-grid.service-grid-mobile-2 .service-card .wp-block-image {
    height: 112px;
  }

  .service-grid.service-grid-mobile-2 .service-card-body {
    padding: 14px 12px 14px;
  }

  .service-grid.service-grid-mobile-2 .service-card h3 {
    font-size: 16px;
    line-height: 1.45;
  }

  .service-grid.service-grid-mobile-2 .service-card p {
    font-size: 11px;
    line-height: 1.65;
  }

  .service-grid.service-grid-mobile-2 .service-card-more {
    margin: 0 12px 16px auto;
    font-size: 11px;
  }
}

/* Subpage background image setting. */
.matsukawa-content-page.has-page-background {
  position: relative;
  isolation: isolate;
  background: #f6f9fc;
}

.matsukawa-content-page.has-page-background > :not(.page-background-slides) {
  position: relative;
  z-index: 1;
}

.page-background-slides {
  position: absolute;
  z-index: 0;
  inset: 96px 0 0;
  overflow: hidden;
  pointer-events: none;
  background: #f6f9fc;
}

.page-background-slides span {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(246, 249, 252, .92), rgba(246, 249, 252, .94)),
    var(--mo-page-bg-slide);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  animation: mo-page-bg-crossfade var(--mo-page-bg-duration, 28s) linear infinite;
  animation-delay: var(--mo-page-bg-delay, 0s);
}

.page-background-slides span:first-child {
  opacity: 1;
}

@keyframes mo-page-bg-crossfade {
  0%,
  8% {
    opacity: 1;
  }

  33% {
    opacity: .18;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.matsukawa-content-page.has-page-background .content-page-main {
  background-color: #f6f9fc;
  background-image: linear-gradient(180deg, rgba(246, 249, 252, .76), rgba(246, 249, 252, .9));
}

.matsukawa-content-page.has-page-background .subpage-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(246, 249, 252, .94)),
    var(--mo-page-bg-image);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: auto, cover;
}

.matsukawa-content-page.has-page-background .page-article,
.matsukawa-content-page.has-page-background .sidebar-widget {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(251, 254, 255, .96));
  backdrop-filter: blur(1.5px);
}

@media (max-width: 720px) {
  .page-background-slides {
    top: 74px;
  }

  .page-background-slides span {
    background-size: auto 680px;
    animation: none;
  }

  .page-background-slides span:not(:first-child) {
    display: none;
  }

  .matsukawa-content-page.has-page-background .content-page-main {
    background-image: linear-gradient(180deg, rgba(246, 249, 252, .92), rgba(246, 249, 252, .96));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-background-slides span {
    animation: none;
  }

  .page-background-slides span:not(:first-child) {
    display: none;
  }
}

@media (min-width: 721px) {
  .site-header {
    position: relative;
    z-index: 2000;
    overflow: visible !important;
  }

  .site-header .global-nav,
  .site-header .global-nav-list,
  .site-header .menu-item {
    overflow: visible !important;
  }

  .site-header .global-nav .sub-menu {
    z-index: 2100 !important;
    pointer-events: none;
  }

  .site-header .global-nav .menu-item-has-children:hover > .sub-menu,
  .site-header .global-nav .menu-item-has-children:focus-within > .sub-menu,
  .site-header .global-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }

  .site-header .header-call {
    z-index: 2050 !important;
    align-self: start !important;
    margin-bottom: -20px !important;
  }

  .content-page-main,
  .subpage-hero {
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 1381px) {
  .site-header {
    height: 72px !important;
    min-height: 72px !important;
    align-items: stretch !important;
  }

  .site-header .header-call {
    height: 92px !important;
    min-height: 92px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1380px) {
  .site-header {
    height: 124px !important;
    min-height: 124px !important;
    overflow: visible !important;
  }

  .site-header .header-call {
    height: 144px !important;
    min-height: 144px !important;
    margin-bottom: -20px !important;
  }
}

@media (min-width: 721px) {
  .matsukawa-content-page.has-page-background > .site-header {
    z-index: 3000 !important;
    overflow: visible !important;
  }

  .matsukawa-content-page.has-page-background > .site-header .header-call {
    z-index: 3050 !important;
  }

  .matsukawa-content-page.has-page-background > .site-header .global-nav .sub-menu {
    z-index: 3100 !important;
  }

  .matsukawa-content-page.has-page-background > .content-page-main,
  .matsukawa-content-page.has-page-background > .footer {
    z-index: 1 !important;
  }
}
