@charset "UTF-8";
/* ===============================================
# 日工建設｜トップページCSS
# File: pages/_top.css
=============================================== */
/* ===============================================
# 日工建設｜メディアクエリ（mixin定義）
# File: base/_mediaQuery.scss
=============================================== */
/* -----------------------------
# 0. 使用例（コメントアウトサンプル）
-------------------------------- */
/* -----------------------------
# 1. ブレークポイント定義（命名ベース）
-------------------------------- */
/* -----------------------------
# 2. mixin：名前で指定（@include mq()）
-------------------------------- */
/* -----------------------------
# 3. mixin：数値で指定（@include max()）
-------------------------------- */
/* -----------------------------
# 4. 用途別：どちらを使うべき？
-------------------------------- */
/* ===============================================
# 日工建設｜変数（色・余白などの変数定義）
# File: base/_variables.scss
# ex (480px|1100px)
=============================================== */
/* ===============================================
# 日工建設｜トップページCSS
# File: pages/_top.css
=============================================== */
/* ===============================================
# 日工建設｜フォント（mixin定義）
# File: base/_typography.scss
=============================================== */
/* -----------------------------
# 1. フォントファミリー
-------------------------------- */
body {
  font-family: "noto sans jp", sans-serif;
  color: #111111;
}

.en {
  font-family: "Akshar", sans-serif;
  letter-spacing: 0.01em;
}

/* -----------------------------
# 2. ナビゲーション用
-------------------------------- */
/* -----------------------------
# 3. 見出し用（heading系）
-------------------------------- */
/* -----------------------------
# 4. 通常テキスト（本文）
-------------------------------- */
/* -----------------------------
# 5. カードレイアウト用
-------------------------------- */
/* -----------------------------
# 6. ボタン
-------------------------------- */
/* -----------------------------
# 7. テーブル（c-company-table）
-------------------------------- */
/* ===============================================
# 日工建設｜トップページCSS
# File: pages/_top.css
=============================================== */
/* ===============================================
# 日工建設｜ボタンスタイル（mixin定義）
# File: modules/_button.scss
=============================================== */
/* ボタン | ラップ要素
---------------------------------------------------------- */
.p-buttons {
  display: -ms-grid;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0 auto;
  margin: clamp(20px, 4.516px + 3.226vw, 40px) auto 0;
}
@media screen and (min-width: 1025px) {
  .p-buttons {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons {
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
.p-buttons .c-btn {
  margin: 0;
  width: 100%;
}
.p-buttons.is-single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.p-buttons.is-single .c-btn {
  width: 50%;
  -ms-grid-column-align: center;
      justify-self: center;
}
.p-buttons.is-single .c-btn.left {
  width: 300px;
  -ms-grid-column-align: auto;
      justify-self: auto;
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-single .c-btn.left {
    width: 100%;
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-single .c-btn {
    width: 100%;
  }
}
.p-buttons.is-open {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.p-buttons.is-open .c-btn {
  width: 40%;
  -ms-grid-column-align: center;
      justify-self: center;
}
.p-buttons.is-open .c-btn svg {
  color: #999;
}
.p-buttons.is-open .c-btn:hover svg {
  color: #fff;
}
.p-buttons.is-open .c-btn.left {
  width: 300px;
  -ms-grid-column-align: auto;
      justify-self: auto;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .p-buttons.is-open .c-btn {
    width: 50%;
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-open .c-btn {
    width: 80%;
  }
}

/* ボタン | ラップ要素（2列）
---------------------------------------------------------- */
.p-buttons.is-2nd {
  margin: 0 auto;
  margin: clamp(20px, 4.516px + 3.226vw, 40px) auto 0;
}
@media screen and (min-width: 1025px) {
  .p-buttons.is-2nd {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .p-buttons.is-2nd {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-2nd {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ボタンアイテム（.c-btn）
---------------------------------------------------------- */
.c-btn {
  font-family: "noto sans jp", sans-serif;
  font-size: clamp(16px, 14.452px + 0.323vw, 18px);
  font-weight: 600;
  color: #111111;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: clamp(4px, 0.903px + 0.645vw, 8px);
  min-height: 80px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .c-btn {
    margin-top: 1em;
  }
}
@media screen and (max-width: 767.9px) {
  .c-btn {
    margin-top: 1em;
    padding: 0.5rem 1rem;
    text-align: center;
    min-height: 60px;
  }
}
.c-btn__text {
  text-align: left;
}
.c-btn__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-left: auto;
  gap: 10px;
}
.c-btn__icon svg {
  width: 24px;
  height: 24px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #0061AF;
}
.c-btn:hover {
  background-color: #0061AF;
  color: #fff;
  border-color: #0061AF;
}
.c-btn:hover svg {
  color: #fff;
}
.c-btn.is-disabled {
  background: #ccc;
  color: #999;
  border-color: #999;
  pointer-events: none;
}
.c-btn.is-disabled .c-btn__icon {
  opacity: 0.5;
}

/* mixin
---------------------------------------------------------- */
/* レイアウト
---------------------------------------------------------- */
.l-main.top + .l-footer {
  border-top: 1px solid #CCCCCC;
}

.l-main.top {
  width: 100%;
  background-color: #FFF;
}
.l-main.top > section {
  width: 100%;
}
.l-main.top .section-news {
  width: 1100px;
}
@media screen and (max-width: 767.9px) {
  .l-main.top .section-news {
    width: 100%;
  }
  .l-main.top .section-news .section-title,
  .l-main.top .section-news .text-news-lead {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .l-main.top .section-news .section-title {
    font-size: 30px;
  }
  .l-main.top .section-news .news-list {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding: 0;
    margin-top: 10px;
  }
  .l-main.top .section-news .news-list #newsList {
    padding: 0 1rem;
  }
  .l-main.top .section-news .news-list #newsList li {
    font-size: 14px;
    padding: 1rem;
    border: none;
    background-image: repeating-linear-gradient(to right, #cccccc 0, #cccccc 2px, transparent 2px, transparent 6px);
    background-repeat: repeat-x;
    background-position: top;
    background-size: auto 1px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 0;
  }
  .l-main.top .section-news .news-list #newsList li:first-child {
    background-image: none;
  }
  .l-main.top .section-news .news-list #newsList .news-item:nth-of-type(1) {
    border: 0;
  }
}

/*sp-none*/
.sp-only {
  display: none;
}

@media screen and (max-width: 767.9px) {
  .sp-none {
    display: none;
  }
  .sp-only {
    display: inline-block;
  }
}
.br-sp-none {
  display: inline-block;
}

@media screen and (max-width: 767.9px) {
  .br-sp-none {
    display: contents;
  }
}
/* セクション（共通部分）
---------------------------------------------------------- */
/* 見出しカラー（共通） ------------- */
.section-title {
  color: #0061AF;
}

.section-title .char-start {
  color: #E4124F;
}

.section-title .char-end {
  color: #7FBC3A;
}

.text-news-lead {
  color: #7D7D7D;
  display: inline;
}

.section-sub {
  color: #7D7D7D;
  display: inline;
}

/* NEWS
---------------------------------------------------------- */
/* 並列（NEWS枠＋メッセージ枠） -------------------------- */
.section-news:has(.news-inner) {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr clamp(20px, 4.516px + 3.226vw, 40px) 300px;
  grid-template-columns: 1fr 300px;
  gap: clamp(20px, 4.516px + 3.226vw, 40px);
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section-news:has(.news-inner) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 767.9px) {
  .section-news:has(.news-inner) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

/* NEWS枠 -------------------------- */
/* PC（NEWS枠） ------------- */
.section-news {
  width: 80%;
  margin: auto;
}
.section-news .news-inner .section-title {
  font-size: 40px;
  font-weight: 600;
  display: inline;
}
.section-news .news-inner .text-news-lead {
  font-size: 14px;
  margin-left: 1em;
}
.section-news .news-list {
  max-height: 250px;
  margin-top: 20px;
  overflow-y: auto;
  padding: 0.5em;
  font-size: 14px;
  scrollbar-color: #0061AF #F3F7FA;
  scrollbar-width: thin;
}
.section-news .news-list a {
  color: #0061AF;
  display: inline;
}
.section-news .news-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section-news .news-list ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
  padding: 1em 0;
  border-top: 1px solid #cccccc;
  min-height: 3em;
  line-height: 1.6em;
}
.section-news .news-list ul li .news-date {
  min-width: 6em;
  color: #7D7D7D;
}

/* タブレット（NEWS枠） ------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section-news {
    max-width: 80%;
    margin: auto;
  }
}
/* スマホ（NEWS枠） ------------- */
@media screen and (max-width: 767.9px) {
  .section-news#news {
    margin-top: 20px;
  }
}
@media screen and (max-width: 767.9px) {
  .section-news {
    width: 100%;
  }
  .news-inner .news-inner-title {
    width: 95%;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  .news-inner .news-inner-title .section-title.en {
    width: 80px;
    margin-right: 1rem;
  }
  .news-inner .news-inner-title .text-news-lead {
    margin-bottom: 0.5rem;
  }
  .news-inner .news-inner-title .section-title {
    display: block;
  }
  .news-list {
    -ms-touch-action: auto;
        touch-action: auto;
    padding: 0;
  }
  .news-list ul li {
    padding: 1em 0;
  }
}
/* メッセージ枠 -------------------------- */
.p-message {
  border: 1px solid #cccccc;
  border-radius: clamp(4px, 0.903px + 0.645vw, 8px);
}
.p-message a {
  padding: 1em;
}
.p-message figure figcaption {
  margin-top: 1em;
}
.p-message figure figcaption .text {
  line-height: 1.4;
}
.p-message figure figcaption .text span {
  font-size: 16px;
  font-weight: bold;
}
.p-message figure figcaption svg {
  display: contents;
  color: #0061AF;
}

/* タブレット（メッセージ枠） ------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .p-message {
    max-width: 100%;
    margin: auto;
  }
  .p-message a {
    padding: 0.5em;
  }
  .p-message figure {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 150px auto;
    grid-template-columns: 150px auto;
  }
  .p-message figure figcaption {
    display: -ms-grid;
    display: grid;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-grid-columns: auto 20px 24px;
    grid-template-columns: auto 24px;
    margin: 0 0 0 0.5rem;
  }
  .p-message figure figcaption svg {
    display: block;
    width: 24px;
    height: 24px;
  }
}
/* スマホ（メッセージ枠） ------------- */
@media screen and (max-width: 767.9px) {
  .p-message {
    width: 90%;
    border-radius: clamp(4px, 0.903px + 0.645vw, 8px);
    overflow: hidden;
    max-width: 100%;
    margin: auto;
  }
  .p-message a {
    padding: 0;
  }
  .p-message figure {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 100px auto;
    grid-template-columns: 100px auto;
  }
  .p-message figure img {
    width: 100px;
    height: 100px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .p-message figure figcaption {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1rem;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-grid-columns: auto 1rem 24px;
    grid-template-columns: auto 24px;
    margin: 0 1rem 0 0.5rem;
  }
  .p-message figure figcaption svg {
    display: block;
    width: 24px;
    height: 24px;
  }
}
/* 各コンテンツ（共通）
---------------------------------------------------------- */
.p-about,
.p-biz,
.p-recruit {
  width: 100%;
}
.p-about .p-header__hero,
.p-biz .p-header__hero,
.p-recruit .p-header__hero {
  width: 100%;
  height: 350px;
  overflow: hidden;
}
@media screen and (max-width: 767.9px) {
  .p-about .p-header__hero,
  .p-biz .p-header__hero,
  .p-recruit .p-header__hero {
    height: 150px;
  }
}
.p-about .p-header__hero img,
.p-biz .p-header__hero img,
.p-recruit .p-header__hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}
.p-about .p-header__text,
.p-biz .p-header__text,
.p-recruit .p-header__text {
  background: #F3F7FA;
  background-image: url("/common/images/top/section-header-img.svg");
  background-repeat: no-repeat;
  background-position: 150% 40%, 50% 50%;
  background-size: 80% auto;
}
@media (max-width: 820px) {
  .p-about .p-header__text,
  .p-biz .p-header__text,
  .p-recruit .p-header__text {
    background-position: 0% 140%, 50% 50%;
    background-size: 150%;
  }
}
.p-about .p-header__text .inner,
.p-biz .p-header__text .inner,
.p-recruit .p-header__text .inner {
  width: 1100px;
  margin: auto;
  padding: 60px 0;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 700px 60px 1fr;
  grid-template-columns: 700px 1fr;
  gap: 60px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .p-about .p-header__text .inner,
  .p-biz .p-header__text .inner,
  .p-recruit .p-header__text .inner {
    width: 90%;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media screen and (max-width: 767.9px) {
  .p-about .p-header__text .inner,
  .p-biz .p-header__text .inner,
  .p-recruit .p-header__text .inner {
    padding: 30px 0;
    width: 90%;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.p-about .p-header__text .inner .title .section-title,
.p-biz .p-header__text .inner .title .section-title,
.p-recruit .p-header__text .inner .title .section-title {
  font-size: clamp(3.125rem, 0.706rem + 8.065vw, 6.25rem);
  font-weight: 600;
}
.p-about .p-header__text .inner .title .section-sub,
.p-biz .p-header__text .inner .title .section-sub,
.p-recruit .p-header__text .inner .title .section-sub {
  display: inline-block;
  margin-top: 10px;
}
.p-about .p-header__text .inner .title .section-text,
.p-biz .p-header__text .inner .title .section-text,
.p-recruit .p-header__text .inner .title .section-text {
  font-family: "noto sans jp", sans-serif;
  font-size: clamp(0.875rem, 0.778rem + 0.323vw, 1rem);
  color: #111111;
  line-height: 2;
  word-break: break-word;
  overflow-wrap: break-word;
  margin-top: 30px;
}
@media screen and (max-width: 767.9px) {
  .p-about .p-header__text .inner .title .section-text,
  .p-biz .p-header__text .inner .title .section-text,
  .p-recruit .p-header__text .inner .title .section-text {
    line-height: 1.8em;
  }
}
.p-about .p-header__text .inner .p-buttons,
.p-biz .p-header__text .inner .p-buttons,
.p-recruit .p-header__text .inner .p-buttons {
  width: 100%;
  margin: auto;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.p-about .p-header__text .inner .p-buttons .c-btn,
.p-biz .p-header__text .inner .p-buttons .c-btn,
.p-recruit .p-header__text .inner .p-buttons .c-btn {
  color: #111111;
}
.p-about .p-header__text .inner .p-buttons .c-btn.recruit,
.p-biz .p-header__text .inner .p-buttons .c-btn.recruit,
.p-recruit .p-header__text .inner .p-buttons .c-btn.recruit {
  background: #09A7E5;
  border: 1px solid #09A7E5;
  color: #FFF;
}
.p-about .p-header__text .inner .p-buttons .c-btn.recruit svg,
.p-biz .p-header__text .inner .p-buttons .c-btn.recruit svg,
.p-recruit .p-header__text .inner .p-buttons .c-btn.recruit svg {
  color: #fff;
}
.p-about .p-header__text .inner .p-buttons .c-btn:hover,
.p-biz .p-header__text .inner .p-buttons .c-btn:hover,
.p-recruit .p-header__text .inner .p-buttons .c-btn:hover {
  background-color: #0061AF;
  color: #fff;
  border-color: #0061AF;
}
.p-about .p-header__text .inner .p-buttons .c-btn:hover svg,
.p-biz .p-header__text .inner .p-buttons .c-btn:hover svg,
.p-recruit .p-header__text .inner .p-buttons .c-btn:hover svg {
  color: #fff;
}
.p-about .contents-area,
.p-biz .contents-area,
.p-recruit .contents-area {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 30px 0 0;
}
.p-about .contents-area h3,
.p-biz .contents-area h3,
.p-recruit .contents-area h3 {
  font-family: "noto sans jp", sans-serif;
  color: #0061AF;
  font-weight: 600;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: clamp(18px, 13.355px + 0.968vw, 24px);
}
@media screen and (orientation: landscape) and (max-width: 1024px) {
  .p-about .contents-area,
  .p-biz .contents-area,
  .p-recruit .contents-area {
    padding: 30px 40px 0;
  }
}
@media (max-width: 820px) {
  .p-about .contents-area,
  .p-biz .contents-area,
  .p-recruit .contents-area {
    width: 90%;
    padding: 0;
  }
}

/* （共通）日工グループ一覧
---------------------------------------------------------- */
.group-company {
  margin-top: clamp(20px, 4.516px + 3.226vw, 40px);
}