/* Typography is loaded by index.html: Shippori Antique 400 / BIZ UDPMincho 700. */
:root {
  --ink: #282c23;
  --paper: #f5edda;
  --paper-light: #fbf6e9;
  --gold: #b38a46;
  --gold-light: #dbc18c;
  --muted: #645f4e;
  --line: #c8b692;
  --accent: #9b3a29;
  --header: 76px;
  --heading: 'BIZ UDPMincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --body: 'Shippori Antique', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --display: var(--heading)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px
}

body {
  margin: 0;
  color: var(--ink);
  background: #faf6ec;
  font-family: var(--body);
  font-weight: 400;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .035em
}

button,
a {
  -webkit-tap-highlight-color: transparent
}

button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #9b3a29;
  outline-offset: 6px
}

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

figure,
blockquote {
  margin: 0
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.55
}

p+p {
  margin-top: 1em
}

ul {
  margin: 0
}

dl,
dd {
  margin: 0
}

[hidden] {
  display: none !important
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden
}

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

.brush {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: .035em
}

.section-space {
  padding-block: 110px
}

.theme-nobunaga {
  --accent: #9b3a29;
  --tint: #eddcd3;
  --soft: #f6ece2
}

.theme-hideyoshi {
  --accent: #8d6a21;
  --tint: #eadcb7;
  --soft: #f7f0dd
}

.theme-ieyasu {
  --accent: #385c4c;
  --tint: #d6e0d4;
  --soft: #edf0e5
}

.cloud {
  position: absolute;
  color: #c49c54;
  pointer-events: none
}

.pine {
  position: absolute;
  pointer-events: none
}

.seal {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #a4412a;
  stroke-width: 3;
  transform: rotate(-7deg);
  flex: none
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  width: 200px;
  margin-inline: auto
}

.ornament i {
  height: 1px;
  flex: 1;
  background: currentColor
}

.ornament span {
  font-family: serif;
  font-size: 22px;
  line-height: 1
}

.section-tag {
  font-size: 15px;
  display: inline-block;
  letter-spacing: .17em;
  color: var(--accent);
  padding-block: 5px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor
}

.site-header {
  height: var(--header);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  border-bottom: 1px solid #a8874b52;
  background: #f9f3e5f5;
  transition: box-shadow .25s
}

.site-header.scrolled {
  box-shadow: 0 3px 18px #4a362c12
}

.brand {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: .065em;
  font-weight: 400;
  white-space: nowrap
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px
}

.header-nav>button {
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 15px;
  position: relative
}

.header-nav>button:after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .25s
}

.header-nav>button:hover:after {
  width: 100%
}

.header-cta {
  border: 1px solid var(--gold);
  padding: 8px 20px;
  font-size: 14px;
  background: #f2e6cd
}

.header-cta span {
  margin-inline: 8px;
  color: #a08552
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 860px;
  padding-top: 50px;
  background: #f7efdd
}

.hero-paper {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('../images/paper.jpg') center/cover;
  opacity: .30
}

.hero:before {
  content: '';
  inset: 0;
  z-index: -2;
  position: absolute;
  background: none
}

.hero-heading {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-inline: 40px
}

.hero h1 {
  font-size: clamp(40px, 4.45vw, 68px);
  line-height: 1.5;
  text-align: center
}

.hero-heading .seal {
  width: 42px;
  height: 42px;
  margin-top: 10px
}

.hero-stage {
  height: 560px;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  z-index: 1
}

.hero-sun {
  position: absolute;
  width: 580px;
  height: 580px;
  border: 1px solid #c3a66c70;
  border-radius: 50%;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #e4d2a8
}

.hero-sun:before {
  content: '';
  inset: 15px;
  position: absolute;
  border: 1px solid #c3a66c55;
  border-radius: 50%
}

.hero-character {
  position: absolute;
  bottom: 0;
  width: 40%;
  height: 100%
}

.hero-character.nobunaga {
  left: -.5%;
  z-index: 3
}

.hero-character.hideyoshi {
  left: 30%;
  z-index: 4
}

.hero-character.ieyasu {
  right: -1%;
  z-index: 3
}

.hero-person {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 3
}

.hero-character.nobunaga .hero-person {
  width: 95%;
  left: -2%;
  bottom: -28px
}

.hero-character.hideyoshi .hero-person {
  width: 110%;
  left: -2%;
  bottom: 0
}

.hero-character.ieyasu .hero-person {
  width: 112%;
  right: -6%;
  bottom: 0
}

.hero-castle {
  position: absolute;
  width: 55%;
  max-height: 440px;
  object-fit: contain;
  bottom: 155px;
  z-index: 1;
  filter: drop-shadow(0 6px 6px #574c2b13)
}

.nobunaga .hero-castle {
  left: -7%;
  transform: rotate(-3deg)
}

.hideyoshi .hero-castle {
  left: 30%;
  bottom: 175px;
  width: 59%
}

.ieyasu .hero-castle {
  right: -6%;
  transform: rotate(2deg);
  width: 55%
}

.hero-name {
  position: absolute;
  z-index: 4;
  writing-mode: vertical-rl;
  font-size: 21px;
  letter-spacing: .18em;
  line-height: 1.4;
  padding: 20px 10px;
  background: #f8f0dbf2;
  border: 1px solid #a98a4d;
  box-shadow: 5px 5px 0 #aa8d5845;
  top: 155px
}

.nobunaga .hero-name {
  left: 23%
}

.hideyoshi .hero-name {
  left: 12%;
  top: 200px
}

.ieyasu .hero-name {
  right: 15%;
  top: 195px
}

.hero-bottom {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: min(900px, 90%);
  margin: -1px auto 40px;
  background: #f5edda
}

.hero-bottom p {
  font-size: clamp(30px, 3.8vw, 56px);
  text-align: center;
  letter-spacing: .12em;
  white-space: nowrap
}

.hero-rule {
  width: 100px;
  height: 5px;
  border-block: 1px solid var(--gold)
}

.hero-cloud {
  z-index: 0
}

.cloud-one {
  width: 430px;
  top: 115px;
  left: -160px;
  transform: rotate(-4deg)
}

.cloud-two {
  width: 400px;
  top: 80px;
  right: -135px;
  transform: scaleX(-1)
}

.cloud-three {
  width: 420px;
  bottom: 93px;
  right: -100px;
  opacity: .85;
  z-index: 4
}

.hero-pine-left {
  width: 350px;
  left: -175px;
  top: 18px;
  transform: rotate(12deg);
  z-index: 6
}

.hero-pine-right {
  width: 340px;
  right: -170px;
  top: 26px;
  transform: scaleX(-1) rotate(10deg);
  z-index: 6
}

.wave-border {
  height: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 2px solid var(--gold);
  opacity: .5;
  background: none;
  background-size: 40px 22px
}

.intro {
  position: relative;
  overflow: hidden
}

.intro-cloud {
  width: 320px;
  right: -155px;
  top: 150px;
  opacity: .45
}

.intro-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 66px
}

.intro-heading .seal {
  width: 38px;
  height: 38px
}

.intro-heading h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  text-align: center;
  line-height: 1.65
}

.intro-heading h2 br {
  display: none
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 70px;
  align-items: center
}

.intro-text {
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .02em
}

.intro-text p+p {
  margin-top: 1.5em
}

.intro-text p:last-child {
  font-weight: 400;
  font-size: 20px;
  color: #833a2b;
  margin-top: 1.8em
}

.map-scroll {
  position: relative;
  width: 100%;
  box-shadow: 7px 10px 22px #3e35221c;
  background: #ecdfc3;
  padding: 17px 10px;
  transform: rotate(1.6deg)
}

.map-art {
  position: relative;
  overflow: visible;
  padding-block: 30px
}

.japan-map {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover
}

.map-top,
.map-bottom {
  height: 11px;
  background: #9f7c42;
  position: absolute;
  left: -15px;
  right: -15px;
  border-radius: 3px
}

.map-top {
  top: 0
}

.map-bottom {
  bottom: 0
}

.map-top:before,
.map-top:after,
.map-bottom:before,
.map-bottom:after {
  content: '';
  position: absolute;
  top: -2px;
  height: 15px;
  width: 18px;
  background: #73552e;
  border-radius: 3px
}

.map-top:before,
.map-bottom:before {
  left: 0
}

.map-top:after,
.map-bottom:after {
  right: 0
}

.map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  padding: 0;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  transform: translate(-50%, -80%);
  z-index: 3;
  font-size: 15px;
  white-space: nowrap
}

.map-pin .avatar {
  width: 72px;
  height: 72px;
  background: #f7e7bb;
  border: 2px solid #a47b36;
  box-shadow: 0 3px 0 #886d4533;
  transition: transform .25s
}

.map-pin:hover .avatar {
  transform: translateY(-5px)
}

.map-pin>span:last-of-type {
  background: #f9f1dbe8;
  padding: 0 6px;
  color: #6e442e;
  font-weight: 400
}

.map-pin>i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9b3a29;
  box-shadow: 0 0 0 4px #f9f0dc;
  margin-top: 4px
}

.avatar {
  display: inline-block;
  flex: none;
  width: 84px;
  height: 84px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: #ece1c3;
  border: 1px solid #c6b17d
}

.avatar img {
  position: absolute;
  max-width: none;
  width: 240%;
  left: -68%;
  top: -7%;
  height: auto
}

.avatar.hideyoshi img {
  width: 280%;
  left: -66%;
  top: -6%
}

.avatar.ieyasu img {
  width: 300%;
  left: -98%;
  top: -7%
}

.supervisor-intro {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 44px;
  padding: 42px 48px;
  border: 1px solid #bba578;
  background: #fbf6e9a8;
  position: relative
}

.supervisor-intro:before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #cdbd9e;
  pointer-events: none
}

.supervisor-visual {
  position: relative;
  align-self: start;
  isolation: isolate;
  padding-top: 10px
}

.supervisor-disc {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: #ddc38d;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1
}

.supervisor-cutout {
  height: 270px;
  width: 240px;
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(#000 90%, transparent)
}

.supervisor-visual>p {
  font-size: 23px;
  text-align: center;
  margin-top: 10px
}

.supervisor-message {
  padding-left: 10px
}

.supervisor-message h3 {
  font-size: 23px;
  margin-bottom: 18px
}

.supervisor-message>p {
  font-size: 16px;
  line-height: 2.05
}

.profile-detail {
  border-top: 1px solid #c9b797;
  margin-top: 24px;
  padding-top: 12px;
  font-size: 15px
}

.profile-detail summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none
}

.profile-detail summary::-webkit-details-marker {
  display: none
}

.profile-detail summary span {
  font-size: 21px
}

.profile-body {
  padding: 20px 0 5px;
  font-size: 14px;
  line-height: 2
}

.profile-body p:first-child {
  font-size: 20px
}

.selection {
  position: relative;
  background: #eee2c578;
  border-top: 1px solid #c4ae8359;
  border-bottom: 1px solid #c4ae8377;
  overflow: hidden
}

.selection-cloud {
  width: 350px;
  top: 50px;
  left: -160px;
  opacity: .5
}

.selection-heading {
  text-align: center;
  position: relative
}

.selection-heading h2 {
  font-size: clamp(31px, 3.3vw, 46px);
  line-height: 1.7;
  margin-top: 25px
}

.selection-heading>p {
  font-size: 16px;
  margin-top: 22px
}

.select-instruction {
  text-align: center;
  font-size: 16px;
  margin: 52px auto 24px;
  font-weight: 400
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px
}

.castle-card {
  text-align: left;
  position: relative;
  background: #fcf7e9;
  border: 1px solid #ae9873;
  padding: 0;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 4px 5px 0 #bba77f2b;
  overflow: hidden
}

.castle-card:after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #c8b79780;
  pointer-events: none
}

.castle-card:hover,
.castle-card.chosen {
  transform: translateY(-7px);
  box-shadow: 6px 12px 0 #bba77f2b;
  border-color: var(--accent)
}

.card-art {
  position: relative;
  height: 288px;
  overflow: hidden;
  background: var(--tint);
  border-bottom: 3px solid var(--accent)
}

.card-disc {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid #a9894766;
  position: absolute;
  top: 25px;
  right: -30px;
  background: #fff6df33
}

.card-castle {
  position: absolute;
  width: 67%;
  height: 250px;
  object-fit: contain;
  right: -2%;
  top: 22px
}

.card-owner {
  position: absolute;
  inset: 0;
  overflow: hidden
}

.card-owner img {
  position: absolute;
  width: 140%;
  max-width: none;
  left: -39%;
  bottom: -18px
}

.card-owner.hideyoshi img {
  width: 158%;
  left: -48%;
  bottom: -14px
}

.card-owner.ieyasu img {
  width: 176%;
  left: -57%;
  bottom: -14px
}

.card-castle-name {
  position: absolute;
  right: 15px;
  top: 15px;
  writing-mode: vertical-rl;
  background: var(--accent);
  color: #fff5de;
  line-height: 1.2;
  font-size: 30px;
  letter-spacing: .12em;
  padding: 18px 9px;
  z-index: 4;
  border: 1px solid #e6cc9299;
  outline: 3px solid var(--accent)
}

.card-body {
  padding: 24px 26px 16px;
  position: relative
}

.card-body h3 {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent)
}

.card-catch {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.9;
  min-height: 74px;
  margin-top: 12px
}

.card-type {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
  min-height: 54px;
  letter-spacing: .02em
}

.card-advisor {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #bba985;
  margin-top: 20px;
  padding-top: 16px;
  font-size: 18px
}

.card-advisor>span:first-child {
  font-size: 13px;
  color: var(--muted)
}

.card-advisor>span:last-child {
  margin-left: auto;
  color: var(--accent);
  font-size: 24px;
  line-height: 1
}

.entry-comment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px
}

.entry-comment img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 40%;
  border: 2px solid #fff5e0
}

.entry-comment p {
  font-size: 20px;
  padding: 12px 26px;
  background: #fbf6e7;
  border: 1px solid #c1aa7d;
  position: relative
}

.entry-comment p:before {
  content: '';
  position: absolute;
  left: -8px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #fbf6e7;
  border-bottom: 1px solid #c1aa7d;
  border-left: 1px solid #c1aa7d;
  transform: rotate(45deg)
}

.tour-content {
  position: relative
}

.tabs-shell {
  position: sticky;
  top: var(--header);
  z-index: 40;
  background: #f8f1e2f5;
  border-bottom: 1px solid #bb9c66;
  box-shadow: 0 4px 12px #44351e0b
}

.lord-tabs {
  width: min(1060px, calc(100% - 80px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: auto
}

.lord-tab {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-inline: 1px solid #bdab8766;
  background: none;
  padding: 13px 20px;
  position: relative;
  transition: background .2s
}

.lord-tab+.lord-tab {
  border-left: 0
}

.lord-tab .avatar {
  width: 62px;
  height: 62px
}

.lord-tab>span:last-child {
  font-size: 23px;
  letter-spacing: .08em;
  line-height: 1.5
}

.lord-tab small {
  display: block;
  font-size: 13px;
  text-align: center;
  letter-spacing: .1em
}

.lord-tab[aria-selected=true] {
  background: var(--accent);
  color: #fff5e2
}

.lord-tab[aria-selected=true]:after {
  content: '';
  position: absolute;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  transform: rotate(45deg)
}

.lord-panel {
  padding-top: 70px;
  animation: panel-in .35s ease both
}

@keyframes panel-in {
  from {
    opacity: .5
  }

  to {
    opacity: 1
  }
}

.owner-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  min-height: 480px
}

.owner-art {
  height: 470px;
  position: relative;
  overflow: hidden
}

.owner-sun {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--tint);
  border: 1px solid #b9a474;
  left: 55px;
  top: 80px
}

.owner-castle {
  position: absolute;
  width: 52%;
  max-height: 360px;
  object-fit: contain;
  right: 15px;
  top: 25px
}

.owner-crop {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 350px;
  overflow: hidden;
  mask-image: linear-gradient(#000 86%, transparent)
}

.owner-crop img {
  position: absolute;
  max-width: none;
  width: 170%;
  left: -27%;
  top: 0
}

.owner-crop.nobunaga img {
  width: 160%;
  left: -22%;
  top: -3%
}

.owner-crop.hideyoshi img {
  width: 204%;
  left: -45%;
  top: -8%
}

.owner-crop.ieyasu img {
  width: 230%;
  left: -68%;
  top: -9%
}

.owner-name-vertical {
  writing-mode: vertical-rl;
  position: absolute;
  left: 0;
  top: 40px;
  font-size: 20px;
  letter-spacing: .24em;
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  background: #fbf3debd
}

.owner-cloud {
  width: 260px;
  left: -45px;
  top: 0;
  color: var(--accent);
  opacity: .14
}

.owner-copy h2 {
  font-size: 70px;
  margin-block: 15px 7px;
  color: var(--accent)
}

.owner-type {
  font-size: 22px;
  margin-bottom: 30px;
  line-height: 1.8
}

.profile-fields>div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  border-bottom: 1px solid #c5b393;
  padding: 12px 0;
  font-size: 16px
}

.profile-fields dt {
  color: var(--muted);
  font-size: 14px
}

.property {
  margin-top: 30px;
  background: #fcf7eb9c;
  border: 1px solid #b9a179;
  padding: 32px 38px;
  position: relative
}

.property:before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #d1c19c;
  pointer-events: none
}

.property-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 23px
}

.property-heading h3 {
  font-size: 28px;
  letter-spacing: .12em
}

.property-icon {
  width: 50px;
  height: 43px
}

.property-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.property-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px
}

.property dl>div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 8px 0;
  border-bottom: 1px solid #cabb9e60;
  font-size: 15px
}

.property dt {
  color: var(--muted);
  font-size: 14px
}

.property-story {
  font-size: 16px;
  line-height: 2.1;
  padding-left: 32px;
  border-left: 1px solid #c6b18a
}

.tour-heading {
  text-align: center;
  margin-top: 92px;
  margin-bottom: 70px
}

.tour-heading h3 {
  font-size: 29px;
  margin-block: 24px;
  line-height: 1.9
}

.tour-point {
  margin-bottom: 95px
}

.point-top {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 50px
}

.point-top.reverse {
  grid-template-columns: 1fr 1.12fr
}

.point-top.reverse .point-figure {
  order: 2
}

.point-top.reverse .point-copy {
  order: 1
}

.point-figure {
  min-width: 0
}

.image-mat {
  padding: 10px;
  background: #f7edd7;
  border: 1px solid #bda575;
  position: relative
}

.image-mat img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover
}

.image-corner {
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  pointer-events: none
}

.c1 {
  top: -4px;
  left: -4px;
  border-top-width: 3px;
  border-left-width: 3px
}

.c2 {
  bottom: -4px;
  right: -4px;
  border-bottom-width: 3px;
  border-right-width: 3px
}

.point-figure figcaption {
  font-size: 12px;
  color: #6c6455;
  text-align: right;
  line-height: 1.6;
  margin-top: 12px;
  letter-spacing: .01em
}

.point-figure figcaption p+p {
  margin: 0
}

.castle-figure .image-mat {
  background: #f3ead2
}

.castle-figure img {
  object-fit: contain;
  height: 380px;
  aspect-ratio: auto
}

.point-label {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: .12em
}

.point-label>span:first-child {
  font-size: 43px;
  line-height: 1.2;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0
}

.label-separator {
  font-size: 22px;
  margin-inline: 8px;
  font-weight: 400
}

.point-copy h4 {
  font-size: 34px;
  line-height: 1.7;
  margin-bottom: 24px;
  letter-spacing: .035em
}

.point-description {
  font-size: 16px;
  line-height: 2.1
}

.dialogue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-block: 34px
}

.speech {
  display: flex;
  align-items: flex-start;
  gap: 18px
}

.speech .avatar {
  width: 88px;
  height: 88px;
  margin-top: 20px
}

.speech>div:last-child {
  flex: 1;
  min-width: 0
}

.speaker {
  font-size: 13px;
  display: block;
  letter-spacing: .08em;
  margin-bottom: 6px;
  color: var(--accent)
}

.speech p {
  position: relative;
  border: 1px solid #b7a687;
  padding: 16px 20px;
  background: #fcf8ed;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .025em
}

.owner-speech p {
  background: var(--soft);
  border-color: var(--accent)
}

.speech p:before {
  content: '';
  position: absolute;
  left: -7px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(45deg);
  border-left: 1px solid #b7a687;
  border-bottom: 1px solid #b7a687
}

.owner-speech p:before {
  border-color: var(--accent)
}

.advisor-avatar {
  width: 86px;
  height: 86px;
  flex: none;
  background: #e2d6ba;
  border: 1px solid #bfa77a;
  border-radius: 50%;
  overflow: hidden;
  margin-top: 21px
}

.advisor-avatar img {
  width: 130%;
  height: 130%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  position: relative;
  left: -15%;
  top: 1%
}

.expert {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-top: 32px
}

.expert-person {
  width: 100px;
  flex: none;
  padding-top: 8px
}

.expert-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #efe1c3;
  box-shadow: 0 0 0 1px #bfa87b;
  margin-inline: auto
}

.expert-photo img {
  width: 230%;
  height: 230%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  position: relative;
  left: -65%;
  top: -69%
}

.expert-person>span {
  font-size: 13px;
  display: block;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
  white-space: nowrap
}

.expert-bubble {
  flex: 1;
  border-left: 3px solid var(--gold);
  padding: 20px 26px;
  background: #e8dbc044;
  position: relative;
  min-width: 0
}

.expert-bubble:before {
  content: '';
  position: absolute;
  left: -11px;
  top: 32px;
  border-style: solid;
  border-width: 9px 9px 9px 0;
  border-color: transparent var(--gold) transparent transparent
}

.expert-label {
  font-size: 13px;
  letter-spacing: .14em;
  display: block;
  color: #7a653b;
  margin-bottom: 9px;
  font-weight: 700
}

.expert-bubble p {
  font-size: 15px;
  line-height: 2;
  letter-spacing: .025em
}

.investment {
  padding: 65px 0 75px;
  background: var(--soft);
  border-block: 1px solid #c1ad8266;
  position: relative
}

.investment>.wrap>.section-tag {
  display: block;
  width: max-content;
  margin: 0 auto 22px
}

.investment h3 {
  text-align: center;
  font-size: 36px;
  line-height: 1.8;
  margin-bottom: 40px
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #baa57b;
  border-bottom: 1px solid #baa57b;
  padding-block: 28px
}

.investment-item {
  text-align: center;
  padding: 0 28px
}

.investment-item+.investment-item {
  border-left: 1px solid #c8b796
}

.investment-item svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin: 0 auto 10px
}

.investment-item h4 {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 9px
}

.investment-item p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8
}

.investment-item:last-child p {
  color: var(--accent)
}

.investment .expert {
  margin-top: 35px
}

.advisor-section {
  padding-top: 95px
}

.advisor-title {
  text-align: center
}

.advisor-title h3 {
  font-size: 46px;
  margin-bottom: 22px
}

.advisor-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
  margin-top: 35px
}

.advisor-art {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate
}

.advisor-art:before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid #ad975c;
  outline: 10px solid #d8c3943d;
  border-radius: 50%;
  z-index: -1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tint) var(--crest) center / 80% no-repeat
}

.advisor-art>img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: bottom;
  mask-image: linear-gradient(#000 90%, transparent)
}

.advisor-name-vertical {
  writing-mode: vertical-rl;
  position: absolute;
  right: 0;
  top: 5px;
  font-size: 23px;
  letter-spacing: .15em;
  color: var(--accent);
  background: #f6eeddd9;
  padding: 14px 8px;
  border-inline: 1px solid #c0a981
}

.advisor-cloud {
  width: 260px;
  left: -70px;
  top: 0;
  opacity: .3;
  z-index: -1
}

.advisor-name {
  font-size: 34px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 24px
}

.advisor-role>span,
.advisor-support>span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 7px
}

.advisor-role p {
  line-height: 2;
  font-size: 16px
}

.advisor-support {
  padding: 16px 20px;
  border: 1px solid #bea271;
  margin-top: 23px;
  background: #eee2c943
}

.advisor-support p {
  font-size: 16px;
  line-height: 1.9
}

.advisor-copy blockquote {
  font-size: 19px;
  margin-top: 24px;
  line-height: 1.95;
  color: var(--accent)
}

.advisor-section>.expert {
  margin-top: 44px
}

.lord-end {
  margin-block: 65px 90px
}

.lord-end-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 30px
}

.next-lord {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #b6a077;
  background: var(--soft);
  padding: 14px 30px;
  min-width: 270px;
  transition: background .2s, transform .2s
}

.next-lord:hover {
  transform: translateY(-3px);
  background: var(--tint)
}

.next-lord .avatar {
  width: 54px;
  height: 54px
}

.next-lord>span:last-child {
  font-size: 23px;
  color: var(--accent);
  line-height: 1.5;
  text-align: left
}

.next-lord small {
  display: block;
  font-size: 13px;
  letter-spacing: .12em
}

.comparison {
  background: #eee2c6;
  position: relative;
  overflow: hidden;
  border-block: 1px solid #bea67b
}

.comparison-cloud {
  width: 350px;
  right: -150px;
  top: 70px;
  opacity: .4
}

.center-title {
  text-align: center;
  margin-bottom: 55px;
  position: relative
}

.center-title h2 {
  font-size: 39px;
  line-height: 1.8;
  margin-top: 25px
}

.comparison-scroll {
  width: 100%;
  overflow-x: auto
}

.comparison table {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  background: #fcf7e999;
  font-size: 16px
}

.comparison thead th {
  padding: 24px 20px;
  background: #f4ebd6;
  border: 1px solid #bda67a;
  font-weight: 400;
  vertical-align: middle
}

.comparison thead th:first-child {
  width: 18%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #bda67a
}

.comparison thead th .avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
  display: block;
  background: var(--tint);
  border: 1px solid var(--accent)
}

.comparison thead th>span:last-child {
  font-size: 24px;
  display: block;
  letter-spacing: .06em;
  color: var(--accent);
  font-weight: 700
}

.comparison tbody th {
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  padding: 22px 20px;
  background: #eee1c4
}

.comparison tbody th,
.comparison tbody td {
  border: 1px solid #bda67a
}

.comparison td {
  padding: 22px 20px;
  text-align: center;
  line-height: 1.9
}

.advisors-row th,
.advisors-row td {
  background: #e3c98e;
  font-size: 23px !important;
  font-weight: 700 !important
}

.comparison-message {
  text-align: center;
  margin-top: 55px;
  line-height: 2.3;
  font-size: 17px
}

.comparison-message p:first-child {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 37px;
  margin-bottom: 24px;
  line-height: 1.6
}

.comparison-message p:last-child {
  margin-top: 24px
}

.comparison .expert {
  margin-top: 42px
}

.bridge {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #253d34;
  color: #fff5de
}

.bridge-image {
  position: absolute;
  inset: 0;
  left: 0;
}

.bridge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 55%
}

.bridge-overlay {
  position: absolute;
  inset: 0;
  background: #233b31de
}

.bridge-copy {
  position: relative;
  padding-block: 75px;
  z-index: 1
}

.bridge h2 {
  font-size: 43px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 750px
}

.bridge p {
  font-size: 17px;
  line-height: 2.2;
  max-width: 650px
}

.bridge-cloud {
  width: 380px;
  right: -160px;
  bottom: 25px;
  color: #c4a66d;
  opacity: .6
}

.customers {
  background: #f8f3e8a6
}

.customers .center-title h2 {
  font-size: 34px
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  align-items: stretch
}

.customer-card {
  border: 1px solid #b8a580;
  background: #fdf9ee;
  display: flex;
  flex-direction: column;
  position: relative
}

.customer-card>a {
  display: block
}

.customer-card>a>img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover
}

.customer-card>a:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px
}

.customer-copy {
  padding: 24px 25px 18px
}

.customer-tags {
  font-size: 12px;
  color: #7a6b4e;
  letter-spacing: .01em
}

.customer-copy h3 {
  font-size: 21px;
  line-height: 1.9;
  font-weight: 700;
  margin-top: 12px;
  min-height: 120px
}

.customer-name {
  font-size: 16px;
  margin-top: 18px
}

.customer-quote {
  margin: 4px 20px 24px;
  padding: 18px 18px 14px;
  border-top: 1px solid #c1a66e;
  background: #eee0c55c;
  flex: 1
}

.quote-label {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .005em;
  color: #70603f
}

.customer-quote blockquote {
  font-size: 15px;
  line-height: 2;
  margin-top: 13px
}

.outline-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 16px 34px;
  font-size: 17px;
  letter-spacing: .1em;
  border: 1px solid #887248;
  background: transparent;
  transition: background .25s
}

.outline-button:hover {
  background: #eee0c2
}

.customer-more {
  display: flex;
  width: max-content;
  margin: 48px auto 0
}

.closing {
  position: relative;
  overflow: hidden;
  background: #eee0bd;
  text-align: center;
  border-top: 1px solid #c1a673
}

.closing h2 {
  font-size: clamp(36px, 4.4vw, 63px);
  line-height: 1.75;
  position: relative;
  z-index: 1
}

.closing-body {
  font-size: 20px;
  line-height: 2.2;
  margin-top: 22px
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 40px
}

.cta-buttons> :is(a, button) {
  width: 235px;
  font-size: 22px;
  min-height: 68px;
  letter-spacing: .18em
}

.solid-button {
  color: #fff6e2;
  background: #973d2c;
  border-color: #973d2c
}

.pending-cta:disabled {
  cursor: default;
  opacity: .62
}

.pending-cta:hover {
  background: inherit
}

.solid-button.pending-cta:hover {
  background: #973d2c
}

.about-link {
  display: inline-block;
  font-size: 15px;
  border-bottom: 1px solid #8f754b;
  padding-bottom: 3px;
  margin-top: 28px;
  position: relative;
  z-index: 2
}

.closing-brand {
  margin-top: 75px;
  position: relative;
  z-index: 2
}

.closing-brand>.brush {
  font-size: 31px
}

.brand-eyebrow {
  font-size: 14px;
  margin-top: 32px
}

.brand-name {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: .11em;
  margin-top: 4px
}

.closing-cloud-one {
  width: 380px;
  left: -180px;
  top: 60px
}

.closing-cloud-two {
  width: 420px;
  right: -220px;
  top: 215px
}

.closing-pine {
  width: 340px;
  right: -130px;
  bottom: 45px;
  transform: scaleX(-1) rotate(10deg);
  opacity: .85
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4%;
  border-top: 1px solid #bfa778;
  background: #f6ecd7
}

footer .brand {
  font-size: 18px
}

.back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bda476;
  border-radius: 50%;
  width: 46px;
  height: 46px
}

.back-top svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5
}

@media(min-width:1600px) {
  .hero {
    min-height: 930px
  }

  .hero-stage {
    height: 620px
  }

  .hero-character.nobunaga .hero-person {
    width: 96%;
    bottom: -30px
  }

  .hero-castle {
    max-height: 470px;
    bottom: 185px
  }

  .hideyoshi .hero-castle {
    bottom: 200px
  }

  .hero-name {
    top: 180px
  }

  .hero-bottom {
    margin-bottom: 35px
  }
}

@media(max-width:1100px) {
  .wrap {
    width: calc(100% - 64px)
  }

  .header-nav {
    gap: 22px
  }

  .hero {
    min-height: 740px;
    padding-top: 40px
  }

  .hero-stage {
    height: 480px
  }

  .hero-person {
    width: 110%
  }

  .hero-character.nobunaga .hero-person {
    width: 110%;
    left: -9%;
    bottom: 0
  }

  .hero-character.hideyoshi .hero-person {
    width: 125%;
    left: -14%;
    bottom: 0
  }

  .hero-character.ieyasu .hero-person {
    width: 126%;
    right: -16%
  }

  .hero-castle {
    width: 65%;
    bottom: 130px
  }

  .hideyoshi .hero-castle {
    bottom: 155px
  }

  .hero-name {
    font-size: 17px;
    padding: 14px 8px;
    top: 140px
  }

  .nobunaga .hero-name {
    left: 18%
  }

  .hideyoshi .hero-name {
    top: 160px;
    left: 7%
  }

  .ieyasu .hero-name {
    top: 150px;
    right: 6%
  }

  .hero-sun {
    width: 470px;
    height: 470px;
    top: 0
  }

  .hero-bottom {
    gap: 25px;
    margin-bottom: 35px
  }

  .hero-bottom p {
    font-size: 44px
  }

  .intro-grid {
    gap: 35px
  }

  .intro-text {
    font-size: 15px
  }

  .supervisor-intro {
    padding: 35px;
    grid-template-columns: 200px 1fr;
    gap: 28px
  }

  .supervisor-cutout {
    height: 250px;
    width: 200px
  }

  .supervisor-disc {
    width: 190px;
    height: 190px
  }

  .card-art {
    height: 245px
  }

  .card-castle {
    height: 215px;
    width: 70%
  }

  .card-body {
    padding: 22px 20px 15px
  }

  .card-body h3 {
    font-size: 26px
  }

  .card-catch {
    font-size: 18px;
    min-height: 72px
  }

  .card-type {
    font-size: 13px
  }

  .card-castle-name {
    font-size: 27px;
    right: 12px
  }

  .selection-grid {
    gap: 18px
  }

  .owner-section {
    gap: 32px
  }

  .owner-copy h2 {
    font-size: 60px
  }

  .owner-type {
    font-size: 20px
  }

  .owner-art {
    height: 410px
  }

  .owner-sun {
    width: 280px;
    height: 280px;
    left: 30px
  }

  .owner-crop {
    height: 300px;
    bottom: 0
  }

  .property-grid {
    gap: 28px
  }

  .property {
    padding: 30px
  }

  .property-story {
    padding-left: 25px
  }

  .point-top,
  .point-top.reverse {
    gap: 35px
  }

  .point-copy h4 {
    font-size: 29px
  }

  .point-description {
    font-size: 15px
  }

  .dialogue {
    gap: 22px
  }

  .speech {
    gap: 12px
  }

  .speech .avatar,
  .advisor-avatar {
    width: 72px;
    height: 72px
  }

  .speech p {
    padding: 14px;
    font-size: 14px
  }

  .expert-bubble p {
    font-size: 14px
  }

  .investment-item {
    padding-inline: 20px
  }

  .investment-item p {
    font-size: 18px
  }

  .advisor-grid {
    gap: 38px
  }

  .advisor-art {
    height: 360px
  }

  .advisor-art>img {
    height: 350px
  }

  .advisor-art:before {
    width: 290px;
    height: 290px
  }

  .customer-grid {
    gap: 18px
  }

  .customer-copy {
    padding: 20px
  }

  .customer-copy h3 {
    font-size: 18px;
    min-height: 110px
  }

  .customer-quote {
    padding: 15px 13px;
    margin-inline: 15px
  }

  .customer-quote blockquote {
    font-size: 14px
  }

  .comparison thead th>span:last-child {
    font-size: 21px
  }
}

@media(max-width:760px) {
  :root {
    --header: 64px
  }

  body {
    font-size: 16px;
    letter-spacing: .02em
  }

  .wrap {
    width: calc(100% - 40px)
  }

  .section-space {
    padding-block: 65px
  }

  .site-header {
    padding: 0 20px
  }

  .brand {
    font-size: 16px;
    letter-spacing: .04em
  }

  .header-nav {
    gap: 0
  }

  .header-nav>button {
    display: none
  }

  .header-cta {
    font-size: 12px;
    padding: 6px 10px;
    letter-spacing: 0
  }

  .header-cta span {
    margin-inline: 3px
  }

  .hero {
    padding-top: 28px;
    min-height: 660px
  }

  .hero-heading {
    padding-inline: 20px;
    gap: 5px
  }

  .hero h1 {
    font-size: 39px;
    max-width: 400px;
    line-height: 1.65;
    letter-spacing: .03em;
    text-wrap: balance
  }

  .hero-heading .seal {
    display: none
  }

  .hero-stage {
    height: 390px;
    margin-top: 12px;
    width: 100%
  }

  .hero-sun {
    width: 340px;
    height: 340px;
    top: 18px
  }

  .hero-character {
    width: 45%
  }

  .hero-character.nobunaga {
    left: -7%;
    z-index: 3
  }

  .hero-character.hideyoshi {
    left: 27.5%;
    z-index: 4
  }

  .hero-character.ieyasu {
    right: -6%;
    z-index: 3
  }

  .hero-character.nobunaga .hero-person {
    width: 128%;
    left: -15%;
    bottom: 0
  }

  .hero-character.hideyoshi .hero-person {
    width: 155%;
    left: -27%;
    bottom: 0
  }

  .hero-character.ieyasu .hero-person {
    width: 150%;
    right: -18%;
    bottom: 0
  }

  .hero-castle {
    bottom: 127px;
    width: 87%;
    max-height: 265px
  }

  .nobunaga .hero-castle {
    left: -9%;
    transform: none
  }

  .hideyoshi .hero-castle {
    left: 18%;
    bottom: 142px;
    width: 94%
  }

  .ieyasu .hero-castle {
    right: -10%;
    width: 85%
  }

  .hero-name {
    font-size: 14px;
    line-height: 1.25;
    padding: 10px 6px;
    top: 134px;
    letter-spacing: .12em;
    box-shadow: 3px 3px 0 #aa8d5845
  }

  .nobunaga .hero-name {
    left: 19%;
    top: 126px
  }

  .hideyoshi .hero-name {
    left: 8%;
    top: 167px
  }

  .ieyasu .hero-name {
    right: 23%;
    top: 153px
  }

  .hero-bottom {
    gap: 14px;
    width: 92%;
    margin-top: 0;
    margin-bottom: 31px
  }

  .hero-bottom p {
    font-size: 33px;
    letter-spacing: .04em
  }

  .hero-rule {
    width: 34px;
    height: 4px
  }

  .cloud-one {
    width: 250px;
    left: -155px;
    top: 165px
  }

  .cloud-two {
    width: 250px;
    right: -130px;
    top: 120px
  }

  .cloud-three {
    width: 220px;
    right: -130px;
    bottom: 66px
  }

  .hero-pine-left {
    width: 230px;
    left: -148px;
    top: 100px;
    transform: rotate(-8deg)
  }

  .hero-pine-right {
    width: 210px;
    right: -135px;
    top: 4px
  }

  .intro-heading {
    margin-bottom: 35px;
    gap: 10px
  }

  .intro-heading h2 {
    font-size: 32px;
    line-height: 1.8;
    text-align: center
  }

  .intro-heading h2 br {
    display: block
  }

  .intro-heading .seal {
    display: none
  }

  .intro-grid {
    display: flex;
    flex-direction: column;
    gap: 40px
  }

  .intro-text {
    font-size: 16px;
    line-height: 2.1
  }

  .intro-text br {
    display: none
  }

  .intro-text p+p {
    margin-top: 1.35em
  }

  .intro-text p:last-child {
    font-size: 19px;
    text-align: center
  }

  .map-scroll {
    width: 96%;
    max-width: 520px;
    padding: 12px 4px
  }

  .map-art {
    padding-block: 22px
  }

  .map-pin .avatar {
    width: 58px;
    height: 58px
  }

  .map-pin {
    font-size: 13px
  }

  .map-pin>i {
    width: 7px;
    height: 7px;
    margin-top: 2px
  }

  .supervisor-intro {
    display: block;
    margin-top: 60px;
    padding: 28px 24px
  }

  .supervisor-visual {
    width: 170px;
    margin: 0 auto 20px;
    padding-top: 0
  }

  .supervisor-cutout {
    height: 180px;
    width: 170px
  }

  .supervisor-disc {
    width: 145px;
    height: 145px;
    bottom: 40px
  }

  .supervisor-visual>p {
    font-size: 21px;
    margin-top: 3px
  }

  .supervisor-message {
    padding: 0
  }

  .supervisor-message h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 18px
  }

  .supervisor-message>p {
    font-size: 15px;
    line-height: 2
  }

  .profile-body {
    font-size: 14px
  }

  .selection-heading h2 {
    font-size: 31px;
    line-height: 1.75;
    margin-top: 22px
  }

  .selection-heading>p {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 20px
  }

  .select-instruction {
    font-size: 14px;
    line-height: 1.8;
    max-width: 270px;
    margin-top: 32px;
    margin-bottom: 22px
  }

  .selection-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-inline: -20px;
    padding: 10px 25px 20px;
    scroll-padding-inline: 25px
  }

  .castle-card {
    flex: none;
    width: min(78vw, 340px);
    scroll-snap-align: center;
    transform: none !important
  }

  .card-art {
    height: 240px
  }

  .card-castle {
    height: 215px
  }

  .card-owner img {
    width: 139%;
    bottom: -23px
  }

  .card-owner.hideyoshi img {
    width: 157%;
    bottom: -9px
  }

  .card-owner.ieyasu img {
    width: 172%;
    bottom: -8px
  }

  .card-body {
    padding: 20px 23px 20px
  }

  .card-body h3 {
    font-size: 28px
  }

  .card-catch {
    font-size: 18px;
    min-height: 70px
  }

  .card-type {
    font-size: 14px;
    min-height: 48px
  }

  .card-advisor {
    font-size: 18px;
    margin-top: 14px;
    padding-top: 12px
  }

  .entry-comment {
    margin-top: 22px;
    gap: 15px;
    align-items: flex-start
  }

  .entry-comment img {
    width: 56px;
    height: 56px;
    flex: none
  }

  .entry-comment p {
    font-size: 16px;
    line-height: 1.8;
    padding: 12px 16px;
    margin: 0
  }

  .entry-comment p:before {
    top: 18px
  }

  .lord-tabs {
    width: 100%
  }

  .lord-tab {
    padding: 10px 4px;
    gap: 7px;
    min-height: 78px
  }

  .lord-tab .avatar {
    width: 38px;
    height: 38px
  }

  .lord-tab>span:last-child {
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1.6
  }

  .lord-tab small {
    font-size: 11px;
    letter-spacing: .07em
  }

  .lord-tab[aria-selected=true]:after {
    width: 11px;
    height: 11px;
    bottom: -5px
  }

  .lord-panel {
    padding-top: 40px
  }

  .owner-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0
  }

  .owner-art {
    width: 100%;
    height: 340px;
    max-width: 480px
  }

  .owner-sun {
    width: 260px;
    height: 260px;
    left: 25px;
    top: 55px
  }

  .owner-castle {
    width: 53%;
    max-height: 280px;
    right: 8px;
    top: 5px
  }

  .owner-crop {
    width: 75%;
    height: 280px;
    bottom: 0
  }

  .owner-name-vertical {
    font-size: 17px;
    top: 24px;
    padding: 8px
  }

  .owner-copy {
    width: 100%
  }

  .owner-copy h2 {
    font-size: 56px;
    margin-block: 12px 3px
  }

  .owner-type {
    font-size: 19px;
    margin-bottom: 20px
  }

  .section-tag {
    font-size: 13px
  }

  .profile-fields>div {
    font-size: 15px;
    grid-template-columns: 85px 1fr;
    gap: 14px;
    padding: 11px 0
  }

  .profile-fields dt {
    font-size: 13px
  }

  .property {
    margin-top: 32px;
    padding: 25px 22px
  }

  .property-heading {
    gap: 12px;
    margin-bottom: 17px
  }

  .property-heading h3 {
    font-size: 25px
  }

  .property-icon {
    width: 42px;
    height: 36px
  }

  .property-grid {
    display: block
  }

  .property dl>div {
    font-size: 14px;
    grid-template-columns: 49px 1fr;
    gap: 16px;
    line-height: 1.9
  }

  .property dt {
    font-size: 13px
  }

  .property-story {
    font-size: 15px;
    border-left: 0;
    border-top: 1px solid #c6b18a;
    padding: 22px 0 0;
    margin-top: 22px;
    line-height: 2
  }

  .property-story br {
    display: none
  }

  .tour-heading {
    margin-top: 55px;
    margin-bottom: 40px
  }

  .tour-heading h3 {
    font-size: 23px;
    margin-block: 20px;
    line-height: 1.9
  }

  .ornament {
    width: 150px
  }

  .tour-point {
    margin-bottom: 65px
  }

  .point-top,
  .point-top.reverse {
    display: flex;
    flex-direction: column;
    gap: 28px
  }

  .point-top.reverse .point-figure {
    order: 0
  }

  .point-top.reverse .point-copy {
    order: 1
  }

  .point-figure {
    width: 100%
  }

  .image-mat {
    padding: 7px;
    box-shadow: 4px 5px 0 #c1ac7d22
  }

  .image-corner {
    width: 27px;
    height: 27px
  }

  .point-figure figcaption {
    font-size: 12px;
    margin-top: 10px
  }

  .point-copy {
    width: 100%
  }

  .point-label {
    font-size: 17px;
    margin-bottom: 10px
  }

  .point-label>span:first-child {
    font-size: 36px
  }

  .point-copy h4 {
    font-size: 31px;
    line-height: 1.75;
    margin-bottom: 18px
  }

  .point-description {
    font-size: 16px;
    line-height: 2.1
  }

  .castle-figure img {
    height: 300px
  }

  .dialogue {
    display: block;
    margin-block: 28px
  }

  .speech {
    gap: 14px
  }

  .speech+.speech {
    margin-top: 22px
  }

  .speech .avatar,
  .advisor-avatar {
    width: 66px;
    height: 66px;
    flex: none;
    margin-top: 24px
  }

  .speech p {
    font-size: 15px;
    line-height: 1.9;
    padding: 14px 15px
  }

  .speaker {
    font-size: 12px
  }

  .expert {
    gap: 14px;
    margin-top: 27px
  }

  .expert-person {
    width: 62px;
    padding-top: 8px
  }

  .expert-photo {
    width: 58px;
    height: 58px;
    border-width: 2px
  }

  .expert-person>span {
    font-size: 11px;
    margin-top: 9px;
    letter-spacing: 0
  }

  .expert-bubble {
    padding: 15px 17px;
    border-left-width: 2px
  }

  .expert-label {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 9px;
    letter-spacing: .06em
  }

  .expert-bubble p {
    font-size: 14px;
    line-height: 2;
    letter-spacing: .02em
  }

  .expert-bubble:before {
    left: -9px;
    top: 24px;
    border-width: 8px 8px 8px 0
  }

  .investment {
    padding: 48px 0
  }

  .investment h3 {
    font-size: 29px;
    line-height: 1.85;
    margin-bottom: 27px
  }

  .investment-grid {
    display: block;
    padding: 0;
    border-bottom: 0
  }

  .investment-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    text-align: left;
    padding: 23px 5px;
    column-gap: 18px;
    border-bottom: 1px solid #baa57b
  }

  .investment-item+.investment-item {
    border-left: 0
  }

  .investment-item svg {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    margin: 0;
    align-self: center
  }

  .investment-item h4 {
    font-size: 13px;
    margin-bottom: 6px
  }

  .investment-item p {
    font-size: 18px;
    line-height: 1.8
  }

  .investment .expert {
    margin-top: 29px
  }

  .advisor-section {
    padding-top: 60px
  }

  .advisor-title h3 {
    font-size: 39px;
    margin-bottom: 18px
  }

  .advisor-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px
  }

  .advisor-art {
    width: min(350px, 100%);
    height: 300px
  }

  .advisor-art>img {
    height: 300px
  }

  .advisor-art:before {
    width: 260px;
    height: 260px
  }

  .advisor-name-vertical {
    font-size: 21px;
    top: 0;
    right: 0
  }

  .advisor-name {
    font-size: 30px;
    margin-bottom: 20px
  }

  .advisor-role p {
    font-size: 16px
  }

  .advisor-support {
    padding: 14px 17px;
    margin-top: 22px
  }

  .advisor-copy blockquote {
    font-size: 18px;
    margin-top: 23px
  }

  .advisor-section>.expert {
    margin-top: 28px
  }

  .lord-end {
    margin-block: 45px 60px
  }

  .lord-end-links {
    gap: 12px;
    margin-top: 23px
  }

  .next-lord {
    min-width: 0;
    flex: 1;
    gap: 10px;
    padding: 13px 10px;
    justify-content: center
  }

  .next-lord .avatar {
    width: 40px;
    height: 40px
  }

  .next-lord>span:last-child {
    font-size: 19px;
    letter-spacing: .02em
  }

  .next-lord small {
    font-size: 12px
  }

  .center-title {
    margin-bottom: 32px
  }

  .center-title h2 {
    font-size: 32px;
    line-height: 1.8;
    margin-top: 22px
  }

  .comparison-scroll {
    margin-right: -20px;
    width: calc(100% + 20px);
    padding-bottom: 12px;
    scrollbar-color: #b59a64 #eee2c8;
    scrollbar-width: thin
  }

  .comparison table {
    min-width: 680px;
    font-size: 15px
  }

  .comparison thead th {
    padding: 18px 15px
  }

  .comparison thead th .avatar {
    width: 65px;
    height: 65px
  }

  .comparison thead th>span:last-child {
    font-size: 20px
  }

  .comparison tbody th {
    font-size: 13px;
    padding: 18px 14px
  }

  .comparison td {
    padding: 18px 15px;
    line-height: 1.8
  }

  .advisors-row th,
  .advisors-row td {
    font-size: 19px !important
  }

  .comparison-message {
    margin-top: 33px;
    font-size: 16px;
    line-height: 2.15
  }

  .comparison-message br {
    display: none
  }

  .comparison-message p:first-child {
    font-size: 31px;
    margin-bottom: 20px
  }

  .comparison .expert {
    margin-top: 30px
  }

  .bridge {
    min-height: 650px
  }

  .bridge-image {
    left: 0
  }

  .bridge-image img {
    object-position: 58% 50%
  }

  .bridge-overlay {
    background: #233b31de
  }

  .bridge-copy {
    padding-block: 60px
  }

  .bridge h2 {
    font-size: 33px;
    line-height: 1.8;
    margin-bottom: 25px
  }

  .bridge p {
    font-size: 16px;
    line-height: 2.2
  }

  .bridge p br {
    display: none
  }

  .bridge-cloud {
    width: 220px;
    right: -115px;
    bottom: 15px;
    opacity: .35
  }

  .customers .center-title h2 {
    font-size: 27px;
    line-height: 1.85
  }

  .customer-grid {
    display: flex;
    flex-direction: column;
    gap: 28px
  }

  .customer-card>a>img {
    aspect-ratio: 1.6
  }

  .customer-copy {
    padding: 23px
  }

  .customer-tags {
    font-size: 13px
  }

  .customer-copy h3 {
    font-size: 21px;
    min-height: 0;
    line-height: 1.85
  }

  .customer-name {
    font-size: 16px;
    margin-top: 14px
  }

  .customer-quote {
    margin: 0 21px 24px;
    padding: 17px 18px
  }

  .quote-label {
    font-size: 12px
  }

  .customer-quote blockquote {
    font-size: 15px
  }

  .customer-more {
    margin-top: 32px;
    width: 100%;
    font-size: 15px;
    padding-inline: 20px
  }

  .closing h2 {
    font-size: 37px;
    line-height: 1.8;
    max-width: 370px;
    margin: auto;
    text-wrap: balance
  }

  .closing-body {
    font-size: 18px;
    line-height: 2.1;
    margin-top: 22px
  }

  .cta-buttons {
    gap: 14px;
    margin-top: 30px
  }

  .cta-buttons> :is(a, button) {
    width: 50%;
    min-height: 60px;
    font-size: 20px;
    padding: 12px
  }

  .about-link {
    font-size: 13px;
    margin-top: 24px;
    letter-spacing: 0
  }

  .closing-brand {
    margin-top: 55px
  }

  .closing-brand>.brush {
    font-size: 26px
  }

  .brand-eyebrow {
    font-size: 12px;
    margin-top: 27px
  }

  .brand-name {
    font-size: 30px;
    letter-spacing: .07em
  }

  .closing-cloud-one {
    width: 220px;
    left: -160px;
    top: 90px
  }

  .closing-cloud-two {
    width: 230px;
    right: -170px;
    top: 190px
  }

  .closing-pine {
    width: 230px;
    right: -165px;
    bottom: 24px;
    opacity: .6
  }

  footer {
    padding: 23px 20px
  }

  footer .brand {
    font-size: 15px
  }

  .back-top {
    width: 39px;
    height: 39px
  }
}

@media(max-width:390px) {
  .hero h1 {
    font-size: 36px
  }

  .hero {
    min-height: 620px
  }

  .hero-stage {
    height: 350px
  }

  .hero-bottom p {
    font-size: 29px
  }

  .hero-bottom {
    gap: 12px
  }

  .hero-castle {
    bottom: 110px
  }

  .hideyoshi .hero-castle {
    bottom: 125px
  }

  .hero-name {
    font-size: 12px
  }

  .nobunaga .hero-name {
    top: 112px
  }

  .hideyoshi .hero-name {
    top: 146px
  }

  .ieyasu .hero-name {
    top: 133px
  }

  .hero-sun {
    width: 300px;
    height: 300px
  }

  .lord-tab {
    gap: 5px
  }

  .lord-tab .avatar {
    width: 32px;
    height: 32px
  }

  .lord-tab>span:last-child {
    font-size: 16px
  }

  .header-cta {
    font-size: 11px
  }

  .brand {
    font-size: 15px
  }

  .point-copy h4 {
    font-size: 29px
  }

  .expert-person {
    width: 52px
  }

  .expert-photo {
    width: 50px;
    height: 50px
  }

  .expert-person>span {
    font-size: 10px
  }

  .expert {
    gap: 11px
  }

  .expert-bubble {
    padding: 14px
  }

  .closing h2 {
    font-size: 34px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important
  }
}

@media print {

  .site-header,
  .tabs-shell,
  .lord-end,
  .hero .pine,
  .cta-buttons {
    display: none !important
  }

  [hidden] {
    display: block !important
  }

  .lord-panel {
    display: block !important;
    break-before: page
  }

  .hero {
    min-height: 600px
  }

  .hero-stage {
    height: 400px
  }

  .point-top {
    break-inside: avoid
  }

  .wrap {
    width: 92%
  }

  .section-space {
    padding-block: 35px
  }
}

/* Original portraits: face-only framing, without modifying source artwork. */
.avatar.nobunaga,
.owner-crop.nobunaga,
.card-owner.nobunaga {
  --face-width: 350%;
  --face-left: -96%;
  --face-top: 2%
}

.avatar.hideyoshi,
.owner-crop.hideyoshi,
.card-owner.hideyoshi {
  --face-width: 560%;
  --face-left: -173%;
  --face-top: -50%
}

.avatar.ieyasu,
.owner-crop.ieyasu,
.card-owner.ieyasu {
  --face-width: 560%;
  --face-left: -195%;
  --face-top: -50%
}

.avatar img,
.owner-crop img,
.card-owner img {
  width: var(--face-width) !important;
  left: var(--face-left) !important;
  top: var(--face-top) !important;
  bottom: auto !important;
  height: auto !important
}

.owner-crop {
  width: 290px;
  height: 290px;
  left: 18px;
  bottom: 44px;
  mask-image: none;
  border-radius: 50%;
  border: 2px solid #b59a61;
  background: var(--tint);
  box-shadow: 0 0 0 7px #f8f0dc, 0 0 0 8px #c6b17d
}

.card-owner {
  inset: auto;
  left: 14px;
  bottom: 20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid #b59a61;
  background: var(--tint);
  box-shadow: 0 0 0 5px #f8efda80
}

.entry-comment img {
  object-position: 50% 38%;
  object-fit: cover
}

@media(max-width:1100px) and (min-width:761px) {
  .owner-crop {
    width: 245px;
    height: 245px;
    left: 10px;
    bottom: 30px
  }

  .card-owner {
    width: 138px;
    height: 138px
  }
}

@media(max-width:760px) {
  .owner-crop {
    width: 220px;
    height: 220px;
    left: 12px;
    bottom: 22px
  }

  .card-owner {
    width: 150px;
    height: 150px;
    bottom: 15px
  }
}

/* Append after the existing responsive rules, or replace the old map rules
   and remove mobile .map-art padding. The geographic image must not crop. */
.map-art {
  position: relative;
  padding: 0;
  aspect-ratio: 900 / 530;
  overflow: visible;
}

.japan-map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 530;
  object-fit: contain;
}

.map-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.map-leaders path {
  fill: none;
  stroke: #9b7842;
  stroke-width: 1.1;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}

.map-leaders circle {
  fill: #9b3a29;
  stroke: #f9f0dc;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.map-badge {
  position: absolute;
  left: var(--badge-x);
  top: var(--badge-y);
  width: 14%;
  min-width: 36px;
  max-width: 68px;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.map-badge .avatar {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: #f7e7bb;
  border: 2px solid #a47b36;
  box-shadow: 0 3px 0 #886d4533;
  transition: transform .25s;
}

.map-badge:hover .avatar,
.map-badge:focus-visible .avatar {
  transform: scale(1.05);
}

.map-badge .map-label {
  padding: 2px 7px;
  background: #f9f1dbf2;
  color: #6e442e;
  font-weight: 400;
}

.mobile-break {
  display: none
}

.entry-face {
  display: block;
  position: relative;
  overflow: hidden;
  flex: none;
  width: 70px;
  height: 70px;
  border: 2px solid #fff5e0;
  border-radius: 50%;
  background: #e0d0ab
}

.entry-face img {
  position: absolute;
  border: 0;
  border-radius: 0;
  width: 230%;
  height: 230%;
  max-width: none;
  left: -65%;
  top: -69%;
  object-fit: cover;
  object-position: center
}

@media(max-width:760px) {
  .mobile-break {
    display: block
  }

  .hero-heading {
    z-index: 8
  }

  .hero-person {
    max-width: none
  }

  .hero-character.nobunaga {
    left: -4%
  }

  .hero-character.nobunaga .hero-person {
    left: -12%
  }

  .hero-character.hideyoshi {
    left: 35.5%
  }

  .hero-character.ieyasu {
    right: -10%
  }

  .nobunaga .hero-name {
    left: 7%
  }

  .hideyoshi .hero-name {
    left: -12%
  }

  .ieyasu .hero-name {
    right: 33%
  }

  .entry-face {
    width: 56px;
    height: 56px
  }

  .entry-face img {
    width: 230%;
    height: 230%;
    max-width: none
  }

  .hero-pine-right {
    z-index: 2
  }
}

@media(max-width:760px) {
  .expert {
    display: block
  }

  .expert-person {
    width: auto;
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 0;
    margin-bottom: 12px
  }

  .expert-photo {
    width: 52px;
    height: 52px;
    margin: 0
  }

  .expert-person>span {
    font-size: 12px;
    margin-top: 0
  }

  .expert-bubble {
    padding: 17px 20px
  }

  .expert-bubble:before {
    display: none
  }

  .expert-bubble p {
    font-size: 15px;
    line-height: 2
  }
}

.card-catch {
  text-wrap: balance
}

/* Heading-like labels retain the Japanese display typography. */
.section-tag,
.hero-name,
.card-castle-name,
.card-catch,
.owner-name-vertical,
.point-label,
.expert-label,
.advisor-name-vertical,
.advisor-name,
.lord-tab>span:last-child,
.next-lord>span:last-child,
.comparison thead th>span:last-child,
.advisors-row th,
.advisors-row td {
  font-family: var(--heading);
  font-weight: 700;
}

.lord-tab small,
.next-lord small {
  font-family: var(--body);
  font-weight: 400
}