@charset "UTF-8";
/********************************************************************************

common.css

********************************************************************************/
/*============================================================
 css変数
*============================================================*/
:root {
    --common-vh: 100vh;                         /* jsで変動 */

	--common-inner-max-width: 1128px;           /* 通常サイト幅 */
	--common-inner-max-width-wide: 1280px;      /* ワイドサイト幅 */
	--common-inner-padding: 24px;               /* 通常サイト幅内余白 */
	--common-inner-padding-wide: 24px;          /* ワイドサイト幅内余白 */

    --common-color-text: #1F2937;           /* 基本テキスト色 */
    --common-color-main: #1E3A8A;           /* メイン色 */
    --common-color-sub: #60A5FA;            /* サブ色 */
    --common-color-background1: #F8FAFC;       /* 背景色1 */
    --common-color-background2: rgba(96, 165, 250, 0.1);       /* 背景色2 */
    --common-color-accent: #FAA43F;            /* アクセント色 */
    --common-color-attention: #D93838;      /* 注意色 */
    --common-color-attention-bg: #FFF5F5;   /* 注意色(背景用) */
    --common-color-notice: #B3B3B3;      /* 注釈色 */

    --common-font-family: 'Noto Sans JP', sans-serif;
    --common-font-family-en: 'Noto Sans JP', sans-serif;

    --common-header-height: 0;                  /* jsで変動 */
    --common-footer-height: 0;                  /* jsで変動 */
}

body {
    --inner-max-width: var(--common-inner-max-width);
    --inner-padding: var(--common-inner-padding);
}

/*============================================================
 system
*============================================================*/
/* pc-sp display switch
---------------------------------------- */
.forPC {
    display: inherit;
}
.forSP {
    display: none;
}

/*============================================================
 format
*============================================================*/
/* ベース
---------------------------------------- */
html {
    display: block;
    background-color: #fff;
}
body {
    width: 100%;
    font-family: var(--common-font-family);
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 180%;
    color: var(--common-color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0 0 0 0;
}
*[data-font="en"] {
    font-family: var(--common-font-family-en); 
}

body.page-lower {
    /* padding-top: var(--common-header-height); */
}

/* レイアウト
---------------------------------------- */
#main-contents {
    width: 100%;
    padding-bottom: 112px;
}

/* コンテンツ内
---------------------------------------- */
.section:first-of-type {
    padding-top: 64px;
}
.section {
    margin-bottom: 64px;
}
.section:last-of-type {
    margin-bottom: 0;
}

.inner {
    width: 100%;
    max-width: var(--inner-max-width);
    padding: 0 var(--inner-padding);
    margin: 0 auto;
}
main .inner > *:not(h1, h2, h3, h4) {
    margin-bottom: 32px;
}
main .inner > *:last-child {
    margin-bottom: 0;
}

main .block, main .inner .block {
    margin-bottom: 48px;
}
main .block:last-child {
    margin-bottom: 0;
}

main .block > *:not(h1, h2, h3, h4) {
    margin-bottom: 32px;
}
main .block > *:last-child {
    margin-bottom: 0;
}

.page-group {
    font-weight: bold;
}
h1.page-title {
    font-weight: bold;
    font-size: 48px;
    line-height: 160%;
    color: #ffffff;
}
h2.sec-title {
    font-weight: bold;
    font-size: 32px;
    line-height: 160%;
    margin-bottom: 42px;
    color: var(--common-color-main);
    text-align: center;
}
h3.block-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 160%;
    margin-bottom: 16px;
}

p {}

img {
    max-width: 100%;
    height: auto;
}
svg {
    max-width: 100%;
    height: auto;    
}
span {
    font-weight: inherit;
}
a[href^="tel:"] {
    pointer-events: none;
}
strong {
    font-weight: bold;
}
.attention {
    font-size: 12px;
    line-height: 160%;
    color: var(--common-color-attention);
}
.notice {
    font-size: 12px;
    line-height: 160%;
}
.list-date {
    font-size: 12px;
    line-height: 160%;
}

.section .sec-lead {
    text-align: center;
    margin-bottom: 62px;
}

/* セクション（背景あり）
---------------------------------------- */
.section.bg-gray {
    background-color: var(--common-color-background1);
    padding: 64px 0;
}

/*============================================================
 メインビジュアル(下層)
*============================================================*/
.page-lower #mainvisual {
    height: 400px;
    background-color: var(--common-color-background2);
    padding-top: calc( var(--common-header-height) + 64px);
}
.page-lower #mainvisual .excerpt {
    font-size: 20px;
    line-height: 160%;
    color: #ffffff;
    margin-top: 24px;
}
/* 子ページ */
.page-child.page-lower #mainvisual {
    height: 600px;
    padding-top: calc( var(--common-header-height) + 126px);
}
/*============================================================
 パンくずリスト
*============================================================*/
/* TOPページでは非表示
---------------------------------------- */
#page-top #breadcrumb {
    display: none;
}

/* 下層ページでは表示
---------------------------------------- */
#breadcrumb {
    margin-bottom: 16px;
}
#breadcrumb .inner  {
    padding: 0 var(--inner-padding) 0 0;
}
#breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    font-size: 16px;
    line-height: 140%;
    color: #ffffff;
}
#breadcrumb li a {
    text-decoration-line: underline;
}
/* セパレーター(テキストの場合) */
#breadcrumb li:not(:last-child)::after {
    content: "/";
    display: inline-block;
    margin-left: 8px;
}
/* セパレーター(画像の場合) */
/* #breadcrumb li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 100%;
    background-image: url(../images/common/icon-bread-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px auto;
    margin-left: 8px;
    vertical-align: text-bottom;
} */



/*============================================================
 共通ブロック
*============================================================*/
/* 要素幅超スクロール
---------------------------------------- */
.block-wscroll {
    width: calc(100vw - ((100vw - 100%) / 2));
    overflow-x: auto;
}
.block-wscroll .block-wscroll-inner {
    width: max-content;
    padding: 0 var(--inner-padding) 16px 0;
}
.block-wscroll .block-wscroll-inner > * {
    width: auto;
    white-space: nowrap;
}

/* カード
---------------------------------------- */
.block-card {
    --gap: 32px;
    --col: 3;
    gap: var(--gap);
}
.block-card .item {
    display: block;
    width: calc((100% - var(--gap) * (var(--col) - 1)) / var(--col));
    border-radius: 0;
    overflow: hidden;
    background-color: #fff;
    /* box-shadow: 0px 2px 2px rgb(0 0 0 / 20%); */
}
.block-card .item .image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.block-card .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: .3s ease-in-out;
}
.block-card .item:hover .image img {
    transform: scale(1.2);
}
.block-card .item .info {
    padding: 16px;
}
.block-card .item .readmore {
    color: #3B82F6;
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
    display: inline-flex;
}


/* 【サービス共通】　カードリスト
--------------------------------------- */
.block-card-service {
	--gap: 32px;
	--col: 3;
    --col-highlight: 2;
	--item-gap: 24px;
	--item-border-radius: 0;
	/* --item-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.10), 0 10px 15px 0 rgba(0, 0, 0, 0.10); */
    --item-box-shadow: unset;
	--item-border-highlight: 2px solid #1E3A8A;
	--item-border: 1px solid #E5E7EB;
	--item-background: #fff;
	--item-title-color: #1E3A8A;
	--item-hover-background: #efeff37d;
    --icon-size: 56px;
    --icon-size-highlight: 64px;
}
/* カードリスト（アイコン）
---------------------------------------- */
.block-card-service {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
}
.block-card-service .item {
	width: calc((100% - (var(--gap) * (var(--col) - 1))) / var(--col));
	background-color: var(--item-background);
	box-shadow: var(--item-box-shadow);
	border: var(--item-border);
	border-radius: var(--item-border-radius);
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	gap: var(--item-gap);
	padding: 24px;
    transition: .3s ease-in-out;
}
/* .block-card-service .item:hover {
    background-color: var(--item-hover-background);
} */

.block-card-service .item .icon {
	width: var(--icon-size);
	height: var(--icon-size);
}
.block-card-service .item .icon img {
	width: 100%;
	height: 100%;
}
.block-card-service .item .info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.block-card-service .item .title {
	color: var(--common-color-text);
	font-size: 20px;
	font-weight: bold;
	line-height: 140%;
}
.block-card-service .item .text {
	color: #6B7280;
	font-size: 16px;
	line-height: 140%;
	font-weight: 400;
}
.block-card-service .item .readmore {
	color: #3B82F6;
	font-size: 14px;
	font-weight: 700;
	line-height: 140%;
	display: inline-flex;
	gap: 8px;
	align-items: center;
}
.block-card-service .item .readmore:after {
	content: "";
	width: 16px;
	height: 18px;
	background-image: url(../images/common/icon-arrow-blue.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: inline-block;
}
/* ハイライトカード */
.block-card-service .item.highlight {
	width: calc((100% - var(--gap)) / var(--col-highlight));
	border: var(--item-border-highlight);
    padding: 34px;
}
.block-card-service .item.highlight .icon {
	width: var(--icon-size-highlight);
	height: var(--icon-size-highlight);
}
.block-card-service .item.highlight .title {
	color: var(--item-title-color);
	font-size: 24px;
}
.block-card-service .item.highlight .text {
	font-size: 18px;
}

/* 【施工実績】カードリスト
---------------------------------------- */
.block-card[data-post="achievement"] {
    --gap: 32px;
    --col: 3;
    gap: var(--gap);
}
.block-card[data-post="achievement"] .item {
    border: 1px solid #E5E7EB;
    overflow: hidden;
    box-shadow: unset;
}
.block-card[data-post="achievement"] .item .image {
    aspect-ratio: 16 / 9;
}
.block-card[data-post="achievement"] .item .info {
    padding: 16px;
    gap: 12px;
    flex-direction: column;
}
.block-card[data-post="achievement"] .item .info-cat {
    width: max-content;
    font-size: 12px;
    line-height: 140%;
    border-radius: 20px;
    background: var(--common-color-sub);
    color: #fff;
    padding: 8px 12px;
    line-height: 140%;
    font-weight: 500;
}
.block-card[data-post="achievement"] .item .info-title {
    font-size: 18px;
    line-height: 140%;
    font-weight: 700;
}
.block-card[data-post="achievement"] .item .info-text {
    color: #6B7280;
    font-size: 14px;
    line-height: 140%;
}

/* 【ブログ】カードリスト
---------------------------------------- */
.block-card[data-post="blog"] {
    --gap: 32px;
    --col: 3;
    gap: var(--gap);
}
.block-card[data-post="blog"] .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden;
    box-shadow: unset;
    border: 1px solid #E5E7EB;
    padding: 16px;
}
.block-card[data-post="blog"] .item .info {
    padding: 0;
    gap: 12px;
    flex-direction: row;
    align-items: center;
}
.block-card[data-post="blog"] .item .info-cat {
    width: max-content;
    font-size: 12px;
    line-height: 140%;
    border-radius: 20px;
    background: var(--common-color-sub);
    color: #fff;
    padding: 8px 12px;
    line-height: 140%;
    font-weight: 500;
}
.block-card[data-post="blog"] .item .info-date {
    font-size: 12px;
    line-height: 140%;
    color: #6B7280;
}
.block-card[data-post="blog"] .item .title {
    font-size: 20px;
    line-height: 140%;
    font-weight: 700;
}
.block-card[data-post="blog"] .item .text {
    font-size: 16px;
    line-height: 140%;
    color: #6B7280;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: 68px;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}


/* 【カード画像リスト】
---------------------------------------- */
.block-card-image {
    --gap: 32px;
    --col: 3;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}
.block-card-image .item {
    width: calc((100% - (var(--gap) * (var(--col) - 1))) / var(--col));
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
}
.block-card-image .item .image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.block-card-image .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-card-image .item .info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
}
.block-card-image .item .title {
    font-size: 20px;
    line-height: 140%;
    font-weight: 700;
}
.block-card-image .item .text {
    font-size: 16px;
    line-height: 140%;
}


/* dlリスト
---------------------------------------- */
.block-dl-list {
	display: flex;
	/* flex-wrap: wrap; */
    flex-direction: column;
    gap: 24px;
}
.block-dl-list .item {
    padding-bottom: 24px;
    border-bottom: solid 1px #F0F0F0;
	display: flex;
	flex-wrap: wrap;
    gap: 8px;
}
.block-dl-list .item dt {
    width: 25%;
    max-width: 200px;
    font-weight: bold;
}
.block-dl-list .item dd {
    flex: 1;
	display: flex;
	flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
}

/* ulリスト
---------------------------------------- */
.block-ul-list {
    list-style-type: disc;
    margin-left: 1em;
    margin-bottom: 16px;
}
.block-ul-list li {
    list-style-type: disc;
    margin-left: 0.6em;
}
.block-ul-list li::marker {
    color: var(--common-color-main);
}

/* 画像リスト
---------------------------------------- */
.block-image-list {
    --gap: 32px;
    --col: 4;

    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}
.block-image-list .item {
    width: calc((100% - (var(--gap) * (var(--col) - 1))) / var(--col));
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-direction: row;
    align-items: flex-start;
}
.block-image-list .item .image {
    width: 48px;
    height: 48px;
}
.block-image-list .item .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.block-image-list .item .title {
    font-size: 16px;
    line-height: 140%;
    font-weight: 700;
}
.block-image-list .item .text {
    font-size: 14px;
    line-height: 140%;
    color: #6B7280;
}

/* 画像リスト（数字付き）
---------------------------------------- */
.block-image-num-list {
	display: flex;
	flex-wrap: wrap;
    flex-direction: column;
    gap: 48px;
    counter-reset: number 0;
}
.block-image-num-list .item {
	display: flex;
	flex-wrap: wrap;
    gap: 48px;
}
.block-image-num-list .item .image img {
}
.block-image-num-list .item .info {
    flex: 1;
	display: flex;
	flex-wrap: wrap;
    flex-direction: column;
    gap: 12px;
}
.block-image-num-list .item .info .title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 24px;
    line-height: 140%;
    font-weight: 700;
}
.block-image-num-list .item .info .title span {
    flex: 1;
    font-weight: bold;
    font-size: 18px;
    line-height: 160%;
    padding-top: 6px;
}
.block-image-num-list .item .info .title::before {
    width: 50px;
    height: 50px;
    counter-increment: number 1;
    content: counter(number);
    font-weight: bold;
    font-size: 24px;
    line-height: 100%;
    color: #1E3A8A;
    background: rgba(30, 58, 138, 0.1);
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
}

/*============================================================
 モーダルカスタム(Modaal.js)
 ※z-index指定　ヘッダー < .modaal-overlay < .modaal-wrapper
*============================================================*/
.modaal-wrapper {
    z-index: 999999;
}
.modaal-overlay {
    z-index: 99999;
}


/*============================================================
 ページング
*============================================================*/
/* bones_page_navi使用時
---------------------------------------- */
.pagination {
    margin-top: 80px;
}
.pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    margin: 0 auto;
    gap: 8px;
}
.pagination .page-numbers li > * {
    display: block;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 32px;
    text-align: center;
}
.pagination .page-numbers li > a {
    background-color: inherit;
    border-radius: 0;
    border: 1px solid #E5E7EB;
}
.pagination .page-numbers li > .current {
    background-color: transparent;
    font-weight: bold;
}
.pagination .page-numbers li > a.prev,
.pagination .page-numbers li > a.next {
    padding: 8px;
    background-color: var(--common-color-main);
    color: #ffffff;
}
.pagination .page-numbers li > *.page-numbers.dots {
    background-color: transparent;
}

/*============================================================
 記事本文ブロック
*============================================================*/
/* 見出し
---------------------------------------- */
.block-post-content h2 {
    font-weight: bold;
    font-size: 32px;
    line-height: 160%;
    margin-bottom: 38px;
    color: var(--common-color-main);
}
.block-post-content h3 {  
    font-weight: bold;
    font-size: 24px;
    line-height: 160%;
    margin-bottom: 16px;  
}

/* 箇条書きリスト
---------------------------------------- */
.block-post-content ul {
    list-style-type: disc;
    margin-left: 1em;
    margin-bottom: 16px;
}
.block-post-content ul li {
    list-style-type: disc;
    margin-left: 0.6em;
}
/* 連番リスト
---------------------------------------- */
.block-post-content ol {
    list-style: decimal;
    margin-left: 0.6em;
    margin-bottom: 16px;
}
.block-post-content ol li {
    list-style: decimal;
    padding-left: 0.4em;
    margin-left: 0.6em;
}
/* 段落
---------------------------------------- */
.block-post-content p {
    margin-bottom: 16px;
}
.block-post-content a {
    text-decoration: underline;
}
.block-post-content strong {
    font-weight: bold;
}
/* 画像
---------------------------------------- */
.block-post-content figure {    
    margin-bottom: 16px;
}
.block-post-content figure figcaption { 
    font-size: 12px;
    line-height: 140%;
    color: var(--common-color-notice);
    margin: 8px 0 0 0;
}

/* 余白調整
---------------------------------------- */
.block-post-content .inner > *:first-child {
    margin-top: 0;
}


/*============================================================
 CTA
*============================================================*/
/* お問い合わせ
---------------------------------------- */
#cta-contact {
    padding: 64px 0;
    background-color: var(--common-color-background2);
}
#cta-contact .sec-title {
    text-align: center;
}
#cta-contact .lead {
    text-align: center;
    margin-bottom: 54px;
}
#cta-contact .parts-btn {
    margin: 0;
}

/* 施工実績
---------------------------------------- */
#cta-achievement .lead {
    text-align: center;
    margin-bottom: 62px;
}


/*============================================================
 サイト内検索フォーム
*============================================================*/
#searchform > div > * {
    vertical-align: middle;
}

/*============================================================
 サイト内検索結果
*============================================================*/
/* 結果リスト
---------------------------------------- */
#page-search #sec-search-results {
    padding: 80px 0;
}
/* 検索結果数 */
#page-search #sec-search-results .total-cnt {
    margin-bottom: 40px;
}
/* リスト */
#page-search #sec-search-results .block-search-results {
    flex-direction: column;
    gap: 32px;
}
#page-search #sec-search-results .block-search-results .item {
}
#page-search #sec-search-results .block-search-results .item .title {
    font-weight: bold;
    font-size: 20px;
    line-height: 160%;
    margin-bottom: 8px;
}
#page-search #sec-search-results .block-search-results .item .lead {
}

/*============================================================
 システムエラー　404
*============================================================*/
#page-system-error #sec-system-error {
    height: max(600px, calc(var(--common-vh) - var(--common-footer-height) - 64px));
    padding: 200px 0 0 0;
    text-align: center;
    background-color: #fff;
    border-radius: 4px;
}

#page-system-error #sec-system-error .system-error-num {
    font-weight: 900;
    font-size: 120px;
    line-height: 100%;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

#page-system-error #sec-system-error .system-error-sts {
    font-weight: bold;
    font-size: 32px;
    line-height: 180%;
    margin-bottom: 24px;
}

#page-system-error #sec-system-error .system-error-lead {
    margin-bottom: 56px;
}
#page-system-error #sec-system-error .parts-btn {
    margin: 0 auto;
}


/*============================================================
 footer
*============================================================*/
#site-footer {
    background-color: #1F2937;
    padding: 48px 0;
    color: #E5E7EB;
}
#site-footer #fnav {
    height: 280px;
    padding-bottom: 32px;
    border-bottom: 1px solid #374151;
    margin-bottom: 32px;
}
/* ロゴ */
#site-footer #fnav .logo {
    margin-bottom: 24px;
}
#site-footer #fnav .addr {
   font-size: 16px;
   font-weight: 400;
   line-height: 160%;
}
#site-footer #fnav .addr span {
    display: block;
}

/* メニューリスト
---------------------------------------- */
#site-footer #fnav .menu-list {
    width: 320px;
    row-gap: 14px;
}
#site-footer #fnav .menu-list li {
    width: 112px;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
}

/* お問い合わせ
---------------------------------------- */
#site-footer #fnav .contact {
}
#site-footer #fnav .contact .title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 24px;
}
#site-footer #fnav .contact p {
    font-size: 14px;
    font-weight: 400;
    line-height: 180%;
    margin-bottom: 18px;
}
#site-footer #fnav .contact p:last-child {
    margin-bottom: 0;
}
#site-footer #fnav .contact p span {
    display: block;
}
/* 電話番号 */
#site-footer #fnav .contact .tel span a {
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
}
/* メールアドレス */
#site-footer #fnav .contact .email span a {
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
}

#site-footer .footer-link {
    gap: 24px;
    align-items: center;
    justify-content: center;
    padding-bottom: 32px;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    text-decoration: underline;
}

/* Copyright
---------------------------------------- */
#site-footer #copyright {
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
}


