@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,600&family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@600;700&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

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

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

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

button {
  border: 0;
}

iframe {
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: transparent;
  box-shadow: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header:has(.global-nav.is-open) {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(31, 66, 119, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: clamp(20px, 1.5625vw, 30px);
}

.site-logo {
  flex: 0 1 442px;
  width: min(442px, 27vw);
  align-self: flex-start;
  margin-top: 35px;
  margin-right: clamp(24px, 4vw, 98px);
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.site-header__actions {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 0;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 35px);
  min-width: 0;
  margin: 0;
  padding: 0 clamp(20px, 2.45vw, 47px) 0 0;
}

.global-nav a {
  color: #333;
  font-size: clamp(1.3rem, 0.84vw, 1.6rem);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-contact {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: clamp(16px, 1.04vw, 20px);
}

.header-tel {
  display: flex;
  flex: 0 1 260px;
  width: clamp(210px, 13.54vw, 260px);
  flex-direction: column;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.header-tel__number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.4rem, 1.5625vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.header-tel__number img {
  width: 17px;
  height: 24px;
}

.header-tel__hours {
  margin-top: 6px;
  color: #222;
  font-size: clamp(1rem, 0.625vw, 1.2rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.header-mail {
  display: flex;
  flex: 0 0 clamp(180px, 11.46vw, 220px);
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-block: 32px;
  background: #0054a7;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 26px;
  text-decoration: none;
}

.header-mail img {
  width: 20px;
  height: 16px;
}

.header-mail__sp {
  display: none;
}

.menu-toggle {
  display: none;
}

.site-header.has-dark-hero:not(.is-scrolled) .global-nav a,
.site-header.has-dark-hero:not(.is-scrolled) .header-tel__number,
.site-header.has-dark-hero:not(.is-scrolled) .header-tel__hours {
  color: #fff;
}

.site-header.has-dark-hero:not(.is-scrolled) .header-tel__number img {
  filter: brightness(0) invert(1);
}

.sp-drawer-nav {
  display: contents;
}

.sp-nav-close-button, .sp-nav-screen {
  display: none;
}

@media (max-width: 1500px) {
  .site-logo {
    flex-basis: clamp(240px, 22vw, 330px);
    width: clamp(240px, 22vw, 330px);
    margin-right: clamp(18px, 2vw, 30px);
  }
  .global-nav {
    gap: clamp(15px, 1.4vw, 21px);
    padding-right: clamp(16px, 1.6vw, 24px);
  }
  .header-tel {
    width: clamp(195px, 14.7vw, 220px);
  }
  .header-tel__number {
    font-size: clamp(2.2rem, 1.7vw, 2.5rem);
  }
  .header-mail {
    flex-basis: clamp(160px, 12vw, 180px);
  }
}
@media (max-width: 1200px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    padding-left: 0;
  }
  .site-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: min(221px, 100vw - 176px);
    align-self: center;
    margin-top: 0;
    margin-right: 0;
  }
  .site-header__actions {
    display: contents;
  }
  .menu-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-block: 16px;
    background: #fff;
    color: #1f4277;
    cursor: pointer;
  }
  .menu-toggle__lines {
    display: grid;
    gap: 5px;
    width: 28px;
  }
  .menu-toggle__lines span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1f4277;
  }
  .menu-toggle__label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
  }
  html.nav-open {
    overflow: hidden;
  }
  .sp-drawer-nav {
    position: fixed;
    z-index: 110;
    top: 0;
    left: -310px;
    display: block;
    width: min(250px, 100vw - 60px);
    height: 100dvh;
    visibility: hidden;
    background: #fff;
    transition: left 0.25s ease;
  }
  html.nav-open .sp-drawer-nav {
    left: 0;
    visibility: visible;
  }
  .sp-drawer-nav * {
    transition-property: color, background-color;
  }
  .sp-nav-close-button {
    position: absolute;
    top: 0;
    left: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 68px;
    padding: 0;
    background: #0054a7;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
  }
  .sp-nav-close-button > span:first-child {
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.1;
  }
  .sp-nav-screen {
    position: fixed;
    z-index: 99;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }
  html.nav-open .sp-nav-screen {
    display: block;
  }
  .global-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .global-nav a {
    padding: 17px 20px;
    border-bottom: 1px solid #eee;
    font-size: 1.6rem;
    line-height: 27px;
  }
  .site-header.has-dark-hero:not(.is-scrolled) .global-nav a {
    color: #333;
  }
  .header-contact {
    display: contents;
  }
  .header-tel {
    display: none;
  }
  .header-mail {
    grid-column: 3;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 14px 5px;
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.06em;
  }
  .header-mail img {
    width: 19px;
    height: 15px;
  }
  .header-mail__pc {
    display: none;
  }
  .header-mail__sp {
    display: inline;
  }
}
@media (max-width: 48rem) {
  .site-header__inner {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
  }
  .site-logo {
    width: min(180px, 100vw - 148px);
  }
  .menu-toggle {
    padding-block: 12px;
  }
  .header-mail {
    padding-block: 10px;
  }
}
@media (hover: hover) {
  .global-nav a:hover {
    color: #0f5bb6;
  }
  .header-mail:hover {
    background: #0078c1;
    color: #fff;
  }
}
.sp-contact-bar {
  display: none;
}

@media (max-width: 767.98px) {
  .sp-contact-bar {
    position: fixed;
    z-index: 80;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    box-shadow: 0 -1px 4px rgba(31, 66, 119, 0.16);
    transition: bottom 0.2s ease;
  }
  .sp-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
    text-decoration: none;
  }
  .sp-contact-bar__mail, .sp-contact-bar__mail:hover {
    gap: 8px;
    background: #0054a7;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
  }
  .sp-contact-bar__mail img {
    width: 20px;
    height: 16px;
  }
  .sp-contact-bar__tel {
    flex-direction: column;
    gap: 4px;
    background: #fff;
    color: #1f4277;
  }
  .sp-contact-bar__tel > span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Shippori Mincho", serif;
    font-size: clamp(1.6rem, 4.8vw, 1.8rem);
    font-weight: 700;
    line-height: 26px;
    white-space: nowrap;
  }
  .sp-contact-bar__tel img {
    width: 16px;
    height: 22px;
  }
  .sp-contact-bar__tel small {
    font-size: 1rem;
    line-height: 14px;
    white-space: nowrap;
  }
  .wrapper.hide .sp-contact-bar {
    bottom: calc(-60px - env(safe-area-inset-bottom, 0px));
    visibility: hidden;
  }
}
.site-footer {
  margin: 0;
  padding: 0;
  background: #0054a7;
  color: #fff;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 640px;
  gap: 80px;
  width: min(100% - 80px, 1250px);
  margin-inline: auto;
  padding-block: 60px 105px;
}

.site-footer__info {
  padding-top: 22px;
}

.site-footer__logo {
  width: 442px;
  height: 38px;
  -o-object-fit: contain;
     object-fit: contain;
}

.site-footer__info > p {
  margin-top: 34px;
  font-size: 1.5rem;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 20px 55px;
  margin-top: 42px;
}

.footer-nav a {
  position: relative;
  padding-left: 18px;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
}

.footer-nav a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.site-footer__map {
  align-self: start;
  width: 640px;
  height: 340px;
  background: #d8e4ee;
}

.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer__copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 1.3rem;
  line-height: 2.5rem;
  text-align: center;
}

@media (max-width: 1200px) {
  .site-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
    gap: 40px;
  }
  .site-footer__logo {
    width: min(100%, 442px);
    height: auto;
  }
  .site-footer__map {
    width: 100%;
  }
  .footer-nav {
    grid-template-columns: repeat(2, max-content);
    gap: 16px 34px;
  }
}
@media (max-width: 48rem) {
  .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    width: min(100% - 32px, 640px);
    padding-block: 48px;
    text-align: center;
  }
  .site-footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .site-footer__logo {
    width: min(100%, 360px);
  }
  .site-footer__info > p {
    margin-top: 24px;
    font-size: 1.3rem;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 30px;
    text-align: left;
  }
  .footer-nav a {
    padding: 12px 12px 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }
  .site-footer__map {
    height: clamp(240px, 82vw, 340px);
  }
  .site-footer__copyright {
    padding: 18px 20px;
    font-size: 1rem;
  }
}
@media (hover: hover) {
  .footer-nav a:hover {
    color: #cfe7ff;
  }
}
.site-shell {
  min-width: 0;
  overflow: clip;
}

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

.content-layout {
  padding-block: 3rem;
}

.breadcrumb {
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
}

.content-card {
  border: 1px solid #ddd;
}

.content-card__link {
  display: block;
  height: 100%;
  padding: 1rem;
  text-decoration: none;
}

.empty-state {
  padding: 2rem;
  border: 1px solid #ddd;
}

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

.page-title {
  padding-block: 100px;
  background: url("../img/top/hero-img1.webp") center/cover;
}

.page-title h1 {
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.6rem, 2.6vw, 4.1rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-shadow: 0 0 3px #fff, 0 0 12px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.8);
}

.pankz {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
  font-size: 1.4rem;
  overflow-wrap: anywhere;
}

.secondary-section {
  padding-block: 40px 100px;
}

.entry__title {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid #cfa668;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.6rem, 2.4vw, 3.6rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.entry__meta, .entry__terms {
  margin-block: 20px;
  font-size: 1.4rem;
}

.entry__terms a, .entry__body a {
  color: #0f5bb6;
}

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

.content-card {
  min-width: 0;
  background: #f5f7fb;
  overflow-wrap: anywhere;
}

.content-card__link {
  padding: 28px;
}

.content-card__image {
  margin-bottom: 24px;
}

.content-card__image img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}

.content-card time {
  font-size: 1.3rem;
}

.content-card__title {
  margin-block: 12px;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: 2.2rem;
  line-height: 1.5;
}

.content-card p {
  font-size: 1.5rem;
}

.navigation {
  margin-top: 40px;
}

.detail-paging .back {
  margin-top: 40px;
  text-align: center;
}

.link-button {
  position: relative;
  display: inline-block;
  padding: 1em;
  background: #0f5bb6;
  color: #fff;
  line-height: 1.2;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.link-button:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .link-button {
    font-size: 1.8rem;
    padding: 1em 4em;
  }
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.page-numbers {
  padding: 8px 16px;
  border: 1px solid #ddd;
}

.page-numbers.current {
  background: #0f5bb6;
  color: #fff;
}

.knowledge-empty {
  margin-top: 47px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 20px;
  transform: translateY(-200%);
  background: #fff;
  color: #1f4277;
}

.skip-link:focus {
  transform: none;
}

[role=tabpanel]:focus-visible {
  outline: 3px solid #cfa668;
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 110px;
}

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

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .admin-bar .global-nav {
    top: 118px;
  }
}
@media (max-width: 48rem) {
  .inner {
    width: min(100% - 32px, 1250px);
  }
  .page-title {
    padding-block: 60px;
  }
  .secondary-section {
    padding-block: 24px 64px;
  }
  .admin-bar .global-nav {
    top: 110px;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header.is-scrolled {
    top: 0;
  }
  .admin-bar .site-header.is-scrolled .global-nav {
    top: 64px;
  }
}
.section-heading {
  text-align: center;
}

.section-heading h2 {
  position: relative;
  margin-top: 17px;
  padding-bottom: 31px;
  font-family: "Shippori Mincho", serif;
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.section-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50px;
  height: 2px;
  background: #cfa668;
  content: "";
  transform: translateX(-50%);
}

.section-heading--light h2 {
  color: #fff;
}

.section-heading--light h2::after {
  background: #fff;
}

.section-kicker {
  color: #0f5bb6;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0.08em;
}

.section-kicker--left {
  position: relative;
  padding-bottom: 20px;
  font-size: 2.6rem;
}

.section-kicker--left::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #cfa668;
  content: "";
}

a {
  text-underline-offset: 0.2em;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #f4bd51;
  outline-offset: 4px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: #0f5bb6;
  font-family: "Shippori Mincho", serif;
  font-size: 1.6rem;
  font-weight: 600;
}

@media (max-width: 48rem) {
  .container {
    width: min(100% - 32px, 1250px);
  }
  .section-heading h2 {
    margin-top: clamp(6px, 2.1vw, 8px);
    padding-bottom: clamp(14px, 4.7vw, 18px);
    font-size: clamp(2.5rem, 8vw, 3.2rem);
    line-height: 1.5;
    text-wrap: balance;
  }
}
@media (hover: hover) {
  a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
  .text-link:hover {
    color: #0078c1;
  }
}
.site-shell > main:has(> .hero) {
  margin-top: -90px;
}

.hero {
  position: relative;
  padding-block: 270px 190px;
  isolation: isolate;
}

.hero__slider {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__slider .swiper-wrapper, .hero__slider .swiper-slide, .hero__slider .swiper-img {
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

.hero__slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.hero--dark .hero__copy h1, .hero--dark .hero__copy p {
  color: #fff;
}

.hero--solid::after {
  display: none;
}

.hero__copy {
  position: relative;
  width: min(100% - 80px, 802px);
  margin-left: max(40px, 50% - 676px);
}

.hero__copy h1 {
  margin-left: 1px;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: 6.8rem;
  font-weight: 600;
  line-height: 86px;
  letter-spacing: 0.12em;
}

.hero__copy h1::after {
  display: block;
  width: 80px;
  height: 3px;
  margin: 30px 0 0 5px;
  background: #cfa668;
  content: "";
}

.hero__copy p {
  width: 592px;
  margin-top: 47px;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 46px;
  letter-spacing: 0.02em;
}

.about {
  --about-background-bottom: 80px;
  position: relative;
  padding: 106px 0 217.5px;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.about::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 var(--about-background-bottom) auto;
  width: 59.8958333333%;
  background: #f6fafd url("../img/top/about-bg.png") no-repeat right top/100% auto;
  content: "";
  pointer-events: none;
}

.about::after {
  position: absolute;
  right: clamp(24px, 3.02vw, 58px);
  bottom: calc(var(--about-background-bottom) + 5px);
  width: 5.393333em;
  color: #e0eaf9;
  content: "ABOUT US";
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(9rem, 7.8125vw, 15rem);
  font-weight: 500;
  line-height: 102px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 43.75%) minmax(0, 633px);
  gap: clamp(60px, 5.99vw, 115px);
  width: 100%;
  margin-inline: auto;
}

.about__visual {
  min-width: 0;
}

.about__visual img {
  width: 100%;
  aspect-ratio: 840/556.5;
  -o-object-fit: cover;
     object-fit: cover;
}

.about__content {
  width: 100%;
  margin-top: 40px;
}

.about__content h2 {
  margin-top: 26px;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 58px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.about__text {
  margin-top: 31px;
  font-size: 1.8rem;
  line-height: 2;
  letter-spacing: 0.02em;
}

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

.service {
  padding: 0 0 120px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 580px));
  justify-content: center;
  gap: clamp(22px, 2.083vw, 40px);
  width: min(100% - 100px, 1820px);
  margin: 62px auto 0;
}

.service-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 580/645;
  --service-panel-offset: 35.3448276%;
  --service-panel-height: calc(100% - 35.3448276cqw);
  background: #fff;
  container-type: inline-size;
}

.service-card__image {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 580/405;
  -o-object-fit: cover;
     object-fit: cover;
}

.service-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -4px;
  width: calc(100% + 8px);
  height: var(--service-panel-height);
  margin-top: var(--service-panel-offset);
  background: #fff;
  clip-path: polygon(0 7.4093%, 100% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.service-card__panel {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--service-panel-height);
  margin-top: var(--service-panel-offset);
  filter: drop-shadow(0 3px 2px rgba(31, 66, 119, 0.1));
}

.service-card__body {
  position: relative;
  z-index: 2;
  margin-top: -23.6207%;
}

.service-card__body h3 {
  position: relative;
  width: min(303px, 100% - 104px);
  margin-left: 72px;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.2rem, 1.6667vw, 3.2rem);
  font-weight: 600;
  line-height: clamp(30px, 1.875vw, 36px);
  letter-spacing: 0.03em;
}

.service-card__body h3::before {
  position: absolute;
  top: 17px;
  left: -42px;
  width: 30px;
  height: 3px;
  background: #cfa668;
  content: "";
}

.service-card__body > p {
  width: min(421px, 100% - 132px);
  margin: clamp(14px, 1.1458vw, 22px) 0 0 31px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.25rem, 0.8854vw, 1.7rem);
  font-weight: 600;
  line-height: clamp(22px, 1.5625vw, 30px);
  letter-spacing: 0.03em;
}

.service-card__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(12px, 2.083vw, 40px);
  width: calc(100% - 40px);
  margin: clamp(16px, 1.25vw, 24px) auto 0;
  padding: clamp(10px, 1.0417vw, 20px) clamp(16px, 2.083vw, 40px);
  background: #f5f7fb;
}

.service-card__topics li {
  position: relative;
  min-width: 0;
  padding: 10px 8px 10px 28px;
  border-bottom: 1px solid #ddd;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.35rem, 0.8854vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
}

.service-card:nth-child(1) .service-card__topics li:last-child,
.service-card:nth-child(2) .service-card__topics li:last-child,
.service-card:nth-child(3) .service-card__topics li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-card__topics li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 18px;
  height: 18px;
  background: url("../img/base/service-bullet.svg") center/contain no-repeat;
  content: "";
}

.service-card:nth-child(2) .service-card__topics {
  grid-template-columns: minmax(0, 250px) minmax(0, 200px);
  gap: 0 clamp(12px, 2.083vw, 40px);
  padding-right: 10px;
}

.service-card__topics--wide li:last-child {
  grid-column: 1/-1;
  white-space: nowrap;
}

.service-card__link {
  position: absolute;
  z-index: 2;
  right: 30px;
  top: 0;
  display: grid;
  width: 70px;
  height: 70px;
  margin-top: 48.1034483%;
  border-radius: 50%;
  place-items: center;
}

.service-card__link img {
  width: 70px;
  height: 70px;
}

.reason {
  position: relative;
  padding: 77px 0 161px;
  overflow: hidden;
  background: #0f5bb6 url("../img/top/reason-bg.png") center/cover no-repeat;
  isolation: isolate;
}

.reason .section-kicker {
  color: #fff;
}

.reason .section-heading h2 {
  margin-top: 20px;
  font-size: 4.2rem;
}

.reason .section-heading h2 span {
  font-size: 5.6rem;
}

.reason-heading__break {
  display: none;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  gap: 25px;
  width: min(100% - 80px, 1250px);
  margin: 55px auto 0;
}

.reason-card {
  position: relative;
  aspect-ratio: 400/464;
  padding: 120px 28px 24px;
  border: 1px solid #ddd;
  background: #fff;
}

.reason-card__icon {
  position: absolute;
  top: 21px;
  left: 28px;
  display: grid;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eff4fb;
  place-items: center;
}

.reason-card__icon img {
  width: 52px;
  height: 45px;
  -o-object-fit: contain;
     object-fit: contain;
}

.reason-card:nth-child(1) .reason-card__icon img {
  width: 39.62px;
  height: 39.62px;
}

.reason-card:nth-child(2) .reason-card__icon img {
  width: 51.94px;
  height: 38.74px;
}

.reason-card:nth-child(3) .reason-card__icon img {
  width: 50.18px;
  height: 44.9px;
}

.reason-card__number {
  position: absolute;
  top: 5px;
  right: 0;
  width: 126px;
  color: #e0eaf9;
  font-family: "Cormorant Garamond", serif;
  font-size: 11rem;
  font-style: italic;
  font-weight: 600;
  line-height: 90px;
  text-align: center;
}

.reason-card h3 {
  position: relative;
  z-index: 1;
  font-family: "Shippori Mincho", serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 0.03em;
}

.reason-card h3::after {
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 13px;
  background: #cfa668;
  content: "";
}

.reason-card p {
  margin-top: 23px;
  color: #111;
  font-size: 1.6rem;
  line-height: 28px;
  letter-spacing: 0.02em;
}

.reason-card:nth-child(2) h3 + p {
  margin-top: 24px;
}

.reason-card:nth-child(3) h3 + p {
  margin-top: 30px;
}

.reason-card p + p {
  margin-top: 12px;
}

.reason::after {
  position: absolute;
  bottom: -14px;
  left: max(30px, 50% - 840px);
  color: rgba(255, 255, 255, 0.3);
  mix-blend-mode: overlay;
  content: "REASON";
  font-family: "Cormorant Garamond", serif;
  font-size: 18rem;
  font-weight: 500;
  line-height: 170px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.knowledge {
  padding-block: 80px 116px;
  background: #f5f7fb;
}

.knowledge-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 47px auto 0;
  padding-inline: 20px;
}

.knowledge-tabs button {
  display: grid;
  min-width: 147px;
  min-height: 41px;
  padding-inline: 24px;
  border: 1px solid #0078c1;
  border-radius: 999px;
  background: transparent;
  color: #0078c1;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  place-items: center;
}

.knowledge-tabs button.is-current {
  background: #0078c1;
  color: #fff;
  font-weight: 700;
}

.knowledge-grid[hidden] {
  display: none !important;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  justify-content: center;
  gap: 25px;
  width: min(100% - 60px, 1250px);
  margin: 42px auto 0;
}

.knowledge-card {
  min-width: 0;
  background: #fff;
}

.knowledge-card a {
  display: block;
  aspect-ratio: 400/320;
  padding: 33px 25px 32px;
  text-decoration: none;
}

.knowledge-card h3 {
  max-width: 330px;
  font-family: "Shippori Mincho", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.knowledge-card p {
  margin-top: 17px;
  font-size: 1.5rem;
  line-height: 25px;
}

.lawyer {
  position: relative;
  background: #fff;
}

.lawyer::before {
  position: absolute;
  top: 100px;
  left: max(40px, 50% - 690px);
  color: #e0eaf9;
  content: "LAWYER";
  font-family: "Cormorant Garamond", serif;
  font-size: 15rem;
  font-weight: 500;
  line-height: 102px;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.lawyer__inner {
  position: relative;
  width: min(100% - 80px, 1250px);
  margin-inline: auto;
  padding: 188px 0 140px;
}

.lawyer__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 665px) minmax(0, 490px);
  grid-template-areas: "title figure" "copy figure";
  grid-template-rows: auto 1fr;
  -moz-column-gap: 94px;
       column-gap: 94px;
}

.lawyer__content h2 {
  grid-area: title;
  align-self: start;
  margin-left: 8px;
  padding-bottom: 26px;
  font-family: "Shippori Mincho", serif;
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.lawyer__copy {
  grid-area: copy;
  align-self: start;
  margin-top: 25px;
}

.lawyer__copy h3 {
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: 0.05em;
}

.lawyer__copy p {
  max-width: 597px;
  margin-top: 34px;
  font-size: 1.8rem;
  line-height: 36px;
  letter-spacing: 0;
}

.lawyer__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 290px;
  min-height: 68px;
  margin-top: 30px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #0f5bb6;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 26px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.lawyer__more span {
  position: relative;
  display: block;
  width: 50px;
  height: 8px;
  font-size: 0;
}

.lawyer__more span::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 1px;
  background: #fff;
  content: "";
}

.lawyer__more span::after {
  position: absolute;
  top: 1px;
  right: 0;
  width: 6px;
  height: 6px;
  background: #fff;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  content: "";
}

.lawyer__figure {
  position: relative;
  grid-area: figure;
  align-self: start;
  width: 490px;
  margin-top: -65px;
}

.lawyer__figure > img {
  width: 490px;
  aspect-ratio: 490/583;
  -o-object-fit: contain;
     object-fit: contain;
}

.lawyer__figure figcaption {
  position: absolute;
  bottom: 55px;
  left: -90px;
  display: flex;
  flex-direction: column;
  width: 265px;
  padding: 31px 33px 45px;
  background: #fff;
}

.lawyer__figure figcaption span {
  font-family: "Shippori Mincho", serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.lawyer__figure figcaption strong {
  margin-top: 8px;
  font-family: "Shippori Mincho", serif;
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.lawyer__figure figcaption small {
  margin-top: 25px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.02em;
}

.office {
  padding-block: 66px 120px;
  background: url("../img/top/office-bg.png") center/cover no-repeat;
}

.office-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 600px));
  -moz-column-gap: 50px;
       column-gap: 50px;
  width: min(100% - 80px, 1250px);
  margin: 50px auto 0;
}

.office-list > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  padding-block: 24.5px;
  border-bottom: 1px solid #bbb;
}

.office-list > div:nth-child(even) {
  grid-template-columns: 110px minmax(0, 1fr);
}

.office-list dt {
  width: 86px;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 30px;
  text-align: center;
}

.office-list > div:nth-child(even) dt {
  width: 68px;
}

.office-list dd {
  min-width: 0;
  font-size: 1.7rem;
  line-height: 1.5;
}

.office-list a {
  text-decoration: none;
}

.contact-cta {
  background: rgba(246, 250, 253, 0.7);
}

.contact-cta__inner {
  display: grid;
  grid-template-columns: 535px 1px 72px 328px 26px 318px;
  align-items: start;
  width: min(100% - 80px, 1250px);
  margin-inline: auto;
  padding-block: 31px 50px;
}

.contact-cta__message {
  grid-column: 1;
  grid-row: 1;
  width: 502px;
  margin-top: 57px;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 42px;
}

.contact-cta__break {
  display: none;
}


.contact-cta__divider {
  grid-column: 2;
  grid-row: 1;
  border-left: 1px solid #ddd;
  padding-block: 99.5px;
}

.contact-cta__tel {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  margin-top: 52px;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.contact-cta__tel > span {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 19.5px;
  letter-spacing: 0.03em;
}

.contact-cta__tel strong {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -5.5px;
  color: #222;
  font-family: "Shippori Mincho", serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 66px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact-cta__tel strong img {
  width: 28px;
  height: 39px;
}

.contact-cta__tel small {
  margin-top: -5px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 19.5px;
  letter-spacing: 0.03em;
}

.contact-cta__mail {
  grid-column: 6;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 55px;
  padding-block: 30px;
  background: #0054a7;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 30px;
  text-decoration: none;
}

.contact-cta__mail img {
  width: 20px;
  height: 16px;
}

@media (max-width: 1400px) {
  .service-card {
    aspect-ratio: auto;
    padding-bottom: 30px;
  }
  .contact-cta__inner {
    grid-template-columns: minmax(0, 1fr) 1px 300px 220px;
    align-items: center;
    gap: 24px;
    padding-block: 40px;
  }
  .contact-cta__message, .contact-cta__divider, .contact-cta__tel, .contact-cta__mail {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    margin-top: 0;
  }
  .contact-cta__divider {
    padding-block: 80px;
  }
  .contact-cta__message {
    font-size: 2rem;
  }
  .contact-cta__tel strong {
    font-size: 3.2rem;
  }
  .contact-cta__mail {
    width: 100%;
  }
}
@media (max-width: 1279px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 580px));
    gap: 36px;
    width: min(100% - 80px, 1200px);
  }
  .service-card__link, .service-card__link img {
    width: 56px;
    height: 56px;
  }
}
@media (max-width: 1500px) {
  .about::after {
    right: 3%;
  }
}
@media (max-width: 1200px) {
  .site-shell > main:has(> .hero) {
    margin-top: -72px;
  }
  .hero {
    padding-block: clamp(170px, 20vw, 240px) 130px;
  }
  .hero__copy {
    margin-left: max(48px, 50% - 490px);
    width: min(100% - 96px, 802px);
  }
  .hero__copy h1 {
    font-size: clamp(4.8rem, 6vw, 6.2rem);
    line-height: 1.3;
  }
  .hero__copy p {
    width: min(100%, 592px);
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    line-height: 1.8;
  }
  .about {
    --about-background-bottom: 0px;
    padding-block: clamp(80px, 12vw, 140px) 64px;
  }
  .about::before {
    width: 100%;
  }
  .about::after {
    top: 20px;
    right: max(24px, (100% - 920px) / 2);
    bottom: auto;
    font-size: clamp(3.2rem, 8.533333vw, 8rem);
    line-height: 1;
  }
  .about__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: min(100% - 48px, 920px);
  }
  .about__content {
    width: auto;
    margin-top: 0;
    padding-inline: clamp(12px, 2vw, 26px);
  }
  .about__content h2 {
    font-size: clamp(2.4rem, 3.6vw, 3.6rem);
    line-height: 1.8;
    white-space: normal;
  }
  .about__text {
    font-size: 1.6rem;
  }
  .service {
    padding-bottom: 80px;
  }
  .reason {
    padding-bottom: 120px;
  }
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
    justify-content: center;
    gap: 32px;
    width: min(100% - 80px, 832px);
    margin-top: 78px;
  }
  .reason-card {
    aspect-ratio: auto;
  }
  .reason-card h3 {
    font-size: 2.2rem;
  }
  .reason-card p {
    font-size: 1.4rem;
  }
  .knowledge {
    padding-bottom: 80px;
  }
  .lawyer__inner {
    width: min(100% - 50px, 1000px);
    padding: 135px 0 100px;
  }
  .lawyer__content {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 490px);
    -moz-column-gap: 44px;
         column-gap: 44px;
  }
  .lawyer__figure {
    justify-self: end;
    width: min(100%, 490px);
  }
  .lawyer__figure > img {
    width: 100%;
    height: auto;
  }
  .office {
    padding-bottom: 75px;
  }
  .office-list {
    width: min(100% - 50px, 1000px);
  }
}
@media (max-width: 900px) {
  .hero {
    padding-bottom: 140px;
  }
  .hero__image {
    -o-object-position: 60% center;
       object-position: 60% center;
  }
  .hero__copy {
    width: min(100% - 48px, 720px);
  }
  .hero__copy h1 {
    font-size: clamp(3.7rem, 7vw, 5rem);
  }
  .hero__copy p {
    font-size: 1.6rem;
    line-height: 2.2;
  }
  .knowledge-grid {
    grid-template-columns: minmax(0, 520px);
    width: min(100% - 40px, 520px);
  }
  .knowledge-card a {
    aspect-ratio: auto;
    padding-bottom: 48px;
  }
  .lawyer__inner {
    width: min(100% - 48px, 680px);
    padding: 100px 0 80px;
  }
  .lawyer__content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "figure" "copy";
  }
  .lawyer__content h2 {
    grid-area: title;
  }
  .lawyer__figure {
    justify-self: center;
    width: min(100%, 490px);
    margin-top: 60px;
  }
  .lawyer__copy {
    grid-area: copy;
    margin-top: 34px;
  }
  .lawyer__more {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }
  .lawyer::before {
    top: 34px;
    font-size: 8rem;
  }
  .office-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .office-list > div:nth-child(even) {
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .office-list > div:nth-child(even) dt {
    width: 86px;
  }
  .contact-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 26px;
    padding-block: 52px;
    text-align: center;
  }
  .contact-cta__divider {
    width: min(100%, 420px);
    border-left: 0;
    border-top: 1px solid #ddd;
    padding: 0;
  }
  .contact-cta__mail {
    width: min(100%, 300px);
    padding-block: 27px;
  }
}
@media (max-width: 48rem) {
  .site-shell > main:has(> .hero) {
    margin-top: -64px;
  }
  .hero {
    padding-block: clamp(144px, 37vw, 185px) 110px;
  }
  .hero__image {
    -o-object-position: 62% center;
       object-position: 62% center;
  }
  .hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 58%, rgba(255, 255, 255, 0.08) 100%);
    content: "";
  }
  .hero__copy {
    margin-left: 20px;
    width: min(100% - 40px, 520px);
  }
  .hero__copy h1 {
    font-size: clamp(3.2rem, 10vw, 4.6rem);
  }
  .hero__copy p {
    margin-top: 30px;
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    line-height: 2.1;
  }
  .about {
    padding-block: clamp(64px, 12vw, 100px) 40px;
  }
  .about__inner {
    width: min(100% - 32px, 680px);
  }
  .about__content {
    padding-inline: 12px;
  }
  .section-kicker--left {
    font-size: 2rem;
  }
  .about .section-kicker--left {
    padding-bottom: 16px;
    font-size: 2.2rem;
  }
  .about__content h2 {
    margin-top: 22px;
    font-size: clamp(1.75rem, 5vw, 2.2rem);
    line-height: 1.75;
    letter-spacing: 0.06em;
  }
  .about__text {
    margin-top: 24px;
    font-size: 1.4rem;
    line-height: 2;
  }
  .about__text br {
    display: none;
  }
  .about::after {
    right: max(16px, (100% - 680px) / 2);
  }
  .service {
    padding-top: 58px;
  }
  .service-grid {
    grid-template-columns: minmax(0, 580px);
    width: min(100% - 40px, 580px);
    margin-top: 44px;
  }
  .service-card {
    aspect-ratio: auto;
    padding-bottom: 26px;
  }
  .service-card__body {
    margin-top: -23.6207%;
    padding: 0 18px;
  }
  .service-card__body h3 {
    width: auto;
    margin-left: 36px;
    font-size: 2.5rem;
    line-height: 1.4;
  }
  .service-card__body > p {
    font-size: 1.4rem;
  }
  .service-card__body > p {
    width: auto;
    margin-left: 0;
  }
  .service-card__body > p br {
    display: none;
  }
  .service-card__topics, .service-card:nth-child(2) .service-card__topics, .service-card:nth-child(3) .service-card__topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    width: 100%;
    margin-top: 24px;
    padding-inline: 10px;
  }
  .service-card__topics li {
    padding-left: 24px;
    font-size: 1.3rem;
  }
  .service-card__topics--wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-card__topics--wide li:last-child {
    grid-column: 1/-1;
    white-space: normal;
  }
  .service-card__link {
    right: 22px;
    width: 44px;
    height: 44px;
    margin-top: 46.2069%;
  }
  .service-card__link img {
    width: 44px;
    height: 44px;
  }
  .reason {
    padding-top: 64px;
  }
  .reason .section-heading h2 {
    font-size: clamp(2.6rem, 8vw, 3.5rem);
    line-height: 1.15;
  }
  .reason-heading__break {
    display: block;
  }
  .reason .section-heading h2 span {
    font-size: 4.4rem;
  }
  .reason-grid {
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
    gap: 32px;
    width: min(100% - 40px, 480px);
    margin-top: 44px;
  }
  .reason-card {
    padding: 120px 22px 26px;
  }
  .reason-card__number {
    font-size: 8rem;
  }
  .reason-card h3 {
    font-size: 2.2rem;
  }
  .reason::after {
    left: 0;
    font-size: 7rem;
  }
  .knowledge {
    padding-top: 64px;
  }
  .knowledge .section-heading {
    padding-inline: 16px;
  }
  .knowledge .section-heading h2 {
    font-size: clamp(2.3rem, 7vw, 3rem);
  }
  .knowledge-tabs {
    gap: 8px;
    margin-top: 36px;
  }
  .knowledge-tabs button {
    min-width: calc(50% - 8px);
    min-height: 40px;
    padding-inline: 12px;
    font-size: 1.3rem;
  }
  .knowledge-card a {
    padding: 25px 20px 40px;
  }
  .lawyer::before {
    left: 12px;
    font-size: 5.6rem;
  }
  .lawyer__inner {
    width: min(100% - 32px, 560px);
    padding-top: 100px;
  }
  .lawyer__figure {
    margin-top: 28px;
  }
  .lawyer__figure figcaption {
    bottom: 20px;
    left: 0;
    width: min(265px, 68%);
    padding: 14px 18px;
  }
  .lawyer__figure figcaption span {
    font-size: 1.6rem;
  }
  .lawyer__figure figcaption strong {
    font-size: 2.4rem;
  }
  .lawyer__figure figcaption small {
    margin-top: 12px;
    font-size: 1.1rem;
  }
  .lawyer__content h2 {
    padding-bottom: 18px;
    font-size: 2.8rem;
  }
  .lawyer__copy h3 {
    font-size: clamp(1.9rem, 6.2vw, 2.6rem);
    line-height: 1.65;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .lawyer__copy p {
    font-size: 1.4rem;
  }
  .lawyer__more {
    gap: 18px;
    min-width: 250px;
    min-height: 58px;
    margin-top: 24px;
    padding-inline: 24px;
    font-size: 1.6rem;
  }
  .lawyer__more span {
    width: 52px;
    height: 12px;
  }
  .lawyer__more span::before {
    width: 52px;
    height: 1px;
  }
  .lawyer__more span::after {
    top: 5px;
    width: 6px;
    height: 6px;
    background: #fff;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
  }
  .office {
    padding-top: 58px;
  }
  .office-list {
    width: min(100% - 32px, 560px);
    margin-top: 38px;
  }
  .office-list > div, .office-list > div:nth-child(even) {
    grid-template-columns: 95px minmax(0, 1fr);
    padding-block: 22px;
  }
  .office-list dt, .office-list dd {
    font-size: 1.3rem;
  }
  .office-list dt {
    text-align: left;
  }
  .contact-cta__inner {
    width: min(100% - 16px, 560px);
  }
  .contact-cta__message {
    font-size: clamp(1.75rem, 5vw, 2rem);
    line-height: 1.55;
  }
  .contact-cta__break {
    display: block;
  }
  .contact-cta__tel strong {
    gap: 10px;
    font-size: clamp(2.7rem, 9vw, 3.6rem);
  }
  .contact-cta__tel small {
    font-size: 1rem;
  }
}
@media (max-width: 360px) {
  .service-card__topics {
    grid-template-columns: minmax(0, 1fr);
  }
  .knowledge-tabs button {
    min-width: 100%;
  }
  .office-list > div, .office-list > div:nth-child(even) {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}
@media (hover: hover) {
  .service-card__link:hover {
    background: #0078c1;
  }
  .knowledge-tabs button:hover {
    background: #e2f2fc;
    color: #0078c1;
  }
  .knowledge-tabs button.is-current:hover, .contact-cta__mail:hover {
    background: #0078c1;
    color: #fff;
  }
  .knowledge-card a:hover {
    background: #edf5fb;
  }
  .lawyer__more:hover {
    background: #0078c1;
  }
}
.lower-content-inner, .pankz.inner {
  width: min(1100px, 100% - clamp(16px, 1.25vw, 24px) * 2);
  max-width: none;
}

.secondary-section {
  padding: 2.5em 0 6em;
}

.secondary-heading.entry__title {
  position: relative;
  margin-bottom: 30px;
  padding: 5px 0 8px 25px;
  border: 0;
  border-bottom: 1px solid #cad6e5;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.secondary-heading.entry__title::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(#0f5bb6, #1f4277);
}

body.single .secondary-heading.entry__title {
  padding-inline: 0;
  border-bottom: 0;
  text-align: center;
}
body.single .secondary-heading.entry__title::before {
  display: none;
}
body.single .page-title h1 .br,
body.single .secondary-heading.entry__title .br {
  display: block;
}

@media (max-width: 48rem) {
  .secondary-heading.entry__title {
    margin-bottom: 18px;
    padding-left: 17px;
    font-size: 2.2rem;
  }
  .secondary-heading.entry__title::before {
    width: 4px;
  }
  body.single .secondary-heading.entry__title {
    padding-inline: 0;
  }
  body.single .page-title h1 .br,
  body.single .secondary-heading.entry__title .br {
    display: none;
  }
}
.category-text {
  line-height: 1.8;
  margin-bottom: 3em;
}

.secondary-section .news-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding: 0;
  list-style: none;
}

.news-topics.content-card {
  border: 0;
  background: none;
  min-width: 0;
}

.news-link.content-card__link {
  display: block;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid #e0eaf9;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 12px rgba(44, 58, 105, 0.05);
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.news-link.content-card__link:hover {
  border-color: #0f5bb6;
  background: #0f5bb6;
  color: #fff;
}
.news-link.content-card__link:hover .news-title, .news-link.content-card__link:hover .news-body, .news-link.content-card__link:hover .news-date {
  color: #fff;
}
.news-link.content-card__link:hover .news-title::before {
  background: #fff;
}

.news-title.content-card__title {
  position: relative;
  margin: 0 0 0.5em;
  padding-left: 1em;
  font-family: "Shippori Mincho", serif;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 600;
  color: #1f4277;
  overflow-wrap: anywhere;
}
.news-title.content-card__title::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 2px;
  height: 1.15em;
  background: #0f5bb6;
}

.news-body {
  font-size: 1.5rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.news-date {
  display: block;
  margin-bottom: 1em;
  color: #777;
  font-size: 1.4rem;
}

.detail-text {
  line-height: 1.8;
  margin: 0 0 3em;
  overflow-wrap: anywhere;
}
.detail-text h2 {
  margin: 2em 0 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #0f5bb6;
  font-size: 1.5em;
  font-weight: 700;
}
.detail-text h3 {
  position: relative;
  margin: 3.5em 0 1.5em;
  padding: 0.7em 0 0.7em 17px;
  background: #fafafa;
  border-left: 5px solid #0f5bb6;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}
.detail-text h3::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: #ddd;
}
.detail-text h4 {
  position: relative;
  margin: 3.5em 0 1.5em;
  padding: 0 0 0.3em 1.5em;
  color: #1f4277;
  border-bottom: 2px solid #1f4277;
  font-size: 1.1em;
  font-weight: 700;
}
.detail-text h4::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 0;
  width: 10px;
  height: 10px;
  background: #1f4277;
  transform: translateY(-40%);
}
.detail-text p:not(:last-child) {
  margin-bottom: 1em;
}
.detail-text a {
  color: #0f5bb6;
  text-decoration: underline;
}
.detail-text blockquote {
  margin: 1.5em 0;
  padding: 1.5em;
  border-radius: 0.5em;
  border: 2px solid #ccc;
  background: #f7f7f7;
  text-align: center;
}
.detail-text blockquote p, .detail-text blockquote strong, .detail-text blockquote em {
  font-style: italic;
  font-weight: 700;
  color: #444;
}
.detail-text blockquote p:last-child {
  font-style: normal;
  margin-bottom: 0;
}
.detail-text ul, .detail-text ol {
  padding-left: 1.3em;
}
.detail-text ul {
  list-style: disc;
}
.detail-text ol {
  list-style: decimal;
}
.detail-text table {
  width: 100%;
  border-collapse: collapse;
}
.detail-text th, .detail-text td {
  padding: 0.5em 1em;
  border: 1px solid #ddd;
}
.detail-text th {
  text-align: center;
  background: #f7f7f7;
}
.detail-text .wp-block-table, .detail-text pre {
  max-width: 100%;
  overflow-x: auto;
}
.detail-text iframe, .detail-text input, .detail-text select, .detail-text textarea {
  max-width: 100%;
}
.detail-text .post-list {
  display: grid;
  gap: 1.5em;
  padding: 0;
  list-style: none;
}
.detail-text .post-list a {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.detail-text .post-list p {
  font-size: 0.9em;
}
.detail-text mark {
  background: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

.secondary-section .pagination .nav-links {
  display: block;
  text-align: center;
}

.secondary-section .pagination .page-numbers {
  display: inline-block;
  margin: 2px;
  padding: 0.6em 1.2em;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: #aaa;
}

.secondary-section .pagination a:hover, .secondary-section .pagination .current {
  background: #0f5bb6;
  color: #fff;
}

@media (min-width: 768px) {
  .secondary-section .news-list, .detail-text .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-link.content-card__link {
    padding: 3rem;
  }
  .news-title.content-card__title {
    font-size: 1.8rem;
    margin-bottom: 0.8em;
  }
  .detail-text h3 {
    font-size: 1.3em;
  }
}
@media (min-width: 1100px) {
  .secondary-section {
    padding: 5em 0 10em;
  }
  .secondary-section .news-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.lawyer-page {
  overflow: hidden;
  background: #fff;
}

.lawyer-profile {
  position: relative;
  padding: 100px 0 110px;
}

.lawyer-profile__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 5.5vw, 75px);
}

.lawyer-profile__figure {
  position: relative;
  margin: 0;
}

.lawyer-profile__figure > img {
  display: block;
  width: 100%;
  height: auto;
}

.lawyer-profile__message {
  padding: 55px clamp(20px, 3vw, 48px) 55px 0;
}

.lawyer-profile__identity {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: baseline;
  -moz-column-gap: 16px;
       column-gap: 16px;
  margin: 28px 0 38px;
  font-family: "Shippori Mincho", serif;
  text-align: left;
}

.lawyer-profile__identity > span {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.lawyer-profile__identity strong {
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.lawyer-profile__identity small {
  grid-column: 1/-1;
  margin-top: 25px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.02em;
}

.lawyer-profile__label {
  color: #0f5bb6;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.lawyer-profile__message h2 {
  margin-top: 23px;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.8rem, 2.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
  word-break: keep-all;
  white-space: nowrap;
}

.lawyer-profile__message > p:last-child {
  max-width: 600px;
  margin-top: 32px;
  font-size: 1.7rem;
  line-height: 2.1;
}

.lawyer-career {
  padding: 34px 0 140px;
}

.lawyer-career__section + .lawyer-career__section {
  margin-top: 88px;
}

.lawyer-career__section h2 {
  position: relative;
  margin-bottom: 30px;
  padding: 5px 0 8px 25px;
  border-bottom: 1px solid #cad6e5;
  color: #1f4277;
  font-family: "Shippori Mincho", serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.lawyer-career__section h2::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(#0f5bb6, #1f4277);
  content: "";
}

.lawyer-history {
  margin: 0;
}

.lawyer-history > div {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  padding: 20px 24px;
  border-bottom: 1px solid #e2e6eb;
}

.lawyer-history > div:nth-child(odd) {
  background: #f9fbfd;
}

.lawyer-history dt, .lawyer-history dd {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.9;
}

.lawyer-history dt {
  color: #1f4277;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.lawyer-publications {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lawyer-publications li {
  position: relative;
  padding: 16px 22px 16px 38px;
  border-bottom: 1px solid #e2e6eb;
  font-size: 1.6rem;
  line-height: 1.8;
}

.lawyer-publications li::before {
  position: absolute;
  top: 1.62em;
  left: 18px;
  width: 7px;
  height: 7px;
  background: #0f5bb6;
  content: "";
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .lawyer-profile {
    padding: 72px 0 88px;
  }
  .lawyer-profile__inner {
    grid-template-columns: minmax(0, 490px);
    justify-content: center;
    gap: 56px;
  }
  .lawyer-profile__message {
    padding: 0;
  }
  .lawyer-profile__message > p:last-child {
    max-width: none;
  }
}
@media (max-width: 48rem) {
  .lawyer-profile {
    padding: 52px 0 68px;
  }
  .lawyer-profile__inner {
    gap: 46px;
  }
  .lawyer-profile__figure {
    width: 100%;
  }
  .lawyer-profile__identity {
    -moz-column-gap: 10px;
         column-gap: 10px;
    margin: 22px 0 30px;
  }
  .lawyer-profile__identity > span {
    font-size: 1.6rem;
  }
  .lawyer-profile__identity strong {
    font-size: 2.4rem;
  }
  .lawyer-profile__identity small {
    margin-top: 12px;
    font-size: 1.1rem;
  }
  .lawyer-profile__message h2 {
    margin-top: 16px;
    font-size: clamp(2.3rem, 7vw, 3rem);
    line-height: 1.65;
    word-break: normal;
    white-space: normal;
  }
  .lawyer-profile__message > p:last-child {
    margin-top: 22px;
    font-size: 1.4rem;
    line-height: 2;
  }
  .lawyer-career {
    padding: 20px 0 90px;
  }
  .lawyer-career__section + .lawyer-career__section {
    margin-top: 60px;
  }
  .lawyer-career__section h2 {
    margin-bottom: 18px;
    padding-left: 17px;
    font-size: 2.2rem;
  }
  .lawyer-career__section h2::before {
    width: 4px;
  }
  .lawyer-history > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 16px 14px;
  }
  .lawyer-history dt, .lawyer-history dd {
    font-size: 1.4rem;
    line-height: 1.75;
  }
  .lawyer-history dt br, .lawyer-history dd br {
    display: none;
  }
  .lawyer-publications li {
    padding: 14px 10px 14px 29px;
    font-size: 1.4rem;
    line-height: 1.75;
  }
  .lawyer-publications li::before {
    top: 1.45em;
    left: 10px;
    width: 6px;
    height: 6px;
  }
}
.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: #0f5bb6;
}
.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::-moz-placeholder, .contact-form textarea::-moz-placeholder {
  font-size: 0.9em;
  color: #777;
}
.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 #cfa668;
}
.contact-form :is(input, select, textarea):focus-visible {
  outline: 2px solid #0f5bb6;
  outline-offset: 2px;
}
.contact-form :is(input[type=checkbox], input[type=radio]) {
  width: auto;
  accent-color: #0f5bb6;
}

.contact-submit {
  margin-top: 1em;
  text-align: center;
}
.contact-submit .btn, .contact-submit .wpcf7-submit {
  display: block;
  width: 150px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #0f5bb6;
  background: #fff;
  color: #0f5bb6;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.contact-submit .btn:hover, .contact-submit .wpcf7-submit:hover {
  color: #fff;
  background: #0f5bb6;
}
.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 {
  opacity: 0;
  transform: translateY(30px);
  transition-property: opacity, transform;
  transition-timing-function: ease;
  transition-duration: 0.6s;
  transition-delay: 0.3s;
}
@media screen and (min-width: 1100px), print {
  ._anim-point {
    transition-duration: 0.6s;
    transition-delay: 0.3s;
  }
}
._anim-point.active {
  opacity: 1;
  transform: translateY(0);
}/*# sourceMappingURL=styles.css.map */