/*
 * K2JAPAN メインスタイルシート
 * テーマカラー: ブラック、ホワイト、オレンジ（差し色）
 */

/* ===== リセットとベース ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: #ff6b00;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff8800;
}

ul, ol {
    list-style-position: inside;
}

/* ===== レイアウト ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-content {
    min-height: 60vh;
}

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
}

.section-title {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ff6b00;
    margin: 15px auto 0;
}

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff6b00;
    color: #fff;
    border: 2px solid #ff6b00;
}

.btn-primary:hover {
    background-color: #ff8800;
    color: #fff;
    border-color: #ff8800;
}

.btn-secondary {
    background-color: transparent;
    color: #ff6b00;
    border: 2px solid #ff6b00;
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* ===== ヘッダー ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.site-logo {
    margin: 0;
    padding: 0 20px;
}

@media (min-width: 991px) {
    .site-logo {
        padding-left: 0;
    }
}

.site-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.site-title:hover {
    color: #ff6b00;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s ease;
}

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

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.menu-container {
    transition: all 0.3s ease;
}

.menu-items {
    display: flex;
    list-style: none;
}

.menu-items li {
    margin-left: 25px;
}

.menu-items a {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
}

.menu-items a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6b00;
    transition: width 0.3s ease;
}

.menu-items a:hover {
    color: #ff6b00;
}

.menu-items a:hover::after,
.menu-items .current-menu-item a::after {
    width: 100%;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .menu-container {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
    
    .menu-container.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-items {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-items li {
        margin: 15px 0;
        text-align: center;
    }
}

/* ===== ヒーローセクション ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    margin-top: 100px;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-logo img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
}

/* ===== アバウトセクション ===== */
.about-section {
    background-color: #f8f8f8;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* ===== サービスセクション ===== */
.services-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 15px;
    height: 250px;
    width: 100%;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.more-link {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .services-grid {
        flex-wrap: wrap;
    }
    
    .service-item {
        flex: 1 1 250px;
    }

    .service-icon {
        height: 200px;
    }
}

/* ===== 施工事例スライダー ===== */
.works-section {
    background-color: #f8f8f8;
}

.works-slider {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;  /* Firefoxのスクロールバーを非表示 */
}

.works-slider::-webkit-scrollbar {
    display: none;  /* Chromeのスクロールバーを非表示 */
}

.works-slide {
    flex: 0 0 350px;
}

.works-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.works-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.works-image {
    height: 250px;
}

.works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-info {
    padding: 20px;
}

.works-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.works-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.works-budget span,
.works-period span {
    font-weight: 700;
    margin-right: 5px;
}

.works-excerpt {
    margin-bottom: 15px;
    font-size: 14px;
}

.works-link {
    display: inline-block;
    font-weight: 500;
    color: #ff6b00;
}

.works-link:hover {
    text-decoration: underline;
}

/* ===== お知らせセクション ===== */
.news-list {
    margin-bottom: 40px;
}

.news-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    margin-bottom: 5px;
}

.news-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-title a {
    color: #333;
}

.news-title a:hover {
    color: #ff6b00;
}

.news-thumbnail {
    margin: 15px 0;
    max-width: 300px;
}

.news-excerpt {
    font-size: 16px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
}

/* ===== Instagram導線 ===== */
.instagram-section {
    padding: 40px 0;
}

.instagram-link {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.instagram-link:hover {
    opacity: 0.9;
}

/* ===== 代表挨拶セクション ===== */
.ceo-section {
    background-color: #f8f8f8;
}

.ceo-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.ceo-image {
    flex: 1;
    max-width: 400px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ceo-message {
    flex: 1;
}

.ceo-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.ceo-name-en {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    color: #888;
    margin-top: 5px;
}

.ceo-message p {
    font-size: 18px;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .ceo-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .ceo-image {
        margin: 0 auto;
    }
    
    .ceo-name {
        justify-content: center;
    }
}

/* ===== 求人情報セクション ===== */
.recruit-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.recruit-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
}

.recruit-image {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.recruit-contact {
    background-color: #f8f8f8;
    border-left: 4px solid #ff6b00;
    padding: 20px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .recruit-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* ===== お問い合わせセクション ===== */
.contact-section {
    background-color: #f8f8f8;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.wpcf7-form p {
    margin-bottom: 25px;
}

.wpcf7-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.wpcf7-form textarea {
    height: 150px;
}

.wpcf7-form .wpcf7-submit {
    background-color: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: #ff8800;
}

/* ===== フッター ===== */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
	margin-left:30px;
}

.footer-info {
    flex: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.company-info,
.footer-menu-container {
    min-width: 200px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ff6b00;
    margin-top: 10px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ff6b00;
}

.copyright {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* ===== 施工事例アーカイブページ ===== */
.page-header {
    background-color: #222;
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
}

.works-archive {
    padding-bottom: 80px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.works-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.works-thumbnail {
/*     height: 250px; */
}

.works-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-info {
    padding: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background-color: #ff6b00;
    color: #fff;
}

.pagination .page-numbers:hover {
    background-color: #ff6b00;
    color: #fff;
}

/* ===== 施工事例詳細ページ ===== */
.works-single {
    padding: 0 0 80px;
}

.works-header {
    margin-top: 40px;
}

.works-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
/*     margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; */
	color:#333;
}

.meta-item {
    font-size: 16px;
}

.meta-label {
    font-weight: 700;
    margin-right: 5px;
}

.works-featured-image {
    margin-bottom: 40px;
    border-radius: 5px;
    overflow: hidden;
/*     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
	text-align:center;
}

.works-description {
    font-size: 16px;
    line-height: 1.8;
}

.works-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.news-navigation {
	    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-arrow {
    font-size: 20px;
}

.back-to-archive {
    text-align: center;
}

.related-works {
    margin-top: 80px;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.related-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-thumbnail {
/*     height: 180px; */
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    padding: 15px;
}

.related-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.related-budget {
	color:#333;
}

/* ===== お知らせアーカイブページ ===== */
.news-archive {
    padding-bottom: 80px;
}

/* ===== お知らせ詳細ページ ===== */
.news-single {
    padding: 0 0 80px;
}

.news-header {
    margin-top: 140px;
}

.news-featured-image {
    margin-bottom: 40px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-body {
    font-size: 16px;
    line-height: 1.8;
}

.latest-news {
    margin-top: 80px;
}

.latest-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.latest-list ul {
    list-style: none;
}

.latest-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    margin-right: 10px;
}

.latest-link {
    font-weight: 500;
}

/* ===== サービス紹介ページ ===== */
.service-content {
    padding-bottom: 80px;
}

.service-block {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-block:hover .service-image img {
    transform: scale(1.05);
}

.service-details {
    padding: 30px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
    min-height: auto;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.service-features {
    margin-top: 20px;
    padding-left: 0;
    list-style: none;
}

.service-features li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #ff6b00;
    border-radius: 50%;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-cta {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-cta h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.service-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

@media (max-width: 991px) {
    .service-block {
        margin-bottom: 30px;
    }
    
    .service-image {
        height: 250px;
    }
    
    .service-details {
        padding: 20px;
    }
    
    .service-title {
        font-size: 20px;
    }
}

/* ===== 404ページ ===== */
.error-404 {
    padding: 120px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: #ff6b00;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.error-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.error-actions {
    margin-top: 30px;
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .about-text, .ceo-message p, .recruit-text {
        font-size: 16px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .works-navigation .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous, .nav-next {
        text-align: center;
    }
    
    .back-to-archive {
        order: -1;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .works-meta, .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* カスタム画像サイズのスタイル */
.wp-post-image {
    max-width: 100%;
    height: auto;
}

/* 施工事例の画像 */
.works-thumbnail img,
.works-featured-image img {
    max-width: 100%;
    height: auto;
}

/* お知らせの画像 */
.news-thumbnail img,
.news-featured-image img {
    max-width: 100%;
    height: auto;
}

/* 固定ページの画像 */
.page-featured-image img {
    max-width: 100%;
    height: auto;
}

/* サービスページの画像 */
.service-image img {
    max-width: 100%;
    height: auto;
}

/* 関連記事の画像 */
.related-thumbnail img {
    max-width: 100%;
    height: auto;
}