-----------------------------------------------------/* 全体 */-----------------------------------------------------
.l-contents__inner main .smb-section:last-child {
  margin-bottom: 0 !important;
}

body.page .l-contents__inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 固定ページのタイトル */
.c-entry__title{
  display: none;
}

@media screen and (max-width: 767px) {
    .sp-button{
        justify-content: center;
    }
}

/* ボタン */

.contact-button{
    border: 1px solid transparent;
    border-radius: 0;
    background-color: #0E076B !important;
    color: #fff !important;
    padding: 1rem 1.5rem;
    text-decoration: none;
}
.contact-button:hover {
  background-color: #fff !important;
  border: 1px solid #0E076B;
  color: #0E076B !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.smb-btn.smb-btn{
    border: 1px solid transparent;
    border-radius: 0;
    background-color: #0E076B !important;
    color: #fff !important;
    padding: 1rem 2rem;
    text-decoration: none;
}
.smb-btn.smb-btn:hover {
  background-color: #fff !important;
  border: 1px solid #0E076B;
  color: #0E076B !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.header-button{
    border: 1px solid #0E076B;
    color: #0E076B;
    background-color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
}

.header-button:hover {
  background-color: #0E076B;
  border: 1px solid transparent;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}


/* ヒーロー */

.s3-text{
    position: absolute;
    content: "";
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 767px) {
    .s3-text{
        opacity: 0.6;
    }
}

/* ヘッダー */

.l-header {
  background-color: rgba(255, 255, 255, 0.85);
}

.c-site-branding {
  display: flex;
  align-items: center;
}

.c-site-branding::after {
  content: "有限会社サンエス";
  display: inline-block;
  margin-left: 15px;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

/* スマホ「HOME」の文字 */

.c-hamburger-btn__label{
    display: none;
}

/* recruit */

.re-img{
    width: 30%;
    position: absolute;
}

.re-img01{
    right: 0;
    top: -20%;
}

.re-img02{
    right: 15%;
    top: 2%;
    width: 20%;
}


/* 強み */
.str-bg-font,.str-bg-font02{
    position: absolute;
    font-weight: 100;
}

@media screen and (max-width: 767px) {
    .str-bg-font,.str-bg-font02{
        white-space: nowrap;
    }
    .sp-spacer{
        height: 100px!important;
    }

}

.str-bg-font{
    top: 0%;
    right: -10%;
}

.str-bg-font02{
    bottom: 0;
    left: -10%;
}

/* .ste-title{
    width: 30%!important;
    margin: 0 auto!important;
} */

.ste-number{
    position: absolute;
    z-index: 1;
    top: -8%;
}

.ste-img,.ste-img02,.ste-img03{
    position: relative;
}

.ste-img::after{
    content: "";
    position: absolute;
    top: 38%;
    left: -2%;
    width: 30%;
    height: 1px;
    background-color: #fff;
    transform: rotate(-45deg);
    transform-origin: 0 0;
}

/* intro */
.intro-bg{
    position: relative;
}

.intro-bg::after{
    position: absolute;
    content: "";
    bottom: -300px;
    background-color: #0E076B;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

}

/* 施工事例のカスタム投稿ページ */

.single-work .p-breadcrumbs-wrapper {
  margin-top: 80px;
}

/* CMS */


/* フッター */

.l-footer-widget-area .c-fluid-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.l-footer-widget-area{ 
    padding: 0!important; 
} 

.l-footer {
  width: 100%;
}

.l-footer-widget-area {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 !important;
}

.l-footer-widget-area .c-container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.l-footer-widget-area .c-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.l-footer-widget-area .c-row > .c-row__col {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.widgettitle{
    display: none;
}

.l-footer-widget-area__item .menu {
display:flex;
justify-content:center
}
.l-footer-widget-area__item .menu .menu-item{
margin:0 2em 0 0;
}
.l-footer-widget-area__item .widget_text{
display:flex;
justify-content:center;
text-align:center
}
.l-footer-widget-area__item .textwidget{
border: solid 1px #ddd;
padding: 1em 3em
}
.c-copyright {
text-align:center
}

.footer-address {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media screen and (max-width: 767px) {
    .l-footer-widget-area__item .menu{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}


--------------------------------------------/* 会社案内 */-----------------------------------------------------

/* テーブル全体およびセルの標準枠線を初期化 */
.company-table,
.company-table tr,
.company-table th,
.company-table td {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 下側の指定した黒線だけを適用 */
.company-table tr {
  border-bottom: 1px solid #000000 !important;
}

/* テーマ独自のテーブル装飾（背景色や余計な線）を消す */
.company-table th,
.company-table td {
  background: transparent !important;
  padding: 16px 8px;
  font-size: 16px;
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
}

.company-table th {
  width: 25%;
  color: #000000;
  white-space: nowrap;
}

.company-table td {
  width: 75%;
  color: #000000;
}

/* 表 */
/* =================================
   求人情報テーブル
================================= */

.recruit-table table {
  width: 100%;
  border-collapse: collapse;
  border: none !important;
}

.recruit-table th,
.recruit-table td {
  border: none !important;
  border-bottom: 1px solid #cfcfcf !important;
  padding: 25px 30px;
  vertical-align: middle;
}

/* 左列 */
.recruit-table th:first-child,
.recruit-table td:first-child {
  width: 30%;
  background-color: #eeeeee;
  text-align: center;
  font-weight: 700;
}

/* 右列 */
.recruit-table th:nth-child(2),
.recruit-table td:nth-child(2) {
  width: 80%;
  background-color: #fff;
  text-align: left;
  padding-left: clamp(30px, 8vw, 70px);
}

.recruit-table tr:first-child th,
.recruit-table tr:first-child td {
  border-top: 1px solid #cfcfcf !important;
}


/* スマホ */
@media screen and (max-width: 767px) {

  .recruit-table th,
  .recruit-table td {
    padding: 18px 12px;
    font-size: 14px;
  }

  .recruit-table th:first-child,
  .recruit-table td:first-child {
    width: 28%;
  }

  .recruit-table th:nth-child(2),
  .recruit-table td:nth-child(2) {
    width: 72%;
    padding-left: 20px;
  }


.re-sp-padding{
  padding: 20px;
}
}

/* 社会・環境活動 */

/* 表 */
/* ========================================
   SDGs TABLE
======================================== */

/* 表全体 */
.sdgs-table table {
  width: 100%;
  border-collapse: collapse;
  border: none !important;
}


/* ========================================
   セル共通
======================================== */

.sdgs-table th,
.sdgs-table td {
  border: none !important;
  border-bottom: 1px dotted #333 !important;
  padding: 35px 20px;
  vertical-align: middle;
}


/* ========================================
   縦の点線
======================================== */

.sdgs-table th:not(:last-child),
.sdgs-table td:not(:last-child) {
  border-right: 1px dotted #333 !important;
}


/* ========================================
   一番上の見出し
======================================== */

.sdgs-table thead th {
  background: transparent !important;
  text-align: center !important;
  font-weight: 400;
  font-size: 20px;
}


/* ========================================
   列幅
======================================== */

/* 1列目 */
.sdgs-table th:first-child,
.sdgs-table td:first-child {
  width: 18%;
  text-align: center !important;
}

/* 2列目 */
.sdgs-table th:nth-child(2),
.sdgs-table td:nth-child(2) {
  width: 38%;
}

/* 3列目 */
.sdgs-table th:nth-child(3),
.sdgs-table td:nth-child(3) {
  width: 44%;
}


/* ========================================
   見出し
======================================== */

/* 見出しは全部中央 */
.sdgs-table th {
  text-align: center !important;
}


/* ========================================
   項目名
======================================== */

.sdgs-table tbody td:first-child {
  text-align: center !important;
  font-size: 20px;
}


/* ========================================
   SDGs画像
======================================== */

/*
   インライン画像を左寄せ
*/
.sdgs-table td:nth-child(2) {
  text-align: left !important;
  white-space: nowrap;
}


/*
   インライン画像を横並び
*/
.sdgs-table td:nth-child(2) img {
  display: inline-block !important;
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  vertical-align: middle;
  margin: 0 15px 0 0 !important;
}


/* ========================================
   取り組み文章
======================================== */

.sdgs-table td:nth-child(3) {
  text-align: left !important;
  font-size: 17px;
  line-height: 1.8;
}


/* 箇条書き */
.sdgs-table td:nth-child(3) ul {
  margin: 0;
  padding-left: 1.2em;
}


/* 箇条書き同士の間隔 */
.sdgs-table td:nth-child(3) li {
  margin-bottom: 20px;
}


.sdgs-table td:nth-child(3) li:last-child {
  margin-bottom: 0;
}

/* ========================================
   SDGs TABLE：スマホ表示
======================================== */

@media (max-width: 767px) {

  /* テーブルを縦積みにする */
  .sdgs-table table,
  .sdgs-table tbody,
  .sdgs-table tr,
  .sdgs-table td {
    display: block !important;
    width: 100% !important;
  }

  /* 上に出ている「項目・関連SDGs・取組」の見出しを全部消す */
  /* 1行目の見出しを消す */
.sdgs-table tbody tr:first-child {
  display: none !important;
}

  /* 1項目ごとのまとまり */
  .sdgs-table tbody tr {
    margin-bottom: 30px;
    border-left: 1px dotted #333;
    border-right: 1px dotted #333;
  }

  /* 各セル */
  .sdgs-table tbody td {
    border-right: none !important;
    border-bottom: 1px dotted #333 !important;
    padding: 20px !important;
    box-sizing: border-box;
  }

  /* 項目名 */
  .sdgs-table tbody td:first-child {
    background-color: #eeeeee;
    text-align: center !important;
    font-size: 18px;
    font-weight: 700;
    border-top: 1px dotted #333 !important;
  }

  /* SDGsゴール */
  .sdgs-table tbody td:nth-child(2) {
    text-align: left !important;
    white-space: normal !important;
  }

  .sdgs-table tbody td:nth-child(2)::before {
    content: "関連するSDGsのゴール";
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
  }

  /* SDGs画像 */
  .sdgs-table tbody td:nth-child(2) img {
    width: 80px !important;
    height: 80px !important;
    margin: 0 8px 0 0 !important;
    display: inline-block !important;
    vertical-align: middle;
  }

  /* 取組内容 */
  .sdgs-table tbody td:nth-child(3) {
    text-align: left !important;
    font-size: 15px;
    line-height: 1.8;
  }

  .sdgs-table tbody td:nth-child(3)::before {
    content: "SDGs達成に向けた取組";
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
  }

  /* リスト */
  .sdgs-table tbody td:nth-child(3) ul {
    margin: 0;
    padding-left: 1.2em;
  }

  .sdgs-table tbody td:nth-child(3) li {
    margin-bottom: 12px;
  }

  .sdgs-table tbody td:nth-child(3) li:last-child {
    margin-bottom: 0;
  }
}

/* お問い合わせフォーム */

/* ========================================
   お問い合わせフォーム
   Snow Monkey Forms
======================================== */

/* フォーム全体 */
.snow-monkey-form {
  width: 100% !important;
}

/* Snow Monkey Formsの幅制限を解除 */
.snow-monkey-form .smf-form--simple-table {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ブログレストラッカー */

.smf-progress-tracker__item[aria-current=true] .smf-progress-tracker__item__number{
  background-color: #0E076B;
}

/* 各項目 */
.snow-monkey-form .smf-item {
  display: grid !important;
  grid-template-columns: 30% 70%;
  width: 100%;
  border-top: 1px solid #ddd;
  margin: 0 !important;
}

.snow-monkey-form .smf-item:last-child {
  border-bottom: 1px solid #ddd;
}

/* 左側ラベル */
.snow-monkey-form .smf-item__col--label {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  background-color: #f5f5f5;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

.snow-monkey-form .smf-item__label__text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* 必須表示 */
.smf-item__label__text {
    position: relative;
}
.smf-item:has([data-validations~="required"]) .smf-item__label__text::before {
  position: absolute;
  top: -30%;
  left: -20px;
  transform: translateY(-50%);
  content: "※必須";
  font-size: 12px;
  font-weight: bold;
  color: #df9134;
}

/* 右側 */
.snow-monkey-form .smf-item__col--controls {
  padding: 25px 40px;
  background-color: #fff;
  box-sizing: border-box;
}

/* ========================================
   入力欄
======================================== */

.snow-monkey-form input[type="text"],
.snow-monkey-form input[type="email"],
.snow-monkey-form input[type="tel"],
.snow-monkey-form .smf-text-control__control,
.snow-monkey-form .smf-email-control__control,
.snow-monkey-form .smf-tel-control__control {
  width: 100% !important;
  max-width: none !important;
  min-height: 50px;
  padding: 10px 15px;
  border: 1px solid #ccc !important;
  border-radius: 0;
  background-color: #fff !important;
  box-sizing: border-box;
  font-size: 16px;
}

/* お問い合わせ内容 */
.snow-monkey-form textarea,
.snow-monkey-form .smf-textarea-control__control {
  max-width: none !important;
  min-height: 220px;
  width: 500px;
  padding: 15px;
  border: 1px solid #ccc !important;
  border-radius: 0;
  background-color: #fff !important;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.8;
  resize: vertical;
}

@media screen and (max-width: 767px) {
  .snow-monkey-form textarea,
.snow-monkey-form .smf-textarea-control__control {
  width: 100%;
}
}


/* フォーカス */
.snow-monkey-form input:focus,
.snow-monkey-form textarea:focus {
  border-color: #0E076B !important;
  outline: none;
}

/* プレースホルダー */
.snow-monkey-form input::placeholder,
.snow-monkey-form textarea::placeholder {
  color: #aaa;
}

/* ========================================
   プライバシーポリシー
======================================== */

.snow-monkey-form .smf-checkbox-control {
  margin-top: 25px;
}

.smf-checkboxes-control__control{
  text-align: center;
}

/* ========================================
   確認画面へボタン
======================================== */

.snow-monkey-form .smf-action {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  margin-top: 50px;
}

.snow-monkey-form .smf-button-control__control {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: 220px !important;
  min-width: 220px !important;
  height: 54px !important;

  padding: 0 !important;

  border: 1px solid #0E076B !important;
  border-radius: 0 !important;

  background-color: #0E076B !important;
  color: #fff !important;

  font-size: 15px !important;
  font-weight: 700;
  line-height: 1 !important;

  cursor: pointer;
  transition: opacity 0.3s ease;
  background-image:none;
}

.snow-monkey-form .smf-button-control__control:hover {
  opacity: 0.8;
  background-color: #fff!important;
  border:1px solid  #0E076B!important;
  color: #0E076B!important;
}

/* ========================================
   確認画面
======================================== */

.snow-monkey-form[data-screen="confirm"] .smf-item {
  grid-template-columns: 25% 75%;
}

/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 767px) {

  .snow-monkey-form .smf-item {
    display: block !important;
  }

  .snow-monkey-form .smf-item__col--label {
    padding: 15px 18px;
  }

  .snow-monkey-form .smf-item__col--controls {
    padding: 18px 0;
  }

  .snow-monkey-form .smf-item__label__text {
    font-size: 15px;
  }

  .snow-monkey-form input[type="text"],
  .snow-monkey-form input[type="email"],
  .snow-monkey-form input[type="tel"] {
    min-height: 48px;
  }

  .snow-monkey-form textarea {
    min-height: 180px;
  }

  .snow-monkey-form .smf-action {
    margin-top: 35px;
  }

  .snow-monkey-form .smf-button-control__control {
    width: 100% !important;
    max-width: 320px;
  }
}

/* ========================================
   1204px以下：ハンバーガーメニュー
======================================== */

@media screen and (max-width: 1204px) {

  /* PC用メニュー・ボタンを非表示 */
  .l-header .u-invisible-md-down {
    display: none !important;
    visibility: hidden !important;
  }

  /* ハンバーガーを表示 */
  .l-header .u-invisible-lg-up {
    display: block !important;
    visibility: visible !important;
  }

  /* ハンバーガーボタン */
  .l-header .c-hamburger-btn {
    display: flex !important;
    visibility: visible !important;
  }

}