.section-heading {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .section-heading {
    gap: 1.5rem;
  }
}
.section-heading__en {
  font-family: "Cormorant", Georgia, serif;
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .section-heading__en {
    font-size: 3.2rem;
  }
}
.section-heading__ja {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .section-heading__ja {
    gap: 1.5rem;
    font-size: 1.9rem;
  }
}
.section-heading__ja::before {
  content: "";
  width: 1px;
  height: 2.5rem;
  margin-inline: 0.5rem;
  background: currentColor;
  transform: skew(-30deg);
}
.section-heading--large .section-heading__en {
  font-size: 5rem;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .section-heading--large .section-heading__en {
    font-size: 8.5rem;
    letter-spacing: 0.03em;
  }
}
.section-heading--large .section-heading__ja {
  font-size: 1.8rem;
}
@media (min-width: 768px) {
  .section-heading--large .section-heading__ja {
    font-size: 2.3rem;
  }
}
.section-heading--page .section-heading__en {
  font-size: 5rem;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .section-heading--page .section-heading__en {
    font-size: 10.7rem;
    letter-spacing: 0.02em;
  }
}
.section-heading--page .section-heading__ja {
  font-size: 1.8rem;
}
@media (min-width: 768px) {
  .section-heading--page .section-heading__ja {
    font-size: 2.4rem;
  }
}

.section-title {
  margin-top: 2rem;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 5rem;
  letter-spacing: 0.015em;
}
@media (min-width: 768px) {
  .section-title {
    margin-top: 4rem;
    font-size: 6rem;
    line-height: 8.5rem;
    letter-spacing: 0.03em;
  }
}

.section-text {
  margin-top: 3.5rem;
  line-height: 3.3rem;
}
@media (min-width: 768px) {
  .section-text {
    max-width: 50rem;
    margin-top: 5rem;
    line-height: 3.5rem;
  }
}
.section-text p + p {
  margin-top: 3.3rem;
}

.service__button, .company__button {
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .service__button, .company__button {
    margin-top: 10rem;
  }
}

.page-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  min-width: 24rem;
  padding: 1.8rem 4.5rem;
  border: 1px solid transparent;
  border-radius: 10rem;
  background: #1f2834;
  color: #f7f7f7;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: color 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
@media (min-width: 768px) {
  .page-btn {
    min-width: 29rem;
    padding-block: 2.3rem;
    font-size: 1.9rem;
  }
}
.page-btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(100deg, #1e3a61, #95928d);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
@media (prefers-reduced-motion: reduce) {
  .page-btn::before {
    transition: none;
  }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .page-btn:hover::before {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-btn {
    transition: none;
  }
}
.page-btn--light {
  background: #f7f7f7;
  color: #131921;
}
@media (min-width: 768px) {
  .page-btn--light {
    min-width: 30rem;
  }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .page-btn--light:hover {
    color: #f7f7f7;
  }
}
.page-btn--outline {
  border-color: #f7f7f7;
  background: transparent;
}
.page-btn--outline::before {
  background: #f7f7f7;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .page-btn--outline:hover {
    color: #164c9a;
  }
}
.page-btn__icon {
  position: relative;
  flex: 0 0 1.6rem;
  width: 1.6rem;
  height: 1.2rem;
  overflow: clip;
}
.page-btn__icon::before, .page-btn__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1rem;
  height: 1rem;
  background: currentColor;
}
.page-btn__icon::before {
  border-radius: 50%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .page-btn__icon::before {
    transition: none;
  }
}
.page-btn__icon::after {
  width: 1.6rem;
  height: 1.1rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(-110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .page-btn__icon::after {
    transition: none;
  }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .page-btn:hover .page-btn__icon::before {
    transform: translateX(1.6rem);
    transition-duration: 0.3s;
    transition-delay: 0s;
  }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .page-btn:hover .page-btn__icon::after {
    transform: translateX(0);
    transition-duration: 0.7s;
    transition-delay: 0.3s;
  }
}

.plus-mark {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
}
@media (min-width: 768px) {
  .plus-mark {
    width: 1.4rem;
    height: 1.4rem;
  }
}
.plus-mark::before, .plus-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
}
.plus-mark::before {
  height: 1px;
}
.plus-mark::after {
  width: 1px;
  transition: transform 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .plus-mark::after {
    transition: none;
  }
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}
@media (max-width: 767px) {
  .header {
    transition: background-color 0.3s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }
}
@media (max-width: 767px) {
  .header:not([data-navigation-ready]) .header__logo, .header:not([data-navigation-ready]) .header__toggle, .header:not([data-navigation-ready]) .header__toggle-lines, .header:not([data-navigation-ready]) .header__toggle-lines::before, .header:not([data-navigation-ready]) .header__toggle-lines::after {
    transition: none;
  }
}
body.admin-bar .header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 767px) {
  .header.is-sp-sticky {
    position: fixed;
    background: #f7f7f7;
  }
}
@media (min-width: 768px) {
  .header.is-scroll-ready {
    position: fixed;
    transform: translateY(calc(-100% - 1px));
    padding-bottom: 3rem;
    background: #f7f7f7;
  }
}
@media (min-width: 768px) {
  .header.is-scroll-ready .header__inner {
    width: calc(100% - 6rem);
    max-width: 186rem;
  }
}
@media (min-width: 768px) {
  .header.is-scroll-active {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .header.is-scroll-active {
    transition: none;
  }
}
@media (min-width: 768px) {
  .header.is-scroll-visible, .header.is-scroll-ready:focus-within {
    transform: translateY(0);
  }
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 3rem;
}
@media (max-width: 767px) {
  .header__inner {
    transition: padding-top 0.3s ease, padding-bottom 0.3s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header__inner {
    transition: none;
  }
}
@media (max-width: 767px) {
  .is-sp-sticky .header__inner {
    padding-block: 1.5rem;
  }
}
@media (min-width: 768px) {
  .header__inner {
    width: calc(100% - 10rem);
    gap: 7.5rem;
    padding-left: 6rem;
    align-items: flex-start;
  }
}
.header__logo {
  flex: 0 0 17rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .header__logo {
    transition: filter 0.2s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header__logo {
    transition: none;
  }
}
@media (min-width: 768px) {
  .header__logo {
    flex-basis: 37.4rem;
    padding-top: 1rem;
  }
}
.header__logo img {
  width: 100%;
}
.header__navigation {
  order: 3;
}
@media (min-width: 768px) {
  .header__navigation {
    order: 0;
    padding-top: 2.7rem;
  }
}
.header__toggle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
}
@media (max-width: 767px) {
  .header__toggle {
    transition: color 0.2s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header__toggle {
    transition: none;
  }
}
@media (min-width: 768px) {
  .header__toggle {
    display: none;
  }
}
.header__toggle-lines {
  position: relative;
  width: 2.8rem;
  height: 1px;
  background-color: currentColor;
  transition: background-color 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .header__toggle-lines {
    transition: none;
  }
}
.header__toggle-lines::before, .header__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .header__toggle-lines::before, .header__toggle-lines::after {
    transition: none;
  }
}
.header__toggle-lines::before {
  top: -0.9rem;
}
.header__toggle-lines::after {
  top: 0.9rem;
}
@media (max-width: 767px) {
  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-top: 10rem;
    height: 100dvh;
    color: #fff;
    background: #06112d url(../img/top/sp/menu_bg_small_sp.webp) center/cover;
  }
}
@media (max-width: 767px) {
  body.admin-bar .header__nav {
    padding-top: calc(10rem + var(--wp-admin--admin-bar--height, 0px));
  }
}
@media (max-width: 767px) {
  .header__panel {
    flex: 1;
    min-height: 0;
    padding: 3rem 3.6rem 7rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (min-width: 768px) {
  .header__menu {
    display: flex;
    align-items: center;
    gap: 4.5rem;
  }
}
.header__menu a, .header__menu summary {
  transition: color 0.3s ease;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .header__menu a:hover, .header__menu summary:hover {
    color: #6a6a6a;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header__menu a, .header__menu summary {
    transition: none;
  }
}
.header__menu-item {
  font-size: 2rem;
  font-weight: 700;
}
@media (max-width: 767px) {
  .header__menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  }
}
@media (min-width: 768px) {
  .header__menu-item {
    font-size: 2.1rem;
    font-weight: 900;
  }
}
.header__menu-item > a {
  display: block;
}
@media (max-width: 767px) {
  .header__menu-item > a {
    padding-block: 2rem;
  }
}
@media (min-width: 768px) {
  .header__menu-item--mobile {
    display: none;
  }
}
.header__services-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.4rem;
  position: relative;
}
@media (min-width: 768px) {
  .header__services-wrap {
    grid-template-columns: minmax(0, 1fr) 2.4rem;
  }
}
.header__services {
  position: relative;
  grid-column: 1/-1;
  grid-row: 1;
}
@media (min-width: 768px) {
  .header__services::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2rem;
  }
}
.header__services-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 4.4rem;
  min-height: 7.3rem;
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  .header__services-toggle:hover {
    color: #b4b4b4;
  }
}
@media (min-width: 768px) {
  .header__services-toggle {
    width: 2.4rem;
    min-height: 3.5rem;
  }
}
@media (min-width: 768px) {
  .header__services-toggle .plus-mark {
    color: #164c9a;
  }
}
.header__services-toggle[aria-expanded=true] .plus-mark::after, .header__services[open] > .header__services-toggle:not([aria-expanded]) .plus-mark::after {
  transform: rotate(90deg);
}
.header__services-link {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: start;
  display: flex;
  align-items: center;
  padding-block: 2rem;
}
@media (min-width: 768px) {
  .header__services-link {
    padding-block: 0;
  }
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  .header__services-link:hover {
    color: #b4b4b4;
  }
}
.header__submenu {
  font-size: 1.7rem;
  font-weight: 400;
}
@media (max-width: 767px) {
  .header__submenu {
    line-height: 3.6rem;
  }
}
@media (min-width: 768px) {
  .header__submenu {
    position: absolute;
    top: calc(100% + 1.5rem);
    left: 0;
    width: max-content;
    padding: 2.5rem 4rem;
    color: #485260;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    font-size: 2rem;
    line-height: 4.2rem;
  }
}
.header__submenu a {
  display: block;
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  .header__submenu a:hover {
    color: #b4b4b4;
  }
}
.header__submenu a::before {
  content: "- ";
}
.header__submenu-inner {
  display: flow-root;
}
@media (max-width: 767px) {
  .header__submenu-inner {
    padding-bottom: 3rem;
  }
}
.header__menu-contact {
  display: block;
  margin-top: 10rem;
}
@media (min-width: 768px) {
  .header__menu-contact {
    display: none;
  }
}
.header__menu-contact img {
  width: 100%;
}
.header__contact {
  margin-left: auto;
}
@media (min-width: 768px) {
  .header__contact {
    flex: 0 0 31.8rem;
    margin-top: 2rem;
  }
}
@media (min-width: 768px) {
  .is-scroll-ready .header__contact {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .header__contact > img {
    display: none;
  }
}
.header__contact-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 15rem;
  padding-block: 0.4rem;
  border-radius: 5rem;
  color: #fff;
  background: linear-gradient(180deg, #131921, #164892 90%, #0b5ea5);
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .header__contact-label {
    display: none;
  }
}
@media (max-width: 767px) {
  .header:has(.header__toggle[aria-expanded=true]) .header__logo, .header:has(.header__navigation[open] .header__toggle:not([aria-expanded])) .header__logo {
    filter: brightness(0) invert(1);
  }
}
.header__toggle[aria-expanded=true], .header__navigation[open] .header__toggle:not([aria-expanded]) {
  color: #fff;
}
.header__toggle[aria-expanded=true] .header__toggle-lines, .header__navigation[open] .header__toggle:not([aria-expanded]) .header__toggle-lines {
  background-color: transparent;
}
.header__toggle[aria-expanded=true] .header__toggle-lines::before, .header__navigation[open] .header__toggle:not([aria-expanded]) .header__toggle-lines::before {
  transform: translateY(0.9rem) rotate(30deg);
}
.header__toggle[aria-expanded=true] .header__toggle-lines::after, .header__navigation[open] .header__toggle:not([aria-expanded]) .header__toggle-lines::after {
  transform: translateY(-0.9rem) rotate(-30deg);
}

.hero__intro {
  position: relative;
  padding: 14rem 3.6rem 9rem;
  overflow: clip;
  isolation: isolate;
}
@media (min-width: 768px) {
  .hero__intro {
    padding: 32rem 15rem 19rem;
  }
}
.hero__intro::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 21.5rem;
  width: 22.4rem;
  aspect-ratio: 506/1283;
  background: url(../img/top/top_hero_deco.svg) center/contain no-repeat;
  z-index: -1;
}
@media (min-width: 768px) {
  .hero__intro::before {
    top: -22rem;
    left: 132.6rem;
    width: 50.6rem;
  }
}
.hero__title {
  width: 24rem;
}
@media (min-width: 768px) {
  .hero__title {
    width: 79rem;
  }
}
.hero__title img {
  width: 100%;
}
.hero__lead {
  margin-top: 3.3rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 3.5rem;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .hero__lead {
    margin-top: 7rem;
    font-size: 2.6rem;
  }
}
@media (max-width: 767px) {
  .hero__scroll {
    display: none;
  }
}
@media (min-width: 768px) {
  .hero__scroll {
    position: absolute;
    right: 7rem;
    bottom: 5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    writing-mode: vertical-rl;
    font-family: "Cormorant", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
  }
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 9rem;
  background: rgba(19, 25, 33, 0.5);
  clip-path: inset(0 -0.7rem);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: -0.6rem;
  bottom: 1.5rem;
  width: 1.3rem;
  height: 1.3rem;
  background: url(../img/top/scrolldown_diamond.svg) center/contain no-repeat;
}
@media (min-width: 768px) {
  .hero__image {
    margin-inline: 5rem;
  }
}
.hero__image img {
  width: 100%;
}

.home-introduction {
  overflow: clip;
  background: url(../img/top/sp/top_bg-deco-diagonal_sp.webp) center -14rem/43rem auto no-repeat;
}
@media (min-width: 768px) {
  .home-introduction {
    padding-bottom: 30rem;
    background-image: url(../img/top/top_bg-deco-diagonal.webp);
    background-position: top center;
    background-size: 192rem auto;
  }
}

.concept {
  padding-top: 10rem;
}
@media (min-width: 768px) {
  .concept {
    padding-top: 20rem;
  }
}
@media (min-width: 768px) {
  .concept__inner {
    display: grid;
    grid-template-columns: minmax(0, 44fr) minmax(0, 31fr) minmax(0, 61fr) minmax(0, 56fr);
    grid-template-rows: auto auto;
  }
}
@media (max-width: 767px) {
  .concept__heading {
    margin-inline: 3.6rem;
  }
}
@media (min-width: 768px) {
  .concept__heading {
    grid-column: 2/4;
    grid-row: 1;
    margin-top: 6rem;
  }
}
.concept__image img {
  width: 100%;
}
.concept__image--right {
  width: 31.7rem;
}
@media (max-width: 767px) {
  .concept__image--right {
    margin-top: 7rem;
    margin-left: auto;
  }
}
@media (min-width: 768px) {
  .concept__image--right {
    grid-column: 4;
    grid-row: 1/3;
    width: 100%;
    align-self: start;
  }
}
.concept__image--left {
  width: 21.5rem;
  margin-top: 8rem;
}
@media (min-width: 768px) {
  .concept__image--left {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 0;
  }
}
.concept__image-frame {
  display: contents;
}
@media (min-width: 768px) {
  .concept__image-frame {
    position: relative;
    display: block;
    grid-column: 1/3;
    grid-row: 2;
    width: 50rem;
    margin-top: 16rem;
    align-self: start;
  }
}
@media (min-width: 768px) {
  .concept__image-frame::before {
    content: "";
    position: absolute;
    top: 5rem;
    left: 0;
    width: 192rem;
    height: calc(100% + 192rem);
    background: #f7f7f7;
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 192rem);
    pointer-events: none;
  }
}
.concept__text {
  margin-top: 6rem;
  font-weight: 700;
  line-height: 3.3rem;
}
@media (max-width: 767px) {
  .concept__text {
    margin-inline: 3.6rem;
  }
}
@media (min-width: 768px) {
  .concept__text {
    grid-column: 3;
    grid-row: 2;
    margin-top: 7rem;
    font-size: 2.1rem;
    line-height: 3.7rem;
  }
}
.concept__text p + p {
  margin-top: 3.3rem;
}

.service {
  padding-top: 10rem;
}
@media (min-width: 768px) {
  .service {
    padding-top: 35rem;
  }
}
@media (min-width: 768px) {
  .service__inner {
    display: grid;
    grid-template-columns: 50rem 65rem;
    justify-content: space-between;
    max-width: 136rem;
  }
}
@media (max-width: 767px) {
  .service__image {
    margin-top: 4.5rem;
  }
}
.service__image img {
  width: 100%;
}

@media (max-width: 767px) {
  .emergency {
    margin-top: 10rem;
  }
}
.emergency__inner {
  display: grid;
  margin-inline: 1.8rem;
  border-radius: 1.2rem;
  background: #131921;
  color: #f7f7f7;
  overflow: clip;
}
@media (max-width: 767px) {
  .emergency__inner {
    padding-block: 6rem;
  }
}
@media (min-width: 768px) {
  .emergency__inner {
    grid-template-columns: 48rem 16rem 40rem 9.5rem 33rem;
    align-items: center;
    margin-inline: auto;
    padding-left: 10.5rem;
    padding-right: 13rem;
    border-radius: 2rem;
  }
}
@media (max-width: 767px) {
  .emergency__body {
    padding-inline: 3.6rem;
  }
}
@media (min-width: 768px) {
  .emergency__body {
    grid-column: 3;
    grid-row: 1;
    padding-block: 10rem;
  }
}
.emergency__title {
  margin-top: 2rem;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 5rem;
  letter-spacing: 0.015em;
}
@media (min-width: 768px) {
  .emergency__title {
    margin-top: 4rem;
    font-size: 4.5rem;
    line-height: 6.5rem;
    letter-spacing: 0.05em;
  }
}
.emergency__text {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(247, 247, 247, 0.2);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 3.2rem;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .emergency__text {
    font-size: 2.7rem;
    line-height: 4rem;
    letter-spacing: 0.05em;
  }
}
.emergency__button {
  justify-self: start;
}
@media (max-width: 767px) {
  .emergency__button {
    margin-top: 4rem;
    margin-inline: 3.6rem;
  }
}
@media (min-width: 768px) {
  .emergency__button {
    grid-column: 5;
    grid-row: 1;
    min-width: 33rem;
  }
}
.emergency__gallery {
  overflow: hidden;
}
@media (max-width: 767px) {
  .emergency__gallery {
    margin-top: 6.5rem;
    padding-right: 3rem;
  }
}
@media (min-width: 768px) {
  .emergency__gallery {
    grid-column: 1;
    grid-row: 1;
  }
}
.emergency__image {
  flex: 0 0 19.1rem;
}
@media (min-width: 768px) {
  .emergency__image {
    min-height: 0;
  }
}
.emergency__image img {
  width: 100%;
  height: 25.2rem;
  object-fit: cover;
}
@media (min-width: 768px) {
  .emergency__image img {
    height: 100%;
  }
}
@media (min-width: 768px) {
  .emergency__image:first-child img {
    object-position: bottom;
  }
}

.company {
  padding-top: 10rem;
}
@media (min-width: 768px) {
  .company {
    padding-top: 35rem;
  }
}
@media (max-width: 767px) {
  .company__inner {
    margin-inline: 3.6rem;
  }
}
@media (min-width: 768px) {
  .company__inner {
    display: grid;
    grid-template-columns: 88rem 63rem;
    align-items: center;
    justify-content: space-between;
  }
}
@media (min-width: 768px) {
  .company__body {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 767px) {
  .company__first-line {
    white-space: nowrap;
    font-size: 1.6rem;
    letter-spacing: 0;
  }
}
@media (max-width: 767px) {
  .company__image {
    margin-top: 4.5rem;
  }
}
@media (min-width: 768px) {
  .company__image {
    grid-column: 1;
    grid-row: 1;
  }
}
.company__image img {
  width: 100%;
}

.news-card__link {
  display: block;
}
.news-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .news-card__image img {
    transition: none;
  }
}
.news-card__body {
  margin-top: 2.5rem;
}
.news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}
.news-card__category {
  padding: 0.1rem 0.8rem;
  border: 1px solid currentColor;
  font-size: 1.6rem;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .news-card__category {
    font-size: 1.7rem;
  }
}
.news-card__date {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .news-card__date {
    font-size: 1.9rem;
  }
}
.news-card__date::before {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  background: url(../img/top/news_icon.svg) center/contain no-repeat;
}
.news-card__title {
  display: -webkit-box;
  margin-top: 1rem;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 2.3rem;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media (min-width: 768px) {
  .news-card__title {
    font-size: 2.3rem;
    line-height: 2.7rem;
    letter-spacing: 0;
  }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .news-card__link:hover .news-card__image img {
    transform: scale(1.1);
  }
}

.home-news {
  padding-block: 10rem;
}
@media (min-width: 768px) {
  .home-news {
    padding-block: 33rem 30rem;
  }
}
@media (min-width: 768px) {
  .home-news__inner {
    display: grid;
    grid-template-columns: 50rem 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 10rem;
  }
}
@media (min-width: 768px) {
  .home-news__heading {
    margin-left: 10rem;
  }
}
.home-news__list {
  display: grid;
  gap: 7rem;
}
@media (max-width: 767px) {
  .home-news__list {
    margin-top: 5rem;
  }
}
@media (min-width: 768px) {
  .home-news__list {
    grid-column: 2;
    grid-row: 1/3;
    gap: 4.5rem;
    padding-left: 8.5rem;
    border-left: 1px solid rgba(19, 25, 33, 0.4);
  }
}
.home-news__button {
  margin-top: 7rem;
}
@media (min-width: 768px) {
  .home-news__button {
    justify-self: start;
    align-self: start;
    margin: 6rem 0 0 10rem;
  }
}
@media (min-width: 768px) {
  .home-news .news-card__link {
    display: grid;
    grid-template-columns: 25rem 1fr;
    gap: 4.5rem;
    align-items: center;
  }
}
@media (min-width: 768px) {
  .home-news .news-card__body {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .home-news .news-card__title {
    line-height: 3.2rem;
  }
}

.recruit {
  padding-block: 10rem;
  color: #f7f7f7;
  background: #07112d url(../img/top/sp/top_recruit_bg_sp.webp) center/cover;
}
@media (min-width: 768px) {
  .recruit {
    padding-block: 28rem;
    background-image: url(../img/top/top_recruit_bg.webp);
  }
}
@media (min-width: 768px) {
  .recruit__inner {
    display: grid;
    grid-template-columns: 55rem 62rem 11rem 34rem;
    grid-template-rows: auto 1fr;
  }
}
@media (min-width: 768px) {
  .recruit__heading {
    grid-column: 1;
    grid-row: 1;
  }
}
.recruit__title {
  font-family: "Cormorant", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
@media (max-width: 767px) {
  .recruit__title {
    margin-top: 6rem;
  }
}
@media (min-width: 768px) {
  .recruit__title {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    font-size: 5.6rem;
    letter-spacing: 0.05em;
  }
}
.recruit__image img {
  width: 100%;
}
@media (max-width: 767px) {
  .recruit__image--main {
    margin-top: 3.5rem;
  }
}
@media (min-width: 768px) {
  .recruit__image--main {
    grid-column: 2;
    grid-row: 1/3;
  }
}
.recruit__image--sub {
  width: 21.7rem;
}
@media (max-width: 767px) {
  .recruit__image--sub {
    margin-top: 2rem;
    margin-left: auto;
  }
}
@media (min-width: 768px) {
  .recruit__image--sub {
    grid-column: 4;
    grid-row: 1;
    width: 34rem;
  }
}
@media (max-width: 767px) {
  .recruit__body {
    margin-top: 5rem;
  }
}
@media (min-width: 768px) {
  .recruit__body {
    grid-column: 4;
    grid-row: 2;
    align-self: end;
  }
}
.recruit__text {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 3.2rem;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .recruit__text {
    font-size: 2.5rem;
    line-height: 3.5rem;
    letter-spacing: 0.05em;
  }
}
.recruit__button {
  margin-top: 5rem;
}

.footer {
  color: #f7f7f7;
  background: #131921;
}
.footer a:focus-visible, .footer summary:focus-visible {
  outline-color: #fff;
}
.footer__nav a, .footer__nav summary {
  transition: color 0.3s ease;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .footer__nav a:hover, .footer__nav summary:hover {
    color: #b4b4b4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer__nav a, .footer__nav summary {
    transition: none;
  }
}
.footer__inner {
  padding-block: 5rem 7rem;
}
@media (min-width: 768px) {
  .footer__inner {
    display: grid;
    grid-template-columns: 52rem 1fr;
    column-gap: 12rem;
    padding-block: 12rem 19rem;
  }
}
@media (min-width: 768px) {
  .footer__nav {
    grid-column: 2;
    grid-row: 1;
    padding-top: 6rem;
  }
}
@media (min-width: 768px) {
  .footer__menu {
    display: grid;
    grid-template-columns: 25rem 1fr;
    column-gap: 8rem;
    row-gap: 1rem;
  }
}
.footer__menu-item {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@media (max-width: 767px) {
  .footer__menu-item {
    border-bottom: 1px solid rgba(247, 247, 247, 0.2);
  }
}
@media (min-width: 768px) {
  .footer__menu-item {
    grid-column: 1;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
  }
}
.footer__menu-item > a {
  display: block;
  padding-block: 2rem;
}
@media (min-width: 768px) {
  .footer__menu-item > a {
    padding-block: 0.9rem;
  }
}
@media (min-width: 768px) {
  .footer__menu-item--services {
    grid-column: 2;
    grid-row: 1/7;
  }
}
.footer__services-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.4rem;
}
@media (min-width: 768px) {
  .footer__services-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}
.footer__services {
  grid-column: 1/-1;
  grid-row: 1;
}
.footer__services-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 4.4rem;
  min-height: 7.3rem;
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  .footer__services-toggle:hover {
    color: #b4b4b4;
  }
}
@media (min-width: 768px) {
  .footer__services-toggle {
    visibility: hidden;
    width: 100%;
    padding-block: 0.9rem 3rem;
  }
}
@media (min-width: 768px) {
  .footer__services-toggle .plus-mark {
    display: none;
  }
}
.footer__services-toggle[aria-expanded=true] .plus-mark::after, .footer__services[open] .footer__services-toggle:not([aria-expanded]) .plus-mark::after {
  transform: rotate(90deg);
}
.footer__services-link {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: start;
  display: flex;
  align-items: center;
  padding-block: 2rem;
}
@media (min-width: 768px) {
  .footer__services-link {
    grid-column: 1/-1;
    padding-block: 0.9rem 3rem;
  }
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  .footer__services-link:hover {
    color: #b4b4b4;
  }
}
.footer__submenu {
  font-size: 1.7rem;
  font-weight: 400;
}
@media (max-width: 767px) {
  .footer__submenu {
    line-height: 3.6rem;
  }
}
@media (min-width: 768px) {
  .footer__submenu {
    font-size: 2rem;
    line-height: 4.2rem;
  }
}
.footer__submenu li {
  break-inside: avoid;
}
.footer__submenu a {
  display: block;
}
@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  .footer__submenu a:hover {
    color: #b4b4b4;
  }
}
.footer__submenu a::before {
  content: "- ";
}
.footer__submenu-inner {
  display: flow-root;
}
@media (max-width: 767px) {
  .footer__submenu-inner {
    padding-bottom: 3rem;
  }
}
@media (min-width: 768px) {
  .footer__submenu-inner {
    columns: 2;
    column-gap: 3rem;
  }
}
@media (max-width: 767px) {
  .footer__company {
    margin-top: 10rem;
  }
}
@media (min-width: 768px) {
  .footer__company {
    grid-column: 1;
    grid-row: 1;
  }
}
.footer__logo {
  display: block;
  width: 17.5rem;
  transition: filter 0.3s ease;
}
@media (min-width: 768px) {
  .footer__logo {
    width: 24.4rem;
  }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .footer__logo:hover {
    filter: brightness(0.706);
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer__logo {
    transition: none;
  }
}
.footer__logo img {
  width: 100%;
}
.footer__address {
  margin-top: 3rem;
  font-size: 1.7rem;
  line-height: 2.9rem;
}
@media (min-width: 768px) {
  .footer__address {
    margin-top: 5rem;
    font-size: 2.1rem;
    line-height: 3.5rem;
  }
}
.footer__bottom {
  padding-block: 1.8rem;
  background: #1b222a;
  text-align: center;
}
.footer__copyright {
  font-size: 1.6rem;
  font-weight: 400;
}
@media (min-width: 768px) {
  .footer__copyright {
    font-size: 1.7rem;
  }
}

.footer-contact {
  padding-top: 10rem;
}
@media (min-width: 768px) {
  .footer-contact {
    padding-top: 18rem;
  }
}
.footer-contact::after {
  content: "";
  display: block;
  margin-inline: 3.6rem;
  border-bottom: 1px solid rgba(247, 247, 247, 0.7);
}
@media (min-width: 768px) {
  .footer-contact::after {
    max-width: 170rem;
    margin-inline: auto;
  }
}
.footer-contact__inner {
  padding-bottom: 8rem;
}
@media (max-width: 767px) {
  .footer-contact__inner {
    margin-right: 1.8rem;
  }
}
@media (min-width: 768px) {
  .footer-contact__inner {
    display: grid;
    grid-template-columns: 60rem 50rem 30rem;
    grid-template-rows: auto auto;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10rem;
  }
}
@media (min-width: 768px) {
  .footer-contact__heading {
    grid-column: 1;
    grid-row: 1;
  }
}
.footer-contact__lead {
  margin-top: 9rem;
}
@media (min-width: 768px) {
  .footer-contact__lead {
    grid-column: 1;
    grid-row: 2;
    margin-top: 5rem;
  }
}
.footer-contact__title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 5rem;
  letter-spacing: 0.015em;
}
@media (min-width: 768px) {
  .footer-contact__title {
    font-size: 5rem;
    line-height: 8rem;
    letter-spacing: 0;
  }
}
.footer-contact__note {
  margin-top: 1.5rem;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 3.2rem;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .footer-contact__note {
    margin-top: 0;
    font-size: 2.1rem;
    line-height: 3.5rem;
    letter-spacing: 0.05em;
  }
}
.footer-contact__text {
  font-size: 2rem;
  font-weight: 700;
  line-height: 3rem;
  letter-spacing: 0.03em;
}
@media (max-width: 767px) {
  .footer-contact__text {
    margin-top: 3.5rem;
  }
}
@media (min-width: 768px) {
  .footer-contact__text {
    grid-column: 2;
    grid-row: 2;
    font-size: 2.5rem;
    line-height: 3.5rem;
    letter-spacing: 0.05em;
  }
}
@media (max-width: 767px) {
  .footer-contact__button {
    margin-top: 4rem;
  }
}
@media (min-width: 768px) {
  .footer-contact__button {
    grid-column: 3;
    grid-row: 2;
  }
}

.page-heading {
  padding-block: 16rem 6rem;
  border-bottom: 1px solid rgba(19, 25, 33, 0.5);
}
@media (min-width: 768px) {
  .page-heading {
    padding-block: 31rem 23rem;
  }
}

.news-archive__inner {
  padding-top: 5rem;
}
@media (min-width: 768px) {
  .news-archive__inner {
    display: grid;
    grid-template-columns: 27rem 1fr;
    column-gap: 7.5rem;
    padding-top: 16rem;
  }
}
.news-archive__list {
  display: grid;
  gap: 7rem;
}
@media (max-width: 767px) {
  .news-archive__list {
    margin-top: 6rem;
  }
}
@media (min-width: 768px) {
  .news-archive__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12rem 3rem;
  }
}

.news-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 5rem;
  padding-left: 2.2rem;
}
@media (min-width: 768px) {
  .news-filter__list {
    position: sticky;
    top: 18rem;
    flex-direction: column;
    gap: 2rem;
    padding-left: 6.2rem;
  }
  body.admin-bar .news-filter__list {
    top: calc(18rem + var(--wp-admin--admin-bar--height, 0px));
  }
}
.news-filter__list a {
  position: relative;
  display: block;
  color: #aaa;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .news-filter__list a {
    font-size: 2.2rem;
  }
}
.news-filter__list a::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.35rem);
  left: -2.2rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: transparent;
}
.news-filter__list a[aria-current] {
  color: #131921;
}
.news-filter__list a[aria-current]::before {
  background: #1d4072;
}

.pagination {
  margin-top: 9rem;
}
@media (min-width: 768px) {
  .pagination {
    margin-top: 20rem;
  }
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pagination .nav-links {
    gap: 3rem;
  }
}
.pagination .page-numbers {
  padding: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .pagination .page-numbers {
    padding-inline: 1rem;
    font-size: 2.5rem;
  }
}
.pagination .page-numbers.current {
  border-bottom: 1px solid currentColor;
}
.pagination .page-numbers.prev, .pagination .page-numbers.next {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .pagination .page-numbers:hover {
    color: #6a6a6a;
  }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .pagination .page-numbers.prev:hover .pagination-arrow::before, .pagination .page-numbers.next:hover .pagination-arrow::before {
    opacity: 1;
  }
}

.pagination-arrow {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  padding-block: 0.2rem;
  border-radius: 3rem;
  background: #1f2834;
  color: #fff;
  font-size: 1.2rem;
}
@media (min-width: 768px) {
  .pagination-arrow {
    width: 8.7rem;
    font-size: 1.5rem;
  }
}
.pagination-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(100deg, #1e3a61, #95928d);
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .pagination-arrow::before {
    transition: none;
  }
}

.pagination-label {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
@media (max-width: 767px) {
  .pagination-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.breadcrumb {
  padding-block: 10rem 3rem;
  font-size: 1.6rem;
  font-weight: 400;
}
@media (min-width: 768px) {
  .breadcrumb {
    padding-block: 27rem 3rem;
    font-size: 2rem;
  }
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.breadcrumb li + li::before {
  content: ">";
  margin-right: 2rem;
}

.news-empty {
  padding-block: 5rem;
}

.error-page {
  padding-block: 18rem 12rem;
}
@media (min-width: 768px) {
  .error-page {
    padding-block: 32rem 22rem;
  }
}
.error-page__text {
  margin-top: 4rem;
}
.error-page__button {
  margin-top: 6rem;
}

.standard-page {
  padding-block: 18rem 12rem;
}
@media (min-width: 768px) {
  .standard-page {
    padding-block: 30rem 20rem;
  }
}
.standard-page__content {
  margin-top: 5rem;
}

html.is-page-entering::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #fff;
  pointer-events: none;
  animation: page-entrance-fallback 1s ease 5s forwards;
  transition: opacity 1s ease, visibility 0s 1s;
}
@media (prefers-reduced-motion: reduce) {
  html.is-page-entering::after {
    display: none;
  }
}

html.is-page-entering.is-page-loaded::after {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

@keyframes page-entrance-fallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.is-reveal-ready {
  overflow-anchor: none;
}

.is-parallax-ready {
  overflow: hidden;
}
.is-parallax-ready > img {
  overflow-anchor: none;
  transform: scale(1.2);
}
@media (prefers-reduced-motion: reduce) {
  .is-parallax-ready > img {
    transform: none;
  }
}

.hero__scroll-line.is-motion-ready::after {
  top: -1.3rem;
  bottom: auto;
  animation: scroll-diamond 2.6s linear infinite paused;
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line.is-motion-ready::after {
    animation: none;
    top: auto;
    bottom: 1.5rem;
  }
}

.hero__scroll-line.is-motion-visible::after {
  animation-play-state: running;
}

@keyframes scroll-diamond {
  to {
    transform: translateY(10.3rem);
  }
}
.emergency__group {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
@media (min-width: 768px) {
  .emergency__group {
    display: grid;
    grid-template-rows: 12rem 27rem 20rem;
    gap: 1.5rem;
  }
}

.emergency__gallery.is-loop-ready {
  height: var(--loop-height);
}
.emergency__gallery.is-loop-ready .emergency__track {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
@media (min-width: 768px) {
  .emergency__gallery.is-loop-ready .emergency__track {
    gap: 1.5rem;
  }
}
.emergency__gallery.is-loop-ready .emergency__group {
  flex-shrink: 0;
}
