@charset "utf-8";

/*  ========== Reset ========== */
*,
::before,
::after {
    margin: 0;
    padding: 0;
}

body {
    color: #111;
    background-color: #fefefe;
}

button {
    border: none;
}

/*  ========== Common ========== */
.sp {
    display: none;
}

.tb {
    display: none;
}

.mb {
    display: none;
}

.contents-inner {
    width: 80%;
    margin: auto;
    max-width: 1200px;
}

.blue-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #223683;
    color: #f9f9f9;
    border-radius: 50px;
    font-size: clamp(14px, 1.5vw, 22px);
    transition: background-color .3s, color .3s;
    margin: auto;
    text-align: center;
    border: 2px solid #223683;
}

.blue-button:hover {
    background-color: #f9f9f9;
    color: #223683;
    border: 2px solid #223683
}

/* ========== Header ========== */
header {
    width: 100%;
    height: 100px;
    position: fixed;
    z-index: 999;
    background-color: #f9f9f9;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: auto;
    padding: 10px 0;
    gap: 30px;
}

.header-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    width: 50%;
    max-width: 250px;
    transition: opacity .3s;
}

h1:hover {
    opacity: 0.7;
}

.hmb {
    display: none;
    width: 50px;
    height: 50px;
    background-color: #223683;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
}

.hmb:hover {
    background-color: #1a2a66;
}

.hmb i {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.hmb i:first-child {
    top: 15px;
}

.hmb i:nth-child(2) {
    top: 24px;
}

.hmb i:last-child {
    top: 33px;
}

/* ハンバーガー開いた状態 */
.hmb.show-btn {
    background-color: #A24A52;
}

.hmb.show-btn i:first-child {
    top: 24px;
    transform: translateX(-50%) rotate(45deg);
}

.hmb.show-btn i:nth-child(2) {
    opacity: 0;
}

.hmb.show-btn i:last-child {
    top: 24px;
    transform: translateX(-50%) rotate(-45deg);
}

.header-nav ul {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-nav ul li {
    font-size: clamp(1px, 1.4vw, 22px);
    font-weight: 600;
    transition: 0.3s;
}

.header-nav ul li:hover {
    color: #A24A52;
}

.header-contact {
    background-color: #111;
    padding: 5px 10px;
    border-radius: 50px;
    color: #f9f9f9;
    display: flex;
    align-items: center;
}

.header-nav ul li.header-contact:hover {
    color: #f9f9f9;
    background-color: #A24A52;
}

.header-contact img {
    width: 15px;
    margin: 0 4px 0 0;
    vertical-align: middle;
}

/* ========== Footer ========== */
footer {
    width: 100%;
    position: relative;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 71%;
    max-width: 830px;
    background-color: #223683;
    margin: 100px auto;
    padding: 30px 20px;
    color: #f9f9f9;
    opacity: 0;
}

.contact-text {
    display: flex;
}

.contact-text h2 {
    width: 50%;
    font-size: clamp(16px, 1vw, 42px);
    font-weight: 600;
    margin-right: 20px;
    line-height: 1.3;
}

.contact-text h2::first-letter {
    font-size: clamp(20px, 3vw, 100px);
}

.contact-text>h2>span {
    font-size: 28px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
    font-size: clamp(14px, 1.5vw, 22px);
}

.vr {
    content: "";
    display: block;
    background-color: #f9f9f9;
    width: 2px;
    height: 50px;
}

.mail-link {
    background-color: #f9f9f9;
    color: #213683;
    font-weight: 600;
    padding: 10px 20px;
    font-size: clamp(14px, 1vw, 22px);
    border: 2px solid #f9f9f9;
    transition: all .3s;
}

.mail-link:hover {
    background-color: #213683;
    color: #f9f9f9;
}

.footer-logo {
    display: flex;
    width: 65%;
    min-width: 300px;
    max-width: 400px;
    margin: 50px auto 0;
    transition: all .3s;
}

.footer-logo:hover {
    opacity: 0.7;
}

.footer-access {
    text-align: center;
    margin: 30px auto 0;
}

.policy-copyright {
    text-align: center;
    margin: 10px auto 0;
    padding-bottom: 50px;
}

.bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    width: 100%;
}

/* ========== TOP ========== */

/* トップ共通 */
.t-title {
    font-size: clamp(0px, 1vw, 20px);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.t-title span {
    font-size: clamp(16px, 3vw, 42px);
}

.t-title::first-letter {
    color: #223683;
    font-size: clamp(20px, 5vw, 100px);
    font-weight: 800;
}

/* ファーストビュー */
.hero {
    width: 100%;
    height: auto;
    padding-top: 80px;
}

.hero-inner {
    width: 100%;
    aspect-ratio: 16/9;
    background: url(../img/hero.webp) no-repeat center center / contain;
    position: relative;
}

.hero-text {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 15%;
    font-size: clamp(18px, 2.4vw, 46px);
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
    line-height: 1.6;
    letter-spacing: 0.06em;
    font-weight: 800;
}

/* 京葉テックの強み */
.t-strength {
    position: relative;
    z-index: 1;
    width: 100%;
}

.t-strength .blue-button {
    margin-top: 20px;
}

.top-bg1 {
    display: block;
    width: 100%;
    aspect-ratio: 16/8.7;
    position: absolute;
    top: -30%;
    z-index: -3;
    pointer-events: none;
    background: url(../img/top-bg1.webp) no-repeat center center / contain;
}

.t-strength .contents-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.t-strength-img {
    width: 50%;
}

.t-strength-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 製品案内 */
.t-product {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 100px;
}

.t-subtitle {
    font-size: clamp(12px, 1vw, 42px);
    margin-bottom: 20px;
}

.t-subtitle span {
    font-size: clamp(16px, 2.5vw, 42px);
}

.t-tent {
    display: flex;
    gap: 10px;
}

.product-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.tent-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-list li {
    background: none;
    padding: 0;
    overflow: hidden;
}

.product-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(.4, 2, .6, 1);
    display: block;
}

.product-img-wrap:hover img {
    transform: scale(1.08);
}

.product-label {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    width: 80%;
    border-radius: 50px;
    background: #fafafa;
    padding: 10px 0;
    text-align: center;
    font-size: 1.1em;
}

.product-label h4 {
    margin: 0;
    font-weight: bold;
    font-size: clamp(10px, 1.5vw, 16px);
}

.t-product .contents-inner {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    text-align: center;
}

.t-work {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
}

.top-bg2 {
    display: block;
    width: 100%;
    aspect-ratio: 16/9.2;
    position: absolute;
    top: -30%;
    z-index: -3;
    pointer-events: none;
    background: url(../img/top-bg2.webp) no-repeat center center / contain;
}

.t-work-slider {
    overflow: hidden;
    width: 100%;
}

.t-work-list {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    width: max-content;
    will-change: transform;
}

.t-work-list li {
    flex-shrink: 0;
    width: 280px;
    border-radius: 8px;
    overflow: hidden;
}

.t-work-list li img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.t-news {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 100px;
    text-align: center;
}

.t-news .t-title {
    text-align: left;
}

.t-news .contents-inner {
    display: block;
    max-width: 900px;
}

.t-news .link-text {
    font-size: clamp(12px, 1vw, 42px);
    transition: color .3s;
    display: flex;
    align-items: center;
    font-weight: 600;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
}

.t-news .link-text:hover {
    color: #A24A52;
}

.t-news .link-text::after {
    content: "▶";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #121212;
    color: #fafafa;
    border-radius: 50%;
    transition: width .3s;
    margin-left: 10px;
    font-size: 8px;
    line-height: 1;
    box-sizing: border-box;
    transition: all .3s;
}

.t-news .link-text:hover::after {
    background-color: #A24A52;
}


.t-news-list li {
    display: flex;
    padding: 20px;
    border-bottom: solid 1px #ddd;
    text-align: left;
}

.news-date {
    font-weight: 600;
    margin-left: 10px;
}

.news-cat {
    font-size: 12px;
    color: #fafafa;
    background-color: #121212;
    margin: 0 20px;
    padding: 5px 20px;
    border-radius: 50px;
}

.company-recruit-link {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.company-recruit-link li {
    width: min(100%, 400px);
    transition: transform 0.4s cubic-bezier(.4, 2, .6, 1);
    list-style: none;
}

.company-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.company-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(.4, 2, .6, 1);
}

.company-recruit-link li:hover .company-img-wrap img {
    transform: scale(1.08);
}

.company-label {
    position: absolute;
    bottom: 50%;
    width: 100%;
    color: #fff;
    font-size: 22px;
}

.company-recruit-link li:first-child .company-label {
    left: 55%;
}

.company-recruit-link li:last-child .company-label {
    left: 10%;
}

.company-label h4 {
    margin: 0;
    font-weight: bold;
    font-size: clamp(16px, 2vw, 26px);
}

.breadcrumb {
    background-color: #EFF2F2;
}

.breadcrumb ul {
    display: flex;
    gap: 10px;
}


.page-top {
    width: 100%;
    padding-top: 100px;
    background-color: #223683;
    color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(8px, 0.1vw, 22px);
    transition: all .3s;
    background: url(../img/top.jpg) no-repeat center center / cover;
    text-align: center;
}


.page-top span {
    font-size: clamp(20px, 3vw, 42px);
    font-weight: 600;
}

.page-top .first-letter {
    font-size: clamp(20px, 5vw, 100px);
    font-weight: 800;
}

/* ========== Strength ========== */
.strength-02 .strength-box {
    z-index: 1;
    width: 100%;
}


.strength-01 .contents-inner,
.strength-02 .contents-inner {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 50px;
}

.strength-01 .contents-inner img,
.strength-02 .contents-inner img {
    width: 50%;
    min-width: 0;
    height: auto;
}

.strength-01 .contents-inner .strength-box,
.strength-02 .contents-inner .strength-box {
    flex: 1;
    min-width: 0;
}

.strength-02 .contents-inner {
    margin-bottom: 100px;
}

.strength-title {
    font-size: clamp(12px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 10px;
    color: #223683;
}

.strength-title::first-letter {
    font-size: clamp(12px, 3.5vw, 48px);
    font-weight: 800;
}

.strength-number {
    font-size: clamp(12px, 5vw, 48px);
    font-weight: 800;
}

.strength-subtitle {
    font-size: clamp(20px, 1.5vw, 22px);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 2;
}

.strength-02 {
    position: relative;
    overflow: visible;
    color: #f9f9f9;
}

.strength-bg1 {
    position: absolute;
    top: var(--bg-top, 200px);
    right: 0;
    width: 80vw;
    min-height: 400px;
    object-fit: cover;
    height: auto;
    z-index: -1;
    pointer-events: none;
    display: block;
}

.strength-box {
    position: relative;
    z-index: 1;
}

.strength-02 .strength-subtitle {
    position: relative;
    z-index: 1;
}

/* ========== Products ========== */
.page-nav-list {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-top: 30px;
    font-weight: 600;
    padding-bottom: 30px;
}

.page-nav-list li {
    text-align: center;
    font-size: clamp(12px, 1vw, 22px);
}

.page-nav-list li span:first-child {
    font-size: clamp(16px, 2vw, 42px);
}

#products nav {
    margin-bottom: 50px;
}

.product-head {
    display: flex;
    flex-direction: column;
    background-color: #5C69A3;
    width: 25%;
    max-width: 180px;
    aspect-ratio: 1/1;
    text-align: center;
    color: #f9f9f9;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 1.5vw, 32px);
}

.product-head span {
    font-size: clamp(12px, 2vw, 18px);
}

.product-copy {
    font-weight: 600;
    font-size: clamp(12px, 2.5vw, 32px);
    margin-bottom: 10px;
}

.product-lead {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.partition-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.partition-item {
    display: flex;
    ;
    align-items: center;
}

.partition-item:nth-child(even) {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.partition-item img {
    width: 60%;
}

.partition-box {
    width: 50%;
    height: 250px;
    background-color: #f9f9f9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;

    @media screen and (max-width: 998px) {
        width: 100%;
        height: auto;
    }
}

.partition-box h4 {
    text-align: center;
    font-size: clamp(12px, 2vw, 22px);
}

.partition-list .partition-item:nth-child(odd) .partition-box {
    transform: translateX(-30%);

    @media screen and (max-width: 998px) {
        transform: translateX(0);
    }
}

.partition-list .partition-item:nth-child(even) .partition-box {
    transform: translateX(30%);

    @media screen and (max-width: 998px) {
        transform: translateX(0);
    }
}

.tent .contents-inner {
    display: flex;
    gap: 30px;
    align-items: center;
}

.tent .contents-inner:first-child {
    background-size: 120%;
}

.tent .product-head {
    font-size: clamp(0px, 1.1vw, 22px);
}

.tent .product-head span {
    font-size: clamp(0px, 0.7vw, 18px);
}

.tent-desc {
    width: 100%;
}

.tent-desc p {
    margin-top: 30px;
}

.tent-img {
    width: 50%;
}

.tent-commercial {
    width: 100%;
    background-color: #EFF2F2;
    padding: 40px 0;
}

.tent-commercial {
    margin: 30px 0;
}

/* ========== Products ========== */
.about-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.about-table tr {
    border-bottom: solid 1px #ddd;
}
.about-table tr:first-child {
    border-top: solid 1px #ddd;
}

.about-table th {
    padding: 20px 20px;
}

.about-table td {
    padding-left: 20px;
}

.about-table th {
    background-color: #f5f5f5;
    width: 35%;
}

h3.about-title {
    margin-top: 60px;
    font-size: clamp(12px, 5vw, 48px);
    text-align: center;
    font-weight: 600;
}

.access-title {
    font-size: clamp(12px, 5vw, 48px);
    text-align: center;
    font-weight: 600;
    margin-top: 60px;
}

.access-box {
    display: flex;
    gap: 20px;
    margin-top: 60px;
}

.access hr {
    margin: 30px 0;
}

.access-info {
    width: 50%;
}

.access-info h4 {
    font-size: clamp(12px, 3vw, 32px);
    margin-bottom: 10px;
    border-left: solid 4px #223683;
    padding-left: 20px;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ========== Works Page ========== */
.works-content {
    margin: 60px 0;
}

.works-title {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.works-category {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-btn {
    padding: 12px 28px;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 600;
    border: 2px solid #223683;
    border-radius: 50px;
    background: #fff;
    color: #223683;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #223683;
    color: #fff;
}

.category-btn.active {
    background: #223683;
    color: #fff;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.works-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.works-item a {
    display: block;
    text-decoration: none;
    color: #111;
}

.works-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.works-item:hover img {
    transform: scale(1.05);
}

.works-item h4 {
    padding: 16px;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 600;
    text-align: center;
    background: #f9f9f9;
}

.works-item.hide {
    display: none;
}

@media screen and (max-width: 768px) {
    .works-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .works-category {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 499px) {
    .works-list {
        grid-template-columns: 1fr;
    }
}

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

    /* ========== Common ========== */
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .tb {
        display: none;
    }

    .mb {
        display: block;
    }

    .t-title {
        font-size: clamp(10px, 2vw, 20px);
    }

    .t-title span {
        font-size: clamp(28px, 5vw, 42px);
    }

    .t-title::first-letter {
        font-size: clamp(3px, 8vw, 100px);
    }

    /* ========== Header ========== */
    header {
        height: 80px;
    }

    .hmb {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #223683 0%, #1a2a66 100%);
        z-index: 99;
        padding: 100px 40px 40px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .header-nav ul li {
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .header-nav ul li a {
        display: block;
        padding: 20px 0;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .header-nav ul li a:hover {
        color: #fff;
        padding-left: 10px;
        background: rgba(255, 255, 255, 0.1);
    }

    .header-nav ul li.header-contact {
        margin-top: 30px;
        border: none;
    }

    .header-nav ul li.header-contact a {
        background: #A24A52;
        border-radius: 50px;
        text-align: center;
        padding: 16px 20px;
    }

    .header-nav ul li.header-contact a:hover {
        background: #8a3e45;
        padding-left: 20px;
    }

    .header-nav.show-btn {
        display: block;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* オーバーレイ（背景暗くする用、JSで追加する場合） */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .nav-overlay.show {
        display: block;
    }

    /* ========== Footer ========== */
    .contact-text {
        flex-direction: column;
        align-items: center;
    }

    .contact-text h2 {
        width: 100%;
        text-align: center;
        font-size: clamp(12px, 2vw, 42px);
        line-height: 1.3;
    }

    .contact-text h2 span {
        font-size: clamp(20px, 5vw, 42px);
    }

    .contact-text h2::first-letter {
        font-size: clamp(32px, 5vw, 100px);
    }

    .contact-text p {
        margin-top: 10px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .vr {
        display: none;
    }

    .footer-logo {
        width: 40%;
    }

    .footer-access p {
        margin-top: 10px;
        font-size: 12px;
    }

    .policy-copyright {
        font-size: 12px;
    }

    /* ========== Top ========== */
    .t-strength .contents-inner {
        flex-direction: column;
        gap: 20px;
    }

    .top-bg1 {
        top: 0%;
    }

    .t-product .contents-inner {
        gap: 10px;
    }

    .product-list {
        grid-template-columns: 1fr 1fr;
    }

    .t-news-list li {
        flex-direction: column;
    }

    .company-recruit-link {
        gap: 20px;
        margin: 30px 0;
    }

    /* ========== Strength ========== */
    .strength-01 .contents-inner {
        flex-direction: column;
    }

    .strength-02 .contents-inner {
        flex-direction: column-reverse;
    }

    .strength-01 .contents-inner img,
    .strength-02 .contents-inner img {
        width: 70%;
    }

    .strength-02 .contents-inner img {
        margin-left: auto;
    }

    .strength-subtitle {
        font-size: clamp(18px, 3vw, 40px);
    }

    .strength-title {
        font-size: clamp(22px, 3.5vw, 50px);
    }

    .strength-title::first-letter {
        font-size: clamp(32px, 6vw, 90px);
    }

    .strength-number {
        font-size: clamp(48px, 8vw, 100px);
    }

    .strength-bg1 {
        left: 0;
        width: 95vw;
    }

    /* ========== Product ========== */

    .product-lead {
        flex-direction: column;
        gap: 20px;
    }

    .partition-list {
        margin-top: 50px;
    }

    .partition-item {
        flex-direction: column;
    }

    .partition-item:nth-child(even) {
        flex-direction: column;
    }

    .tent .contents-inner {
        flex-direction: column;
    }

    .product-head,
    .tent .product-head {
        width: 100%;
        max-width: none;
        aspect-ratio: 0;
        font-size: 22px;
        padding: 10px 0;
    }

    .product-head span,
    .tent .product-head span {
        font-size: 12px;
    }

    .partition-box h4 {
        font-size: 20px;
    }
}

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

    /* ========== Header ========== */
    .header-nav.show-btn {
        display: none;
        background-color: #f9f9f9;
        position: absolute;
        width: 100%;
        z-index: 1;
        right: 0px;
        top: 85px;
        padding: 30px;
        height: calc(100vh - 80px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-nav ul {
        height: 80%;
        justify-content: space-between;
    }

    .hmb {
        width: 50px;
        height: 50px;
    }

    i {
        width: 30px;
    }

    /* Top - Strength */
    .t-strength-img {
        width: 100%;
    }

    /* Top - Product */
    .product-list {
        grid-template-columns: 1fr;
    }

    .tent-list {
        grid-template-columns: 1fr;
    }

    /* Top- News */
    .t-news-list li {
        padding: 10px 5px;
    }

    .company-recruit-link {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== Archive Page (お知らせ一覧) ========== */
.archive-content {
    margin: 60px 0;
}

.archive-title {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-item {
    border-bottom: 1px solid #ddd;
}

.archive-item:first-child {
    border-top: 1px solid #ddd;
}

.archive-item a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 16px;
    text-decoration: none;
    color: #111;
    transition: background 0.3s ease;
}

.archive-item a:hover {
    background: #f5f5f5;
}

.archive-item time {
    font-size: clamp(12px, 1.2vw, 16px);
    color: #666;
    min-width: 100px;
}

.archive-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 600;
    background: #223683;
    color: #fff;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
}

.archive-text {
    flex: 1;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 500;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.pagination a,
.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination a {
    background: #f5f5f5;
    color: #223683;
}

.pagination a:hover {
    background: #223683;
    color: #fff;
}

.pagination-current {
    background: #223683;
    color: #fff;
}

.pagination-next {
    padding: 0 16px;
}

/* ========== Post Page (個別記事) ========== */
.post-content {
    margin: 60px 0;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.post-header time {
    font-size: clamp(12px, 1.2vw, 16px);
    color: #666;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 600;
    background: #223683;
    color: #fff;
    border-radius: 4px;
}

.post-title {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #223683;
}

.post-body {
    line-height: 2;
    font-size: clamp(14px, 1.5vw, 18px);
}

.post-body p {
    margin-bottom: 1.5em;
}

.post-body h4 {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    margin: 2em 0 1em;
    padding-left: 16px;
    border-left: 4px solid #223683;
}

.post-body ul {
    margin: 1em 0 1.5em 1.5em;
}

.post-body li {
    margin-bottom: 0.5em;
    list-style: disc;
}

.privacy-policy-content .contents-inner {
    max-width: 900px;
}

.privacy-policy-body {
    color: #222;
}

.privacy-policy-section {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #ddd;
}

.privacy-policy-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.privacy-policy-section h4:first-child {
    margin-top: 0;
}

.privacy-policy-section a {
    color: #223683;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.post-image {
    margin: 2em 0;
    text-align: center;
}

.post-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-image figcaption {
    margin-top: 12px;
    font-size: clamp(12px, 1.2vw, 14px);
    color: #666;
}

/* 前後記事ナビ */
.post-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.post-nav a {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    text-decoration: none;
    color: #223683;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-nav a:hover {
    background: #223683;
    color: #fff;
}

.post-nav-list {
    background: #f5f5f5;
}

/* ========== Recruit Page (採用情報) ========== */
.recruit-message {
    margin: 60px 0;
}

.recruit-message-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.recruit-message-text {
    flex: 1;
}

.recruit-title {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 24px;
    color: #223683;
    line-height: 1.6;
}

.recruit-message-text p {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 2;
    margin-bottom: 1em;
}

.recruit-message-img {
    width: 45%;
    height: 300px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}


.section-title {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    display: block;
    font-size: clamp(12px, 1.5vw, 18px);
    color: #223683;
    margin-bottom: 8px;
}


/* 募集要項 */
.recruit-requirements {
    padding: 80px 0;
}

.requirements-table-wrap {
    overflow-x: auto;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(14px, 1.4vw, 16px);
}

.requirements-table th,
.requirements-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    line-height: 1.8;
}

.requirements-table th {
    width: 180px;
    background: #f9f9f9;
    font-weight: 600;
    color: #223683;
}

/* 応募フロー */
.recruit-flow {
    background: #223683;
    color: #fff;
    padding: 80px 0;
}

.recruit-flow .section-title {
    color: #fff;
}

.recruit-flow .section-title span {
    color: rgba(255, 255, 255, 0.7);
}

.flow-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    counter-reset: none;
    list-style: none;
}

.flow-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    width: calc(25% - 20px);
    min-width: 200px;
    text-align: center;
}

.flow-number {
    display: inline-block;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}

.flow-content h4 {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-content p {
    font-size: clamp(13px, 1.3vw, 15px);
    line-height: 1.7;
    opacity: 0.9;
}

/* 応募CTA */
.recruit-cta {
    padding: 80px 0;
    text-align: center;
}

.cta-text {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 600;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: #223683;
    color: #fff;
}

.cta-btn-primary:hover {
    background: #1a2a66;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 54, 131, 0.3);
}

.cta-btn-secondary {
    background: #fff;
    color: #223683;
    border: 2px solid #223683;
}

.cta-btn-secondary:hover {
    background: #223683;
    color: #fff;
}

/* ========== Detail Page (施工事例詳細) ========== */
.detail-content {
    margin: 60px 0;
}

.detail-header {
    margin-bottom: 30px;
}

.detail-category {
    display: inline-block;
    padding: 6px 16px;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    background: #223683;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 16px;
}

.detail-title {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.5;
}

.detail-main-image {
    margin-bottom: 50px;
}

.detail-main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detail-section-title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid #223683;
    color: #223683;
}

.detail-overview {
    margin-bottom: 50px;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(14px, 1.4vw, 16px);
}

.detail-table th,
.detail-table td {
    padding: 16px 20px;
    border: 1px solid #ddd;
    text-align: left;
    line-height: 1.7;
}

.detail-table th {
    width: 150px;
    background: #f9f9f9;
    font-weight: 600;
}

.detail-description {
    margin-bottom: 50px;
}

.detail-description p {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 2;
    margin-bottom: 1.5em;
}

.detail-description ul {
    margin: 1em 0 1.5em 1.5em;
}

.detail-description li {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 2;
    margin-bottom: 0.5em;
    list-style: disc;
}

/* ギャラリー */
.detail-gallery {
    margin-bottom: 50px;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.gallery-item p {
    font-size: clamp(12px, 1.2vw, 14px);
    color: #666;
}

/* お客様の声 */
.detail-voice {
    margin-bottom: 50px;
}

.voice-quote {
    background: #f9f9f9;
    padding: 30px 40px;
}

.voice-quote p {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 2;
    margin-bottom: 16px;
}

.voice-quote cite {
    display: block;
    font-size: clamp(13px, 1.3vw, 15px);
    color: #666;
    text-align: right;
    font-style: normal;
}

/* 詳細CTA */
.detail-cta {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 50px;
}

.detail-cta p {
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 20px;
}

.detail-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    background: #223683;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.detail-cta-btn:hover {
    background: #1a2a66;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 54, 131, 0.3);
}

/* 詳細ナビ */
.detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.detail-nav a {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    text-decoration: none;
    color: #223683;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-nav a:hover {
    background: #223683;
    color: #fff;
}

.detail-nav-list {
    background: #f5f5f5;
}

/* ========== GSAP Animations ========== */
/* CSSではopacity+visibilityで初期非表示。transform(移動)はJS側で設定 */
.fade-up,
.fade-in,
.fade-left,
.fade-right,
.scale-in {
    opacity: 0;
    visibility: hidden;
}

.stagger-children > * {
    opacity: 0;
    visibility: hidden;
}

/* ヒーローテキスト分割アニメーション用 */
.hero-text .char {
    display: inline-block;
    opacity: 0;
}

/*  ========== Common ========== */
@media screen and (max-width: 768px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .tb {
        display: none;
    }

    .mb {
        display: block;
    }

    .t-title {
        font-size: clamp(10px, 2vw, 20px);
    }

    .t-title span {
        font-size: clamp(28px, 5vw, 42px);
    }

    .t-title::first-letter {
        font-size: clamp(3px, 8vw, 100px);
    }

    /* ========== Header ========== */
    header {
        height: 80px;
    }

    .hmb {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #223683 0%, #1a2a66 100%);
        z-index: 99;
        padding: 100px 40px 40px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .header-nav ul li {
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .header-nav ul li a {
        display: block;
        padding: 20px 0;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .header-nav ul li a:hover {
        color: #fff;
        padding-left: 10px;
        background: rgba(255, 255, 255, 0.1);
    }

    .header-nav ul li.header-contact {
        margin-top: 30px;
        border: none;
    }

    .header-nav ul li.header-contact a {
        background: #A24A52;
        border-radius: 50px;
        text-align: center;
        padding: 16px 20px;
    }

    .header-nav ul li.header-contact a:hover {
        background: #8a3e45;
        padding-left: 20px;
    }

    .header-nav.show-btn {
        display: block;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* オーバーレイ（背景暗くする用、JSで追加する場合） */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .nav-overlay.show {
        display: block;
    }

    /* ========== Footer ========== */
    .contact-text {
        flex-direction: column;
        align-items: center;
    }

    .contact-text h2 {
        width: 100%;
        text-align: center;
        font-size: clamp(12px, 2vw, 42px);
        line-height: 1.3;
    }

    .contact-text h2 span {
        font-size: clamp(20px, 5vw, 42px);
    }

    .contact-text h2::first-letter {
        font-size: clamp(32px, 5vw, 100px);
    }

    .contact-text p {
        margin-top: 10px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .vr {
        display: none;
    }

    .footer-logo {
        width: 40%;
    }

    .footer-access p {
        margin-top: 10px;
        font-size: 12px;
    }

    .policy-copyright {
        font-size: 12px;
    }

    /* ========== Top ========== */
    .t-strength .contents-inner {
        flex-direction: column;
        gap: 20px;
    }

    .top-bg1 {
        top: 0%;
    }

    .t-product .contents-inner {
        gap: 10px;
    }

    .product-list {
        grid-template-columns: 1fr 1fr;
    }

    .t-news-list li {
        flex-direction: column;
    }

    .company-recruit-link {
        gap: 20px;
        margin: 30px 0;
    }

    /* ========== Strength ========== */
    .strength-01 .contents-inner {
        flex-direction: column;
    }

    .strength-02 .contents-inner {
        flex-direction: column-reverse;
    }

    .strength-01 .contents-inner img,
    .strength-02 .contents-inner img {
        width: 70%;
    }

    .strength-02 .contents-inner img {
        margin-left: auto;
    }

    .strength-subtitle {
        font-size: clamp(18px, 3vw, 40px);
    }

    .strength-title {
        font-size: clamp(22px, 3.5vw, 50px);
    }

    .strength-title::first-letter {
        font-size: clamp(32px, 6vw, 90px);
    }

    .strength-number {
        font-size: clamp(48px, 8vw, 100px);
    }

    .strength-bg1 {
        left: 0;
        width: 95vw;
    }

    /* ========== Product ========== */

    .product-lead {
        flex-direction: column;
        gap: 20px;
    }

    .partition-list {
        margin-top: 50px;
    }

    .partition-item {
        flex-direction: column;
    }

    .partition-item:nth-child(even) {
        flex-direction: column;
    }

    .tent .contents-inner {
        flex-direction: column;
    }

    .product-head,
    .tent .product-head {
        width: 100%;
        max-width: none;
        aspect-ratio: 0;
        font-size: 22px;
        padding: 10px 0;
    }

    .product-head span,
    .tent .product-head span {
        font-size: 12px;
    }

    .partition-box h4 {
        font-size: 20px;
    }
}

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

    /* ========== Header ========== */
    .header-nav.show-btn {
        display: none;
        background-color: #f9f9f9;
        position: absolute;
        width: 100%;
        z-index: 1;
        right: 0px;
        top: 85px;
        padding: 30px;
        height: calc(100vh - 80px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-nav ul {
        height: 80%;
        justify-content: space-between;
    }

    .hmb {
        width: 50px;
        height: 50px;
    }

    i {
        width: 30px;
    }

    /* Top - Strength */
    .t-strength-img {
        width: 100%;
    }

    /* Top - Product */
    .product-list {
        grid-template-columns: 1fr;
    }

    .tent-list {
        grid-template-columns: 1fr;
    }

    /* Top- News */
    .t-news-list li {
        padding: 10px 5px;
    }

    .company-recruit-link {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== Archive Page (お知らせ一覧) ========== */
.archive-content {
    margin: 60px 0;
}

.archive-title {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-item {
    border-bottom: 1px solid #ddd;
}

.archive-item:first-child {
    border-top: 1px solid #ddd;
}

.archive-item a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 16px;
    text-decoration: none;
    color: #111;
    transition: background 0.3s ease;
}

.archive-item a:hover {
    background: #f5f5f5;
}

.archive-item time {
    font-size: clamp(12px, 1.2vw, 16px);
    color: #666;
    min-width: 100px;
}

.archive-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 600;
    background: #223683;
    color: #fff;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
}

.archive-text {
    flex: 1;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 500;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.pagination a,
.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination a {
    background: #f5f5f5;
    color: #223683;
}

.pagination a:hover {
    background: #223683;
    color: #fff;
}

.pagination-current {
    background: #223683;
    color: #fff;
}

.pagination-next {
    padding: 0 16px;
}

/* ========== Post Page (個別記事) ========== */
.post-content {
    margin: 60px 0;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.post-header time {
    font-size: clamp(12px, 1.2vw, 16px);
    color: #666;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 600;
    background: #223683;
    color: #fff;
    border-radius: 4px;
}

.post-title {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #223683;
}

.post-body {
    line-height: 2;
    font-size: clamp(14px, 1.5vw, 18px);
}

.post-body p {
    margin-bottom: 1.5em;
}

.post-body h4 {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    margin: 2em 0 1em;
    padding-left: 16px;
    border-left: 4px solid #223683;
}

.post-body ul {
    margin: 1em 0 1.5em 1.5em;
}

.post-body li {
    margin-bottom: 0.5em;
    list-style: disc;
}

.post-image {
    margin: 2em 0;
    text-align: center;
}

.post-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-image figcaption {
    margin-top: 12px;
    font-size: clamp(12px, 1.2vw, 14px);
    color: #666;
}

/* 前後記事ナビ */
.post-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.post-nav a {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    text-decoration: none;
    color: #223683;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-nav a:hover {
    background: #223683;
    color: #fff;
}

.post-nav-list {
    background: #f5f5f5;
}

/* ========== Recruit Page (採用情報) ========== */
.recruit-message {
    margin: 60px 0;
}

.recruit-message-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.recruit-message-text {
    flex: 1;
}

.recruit-title {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 24px;
    color: #223683;
    line-height: 1.6;
}

.recruit-message-text p {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 2;
    margin-bottom: 1em;
}

.recruit-message-img {
    width: 45%;
    height: 300px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.section-title {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    display: block;
    font-size: clamp(12px, 1.5vw, 18px);
    color: #223683;
    margin-bottom: 8px;
}


/* 募集要項 */
.recruit-requirements {
    padding: 80px 0;
}

.requirements-table-wrap {
    overflow-x: auto;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(14px, 1.4vw, 16px);
}

.requirements-table th,
.requirements-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    line-height: 1.8;
}

.requirements-table th {
    width: 180px;
    background: #f9f9f9;
    font-weight: 600;
    color: #223683;
}

/* 応募フロー */
.recruit-flow {
    background: #223683;
    color: #fff;
    padding: 80px 0;
}

.recruit-flow .section-title {
    color: #fff;
}

.recruit-flow .section-title span {
    color: rgba(255, 255, 255, 0.7);
}

.flow-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    counter-reset: none;
    list-style: none;
}

.flow-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    width: calc(25% - 20px);
    min-width: 200px;
    text-align: center;
}

.flow-number {
    display: inline-block;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}

.flow-content h4 {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-content p {
    font-size: clamp(13px, 1.3vw, 15px);
    line-height: 1.7;
    opacity: 0.9;
}

/* 応募CTA */
.recruit-cta {
    padding: 80px 0;
    text-align: center;
}

.cta-text {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 600;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: #223683;
    color: #fff;
}

.cta-btn-primary:hover {
    background: #1a2a66;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 54, 131, 0.3);
}

.cta-btn-secondary {
    background: #fff;
    color: #223683;
    border: 2px solid #223683;
}

.cta-btn-secondary:hover {
    background: #223683;
    color: #fff;
}

/* ========== Detail Page (施工事例詳細) ========== */
.detail-content {
    margin: 60px 0;
}

.detail-header {
    margin-bottom: 30px;
}

.detail-category {
    display: inline-block;
    padding: 6px 16px;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    background: #223683;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 16px;
}

.detail-title {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.5;
}

.detail-main-image {
    margin-bottom: 50px;
}

.detail-main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detail-section-title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid #223683;
    color: #223683;
}

.detail-overview {
    margin-bottom: 50px;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(14px, 1.4vw, 16px);
}

.detail-table th,
.detail-table td {
    padding: 16px 20px;
    border: 1px solid #ddd;
    text-align: left;
    line-height: 1.7;
}

.detail-table th {
    width: 150px;
    background: #f9f9f9;
    font-weight: 600;
}

.detail-description {
    margin-bottom: 50px;
}

.detail-description p {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 2;
    margin-bottom: 1.5em;
}

.detail-description ul {
    margin: 1em 0 1.5em 1.5em;
}

.detail-description li {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 2;
    margin-bottom: 0.5em;
    list-style: disc;
}

/* ギャラリー */
.detail-gallery {
    margin-bottom: 50px;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.gallery-item p {
    font-size: clamp(12px, 1.2vw, 14px);
    color: #666;
}

/* お客様の声 */
.detail-voice {
    margin-bottom: 50px;
}

.voice-quote {
    background: #f9f9f9;
    padding: 30px 40px;
}

.voice-quote p {
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 2;
    margin-bottom: 16px;
}

.voice-quote cite {
    display: block;
    font-size: clamp(13px, 1.3vw, 15px);
    color: #666;
    text-align: right;
    font-style: normal;
}

/* 詳細CTA */
.detail-cta {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 50px;
}

.detail-cta p {
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 20px;
}

.detail-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    background: #223683;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.detail-cta-btn:hover {
    background: #1a2a66;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 54, 131, 0.3);
}

/* 詳細ナビ */
.detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.detail-nav a {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    text-decoration: none;
    color: #223683;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-nav a:hover {
    background: #223683;
    color: #fff;
}

.detail-nav-list {
    background: #f5f5f5;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .recruit-message-inner {
        flex-direction: column;
    }

    .recruit-message-img {
        width: 100%;
        max-width: none;
    }

    .environment-list {
        grid-template-columns: 1fr;
    }

    .flow-item {
        width: 100%;
    }

    .requirements-table th {
        width: 120px;
    }

    .gallery-list {
        grid-template-columns: 1fr;
    }

    .detail-nav {
        flex-direction: column;
        gap: 16px;
    }

    .detail-nav a {
        width: 100%;
        text-align: center;
    }
}
