@charset "UTF-8";
/*===============================
 base
================================*/
/*-------------------------------
 PCでは電話を掛けられないように
-------------------------------*/
@media (min-width: 768px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
/*-------------------------------
 ヘッダー分、bodyの先頭に余白
-------------------------------*/
body {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  text-autospace: normal;
}
@media (max-width: 599px) {
  body {
    padding-bottom: 60px;
  }
}

input,
textarea,
pre,
time {
  text-autospace: no-autospace;
}

/*-------------------------------
 セクション幅
-------------------------------*/
.sr-inner-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.sr-inner-medium {
  max-width: 960px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  color: inherit;
}
@media (hover: hover) {
  a:hover {
    cursor: pointer;
  }
}

/*-------------------------------
 sp pcの改行
-------------------------------*/
.u-br-sp,
.u-br-pc {
  display: none !important;
}

/*---------- スマホ ----------*/
@media (max-width: 599px) {
  .u-br-sp {
    display: block !important;
  }
}
/*---------- PC ----------*/
@media (min-width: 1150px) {
  .u-br-pc {
    display: block !important;
  }
}
/*===============================
 ボタン
================================*/
/*---------- ベース ----------*/
.wp-block-button .wp-element-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--24);
  background: var(--wp--preset--color--main);
  color: var(--wp--preset--color--white);
  white-space: nowrap;
}

/*---------- プライマリ（塗りつぶし）メールアイコン付き ----------*/
.wp-block-button.is-style-fill > .wp-block-button__link.wp-element-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.wp-block-button.is-style-fill > .wp-block-button__link.wp-element-button::before {
  content: "";
  display: inline-block;
  width: 24px;
  aspect-ratio: 1;
  margin-right: var(--wp--preset--spacing--10);
  background: url("../image/envelope-solid-full.svg") no-repeat center/contain;
}
.wp-block-button.is-style-fill > .wp-block-button__link.wp-element-button:hover {
  opacity: 0.7;
}

/*---------- セカンダリー（枠線）Lineのアイコン付き ----------*/
.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button {
  background-color: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--line-brand-color);
  color: var(--wp--preset--color--black);
  padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
}
.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button::before {
  content: "";
  display: inline-block;
  width: 24px;
  aspect-ratio: 1;
  margin-right: var(--wp--preset--spacing--10);
  background: url("../image/LINE_APP_Android.png") no-repeat center/contain;
}
.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:hover {
  border-color: var(--wp--preset--color--main);
}
.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:hover::before {
  content: "";
  display: inline-block;
  width: 24px;
  aspect-ratio: 1;
  margin-right: var(--wp--preset--spacing--10);
  background: url("../image/LINE_APP_Android.png") no-repeat center/contain;
}

/*---------- CTAに使用想定、電話アイコン付き ----------*/
.wp-block-button.is-style-phone-button > .wp-block-button__link.wp-element-button {
  background-color: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--gray);
  color: var(--wp--preset--color--black);
  padding: 6px var(--wp--preset--spacing--24);
}
.wp-block-button.is-style-phone-button > .wp-block-button__link.wp-element-button::before {
  content: "";
  display: inline-block;
  width: 24px;
  aspect-ratio: 1;
  margin-right: var(--wp--preset--spacing--10);
  background: url("../image/phone-solid-full.svg") no-repeat center/contain;
}
.wp-block-button.is-style-phone-button > .wp-block-button__link.wp-element-button:hover {
  background-color: var(--wp--preset--color--main) !important;
  border-color: var(--wp--preset--color--main) !important;
  color: var(--wp--preset--color--white) !important;
}
.wp-block-button.is-style-phone-button > .wp-block-button__link.wp-element-button:hover::before {
  content: "";
  display: inline-block;
  width: 24px;
  aspect-ratio: 1;
  margin-right: var(--wp--preset--spacing--10);
  background: url("../image/phone-solid-full-w.svg") no-repeat center/contain;
}

/*---------- もっと見るボタン用、矢印ボタン付き ----------*/
.wp-block-button.is-style-arrow-button .wp-element-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--wp--preset--spacing--16);
  padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--24);
  background: var(--wp--preset--color--main);
  color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-arrow-button .wp-element-button::after {
  content: "";
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 24px;
  aspect-ratio: 1;
  background: url(../image/arrow-right-solid-full.svg) no-repeat center/contain;
}
.wp-block-button.is-style-arrow-button .wp-element-button:hover {
  opacity: 0.7;
}

/*===============================
 セクションタイトル
================================*/
/*---------- セクションタイトルH2の装飾 ----------*/
.wp-block-group.sr-section-title {
  position: relative;
  padding-bottom: var(--wp--preset--spacing--16);
}
.wp-block-group.sr-section-title::after {
  content: "●●●";
  position: absolute;
  left: 2px;
  bottom: 0;
  font-size: 8px;
  letter-spacing: 6px;
  color: var(--wp--preset--color--main);
}

/*---------- セクションタイトルH3の装飾（カード内など） ----------*/
.wp-block-heading.sr-card-heading-h3 {
  position: relative;
}
.wp-block-heading.sr-card-heading-h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: -webkit-gradient(linear, left top, right top, from(var(--wp--preset--color--main)), to(transparent));
  background: linear-gradient(to right, var(--wp--preset--color--main), transparent);
}

/*===============================
 to-top
================================*/
.page-top {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  right: var(--wp--preset--spacing--20);
  bottom: var(--wp--preset--spacing--20);
  width: 60px;
  height: 60px;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--main);
  border: none;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: background-color 0.3s, opacity 0.3s ease;
  transition: background-color 0.3s, opacity 0.3s ease;
}
.page-top:hover {
  background-color: var(--wp--preset--color--accent);
  cursor: pointer;
}
.page-top.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1149px) {
  .page-top {
    display: none;
  }
}
/*===============================
  Fixed-CTA
================================*/
.fixed-cta {
  position: fixed;
  top: 30vh;
  right: 0;
  z-index: 50;
}
@media (min-width: 600px) and (max-width: 1149px) {
  .fixed-cta {
    top: auto;
    bottom: 10px;
    right: 10px;
  }
}
@media (max-width: 599px) {
  .fixed-cta {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

.fixed-cta_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
@media (min-width: 600px) and (max-width: 1149px) {
  .fixed-cta_container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
@media (max-width: 599px) {
  .fixed-cta_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    -webkit-box-shadow: 0 -6px 18px oklch(from var(--wp--preset--color--black) l c h/0.12);
            box-shadow: 0 -6px 18px oklch(from var(--wp--preset--color--black) l c h/0.12);
  }
}
@media (max-width: 599px) {
  .fixed-cta_container .fixed-cta_container {
    width: 100%;
  }
}

.fixed-cta_contact,
.fixed-cta_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  color: var(--wp--preset--color--white);
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 50px;
  min-height: 150px;
  padding: 12px 8px;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
}
@media (min-width: 600px) and (max-width: 1149px) {
  .fixed-cta_contact,
  .fixed-cta_item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: auto;
    min-height: auto;
    border-radius: 10px;
    white-space: nowrap;
    padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--24);
  }
}
@media (max-width: 599px) {
  .fixed-cta_contact,
  .fixed-cta_item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
    min-height: 60px;
    border-radius: 0;
    white-space: nowrap;
    padding-left: 0;
    padding-right: 0;
  }
}
.fixed-cta_contact:hover, .fixed-cta_contact:focus-visible,
.fixed-cta_item:hover,
.fixed-cta_item:focus-visible {
  color: var(--wp--preset--color--white);
  -webkit-filter: brightness(1.1);
          filter: brightness(1.1);
}

@media (min-width: 1150px) {
  .fixed-cta_label {
    -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
    text-orientation: upright;
  }
}

.fixed-cta_contact {
  background-color: var(--wp--preset--color--main);
}

.fixed-cta_item {
  background-color: var(--wp--preset--color--accent);
}
@media (max-width: 599px) {
  .fixed-cta_item {
    border-left: 1px solid oklch(from var(--wp--preset--color--white) l c h/0.25);
  }
}

.fixed-cta_contact::before,
.fixed-cta_item::before {
  display: block;
  font-family: "Font Awesome 7 Free";
  font-weight: 300;
  font-size: 1.2em;
  line-height: 1;
  margin-bottom: 5px;
}
@media (min-width: 600px) and (max-width: 1149px) {
  .fixed-cta_contact::before,
  .fixed-cta_item::before {
    margin-bottom: 0;
  }
}
@media (max-width: 599px) {
  .fixed-cta_contact::before,
  .fixed-cta_item::before {
    margin-bottom: 0;
  }
}

.fixed-cta_contact::before {
  content: "\f0e0";
}

.fixed-cta_item::before {
  content: "\f15c";
}

/*===============================
 共通CTA
================================*/
/*---------- リストにチェックマーク ----------*/
.wp-block-list.check-list {
  list-style: none;
  padding-left: 0;
}

.wp-block-list.check-list li {
  padding-left: var(--wp--preset--spacing--4);
}

.wp-block-list.check-list li::marker {
  content: "✓ ";
  color: var(--wp--preset--color--accent);
  font-weight: 700;
}

/*---------- 電話番号に電話のアイコン付与 ----------*/
.cta-phone-no {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.cta-phone-no::before {
  content: "";
  display: inline-block;
  width: 40px;
  aspect-ratio: 1;
  background: url("../image/phone-solid-full.svg") no-repeat center/contain;
}

/*---------- spで人物が消える対策 ----------*/
.cta .wp-block-cover {
  overflow: hidden;
}

.cta .wp-block-cover__image-background {
  -o-object-position: 34% 23%;
     object-position: 34% 23%;
}

@media (min-width: 600px) and (max-width: 1149px) {
  .cta .wp-block-cover__image-background {
    -o-object-position: 70% 18% !important;
       object-position: 70% 18% !important;
  }
}
@media (max-width: 599px) {
  .cta .wp-block-cover__image-background {
    -o-object-position: 78% 14% !important;
       object-position: 78% 14% !important;
  }
  .cta .wp-block-cover__background {
    opacity: 0.7 !important;
  }
}
/*===============================
 セクションの定義
================================*/
/*---------- skew使用の斜め ----------*/
.wp-block-group.is-style-skew-3deg {
  -webkit-transform: skewY(-3deg);
          transform: skewY(-3deg);
  position: relative;
  overflow: hidden;
}

.wp-block-group.is-style-skew-3deg > * {
  -webkit-transform: skewY(3deg);
          transform: skewY(3deg);
}

/*===============================
 ヘッダーとドロワー
================================*/
/*---------- デフォルトの600というブレイクポイントを無効化 ----------*/
@media (min-width: 600px) {
  /* メニューを非表示. */
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
  /*---------- Openボタン（ハンバーガーボタン）を表示 ----------*/
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
/*---------- 新しいブレイクポイントを設定 ----------*/
@media (min-width: 1150px) {
  /*---------- メニューを表示 ----------*/
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    background-color: inherit;
    display: block;
    position: relative;
    width: 100%;
    z-index: auto;
  }
  /*---------- Openボタン（ハンバーガーボタンを非表示 ----------*/
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
}
/*===============================
 ヘッダー
================================*/
@media (min-width: 1149px) {
  .wp-block-navigation.is-style-my-header .my-drawer-logo {
    display: none;
  }
  .my-header-nav a {
    position: relative;
  }
  .my-header-nav a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: right;
            transform-origin: right;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
  }
  .my-header-nav a:hover::after, .my-header-nav a:focus-visible::after {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: left;
            transform-origin: left;
  }
}
/*---------- ドロワー用ロゴ：タブレット以下では表示 ----------*/
@media (max-width: 1149px) {
  .wp-block-navigation.is-style-my-header .my-drawer-logo {
    display: block;
    margin-bottom: var(--wp--preset--spacing--40);
  }
}
@media (max-width: 1149px) {
  .is-style-my-header .wp-block-navigation__responsive-container-close svg,
  .is-style-my-header .wp-block-navigation__responsive-container-open svg {
    fill: var(--wp--preset--color--main);
    display: block;
    width: 30px;
    height: 30px;
    pointer-events: none;
  }
  /*---------- ドロワーボタンに枠線を付ける ----------*/
  .is-style-my-header .wp-block-navigation__responsive-container-open,
  .is-style-my-header .wp-block-navigation__responsive-container-close {
    border: 2px solid var(--wp--preset--color--main);
    border-radius: var(--wp--preset--border-radius--4);
  }
  /*---------- クローズボタンの位置を変更 ----------*/
  .is-style-my-header .wp-block-navigation__responsive-container-close {
    position: absolute;
    right: 30px;
    top: 25px;
    z-index: 2;
  }
  /*---------- ドロワーコンテンツ内の背景色を変更 ----------*/
  .wp-block-navigation.is-style-my-header:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--wp--preset--color--bg);
  }
  /*---------- ドロワーコンテント内のgapを変更 ----------*/
  .is-style-my-header.wp-block-navigation .wp-block-page-list,
  .wp-block-navigation__container,
  .wp-block-navigation__responsive-close,
  .wp-block-navigation__responsive-container,
  .wp-block-navigation__responsive-container-content,
  .wp-block-navigation__responsive-dialog {
    gap: 16px;
  }
  /*---------- ナビ項目のタップ領域を広げる ----------*/
  .wp-block-navigation.is-style-my-header .wp-block-navigation-item__content {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    min-height: 30px;
  }
  .wp-block-navigation.is-style-my-header .wp-block-navigation-item {
    width: 100%;
  }
  .wp-block-navigation.is-style-my-header .wp-block-navigation-item__content {
    width: 100%;
  }
}
/*---------- ナビ項目の説明（2段目） ----------*/
.wp-block-navigation .wp-block-navigation-item__description {
  display: block;
  font-size: 10px;
  opacity: 0.6;
}

/*---------- ドロップダウン内（子メニュー）は説明を出さない ----------*/
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
  display: none;
}

/*---------- ナビ項目を縦積みにして高さを確保 ----------*/
.wp-block-navigation a.wp-block-navigation-item__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-block: 0.4em;
}

/*---------- スクリーンリーダー専用のテキスト（TOPのみ有効） ----------*/
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  background-color: var(--wp--preset--color--white);
  -webkit-box-shadow: 0 0 4px oklch(from var(--wp--preset--color--black) l c h/0.3);
          box-shadow: 0 0 4px oklch(from var(--wp--preset--color--black) l c h/0.3);
}
@media (max-width: 1149px) {
  .site-header {
    height: 90px;
  }
}

/*===============================
 ドロワー
================================*/
.drawer {
  position: fixed;
  top: 90px;
  right: 0;
  width: 100%;
  height: calc(100vh - 90px);
  background-color: var(--wp--preset--color--bg);
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  z-index: 90;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer.is-opened {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.drawer__inner {
  position: relative;
  height: 100%;
  padding: 30px 24px 100px;
}

.drawer-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.drawer-nav__link {
  font-size: var(--wp--preset--font-size--20);
  font-weight: 700;
  color: var(--wp--preset--color--black);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px dashed var(--wp--preset--color--gray);
}

.drawer__cta {
  margin-top: var(--wp--preset--spacing--40);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--wp--preset--spacing--16);
}

.drawer__copyright {
  position: absolute;
  bottom: 70px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: var(--wp--preset--font-size--13);
  color: var(--wp--preset--color--gray-dark);
}

/*---------- ドロワーOPEN中：背景スクロールを止める（堅牢版） ----------*/
html.is-drawer-open,
body.is-drawer-open {
  height: 100%;
}

body.is-drawer-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden; /* 念のため */
}

/* （任意）iOSのバウンド抑制に少し効く */
html.is-drawer-open {
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  z-index: 88; /* ドロワーより下に */
}

.drawer-overlay.is-opened {
  opacity: 1;
  pointer-events: auto;
}

/*===============================
 フッター
================================*/
/*---------- フッターのリンク下線アニメーション ----------*/
.my-footer-nav a {
  position: relative;
  font-size: 14px;
}
.my-footer-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: var(--wp--preset--color--white);
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: right;
          transform-origin: right;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.my-footer-nav a:hover::after, .my-footer-nav a:focus-visible::after {
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
  -webkit-transform-origin: left top;
          transform-origin: left top;
}

@media (max-width: 910px) {
  .my-footer-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
/*-------------------------------
 フッターSNSアイコン
-------------------------------*/
.sr-sns-icon img {
  width: 20px;
  height: auto;
}

/*===============================
 トップページ
================================*/
/*---------- カラムブロックで作ったカードをタブレット以下でリバース ----------*/
@media (max-width: 1149px) {
  .reverse-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
/*-------------------------------
 ファーストビューswiper
-------------------------------*/
.fv {
  position: relative;
  overflow: hidden;
}

/*---------- FVの高さをここで確定（min-height ではなく height） ----------*/
.fv .swiper {
  width: 100%;
  height: clamp(500px, 60vh, 720px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/*---------- swiperの必須構造（高さをそろえる） ----------*/
.fv .swiper-wrapper,
.fv .swiper-slide {
  height: 100%;
}

/*---------- WordPressの制約、余白をつぶして全面表示に寄せる ----------*/
.fv .swiper-slide {
  padding: 0 !important;
}

/*---------- figureの余白が残るとズレるのでゼロにして高さ100% ----------*/
.fv .swiper-slide > figure {
  margin: 0;
  height: 100%;
}

/*---------- 画像はFVいっぱいに cover ----------*/
.fv .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/*---------- PC/SP 出し分け（figureにクラスが付いている前提） ----------*/
.fv .swiper-slide .is-sp {
  display: none;
}

.fv .swiper-slide .is-pc {
  display: block;
}

@media (max-width: 599px) {
  .fv .swiper-slide .is-pc {
    display: none;
  }
  .fv .swiper-slide .is-sp {
    display: block;
  }
}
/*---------- キャッチコピーをFV画像に重ねる ----------*/
.fv .mv-catch {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: clamp(24px, 4vw, 56px);
  background: -webkit-gradient(linear, left bottom, left top, from(oklch(from var(--wp--preset--color--black) l c h/0.55)), color-stop(55%, oklch(from var(--wp--preset--color--black) l c h/0)));
  background: linear-gradient(to top, oklch(from var(--wp--preset--color--black) l c h/0.55) 0%, oklch(from var(--wp--preset--color--black) l c h/0) 55%);
  pointer-events: none;
}

/*---------- ボタンだけクリック可能に戻す ----------*/
.fv .mv-catch .wp-block-buttons,
.fv .mv-catch a,
.fv .mv-catch button {
  pointer-events: auto;
}

/*---------- テキストに影を付ける ----------*/
.fv .mv-catch-main {
  text-shadow: 0 2px 6px oklch(from var(--wp--preset--color--black) l c h/0.3);
}

.fv .mv-catch-sub {
  text-shadow: 0 2px 4px oklch(from var(--wp--preset--color--black) l c h/0.2);
  max-width: 42em;
}

/*---------- SP以下 ----------*/
@media (max-width: 599px) {
  .fv .mv-catch {
    padding: 16px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transform: translateY(12%);
            transform: translateY(12%);
    background: -webkit-gradient(linear, left bottom, left top, from(oklch(from var(--wp--preset--color--black) l c h/0.65)), to(oklch(from var(--wp--preset--color--black) l c h/0.35)));
    background: linear-gradient(to top, oklch(from var(--wp--preset--color--black) l c h/0.65) 0%, oklch(from var(--wp--preset--color--black) l c h/0.35) 100%);
  }
  .fv .mv-catch > * {
    max-width: none;
    margin-inline: 0;
    text-align: left;
  }
}
/*-------------------------------
 ボタンの位置がずれないカード
-------------------------------*/
.sr-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}

/*---------- 文章エリア ----------*/
.sr-card__body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

/*---------- ボタンの位置 ----------*/
.sr-card .wp-block-button {
  margin-top: auto;
}

/*-------------------------------
 水平方向アニメーション
-------------------------------*/
.img-scroll {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.images-scroll {
  --images-width: 0px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--wp--preset--spacing--24);
  -webkit-animation: infinity-scroll-left 16s linear infinite;
          animation: infinity-scroll-left 16s linear infinite;
  max-width: 100%;
  will-change: transform;
}

@-webkit-keyframes infinity-scroll-left {
  from {
    translate: 0 0;
  }
  to {
    translate: calc(-1 * (var(--images-width) + var(--wp--preset--spacing--24))) 0;
  }
}

@keyframes infinity-scroll-left {
  from {
    translate: 0 0;
  }
  to {
    translate: calc(-1 * (var(--images-width) + var(--wp--preset--spacing--24))) 0;
  }
}
.images {
  display: grid;
  gap: var(--wp--preset--spacing--24);
  grid-template-columns: repeat(8, 260px);
  grid-template-rows: repeat(2, 200px);
}
.images > .wp-block-group {
  padding: 0 !important;
  height: 100%;
}
.images figure {
  margin: 0 !important;
  height: 100%;
}
.images img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 16px;
  display: block;
}

.images > .image1 {
  grid-column: 1/span 1;
  grid-row: 1/span 2;
  height: 100%;
}

.images > .image7 {
  grid-column: 6/span 1;
  grid-row: 1/span 2;
  height: 100%;
}

.image2 {
  grid-column: 2/span 1;
  grid-row: 1/span 1;
}

.image3 {
  grid-column: 2/span 1;
  grid-row: 2/span 1;
}

.image4 {
  grid-column: 3/span 2;
  grid-row: 1/span 2;
}

.image5 {
  grid-column: 5/span 1;
  grid-row: 1/span 1;
}

.image6 {
  grid-column: 5/span 1;
  grid-row: 2/span 1;
}

.image8 {
  grid-column: 7/span 2;
  grid-row: 1/span 2;
}

.images > .image1,
.images > .image1 figure,
.images > .image1 img,
.images > .image7,
.images > .image7 figure,
.images > .image7 img {
  height: 100%;
}

@media (max-width: 1149px) {
  .img-scroll {
    display: none;
  }
}
/*-------------------------------
 RSS（スタッフブログ）を「お知らせ」風に整える
-------------------------------*/
.wp-block-rss {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-block-rss__item {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid oklch(from var(--wp--preset--color--black) l c h/0.1);
  display: grid;
  grid-template-columns: 8.2em 1fr; /* 左：日付 / 右：本文 */
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
  row-gap: 6px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.wp-block-rss__item:first-child {
  border-top: none;
  padding-top: 0;
}

/*---------- タイトル（リンク） ----------*/
.wp-block-rss__item-title {
  grid-column: 2;
  margin: 0;
}

.wp-block-rss__item-title a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.wp-block-rss__item-title a:hover {
  text-decoration: underline;
}

/*---------- 日付（左カラム固定） ----------*/
.wp-block-rss__item-publish-date {
  grid-column: 1;
  grid-row: 1/span 2;
  margin-left: var(--wp--preset--spacing--16);
  white-space: nowrap;
  font-size: var(--wp--preset--font-size--16);
}

/*---------- 抜粋（2行くらいにとどめる） ----------*/
.wp-block-rss__item-excerpt {
  grid-column: 2;
  margin: 0;
  opacity: 0.85;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/*===============================
 投稿詳細
================================*/
/*---------- ページネーション ----------*/
.wp-block-query-pagination .wp-block-query-pagination-previous {
  margin-right: var(--wp--preset--spacing--24);
}

.wp-block-query-pagination .wp-block-query-pagination-next {
  margin-left: var(--wp--preset--spacing--24);
}

.wp-block-query-pagination .wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination .wp-block-query-pagination-next-arrow {
  margin: 0;
}

.wp-block-query-pagination-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}

.page-numbers {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wp--preset--color--gray-light);
  text-decoration: none;
}
.page-numbers.current {
  background-color: var(--wp--preset--color--main);
  color: var(--wp--preset--color--white);
  font-weight: 700;
}

/*---------- お知らせ個別投稿の見出し ----------*/
.single-post .wp-block-post-content h2,
.privacy-policy .wp-block-post-content h2,
.sr-legal-text h2 {
  padding: 0.5em 0.7em;
  border-left: 5px solid var(--wp--preset--color--main);
  border-bottom: 3px solid var(--wp--preset--color--gray-light);
  background-color: var(--wp--preset--color--bg);
}

.single-post .wp-block-post-content h3,
.privacy-policy .wp-block-post-content h3,
.sr-legal-text h3 {
  padding: 0 0.4em 0.2em;
  border-bottom: double 5px var(--wp--preset--color--main);
  background-color: var(--wp--preset--color--white);
}

.single-post .wp-block-post-content h4,
.privacy-policy .wp-block-post-content h4 {
  padding: 0 0.4em 0.2em;
  border-bottom: 2px solid var(--wp--preset--color--main);
  background-color: var(--wp--preset--color--white);
}

.single-post .wp-block-post-content blockquote {
  position: relative;
  padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--24) var(--wp--preset--spacing--16) var(--wp--preset--spacing--60);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-style: italic;
  color: var(--wp--preset--color--gray-dark);
  background: var(--wp--preset--color--bg);
}
.single-post .wp-block-post-content blockquote::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: var(--wp--preset--spacing--10);
  width: 40px;
  aspect-ratio: 1;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-radius: 50%;
  background-color: var(--wp--preset--color--main);
  background-image: url("../image/quote-left-solid-full.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}
.single-post .wp-block-post-content blockquote p {
  position: relative;
  padding: 0;
  margin: 10px 0;
  z-index: 3;
  line-height: 1.6;
}

/*---------- リストのマーカー ----------*/
.wp-block-list li::marker {
  color: var(--wp--preset--color--main);
}

/*---------- カテゴリーバッジ ----------*/
.wp-block-post-terms.is-style-category-badge a:where(:not(.wp-element-button)) {
  display: block;
  padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
  border-radius: 4px;
  background-color: var(--wp--preset--color--bg);
  text-decoration: none;
}

/*===============================
 お問い合わせフォーム
================================*/
.wpcf7 {
  border-radius: 8px;
}

.wpcf7 * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.wpcf7 label + br {
  display: none;
}

.wpcf7 label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 500;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 4px;
}

.wpcf7 p {
  margin-bottom: 1.8em;
}

.wpcf7-text,
.wpcf7-textarea {
  background-color: var(--wp--preset--color--bg);
  line-height: 2;
  border-radius: 2px;
  width: 100%;
  padding: 8px 12px;
}

.wp-block-group .wpcf7-text,
.wp-block-group .wpcf7-textarea {
  border: 1px solid var(--wp--preset--color--gray);
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
  border: 1px solid var(--wp--preset--color--red);
  outline: none;
}

.wpcf7-textarea {
  resize: vertical;
}

.wpcf7 *::-webkit-input-placeholder {
  color: var(--wp--preset--color--gray-dark);
}

.wpcf7 *::-moz-placeholder {
  color: var(--wp--preset--color--gray-dark);
}

.wpcf7 *:-ms-input-placeholder {
  color: var(--wp--preset--color--gray-dark);
}

.wpcf7 *::-ms-input-placeholder {
  color: var(--wp--preset--color--gray-dark);
}

.wpcf7 *::placeholder {
  color: var(--wp--preset--color--gray-dark);
}

.wpcf7-select {
  padding: 8px;
  border: 1px solid var(--wp--preset--color--gray-light);
}

.wpcf7-checkbox span.wpcf7-list-item:first-child,
.wpcf7-radio span.wpcf7-list-item:first-child {
  margin-left: 0;
}

.wpcf7-list-item label {
  font-weight: 500;
}

div.wpcf7 .ajax-loader {
  display: block;
  width: 0;
  height: 0;
}

.wpcf7 i {
  margin-right: 4px;
}

.wpcf7-arbitrary,
.wpcf7-required {
  color: var(--wp--preset--color--white);
  padding: 4px 10px;
  font-size: var(--wp--preset--font-size--11);
  font-weight: 500;
  border-radius: 4px;
  margin-left: 8px;
}

.wpcf7-required {
  background: var(--wp--preset--color--red);
}

.wpcf7-arbitrary {
  background: var(--wp--preset--color--main);
}

/*---------- CF7 プライバシーポリシー同意 ----------*/
.privacy-content {
  text-align: center;
  margin-top: var(--wp--preset--spacing--40);
}

.wpcf7-submit:disabled {
  background-color: var(--wp--preset--color--gray);
  border: 2px solid var(--wp--preset--color--gray);
}

.wpcf7-submit {
  display: block;
  border: none;
  margin: 25px auto 0;
  padding: 16px 40px;
  cursor: pointer;
  font-size: var(--wp--preset--font-size--20);
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--red);
  font-weight: 700;
  border-radius: 50px;
}

/*===============================
    会社概要テーブル（2枚目寄せ）
   - 行間：罫線ではなく“隙間”
   - 列間：罫線ではなく“色の切り替え”
   - 左列：ブルー系 / 右列：白
================================*/
.company-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  background: transparent;
}

/*---------- 1行（tr）を“1つのカード”みたいに見せる----------*/
/*---------- セル共通：罫線は使わない／余白で整える ----------*/
.company-table td {
  border: none;
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--24);
  vertical-align: top;
}

/*---------- 左列：ラベル帯（ブルー系） ----------*/
.company-table td:first-child {
  width: 200px;
  background: var(--wp--preset--color--gray-light);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--wp--preset--border-radius--8) 0 0 var(--wp--preset--border-radius--8);
}

/*---------- 右列：内容帯（白） ----------*/
.company-table td:last-child {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
  border-radius: 0 var(--wp--preset--border-radius--8) var(--wp--preset--border-radius--8) 0;
}

.company-table td:last-child {
  -webkit-box-shadow: 0 0 0 1px rgb(232, 238, 246) inset;
          box-shadow: 0 0 0 1px rgb(232, 238, 246) inset;
}

/*---------- 長文がある行（事業内容など）は上詰めのほうが自然 ----------*/
.company-table tr td {
  vertical-align: top;
}

/*---------- SP：縦積み（見た目崩壊を防ぐ） ----------*/
@media (max-width: 1149px) {
  .company-table table {
    border-spacing: 0 10px;
    width: 100%;
    table-layout: fixed;
  }
  .company-table td {
    display: block;
    width: 100%;
    padding: 14px 16px;
  }
  .company-table td:first-child {
    text-align: left;
    border-radius: var(--wp--preset--border-radius--8) var(--wp--preset--border-radius--8) 0 0;
    width: 160px;
  }
  .company-table td:last-child {
    border-radius: 0 0 var(--wp--preset--border-radius--8) var(--wp--preset--border-radius--8);
    -webkit-box-shadow: 0 0 0 1px rgb(232, 238, 246) inset;
            box-shadow: 0 0 0 1px rgb(232, 238, 246) inset;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
/*===============================
 スクロールヒント
================================*/
/*---------- 横スクロール本体 ----------*/
.wp-block-group.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/*---------- スマホだけスクロールヒントを出す ----------*/
@media (max-width: 599px) {
  .wp-block-group.table-scroll {
    position: relative;
    padding-top: 28px;
  }
  .wp-block-group.table-scroll::before {
    content: "⇆ 横にスクロールできます";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12px;
    line-height: 1;
    opacity: 0.7;
    pointer-events: none;
  }
  .wp-block-group.table-scroll::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    width: 32px;
    height: calc(100% - 28px);
    pointer-events: none;
    background: -webkit-gradient(linear, right top, left top, from(rgb(255, 255, 255)), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0));
  }
}
/*===============================
 流れ
================================*/
.step-item-wrap {
  position: relative;
}

.step-no {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: inline-block;
  padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--40);
  background: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--main);
  border-radius: 50px;
  z-index: 1;
  white-space: nowrap;
}

.step-item {
  padding-top: calc(var(--wp--preset--spacing--24) + 0.9em);
}

#step1,
#step2,
#step3,
#step4 {
  scroll-margin-top: 150px;
}

/*===============================
 よくある質問
================================*/
.faq-question {
  position: relative;
  padding-left: 2.5em;
  text-decoration: none;
}
.faq-question::before {
  content: "Q";
  position: absolute;
  left: var(--wp--preset--spacing--16);
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-weight: 700;
  color: var(--wp--preset--color--main);
}

.faq-answer {
  position: relative;
  padding-left: 2.5em;
}
.faq-answer::before {
  content: "A";
  position: absolute;
  left: var(--wp--preset--spacing--20);
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-weight: 700;
  color: var(--wp--preset--color--accent);
}

.wp-block-accordion-heading__toggle-icon {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 2em;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 2em;
  font-size: var(--wp--preset--font-size--20);
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

.sr-legal-text {
  line-height: 1.8;
}
.sr-legal-text p,
.sr-legal-text ol,
.sr-legal-text ul {
  margin-top: var(--wp--preset--spacing--20);
}
.sr-legal-text h2 {
  margin-top: var(--wp--preset--spacing--40);
}
.sr-legal-text h3 {
  margin-top: var(--wp--preset--spacing--24);
}