/* Shared lower-page styles based on public_html/index.html */
:root {
  --ink: #10233f;
  --ink-soft: #415067;
  --navy: #062a52;
  --navy-deep: #031b37;
  --blue: #0b5dad;
  --blue-soft: #eaf4ff;
  --blue-pale: #f5faff;
  --green: #4f9a63;
  --line: #d7e3ef;
  --paper: #ffffff;
  --paper-soft: #f7fbff;
  --shadow: 0 18px 45px rgba(15, 55, 98, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(113, 178, 225, 0.18), transparent 28%),
    linear-gradient(180deg, #f4f9ff 0%, #ffffff 42%, #eef6ff 100%);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", Meiryo, serif;
  line-height: 1.8;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin-top: 0;
}

.site-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  overflow: clip;
  background: #fff;
  box-shadow: 0 24px 70px rgba(11, 61, 110, 0.1);
}

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

.footer-links a,
.text-link {
  position: relative;
}

.footer-links a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform 0.18s ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 1.35;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(6, 42, 82, 0.2);
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--navy);
  border-color: #b8cde3;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 60px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0, rgba(242, 249, 254, 0.58) 58px, rgba(232, 245, 253, 0) 138px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0 42%, rgba(232, 245, 253, 0.9) 42% 100%),
    radial-gradient(circle at 16% 18%, rgba(113, 178, 225, 0.24), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(180, 215, 239, 0.36), transparent 32%),
    var(--paper-soft);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -190px 42%;
  z-index: 0;
  height: 420px;
  background: linear-gradient(90deg, rgba(221, 238, 252, 0.18), rgba(178, 216, 241, 0.62));
  border-top-left-radius: 64% 100%;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.35;
}

.lead {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 1.05rem;
  line-height: 2;
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 28px 26px;
  border: 1px solid rgba(184, 205, 227, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 32px rgba(11, 61, 110, 0.1);
}

.hero-panel h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-family: "Yu Gothic", Meiryo, sans-serif;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.breadcrumb-wrap {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  color: var(--ink-soft);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.92rem;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: #7d8ca3;
}

.section {
  padding: 72px 0;
}

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

.section-head {
  margin-bottom: 30px;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  font-weight: 600;
  line-height: 1.45;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.card h3 {
  text-align: center;
}

.card h3,
.card p,
.card li {
  line-break: strict;
  word-break: auto-phrase;
}

.section-lead,
.card p,
.card li,
.info-list,
.note-list,
.faq-item p,
.table-wrap table,
.split-block p {
  color: var(--ink-soft);
  font-family: "Yu Gothic", Meiryo, sans-serif;
}

.grid-2,
.grid-3,
.grid-4,
.flow-grid,
.faq-grid,
.office-grid,
.cta-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.faq-grid {
  max-width: 920px;
  margin: 0 auto;
}

.office-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: stretch;
}

.cta-grid {
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(11, 61, 110, 0.1);
}

.card-body,
.feature-card,
.flow-card,
.faq-item,
.panel-card,
.office-card,
.table-card {
  padding: 28px 24px;
}

.feature-card,
.flow-card,
.panel-card {
  height: 100%;
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label,
.privacy-check {
  color: var(--ink);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd8e5;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.privacy-check input:focus-visible {
  outline: 3px solid rgba(11, 93, 173, 0.28);
  outline-offset: 3px;
  border-color: var(--blue);
}

.required-label,
.optional-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
}

.required-label {
  background: #e9f4ef;
  color: #18633b;
}

.optional-label {
  background: #eef4fb;
  color: #52677b;
}

.privacy-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce6ec;
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.privacy-check input {
  width: 20px;
  height: 20px;
  margin-top: 5px;
}

.privacy-check a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.form-actions .button,
.form-actions button {
  min-width: 180px;
  min-height: 48px;
  cursor: pointer;
}

.field-error {
  margin: 0;
  color: #b42318;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-error-summary,
.form-success {
  margin-bottom: 24px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  font-family: "Yu Gothic", Meiryo, sans-serif;
}

.form-error-summary {
  border: 1px solid #f0b8b3;
  background: #fff7f6;
}

.form-success {
  border: 1px solid #bcdcca;
  background: #f3fbf6;
}

.form-error-summary h3,
.form-success h3 {
  margin-bottom: 10px;
}

.honeypot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-content {
  display: grid;
  gap: 24px;
}

.privacy-content > section {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.privacy-content h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Yu Gothic", Meiryo, sans-serif;
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-weight: 800;
}

.service-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 18px;
}

.card-image-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.service-list,
.check-list,
.note-list,
.info-list,
.plain-list {
  margin: 0;
  padding-left: 1.2em;
}

.plain-list li + li,
.service-list li + li,
.check-list li + li,
.note-list li + li {
  margin-top: 8px;
}

.mini-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.works-service-grid {
  align-items: stretch;
}

.works-service-card {
  display: flex;
  flex-direction: column;
  padding: 30px 24px 26px;
  border-color: rgba(183, 211, 232, 0.82);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 12px 26px rgba(11, 61, 110, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.works-service-card:hover,
.works-service-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(11, 93, 173, 0.3);
  box-shadow: 0 16px 32px rgba(11, 61, 110, 0.11);
}

.works-service-card .works-service-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  padding: 8px;
  border: 1px solid rgba(183, 211, 232, 0.82);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f3f9ff);
  box-shadow: 0 8px 18px rgba(11, 61, 110, 0.07);
}

.works-service-card h3 {
  min-height: 3.4em;
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.45;
  text-wrap: balance;
}

.works-service-card p {
  margin-bottom: 0;
  line-height: 1.85;
}

.works-service-card .mini-links {
  margin-top: auto;
  padding-top: 18px;
}

.works-service-card .text-link {
  width: fit-content;
  max-width: 100%;
  line-height: 1.55;
}

.contact-hero .hero-panel {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 249, 0.9)),
    #fff;
}

.contact-hero-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(11, 61, 110, 0.08));
}

.contact-hero .hero-panel ul {
  width: 100%;
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
  text-align: left;
}

.contact-hero .hero-panel li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid rgba(195, 218, 235, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-hero .hero-panel li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.contact-prepare-grid {
  align-items: stretch;
}

.contact-info-card,
.contact-flow-card {
  border-color: rgba(183, 211, 232, 0.84);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 12px 28px rgba(11, 61, 110, 0.08);
}

.contact-info-card {
  display: flex;
  flex-direction: column;
}

.contact-info-card-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  padding: 7px;
  border: 1px solid rgba(197, 221, 238, 0.88);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f2f9ff);
  object-fit: contain;
}

.contact-info-card h3,
.contact-flow-card h3 {
  color: var(--navy);
}

.contact-info-card .plain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.contact-note-card .plain-list {
  grid-template-columns: 1fr;
}

.contact-info-card .plain-list li {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding: 8px 10px 8px 28px;
  border: 1px solid rgba(215, 227, 239, 0.9);
  border-radius: 8px;
  background: #fff;
  line-height: 1.55;
}

.contact-info-card .plain-list li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

.contact-flow-card {
  text-align: center;
}

.contact-flow-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-flow-media .flow-number {
  flex: 0 0 auto;
  margin-bottom: 0;
  background: var(--blue);
}

.contact-flow-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.about-hero .hero-panel {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 252, 248, 0.9)),
    #fff;
}

.about-hero-icon {
  width: 94px;
  height: 94px;
  margin-bottom: 14px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(11, 61, 110, 0.08));
}

.about-hero .hero-panel ul {
  width: 100%;
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
  text-align: left;
}

.about-hero .hero-panel li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid rgba(195, 218, 235, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.about-hero .hero-panel li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.about-policy-grid,
.about-before-grid,
.about-point-grid,
.about-region-grid {
  align-items: stretch;
}

.about-policy-card,
.about-before-card,
.about-point-card,
.about-region-card,
.about-office-info-card {
  border-color: rgba(183, 211, 232, 0.84);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 12px 28px rgba(11, 61, 110, 0.08);
}

.about-policy-card,
.about-before-card {
  display: flex;
  flex-direction: column;
}

.about-policy-card .card-image-icon,
.about-before-card .card-image-icon {
  width: 78px;
  height: 78px;
  padding: 7px;
  border: 1px solid rgba(197, 221, 238, 0.88);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f2f9ff);
}

.about-policy-card h3,
.about-before-card h3,
.about-point-card h3,
.about-region-card h3,
.about-office-info-card h3 {
  color: var(--navy);
}

.about-point-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.about-point-card h3,
.about-point-card p {
  grid-column: 2;
}

.about-point-card h3 {
  text-align: left;
}

.about-point-icon {
  grid-row: 1 / span 2;
  width: 72px;
  height: 72px;
  padding: 7px;
  border: 1px solid rgba(197, 221, 238, 0.88);
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
}

.about-consult-box {
  position: relative;
  padding: 30px 32px 30px 138px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 247, 0.94)),
    #fff;
}

.about-consult-icon {
  position: absolute;
  left: 30px;
  top: 30px;
  width: 82px;
  height: 82px;
  padding: 8px;
  border: 1px solid rgba(197, 221, 238, 0.88);
  border-radius: 22px;
  background: #fff;
  object-fit: contain;
}

.about-consult-box .plain-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.about-consult-box .plain-list li {
  position: relative;
  padding-left: 24px;
}

.about-consult-box .plain-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.about-region-card {
  display: flex;
  flex-direction: column;
}

.about-region-card .mini-links {
  margin-top: auto;
  padding-top: 18px;
}

.about-office-grid {
  align-items: stretch;
}

.about-office-info-stack,
.about-office-visual-stack {
  display: grid;
  gap: 18px;
}

.about-office-info-card {
  position: relative;
  padding-top: 30px;
}

.about-office-card-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  padding: 6px;
  border: 1px solid rgba(197, 221, 238, 0.88);
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}

.about-office-info-card .office-list {
  padding: 4px 0;
}

.about-office-info-card .office-list div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(215, 227, 239, 0.72);
}

.about-office-info-card .office-list div:last-child {
  border-bottom: 0;
}

.about-office-visual-stack .office-photo,
.about-office-visual-stack .office-image-card {
  min-height: 300px;
}

.about-map-placeholder {
  min-height: 190px;
  border-color: rgba(183, 211, 232, 0.84);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(79, 154, 99, 0.09) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 0 48%, rgba(11, 93, 173, 0.1) 49% 51%, transparent 52%),
    #f3f9ff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-weight: 700;
}

.accent-box {
  padding: 24px;
  border: 1px solid #cfe0f0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f4f9ff, #fff);
}

.accent-box strong,
.stat-label,
.price-label {
  color: var(--navy);
  font-family: "Yu Gothic", Meiryo, sans-serif;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

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

.table-wrap th {
  width: 28%;
  color: var(--navy);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-weight: 800;
  background: #f8fbff;
}

.faq-item summary {
  cursor: pointer;
  color: var(--navy);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-weight: 800;
}

.faq-item p {
  margin: 14px 0 0;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--blue);
}

.faq-item[open] summary::after {
  content: "-";
}

.flow-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.wide-cta {
  padding: 0 0 72px;
}

.cta-panel {
  padding: 34px 40px;
  border: 1px solid #c9dfcf;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(246, 252, 247, 0.94)),
    #fff;
  box-shadow: 0 16px 38px rgba(55, 116, 72, 0.14);
}

.free-badge {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6fad71, #3f874f);
  color: #fff;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 24px rgba(63, 135, 79, 0.2);
}

.phone-large {
  color: var(--navy);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.cta-actions {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.office-card {
  display: grid;
  gap: 18px;
}

.office-photo {
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    #dceaf6;
  color: var(--navy);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  text-align: center;
}

.office-image-card {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  background: #fff;
}

.office-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.office-image-card figcaption {
  align-self: end;
  padding: 8px 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.86);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.82rem;
}

.office-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.office-list div {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr);
  gap: 14px;
}

.office-list dt {
  color: var(--navy);
  font-weight: 800;
}

.office-list dd {
  margin: 0;
}

.map-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(11, 93, 173, 0.1) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 0 48%, rgba(11, 93, 173, 0.1) 49% 51%, transparent 52%),
    #eef6ff;
  color: var(--navy);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  font-family: "Yu Gothic", Meiryo, sans-serif;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, auto) minmax(240px, auto);
  gap: 34px;
  padding: 42px 0 30px;
}

.footer-brand strong {
  display: block;
  font-size: 1.05rem;
}

.footer-brand small,
.footer-inner p,
.footer-inner a {
  color: #d4e5f7;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-contact {
  text-align: right;
}

.copyright {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #bad2ec;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1040px) {
  .office-grid,
  .footer-inner,
  .cta-grid,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }

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

@media (max-width: 1180px) {
  .works-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: 100%;
    box-shadow: none;
  }

  .container {
    width: min(100% - 26px, 1120px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    overflow-wrap: anywhere;
    font-size: clamp(1.75rem, 7vw, 2.05rem);
  }

  .page-hero {
    padding: 42px 0 52px;
  }

  .page-hero::after {
    inset: auto -25% -140px 30%;
    height: 300px;
  }

  .section {
    padding: 54px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .service-icon {
    width: 64px;
    height: 64px;
  }

  .works-service-card {
    padding: 26px 22px 24px;
  }

  .works-service-card .works-service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
    border-radius: 20px;
  }

  .works-service-card h3 {
    min-height: 0;
  }

  .contact-hero-icon {
    width: 78px;
    height: 78px;
  }

  .contact-info-card {
    padding: 24px 18px;
  }

  .contact-info-card .plain-list {
    grid-template-columns: 1fr;
  }

  .contact-flow-icon {
    width: 52px;
    height: 52px;
  }

  .about-hero-icon {
    width: 76px;
    height: 76px;
  }

  .about-policy-card .card-image-icon,
  .about-before-card .card-image-icon {
    width: 68px;
    height: 68px;
  }

  .about-point-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 18px;
    text-align: center;
  }

  .about-point-card h3,
  .about-point-card p {
    grid-column: auto;
  }

  .about-point-card h3 {
    text-align: center;
  }

  .about-point-icon {
    grid-row: auto;
    margin: 0 auto;
  }

  .about-consult-box {
    padding: 24px 18px;
  }

  .about-consult-icon {
    position: static;
    margin: 0 auto 16px;
  }

  .about-office-card-icon {
    width: 56px;
    height: 56px;
  }

  .card-image-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }

  .office-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-panel {
    padding: 28px 22px;
  }

  .free-badge {
    width: 108px;
    height: 108px;
  }

  .cta-actions {
    min-width: 0;
  }
}

/* General service lower pages */
.general-lower {
  color: #163451;
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

.general-lower [id] {
  scroll-margin-top: 144px;
}

.general-lower .wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.general-lower .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  transition: 0.2s;
}

.general-lower .button:hover,
.general-lower .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 108, 126, 0.2);
}

.general-lower .primary,
.general-lower .button.primary {
  background: linear-gradient(135deg, #087789, #168ea0);
  color: #fff;
}

.general-lower .secondary,
.general-lower .button.secondary {
  color: #087789;
  background: #fff;
  border-color: #168ea0;
}

.general-lower .breadcrumb-wrap {
  background: #f8fbfc;
  border-bottom: 1px solid #dce6ec;
}

.general-lower .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  color: #52677b;
  font-size: 0.82rem;
}

.general-lower .breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #8aa0b2;
}

.general-lower .lower-hero {
  background: linear-gradient(90deg, #fff 0%, #fff 48%, #edf5f7 48%, #edf5f7 100%);
}

.general-lower .lower-hero-inner {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0;
}

.general-lower .lower-hero h1 {
  margin: 24px 0 18px;
  color: #082b51;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.1rem, 3.25vw, 3.15rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.general-lower .lower-lead,
.general-lower .section p,
.general-lower .info-card p,
.general-lower .purpose-card p,
.general-lower .step-card p,
.general-lower .faq-item p,
.general-lower td,
.general-lower li {
  color: #52677b;
}

.general-lower .lower-lead {
  max-width: 720px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
}

.general-lower .hero-panel {
  padding: 28px;
  border: 1px solid #dce6ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(20, 56, 82, 0.09);
}

.general-lower .summary-panel h2 {
  margin-bottom: 16px;
  color: #10365b;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.35rem;
}

.general-lower .summary-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.general-lower .summary-panel li,
.general-lower .check-list li,
.general-lower .note-list li {
  position: relative;
  padding-left: 24px;
}

.general-lower .summary-panel li::before,
.general-lower .check-list li::before,
.general-lower .note-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #168ea0;
}

.general-lower .section {
  padding: 64px 0;
}

.general-lower .section-soft {
  background: linear-gradient(90deg, #f5f9f7, #f8fbfc);
}

.general-lower .section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.general-lower .section-heading p,
.general-lower .eyebrow {
  margin-bottom: 4px;
  color: #168ea0;
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.general-lower .section-heading h2,
.general-lower .section h2 {
  color: #082b51;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.58rem, 2.25vw, 1.95rem);
  line-height: 1.55;
  letter-spacing: 0;
}

.general-lower .section-heading h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin: 13px auto 0;
  background: #168ea0;
}

.general-lower .card-grid {
  display: grid;
  gap: 20px;
}

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

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

.general-lower .card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.general-lower .info-card,
.general-lower .step-card,
.general-lower .purpose-card,
.general-lower .notice-card,
.general-lower .accent-box,
.general-lower .faq-item {
  border: 1px solid #dce6ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 56, 82, 0.06);
}

.general-lower .info-card,
.general-lower .step-card,
.general-lower .purpose-card,
.general-lower .notice-card,
.general-lower .accent-box {
  padding: 26px 24px;
}

.general-lower .info-card h3,
.general-lower .step-card h3,
.general-lower .purpose-card h3,
.general-lower .notice-card h3,
.general-lower .accent-box h3 {
  margin-bottom: 12px;
  color: #10365b;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18rem;
  text-align: left;
}

.general-lower .fee-section-lead {
  max-width: 780px;
  margin: -12px auto 34px;
  text-align: center;
  font-size: 0.95rem;
}

.general-lower .fee-policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.general-lower .fee-policy-card,
.general-lower .fee-service-card {
  border: 1px solid #dce6ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 56, 82, 0.06);
}

.general-lower .fee-policy-card {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
}

.general-lower .fee-policy-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 30px;
  border-radius: 999px;
  background: #e8f5fb;
  color: #087789;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.general-lower .fee-policy-card h3 {
  margin: 0;
  color: #10365b;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.06rem;
}

.general-lower .fee-policy-card p {
  margin: 0;
  font-size: 0.86rem;
}

.general-lower .fee-service-group + .fee-service-group {
  margin-top: 46px;
}

.general-lower .fee-service-group > h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #10365b;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.26rem, 2vw, 1.52rem);
}

.general-lower .fee-service-group > h3::before {
  content: "";
  width: 36px;
  height: 2px;
  background: #168ea0;
}

.general-lower .fee-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.general-lower .fee-service-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  min-height: 300px;
  padding: 22px 20px;
}

.general-lower .fee-service-card__title {
  margin: 0;
  color: #10365b;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  line-height: 1.55;
}

.general-lower .fee-service-card__price-label {
  width: fit-content;
  margin: 2px 0 -3px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #edf5f7;
  color: #087789;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.general-lower .fee-service-card__price {
  margin: 0;
  color: #082b51;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.36rem;
  font-weight: 700;
  line-height: 1.35;
}

.general-lower .fee-service-card__scope {
  margin: 0;
  font-size: 0.9rem;
}

.general-lower .fee-service-card__factors {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid #dce6ec;
  font-size: 0.82rem;
}

.general-lower .fee-service-card__factors strong {
  color: #10365b;
}

.general-lower .card-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #e8f5fb;
  color: #087789;
  font-family: Georgia, serif;
  font-weight: 700;
}

.general-lower .split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 34px;
  align-items: start;
}

.general-lower .check-list,
.general-lower .note-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.general-lower .note-list li::before {
  background: #5a9270;
}

.general-lower .comparison-table {
  border: 1px solid #dce6ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 56, 82, 0.06);
}

.general-lower .comparison-table table {
  min-width: 760px;
}

.general-lower .comparison-table th {
  color: #10365b;
  background: #f3f8fb;
  font-weight: 700;
}

.general-lower .purpose-card {
  background: linear-gradient(180deg, #fff 0%, #f7faf6 100%);
}

.general-lower .flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.general-lower .flow-list li {
  position: relative;
  min-height: 208px;
  padding: 24px 18px;
  border: 1px solid #dce6ec;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.general-lower .flow-list span,
.general-lower .flow-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #082b51;
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 700;
}

.general-lower .flow-list strong {
  display: block;
  margin-bottom: 10px;
  color: #10365b;
}

.general-lower .note-text {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 4px solid #168ea0;
  background: #f3f8fb;
}

.general-lower .faq-grid {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
  gap: 10px;
}

.general-lower .faq-item {
  padding: 0;
}

.general-lower .faq-item summary {
  cursor: pointer;
  padding: 17px 22px;
  color: #10365b;
  font-weight: 700;
  list-style: none;
}

.general-lower .faq-item summary::-webkit-details-marker {
  display: none;
}

.general-lower .faq-item summary::before {
  content: "Q";
  margin-right: 14px;
  color: #10365b;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.general-lower .faq-item summary::after {
  content: "+";
  float: right;
  color: #168ea0;
}

.general-lower .faq-item[open] summary::after {
  content: "-";
}

.general-lower .faq-item p {
  margin: 0;
  padding: 17px 25px 20px 55px;
  background: #f3f8fb;
}

.general-lower .final-cta {
  padding: 42px 0;
  text-align: center;
  background: linear-gradient(90deg, #e8f5fb, #f3fbf8);
}

.general-lower .final-cta h2 {
  margin-bottom: 5px;
  color: #082b51;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.7rem;
}

.general-lower .final-cta p {
  max-width: 760px;
  margin-inline: auto;
  font-size: 0.88rem;
}

.general-lower .final-cta .wrap > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 18px;
}

.general-lower .cta-phone {
  display: flex;
  flex-direction: column;
  color: #082b51;
  font: 700 1.75rem Georgia, serif;
}

.general-lower .cta-phone small {
  font: 400 0.7rem "Yu Gothic", sans-serif;
}

.general-lower .site-footer {
  padding: 35px 0 12px;
  background: #082b51;
  color: #fff;
}

.general-lower .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0;
}

.general-lower .footer-inner strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.general-lower .footer-inner p {
  font-size: 0.75rem;
  color: #d6e1eb;
}

.general-lower .footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
}

.general-lower .footer-pending {
  color: #b8cad9;
}

.general-lower .copyright {
  margin: 25px 0 0;
  padding: 0;
  border-top: 0;
  color: #b8cad9;
  text-align: center;
  font-size: 0.67rem;
}

@media (max-width: 1100px) {
  .general-lower .lower-hero-inner,
  .general-lower .split-layout {
    grid-template-columns: 1fr;
  }

  .general-lower .card-grid.three,
  .general-lower .card-grid.four,
  .general-lower .fee-policy-grid,
  .general-lower .fee-service-grid,
  .general-lower .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .general-lower .wrap {
    width: min(100% - 28px, 1180px);
  }

  .general-lower .lower-hero {
    background: #fff;
  }

  .general-lower .lower-hero-inner {
    min-height: auto;
    gap: 24px;
    padding: 38px 0 46px;
  }

  .general-lower .lower-hero h1 {
    font-size: 1.78rem;
    line-height: 1.45;
  }

  .general-lower .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .general-lower .section {
    padding: 48px 0;
  }

  .general-lower .card-grid.two,
  .general-lower .card-grid.three,
  .general-lower .card-grid.four,
  .general-lower .fee-policy-grid,
  .general-lower .fee-service-grid,
  .general-lower .flow-list {
    grid-template-columns: 1fr;
  }

  .general-lower .fee-service-card {
    min-height: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .button,
  .form-actions button {
    width: 100%;
  }

  .general-lower .comparison-table table {
    min-width: 680px;
  }

  .general-lower .final-cta .wrap > div,
  .general-lower .footer-inner {
    flex-direction: column;
  }

  .general-lower .footer-inner nav {
    gap: 12px;
  }
}

/* Shared navigation shell for public lower pages */
body.lower-sidebar-layout {
  --lower-side-width: clamp(270px, 19.5vw, 290px);
  --lower-nav-navy: #0b2846;
  --lower-nav-green: #0b6249;
  --lower-nav-muted: #66736f;
  --lower-nav-line: #d7e2dc;
  min-width: 0;
}

.lower-sidebar-layout .lower-skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 120;
  padding: 10px 14px;
  transform: translateY(-150%);
  border: 2px solid var(--lower-nav-green);
  border-radius: 2px;
  background: #fff;
  color: var(--lower-nav-navy);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
}

.lower-sidebar-layout .lower-skip-link:focus {
  transform: translateY(0);
}

.lower-sidebar-layout .side-column {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  width: var(--lower-side-width);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  border-right: 1px solid var(--lower-nav-line);
  background-color: #f1f6f3;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.lower-sidebar-layout .side-column-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(18px, 2.4vh, 28px);
  height: 100%;
  min-height: 0;
  padding: clamp(24px, 3.2vh, 34px) clamp(20px, 2.2vw, 30px) clamp(24px, 3vh, 32px);
  overflow-y: auto;
  background-color: #f1f6f3;
  scrollbar-width: thin;
}

.lower-sidebar-layout .side-nav {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: repeat(8, minmax(56px, 1fr));
  border-top: 1px solid var(--lower-nav-line);
}

.lower-sidebar-layout .side-nav a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--lower-nav-line);
  color: var(--lower-nav-navy);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.lower-sidebar-layout .side-nav a:hover,
.lower-sidebar-layout .side-nav a:focus-visible,
.lower-sidebar-layout .side-nav a[aria-current="page"] {
  color: var(--lower-nav-green);
}

.lower-sidebar-layout .side-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--lower-nav-green);
}

.lower-sidebar-layout .side-nav span {
  color: var(--lower-nav-green);
  font-size: 0.92rem;
  text-align: center;
}

.lower-sidebar-layout .side-office-panel {
  display: grid;
  flex: 0 0 auto;
  gap: 16px;
  padding-top: clamp(18px, 2.6vh, 26px);
  border-top: 1px solid var(--lower-nav-line);
}

.lower-sidebar-layout .side-office-brand {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--lower-nav-navy);
}

.lower-sidebar-layout .side-office-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.lower-sidebar-layout .side-office-brand-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lower-sidebar-layout .side-office-name {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
}

.lower-sidebar-layout .side-office-tagline {
  color: var(--lower-nav-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.55;
}

.lower-sidebar-layout .side-office-contact {
  display: grid;
  gap: 7px;
}

.lower-sidebar-layout .side-office-phone {
  color: var(--lower-nav-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.lower-sidebar-layout .side-office-hours {
  color: var(--lower-nav-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.lower-sidebar-layout .side-office-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 16px;
  border: 1px solid var(--lower-nav-green);
  border-radius: 2px;
  background: var(--lower-nav-green);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.lower-sidebar-layout .side-office-contact-cta:hover,
.lower-sidebar-layout .side-office-contact-cta:focus-visible {
  background: #0a4c39;
}

.lower-sidebar-layout .mobile-header {
  display: none;
}

@media (min-width: 1181px) {
  .lower-sidebar-layout > .site-shell {
    width: auto;
    min-height: 100vh;
    margin: 0 0 0 var(--lower-side-width);
    overflow: clip;
    box-shadow: none;
  }

  .lower-sidebar-layout.general-lower > main,
  .lower-sidebar-layout.general-lower > footer {
    margin-left: var(--lower-side-width);
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .lower-sidebar-layout .page-hero-inner,
  .lower-sidebar-layout .office-grid,
  .lower-sidebar-layout .footer-inner,
  .lower-sidebar-layout .cta-grid,
  .lower-sidebar-layout.general-lower .lower-hero-inner,
  .lower-sidebar-layout.general-lower .split-layout {
    grid-template-columns: 1fr;
  }

  .lower-sidebar-layout.general-lower .card-grid.three,
  .lower-sidebar-layout.general-lower .card-grid.four,
  .lower-sidebar-layout.general-lower .fee-policy-grid,
  .lower-sidebar-layout.general-lower .fee-service-grid,
  .lower-sidebar-layout.general-lower .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .lower-sidebar-layout [id] {
    scroll-margin-top: 94px;
  }

  .lower-sidebar-layout .side-column {
    display: none;
  }

  .lower-sidebar-layout > .site-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 70px;
    overflow: clip;
    box-shadow: none;
  }

  .lower-sidebar-layout.general-lower > main {
    padding-top: 70px;
  }

  .lower-sidebar-layout.general-lower > footer {
    margin-left: 0;
  }

  .lower-sidebar-layout .mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--lower-nav-line);
    background: rgba(255, 255, 255, 0.98);
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  }

  .lower-sidebar-layout .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--lower-nav-navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 700;
  }

  .lower-sidebar-layout .mobile-brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
  }

  .lower-sidebar-layout .mobile-brand span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .lower-sidebar-layout .mobile-menu-button {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--lower-nav-green);
    border-radius: 2px;
    background: #fff;
    color: var(--lower-nav-green);
  }

  .lower-sidebar-layout .mobile-menu-button span {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .lower-sidebar-layout .mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .lower-sidebar-layout .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .lower-sidebar-layout .mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .lower-sidebar-layout .mobile-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    padding: 8px 20px 22px;
    overflow-y: auto;
    border-bottom: 1px solid var(--lower-nav-line);
    background: #fff;
    box-shadow: 0 12px 24px rgba(11, 40, 70, 0.08);
  }

  .lower-sidebar-layout .mobile-nav.is-open {
    display: grid;
  }

  body.lower-sidebar-layout.menu-open {
    overflow: hidden;
  }

  .lower-sidebar-layout .mobile-nav a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--lower-nav-line);
    color: var(--lower-nav-navy);
    font-weight: 700;
  }

  .lower-sidebar-layout .mobile-nav a[aria-current="page"] {
    padding-left: 10px;
    border-left: 3px solid var(--lower-nav-green);
    color: var(--lower-nav-green);
  }

  .lower-sidebar-layout .mobile-tel {
    display: grid;
    color: var(--lower-nav-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
  }

  .lower-sidebar-layout .mobile-tel span {
    color: var(--lower-nav-muted);
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 0.74rem;
  }
}

@media (max-width: 640px) {
  .lower-sidebar-layout .mobile-brand {
    max-width: calc(100% - 58px);
  }

  .lower-sidebar-layout .mobile-brand span {
    font-size: 0.92rem;
  }
}

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