@charset "UTF-8";

/* ======================= 基本リセット ======================= */
img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: #000;
}
a:hover {
    opacity: 0.5;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.5;
}

.sp {
    display: none;
}

/* ======================= 共通フォント ======================= */
.mainTitle, .title, .viewMore, #brand, .messageName, .messageLicense, #footer {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* ======================= ラッパー ======================= */
.wrapper, #footer {
    padding: 70px 0;
}

#message, #recruit {
    background-color: #f4f4f3;
}

.inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 30px;
}

.title {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
}

.viewMore {
    padding-right: 2rem;
    font-size: 1.4rem;
    background-image: url(../img/arrow.png);
    background-repeat: no-repeat;
    background-position: right 70%;
    background-size: 2rem;
    display: inline-block;
    border-bottom: solid 0.3px;
    margin-top: 30px;
    padding-bottom: 3px;
}

/* ======================= グリッド ======================= */
.col2, .col3, .col4,.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.left, .right {
    width: 48%;
}

.brandContents, .worksContents {
    width: 32%;
}

.rinkContents {
    width: 22%;
}

/* ======================= レスポンシブ ======================= */
@media screen and (max-width: 768px) {
    .sp {
        display: block;
    }

    .col2 {
        display: block;
    }

    .left, .right {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .wrapper, #footer {
        padding: 40px 0;
    }

    .title {
        margin-bottom: 30px;
    }

    .col3 {
        display: block;
    }

    .brandContents, .worksContents {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* ======================= メインビジュアル ======================= */
#mainImg {
    height: 80vh;
    width: auto;
    background-image: url(../img/main.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

#mainImg .mainInner {
    position: absolute;
    left: 50%;
    top: 50%;
}

#mainImg .mainContents {
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 8px #000;
}

#mainImg .mainTitle, #mainImg .mainText {
    font-weight: bold;
    text-align: center;
    color: #fff;
}

#mainImg .mainText {
    font-size: 1.4rem;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    #mainImg .mainInner {
        position: static;
        padding-top: 20%;
    }
    #mainImg .mainContents {
        transform: translate(0, 0);
    }
}

@media screen and (max-width: 500px) {
    #mainImg .mainTitle {
        font-size: 2rem;
    }
    #mainImg .mainText {
        font-size: 1.1rem;
    }
}

/* ======================= ブランド ======================= */
#brand .col3 {
    align-items: stretch;
}

#brand .brandContents {
    background-color: #f4f4f3;
    text-align: center;
}

#brand .brandContents a {
    display: block;
    padding: 10px 10px 30px;
}

#brand .brandContents .brandLogo {
    position: relative;
    height: 150px;
    width: auto;
}

#brand .brandContents .brandLogo h3 {
    display: block;
}

#brand .brandContents .brandLogo .logo01 {
    position: absolute;
    left: 50%;
    top: 50%;
}

#brand .brandContents .brandLogo .logo01 img {
    transform: translate(-50%, -50%);
}

#brand .brandContents .brandLogo .logo02 {
    position: absolute;
    left: 30%;
    top: 50%;
}

#brand .brandContents .brandLogo .logo02 img {
    transform: translate(-21%, -50%);
}

#brand .brandContents .brandLogo .logo03 {
    position: absolute;
    left: 20%;
    top: 50%;
}

#brand .brandContents .brandLogo .logo03 img {
    transform: translate(-13%, -50%);
}

#brand .brandContents .brandTitle, #brand .brandContents .brandText {
    font-size: 0.9rem;
}

#brand .brandContents .brandTitle {
    margin-bottom: 0.9rem;
}

/* ======================= メッセージ ======================= */
#message .messageName, #message .messageLicense {
    font-size: 1.4rem;
}

#message .messageName {
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    #message .messageName {
        margin-top: 20px;
    }

    #message .right {
        margin-top: 20px;
    }
}

/* ======================= 施工事例 ======================= */
#works, #worksPage {
    text-align: center;
}

#works .worksContents, #worksPage .worksContents {
    text-align: left;
}

#works .worksContents a, #worksPage .worksContents a {
    display: block;
    padding: 10px 10px 30px;
}

#works .worksContents img, #worksPage .worksContents img {
    border: solid 3px;
}

#works .worksContents .icon, #worksPage .worksContents .icon {
    display: inline-block;
    color: #fff;
    background-color: #000;
    font-size: 0.9rem;
    padding: 0.2rem 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 20px;
}

#works .worksContents .meta, #worksPage .worksContents .meta {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* ======================= リクルート ======================= */
#recruit {
    text-align: center;
}

#recruit .viewMore {
    margin-top: 60px;
}

/* ======================= お問い合わせ ======================= */
#contact {
    text-align: center;
}

#contact .contactTitle {
    font-size: 2rem;
    margin-bottom: 20px;
}

#contact .tel {
    font-size: 2.8rem;
    font-weight: bold;
    text-decoration: underline;
    color: #000;
    margin-bottom: 10px;
    display: inline-block;
}

/* ======================= 会社概要 ======================= */
#about .aboutTitle {
    font-size: 2rem;
    margin-bottom: 30px;
}

#about dl {
    max-width: 600px;
    margin: 0 auto;
}

#about dt {
    width: 30%;
    float: left;
}

#about dd {
    padding-left: 35%;
    margin-bottom: 1rem;
}

/* ======================= フッター ======================= */
#footer {
    background-color: #dbd9d6;
}

#footer h2 {
    margin-bottom: 1.5rem;
    padding-right: 80px;
}

#footer p {
    font-size: 0.9rem;
}

#footer .areaText {
    margin-bottom: 1rem;
}

#footer .col4 {
    margin-top: 30px;
    align-items: center;
}

#footer .col4_sp {
    display: none;
}

#footer .col4 a {
    text-align: center;
    display: block;
}

#footer .col4 .youtube, #footer .col4 .Verdot {
    height: 50px;
    width: auto;
    display: inline-block;
}

#footer iframe {
    margin-top: 20px;
    width: 100%;
}

#footer .copy {
    font-size: small;
    text-align: center;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    #footer .col4 {
        display: none;
    }

    #footer .col4_sp {
        display: flex;
    }

    #footer .col4_sp .youtube, #footer .col4_sp .Verdot {
        height: 60px;
    }

    #footer .right {
        margin-top: 20px;
    }
}

/* ======================= ページヘッダー ======================= */
.page_header {
    margin-top: 0;
    padding-top: 8rem;
}

.page_header .container {
    width: 90%;
    margin: 0 auto;
}

.page_title {
    text-align: center;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 60px;
}

.page_header_container .page_title span {
    display: block;
    font-size: 2rem;
    font-weight: normal;
}

.worksPage_header{
    margin-bottom: 60px;
}



.page_header_container p {
    color: #ABAAAA;
    font-size: 1.25rem;
    margin-top: 3rem;
    text-align: center;
}

/* ブランドボタン */
.page_header_btn {
    justify-content: center; /* 中央揃え */
    gap: 10px; /* ボタン間のスペース */
    flex-wrap: wrap; /* 小さい画面では折り返す */
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}

.page_header_btn li {
}

.page_header_btn li a {
    display: inline-block;
    background-color: #000; /* 背景黒 */
    color: #fff; /* 文字白 */
    padding: 0.6rem 1.2rem;
    border-radius: 25px; /* 角丸 */
    font-size: 1rem;
    text-align: center;
    transition: 0.3s;
}

.page_header_btn li a:hover,
.page_header_btn li.active a {
    opacity: 0.7; /* ホバー・アクティブ時 */
}

/* パンくず */
.breadcrumb_inner{
    text-align: left;
}

/* ======================= ページネーション ======================= */
/* ページネーション全体 */
.pagination ul.page-numbers {
    display: flex;
    gap: 8px; /* ボタン間の隙間 */
    justify-content: center; /* 中央寄せ */
    padding: 0;
    list-style: none;
}

/* li自体は横並び */
.pagination ul.page-numbers li {
    display: inline-block;
}

/* 数字と矢印の丸ボタン */
.pagination ul.page-numbers li a,
.pagination ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%; /* 丸くする */
    background-color: #e4e3e0; /* グレー背景 */
    color: #000; /* 文字白 */
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    font-size: 16px;
}

/* ホバー時（リンクのみ） */
.pagination ul.page-numbers li a:hover {
    background-color: #444;
}

/* 現在ページ */
.pagination ul.page-numbers li span.current {
    background-color: #e4e3e0;
    color: #fff;
}

/* 前へ・次への矢印だけ少し大きめ */
.pagination ul.page-numbers li a.prev,
.pagination ul.page-numbers li a.next {
    font-size: 18px;
}


/* ======================= シングルページ（施工事例） ======================= */
#single_works.page_main {
    padding-top: 6rem;
}

#single_works .container {
    width: 90%;
    margin: 0 auto;
}

/* 各コンテンツブロック */
.works_content {
    margin-bottom: 2.5rem;
}

/* 地域・日付 */
.area_date {
    display: flex;
    justify-content: end;
    align-items: center;
    flex-wrap: wrap;
}

.area_date .area {
 margin-right: 5px;
    font-size: 0.9rem;
}

.area_date .date {
    font-size: 0.9rem;
}

/* カテゴリ（classタクソノミー） */
.works_content.class p a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: #000;
    color: #fff;
    font-size: 0.9rem;
    border-radius: 0.3rem;
}

/* 詳細・説明 */
.works_content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #000;
}

/* ボタン（見学希望） */
.sec_btn a{
    background-color: #000;
    width: 10rem;
    padding: 0.6rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6rem;
    border-radius: 10px;
}



.sec_btn .btn{
    font-size:1rem;
    color: #fff;
    text-align: center;
    display:block;
}


@media screen and (max-width: 800px){
    .sec_btn a{
        margin-top: 3rem;
    }
}


.postLinks{
    margin: 60px;
} 