/* ==========================================================================
   Meihou Theme — common.css
   PC first (1280 design)
   ========================================================================== */

:root {
  --color-navy: #130f3f;
  --color-navy-deep: #04002c;
  --color-navy-mid: #261f76;
  --color-blue: #01397f;
  --color-blue-accent: #053795;
  --color-blue-geo: #00397f;
  --color-purple: #211948;
  --color-dark: #000c26;
  --color-text: #333333;
  --color-text-soft: #2e2e2e;
  --color-muted: #808080;
  --color-line: #cccccc;
  --color-bg-soft: #f4f8fc;
  --color-white: #ffffff;
  --color-black: #121212;
  --color-yellow: #ffeb00;
  --color-teal: #0c8887;
  --color-plan-navy: #0f2e72;
  /* Button (XD: 40h / rx20 / gradient #04002c→#261f76) */
  --btn-height: 40px;
  --btn-radius: 20px;
  --btn-gradient: linear-gradient(90deg, #04002c 0%, #261f76 100%);
  --btn-letter-spacing: 0.1em;

  /* 基本ゴシック = 游ゴシック（明朝は --font-serif のまま） */
  --font-sans: "Yu Gothic", "YuGothic", "游ゴシック", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;

  --width-page: 1280px;
  --width-content: 1080px;
  --side: 100px;
  --header-h: 100px;
  --bp-tablet: 1024px;
  --bp-sp: 767px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  background: var(--color-white);
  min-width: 0;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

.l-main {
  overflow: hidden;
}

.l-container {
  width: var(--width-page);
  margin: 0 auto;
  padding: 80px var(--side);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.l-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 30px 0 0;
}

.l-header__inner {
  display: flex;
  align-items: center;
  width: var(--width-page);
  margin: 0 auto;
  padding: 0 39px 0 39px;
  gap: 40px;
}

.l-header__logo {
  display: block;
  flex-shrink: 0;
  width: 280px;
}

.l-header__logo img {
  display: block;
  width: 280px;
  height: auto;
}

.l-header__nav {
  margin-left: auto;
}

.l-header__nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 40px;
  padding: 0 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 4px 16px rgba(19, 15, 63, 0.12);
}

.l-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.l-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.l-header__nav-link:hover::after,
.l-header__nav-link.is-current::after {
  transform: scaleX(1);
}

.l-header__nav-link:hover {
  opacity: 1;
}

/* .l-header__nav-link.is-current {
  color: var(--color-blue-accent);
  font-weight: 400;
  opacity: 1;
} */

.l-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.l-header__contact.c-btn {
  position: relative;
  z-index: 0;
  overflow: hidden;
  /* デザイン: ナビより小さい角丸 / 文字は Bold */
  min-width: 0;
  padding-inline: 18px;
  white-space: nowrap;
  border: none;
  border-radius: 8px;
  background: var(--btn-gradient);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(4, 0, 44, 0.22);
}

.l-header__contact.c-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-blue);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.l-header__contact.c-btn:hover {
  background-color: var(--color-navy-deep);
  background-image: var(--btn-gradient);
  color: var(--color-white);
}

.l-header__contact.c-btn:hover::before {
  opacity: 1;
}

.l-header__more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  box-shadow: 0 4px 14px rgba(19, 15, 63, 0.12);
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.l-header__more-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #000;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease, top 0.3s ease, background 0.3s ease;
}

body.is-menu-open .l-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  width: 100%;
}

body.is-menu-open .l-header__nav,
body.is-menu-open .l-header__contact {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-menu-open .l-header__more {
  z-index: 111;
  background: var(--color-navy);
  box-shadow: none;
}

body.is-menu-open .l-header__more-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 1.5px;
  margin: 0;
  border-radius: 1px;
  background: var(--color-white);
}

body.is-menu-open .l-header__more-dot:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.is-menu-open .l-header__more-dot:nth-child(2) {
  opacity: 0;
}

body.is-menu-open .l-header__more-dot:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Global menu (PC overlay / SP without left visual)
   -------------------------------------------------------------------------- */

.l-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  background: var(--color-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.l-menu[hidden] {
  display: none !important;
}

.l-menu.is-open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.l-menu__inner {
  display: flex;
  align-items: flex-start;
  gap: 96px;
  width: var(--width-page);
  margin: 0 auto;
  padding: 98px 39px 42px;
  box-sizing: border-box;
}

.l-menu__media {
  flex-shrink: 0;
  width: 600px;
  height: 660px;
  overflow: hidden;
  background: #e8eef5;
  border-radius: 10px;
}

.l-menu__media img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.l-menu__body {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 450px;
}

.l-menu__audience {
  display: grid;
  gap: 30px;
}

.l-menu__audience-card {
  position: relative;
  display: block;
  height: 80px;
  overflow: visible;
  border-radius: 5px;
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(19, 15, 63, 0.12);
}

.l-menu__audience-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.l-menu__audience-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 0 20px;
}

.l-menu__audience-title {
  flex-shrink: 0;
  color: var(--color-white);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.62), 0 1px 4px rgba(0, 0, 0, 0.42);
}

.l-menu__audience-card .c-btn {
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(4, 0, 44, 0.22);
}

.l-menu__audience-card:hover .c-btn--primary {
  background-color: var(--color-white);
  background-image: none;
  color: var(--color-blue-accent);
  box-shadow: 0 4px 14px rgba(4, 0, 44, 0.22), inset 0 0 0 1px var(--color-blue-accent);
}

.l-menu__nav {
  margin-top: 56px;
}

.l-menu__list {
  display: grid;
  grid-template-columns: 200px 200px;
  column-gap: 50px;
}

.l-menu__link {
  display: flex;
  align-items: center;
  height: 60px;
  border-bottom: 1px solid var(--color-line);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.l-menu__link:hover {
  color: var(--color-blue-accent);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.l-footer {
  background: var(--color-navy-deep);
  color: var(--color-white);
}

.l-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: var(--width-page);
  margin: 0 auto;
  padding: 100px 40px 60px;
}

.l-footer__brand {
  flex-shrink: 0;
  width: 298px;
}

.l-footer__logo {
  display: block;
  margin-bottom: 46px;
}

.l-footer__logo img {
  display: block;
  width: 298px;
  height: auto;
}

.l-footer__address,
.l-footer__tel {
  font-size: 14px;
  line-height: 1.8;
}

.l-footer__tel {
  margin-top: 24px;
}

.l-footer__tel a {
  color: inherit;
  text-decoration: none;
}

.l-footer__tel a:hover {
  text-decoration: underline;
}

.l-footer__nav-wrap {
  flex: 1;
  max-width: 700px;
}

.l-footer__audience {
  /* 下線のみ＋縦線4本（2行コンテンツ高さ）。上線なし */
  --footer-rule: #2e2d39;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--footer-rule);
}

.l-footer__audience-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 12px 16px;
  color: inherit;
  text-decoration: none;
}

.l-footer__audience-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 0 20px;
  border-radius: 8px;
  color: inherit;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.l-footer__audience-item:hover .l-footer__audience-inner {
  background: var(--color-white);
  color: var(--color-navy-deep);
}

/* 左端・列間の縦線（タイトル＋リンクの2行分） */
.l-footer__audience-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px; /* padding-top 分を除く */
  bottom: 32px; /* padding-bottom 分を除き、2行コンテンツ高さに合わせる */
  width: 1px;
  background: var(--footer-rule);
}

/* 右端の縦線 */
.l-footer__audience-item:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: var(--footer-rule);
}

.l-footer__audience-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.l-footer__audience-link {
  font-size: 14px;
  line-height: 1.4;
}

.l-footer__util-btn .c-icon-external,
.l-footer__audience-title .c-icon-external {
  filter: brightness(0) invert(1);
}

.l-footer__audience-item:hover .c-icon-external,
.l-footer__util-btn:hover .c-icon-external {
  filter: none;
}

.l-footer__sitemap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
  margin-top: 40px;
  font-size: 14px;
}

.l-footer__sitemap a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  transition: opacity 0.3s ease;
}

.l-footer__sitemap a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.l-footer__sitemap a:hover {
  opacity: 1;
}

.l-footer__sitemap a:hover::after {
  transform: scaleX(1);
}

.l-footer__utils {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.l-footer__util-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 220px;
  width: auto;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-white);
  /* ピルではなく控えめな角丸（デザイン準拠） */
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--btn-letter-spacing);
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.l-footer__util-btn:hover {
  background: var(--color-white);
  color: var(--color-navy-deep);
}

.l-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--width-page);
  margin: 0 auto;
  padding: 24px 40px 40px;
}

.l-footer__copy {
  font-size: 10px;
}

.l-footer__legal {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.l-footer__legal a {
  transition: opacity 0.2s;
}

.l-footer__legal a:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Buttons — unified from XD SVG (40× / rx20 / navy gradient)
   -------------------------------------------------------------------------- */

.c-icon-external {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  height: var(--btn-height);
  min-height: var(--btn-height);
  padding: 0 22px;
  border: none;
  border-radius: var(--btn-radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--btn-letter-spacing);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.c-btn:hover:not(.c-btn--primary):not(.c-btn--navy) {
  opacity: 0.88;
}

.c-btn__arrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: var(--btn-letter-spacing);
  line-height: 1;
}

/* Default / primary fill */
.c-btn--primary,
.c-btn--navy {
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.c-btn--primary {
  background-color: var(--color-navy-deep);
  background-image: var(--btn-gradient);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 14px rgba(4, 0, 44, 0.22);
}

.c-btn--primary:hover {
  background-color: var(--color-white);
  background-image: none;
  color: var(--color-blue-accent);
  box-shadow: 0 4px 14px rgba(4, 0, 44, 0.22), inset 0 0 0 1px var(--color-blue-accent);
}

/* On dark sections: white fill */
.c-btn--light {
  background: var(--color-white);
  color: var(--color-navy-deep);
  border: 1px solid var(--color-white);
  box-shadow: 0 4px 14px rgba(4, 0, 44, 0.18);
}

.c-btn--light:hover {
  opacity: 1;
  background: var(--color-blue-accent);
  border-color: var(--color-blue-accent);
  color: var(--color-white);
}

/* On dark photo: white outline */
.c-btn--ghost-light {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
  box-shadow: none;
}

.c-btn--ghost-light:hover {
  background: var(--color-white);
  color: var(--color-navy-deep);
  opacity: 1;
}

/* Accent (owner consult etc.) — same pill geometry */
.c-btn--yellow {
  background: var(--color-yellow);
  color: var(--color-navy-deep);
  box-shadow: 0 4px 14px rgba(4, 0, 44, 0.12);
}

.c-btn--yellow:hover {
  opacity: 0.92;
}

.c-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-heading--row {
  flex-direction: row;
  align-items: baseline;
  gap: 20px;
}

.c-heading--center {
  align-items: center;
  text-align: center;
  width: 100%;
}

.c-heading--light .c-heading__ja,
.c-heading--light .c-heading__en {
  color: var(--color-white);
}

.c-heading__ja {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-navy);
}

.c-heading__en {
  font-size: 12px;
  line-height: 1;
  color: var(--color-text-soft);
  font-weight: 400;
}

.c-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 81px;
  height: 23px;
  padding: 0 12px;
  border: 1px solid var(--color-navy);
  border-radius: 999px;
  color: var(--color-navy);
  font-size: 13px;
  line-height: 1;
}

.c-post-list__item + .c-post-list__item {
  margin-top: 36px;
}

.c-post-list__link {
  display: block;
  transition: opacity 0.2s;
}

.c-post-list__link:hover {
  opacity: 0.7;
}

.c-post-list__title {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
}

.c-post-list__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-post-list__date {
  font-size: 12px;
  color: var(--color-muted);
}


/* --------------------------------------------------------------------------
   Shared: stats
   XAML Border: 1200×262 @ x40 y850 / heading @ x100 y959 / list 898×154 @ x282
   -------------------------------------------------------------------------- */

.c-stats {
  width: var(--width-page);
  margin: 53px auto 0;
  padding: 0 40px;
}

.c-stats__panel {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 262px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 16px 40px rgba(1, 57, 127, 0.1);
}

.c-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.c-stats__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.08) 100%);
}

.c-stats__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 68px;
  width: 100%;
  min-height: 262px;
  padding: 0 60px;
}

.c-stats__heading {
  flex-shrink: 0;
  width: 114px;
}

.c-stats__heading .c-heading__ja {
  letter-spacing: 0.04em;
}

.c-stats__heading .c-heading__en {
  letter-spacing: 0.02em;
  color: #3a4060;
}

.c-stats__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 1;
  min-width: 0;
  min-height: 154px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 10px 28px rgba(1, 57, 127, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.c-stats__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px 14px 32px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.95);
}

.c-stats__item + .c-stats__item {
  box-shadow: inset 1px 0 0 rgba(1, 57, 127, 0.07);
}

.c-stats__item:first-child {
  border-left: none;
}

.c-stats__label {
  margin-bottom: 18px;
  font-size: 13px;
  color: #556677;
  line-height: 1.5;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  letter-spacing: 0.02em;
}

.c-stats__note {
  font-size: 12px;
  letter-spacing: 0;
}

.c-stats__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--color-blue);
  line-height: 1;
}

.c-stats__num {
  font-size: 33px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.c-stats__unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Shared: reasons
   -------------------------------------------------------------------------- */

.c-reasons {
  width: var(--width-page);
  margin: 100px auto 0;
  padding: 0 var(--side) 0;
  text-align: center;
}

/* TOP: business ends ~3365 → eyebrow y3515 */
.home .c-reasons {
  margin-top: 150px;
}

.c-reasons__eyebrow {
  /* XAML: YuGothic 18 / #053795 / y3515 */
  color: var(--color-blue-accent);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.c-reasons__title {
  /* XAML Canvas 809×75 @ y3533 — text top37 / ８ top0 */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 18px;
  min-height: 75px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  letter-spacing: 0.02em;
}

.c-reasons__br {
  display: none;
}

.c-reasons__headline {
  display: inline-flex;
  flex-shrink: 0;
  align-items: flex-end;
  white-space: nowrap;
}

.c-reasons__title-text,
.c-reasons__suffix {
  /* XAML text bottom ≈67 vs ８ bottom 75 → lift 30px type by 8px */
  padding-bottom: 8px;
}

.c-reasons__title-text {
  /* 狭い幅ではこの塊を維持し、「８つの理由」側を段落ちさせる */
  color: var(--color-navy);
  white-space: nowrap;
}

.c-reasons__num {
  /* XAML: YuGothic 75 / #053795 */
  display: inline-block;
  margin: 0 2px 0 4px;
  color: var(--color-blue-accent);
  font-family: var(--font-sans);
  font-size: 75px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.c-reasons__suffix {
  /* XAML: YuGothic 30 / #053795 */
  color: var(--color-blue-accent);
  font-weight: 700;
}

.c-reasons__list {
  display: grid;
  /* XAML: cards x100/372/646/918 (262w) → gutters 10/12/10 */
  grid-template-columns: repeat(4, 262px);
  gap: 10px;
  justify-content: space-between;
  margin-top: 40px;
  text-align: left;
}

.c-reasons__item {
  position: relative;
  min-height: 252px;
  padding: 22px 20px 28px;
  background: var(--color-bg-soft);
}

.c-reasons__no {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 14px;
  color: var(--color-text);
}

.c-reasons__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-white);
  overflow: hidden;
}

.c-reasons__icon img {
  /* XAML Image 98×98 inside circle */
  width: 98px;
  height: 98px;
  object-fit: contain;
}

.c-reasons__item-title {
  margin-bottom: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
}

.c-reasons__item-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Shared: interview
   -------------------------------------------------------------------------- */

.c-interview {
  position: relative;
  color: var(--color-white);
  /* XAML Canvas 1280×770 @ y5204 */
  min-height: 770px;
}

/* TOP only: manage → interview (XAML section y5204) */
.home .c-interview {
  margin-top: 96px;
}

.c-interview__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-dark);
  background-position: center;
  background-size: cover;
}

/* 背景画像（グループ257）に暗転が入っているため、追加オーバーレイは薄く */
.c-interview__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 38, 0.2);
}

.c-interview__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  width: var(--width-page);
  margin: 0 auto;
  /* heading/photo y5354 − section 5204 = 150 */
  padding: 150px var(--side) 151px;
  box-sizing: border-box;
  min-height: 770px;
}

.c-interview__text {
  width: 420px;
  flex-shrink: 0;
}

.c-interview__catch {
  /* XAML catch y5498 − heading 5354 ≈ 144 */
  margin: 112px 0 36px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.6;
}

.c-interview__body {
  margin-bottom: 48px;
  font-size: 14px;
  line-height: 2;
}

.c-interview__media {
  width: 600px;
  flex-shrink: 0;
}

.c-interview__media img {
  display: block;
  width: 100%;
  height: 469px;
  object-fit: cover;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Shared: consultation CTA
   XAML: owner_lp.xaml
   - Top: card 1180×135 / text 20 / btn 360×54 / text+arrow 20/24
   - Compact: same card / text 24 / btn 431×54 / text+arrow 24/24
   -------------------------------------------------------------------------- */

.c-cta-consult {
  width: 100%;
  margin: 0;
  /* soft band 195 / card 135 → vertical pad 30; side ≈50 for 1180 card in 1280 */
  padding: 30px 50px;
  background: var(--color-bg-soft);
  box-sizing: border-box;
}

.c-cta-consult__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 1180px;
  max-width: 100%;
  min-height: 135px;
  margin: 0 auto;
  /* text x255 / card x57 → 198; room for 246 illust */
  padding: 0 40px 0 198px;
  overflow: visible;
  border-radius: 12px;
  background: var(--color-white);
  box-sizing: border-box;
}

.c-cta-consult__illust {
  position: absolute;
  left: 48px;
  bottom: 0;
  display: block;
  width: 122px;
  height: auto;
  line-height: 0;
  pointer-events: none;
}

.c-cta-consult__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--color-navy);
  /* 意図した <br> 以外では折り返さない */
  white-space: nowrap;
}

.c-cta-consult__btn {
  position: relative;
  /* flex-basis を幅用途にしない（column 時に高さへ効くため） */
  flex: 0 1 auto;
  width: 360px;
  min-width: 0;
  max-width: 360px;
  height: 54px;
  min-height: 54px;
  padding: 0 24px;
  font-size: 20px;
  border-radius: 999px;
  box-sizing: border-box;
}

.c-cta-consult__btn .c-btn__arrow {
  margin-left: 16px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  -webkit-text-stroke: 0.9px currentColor;
}

.c-cta-consult__btn::before {
  content: "";
  position: absolute;
  /* XAML top: rule x780 → btn x837 ≈ 57px */
  left: -57px;
  top: 50%;
  width: 1px;
  height: 70px;
  background: var(--color-plan-navy);
  transform: translateY(-50%);
}

/* Compact（プラン内・サービス内） */
.c-cta-consult--compact .c-cta-consult__text {
  font-size: 24px;
  line-height: 1.55;
}

.c-cta-consult--compact .c-cta-consult__btn {
  flex: 0 1 auto;
  width: 431px;
  max-width: 431px;
  min-width: 0;
  height: 54px;
  min-height: 54px;
  font-size: 24px;
}

.c-cta-consult--compact .c-cta-consult__btn::before {
  /* XAML compact: rule x718 → btn x756 ≈ 38px */
  left: -38px;
}

.c-cta-consult--compact .c-cta-consult__btn .c-btn__arrow {
  margin-left: 24px;
  font-size: 24px;
  font-weight: 400;
}

.c-req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 20px;
  margin-left: 8px;
  border: 1px solid #ff0000;
  color: #ff0000;
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}

.c-req--optional {
  border-color: #b9b9b9;
  color: #b9b9b9;
}


/* --------------------------------------------------------------------------
   Shared: inquiry (tel / merit / form)
   -------------------------------------------------------------------------- */

.c-inquiry__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.c-inquiry__tel {
  width: 460px;
}

.c-inquiry__tel-lead {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
}

.c-inquiry__tel-num {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-blue-accent);
}

.c-inquiry__tel-num a {
  color: inherit;
}

.c-inquiry__hours {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d8d8d8;
  font-size: 18px;
}

.c-inquiry__hours-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 40px;
  background: var(--color-blue-accent);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
}

.c-inquiry__hours-text {
  color: var(--color-blue-accent);
  font-weight: 600;
}

.c-inquiry__note {
  font-size: 14px;
  color: var(--color-blue-accent);
  font-weight: 600;
}

.c-inquiry__merit {
  width: 599px;
  padding: 50px 40px 40px;
  background: var(--color-white);
  border-radius: 24px;
  text-align: center;
  box-sizing: border-box;
}

.c-inquiry__merit-title {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
}

.c-inquiry__merit-list {
  display: grid;
  /* XAML ellipses 100px @ x621/761/901/1041 → gap 40 */
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 20px;
  justify-content: center;
}

.c-inquiry__merit-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.c-inquiry__merit-icon {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.c-inquiry__merit-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-inquiry__merit-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-blue-accent);
  white-space: nowrap;
}

/* XAMLどおり最終項目のみ2行 */
.c-inquiry__merit-list li:last-child .c-inquiry__merit-label {
  white-space: normal;
}

.c-inquiry__form-wrap {
  padding: 80px 100px 100px;
  background: var(--color-white);
}

.c-inquiry__form-lead {
  margin-bottom: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
}

.c-inquiry__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.c-inquiry__label {
  padding-top: 22px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-blue-accent);
}

.c-inquiry__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  padding-top: 18px;
}

.c-inquiry__checks label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-blue-accent);
  cursor: pointer;
}

.c-inquiry__checks input {
  width: 24px;
  height: 24px;
  accent-color: var(--color-blue-accent);
}

.c-inquiry__input,
.c-inquiry__textarea {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  border: 1px solid #b9b9b9;
  background: var(--color-white);
  font-family: inherit;
  font-size: 20px;
  color: var(--color-text);
}

.c-inquiry__input {
  height: 70px;
}

.c-inquiry__textarea {
  min-height: 200px;
  padding: 20px;
  resize: vertical;
}

.c-inquiry__input::placeholder,
.c-inquiry__textarea::placeholder {
  color: #b9b9b9;
}

.c-inquiry__privacy {
  margin: 40px 0 50px;
  padding: 0 100px;
}

.c-inquiry__privacy-title {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
}

.c-inquiry__privacy-text {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.c-inquiry__agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 16px;
  color: var(--color-blue-accent);
  cursor: pointer;
}

.c-inquiry__agree input {
  width: 24px;
  height: 24px;
}

.c-inquiry__submit {
  display: flex;
  width: 400px;
  max-width: 100%;
  height: auto;
  min-height: 56px;
  margin: 0 auto;
  font-size: 20px;
  border-radius: 999px;
}

.c-inquiry__submit-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 8px;
}

.c-inquiry__submit-wrap .c-inquiry__submit {
  margin: 0;
}

/* Contact Form 7: keep theme form layout with CF7 wrappers */
.c-inquiry__form-wrap .wpcf7,
.c-inquiry__form-wrap .wpcf7-form,
.p-entry-form .wpcf7,
.p-entry-form .wpcf7-form {
  margin: 0;
}

.c-inquiry__control {
  min-width: 0;
}

.c-inquiry__row > .wpcf7-form-control-wrap,
.c-inquiry__control > .wpcf7-form-control-wrap,
.p-entry-form__control > .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* CF7 autop fallback: label+field wrapped in a single <p> */
.c-inquiry__row > p:only-child {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
  margin: 0;
  width: 100%;
}

.c-inquiry__row > p:only-child > br {
  display: none;
}

.c-inquiry__row > p:only-child > .wpcf7-form-control-wrap {
  width: 100%;
  max-width: 600px;
}

.c-inquiry__checks > p {
  margin: 0;
  display: contents;
}

/* CF7 wraps checkbox groups in nested spans — flatten into parent 2-col grid */
.c-inquiry__checks .wpcf7-form-control-wrap,
.c-inquiry__checks .wpcf7-checkbox {
  display: contents;
}

.c-inquiry__checks .wpcf7-list-item {
  display: block;
  margin: 0;
  min-width: 0;
}

.c-inquiry__checks .wpcf7-list-item label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-blue-accent);
  cursor: pointer;
}

.c-inquiry__checks .wpcf7-list-item-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1.5;
  white-space: normal;
  writing-mode: horizontal-tb;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.c-inquiry__checks input[type="checkbox"] {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  accent-color: var(--color-blue-accent);
}

.c-inquiry__privacy .wpcf7-form-control-wrap,
.c-inquiry__privacy .wpcf7-acceptance,
.c-inquiry__privacy .wpcf7-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.c-inquiry__privacy .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  width: auto;
}

.c-inquiry__privacy .wpcf7-list-item-label {
  font-size: 16px;
  color: var(--color-blue-accent);
}

.c-inquiry__privacy input[type="checkbox"] {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.c-inquiry__form-wrap .wpcf7-submit,
.p-entry-form .wpcf7-submit {
  cursor: pointer;
}

.c-inquiry__form-wrap p:has(> .wpcf7-submit),
.p-entry-form p:has(> .wpcf7-submit) {
  margin: 0;
  text-align: center;
}

.c-inquiry__submit-wrap .wpcf7-spinner {
  /* CF7 spinner stays in layout even when hidden → shifts the centered button left */
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(212px, -50%);
}

/* Owner LP など submit-wrap 無しのフォームでもスピナーで中央がずれないようにする */
.c-inquiry__form-wrap .wpcf7-form > .wpcf7-spinner {
  position: absolute;
  left: 50%;
  bottom: 28px;
  margin: 0;
  transform: translate(212px, 0);
}

.c-inquiry__form-wrap .wpcf7-form {
  position: relative;
}

.c-inquiry__form-wrap .wpcf7-not-valid-tip,
.p-entry-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
}

.c-inquiry__form-wrap .wpcf7-response-output,
.p-entry-form .wpcf7-response-output {
  margin: 24px 0 0;
}

.p-entry-form__radios .wpcf7-form-control-wrap,
.p-entry-form__radios .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 28px 40px;
  width: 100%;
}

.p-entry-form__radios .wpcf7-list-item {
  margin: 0;
}

.p-entry-form__radios .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text);
  cursor: pointer;
}

.p-entry-form__radios .wpcf7-list-item-label {
  font-size: 20px;
  color: var(--color-text);
}

.p-entry-form__radios input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-blue-accent);
  cursor: pointer;
}

.p-entry-form__privacy .wpcf7-form-control-wrap,
.p-entry-form__privacy .wpcf7-acceptance,
.p-entry-form__agree-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.p-entry-form__privacy .wpcf7-list-item {
  margin: 0;
}

.p-entry-form__privacy .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-blue-accent);
  cursor: pointer;
}

.p-entry-form__privacy .wpcf7-list-item-label {
  font-size: 16px;
  color: var(--color-blue-accent);
}

.p-entry-form__privacy input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-blue-accent);
  cursor: pointer;
}

.p-entry-form__submit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.p-entry-form__submit-wrap .p-entry-form__submit {
  margin: 0;
}


/* --------------------------------------------------------------------------
   Shared: subpage header / breadcrumb
   -------------------------------------------------------------------------- */

.page-template-page-owner .l-header,
.page-template-page-resident .l-header,
.page-template-page-company .l-header,
.page-template-page-recruit .l-header,
.page-template-page-jobs .l-header,
.page-template-page-entry .l-header,
.page-template-page-entry-thanks .l-header,
.page-template-page-application-forms .l-header,
.page-template-page-owners-interview .l-header,
.page-template-page-business .l-header,
.page-template-page-contact .l-header,
.page-template-page-faq .l-header,
.page-template-page-terms .l-header,
.page-template-page-privacy .l-header,
.page-template-page-sitemap .l-header,
.error404 .l-header,
.blog .l-header,
.single-post .l-header,
.post-type-archive-columns .l-header,
.single-columns .l-header,
.tax-column_category .l-header {
  position: relative;
  padding-top: 30px;
  padding-bottom: 20px;
}


.c-breadcrumb {
  width: var(--width-page);
  margin: 0 auto 40px;
  padding: 0 var(--side);
  font-size: 12px;
  color: var(--color-text-soft);
}

.c-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.c-breadcrumb a:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Shared: FAQ / Contact CTA boxes
   -------------------------------------------------------------------------- */

.c-cta-boxes {
  display: grid;
  /* XAML index y6639: 580x484 at x40 / x660 (gutter 40) */
  grid-template-columns: 580px 580px;
  gap: 40px;
  justify-content: center;
  width: var(--width-page);
  margin: 0 auto;
  padding: 40px;
}

.c-cta-boxes--single {
  grid-template-columns: 580px;
}

.c-cta-boxes__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 580px;
  height: 484px;
  min-height: 484px;
  padding: 100px 40px 60px;
  border-radius: 24px;
  background: var(--color-bg-soft);
  text-align: center;
  box-sizing: border-box;
}

.c-cta-boxes__text {
  margin: 40px 0 48px;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.c-cta-boxes__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Shared: group support
   -------------------------------------------------------------------------- */

.c-group {
  padding: 150px 0 150px;
}

.c-group__intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: var(--width-page);
  margin: 0 auto;
  padding: 0 var(--side);
}

.c-group__brand {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-navy);
}

.c-group__times {
  margin: 0 8px;
}

.c-group__group-name {
  color: var(--color-teal);
}

.c-group__title {
  /* company.xaml: YuMincho / 35 / #333333 */
  margin-bottom: 36px;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.6;
  color: #333333;
  letter-spacing: 0.02em;
}

.c-group__body {
  margin-bottom: 1.2em;
  font-size: 14px;
  line-height: 2;
}

.c-group__media {
  width: 550px;
  flex-shrink: 0;
}

.c-group__media img {
  display: block;
  width: 100%;
  height: 351px;
  object-fit: cover;
  border-radius: 16px;
}

/* --------------------------------------------------------------------------
   Shared: group division diagram
   -------------------------------------------------------------------------- */

.c-division {
  position: relative;
  width: 100%;
  /* XAML / bg 1x: 1280×472 */
  height: 472px;
  overflow: hidden;
}

.c-division__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.c-division__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--width-page);
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--side);
  box-sizing: border-box;
}

.c-division__diagram {
  display: block;
  width: 1080px;
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Shared: modal shell
   -------------------------------------------------------------------------- */

.c-modal[hidden] {
  display: none !important;
}

.c-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.c-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.c-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 0, 44, 0.55);
}

.c-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 50px 0;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.32s ease,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-modal.is-open .c-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .c-modal,
  .c-modal__dialog {
    transition-duration: 0.01ms;
  }

  .c-modal__dialog {
    transform: none;
  }
}

.c-modal__panel {
  /* XAML: 全体1280（水色外枠50 + 白1180）。panel と interview は同一要素のため border で外枠を出す */
  position: relative;
  width: 1280px;
  margin: 0 auto;
  background: var(--color-white);
  border: 50px solid var(--color-bg-soft);
  box-shadow: 0 20px 60px rgba(0, 12, 38, 0.18);
}

.c-modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: none;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 12, 38, 0.12);
  cursor: pointer;
}

/* 広いPC: 画面右端ではなく、モーダル右端から少しはみ出す位置へ */
@media (min-width: 1400px) {
  .c-modal__close {
    /* panel 1280px 中央。right = 余白 − はみ出し量 */
    right: calc((100vw - 1280px) / 2 - 24px);
  }
}

.c-modal__close-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.c-modal__close-icon::before,
.c-modal__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 1px;
  background: var(--color-blue-accent);
}

.c-modal__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.c-modal__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.c-modal__actions {
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}

body.is-modal-open {
  overflow: hidden;
}

/* SP メニュー開放時：背面スクロールロック */
html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Shared: about
   -------------------------------------------------------------------------- */

.c-about {
  /* XAML Canvas y1730 h875 (news ends ~1631 → +99) */
  margin-top: 110px;
  background: var(--color-bg-soft);
  overflow: hidden;
}

.c-about__inner {
  position: relative;
  display: grid;
  /* text は 1280 左位置。media は 1400 まで右端密着、それ以上は 1400 右位置を固定 */
  grid-template-columns: 458px 1fr;
  gap: 100px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 0 100px max(var(--side), calc((min(100%, 1400px) - 1280px) / 2 + var(--side)));
  min-height: 875px;
  box-sizing: border-box;
}

.c-about__inner::before {
  content: "";
  position: absolute;
  top: 0;
  /* XAML about geo: Canvas.Left="166" within 1280 → right-aligned 1113 */
  right: 0;
  width: 1113px;
  height: 875px;
  background: url("../img/common/about-geo.svg") right top / 1113px 875px no-repeat;
  pointer-events: none;
  opacity: 0.03;
}

.c-about__text,
.c-about__media {
  position: relative;
  z-index: 1;
}

.c-about__catch {
  /* XAML catch y304 / heading y203 → ~69; #333 */
  margin: 69px 0 40px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.6;
  color: #333333;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.c-about__body {
  margin-bottom: 1.2em;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.c-about__text .c-btn {
  margin-top: 40px;
}

.c-about__media {
  display: grid;
  /* XAML: main 622x337; subs 335/285 at y439 (−337 = 2px row gap), x gap 2 */
  grid-template-columns: 335px 285px;
  gap: 2px;
  align-content: start;
  justify-self: end;
  width: 622px;
}

.c-about__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.c-about__img--main {
  grid-column: 1 / -1;
  height: 337px;
}

.c-about__img--sub {
  height: 336px;
}


/* --------------------------------------------------------------------------
   Shared: scroll reveal（セクション塊のふわっと出現）
   -------------------------------------------------------------------------- */

/* JS 有効時は描画前から非表示にしてチラつきを防ぐ（モーダル内は除外） */
html.js .l-main section:not(.is-revealed),
html.js .l-main .c-cta-consult:not(.is-revealed),
html.js .l-main .p-news-single:not(.is-revealed),
html.js .l-main .p-column-single:not(.is-revealed),
html.js .l-main .p-recruit-message__gallery:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
}

html.js .l-main .c-modal section,
html.js .l-main .c-modal section:not(.is-revealed),
html.js .l-main section.p-index-links,
html.js .l-main section.p-index-links:not(.is-revealed) {
  opacity: 1;
  transform: none;
}

.js-reveal {
  transition:
    opacity 1.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-reveal.is-revealed,
.is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html.js .l-main section:not(.is-revealed),
  html.js .l-main .c-cta-consult:not(.is-revealed),
  html.js .l-main .p-news-single:not(.is-revealed),
  html.js .l-main .p-column-single:not(.is-revealed),
  html.js .l-main .p-recruit-message__gallery:not(.is-revealed),
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* ==========================================================================
   Responsive — tablet / SP
   ========================================================================== */

@media (max-width: 1279px) {
  :root {
    --width-page: 100%;
    --width-content: 100%;
    --side: 48px;
  }

  .l-header__inner {
    width: 100%;
    padding: 0 24px;
    gap: 20px;
  }

  .l-menu__inner {
    padding: 98px 24px 42px;
    gap: 40px;
  }

  .l-menu__media {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 600px;
    height: auto;
    aspect-ratio: 600 / 660;
  }

  .l-header__logo,
  .l-header__logo img {
    width: 260px;
  }

  .l-header__nav-list {
    gap: 16px;
    padding: 0 16px;
  }

  .l-footer__inner,
  .l-footer__bottom {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .c-breadcrumb,
  .c-cta-boxes,
  .c-group__intro,
  .c-about__inner,
  .l-container {
    width: 100%;
  }

  .c-cta-boxes {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px var(--side);
  }

  .c-cta-boxes__card {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 60px 24px 40px;
  }

  .c-group__intro {
    flex-direction: column;
  }

  .c-group__media {
    width: 100%;
  }

  .c-group__media img {
    height: auto;
    aspect-ratio: 550 / 351;
  }

  .c-division {
    height: auto;
    min-height: 320px;
    aspect-ratio: 1280 / 472;
  }

  .c-division__diagram {
    width: 100%;
  }

  .c-group__title {
    font-size: 28px;
  }

  .c-about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding: 80px var(--side);
  }

  .c-about__inner::before {
    width: min(100%, 700px);
    height: 100%;
    background-size: contain;
  }

  .c-about__catch {
    margin-top: 24px;
    font-size: 24px;
    white-space: normal;
  }

  .c-about__media {
    grid-template-columns: 1fr 1fr;
    justify-self: stretch;
    width: 100%;
  }

  .c-about__img--main,
  .c-about__img--sub {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .c-modal__panel {
    width: min(100% - 32px, 1280px);
    border-width: 20px;
  }

  .c-modal__close {
    top: 16px;
    right: 8px;
    width: 56px;
    height: 56px;
  }

  .c-stats {
    padding: 0 var(--side);
  }

  .c-stats__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 40px 28px;
    min-height: 0;
  }

  .c-stats__heading {
    width: auto;
  }

  .c-stats__list {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .c-reasons__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .c-reasons__eyebrow {
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  /* 狭いPC: 1行に収まらなければ「８つの理由」だけ次行へ */
  .c-reasons__title {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 6px 0;
    margin-top: 16px;
    min-height: 0;
    font-size: 24px;
    line-height: 1;
  }

  .c-reasons__br {
    display: none;
  }

  .c-reasons__title-text,
  .c-reasons__suffix {
    padding-bottom: 6px;
  }

  .c-reasons__num {
    font-size: 56px;
    margin-left: -10px;
    margin-right: -10px;
  

  /* CTA: ≤1279 — 余白・ボタンを一段コンパクトに */
  .c-cta-consult {
    padding: 28px 32px;
  }

  .c-cta-consult__inner {
    gap: 36px;
    padding: 0 28px 0 176px;
  }

  .c-cta-consult__illust {
    left: 32px;
  }

  .c-cta-consult__text {
    font-size: 18px;
    line-height: 1.6;
  }

  .c-cta-consult__btn {
    width: 320px;
    max-width: 320px;
    font-size: 18px;
    padding: 0 20px;
  }

  .c-cta-consult__btn::before {
    left: -36px;
  }

  .c-cta-consult__btn .c-btn__arrow {
    margin-left: 12px;
    font-size: 20px;
  }

  .c-cta-consult--compact .c-cta-consult__text {
    font-size: 20px;
  }

  .c-cta-consult--compact .c-cta-consult__btn {
    width: 360px;
    max-width: 360px;
    font-size: 20px;
  }

  .c-cta-consult--compact .c-cta-consult__btn::before {
    left: -28px;
  }

  .c-cta-consult--compact .c-cta-consult__btn .c-btn__arrow {
    margin-left: 16px;
    font-size: 20px;
  }
}

/* CTA: ≤1180 — さらに詰めてテキスト折り返しを許可 */
@media (max-width: 1180px) {
  .c-cta-consult {
    padding: 24px 24px;
  }

  .c-cta-consult__inner {
    gap: 28px;
    min-height: 120px;
    padding: 0 20px 0 160px;
  }

  .c-cta-consult__illust {
    left: 24px;
    width: 122px;
  }

  .c-cta-consult__text {
    font-size: 16px;
    line-height: 1.55;
    white-space: normal;
  }

  .c-cta-consult__btn {
    width: auto;
    max-width: 280px;
    min-width: 220px;
    height: 50px;
    min-height: 50px;
    font-size: 16px;
    padding: 0 18px;
  }

  .c-cta-consult__btn::before {
    left: -24px;
    height: 56px;
  }

  .c-cta-consult__btn .c-btn__arrow {
    margin-left: 10px;
    font-size: 18px;
  }

  .c-cta-consult--compact .c-cta-consult__text {
    font-size: 17px;
    white-space: normal;
  }

  .c-cta-consult--compact .c-cta-consult__btn {
    width: auto;
    max-width: 300px;
    min-width: 220px;
    font-size: 16px;
  }

  .c-cta-consult--compact .c-cta-consult__btn::before {
    left: -20px;
  }

  .c-cta-consult--compact .c-cta-consult__btn .c-btn__arrow {
    margin-left: 10px;
    font-size: 18px;
  }
}

/* CTA: ≤1100 — 横並びを維持しつつ最小サイズへ */
@media (max-width: 1100px) {
  .c-cta-consult {
    padding: 20px 20px;
  }

  .c-cta-consult__inner {
    gap: 20px;
    min-height: 112px;
    padding: 0 16px 0 148px;
  }

  .c-cta-consult__illust {
    left: 16px;
  }

  .c-cta-consult__text {
    font-size: 15px;
    line-height: 1.5;
  }

  .c-cta-consult__btn {
    max-width: 240px;
    min-width: 200px;
    height: 48px;
    min-height: 48px;
    font-size: 15px;
    padding: 0 14px;
  }

  .c-cta-consult__btn::before {
    left: -16px;
    height: 48px;
  }

  .c-cta-consult__btn .c-btn__arrow {
    margin-left: 8px;
    font-size: 16px;
  }

  .c-cta-consult--compact .c-cta-consult__text {
    font-size: 15px;
  }

  .c-cta-consult--compact .c-cta-consult__btn {
    max-width: 260px;
    min-width: 200px;
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  :root {
    --side: 32px;
    --header-h: 72px;
  }

  .l-header,
  .page-template-page-owner .l-header,
  .page-template-page-resident .l-header,
  .page-template-page-company .l-header,
  .page-template-page-recruit .l-header,
  .page-template-page-jobs .l-header,
  .page-template-page-entry .l-header,
  .page-template-page-entry-thanks .l-header,
  .page-template-page-application-forms .l-header,
  .page-template-page-owners-interview .l-header,
  .page-template-page-business .l-header,
  .page-template-page-contact .l-header,
  .page-template-page-faq .l-header,
  .page-template-page-terms .l-header,
  .page-template-page-privacy .l-header,
  .page-template-page-sitemap .l-header,
  .error404 .l-header,
  .blog .l-header,
  .single-post .l-header,
  .post-type-archive-columns .l-header,
  .single-columns .l-header,
  .tax-column_category .l-header {
    position: sticky;
    top: 0;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(19, 15, 63, 0.06);
  }

  /* sticky ヘッダー直下のパンクズが窮屈にならないよう、下層のみ少し下げる */
  .page-template-page-owner .l-main,
  .page-template-page-resident .l-main,
  .page-template-page-company .l-main,
  .page-template-page-recruit .l-main,
  .page-template-page-jobs .l-main,
  .page-template-page-entry .l-main,
  .page-template-page-entry-thanks .l-main,
  .page-template-page-application-forms .l-main,
  .page-template-page-owners-interview .l-main,
  .page-template-page-business .l-main,
  .page-template-page-contact .l-main,
  .page-template-page-faq .l-main,
  .page-template-page-terms .l-main,
  .page-template-page-privacy .l-main,
  .page-template-page-sitemap .l-main,
  .blog .l-main,
  .single-post .l-main,
  .post-type-archive-columns .l-main,
  .single-columns .l-main,
  .tax-column_category .l-main {
    padding-top: 14px;
  }

  .l-header__nav,
  .l-header__contact {
    display: none;
  }

  .l-header__inner {
    padding: 0 16px;
    gap: 12px;
  }

  .l-header__logo,
  .l-header__logo img {
    width: 260px;
  }

  .l-header__actions {
    margin-left: auto;
  }

  .l-header__more {
    z-index: 111;
    gap: 0;
    background: var(--color-navy-deep);
    box-shadow: none;
  }

  .l-header__more-dot {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 1px;
    background: var(--color-white);
    transform: translateX(-50%);
  }

  .l-header__more-dot:nth-child(1) {
    top: 14px;
  }

  .l-header__more-dot:nth-child(2) {
    top: 19px;
  }

  .l-header__more-dot:nth-child(3) {
    top: 24px;
  }

  body.is-menu-open .l-header__more-dot {
    top: 50%;
    width: 15px;
    height: 1.5px;
  }

  .l-menu__inner {
    flex-direction: column;
    gap: 0;
    padding: 84px 32px 40px;
  }

  .l-menu__media {
    display: none;
  }

  .l-menu__body {
    width: 100%;
  }

  .l-menu__audience {
    gap: 16px;
  }

  .l-menu__nav {
    margin-top: 40px;
  }

  .l-menu__list {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .l-menu__link {
    font-size: 16px;
  }

  .l-footer__inner {
    flex-direction: column;
    padding: 64px 24px 40px;
  }

  .l-footer__brand {
    width: 100%;
  }

  .l-footer__logo img {
    width: 220px;
  }

  .l-footer__nav-wrap {
    max-width: none;
  }

  .l-footer__sitemap {
    justify-content: flex-start;
  }

  .l-footer__utils {
    flex-wrap: wrap;
  }

  .l-footer__util-btn {
    width: calc(50% - 10px);
    min-width: 140px;
    flex: 1 1 140px;
    font-size: 12px;
    padding: 0 8px;
  }

  .l-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px 32px;
  }

  .l-footer__legal {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .c-cta-boxes {
    grid-template-columns: 1fr;
  }

  .c-cta-consult {
    width: 100%;
    padding: 24px var(--side);
  }

  .c-cta-consult__inner {
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 28px 20px 24px;
    gap: 16px;
  }

  .c-cta-consult__illust {
    position: static;
    width: 96px;
    margin: 0 auto;
  }

  .c-cta-consult__text {
    min-width: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    white-space: normal;
  }

  .c-cta-consult__btn {
    flex: none;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    font-size: 16px;
    padding: 0 20px;
  }

  .c-cta-consult__btn::before {
    display: none;
  }

  .c-cta-consult__btn .c-btn__arrow {
    margin-left: 12px;
    font-size: 18px;
  }

  .c-cta-consult--compact .c-cta-consult__text {
    min-width: 0;
    width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }

  .c-cta-consult--compact .c-cta-consult__btn {
    flex: none;
    min-width: 0;
    width: 100%;
    max-width: 320px;
    height: 48px;
    min-height: 48px;
    font-size: 16px;
  }

  .c-cta-consult--compact .c-cta-consult__btn .c-btn__arrow {
    margin-left: 12px;
    font-size: 18px;
  }

  .home .c-interview {
    margin-top: 56px;
  }

  .c-interview__inner {
    width: 100%;
    flex-direction: column;
    min-height: 0;
    padding: 56px var(--side);
    gap: 40px;
  }

  .c-interview__text {
    width: 100%;
  }

  .c-interview__catch {
    margin: 24px 0 20px;
    font-size: 22px;
  }

  .c-interview__body {
    margin-bottom: 40px;
  }

  .c-interview__media {
    width: 100%;
  }

  .c-interview__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 469;
  }
}

@media (max-width: 767px) {
  :root {
    --side: 20px;
    --header-h: 64px;
  }

  html,
  body {
    overflow-x: clip;
  }

  body {
    font-size: 13px;
  }

  .home .c-interview {
    margin-top: 40px;
  }

  .p-index-hero__pickup,
  .p-index-hero__pickup--floating {
    display: none !important;
  }

  .l-header__logo,
  .l-header__logo img {
    width: 200px;
  }

  .l-menu__inner {
    padding: 76px 20px 32px;
  }

  .l-menu__audience-title {
    font-size: 18px;
  }

  .l-menu__audience-body {
    padding: 0 12px;
    gap: 8px;
  }

  .l-menu__audience-card .c-btn {
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .l-menu__nav {
    margin-top: 32px;
  }

  .l-menu__list {
    column-gap: 16px;
  }

  .l-menu__link {
    font-size: 14px;
  }

  .c-btn {
    min-height: 44px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-heading__ja {
    font-size: 18px;
  }

  .c-breadcrumb {
    margin-bottom: 24px;
    padding: 0 var(--side);
    font-size: 11px;
  }

  .c-division {
    min-height: 240px;
  }

  .c-division__inner {
    padding: 24px var(--side);
  }

  .c-division__diagram {
    width: 100%;
    height: auto;
  }

  .c-group {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .c-group__title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .c-group__intro {
    padding: 0 var(--side);
  }

  .c-about {
    margin-top: 64px;
  }

  .c-about__inner {
    padding: 56px var(--side);
  }

  .c-about__catch {
    font-size: 20px;
    margin: 16px 0 24px;
  }

  .c-about__media {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .c-stats {
    overflow: hidden;
  }

  .c-stats__inner {
    flex-direction: column;
    gap: 24px;
    padding: 40px var(--side);
  }

  .c-stats__list {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 0;
    width: 100%;
  }

  .c-stats__item {
    padding: 24px 12px;
  }

  .c-stats__item:nth-child(n + 3) {
    box-shadow: inset 0 1px 0 rgba(1, 57, 127, 0.07);
  }

  .c-reasons__list {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .home .c-reasons {
    margin-top: 80px;
  }

  .c-reasons {
    margin-top: 64px;
  }

  .c-reasons__eyebrow {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    font-size: clamp(10px, 2.9vw, 13px);
    line-height: 1.4;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .c-reasons__title {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.5;
  }

  .c-reasons__br {
    display: inline;
  }

  .c-reasons__title-text {
    max-width: 100%;
    white-space: normal;
  }

  .c-reasons__title-text,
  .c-reasons__suffix {
    padding-bottom: 4px;
  }

  .c-reasons__num {
    margin: 0 2px 0 0;
    font-size: 44px;
  }

  .c-reasons__suffix {
    font-size: 18px;
  }

  .c-cta-boxes {
    padding: 32px var(--side) 64px;
    gap: 16px;
  }

  .c-cta-boxes__card {
    border-radius: 16px;
    padding: 40px 20px 32px;
  }

  .c-cta-boxes__text {
    margin: 24px 0 28px;
  }

  .c-modal__dialog {
    padding: 24px 0;
  }

  .c-modal__panel {
    width: calc(100% - 24px);
    border-width: 12px;
  }

  .c-modal__close {
    width: 48px;
    height: 48px;
    top: 12px;
    right: 12px;
  }

  .l-footer__inner {
    gap: 28px;
    padding: 40px 16px 32px;
  }

  .l-footer__logo {
    margin-bottom: 20px;
  }

  .l-footer__tel {
    margin-top: 12px;
  }

  .l-footer__audience {
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  .l-footer__audience-item {
    padding: 0;
    border-bottom: 1px solid var(--footer-rule);
  }

  .l-footer__audience-item:first-child {
    border-top: 1px solid var(--footer-rule);
  }

  .l-footer__audience-inner {
    align-items: flex-start;
    padding: 20px 0;
    text-align: left;
  }

  .l-footer__audience-title {
    margin-bottom: 4px;
  }

  .l-footer__audience-item::before,
  .l-footer__audience-item:last-child::after {
    display: none;
  }

  .l-footer__util-btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .l-footer__legal {
    font-size: 12px;
  }
}

