/* color設定 */
:root {
  --color_white: #ffffff;
  --color_black: #111111;
  --color_glay: #eeeeee;
  --color_darkglay: #b3b3b3;
  --color_green: #85a72e;
  --color_red: #cf2e2e;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
  color: var(--color_black);
  line-height: 2.4;
}

.l-contents__inner:last-child {
  padding-bottom: 0;
}

.c-meta__item--author {
  display: none;
}

/* 基本設定 */
a:hover img {
  opacity: 0.6;
  filter: alpha(opacity=60);
  transition: all 0.5s;
}
p,
a,
li {
  font-weight: 500;
}
.pt_0 {
  padding-top: 0 !important;
}
.pt_10 {
  padding-top: 10px !important;
}
.pb_0 {
  padding-bottom: 0 !important;
}
.pb_10 {
  padding-bottom: 10px !important;
}
.mt_0 {
  margin-top: 0 !important;
}
.mb_0 {
  margin-bottom: 0 !important;
}
.mr_0 {
  margin-right: 0 !important;
}
.ml_0 {
  margin-left: 0 !important;
}
.mt_10 {
  margin-top: 10px !important;
}
.mb_10 {
  margin-bottom: 10px !important;
}
.txt_c {
  text-align: center;
}
.z_0 {
  z-index: 0;
}
.z_1 {
  z-index: 1;
}
.p_ab {
  position: absolute;
}
.p_rel {
  position: relative;
}
.d_flex {
  display: flex;
}
.d_flex.f_wrap {
  flex-wrap: wrap;
}
.inline_b {
  display: inline-block;
}
.js_sb {
  justify-content: space-between;
}
.js_fs {
  justify-content: flex-start;
}
.of_hd {
  overflow: hidden;
}
.border_pink {
  border-bottom: 2px solid #ed7780 !important;
}
.mincho {
  font-family: "Zen Antique Soft", serif;
}
.maru {
  font-family: "Zen Maru Gothic", serif;
}
.smb-panels__item__action > a:focus:after {
  outline: none;
  outline-offset: 0px;
}
.tate {
  writing-mode: vertical-rl;
}
/* br*/
.br-sp {
  display: none;
}
.br-tab {
  display: none;
}
.br-pc {
  display: block;
}
/* 基本設定 終わり*/
/* アイコン */
.svg-inline--fa {
  margin-right: 4px;
}

.c-page-top .svg-inline--fa {
  margin-right: 0;
}

.p-global-nav--hover-extend-underline .c-navbar__item.cta:hover > a:after {
  width: 0;
}
/* アイコン 終わり*/
/* ボタン */
/* ヘッダーボタン */
header .button-contact {
  position: relative !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color_white) !important;
  transition: color 0.25s ease !important;
  background-color: var(--color_green);
  min-width: 180px;
  height: 60px; /* ← 適切な高さに修正 */
  font-weight: 700 !important;
  overflow: hidden;
  border: 2px solid var(--color_green);
  margin: 20px;
  text-align: center;
}

header .button-contact:hover {
  color: var(--color_green) !important;
}
header .button-contact:hover::before {
  transform: scaleX(1);
}
header .button-contact::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color_white);
  transform: scaleX(0);
  /* 初期状態で非表示 */
  transform-origin: right;
  /* アニメーション開始位置 */
  transition: transform 0.25s ease;
}
.button-group {
  display: flex;
  justify-content: center;
}
.button,
.button-blue {
  position: relative;
  display: inline-block;
  padding: 16px 34px;
  text-decoration: none;
  transition: color 0.25s ease;
  width: 320px;
  height: 60px;
  text-align: center;
  overflow: hidden;

  line-height: normal;
}
.button {
  color: var(--color_white);
  background-color: var(--color_green);
  border: 2px solid var(--color_green);
}
.button-blue {
  color: var(--wp--preset--color--sm-accent);
  background-color: var(--color_white);
  border: 2px solid var(--wp--preset--color--sm-accent);
}
.button:hover {
  color: var(--color_green);
}
.button-blue:hover {
  color: var(--color_white);
}
.button:hover::before,
.button-blue:hover::before {
  transform: scaleX(1);
}
.button::before,
.button-blue::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.button::before {
  background: var(--color_white);
}
.button-blue::before {
  background: var(--color_green);
}
.button__text {
  position: relative;
}
.arrow,
.arrow-blue {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: inline-block;
  width: 24px; /* 線の長さ */
  height: 2px; /* 線の太さ */
}
.arrow {
  background-color: var(--color_white);
}
.arrow-blue {
  background-color: var(--wp--preset--color--sm-accent);
}
.arrow::after,
.arrow-blue::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.arrow::after {
  border-left: 8px solid var(--color_white); /* 三角形の色 */
}
.arrow-blue::after {
  border-left: 8px solid var(--wp--preset--color--sm-accent); /* 三角形の色 */
}
.button:hover .arrow,
.button:hover .arrow-down {
  background-color: var(--color_green);
}
.button:hover .arrow::after {
  border-left-color: var(--color_green);
}
.button-blue:hover .arrow-blue {
  background-color: var(--color_white);
}
.button-blue:hover .arrow-blue::after {
  border-left-color: var(--color_white);
}
.button:hover .arrow-down::after {
  border-top: 8px solid var(--color_green);
}
.arrow-down {
  position: absolute;
  right: 20px; /* ← 右端に揃える */
  top: 20px;
  transform: translateX(0);
  display: inline-block;
  width: 2px; /* 縦線の太さ */
  height: 24px; /* 縦線の長さ */
  background-color: var(--color_white); /* 線の色 */
}
.arrow-down::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--color_white); /* 三角形の色 */
}
.l-footer.l-footer--footer-2 .button {
  font-size: 1.1rem;
  width: 290px !important;
}
.l-footer.l-footer--footer-2 .button.tel {
  font-size: 1.1rem;
  font-weight: 900;
  margin-right: 1rem !important;
}
.cta a span {
  background-color: var(--wp--preset--color--sm-accent);
  position: relative;
  transition: 0.25s;
  color: #fff;
  border-radius: 0;
  font-size: 1.1rem;
}
.cta a span {
  margin-left: 10px;
  padding: 0.5rem 1.8rem !important;
  max-height: 3rem;
}
.w_line a.smb-btn {
  border: 1px solid;
}
a.smb-btn::before,
.cta a span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border: 2px solid transparent;
}
a.smb-btn::after,
.cta a span::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border: 2px solid transparent;
}
a.smb-btn:hover,
.cta a:hover span {
  color: var(--wp--preset--color--sm-accent);
  box-shadow: none;
  background-color: #fff;
  transition: 1s;
  filter: brightness(100%);
}
a.smb-btn:hover::before,
.cta a:hover span::before {
  width: 100%;
  height: 100%;
  border-top-color: var(--wp--preset--color--sm-accent);
  border-right-color: var(--wp--preset--color--sm-accent);
  transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
}
a.smb-btn:hover::after,
.cta a:hover span::after {
  width: 100%;
  height: 100%;
  border-bottom-color: var(--wp--preset--color--sm-accent);
  border-left-color: var(--wp--preset--color--sm-accent);
  transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s,
    height 0.25s ease-out 0.75s;
}

/* グローバルナビ */
.l-1row-header .c-fluid-container {
  padding-right: 0;
}
[data-scrolled="false"]
  .l-header--sticky-overlay-colored-lg
  .p-global-nav
  .c-navbar__item
  > a {
  color: #fff;
}
.p-global-nav .c-navbar__item.header_cta > a {
  background-color: var(--wp--preset--color--sm-accent);
  color: #fff;
}
.p-global-nav .c-navbar__item.tel > a {
  font-size: 1rem;
}
.p-global-nav .c-navbar__item.contact > a {
  font-weight: 500;
  color: #fff !important;
  color: var(--color_white) !important;
  background-color: var(--wp--preset--color--sm-accent) !important;
}
#menu-item-30 {
  padding: 1.2rem;
}
ul#menu-g_nav {
  height: 100px;
}
li.header_cta.tel::after {
  content: "";
  width: 1px;
  height: 90%;
  position: absolute;
  top: 50%;
  left: 0;
  background-color: #fff;
  transform: translateY(-50%);
}
.p-global-nav .c-navbar__item[aria-haspopup="true"]:before {
  display: none;
}
li.g_nav_sab {
  border-bottom: 1px solid #ffffff80;
}
.p-global-nav .c-navbar__item.header_cta > a:hover {
  opacity: 0.9;
  transition: 0.5s;
}
.l-header--sticky-lg {
  box-shadow: none;
}
@media (max-width: 1280px) {
  [data-scrolled="false"]
    .l-header--sticky-overlay-colored-lg
    .p-global-nav
    .c-navbar__item
    > a {
    color: #fff;
    padding-right: 15px;
    padding-left: 15px;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .l-1row-header__branding {
    max-width: 250px;
  }
}
@media (max-width: 1024px) {
  .c-site-branding .c-container,
  .c-fluid-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  ul#menu-sp_nav {
    display: flex;
    flex-wrap: wrap;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
  }
  ul#menu-sp_nav li {
    width: 100%;
    font-size: 1rem;
  }
  ul#menu-sp_nav li.w_100 {
    width: 100%;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    position: relative;
  }
  ul#menu-sp_nav li.w_100::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  ul#menu-sp_nav li.sp_menu_cta {
    text-align: center;
    background-color: #fff;
    color: var(--wp--preset--color--sm-accent);
  }
  ul#menu-sp_nav li.sp_menu_cta.tel {
    font-family: "EB Garamond";
    font-size: 1.4rem;
  }
  ul#menu-sp_nav li.sp_menu_cta.con {
    font-family: "Zen Antique Soft";
    font-size: 1.2rem;
  }
  ul#menu-sp_nav li.sp_menu_cta {
    text-align: center;
    background-color: #fff;
    color: var(--wp--preset--color--sm-accent);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 10px;
    line-height: 1;
  }
  ul#menu-sp_nav li.sp_menu_cta a svg {
    display: block;
    margin-right: 0;
    width: 100%;
    font-size: 1.1rem;
    margin-bottom: 7px;
  }
  .c-drawer {
    background-color: rgba(0, 105, 183, 0.85);
    backdrop-filter: blur(10px);
  }
  .c-site-branding .c-container,
  .c-fluid-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .c-hamburger-btn__bar {
    background-color: var(--color_black) !important;
    height: 2px !important;
    border-radius: 30px;
  }
  .c-hamburger-btn__label {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    display: block;
    font-size: 12px;
    line-height: 1;
  }
  .c-hamburger-btn[aria-expanded="true"]
    > .c-hamburger-btn__bars
    > .c-hamburger-btn__bar:nth-of-type(2) {
    background-color: initial !important;
  }
  #menu-item-93,
  #menu-item-808 {
    position: relative;
    transition: 0.25s;
    z-index: 2;
    min-width: 240px;
    height: 60px;
    line-height: 40px;
    margin-top: 1rem;
    text-align: center;
    background-color: var(--color_green);
    color: var(--color_white) !important;
  }
  #menu-item-808 a {
    font-weight: 900;
  }
}
/* グローバルナビ終わり */
/* 下層ページヘッダー */
.c-page-header,
.works-template-default .c-page-header {
  height: 420px !important;
  text-align: left;
  background-color: var(--color_glay);
}
h1.c-page-header__title {
  font-weight: 900;
  font-size: clamp(1.4rem, 1.182rem + 1.09vw, 2rem);
}
.c-page-header[data-align="center"] .c-page-header__content {
  align-items: flex-start !important;
}
.c-page-header[data-has-image="true"] {
  height: unset;
}
.c-page-header[data-has-image="true"] .c-page-header__content {
  color: unset;
}
.c-page-header__bgimage > img,
.c-page-header__bgimage > picture > img {
  display: none;
}
.c-page-header {
  position: relative;
  overflow: hidden;
}
.c-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/uploads/2025/08/attachment-cutter-closeup.jpg");
  background-size: cover;
  background-position: 80% 30%;
  background-repeat: no-repeat;
  transform: skewY(24deg) translateX(100%);
  transform-origin: top right;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 0;
}
.c-page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 105, 183, 0.85);
  transform: skewY(24deg) translateX(100%);
  transform-origin: top right;
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1) 0.4s;
  z-index: 1;
}
/* スクロールで表示（画像→青が順に入る） */
.c-page-header.show::before {
  transform: skewY(24deg) translateX(0);
}
.c-page-header.show::after {
  transform: skewY(24deg) translateX(0);
}
.c-page-header > * {
  position: relative;
  z-index: 2;
}

/* business */
.page-id-21 .c-page-header__title::before,
.page-id-19 .c-page-header__title::before,
.post-type-archive-works .c-page-header__title::before,
.page-id-152 .c-page-header__title::before,
.page-id-23 .c-page-header__title::before,
.works-template-default .c-page-header__title::before {
  display: block;
  font-size: clamp(2.4rem, -0.182rem + 12.91vw, 9.5rem);
  font-weight: 700;
  color: var(--color_darkglay);
  opacity: 0.4;
}
.page-id-21 .c-page-header__title::before {
  content: "BUSINESS";
}
.page-id-19 .c-page-header__title::before {
  content: "COMPANY";
}
.post-type-archive-works .c-page-header__title::before,
.works-template-default .c-page-header__title::before {
  content: "WORKS";
}
.page-id-152 .c-page-header__title::before {
  content: "RECRUIT";
}
.page-id-23 .c-page-header__title::before {
  content: "CONTACT";
}
/* プライバシーポリシー */
#privacy h3 {
  margin-bottom: 10px !important;
  padding-left: 10px;
  border-left: solid 3px var(--wp--preset--color--sm-accent);
  font-weight: 700;
}

/*--- お問い合わせフォーム ---*/
/* SP版の確認画面ボタンボタン余白 */
.smf-action .smf-button-control__control {
  margin-bottom: 20px;
}

/* 投稿(シンプル)のSPレスポンシブ */
@media screen and (max-width: 639px) {
  .c-entries--simple .c-entry-summary__content {
    display: block;
  }

  .c-entries--simple .c-entry-summary__figure {
    float: inherit;
    width: 100%;
    margin-bottom: 20px;
  }
}
/*--- リセット ---*/
.archive .l-contents__inner:last-child,
.blog .l-contents__inner:last-child,
body.blog-template-default.single.single-blog .l-contents__inner:last-child,
body.error404 .l-contents__body .l-contents__inner:last-child,
.post-template-default .l-contents__inner:last-child {
  padding-bottom: var(--_padding2);
}
.c-meta__item.c-meta__item--author {
  display: none !important;
}
.page .c-entry__content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
/*--------------------  汎用 -------------------- */
/* テーブル */
.table table,
.table tbody {
  display: block;
  width: 100%;
}
.table tr {
  display: flex;
  flex-wrap: wrap;
}
.table figure.wp-block-table tr td:first-child {
  width: 30%;
  text-align: left;
  vertical-align: middle;
  font-weight: 700 !important;
  border-bottom: 1px solid var(--color_black) !important;
  padding: 2rem;
}
.table figure.wp-block-table tr td {
  border: none !important;
  border-bottom: 1px solid var(--color_black) !important;
  display: block;
  vertical-align: middle !important;
}
.table figure.wp-block-table tr:first-child {
  border-top: none;
}
.table figure tr td:last-child {
  width: 70%;
  padding: 2rem;
}
@media screen and (max-width: 640px) {
  .table figure.wp-block-table tr td:first-child,
  .table figure tr td:last-child {
    width: 100%;
  }
}
/*--- アニメーション ---*/
.animate {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.animate-elm {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0; /* img自体は下に */
}
/* オーバーレイ（imgに直接かける） */
.animate-elm::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--color_white);
  transform: translateX(0%);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
}
/* showが付いたら右に抜ける */
.animate-elm.show::after {
  transform: translateX(100%);
}
/*--- 見出し ---*/
.title-sub-heading {
  font-size: clamp(2.2rem, -0.455rem + 13.27vw, 9.5rem);
  color: var(--color_darkglay);
  font-weight: 700;
  position: absolute;
  top: -120px;
  right: 5%;
  opacity: 0.4;
  z-index: 2;
}
.title-sub-heading-L {
  font-size: clamp(2.2rem, -0.455rem + 13.27vw, 9.5rem);
  color: var(--color_darkglay);
  font-weight: 700;
  position: absolute;
  top: -120px;
  left: 5%;
  opacity: 0.4;
  z-index: 2;
}
.title-sub-heading-C {
  font-size: clamp(2.4rem, -0.182rem + 12.91vw, 9.5rem);
  color: var(--color_darkglay);
  font-weight: 700;
  top: -120px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
  z-index: 2;
}
h2.title-heading {
  font-weight: 900;
  font-style: normal;
  font-size: clamp(1.5rem, 1.245rem + 1.27vw, 2.2rem);
  z-index: 3;
  margin-bottom: 2rem;
}
h3.title-heading {
  font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);
  font-weight: 900;
}
.strong {
  font-weight: 900;
}
/*--------------------  topページ -------------------- */
/* fv */
.main-visual {
  clip-path: polygon(29% 0, 100% 0, 100% 50%, 100% 94%, 28% 94%, 23% 51%);
  height: 88vh;
  filter: brightness(0.65);
}
.main-wrap {
  position: absolute;
  z-index: 3;
  top: 35%;
  left: 3%;
}
.main-visual__heading {
  font-size: clamp(2rem, 0.909rem + 5.45vw, 5rem);
  color: var(--color_white);
  margin-top: 0;
  font-weight: 900;
  line-height: normal;
}
.main-visual__text {
  color: var(--color_white);
  font-size: 1.2rem;
}
.fv-bg {
  position: relative;
  overflow: hidden;
  height: 88vh;
  background: var(--color_white);
}
/* 背景画像（下層） */
.fv-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url("/wp-content/uploads/2025/08/attachment-cutter-closeup.jpg");
  background-size: cover;
  background-position: 80% 30%;
  background-repeat: no-repeat;
  transform: skewY(8deg) translateX(100%);
  transform-origin: top left;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 0;
}
/* 青いオーバーレイ（上層） */
.fv-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 105, 183, 0.85);
  transform: skewY(8deg) translateX(100%);
  transform-origin: top left;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.4s;
  z-index: 1;
}
/* スクロールで表示（画像→青が順に入る） */
.fv-bg.show::before {
  transform: skewY(8deg) translateX(0);
}
.fv-bg.show::after {
  transform: skewY(8deg) translateX(0);
}
/* 中のコンテンツ */
.fv-bg > * {
  position: relative;
  z-index: 2;
}
/* service */
.service-section {
  position: relative;
  overflow: hidden;
  background: var(--color_white); /* 初期は白背景 */
  z-index: 0;
}
/* 緑の帯（初期は右に隠れている） */
.service-section::after {
  content: "";
  position: absolute;
  top: 340px;
  left: 0;
  width: 100vw;
  height: 420px;
  background-color: var(--color_green);
  opacity: 0.2;
  transform: skewY(8deg) translateX(100%); /* ← 初期は画面右の外に退避 */
  transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1; /* 白背景より上に重ねる */
}

/* showが付いたらスライドインして表示 */
.service-section.show::after {
  transform: skewY(8deg) translateX(0);
}

.main-service__image01 {
  margin-top: 0 !important;
  width: 85%;
  z-index: 2;
  position: relative;
  left: 10%;
}
.main-service__image01 figure {
  min-width: auto;
}
.main-service__image01 img {
  width: 531px;
  height: 342px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.main-service__image02 {
  margin-top: -50px !important;
  z-index: 2;
}
.main-service__image02 img {
  width: 374px !important;
  height: 217px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bn-recruit {
  position: absolute;
  right: 50px;
  bottom: 2%;
}
/*文字横スクロール*/
.bbs {
  align-items: center;
  display: flex;
  /*overflow: hidden;*/
  white-space: nowrap;
  width: 100%;
  top: 50px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.bbs ul {
  animation: flowing 180s linear infinite;
  transform: translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs ul li {
  display: inline-block;
  padding-right: 60px;
  letter-spacing: 1px;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(4rem, 2.545rem + 7.27vw, 8rem);
  color: var(--color_white);
  text-shadow: -1px -1px 0 var(--wp--preset--color--sm-accent),
    1px -1px 0 var(--wp--preset--color--sm-accent),
    -1px 1px 0 var(--wp--preset--color--sm-accent),
    1px 1px 0 var(--wp--preset--color--sm-accent);
  -webkit-text-stroke: 1px var(--wp--preset--color--sm-accent); /* 補助的に */
}
@keyframes flowing {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}
/* スライダー全体 */
.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: -140px !important;
}
/* スライドを横に並べて無限スクロール */
.slider {
  display: flex;
  width: max-content;
  animation: scroll-right 30s linear infinite;
}
ul.slider {
  padding: 0;
  display: flex;
}
.slider li {
  list-style-type: none;
}
.slide {
  width: 33vw;
  /* ← 5枚表示に変更 */
  flex-shrink: 0;
}
.slide img {
  display: block;
  width: 98%;
  height: 360px;
  object-fit: cover;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%);
}
.slide:nth-child(even) {
  margin-top: 60px; /* 任意の高さ */
}
/* アニメーション */
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* reason */
.reason-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.reason-section::before {
  content: "";
  position: absolute;
  top: 380px;
  left: 0;
  width: 100vw;
  height: 1600px;
  z-index: 0;
  transform: skewY(-8deg);
  transform-origin: top left;
  background-image: url("/wp-content/uploads/2025/08/attachment-hydraulic-cutter.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.reason-section::after {
  content: "";
  position: absolute;
  top: 380px;
  left: 0;
  width: 100vw;
  height: 1600px;
  z-index: 1;
  transform: skewY(-8deg);
  transform-origin: top left;
  background-color: rgba(0, 105, 183, 0.85); /* 少し薄めの青 */
}
.reason-section > * {
  position: relative;
  z-index: 2;
}
.reason-section .wp-block-columns {
  margin: 6vw 0;
}
.reason__image01 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
  height: 520px;
}
.reason01__content-bg {
  background: var(--color_white);
  padding: 4rem;
  max-width: 620px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  top: 20%;
  left: 40%;
  z-index: 2;
}
.reason__image02 {
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  height: 520px;
}
.reason02__content-bg {
  background: var(--color_white);
  padding: 4rem;
  max-width: 620px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  top: 20%;
  right: 40%;
  z-index: 2;
}
.reason-section .number {
  font-family: "Montserrat", sans-serif;
  font-size: 10rem;
  color: var(--color_white);
  text-shadow: -1px -1px 0 var(--wp--preset--color--sm-accent),
    1px -1px 0 var(--wp--preset--color--sm-accent),
    -1px 1px 0 var(--wp--preset--color--sm-accent),
    1px 1px 0 var(--wp--preset--color--sm-accent);
  -webkit-text-stroke: 1px var(--wp--preset--color--sm-accent); /* 補助的に */
  position: absolute;
  top: -30%;
  z-index: 3;
  right: 15%;
  font-weight: 600;
}
/* facilities */
.facilities-section h2.title-heading {
  color: var(--color_white);
}
.facilities-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.facilities-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 720px;
  z-index: 0;
  background-image: url("/wp-content/uploads/2025/08/team-meeting.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.facilities-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 720px;
  z-index: 1;
  backdrop-filter: blur(10px); /* Safari対応なら併せて */
  -webkit-backdrop-filter: blur(10px); /* iOS対応 */
  background-color: rgba(0, 0, 0, 0.3); /* 半透明を重ねると自然 */
}
.facilities-section .wp-block-columns {
  margin-top: 4rem;
}
.facilities-section .wp-block-columns,
.recruit-section .wp-block-columns {
  z-index: 2;
}
.facilities-section .wp-block-column,
.recruit-section .recruit-columns .wp-block-column {
  background-color: var(--color_white);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.facilities-section .number {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(6rem, 5.273rem + 3.64vw, 8rem);
  color: var(--color_white);
  text-shadow: -1px -1px 0 var(--wp--preset--color--sm-accent),
    1px -1px 0 var(--wp--preset--color--sm-accent),
    -1px 1px 0 var(--wp--preset--color--sm-accent),
    1px 1px 0 var(--wp--preset--color--sm-accent);
  -webkit-text-stroke: 1px var(--wp--preset--color--sm-accent); /* 補助的に */
  position: absolute;
  top: -30%;
  z-index: 3;
  left: 8%;
  font-weight: 600;
}
.facilities-section .wp-block-column h3,
.recruit-section .wp-block-column h3 {
  margin-top: 1.5rem;
  font-weight: 900;
}
/* works */
.works-section {
  position: relative;
  overflow: hidden;
  background: var(--color_white); /* 初期は白背景 */
  z-index: 0;
} /*
.works-section::before {
  content: "";
  position: absolute;
  top: 380px;
  left: 0;
  width: 100vw;
  height: 480px;
  z-index: 0;
  transform: skewY(-8deg);
  transform-origin: top left;
  background-image: url("/wp-content/uploads/2025/08/attachment-hydraulic-cutter.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}*/
.works-section::after {
  content: "";
  position: absolute;
  top: 320px;
  left: 0;
  width: 100vw;
  height: 400px;
  z-index: 1;
  transform: skewY(8deg) translateX(100%); /* ← 初期は画面右の外に退避 */
  transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
  background-color: var(--color_green);
  opacity: 0.2;
}
/* showが付いたらスライドインして表示 */
.works-section.show::after {
  transform: skewY(8deg) translateX(0);
}
.works-section > * {
  position: relative;
  z-index: 2;
}
.works-section .c-entry-summary__title {
  background-color: var(--color_white);
  text-align: center;
  padding: 18px;
}
.works-section .c-entry-summary__figure {
  margin-bottom: 0 !important;
}
/* message */
.message-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.message-section::after {
  background-color: var(--color_glay);
  content: "";
  display: block;
  top: 300px;
  height: 520px;
  position: absolute;
  width: 600px;
  z-index: -1;
}
.message-section .wp-block-column:nth-child(1) {
  text-align: center;
}
/* recruit */
.recruit-section h2.title-heading {
  color: var(--color_white);
  left: 10%;
}
.recruit__text {
  padding-bottom: 4rem;
  color: var(--color_white);
  width: 80%;
}
.recruit__text h3 {
  font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);
}
.recruit-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.recruit-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 920px;
  z-index: 0;
  background-image: url("/wp-content/uploads/2025/08/factory-team-meeting.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.recruit-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 920px;
  z-index: 1;
  background-color: rgba(0, 105, 183, 0.85);
}
.recruit-section > * {
  position: relative;
  z-index: 2;
}
.recruit-section .recruit-tag {
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem) !important;
  border: var(--color_white) 3px solid;
  text-align: center;
  padding: 0.4em;
  color: var(--color_white);
  font-weight: 700;
  line-height: normal;
}
.recruit-section .recruit-group.is-layout-flex {
  justify-content: flex-end !important;
  align-items: flex-start !important;
  gap: 10px;
  margin-bottom: 4rem;
}
/* news */
.news-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
/*.news-section::after {
  background-color: var(--color_glay);
  content: "";
  display: block;
  height: 240px;
  position: absolute;
  top: 170px;
  -webkit-transform: skewY(8deg);
  transform: skewY(8deg);
  width: 100vw;
  z-index: -1;
}
*/
.c-entries--simple .c-entries__item,
.c-entries--text .c-entries__item,
.c-entries--text2 .c-entries__item {
  border-bottom: 1px solid #b3b3b3;
}
.c-entries--simple,
.c-entries--text,
.c-entries--text2 {
  border-top: 1px solid #b3b3b3;
}
/* contact */
.contact-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
  padding-bottom: 10rem !important;
}
.contact-section::before {
  content: "";
  position: absolute;
  top: 250px;
  left: 0;
  width: 100vw;
  height: 920px;
  z-index: 0;
  background-image: url("/wp-content/uploads/2025/08/excavator-grab.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.contact-section::after {
  content: "";
  position: absolute;
  top: 250px;
  left: 0;
  width: 100vw;
  height: 920px;
  z-index: 1;
  background-color: rgba(0, 105, 183, 0.85);
}
.contact-section > * {
  position: relative;
  z-index: 2;
}
.contact-section h2.title-heading {
  margin-bottom: 3rem;
}
.contact-wrap {
  background-color: var(--color_white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-section .tel-wrap {
  border-right: solid 1px var(--color_darkglay);
}
.contact-section .telnumber span {
  font-size: clamp(1.6rem, 1.236rem + 1.82vw, 2.6rem);
  font-weight: 900;
}
.contact-section .telnumber span svg {
  margin-right: 0.5em !important;
}
.business-hours {
  margin-top: -15px !important;
}
.contact-section .telnumber a {
  color: var(--wp--preset--color--sm-accent);
  text-decoration: none !important;
  position: relative;
  top: -5% !important;
}
.contact-section .telnumber a:hover {
  color: var(--color_green);
  transition: all 0.5s;
}
/* フッター */
.l-footer.l-footer--footer-2 {
  background-color: #333333 !important;
  color: var(--color_white);
}
.l-footer,
.l-footer--footer-2 .l-footer__body {
  border-top: none !important;
}
.l-footer.l-footer--footer-2 img {
  width: 320px;
}
.l-footer--footer-2 .l-footer__widget-area {
  padding-top: 0 !important;
}
.l-footer__branding .c-site-branding.c-site-branding--has-logo {
  display: none !important;
}
.l-footer--footer-2 .l-footer__footer {
  padding: 1rem !important;
  background-color: var(--color_beige);
  color: var(--color_black);
}
.l-footer__footer .c-row {
  justify-content: end !important;
}
.c-copyright {
  color: var(--color_white);
}
/* ▼ メニュー項目の横並び設定 */
#menu-footer1 {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}
#menu-footer1 li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
#menu-footer1 li {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap;
  margin: 0;
}
#menu-footer1 li a:hover {
  color: var(--wp--preset--color--sm-accent);
  text-decoration: none;
}
/* 下層ページ */
/* 会社概要 */
.company-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: var(--color_white);
}
.company-section::after {
  background-color: var(--color_green);
  opacity: 0;
  content: "";
  display: block;
  height: 1040px;
  position: absolute;
  top: 170px;
  transform: skewY(8deg) translateX(100%); /* 初期：右に退避 */
  transform-origin: top left;
  width: 100vw;
  z-index: -1;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.company-section.show::after {
  transform: skewY(8deg) translateX(0);
  opacity: 0.2; /* ← service-section と同等の見え方に */
}
/* 事業内容 */
.page-id-21 .txt_c > a.button {
  margin-top: 0 !important; /* 余白をリセット */
}
.page-id-21 .txt_c {
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 20px; /* ボタン間の間隔 */
  flex-wrap: wrap; /* 画面が狭いとき改行 */
  text-align: center; /* 中身のテキスト中央揃え */
}
.page-id-21 .button {
  position: relative;
  display: inline-block;
  padding: 16px 34px;
  text-decoration: none;
  transition: color 0.25s ease;
  flex: 1 1 260px; /* 最小幅を指定しつつ可変 */
  max-width: 300px; /* 幅の上限 */
  box-sizing: border-box;
  height: 60px;
  text-align: center;
  overflow: hidden;
  border: 2px solid var(--color_green);
  line-height: normal;
}
.product-section,
.profile-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: var(--color_white);
}
.product-section::after,
.profile-section::after {
  background-color: var(--color_glay);
  content: "";
  display: block;
  height: 440px;
  position: absolute;
  top: 170px;
  transform: skewY(8deg) translateX(100%); /* 初期：右に退避 */
  transform-origin: top left;
  opacity: 0; /* 初期は透明 */
  z-index: -1; /* ← 背景として下層（上に被せたいなら 1 に） */
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
  width: 100vw;
}
.product-section.show::after,
.profile-section.show::after {
  transform: skewY(8deg) translateX(0);
  opacity: 1; /* ← service-section と同等の見え方に */
}
.product-section .wp-block-columns,
.profile-section .wp-block-columns {
  margin-top: 4rem;
}
.product-section .wp-block-columns,
.profile-section .wp-block-columns {
  z-index: 2;
}
.product-section .wp-block-column,
.profile-section .wp-block-column {
  background-color: var(--color_white);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.product-section .number,
.profile-section .number {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(6rem, 5.273rem + 3.64vw, 8rem);
  color: var(--color_white);
  text-shadow: -1px -1px 0 var(--wp--preset--color--sm-accent),
    1px -1px 0 var(--wp--preset--color--sm-accent),
    -1px 1px 0 var(--wp--preset--color--sm-accent),
    1px 1px 0 var(--wp--preset--color--sm-accent);
  -webkit-text-stroke: 1px var(--wp--preset--color--sm-accent); /* 補助的に */
  position: absolute;
  top: -28%;
  z-index: 3;
  left: 8%;
  font-weight: 600;
}
.product-section .wp-block-column h3,
.profile-section .wp-block-column h3 {
  margin-top: 1.5rem;
  font-weight: 900;
}
/* 施工実績 */
.works-template-default .smb-spider-slider__figure-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh; /* 表示領域の高さに応じて調整 */
  overflow: hidden;
}
.works-template-default .spider__figure {
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.works-template-default footer.c-entry__footer {
  padding-bottom: 2rem;
}
/* 採用情報 */
.recruit-section .number {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(6rem, 5.273rem + 3.64vw, 8rem);
  color: var(--color_white);
  text-shadow: -1px -1px 0 var(--wp--preset--color--sm-accent),
    1px -1px 0 var(--wp--preset--color--sm-accent),
    -1px 1px 0 var(--wp--preset--color--sm-accent),
    1px 1px 0 var(--wp--preset--color--sm-accent);
  -webkit-text-stroke: 1px var(--wp--preset--color--sm-accent); /* 補助的に */
  position: absolute;
  top: -34%;
  z-index: 3;
  left: 8%;
  font-weight: 600;
}
.job-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: var(--color_white);
}
.job-section::after {
  background-color: var(--color_green);
  content: "";
  display: block;
  height: 1040px;
  position: absolute;
  top: 170px;
  transform: skewY(8deg) translateX(100%); /* 初期：右に退避 */
  transform-origin: top left;
  width: 100vw;
  opacity: 0; /* 初期は透明 */
  z-index: -1; /* ← 背景として下層（上に被せたいなら 1 に） */
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.job-section.show::after {
  transform: skewY(8deg) translateX(0);
  opacity: 0.2; /* ← service-section と同等の見え方に */
}
/* お問い合わせ */
@media (min-width: 640px) {
  .smf-form--simple-table .smf-item__col--label {
    flex: 0 0 14em;
    max-width: 14em;
    padding-bottom: 0;
    padding-right: var(--_padding1);
    border-bottom: 1px solid var(--color_black);
    font-weight: 900;
    padding: 2rem;
  }
}
@media (min-width: 640px) {
  .smf-form--simple-table .smf-item__col--controls {
    flex: 1 1 calc(100% - 14em);
    max-width: calc(100% - 14em);
    border-bottom: 1px solid var(--color_black);
    padding: 2rem;
  }
}
.smf-form--simple-table .smf-item__col--label {
  padding-bottom: 0;
  padding-right: var(--_padding1);
  border-bottom: 1px solid var(--color_black);
  font-weight: 900;
  padding: 0 1.4rem 1.4rem;
  margin-bottom: 1.4rem;
}
.smf-form--simple-table .smf-item__col--controls {
  border-bottom: 1px solid var(--color_black);
  padding: 0 1.4rem 1.4rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
}
.smf-form--simple-table .smf-item__controls {
  width: 100%; /* 親にフィットさせる */
  max-width: 100%;
  box-sizing: border-box;
}
.smf-form--simple-table .smf-item {
  padding: 0 !important;
}
.smf-item__description {
  background-color: var(--color_red);
  width: fit-content;
  padding: 0.5em 0.8em;
  color: var(--color_white);
}
.smf-radio-button-control,
.smf-form .smf-checkbox-control {
  display: flex !important;
  align-items: center !important;
  gap: 0.5em !important;
}
.smf-action .smf-button-control {
  position: relative !important;
  display: inline-block !important;
  text-decoration: none !important;
  color: var(--color_white) !important;
  transition: color 0.25s ease !important;
  background-color: var(--color_green) !important;
  min-width: 270px !important;
  height: 60px !important;
  text-align: center !important;
  font-weight: 700 !important;
  overflow: hidden !important;
  background-image: none !important;
}
.smf-action .smf-button-control__control {
  display: inline-block !important;
  text-decoration: none !important;
  color: var(--color_white) !important;
  transition: color 0.25s ease !important;
  background-color: initial !important;
  min-width: 270px !important;
  height: 60px !important;
  text-align: center !important;
  font-weight: 700 !important;
  overflow: hidden !important;
  background-image: none !important;
  border: 2px solid var(--color_green);
  border-radius: inherit !important;
}
.smf-action .smf-button-control__control:hover {
  color: var(--color_green) !important;
}
.smf-action .smf-button-control:hover::before {
  transform: scaleX(1);
  /* 左から右へアニメーション */
}
.smf-action .smf-button-control::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color_white);
  /* 背景要素にも角丸を適用 */
  transform: scaleX(0);
  /* 初期状態で非表示 */
  transform-origin: right;
  /* アニメーション開始位置 */
  transition: transform 0.25s ease;
}
.smf-action .smf-button-control__control {
  position: relative;
}
.page-id-23 .contact-section .tel-wrap {
  border-right: none;
}
/*--------------------  レスポンシブ -------------------- */
@media screen and (max-width: 1600px) {
  .recruit__text {
    width: 100%;
  }
}
@media screen and (max-width: 1500px) {
  .main-visual {
    height: auto !important;
  }
  .fv-bg {
    height: auto !important;
  }
}
@media screen and (max-width: 1400px) {
  .main-visual .smb-spider-slider .spider__slide:before,
  .smb-spider-slider .smb-spider-slider__figure-wrapper:before {
    padding: 400px !important;
  }
  .reason-section::before {
    height: 1500px;
  }
  .reason-section::after {
    height: 1500px;
  }
  .title-sub-heading,
  .title-sub-heading-L,
  .title-sub-heading-C {
    font-size: clamp(2.2rem, 0.818rem + 6.91vw, 6rem);
  }
  .title-sub-heading {
    position: absolute;
    top: -60px;
    right: 5%;
  }
  .title-sub-heading-L {
    top: -60px;
    left: 5%;
  }
  .title-sub-heading-C {
    top: -60px;
  }
  .recruit-section .recruit-tag {
    font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem) !important;
    border: var(--color_white) 3px solid;
    text-align: center;
    padding: 0.4em;
    color: var(--color_white);
    font-weight: 700;
    line-height: normal;
  }
  .page-id-21 .c-page-header__title::before,
  .page-id-19 .c-page-header__title::before,
  .post-type-archive-works .c-page-header__title::before,
  .page-id-152 .c-page-header__title::before,
  .page-id-23 .c-page-header__title::before,
  .works-template-default .c-page-header__title::before {
    font-weight: 900;
    font-size: clamp(2.2rem, 0.818rem + 6.91vw, 6rem);
  }
}
@media screen and (max-width: 1200px) {
  /* br */
  .br-pc {
    display: none;
  }
  .br-sp {
    display: none;
  }
  .br-tab {
    display: block;
  }
  .message-section {
    padding: 4rem 1.8rem 0 1.8rem;
  }
  .message-section::after {
    background-color: var(--color_glay);
    top: 250px;
    height: 420px;
    width: 400px;
  }
  .reason-section .number,
  .facilities-section .number,
  .recruit-section .number,
  .product-section .number {
    font-size: 6rem;
  }
  .reason-section .number {
    top: -16%;
    z-index: 3;
    right: 5%;
    font-weight: 600;
  }
  .facilities-section .number,
  .product-section .number {
    top: -20%;
    z-index: 3;
    right: 5%;
  }
  .recruit-section .number {
    top: -25%;
    z-index: 3;
    right: 5%;
  }
  .reason01__content-bg,
  .reason02__content-bg {
    padding: 2rem;
    width: 620px;
  }
  .reason01__content-bg {
    left: 20%;
  }
  .reason02__content-bg {
    right: 60%;
  }
  .reason-section .wp-block-columns {
    margin: 0;
  }
  .works-section::before,
  .works-section::after {
    height: 280px;
  }
  .message-section::after {
    top: 300px;
    height: 480px;
    width: 400px;
  }
  .contact-wrap {
    width: 90vw;
  }
}
@media screen and (max-width: 1024px) {
  .main-wrap {
    top: 25%;
  }
  .main-service__image01 {
    width: 100%;
  }
  .main-service__image02 img {
    width: 240px !important;
    height: 140px !important;
  }
  .main-wrap {
    position: absolute;
    z-index: 3;
    top: 25%;
    left: 3%;
  }
  .bn-recruit {
    position: absolute;
    left: auto;
    right: 25px;
    bottom: 4%;
    width: 320px;
  }
  .bbs ul li {
    margin: 4rem 0;
  }
  .slide {
    width: 50vw;
  }
  .slide img {
    width: 98%;
    height: 260px;
  }
  .slider-wrapper {
    margin-top: -180px !important;
  }
  .reason__image01,
  .reason__image02 {
    height: auto;
  }
  .reason__image01 img,
  .reason__image02 img {
    height: 380px;
  }
  .reason01__content-bg,
  .reason02__content-bg {
    padding: 2rem;
    width: 520px;
  }
  /* facilities */
  .facilities-section .wp-block-columns,
  .message-section .wp-block-columns,
  .recruit-section .wp-block-columns,
  .product-section .wp-block-columns {
    flex-direction: column !important;
  }
  .facilities-section .is-layout-flex,
  .recruit-section .recruit-columns.is-layout-flex,
  .product-section .is-layout-flex {
    gap: 80px;
  }
  .facilities-section .number,
  .recruit-section .number,
  .product-section .number {
    position: absolute;
    top: -15%;
    z-index: 3;
    left: auto;
    right: 8%;
    font-weight: 600;
  }
  .service-section .wp-block-column {
    padding-right: 1.8rem;
    padding-left: 1.8rem;
  }
  .recruit-section h2.title-heading {
    left: 0;
  }
  .news-section,
  .instagram-section {
    padding-top: 4rem !important;
  }
  .contact-section .telnumber span {
    font-size: 1.8rem;
  }
  .facilities-section::before {
    height: 1820px;
  }
  .facilities-section::after {
    height: 1820px;
  }
  .recruit-section::before {
    height: 2420px;
  }
  .recruit-section::after {
    height: 2420px;
  }
  .recruit-section .recruit-tag {
    margin-bottom: 1rem;
    width: 100%;
  }
  .product-section::after,
  .profile-section::after {
    height: 1840px;
  }
  .reason-section::after,
  .reason-section::before {
    height: 900px;
  }
}
@media screen and (max-width: 781px) {
  /* コンテンツ部分のコンテナーの余白を追加 */
  .service-section .wp-block-column,
  .reason-section,
  .works-section,
  .message-section {
    padding: 0 1.8rem;
  }
  /* 見出し */
  .title-sub-heading,
  .title-sub-heading-L,
  .title-sub-heading-C {
    position: relative; /* z-indexを効かせるためにstaticでなくrelative */
    top: 20px; /* 位置を通常の文脈に戻す */
    left: auto;
    right: auto;
    text-align: left; /* 中央寄せなど好みに応じて */
    z-index: 2;
    transform: none;
  }
  h2.title-heading {
    margin-top: 0;
    margin-bottom: 4rem;
    text-align: left;
  }
  .wp-block-columns.column-reverse {
    flex-direction: column-reverse !important;
  }
  /* reason */
  .reason01__content-bg {
    top: -50px;
    left: auto;
  }
  .reason02__content-bg {
    top: -50px;
    right: auto;
    z-index: 2;
  }
  .reason-section .button-group {
    position: relative;
    top: -3rem;
  }
  .reason-section .number {
    top: -20%;
  }
  .reason01__content-bg,
  .reason02__content-bg {
    width: auto;
  }
  .reason-section::after,
  .reason-section::before {
    height: 1800px;
  }
  /* facilities */
  .facilities-section h2.title-heading,
  .message-section h2.title-heading,
  .recruit-section h2.title-heading {
    margin-bottom: 0;
  }
  .facilities-section .number,
  .recruit-section .number,
  .product-section .number {
    top: -18%;
  }
  .contact-section .tel-wrap {
    border-right: none;
  }
  .contact-wrap {
    padding-top: 0;
  }
}
@media screen and (max-width: 640px) {
  /* br */
  .br-sp {
    display: inline-block !important;
    width: 100%;
  }
  .br-tab {
    display: none;
  }
  .br-pc {
    display: none;
  }
  .text-left-sp {
    text-align: left !important;
  }
  .main-visual {
    clip-path: polygon(43% 0, 100% 0, 100% 72%, 41% 72%, 25% 38%);
  }
  .main-visual img {
    object-fit: cover;
    object-position: 30% 10% !important;
    width: 100%;
    height: 100%;
  }
  /* service */
  .bbs {
    top: 30px;
  }
  /* reason */
  .reason__image01 img,
  .reason__image02 img {
    height: 260px;
  }
  .reason-section .button-group {
    position: relative;
    top: -3rem;
  }
  .reason-section .number {
    top: -28%;
  }
  .facilities-section .number,
  .product-section .number {
    top: -22%;
  }
  .recruit-section .number {
    top: -26%;
  }
  /* facilities */
  /* works */
  .works-section::before {
    top: 280px;
    height: 280px;
  }
  .works-section::after {
    top: 280px;
    height: 280px;
  }
  /* message */
  .message-section::after {
    height: 220px;
  }
  /* recruit */
  .recruit-section .recruit-group.is-layout-flex {
    display: block !important; /* flex解除 */
    gap: 0 !important; /* gap無効化（blockには効かない） */
    margin-bottom: 2rem; /* 下余白は必要に応じて調整 */
  }
  /* news */
  .news-section,
  .instagram-section {
    padding-top: 0 !important;
  }
  /* contact */
  #menu-footer1 {
    flex-direction: column;
    align-items: flex-start; /* 左寄せにしたい場合 */
  }
  #menu-footer1 li {
    margin-bottom: 0.2rem; /* 下に余白をつけると見やすい */
  }
  .l-footer.l-footer--footer-2 .button {
    width: 100% !important;
  }
  /* 下層ページ */
  .c-page-header,
  .works-template-default .c-page-header {
    height: 240px !important;
    text-align: left;
    background-color: var(--color_glay);
  }
}
@media screen and (max-width: 900px) and (orientation: landscape) {
  .contact-section .c-container,
  .c-fluid-container11 {
    padding-left: 0;
    padding-right: 0;
  }
}
