@charset "UTF-8";

/* ------------------------------------- */
/* 高橋追記 */
/* ------------------------------------- */
.service-info__anchor .tab-button:not(.is-active) .icon {
  background: #fff;
}
:where(.top) .service {
  background: url(../img/top-service-bg.png) no-repeat top center / cover;
}

.editor-area .ptn__story-movie .has-font-story-en-font-family {
  text-transform: capitalize;
}
.editor-area p.line-ttl {
  font-size: 4.4vw;
  text-align: center;
  margin-inline: auto;
}

.hidden-sp {
  display: none;
}

.localnav {
  gap: 1.2rem 0;
}
.localnav-item a {
  padding: 0 2rem;
}

.wp-block-image.is-style-cregit {
  position: relative;
}
.wp-block-image.is-style-cregit figcaption {
  margin-top: 1em;
}
.wp-block-image.is-style-cregit figcaption em {
  margin: 0 0.5em;
  padding-bottom: 1.5em;
  position: absolute;
  bottom: 100%;
  right: 0;
}

.system-term {
  clip-path: polygon(50% 0, 100% 1em, 100% calc(100% - 1em), 50% 100%, 0 calc(100% - 1em), 0 1em);
}

.card-image picture,
.card-image img {
  aspect-ratio: 1/1;
}

.staff-list .card-list-item .card-ttl {
  flex-grow: 0;
}

.editor-area hr.wp-block-separator {
  border-color: #ccc;
}

.wp-block-table.is-style-history tbody td:first-of-type {
  min-width: auto;
}
.wp-block-table.is-style-history {
  overflow: hidden;
}
.wp-block-table.is-style-history::before,
.wp-block-table.is-style-history::after {
  content: none;
}

.wp-block-table::after {
  content: "横スクロールで全体をご覧いただけます";
}
.wp-block-image.is-style-cregit figcaption mark {
  text-shadow: none;
}

.top .event .card-thumb {
  aspect-ratio: 18 / 12;
}

.card-list-item .card-ttl {
  flex-grow: 0;
}
.card-list-item .card-desc {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.wp-block-lazyblock-col3-block .card-list-item .card-desc {
  display: block;
}

.single-event .page-header .page-ttl {
  width: 100% !important;
  justify-content: center;
}

@media screen and (max-width: 1024px) {
  .single .page-header .page-ttl {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  :where(.top) .column .btn {
    margin: 2em auto 0;
  }
}

@media screen and (min-width: 480px) {
  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */
  .hidden-sp {
    display: block;
  }
  .hidden-tab {
    display: none !important;
  }
  .editor-area p.line-ttl {
    font-size: 1.4em;
  }
}

@media screen and (min-width: 768px) {
  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */

  .system-term {
    clip-path: polygon(50% 0, 100% 1em, 100% calc(100% - 1em), 50% 100%, 0 calc(100% - 1em), 0 1em);
  }
}

@media screen and (min-width: 960px) {
}

@media screen and (min-width: 1025px) {
}

@media (orientation: landscape) and (max-width: 767px) {
  /* デバイスが横向き、画面の横幅が 767px 以下の場合の記述 */
}
