:root {
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", serif;
  --english: "Playfair Display", serif;
  --ink: #272727;
  --muted: #999;
  --line: #e5e5e5;
  --content: 1200px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: #fff;
}
body {
  font: 14px/1.8 var(--sans);
  color: var(--ink);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:hover {
  color: #777;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #2767a1;
  outline-offset: 4px;
}
html.is-pointer :focus-visible {
  outline: none;
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
}
[hidden] {
  display: none !important;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip-path: none;
  left: 12px;
  top: 12px;
  background: white;
  padding: 10px;
}
.site-header {
  min-height: 96px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: #fff;
}
.site-logo {
  display: block;
  flex-shrink: 0;
  width: 279px;
  line-height: 0;
}
.desktop-nav {
  margin-left: auto;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.desktop-nav .nav-list {
  gap: 32px;
  align-items: center;
}
.desktop-nav a {
  font: 18px/1.4 var(--serif);
  text-decoration: none;
  white-space: nowrap;
}
.contact-button {
  font-size: 12.8px;
  line-height: 1;
  background: #111;
  color: #fff;
  padding: 13px 30px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 32px;
}
.mobile-login,
.menu-toggle {
  display: none;
}
.member-login {
  position: fixed;
  z-index: 10;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #000;
}
.login-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #000;
}
.login-circle svg {
  width: 23px;
  fill: #fff;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}
.mobile-menu {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 384px;
  max-width: 100%;
  padding: 32px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.is-open .mobile-menu {
  transform: translateX(0);
}
.menu-open {
  overflow: hidden;
}
.menu-close {
  position: absolute;
  top: 0;
  right: 4px;
  background: none;
  border: 0;
  color: #888;
  font: 30px/1 sans-serif;
  padding: 4px;
}
.menu-logo {
  display: block;
  width: 200px;
  margin: 0 auto 48px;
  line-height: 0;
}
.mobile-menu .nav-list {
  display: block;
  font: 16px/1.6 var(--serif);
  color: #666;
}
.mobile-menu li {
  margin: 0 0 13px;
}
.mobile-menu a {
  text-decoration: none;
}
.mobile-menu .menu-contact,
.mobile-menu .menu-login {
  margin-top: 24px;
  background: #444;
  color: #fff;
  text-align: center;
}
.mobile-menu .menu-login {
  margin-top: 20px;
  background: #000;
}
.mobile-menu .menu-contact a,
.mobile-menu .menu-login a {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.page-heading {
  width: 88%;
  margin: 80px auto 80px;
}
.page-heading-english {
  font: 64px/1.2 var(--english);
  color: #000;
  margin: 0;
}
.page-heading h1 {
  font-size: 22px;
  margin: 22px 0 0;
}
.content-layout {
  width: calc(100% - 80px);
  max-width: var(--content);
  margin: 0 auto;
  padding-bottom: 130px;
  display: grid;
  grid-template-columns: minmax(0, 829fr) minmax(0, 301fr);
  gap: 70px;
}
.post-summary {
  border-top: 1px solid var(--line);
  padding: 32px 0 34px;
}
.post-summary h2 {
  font-size: 25.2px;
  line-height: 1.25;
  margin: 0 0 9px;
  font-weight: 700;
}
.post-summary h2 a {
  text-decoration: none;
}
time {
  font-size: 12px;
  color: var(--muted);
  display: block;
  line-height: 1.8;
}
.excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 18px;
}
.excerpt p {
  margin: 0;
}
.pagination {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  text-align: center;
}
.page-numbers {
  display: inline-block;
  padding: 4px 10px;
  text-decoration: none;
  font-family: var(--serif);
}
.page-numbers.current {
  background: #333;
  color: #fff;
}
.sidebar h2 {
  border: 1px solid #444;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  margin: 0 0 12px;
}
.search-form {
  position: relative;
  margin-bottom: 40px;
}
.search-form input {
  border: 1px solid #ddd;
  width: 100%;
  padding: 13px 12px 13px 39px;
  border-radius: 0;
  background: #fff;
  color: #555;
}
.search-form input::placeholder {
  color: #999;
}
.search-form button {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 39px;
  border: 0;
  background: transparent;
  color: #888;
  display: grid;
  place-items: center;
}
.search-form svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}
.recent-news {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recent-news li {
  border-top: 1px solid var(--line);
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.4;
}
.recent-news li:last-child {
  border-bottom: 1px solid var(--line);
}
.news-article h1 {
  font-size: 42px;
  line-height: 1.4;
  padding-bottom: 42px;
  margin: 0 0 10px;
  border-bottom: 1px solid #333;
}
.entry-content {
  font-size: 18.2px;
  line-height: 1.8;
  color: #111;
  overflow-wrap: anywhere;
}
.entry-content p {
  margin: 24px 0 38px;
}
.entry-content a {
  color: #ff2a13;
}
.entry-content table {
  border-collapse: collapse;
  width: 100%;
}
.entry-content td,
.entry-content th {
  border: 1px solid #ddd;
  padding: 10px;
}
.entry-content iframe {
  max-width: 100%;
}
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 45px;
  font-size: 13px;
}
.post-navigation > div {
  max-width: 48%;
}
.post-navigation a {
  text-decoration: none;
}
.post-navigation > div:last-child {
  text-align: right;
}
.page-content {
  width: 88%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 120px;
  min-height: 240px;
}
.not-found {
  text-align: center;
  padding: 230px 20px 250px;
}
.not-found h1 {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 76px;
}
.not-found a {
  text-decoration: none;
  font-size: 18px;
}
.content-none {
  border-block: 1px solid var(--line);
  padding: 32px 0;
}
.content-none h2 {
  font-size: 25px;
}
.content-none p {
  color: #999;
}
.site-ending {
  position: relative;
}
.office-photo {
  height: 555px;
  background: url("https://hodaikyo.com/wp-content/uploads/2020/08/AdobeStock_114861203.jpeg")
    center/cover no-repeat;
  padding-top: 124px;
}
.office-address {
  width: 29%;
  margin-left: 71%;
  padding-right: 30px;
  color: #fff;
}
.office-address h2 {
  font: 700 21px/1.4 var(--sans);
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.office-address p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.access-button {
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px 25px;
  margin-top: 16px;
  text-decoration: none;
  font-size: 16px;
}
.contact-banner {
  position: relative;
  display: flex;
  gap: 46px;
  align-items: center;
  width: 83.333%;
  padding: 107px 80px;
  margin-top: -173px;
  background: #000;
  color: #fff;
  text-decoration: none;
}
.contact-banner:hover {
  color: #fff;
  background: #181818;
}
.contact-banner span:first-child {
  font: 32px/1.4 var(--english);
}
.contact-banner span:last-child {
  font-size: 16px;
}
.footer-inner {
  width: 90%;
  margin: 110px auto 45px;
  border-block: 1px solid #ddd;
  padding: 80px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.footer-brand {
  width: 56%;
}
.footer-brand > a {
  display: inline-block;
  width: 279px;
  line-height: 0;
}
.footer-brand nav {
  margin-top: 60px;
  max-width: 550px;
}
.footer-brand .nav-list {
  gap: 35px;
  font-size: 16px;
  line-height: 1.2;
}
.footer-brand a {
  text-decoration: none;
}
.footer-office {
  font-size: 16px;
  line-height: 1.7;
}
.footer-office h2 {
  font: 700 21px/1.4 var(--sans);
  margin-bottom: 20px;
}
.footer-office p {
  margin-bottom: 0;
}
.copyright {
  margin-top: 48px;
  letter-spacing: 0.03em;
}
.site-ending-small .office-photo {
  height: 486px;
  padding-top: 112px;
}
.site-ending-small .office-address {
  margin-left: 73.5%;
  width: 26.5%;
}
.site-ending-small .office-address h2 {
  font-size: 18.2px;
}
.site-ending-small .office-address p,
.site-ending-small .access-button {
  font-size: 14px;
}
.site-ending-small .contact-banner {
  padding: 98px 70px;
  margin-top: -150px;
  gap: 42px;
}
.site-ending-small .contact-banner span:first-child {
  font-size: 28px;
}
.site-ending-small .contact-banner span:last-child {
  font-size: 14px;
}
.site-ending-small .footer-inner {
  margin-top: 170px;
}
.site-ending-small .footer-office {
  font-size: 14px;
}
.site-ending-small .footer-office h2 {
  font-size: 18.2px;
  letter-spacing: 0.08em;
}
.gallery {
  padding: 60px 0;
}
.gallery h2 {
  text-align: center;
  font: 40px var(--english);
}
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.gallery-track img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  scroll-snap-align: start;
}
@media (min-width: 1100px) and (max-width: 1350px) {
  .site-header {
    gap: 20px;
    padding-inline: 24px;
  }
  .site-logo {
    width: 240px;
  }
  .desktop-nav .nav-list {
    gap: 20px;
  }
  .desktop-nav a {
    font-size: 16px;
  }
  .contact-button {
    margin-left: 0;
    padding-inline: 22px;
  }
}
@media (max-width: 1099px) {
  .site-header {
    min-height: 65px;
    padding: 10px 9px;
    gap: 24px;
  }
  .site-logo {
    width: 150px;
  }
  .desktop-nav,
  .contact-button,
  .member-login {
    display: none;
  }
  .mobile-login {
    display: block;
    margin-left: auto;
    min-width: 100px;
    padding: 3px 14px;
    background: #000;
    color: #fff;
    text-align: center;
    font: 700 16px/1.5 var(--serif);
    letter-spacing: 0.05em;
    text-decoration: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    width: 26px;
    height: 34px;
    background: none;
    border: 0;
    padding: 3px;
  }
  .menu-toggle span {
    height: 2px;
    width: 20px;
    background: #111;
  }
  .content-layout {
    gap: 40px;
  }
  .footer-inner {
    padding: 60px 30px;
  }
  .footer-brand .nav-list {
    gap: 18px;
    font-size: 14px;
  }
  .office-address {
    width: 45%;
    margin-left: 55%;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 12px;
  }
  .site-header {
    gap: 20px;
  }
  .page-heading {
    width: 88%;
    margin: 30px auto 50px;
  }
  .page-heading-english {
    font-size: 42px;
  }
  .page-heading h1 {
    font-size: 20px;
  }
  .content-layout {
    display: block;
    width: 88%;
    padding-bottom: 128px;
  }
  .post-summary {
    padding: 27px 0 29px;
  }
  .post-summary h2 {
    font-size: 21.6px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  time {
    font-size: 11px;
  }
  .excerpt {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 17px;
  }
  .sidebar {
    margin-top: 70px;
  }
  .sidebar h2 {
    font-size: 10px;
    padding: 7px;
    margin-bottom: 12px;
  }
  .search-form {
    margin-bottom: 36px;
  }
  .search-form input {
    font-size: 12px;
    padding: 12px 12px 12px 39px;
  }
  .recent-news li {
    font-size: 12px;
    padding: 9px 0;
    color: #999;
  }
  .news-article h1 {
    font-size: 21.6px;
    line-height: 1.35;
    padding-bottom: 22px;
  }
  .entry-content {
    font-size: 12px;
    line-height: 1.8;
  }
  .entry-content p {
    margin: 23px 0 30px;
  }
  .post-navigation {
    font-size: 11px;
    gap: 20px;
    margin-top: 25px;
  }
  .page-content {
    padding-bottom: 80px;
  }
  .not-found {
    padding: 170px 24px 200px;
  }
  .not-found h1 {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 65px;
  }
  .not-found a {
    font-size: 16px;
  }
  .office-photo,
  .site-ending-small .office-photo {
    height: 412px;
    padding-top: 64px;
  }
  .office-address,
  .site-ending-small .office-address {
    width: 83%;
    margin-left: 17%;
    padding-right: 16px;
  }
  .office-address h2,
  .site-ending-small .office-address h2 {
    font-size: 23px;
  }
  .office-address p,
  .site-ending-small .office-address p {
    font-size: 16px;
    line-height: 1.7;
  }
  .access-button,
  .site-ending-small .access-button {
    font-size: 16px;
    padding: 8px 25px;
    margin-top: 16px;
  }
  .contact-banner,
  .site-ending-small .contact-banner {
    width: 88%;
    margin-top: -118px;
    padding: 66px 20px;
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-banner span:first-child,
  .site-ending-small .contact-banner span:first-child {
    font-size: 27px;
    margin-left: 20px;
  }
  .contact-banner span:last-child,
  .site-ending-small .contact-banner span:last-child {
    font-size: 13px;
    align-self: center;
  }
  .footer-inner,
  .site-ending-small .footer-inner {
    width: 90%;
    margin: 110px auto 44px;
    padding: 80px 26px;
    display: block;
  }
  .footer-brand {
    width: 100%;
    text-align: center;
  }
  .footer-brand > a {
    width: 279px;
    max-width: 100%;
  }
  .footer-brand nav {
    display: none;
  }
  .footer-office,
  .site-ending-small .footer-office {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 50px;
  }
  .footer-office h2,
  .site-ending-small .footer-office h2 {
    font-size: 20px;
    letter-spacing: 0;
    white-space: nowrap;
    margin-bottom: 20px;
  }
  .copyright {
    margin-top: 50px;
    text-align: center;
  }
  .site-ending-small .footer-inner {
    margin-top: 135px;
  }
}
@media (max-width: 359px) {
  .site-header {
    gap: 13px;
  }
  .site-logo {
    width: 130px;
  }
  .mobile-login {
    min-width: 80px;
    font-size: 14px;
  }
  .footer-inner {
    padding-inline: 16px;
  }
  .footer-office h2,
  .site-ending-small .footer-office h2 {
    font-size: 17px;
  }
  .office-address h2 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* 空の一覧に使われる現行の簡素な外枠。Proの操作案内や帰属表示は引き継がない。 */
.empty-header {
  background: #333;
  padding: 16px max(6%, calc((100% - 1200px) / 2));
  min-height: 155px;
}
.empty-brand {
  font: 700 36px/1.4 var(--sans);
  text-decoration: none;
}
.empty-header nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.empty-header nav a {
  padding: 10px 24px;
  color: #bbb;
  text-decoration: none;
}
.empty-breadcrumb {
  max-width: 1200px;
  width: 88%;
  margin: 15px auto;
  color: #999;
  font-size: 12px;
}
.empty-breadcrumb a {
  text-decoration: none;
}
.empty-header ~ main .page-heading {
  max-width: 1200px;
  margin: 40px auto 60px;
}
.empty-header ~ main .page-heading-english {
  font: 700 33px/1.4 var(--sans);
  color: #333;
}
.empty-header ~ main .content-layout {
  padding-bottom: 35px;
}
.empty-footer {
  background: #222;
  color: #999;
  text-align: center;
  font-size: 12px;
}
.empty-footer > div {
  height: 146px;
  background: #333;
}
.empty-footer > p {
  padding: 40px 0 50px;
  margin: 0;
}
@media (max-width: 767px) {
  .empty-header {
    min-height: 150px;
  }
  .empty-brand {
    font-size: 24px;
  }
  .empty-header ~ main .page-heading-english {
    font-size: 28px;
  }
  .empty-header ~ main .content-layout {
    padding-bottom: 35px;
  }
  .empty-header ~ main .sidebar {
    margin-top: 40px;
  }
}

/* 404の133相当は、スマホでも通常版48より小さい組み方を保つ。 */
@media (max-width: 767px) {
  .not-found {
    padding-bottom: 235px;
  }
  .site-ending-small .office-photo {
    height: 287px;
    padding-top: 50px;
  }
  .site-ending-small .office-address {
    margin-left: 36.5%;
    width: 63.5%;
    padding-right: 20px;
  }
  .site-ending-small .office-address h2,
  .site-ending-small .footer-office h2 {
    font-size: 15.6px;
    letter-spacing: .08em;
  }
  .site-ending-small .office-address p,
  .site-ending-small .access-button,
  .site-ending-small .footer-office {
    font-size: 12px;
  }
  .site-ending-small .access-button {
    margin-top: 12px;
    padding: 8px 30px;
  }
  .site-ending-small .contact-banner {
    margin-top: -50px;
    padding: 46px 28px;
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
  .site-ending-small .contact-banner span:first-child {
    font-size: 19.2px;
    margin-left: 0;
    white-space: nowrap;
  }
  .site-ending-small .contact-banner span:last-child {
    font-size: 9.6px;
    align-self: auto;
  }
  .site-ending-small .footer-inner {
    margin-top: 94px;
    margin-bottom: 90px;
    padding-block: 60px;
  }
  .site-ending-small .footer-office {
    width: 224px;
    max-width: 100%;
    margin: 50px auto 0;
  }
  .site-ending-small .footer-office h2 {
    text-align: center;
    margin-bottom: 14px;
  }
  .site-ending-small .copyright {
    margin-top: 40px;
  }
}
