@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-family: sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
}

.site-header__inner {
  min-height: 116px;
  padding-inline: 50px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.site-logo {
  font: 700 32px/34px "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 27px;
}

.global-nav {
  display: flex;
  align-items: center;
}

.global-nav a {
  display: block;
  padding: 0 40px;
  border-right: 1px solid #ccc;
  font-weight: 500;
  line-height: 30px;
  white-space: nowrap;
}

.global-nav a:last-child {
  border: 0;
  padding-right: 10px;
}

.header-phone {
  text-align: center;
  white-space: nowrap;
}

.header-phone a {
  font: 400 36px/1.1 "EB Garamond", serif;
}

.header-phone a span {
  font-size: 20px;
}

.header-phone p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 4px;
}

.header-contact.contact-button {
  width: 250px;
  flex-shrink: 0;
  min-height: 65px;
  line-height: 20px;
  justify-content: flex-start;
  gap: 4px;
  padding: 16px 40px 16px 44px;
  font-size: 18px;
  transform: translateY(4px);
}

.header-contact.contact-button .button-arrow {
  right: 24px;
}

.menu-toggle,
.menu-close,
.mobile-mail,
.drawer-backdrop,
.drawer-contact {
  display: none;
}

.navigation-panel {
  display: contents;
}

@media (max-width: 1800px) {
  .site-header__inner {
    padding-inline: 30px;
    gap: 18px;
  }

  .site-logo {
    font-size: 27px;
  }

  .global-nav a {
    padding-inline: 22px;
  }

  .header-right {
    gap: 18px;
  }

  .header-contact.contact-button {
    width: 220px;
    padding-left: 30px;
  }
}

@media (max-width: 1440px) {
  .site-logo {
    font-size: 24px;
  }

  .global-nav a {
    padding-inline: 16px;
    font-size: 14px;
  }

  .header-phone a {
    font-size: 29px;
  }

  .header-phone p {
    font-size: 11px;
  }

  .header-contact.contact-button {
    width: 200px;
    font-size: 15px;
    justify-content: center;
    gap: 10px;
    padding-inline: 14px 30px;
  }

  .header-contact.contact-button .button-arrow {
    right: 10px;
  }

  .header-right {
    gap: 12px;
  }
}

@media (max-width: 1200px) {
  .site-header__inner {
    padding-inline: 20px;
  }

  .site-logo {
    font-size: 22px;
  }

  .global-nav a {
    padding-inline: 11px;
    font-size: 13px;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 80px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 0;
  }

  .site-logo {
    text-align: center;
    font-size: clamp(15px, 3.5vw, 25px);
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  .menu-toggle,
  .mobile-mail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font: 500 10px/1 "Noto Sans JP", "Yu Gothic", sans-serif;
    color: #222;
    min-height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-mail img {
    filter: brightness(0);
  }

  .burger {
    display: block;
    width: 25px;
    height: 18px;
    border-block: 1px solid #222;
    position: relative;
  }

  .burger::after {
    content: "";
    position: absolute;
    top: 7px;
    width: 25px;
    left: 0;
    border-top: 1px solid #222;
  }

  .header-right {
    display: contents;
  }

  .header-contact.contact-button {
    display: none;
  }

  .navigation-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    width: min(420px, 100%);
    height: 100vh;
    height: 100dvh;
    background: white;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
    z-index: 60;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .navigation-panel.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .menu-close {
    display: flex;
    width: 66px;
    height: 66px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: #9e4256;
    color: white;
    border: 0;
    font: 500 10px/1 "Noto Sans JP", "Yu Gothic", sans-serif;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .menu-close {
    flex: none;
  }

  .menu-close:focus-visible {
    outline: 2px solid white;
    outline-offset: -6px;
  }

  .close-icon {
    width: 26px;
    height: 26px;
    position: relative;
  }

  .close-icon::before,
  .close-icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 26px;
    height: 1px;
    background: currentColor;
    transform: rotate(45deg);
  }

  .close-icon::after {
    transform: rotate(-45deg);
  }

  .global-nav {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 28px 35px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .global-nav a {
    font-size: 16px;
    flex: none;
    border: 0;
    border-bottom: 1px solid #ddd;
    padding: 18px 0;
  }

  .global-nav a:last-child {
    padding: 18px 0;
  }

  .drawer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: none;
    padding-bottom: env(safe-area-inset-bottom);
    background: #234b3a;
  }

  .drawer-contact a {
    color: white;
    font-size: 14px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .drawer-contact a:first-child {
    background: #9e4256;
  }

  .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0, 0, 0, 0.35);
  }

  body.menu-open {
    overflow: hidden;
  }
}

.site-footer {
  position: relative;
  isolation: isolate;
  color: white;
  padding-top: 86px;
}

.site-footer .inner {
  position: relative;
}

.footer-intro {
  font: 700 22px/42px "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
  padding-top: 56px;
  padding-bottom: 71px;
}

.footer-phone {
  text-align: center;
}

.footer-phone p:first-child {
  font-size: 18px;
  font-weight: 500;
}

.footer-phone a {
  font: 400 62px/1.35 "EB Garamond", serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-phone a span {
  font-size: 32px;
}

.footer-phone p:last-child {
  font-size: 16px;
  margin-top: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 20px 35px;
  border-top: 1px solid #ddd;
  gap: 20px;
}

.footer-bottom a {
  font-size: 15px;
  font-weight: 500;
}

.footer-bottom small {
  font-size: 13px;
}

.fixed-contact {
  display: none;
}

@media (max-width: 1200px) {
  .footer-contact {
    gap: 50px;
  }

  .footer-phone a {
    font-size: 52px;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 55px;
  }

  .footer-intro {
    font-size: 18px;
    line-height: 2;
  }

  .footer-intro br {
    display: none;
  }

  .footer-contact {
    flex-direction: column;
    gap: 30px;
    padding-block: 35px 45px;
  }

  .footer-phone a {
    font-size: clamp(35px, 8vw, 52px);
  }

  .footer-phone p:first-child {
    font-size: 16px;
  }

  .footer-phone p:last-child {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-inline: 0;
  }

  .footer-bottom small {
    font-size: 11px;
  }

  .fixed-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1333333333);
    padding-bottom: env(safe-area-inset-bottom);
    background: #234b3a;
    transition: transform 0.2s;
  }

  .fixed-contact a {
    min-height: 58px;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .fixed-contact a:first-child {
    background: #9e4256;
  }

  .fixed-contact.is-hidden {
    transform: translateY(100%);
    pointer-events: none;
  }

  body.has-fixed-contact {
    padding-bottom: 58px;
  }

  body.at-footer {
    padding-bottom: 0;
  }
}

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

body {
  margin: 0;
  color: #222;
  font: 400 16px/2 "Noto Sans JP", "Yu Gothic", sans-serif;
  overflow-wrap: anywhere;
}

* {
  box-sizing: border-box;
}

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

figure,
p,
h1,
h2,
h3,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}

a:hover {
  opacity: 0.8;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
iframe:focus-visible {
  outline: 3px solid #c5a059;
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

.inner {
  width: min(1250px, 100% - 64px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 200;
  background: white;
  padding: 8px 20px;
}

.skip-link:focus {
  top: 8px;
}

.section-heading h2 {
  font: 600 34px/1.3 "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.08em;
  color: #1e272f;
}

.section-heading p {
  margin-top: 15px;
  color: #c5a059;
  font: 700 15px/26px "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.08em;
}

.section-heading--center {
  text-align: center;
}

.section-heading--inline {
  display: flex;
  align-items: center;
  gap: 34px;
}

.section-heading--inline h2 {
  letter-spacing: 0.02em;
}

.section-heading--inline p {
  margin: 0;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 370px;
  max-width: 100%;
  min-height: 85px;
  background: #9e4256;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  padding: 20px 28px;
  position: relative;
}

.contact-button .button-arrow {
  position: absolute;
  right: 28px;
}

.contact-button .mail-icon {
  flex: none;
}

.contact-button:hover {
  background: #234b3a;
  opacity: 1;
}

.section-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.empty-state {
  padding: 65px 25px;
  color: #555;
  text-align: center;
}

.page-title {
  position: relative;
  isolation: isolate;
  padding: 90px 32px;
  background: url("../img/top/hero.webp") center 60%/cover;
  text-align: center;
}

.page-title h1 {
  font: 600 clamp(28px, 3vw, 42px)/1.5 "Shippori Mincho", "Yu Mincho", serif;
  text-shadow: 0 0 8px white, 0 0 18px white;
  color: #111;
}

.pankz {
  padding-block: 18px;
  font-size: 14px;
}

.pankz a {
  text-decoration: underline;
}

.content-layout {
  padding-block: 50px 100px;
}

.content-layout .section-heading {
  margin-bottom: 40px;
}

.content-layout h2:not(.section-heading__title) {
  font: 600 28px/1.6 "Shippori Mincho", "Yu Mincho", serif;
  border-bottom: 1px solid #ddd;
  padding-bottom: 18px;
  margin-bottom: 28px;
}

.content-layout p+p {
  margin-top: 22px;
}

.entry__body h2,
.entry__body h3 {
  margin-block: 28px 14px;
}

.entry__body a {
  text-decoration: underline;
}

.entry__body ul {
  list-style: disc;
  padding-left: 1.5em;
}

.single .entry__body .number-list > li, .single .entry__body .arrow-list > li, .single .entry__body .katakana-list > li {
  position: relative;
  list-style: none;
}
.single .entry__body .number-list > li::before, .single .entry__body .arrow-list > li::before, .single .entry__body .katakana-list > li::before {
  position: absolute;
  left: 0;
  background: transparent;
}
.single .entry__body .number-list {
  counter-reset: list-counter;
}
.single .entry__body .number-list > li {
  padding-left: 1.5em;
  margin-left: 0 !important;
}
.single .entry__body .number-list > li::before {
  counter-increment: list-counter;
  content: counter(list-counter);
  display: inline-block;
  top: 0.4em;
  border: 1px solid #555;
  border-radius: 50%;
  height: 18px;
  width: 18px;
  color: #333;
  font-size: 1.2rem;
  line-height: 16px;
  text-align: center;
}
.single .entry__body .arrow-list > li {
  padding-left: 1.5em;
}
.single .entry__body .arrow-list > li::before {
  content: "";
  display: inline-block;
  top: 0.8rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #9e4256;
  border-right: 0;
  border-radius: 0;
}
.single .entry__body .katakana-list {
  counter-reset: kana;
}
.single .entry__body .katakana-list > li {
  padding-left: 2em;
}
.single .entry__body .katakana-list > li::before {
  counter-increment: kana;
  content: "(" counter(kana, katakana) ") ";
  top: 0;
  width: auto;
  height: auto;
  font-size: 1.5rem;
}
.single .entry__body ul li:not(:last-child), .single .entry__body ol li:not(:last-child) {
  margin-bottom: 1.3em;
}
.single .entry__body ul li ul, .single .entry__body ul li ol, .single .entry__body ol li ul, .single .entry__body ol li ol {
  margin-top: 1em;
  margin-bottom: 1em;
}
.single .entry__body ul li ul li:not(:last-child), .single .entry__body ul li ol li:not(:last-child), .single .entry__body ol li ul li:not(:last-child), .single .entry__body ol li ol li:not(:last-child) {
  margin-bottom: 0.7em;
}
.single .entry__body h3, .single .entry__body h4, .single .entry__body h5 {
  color: #1e272f;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.single .entry__body h3 {
  font-weight: 700;
  margin: 72px 0 20px;
  padding: 12px 20px;
  border-left: 3px solid #9e4256;
  background: #f8f3f4;
  font-size: 24px;
}
.single .entry__body h4 {
  position: relative;
  margin: 32px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5d5d9;
  font-size: 21px;
}
.single .entry__body h4::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #9e4256;
}
.single .entry__body h5 {
  position: relative;
  margin: 28px 0 14px;
  padding-left: 20px;
  color: #9e4256;
  font-size: 18px;
}
.single .entry__body h5::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 10px;
  height: 1px;
  background: currentColor;
}
.single .entry__body table {
  width: 100%;
  margin-block: 28px;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #e5d5d9;
  font-size: 16px;
  line-height: 1.8;
}
.single .entry__body th, .single .entry__body td {
  padding: 16px 20px;
  border: 1px solid #e5d5d9;
  text-align: left;
  vertical-align: top;
}
.single .entry__body th {
  background: #f4ebed;
  color: #713344;
  font-weight: 700;
}
.single .entry__body td {
  background: #fff;
}
.single .entry__body tbody tr:nth-child(even) td {
  background: #fcf9fa;
}
.single .entry__body thead {
  border-bottom: 2px solid #9e4256;
}
.single .entry__body caption {
  padding-bottom: 10px;
  color: #555;
  font-size: 14px;
  text-align: left;
}
.single .entry__body .wp-block-table {
  margin-block: 28px;
  overflow-x: auto;
}
.single .entry__body .wp-block-table table {
  margin-block: 0;
}
.single .entry__body .wp-block-table figcaption {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}
.single .entry__body blockquote {
  position: relative;
  margin: 32px 0;
  padding: 28px 32px 28px 56px;
  border: 0;
  background: #f7f7f7;
  color: #51483f;
  font: italic 600 17px/2.1 "Shippori Mincho", "Yu Mincho", serif;
}
.single .entry__body blockquote::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 16px;
  color: #c5a059;
  font: 48px/1 Georgia, serif;
}
.single .entry__body blockquote p {
  font: inherit;
}
.single .entry__body blockquote p + p {
  margin-top: 16px;
}
.single .entry__body blockquote > :first-child {
  margin-top: 0;
}
.single .entry__body blockquote > :last-child {
  margin-bottom: 0;
}
.single .entry__body blockquote cite {
  display: block;
  margin-top: 16px;
  color: #6b6259;
  font: normal 400 14px/1.8 "Noto Sans JP", "Yu Gothic", sans-serif;
  text-align: right;
}

@media (max-width: 600px) {
  .single .entry__body h3 {
    margin-top: 56px;
    padding: 10px 14px;
    font-size: 21px;
  }
  .single .entry__body h4 {
    margin-top: 28px;
    font-size: 19px;
  }
  .single .entry__body h5 {
    font-size: 17px;
  }
  .single .entry__body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    font-size: 14px;
  }
  .single .entry__body th, .single .entry__body td {
    min-width: 120px;
    padding: 12px 14px;
  }
  .single .entry__body .wp-block-table table {
    display: table;
  }
  .single .entry__body blockquote {
    padding: 22px 20px 22px 40px;
    font-size: 16px;
  }
  .single .entry__body blockquote::before {
    left: 10px;
    font-size: 36px;
  }
}

ul.post-list,
.entry__body ul.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
ul.post-list::before, ul.post-list::after,
.entry__body ul.post-list::before,
.entry__body ul.post-list::after {
  content: none;
  display: none;
}
ul.post-list > li,
.entry__body ul.post-list > li {
  float: none;
  clear: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 0 32px;
  border-bottom: 1px solid #e5d5d9;
  list-style: none;
  font-size: 15px;
  line-height: 1.9;
}
ul.post-list > li::marker,
.entry__body ul.post-list > li::marker {
  content: "";
}
ul.post-list > li > a:first-child,
.entry__body ul.post-list > li > a:first-child {
  display: block;
  margin-bottom: 20px;
  color: #9e4256;
  font: 700 18px/1.7 "Shippori Mincho", "Yu Mincho", serif;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
ul.post-list mark,
.entry__body ul.post-list mark {
  font-style: italic;
}
ul.post-list > li > p,
.entry__body ul.post-list > li > p {
  margin: 0;
}
ul.post-list > li > p + p,
.entry__body ul.post-list > li > p + p {
  margin-top: 12px;
}

@media (max-width: 700px) {
  ul.post-list,
  .entry__body ul.post-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-block: 24px;
  }
}

.article-row {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid #ddd;
}

.article-row h3 {
  font: 600 18px/1.7 "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.06em;
}

.article-row p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 2;
}

.article-row:last-child {
  border-bottom: 0;
}

.article-row:hover {
  color: #9e4256;
}

.category-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.category-card {
  display: block;
  min-width: 0;
  padding: 24px;
  border: 1px solid #e5d5d9;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(158, 66, 86, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.category-card:hover, .category-card:focus-visible {
  border-color: #9e4256;
  box-shadow: 0 4px 18px rgba(158, 66, 86, 0.1);
  opacity: 1;
}
.category-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.category-card__image {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border-radius: 3px;
}
.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card__title {
  position: relative;
  min-width: 0;
  padding-left: 16px;
  color: #9e4256;
  font: 600 18px/1.6 "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.03em;
}
.category-card__title::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 3px;
  height: 1.15em;
  background: #9e4256;
}
.category-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-height: 6em;
  margin-top: 16px;
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 1100px) {
  .category-articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .category-articles {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .category-card {
    padding: 20px;
  }
  .category-card__image {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }
  .category-card__title {
    font-size: 17px;
    padding-left: 12px;
  }
  .category-card__excerpt {
    font-size: 15px;
  }
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.pagination .current,
.nav-links .current {
  color: #9e4256;
}

.category-articles + .pagination {
  display: block;
  margin-top: 40px;
}
.category-articles + .pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.category-articles + .pagination .nav-links {
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}
.category-articles + .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 50px;
  padding: 10px 16px;
  border-radius: 3px;
  background: #aaa;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}
.category-articles + .pagination .current,
.category-articles + .pagination a.page-numbers:hover,
.category-articles + .pagination a.page-numbers:focus-visible {
  background: #9e4256;
  color: #fff;
  opacity: 1;
}
.category-articles + .pagination .dots {
  min-width: 24px;
  padding-inline: 4px;
  background: transparent;
  color: #222;
}

.post-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 1fr);
  grid-template-areas: "previous list next";
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}
.post-navigation__previous {
  grid-area: previous;
  justify-self: start;
}
.post-navigation__next {
  grid-area: next;
  justify-self: end;
}
.post-navigation__previous a, .post-navigation__next a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 10px;
  color: #1e272f;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  line-height: 1.7;
  text-decoration: none;
}
.post-navigation__previous a:hover, .post-navigation__previous a:focus-visible, .post-navigation__next a:hover, .post-navigation__next a:focus-visible {
  color: #9e4256;
  opacity: 1;
}
.post-navigation__previous a::before, .post-navigation__next a::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  transform: rotate(45deg);
}
.post-navigation__previous a::before {
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
}
.post-navigation__next a::after {
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.post-navigation .post-navigation__list {
  grid-area: list;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  margin: 0;
}

@media (max-width: 600px) {
  .post-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "previous next" "list list";
    gap: 16px;
    margin-top: 32px;
  }
}
.contact-details {
  padding-block: 20px;
}

.contact-details a {
  color: #9e4256;
  text-decoration: underline;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 85px;
  }

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

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading--inline {
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-button {
    font-size: 18px;
    min-height: 72px;
  }

  .page-title {
    padding-block: 55px;
  }

  .content-layout {
    padding-block: 30px 60px;
  }
}

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

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

.hero {
  position: relative;
}

.hero .hero__image {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.hero__copy {
  position: absolute;
  top: 267px;
  left: 0;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-weight: 600;
}

.hero__copy p,
.hero__copy h1 {
  width: fit-content;
  max-width: 100%;
  clip-path: polygon(0 0, 100% 0, 95.5% 100%, 0 100%);
}

.hero__copy .hero__intro {
  background: rgba(255, 255, 255, 0.9);
  padding: 19px 70px 19px 48px;
  font-size: 32px;
  line-height: 37px;
  letter-spacing: 0.03em;
}

.hero__copy h1 {
  color: white;
  background: rgba(35, 75, 58, 0.9);
  margin-top: 30px;
  padding: 20px 75px 27px 49px;
  font-size: 43px;
  line-height: 53px;
  letter-spacing: 0.03em;
}

.hero__copy .hero__intro {
  width: 1120px;
  padding-right: 50px;
}

.hero__copy h1 {
  width: 1200px;
  font-weight: 600;
  padding-right: 49px;
}

.about {
  padding-block: 100px 110px;
}

.about__grid {
  display: grid;
  grid-template-columns: 520px 570px;
  justify-content: space-between;
  gap: 55px;
  padding-inline: 20px 30px;
}

.about__text h2 {
  font: 600 36px/50px "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

em {
  font-style: normal;
  color: #234b3a;
}

.about__text p {
  line-height: 32px;
  letter-spacing: 0.03em;
  margin-top: 28px;
}

.about__text p+p {
  margin-top: 22px;
}

.photo-label {
  position: relative;
  align-self: start;
}

.photo-label::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 40px -30px -40px 30px;
  background: #f7f7f7;
}

.photo-label::after {
  content: attr(data-label);
  position: absolute;
  right: 0;
  bottom: -38px;
  color: #9e4256;
  font: 600 72px/1 "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.06em;
  white-space: pre;
}

.service {
  background: #f7f7f7;
  padding-block: 80px 110px;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 39px;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: block;
}

.service-card>img:first-child {
  width: 100%;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.24) 50%, rgba(0, 0, 0, 0.54));
  z-index: 1;
}

.service-card:hover {
  opacity: 1;
}

.service-card:hover::after {
  background: rgba(0, 0, 0, 0.35);
}

.service-card__label {
  position: absolute;
  left: 40px;
  bottom: 28px;
  color: white;
  z-index: 2;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
}

.service-card__label strong {
  display: block;
  font-weight: 700;
  font-size: 35px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.service-card__label>span {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.15em;
  margin-top: 11px;
}

.service-arrow {
  position: absolute;
  right: 40px;
  bottom: 43px;
  z-index: 2;
}

.knowledge {
  background: #9e4256;
  color: white;
  padding-block: 86px 110px;
}

.knowledge .section-heading h2,
.knowledge .section-heading p {
  color: white;
}

.knowledge-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 58px;
  padding-inline: 90px;
}

.knowledge-tabs button {
  flex: 1;
  border: 0;
  background: #eee;
  color: #555;
  padding: 23px 12px;
  font-size: 20px;
  font-weight: 500;
}

.knowledge-tabs button[aria-selected=true] {
  color: #9e4256;
  background: white;
}

.knowledge-panels {
  color: #222;
  background: white;
  padding: 36px 55px;
  margin-top: 58px;
}

.knowledge-panels .article-row {
  padding-block: 29px;
}

.knowledge-tabs+.knowledge-panels {
  margin-top: 0;
}

.category-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  max-width: 100%;
  min-height: 60px;
  margin: 32px auto 8px;
  padding: 16px 48px;
  border: 1px solid #9e4256;
  background: #9e4256;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.category-more::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 24px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: right 0.2s;
}
.category-more:hover, .category-more:focus-visible {
  border-color: #234b3a;
  background: #234b3a;
  color: #fff;
  opacity: 1;
}
.category-more:hover::after, .category-more:focus-visible::after {
  right: 20px;
}

.keywords {
  border-top: 1px solid white;
  padding-top: 40px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  padding-inline: 35px;
}

.keywords h3 {
  font: 600 20px/1.8 "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.02em;
}

.keyword-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 9px 10px;
}

.keyword-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  text-align: center;
  color: #555;
  background: white;
  padding: 8px 16px;
  font: 500 14px/25px "Shippori Mincho", "Yu Mincho", serif;
  min-height: 35px;
}

.keyword-links a:hover {
  color: #9e4256;
}

@media (max-width: 900px) {
  .keyword-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .keyword-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

.accountant {
  padding-block: 100px 110px;
}

.accountant__grid {
  display: grid;
  grid-template-columns: 545px 570px;
  justify-content: space-between;
  gap: 29px 50px;
  grid-template-areas: "heading photo" "text photo";
}

.accountant__heading {
  grid-area: heading;
}

.accountant__photo {
  grid-area: photo;
  margin-top: 35px;
  margin-right: 30px;
}

.accountant__photo img {
  width: 540px;
}

.accountant__photo::after {
  font-size: 58px;
  line-height: 60px;
  right: 0;
  bottom: -45px;
}

.accountant__text {
  grid-area: text;
}

.accountant__text h3 {
  font: 600 35px/52px "Shippori Mincho", "Yu Mincho", serif;
  letter-spacing: 0.15em;
}

.accountant__text p {
  line-height: 32px;
  letter-spacing: 0.03em;
  margin-top: 25px;
}

.accountant__text .accountant__name {
  text-align: right;
  font: 600 25px/30px "Shippori Mincho", "Yu Mincho", serif;
  margin-top: 40px;
}

.accountant__text .accountant__name span {
  font-size: 20px;
}

.affiliations {
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 65px;
}

.affiliations h3 {
  font: 600 20px/28px "Shippori Mincho", "Yu Mincho", serif;
  position: relative;
}

.affiliations h3::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #9e4256;
  position: absolute;
  left: -20px;
  top: 10px;
}

.affiliations ul {
  font-size: 16px;
  line-height: 28px;
}

.affiliations ul li::before {
  content: "・";
}

.office {
  position: relative;
  isolation: isolate;
  padding-block: 116px 164px;
}

.office__grid {
  display: grid;
  grid-template-columns: 450px minmax(0, 1fr);
  gap: 80px;
  padding-left: 11px;
  align-items: start;
}

.office__map {
  width: 100%;
  height: 500px;
  border: 0;
}

.office__details {
  padding-top: 15px;
}

.office__details dl {
  margin-top: 46px;
}

.office__details dl>div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 24px;
  padding-block: 22px;
  line-height: 2;
}

.office__details dt,
.office__details dd {
  font-size: 16px;
}

@media (min-width: 1441px) {
  .office__details .section-heading p {
    padding-left: 5px;
  }

  .office__details dl {
    padding-left: 10px;
    margin-top: 17px;
  }

  .office__details dl>div {
    line-height: 1;
  }

  .office__details dl>div:nth-child(1) {
    padding-bottom: 50px;
  }

  .office__details dl>div:nth-child(2) {
    padding-bottom: 39px;
  }

  .office__details dl>div:nth-child(3) {
    padding-bottom: 42px;
  }

  .office__details dl>div:nth-child(4) {
    padding-bottom: 43px;
  }
}

@media (max-width: 1440px) {

  .hero__copy .hero__intro,
  .hero__copy h1 {
    width: fit-content;
  }
}

@media (max-width: 1440px) {

  .about__grid,
  .accountant__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 45px;
  }

  .about__text h2 {
    font-size: 30px;
    letter-spacing: 0.08em;
  }

  .accountant__text h3 {
    font-size: 30px;
    letter-spacing: 0.08em;
  }

  .office__grid {
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 50px;
  }

  .hero__copy .hero__intro {
    font-size: 27px;
  }

  .hero__copy h1 {
    font-size: 36px;
  }

  .keywords {
    padding-inline: 20px;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
  }

  .service-card__label {
    left: 25px;
  }

  .service-arrow {
    right: 25px;
  }
}

@media (max-width: 1200px) {
  .hero .hero__image {
    height: 650px;
  }

  .hero__copy {
    top: 220px;
  }

  .hero__copy .hero__intro {
    font-size: 23px;
    padding-left: 25px;
  }

  .hero__copy h1 {
    font-size: 30px;
    padding-left: 25px;
  }

  .about__grid {
    padding: 0 20px 0 0;
  }

  .about__text h2 {
    font-size: 25px;
  }

  .photo-label::after {
    font-size: 52px;
    bottom: -25px;
  }

  .accountant__photo::after {
    font-size: 45px;
    line-height: 1.05;
  }

  .service-card__label strong {
    font-size: 29px;
  }

  .service-arrow {
    width: 45px;
  }

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

  .office__details dl>div {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .hero .hero__image {
    height: 520px;
    object-position: 53% center;
  }

  .hero__copy {
    top: 140px;
    right: 14px;
  }

  .hero__copy .hero__intro {
    font-size: clamp(15px, 3.8vw, 26px);
    line-height: 1.8;
    padding: 14px 35px 14px 20px;
  }

  .hero__copy h1 {
    font-size: clamp(21px, 4.8vw, 33px);
    line-height: 1.8;
    margin-top: 20px;
    padding: 15px 38px 20px 20px;
  }

  .about,
  .accountant {
    padding-block: 65px 75px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
  }

  .about__text h2 {
    white-space: normal;
    font-size: clamp(23px, 5vw, 32px);
    line-height: 1.7;
    letter-spacing: 0.06em;
  }

  .about__text p,
  .accountant__text p {
    font-size: 15px;
    line-height: 2;
  }

  .photo-label {
    width: calc(100% - 20px);
    margin: 0 20px 20px 0;
  }

  .photo-label::before {
    inset: 20px -20px -20px 20px;
  }

  .photo-label::after {
    font-size: clamp(36px, 8vw, 58px);
    bottom: -25px;
  }

  .photo-label img {
    width: 100%;
  }

  .service {
    padding-block: 60px 65px;
  }

  .service__grid {
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .service-card {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .service-card>img:first-child {
    aspect-ratio: 400/310;
    object-fit: cover;
  }

  .service-card__label {
    left: 30px;
    bottom: 25px;
  }

  .service-card__label strong {
    font-size: 32px;
  }

  .service-arrow {
    right: 30px;
    width: 75px;
  }

  .knowledge {
    padding-block: 60px 65px;
  }

  .knowledge .section-heading h2 {
    font-size: clamp(20px, 5.5vw, 28px);
    text-wrap: balance;
  }

  .accountant__text h3,
  .about__text h2 {
    text-wrap: balance;
  }

  .knowledge-tabs {
    padding: 0;
    margin-top: 30px;
    gap: 5px;
  }

  .knowledge-tabs button {
    font-size: 15px;
    padding: 18px 8px;
  }

  .knowledge-panels {
    padding: 18px 22px;
    margin-top: 30px;
  }

  .knowledge-panels .article-row {
    padding-block: 22px;
  }

  .knowledge-panels .article-row h3 {
    font-size: 17px;
  }

  .knowledge-panels .article-row p {
    font-size: 14px;
  }

  .empty-state {
    padding: 35px 0;
    font-size: 14px;
  }

  .keywords {
    margin-top: 30px;
    padding: 25px 0 0;
    gap: 20px;
  }

  .keywords h3 {
    font-size: 19px;
  }

  .keywords>p {
    font-size: 14px;
  }

  .accountant__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "photo" "text";
    gap: 30px;
  }

  .accountant__photo {
    margin-top: 0;
    margin-bottom: 55px;
  }

  .accountant__photo::after {
    font-size: clamp(38px, 9vw, 58px);
    bottom: -45px;
  }

  .accountant__text h3 {
    font-size: 27px;
    line-height: 1.8;
    letter-spacing: 0.08em;
  }

  .affiliations {
    flex-direction: column;
    gap: 16px;
    margin-top: 35px;
  }

  .affiliations h3 {
    margin-left: 20px;
  }

  .affiliations ul {
    font-size: 14px;
    line-height: 2;
  }

  .office {
    padding-block: 65px;
  }

  .office__grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 30px;
  }

  .office__details {
    grid-row: 1;
    padding: 0;
  }

  .office__details dl {
    margin-top: 25px;
  }

  .office__details dl>div {
    padding-block: 16px;
    border-bottom: 1px solid #ddd;
  }

  .office__details dt,
  .office__details dd {
    font-size: 14px;
  }

  .office__map {
    height: 400px;
  }
}

.contact-form table {
  width: 100%;
  border-collapse: collapse;
}
.contact-form table tr {
  display: block;
}
.contact-form table tr:not(:last-child) {
  margin-bottom: 1.5em;
}
.contact-form table th {
  position: relative;
  display: block;
  margin-bottom: 0.5em;
  padding: 0 3.5em 0 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
}
.contact-form table th .title {
  font-weight: 700;
}
.contact-form table th .require,
.contact-form table th .option {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 3em;
  margin: 0 auto;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  text-align: center;
}
.contact-form .require {
  background: #9e4256;
}
.contact-form .option {
  background: #777;
}
.contact-form table td {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form input[type=url],
.contact-form input[type=number] {
  max-width: 100%;
  padding: 8px;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  color: #222;
  font-size: 1em;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 0.9em;
  color: #777;
}
.contact-form select,
.contact-form textarea {
  max-width: 100%;
  padding: 8px 4px;
  border-radius: 3px;
  border: 1px solid #999;
  background: #fff;
  color: #222;
  font: inherit;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .full,
.contact-form .per60 {
  width: 100%;
}
.contact-form .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}
.contact-form .wpcf7-not-valid-tip {
  display: block;
  color: #b42318;
  font-size: 0.9em;
}
.contact-form .wpcf7-response-output {
  margin: 1.5em 0;
  padding: 1em;
  border: 2px solid #9e4256;
}
.contact-form :is(input, select, textarea):focus-visible {
  outline: 2px solid #9e4256;
  outline-offset: 2px;
}
.contact-form :is(input[type=checkbox], input[type=radio]) {
  width: auto;
  accent-color: #9e4256;
}

.contact-submit {
  margin-top: 1em;
  text-align: center;
}

.contact-form .wpcf7-submit,
.contact-submit .btn,
.contact-submit .wpcf7-submit {
  display: block;
  width: 150px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #9e4256;
  background: #fff;
  color: #9e4256;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.contact-form .wpcf7-submit:hover,
.contact-submit .btn:hover,
.contact-submit .wpcf7-submit:hover {
  color: #fff;
  background: #9e4256;
}
.contact-form .wpcf7-submit:disabled,
.contact-submit .btn:disabled,
.contact-submit .wpcf7-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .contact-form table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .contact-form table tr:not(:last-child) {
    margin-bottom: 0;
  }
  .contact-form table th {
    display: table-cell;
    vertical-align: middle;
    width: 17em;
    margin: 0;
    padding: 0.8em 3.5em 0.8em 1em;
  }
  .contact-form table td {
    display: table-cell;
    vertical-align: middle;
    padding: 0.8em 0 0.8em 1em;
  }
  .contact-form .per60 {
    width: 60%;
  }
}

._anim-point.is-anim-ready {
  transition: opacity var(--anim-duration, 0.8s) cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0.08s), transform var(--anim-duration, 0.8s) cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0.08s);
}

._anim-point.is-anim-ready:not(.active) {
  opacity: 0;
  transform: translateY(var(--anim-distance, 24px));
}

._anim-point.is-anim-ready.active,
._anim-point.is-anim-ready:focus-within {
  opacity: 1;
  transform: none;
}

._anim-point.is-anim-ready:focus-within {
  transition: none;
}

.hero__image._anim-point {
  --anim-distance: 0px;
  --anim-duration: 1.1s;
}

.hero__intro._anim-point {
  --anim-delay: .24s;
  --anim-duration: 1s;
}

.hero__copy h1._anim-point {
  --anim-delay: .42s;
  --anim-duration: 1s;
}

.about__text._anim-point,
.about__photo._anim-point {
  --anim-duration: 1s;
}

.about__photo._anim-point,
.accountant__photo._anim-point,
.office__map._anim-point,
.service-card:nth-child(2)._anim-point {
  --anim-delay: .16s;
}

.service-card:nth-child(3)._anim-point {
  --anim-delay: .24s;
}

@media (max-width: 900px) {
  .service-card._anim-point {
    --anim-delay: .08s;
  }
}
@media (prefers-reduced-motion: reduce), print {
  ._anim-point.is-anim-ready,
  ._anim-point.is-anim-ready:not(.active) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
