/*
Theme Name: Urban Net Trust Site
Theme URI: https://example.com/
Author: Urban Net
Description: 株式会社アーヴァンネット向けの地域密着・専門相談型WordPressテーマです。
Version: 1.2.8
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: urban-net
*/

:root {
  --ink: #24323f;
  --muted: #687684;
  --line: #d9e0e7;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --brand: #00439a;
  --brand-dark: #002f6c;
  --accent: #ef7e00;
  --accent-soft: #fff1df;
  --shadow: 0 18px 40px rgba(36, 50, 63, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 224, 231, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: min(150px, 34vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  white-space: nowrap;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sub-nav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.sub-nav::before {
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
  content: "";
}

.nav-group:hover .sub-nav,
.nav-group:focus-within .sub-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sub-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
}

.sub-nav a:hover,
.sub-nav a:focus {
  background: var(--soft);
  color: var(--brand);
}

.nav-contact,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(0, 0, 0, 0.3);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    url("assets/images/hero-fallback.jpg") center / cover no-repeat,
    var(--brand-dark);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 72px 0;
  text-align: center;
}

.hero-copy {
  width: min(780px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.36);
}

.hero p {
  width: min(610px, 100%);
  margin: 0 auto 32px;
  color: #fff;
  font-size: 17px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.section {
  padding: 82px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
}

.section-lead {
  width: min(520px, 100%);
  margin: 0;
  color: var(--muted);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 50, 63, 0.06);
}

.service-card {
  padding: 26px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 900;
}

.service-card h3,
.property-card h3,
.reason-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.service-card p,
.reason-card p,
.property-card p {
  margin: 0;
  color: var(--muted);
}

.property-card {
  overflow: hidden;
}

.property-image {
  display: grid;
  place-items: end start;
  min-height: 190px;
  padding: 18px;
  background: linear-gradient(135deg, #dceae4, #f7ead8);
}

.property-image.house {
  background: linear-gradient(135deg, #d9e8f0, #f2e6d3);
}

.property-image.apartment {
  background: linear-gradient(135deg, #e5e0ef, #d7ece4);
}

.label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.property-body {
  padding: 22px;
}

.price {
  margin: 12px 0 0;
  color: var(--brand-dark);
  font-size: 22px;
  font-weight: 900;
}

.reason-card {
  padding: 26px;
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article-link strong {
  color: var(--ink);
}

.article-link span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e1ebe7, #f4ead9);
  color: var(--brand-dark);
  font-weight: 800;
  text-align: center;
}

.number {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.contact-band {
  padding: 52px 0;
  background: var(--brand-dark);
  color: #fff;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-inner h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.contact-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.tel {
  display: block;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
}

.hours {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-align: right;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.about-page {
  background: #fff;
}

.managed-page {
  background: #fff;
}

.managed-hero {
  padding: 86px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(239, 126, 0, 0.08), rgba(0, 67, 154, 0.1)),
    #fff;
}

.managed-hero-inner {
  width: min(980px, calc(100% - 32px));
}

.managed-hero h1 {
  width: min(760px, 100%);
  margin: 0 0 22px;
  color: var(--brand-dark);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.22;
  letter-spacing: 0;
}

.managed-hero p {
  width: min(780px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.managed-section {
  padding: 76px 0;
}

.managed-content {
  width: min(880px, calc(100% - 32px));
}

.managed-content > *:first-child {
  margin-top: 0;
}

.managed-content h2 {
  position: relative;
  margin: 58px 0 20px;
  padding-top: 4px;
  color: var(--brand-dark);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.38;
}

.managed-content h2::before {
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  content: "";
}

.managed-content h3 {
  margin: 34px 0 12px;
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.45;
}

.managed-content p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 2;
}

.managed-content ul,
.managed-content ol {
  margin: 0 0 24px;
  padding-left: 1.4em;
}

.managed-content li {
  margin: 8px 0;
  line-height: 1.9;
}

.managed-content .wp-block-group,
.managed-content .wp-block-columns,
.managed-content .wp-block-table,
.managed-empty {
  margin: 24px 0;
}

.managed-content .wp-block-group,
.managed-empty {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 50, 63, 0.05);
}

.managed-content .wp-block-table {
  overflow-x: auto;
}

.managed-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}

.managed-content th,
.managed-content td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.managed-content th {
  width: 180px;
  background: #f7faff;
  color: var(--brand-dark);
  font-weight: 800;
}

.managed-content .wp-block-button__link {
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.about-hero {
  padding: 86px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(239, 126, 0, 0.08), rgba(0, 67, 154, 0.1)),
    #fff;
}

.about-hero-inner {
  width: min(980px, calc(100% - 32px));
}

.about-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.about-hero h1 {
  width: min(760px, 100%);
  margin: 0 0 22px;
  color: var(--brand-dark);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.22;
  letter-spacing: 0;
}

.about-hero p {
  width: min(760px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.about-section {
  padding: 82px 0;
}

.about-section + .about-section {
  border-top: 1px solid var(--line);
}

.about-policy,
.about-company {
  background: #fff;
}

.about-career {
  background: var(--soft);
}

.about-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.about-section-label {
  position: sticky;
  top: 112px;
}

.about-section-label span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-section-label h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 28px;
  line-height: 1.35;
}

.about-section-label::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  content: "";
}

.about-prose {
  width: min(790px, 100%);
}

.about-prose p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 2.05;
}

.about-prose p + p {
  margin-top: 18px;
}

.profile-card,
.timeline-item,
.skill-panel,
.company-table,
.principle-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 50, 63, 0.05);
}

.profile-card {
  padding: 30px;
}

.profile-role {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.profile-card h3,
.timeline-item h3,
.skill-panel h3,
.principle-card h3 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 22px;
}

.profile-card p,
.timeline-item p,
.principle-card p {
  margin: 0;
  color: var(--muted);
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 6px 10px;
  border: 1px solid rgba(0, 67, 154, 0.18);
  border-radius: 999px;
  background: #f7faff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.career-timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.timeline-item {
  position: relative;
  padding: 24px 26px 24px 34px;
}

.timeline-item::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 16px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.timeline-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.skill-panel {
  margin-top: 18px;
  padding: 26px;
}

.skill-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
}

.skill-panel li::before {
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.company-table {
  overflow: hidden;
}

.company-table dl {
  margin: 0;
}

.company-table div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 18px 22px;
}

.company-table dt {
  background: #f7faff;
  color: var(--brand-dark);
  font-weight: 800;
}

.company-table dd {
  color: var(--ink);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.principle-card {
  padding: 26px;
}

.service-page {
  background: #fff;
}

.service-hero {
  padding: 86px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(239, 126, 0, 0.08), rgba(0, 67, 154, 0.1)),
    #fff;
}

.service-hero-inner {
  width: min(980px, calc(100% - 32px));
}

.service-hero h1 {
  width: min(760px, 100%);
  margin: 0 0 22px;
  color: var(--brand-dark);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.22;
  letter-spacing: 0;
}

.service-hero p {
  width: min(780px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.service-section {
  padding: 82px 0;
}

.service-section + .service-section {
  border-top: 1px solid var(--line);
}

.service-soft {
  background: var(--soft);
}

.service-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.service-consult-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-topic-card,
.service-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 50, 63, 0.05);
}

.service-topic-card {
  padding: 24px;
}

.service-topic-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.service-topic-card h3,
.service-step h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.45;
}

.service-topic-card p,
.service-step p {
  margin: 0;
  color: var(--muted);
}

.service-steps {
  display: grid;
  gap: 14px;
}

.service-step {
  position: relative;
  padding: 24px 26px 24px 76px;
}

.service-step span {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.service-field-panel {
  margin-top: 0;
}

.service-closing {
  background: #fff;
}

.service-closing-inner {
  width: min(820px, calc(100% - 32px));
  text-align: center;
}

.service-closing h2 {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}

.service-closing p {
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 820px) {
  .header-inner,
  .section-head,
  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-hero {
    padding: 58px 0 52px;
  }

  .managed-hero {
    padding: 58px 0 52px;
  }

  .managed-section {
    padding: 54px 0;
  }

  .managed-content h2 {
    margin-top: 42px;
  }

  .managed-content .wp-block-group,
  .managed-empty {
    padding: 22px;
  }

  .managed-content th,
  .managed-content td {
    display: block;
    width: 100%;
    padding: 13px 16px;
  }

  .about-section {
    padding: 58px 0;
  }

  .service-hero {
    padding: 58px 0 52px;
  }

  .service-section {
    padding: 58px 0;
  }

  .about-layout,
  .service-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-section-label {
    position: static;
  }

  .about-prose p {
    font-size: 15px;
    line-height: 1.95;
  }

  .profile-card,
  .timeline-item,
  .skill-panel,
  .principle-card {
    padding: 22px;
  }

  .skill-panel ul,
  .principle-grid,
  .service-consult-grid {
    grid-template-columns: 1fr;
  }

  .section-actions {
    justify-content: flex-start;
  }

  .section-actions .button {
    width: 100%;
  }

  .service-step {
    padding: 22px 22px 22px 68px;
  }

  .service-step span {
    top: 22px;
    left: 22px;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }

  .company-table dt,
  .company-table dd {
    padding: 14px 18px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-group {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .sub-nav {
    position: static;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .sub-nav a {
    padding: 4px 0;
    color: var(--muted);
  }

  .brand-logo {
    width: min(132px, 58vw);
  }

  .nav-contact {
    width: 100%;
  }

  .hero-inner {
    min-height: auto;
    padding: 58px 0 70px;
  }

  .hero-video {
    display: none;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .tel,
  .hours {
    text-align: left;
  }

  .article-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
