@charset "UTF-8";


body {
    font-family: "Noto Sans JP", sans-serif;
    color: #121212;
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-size: 1.375rem;
}

img {
    max-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

a {
    display: inline-block;
    text-decoration: none;
    color: #121212;
}

li {
    list-style: none;
}

.main {
    overflow: hidden
}

/* --------共通で使用部分-------------- */

/* header */

header {
    max-width: 1920px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    letter-spacing: 0;
}

.drawer-logo {
    display: none;
}

.nav .nav-menu {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    gap: 3.125rem;
}

nav .nav-menu li {
    position: relative;
}

nav .nav-menu li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #008000;
    transition: width .3s ease;
}

nav .nav-menu li:hover::after {
    width: 100%;
}


.nav .nav-menu li:last-of-type {
    display: none;
}

.nav-contact {
    background-color: #008000;
    color: #FFFFFF;
    padding: 1.5rem 2.5rem;
    align-items: center;
}

.nav-contact img {
    margin-right: 0.25rem;
    margin-bottom: 0.4rem;
}

.toggle-btn {
    display: none;
}

.sp {
    display: none;
}


.btn-a {
    display: inline-flex;
    width: 300px;
    align-items: center;
    justify-content: center;
    background-color: #121212;
    color: #ffffff;
    padding: 1.25rem 3rem;
    font-weight: bold;
    transition: background-color 0.3s;
    letter-spacing: 0;
    border-radius: 5%
}

.btn-a:hover {
    background-color: #008000;
    /* ホバー時に少し明るく */
}

/* ボタン右側の矢印アイコン（擬似要素） */
.btn-a::after {
    content: "→";
    margin-left: 1.25rem;
    background-color: #ffffff;
    color: #008000;
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* 他下層ページにも適用 */
.page-heading {
    color: #008000;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 4.5rem;
    letter-spacing: 0.1em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-heading::before,
.page-heading::after {
    content: "";
    flex: 1 1 0;
    min-width: 2rem;
    height: 1px;
    width: auto;
    background-color: #008000;
    margin: 0;
    margin-inline: 1rem;
}

.page-heading-text {
    flex: 0 0 auto;
    white-space: nowrap;
}

.sp-br2 {
    display: none;
}


/* -------- Footer -------- */
footer {
    background-image: url(../img/フッター背景.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding: 6rem 4.5rem 2rem 4.5rem;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.footer-contents {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 1.25rem;
}

.footer-info img {
    margin-bottom: 1rem;
    width: auto;
}

.address li {
    font-size: 1rem;
    line-height: 2;
    color: #FFFFFF;
}

.footer-list {
    display: flex;
    gap: 5rem;
}

.footer-sp {
    display: none;
}

.footer-link a {
    color: #FFFFFF;
    font-size: 1.125rem;
    line-height: 2.5;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.footer-link a:hover {
    opacity: 0.7;
}

.copy-right {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: #FFFFFF;
    letter-spacing: 0;
}

/* index */

/* TOPメインビジュアル */

.bg-slider-mv img {
    width: 100%;
    height: 639px;
    display: block;
}

.bg-slider li {
    position: relative;
}

.slider-title {
    background-color: rgba(18, 18, 18, 0.45);
    padding: 3.5rem clamp(2rem, 6vw, 10rem) 4rem;
    position: absolute;
    bottom: 0%;
    left: 0%;
    z-index: 10;
}

.bg-slider-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    letter-spacing: 0rem;
    color: #FFFFFF;
    text-shadow: 1px 1px 10px #121212;
    border-bottom: 1.5px solid #FFFFFF;
}

.bg-slider-subtitle {
    font-size: 1.5rem;
    color: #FFFFFF;
    text-shadow: 1px 1px 10px #121212;
}

.bg-slider-mv .slick-track {
    height: 639px;
}



/* top-about */

.top-about {
    background-image: url(../img/topABOUT背景.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    text-align: center;
}


.top-section-title {
    font-family: "Akshar";
    color: #008000;
    font-size: 6rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: -1.25rem;

}

.top-section-subtitle {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    color: #121212;
    letter-spacing: 0.1em;
    margin-bottom: 3.125rem;
    position: relative;
    padding: 0 4.5rem;
}


.top-section-subtitle::before,
.top-section-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 1px;
    background-color: #121212;
}

.top-section-subtitle::before {
    left: 0;
}


.about-item {
    max-width: 1176px;
    margin: 0 auto;
    padding-block: 9rem;

}

.section-lead {
    font-size: 2.625rem;
    margin-bottom: 4rem;
}

.sp-br {
    display: none;
}

.about-text {
    margin-bottom: 12rem;
}

.about-text p {
    display: block;
    padding-inline: 50px;

}

/* top-business */

.top-business {
    margin-bottom: 12rem;
}

.business-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business-photo {
    overflow: hidden;
}

.business-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.business-text {
    background-image: url(../img/top事業内容背景.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding: 9rem 6rem;
}

.business-left {
    max-width: 760px;
}

.business-text p {
    color: #FFFFFF;
    margin-bottom: 6rem;
}

.business-text .btn-a {
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: transparent;

}

.business-text .btn-a:hover {
    background-color: #008000;

}

.business-section-title {
    font-family: "Akshar";
    color: #008000;
    font-size: 6rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: -1.25rem;
}

.business-section-subtitle {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    white-space: nowrap;

}

.business-section-subtitle::after {
    content: "";
    margin-left: 1rem;
    width: clamp(10rem, 30.8vw, 37rem);
    height: 1px;
    background-color: #ffffff;
}

/* top-works */

.works .top-section-subtitle {
    margin-bottom: 4rem;
}

.top-works {
    max-width: 1440px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 9rem;
}

.works-photo-image {
    display: block;
    margin-bottom: 0.5rem;
}

.top-works-photo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.works-photo-image img:hover {
    filter: brightness(50%);
}

.works-photo-item {
    position: relative;
}

.works-link {
    font-family: "Akshar";
    letter-spacing: 0;
    font-size: 1.25rem;
    display: block;
    text-align: right;
    color: #008000;
}

.works-link:hover {
    scale: 1.1;
}

.works-link::after {
    content: "";
    margin-left: 1rem;
    color: #008000;
    width: 0.85rem;
    height: 0.8rem;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    background: url("../img/矢印.svg") no-repeat center/contain;
}


.link {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
}

.link-item {
    display: flex;
    width: 100%;
}

.recruit,
.company {
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
    overflow: hidden;
}

.recruit img,
.company img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s;
}

.recruit:hover img,
.company:hover img {
    transform: scale(1.05);
    filter: brightness(50%);
}


.link-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.section-title {
    font-family: "Akshar";
    font-size: clamp(2.5rem, 6.9vw, 6rem);
    font-weight: bold;
    text-align: center;
    line-height: 1;
    letter-spacing: 0;
    margin: 0 0 -0.5rem;
    color: #FFFFFF;
}

.section-subtitle {
    font-size: clamp(0.875rem, 2.3vw, 2rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 2rem;
    color: #FFFFFF;

}

.link-arrow {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 4.5rem;
    height: 4.5rem;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    background-color: rgba(18, 18, 18, 0.5);
}

.link-arrow::after {
    content: "→";
    font-size: 2.5rem;
    font-weight: bolder;
    color: #ffffff;
}

.recruit:hover .link-arrow,
.company:hover .link-arrow {
    background-color: rgba(255, 255, 255, 0.2);
}


/* 下層ページ about */

/* ---------------- page-mv（下層ページ共通ヒーロー） ---------------- */


/* about.html のヒーロー画像 */
.page-mv-about {
    background-image: url(../img/aboutメインビジュアル.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding-block: 3.5rem;
    text-align: center;
    margin-bottom: 4.5rem;
}

.page-mv-title {
    position: relative;
    z-index: 1;
    font-family: "Akshar", sans-serif;
    font-size: clamp(4rem, 6.9vw, 6rem);
    line-height: 1;
    color: #FFFFFF;
    letter-spacing: 0;
    margin-bottom: -1.25rem;
}

.page-mv-subtitle {
    display: inline-block;
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    color: #FFFFFF;
    letter-spacing: 0.1em;
    position: relative;
    margin: 0 auto;
    padding-inline: 0.5rem;
}


.page-mv-subtitle::before,
.page-mv-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1px;
    background-color: #FFFFFF;
}

.page-mv-subtitle::before {
    left: -7%;
}

/* ---------------- community-section ---------------- */
.community-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 clamp(2.5rem, 4.58vw, 5.5rem) 0 clamp(3rem, 6.67vw, 8rem);
    position: relative;
}

.community-section::before {
    content: "";
    position: absolute;
    top: 5%;
    right: 0;
    bottom: 15%;
    width: 80%;
    background-color: rgba(0, 128, 0, 0.05);
    z-index: -1;
}

.community-flex {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
}

.community-photo {
    position: relative;
    width: 50%;
    flex-shrink: 0;
    height: clamp(14rem, 38vw, 46rem);
    margin-bottom: clamp(4rem, 11vw, 13rem);
}

.community-photo img:first-child {
    position: absolute;
    top: 15%;
    /* ① 上からの距離 */
    left: clamp(0rem, 1vw, 1.5rem);
    /* ② 左からの距離 */
    width: clamp(14rem, 33vw, 40rem);
    /* ③ 画像の幅 */
    height: clamp(14rem, 22vw, 27rem);
    /* ④ 画像の高さ */
    box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.15);

}

.community-photo img:last-child {
    position: absolute;
    top: clamp(13rem, 21vw, 24rem);
    right: 0;
    width: clamp(14rem, 33vw, 40rem);
    height: clamp(14rem, 22vw, 27rem);
    box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.15);
}

.community-text {
    padding-left: 3rem;
    padding-top: 4rem;
    max-width: 668px;
}

.community-title {
    font-size: 3rem;
    color: #008000;
    font-weight: bold;
    margin-bottom: 2rem;
}

.community-text p {
    font-size: 1.125rem;
}

.en-watermark {
    position: absolute;
    left: clamp(30%, 55%, 60%);
    bottom: 0;
    z-index: -1;
    font-size: clamp(4rem, 10vw, 12rem);
    white-space: nowrap;
    pointer-events: none;
    font-family: "Akshar", sans-serif;
    color: rgba(0, 128, 0, 0.1);
    letter-spacing: 0;
    line-height: 1;
}


/* ---------------- quality-section ---------------- */
.quality-section {
    max-width: 1920px;
    /* margin: 0 auto; */
    padding-top: 9.5rem;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 6rem;
    letter-spacing: 0.1em;
    gap: 0.5rem;
}

.section-heading::before,
.section-heading::after {
    content: "";
    width: 17rem;
    height: 1px;
    background-color: #008000;
}

.section-heading strong {
    color: #008000;
    font-size: 4rem;
}

.skill-block {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 6rem;
}

.skill-block:last-of-type {
    margin-bottom: 9.5rem;
}

.skill-image {
    max-width: 1440px;
}

.skill-image img {
    display: block;
    width: 100%;
}

.skill-content {
    position: absolute;
    right: 0;
    bottom: 0;
    /* 画像の下端より少し外に出す */
    background-color: #fff;
    padding: 3rem 2rem 2rem 3rem;
}

.skill-content>span {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.skill-content>span::after {
    display: inline-block;
    content: "";
    width: 25rem;
    height: 1px;
    background-color: #121212;
    margin-inline: 1rem;
}

.skill-block.reverse {
    justify-content: flex-end;
}



.skill-block.reverse .skill-content {
    left: 0;
    right: auto;
    bottom: 0;
}


.en-tag {
    font-family: "Akshar", sans-serif;
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 0;
    color: #008000;
    margin-bottom: -0.5rem;
    font-weight: 400;
}

/* ---------------- values-section ---------------- */


.values-section {
    background-color: #F6FFF6;
    padding: 9.5rem 15rem;
    text-align: center;
}

.page-container {
    max-width: 1440px;
}


.values-grid {
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 6rem;
}

.value-card img {
    margin-bottom: 2rem;
    border-radius: 50%;

}

.value-text {
    font-size: 2rem;
    font-weight: 700;
    color: #008000;
    margin-bottom: 2rem;

}


/* ---------------- next-era ---------------- */
.next-era {
    position: relative;
    padding: 31.5rem 15rem 9.5rem 15rem;
    background-image: url(../img/about9背景.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}


.next-era-inner {
    position: relative;
    max-width: 871px;
    margin: 0 auto;
    text-align: center;
}

.next-era-inner p {
    color: #333333;
    margin-bottom: 4.5rem;
    padding-inline: 2rem;
}

.next-era-photo {
    display: flex;
    gap: 3rem;
}


/* ---------------- recruit-banner ---------------- */
.recruit-banner {
    position: relative;
    height: 31rem;
    background-image: url(../img/about13.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.recruit-banner:hover {
    filter: brightness(70%);
}

.recruit-banner-title {
    position: relative;
    z-index: 1;
    font-family: "Akshar", sans-serif;
    font-size: clamp(2.5rem, 6.9vw, 8.5rem);
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 0;
    line-height: 1;
}

.recruit-banner-title span {
    display: block;
    font-size: clamp(0.875rem, 2.3vw, 2rem);
    letter-spacing: 0;
}

.recruit-banner-link-arrow {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 4.5rem;
    height: 4.5rem;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    background-color: rgba(18, 18, 18, 0.5);
}

.recruit-banner-link-arrow::after {
    content: "→";
    font-size: 2.5rem;
    font-weight: bolder;
    color: #ffffff;
}

.recruit-banner-link-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 下層ページ　business */

/* メインビジュアル */
.page-mv-business {
    background-image: url(../img/businessメインビジュアル.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding-block: 3.5rem;
    text-align: center;
    margin-bottom: 4.5rem;
}

/* ビシネスコンテンツ */

.business-contents {
    max-width: 1440px;
    margin: 0 auto;
}

.business-contents-item {
    display: flex;
    margin-bottom: 6rem;
    gap: 3rem;
}

.business-contents-item:nth-child(2),
.business-contents-item:nth-child(4) {
    flex-direction: row-reverse;
}

.business-contents-title {
    color: #008000;
    font-size: 3rem;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 2rem;
    position: relative;

}

.business-contents-title::after {
    display: inline-block;
    content: "";
    width: clamp(8rem, 19.17vw, 23rem);
    height: 1px;
    background-color: #008000;
    margin-left: 1rem;
    position: absolute;
    top: 50%;
}

.business-contents-subtitle {
    font-size: 2rem;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ライセンス */

.business-container {
    max-width: 1440px;
    margin: 0 auto;
    margin-bottom: 9.5rem;
    outline: solid 1px #121212;
    padding-block: 3rem 4.5rem;

}


.business-license-title {
    color: #008000;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-license-title::before,
.business-license-title::after {
    display: inline-block;
    content: "";
    width: 17rem;
    height: 1px;
    background-color: #008000;
    margin-inline: 1rem;
}

.license-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}


.license-list {
    display: flex;

}


.license-item {
    flex: 1;
    /* 追加：4つを均等幅に */
    /* 追加：中身を縦に並べる */
    flex-direction: column;
    padding: 0 2rem;
    border-right: solid 1px #929292;
}

.license-item:last-child {
    border-right: none;
}

.license-item__number {
    color: rgba(0, 128, 0, 0.4);
    font-size: 3rem;
    border-bottom: solid 1px rgba(0, 128, 0, 0.4);
    font-weight: lighter;
    letter-spacing: 0;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.license-item__title {
    font-weight: normal;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;

}

.license-item__icon {
    margin-bottom: 0.5rem;
    text-align: center;
}

/* 次の時代へつなぐ */


.values-grid-business {
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 6rem;
    margin-bottom: 6rem;
}


/* 下層ページ recruit */

.page-mv-recruit {
    background-image: url(../img/aboutメインビジュアル.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding-block: 3.5rem;
    text-align: center;
    margin-bottom: 4.5rem;
}


.recruit-title {
    text-align: center;
    margin-bottom: 6rem;
}

.recruit-interview-title {
    font-family: "Akshar", sans-serif;
    color: #008000;
    font-size: 6rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: -1rem;
}

.recruit-interview {
    counter-reset: interview-number;
}

.recruit-interview-item {
    position: relative;
    counter-increment: interview-number;
}

.recruit-interview-item.is-reverse .recruit-interview-text {
    margin-left: auto;
}

.recruit-interview-subtitle {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    color: #121212;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 4.5rem;
}


.recruit-interview-subtitle::before,
.recruit-interview-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 1px;
    background-color: #121212;
}

.recruit-interview-subtitle::before {
    left: 0;
}

.recruit-item-title {
    color: #008000;
    font-weight: bold;
    font-size: 4rem;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 3rem;
}

.recruit-interview-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1440px;
    margin: 0 auto 3rem;
}

.recruit-interview-item::after {
    content: "0" counter(interview-number);
    position: absolute;
    top: 4rem;
    right: 10%;
    z-index: 0;
    font-family: "Akshar", sans-serif;
    font-size: clamp(5rem, 20vw, 25rem);
    color: rgba(217, 217, 217, 1);
    line-height: 1.5;
    letter-spacing: 0;
    pointer-events: none;
}

.recruit-interview-item.is-reverse::after {
    right: auto;

}

/* ---- 左側：テキストエリア ---- */
.recruit-interview-text {
    width: 55%;
    padding-top: 3rem;
    padding-left: 1rem;
    position: relative;
    z-index: 1;
}

.recruit-interview-text .recruit-interview-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #008000;
    line-height: 1.4;
    margin-bottom: 3rem;
}

.recruit-interview-list .info-row:first-of-type {
    border-top: none;
}

.info-row {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.5rem 0 0.75rem;
    border-top: 1px solid #929292;
    line-height: 1;
    letter-spacing: 0;
}

.info-row dt {
    font-weight: bold;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.info-row dt::before {
    content: "―";
    color: #008000;
    font-weight: normal;
}

.info-row dd {
    font-size: 1.05rem;
}

.info-block {
    padding: 1.5rem 0;
    border-top: 1px solid #929292;
}

.info-block:last-child {
    border-bottom: 1px solid #929292;
}

.info-block dt {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.info-block dt::before {
    content: "―";
    color: #008000;
    font-weight: normal;
}

.info-block dd {
    padding-left: 1.5rem;
}


/* 数字 */

.recruit-interview {
    max-width: 1440px;
    margin: 0 auto;
    counter-reset: interview-number;
}

.recruit-interview-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1440px;
    margin: 0 auto 6rem;
}

.recruit-interview-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* イメージ画像一覧 */

.recruit-image {
    display: flex;
    margin: 0 auto;
    max-width: 1920px;
}

/* 外国人実習生 */
.recruit-benefit {
    background-color: #F6FFF6;
    padding: 9.5rem 15rem;
}


.recruit-benefit-description {
    text-align: center;
    margin-bottom: 4.5rem;
}

.page-heading-recruit {
    color: #008000;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-heading-recruit::before,
.page-heading-recruit::after {
    display: inline-block;
    content: "";
    width: 17rem;
    height: 1px;
    background-color: #008000;
    margin-inline: 1rem;
}



/* 募集要項 */

.recruitment {
    background-image: url(../img/recruit12.jpg);
    padding-block: 9.5rem;
    background-size: cover;
    text-align: center;

}

.recruitment-inner {
    max-width: 1080px;
    background-color: #FFFFFF;
    padding: 3rem;
    margin: 0 auto;

}

.recruitment-title {
    color: #008000;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.recruitment-description {
    text-align: center;
    margin-bottom: 2rem;
}

.recruitment-list {
    display: grid;
    grid-template-columns: 160px 1fr;
    row-gap: 0;
    text-align: left;
    padding: 2rem;
    margin-bottom: 2rem;
}

.recruitment-list dt {
    color: #008000;
    border-bottom: solid 1px #C1C1C1;
    margin: 0;
    padding-bottom: 0.5rem;

}


.recruitment-list dd {
    border-bottom: solid 1px #C1C1C1;
    margin: 0;
    padding-bottom: 0.5rem;
}

.recruitment-btn {
    color: #FFFFFF;
    background-color: #008000;

}

.recruitment-btn:hover {
    scale: 1.2;
}

/* よくある質問 */

.recruit-faq {
    padding-block: 9.5rem;
}

.faq-answer {
    display: none;
    margin: 0;
    padding: 2rem 2rem 2rem 2.5rem;
    background: #F5F5F5;
    border-bottom: 1px solid #d9d9d9;
}

.recruit-faq-list {
    max-width: 1080px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 4.8rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}


.faq-button {
    width: 100%;
    border: none;
    background: #008000;
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}


.faq-question__label {
    font-weight: bold;
    margin-right: 2rem;
}

.faq-question__text {
    flex: 1;
    text-align: left;
    font-weight: bold;
}

.faq-answer__inner {
    display: flex;
    align-items: flex-start;
}

.faq-label {
    color: #008000;
    font-weight: bold;
    margin-right: 2rem;
}

.faq-answer__text {
    font-size: 1.8rem;
}


/* 下層ページ company */


.page-mv-company {
    background-image: url(../img/companyメインビジュアル.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding-block: 3.5rem;
    text-align: center;
    margin-bottom: 9.5rem;
}

/* 代表挨拶 */

.company-contents {
    position: relative;
    margin-bottom: 19rem;
}


.en-watermark-company {
    position: absolute;
    top: -20%;
    right: clamp(30%, 100%, 60%);
    z-index: -1;
    font-size: clamp(4rem, 10vw, 12rem);
    white-space: nowrap;
    pointer-events: none;
    font-family: "Akshar", sans-serif;
    color: rgba(0, 128, 0, 0.1);
    letter-spacing: 0;
    line-height: 1.7;
}


.greeting {
    position: relative;
}

.greeting-flex {
    display: flex;
    justify-content: end;
    max-width: 1440px;
    z-index: 1;
    align-items: center;
    margin: 0 auto;
}

.greeting-text {
    max-width: clamp(20rem, 53.6vw, 52.3rem);
    padding: clamp(2rem, 4vw, 4.5rem);
    background-color: #F6FFF6;
    position: absolute;
    top: 10%;
    left: clamp(0%, 11vw, 15%);
    letter-spacing: 0;
}

.greeting-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.greeting-title {
    color: #008000;
    font-size: 3rem;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 2rem;
    position: relative;

}

.greeting-title::after {
    display: inline-block;
    content: "";
    width: clamp(8rem, 19.17vw, 23rem);
    height: 1px;
    background-color: #008000;
    margin-left: 1rem;
    position: absolute;
    top: 50%;
}

.greeting-subtitle {
    font-size: 2rem;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 2rem;
}

/* イメージ画像 */

.company-photo {
    display: flex;
    margin: 0 auto;
    max-width: 1920px;
}

/* 会社概要 */

.company-info {
    background-color: #F6FFF6;
    padding: 9.5rem 15rem;
    margin-bottom: 9.5rem;
}

.company-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.company-info-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    row-gap: 0;
}

.company-info-item dt {
    border-bottom: solid 1px #939393;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    padding-left: 4rem;
    letter-spacing: 0;
}


.company-info-item dd {
    border-bottom: solid 1px #939393;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Googleマップ・住所 */

.map-adoress {
    margin-bottom: 9.5rem;
}


.map-flex {
    max-width: 1440px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.map-text {
    padding-inline: 3rem;
}

.map-text-title {
    color: #008000;
    font-size: 3rem;
    margin-bottom: 1.25rem;
    font-weight: normal;
}

.map-text-address li {
    margin-bottom: 1.25rem;

}

/* 下層ページ works */


.page-mv-works {
    background-image: url(../img/worksメインビジュアル.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding-block: 3.5rem;
    text-align: center;
    margin-bottom: 9.5rem;
}

.works-contents {
    max-width: 1440px;
    margin: 0 auto;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6.5rem 3rem;
    margin-bottom: 6.5rem;
}


.works-photo {
    position: relative;
    display: block;
    overflow: hidden;
}

.works-photo figure,
.works-photo img {
    width: 100%;
    margin: 0;
}

.works-photo img {
    display: block;
    aspect-ratio: 4 / 3;
}



.works-item-title {
    color: #FFFFFF;
    font-size: 1.5rem;
    letter-spacing: 0;
    line-height: 1.3;
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;

}


.works-photo img:hover {
    filter: brightness(70%);
}

.works-photo::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 1) 100%);
    pointer-events: none;
}



.works-category {
    position: absolute;
    top: 0;
    left: 0;
    color: #FFFFFF;
    font-size: 1rem;
    letter-spacing: 0;
    font-weight: bold;
    padding: 0.5rem;
    z-index: 1;
}

.category-hoso {
    background-color: #008000;
    /* 緑：舗装工事 */
}

.category-suido {
    background-color: #0092DC;
    /* 青：水道施設工事 */
}

.category-gesuido {
    background-color: #6F31AD;
    /* 紫：下水道工事 */
}

/* ページネーション */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 9.5rem;
    max-width: 1440px;
    margin-inline: auto;
}

.pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}



.page-numbers {
    color: #121212;
    font-size: 2rem;
    text-decoration: none;
    transition: .3s;
    line-height: 1.5;
}

.page-numbers a:hover,
.pagination .page-numbers.current:hover {
    color: #008000;
    border-bottom: solid 1px #008000;
}

.prev.page-numbers,
.next.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #008000;
    color: #fff;
    font-size: 1.5rem;
    transition: background-color .3s, transform .3s;
    font-weight: bold;
}

.prev.page-numbers:hover {
    background-color: rgba(0, 107, 0, 0.5);
    transform: translateX(-0.2rem);
}

.next.page-numbers:hover {
    background-color: rgba(0, 107, 0, 0.5);
    transform: translateX(0.2rem);
}


/* 下層ページ workssingle */

.works-shingle {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 1rem;
}

.works-shingle .works-category {
    position: static;
}

.works-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
    white-space: nowrap;
}

.works-meta .works-category {
    flex: 0 0 auto;
}

.works-shingle-date {
    flex: 0 0 auto;
    margin: 0;
}

.works-shingle-title {
    font-size: 3rem;
    font-weight: normal;
    border-bottom: solid 1px #008000;
    letter-spacing: 0;
    margin-bottom: 3rem;
}

.worksshingle-contents {
    margin-bottom: 3rem;
}

.worksshingle-contents img {
    width: 100%;
    height: 700px;
}

/* 選択した画像を緑にする */
.thumbnail {
    position: relative;
    cursor: pointer;
}

.thumbnail.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 128, 0, 0.3);
    /* 緑を半透明で重ねる */
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.works-thumb-carousel {
    position: relative;
}

.works-thumb-prev,
.works-thumb-next {
    display: none;
}


.works-shingle-text {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    row-gap: 0;
}



.works-shingle-text dt {
    border-bottom: solid 1px #939393;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    padding-left: 3rem;
    letter-spacing: 0;
}


.works-shingle-text dd {
    border-bottom: solid 1px #939393;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    padding-left: 3rem;
    position: relative;
}

.works-shingle-text dd::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: #939393;
}

.works-shingle-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding-inline: 1.25rem;
    margin-bottom: 9.5rem;
}

/* 下層ページ contact */

.page-mv-contact {
    background-image: url(../img/worksメインビジュアル.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    padding-block: 3.5rem;
    text-align: center;
    margin-bottom: 9.5rem;
}

.contact-layer {
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 9.5rem;
}

.contact-section-title {
    font-weight: normal;
    text-align: center;
    letter-spacing: 0;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-text {
    text-align: center;
    letter-spacing: 0;
    margin-bottom: 3rem;
}

.contact-text span {
    color: #008000;
    font-weight: bold;
    font-size: 2rem;
}

.tel-link {
    font-size: 3rem;
    font-weight: bold;
    color: #008000;
    line-height: 1.3;
}



.contact-btn {
    display: flex;
    justify-content: center;
}

.contact-btn .btn-a {
    background-color: #008000;
    margin-bottom: 3rem;
}

.contact-btn .btn-a:hover {
    opacity: 0.5;
}

.contact-btn {
    display: flex;
    justify-content: center;
}

.contact-submit-wrap {
    display: inline-block;
    position: relative;
}

.contact-submit-wrap .btn-a {
    padding-right: 4rem;
}

.contact-submit-wrap::after {
    content: "→";
    position: absolute;
    top: 33%;
    right: 1.25rem;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #008000;
    font-size: 1.25rem;
    pointer-events: none;
}

.contact-submit-wrap .wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: calc(100% + 1rem);
    transform: translateY(-50%);
    margin: 0;
}

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

.wpcf7 {
    max-width: 1000px;
    margin: 0 auto;
}

.wpcf7 .wp-form {

    border: 1px solid #929292;
    margin-bottom: 4.5rem;
}

.check-form,
.message {
    display: grid;
    grid-template-columns: 270px 1fr;
    border-top: 1px solid #C1C1C1;
}

.form-textarea {
    max-width: 100%;
    min-height: 12rem;
    resize: vertical;
}

.form-box {
    display: grid;
    grid-template-columns: 270px 1fr;
    border-top: 1px solid #929292;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #C1C1C1;
    opacity: 1;
    font-size: 1rem;
    padding: 0.3rem 1.25rem;
}

/* dt(ラベル)は必ず1列目、dd(入力欄)は必ず2列目に固定する */
.form-unit-head {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: bold;
    font-size: 1rem;
    padding: 2rem 2rem;
    border-top: 1px solid #929292;
    position: relative;
}

.form-unit-head::after {
    content: "";
    position: absolute;
    top: 1rem;
    /* 上の余白の量 */
    bottom: 1rem;
    /* 下の余白の量 */
    right: 0;
    width: 1px;
    background-color: #929292;
}

.form-unit-head span {
    background-color: #EA4E50;
    color: #FFFFFF;
    padding-inline: 0.5rem;
    font-size: 0.875rem;
}

.form-unit-contents {
    grid-column: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 2rem 1rem 2rem;
    border-top: 1px solid #929292;
}

.form-unit-head:nth-of-type(7)::after {
    content: none;
}

.form-unit-head:nth-of-type(6)::after {
    bottom: -2rem;
}

.form-input,
.form-textarea {
    border: solid 1px #C1C1C1;
    width: 100%;
}

.postcode-row {
    flex-wrap: nowrap;
    gap: 0.5rem;
}

/* 各グループの最初の行だけ上の線を消す(dlごとのborder-topと二重にならないように) */
.check-form .form-unit-head:first-of-type,
.check-form .form-unit-contents:first-of-type,
.form-box .form-unit-head:nth-of-type(1),
.form-box .form-unit-contents:nth-of-type(1),
.message .form-unit-head,
.message .form-unit-contents {
    border-top: none;
}

.postcode-input {
    width: 30%;
}

.address-row {
    border-top: none;
    padding-top: 0;

}

/* 対になるdt側も念のため */
.form-unit-head:empty {
    padding: 0;
    border-top: none;
}

.contact2 .form-input {
    border: none;
}


/* 下層ページ contact3 */

.contact3-section-title {
    font-weight: normal;
    text-align: center;
    margin-bottom: 1.25rem;
}

.contact3-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 4.5rem;
}

/* 下層ページ　privacy */

.privacy-layer {
    padding-block: 9.5rem;
    background-color: #F5F5F5;
}

.privacy-inner {
    max-width: 1440px;
    padding: 6.5rem;
    margin: 0 auto;
    background-color: #FFFFFF;

}


.privacy-section-title {
    text-align: center;
    margin-bottom: 4.5rem;
}

.privacy-title {
    font-family: "Akshar";
    color: #008000;
    font-size: 6rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: -1rem;
}

.privacy-subtitle {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    color: #121212;
    letter-spacing: 0;
    position: relative;
    padding: 0 4.5rem;
}


.privacy-subtitle::before,
.privacy-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 1px;
    background-color: #121212;
}

.privacy-subtitle::before {
    left: 0;
}

.introduction-text {
    margin-bottom: 2rem;
}

.policy-item {
    margin-bottom: 2rem;
}

.policy-heading {
    font-weight: normal;
    font-size: 1.375rem;
}

.policy-item:nth-child(2) li {
    list-style: disc;
    list-style-position: inside;
}

address {
    font-style: normal;
}

/* 404ページ */

.error-page {
    display: grid;
    place-items: center;
    background-image: url(../img/404.jpg);
}

.error-content {
    text-align: center;
}

.error-content h1 {
    color: #008000;
    font-size: clamp(5rem, 10vw, 10rem);
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.error-content p {
    margin-bottom: 3rem;
}

.error-content .btn-a {
    margin-bottom: 9.5rem;
}

/* ----------------------------------------
   1200px以下：PCレイアウトを少し圧縮
---------------------------------------- */
@media (max-width: 1200px) {

    header {
        padding-left: 1.5rem;
    }

    .nav .nav-menu {
        gap: 1.75rem;
        font-size: 1rem;
    }

    .nav-contact {
        padding: 1.25rem 1.5rem;
    }

    .business-text {
        padding: 6rem 4rem;
    }

    .top-works,
    .business-contents,
    .works-contents,
    .recruit-interview,
    .greeting-flex,
    .map-flex {
        margin-inline: 2rem;
    }

    .top-works-photo {
        gap: 1.5rem;
    }

    .link-arrow {
        width: 3.5rem;
        height: 3.5rem;
    }

    .link-arrow::after {
        font-size: 1.5rem;
    }

    .footer-list {
        gap: 3rem;
    }

    .community-section {
        padding-inline: 2rem;
    }

    .community-text {
        padding-left: 2rem;
    }

    .privacy-inner {
        padding: 4rem;
    }


}


/* ----------------------------------------
     768px以下：モバイルレイアウト
  ---------------------------------------- */
@media (max-width: 768px) {

    /* ---------- 全体 ---------- */

    body {
        font-size: 1rem;
        line-height: 1.8;
    }

    .main {
        overflow: clip;
    }

    /* ---------- ヘッダー・メニュー ---------- */

    header {
        min-height: 72px;
        padding: 0.75rem 1rem;
    }

    .header-logo img {
        width: min(13rem, 65vw);
    }

    .toggle-btn {
        display: block;
        position: relative;
        z-index: 30;
        width: 2rem;
        height: 1.5rem;
        cursor: pointer;
    }

    .toggle-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #008000;
    }

    .toggle-btn span:nth-child(1) {
        top: 0;
    }

    .toggle-btn span:nth-child(2) {
        top: 50%;
    }

    .toggle-btn span:nth-child(3) {
        top: 100%;
    }


    .nav {
        position: fixed;
        opacity: 0;
        top: 0;
        right: 0;
        z-index: 20;
        width: 100%;
        height: 640px;
        padding: 3rem;
        background-image: url(../img/SP_menu.jpg);
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        transform: translateX(calc(100% + 1rem));
        overflow-y: auto;
        transition: transform 0.4s ease-in-out;
    }

    .drawer-logo {
        display: block;
        width: 16rem;
        margin-inline: auto;
    }

    .drawer-logo img {
        display: block;
        width: min(14rem, 65vw);
        height: auto;
    }

    /* JSの $("header").toggleClass("open") と合わせる */
    header.open .nav {
        transform: translateX(0);
        opacity: 1;
    }

    header.open .header-logo {
        opacity: 0;
        pointer-events: none;
    }

    /* メニュー一覧 */
    .nav .nav-menu {
        display: block;
        font-size: 1.15rem;
    }

    .nav .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    }

    .nav .nav-menu li::after {
        display: none;
    }

    .nav .nav-menu li a {
        display: block;
        padding-block: 2rem 0.5rem;
        color: #ffffff;
    }

    /* 右の丸矢印 */
    .nav .nav-menu>li:not(.nav-contact-item):not(.nav-privacy)>a {
        position: relative;
    }

    .nav .nav-menu>li:not(.nav-contact-item):not(.nav-privacy)>a::after {
        content: "→";
        position: absolute;
        top: 70%;
        right: 0;
        display: grid;
        width: 1.25rem;
        height: 1.25rem;
        place-items: center;
        border-radius: 50%;
        background: #ffffff;
        color: #008000;
        font-size: 1rem;
        font-weight: bold;
        line-height: 1;
        transform: translateY(-50%);
    }

    /* お問い合わせボタン */
    .nav .nav-menu .nav-contact-item {
        border: 0;
        margin-top: 1rem;
        text-align: center;
        margin-inline: auto;
        width: 70%;
    }

    .nav-contact {
        display: inline-flex;
        gap: 0.3rem;
        padding: 0.7rem 1rem;
        background: #ffffff;
        font-size: 1.15rem;
    }

    .nav-menu li:nth-of-type(6) a {
        color: #008000;
        padding-block: 0.5rem;
    }

    .nav-contact .pc {
        display: none;
    }

    .nav-contact .sp {
        display: inline-block;
    }

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

    .nav .nav-menu li:last-of-type {
        display: block;
    }

    .nav .nav-privacy {
        margin-top: 2rem;
        text-align: center;
    }

    .nav .nav-menu .nav-privacy a {
        display: inline-block;
        padding: 0;
        font-size: 0.875rem;
    }

    .nav-menu li:nth-of-type(7) {

        border-bottom: none;
    }

    /* 閉じるボタン */
    header.open .toggle-btn {
        position: fixed;
        top: 1rem;
        right: 2rem;
        z-index: 31;
    }

    header.open .toggle-btn span {
        background: #ffffff;
    }


    header.open .toggle-btn span:nth-child(1) {
        top: 50%;
        transform: rotate(45deg);
    }

    header.open .toggle-btn span:nth-child(2) {
        opacity: 0;
    }

    header.open .toggle-btn span:nth-child(3) {
        top: 50%;
        transform: rotate(-45deg);
    }

    /* ---------- 共通 ---------- */

    .btn-a {
        width: min(230px, 100%);
        padding: 1.25rem;
    }

    .btn-a::after {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 1rem;
    }

    .top-section-title,
    .business-section-title {
        font-size: clamp(3.5rem, 16vw, 5rem);
    }

    .top-section-subtitle,
    .business-section-subtitle {
        font-size: 1.25rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .top-section-subtitle {
        padding-inline: 3rem;
        margin-bottom: 2rem;
    }

    .top-section-subtitle::before,
    .top-section-subtitle::after {
        width: 2rem;
    }

    .top-section-subtitle::before {
        left: 8%;
    }

    /* ---------- トップ：メインビジュアル ---------- */

    .bg-slider-mv img,
    .bg-slider-mv .slick-track {
        height: clamp(28rem, 115vw, 40rem);
    }

    .slider-title {
        width: 90%;
        padding: 2rem;
    }

    .bg-slider-title {
        font-size: clamp(1.625rem, 6.7vw, 4rem);
        line-height: 1.2;
    }

    .bg-slider-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* ---------- トップ：ABOUT ---------- */

    .about-item {
        padding: 3rem 1.25rem;
    }

    .about-text {
        margin-bottom: 3rem;
    }

    .section-lead {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 1.25rem;
    }


    .about-text p {
        padding-inline: 0;
    }

    .top-about-description {
        text-align: left;
    }

    .sp-br {
        display: block;
    }


    /* PC用の強制改行を、スマホでは自然な折返しにする案 */
    .about-text br {
        display: none;
    }

    /* ---------- トップ：BUSINESS ---------- */

    .top-business {
        margin-bottom: 3rem;
    }

    .business-item {
        display: flex;
        flex-direction: column;
    }

    .business-text {
        padding: 3rem 1.25rem;
        text-align: center;
    }

    .business-text p {
        margin-bottom: 2rem;
    }

    .business-section-subtitle::after {
        width: clamp(7rem, 38vw, 15rem);
    }

    .business-photo,
    .business-text {
        width: 100%;
    }

    .business-photo img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .business-section-subtitle {
        display: inline-block;
        position: relative;
    }

    .business-section-subtitle::after,
    .business-section-subtitle::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 3rem;
        height: 1px;
        background-color: #ffffff;
    }

    .business-section-subtitle::before {
        left: -70%;
    }


    /* ---------- トップ：WORKS ---------- */

    .top-works {
        margin: 0 1.25rem 3rem;
    }

    .top-works-photo {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 0.6rem;
        margin-bottom: 3rem;
    }

    .works-link {
        font-size: 1rem;
    }

    .top-works .top-section-subtitle {
        margin-bottom: 3rem;
    }

    .works-photo-item img {
        width: 100%;
    }

    /* ---------- トップ：RECRUIT / COMPANY 下層ページリクルートバナー ---------- */

    .link-item {
        display: block;
    }

    .recruit,
    .company {
        display: block;
        width: 100%;
        height: 150px;
    }

    .section-title,
    .recruit-banner-title {
        font-size: clamp(2.5rem, 10.3vw, 5rem);
    }

    .recruit-banner-link-arrow,
    .link-arrow {
        right: 1rem;
        bottom: 4rem;
        width: 2rem;
        height: 2rem;
    }

    .recruit-banner-link-arrow::after,
    .link-arrow::after {
        font-size: 1.25rem;
    }

    /* ========================================
     RECRUITバナー
  ======================================== */


    .recruit-banner {
        width: 100%;
        height: 150px;
    }

    .recruit-banner-title span {
        font-size: 0.75rem;
    }

    .recruit-banner-link-arrow {
        right: 1rem;
        bottom: 1rem;
        width: 2rem;
        height: 2rem;
    }

    .recruit-banner-link-arrow::after {
        font-size: 1.25rem;
    }


    .skill-block {
        flex-direction: column;
    }

    .page-heading::after {
        width: clamp(3rem, 15vw, 8rem);
    }

    /* ---------- フッター ---------- */

    footer {
        padding: 3rem 2rem 2rem;
    }

    .footer-contents {
        display: block;
        margin-bottom: 2rem;
    }

    .footer-info {
        margin-bottom: 2rem;
    }

    .footer-list {

        gap: 4.5rem;
    }

    .footer-link a {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .copy-right {
        font-size: 0.6875rem;
    }

    .footer-info img {
        margin-bottom: 0.5rem;
    }

    .footer-sp {
        display: inline-block;
        position: relative;
        padding-left: 1rem;
    }

    .footer-sp::before {
        content: "･";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1rem;
        color: #fff;
    }

    .address li {
        font-size: 0.9rem;
    }



    /* ---------- 下層ページ共通 ---------- */

    .pc-br {
        display: none;
    }


    .page-mv-title {
        font-size: 4rem;
        margin-bottom: -1rem;
    }

    .page-mv-subtitle {
        font-size: 1.25rem;
    }

    .page-container,
    .business-contents,
    .business-container,
    .recruit-interview,
    .company-inner,
    .map-flex,
    .works-contents,
    .works-shingle,
    .contact-layer,
    .privacy-inner {
        margin-inline: 1.25rem;
    }

    .privacy-inner {
        padding: 2rem 1rem;
    }

    .page-heading {
        margin-bottom: 2rem;
        font-size: 2rem;
        line-height: 1.5;
        letter-spacing: 0.05em;
        display: block;
    }

    .page-heading::before,
    .page-heading::after {
        display: none;
    }

    .sp-br2 {
        display: contents;
    }

    /* ---------- ABOUT ---------- */

    /* ========================================
     ABOUT：ページメインビジュアル
  ======================================== */

    .page-mv-about {
        min-height: 5rem;
        margin-bottom: 3rem;
        padding: 2rem 0;
        background-position: center;
    }


    /* ========================================
     COMMUNITY
     写真は重ねる／文章は下へ
  ======================================== */

    .community-section {
        padding: 0;
        display: flex;
        flex-direction: column;

    }

    .community-section::before {
        top: 8rem;
        right: 0;
        bottom: 0;
        width: 100%;
    }


    .community-flex {
        flex-direction: column;
    }

    .community-photo {
        width: 100%;
        margin: 0;
    }

    .community-photo img:first-child {
        top: 0;
        left: 0;
        width: 58%;
        height: 10rem;
        object-fit: cover;
        box-shadow: none;
    }

    .community-photo img:last-child {
        top: 5rem;
        right: 0;
        width: 68%;
        height: 10rem;
        object-fit: cover;
        box-shadow: none;
    }


    .community-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .community-text p {
        font-size: 1rem;
    }

    .en-watermark {
        top: 5%;
        bottom: auto;
        left: 1rem;
    }

    .community-section::before {
        display: none;
    }

    /* 写真の後に続く文章部分だけを淡い緑にする */
    .community-text {
        position: relative;
        max-width: none;
        padding: 5rem 1.25rem 3rem;
        background-color: rgba(0, 128, 0, 0.05);
    }


    /* ========================================
     QUALITY
     見出し＋画像の上に小さな説明カード
  ======================================== */

    .quality-section {
        padding-top: 3rem;
    }

    .section-heading {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }

    .section-heading strong {
        font-size: 2rem;
    }

    .section-heading::before,
    .section-heading::after {
        display: none;
    }

    .skill-block,
    .skill-block.reverse {
        display: block;
        margin: 0 0 2.5rem;
    }

    .skill-block:last-of-type {
        margin-bottom: 3rem;
    }

    .skill-image {
        max-width: none;
        padding-right: 1.25rem;
        width: 100%;
    }

    .skil-left {
        padding-right: 0;
        padding-left: 1.25rem;
    }

    .skill-image img {
        height: 15.5rem;
    }

    .skill-content,
    .skill-block.reverse .skill-content {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: calc(100% - 2rem);
        margin: -1.5rem 0 0 auto;
        padding: 1rem;
    }

    .skill-block.reverse .skill-content {
        margin: -4rem auto 0 0;
    }

    .en-tag {
        font-size: 1.8rem;
        margin-bottom: -0.15rem;
    }

    .skill-content>span {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .skill-content>span::after {
        width: calc(100% - 8rem);
        margin-left: 0.5rem;
        margin-right: 0;
    }

    .skill-content p {
        font-size: 0.75rem;
        line-height: 1.7;
    }


    /* ========================================
     VALUES
     3列 → アイコン＋文章の縦3件
  ======================================== */

    .values-section {
        padding: 3rem 1.25rem;
    }

    .page-container {
        max-width: none;
    }


    .values-grid {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
        text-align: left;
    }

    .value-card {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }

    .value-card img {
        width: 6rem;
        margin: 0;
    }

    .value-body {
        flex: 1;
        min-width: 0;
    }

    .value-text {
        margin: 0 0 0rem;
        font-size: 1.1rem;
    }

    .value-body p {
        margin: 0;
        font-size: 0.9rem;
    }


    /* ========================================
     NEXT ERA
     背景写真を上部だけにして、文章は白地へ
  ======================================== */

    .next-era {
        padding: 7rem 1.25rem 3rem;
        background-color: #ffffff;
        background-position: center top;
        background-size: 100% auto;
    }

    .next-era-inner {
        max-width: none;
    }

    .next-era-inner .page-heading {
        text-align: center;
        font-size: 1.25rem;
    }

    .next-era-inner p {
        margin-bottom: 3rem;
        padding: 0;
        font-size: 1rem;
        text-align: left;
    }

    .next-era-photo.slick-initialized {
        display: block;
    }

    .next-era-photo img {
        display: block;
        width: 100%;
    }

    .next-era-photo img+img {
        margin-top: 1rem;
    }



    /* ---------- BUSINESS  ---------- */

    .page-mv-business {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }

    .values-grid-business {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
        text-align: left;
        margin-bottom: 3rem;
    }

    /* ========================================
     事業紹介：交互の横並びをすべて縦並びへ
  ======================================== */

    .business-contents {
        margin: 0;
        padding: 0 1.25rem;
    }

    .business-contents-item,
    .business-contents-item:nth-child(2),
    .business-contents-item:nth-child(4) {
        display: block;
        margin-bottom: 3rem;
    }

    .business-contents-item>img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        margin-bottom: 1rem;
    }

    .business-contents-text {
        width: 100%;
    }

    .business-contents-title {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.6rem;
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .business-contents-title::after {
        position: static;
        flex: 1;
        width: auto;
        margin: 0;
    }

    .business-contents-subtitle {
        margin-bottom: 0.6rem;
        font-size: 1.25rem;
        line-height: 1.5;
    }

    /* ========================================
     対応工事・許可業種
  ======================================== */

    .business-container {
        margin: 0 1.25rem 3rem;
        padding: 3rem 1.25rem;
    }

    .business-license-title {
        margin-bottom: 1.25rem;
        font-size: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .business-license-title::before,
    .business-license-title::after {
        display: block;
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .license-subtitle {
        margin-bottom: 1.25rem;
        text-align: left;
    }

    .license-list {
        display: block;
    }

    .license-item {
        display: grid;
        grid-template-columns: 4rem 2.5rem minmax(0, 1fr);
        gap: 1rem;
        align-items: center;
        padding: 0.65rem 0;
        border-right: 0;
        border-bottom: 1px solid #929292;
    }

    .license-item:first-child {
        padding-top: 0;
    }

    .license-item:last-child {
        border-bottom: 1px solid #929292;
    }

    /* 中央：番号 */
    .license-item__number {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 1.5rem;
        text-align: center;
    }

    /* 右：工事名 */
    .license-item__title {
        grid-column: 3;
        grid-row: 1;
        margin: 0;
        text-align: left;
        font-size: 1.25rem;
    }

    /* ---------- WORKS ---------- */
    .page-mv-works {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }


    .works-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem 0.5rem;
        margin-bottom: 3rem;
    }

    .works-photo {
        position: relative;
        display: block;
        aspect-ratio: 1/1;
        overflow: hidden;
    }

    .works-photo figure,
    .works-photo figure img {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .works-photo figure img {
        display: block;
        object-position: center;
    }


    .works-item-title {
        font-size: 0.9rem;
        bottom: 0.6rem;
        left: 0.6rem;
    }


    .works-category {
        font-size: 0.8rem;
    }

    .works-item:last-child {
        display: none;
    }



    .pagination {
        margin-bottom: 3rem;
        gap: 1.25rem;
    }

    .pagination ul.page-numbers {
        gap: 1.25rem;
    }

    .page-numbers {
        font-size: 1.5rem;
    }

    /* ---------- WORKS shingle---------- */

    .works-shingle .works-category {
        font-size: 0.9rem;
    }

    .works-meta {
        gap: 1rem;
        margin-bottom: 0.6rem;
    }

    .works-shingle-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .worksshingle-contents img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .worksshingle-contents {
        margin-bottom: 0.6rem;
    }

    .works-thumb-carousel {
        position: relative;
    }

    .works-thumb-carousel .works-grid {
        display: flex;
        grid-template-columns: none;
        gap: 0.5rem;
        overflow-x: hidden;
        overflow-y: hidden;
        margin-bottom: 2rem;
    }

    .works-thumb-carousel .thumbnail {
        flex: 0 0 calc((100% - 1rem) / 3);
        scroll-snap-align: start;
    }

    .works-thumb-carousel .thumbnail img {
        display: block;
        width: 100%;
    }

    .works-thumb-prev,
    .works-thumb-next {
        position: absolute;
        top: 50%;
        z-index: 2;
        display: grid;
        width: 1.25rem;
        height: 1.25rem;
        place-items: center;
        border-radius: 50%;
        background: rgba(0, 128, 0, 0.7);
        color: #FFFFFF;
        transform: translateY(-50%);
        font-size: 0.7rem;
    }

    .works-thumb-prev {
        left: -0.75rem;
    }

    .works-thumb-next {
        right: -0.75rem;
    }

    .works-grid {
        gap: 0.6rem;
    }

    .works-shingle-text {
        grid-template-columns: 1fr;
    }

    .works-shingle-text dt {
        border-bottom: none;
        padding-left: 0;
        padding-bottom: 0.6rem;
        margin-bottom: 0;
    }

    .works-shingle-text dt:first-of-type {
        border-top: 1px solid #939393;
        padding-top: 1.25rem;
    }

    .works-shingle-text dd {
        padding-left: 0;
    }

    .works-shingle-text dd::before {
        display: none;
    }

    .works-shingle-btn {
        margin-bottom: 3rem;
    }



    /* ---------- RECRUIT ---------- */

    .page-mv-recruit {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }

    .recruit-interview-title {
        font-size: 3rem;
    }

    .recruit-interview-subtitle {
        font-size: 1.1rem;
    }

    .recruit-interview-subtitle::after,
    .recruit-interview-subtitle::before {
        width: 3rem;
    }

    .recruit-interview-subtitle::before {
        left: 6%;
    }

    .recruit-title {
        margin-bottom: 0;
    }

    .recruit-interview-item {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 0 2rem;
        padding: 0;
        background: #ffffff;
    }



    .recruit-interview-item::after {
        top: 0rem;
        right: 10%;
        left: auto;
    }
    .recruit-interview-item.is-reverse::after {
        top: 0;
        right: 10%;
        left: auto;
      }

    .recruit-interview-text {
        width: 100%;
        margin: 0;
        padding-left: 0;
        padding-top: 1.25rem;
        background: transparent;
    }

    .recruit-interview-gallery {
        gap: 0.5rem;
        margin-bottom: 3rem;
    }

    .recruit-item-title {
        width: 75%;
        margin: 0 0 1.25rem;
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .info-row {
        display: flex;
        gap: 0.6rem;
        padding: 0.6rem 0 0.6rem;
    }

    .info-row:first-of-type {
        padding-top: 0;
    }

    .info-row dt {
        flex: 0 0 6rem;
        gap: 0.3rem;
    }

    .info-row dd {
        margin: 0;
        letter-spacing: 0;
    }

    .info-block {
        padding-block: 0.6rem;
    }

    .info-block dt {
        margin-bottom: 0.6rem;
        gap: 0.3rem;
    }

    .info-block dd {
        margin: 0;
        padding-left: 1.25rem;
        letter-spacing: 0;
    }


    .recruit-image {
        line-height: 0;
    }

    .recruit-image img {
        width: 100%;
        height: clamp(10rem, 40vw, 35rem);
        object-fit: cover;
    }



    .recruit-benefit {
        padding: 3rem 1.25rem;
    }

    .page-heading-recruit {
        font-size: 2rem;
        margin-bottom: 2rem;
        display: block;
        line-height: 1.5;
    }

    .page-heading-recruit::before,
    .page-heading-recruit::after {
        display: none;
    }

    .recruit-benefit-description {
        margin-bottom: 2rem;
        text-align: left;
    }


    .recruitment {
        padding: 3rem 1.25rem;
    }

    .recruitment-inner,
    .recruit-faq-list {
        margin-inline: 1rem;
    }

    .recruitment-list {
        display: block;
        padding: 1rem;
    }

    .recruitment-list dt {
        border-bottom: none;
        padding-bottom: 0;
        padding-top: 0.6rem;
    }

    .recruitment-inner {
        padding: 2rem 1.25rem;
    }

    .recruitment-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }


    .recruitment-description {
        margin-bottom: 0.6rem;
        text-align: left;
    }

    .recruit-faq {
        padding-block: 3rem;
    }

    .faq-icon {
        width: 1.5rem;
        width: 1.5rem;
    }

    .faq-button {
        padding: 0.6rem;
    }

    .faq-question__label {
        margin-right: 0.6rem;
    }

    .faq-answer {
        padding: 0.6rem
    }

    .faq-answer__text {
        font-size: 1rem;
    }

    .faq-label {
        margin-right: 0.6rem;
    }


    .faq-item {
        margin-bottom: 2rem;
    }


    /* ---------- COMPANY ---------- */

    .company-contents {
        margin-bottom: 3rem;
    }

    .en-watermark-company {
        top: -5%;
        right: clamp(30%, 100%, 42%);
        z-index: 5
    }

    .greeting-flex {
        margin-inline: 1rem;
        flex-direction: column-reverse;
    }

    .greeting-text {
        position: static;
        max-width: none;
        padding: 2rem 1.25rem;
    }

    .greeting-photo {
        margin-bottom: 2rem;
    }

    .company-photo img {
        width: 100%;
        height: clamp(10rem, 40vw, 35rem);
        object-fit: cover;
    }

    .company-photo.slick-initialized {
        display: block;
        line-height: 0;
    }

    .company-info {
        padding: 3rem 1.25rem;
        margin-bottom: 3rem;
    }

    .company-info-item {
        display: block;
    }

    .company-info-item dt {
        border-bottom: none;
        padding-left: 0;
        padding-bottom: 0;
        margin-bottom: 0.6rem;
    }

    .map-flex {
        display: block;
    }

    .map-flex>*+* {
        margin-top: 2rem;
    }

    iframe {
        width: 350px;
        height: 200px;
    }

    .map-text-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .map-text {
        padding-inline: 0;
    }

    .map-address {
        margin-bottom: 3rem;
    }

    /* ---------- contact ---------- */

    .page-mv-company {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }

    .greeting-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .greeting-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .postcode-row,
    .address-row {
        flex-wrap: wrap;
    }

    .postcode-input {
        width: 100%;
    }

    .page-mv-contact {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }


    .contact-section-title {
        font-size: 1.6rem;
    }

    .contact-text span {
        font-size: 1.6rem;
    }

    .tel-link {
        cursor: default;
        font-size: 2.3rem;
        line-height: 1;
    }

    .check-form,
    .message {
        display: block;
    }

    .form-box {
        display: block;
    }

    .form-unit-head {
        padding: 1.25rem;
    }

    .form-unit-contents {
        padding: 0 2rem 1.25rem 1.25rem;
        border-top: none;
        gap: 0.6rem;
        align-items: start;

    }

    .contact-submit-wrap::after {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 1rem;
    }

    .contact-btn .contact-submit-wrap {
        width: min(230px, calc(100vw - 2.5rem));
    }


    .contact-btn .btn-a {
        margin-bottom: 2rem;
        padding-right: 2rem;
        width: 100%;
    }

    .form-unit-head::after {
        display: none;
    }

    .postcode-row,
    .address-row {
        flex-wrap: nowrap;
    }

    .wp-form {
        margin-bottom: 3rem;
    }


    .contact3-subtitle {
        margin-bottom: 3rem;
    }

    .contact-layer {
        margin-bottom: 3rem;
    }

    /* ---------- privacy ---------- */

    .privacy-layer {
        padding-block: 3rem;
    }

    .privacy-title {
        font-size: 3rem;
    }

    .privacy-subtitle {
        font-size: 1.1rem;
    }

    .privacy-subtitle::before,
    .privacy-subtitle::after {
        width: 3rem;
    }

    .privacy-subtitle::before {
        left: 6%;
    }

    .privacy-section-title {
        margin-bottom: 3rem;
    }
}



@media (max-width: 334px) {
    .nav .nav-menu .nav-contact-item {
        width: 100%;
    }

}

/* 481〜768px：タブレット専用 */
@media (min-width: 481px) and (max-width: 768px) {
    .recruit-interview-item {
        display: block;
        width: calc(100% - 2.5rem);
        margin: 0 auto 2rem;
        padding: 0;
    }

    .recruit-interview-text {
        width: 100%;
        margin: 0;
        padding-left: 0;
        padding-top: 1.25rem;
        background: transparent;
    }

    .recruit-interview-item::after {
        display: none;
    }



    .recruit-item-title {
        width: auto;
        margin: 0 0 1.5rem;
        font-size: clamp(1.5rem, 3vw, 2rem);
        line-height: 1.35;
    }

    .info-row,
    .info-block {
        font-size: 0.875rem;
    }

    .info-block dd {
        font-size: 0.8125rem;
    }
}