:root {
  --ink: #333;
  --paper: #fdfdfd;
  --soft: #f7f3ec;
  --gold: #b89b5e;
  --line: rgba(51, 51, 51, .16);
  --side-width: 300px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Helvetica, Arial, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "MS PMincho", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
}

.loader-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  transition: opacity .25s linear;
}

.loader-stripe-wrap {
  position: absolute;
  top: 0;
  left: -300%;
  z-index: 2;
  display: flex;
  width: 300%;
  height: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 1.45s cubic-bezier(.1, 0, .1, 1), opacity .35s ease-out;
  will-change: transform;
  backface-visibility: hidden;
}

.stripe {
  height: 100%;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.s-white-1,
.s-white-2 {
  position: relative;
  z-index: 1;
  flex: 1;
  background: #fff;
}

.s-white-1 {
  margin-right: -2px;
}

.s-gray {
  position: relative;
  z-index: 2;
  flex: 10;
  margin: 0 -2px;
  background: #333;
  border-right: 2px solid #333;
  border-left: 2px solid #333;
}

body.has-page-loader > *:not(.page-loader) {
  opacity: 1;
}

body.has-page-loader.page-loaded > *:not(.page-loader) {
  opacity: 1;
}

.page-loaded .loader-stripe-wrap {
  opacity: 0;
  transform: translate3d(350%, 0, 0);
  transition-delay: 0s, 1.05s;
}

.page-loaded .loader-bg {
  opacity: 0;
  transition-delay: .15s;
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    display: none;
  }
}

a {
  color: inherit;
  text-underline-offset: .2em;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 14px clamp(18px, 4vw, 48px);
  color: #fff;
  background: #111 url("../img/menuback01-800.webp") center / cover;
}

.site-brand {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.site-header .menu-toggle {
  display: none;
}

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.wp-content {
  padding: clamp(24px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
}

.page-title {
  padding-bottom: 20px;
  margin: 0 0 44px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.35;
}

.mobile-header,
.mobile-nav {
  display: none;
}

.side-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  width: var(--side-width);
  height: 100vh;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  color: #fff;
  background: #111 url("../img/menuback01-800.webp") center / cover;
}

.side-logo {
  display: block;
  width: 120px;
  margin: 16px auto 12px;
}

.side-logo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.side-nav {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 24px 36px;
}

.side-nav a {
  display: block;
  width: 100%;
  padding: 9px 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  opacity: .68;
}

.hero {
  position: relative;
  height: 64.8vh;
  min-height: 520px;
  max-height: 760px;
  margin-left: var(--side-width);
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateZ(0);
  transition: opacity 1.5s ease, visibility 0s linear 1.5s;
  will-change: opacity;
  backface-visibility: hidden;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, .18);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1);
  will-change: transform;
  backface-visibility: hidden;
}

.hero-slide.is-active img {
  animation: zoomUp 15s linear both;
}

@keyframes zoomUp {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.hero-slide.is-active .hero-copy {
  animation: heroCopyIn .9s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 32px;
  line-height: 1.35;
}

.hero-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 17px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

.site-main {
  margin-left: var(--side-width);
  padding: 64px 48px 0;
}

.home-content {
  width: min(900px, 100%);
  margin: 0 auto;
}

.home-content h2,
.home-content h3 {
  color: inherit;
  letter-spacing: 0;
}

.home-content .tate {
  position: relative;
  width: calc(100% - 52px);
  height: 500px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 3.5;
  writing-mode: vertical-rl;
}

.home-content .tate h2 {
  display: inline-block;
  padding: 0;
  margin: 0 0 44px;
  border: 0;
  font-size: 22px;
  line-height: 1.4;
}

.home-content .tate p {
  margin: 0 0 16px;
}

.swell-block-button {
  position: relative;
  margin: 0 0 32px;
  padding: 2px 0;
  text-align: center;
}

.swell-block-button__link {
  position: relative;
  display: inline-flex;
  width: min(556px, 100%);
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 43px;
  color: #666;
  background: #fff;
  border: 1px solid rgba(51, 51, 51, .12);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .08);
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  transition: opacity .2s ease;
}

.swell-block-button__link::after {
  position: absolute;
  right: 20px;
  content: "›";
  font-family: Arial, sans-serif;
  font-size: 21px;
}

.swell-block-button__link:hover,
.swell-block-button__link:focus-visible {
  opacity: .72;
}

.swell-block-fullWide {
  position: relative;
  width: calc(100vw - var(--side-width));
  margin: 0 0 32px calc((900px - (100vw - var(--side-width))) / 2);
  padding: 96px 0;
}

.swell-block-fullWide + .swell-block-fullWide {
  margin-top: -32px;
}

.swell-block-fullWide.has-bg-img {
  color: #fff;
  background: #111 url("../img/menuback01-800.webp") center / cover fixed;
}

.swell-block-fullWide__inner {
  width: min(868px, calc(100% - 64px));
  margin: 0 auto;
}

.home-content .is-style-section_ttl {
  position: relative;
  padding: 0 0 18px;
  margin: 0 0 45px;
  border: 0;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
}

.home-content .is-style-section_ttl::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 44px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translateX(-50%);
}

.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 0 32px;
}

.wp-block-media-text__media {
  margin: 0;
}

.wp-block-media-text__media img {
  width: 100%;
  border-radius: 0;
}

.wp-block-media-text__content {
  padding: 30px 32px;
}

.wp-block-media-text__content h3 {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.5;
}

.wp-block-media-text__content p {
  margin: 0;
  line-height: 1.8;
}

.swell-block-columns__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.wp-block-gallery,
.wp-block-image,
figure {
  margin: 0;
}

.wp-block-gallery .wp-block-image + .wp-block-image {
  margin-top: 16px;
}

figcaption {
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
}

.has-text-align-center {
  text-align: center;
}

.wp-block-table {
  max-width: 100%;
  margin: 0 0 28px;
  overflow-x: auto;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.wp-block-table th,
.wp-block-table td {
  padding: 11px 13px;
  border: 1px solid rgba(51, 51, 51, .18);
  text-align: left;
  vertical-align: top;
}

.has-bg-img .wp-block-table th,
.has-bg-img .wp-block-table td {
  border-color: rgba(255, 255, 255, .35);
}

#sns + .wp-block-table img,
#instagram_image1 img,
#line_image1 img {
  width: 72px;
  margin: 0 auto;
}

.line-friend-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  color: #fff;
  background: #06c755;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.news-list {
  margin: 0 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

.news-list a {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 15px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  text-decoration: none;
}

.news-list a:hover,
.news-list a:focus-visible {
  background: rgba(255, 255, 255, .08);
}

.news-list time {
  font-size: 14px;
  white-space: nowrap;
}

.news-index-link {
  margin-bottom: 36px;
}

.news-archive-list {
  border-top: 1px solid var(--line);
}

.news-archive-item {
  position: relative;
  display: block;
  padding: 22px 44px 22px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .18s ease;
}

.news-archive-item:hover,
.news-archive-item:focus-visible {
  background: var(--soft);
}

.news-archive-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.news-archive-item::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.news-archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  color: #6d685f;
  font-size: 13px;
  line-height: 1.5;
}

.news-archive-meta span::before {
  margin-right: 6px;
  content: "■";
  font-size: 8px;
  vertical-align: .12em;
}

.news-archive-item h2 {
  margin: 8px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.65;
}

.page-news .site-footer {
  margin-left: 0;
}

iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.site-footer {
  margin-left: var(--side-width);
  padding: 24px 28px;
  color: #fff;
  background: #333;
  font-size: 13px;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer p {
  margin: 8px 0 0;
}

.small {
  font-size: 12px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.is-js .floatup {
  opacity: 0;
  transition: opacity .9s ease;
}

.is-js .floatup.active {
  opacity: 1;
}

.wipe-img .wp-block-media-text__media {
  position: relative;
  overflow: hidden;
}

.is-js .wipe-img .wp-block-media-text__media img {
  opacity: 0;
  transform: translateX(6%);
  transition: transform .9s cubic-bezier(.22, .61, .36, 1) .7s, opacity .6s ease .7s;
}

.wipe-img .wp-block-media-text__media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: #000;
  pointer-events: none;
  transform: translateX(100%);
  will-change: transform;
}

.wipe-img.active .wp-block-media-text__media::before {
  animation: wipeBlackR2L 1.2s cubic-bezier(.22, .61, .36, 1) forwards;
}

.wipe-img.active .wp-block-media-text__media img {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wipeBlackR2L {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.c01 {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.is-js .c01::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: #000;
  pointer-events: none;
  transform: translateY(-100%);
  will-change: transform;
}

.is-js .c01.active::before {
  animation: c01WipeVertical 1.1s cubic-bezier(.22, .61, .36, 1) forwards;
}

.is-js .c01__text {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity .6s ease .65s;
}

.is-js .c01.active .c01__text {
  opacity: 1;
}

@keyframes c01WipeVertical {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@media (max-width: 900px) {
  body {
    font-size: 15.6px;
    line-height: 1.8;
  }

  .side-header {
    display: none;
  }

  .mobile-header {
    position: relative;
    z-index: 50;
    display: flex;
    width: 100%;
    height: 80px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px 10px 8px;
    background: #050505;
  }

  .mobile-logo {
    display: block;
    width: 60px;
    height: 60px;
  }

  .mobile-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

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

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

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

  .mobile-nav {
    position: absolute;
    z-index: 45;
    top: 80px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: #101010 url("../img/menuback01-800.webp") center / cover;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease, visibility .25s ease;
  }

  .mobile-nav.is-open {
    max-height: 640px;
    visibility: visible;
    opacity: 1;
  }

  .mobile-nav a {
    padding: 13px 24px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
    text-decoration: none;
  }

  .hero {
    height: 75vh;
    min-height: 540px;
    max-height: 680px;
    margin-left: 0;
  }

  .hero-copy {
    padding: 26px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    margin-bottom: 14px;
    font-size: 27px;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.75;
  }

  .site-main {
    margin-left: 0;
    padding: 56px 16px 0;
  }

  .home-content {
    width: 100%;
  }

  .home-content .tate {
    width: 100%;
    height: auto;
    padding: 0 20px;
    margin: 0 0 30px;
    line-height: 1.8;
    writing-mode: horizontal-tb;
  }

  .home-content .tate h2 {
    display: block;
    width: min(288px, 100%);
    padding: 0;
    margin: 0 auto 38px;
    font-size: 19px;
    line-height: 1.42;
    text-align: center;
  }

  .is-js .c01::before {
    transform: translateX(-100%);
  }

  .is-js .c01.active::before {
    animation-name: c01WipeHorizontal;
  }

  .home-content .tate p {
    margin: 0 0 16px;
  }

  .home-content .tate p:empty {
    display: none;
  }

  .swell-block-button {
    margin-bottom: 31px;
  }

  .swell-block-button__link {
    width: min(287px, 100%);
    min-height: 46px;
    padding: 10px 42px;
  }

  .swell-block-fullWide {
    width: calc(100% + 32px);
    margin-right: 0;
    margin-bottom: 31px;
    margin-left: -16px;
    padding: 62px 0;
  }

  .swell-block-fullWide + .swell-block-fullWide {
    margin-top: -31px;
  }

  .swell-block-fullWide.has-bg-img {
    background-attachment: scroll;
  }

  .swell-block-fullWide__inner {
    width: calc(100% - 32px);
  }

  .home-content .is-style-section_ttl {
    padding-bottom: 16px;
    margin-bottom: 37px;
    font-size: 19px;
  }

  .wp-block-media-text {
    grid-template-columns: 1fr;
    margin-bottom: 31px;
  }

  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 1;
  }

  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 2;
  }

  .wp-block-media-text__content {
    padding: 26px 0 10px;
  }

  .wp-block-media-text__content h3 {
    font-size: 19px;
  }

  .swell-block-columns__inner {
    grid-template-columns: 1fr;
  }

  .wp-block-table th,
  .wp-block-table td {
    padding: 9px 8px;
    overflow-wrap: anywhere;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 14px 4px;
  }

  .news-archive-item {
    padding: 18px 34px 18px 2px;
  }

  .news-archive-item::after {
    right: 10px;
  }

  .news-archive-item h2 {
    font-size: 17px;
  }

  iframe {
    height: 420px;
  }

  .site-footer {
    margin-left: 0;
  }

  .page-shell {
    padding-top: 32px;
  }

  .site-header {
    min-height: 80px;
    align-items: center;
    flex-direction: row;
    padding: 10px 18px;
  }

  .site-header .site-nav {
    display: none;
  }

  .site-header .menu-toggle {
    display: grid;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .site-header .mobile-nav {
    top: 100%;
  }
}

@keyframes c01WipeHorizontal {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.page-toc {
  margin: 34px 0 44px;
  padding: 22px clamp(18px, 3vw, 30px);
  background: #fff;
  color: var(--ink);
}

.page-toc--border {
  border: 1px solid color-mix(in srgb, var(--gold) 72%, var(--ink));
}

.page-toc__title {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.page-toc__list,
.page-toc__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-toc__list {
  counter-reset: page-toc;
}

.page-toc__list > li {
  counter-increment: page-toc;
}

.page-toc__list > li + li {
  margin-top: 10px;
}

.page-toc__list > li > a::before {
  content: counter(page-toc) ".";
  margin-right: 8px;
  color: #806a3d;
  font-weight: 700;
}

.page-toc__sublist {
  margin: 7px 0 0 26px;
}

.page-toc__sublist li + li {
  margin-top: 5px;
}

.page-toc__sublist a::before {
  content: "—";
  margin-right: 8px;
  color: rgba(51, 51, 51, .56);
}

.page-toc a {
  color: inherit;
  line-height: 1.6;
  text-decoration: none;
}

.page-toc a:hover,
.page-toc a:focus-visible {
  color: #806a3d;
  text-decoration: underline;
}

[data-page-toc] h2,
[data-page-toc] h3 {
  scroll-margin-top: 28px;
}

@media (max-width: 719px) {
  .page-toc {
    margin: 26px 0 34px;
    padding: 18px 16px;
  }

  .page-toc__sublist {
    margin-left: 18px;
  }
}
