/* color設定 */
:root {
  --color_white: #ffffff;
  --color_black: #1c1c1c;
  --color_lightglay: #f3f3f3;
  --color_darkglay: #dedede;
  --color_blue: #0668bf;
  --color_darkblue: #004582;
  --color_red: #d2161b;
  --color-green: #289799;
  --color-linegreen: #00c300;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
  font-weight: 400;
  color: var(--color_black);
}

.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;
}
.z_0 {
  z-index: 0;
}
.z_1 {
  z-index: 1;
}
.z_2 {
  z-index: 2;
}
.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;
}
/* アイコン 終わり*/
/* ボタン */
/* 共通：アイコンを置くための基準設定 */
.page-id-23 .smb-btn,
.btn-tel .smb-btn,
.btn-mail .smb-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem;
  padding: 1rem 4rem 1rem 4rem !important;
  border-radius: 40px;
  width: 340px;
}
.btn-tel .smb-btn__label,
.btn-mail .smb-btn__label {
  margin-left: 20px;
  font-weight: 700;
}
/* 共通：アイコン表示用の疑似要素 */
.btn-tel .smb-btn::before,
.btn-mail .smb-btn::before {
  content: "";
  position: absolute;
  /* アイコンの位置（ボタン左端からの距離。適宜調整してください） */
  left: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  transition: all 0.3s ease;
}

/* パターン1：電話アイコン (.btn-tel) */
.btn-tel .smb-btn::before {
  width: 100px;
  height: 30px;
  background-image: url("/wp-content/uploads/2026/01/ico-phone-white.png");
}

/* パターン2：メールアイコン (.btn-mail) */
.btn-mail .smb-btn::before {
  width: 40px;
  height: 20px;
  background-image: url("/wp-content/uploads/2026/01/ico-mail-white.png");
}

.wp-block-button__link {
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
  width: 420px !important;
  height: 70px !important;
  padding: 16px 34px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  border-radius: 0 !important;
  background-color: var(--color_red);
  border: 2px solid var(--color_red);
  transition: color 0.25s ease;
  font-weight: 900;
}

/* 背景スライド */
.wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color_white) !important;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  z-index: -1;
}

.wp-block-button__link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* 文字色（ここが重要） */
.wp-block-button__link,
.wp-block-button__link span {
  position: relative;
  z-index: 0;
}

/* 矢印 */
.wp-block-button__link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background-color: var(--color_white);
  box-shadow: 8px 0 0 0 var(--color_white);
  z-index: 1;
}

.wp-block-button__link:hover::after {
  background-color: var(--color_red);
  box-shadow: 8px 0 0 0 var(--color_red);
}

.wp-block-button__link::after {
  pointer-events: none;
}
/* テーマ側の :root :where() 指定に勝つ（hover時の文字色） */
:root :where(.wp-element-button, .wp-block-button__link):hover,
:root :where(.wp-element-button, .wp-block-button__link):hover * {
  color: var(--color_red) !important;
}
/* Snow Monkey / WPデフォルトのhover効果を無効化 */
.wp-block-button__link:hover {
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* グローバルナビ */
#menu-g_nav {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: relative;
  top: 25px;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--color_blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.c-navbar__item {
  flex: 1;
  text-align: center;
}
.l-center-header .p-global-nav .c-navbar__item > a:hover {
  opacity: 0.6;
  transition: all 0.4s ease;
}
.l-center-header .p-global-nav .c-navbar__item > a {
  display: block;
  padding: 1.5rem 3rem;
  color: var(--color_white);
  text-decoration: none;
  background-color: var(--color_blue);
  transition: 0.3s;
}
.l-center-header .p-global-nav .c-navbar__item > a {
  position: relative;
}
.c-navbar__item:not(:first-child) > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40%;
  background-color: var(--color_darkblue);
}
.c-site-branding__title .custom-logo {
  width: 340px;
}
[data-scrolled="true"] .l-header--sticky-overlay-colored-sm {
}
.p-global-nav .c-navbar__item > a:hover {
}
.l-1row-header .c-fluid-container {
  padding-right: 0;
}
[data-scrolled="false"]
  .home
  .l-header--sticky-overlay-colored-lg
  .p-global-nav
  .c-navbar__item
  > a {
  color: var(--color_white);
}
[data-scrolled="false"]
  .home
  .l-header--sticky-overlay-colored-lg
  .p-global-nav
  .c-navbar__item
  > a:hover,
[data-scrolled="false"]
  .l-header--sticky-overlay-colored-lg
  .p-global-nav
  .c-navbar__item
  > a:hover {
  color: var(--color_darkblue);
}
[data-scrolled="false"]
  .l-header--sticky-overlay-colored-lg
  .p-global-nav
  .c-navbar__item
  > a {
  color: var(--color_black);
}
/* グローバルメニュー：アクティブ時 */
.page-id-23 .c-navbar__item[data-active-menu="true"] > a span {
  /* color: var(--color_white); */
}
.p-global-nav .c-navbar__item.header_cta > a {
  background-color: var(--wp--preset--color--sm-accent);
}
.p-global-nav .c-navbar__item.tel > a {
  font-size: 1rem;
}
.p-global-nav .c-navbar__item.contact > a {
  font-weight: 500;
}
/*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;
}
/* #menu-item-30 {
  background-color: var(--color_red);
}
#menu-item-30:hover {
  background-color: var(--color_blue);
}
#menu-item-30 a {
  color: var(--color_white);
}
#menu-item-30 a:hover {
  color: var(--color_darkblue) !important;
  box-shadow: none;
}
  */
#menu-item-30 a span::before {
  content: "";
  display: block;
  width: 24px;
  height: 16px;
  background-image: url("/wp-content/uploads/2025/12/ico-mail.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 5px;
}
/* ヘッダー */
/* 親要素を横並びにする */
.header-action-area {
  display: flex;
  align-items: center;
  gap: 15px; /* ボタン同士の間隔 */
}
.header-action-area .insta-link-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color_blue);
  font-size: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.header-action-area .insta-link-circle:hover {
  opacity: 0.4;
}
/* お問い合わせボタンの装飾 */
.header-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color_white);
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: var(--color_blue) solid 2px;
  color: var(--color_blue);
}
.header-contact-btn::before {
  content: "";
  display: block;
  width: 24px;
  height: 16px;
  background-image: url("/wp-content/uploads/2026/01/ico-mail-blue.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 10px;
  transition: background-image 0.3s ease;
}
.header-contact-btn:hover::before {
  background-image: url("/wp-content/uploads/2025/12/ico-mail.png");
}
.header-contact-btn:hover {
  background-color: var(--color_blue);
  color: var(--color_white) !important;
}
.l-center-header .c-row.c-row--between {
  justify-content: baseline !important;
  display: flex !important;
}
.l-center-header .c-row__col.u-text-center {
  text-align: left !important;
  flex: 1 !important;
  order: 1 !important;
  display: block;
}
.l-center-header .c-row__col--fit.u-invisible-md-down {
  order: 2 !important; /* ロゴの次に配置 */
  margin-left: auto !important; /* 強制的に右端へ寄せる */
}
.l-center-header .c-row__col--fit.u-invisible-lg-up.u-invisible-wall,
.l-center-header .c-row__col--fit.u-invisible-md-down[aria-hidden="true"] {
  display: none !important;
}
.c-site-branding img {
  margin-left: 0 !important;
}
.l-center-header .c-row--margin-s {
  --_gap: 0 !important;
}
@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;
  }
  .c-site-branding__title .custom-logo {
    width: 200px;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .l-1row-header__branding {
    max-width: 250px;
  }
}
@media (max-width: 1023px) {
  .c-drawer {
    background-color: var(--color_white);
    color: var(--color_black);
  }

  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 a {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color_blue);
  }
  ul#menu-sp_nav li::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color_blue);
    position: absolute;
    bottom: 0;
    left: 0;
  }
  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;
  }
  /* アイコンボタン */
  #menu-item-93,
  #menu-item-511,
  #menu-item-1382 {
    padding: 0 !important;
    background: none !important;
    margin-top: 1rem;
    display: block !important;
  }
  #menu-item-93 a,
  #menu-item-511 a,
  #menu-item-1382 a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 0;
    border-radius: 40px;
    width: 100%;
    color: var(--color_white) !important;
    text-decoration: none;
  }
  #menu-item-93 a {
    background-color: var(--color_blue);
  }
  #menu-item-511 a {
    background-color: #009dd6;
  }
  #menu-item-1382 a {
    background-color: var(--color-linegreen);
  }
  ul#menu-sp_nav #menu-item-93::after,
  ul#menu-sp_nav #menu-item-511::after,
  ul#menu-sp_nav #menu-item-1382::after {
    content: none !important;
  }
  #menu-item-93 a::before,
  #menu-item-511 a::before,
  #menu-item-1382 a::before {
    content: "";
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  #menu-item-93 a::before {
    width: 27px;
    height: 20px;
    background-image: url(/wp-content/uploads/2025/12/ico-mail.png);
  }
  #menu-item-511 a::before {
    width: 30px;
    height: 30px;
    background-image: url(/wp-content/uploads/2026/01/ico-phone-white.png);
  }
  #menu-item-1382 a::before {
    width: 30px;
    height: 30px;
    background-image: url("/wp-content/uploads/2026/01/ico-line.png");
  }
  .tel-number {
    font-optical-sizing: auto;
    font-size: 1.2rem;
  }
  .smb-btn__label.tel {
    font-size: 0.8rem;
  }
  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-hamburger-btn {
    width: 65px;
    height: 65px;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    background-color: var(--color_blue) !important;
  }
  .c-site-branding .c-container,
  .c-fluid-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .c-hamburger-btn__bar {
    height: 2px !important;
    border-radius: 30px;
    background-color: var(--color_white) !important;
  }
  .c-hamburger-btn[aria-expanded="true"]
    > .c-hamburger-btn__bars
    > .c-hamburger-btn__bar:nth-of-type(2) {
    background-color: initial !important;
  }
  .c-hamburger-btn__label {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: var(--color_white);
  }
  .l-center-header .c-row__col.u-text-center > *,
  .l-center-header .c-site-branding--has-logo img {
    margin-left: 0 !important;
  }
}
/* グローバルナビ終わり */
/* 下層ページヘッダー */
.c-page-header {
  background-color: var(--color_white);
  height: 300px !important;
  max-width: 1280px;
  margin: 0 auto;
  width: 95%;
  border-radius: 5px;
  overflow: hidden;
}
/* タイトル全体の配置を調整 */
.c-page-header__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-size: clamp(1.4rem, 1.182rem + 1.09vw, 2rem);
  color: var(--color_white);
}
.c-page-header__title::after {
  font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color_white);
}
/* 英語サブタイトルの追加 */
.page-id-21 .c-page-header__title::after {
  content: "SERVICE";
}
.page-id-19 .c-page-header__title::after {
  content: "COMPANY";
}
.page-id-171 .c-page-header__title::after {
  content: "RECRUIT";
}
.post-type-archive-works .c-page-header__title::after {
  content: "WORKS";
}
.page-id-23 .c-page-header__title::after {
  content: "CONTACT";
}
.page-id-77 .c-page-header__title::after {
  content: "PRIVACY POLICY";
  line-height: 1;
}
.blog .c-page-header__title::after,
.post-template-default .c-page-header__title::after,
.archive.category .c-page-header__title::after {
  content: "NEWS";
}
.c-page-header__meta {
  color: var(--color_white);
}
.c-page-header__bgimage {
  background-color: var(--color_black);
  display: inline-block;
}
.c-page-header__bgimage > img,
.c-page-header__bgimage > picture > img {
  /* display: none; */
  opacity: 0.4;
  display: block;
}
.single-works .c-page-header__title,
.single-post .c-page-header__title {
  /*   font-size: clamp(1.4rem, 0.818rem + 2.91vw, 3rem); */
}
.c-page-header__title
/* JSでクラスがついた瞬間にアニメーション開始 */
.c-page-header__title.is-animated {
  animation: revealCurtain 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards !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;
  clip-path: polygon(15% 0%, 100% 0, 100% 100%, 15% 100%);
  object-position: center 30%; */
}
body:not(.home):not(.front-page) .c-fluid-container {
  background-color: var(--color_white);
}
.c-page-header .c-container {
  max-width: 90%;
}
/* プライバシーポリシー */
#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;
  }
}
/*--------------------  汎用 -------------------- */
.page-header {
  position: relative;
  background-color: #e6ecf1 !important;
  border-radius: 5px;
  padding: 10px 18px 10px 32px !important;
  font-weight: 900;
  display: flex;
  align-items: center;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 4px;
  height: 24px;
  margin-top: -10px;
  border-radius: 2px;
  background-color: var(--color_blue);
}

.title-heading {
  font-size: clamp(1.6rem, 1.309rem + 1.45vw, 2.4rem);
  font-weight: 900;
  position: relative !important;
  display: table !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  overflow: hidden !important;
  color: var(--color_blue);
}
/* センター寄せ */
.title-heading.is-center {
  margin-left: auto !important;
  margin-right: auto !important;
}
/* 背景青帯 */
.title-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color_blue);
  z-index: 2;
  transform: translateX(-101%);
  pointer-events: none;
}
/* 背景青帯を動かす */
.title-heading.is-animated::before {
  animation: curtainMove 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards !important;
}
/* 文字を出す（アニメーションではなく直接色を指定） */
.title-heading.is-animated {
  color: var(--color_blue) !important;
}
/*白パターン */
.title-heading.is-white {
  color: transparent !important;
}
/* 背景白帯 */
.title-heading.is-white::before {
  background-color: var(--color_white) !important;
}
/* 背景白帯を動かす */
.title-heading.is-white.is-animated {
  color: var(--color_white) !important;
}
/* --- Firefox専用のスタイル上書き --- */
@-moz-document url-prefix() {
  /* 帯を強制的に消す */
  .title-heading::before {
    display: none !important;
  }
  /* 文字を最初から表示する */
  .title-heading {
    color: var(--color_blue) !important;
    clip-path: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* 白パターンの場合 */
  .title-heading.is-white {
    color: var(--color_white) !important;
  }
}
body:not(.home) h3.title-subheading {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color_black);
  position: relative;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color_darkglay);
  line-height: 1.6;
}
body:not(.home) h3.title-subheading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 110px;
  height: 3px;
  background: var(--color_blue);
}
.title-subheading-mincho {
  font-size: clamp(1.4rem, 1.036rem + 1.82vw, 2.4rem);
  font-weight: 700 !important;
  color: var(--color_blue);
  font-family: "Noto Serif JP", serif;
  margin-bottom: 70px !important;
  -webkit-text-stroke: 0.5px var(--color_blue);
}
.title-subheading-mincho::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 80px;
  height: 3px;
  margin-left: -40px;
  background-image: -webkit-linear-gradient(left, #005bac 0%, #39b1aa 100%);
  background-image: linear-gradient(to right, #005bac 0%, #39b1aa 100%);
}
.text-lg {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--color_blue);
}
.text-md {
  font-size: clamp(1.4rem, 1.327rem + 0.36vw, 1.6rem);
  font-weight: 700;
}
/* テーブル */
.table table,
.table tbody {
  display: block;
  width: 100%;
}
.table tbody {
  border-top: 2px solid var(--color_darkglay) !important;
  border-bottom: 1px solid var(--color_darkglay) !important;
}
.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;
  color: var(--color_black);
  border-bottom: 1px solid var(--color_darkglay) !important;
  padding: 1.2rem;
  background-color: var(--color_lightglay);
}
.table figure.wp-block-table tr td {
  border: none !important;
  border-bottom: 1px solid var(--color_darkglay) !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: 1.2rem;
}
@media screen and (max-width: 640px) {
  .table figure.wp-block-table tr td:first-child,
  .table figure tr td:last-child {
    width: 100%;
  }
  .table figure.wp-block-table tr td:first-child {
    border-bottom: 0 !important;
  }
  .table figure.wp-block-table tr td:first-child {
    padding: 0.5rem 1rem;
    vertical-align: middle !important;
  }
  .table figure tr td:last-child {
    padding: 0.5rem 1rem;
  }
}
/*--- アニメーション ---*/
/* --- アニメーション定義（共通） --- */
@keyframes curtainMove {
  0% {
    transform: translateX(-101%);
    opacity: 1;
  }
  40% {
    transform: translateX(0);
    opacity: 1;
  }
  99% {
    transform: translateX(100.5%);
    opacity: 1;
  }
  100% {
    transform: translateX(101%);
    opacity: 0; /* ここで完全に消す */
    visibility: hidden;
  }
}
@keyframes showText {
  to {
    color: var(--color_blue);
  } /* 元の色に戻す */
}
@keyframes revealCurtain {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}
/*--------------------  topページ -------------------- */
.main-visual {
  position: relative;
  z-index: 2;
  overflow: hidden; /* 擬似要素がはみ出さないように */
  border-radius: 5px;
}
.main-visual::before {
  content: "";
  position: absolute;
  inset: 0; /* top, right, bottom, left:0 のショートハンド */
  background-color: var(--color_black);
  opacity: 0.4;
  z-index: 3;
}
.main-wrap {
  position: absolute;
  z-index: 3;
  text-align: center;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color_white);
}
.main-visual__subheading {
  font-size: clamp(1.6rem, 1.018rem + 2.91vw, 3.2rem);
  font-weight: 900;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}
/* PC（画面幅768px以上）の設定 */
@media (min-width: 768px) {
  .main-visual__subheading .inline_b {
    display: inline-block;
    margin-left: 1em;
  }
}
/* スマホ（画面幅767px以下）の設定 */
@media (max-width: 767px) {
  .main-visual__subheading .inline_b {
    display: block;
    margin-left: 0;
  }
}
.main-visual__heading {
  font-size: clamp(2.6rem, 1.509rem + 5.45vw, 5.6rem);
  font-weight: 900;
  background-color: var(--color_blue);
  color: var(--color_white);
  width: fit-content;
  padding: 0 0.4em;
  line-height: 1.6;
  position: relative;
  display: inline-block;
  clip-path: inset(0 100% 0 0);
}
/* JSで .is-animated クラスがついた瞬間にアニメーションを開始 */
.main-visual__heading.is-animated {
  animation: revealCurtain 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards !important;
}
.bn-recruit {
  position: absolute;
  right: 50px;
  bottom: 4%;
  z-index: 4;
}
/* 施工実績 */
.works-section h3.title-subheading {
  font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);
  font-weight: 900;
  color: var(--color_black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.works-section h3.title-subheading::before,
.works-section h3.title-subheading::after {
  content: "";
  flex-grow: 1;
  height: 3px;
  background: var(--color_blue);
  margin: 0 20px;
  max-width: 100px;
}
.title-subheading span {
  display: flex;
  align-items: center;
}
.title-subheading span::before {
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.icon-01 span::before {
  background-image: url("/wp-content/uploads/2026/01/ico-aircon.png");
}
.icon-02 span::before {
  background-image: url("/wp-content/uploads/2026/01/ico-solar-panel.png");
}
.icon-03 span::before {
  background-image: url("/wp-content/uploads/2026/01/ico-eco-cute.png");
}
.icon-04 span::before {
  background-image: url("/wp-content/uploads/2026/01/ico-storage-battery.png");
}
.works-section .c-entry-summary {
  width: 95%;
}
.spider__dots:not([data-thumbnails="true"]) .spider__dot[aria-current="true"] {
  background-color: var(--color_white);
}
.works-section .c-entry-summary__title {
  font-size: 1rem !important;
  font-weight: normal;
}
.works-section .c-entry-summary__figure:hover img,
.post-type-archive-works .c-entry-summary__figure:hover img {
  transform: scale(1.1) !important;
}
.works-section .c-entry-summary__figure img,
.post-type-archive-works .c-entry-summary__figure img {
  transform: scale(1) !important;
  transition: 0.4s ease-in-out !important;
}
.c-entry-summary__figure {
  border-radius: 5px;
}
@media (min-width: 1024px) {
  .works-section .c-entries {
    --entries--item-width: 25%;
  }
}
/* 事業内容 */
.service-section .smb-panels__item .smb-panels__item__body,
.other-section .smb-panels__item .smb-panels__item__body {
  padding: 0;
}
.service-section .wp-block-cover,
.other-section .wp-block-cover {
  min-height: 303px !important;
  border-radius: 5px;
  position: relative;
}
.service-section .service-cover img,
.other-section .service-cover img {
  transform: scale(1);
  transition: 0.4s ease-in-out;
}
.service-section .service-cover:hover img,
.other-section .service-cover:hover img {
  transform: scale(1.1);
}
.service-title {
  font-weight: 700;
  font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);
}
.other-section .service-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 1.382rem + 1.09vw, 2.2rem);
}
.service-cover .wp-block-cover {
  position: relative;
}
.service-cover .service-group {
  width: 90%;
}
/* 親要素の相対位置を確定 */
.service-cover .smb-panels__item {
  position: relative;
}
/* 矢印アイコンの作成 */
.service-cover .smb-panels__item__action a::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border: var(--color_white) solid 1px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
/* 「く」の形（＞）の作成 */
.service-cover .smb-panels__item__action a::before {
  content: "";
  position: absolute;
  right: 37px;
  bottom: 36px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  z-index: 11;
}
/* 対応エリア */
.area-section .c-container {
  position: relative;
  overflow: visible; /* はみ出しを許容 */
}
.area-section .c-container {
  position: relative;
  min-height: 400px;
}
.area-section .map {
  position: absolute;
  right: 0;
  top: -40%;
  margin: 0 !important; /* 標準の余白を消す */
  max-width: 500px;
  width: 100%;
  z-index: 1;
}
.area-section h3 {
  color: var(--color_blue);
  font-weight: 900;
  font-size: 1.6rem;
}
/* 選ばれる理由 */
/*.reason-section .smb-section__fixed-background {
  width: 940px;
  margin: 0 auto;
}
.reason-column-left {
  margin-left: calc(50% - 50vw);
}
.reason-column-right {
  margin-right: calc(50% - 50vw);
}
  */
.greeting-section .wp-block-columns.is-layout-flex,
.reason-column-left.is-layout-flex,
.reason-column-right.is-layout-flex {
  gap: 4rem;
}
.reason-column-left .wp-block-image img {
  border-radius: 5px;
}
.reason-column-right .wp-block-image img {
  border-radius: 5px;
}
.reason-column-left strong,
.reason-column-right strong {
  color: var(--color_blue);
}
.number {
  font-size: clamp(3rem, 2.709rem + 1.45vw, 3.8rem);
  font-weight: 900;
  color: var(--color_blue);
}
.reason-column-lead {
  padding-bottom: 2rem;
}
/* 資格一覧 */
.skill-section ul.wp-block-list {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: start;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  gap: 15px 30px;
}
.skill-section ul.wp-block-list li {
  display: flex !important;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 0 !important;
}
.skill-section ul.wp-block-list li::before {
  content: "■";
  color: var(--color_blue);
  margin-right: 8px;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.skill-section {
  /*width: 40%;*/
}
.skill-section h2 {
  /* background-color: var(--color_blue);
  color: var(--color_white);
  padding: 1rem;*/
}
.skill-section .wp-block-list,
.recruit-section .wp-block-list {
  /* justify-content: center;*/
}
/* 代表挨拶 */
.greeting-section {
  margin-bottom: 150px;
}
/* CTA */
.cta-section {
  color: var(--color_white);
}
.cta-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);
}
.cta-section h2::before,
.cta-section h2::after {
  content: "";
  flex-grow: 1;
  height: 3px;
  background: var(--color_white);
  margin: 0 20px;
  max-width: 100px;
}
.cta-section h3 {
  font-size: clamp(1.2rem, 1.055rem + 0.73vw, 1.6rem);
}
.cta-section .btn-mail-white .smb-btn {
  color: var(--color_blue);
  background-color: var(--color_white);
}
.cta-section .btn-line .smb-btn,
.contact-section .btn-line .smb-btn {
  color: var(--color_white);
  background-color: var(--color-linegreen);
}
.cta-section .btn-line .smb-btn,
.cta-section .btn-mail-white .smb-btn,
.contact-section .btn-line .smb-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem;
  padding: 1rem 4rem 1rem 4rem !important;
  border-radius: 40px;
  width: 360px;
}
.cta-section .btn-line .smb-btn__label,
.cta-section .btn-mail-white .smb-btn__label,
.contact-section .btn-line .smb-btn__label {
  margin-left: 20px;
  font-weight: 700;
}
/* 共通：アイコン表示用の疑似要素 */
.cta-section .btn-line .smb-btn::before,
.cta-section .btn-mail-white .smb-btn::before,
.contact-section .btn-line .smb-btn::before {
  content: "";
  position: absolute;
  left: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  transition: all 0.3s ease;
}
/* LINEアイコン */
.cta-section .btn-line .smb-btn::before,
.contact-section .btn-line .smb-btn::before {
  width: 50px;
  height: 50px;
  background-image: url("/wp-content/uploads/2026/01/ico-line.png");
}
/* メールアイコン */
.cta-section .btn-mail-white .smb-btn::before {
  width: 40px;
  height: 20px;
  background-image: url("/wp-content/uploads/2026/01/ico-mail-blue.png");
}
.page-id-23 .contact-section,
.page-id-171 .contact-section {
  background-color: var(--color_lightglay);
  border-radius: 5px;
  border: var(--color_darkglay) 3px solid;
  padding: 2rem !important;
}
.page-id-23 .contact-section h2,
.page-id-171 .contact-section h2,
#form h2 {
  color: var(--color_blue);
  font-weight: 900 !important;
}
.telnumber {
  font-size: 1.4rem;
  font-weight: 900;
}
.telnumber a {
  font-style: normal;
  font-size: clamp(1.8rem, 1.436rem + 1.82vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.5px !important;
  text-decoration: none;
  color: var(--color_black);
  transition: color 0.4s ease;
}
.telnumber a:hover {
  color: var(--wp--preset--color--sm-accent);
}
/* 会社概要・採用情報 */
.other-section .service-cover .smb-panels__item {
  position: relative;
}
.other-section .service-cover .smb-panels__item__action a::after {
  content: "";
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: var(--color_white) solid 1px;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.other-section .service-cover .smb-panels__item__action a::before {
  content: "";
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-60%, -50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  z-index: 11;
}
/* テキストエリア */
.other-group {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -60%);
  width: 100%;
  z-index: 5;
  text-align: center;
}
/* ボタン全体を包むコンテナの調整 */
.c-btn-request {
  text-align: center;
  padding: 10px 0;
}
.c-btn-request a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 650px;
  width: 100%;
  font-size: clamp(1.2rem, 1.127rem + 0.36vw, 1.4rem);
  height: 100px;
  margin: 0 auto;
  padding-left: 130px;
  border-radius: 5px;
  border: 1px solid var(--color_darkglay);
  transition: 0.3s;
  text-decoration: none;
  font-weight: 700;
  overflow: hidden;
  background-color: var(--color_white);
}
.c-btn-request a::before,
.c-btn-request a::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: 0.3s;
}
.c-btn-request a::after {
  left: 105px;
  width: 1px;
  height: 50%;
}
.c-btn-request a span::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color_darkglay);
  border-right: 2px solid var(--color_darkglay);
  transform: translateY(-50%) rotate(45deg);
}
.c-btn-request.is-email a {
  color: var(--color_blue);
}
.c-btn-request.is-email a::before {
  left: 40px;
  width: 41px;
  height: 28px;
  background: url("/wp-content/uploads/2026/01/ico-mail-blue.png") no-repeat
    center/contain;
}
.c-btn-request.is-email a::after {
  background-color: var(--color_blue);
}
.c-btn-request.is-support a {
  color: var(--color-green);
}
.c-btn-request.is-support a::before {
  left: 40px;
  width: 50px;
  height: 60px;
  background: url("/wp-content/uploads/2026/01/ico-support.png") no-repeat
    center/contain;
}
.c-btn-request.is-support a::after {
  background-color: var(--color-green);
}
.c-btn-request a:hover {
  background-color: #f8f9fa;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* アクセス */
.map iframe {
  border-radius: 5px;
}
/* フッター */
.l-footer {
  border-top: none !important;
}
.l-footer.l-footer--footer-2 {
  background-color: var(--color_black) !important;
  color: var(--color_white);
}
.l-footer--footer-2 .l-footer__body {
  border-top: none;
}
.l-footer--footer-2 .l-footer__header {
  padding-bottom: 0;
  padding-top: 0;
}
.l-footer__branding .c-site-branding.c-site-branding--has-logo {
  display: none !important;
}
.l-footer--footer-2 .l-footer__footer {
  background-color: var(--color_black);
  color: var(--color_white);
}
.l-footer__footer .c-row {
  justify-content: center !important;
}
.wp-image-1429 {
  width: 280px;
}
#block-20 a:nth-of-type(1) {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color_white);
  text-decoration: none;
  transition: all 0.3s ease;
}
#block-20 a:nth-of-type(2) {
  font-weight: 700;
  color: var(--color_white);
  text-decoration: none;
  transition: all 0.3s ease;
}
#block-20 .insta-link-circle {
  font-size: 40px !important;
}
#block-20 a:hover {
  color: var(--color_blue);
}
@media (min-width: 1024px) {
  .c-row > .l-footer-widget-area__item:nth-child(3) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* ▼ メニュー項目の横並び設定 */
#menu-footer1 {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}
#menu-footer1 li {
  display: flex !important;
  flex-wrap: wrap !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;
}
/*--------------------  下層ページ -------------------- */
/* 事業内容 */
.trouble-list-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color_blue);
}
.trouble-list .wp-block-list {
  display: block;
  margin-top: 0.6em;
}
.trouble-list {
  border: var(--color_darkglay) solid 3px;
  padding: 1rem;
  border-radius: 5px;
}
/* 採用情報 */
.recruit-section,
.recruit-section h3.title-subheading {
  color: var(--color_white);
}
.recruit-section .recruit-point .text-lg,
.recruit-section .recruit-point .text-md {
  text-align: center;
}
.recruit-section .text-md li {
  font-weight: 900;
  font-size: 1.6rem;
}
.recruit-section .recruit-column.wp-block-columns.is-layout-flex,
.recruit-section .recruit-tag-column.wp-block-columns.is-layout-flex {
  gap: 40px;
}
.recruit-point {
  background: var(--color_white);
  border-radius: 5px;
  padding: 1rem 2rem;
  border: var(--color_darkglay) 3px solid;
}
.recruit-point .recruit-point-group p {
  margin-top: auto;
}
.recruit-point .text-md {
  color: var(--color_blue);
  font-weight: 900;
}
.recruit-point .recruit-point-group img {
  width: auto;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}
.recruit-section .recruit-tag {
  background-color: var(--color_white);
  border-radius: 5px;
  padding: 1rem 0;
  display: grid;
  place-items: center;
  min-height: 4vh;
}
.recruit-section .recruit-tag p {
  font-size: clamp(1.6rem, 1.455rem + 0.73vw, 2rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  color: var(--color_blue);
}
.recruit-personality {
  margin: 2rem 0;
}
.recruit-form-section h2 {
  color: var(--color_blue);
  font-weight: 900;
}
/* 施工実績 */
.works-template-default .l-contents__inner:last-child,
.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);
}
.works-template-default .c-page-header__bgimage img {
  /*display: none;*/
}
.works-template-default .c-page-header__bgimage {
  /* display: block;
  width: 100%;
  background: url(/wp-content/uploads/2025/12/solar-panel-installation-roof.jpg)
    no-repeat;
  background-size: cover;
  background-position: center;
  display: inline-block;
  object-position: center 30%;
  opacity: 0.4;*/
}
.works-template-default .c-page-header {
  background-color: var(--color_black) !important;
}
.smb-spider-slider__figure-wrapper {
  border-radius: 5px;
}
/* お問い合わせ */
/* カラムの中身（セクション）の高さを100%にして揃える */
.page-id-23 .wp-block-columns.is-layout-flex {
  align-items: stretch;
}
.page-id-23 .wp-block-column > .smb-section {
  height: 100%;
}
.page-id-23 .smb-section__inner,
.page-id-23 .smb-section__contents-wrapper,
.page-id-23 .smb-section__body {
}
.page-id-23 .smb-section__body > *:last-child {
}
.smf-form--simple-table .smf-item__col--label {
  padding-right: var(--_padding1);
  border-bottom: none;
  font-weight: 900;
  padding: 1.4rem;
  border-bottom: none;
}
.smf-form--simple-table .smf-item__col--controls {
  border-bottom: 1px solid var(--color_blue) !important;
  padding: 0 1.4rem 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: var(--color_red);
  width: fit-content;
  padding: 0.5em 0.8em;
  color: var(--color_white);
  border-radius: 5px;
}
@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_blue) !important;
    font-weight: 900;
    padding: 0 1.4rem 1.4rem;
    margin-bottom: 1.4rem;
  }
  .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_blue) !important;
    padding: 0 1.4rem 1.4rem;
    margin-bottom: 1.4rem;
  }
}
/* ボタンの基本スタイル */
.smf-action .smf-button-control__control {
  background: var(--color_blue);
  position: relative;
  transition: 0.25s;
  color: var(--color_white) !important;
  border-radius: 40px;
  font-size: 1.1rem;
  z-index: 2;
  font-weight: 400;
  min-width: 300px;
  height: 60px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700 !important;
  border: none !important;
  transition: 0.3s;
}
.smf-action .smf-button-control__control:hover {
  filter: brightness(0.8);
}
/* .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_red) !important;
  min-width: 424px;
  height: 75px;
  text-align: center !important;
  font-weight: 900 !important;
  font-size: 1.2rem !important;
  overflow: hidden !important;
  background-image: none !important;
  border: 2px solid var(--color_red);
  font-family: "Noto Sans JP", sans-serif;
}
.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: 424px;
  height: 75px;
  text-align: center !important;
  font-weight: 900 !important;
  font-size: 1.2rem !important;
  overflow: hidden !important;
  background-image: none !important;
  border: 2px solid var(--color_green);
  border-radius: inherit !important;
  font-family: "Noto Sans JP", sans-serif;
}
.smf-action .smf-button-control__control:hover {
  color: var(--color_red) !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;
}
  */
.smb-btn__label {
  font-weight: 700;
}

/*--------------------  レスポンシブ -------------------- */
@media screen and (max-width: 1500px) {
  .main-visual {
    height: auto !important;
  }
}
@media screen and (max-width: 1200px) {
  .bn-recruit {
    width: 20%;
    right: 30px;
  }
  .l-center-header .p-global-nav .c-navbar__item > a {
    padding: 1.5rem;
  }
}
@media screen and (max-width: 1024px) {
  /* br */
  .br-pc {
    display: none;
  }
  .br-sp {
    display: none;
  }
  .br-tab {
    display: block;
  }
  .text-left-sp {
    text-align: left !important;
  }
  .main-visual .smb-spider-slider .spider__slide:before,
  .main .smb-spider-slider .smb-spider-slider__figure-wrapper:before {
    padding: 300px !important;
  }
  .main-visual .wp-image-175 {
    object-position: 40% 10% !important;
  }
  .main-wrap {
  }
  .wp-block-button__link {
    width: 300px !important;
  }
  .skill-section {
    width: 100%;
  }
  .reason-section .smb-section__fixed-background {
    width: 620px;
  }
  body:not(.home):not(.front-page) .c-fluid-container {
    background-color: initial;
  }
  .area-section .c-container {
    min-height: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .area-section.column-reverse .smb-section__body {
  }
  .area-section .map {
    position: static;
    max-width: 100%;
    margin: 50px auto 20px auto !important;
    width: 100%;
    text-align: center;
  }

  .area-section .map img {
    margin: 0 auto;
    display: block;
  }
}
@media screen and (max-width: 1023px) {
  .l-footer.l-footer--footer-2 .alignright.alignright.alignright {
    float: left;
    margin-left: 0;
  }
}
@media screen and (max-width: 820px) {
  .contact-section .btn-line .smb-btn {
    width: 340px;
  }
}
@media screen and (max-width: 781px) {
  .wp-block-columns.column-reverse {
    flex-direction: column-reverse !important;
  }
  .reason-section .smb-section__fixed-background {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: -30px;
  }
  .reason-column-left.is-layout-flex,
  .reason-column-right.is-layout-flex {
    gap: 20px;
  }
  .reason-column-lead {
    padding-bottom: 0;
  }
  .cta-section .wp-block-columns.is-layout-flex {
    gap: 20px !important;
  }
  .cta-section .wp-block-column {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
  }
}
@media screen and (max-width: 640px) {
  /* br */
  .br-sp {
    display: inline-block !important;
    width: 100%;
  }
  .br-tab {
    display: none;
  }
  .br-pc {
    display: none;
  }
  /* トップページ*/
  .main .spider__figure {
    object-position: center top !important; /* 画像の上端を基準に表示 */
    transform: translateY(-80px); /* 物理的に少し上に持ち上げる */
  }
  .main-wrap {
    margin-top: 0 !important;
  }
  .main-visual {
    height: 300px !important;
  }
  .bn-recruit {
    width: 30%;
    right: 30px;
  }
  .wp-block-cover-photo {
    min-height: 200px;
  }
  .reason-section .smb-section__fixed-background {
    width: 320px;
  }
  .skill-section .wp-block-list {
    justify-content: flex-start;
  }
  .l-footer.l-footer--footer-2 .wp-block-image img {
    max-width: 140%;
  }
  #menu-footer1 {
    display: block;
  }
  #menu-footer1 li {
    margin: 1em 0;
  }
  .recruit-section .wp-block-list {
    gap: 5px 24px !important;
  }
  .cta-section .btn-line .smb-btn,
  .cta-section .btn-mail-white .smb-btn,
  .contact-section .btn-line .smb-btn {
    width: 320px;
  }
  .c-btn-request.is-email a::before {
    left: 20px;
    width: 30px;
    height: 28px;
  }
  .c-btn-request a {
    padding-left: 70px;
  }
  .c-btn-request a::after {
    left: 60px;
    width: 1px;
    height: 30%;
  }
  .service-section .wp-block-cover,
  .other-section .wp-block-cover {
    min-height: 160px !important;
    border-radius: 5px;
    position: relative;
  }
  .service-section .service-subttl {
    font-size: 0.8rem;
  }
  /* 矢印アイコンの作成 */
  .service-cover .smb-panels__item__action a::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    border: var(--color_white) solid 1px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  /* 「く」の形（＞）の作成 */
  .service-cover .smb-panels__item__action a::before {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    z-index: 11;
  }
  .other-section .service-cover .smb-panels__item__action a::after {
    content: "";
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: var(--color_white) solid 1px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .other-section .service-cover .smb-panels__item__action a::before {
    content: "";
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-60%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    z-index: 11;
  }
  /* ページヘッダー */
  .c-page-header {
    background-color: var(--color_white);
    height: 160px !important;
    max-width: 1280px;
    margin: 0 auto;
    width: 95%;
    border-radius: 5px;
    overflow: hidden;
  }
  /* 施工実績 */
  .works-template-default .table figure tr td:last-child {
    width: 100%;
  }
  .works-template-default .c-entries {
    display: block;
    --entries--item-width: 100% !important;
  }
  .works-section .wp-block-button__link {
    margin-top: 2rem;
  }
  /* お問い合わせ */
  .smf-action .smf-button-control {
    min-width: 260px;
  }
  .smf-action .smf-button-control__control {
    min-width: 260px;
  }
  .smf-action .smf-button-control + .smf-button-control {
    margin-left: 0 !important;
  }
}
