/*
Theme Name: YU-WA Theme
Author: Codex
Description: Mock-faithful corporate theme for YU-WA with preview-safe PHP rendering.
Version: 1.0.0
Text Domain: yu-wa-theme
*/

:root {
  --color-primary: #003567;
  --color-primary-soft: #98cee2;
  --color-primary-soft-2: #82bdd9;
  --color-accent: #e83d4e;
  --color-accent-dark: #bb1727;
  --color-text: #204670;
  --color-muted: #6a87a8;
  --color-bg: #ffffff;
  --color-bg-soft: #f4fbff;
  --color-line: #cbe4f2;
  --color-shadow: rgba(107, 186, 216, 0.14);
  --container: 1100px;
  --radius: 20px;
  --radius-sm: 12px;
  --header-height: 78px;
  --wp-admin-bar-height: 0px;
  --button-min-width: 230px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.85;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, ol, h1, h2, h3, h4 { margin: 0; }
ul, ol { padding: 0; }
main { overflow: clip; }
button, input, textarea, select { font: inherit; }

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

.section {
  padding: 88px 0;
}
.section--compact { padding: 64px 0; }
.section--pale { background: var(--color-bg-soft); }
.section--split-bg {
  background: linear-gradient(to bottom, #fff 0 53%, var(--color-bg-soft) 53% 100%);
}
.section__button-wrap { text-align: center; margin-top: 34px; }

.section-heading {
  margin-bottom: 34px;
}
.section-heading--center { text-align: center; }
.section-heading__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--color-primary-soft);
  margin-bottom: 10px;
}
.section-heading__title {
  position: relative;
  display: inline-block;
  font-size: 34px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}
.section-heading__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: var(--color-primary-soft);
}
.section-heading--center .section-heading__title::after {
  left: 50%;
  transform: translateX(-50%);
}
.section-heading__lead {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 14px;
  white-space: pre-line;
}
.page-company .section-heading__title,
.page-insurance .section-heading__title,
.page-recruit .section-heading__title,
.page-recruit-empty .section-heading__title,
.page-news .section-heading__title,
.page-news-detail .section-heading__title,
.page-privacy .section-heading__title {
  font-size: 40px;
}
.page-company .section-heading__title::after,
.page-insurance .section-heading__title::after,
.page-recruit .section-heading__title::after,
.page-recruit-empty .section-heading__title::after,
.page-news .section-heading__title::after,
.page-news-detail .section-heading__title::after,
.page-privacy .section-heading__title::after {
  height: 10px;
  background: rgba(152, 206, 226, 0.6);
}
.page-company .section-heading,
.page-insurance .section-heading,
.page-recruit .section-heading,
.page-recruit-empty .section-heading,
.page-news .section-heading,
.page-news-detail .section-heading,
.page-privacy .section-heading {
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--button-min-width);
  padding: 14px 60px;
  border: 0;
  border-radius: 0;
  background: var(--color-primary-soft);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
  position: relative;
}
.button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%);
}
.button:hover { background: var(--color-primary); }
.button--accent { background: var(--color-accent); }
.button--accent:hover { background: var(--color-accent-dark); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  top: var(--wp-admin-bar-height);
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(203, 228, 242, 0.6);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}
.site-logo { width: 252px; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: var(--color-primary-soft);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }
.site-header__menu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-header__menu span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px auto;
  background: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  inset: var(--wp-admin-bar-height) 0 0;
  height: calc(100dvh - var(--wp-admin-bar-height));
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92) url("assets/images/photos/hero-main.jpg") center/cover no-repeat;
  filter: grayscale(0.1);
}
.mobile-menu__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
}
.mobile-menu__panel {
  position: relative;
  z-index: 1;
  padding: 22px 28px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu__top img { width: 140px; opacity: 0.2; }
.mobile-menu__top button {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.mobile-menu__top button::before,
.mobile-menu__top button::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
}
.mobile-menu__top button::before { transform: rotate(45deg); }
.mobile-menu__top button::after { transform: rotate(-45deg); }
.mobile-menu__nav {
  margin-top: 36px;
  flex: 1;
}
.mobile-menu__nav ul { list-style: none; }
.mobile-menu__nav li + li { margin-top: 26px; }
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 700;
  color: var(--color-primary);
}
.mobile-menu__nav a::before {
  content: "›";
  color: var(--color-accent);
}
.mobile-menu__cta {
  width: 100%;
  max-width: 320px;
  min-width: 0;
  margin-top: auto;
  padding: 14px 46px 14px 18px;
  white-space: nowrap;
}
.mobile-menu__cta::after {
  right: 14px;
  width: 28px;
}
body.is-menu-open { overflow: hidden; }
body.is-menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
html.admin-bar,
body.admin-bar {
  --wp-admin-bar-height: 32px;
}
body.admin-bar .site-header {
  inset: var(--wp-admin-bar-height) 0 auto !important;
}
body.admin-bar .mobile-menu {
  inset: var(--wp-admin-bar-height) 0 0 !important;
  height: calc(100dvh - var(--wp-admin-bar-height));
}

.top-hero,
.page-hero {
  position: relative;
  overflow: hidden;
}
.top-hero__visual,
.page-hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.top-hero {
  min-height: 750px;
  margin-top: calc(var(--header-height) + var(--wp-admin-bar-height));
}
.top-hero__visual {
  position: absolute;
  inset: 0;
}
.top-hero::after,
.page-hero__overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(0,53,103,0.18));
}
.top-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1320px);
  min-height: 750px;
  display: flex;
  align-items: center;
}
.top-hero__copy {
  position: relative;
  display: inline-block;
  max-width: 1120px;
  padding: 28px 20px 26px 64px;
  color: #fff;
  z-index: 0;
}
.top-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(107, 186, 216, 0.56);
  transform: skewX(-8deg);
  transform-origin: left center;
  z-index: -1;
  opacity: 0;
  animation: hero-copy-shape-in 0.6s ease-out 0.05s forwards;
}
.top-hero__catch {
  margin-bottom: 18px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  animation: hero-copy-text-in 0.65s ease-out 0.18s forwards;
}
.top-hero__copy p:last-child {
  max-width: 100%;
  font-size: 20px;
  line-height: 1.9;
  opacity: 0;
  animation: hero-copy-text-in 0.65s ease-out 0.32s forwards;
}
.mobile-only-break { display: none; }

@keyframes hero-copy-shape-in {
  from {
    opacity: 0;
    transform: skewX(-8deg) translateY(14px);
  }
  to {
    opacity: 1;
    transform: skewX(-8deg) translateY(0);
  }
}

@keyframes hero-copy-shape-in-mobile {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-copy-text-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-hero__copy::before,
  .top-hero__catch,
  .top-hero__copy p:last-child {
    opacity: 1;
    animation: none;
  }
  .top-hero__copy::before { transform: skewX(-8deg); }
  .top-hero__catch,
  .top-hero__copy p:last-child { transform: none; }
}

.page-hero {
  min-height: 290px;
  margin-top: calc(var(--header-height) + var(--wp-admin-bar-height));
}
.page-hero__overlay {
  background: rgba(0, 53, 103, 0.36);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  color: var(--color-muted);
  font-size: 20px;
  font-weight: 500;
}

.concern-grid,
.service-grid,
.insurer-grid {
  display: grid;
  gap: 24px;
}
.concern-grid { grid-template-columns: repeat(4, 1fr); }
.concern-card,
.service-card,
.insurer-grid__item,
.insurance-card,
.recruit-card {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 8px 8px 2px var(--color-shadow);
}
.concern-card {
  padding: 18px 18px 24px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
.concern-card__icon {
  width: 172px;
  height: 172px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 8px 8px 2px var(--color-shadow);
}
.concern-card img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  margin: 0;
}
.concern-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
  white-space: pre-line;
  line-height: .65;
}

.about-split,
.business-split,
.company-message__inner,
.news-layout {
  display: grid;
  gap: 48px;
}
.about-split,
.business-split { grid-template-columns: 1fr 1fr; align-items: center; }
.about-split__media img,
.business-split__media img {
  width: 100%;
  border-radius: 0;
  box-shadow: 12px 12px 2px rgba(152, 206, 226, 0.4);
}
.about-split__content,
.business-split__content {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.9;
}
.about-split__content p + p,
.business-split__content p + p { margin-top: 20px; }
.about-split__content .button,
.business-split__content .button {
  display: flex;
  width: fit-content;
  margin: 32px auto 0;
}

.feature-shell {
  position: relative;
  background: #f4fafc;
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  box-shadow: 8px 8px 2px rgba(0, 53, 103, 0.08);
  overflow: visible;
}
.feature-shell::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: #f4fafc;
  border-radius: 20px;
  z-index: -1;
}
.feature-shell__heading {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  padding: 42px 24px 22px;
}
.feature-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.feature-panel__item {
  padding: 42px 34px 40px;
  border-right: 1px solid rgba(0, 53, 103, 0.22);
}
.feature-panel__item h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.feature-panel__number {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.feature-panel__number::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  background: var(--color-primary);
  transform: rotate(-45deg);
  transform-origin: center;
}
.feature-panel__item > p:last-child {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  padding: 28px 18px 24px;
  text-align: center;
  min-height: 300px;
  border: 1px solid var(--color-primary);
  border-radius: 18px 0 18px 0;
}
.service-card img {
  width: 175px;
  max-width: 100%;
  height: 128px;
  object-fit: contain;
  margin: 0 auto 24px;
}
.service-card h3 {
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  white-space: pre-line;
}

.insurer-grid {
  grid-template-columns: repeat(2, 180px);
  justify-content: center;
}
.insurer-grid__item {
  width: 180px;
  aspect-ratio: 1;
  padding: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-primary);
}
.insurer-grid__item img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
}

.home-news {
  max-width: 760px;
  margin: 0 auto;
}
.news-empty {
  padding: 28px 0;
  text-align: center;
  font-size: 20px;
  color: var(--color-text);
}
.news-row {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--color-line);
}
.news-row__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
}
.news-row__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 99px;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid var(--color-primary);
  border-radius: 19.5px;
  background: #c1e2ee;
  color: var(--color-primary);
}
.news-row h2,
.news-row h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
}
.news-row p { margin-top: 10px; font-size: 20px; color: var(--color-text); }

.footer-cta {
  position: relative;
  min-height: 507px;
  overflow: hidden;
}
.footer-cta__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
}
.footer-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(107, 186, 216, 0.72);
}
.footer-cta__inner {
  position: relative;
  z-index: 1;
  min-height: 507px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 52px;
  text-align: center;
  color: #fff;
  padding: 90px 0 96px;
}
.footer-cta__eyebrow {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
}
.footer-cta__tel {
  display: inline-flex;
  align-items: baseline;
  gap: 22px;
  margin: 0;
  color: #fff;
}
.footer-cta__tel-label {
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}
.footer-cta__tel-number {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
}
.footer-cta__button {
  min-width: 464px;
  min-height: 81px;
  padding: 0 94px 0 44px;
  font-size: 24px;
  font-weight: 500;
}
.footer-cta__button::after {
  right: 34px;
  width: 50px;
}

.site-footer {
  background: var(--color-bg-soft);
  padding: 28px 0 18px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}
.site-footer__card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px;
}
.site-footer__logo { width: 150px; margin-bottom: 16px; }
.site-footer__card p {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 700;
}
.site-footer__card p + p { margin-top: 12px; }
.site-footer__facebook { margin-top: 18px; display: inline-block; }
.site-footer__facebook img { width: 32px; }
.site-footer__nav ul {
  columns: 2;
  list-style: none;
}
.site-footer__nav li { margin-bottom: 10px; }
.site-footer__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 22px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}
.site-footer__nav a::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  transform: translateY(-50%);
}
.site-footer__copy {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--color-muted);
}

.scroll-top {
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 20;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary-soft-2);
  box-shadow: 0 10px 24px rgba(0, 53, 103, 0.14);
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.scroll-top:hover { opacity: 0.7; }
.scroll-top::before,
.scroll-top::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: #fff;
  top: 26px;
}
.scroll-top::before { left: 17px; transform: rotate(-45deg); }
.scroll-top::after { right: 17px; transform: rotate(45deg); }

.company-philosophy__panel {
  position: relative;
  min-height: 435px;
  overflow: hidden;
}
.company-philosophy__text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 120px 0 40px;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.7;
}
.company-philosophy__text p {
  white-space: pre-line;
}
.company-philosophy__image {
  position: absolute;
  right: 0;
  top: 0;
  width: 443px;
  height: 435px;
}
.company-philosophy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  border-radius: 0;
  box-shadow: none;
}
.company-philosophy__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(193, 226, 238, 0.13);
}
.guideline-box {
  max-width: 980px;
  padding: 36px 44px;
  border: 2px solid var(--color-primary-soft);
  border-radius: 22px 0 22px 0;
  box-shadow: 8px 8px 2px var(--color-shadow);
  margin: 0 auto;
  text-align: center;
}
.guideline-box__lead {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 400;
}
.guideline-box ul {
  list-style: none;
  display: inline-block;
  text-align: center;
}
.guideline-box li {
  font-size: 20px;
  line-height: 1.9;
}
.guideline-box li + li { margin-top: 12px; }
.company-message {
  position: relative;
}
.company-message::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 206px;
  width: 100vw;
  height: 469px;
  background: #f4fafc;
  transform: translateX(-50%);
  z-index: 0;
}
.company-message .section-heading,
.company-message__inner {
  position: relative;
  z-index: 1;
}
.company-message__inner {
  grid-template-columns: 422px 1fr;
  gap: 40px;
  align-items: end;
}
.company-message__avatar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.company-message__avatar img {
  width: 422px;
  margin: 0 0 20px;
}
.company-message__avatar p {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 20px;
  line-height: 1.65;
  text-align: left;
}
.company-message__company,
.company-message__role {
  display: block;
}
.company-message__avatar strong {
  display: block;
  margin-top: 0;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 40px;
  color: var(--color-primary);
}
.company-message__content {
  font-size: 20px;
  line-height: 1.9;
}
.company-message__content p + p { margin-top: 18px; }
.profile-table-wrap {
  position: relative;
  padding: 18px 0;
}
.profile-table-wrap__watermark {
  position: absolute;
  right: -24px;
  bottom: -72px;
  width: 520px;
  opacity: 0.09;
}
.profile-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.profile-table th,
.profile-table td {
  padding: 18px 12px;
  text-align: left;
  font-size: 20px;
}
.profile-table th {
  width: 180px;
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: 2px solid var(--color-accent);
  padding-right: 20px;
}
.profile-table td {
  border-bottom: 1px solid var(--color-line);
}

.insurance-intro {
  text-align: center;
  max-width: 860px;
  white-space: pre-line;
  font-size: 20px;
  line-height: 1.9;
}
.insurance-intro p + p { margin-top: 12px; }
.insurance-anchor-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
}
.insurance-anchor-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 272px;
  min-height: 70px;
  padding: 12px 56px 12px 26px;
  border: 1px solid var(--color-primary);
  border-radius: 20px 0 20px 0;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 20px;
  position: relative;
}
.chip-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  min-height: 55px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #c1e2ee;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 500;
}
.insurance-anchor-list a::before,
.insurance-anchor-list a::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
}
.insurance-anchor-list a::before {
  right: 34px;
}
.insurance-section .section-heading__lead {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-text);
}
.insurance-examples {
  margin-top: 44px;
  text-align: left;
}
.insurance-examples__label {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
}
.insurance-examples__items {
  --example-gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--example-gap);
}
.insurance-examples__items span {
  display: inline-flex;
  flex: 1 1 calc((100% - (var(--example-gap) * (var(--example-count) - 1))) / var(--example-count));
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 55px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #c1e2ee;
  box-shadow: none;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 500;
}
.insurance-card-grid {
  display: grid;
  gap: 46px;
  justify-content: center;
}
.insurance-card-grid--4 { grid-template-columns: repeat(4, 270px); }
.insurance-card-grid--3 { grid-template-columns: repeat(3, 270px); }
.insurance-card-grid--2 { grid-template-columns: repeat(2, 270px); }
.insurance-card {
  min-height: 300px;
  padding: 31px 38px 24px;
  text-align: left;
  border: 1px solid var(--color-primary);
  border-radius: 20px 0 20px 0;
  box-shadow: 8px 8px 2px var(--color-shadow);
}
.insurance-card img {
  width: 175px;
  height: 128px;
  object-fit: contain;
  margin: 0 auto 33px;
}
.insurance-card h3 {
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 12px;
}
.insurance-card p {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

.recruit-intro {
  text-align: center;
  max-width: 840px;
  font-size: 20px;
  line-height: 1.9;
}
.recruit-intro p + p { margin-top: 10px; }
.recruit-intro + .section-heading { margin-top: 56px; }
.chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}
.recruit-list {
  display: grid;
  gap: 42px;
  max-width: 980px;
  margin-inline: auto;
}
.recruit-card {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 16px;
  border: 1px solid rgba(0, 53, 103, 0.12);
}
.recruit-card table { width: 100%; border-collapse: collapse; }
.recruit-card th,
.recruit-card td {
  padding: 18px 10px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
  font-size: 20px;
}
.recruit-card th {
  width: 150px;
  color: var(--color-primary);
  font-weight: 700;
}
.recruit-card td { white-space: pre-line; }
.recruit-empty {
  text-align: center;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.9;
}

.news-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 54px; }
.news-sidebar h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 26px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}
.news-sidebar h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: var(--color-primary-soft);
}
.news-sidebar section + section { margin-top: 56px; }
.news-sidebar ul { list-style: none; }
.news-sidebar li + li { margin-top: 20px; }
.news-sidebar a {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 500;
}
.news-list,
.news-detail { min-width: 0; }
.pager {
  display: flex;
  justify-content: flex-start;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--color-line);
}
.pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 500;
  gap: 10px;
  position: relative;
}
.pager__link--prev::before,
.pager__link--next::after {
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1;
}
.pager__link--prev::before {
  content: "‹";
}
.pager__link--next::after {
  content: "›";
}
.pager__link--prev {
  margin-right: auto;
}
.pager__link--next {
  margin-left: auto;
}
.news-detail h1 {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.55;
}
.news-detail__content {
  font-size: 20px;
  line-height: 1.95;
}
.news-detail__content p + p { margin-top: 18px; }

.section--contact { padding-top: 64px; }
.contact-form-wrap { max-width: 876px; }
.contact-form { display: grid; gap: 24px; }
.form-row label,
.form-row legend {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
}
.form-row small {
  margin-left: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-muted);
}
.form-row label > span,
.form-row legend > span {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  vertical-align: middle;
}
.form-row input:not([type="checkbox"]):not([type="radio"]),
.form-row textarea {
  width: 100%;
  padding: 18px 24px;
  border: 0;
  border-radius: 10px;
  background: #f6fbff;
  color: var(--color-text);
  font: inherit;
}
.contact-form .wpcf7-form-control-wrap {
  display: block;
}
.form-row textarea { min-height: 290px; }
.form-row--check {
  border: 0;
  margin: 0;
  padding: 0;
}
.form-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.form-check-list > .wpcf7-form-control-wrap {
  width: 100%;
}
.form-check-list .wpcf7-checkbox,
.form-consent .wpcf7-acceptance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.form-check-list .wpcf7-list-item,
.form-consent .wpcf7-list-item {
  margin: 0;
}
.form-row--check label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
}
.form-row--check input,
.form-consent input {
  display: block;
  flex: 0 0 27px;
  padding: 0;
  appearance: none;
  width: 27px;
  min-width: 27px;
  height: 27px;
  min-height: 27px;
  margin: 0;
  border: 1px solid #7a97b1;
  border-radius: 4.5px;
  background: #f4fafc;
  position: relative;
}
.form-row--check input:checked::after,
.form-consent input:checked::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--color-primary-soft);
  border-radius: 2px;
}
.form-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 16px;
}
.form-consent .wpcf7-form-control-wrap {
  display: block;
}
.form-consent .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.form-consent .wpcf7-list-item-label {
  color: var(--color-muted);
}
.form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}
.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--color-primary-soft);
  border-radius: 10px;
  font-size: 16px;
  color: var(--color-primary);
  background: #f6fbff;
}
.form-submit { text-align: center; margin-top: 28px; }
.contact-form__submit {
  min-width: 340px;
  min-height: 81px;
  padding: 0 74px 0 42px;
  font-size: 24px;
  font-weight: 500;
}
.contact-form__submit::after {
  right: 24px;
  width: 50px;
}

.privacy-box {
  max-width: 1200px;
  margin: 0 auto;
}
.privacy-box__heading {
  margin-bottom: 48px;
  text-align: center;
}
.privacy-box__heading h2 {
  margin-bottom: 0;
  color: var(--color-primary);
  font-size: 40px;
  line-height: 1.7;
}
.privacy-box__heading h2 span {
  display: inline-block;
  font-weight: 700;
}
.privacy-box > p,
.privacy-box li p,
.privacy-box li,
.privacy-contact p {
  color: var(--color-text);
  font-size: 16px;
  line-height: 2;
}
.privacy-box > p + p { margin-top: 16px; }
.privacy-item {
  margin-top: 28px;
}
.privacy-box h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
}
.privacy-item ul {
  padding-left: 20px;
  margin-top: 12px;
}
.privacy-item li + li,
.privacy-subsection ul li + li { margin-top: 8px; }
.privacy-item p + p,
.privacy-item p + ul,
.privacy-item ul + p { margin-top: 12px; }
.privacy-subsection {
  margin-top: 16px;
}
.privacy-subsection h4 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 16px;
}
.privacy-subsection ul {
  padding-left: 20px;
}
.privacy-box__contact-block {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  text-align: right;
}
.privacy-box__contact-block p + p { margin-top: 6px; }
.privacy-contact {
  margin-top: 14px;
  padding: 0;
  background: transparent;
}
.privacy-contact p + p { margin-top: 6px; }
.privacy-box a {
  color: var(--color-primary);
  text-decoration: underline;
}

.simple-message {
  text-align: center;
}
.simple-message .button { margin-top: 20px; }

@media (max-width: 991px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .site-nav { display: none; }
  .site-header__menu { display: block; }
  .page-hero h1 { font-size: 38px; }
  .top-hero { min-height: 580px; }
  .top-hero__inner { min-height: 580px; }
  .top-hero__catch { font-size: 34px; }
  .top-hero__copy {
    padding: 24px 44px 22px 26px;
  }
  .concern-grid,
  .insurance-card-grid--4,
  .service-grid,
  .about-split,
  .business-split { grid-template-columns: 1fr 1fr; }
  .company-philosophy__panel,
  .company-message__inner,
  .news-layout,
  .site-footer__inner { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-card-grid--3,
  .insurance-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar h2 { font-size: 32px; }
  .news-sidebar a,
  .news-row__meta,
  .pager a { font-size: 16px; }
  .insurance-anchor-list a,
  .chip-list span {
    min-width: 0;
    width: calc(50% - 11px);
    min-height: 58px;
    font-size: 16px;
  }
  .insurance-examples__items span {
    font-size: 16px;
    padding: 10px 16px;
  }
  .company-philosophy__text { font-size: 28px; }
  .company-philosophy__panel {
    min-height: 360px;
  }
  .company-philosophy__text {
    max-width: 620px;
    padding-top: 82px;
  }
  .company-philosophy__image {
    width: 320px;
    height: 320px;
    top: 20px;
  }
  .guideline-box li,
  .company-message__content,
  .company-message__avatar p,
  .profile-table th,
  .profile-table td,
  .recruit-card th,
  .recruit-card td,
  .recruit-intro,
  .insurance-intro,
  .insurance-section .section-heading__lead,
  .form-row label,
  .form-row legend,
  .form-row--check label { font-size: 16px; }
  .company-message__avatar strong { font-size: 30px; }
  .company-message::before {
    top: 190px;
    height: 420px;
  }
  .company-message__inner {
    grid-template-columns: 320px 1fr;
    gap: 32px;
  }
  .company-message__avatar img {
    width: 320px;
  }
  .contact-form__submit {
    min-width: 0;
    width: min(100%, 340px);
  }
  .site-footer__nav ul { columns: 1; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section--compact { padding: 42px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading__title {
    font-size: clamp(24px, calc(24px + 6 * ((100vw - 320px) / 447)), 30px);
  }
  .site-logo { width: 190px; }
  .top-hero { min-height: 430px; }
  .top-hero__inner { align-items: flex-end; padding-bottom: 56px; min-height: 430px; }
  .top-hero__catch {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .mobile-only-break { display: block; }
  .top-hero__copy p:last-child {
    font-size: 16px;
    line-height: 1.7;
  }
  .top-hero__copy {
    width: 100%;
    max-width: 560px;
    padding: 18px 28px 18px 18px;
  }
  .top-hero__copy::before {
    left: calc(50% - 50vw);
    right: 5px;
    top: 0;
    bottom: 0;
    transform: none;
    animation-name: hero-copy-shape-in-mobile;
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
  }
  .page-hero { min-height: 200px; }
  .page-hero__inner { min-height: 200px; }
  .page-hero h1 { font-size: 32px; }
  .breadcrumbs { padding-top: 14px; font-size: 11px; }
  .concern-grid,
  .about-split,
  .business-split,
  .service-grid,
  .company-philosophy__panel,
  .company-message__inner,
  .site-footer__inner,
  .feature-panel,
  .insurance-card-grid--4,
  .insurance-card-grid--3,
  .insurance-card-grid--2 { grid-template-columns: 1fr; }
  .feature-shell {
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .feature-shell::before { display: none; }
  .feature-shell__heading {
    padding: 0 0 24px;
  }
  .feature-panel {
    background: transparent;
    gap: 16px;
  }
  .feature-panel__item {
    background: #f4fafc;
    border: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: 8px 8px 20px var(--color-shadow);
  }
  .about-split__content,
  .business-split__content { max-width: none; }
  .feature-panel__item:last-child { grid-column: auto; }
  .feature-panel__item h3 {
    font-size: clamp(18px, calc(18px + 6 * ((100vw - 320px) / 447)), 24px);
  }
  .feature-panel__item > p:last-child { font-size: 16px; }
  .page-news-detail .news-detail { order: 1; }
  .page-news-detail .news-sidebar {
    order: 2;
    margin-top: 40px;
  }
  .pager {
    padding-top: 20px;
  }
  .pager__link--prev::before,
  .pager__link--next::after {
    font-size: 18px;
  }
  .concern-card h3 { font-size: 18px; }
  .about-split__content,
  .business-split__content { font-size: 16px; }
  .insurer-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
    justify-content: center;
  }
  .insurer-grid__item { margin-inline: auto; }
  .company-philosophy__text { font-size: 21px; }
  .company-philosophy__panel {
    min-height: auto;
    overflow: visible;
  }
  .company-philosophy__text {
    max-width: none;
    padding: 0;
  }
  .company-philosophy__image {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 220px;
    margin-top: 24px;
  }
  .company-message::before {
    top: 148px;
    height: calc(100% - 148px);
  }
  .company-message__inner {
    gap: 24px;
    align-items: start;
  }
  .company-message__avatar {
    order: 2;
    display: grid;
    grid-template-columns: clamp(133px, 42vw, 190px) 1fr;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
  }
  .company-message__content { order: 1; }
  .company-message__avatar img {
    width: 100%;
    margin: 0;
  }
  .company-message__avatar p {
    width: auto;
    margin: 0;
    align-self: center;
    text-align: left;
    font-size: clamp(12px, calc(12px + 4 * ((100vw - 320px) / 447)), 16px);
    line-height: 1.5;
  }
  .company-message__company,
  .company-message__role,
  .company-message__avatar strong { white-space: nowrap; }
  .company-message__avatar strong {
    font-size: clamp(21px, calc(21px + 9 * ((100vw - 320px) / 447)), 30px);
  }
  .guideline-box { padding: 22px 20px; }
  .profile-table-wrap__watermark { width: 360px; right: -12px; }
  .insurance-anchor-list a { width: 100%; }
  .chip-list {
    gap: 10px;
  }
  .chip-list span {
    width: calc(50% - 5px);
    padding: 10px 8px;
    font-size: clamp(13px, calc(13px + 5 * ((100vw - 320px) / 447)), 18px);
    white-space: nowrap;
  }
  .service-card {
    min-height: 0;
  }
  .service-card img {
    width: 150px;
    height: 110px;
  }
  .insurance-examples__items,
  .form-check-list {
    justify-content: flex-start;
  }
  .profile-table th,
  .profile-table td,
  .recruit-card th,
  .recruit-card td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  .recruit-card tr,
  .profile-table tr { display: block; padding: 0 10px; }
  .recruit-card th,
  .profile-table th { border-bottom: 0; padding-bottom: 4px; }
  .news-sidebar h2 { font-size: 28px; }
  .news-row h2,
  .news-row h3 { font-size: clamp(22px, calc(22px + 6 * ((100vw - 320px) / 447)), 28px); }
  .news-detail h1 { font-size: 28px; }
  .news-row__meta,
  .news-sidebar a,
  .pager a { font-size: 16px; }
  .contact-form__submit {
    width: min(100%, 300px);
    min-height: 68px;
    padding: 0 62px 0 24px;
    font-size: 18px;
  }
  .contact-form__submit::after {
    right: 20px;
    width: 40px;
  }
  .footer-cta {
    min-height: auto;
  }
  .footer-cta__inner {
    min-height: auto;
    gap: 28px;
    padding: 72px 0;
  }
  .footer-cta__eyebrow { font-size: 28px; }
  .footer-cta__tel {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-cta__tel-label { font-size: 24px; }
  .footer-cta__tel-number { font-size: 40px; }
  .footer-cta__button {
    width: min(100%, 360px);
    min-width: 0;
    min-height: 68px;
    padding: 0 58px 0 22px;
    font-size: clamp(15px, calc(15px + 3 * ((100vw - 320px) / 447)), 18px);
    white-space: nowrap;
  }
  .footer-cta__button::after {
    right: 16px;
    width: 32px;
  }
  .scroll-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .scroll-top::before,
  .scroll-top::after { top: 24px; }
  .scroll-top::before { left: 15px; }
  .scroll-top::after { right: 15px; }
}

@media (max-width: 782px) {
  html.admin-bar,
  body.admin-bar {
    --wp-admin-bar-height: 46px;
  }
}
