/*
 * Landz テーマのデザイン・レイアウト用スタイル（フロントで読み込み）
 * 見た目の調整は原則このファイルに記述する（style.css はテーマ情報ヘッダーのみ）
 */
/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #c16c26;
  --color-text: #332c25;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f6f1;
  --color-border: #e2e8f0;
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-heading: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --header-height: 132px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  html {
    overflow-x: clip;
  }
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark, #a75e21);
}

ul,
ol {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100%;
}

.site-main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  padding-block: 3rem;
}

/* ===== Front Page: Main Visual ===== */
.front-page-main {
  padding-block: 0;
  min-width: 0;
  max-width: 100%;
}

.top-main-visual {
  --mv-block-padding: clamp(2rem, 5vw, 3.2rem);
  --mv-header-offset: 132px;
  position: relative;
  overflow: hidden;
  background: #f4f4ef;
  min-height: calc(100vh - var(--mv-header-offset));
  padding: var(--mv-block-padding) 0;
}

.top-main-visual__brown {
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 86vw, 1160px);
  height: calc(100vh - var(--mv-header-offset));
  background: var(--color-text);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.top-main-visual__image {
  position: relative;
  z-index: 1;
  width: min(90vw, 100%);
  min-height: calc(100vh - var(--mv-header-offset) - (var(--mv-block-padding) * 2));
  margin-left: auto;
  overflow: hidden;
}

.top-main-visual__image .landz-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.top-main-visual__catch {
  position: absolute;
  left: clamp(1rem, 3.6vw, 2.4rem);
  top: 50%;
  transform: translateY(-52%);
  z-index: 3;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(29px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 0 0 10px #000000;
}

/* ===== Front Page: Message ===== */
.top-message {
  position: relative;
  background: #f9f8f3;
  padding: clamp(3rem, 6vw, 70px) 0 7rem;
  overflow: hidden;
}

.top-message__layout {
  width: min(100%, 1216px);
  max-width: 1216px;
  margin-inline: auto;
  display: grid;
  /* 広い時は最大594px、狭い時はコンテナに合わせて左列が縮む */
  grid-template-columns: minmax(0, min(594px, 50%)) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}

.top-message__media {
  position: relative;
  min-width: 0;
  min-height: clamp(300px, 43vw, 500px);
}

.top-message__image {
  position: absolute;
  overflow: hidden;
}

.top-message__image .landz-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-message__image--main {
  top: 0;
  right: 0;
  width: 80%;
  aspect-ratio: 4 / 3.22;
}

.top-message__image--sub {
  left: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1 / 1;
}

.top-message__content {
  min-width: 0;
  padding-top: clamp(0.4rem, 1.5vw, 1rem);
}

.top-message__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 18px;
}

.top-message__body {
  color: var(--color-text);
  font-size: clamp(1rem, 1.3vw, 1.95rem);
  font-weight: 700;
  line-height: 2;
}

.top-message__body p+p {
  margin-top: 0.8em;
}

.top-message__body p {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
}

/* ===== Front Page: Concerns ===== */
.top-concerns {
  position: relative;
  overflow-x: clip;
  padding: clamp(3rem, 5.5vw, 4.5rem) 0 0;
}

.top-concerns__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.top-concerns__bg .landz-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-concerns::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .8);
  z-index: 1;
}

.top-concerns__thumb {
  position: absolute;
  top: -7%;
  right: 32px;
  width: clamp(130px, 20vw, 220px);
  aspect-ratio: 1 / 1;
  z-index: 3;
}

.top-concerns__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-concerns__inner {
  position: relative;
  z-index: 4;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 11rem;
  padding-inline: var(--container-padding);
  box-sizing: border-box;
}

.top-concerns__label {
  display: inline-block;
  background: var(--color-text);
  color: #fff;
  padding: 0.48rem 1.5rem;
  font-size: clamp(14px, 2vw, 18px);
  font-family: var(--font-heading);
}

.top-concerns__title-wrap {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

.top-concerns__title {
  margin-top: 0.95rem;
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.top-concerns__title-accent {
  color: var(--color-primary);
}

.top-concerns__title-line {
  --line-color: var(--color-text);
  width: 100%;
  height: 14px;
  margin: 0.45rem 0 0;
  position: relative;
}

.top-concerns__title-line::before,
.top-concerns__title-line::after {
  content: "";
  position: absolute;
  top: 6px;
  height: 1px;
  background: var(--line-color);
}

.top-concerns__title-line::before {
  left: 0;
  width: calc(50% - 24px);
}

.top-concerns__title-line::after {
  right: 0;
  width: calc(53% - 2.9%);
}

.top-concerns__title-line i {
  position: absolute;
  left: 50%;
  top: 6px;
  /* width: 26px;
  height: 9px; */
  transform: translateX(-50%);
}

.top-concerns__title-line i::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 1px;
  background: var(--line-color);
}

.top-concerns__title-line i::after {
  right: 0;
  transform: rotate(-40deg);
  transform-origin: right center;
}

.top-concerns__panel-wrap {
  margin: 2.1rem auto 0;
  width: min(100%, 940px);
  max-width: 940px;
  position: relative;
  padding-inline: var(--container-padding);
  box-sizing: border-box;
}

.top-concerns__panel {
  background: #f4f4ef;
  border: 1px solid #7b7b7b;
  padding: 1.6rem 1.5rem 4rem;
  text-align: left;
}

.top-concerns__panel-chip {
  width: fit-content;
  margin-inline: auto;
  border: 1px solid var(--color-text);
  background: var(--color-bg);
  padding: 0.48rem 1.5rem;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 700;
  font-family: var(--font-heading);
}

.top-concerns__panel-foot {
  display: inline-table;
  width: auto;
  max-width: calc(100% - 1.5rem);
  border: 1px solid var(--color-text);
  background: var(--color-bg);
  padding: 0.48rem 1.5rem;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  font-family: var(--font-heading);
  position: absolute;
  bottom: -4%;
  left: 0;
  right: 0;
  margin-inline: auto;
}

.top-concerns__panel-foot-break {
  display: none;
}

.top-concerns__panel-chip {
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
}

.top-concerns__panel-image {
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, #becdca 0%, #eff3ef 50%, #cad6da 100%);
  overflow: hidden;
}

.top-concerns__panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-concerns__list {
  width: min(100%, 580px);
  margin-inline: auto;
  counter-reset: concern-num;
  display: grid;
  gap: 0.9rem;
}

.top-concerns__list li {
  position: relative;
  padding-left: 3.3rem;
  color: var(--color-text);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
}

.top-concerns__list li::before {
  counter-increment: concern-num;
  content: "0" counter(concern-num);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 24px);
  font-style: italic;
  color: var(--color-primary);
}

.top-concerns__support {
  position: relative;
  z-index: 4;
  width: min(100%, 1020px);
  max-width: 1020px;
  margin: -4px auto 0;
  min-height: 280px;
  padding-inline: var(--container-padding);
  box-sizing: border-box;
  /* padding: clamp(1.1rem, 2.6vw, 2rem) 1rem 0; */
}

.top-concerns__support-copy {
  width: fit-content;
  margin-left: clamp(0.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.top-concerns__support-small {
  display: inline-block;
  padding: 0.36rem 0.7rem;
  background: var(--color-bg);
  font-size: clamp(16px, 1.6vw, 24px);
  font-family: var(--font-heading);
  font-weight: 600;
}

.top-concerns__support-small-break {
  display: none;
}

.top-concerns__support-small-accent {
  color: var(--color-primary);
  font-weight: 700;
}

.top-concerns__support-large {
  margin-top: 0.45rem;
  display: inline-block;
  padding: 0.38rem 0.8rem;
  background: var(--color-bg);
  font-size: clamp(22px, 4.2vw, 48px);
  line-height: 1.2;
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.top-concerns__advisor {
  position: absolute;
  right: clamp(1rem, 7vw, 8rem);
  bottom: 0;
  width: clamp(170px, 40vw, 400px);
  aspect-ratio: 1 / 1;
}

.top-concerns__advisor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-concerns__bottom {
  position: relative;
  background: #bf702b;
  padding: clamp(50px, 6vw, 54px) clamp(14px, 2vw, 16px);
  z-index: 5;
}

.top-concerns .top-concerns__bottom::before {
  content: "";
  position: absolute;
  top: -102px;
  left: 0;
  right: 0;
  height: 103px;
  background: #bf702b;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 100%, 0 0);
}

.top-concerns__cta {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  min-height: 130px;
  padding: 1rem 1.4rem;
  border: 1px solid #e2b58d;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.1vw, 20px);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transition: background-color .45s ease, color .45s ease;
}

.top-concerns__cta:hover {
  background: #fff;
  color: var(--color-primary);
}

/* ===== Front Page: What is LANDZ ===== */
.top-what-landz {
  position: relative;
  overflow: hidden;
  background: var(--color-text);
  color: var(--color-bg);
  padding: clamp(3rem, 10vw, 140px) var(--container-padding) 0;
}

/* メインビジュアルと同型の左上三角（clip-path） */
.top-what-landz::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: min(100%, 86vw, 1000px);
  height: clamp(200px, min(48vw, 70vh), 660px);
  background: #463C32;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.top-what-landz__header {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.top-what-landz__watermark,
.top-what-landz__title {
  grid-area: 1 / 1 / 2 / 2;
}

.top-what-landz__watermark {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7.5vw, 4.75rem);
  font-weight: 400;
  color: var(--color-bg);
  opacity: 0.1;
  margin: 0;
  user-select: none;
  z-index: 0;
}

.top-what-landz__title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-bg);
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
}

.top-what-landz__intro {
  position: relative;
  z-index: 1;
  width: min(100%, 1216px);
  max-width: 1216px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  padding-inline: 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(18px, 14px + 1.25vw, 24px);
  font-weight: 600;
  line-height: 1.5;
}

.top-what-landz__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1216px);
  max-width: 1216px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
  align-items: start;
  gap: clamp(2rem, 4.5vw, 3.75rem);
}

.top-what-landz__main {
  line-height: 1.75;
}

.top-what-landz__body {
  line-height: 1.75;
}

.top-what-landz__body>h4.top-what-landz__aside-sub:first-of-type,
.top-what-landz__body p+h4.top-what-landz__aside-sub {
  margin-top: clamp(1.35rem, 2.8vw, 2rem);
}

.top-what-landz__body p+p {
  margin-top: 1.1em;
}

.top-what-landz__heading,
.top-what-landz__body h3 {
  font-family: var(--font-base);
  font-size: clamp(1rem, 1.45vw, 1.1875rem);
  font-weight: 700;
  color: var(--color-bg);
  line-height: 1.65;
  margin-bottom: 0.65em;
}

.top-what-landz__text {
  font-size: clamp(16px, 1.25vw, 17px);
  font-weight: 500;
  color: var(--color-bg);
}

.top-what-landz__body p {
  font-size: clamp(16px, 1.25vw, 17px);
  font-weight: 500;
  color: var(--color-bg);
}

.top-what-landz__text+.top-what-landz__text {
  margin-top: 1.1em;
}

.top-what-landz__body h3~h3 {
  margin-top: clamp(1.35rem, 2.8vw, 2rem);
}

.top-what-landz__aside {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-radius: 6px;
  padding: clamp(1.35rem, 2.5vw, 2rem) clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.7;
}

.top-what-landz__aside-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: clamp(1.1rem, 2vw, 1.5rem);
}

.top-what-landz__aside-title:last-child {
  margin-bottom: 0;
}

.top-what-landz__aside-body {
  margin-top: 0;
}

.top-what-landz__aside-item+.top-what-landz__aside-item {
  margin-top: clamp(1.1rem, 2vw, 1.5rem);
}

.top-what-landz__aside-sub,
.top-what-landz__aside-body h4 {
  font-family: var(--font-base);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 0.2em;
}

.top-what-landz__aside-body h4:not(:first-child) {
  margin-top: clamp(1rem, 1.8vw, 1.35rem);
}

.top-what-landz__aside-text,
.top-what-landz__aside-body p {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.75;
  margin: 0;
}

.top-what-landz__aside-body p+p {
  margin-top: 0.85em;
}

/* ===== Front Page: Why LANDZ ===== */
.top-why-landz {
  background: var(--color-text);
  color: #fff;
  padding: clamp(3.5rem, 10vw, 140px) var(--container-padding) clamp(4rem, 8vw, 70px);
}

.top-why-landz__inner {
  width: min(100%, 1010px);
  max-width: 1010px;
  margin-inline: auto;
}

.top-why-landz__header {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  text-align: center;
}

.top-why-landz__title {
  display: inline-block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  margin-inline: auto;
}

.top-why-landz__list {
  display: grid;
  gap: clamp(2rem, 3.8vw, 3.3rem);
}

.top-why-landz__item {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3.2vw, 30px);
}

.top-why-landz__item--right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
}

.top-why-landz__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.top-why-landz__media .landz-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-why-landz__content {
  color: #fff;
}

.top-why-landz__point {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 1rem;
}

.top-why-landz__heading {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0.6rem;
}

.top-why-landz__bullets {
  display: grid;
  gap: 0.25rem;
  font-size: 14px;
}

.top-why-landz__bullets p+p {
  margin-top: 0.25em;
}

.top-why-landz__bullets li {
  position: relative;
  padding-left: 1em;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .95);
}

.top-why-landz__bullets p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .95);
}

.top-why-landz__bullets li::before {
  content: "●";
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  font-size: 0.85em;
}


/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-text);
  border-bottom: 1px solid var(--color-bg);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header,
.site-header a,
.site-header button {
  font-family: var(--font-heading);
}

/* PC: 左ロゴ / 右カラム（上段CTA・下段ナビ）をグリッドで固定 */
.header-layout {
  position: relative;
  margin-inline: auto;
  padding: 0.75rem var(--container-padding);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto;
  column-gap: 2rem;
  align-items: center;
  box-sizing: border-box;
}

.site-branding {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  min-width: 0;
}

.header-tools {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  min-width: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo-image {
  display: block;
  width: clamp(140px, 24vw, 296px);
  height: auto;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: background-color .45s ease, color .45s ease;
}

.header-cta-link {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  padding: 0.55rem 1.9rem;
}

.header-cta-link:hover,
.header-cta-link:focus-visible {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
  opacity: 1;
}

.header-phone-link {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  padding: 0.55rem 1.9rem;
  transition: background-color .45s ease, color .45s ease;
}

.header-phone-link:hover {
  background: #fff;
  color: var(--color-primary);
  opacity: 1;
}

.header-phone-icon {
  display: none;
  align-items: center;
  justify-content: center;
}

.header-phone-icon svg {
  display: block;
}

.header-cta a:hover {
  opacity: 0.9;
}

.site-branding .site-description {
  font-size: 0.75rem;
  color: var(--color-text-light, #64748b);
  margin-top: 0.25rem;
}

/* ===== Navigation ===== */
.main-navigation {
  width: auto;
  max-width: 100%;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-end;
}

.main-navigation a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding: 0 1.55rem;
  line-height: 1;
  border-bottom: none;
  transition: opacity 0.2s;
  position: relative;
}

.main-navigation li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.95rem;
  background: rgba(255, 255, 255, .5);
}

.main-navigation li:last-child a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.95rem;
  background: rgba(255, 255, 255, .5);
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
  color: #fff;
  opacity: 0.75;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Content ===== */
.content-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.content-area.has-sidebar {
  grid-template-columns: 1fr 300px;
}

/* ===== Posts ===== */
.posts-list {
  display: grid;
  gap: 2rem;
}

.post-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  transition: all 0.3s;
}

.post-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  transform: translateY(-2px);
}

.post-card-thumbnail {
  width: 46%;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 1rem;
  width: 54%;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-light, #64748b);
  margin-bottom: 0.75rem;
}

.post-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.post-card-title a {
  color: var(--color-text);
}

.post-card-title a:hover {
  color: var(--color-primary);
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light, #64748b);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* ===== Single Post ===== */
.entry-header {
  margin-bottom: 2rem;
}

.entry-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light, #64748b);
}

.entry-thumbnail {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.entry-thumbnail img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.9;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-weight: 700;
  line-height: 1.4;
  margin-block: 2em 0.75em;
}

.entry-content h2 {
  font-size: 1.5rem;
}

.entry-content h3 {
  font-size: 1.25rem;
}

.entry-content h4 {
  font-size: 1.1rem;
}

.entry-content p {
  margin-bottom: 1.5em;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.5em;
}

.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5em;
  background: var(--color-bg-alt);
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: var(--color-text-light, #64748b);
}

.entry-content code {
  background: var(--color-bg-alt);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.85em;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.entry-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.entry-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.entry-content img {
  border-radius: 0.5rem;
  margin-bottom: 1.5em;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.9rem;
}

.entry-content th,
.entry-content td {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.entry-content th {
  background: var(--color-bg-alt);
  font-weight: 600;
}

/* ===== Sidebar ===== */
.widget-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}

.widget ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.widget ul li:last-child {
  border-bottom: none;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: all 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(76px, 10vw, 126px) 0 clamp(40px, 6vw, 68px);
}

.site-footer__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.9vw, 34px);
}

.site-footer__logo {
  display: inline-block;
  width: min(1070px, 42vw);
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__nav {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}

.site-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  padding: 0 1.35rem;
  position: relative;
}

.site-footer__nav li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.95rem;
  background: rgba(255, 255, 255, 0.52);
}

.site-footer__nav li:last-child a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.95rem;
  background: rgba(255, 255, 255, 0.52);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  opacity: 0.74;
}

.site-footer__company,
.site-footer__copyright {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #C5C5C5;
}

.site-footer__company {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}

.site-footer__company a {
  color: #C5C5C5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__company a:hover,
.site-footer__company a:focus-visible {
  color: #fff;
  opacity: 0.85;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.site-footer__copyright {
  font-family: var(--font-heading);
}

/* ===== 404 & No Results ===== */
.error-404,
.no-results {
  text-align: center;
  padding: 4rem 0;
}

/* ===== Front Page: Works Cases ===== */
.top-cases {
  background: var(--color-text);
  color: #fff;
  padding: clamp(70px, 11vw, 140px) var(--container-padding) clamp(60px, 11vw, 140px);
}

.top-cases__inner {
  width: min(100%, 1216px);
  max-width: 1216px;
  margin-inline: auto;
}

.top-cases__header {
  text-align: center;
  margin-bottom: clamp(1.8rem, 3.6vw, 2.8rem);
}

.top-cases__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-bottom: clamp(6px, 1.2vw, 12px);
  margin: 0;
  border-bottom: 1px solid var(--color-bg);
  display: inline-block;
}

.top-cases__subtitle {
  margin-top: 0.9rem;
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.35vw, 18px);
}

.top-cases__carousel {
  display: block;
}

.top-cases__slider {
  position: relative;
  padding: 0 clamp(0px, 7.3vw, 107px);
}

.top-cases__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.top-cases__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.85rem);
  padding: 0;
}

.top-cases__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.top-cases__dot:hover {
  border-color: var(--color-bg);
  background: rgba(255, 255, 255, .35);
}

.top-cases__dot:focus-visible {
  border-color: var(--color-bg);
  background: rgba(255, 255, 255, .35);
  outline: 2px solid var(--color-bg);
  outline-offset: 3px;
}

.top-cases__dot.is-active {
  background: var(--color-bg);
  border-color: var(--color-bg);
  transform: scale(1.15);
}

.top-cases__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.top-cases__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.top-cases__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(25px, 5vw, 60px);
  height: clamp(25px, 5vw, 60px);
  border-radius: 50%;
  border: 1px solid var(--color-bg-alt);
  background: var(--color-bg-alt);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.top-cases__arrow--prev {
  left: 0;
}

.top-cases__arrow--next {
  right: 0;
}

.top-cases__card {
  border: 1px solid rgba(255, 255, 255, .45);
  padding: clamp(1.2rem, 2.23vw, 2.2rem);
  display: block;
  min-width: 0;
}

.top-cases__works-row {
  display: grid;
  grid-template-columns: 1fr 326px;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  align-items: start;
}

.top-cases__works-col {
  min-width: 0;
}

.top-cases__quote-head {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.top-cases__avatar img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}

.top-cases__quote-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
  margin: 0;
}

.top-cases__customer {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, .85);
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.6;
  font-weight: 500;
}

.top-cases__divider {
  height: 1px;
  background: rgba(255, 255, 255, .35);
  margin: 1.2rem 0;
}

.top-cases__reason-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 0.7rem;
}

.top-cases__works-text {
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 1.95;
  color: rgba(255, 255, 255, .95);
}

.top-cases__works-text p {
  line-height: 1.2;
}

.top-cases__card-right {
  display: flex;
  justify-content: flex-end;
}

.top-cases__thumb {
  width: 100%;
  /* max-width: 326px; */
  aspect-ratio: 4 / 3;
}

.top-cases__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {

  .post-card {
    flex-direction: column;
  }

  .post-card-thumbnail img {
    aspect-ratio: 16/9;
    height: auto;
  }

  .post-card-thumbnail,
  .post-card-body {
    width: 100%;
  }

  .top-cases__slider {
    padding: 0;
  }

  .top-cases__arrow--prev {
    left: -10px;
  }

  .top-cases__arrow--next {
    right: -10px;
  }

  .top-cases__works-row {
    grid-template-columns: 1fr;
  }

  .top-cases__card-right {
    justify-content: flex-start;
  }

  .top-cases__thumb {
    max-width: 100%;
  }
}

/* ===== Front Page: Contact ===== */
.top-contact {
  background: var(--color-bg-alt);
  padding: clamp(60px, 11vw, 140px) var(--container-padding) clamp(30px, 7vw, 70px);
}

.top-contact__inner {
  width: min(100%, 1216px);
  max-width: 1216px;
  margin-inline: auto;
  text-align: center;
}

.top-contact__header {
  margin-bottom: clamp(1.3rem, 2.7vw, 1.8rem);
}

.top-contact__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  display: inline-block;
  padding-bottom: clamp(6px, 1.2vw, 12px);
  border-bottom: 1px solid #333;
}

.top-contact__lead {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.top-contact__text {
  margin: clamp(1.15rem, 2.2vw, 1.7rem) 0 0;
  font-size: 14px;
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 600;
}

.top-contact__text>p {
  margin: 0;
}

.top-contact__text>p+p {
  margin-top: 0.5em;
}

.top-contact__viewport--pc {
  display: block;
}

.top-contact__viewport--sp {
  display: none;
}

.top-contact__cta-wrap {
  margin-top: 32px;
  font-size: clamp(18px, 4.5vw, 24px);
  display: flex;
  justify-content: center;
}

.top-contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 612px);
  min-height: clamp(70px, 8vw, 80px);
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .45s ease, color .45s ease;
}

.top-contact__cta:hover {
  background: #fff;
  color: var(--color-primary);
}

.top-contact__cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* ===== Front Page: Media Banner ===== */
.top-media-banner {
  background: #f4f4ef;
  padding: clamp(30px, 5vw, 70px) var(--container-padding) clamp(60px, 9vw, 140px);
}

.top-media-banner__inner {
  width: min(100%, 1216px);
  max-width: 1216px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
}

.top-media-banner__title {
  margin: 0;
  padding-bottom: clamp(6px, 1.2vw, 12px);
  border-bottom: 1px solid var(--color-text);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.top-media-banner__link {
  display: block;
  width: min(100%, 800px);
  margin-top: clamp(1.25rem, 2.8vw, 2rem);
}

.top-media-banner__link img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {

  .top-contact__viewport--pc {
    display: none;
  }

  .top-contact__viewport--sp {
    display: block;
  }

  .top-contact__cta {
    min-height: 80px;
    font-size: clamp(16px, 4.5vw, 24px);
  }

  .top-media-banner__link {
    width: min(100%, 608px);
  }
}

.error-404 h1,
.no-results h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark, #a75e21);
  border-color: var(--color-primary-dark, #a75e21);
  color: #fff;
}

/* ===== Search Form ===== */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-form input[type="search"]:focus {
  border-color: var(--color-primary);
}

.search-form button {
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  :root {
    --header-height: auto;
    /* レスポンシブ時の左右paddingを14pxに統一 */
    --container-padding: 14px;
  }

  .header-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 0;
    row-gap: 0;
    min-height: 0;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    gap: 8px;
  }

  .site-branding {
    grid-column: unset;
    grid-row: unset;
    align-self: unset;
    display: flex;
    align-items: center;
  }

  .header-tools {
    grid-column: unset;
    grid-row: unset;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
  }

  .site-logo-image {
    width: clamp(41px, 0vw, 180px);
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .header-cta {
    gap: 0.35rem;
  }

  .header-cta a {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .header-cta-link {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    background: var(--color-bg-alt);
  }

  .header-phone-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-phone-icon {
    display: flex;
  }

  .header-phone-link {
    width: 38px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    flex-shrink: 0;
  }

  .content-area.has-sidebar {
    grid-template-columns: 1fr;
  }

  .top-main-visual {
    --mv-block-padding: 2.25rem;
    --mv-header-offset: 74px;
    --mv-hero-height: calc(80vh - var(--mv-header-offset));
    min-height: min(var(--mv-hero-height), 470px);
    max-height: 470px;
    padding: var(--mv-block-padding) 0 0;
  }

  .top-main-visual__brown {
    width: min(100%, 90vw, 300px);
  }

  .top-main-visual__image {
    width: 100%;
    min-height: calc(var(--mv-hero-height) - var(--mv-block-padding));
  }

  .top-main-visual__catch {
    max-width: 100%;
    font-size: min(7.1vw, 54px);
    line-height: 1.28;
    left: 0;
    padding: 0 14px;
    width: 100%;
  }

  .top-message {
    padding: 2.5rem 0 4.5rem;
  }

  .top-message__layout {
    grid-template-columns: 1fr;
    row-gap: 1.75rem;
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-message__media {
    min-height: clamp(260px, 56vw, 500px);
  }

  .top-message__image--main {
    width: min(100%, 60vw, 560px);
  }

  .top-message__image--sub {
    width: min(100%, 43vw, 300px);
  }

  .top-message__title {
    margin-bottom: 16px;
  }

  .top-message__content {
    padding-top: 0;
  }

  .top-message__body {
    font-size: 1.06rem;
    line-height: 1.9;
  }

  .top-concerns {
    padding-top: 6.4rem;
  }

  .top-concerns::after {
    bottom: 130px;
    height: 220px;
  }

  .top-concerns__thumb {
    width: min(100%, 30vw, 130px);
    right: 14px;
    top: -4%;
  }

  .top-concerns__panel-wrap {
    padding-inline: 0;
  }

  .top-concerns__panel {
    padding: 1rem 0.85rem 3rem;
  }

  .top-concerns__panel-chip {
    font-size: 16px;
    padding: 0.34rem 0.7rem;
  }

  .top-concerns__panel-foot {
    font-size: 20px;
    padding: 0.34rem 0.7rem;
    position: relative;
    margin-top: 24px;
    max-width: 100%;
    width: 100%;
  }

  .top-concerns__panel-foot-break {
    display: block;
  }

  .top-concerns__list li {
    padding-left: 2.3rem;
    line-height: 1.65;
    font-size: 14px;
  }

  .top-concerns__list li::before {
    font-size: clamp(20px, 2.4vw, 24px);
  }

  .top-concerns__advisor {
    right: 0.8rem;
    width: min(100%, 50vw, 220px);
  }

  .top-concerns .top-concerns__bottom::before {
    top: -28px;
    height: 28px;
  }

  .top-concerns__cta {
    min-height: 80px;
    font-size: clamp(16px, 2.1vw, 20px);
    width: 100%;
  }

  .top-concerns__inner {
    margin-bottom: 2.3rem;
  }

  /* .top-concerns__support-copy {
    margin-left: 0;
  } */

  .top-concerns__support-small-break {
    display: block;
  }

  .top-concerns__support {
    padding: 0;
    min-height: 250px;
  }

  .top-what-landz {
    padding-top: 70px;
    padding-bottom: 0;
  }

  .top-what-landz::before {
    width: min(92vw, 100%);
    height: clamp(140px, 58vw, 300px);
  }

  .top-what-landz__header {
    margin-bottom: 2rem;
  }

  .top-what-landz__intro {
    margin-bottom: 1.4rem;
    padding-inline: 0;
  }

  .top-what-landz__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .top-what-landz__aside {
    padding-inline: 12px;
  }

  .top-why-landz {
    padding-top: 80px;
    padding-bottom: 3.2rem;
  }

  .top-why-landz__title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .top-why-landz__item,
  .top-why-landz__item--right {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 24px);
  }

  .top-why-landz__item--right .top-why-landz__media {
    order: -1;
  }

  .top-why-landz__media {
    max-width: 100%;
  }

  .top-why-landz__heading {
    font-size: clamp(18px, 4.2vw, 24px);
  }

  .top-cases__avatar img {
    width: 50px;
    height: 50px;
  }


  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin-left: 0;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: var(--color-text);
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .main-navigation {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-text);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 1rem var(--container-padding);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    justify-content: stretch;
  }

  .main-navigation a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    border-top: none;
  }

  .main-navigation li a::before,
  .main-navigation li:last-child a::after {
    display: none;
  }

  .entry-title {
    font-size: 1.5rem;
  }

  .site-footer {
    padding: 60px 0 60px;
  }

  .site-footer__inner {
    gap: 60px;
    align-items: baseline;
  }

  .site-footer__logo {
    width: 100%;
  }

  .site-footer__nav ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    row-gap: 30px;
  }

  .site-footer__nav,
  .site-footer__meta,
  .site-footer__company,
  .site-footer__copyright {
    text-align: left;
  }

  .site-footer__meta {
    align-items: flex-start;
  }

  .site-footer__nav a {
    font-size: 14px;
    padding: 0.2rem 0;
  }

  .site-footer__nav li a::before,
  .site-footer__nav li:last-child a::after {
    display: none;
  }

  .site-footer__company {
    font-size: 15px;
  }

  .site-footer__copyright {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 14px;
  }
}

/* ============================================
   Archive wrap（メイン + サイドバー）
   ============================================ */

.p-archive-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: start;
  padding-block: 4rem;
}

@media (max-width: 767px) {
  .p-archive-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 2.5rem;
  }
}

/* ============================================
   Archive
   ============================================ */

.p-archive {
  min-width: 0;
}

.p-archive__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

/* ============================================
   Sidebar
   ============================================ */

.p-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.p-sidebar__widget {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.4rem 1.25rem;
}

.p-sidebar__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-primary);
}

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

.p-sidebar__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.p-sidebar__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.p-sidebar__date {
  font-family: var(--font-base);
  font-size: 0.75rem;
  color: var(--color-text);
  opacity: 0.5;
}

.p-sidebar__link {
  font-family: var(--font-base);
  font-size: 0.85rem;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.15s;
}

.p-sidebar__link:hover {
  color: var(--color-primary);
}

.p-sidebar__empty {
  font-family: var(--font-base);
  font-size: 0.85rem;
  color: var(--color-text);
  opacity: 0.55;
  margin: 0;
}

@media (max-width: 767px) {
  .p-sidebar {

    position: static;
    gap: 1.5rem;
  }
}

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

.p-archive__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.p-archive__item-thumb {
  flex-shrink: 0;
  width: 180px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
  display: block;
}

.p-archive__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.p-archive__item:hover .p-archive__item-img {
  transform: scale(1.05);
}

.p-archive__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 767px) {
  .p-archive__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .p-archive__item-thumb {
    display: none;
  }

  .p-archive__item-body {
    gap: 0.35rem;
  }
}

.p-archive__date {
  font-family: var(--font-base);
  font-size: 0.85rem;
  color: var(--color-text);
  opacity: 0.55;
  white-space: nowrap;
  flex-shrink: 0;
}

.p-archive__link {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: var(--color-text);
  text-decoration: none;
  line-height: var(--line-height-base);
  transition: color 0.15s;
}

.p-archive__link:hover {
  color: var(--color-primary);
}

.p-archive__empty {
  font-family: var(--font-base);
  color: var(--color-text);
  opacity: 0.6;
  text-align: center;
  padding: 4rem 0;
}

/* ============================================
   Pagination
   ============================================ */

.p-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.p-pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.p-pagination .page-numbers li a,
.p-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-base);
  font-size: 0.875rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.p-pagination .page-numbers li a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.p-pagination .page-numbers li span.current {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   Single
   ============================================ */

.p-single {
  margin-inline: auto;
  padding-block: 4rem;
}

.p-single__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.p-single__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.p-single__cat {
  font-family: var(--font-base);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.2em 0.7em;
  border-radius: 3px;
}

.p-single__date {
  font-family: var(--font-base);
  font-size: 0.85rem;
  color: var(--color-text);
  opacity: 0.55;
}

.p-single__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0;
}

/* ============================================
   Single Content（ブロックエディタ出力）
   ============================================ */

.p-single__content {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: 1.9;
  color: var(--color-text);
}

.p-single__content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 3rem 0 1.25rem;
  padding: 0.6em 0.8em 0.6em 1em;
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-bg-alt);
  border-radius: 0 4px 4px 0;
  line-height: 1.4;
}

.p-single__content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--color-border);
}

.p-single__content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.p-single__content p {
  margin: 0 0 1.5em;
}

.p-single__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}

.p-single__content a:hover {
  opacity: 0.7;
}

.p-single__content ul,
.p-single__content ol {
  margin: 0 0 1.5em;
  padding-left: 1.75em;
}

.p-single__content ul {
  list-style: disc;
}

.p-single__content ol {
  list-style: decimal;
}

.p-single__content li {
  margin-bottom: 0.4em;
  line-height: 1.7;
}

.p-single__content blockquote {
  margin: 2em 0;
  padding: 1.25em 1.5em;
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-bg-alt);
  border-radius: 0 6px 6px 0;
  color: var(--color-text);
  opacity: 0.85;
}

.p-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-block: 1.5em;
}

.p-single__content figure {
  margin: 2em 0;
}

.p-single__content figcaption {
  font-size: 0.8rem;
  text-align: center;
  color: var(--color-text);
  opacity: 0.55;
  margin-top: 0.5em;
}

/* ============================================
   Front Page: News
   ============================================ */

.top-news {
  background: var(--color-bg);
  padding: clamp(60px, 10vw, 100px) var(--container-padding);
}

.top-news__inner {
  width: min(100%, 1216px);
  max-width: 1216px;
  margin-inline: auto;
}

.top-news__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  display: grid;
  place-items: center;
}

.top-news__en,
.top-news__title {
  grid-area: 1 / 1 / 2 / 2;
}

.top-news__en {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.06;
  margin: 0;
  user-select: none;
  letter-spacing: 0.06em;
}

.top-news__title {
  position: relative;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  padding-bottom: clamp(6px, 1.2vw, 10px);
  border-bottom: 1px solid var(--color-text);
  display: inline-block;
}

.top-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

@media (max-width: 767px) {
  .top-news__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.top-news__card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-news__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(51, 44, 37, 0.1);
}

.top-news__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
}

.top-news__card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-border);
  flex-shrink: 0;
}

.top-news__card-thumb--none {
  display: none;
}

.top-news__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.top-news__card:hover .top-news__card-img {
  transform: scale(1.04);
}

.top-news__card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1rem, 1.8vw, 1.4rem);
  position: relative;
}

.top-news__card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.top-news__card:hover .top-news__card-body::before {
  opacity: 1;
}

.top-news__card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.top-news__card-date {
  font-family: var(--font-base);
  font-size: 0.8rem;
  color: var(--color-text);
  opacity: 0.5;
  white-space: nowrap;
}

.top-news__card-cat {
  font-family: var(--font-base);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.15em 0.6em;
  border-radius: 2px;
  white-space: nowrap;
}

.top-news__card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  flex: 1;
}

.top-news__card-excerpt {
  font-family: var(--font-base);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-text);
  opacity: 0.65;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-news__card-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--color-primary);
  margin-top: auto;
  transition: transform 0.2s ease;
}

.top-news__card:hover .top-news__card-arrow {
  transform: translateX(4px);
}

.top-news__more {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  text-align: center;
}

.top-news__more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  padding: 0.75rem 2.25rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.top-news__more-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  opacity: 1;
}