:root {
  --color_white: #ffffff;
  --sub_color: #dad5c6;
  --color_black: #333333;
  --color_glay: #798282;
  --color_red: #cb1521;
  --color_lightblue: #b0ddff;
}
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 1px;
  color: var(--wp--preset--color--sm-accent);
}
.l-contents__inner:last-child {
  padding-bottom: 0;
}
.c-meta__item--author {
  display: none;
}
/* フォント */
.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}
.shippori-mincho-medium {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
}
.shippori-mincho-semibold {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
}
.shippori-mincho-bold {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
}
.shippori-mincho-extrabold {
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  font-style: normal;
}
/* 基本設定 */
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;
}
/* アイコン 終わり*/
/* ボタン */
a.smb-btn,
.cta a span {
  background-color: var(--color_white);
  position: relative;
  transition: 0.25s;
  color: var(--wp--preset--color--sm-accent) !important;
  border-radius: 30px;
  font-size: 1.2rem;
  z-index: 2;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  min-width: 270px;
  padding: 0.8em 1.5em;
}
a.smb-btn {
  border: 2px solid var(--wp--preset--color--sm-accent);
}
a.smb-btn:hover,
.cta a:hover span {
  color: var(--color_white) !important;
  box-shadow: none;
  background-color: var(--sub_color);
  filter: brightness(100%);
  transition: all 0.4s ease;
}
/* グローバルナビ */
.l-1row-header .c-fluid-container {
  padding-right: 0;
}
.p-global-nav--hover-text-color.p-global-nav--current-same-hover-effect
  .c-navbar__item[data-active-menu] {
  color: var(--color_lightblue) !important;
}
[data-scrolled="false"] .home .l-1row-header .p-global-nav .c-navbar__item {
  color: #fff;
}
[data-scrolled="false"] .l-1row-header .p-global-nav .c-navbar__item {
  color: var(--wp--preset--color--sm-accent);
}
[data-scrolled="true"] .l-1row-header .p-global-nav .c-navbar__item:hover,
[data-scrolled="false"] .l-1row-header .p-global-nav .c-navbar__item:hover,
.p-global-nav--hover-text-color.p-global-nav--current-same-hover-effect
  .c-navbar__item:hover {
  color: var(--color_lightblue);
}
[data-scrolled="true"] .l-1row-header .p-global-nav .c-navbar__item {
  color: var(--wp--preset--color--sm-accent);
}
.p-global-nav--hover-text-color.p-global-nav--current-same-hover-effect
  .c-navbar__item
  a[data-active-menu] {
  color: var(--color_lightblue);
}
.p-global-nav .c-navbar__submenu:hover {
  background-color: var(--color_lightblue) !important;
}
.p-global-nav .c-navbar__submenu {
  color: var(--color_white) !important;
}
.p-global-nav .c-navbar__item.header_cta > a {
  background-color: var(--wp--preset--color--sm-accent);
  color: #fff;
  padding: 0 2rem;
}
.p-global-nav .c-navbar__item.tel > a {
  font-size: 1rem;
}
.p-global-nav .c-navbar__item.contact > a {
  font-weight: 500;
  color: #fff !important;
  border: var(--wp--preset--color--sm-accent) solid 2px;
}
.p-global-nav .c-navbar__item.contact > a:hover {
  font-weight: 500;
  background-color: var(--color_white);
  color: var(--wp--preset--color--sm-accent) !important;
  border: var(--wp--preset--color--sm-accent) solid 2px;
}
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-155 {
  padding: 1.2rem;
}
@media (max-width: 1280px) {
  [data-scrolled="false"]
    .l-header--sticky-overlay-colored-lg
    .p-global-nav
    .c-navbar__item
    > a {
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .l-1row-header__branding {
    max-width: 250px;
  }
}
@media (max-width: 1024px) {
  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;
    text-align: left;
  }
  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-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 {
    font-family: "Zen Kaku Gothic New", sans-serif !important;
    font-size: 10px !important;
    font-weight: 600;
    color: var(--color_white) !important;
    display: none;
  }
  .c-row > .c-row__col {
    padding-left: 0;
    padding-right: 0;
  }
  .c-hamburger-btn {
    width: 76px;
    height: 76px;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    background-color: var(--wp--preset--color--sm-accent) !important;
  }
  .c-site-branding .c-container,
  .c-fluid-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .c-drawer__menu {
    padding-top: 50px !important;
  }
  .c-drawer__item {
    padding-bottom: 20px;
    font-size: 1rem;
    text-align: center;
  }
  #menu-item-963,
  #menu-item-964 {
    background-color: var(--color_white);
    position: relative;
    transition: 0.25s;
    color: var(--wp--preset--color--sm-accent) !important;
    border-radius: 30px;
    font-size: 1.2rem !important;
    z-index: 2;
    font-family: "Shippori Mincho", serif;
    font-style: normal;
    min-width: 240px;
    height: 60px;
    line-height: 35px;
    margin-top: 1rem;
    text-align: center !important;
  }
  #menu-item-963 a,
  #menu-item-964 a {
    font-weight: 700 !important;
  }
  .c-hamburger-btn__bars {
    height: 30px;
  }
}
/* グローバルナビ終わり */
/* 下層ページヘッダー */
.c-page-header__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2rem, 1.782rem + 1.09vw, 2.6rem);
}
.c-page-header {
  background-image: url("/wp-content/uploads/2025/07/bg-texture.jpg");
  padding: 11rem 0 7rem 0;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 25% 100%, 0 85%);
}
.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;
}
/* プライバシーポリシー */
#privacy h3 {
  margin-bottom: 10px !important;
  font-weight: 700;
}
/* パンくず */
.p-breadcrumbs-wrapper {
  position: relative;
  z-index: 2 !important;
}

/*--- お問い合わせフォーム ---*/
/* 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;
  }
}
/*--------------------  汎用 -------------------- */
/*--- アニメーション ---*/
.text-animation span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.text-animation.is-visible span {
  opacity: 1;
  transform: translateY(0);
}
/*--- 見出し ---*/
h2.title-heading {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(1.8rem, 1.364rem + 2.18vw, 3rem);
  z-index: 3;
  margin-bottom: 4rem;
}
h3.title-heading {
  font-size: clamp(1.2rem, 0.764rem + 2.18vw, 2.4rem);
  font-weight: 700;
}
/*--- 見出しen ---*/
.section-bg {
  position: relative;
  top: clamp(50px, 10vw, 120px);
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  pointer-events: none;
}
.section-block {
  z-index: 2;
}
/*--- 定規イラスト ---*/
.recruit-area .ruler-motif-bottom-left {
  position: absolute;
  bottom: 1%;
  left: 3%;
  z-index: 1;
}
.ruler-motif-bottom-left {
  position: absolute;
  bottom: -4%;
  left: 2%;
  z-index: 1;
}
.ruler-motif-top-right {
  position: absolute;
  top: -2%;
  right: 2%;
  z-index: 1;
}
/*--- 背景 ---*/

/*--- ボタン ---*/
.button {
  width: 360px;
  z-index: 10;
}
.button a {
  letter-spacing: 0.1em;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  color: var(--color_black);
  border: 2px solid var(--wp--preset--color--sm-accent);
  display: block;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  padding: 20px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s;
  background-color: var(--color_white);
  margin-bottom: 4rem;
  font-size: 1.2rem;
  color: var(--wp--preset--color--sm-accent);
}
.button a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 60px;
  height: 2px;
  background: var(--wp--preset--color--sm-accent);
  transition: all 0.3s ease;
}
.button a:hover::after {
  animation: OutIn-Line 700ms;
  transition: all 0.3s;
}
.button a:hover {
  background-color: var(--sub_color);
  color: var(--color_white);
}
@keyframes OutIn-Line {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
  }

  50% {
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
  }

  50.1% {
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
}
/* テーブル */
.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%;
  }
  .table figure.wp-block-table tr td:first-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
/*--------------------  topページ -------------------- */
.main-visual {
  filter: brightness(0.75);
  height: 100vh;
}
.main-wrap {
  position: absolute;
  z-index: 3;
  text-align: center;
  width: 85%;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.main-visual__subheading {
  font-size: clamp(1.2rem, 0.764rem + 2.18vw, 2.4rem);
  color: var(--color_white);
}
.main-visual__heading {
  font-size: clamp(2rem, 0.909rem + 5.45vw, 5rem);
  color: var(--color_white);
  margin-top: 0;
}
.main-visual__text {
  color: var(--color_white);
  font-size: clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
}
.tomida-en {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
/* 採用情報エリア */
.recruit-area {
  background-image: url("/wp-content/uploads/2025/07/engineering-bg-01.jpg");
  background-size: cover;
  background-position: 80% 30%;
  clip-path: inset(70px 20px 50px) !important;
  color: var(--color_white);
}
.recruit-area::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 55, 80, 0.8) 100%;
  pointer-events: none; /* 画像のクリックなどを邪魔しない */
  z-index: 0; /* 最背面にする */
}
.recruit-area.smb-section.is-items-alignment-top {
  align-items: initial !important;
}
.recruit-detail {
  padding: 6rem 0;
}
.diamond {
  width: 240px;
  height: 240px;
  border: 2px solid var(--color_white);
  transform: rotate(45deg);
  position: relative;
  margin: 100px auto;
  box-sizing: border-box;
}
.diamond__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  color: var(--color_white);
  font-size: clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
  text-align: center;
  pointer-events: none;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
  width: 100%;
}
.corner {
  width: 10px;
  height: 10px;
  background: var(--color_white);
  position: absolute;
}
/* 上の角 */
.top {
  top: -7px;
  left: 0;
  transform: translateX(-50%) rotate(90deg);
}
/* 右の角 */
.right {
  top: 0;
  left: calc(100% - 7px);
  transform: translateY(-50%) rotate(90deg);
}
/* 下の角 */
.bottom {
  top: calc(100% - 7px);
  left: 100%;
  transform: translateX(-50%) rotate(90deg);
}
/* 左の角 */
.left {
  top: 100%;
  left: -7px;
  transform: translateY(-50%) rotate(90deg);
}
/* 私たちの仕事 */
.business-section .smb-panels__item .smb-panels__item__body {
  padding: 0;
}
.business-section .wp-block-cover {
  min-height: 262px !important;
  position: relative;
}
.business-section .smb-panels.smb-panels--glue > .c-row > .c-row__col {
  border-right: none;
  border-bottom: none;
}
.business-section .smb-panels.smb-panels--glue {
  box-shadow: none !important;
  margin-top: 0;
}
.business-section .business-subttl {
  color: var(--color_white);
  font-size: 1.4rem;
}
.business-section .wp-block-cover__inner-container {
  position: absolute !important;
  bottom: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  text-align: left;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  text-shadow: 0 0 5px #333;
}
.business-section .wp-block-cover__image-background {
  filter: brightness(0.9) contrast(1.2);
}
.business-panels {
  margin: 4rem 0;
}
.business-section .wp-block-cover img {
  filter: brightness(1);
  transition: filter 0.4s ease;
}

.business-section .wp-block-cover:hover img {
  filter: brightness(0.4);
}

.bg-parallax {
  filter: brightness(0.9) contrast(1.2) !important;
  height: 650px;
}
/* 対応エリア */
.area-section,
.message-section {
  background-image: url("/wp-content/uploads/2025/07/industrial-construction-site.jpg");
  background-size: cover;
  background-position: 80% 30%;
  color: var(--color_white);
}
.area-section::after,
.message-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 55, 80, 0.8) 100%;
  pointer-events: none; /* 画像のクリックなどを邪魔しない */
  z-index: 0; /* 最背面にする */
}
.areamap {
  position: absolute;
  top: 70%;
  right: 0;
  translate: 0 -50%;
  width: 40%;
  z-index: 0;
}
/* 施工実績 */
.work-section {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 32% 100%, 0 96%);
  background-image: url("/wp-content/uploads/2025/07/ruler-scale.png"),
    url("/wp-content/uploads/2025/07/bg-texture.jpg");
  background-repeat: repeat-x, no-repeat;
  background-position: top, center;
  background-size: auto, cover;
}
/* 富田土木の３つの柱 */
.reason-section .wp-block-image img {
  height: 420px;
  object-fit: cover;
  width: 100%; /* 幅を維持したい場合 */
}
.reason-section .is-layout-flex {
  gap: 80px;
}
.reason-section h3.title-heading {
  font-size: clamp(1.8rem, 1.582rem + 1.09vw, 2.4rem);
  margin-bottom: clamp(0rem, 1rem + 1vw, 2rem);
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
}
.reason-section h4 {
  font-size: clamp(1.2rem, 1.091rem + 0.55vw, 1.5rem);
  margin-bottom: 2rem;
}
.diamond-line-wrapper {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 20px 0 40px 0;
}
.diamond-line {
  height: 2px;
  background-color: #0d2d47;
  position: relative;
}
.diamond-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  background-color: #0d2d47;
  transform: translateY(-50%) rotate(45deg);
}
/* 左寄せのテキスト */
.line-text {
  position: absolute;
  top: 50%;
  left: 20px; /* ひし形の右隣に配置 */
  transform: translateY(-50%);
  background: white; /* 線が文字にかぶらないように */
  padding: 0 8px;
  font-weight: bold;
  color: #0d2d47;
}
.svg-text-right {
  right: 5%;
  left: auto;
  transform: translateY(-50%);
  height: auto;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.svg-text-left {
  left: 5%;
  right: auto;
  transform: translateY(-50%);
  height: auto;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.reason-section .wp-block-column-left .wp-block-column {
  margin-left: auto;
  padding: 40px 0;
}
/* 代表挨拶 */
.name {
  font-size: clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
  margin: 4rem 0;
  font-weight: 700;
}
.message-section .wp-block-group {
  width: 40vw;
}
/* スライダー全体 */
.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 1rem 0 !important;
}
/* スライドを横に並べて無限スクロール */
.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: 98%;
  height: 360px;
  object-fit: cover;
}
/* アニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
/* 採用情報 */
.recruit-section {
  background-image: url("/wp-content/uploads/2025/07/ruler-scale.png"),
    url("/wp-content/uploads/2025/07/bg-texture.jpg");
  background-repeat: repeat-x, no-repeat;
  background-position: top, center;
  background-size: auto, cover;
}
.recruit-section h2.title-heading {
  margin-bottom: 2rem;
}
.recruit-section .diamond {
  border: 2px solid var(--wp--preset--color--sm-accent);
  background-color: var(--color_white);
}
.recruit-section .corner {
  background: var(--wp--preset--color--sm-accent);
}
.recruit-section .diamond__content {
  color: var(--wp--preset--color--sm-accent);
}
.recruit-image-scatter01 {
  position: absolute;
  top: 0;
  left: 0;
}
.recruit-image-scatter01 img {
  width: 314px;
  height: 245px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.recruit-image-shadow-wrapper-right {
  position: absolute;
  top: 10%;
  right: 2%;
  width: 205px;
  height: 298px;
}
.recruit-image-shadow-wrapper-left {
  position: absolute;
  bottom: 32%;
  left: 2%;
  width: 360px;
  height: 274px;
}
.shadow-image-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate(60px, 60px); /* 影の位置調整 */
  z-index: 0;
}
.shadow-image-group-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate(-60px, -60px); /* 影の位置調整 */
  z-index: 0;
}
.recruit-image-shadow {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.blue-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 55, 80, 0.8); /* 青の透明オーバーレイ */
}
.recruit-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.recruit-image-scatter03 {
  position: absolute;
  bottom: 30%;
  right: 0;
}
.recruit-image-scatter03 img {
  width: 360px;
  height: 274px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.recruit-section .tomida-en {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.recruit-entry .wp-block-columns,
.contact-section .wp-block-columns {
  justify-content: center;
}
.recruit-entry .contact-colum,
.contact-section .contact-colum {
  background-color: var(--color_white);
  color: var(--color_basic);
  padding: 2rem 0;
  border: var(--wp--preset--color--sm-accent) solid 2px;
  flex-basis: 40%; /* または 300px 等の固定幅 */
  max-width: 40%;
}
.recruit-entry .is-layout-flex {
  gap: 50px;
}
.contact-tel {
  font-size: clamp(2rem, 1.782rem + 1.09vw, 2.6rem);
}
.contact-tel a {
  text-decoration: none;
}
.contact-tel svg {
  font-size: 2rem;
  margin-right: 0.4em;
}
/* お問い合わせ */
.contact-section {
  background-image: url("/wp-content/uploads/2025/07/ruler-scale-wh.png");
  background-repeat: repeat-x, no-repeat;
  background-position: top, center;
  background-size: auto, cover;
  background-color: var(--wp--preset--color--sm-accent);
  color: var(--color_white);
}
.contact-section .contact-tel a {
  color: var(--color_white);
}
.contact-section .contact-tel a:hover,
.recruit-entry .contact-colum .contact-tel a:hover {
  color: var(--color_lightblue);
  transition: all 0.4s ease;
}
.contact-section .contact-colum {
  background-color: initial;
  border: var(--color_white) solid 2px;
}
/* フッター */
.l-footer--footer-2 .l-footer__footer {
  background-color: var(--sub_color);
  color: var(--color_white);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.l-footer__footer .c-row {
  justify-content: center !important;
}
.l-footer--footer-2 .l-footer__body {
  border-top: none !important;
}
.l-footer--footer-2 .l-footer__widget-area {
  padding-top: 0 !important;
}
.l-footer a.smb-btn {
  min-width: 240px;
}
.l-footer--footer-2 .c-copyright {
  color: var(--wp--preset--color--sm-accent);
}
/*--------------------  下層ページ -------------------- */
/* 事業案内 */
.bbs {
  align-items: center;
  display: flex;
  /*overflow: hidden;*/
  white-space: nowrap;
  width: 100%;
  z-index: 1;
}
.page-id-21 .bbs {
  position: fixed;
  align-items: center;
  display: flex;
  /*overflow: hidden;*/
  white-space: nowrap;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.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: "Satisfy", cursive;
  letter-spacing: 1px;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(6rem, 3.818rem + 10.91vw, 12rem);
  color: var(--color_white);
  opacity: 0.4;
}
@keyframes flowing {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}
.business-menu {
  margin-bottom: 6rem;
}
.business-menu img {
  width: 100%;
  height: clamp(250px, 25vw, 540px) !important;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.2);
}
.business-menu h3.title-heading {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
}
.c-page-header,
footer,
.page-id-21 .business-section,
.page-id-21 .area-section,
.page-id-21 .work-section,
.page-id-21 .business-section,
.page-id-21 .contact-section {
  position: relative !important;
  z-index: 10 !important;
}
/* 会社概要 */
.tomida-gaikan img {
  height: 420px;
}
/*--------------------  レスポンシブ -------------------- */
@media screen and (max-width: 1500px) {
  .main-visual {
    height: auto !important;
  }
  .recruit-entry .contact-colum,
  .contact-section .contact-colum {
    flex-basis: 100%; /* または 300px 等の固定幅 */
    max-width: 100%;
  }
}
@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;
  }
  .message-section .wp-block-group {
    width: auto;
  }
  .diamond {
    width: 200px;
    height: 200px;
  }
  .ruler-motif-top-right {
    width: 30%;
    opacity: 0.3;
  }
  .contact-form .ruler-motif-top-right {
    top: -5%;
  }
  .ruler-motif-bottom-left {
    width: 30%;
    opacity: 0.3;
  }
  .recruit-area .ruler-motif-bottom-left,
  .ruler-motif-bottom-left {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  /* 採用情報 */
  .recruit-image-scatter01 img {
    width: 156px;
    height: 122px;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.5;
  }
  .recruit-image-shadow-wrapper-right {
    position: absolute;
    top: 30%;
    right: 2%;
    width: 142px;
    height: 206px;
    opacity: 0.5;
  }
  .recruit-image-shadow-wrapper-left {
    position: absolute;
    bottom: 32%;
    left: 2%;
    width: 210px;
    height: 134px;
    opacity: 0.5;
  }
  .recruit-image-scatter03 {
    position: absolute;
    bottom: 20%;
    right: 0;
  }
  .recruit-image-scatter03 img {
    width: 231px;
    height: 176px;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.5;
  }
}
@media screen and (max-width: 1180px) {
  /* br */
  .br-pc {
    display: none;
  }
  .br-tab {
    display: block;
  }
  .br-sp {
    display: none;
  }
  .areamap {
    opacity: 0.5;
    z-index: -1;
  }
}
@media screen and (max-width: 1024px) {
  .reason-section .wp-block-column-left .wp-block-column {
    padding: 0;
  }
  .reason-section .wp-block-columns {
    padding: 0 1.5rem !important;
  }
  .reason-section .is-layout-flex {
    gap: 40px;
  }
  .recruit-area {
    clip-path: inset(20px 20px 50px) !important;
  }
  .c-site-branding__title .custom-logo {
    width: 180px;
  }
}
@media screen and (max-width: 950px) {
  .diamond {
    width: 160px;
    height: 160px;
  }
  .table figure.wp-block-table tr td:first-child {
    padding: 1rem;
    vertical-align: middle !important;
  }
  .table figure tr td:last-child {
    padding: 1rem;
  }
}
@media screen and (max-width: 781px) {
  .recruit-area .recruit-detail .wp-block-column,
  .recruit-section .recruit-detail .wp-block-column {
    margin-bottom: 100px;
  }
  .recruit-area .wp-block-column:nth-of-type(3),
  .recruit-section .wp-block-column:nth-of-type(3) {
    margin-bottom: 0;
  }
  .column-reverse {
    flex-direction: column-reverse !important;
  }
  .diamond {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width: 640px) {
  .c-site-branding__title .custom-logo {
    width: 160px;
  }
  /* br */
  .br-sp {
    display: inline-block !important;
    width: 100%;
  }
  .br-tab {
    display: none;
  }
  .br-pc {
    display: none;
  }
  .news-section .ruler-motif-top-right {
    top: -10%;
  }
  .ruler-motif-top-right {
    top: -5%;
  }
  .bg-parallax {
    height: auto;
  }
  .areamap {
    position: absolute;
    top: 70%;
    right: -10%;
    translate: 0 -50%;
    width: 100% !important;
    max-width: 100%;
  }
  /* 文字左寄せ */
  .sp-text-left {
    text-align: left;
  }
  /* 施工実績 */
  .c-entries {
    display: block;
    --entries--item-width: 100% !important;
  }
  /* 富田土木の３つの柱 */
  .reason-section .wp-block-columns {
    margin-top: 4rem;
  }
  .reason-section .wp-block-column-left .wp-block-column {
    padding: 0;
    margin-left: 0;
  }
  .reason-section .wp-block-image img {
    height: 320px;
  }
  .svg-text-right {
    right: auto;
    top: 50%;
  }
  .svg-text-left {
    right: auto;
    top: 50%;
  }
  .slide img {
    height: 180px;
  }
  /* フッター */
  .l-footer .wp-block-group {
    display: block;
  }
  .l-footer .wp-block-group .smb-btn-wrapper {
    margin-bottom: 1rem; /* 下に余白を追加 */
  }
  .l-footer .wp-block-group .smb-btn-wrapper:last-child {
    margin-bottom: 0;
  }
  /* 事業内容 */
  .business-menu {
    margin-bottom: 0;
  }
  /* お問い合わせ */
  .smf-action .smf-button-control + .smf-button-control {
    margin-left: 0;
  }
}

/* ======================== 稲田記述 ======================== */
/* 採用情報ページ*/
.page-id-151 h3.title-heading {
  padding-top: 30px;
}

.page-id-151 .section-block {
  padding: 0;
}

/* 募集要項 */

.recruit-desc {
  padding: 60px;
  border: 2px solid var(--accent-color);
}
@media screen and (max-width: 781px) {
  .recruit-desc {
    padding: 30px;
  }
}
.single .wp-block-table tr:first-child {
  border-top: solid 1px var(--color_black);
}

.single .wp-block-table tr {
  display: flex;
  flex-wrap: wrap;
}

.single .wp-block-table tr td:first-child {
  width: 30%;
  padding-right: 2rem;
  font-weight: 700;
  vertical-align: middle;
  color: var(--accent-color);
}

.single .wp-block-table tr td {
  display: block;
  padding: 2rem;
  border: none;
}
.page-id-129 .wp-block-table tr td:last-child {
  width: 70%;
}

/* お知らせページ */
.c-page-header__meta .c-meta__item--modified,
.c-page-header__meta .c-meta__item--author {
  display: none;
}

/* お問い合わせページ */

/* フォーム */

.smf-form {
  margin-top: 6rem;
}

.smf-form--business .smf-item {
  border: 2px solid var(--accent-color);
  border-left: none;
  border-right: none;
}

.smf-form--business .smf-item {
  margin-bottom: 0;
  margin-top: 0;
}
.smf-item__col--controls {
  width: 60% !important;
}
.smf-form--business .smf-item__col--label {
  border: none;
  background-color: var(--sub_color);
  flex: 0 0 30% !important;
  max-width: 40% !important;
}
@media screen and (max-width: 640px) {
  .smf-form--business .smf-item__col--label {
    max-width: 100% !important;
  }
  .smf-item__col--controls {
    width: 100% !important;
  }
}
.smf-item__label__text {
  color: var(--accent-color);
  font-weight: 700;
}

.contact-form .is-layout-flex {
  gap: 30px;
}

.smf-progress-tracker__item[aria-current="true"]
  .smf-progress-tracker__item__number {
  background-color: var(--accent-color);
}

.smf-progress-tracker__item[aria-current="true"]
  .smf-progress-tracker__item__text {
  color: var(--accent-color);
}

.address-description {
  font-weight: 400;
  padding-bottom: 10px;
}

.smf-item__description {
  background-color: #fff;
  color: var(--accent-color);
  padding: 2px 6px;
  margin-top: 1rem;
  display: inline-block;
  font-weight: 500;
}
.smf-placeholder {
  margin-top: 0;
}
/* 送信ボタン */
.smf-action .smf-button-control__control {
  background-color: var(--accent-color);
  background-image: none;
  color: #fff !important;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  border: solid 2px var(--accent-color);
  position: relative;
  transition: 0.25s;
  border-radius: 30px;
  z-index: 2;
  min-width: 270px;
  padding: 0.8em 1.5em;
}

.smf-action .smf-button-control__control:hover {
  color: var(--accent-color) !important;
  background-color: var(--color_white);
  filter: brightness(100%);
  transition: all 0.4s ease;
}
