/* color設定 */
:root {
  --color_white: #ffffff;
  --color_black: #231815;
  --color_glay: #798282;
  --color_lightblue: #57b8e2;
  --color_brown: #a08362;
  --color_lightbrown: #faf6f3;
  /* --color_red: #e61919;*/
  /* --color_red: #ee634f;*/
  --color_red: #ff4242;
}
/* Safari（iPad）解消 */
html,
body {
  overflow-x: hidden;
}
.p-breadcrumbs-wrapper {
  position: relative;
  z-index: 1000;
}
.c-breadcrumbs a {
  pointer-events: auto;
}
body {
  font-family: "Shippori Mincho B1", serif;
  letter-spacing: 1px;
  font-weight: 400;
  font-style: normal;
  color: var(--color_black);
  background-color: #faf6f3;
  line-height: 2.4em;
}

.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_10 {
  z-index: 10;
}
.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;
}
.red {
  color: var(--color_red);
}
.blue {
  color: var(--color_lightblue);
}
/* br*/
.br-sp {
  display: none;
}
.br-tab {
  display: none;
}
.br-pc {
  display: block;
}
/* 基本設定 終わり*/
/* アイコン */
:not(#page-top) svg.svg-inline--fa {
  margin-right: 4px;
}
.p-global-nav--hover-extend-underline .c-navbar__item.cta:hover > a:after {
  width: 0;
}
/* アイコン 終わり*/
/* ボタン */
/*a.smb-btn,
.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;
}
 */
/* グローバルナビ */
/*[data-scrolled="true"] .l-header .svg-inline--fa {
  display: none !important;
} */
.l-header .c-row > .c-row__col {
  padding-left: 0;
}
.menu-item-has-children.submenu-open > .c-navbar__submenu {
  display: block !important;
  opacity: 1;
  visibility: visible;
}
.l-1row-header .c-fluid-container {
  padding-right: 0;
}
@media screen and (min-width: 1023px) {
  [data-scrolled="false"] .home h1.c-site-branding__title {
    /*display: none !important;*/
  }
}
.l-1row-header__branding {
  display: block !important;
}

[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: var(--color_black);
}
.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;*/
}
.c-row__col.c-row__col--fit.u-invisible-md-down {
  padding: 10px 100px 0 0 !important;
}
#menu-g_nav:not(#page-top) svg.svg-inline--fa {
  margin-right: 0 !important;
  margin-bottom: 10px;
}
.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;
}
@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-drawer {
    background-color: var(--color_black) !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;
  }

  .c-hamburger-btn__label {
    display: block;
    font-family: "Shippori Mincho B1", serif;
    font-size: 12px;
    font-weight: 700;
    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;
  }

  ul#menu-sp_nav {
    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__item {
    padding-bottom: 20px;
    font-size: 1rem;
    text-align: left;
    padding-top: 18px;
  }

  ul#menu-sp_nav li::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #595959;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  ul#menu-sp_nav li ul li::after {
    background-color: initial;
  }

  #menu-item-1293.sp-logo {
    height: 60px;
    background: url("/wp-content/uploads/2025/04/logo-wh02.png") no-repeat
      center left / contain !important;
    margin-bottom: 1rem !important;
  }

  #menu-item-1293.sp-logo::after {
    display: none;
  }
}

/* 1024px～1366px ドロワーメニュー非表示 */
@media (min-width: 64em) and (max-width: 1023px) {
  .u-invisible-md-down {
    display: none !important;
  }
}

/* 1366px以降 ドロワーメニュー表示 */
@media (max-width: 1023px) {
  .u-invisible-lg-up {
    display: block !important;
  }
  [data-scrolled="true"] .l-header--sticky-overlay-colored-lg {
    box-shadow: none !important;
  }
  [data-scrolled="false"]
    .l-header--sticky-overlay-colored-sm
    .c-hamburger-btn__bar {
    background-color: var(--color_white);
  }
  [data-scrolled="false"] .c-hamburger-btn__label {
    color: var(--color_white);
  }
  .c-site-branding__title {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .c-site-branding__title a {
    display: block;
  }
  .c-site-branding__title img {
    display: block;
    /* max-height: 50px;
    height: auto !important;*/
    width: auto !important;
  }
}

/* グローバルナビ終わり */
/* 下層ページヘッダー */
.c-page-header__title {
  font-weight: 700;
  color: var(--color_white);
  font-size: clamp(1.8rem, 1.364rem + 2.18vw, 3rem);
}
.c-page-header {
  background-color: initial;
  height: 320px !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 {
  background-color: var(--color_black);
  display: inline-block;
}
.c-page-header__bgimage > img,
.c-page-header__bgimage > picture > img {
  display: initial;
  opacity: 0.5;
}
/* プライバシーポリシー */
#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;
}
/*--------------------  スクロール時　ロゴ変更 -------------------- */
@media (min-width: 64em) {
  [data-scrolled="false"] .logoTop + .custom-logo-link {
    display: none;
  }

  /* スクロールしていな状態ではカラーロゴ非表示 */
  [data-scrolled="true"] .logoTop {
    display: none;
  }
}

@media screen and (max-width: 64em) {
  [data-scrolled="false"] .logoTop + .custom-logo-link {
    display: none;
  }

  [data-scrolled="true"] .logoTop {
    display: none;
  }

  .c-site-branding__title .custom-logo-2 {
    width: 300px !important;
  }

  .c-site-branding__title .custom-logo {
    width: 200px !important;
  }
}

.l-footer__branding {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--_container-max-width);
}

.c-site-branding__title .custom-logo {
  width: 280px;
}

@media (max-width: 1366px) {
  .c-site-branding__title .custom-logo,
  .c-site-branding__title .custom-logo-2 {
    /* width: 210px !important;*/
  }
}

/*--------------------  スクロール時　ロゴ変更　終わり -------------------- */
/*--------------------  共通 -------------------- */
/*--- リセット ---*/
.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%);
}
/*--- ボタン ---*/
.smb-btn:hover {
  filter: brightness(100%) !important;
}
a.smb-btn {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid var(--color_black);
  z-index: 0; /* 擬似要素より上に保つ */
  background-color: var(--color_black);
  position: relative;
  transition: 0.25s;
  color: var(--color_white) !important;
  border-radius: 30px;
  font-size: 1.1rem;
  z-index: 2;
  font-weight: 700;
  min-width: 250px;
  height: 60px;
  line-height: 35px;
}
a.smb-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--color_red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 1s ease 0s, height 1s ease 0s, opacity 1s ease 0.2s;
  opacity: 0;
  z-index: -1;
}
.mail a.smb-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--color_lightblue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 1s ease 0s, height 1s ease 0s, opacity 1s ease 0.2s;
  opacity: 0;
  z-index: -1;
}
a.smb-btn:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
}
/*--- 見出し ---*/
.title-heading {
  font-size: clamp(2.8rem, 1.273rem + 7.64vw, 7rem);
  margin-top: 0;
  font-weight: 400 !important;
  font-style: normal;
  text-align: center;
  z-index: 2;
  line-height: 1.2;
}
.title-heading-sub {
  font-size: clamp(1.4rem, 1.182rem + 1.09vw, 2rem);
  margin-bottom: 4rem;
}
.zen-old-mincho {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.2em;
  line-height: 1.4em;
}
/* 右寄せ・左寄せ・中央寄せを設定するタグのスタイル */
.vertical-text-outer {
  text-align: center;
}
.vertical-text-outer-right {
  text-align: right;
}
/* 縦書き設定・カラム数設定・height設定用タグのスタイル */
.vertical-text-inner {
  writing-mode: vertical-rl;
  text-align: start; /* justifyだとSafariで予期せぬ改行あり */
  column-count: 1;
  column-gap: 1em;
  display: inline-block;
  white-space: nowrap; /* ← 英字を1行に保つ */
  line-break: strict;
  word-break: keep-all;
  -webkit-line-break: after-white-space;
  -webkit-writing-mode: vertical-rl; /* Safari用 */
}
@media screen and (orientation: landscape) and (max-device-width: 1366px) {
  .hietory .vertical-text-inner {
    height: 100vh;
    max-height: 100dvh;
  }
}
.v-digit {
  display: inline-block;
  text-combine-upright: all;
  margin-bottom: -0.2em;
}
.history .v-digit:first-of-type {
  margin-top: -0.5em;
}
/* 縦線center */
.heading-with-vertical-line {
  position: relative;
  text-align: center;
  padding-bottom: 5rem;
}
.heading-with-vertical-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 52px; /* 縦線の長さ */
  background-color: var(--color_black);
}
.about .heading-with-vertical-line::after,
.history .heading-with-vertical-line::after,
.business-column .heading-with-vertical-line::after {
  background-color: var(--color_white) !important;
}
/* 縦線left */
.heading-with-vertical-line-left {
  position: relative;
  text-align: left;
  padding-bottom: 5rem;
}
.heading-with-vertical-line-left::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 88px; /* 縦線の長さ */
  background-color: var(--color_black);
}
.history .heading-with-vertical-line-left::after,
.careerpath .heading-with-vertical-line-left::after {
  background-color: var(--color_white) !important;
}
/* テーブル */
.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%;
  }
}
/*--------------------  topページ -------------------- */
.logo-wh {
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 2%;
  width: 400px;
}

@media (max-width: 1023px) {
  .logo-wh {
    display: none;
  }
}
/* MV */
.main-visual {
  height: 100vh;
  z-index: 2;
}
.main-wrap {
  position: absolute;
  z-index: 3;
  text-align: center;
  width: 85%;
  color: var(--color_white);
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700 !important;
  font-style: normal;
}
.hero-copy {
  font-size: clamp(2rem, 1.273rem + 3.64vw, 4rem);
  line-height: 1.5;
  font-weight: 700;
}
.hero-copy-sub {
  font-size: clamp(1.6rem, 1.309rem + 1.45vw, 2.4rem);
  line-height: 1.5;
  font-weight: 700;
}
.bt-recruit {
  position: absolute;
  bottom: 50px;
  right: 50px;
  z-index: 2;
}
.bt-recruit img {
  width: 210px;
}
/* 私たちについて */
.since-wrap {
  margin: clamp(4rem, 10vw, 10rem) 0 2rem 0;
}
.since {
  font-size: clamp(2.8rem, 2.073rem + 3.64vw, 4.8rem);
  font-weight: 400 !important;
  font-style: normal;
  position: absolute;
  top: -48px;
  left: 180px;
  margin-bottom: 10rem !important;
}
.since-txt,
.odometer {
  font-size: clamp(3.2rem, 1.6rem + 8vw, 7.6rem) !important;
  text-align: center;
}
.odometer-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2em; /* 数字とハイフンの間隔 */
}
.odometer,
.mid-dash {
  margin: 0 !important;
  padding: 0 !important;
}
.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
  font-family: "Shippori Mincho B1", serif !important;
  line-height: 1;
}
.odometer .odometer-digit {
  width: 0.55em; /* 数字の幅を固定 */
}
.mid-dash {
  display: inline-block;
  font-size: 0.6em;
  margin: 0 0.2em;
}
.about-concept {
  position: sticky !important;
  top: -300px; /* 画面上部に固定 */
  z-index: 1; /* 最前面に */
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
  backdrop-filter: blur(0); /* Safari対応 */
  filter: none !important;
  filter: blur(0) !important;
}
.about-concept__heading {
  margin-bottom: 6rem;
}
.bg-cover .zen-old-mincho {
  font-size: clamp(1.8rem, 1.509rem + 1.45vw, 2.6rem);
}
/* ▼ iOS以外では完全に非表示・無効化 */
.ios-fixed-bg.about-bg-only {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ▼ iOSのみで表示 */
@supports (-webkit-touch-callout: none) {
  .ios-fixed-bg.about-bg-only {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: url("/wp-content/uploads/2025/06/bg-aboutus02.jpg");
    background-size: cover;
    background-position: 80% 30%;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .home .bg-cover {
    background: none !important;
  }
}
@supports (-webkit-touch-callout: none) {
  .history.bg-cover {
    background-attachment: scroll !important;
  }
}

.home section:not(.about),
.home footer,
.home .slider-wrapper {
  background-color: var(--color_lightbrown);
  position: relative;
  z-index: 1;
}

.bg-cover {
  color: var(--color_white);
  background-image: url("/wp-content/uploads/2025/06/bg-aboutus02.jpg");
  background-size: cover;
  background-attachment: fixed; /* ← ここがポイント！ */
  background-position: 80% 30%;
  background-repeat: no-repeat;
  padding-bottom: 120px !important;
  position: sticky;
}
.bg-cover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none; /* 画像のクリックなどを邪魔しない */
  z-index: 0; /* 最背面にする */
}
.bg-cover::before {
  content: "";
  display: block;
  width: 100%;
  height: 8%;
  position: absolute;
  left: 0;
  bottom: -1px;
  background: linear-gradient(
    0deg,
    rgba(250, 246, 243, 1) 0%,
    rgba(247, 243, 235, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.about-img-wrap {
  margin-top: 320px !important;
}
.about-img01 {
  width: 417px;
  margin-left: 0 !important;
  margin-top: -64px;
  /*  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;*/
}
.blur-img {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: all 1.5s ease;
}

.blur-img.fade-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-img02 {
  width: 398px;
  margin-right: 0 !important;
  margin-top: 100px;
}
.about-img03 {
  width: 317px;
  margin-left: 10% !important;
  margin-top: 100px;
}
.about-img04 {
  width: 314px;
  margin-right: 100px !important;
  margin-top: 100px;
}
.about-img05 {
  width: 449px;
  margin-left: -100px !important;
  margin-top: 100px;
}
.about-img06 {
  width: 100%;
  margin-bottom: 5rem !important;
}
/* 事業内容 */
.business .wp-block-column {
  margin: 5rem 0 0 0 !important;
}
.business .zen-old-mincho,
.history .zen-old-mincho {
  font-size: clamp(1.6rem, 0.945rem + 3.27vw, 3.4rem);
  font-weight: 700 !important;
}
.blur-logo {
  position: absolute;
  top: 80px;
  right: 0;
  z-index: -1;
}
.business .business-column {
  margin-top: 6rem;
}
.business-column .zen-old-mincho {
  font-size: 2rem;
  font-weight: 700 !important;
}
.business .smb-section__background {
  clip-path: inset(25px 20px 10px round 5px) !important;
}
.business .smb-panels__item .smb-panels__item__body {
  padding: 0;
}
.business .wp-block-cover {
  height: 429px !important;
}
.business-column .smb-panels:nth-of-type(1) {
  width: 80%;
}
.business-column .smb-panels:nth-of-type(2) .c-row__col:first-child {
  flex: none; /* 自動サイズ解除 */
  width: 100%;
  transform: translateX(-5%);
  margin-top: 5%;
}
.business-column .smb-panels:nth-of-type(2) .c-row__col:last-child {
  flex: none;
  width: 100%;
  transform: translateX(5%);
  margin-top: 5%;
}
.business-column .vertical-text-outer {
  position: absolute;
  left: 80px;
  top: -120px;
}
.business-column .business-column-text {
  position: absolute;
  right: 0;
  bottom: -180px;
  width: 70%;
}
.business-column .business-column-mid {
  position: relative;
  left: 2rem;
  padding-right: 2rem;
}
.business-column .business-column-bg {
  right: calc(-1 * var(--wp--style--root--padding-right, 2rem));
  background-color: var(--color_red);
  padding: 0.5em 1rem;
  padding-right: 2em;
}
.business-column .business-cover img,
.careerpath-profile .careerpath-profile-cover img {
  transform: scale(1);
  transition: 0.4s ease-in-out;
}
.business-column .business-cover:hover img,
.careerpath-profile .careerpath-profile-cover:hover img {
  transform: scale(1.1);
}
/* 施工実績 */
.zen-old-mincho.title-heading {
  letter-spacing: 0;
}
.vertical-text-row {
  display: flex;
  flex-direction: row;

  gap: 1.5rem; /* 文字間の余白を調整 */
}
.bbs {
  align-items: center;
  display: flex;
  /*overflow: hidden;*/
  white-space: nowrap;
  width: 100%;
}
.bbs ul {
  animation: flowing 180s linear infinite;
  transform: translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs ul li {
  display: inline-block;
  padding-right: 60px;
  font-family: "Shippori Mincho B1", serif;
  letter-spacing: 1px;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(6rem, 3.818rem + 10.91vw, 12rem);
  color: var(--color_brown);
  opacity: 0.4;
}
@keyframes flowing {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}
.bg-circle-blue-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -2;
}
.bg-circle-blur {
  position: absolute;
  top: 400px;
  right: -10%;
  z-index: -1;
}
.bg-circle-orange-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -10;
}
.bg-circle-blur img {
  width: 100%;
}
/* 東洋社が選ばれる理由 */
.reason .is-layout-flex {
  gap: 80px;
}
.main-reason01__image01 {
  margin-right: -80%;
}
.main-reason01__image01 figure {
  width: 40%;
  min-width: auto;
  z-index: 2;
}
.main-reason01__image02 {
  margin-top: -10%;
}
.main-reason01__image02 figure {
  min-width: auto;
}
.readon01-bg,
.reason03-bg {
  position: absolute;
  top: -10%;
  left: 0;
  opacity: 0.2;
  color: var(--color_brown);
  z-index: 0;
}
.readon02-bg {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.2;
  color: var(--color_brown);
  z-index: 0;
}
@supports (-webkit-touch-callout: none) {
  .readon02-bg {
    right: 80px;
  }
}
.main-reason01,
.main-reason02,
.main-reason03 {
  padding: 6rem 0;
}
/* お問い合わせ */
.contact {
  color: var(--color_white);
  padding: clamp(4rem, 6vw, 8rem) 0;
}
.contact .title-heading {
  text-align: left !important;
}
.contact a {
  text-decoration: none !important;
}
.contact .button {
  font-size: 1rem !important;
  width: 500px;
  border-radius: 5px;
  color: var(--color_white);
}
.contact .button > svg {
  top: 38%;
}
.contact .button.tel {
  position: relative;
  overflow: hidden;
  display: inline-block;
  height: 183px !important;
  line-height: 183px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color_black);
  opacity: 0.9;
  line-height: normal !important;
  border: var(--color_white) solid 1px !important;
  padding: 1em;
  transition: all 0.25s ease;
  text-decoration: none;
}
.contact .button.tel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--color_red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 1s ease, height 1s ease, opacity 1s ease 0.2s;
  opacity: 0;
  z-index: -1;
}
.contact .button.tel:hover::before {
  width: 600px;
  height: 600px;
  opacity: 1;
}
.contact .button.tel:hover {
  border: 1px solid var(--color_brown);
  color: var(--color_white) !important;
}
.contact .button.mail {
  position: relative;
  overflow: hidden;
  display: inline-block;
  height: 160px !important;
  line-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color_red);
  opacity: 0.9;
  line-height: normal !important;
  border: var(--color_white) solid 1px !important;
  padding: 1em;
  transition: all 0.25s ease;
  text-decoration: none;
}
.contact .button.mail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--color_lightblue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 1s ease, height 1s ease, opacity 1s ease 0.2s;
  opacity: 0;
  z-index: -1;
}
.contact .button.mail:hover::before {
  width: 600px;
  height: 600px;
  opacity: 1;
}
.button.mail:hover {
  border: 1px solid var(--color_brown);
  color: var(--color_white) !important;
}
.contact .button.tel .tel-number {
  font-family: "Hina Mincho", serif;
}
.contact .button.tel .tel-number strong {
  font-size: clamp(2rem, 1.564rem + 2.18vw, 3.2rem);
  font-weight: normal;
}
.contact .button.mail strong {
  font-size: clamp(1.2rem, 1.055rem + 0.73vw, 1.6rem);
  font-weight: normal;
}
.contact .button.mail svg {
  font-size: 1.5em;
}
.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}
.contact img {
  filter: blur(5px) !important;
}
.contact .wp-block-column.is-layout-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 代表取締役あいさつ */
.message {
  padding: clamp(4rem, 8vw, 10rem) 0 !important;
}
.message-column {
  gap: 4rem;
  margin-left: calc(-11vw + 8%) !important;
  margin-top: 6rem;
}
.message-column > .wp-block-column {
  flex-basis: auto !important;
  max-width: none !important;
}
.message .wp-block-columns {
  flex-direction: initial !important;
}
/* 左カラム（画像） */
.message-column > .wp-block-column:first-child {
  flex: none;
  width: 561px;
  padding-left: 0;
  margin-left: 0;
}
.name,
.history h3 {
  font-size: clamp(1.2rem, 1.091rem + 0.55vw, 1.5rem);
}
.name span,
.history h3 span {
  font-size: 1rem;
}
/* 右カラム（テキスト） */
.message-column > .wp-block-column:last-child {
  flex: 1;
}
/* 東洋社の歴史 */
.bg-cover .history-wrap .zen-old-mincho {
  font-size: clamp(2rem, 1.491rem + 2.55vw, 3.4rem);
}
.history-wrap {
  z-index: 2;
}
.history-title {
  top: 20px;
  right: 0;
}
.history-1932 {
  margin-top: -280px;
}
.history-2025 {
  margin-bottom: 4rem;
}
.history-1932 .wp-block-columns {
  margin-bottom: clamp(2rem, 8vw, 8rem);
}
.history-1932 .photo img {
  border: var(--color_white) 5px solid;
  margin-top: -3%;
}
.history-2025 .photo img {
  border: var(--color_white) 5px solid;
  margin-top: -3%;
}
.history-1932 .year-label,
.history-2025 .year-label {
  font-size: clamp(3.2rem, 1.6rem + 8vw, 7.6rem);
  z-index: 3;
}
/* 採用情報 */
.recruit .recruit-tag {
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem) !important;
  background: var(--color_brown);
  width: 100%;
  text-align: center;
  padding: 0.4em 0;
  color: var(--color_white);
}
.recruit .recruit-group.is-layout-flex {
  justify-content: flex-start !important;
  gap: 5px;
  margin-bottom: 4rem;
}
.recruit h4 {
  font-size: clamp(1.2rem, 1.091rem + 0.55vw, 1.5rem);
}
.recruit-column-right {
  margin-top: 4rem !important;
}
/* スライダー全体 */
.slider-wrapper {
  overflow: hidden;
  margin-top: 0 !important;
  position: relative;
  width: 100%;
}
/* スライドを横に並べて無限スクロール */
.slider {
  display: flex;
  width: max-content;
  animation: scroll-left 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: 90%;
  height: 360px;
  object-fit: cover;
}
/* アニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
/* フッター */
#menu-footer1 {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  writing-mode: initial;
  margin-bottom: 6rem;
}
#menu-footer1 a:hover {
  color: var(--color_red) !important;
  text-decoration: none !important;
}
#menu-footer1 .menu-item {
  writing-mode: vertical-rl;
  margin-top: 0;
}
#block-14 figure img {
  width: 381px;
}
.l-footer--footer-2 .l-footer__header {
  display: none;
}
.l-footer--footer-2 .l-footer__footer {
  background-color: #faf6f3;
  border-top: #d9d9d9 solid 1px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
#block-14 .wp-block-columns {
  justify-content: space-between;
  flex-grow: 0 !important;
  flex-basis: auto !important;
  font-size: 1rem;
}
#block-14 > .wp-block-column {
  flex-grow: 0 !important;
  flex-basis: auto !important;
  font-size: 1rem;
}
.c-row__col--lg-1-2 {
  --_item-width: 100% !important;
}
.l-footer__footer .c-row {
  justify-content: center !important;
}
.l-footer a.smb-btn,
.cta a span {
  border-radius: 5px;
}
.l-footer .mail a.smb-btn {
  background-color: var(--color_red) !important;
  border: 1px solid var(--color_white);
}
.l-footer--footer-2 .l-footer__body {
  border-top: 0 !important;
}
.l-footer {
  border-top: #d9d9d9 solid 1px !important;
}
#page-top {
  border-radius: 50px !important;
  background-image: linear-gradient(312deg, #ff4242, #57b8e2) !important;
  bottom: 10px !important;
  right: 10px !important;
}
.c-page-top a {
  color: var(--color_white);
}
#page-top svg.svg-inline--fa {
  margin-right: 0 !important;
}
/*--------------------  下層ページ -------------------- */
/* 会社概要 */
.qualification-list {
  background-color: var(--color_brown);
  border-radius: 5px;
  padding: 2rem;
  color: var(--color_white);
  margin-top: 4rem !important;
  width: 80%;
}
.qualification-list ul {
  display: flex;
  flex-wrap: wrap;
  line-height: 2;
  padding: 0;
}
.qualification-list ul li {
  margin: 0 0 0 2.4em;
}
.company-history {
  margin-top: 14rem;
  padding-bottom: 10rem;
}
.company-history .smb-step__item__title span {
  font-size: clamp(1.2rem, 1.091rem + 0.55vw, 1.5rem);
}
.company-history .smb-step__item__number {
  background-color: var(--color_brown);
  width: 20px;
  height: 20px;
}
.company-history .smb-step__body::before {
  left: calc(20px / 2);
}
.company-history .smb-step__item__number::before {
  content: none;
}
/* 事業内容 */
.business-lead h2 {
  font-size: clamp(1.6rem, 0.945rem + 3.27vw, 3.4rem);
}
.business-menu .business-column:nth-of-type(2) {
  margin: 6rem 0;
}
.business-menu .menu-image01 {
  margin-right: -40%;
}
.business-menu .menu-image01 figure {
  width: 40%;
  min-width: auto;
  z-index: 2;
}
.business-menu .menu-image02 {
  margin-top: -10%;
}
.business-menu .menu-image02 figure {
  width: 70%;
}
.business-menu .business-column .smb-panels:nth-of-type(1) {
  width: auto;
}
.business-menu .alarm-system {
  margin: 4rem 0;
}
.business-menu
  .smb-spider-contents-slider
  > .spider
  > .spider__canvas:where(:not([style*="padding:"]))
  > .spider__slide {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid #fff !important;
  border-radius: 8px !important;
  width: 50% !important;
}
.business-menu .smb-spider-slider > .spider > .spider__canvas {
  gap: 50px !important;
}
.business-menu .smb-spider-slider > .spider > .spider__canvas > .spider__slide {
  max-width: 30% !important;
}
.equipment-slide-lead {
  font-size: 1.4rem;
  font-weight: 700;
}
.equipment-slide-title {
  font-size: 1.4rem;
  font-weight: 700;
}
.equipment-slide-number,
.recruit-skills-list-lead-number {
  color: var(--color_red);
  font-size: 1.6rem;
}
.area,
.careerpath {
  color: var(--color_white);
  background-color: var(--color_glay);
}
.area-lead {
  font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);
  line-height: 1.8;
  margin-bottom: 2em;
  text-shadow: 0 0 5px #333;
  z-index: 1;
}
.area .map {
  position: absolute;
  top: -10%;
  right: 10%;
  z-index: 0;
  width: clamp(300px, 40vw, 400px);
  opacity: 0.8;
}
.flow
  .smb-spider-contents-slider
  > .spider
  > .spider__canvas:where(:not([style*="padding:"]))
  > .spider__slide {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid #fff !important;
  border-radius: 8px !important;
  width: 50% !important;
}
.flow .smb-spider-slider > .spider > .spider__canvas {
  gap: 50px !important;
}
.flow .smb-spider-slider > .spider > .spider__canvas > .spider__slide {
  max-width: 30% !important;
}
/* 採用情報 */
.recruit-lead h2 {
  font-size: clamp(1.6rem, 1.309rem + 1.45vw, 2.4rem);
}
.recruit-skills h3 {
  font-size: clamp(1.6rem, 1.455rem + 0.73vw, 2rem);
}
.recruit-skills-list {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid #fff !important;
  border-radius: 8px !important;
  padding: 1em;
}
.recruit-skills-list-lead {
  font-size: 1.2rem;
  font-weight: 700;
}
.recruit-skills-list-lead small {
  font-size: 1rem;
}
.recruit-staff .smb-faq__item {
  border-bottom: none !important;
}
.smb-faq {
  border-color: rgba(0, 0, 0, 0) !important;
}
.recruit-staff .smb-faq__item__question__label {
  color: var(--color_red) !important;
}
.recruit-staff .smb-faq__item__answer__label {
  color: var(--color_lightblue);
}
.careerpath-lead {
  font-size: clamp(1.6rem, 1.309rem + 1.45vw, 2.4rem);
  margin-bottom: 2em;
  font-weight: 700;
  line-height: var(--_line-height);
}
.careerpath-profile {
  background-color: var(--color_white);
  padding: 2rem;
  color: var(--color_black);
}
.careerpath-profile .smb-panels__item .smb-panels__item__body {
  padding: 0;
}
.careerpath-profile .wp-block-cover {
  height: 380px;
  padding: 0 !important;
}
.careerpath-profile-name {
  position: absolute;
  bottom: -180px; /* 5% が効かない場合はpx指定に */
  left: 0;
  color: var(--color_white);
  font-size: 1rem !important;
  background-color: var(--color_red);
  padding: 1rem;
}
.careerpath-title {
  font-size: clamp(1.6rem, 1.455rem + 0.73vw, 2rem);
  font-weight: 700;
  margin: 0 0 0 0 !important;
  line-height: var(--_line-height);
}
.careerpath-item {
  color: var(--color_white);
  padding: 4rem 0 0 0;
}
.careerpath-item .red,
.careerpath-item .blue {
  font-size: 1.6rem;
  font-weight: 700;
}
.careerpath-item:nth-of-type(1) {
  padding: 4rem 0 10rem 0;
}
.careerpath-beforeafter-wrap {
  width: 90%;
}
.careerpath-beforeafter {
  background-color: rgba(255, 255, 255, 1) !important;
  border-radius: 8px !important;
  padding: 1em;
  color: var(--color_black);
}
.careerpath-beforeafter-lead {
  font-size: 1rem;
  font-weight: 700;
}
/* 施工実績 */
.works-template-default .c-page-header__bgimage img {
  display: none;
}
.works-template-default .c-page-header__bgimage {
  width: 100%;
  display: inline-block;
  opacity: 0.6;
  background: url("/wp-content/uploads/2025/06/bg-header.jpg") center center /
    cover no-repeat;
}
.works-template-default .c-page-header {
  background-color: var(--color_black) !important;
}
.works .c-entry-summary__figure:hover img,
.post-type-archive-works .c-entry-summary__figure:hover img {
  transform: scale(1.1) !important;
}
.works .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;
}
/* お知らせ */
.post-template-default .c-page-header__bgimage img {
  display: none;
}
.post-template-default .c-page-header__bgimage {
  width: 100%;
  display: inline-block;
  opacity: 0.6;
  background: url("/wp-content/uploads/2025/06/bg-header.jpg") center center /
    cover no-repeat;
  background-position: center center;
}
.post-template-default .c-page-header {
  background-color: var(--color_black) !important;
}
.c-page-header__meta {
  color: var(--color_white);
}
.c-meta__item--author {
  display: none;
}
.post-template-default .c-page-header__title {
  letter-spacing: 0;
}
/* お問い合わせ */
@media (min-width: 640px) {
  .smf-form--simple-table .smf-item__col--label {
    flex: none;
    max-width: 30%;
    padding-bottom: 0;
    padding-right: var(--_padding1);
    font-weight: 900;
    padding: 2rem;
  }
  .smf-form--simple-table .smf-item__col--controls {
    flex: 1 1 calc(100% - 14em);
    max-width: calc(100% - 14em);
    border-bottom: 2px solid var(--color_beige);
    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: 700;
  padding: 0 1.4rem 1.4rem;
  margin-bottom: 1.4rem;
  width: 30% !important;
  display: flex;
}
.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;
  width: 70% !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.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 {
  margin-left: 2em;
  background-color: var(--color_red);
  height: 2em;
  padding: 1em;
  display: flex;
  align-items: center;
  color: var(--color_white);
}
.smf-button-control__control {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid var(--color_black) !important;
  background: var(--color_black) !important;
  color: var(--color_white) !important;
  border-radius: 30px !important;
  font-family: "Shippori Mincho B1", serif;
  letter-spacing: 1px;
  font-weight: 700;
  min-width: 250px;
  height: 60px;
  line-height: 35px;
  transition: all 0.25s ease;
  z-index: 2;
  cursor: pointer;
  font-size: 1.2rem;
}

.smf-button-control__control::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--color_red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 1s ease, height 1s ease, opacity 1s ease 0.2s;
  opacity: 0;
  z-index: -1;
}

.smf-button-control__control:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
}

.smf-button-control__control:hover {
  border: 1px solid var(--color_brown);
  color: var(--color_white) !important;
}

.smf-radio-button-control,
.smf-form .smf-checkbox-control {
  display: flex !important;
  align-items: center !important;
  gap: 0.5em !important;
}
/*--------------------  レスポンシブ -------------------- */
@media screen and (max-width: 1500px) {
  .main-visual {
    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;
  }
}
@media screen and (max-width: 1200px) {
  .contact .wp-block-columns {
    padding: 1.5rem;
  }

  .bt-recruit {
    position: absolute;
    bottom: 10px;
    right: 20px;
    z-index: 2;
  }
}
@media screen and (max-width: 920px) {
  /* お問い合わせ */
  .smf-form--simple-table .smf-item__col--label {
    padding-bottom: 0;
    padding-right: var(--_padding1);
    padding: 0 1.4rem 1.4rem;
    display: block;
    margin-left: 0 !important;
  }
  .smf-item__description {
    margin-left: 0;
    background-color: var(--color_red);
    height: 2em;
    padding: 1em;
    display: inline-flex;
    align-items: center;
  }
}
@media screen and (max-width: 1024px) {
  /* br */
  .br-pc {
    display: none;
  }
  .br-sp {
    display: none;
  }
  .br-tab {
    display: block;
  }
  .since {
    left: 0;
  }

  .main-reason03 {
    padding-bottom: 0;
  }
  .message-column {
    margin-left: auto !important;
  }
  .message-column > .wp-block-column:first-child {
    flex: none;
    width: 361px;
    padding-left: 0;
    margin-left: 0;
  }
  .history-1932 {
    margin-top: 0;
    margin-left: 0 !important;
  }
  .history-1932 .photo img {
    margin-top: -11%;
  }
  .history-2025 .photo img {
    margin-top: -11%;
  }
  .message .wp-block-columns,
  .contact .wp-block-columns,
  .l-footer .wp-container-core-columns-is-layout-28f84493.wp-block-columns,
  .recruit-staff .wp-block-columns {
    flex-direction: column !important;
  }
  .contact .wp-block-columns {
    display: block !important;
  }
  .contact-container {
    text-align: center;
  }
  .works-template-default .smb-spider-slider__figure-wrapper {
    height: 50vh;
  }
  .contact-container {
    margin-bottom: 2rem !important;
  }
  .contact .wp-block-column.is-layout-flow {
    display: block;
  }
}
@media screen and (max-width: 781px) {
  .about-img01 {
    width: 267px;
    margin-left: 0 !important;
    margin-top: -64px;
  }
  .about-img02 {
    width: 248px;
    margin-right: 0 !important;
  }
  .about-img03 {
    width: 167px;
    margin-left: 10% !important;
  }
  .about-img04 {
    width: 164px;
    margin-right: 100px !important;
  }
  .about-img05 {
    width: 299px;
    margin-left: -100px !important;
  }
  .slide img {
    height: 260px;
  }
  .wp-block-columns.column-reverse {
    flex-direction: column-reverse !important;
  }
  .business-column .smb-panels:nth-of-type(1) {
    width: 100%;
  }
  .business-column .business-column-text {
    width: 100%;
  }
  .business-column .vertical-text-outer {
    position: relative;
    left: auto;
    top: 20px;
  }
  .business-column .business-column-text {
    position: static;
    left: auto;
    top: auto;
  }
  .business .wp-block-cover {
    height: auto !important;
  }
  .business-menu
    .smb-spider-slider
    > .spider
    > .spider__canvas
    > .spider__slide,
  .flow .smb-spider-slider > .spider > .spider__canvas > .spider__slide {
    max-width: 100% !important;
  }
  .area .map {
    position: absolute;
    top: 40%;
    /* right: 10%; */
    z-index: 0;
    opacity: 0.7;
  }
}
@media screen and (max-width: 640px) {
  /* br */
  .br-sp {
    display: inline-block !important;
    width: 100%;
  }
  .br-tab {
    display: none;
  }
  .br-pc {
    display: none;
  }
  .bt-recruit img {
    width: 180px;
  }
  .about-concept {
    padding: 0;
  }
  .title-heading {
    margin-bottom: 1rem;
  }
  .about-img06 {
    margin-bottom: 0 !important;
  }
  .bg-cover {
    padding-bottom: 40px !important;
  }
  .bg-cover::before {
    height: 2%;
  }
  .business .wp-block-column {
    margin: 0 !important;
  }
  .recruit-group.is-layout-flex {
    flex-wrap: wrap;
  }
  .recruit .recruit-tag {
    width: fit-content;
    padding: 0.6em;
  }
  .slide img {
    height: 180px;
  }
  .wp-block-columns {
    flex-direction: row !important;
  }
  .bg-circle-blur {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }
  .message-column > .wp-block-column:first-child {
    width: auto;
  }
  .l-footer__body .wp-block-group.is-layout-flex {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start;
  }
  .widget.widget_nav_menu {
    margin-top: 2rem;
  }
  /* 事業内容 */
  #block-14 figure img {
    width: 240px;
  }
  /* 会社概要 */
  .qualification-list {
    width: 100%;
  }
  .company-history {
    margin-top: 6rem;
    padding-bottom: 6rem;
  }
  /* 施工実績 */
  .c-entries {
    display: block;
    --entries--item-width: 100% !important;
  }
  .works-template-default
    .smb-spider-slider--4x3
    .smb-spider-slider__figure-wrapper
    .spider__figure {
    height: 100%;
  }
  .careerpath-item:nth-of-type(1) {
    padding: 0 0 10rem 0;
  }
  /* お知らせ */
  .c-entries--simple .c-entry-summary__figure {
    float: inherit;
    width: 100%;
    margin-bottom: 20px;
    padding: 1rem;
  }
  /* お問い合わせ */
  .smf-action .smf-button-control + .smf-button-control {
    margin-left: 0 !important;
  }
  .smf-form--simple-table .smf-item__col--label {
    width: 100% !important;
  }
  .smf-form--simple-table .smf-item__col--controls {
    width: 100% !important;
  }
  .smf-form--simple-table .wp-container-core-group-is-layout-23441af8,
  .smf-form--simple-table .wp-container-core-group-is-layout-6c531013 {
    flex-wrap: nowrap !important;
  }
  .smf-form--simple-table .smf-item__col--controls:after {
    display: none;
  }
}
/* タブレット横向き対応 */
@media only screen and (min-device-width: 768px) and (max-device-width: 1180px) and (orientation: landscape) {
  .message-column > .wp-block-column:first-child {
    width: 361px;
  }
}
/* スマホ横向き対応 */
@media only screen and (max-width: 1024px) and (orientation: landscape) {
  .works-template-default .smb-spider-slider__figure-wrapper {
    height: 450px !important;
  }
}
