@charset "UTF-8";
@layer reset {
  html,
  body,
  p,
  ol,
  ul,
  li,
  dl,
  dt,
  dd,
  blockquote,
  figure,
  fieldset,
  form,
  legend,
  textarea,
  pre,
  iframe,
  hr,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    padding: 0;
    margin: 0;
  }
}
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
          text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100%;
}

table {
  border-collapse: collapse;
}

[id] {
  scroll-margin-top: var(--js-height-header);
}

input,
button,
select,
textarea {
  font: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

button {
  cursor: pointer;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

strong {
  font-weight: var(--wp--custom--typography--font-weight--bold);
}

html:lang(en) body {
  font-family: "Mukta Vaani", sans-serif;
}

html:lang(zh-CN) body {
  font-family: "Noto Sans SC", sans-serif;
}

html:lang(zh-TW) body {
  font-family: "Noto Sans TC", sans-serif;
}

html:lang(ko-KR) body {
  font-family: "Noto Sans KR", sans-serif;
}

.l-container {
  width: min(100% - var(--wp--custom--spacing--gutter) * 2, var(--wp--style--global--content-size));
  margin-inline: auto;
}
.l-container.--narrow {
  width: min(100% - var(--wp--custom--spacing--gutter) * 2, var(--wp--custom--width--narrow));
}
.l-container.--wide {
  width: min(100% - var(--wp--custom--spacing--gutter) * 2, var(--wp--custom--width--wide));
}

.l-content {
  margin-top: 50px;
  margin-bottom: 80px;
}

.l-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: var(--wp--custom--z-index--header);
  width: 100%;
  background-color: var(--wp--preset--color--white);
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: 20px;
}
.l-header__logo {
  margin-right: auto;
}
.l-header__logo img {
  display: block;
  width: 100%;
}

@media (max-width: 1023px) {
  .l-header__inner {
    gap: 15px;
  }
  .l-header__logo {
    width: 218px;
  }
  .l-header__menu {
    position: fixed;
    top: calc(var(--wp--custom--height--header--mobile, 64px) + var(--js-height-important-notice, 0px));
    left: 0;
    display: none;
    width: 100%;
    height: calc(100dvh - var(--wp--custom--height--header--mobile, 64px) - var(--js-height-important-notice, 0px));
    overflow: hidden;
    background-color: var(--wp--preset--color--white);
  }
  .l-header__menu-inner {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .l-header__menu.is-open {
    display: block;
  }
}
@media (min-width: 1024px) {
  .l-header__logo {
    width: clamp(260px, -54.386px + 30.7018vw, 365px);
  }
  .l-header__inner {
    gap: clamp(16px, -31.9064px + 4.6784vw, 32px);
  }
}
.l-header-nav__list {
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: 1.2;
  text-align: center;
  list-style: none;
}
.l-header-nav__link {
  color: var(--wp--preset--color--black);
  text-decoration: none;
  transition: color var(--wp--custom--transition-speed) ease;
}
.l-header-nav__link.--home::before {
  background-image: url("../img/icon-home.png");
}
.l-header-nav__link.--railway::before {
  background-image: url("../img/icon-railway.png");
}
.l-header-nav__link.--buying-tickets::before {
  background-image: url("../img/icon-buying-tickets.png");
}
.l-header-nav__link.--special-offers::before {
  background-image: url("../img/icon-special-offers.png");
}
.l-header-nav__link.--how-to-get-to-arima-onsen::before {
  background-image: url("../img/icon-how-to-get-to-arima-onsen.png");
}
.l-header-nav__link.--news::before {
  background-image: url("../img/icon-news.png");
}
.l-header-nav__link::before {
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.l-header-nav__link:hover {
  color: var(--wp--preset--color--primary);
}

@media (max-width: 1023px) {
  .l-header-nav {
    margin-block: 28px;
  }
  .l-header-nav br {
    display: none;
  }
  .l-header-nav__list {
    width: min(100% - var(--wp--custom--spacing--gutter) * 2, var(--wp--style--global--content-size));
    margin-inline: auto;
  }
  .l-header-nav__link {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    text-decoration: none;
  }
  .l-header-nav__link::before {
    width: 56px;
    height: 48px;
  }
}
@media (min-width: 768px) {
  .l-header-nav__list {
    display: flex;
    flex-wrap: wrap;
  }
  .l-header-nav__item {
    width: 50%;
  }
}
@media (min-width: 1024px) {
  .l-header-nav__list {
    flex-wrap: nowrap;
    gap: clamp(16px, -31.9064px + 4.6784vw, 32px);
  }
  .l-header-nav__item {
    width: auto;
  }
  .l-header-nav__link {
    text-align: center;
  }
  .l-header-nav__link::before {
    height: 48px;
    aspect-ratio: 84/66;
    margin: 0 auto 0.25em;
    transition: transform var(--wp--custom--transition-speed) ease;
  }
  .l-header-nav__link:hover::before {
    transform: scale(1.1);
  }
}
.l-footer {
  position: relative;
  display: flex;
  height: var(--wp--custom--height--footer);
  margin-top: auto;
}
.l-footer__train {
  z-index: 1;
  width: min(50vw, 720px);
  height: 100%;
  background: url("../img/footer-train.png") no-repeat right bottom/720px auto;
}
.l-footer__inner {
  position: absolute;
  bottom: 0;
  flex: auto;
  width: 100%;
}

.l-footer-breadcrumbs {
  padding: 0.5em var(--wp--custom--spacing--gutter) 0.5em calc(min(50vw, 720px) + 1em);
  border-top: 1px solid var(--wp--preset--color--gray-light);
}
.l-footer-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}
.l-footer-breadcrumbs__item {
  display: flex;
  align-items: center;
}
.l-footer-breadcrumbs__item + .l-footer-breadcrumbs__item::before {
  margin: 0 0.5em;
  color: var(--wp--preset--color--primary);
  content: "›";
}
.l-footer-breadcrumbs__link {
  color: inherit;
  text-decoration: none;
}
.l-footer-breadcrumbs__link:first-child {
  font-weight: var(--wp--custom--typography--font-weight--bold);
}
.l-footer-breadcrumbs__link:hover {
  text-decoration: underline;
}

.l-footer-copyright {
  padding: 0.5em var(--wp--custom--spacing--gutter) 0.5em calc(min(50vw, 720px) + 1em);
  color: var(--wp--preset--color--white);
  text-align: right;
  background-color: var(--wp--preset--color--primary);
}
@media (max-width: 767px) {
  .l-footer-copyright {
    font-size: 12px;
  }
}

.c-card {
  position: relative !important;
  display: flex;
  gap: clamp(20px, 16.9728px + 0.8073vw, 28px);
  align-items: center;
  padding: clamp(20px, 15.46px + 1.21vw, 32px);
  background-color: var(--wp--preset--color--white);
  box-shadow: var(--wp--preset--shadow--flat-shadow);
}
.c-card a {
  text-decoration: none;
}
.c-card__thumb {
  aspect-ratio: 316/200;
  overflow: hidden;
}
.c-card__thumb.--rounded {
  border-radius: 8px;
}
.c-card__thumb img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--wp--custom--transition-speed) ease;
}
.c-card__content {
  position: static;
  width: 100%;
  padding-right: calc(clamp(28px, 18.91px + 2.42vw, 52px) + 1em);
  margin-top: 0;
  background: url("../img/icon-arrow-circle-red.png") no-repeat right center/clamp(28px, 18.91px + 2.42vw, 52px);
}
.c-card__content a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 1.1;
}
.c-card__content a::after {
  position: absolute;
  inset: 0;
  content: "";
}
.c-card__text {
  display: flex;
  align-items: center;
  min-height: clamp(28px, 18.91px + 2.42vw, 52px);
}
.c-card:hover .c-card__thumb img {
  transform: scale(1.08);
}
.c-card:hover .c-card__content {
  background-image: url("../img/icon-arrow-circle-red-hover.png");
}

@media (max-width: 767px) {
  .c-card {
    flex-direction: column;
  }
}
@media (min-width: 768px) {
  .c-card__thumb {
    flex: 0 0 47%;
  }
  .c-card__thumb a {
    display: flex;
    align-items: center;
    padding-right: 0;
  }
}
.c-googlemap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin-inline: auto;
}
.c-googlemap iframe {
  width: 100%;
  height: 100%;
}

.c-btn-container {
  display: grid;
  place-items: center;
  margin-top: 3em;
}

.p-important-notice {
  padding-block: 0.5em;
  background-color: var(--wp--preset--color--primary-light);
}
.p-important-notice a {
  text-decoration: none;
  transition: opacity var(--wp--custom--transition-speed) ease;
}
.p-important-notice a[target=_blank]::after {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  vertical-align: middle;
  content: "";
  background-color: currentColor;
  -webkit-mask: url("../img/icon-external.svg") no-repeat center/contain;
          mask: url("../img/icon-external.svg") no-repeat center/contain;
}
.p-important-notice a:hover {
  opacity: 0.7;
}
.p-important-notice__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5em 1em;
  align-items: start;
}
.p-important-notice__label {
  padding-inline: 0.5em;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--primary);
  border-radius: 3px;
}

@media (min-width: 768px) {
  .p-important-notice__inner {
    flex-direction: row;
  }
  .p-important-notice__label {
    white-space: nowrap;
  }
}
.p-important-notice-list {
  list-style: none;
}
.p-important-notice-list__item + .p-important-notice-list__item {
  margin-top: 0.5em;
}

.p-page-header {
  padding-block: 3em;
  text-align: center;
  background-color: var(--wp--preset--color--yellow-light);
}
.p-page-header__title {
  margin-top: 0.2em;
  font-size: var(--wp--preset--font-size--xxxx-large);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: 1.3;
  color: var(--wp--preset--color--primary);
}

/* 各ページのスラッグ（body class）に応じて、ページヘッダーのアイコン画像を切り替え */
body.railway .p-page-header__title::before,
body.buying-tickets .p-page-header__title::before,
body.special-offers .p-page-header__title::before,
body.how-to-get-to-arima-onsen .p-page-header__title::before,
body.blog .p-page-header__title::before,
body.single-post .p-page-header__title::before,
body.category .p-page-header__title::before,
body.tag .p-page-header__title::before,
body.date .p-page-header__title::before {
  display: block;
  width: clamp(62px, 62px + 22 * (100vw - 375px) / 991, 84px);
  aspect-ratio: 84/66;
  margin: 0 auto 0.2em;
  content: "";
  background: no-repeat center/contain;
}

body.railway .p-page-header__title::before {
  background-image: url("../img/icon-railway.png");
}

body.buying-tickets .p-page-header__title::before {
  background-image: url("../img/icon-buying-tickets.png");
}

body.special-offers .p-page-header__title::before {
  background-image: url("../img/icon-special-offers.png");
}

body.how-to-get-to-arima-onsen .p-page-header__title::before {
  background-image: url("../img/icon-how-to-get-to-arima-onsen.png");
}

body.blog .p-page-header__title::before,
body.single-post .p-page-header__title::before,
body.category .p-page-header__title::before,
body.tag .p-page-header__title::before,
body.date .p-page-header__title::before {
  background-image: url("../img/icon-news.png");
}

.p-lang-switcher {
  position: relative;
  display: inline-block;
  line-height: 1;
}
.p-lang-switcher__btn {
  display: flex;
  gap: 0;
  align-items: center;
  padding: 0;
  margin: 0;
  font-family: var(--wp--preset--font-family--en);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: 1;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 50px;
  transition: background var(--wp--custom--transition-speed) ease;
}
.p-lang-switcher__btn::before {
  display: block;
  width: 22px;
  aspect-ratio: 1;
  content: "";
  background-color: var(--wp--preset--color--black);
  -webkit-mask: url("../img/icon-globe.svg") no-repeat center/contain;
          mask: url("../img/icon-globe.svg") no-repeat center/contain;
}
.p-lang-switcher__btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.p-lang-switcher__label {
  display: none;
}
.p-lang-switcher__list {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  min-width: 160px;
  padding: 6px;
  margin: 0;
  list-style: none;
  pointer-events: none;
  background: var(--wp--preset--color--white);
  border: 1px solid currentColor;
  border-radius: 10px;
  opacity: 0;
  transition: opacity var(--wp--custom--transition-speed) ease, transform var(--wp--custom--transition-speed) ease;
  transform: translateY(0);
}
.p-lang-switcher__list::before {
  position: absolute;
  top: -10px;
  left: 0;
  display: block;
  width: 100%;
  height: 10px;
  content: "";
  background: transparent;
}
.p-lang-switcher__link {
  display: block;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  border-radius: 4px;
}
.p-lang-switcher__link:hover, .p-lang-switcher__link:focus-visible {
  background: var(--wp--preset--color--primary-light);
  outline: none;
}
.p-lang-switcher__item.is-active .p-lang-switcher__link {
  color: var(--wp--preset--color--white);
  background: var(--wp--preset--color--primary);
}
.p-lang-switcher.is-open .p-lang-switcher__list {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(6px);
}
.p-lang-switcher.is-open .p-lang-switcher__btn::after {
  transform: rotate(180deg);
}

@media (hover: hover) {
  .p-lang-switcher:hover .p-lang-switcher__list {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(6px);
  }
  .p-lang-switcher:hover .p-lang-switcher__btn::after {
    transform: rotate(180deg);
  }
}
@media (max-width: 1024px) {
  .p-lang-switcher__btn:hover::before {
    background-color: var(--wp--preset--color--primary);
  }
}
@media (min-width: 1024px) {
  .p-lang-switcher__btn {
    gap: 0.4em;
    padding: 0.5em 0.625em;
    border: 1px solid currentColor;
  }
  .p-lang-switcher__btn::before {
    width: 16px;
  }
  .p-lang-switcher__btn::after {
    display: block;
    width: 0;
    height: 0;
    margin-left: 0.1em;
    content: "";
    border-top: 6px solid currentColor;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.2s ease;
  }
  .p-lang-switcher__btn:hover {
    color: #fff;
    background-color: var(--wp--preset--color--primary);
  }
  .p-lang-switcher__btn:hover::before {
    background-color: var(--wp--preset--color--white);
  }
}
@media (min-width: 1100px) {
  .p-lang-switcher__label {
    display: inline;
  }
}
.p-hamburger {
  position: relative;
  z-index: var(--wp--custom--z-index--hamburger);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: 0;
}
.p-hamburger__line {
  position: absolute;
  width: inherit;
  height: 2px;
  background-color: var(--wp--preset--color--black);
}
.p-hamburger__line::before, .p-hamburger__line::after {
  position: absolute;
  display: block;
  width: inherit;
  height: inherit;
  content: "";
  background-color: var(--wp--preset--color--black);
  transition: transform 0.3s;
}
.p-hamburger__line::before {
  top: -7px;
}
.p-hamburger__line::after {
  bottom: -7px;
}
.p-hamburger[aria-expanded=true] .p-hamburger__line {
  background-color: transparent;
}
.p-hamburger[aria-expanded=true] .p-hamburger__line::before, .p-hamburger[aria-expanded=true] .p-hamburger__line::after {
  background-color: var(--wp--preset--color--primary);
}
.p-hamburger[aria-expanded=true] .p-hamburger__line::before {
  top: 0;
  transform: rotate(45deg);
}
.p-hamburger[aria-expanded=true] .p-hamburger__line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.p-pagination {
  margin-top: 3em;
}
.p-pagination ul {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
}
.p-pagination a, .p-pagination span {
  display: grid;
  place-items: center;
  width: 2em;
  aspect-ratio: 1;
  font-size: var(--wp--preset--font-size--large);
}
.p-pagination a {
  color: var(--wp--preset--color--black);
  text-decoration: none;
}
.p-pagination .current {
  color: var(--wp--preset--color--primary);
}
.p-pagination .next,
.p-pagination .prev {
  position: relative;
}
.p-pagination .next::after, .p-pagination .next::before,
.p-pagination .prev::after,
.p-pagination .prev::before {
  position: absolute;
  right: -1em;
  flex-shrink: 0;
  width: clamp(28px, 18.91px + 2.42vw, 52px);
  aspect-ratio: 1;
  content: "";
  transition: opacity var(--wp--custom--transition-speed) ease;
}
.p-pagination .next::before,
.p-pagination .prev::before {
  background: url("../img/icon-arrow-circle-red.png") no-repeat center/contain;
  opacity: 1;
}
.p-pagination .next::after,
.p-pagination .prev::after {
  background: url("../img/icon-arrow-circle-red-hover.png") no-repeat center/contain;
  opacity: 0;
}
.p-pagination .next:hover::before,
.p-pagination .prev:hover::before {
  opacity: 0;
}
.p-pagination .next:hover::after,
.p-pagination .prev:hover::after {
  opacity: 1;
}
.p-pagination .prev::before, .p-pagination .prev::after {
  left: -1em;
  transform: rotate(180deg);
}

.p-train-status {
  display: flex;
  width: 100%;
  line-height: 1.2;
  border: 1px solid var(--wp--preset--color--gray-light);
}
@media (max-width: 340px) {
  .p-train-status {
    flex-direction: column;
  }
}
.p-train-status__label {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  align-items: center;
  justify-content: center;
  padding: 1em 0.4em;
  font-size: var(--wp--preset--font-size--medium);
  color: var(--wp--preset--color--white);
  text-align: center;
  white-space: nowrap;
  background-color: var(--wp--preset--color--black);
}
.p-train-status__label::before {
  display: block;
  width: clamp(16px, 13.55px + 0.76vw, 24px);
  aspect-ratio: 12/15;
  content: "";
  background-color: var(--wp--preset--color--white);
  -webkit-mask: url("../img/icon-train.svg") no-repeat center/contain;
          mask: url("../img/icon-train.svg") no-repeat center/contain;
}
.p-train-status__text {
  display: flex;
  gap: 0.6em;
  align-items: center;
}
.p-train-status__text::before {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  content: "";
  border: 0.2em solid var(--wp--preset--color--sky-blue);
  border-radius: 50%;
}
.p-train-status__content {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  justify-content: center;
  width: 100%;
  padding: 0.8em 1em;
  background-color: var(--wp--preset--color--white);
}
.p-train-status__nav {
  display: flex;
  gap: 0.5em;
  align-items: center;
  font-size: 0.9em;
  font-weight: var(--wp--custom--typography--font-weight--bold);
}
.p-train-status__btn {
  display: flex;
  gap: 0.5em;
  align-items: center;
  height: 100%;
  padding: 0.5em 0.7em;
  line-height: 1;
  color: var(--wp--preset--color--black);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 50px;
  transition: all var(--wp--custom--transition-speed) ease;
}
.p-train-status__btn::before {
  display: block;
  flex-shrink: 0;
  width: calc(1em + 2px);
  aspect-ratio: 1;
  content: "";
}
.p-train-status__btn.--info {
  background-color: var(--wp--preset--color--sky-blue);
}
.p-train-status__btn.--info::before {
  background-color: var(--wp--preset--color--black);
  -webkit-mask: url("../img/icon-bubble.svg") no-repeat center/contain;
          mask: url("../img/icon-bubble.svg") no-repeat center/contain;
}
.p-train-status__btn.--info:hover {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--sky-blue);
}
.p-train-status__btn.--delay {
  background-color: var(--wp--preset--color--yellow);
}
.p-train-status__btn.--delay::before {
  background: url("../img/icon-note.svg") no-repeat center/contain;
}
.p-train-status__btn.--delay:hover {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--yellow);
}

.l-header__menu .p-train-status {
  border-right: 0;
  border-left: 0;
}

@media (min-width: 1024px) {
  .p-train-status__label {
    flex-direction: row;
    padding-inline: 1.25em;
  }
  .p-train-status__label br {
    display: none;
  }
  .p-train-status__content {
    flex-direction: row;
    align-items: center;
  }
  .p-train-status__nav {
    flex-shrink: 0;
    margin-left: auto;
  }
}
.p-news-list {
  list-style: none;
}
.p-news-list__item:first-child .p-news-list__link {
  padding-top: 0;
}
.p-news-list__link {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  justify-content: start;
  padding: 1em 5px;
  text-decoration: none;
  border-bottom: 1px solid var(--wp--preset--color--gray-light);
}
.p-news-list__link:hover .p-news-list__title {
  color: var(--wp--preset--color--primary);
}
.p-news-list__link:hover .p-news-list__title::after {
  background-color: var(--wp--preset--color--primary);
  transform: translateX(5px);
}
.p-news-list__link[target=_blank] .p-news-list__title-text::after {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  vertical-align: middle;
  content: "";
  background-color: currentColor;
  -webkit-mask: url("../img/icon-external.svg") no-repeat center/contain;
          mask: url("../img/icon-external.svg") no-repeat center/contain;
}
.p-news-list__url {
  word-break: break-word;
}
.p-news-list__url::after {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  vertical-align: middle;
  content: "";
  background-color: currentColor;
  -webkit-mask: url("../img/icon-external.svg") no-repeat center/contain;
          mask: url("../img/icon-external.svg") no-repeat center/contain;
}
.p-news-list__time {
  flex-shrink: 0;
  font-size: var(--wp--preset--font-size--medium);
}
.p-news-list__title {
  display: flex;
  gap: 1em;
  align-items: center;
  width: 100%;
  color: var(--wp--preset--color--black);
}
.p-news-list__title::after {
  display: block;
  flex-shrink: 0;
  width: clamp(12px, 10.49px + 0.4vw, 16px);
  aspect-ratio: 16/12;
  margin-left: auto;
  content: "";
  background-color: var(--wp--preset--color--black);
  -webkit-mask: url("../img/icon-arrow.svg") no-repeat center/contain;
          mask: url("../img/icon-arrow.svg") no-repeat center/contain;
  transition: all var(--wp--custom--transition-speed) ease;
}

@media (min-width: 768px) {
  .p-news-list__link {
    flex-direction: row;
    gap: 1em;
    align-items: start;
    padding-block: 1.3em;
  }
}
.p-news-header {
  padding-bottom: 1em;
  margin-bottom: 2.5em;
  border-bottom: 1px solid var(--wp--preset--color--gray-light);
}
.p-news-header__title {
  font-size: var(--wp--preset--font-size--xxx-large);
}
.p-news-header__date {
  display: block;
  margin-top: 0.5em;
  font-size: var(--wp--preset--font-size--large);
  color: var(--wp--preset--color--primary);
}

.p-route-map__nav {
  display: grid !important;
  align-items: stretch;
  overflow: visible;
}
.p-route-map__btn {
  overflow: visible;
}
.p-route-map__btn > a {
  position: relative;
}
.p-route-map__btn.is-active > a {
  color: var(--wp--preset--color--white) !important;
}
.p-route-map__btn.--local.is-active > a {
  background-color: var(--wp--preset--color--gray);
}
.p-route-map__btn.--semi-express.is-active > a {
  background-color: var(--wp--preset--color--semi-express);
}
.p-route-map__btn.--express.is-active > a {
  background-color: var(--wp--preset--color--express);
}
.p-route-map__btn.--special-rapid.is-active > a {
  background-color: var(--wp--preset--color--special-rapid);
}

@media (max-width: 767px) {
  .p-route-map__nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-route-map__btn:nth-child(2n) a {
    border-left: 0;
  }
  .p-route-map__btn:nth-child(n+3) a {
    border-top: 0;
  }
}
@media (min-width: 768px) {
  .p-route-map__nav {
    grid-template-columns: repeat(4, 1fr);
  }
  .p-route-map__btn:not(:last-child) a {
    border-right: 0;
  }
  .p-route-map__btn.is-active > a::before {
    position: absolute;
    bottom: -12px;
    left: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    pointer-events: none;
    content: "";
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    transform: translateX(-50%);
  }
  .p-route-map__btn.--local.is-active > a::before {
    border-top: 12px solid var(--wp--preset--color--gray);
  }
  .p-route-map__btn.--semi-express.is-active > a::before {
    border-top: 12px solid var(--wp--preset--color--semi-express);
  }
  .p-route-map__btn.--express.is-active > a::before {
    border-top: 12px solid var(--wp--preset--color--express);
  }
  .p-route-map__btn.--special-rapid.is-active > a::before {
    border-top: 12px solid var(--wp--preset--color--special-rapid);
  }
}
.p-icon-table table td {
  padding: 5px;
  line-height: 1.2;
}
.p-icon-table table td:first-child {
  width: 40px;
}
@media (min-width: 768px) {
  .p-icon-table table td:first-child {
    width: 65px;
  }
}

.hm-keyvisual-wrapper {
  background: url("../img/bg-texture-yellow.png") repeat-x center bottom/90px;
}

.hm-keyvisual {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  height: 522px;
  padding: clamp(36px, 3.22px + 3.28vw, 48px) clamp(24px, 14.91px + 2.42vw, 48px);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  background: url("../img/keyvisual-sp.jpg") no-repeat center right/cover;
  box-shadow: var(--wp--preset--shadow--flat-shadow);
}
.hm-keyvisual__catch {
  min-width: 0;
  max-width: 100%;
  margin-inline: 0 !important;
}
.hm-keyvisual__catch p {
  display: inline;
  padding-inline: 0.5em;
  font-size: clamp(14px, 10.2px + 1vw, 24px);
  line-height: 2.1;
  background-color: var(--wp--preset--color--white);
  border: 1px solid currentColor;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hm-keyvisual__title {
  margin-inline: 0 !important;
  margin-top: 0.2em;
  font-size: clamp(44px, 30.38px + 3.63vw, 80px);
  line-height: 1;
  color: var(--wp--preset--color--white);
  text-shadow: calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 var(--wp--preset--color--black), clamp(1px, 0.62px + 0.1vw, 2px) calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 var(--wp--preset--color--black), calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) clamp(1px, 0.62px + 0.1vw, 2px) 0 var(--wp--preset--color--black), clamp(1px, 0.62px + 0.1vw, 2px) clamp(1px, 0.62px + 0.1vw, 2px) 0 var(--wp--preset--color--black), 0 calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 var(--wp--preset--color--black), 0 clamp(1px, 0.62px + 0.1vw, 2px) 0 var(--wp--preset--color--black), calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 0 var(--wp--preset--color--black), clamp(1px, 0.62px + 0.1vw, 2px) 0 0 var(--wp--preset--color--black);
}
.hm-keyvisual__title::first-line {
  color: var(--wp--preset--color--primary);
  text-shadow: calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 var(--wp--preset--color--white), clamp(1px, 0.62px + 0.1vw, 2px) calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 var(--wp--preset--color--white), calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) clamp(1px, 0.62px + 0.1vw, 2px) 0 var(--wp--preset--color--white), clamp(1px, 0.62px + 0.1vw, 2px) clamp(1px, 0.62px + 0.1vw, 2px) 0 var(--wp--preset--color--white), 0 calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 var(--wp--preset--color--white), 0 clamp(1px, 0.62px + 0.1vw, 2px) 0 var(--wp--preset--color--white), calc(clamp(1px, 0.62px + 0.1vw, 2px) * -1) 0 0 var(--wp--preset--color--white), clamp(1px, 0.62px + 0.1vw, 2px) 0 0 var(--wp--preset--color--white);
}

@media (min-width: 768px) {
  .hm-keyvisual {
    justify-content: center;
    height: 572px;
    background: url("../img/keyvisual.jpg") no-repeat center right/cover;
  }
}
.hm-train-status {
  background: url("../img/bg-texture-yellow.png") repeat center/90px;
  box-shadow: var(--wp--preset--shadow--flat-shadow);
}

.hm-welcome {
  position: relative;
  margin-top: 0 !important;
  background: url("../img/bg-texture-yellow.png") repeat center/90px;
}
.hm-welcome__slider {
  display: flex;
  width: 100%;
  margin-inline: 0 !important;
  overflow: hidden;
  white-space: nowrap;
}
.hm-welcome__img {
  flex: 0 0 auto;
  width: clamp(1050px, 652.67px + 105.95vw, 2100px);
  height: clamp(93.01px, 57.81px + 9.38vw, 186px);
  background: url("../img/text-welcome-to-kobe-city.png") no-repeat center/contain;
  animation: welcomeAnimation 50s linear infinite;
}
.hm-welcome__logo {
  position: absolute !important;
  top: 50%;
  left: 50%;
  width: clamp(106px, 85.57px + 5.45vw, 160px);
  margin-top: 0;
  transform: translate(-50%, -50%);
}

@keyframes welcomeAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.hm-message {
  background: url("../img/bg-texture-yellow.png") repeat center/90px;
}
@media (min-width: 768px) {
  .hm-message p {
    text-align: center;
  }
}

.hm-photo-slider__inner {
  display: flex;
  width: 100%;
  margin: 0 !important;
  overflow: hidden;
  white-space: nowrap;
}
.hm-photo-slider__img {
  flex: 0 0 auto;
  width: clamp(1800px, 1345.92px + 121.09vw, 3000px);
  height: clamp(180px, 134.59px + 12.11vw, 300px);
  background: url("../img/slider-photos.jpg") no-repeat center/cover;
  animation: photoSliderAnimation 80s linear infinite;
}
.hm-photo-slider__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@keyframes photoSliderAnimation {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
.hm-arch-area {
  background: url("../img/bg-texture-yellow-bottom.png") repeat-x bottom left, url("../img/bg-arch-sp.png") no-repeat top center/contain, url("../img/bg-texture-red.png") repeat top center/90px;
}
@media (min-width: 782px) {
  .hm-arch-area {
    background: url("../img/bg-texture-yellow-bottom.png") repeat-x bottom left, url("../img/bg-arch.png") no-repeat top center/contain, url("../img/bg-texture-red.png") repeat top center/90px;
  }
}

@media (max-width: 781px) {
  .hm-news__heading > * {
    margin: 0 !important;
  }
  .hm-news__heading {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 0.5em;
    align-items: center;
    justify-content: space-between;
  }
}

.hm-travel-guide {
  margin-top: 0;
}
.hm-travel-guide__title {
  margin-top: 0;
}

@media (max-width: 781px) {
  .hm-travel-guide__title-wrapper {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
  }
  .hm-travel-guide__train {
    width: clamp(160px, -21.0345px + 48.2759vw, 356px);
    margin-left: -17% !important;
  }
  .hm-travel-guide__title {
    width: 60%;
    margin-right: 0 !important;
    text-align: right;
  }
}
@media (min-width: 782px) {
  .hm-travel-guide__title {
    margin-top: 0.5em;
    margin-left: 0 !important;
  }
  .hm-travel-guide__train {
    max-width: 365px;
    margin-left: -36% !important;
  }
  .hm-travel-guide__content {
    padding-top: clamp(90px, -19.81px + 14.04vw, 172px);
  }
}
.hm-special-offers {
  filter: drop-shadow(clamp(7px, 5.87px + 0.302vw, 10px) clamp(7px, 5.87px + 0.302vw, 10px) 0 rgba(204, 204, 204, 0.3));
}
.hm-special-offers__heading {
  word-break: keep-all;
}
.hm-special-offers__content {
  position: relative;
  background: linear-gradient(to top, transparent 0, transparent 50px, var(--wp--preset--color--white) 50px, var(--wp--preset--color--white) 100%), url("../img/bg-ticket.png") no-repeat bottom right;
}
.hm-special-offers__content .swiper-button-next,
.hm-special-offers__content .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%) translateX(1.2vw);
}
.hm-special-offers__content .swiper-button-next svg,
.hm-special-offers__content .swiper-button-prev svg {
  display: none;
}
.hm-special-offers__content .swiper-button-next::after, .hm-special-offers__content .swiper-button-next::before,
.hm-special-offers__content .swiper-button-prev::after,
.hm-special-offers__content .swiper-button-prev::before {
  position: absolute;
  right: clamp(20px, 15.46px + 1.21vw, 32px);
  flex-shrink: 0;
  width: clamp(28px, 18.91px + 2.42vw, 52px);
  aspect-ratio: 1;
  content: "";
  transition: opacity var(--wp--custom--transition-speed) ease;
}
.hm-special-offers__content .swiper-button-next::before,
.hm-special-offers__content .swiper-button-prev::before {
  background: url("../img/icon-arrow-circle-red.png") no-repeat center/contain;
  opacity: 1;
}
.hm-special-offers__content .swiper-button-next::after,
.hm-special-offers__content .swiper-button-prev::after {
  background: url("../img/icon-arrow-circle-red-hover.png") no-repeat center/contain;
  opacity: 0;
}
@media (hover: hover) {
  .hm-special-offers__content .swiper-button-next:hover::before,
  .hm-special-offers__content .swiper-button-prev:hover::before {
    opacity: 0;
  }
  .hm-special-offers__content .swiper-button-next:hover::after,
  .hm-special-offers__content .swiper-button-prev:hover::after {
    opacity: 1;
  }
}
.hm-special-offers__content .swiper-button-prev {
  transform: translateY(-50%) translateX(-1.2vw) rotate(180deg);
}
.hm-special-offers__content .swiper-pagination {
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .hm-special-offers__content .swiper-pagination:has(.swiper-pagination-bullet:nth-child(2):last-child) {
    display: none;
  }
}
.hm-special-offers__content .swiper-pagination-bullet {
  margin: 0 !important;
  background-color: var(--wp--preset--color--gray-light);
  opacity: 1;
}
.hm-special-offers__content .swiper-pagination-bullet-active {
  background-color: var(--wp--preset--color--primary);
}

/*カラムブロックのブレークポイントを変更*/
@media (min-width: 782px) and (max-width: 1099px) {
  .wp-block-columns.hm-special-offers {
    flex-wrap: wrap !important;
  }
  .wp-block-columns.hm-special-offers > .wp-block-column {
    flex-basis: 100% !important;
  }
}
@media (max-width: 1099px) {
  .hm-special-offers__heading {
    padding: 33px;
    border-bottom: 2px dotted var(--wp--preset--color--primary);
  }
  .hm-special-offers__content {
    padding: 15px 15px 40px;
    background-size: 130%;
  }
  .hm-special-offers__content .swiper-pagination {
    gap: 5px;
    height: 50px;
    padding-inline: 33px 20%;
  }
}
@media (min-width: 1100px) {
  .hm-special-offers__heading {
    padding: 48px 30px;
    border-right: 4px dotted var(--wp--preset--color--primary);
  }
  .hm-special-offers__content {
    padding: 30px 40px 50px;
    background-size: 100%;
  }
  .hm-special-offers__content .swiper-pagination {
    gap: 10px;
    height: 68px;
    padding-inline: 58px 18%;
  }
}
.hm-special-offers-slider {
  height: 100%;
}
.hm-special-offers-slider__item {
  height: 100%;
  padding: 18px;
  margin-top: 0;
}
.hm-special-offers-slider__item-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
  height: 100%;
  padding: clamp(16px, 11.4591px + 1.2109vw, 28px);
  border: 2px solid var(--wp--preset--color--gray-light);
  border-radius: 12px;
  box-shadow: var(--wp--preset--shadow--flat-shadow);
}
.hm-special-offers-slider__item-thumb {
  aspect-ratio: 272/184;
  overflow: hidden;
  border-radius: 8px;
}
.hm-special-offers-slider__item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--wp--custom--transition-speed) ease;
}
.hm-special-offers-slider__item-content {
  position: static;
  width: 100%;
  margin-top: 0;
}
.hm-special-offers-slider__item-content a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 1.1;
  text-decoration: none;
}
.hm-special-offers-slider__item-content a::after {
  position: absolute;
  inset: 0;
  content: "";
}
.hm-special-offers-slider__item:hover .hm-special-offers-slider__item-thumb img {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .hm-special-offers-slider__content:has(.swiper-slide:only-child) .hm-special-offers-slider__item {
    width: 100% !important;
    max-width: none;
    padding: clamp(16px, 11.4591px + 1.2109vw, 28px);
  }
  .hm-special-offers-slider__content:has(.swiper-slide:only-child) .hm-special-offers-slider__item-thumb {
    flex: 1.8;
  }
  .hm-special-offers-slider__content:has(.swiper-slide:only-child) .hm-special-offers-slider__item-content {
    flex: 2;
  }
  .hm-special-offers-slider__content:has(.swiper-slide:only-child) .hm-special-offers-slider__item-inner {
    flex-direction: row;
    gap: clamp(16px, 11.4591px + 1.2109vw, 28px);
    align-items: center;
    width: 100% !important;
    height: auto;
  }
}
.hm-fun {
  margin-top: 0;
  /*footer下部とくっつける*/
  margin-bottom: calc(var(--wp--custom--height--footer) * -1) !important;
  background: url("../img/bg-texture-yellow.png") repeat;
}
.hm-fun__title {
  font-size: clamp(52px, 41.41px + 2.83vw, 80px);
}

@media (max-width: 1023px) {
  .hm-fun {
    padding-bottom: var(--wp--custom--height--footer);
  }
  .hm-fun__catch {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 1024px) {
  .hm-fun {
    margin-bottom: var(--wp--custom--height--footer);
  }
}
@media (max-width: 1023px) {
  div.hm-fun-card-list {
    padding: clamp(130px, 92.3843px + 10.0309vw, 195px) var(--wp--custom--spacing--gutter) clamp(200px, 142.1296px + 15.4321vw, 300px);
    margin-inline: calc(var(--wp--custom--spacing--gutter) * -1) !important;
    background: url("../img/bg-fun-top-sp.png") no-repeat top center/clamp(1024px, 727.7037px + 79.0123vw, 1536px), url("../img/bg-fun-bottom-sp.png") no-repeat bottom center/clamp(1024px, 727.7037px + 79.0123vw, 1536px);
  }
}
@media (min-width: 1024px) {
  .hm-fun-card-list-wrapper {
    padding-inline: var(--wp--custom--spacing--gutter);
    margin-inline: calc(var(--wp--custom--spacing--gutter) * -1) !important;
    background: url("../img/bg-fun-roads.png") no-repeat top center/1697px;
  }
  .hm-fun-card-list {
    padding-bottom: calc(var(--wp--custom--height--footer));
  }
  .hm-fun-card-list__item {
    width: clamp(538px, 48.929px + 48.9071vw, 717px);
  }
  .hm-fun-card-list__item::before, .hm-fun-card-list__item::after {
    position: absolute;
    display: block;
    content: "";
  }
  .hm-fun-card-list__item:nth-of-type(1)::before {
    bottom: 120px;
    left: calc(-1 * clamp(191px, 43.459px + 14.7541vw, 245px));
    width: clamp(161px, 13.459px + 14.7541vw, 215px);
    aspect-ratio: 215/168;
    background: url("../img/hm-fun-onsen.png") no-repeat center/contain;
  }
  .hm-fun-card-list__item:nth-of-type(1)::after {
    /* 編集画面では、after疑似要素の位置指定に!importantが必要 */
    top: auto !important;
    right: calc(-1 * clamp(165px, 14.7268px + 15.0273vw, 220px)) !important;
    bottom: -60px !important;
    left: auto !important;
    width: clamp(108px, 6.9071px + 10.1093vw, 145px);
    aspect-ratio: 145/200;
    background: url("../img/hm-fun-people-kimono.png") no-repeat center/contain;
  }
  .hm-fun-card-list__item:nth-of-type(2) {
    margin-left: 0 !important;
  }
  .hm-fun-card-list__item:nth-of-type(2)::before {
    right: calc(-1 * clamp(195px, 17.4044px + 17.7596vw, 260px));
    bottom: -15px;
    width: clamp(152px, 15.388px + 13.6612vw, 202px);
    aspect-ratio: 202/91;
    background: url("../img/hm-fun-sentou.png") no-repeat center/contain;
  }
  .hm-fun-card-list__item:nth-of-type(3) {
    margin-right: 0 !important;
  }
  .hm-fun-card-list__item:nth-of-type(3)::before {
    bottom: 10px;
    left: calc(-1 * clamp(233px, 22.6175px + 21.0383vw, 310px));
    width: clamp(206px, 20.2077px + 18.5792vw, 274px);
    aspect-ratio: 274/200;
    background: url("../img/hm-fun-people-tour.png") no-repeat center/contain;
  }
}
@media (max-width: 767px) {
  .u-pc-only {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .u-mobile-only {
    display: none !important;
  }
  .u-md-br-none br {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .u-lg-only {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .u-lg-1-only {
    display: none !important;
  }
  .u-lg-br-none br {
    display: none !important;
  }
}
.entry-content {
  padding-inline: var(--wp--custom--spacing--gutter);
}
.entry-content p a[target=_blank]::after,
.entry-content .wp-block-list li a[target=_blank]::after,
.entry-content td a[target=_blank]::after {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  vertical-align: middle;
  content: "";
  background-color: currentColor;
  -webkit-mask: url("../img/icon-external.svg") no-repeat center/contain;
          mask: url("../img/icon-external.svg") no-repeat center/contain;
  margin-right: 0.5em;
}
.entry-content::after {
  display: table;
  clear: both;
  content: "";
}
.entry-content > *:not(.alignfull) {
  max-width: var(--wp--style--global--content-size);
  margin-inline: auto;
}
.entry-content > *.alignfull {
  padding-inline: var(--wp--custom--spacing--gutter);
  margin-inline: calc(var(--wp--custom--spacing--gutter) * -1);
}

/* 可読性を考慮し、ニュース投稿詳細のコンテンツ幅は固定ページより狭くする */
.single-post .entry-content {
  max-width: calc(var(--wp--custom--width--narrow) + var(--wp--custom--spacing--gutter) * 2);
  margin-inline: auto;
}

.wp-block-heading {
  margin-top: 2em;
}
.wp-block-heading + .wp-block-heading {
  margin-block-start: var(--wp--style--block-gap);
}

.wp-block-group.is-layout-flex .wp-block-heading {
  margin-block-start: 0;
}

.is-style-heading-01 {
  position: relative;
  padding-left: 1.3em;
}

.is-style-heading-01::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 0.8em;
  height: 0.8em;
  content: "";
  background-color: var(--wp--preset--color--primary);
  -webkit-mask: url("../img/heading-marker-01.svg") no-repeat center/contain;
          mask: url("../img/heading-marker-01.svg") no-repeat center/contain;
}

.is-style-heading-02 {
  position: relative;
  padding-left: 0.7em;
}

.is-style-heading-02::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.212em;
  height: 1.2em;
  content: "";
  background-color: var(--wp--preset--color--primary);
  -webkit-mask: url("../img/heading-marker-02.svg") no-repeat center/contain;
          mask: url("../img/heading-marker-02.svg") no-repeat center/contain;
}

.wp-block-buttons {
  gap: 5px;
}

.is-style-buttons-pc-row-1-sp-col-2 {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}
.is-style-buttons-pc-row-1-sp-col-2 > .wp-block-button {
  flex: auto;
}
.is-style-buttons-pc-row-1-sp-col-2 > .wp-block-button .wp-block-button__link {
  height: 100%;
  text-align: center;
}
@media (max-width: 767px) {
  .is-style-buttons-pc-row-1-sp-col-2 {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .is-style-buttons-pc-row-1-sp-col-2 > .wp-block-button {
    flex: 0 0 calc(50% - 2.5px);
    max-width: calc(50% - 2.5px);
  }
  .is-style-buttons-pc-row-1-sp-col-2 > .wp-block-button .wp-block-button__link {
    width: 100%;
  }
}

.is-style-buttons-pc-col-2-sp-col-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
}
.is-style-buttons-pc-col-2-sp-col-2 > .wp-block-button {
  flex: 0 0 calc(50% - 2.5px);
  max-width: calc(50% - 2.5px);
}
.is-style-buttons-pc-col-2-sp-col-2 > .wp-block-button .wp-block-button__link {
  width: 100%;
  height: 100%;
  text-align: center;
}

.is-style-buttons-pc-col-2-sp-col-1 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
}
.is-style-buttons-pc-col-2-sp-col-1 > .wp-block-button {
  flex: 0 0 calc(50% - 2.5px);
  max-width: calc(50% - 2.5px);
}
.is-style-buttons-pc-col-2-sp-col-1 > .wp-block-button .wp-block-button__link {
  width: 100%;
  height: 100%;
  text-align: center;
}
@media (max-width: 767px) {
  .is-style-buttons-pc-col-2-sp-col-1 > .wp-block-button {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.wp-block-button__link {
  position: relative;
  padding: 0.66em 2.8em 0.66em 1.4em;
  font-weight: var(--wp--custom--typography--font-weight--bold);
  color: var(--wp--preset--color--primary);
  text-align: left;
  background-color: var(--wp--preset--color--white);
  border: 1px solid currentColor;
  border-radius: 50px;
  transition: all var(--wp--custom--transition-speed);
}
.wp-block-button__link::after {
  position: absolute;
  top: 50%;
  right: 1.2em;
  width: 1em;
  aspect-ratio: 1;
  content: "";
  background-color: currentColor;
  -webkit-mask: url("../img/icon-arrow.svg") no-repeat center/contain;
          mask: url("../img/icon-arrow.svg") no-repeat center/contain;
  transform: translateY(-50%);
}
@media (hover: hover) {
  .wp-block-button__link:hover {
    color: var(--wp--preset--color--white) !important;
    background-color: var(--wp--preset--color--primary);
    border: 1px solid transparent;
  }
  .wp-block-button__link.has-black-color:hover {
    background-color: var(--wp--preset--color--black);
  }
  .wp-block-button__link.has-yellow-color:hover {
    background-color: var(--wp--preset--color--yellow);
  }
  .wp-block-button__link.has-sky-blue-color:hover {
    background-color: var(--wp--preset--color--sky-blue);
  }
  .wp-block-button__link.has-gray-color:hover {
    background-color: var(--wp--preset--color--gray);
  }
  .wp-block-button__link.has-semi-express-color:hover {
    background-color: var(--wp--preset--color--semi-express);
  }
  .wp-block-button__link.has-express-color:hover {
    background-color: var(--wp--preset--color--express);
  }
  .wp-block-button__link.has-special-rapid-color:hover {
    background-color: var(--wp--preset--color--special-rapid);
  }
}

.is-style-button-arrow-down .wp-block-button__link {
  border-radius: 4px;
}
.is-style-button-arrow-down .wp-block-button__link::after {
  transform: translateY(-50%) rotate(90deg);
}

.is-style-button-arrow-left .wp-block-button__link {
  padding: 0.8em 1.4em 0.8em 2.8em;
}
.is-style-button-arrow-left .wp-block-button__link::after {
  right: auto;
  left: 1.2em;
  transform: translateY(-50%) rotate(180deg);
}

.is-style-button-plain .wp-block-button__link {
  padding: 0.7em 1.4em;
  text-align: center;
}
.is-style-button-plain .wp-block-button__link::after {
  content: none;
}

.wp-block-list {
  padding-left: 1.3em;
}
.wp-block-list li + li {
  margin-top: 1em;
}

ul.wp-block-list {
  list-style: none;
}
ul.wp-block-list li {
  position: relative;
}
ul.wp-block-list:not([class*=is-style-]) li::before, ul.wp-block-list.is-style-default li::before {
  position: absolute;
  top: 0.35em;
  left: -1.5em;
  width: 0.5em;
  height: 0.5em;
  content: "";
  border: 2px solid var(--wp--preset--color--primary);
  border-radius: 50%;
}
ul.wp-block-list.is-style-list-asterisk li + li {
  margin-top: 0.25em;
}
ul.wp-block-list.is-style-list-asterisk li::before {
  position: absolute;
  top: 0;
  left: 0.5em;
  margin-left: -1.5em;
  content: "※";
}

html:lang(en) body ul.wp-block-list.is-style-list-asterisk li::before {
  content: "*";
}

ol.wp-block-list {
  padding-left: 1.3em;
  list-style: none;
  counter-reset: list-num;
}
ol.wp-block-list li {
  position: relative;
  padding-left: 2em;
  counter-increment: list-num;
}
ol.wp-block-list.is-style-list-circle-number li::before {
  position: absolute;
  top: -0.1em;
  left: 0;
  width: 1.6em;
  height: 1.6em;
  color: var(--wp--preset--color--primary);
  text-align: center;
  content: counter(list-num);
  border: 2px solid currentColor;
  border-radius: 50%;
}

.wp-block-table table {
  border-spacing: 0;
}
.wp-block-table th {
  font-weight: var(--wp--custom--typography--font-weight--bold);
}
.wp-block-table th,
.wp-block-table td {
  padding: 15px 20px;
  border: 1px solid var(--wp--preset--color--gray-light);
}
.wp-block-table figcaption {
  text-align: left;
}
.wp-block-table.is-style-table-left-color table th:first-child,
.wp-block-table.is-style-table-left-color table td:first-child, .wp-block-table.is-style-table-scroll-left-color table th:first-child,
.wp-block-table.is-style-table-scroll-left-color table td:first-child {
  white-space: nowrap;
  background-color: var(--wp--preset--color--primary-light);
}

@media (max-width: 767px) {
  .wp-block-table.is-style-table-scroll, .wp-block-table.is-style-table-scroll-left-color {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wp-block-table.is-style-table-scroll::-webkit-scrollbar, .wp-block-table.is-style-table-scroll-left-color::-webkit-scrollbar {
    height: 12px;
  }
  .wp-block-table.is-style-table-scroll::-webkit-scrollbar-track, .wp-block-table.is-style-table-scroll-left-color::-webkit-scrollbar-track {
    background: var(--wp--preset--color--gray-light);
  }
  .wp-block-table.is-style-table-scroll::-webkit-scrollbar-thumb, .wp-block-table.is-style-table-scroll-left-color::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--gray);
    border-radius: 10px;
  }
  .wp-block-table.is-style-table-scroll table, .wp-block-table.is-style-table-scroll-left-color table {
    width: max(var(--wp--custom--width--narrow), 100%);
  }
}
@media (max-width: 767px) {
  .wp-block-image.is-style-image-scroll {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wp-block-image.is-style-image-scroll::-webkit-scrollbar {
    height: 12px;
  }
  .wp-block-image.is-style-image-scroll::-webkit-scrollbar-track {
    background: var(--wp--preset--color--gray-light);
  }
  .wp-block-image.is-style-image-scroll::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--gray);
    border-radius: 10px;
  }
  .wp-block-image.is-style-image-scroll img {
    display: block;
    width: max(var(--wp--custom--width--narrow), 100%);
    max-width: none;
    height: auto;
  }
}
@media (max-width: 767px) {
  .wp-block-group.is-style-group-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wp-block-group.is-style-group-scroll::-webkit-scrollbar {
    height: 12px;
  }
  .wp-block-group.is-style-group-scroll::-webkit-scrollbar-track {
    background: var(--wp--preset--color--gray-light);
  }
  .wp-block-group.is-style-group-scroll::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--gray);
    border-radius: 10px;
  }
  .wp-block-group.is-style-group-scroll > * {
    width: max(var(--wp--custom--width--narrow), 100%);
    margin-top: 0;
  }
}